Auto-generated code for 8.14 (#2343)

This commit is contained in:
Elastic Machine
2024-08-20 01:44:52 +10:00
committed by GitHub
parent 2471b0f2fb
commit 0c059bf470
3 changed files with 3 additions and 3 deletions

View File

@ -9975,7 +9975,7 @@ client.synonyms.putSynonym({ id, synonyms_set })
* *Request (object):* * *Request (object):*
** *`id` (string)*: The id of the synonyms set to be created or updated ** *`id` (string)*: The id of the synonyms set to be created or updated
** *`synonyms_set` ({ id, synonyms }[])*: The synonym set information to update ** *`synonyms_set` ({ id, synonyms } | { id, synonyms }[])*: The synonym set information to update
[discrete] [discrete]
==== put_synonym_rule ==== put_synonym_rule

View File

@ -18049,7 +18049,7 @@ export interface SynonymsGetSynonymsSetsSynonymsSetItem {
export interface SynonymsPutSynonymRequest extends RequestBase { export interface SynonymsPutSynonymRequest extends RequestBase {
id: Id id: Id
synonyms_set: SynonymsSynonymRule[] synonyms_set: SynonymsSynonymRule | SynonymsSynonymRule[]
} }
export interface SynonymsPutSynonymResponse { export interface SynonymsPutSynonymResponse {

View File

@ -18509,7 +18509,7 @@ export interface SynonymsPutSynonymRequest extends RequestBase {
id: Id id: Id
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */ /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
body?: { body?: {
synonyms_set: SynonymsSynonymRule[] synonyms_set: SynonymsSynonymRule | SynonymsSynonymRule[]
} }
} }