diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index 9be3f03ddb..f6d7276f0e 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -27047,6 +27047,10 @@ }, "_meta": { "$ref": "#/components/schemas/_types:Metadata" + }, + "deprecated": { + "description": "Marks this index template as deprecated. When creating or updating a non-deprecated index template\nthat uses deprecated components, Elasticsearch will emit a deprecation warning.", + "type": "boolean" } }, "required": [ diff --git a/output/schema/schema.json b/output/schema/schema.json index d22896950b..40a32ecc41 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -101982,6 +101982,18 @@ "namespace": "_types" } } + }, + { + "description": "Marks this index template as deprecated. When creating or updating a non-deprecated index template\nthat uses deprecated components, Elasticsearch will emit a deprecation warning.", + "name": "deprecated", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "boolean", + "namespace": "_builtins" + } + } } ] }, @@ -102050,7 +102062,7 @@ } } ], - "specLocation": "cluster/put_component_template/ClusterPutComponentTemplateRequest.ts#L26-L91" + "specLocation": "cluster/put_component_template/ClusterPutComponentTemplateRequest.ts#L26-L96" }, { "body": { @@ -125628,7 +125640,7 @@ "type": { "kind": "instance_of", "type": { - "name": "integer", + "name": "long", "namespace": "_types" } } @@ -129919,7 +129931,7 @@ "type": { "kind": "instance_of", "type": { - "name": "integer", + "name": "long", "namespace": "_types" } } diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 68c76db56d..4e131d3338 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -8684,6 +8684,7 @@ export interface ClusterPutComponentTemplateRequest extends RequestBase { template: IndicesIndexState version?: VersionNumber _meta?: Metadata + deprecated?: boolean } } @@ -11220,7 +11221,7 @@ export interface IndicesPutIndexTemplateRequest extends RequestBase { composed_of?: Name[] template?: IndicesPutIndexTemplateIndexTemplateMapping data_stream?: IndicesDataStreamVisibility - priority?: integer + priority?: long version?: VersionNumber _meta?: Metadata allow_auto_create?: boolean @@ -11647,7 +11648,7 @@ export interface IndicesSimulateTemplateRequest extends RequestBase { composed_of?: Name[] template?: IndicesPutIndexTemplateIndexTemplateMapping data_stream?: IndicesDataStreamVisibility - priority?: integer + priority?: long version?: VersionNumber _meta?: Metadata ignore_missing_component_templates?: string[]