From b061e805138cee6a4ceef1d2df069cd308b94b00 Mon Sep 17 00:00:00 2001 From: Elastic Machine Date: Mon, 10 Nov 2025 06:03:49 +0000 Subject: [PATCH] Auto-generated API code --- docs/reference/api-reference.md | 4 ++-- src/api/types.ts | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/reference/api-reference.md b/docs/reference/api-reference.md index d95eedc4c..2810e6820 100644 --- a/docs/reference/api-reference.md +++ b/docs/reference/api-reference.md @@ -3774,7 +3774,7 @@ client.cluster.state({ ... }) - **`flat_settings` (Optional, boolean)**: Return settings in flat format (default: false) - **`ignore_unavailable` (Optional, boolean)**: Whether specified concrete indices should be ignored when unavailable (missing or closed) - **`local` (Optional, boolean)**: Return local information, do not retrieve the state from master node (default: false) -- **`master_timeout` (Optional, string \| -1 \| 0)**: Specify timeout for connection to master +- **`master_timeout` (Optional, string \| -1 \| 0)**: Timeout for waiting for new cluster state in case it is blocked - **`wait_for_metadata_version` (Optional, number)**: Wait for the metadata version to be equal or greater than the specified metadata version - **`wait_for_timeout` (Optional, string \| -1 \| 0)**: The maximum time to wait for wait_for_metadata_version before timing out @@ -6211,7 +6211,7 @@ client.indices.getIndexTemplate({ ... }) ### Arguments [_arguments_indices.get_index_template] #### Request (object) [_request_indices.get_index_template] -- **`name` (Optional, string)**: List of index template names used to limit the request. Wildcard (*) expressions are supported. +- **`name` (Optional, string)**: Name of index template to retrieve. Wildcard (*) expressions are supported. - **`local` (Optional, boolean)**: If true, the request retrieves information from the local node only. Defaults to false, which means information is retrieved from the master node. - **`flat_settings` (Optional, boolean)**: If true, returns settings in flat format. - **`master_timeout` (Optional, string \| -1 \| 0)**: Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error. diff --git a/src/api/types.ts b/src/api/types.ts index 8975adf5a..0a60a9039 100644 --- a/src/api/types.ts +++ b/src/api/types.ts @@ -3961,7 +3961,7 @@ export interface GeoHashLocation { geohash: GeoHash } -export type GeoHashPrecision = number | string +export type GeoHashPrecision = integer | string export type GeoHexCell = string @@ -3980,7 +3980,7 @@ export type GeoShapeRelation = 'intersects' | 'disjoint' | 'within' | 'contains' export type GeoTile = string -export type GeoTilePrecision = number +export type GeoTilePrecision = integer export interface GetStats { current: long @@ -16428,7 +16428,7 @@ export interface ClusterStateRequest extends RequestBase { ignore_unavailable?: boolean /** Return local information, do not retrieve the state from master node (default: false) */ local?: boolean - /** Specify timeout for connection to master */ + /** Timeout for waiting for new cluster state in case it is blocked */ master_timeout?: Duration /** Wait for the metadata version to be equal or greater than the specified metadata version */ wait_for_metadata_version?: VersionNumber @@ -20652,10 +20652,10 @@ export interface IndicesGetAliasIndexAliases { export interface IndicesGetAliasNotFoundAliasesKeys { error: string - status: number + status: integer } export type IndicesGetAliasNotFoundAliases = IndicesGetAliasNotFoundAliasesKeys -& { [property: string]: IndicesGetAliasIndexAliases | string | number } +& { [property: string]: IndicesGetAliasIndexAliases | string | integer } export interface IndicesGetDataLifecycleDataStreamWithLifecycle { name: DataStreamName @@ -20824,7 +20824,7 @@ export interface IndicesGetIndexTemplateIndexTemplateItem { } export interface IndicesGetIndexTemplateRequest extends RequestBase { - /** Comma-separated list of index template names used to limit the request. Wildcard (*) expressions are supported. */ + /** Name of index template to retrieve. Wildcard (*) expressions are supported. */ name?: Name /** If true, the request retrieves information from the local node only. Defaults to false, which means information is retrieved from the master node. */ local?: boolean