diff --git a/output/schema/schema.json b/output/schema/schema.json index b860c96844..da9a5c1924 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -52712,7 +52712,7 @@ }, { "aliases": [ - "1Y" + "1y" ], "name": "year" } diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 3fb54de751..d77fffd190 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -3104,7 +3104,7 @@ export type AggregationsBuckets = Record | T export type AggregationsBucketsPath = string | string[] | Record -export type AggregationsCalendarInterval = 'second' | '1s' | 'minute' | '1m' | 'hour' | '1h' | 'day' | '1d' | 'week' | '1w' | 'month' | '1M' | 'quarter' | '1q' | 'year' | '1Y' +export type AggregationsCalendarInterval = 'second' | '1s' | 'minute' | '1m' | 'hour' | '1h' | 'day' | '1d' | 'week' | '1w' | 'month' | '1M' | 'quarter' | '1q' | 'year' | '1y' export interface AggregationsCardinalityAggregate extends AggregationsAggregateBase { value: long diff --git a/specification/_types/aggregations/bucket.ts b/specification/_types/aggregations/bucket.ts index 0445f5e144..120a2099bf 100644 --- a/specification/_types/aggregations/bucket.ts +++ b/specification/_types/aggregations/bucket.ts @@ -263,7 +263,7 @@ export enum CalendarInterval { month, /** @aliases 1q */ quarter, - /** @aliases 1Y */ + /** @aliases 1y */ year }