From dcfc11c23910856f372ddeabf123c053329e0edc Mon Sep 17 00:00:00 2001 From: Elastic Machine Date: Mon, 26 Aug 2024 19:56:55 +0100 Subject: [PATCH] Auto-generated code for 8.14 (#2349) --- docs/reference.asciidoc | 1 + src/api/types.ts | 9 +-------- src/api/typesWithBodyKey.ts | 9 +-------- 3 files changed, 3 insertions(+), 16 deletions(-) diff --git a/docs/reference.asciidoc b/docs/reference.asciidoc index b44effca8..2d9adac75 100644 --- a/docs/reference.asciidoc +++ b/docs/reference.asciidoc @@ -1310,6 +1310,7 @@ If the index has a default ingest pipeline specified, then setting the value to If a final pipeline is configured it will always run, regardless of the value of this parameter. ** *`preference` (Optional, string)*: Specifies the node or shard the operation should be performed on. Random by default. +** *`q` (Optional, string)*: Query in the Lucene query string syntax. ** *`refresh` (Optional, boolean)*: If `true`, Elasticsearch refreshes affected shards to make the operation visible to search. ** *`request_cache` (Optional, boolean)*: If `true`, the request cache is used for this request. ** *`requests_per_second` (Optional, float)*: The throttle for this request in sub-requests per second. diff --git a/src/api/types.ts b/src/api/types.ts index 70f04933b..456c0ca7b 100644 --- a/src/api/types.ts +++ b/src/api/types.ts @@ -1901,6 +1901,7 @@ export interface UpdateByQueryRequest extends RequestBase { lenient?: boolean pipeline?: string preference?: string + q?: string refresh?: boolean request_cache?: boolean requests_per_second?: float @@ -15565,13 +15566,6 @@ export interface NodesGetRepositoriesMeteringInfoResponseBase extends NodesNodes nodes: Record } -export interface NodesHotThreadsHotThread { - hosts: Host[] - node_id: Id - node_name: Name - threads: string[] -} - export interface NodesHotThreadsRequest extends RequestBase { node_id?: NodeIds ignore_idle_threads?: boolean @@ -15585,7 +15579,6 @@ export interface NodesHotThreadsRequest extends RequestBase { } export interface NodesHotThreadsResponse { - hot_threads: NodesHotThreadsHotThread[] } export interface NodesInfoDeprecationIndexing { diff --git a/src/api/typesWithBodyKey.ts b/src/api/typesWithBodyKey.ts index 656af059f..d5332f28c 100644 --- a/src/api/typesWithBodyKey.ts +++ b/src/api/typesWithBodyKey.ts @@ -1971,6 +1971,7 @@ export interface UpdateByQueryRequest extends RequestBase { lenient?: boolean pipeline?: string preference?: string + q?: string refresh?: boolean request_cache?: boolean requests_per_second?: float @@ -15914,13 +15915,6 @@ export interface NodesGetRepositoriesMeteringInfoResponseBase extends NodesNodes nodes: Record } -export interface NodesHotThreadsHotThread { - hosts: Host[] - node_id: Id - node_name: Name - threads: string[] -} - export interface NodesHotThreadsRequest extends RequestBase { node_id?: NodeIds ignore_idle_threads?: boolean @@ -15934,7 +15928,6 @@ export interface NodesHotThreadsRequest extends RequestBase { } export interface NodesHotThreadsResponse { - hot_threads: NodesHotThreadsHotThread[] } export interface NodesInfoDeprecationIndexing {