Skip to content

Commit b061e80

Browse files
Auto-generated API code
1 parent 020ffdc commit b061e80

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

docs/reference/api-reference.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3774,7 +3774,7 @@ client.cluster.state({ ... })
37743774
- **`flat_settings` (Optional, boolean)**: Return settings in flat format (default: false)
37753775
- **`ignore_unavailable` (Optional, boolean)**: Whether specified concrete indices should be ignored when unavailable (missing or closed)
37763776
- **`local` (Optional, boolean)**: Return local information, do not retrieve the state from master node (default: false)
3777-
- **`master_timeout` (Optional, string \| -1 \| 0)**: Specify timeout for connection to master
3777+
- **`master_timeout` (Optional, string \| -1 \| 0)**: Timeout for waiting for new cluster state in case it is blocked
37783778
- **`wait_for_metadata_version` (Optional, number)**: Wait for the metadata version to be equal or greater than the specified metadata version
37793779
- **`wait_for_timeout` (Optional, string \| -1 \| 0)**: The maximum time to wait for wait_for_metadata_version before timing out
37803780

@@ -6211,7 +6211,7 @@ client.indices.getIndexTemplate({ ... })
62116211
### Arguments [_arguments_indices.get_index_template]
62126212

62136213
#### Request (object) [_request_indices.get_index_template]
6214-
- **`name` (Optional, string)**: List of index template names used to limit the request. Wildcard (*) expressions are supported.
6214+
- **`name` (Optional, string)**: Name of index template to retrieve. Wildcard (*) expressions are supported.
62156215
- **`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.
62166216
- **`flat_settings` (Optional, boolean)**: If true, returns settings in flat format.
62176217
- **`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.

src/api/types.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3961,7 +3961,7 @@ export interface GeoHashLocation {
39613961
geohash: GeoHash
39623962
}
39633963

3964-
export type GeoHashPrecision = number | string
3964+
export type GeoHashPrecision = integer | string
39653965

39663966
export type GeoHexCell = string
39673967

@@ -3980,7 +3980,7 @@ export type GeoShapeRelation = 'intersects' | 'disjoint' | 'within' | 'contains'
39803980

39813981
export type GeoTile = string
39823982

3983-
export type GeoTilePrecision = number
3983+
export type GeoTilePrecision = integer
39843984

39853985
export interface GetStats {
39863986
current: long
@@ -16428,7 +16428,7 @@ export interface ClusterStateRequest extends RequestBase {
1642816428
ignore_unavailable?: boolean
1642916429
/** Return local information, do not retrieve the state from master node (default: false) */
1643016430
local?: boolean
16431-
/** Specify timeout for connection to master */
16431+
/** Timeout for waiting for new cluster state in case it is blocked */
1643216432
master_timeout?: Duration
1643316433
/** Wait for the metadata version to be equal or greater than the specified metadata version */
1643416434
wait_for_metadata_version?: VersionNumber
@@ -20652,10 +20652,10 @@ export interface IndicesGetAliasIndexAliases {
2065220652

2065320653
export interface IndicesGetAliasNotFoundAliasesKeys {
2065420654
error: string
20655-
status: number
20655+
status: integer
2065620656
}
2065720657
export type IndicesGetAliasNotFoundAliases = IndicesGetAliasNotFoundAliasesKeys
20658-
& { [property: string]: IndicesGetAliasIndexAliases | string | number }
20658+
& { [property: string]: IndicesGetAliasIndexAliases | string | integer }
2065920659

2066020660
export interface IndicesGetDataLifecycleDataStreamWithLifecycle {
2066120661
name: DataStreamName
@@ -20824,7 +20824,7 @@ export interface IndicesGetIndexTemplateIndexTemplateItem {
2082420824
}
2082520825

2082620826
export interface IndicesGetIndexTemplateRequest extends RequestBase {
20827-
/** Comma-separated list of index template names used to limit the request. Wildcard (*) expressions are supported. */
20827+
/** Name of index template to retrieve. Wildcard (*) expressions are supported. */
2082820828
name?: Name
2082920829
/** If true, the request retrieves information from the local node only. Defaults to false, which means information is retrieved from the master node. */
2083020830
local?: boolean

0 commit comments

Comments
 (0)