From ec591b84e7fd6dd8c1db184bb9e5e74cf8c7f0de Mon Sep 17 00:00:00 2001 From: nreese Date: Wed, 7 Jun 2023 15:48:51 -0600 Subject: [PATCH] add position to MappingTimeSeriesMetricType --- src/api/types.ts | 2 +- src/api/typesWithBodyKey.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/types.ts b/src/api/types.ts index c5388ce4a..60cd537d6 100644 --- a/src/api/types.ts +++ b/src/api/types.ts @@ -5138,7 +5138,7 @@ export interface MappingTextProperty extends MappingCorePropertyBase { type: 'text' } -export type MappingTimeSeriesMetricType = 'gauge' | 'counter' | 'summary' | 'histogram' +export type MappingTimeSeriesMetricType = 'gauge' | 'counter' | 'summary' | 'histogram' | 'position' export interface MappingTokenCountProperty extends MappingDocValuesPropertyBase { analyzer?: string diff --git a/src/api/typesWithBodyKey.ts b/src/api/typesWithBodyKey.ts index 6c0a35200..34ba427fc 100644 --- a/src/api/typesWithBodyKey.ts +++ b/src/api/typesWithBodyKey.ts @@ -5211,7 +5211,7 @@ export interface MappingTextProperty extends MappingCorePropertyBase { type: 'text' } -export type MappingTimeSeriesMetricType = 'gauge' | 'counter' | 'summary' | 'histogram' +export type MappingTimeSeriesMetricType = 'gauge' | 'counter' | 'summary' | 'histogram' | 'position' export interface MappingTokenCountProperty extends MappingDocValuesPropertyBase { analyzer?: string