API generation

This commit is contained in:
delvedor
2020-07-13 11:21:44 +02:00
parent 1a7968aba3
commit fa760f44b5
6 changed files with 126 additions and 8 deletions

View File

@ -677,7 +677,7 @@ export interface IndicesDeleteAlias extends Generic {
}
export interface IndicesDeleteDataStream extends Generic {
name: string;
name: string | string[];
}
export interface IndicesDeleteIndexTemplate extends Generic {
@ -774,7 +774,7 @@ export interface IndicesGetAlias extends Generic {
}
export interface IndicesGetDataStream extends Generic {
name?: string;
name?: string | string[];
}
export interface IndicesGetFieldMapping extends Generic {
@ -2195,6 +2195,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;