From c403e4d7f6a5dd9bfef9d82cc4b86a529f22bc53 Mon Sep 17 00:00:00 2001 From: Elastic Machine Date: Mon, 6 Oct 2025 06:03:49 +0000 Subject: [PATCH] Auto-generated API code --- 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 7874ffa0c..392012487 100644 --- a/src/api/types.ts +++ b/src/api/types.ts @@ -2916,7 +2916,7 @@ export interface TaskFailure { export type TaskId = string | integer export interface TextEmbedding { - model_id: string + model_id?: string model_text: string } diff --git a/src/api/typesWithBodyKey.ts b/src/api/typesWithBodyKey.ts index e9bc8c634..f2ee774a6 100644 --- a/src/api/typesWithBodyKey.ts +++ b/src/api/typesWithBodyKey.ts @@ -2993,7 +2993,7 @@ export interface TaskFailure { export type TaskId = string | integer export interface TextEmbedding { - model_id: string + model_id?: string model_text: string }