API generation
This commit is contained in:
32
api/requestParams.d.ts
vendored
32
api/requestParams.d.ts
vendored
@ -1356,7 +1356,7 @@ export interface AsyncSearchDelete extends Generic {
|
||||
|
||||
export interface AsyncSearchGet extends Generic {
|
||||
id: string;
|
||||
wait_for_completion?: string;
|
||||
wait_for_completion_timeout?: string;
|
||||
keep_alive?: string;
|
||||
typed_keys?: boolean;
|
||||
}
|
||||
@ -1365,8 +1365,8 @@ export interface AsyncSearchSubmit<T = RequestBody> extends Generic {
|
||||
index?: string | string[];
|
||||
_source_exclude?: string | string[];
|
||||
_source_include?: string | string[];
|
||||
wait_for_completion?: string;
|
||||
clean_on_completion?: boolean;
|
||||
wait_for_completion_timeout?: string;
|
||||
keep_on_completion?: boolean;
|
||||
keep_alive?: string;
|
||||
batched_reduce_size?: number;
|
||||
request_cache?: boolean;
|
||||
@ -1461,6 +1461,19 @@ export interface CatMlTrainedModels extends Generic {
|
||||
v?: boolean;
|
||||
}
|
||||
|
||||
export interface CatTransform 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 CcrDeleteAutoFollowPattern extends Generic {
|
||||
name: string;
|
||||
}
|
||||
@ -2307,19 +2320,6 @@ export interface SqlTranslate<T = RequestBody> 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;
|
||||
|
||||
Reference in New Issue
Block a user