API generation

This commit is contained in:
delvedor
2020-03-18 15:05:03 +01:00
parent f1fcf4746d
commit 7e51d4cd8c
8 changed files with 528 additions and 0 deletions

View File

@ -260,6 +260,18 @@ export interface ClusterAllocationExplain<T = any> extends Generic {
body?: T;
}
export interface ClusterDeleteComponentTemplate extends Generic {
name: string;
timeout?: string;
master_timeout?: string;
}
export interface ClusterGetComponentTemplate extends Generic {
name?: string | string[];
master_timeout?: string;
local?: boolean;
}
export interface ClusterGetSettings extends Generic {
flat_settings?: boolean;
master_timeout?: string;
@ -287,6 +299,14 @@ export interface ClusterPendingTasks extends Generic {
master_timeout?: string;
}
export interface ClusterPutComponentTemplate<T = any> extends Generic {
name: string;
create?: boolean;
timeout?: string;
master_timeout?: string;
body: T;
}
export interface ClusterPutSettings<T = any> extends Generic {
flat_settings?: boolean;
master_timeout?: string;
@ -2274,6 +2294,19 @@ export interface SqlTranslate<T = any> extends Generic {
export interface SslCertificates extends Generic {
}
export interface TransformCatTransform extends Generic {
transform_id?: string;
from?: number;
size?: number;
allow_no_match?: boolean;
format?: string;
h?: string | string[];
help?: boolean;
s?: string | string[];
time?: 'd (Days)' | 'h (Hours)' | 'm (Minutes)' | 's (Seconds)' | 'ms (Milliseconds)' | 'micros (Microseconds)' | 'nanos (Nanoseconds)';
v?: boolean;
}
export interface TransformDeleteTransform extends Generic {
transform_id: string;
force?: boolean;