From 5b916f8939e1043562f00d7d6a78babe656766a4 Mon Sep 17 00:00:00 2001 From: Laura Trotta Date: Fri, 5 Apr 2024 17:54:24 +0200 Subject: [PATCH] priority is a long --- .../put_index_template/IndicesPutIndexTemplateRequest.ts | 4 ++-- .../simulate_template/IndicesSimulateTemplateRequest.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/indices/put_index_template/IndicesPutIndexTemplateRequest.ts b/specification/indices/put_index_template/IndicesPutIndexTemplateRequest.ts index 7198f6b812..4b01a7dc22 100644 --- a/specification/indices/put_index_template/IndicesPutIndexTemplateRequest.ts +++ b/specification/indices/put_index_template/IndicesPutIndexTemplateRequest.ts @@ -30,7 +30,7 @@ import { VersionNumber } from '@_types/common' import { TypeMapping } from '@_types/mapping/TypeMapping' -import { integer } from '@_types/Numeric' +import { long } from '@_types/Numeric' import { DataStreamLifecycle } from '@indices/_types/DataStreamLifecycle' import { Duration } from '@_types/Time' @@ -73,7 +73,7 @@ export interface Request extends RequestBase { * If no priority is specified the template is treated as though it is of priority 0 (lowest priority). * This number is not automatically generated by Elasticsearch. */ - priority?: integer + priority?: long /** * Version number used to manage index templates externally. * This number is not automatically generated by Elasticsearch. diff --git a/specification/indices/simulate_template/IndicesSimulateTemplateRequest.ts b/specification/indices/simulate_template/IndicesSimulateTemplateRequest.ts index 5123ff267a..71381f26c4 100644 --- a/specification/indices/simulate_template/IndicesSimulateTemplateRequest.ts +++ b/specification/indices/simulate_template/IndicesSimulateTemplateRequest.ts @@ -22,7 +22,7 @@ import { Indices, Metadata, Name, VersionNumber } from '@_types/common' import { Duration } from '@_types/Time' import { IndexTemplateMapping } from '@indices/put_index_template/IndicesPutIndexTemplateRequest' import { DataStreamVisibility } from '@indices/_types/DataStream' -import { integer } from '@_types/Numeric' +import { long } from '@_types/Numeric' /** * Returns the index configuration that would be applied by a particular index template. @@ -92,7 +92,7 @@ export interface Request extends RequestBase { * If no priority is specified the template is treated as though it is of priority 0 (lowest priority). * This number is not automatically generated by Elasticsearch. */ - priority?: integer + priority?: long /** * Version number used to manage index templates externally. * This number is not automatically generated by Elasticsearch.