API generation
This commit is contained in:
9
api/requestParams.d.ts
vendored
9
api/requestParams.d.ts
vendored
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user