diff --git a/output/schema/schema.json b/output/schema/schema.json index 77baf17a59..24d817da3b 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -111014,6 +111014,20 @@ }, "specLocation": "eql/search/types.ts#L20-L32" }, + { + "kind": "enum", + "members": [ + { + "description": "Run against the first version of ES|QL.", + "name": "2024.04.01" + } + ], + "name": { + "name": "Version", + "namespace": "esql._types" + }, + "specLocation": "esql/_types/Version.ts#L23-L31" + }, { "attachedBehaviors": [ "CommonQueryParameters" @@ -111084,6 +111098,18 @@ "namespace": "_builtins" } } + }, + { + "description": "The version of the ES|QL language in which the \"query\" field was written.", + "name": "version", + "required": true, + "type": { + "kind": "instance_of", + "type": { + "name": "Version", + "namespace": "esql._types" + } + } } ] }, @@ -111126,7 +111152,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 bb907d07b7..4df4a986fa 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -9688,6 +9688,8 @@ export type EqlSearchResponse = EqlEqlSearchResponseBase