API generation

This commit is contained in:
delvedor
2020-07-13 14:45:19 +02:00
parent d73cb1a29b
commit 581b0f3a35
6 changed files with 124 additions and 1105 deletions

View File

@ -673,7 +673,7 @@ export interface IndicesDeleteAlias extends Generic {
}
export interface IndicesDeleteDataStream extends Generic {
name: string;
name: string | string[];
}
export interface IndicesDeleteIndexTemplate extends Generic {
@ -778,7 +778,7 @@ export interface IndicesGetAlias extends Generic {
}
export interface IndicesGetDataStream extends Generic {
name?: string;
name?: string | string[];
}
export interface IndicesGetFieldMapping extends Generic {
@ -2163,6 +2163,11 @@ export interface MlStopDatafeed extends Generic {
timeout?: string;
}
export interface MlUpdateDataFrameAnalytics<T = RequestBody> extends Generic {
id: string;
body: T;
}
export interface MlUpdateDatafeed<T = RequestBody> extends Generic {
datafeed_id: string;
ignore_unavailable?: boolean;