Support for Elasticsearch 7.6 (#1075)
This commit is contained in:
committed by
GitHub
parent
d19313a72c
commit
8bd5c4c4ce
52
api/requestParams.d.ts
vendored
52
api/requestParams.d.ts
vendored
@ -87,7 +87,7 @@ export interface CatHelp extends Generic {
|
||||
export interface CatIndices extends Generic {
|
||||
index?: string | string[];
|
||||
format?: string;
|
||||
bytes?: 'b' | 'k' | 'm' | 'g';
|
||||
bytes?: 'b' | 'k' | 'kb' | 'm' | 'mb' | 'g' | 'gb' | 't' | 'tb' | 'p' | 'pb';
|
||||
local?: boolean;
|
||||
master_timeout?: string;
|
||||
h?: string | string[];
|
||||
@ -512,6 +512,12 @@ export interface GetScript extends Generic {
|
||||
master_timeout?: string;
|
||||
}
|
||||
|
||||
export interface GetScriptContext extends Generic {
|
||||
}
|
||||
|
||||
export interface GetScriptLanguages extends Generic {
|
||||
}
|
||||
|
||||
export interface GetSource extends Generic {
|
||||
id: string;
|
||||
index: string;
|
||||
@ -1050,6 +1056,7 @@ export interface RankEval<T = any> extends Generic {
|
||||
ignore_unavailable?: boolean;
|
||||
allow_no_indices?: boolean;
|
||||
expand_wildcards?: 'open' | 'closed' | 'none' | 'all';
|
||||
search_type?: 'query_then_fetch' | 'dfs_query_then_fetch';
|
||||
body: T;
|
||||
}
|
||||
|
||||
@ -1501,6 +1508,7 @@ export interface LicenseDelete extends Generic {
|
||||
|
||||
export interface LicenseGet extends Generic {
|
||||
local?: boolean;
|
||||
accept_enterprise?: boolean;
|
||||
}
|
||||
|
||||
export interface LicenseGetBasicStatus extends Generic {
|
||||
@ -1551,6 +1559,7 @@ export interface MlDeleteCalendarJob extends Generic {
|
||||
|
||||
export interface MlDeleteDataFrameAnalytics extends Generic {
|
||||
id: string;
|
||||
force?: boolean;
|
||||
}
|
||||
|
||||
export interface MlDeleteDatafeed extends Generic {
|
||||
@ -1583,14 +1592,19 @@ export interface MlDeleteModelSnapshot extends Generic {
|
||||
snapshot_id: string;
|
||||
}
|
||||
|
||||
export interface MlEstimateMemoryUsage<T = any> extends Generic {
|
||||
body: T;
|
||||
export interface MlDeleteTrainedModel extends Generic {
|
||||
model_id: string;
|
||||
}
|
||||
|
||||
export interface MlEvaluateDataFrame<T = any> extends Generic {
|
||||
body: T;
|
||||
}
|
||||
|
||||
export interface MlExplainDataFrameAnalytics<T = any> extends Generic {
|
||||
id?: string;
|
||||
body?: T;
|
||||
}
|
||||
|
||||
export interface MlFindFileStructure<T = any> extends Generic {
|
||||
lines_to_sample?: number;
|
||||
line_merge_size_limit?: number;
|
||||
@ -1754,6 +1768,22 @@ export interface MlGetRecords<T = any> extends Generic {
|
||||
body?: T;
|
||||
}
|
||||
|
||||
export interface MlGetTrainedModels extends Generic {
|
||||
model_id?: string;
|
||||
allow_no_match?: boolean;
|
||||
include_model_definition?: boolean;
|
||||
decompress_definition?: boolean;
|
||||
from?: number;
|
||||
size?: number;
|
||||
}
|
||||
|
||||
export interface MlGetTrainedModelsStats extends Generic {
|
||||
model_id?: string;
|
||||
allow_no_match?: boolean;
|
||||
from?: number;
|
||||
size?: number;
|
||||
}
|
||||
|
||||
export interface MlInfo extends Generic {
|
||||
}
|
||||
|
||||
@ -1807,6 +1837,11 @@ export interface MlPutJob<T = any> extends Generic {
|
||||
body: T;
|
||||
}
|
||||
|
||||
export interface MlPutTrainedModel<T = any> extends Generic {
|
||||
model_id: string;
|
||||
body: T;
|
||||
}
|
||||
|
||||
export interface MlRevertModelSnapshot<T = any> extends Generic {
|
||||
job_id: string;
|
||||
snapshot_id: string;
|
||||
@ -2067,11 +2102,20 @@ export interface SlmGetLifecycle extends Generic {
|
||||
export interface SlmGetStats extends Generic {
|
||||
}
|
||||
|
||||
export interface SlmGetStatus extends Generic {
|
||||
}
|
||||
|
||||
export interface SlmPutLifecycle<T = any> extends Generic {
|
||||
policy_id: string;
|
||||
body?: T;
|
||||
}
|
||||
|
||||
export interface SlmStart extends Generic {
|
||||
}
|
||||
|
||||
export interface SlmStop extends Generic {
|
||||
}
|
||||
|
||||
export interface SqlClearCursor<T = any> extends Generic {
|
||||
body: T;
|
||||
}
|
||||
@ -2124,9 +2168,11 @@ export interface TransformStartTransform extends Generic {
|
||||
|
||||
export interface TransformStopTransform extends Generic {
|
||||
transform_id: string;
|
||||
force?: boolean;
|
||||
wait_for_completion?: boolean;
|
||||
timeout?: string;
|
||||
allow_no_match?: boolean;
|
||||
wait_for_checkpoint?: boolean;
|
||||
}
|
||||
|
||||
export interface TransformUpdateTransform<T = any> extends Generic {
|
||||
|
||||
Reference in New Issue
Block a user