From 1caef7867539e8034d475e676fc26520c4d30455 Mon Sep 17 00:00:00 2001 From: Elastic Machine Date: Mon, 4 Aug 2025 06:06:36 +0000 Subject: [PATCH] Auto-generated API code --- docs/reference.asciidoc | 2 +- src/api/types.ts | 2 +- src/api/typesWithBodyKey.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/reference.asciidoc b/docs/reference.asciidoc index 06cb8cf1f..a66eef0ed 100644 --- a/docs/reference.asciidoc +++ b/docs/reference.asciidoc @@ -15204,7 +15204,7 @@ If `false`, Elasticsearch only stores async searches that don't finish before th ** *`page_timeout` (Optional, string | -1 | 0)*: The minimum retention period for the scroll cursor. After this time period, a pagination request might fail because the scroll cursor is no longer available. Subsequent scroll requests prolong the lifetime of the scroll cursor by the duration of `page_timeout` in the scroll request. -** *`params` (Optional, Record)*: The values for parameters in the query. +** *`params` (Optional, User-defined value[])*: The values for parameters in the query. ** *`query` (Optional, string)*: The SQL query to run. ** *`request_timeout` (Optional, string | -1 | 0)*: The timeout before the request fails. ** *`runtime_mappings` (Optional, Record)*: One or more runtime fields for the search request. diff --git a/src/api/types.ts b/src/api/types.ts index 608cc74cd..2bb212a07 100644 --- a/src/api/types.ts +++ b/src/api/types.ts @@ -21111,7 +21111,7 @@ export interface SqlQueryRequest extends RequestBase { keep_alive?: Duration keep_on_completion?: boolean page_timeout?: Duration - params?: Record + params?: any[] query?: string request_timeout?: Duration runtime_mappings?: MappingRuntimeFields diff --git a/src/api/typesWithBodyKey.ts b/src/api/typesWithBodyKey.ts index 215502165..a056dfe6c 100644 --- a/src/api/typesWithBodyKey.ts +++ b/src/api/typesWithBodyKey.ts @@ -21717,7 +21717,7 @@ export interface SqlQueryRequest extends RequestBase { keep_alive?: Duration keep_on_completion?: boolean page_timeout?: Duration - params?: Record + params?: any[] query?: string request_timeout?: Duration runtime_mappings?: MappingRuntimeFields