From 8305ec9f22d36d695c2bfde5514f9c66aa740e98 Mon Sep 17 00:00:00 2001 From: Elastic Machine Date: Fri, 20 Sep 2024 06:34:10 +0000 Subject: [PATCH] Update specification output --- output/openapi/elasticsearch-openapi.json | 12 ++++++ .../elasticsearch-serverless-openapi.json | 12 ++++++ output/schema/schema-serverless.json | 40 ++++++++++++++++++- output/schema/schema.json | 40 ++++++++++++++++++- output/typescript/types.ts | 3 ++ 5 files changed, 105 insertions(+), 2 deletions(-) diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 6e5f885d27..87f8cf279f 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -74544,6 +74544,18 @@ }, "start_time": { "$ref": "#/components/schemas/_types:DateTime" + }, + "skip_result": { + "description": "When true the model will not create results for this calendar period.", + "type": "boolean" + }, + "skip_model_update": { + "description": "When true the model will not be updated for this calendar period.", + "type": "boolean" + }, + "force_time_shift": { + "description": "Shift time by this many seconds. For example adjust time for daylight savings changes", + "type": "number" } }, "required": [ diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index 9a4f3e5c19..959f604a10 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -49407,6 +49407,18 @@ }, "start_time": { "$ref": "#/components/schemas/_types:DateTime" + }, + "skip_result": { + "description": "When true the model will not create results for this calendar period.", + "type": "boolean" + }, + "skip_model_update": { + "description": "When true the model will not be updated for this calendar period.", + "type": "boolean" + }, + "force_time_shift": { + "description": "Shift time by this many seconds. For example adjust time for daylight savings changes", + "type": "number" } }, "required": [ diff --git a/output/schema/schema-serverless.json b/output/schema/schema-serverless.json index 442cc4606d..140f4b94f6 100644 --- a/output/schema/schema-serverless.json +++ b/output/schema/schema-serverless.json @@ -125902,9 +125902,47 @@ "namespace": "_types" } } + }, + { + "description": "When true the model will not create results for this calendar period.", + "name": "skip_result", + "required": false, + "serverDefault": true, + "type": { + "kind": "instance_of", + "type": { + "name": "boolean", + "namespace": "_builtins" + } + } + }, + { + "description": "When true the model will not be updated for this calendar period.", + "name": "skip_model_update", + "required": false, + "serverDefault": true, + "type": { + "kind": "instance_of", + "type": { + "name": "boolean", + "namespace": "_builtins" + } + } + }, + { + "description": "Shift time by this many seconds. For example adjust time for daylight savings changes", + "name": "force_time_shift", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "integer", + "namespace": "_types" + } + } } ], - "specLocation": "ml/_types/CalendarEvent.ts#L23-L33" + "specLocation": "ml/_types/CalendarEvent.ts#L24-L44" }, { "kind": "interface", diff --git a/output/schema/schema.json b/output/schema/schema.json index bdbe479489..3439050504 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -148135,9 +148135,47 @@ "namespace": "_types" } } + }, + { + "description": "When true the model will not create results for this calendar period.", + "name": "skip_result", + "required": false, + "serverDefault": true, + "type": { + "kind": "instance_of", + "type": { + "name": "boolean", + "namespace": "_builtins" + } + } + }, + { + "description": "When true the model will not be updated for this calendar period.", + "name": "skip_model_update", + "required": false, + "serverDefault": true, + "type": { + "kind": "instance_of", + "type": { + "name": "boolean", + "namespace": "_builtins" + } + } + }, + { + "description": "Shift time by this many seconds. For example adjust time for daylight savings changes", + "name": "force_time_shift", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "integer", + "namespace": "_types" + } + } } ], - "specLocation": "ml/_types/CalendarEvent.ts#L23-L33" + "specLocation": "ml/_types/CalendarEvent.ts#L24-L44" }, { "kind": "type_alias", diff --git a/output/typescript/types.ts b/output/typescript/types.ts index eaf9b4c0e8..bf8164b3e1 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -13553,6 +13553,9 @@ export interface MlCalendarEvent { description: string end_time: DateTime start_time: DateTime + skip_result?: boolean + skip_model_update?: boolean + force_time_shift?: integer } export type MlCategorizationAnalyzer = string | MlCategorizationAnalyzerDefinition