From 90cfe2a063d86aca9253743132731946e0427bc7 Mon Sep 17 00:00:00 2001 From: Elastic Machine Date: Wed, 28 Feb 2024 06:53:09 +1030 Subject: [PATCH] Auto-generated code for 8.11 (#2132) --- docs/reference.asciidoc | 2 +- src/api/types.ts | 2 +- src/api/typesWithBodyKey.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/reference.asciidoc b/docs/reference.asciidoc index e6cc15f01..f8776c888 100644 --- a/docs/reference.asciidoc +++ b/docs/reference.asciidoc @@ -8950,7 +8950,7 @@ client.synonyms.putSynonymRule({ set_id, rule_id, synonyms }) * *Request (object):* ** *`set_id` (string)*: The id of the synonym set to be updated with the synonym rule ** *`rule_id` (string)*: The id of the synonym rule to be updated or created -** *`synonyms` (string[])* +** *`synonyms` (string)* [discrete] === tasks diff --git a/src/api/types.ts b/src/api/types.ts index fb0a52f8e..58bd0f9b0 100644 --- a/src/api/types.ts +++ b/src/api/types.ts @@ -17178,7 +17178,7 @@ export interface SynonymsPutSynonymResponse { export interface SynonymsPutSynonymRuleRequest extends RequestBase { set_id: Id rule_id: Id - synonyms: SynonymsSynonymString[] + synonyms: SynonymsSynonymString } export type SynonymsPutSynonymRuleResponse = SynonymsSynonymsUpdateResult diff --git a/src/api/typesWithBodyKey.ts b/src/api/typesWithBodyKey.ts index dbfa003f7..1e57c8f89 100644 --- a/src/api/typesWithBodyKey.ts +++ b/src/api/typesWithBodyKey.ts @@ -17586,7 +17586,7 @@ export interface SynonymsPutSynonymRuleRequest extends RequestBase { rule_id: Id /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */ body?: { - synonyms: SynonymsSynonymString[] + synonyms: SynonymsSynonymString } }