diff --git a/output/schema/schema.json b/output/schema/schema.json index 40a32ecc41..88a2c0a201 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -110992,6 +110992,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" @@ -111062,6 +111076,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" + } + } } ] }, @@ -111104,7 +111130,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..f0d8589263 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -9686,6 +9686,8 @@ export type EqlSearchResponse = EqlEqlSearchResponseBase