API generation

This commit is contained in:
delvedor
2020-04-06 11:35:59 +02:00
parent 27a8e2a9bf
commit d10e8bb9f3
5 changed files with 110 additions and 3 deletions

View File

@ -723,7 +723,7 @@ export interface IndicesGetAlias extends Generic {
}
export interface IndicesGetDataStreams extends Generic {
name?: string | string[];
name?: string;
}
export interface IndicesGetFieldMapping extends Generic {
@ -1437,6 +1437,10 @@ export interface AutoscalingDeleteAutoscalingPolicy extends Generic {
export interface AutoscalingGetAutoscalingDecision extends Generic {
}
export interface AutoscalingGetAutoscalingPolicy extends Generic {
name: string;
}
export interface AutoscalingPutAutoscalingPolicy<T = RequestBody> extends Generic {
name: string;
body: T;