diff --git a/output/schema/schema.json b/output/schema/schema.json index 40a32ecc41..b3b5dc1b71 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -110992,6 +110992,24 @@ }, "specLocation": "eql/search/types.ts#L20-L32" }, + { + "kind": "enum", + "members": [ + { + "description": "Run against the first version of ESQL.", + "name": "2024.04.01" + }, + { + "description": "Run against the unreleased version of the ESQL language. This will\ncontain any changes staged for release that have yet to be included\nin a version.", + "name": "snapshot" + } + ], + "name": { + "name": "Version", + "namespace": "esql._types" + }, + "specLocation": "esql/_types/Version.ts#L23-L34" + }, { "attachedBehaviors": [ "CommonQueryParameters" @@ -111062,6 +111080,18 @@ "namespace": "_builtins" } } + }, + { + "description": "The version of the ES|QL language in which the \"query\" field uses was written.", + "name": "version", + "required": true, + "type": { + "kind": "instance_of", + "type": { + "name": "Version", + "namespace": "esql._types" + } + } } ] }, @@ -111104,7 +111134,7 @@ } } ], - "specLocation": "esql/query/QueryRequest.ts#L24-L64" + "specLocation": "esql/query/QueryRequest.ts#L25-L69" }, { "body": { diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 4e131d3338..28c52bee26 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -9686,6 +9686,8 @@ export type EqlSearchResponse = EqlEqlSearchResponseBase