@elastic/elasticsearch 8.16.4 → 8.17.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/catalog-info.yaml +4 -1
- package/lib/api/api/async_search.d.ts +4 -4
- package/lib/api/api/async_search.js.map +1 -1
- package/lib/api/api/autoscaling.d.ts +4 -4
- package/lib/api/api/autoscaling.js.map +1 -1
- package/lib/api/api/bulk.d.ts +2 -2
- package/lib/api/api/bulk.js +1 -1
- package/lib/api/api/bulk.js.map +1 -1
- package/lib/api/api/capabilities.js +1 -1
- package/lib/api/api/capabilities.js.map +1 -1
- package/lib/api/api/cat.d.ts +52 -52
- package/lib/api/api/cat.js.map +1 -1
- package/lib/api/api/ccr.d.ts +26 -26
- package/lib/api/api/ccr.js.map +1 -1
- package/lib/api/api/clear_scroll.d.ts +1 -1
- package/lib/api/api/clear_scroll.js +1 -1
- package/lib/api/api/clear_scroll.js.map +1 -1
- package/lib/api/api/close_point_in_time.d.ts +1 -1
- package/lib/api/api/close_point_in_time.js +1 -1
- package/lib/api/api/close_point_in_time.js.map +1 -1
- package/lib/api/api/cluster.d.ts +19 -19
- package/lib/api/api/cluster.js.map +1 -1
- package/lib/api/api/connector.d.ts +50 -50
- package/lib/api/api/connector.js +69 -13
- package/lib/api/api/connector.js.map +1 -1
- package/lib/api/api/count.d.ts +2 -2
- package/lib/api/api/count.js +1 -1
- package/lib/api/api/count.js.map +1 -1
- package/lib/api/api/create.d.ts +2 -2
- package/lib/api/api/create.js +1 -1
- package/lib/api/api/create.js.map +1 -1
- package/lib/api/api/dangling_indices.d.ts +3 -3
- package/lib/api/api/dangling_indices.js.map +1 -1
- package/lib/api/api/delete.d.ts +2 -2
- package/lib/api/api/delete.js +1 -1
- package/lib/api/api/delete.js.map +1 -1
- package/lib/api/api/delete_by_query.d.ts +2 -2
- package/lib/api/api/delete_by_query.js +1 -1
- package/lib/api/api/delete_by_query.js.map +1 -1
- package/lib/api/api/delete_by_query_rethrottle.d.ts +1 -1
- package/lib/api/api/delete_by_query_rethrottle.js +1 -1
- package/lib/api/api/delete_by_query_rethrottle.js.map +1 -1
- package/lib/api/api/delete_script.d.ts +1 -1
- package/lib/api/api/delete_script.js +1 -1
- package/lib/api/api/delete_script.js.map +1 -1
- package/lib/api/api/enrich.d.ts +5 -5
- package/lib/api/api/enrich.js.map +1 -1
- package/lib/api/api/eql.d.ts +4 -4
- package/lib/api/api/eql.js.map +1 -1
- package/lib/api/api/esql.d.ts +18 -11
- package/lib/api/api/esql.js +42 -5
- package/lib/api/api/esql.js.map +1 -1
- package/lib/api/api/exists.d.ts +2 -2
- package/lib/api/api/exists.js +1 -1
- package/lib/api/api/exists.js.map +1 -1
- package/lib/api/api/exists_source.d.ts +2 -2
- package/lib/api/api/exists_source.js +1 -1
- package/lib/api/api/exists_source.js.map +1 -1
- package/lib/api/api/explain.d.ts +2 -2
- package/lib/api/api/explain.js +1 -1
- package/lib/api/api/explain.js.map +1 -1
- package/lib/api/api/features.d.ts +4 -4
- package/lib/api/api/features.js.map +1 -1
- package/lib/api/api/field_caps.d.ts +1 -1
- package/lib/api/api/field_caps.js +1 -1
- package/lib/api/api/field_caps.js.map +1 -1
- package/lib/api/api/fleet.d.ts +1 -1
- package/lib/api/api/fleet.js.map +1 -1
- package/lib/api/api/get.d.ts +2 -2
- package/lib/api/api/get.js +1 -1
- package/lib/api/api/get.js.map +1 -1
- package/lib/api/api/get_script.d.ts +1 -1
- package/lib/api/api/get_script.js +1 -1
- package/lib/api/api/get_script.js.map +1 -1
- package/lib/api/api/get_script_context.d.ts +1 -1
- package/lib/api/api/get_script_context.js +1 -1
- package/lib/api/api/get_script_context.js.map +1 -1
- package/lib/api/api/get_script_languages.d.ts +1 -1
- package/lib/api/api/get_script_languages.js +1 -1
- package/lib/api/api/get_script_languages.js.map +1 -1
- package/lib/api/api/get_source.d.ts +2 -2
- package/lib/api/api/get_source.js +1 -1
- package/lib/api/api/get_source.js.map +1 -1
- package/lib/api/api/graph.d.ts +1 -1
- package/lib/api/api/graph.js.map +1 -1
- package/lib/api/api/health_report.d.ts +1 -1
- package/lib/api/api/health_report.js +1 -1
- package/lib/api/api/health_report.js.map +1 -1
- package/lib/api/api/ilm.d.ts +11 -11
- package/lib/api/api/ilm.js.map +1 -1
- package/lib/api/api/index.d.ts +2 -2
- package/lib/api/api/index.js +1 -1
- package/lib/api/api/index.js.map +1 -1
- package/lib/api/api/indices.d.ts +105 -98
- package/lib/api/api/indices.js +21 -0
- package/lib/api/api/indices.js.map +1 -1
- package/lib/api/api/inference.d.ts +17 -10
- package/lib/api/api/inference.js +56 -3
- package/lib/api/api/inference.js.map +1 -1
- package/lib/api/api/info.d.ts +2 -2
- package/lib/api/api/info.js +1 -1
- package/lib/api/api/info.js.map +1 -1
- package/lib/api/api/ingest.d.ts +16 -16
- package/lib/api/api/ingest.js.map +1 -1
- package/lib/api/api/knn_search.d.ts +2 -2
- package/lib/api/api/knn_search.js +1 -1
- package/lib/api/api/knn_search.js.map +1 -1
- package/lib/api/api/license.d.ts +14 -14
- package/lib/api/api/license.js.map +1 -1
- package/lib/api/api/logstash.d.ts +6 -6
- package/lib/api/api/logstash.js.map +1 -1
- package/lib/api/api/mget.d.ts +2 -2
- package/lib/api/api/mget.js +1 -1
- package/lib/api/api/mget.js.map +1 -1
- package/lib/api/api/migration.d.ts +6 -6
- package/lib/api/api/migration.js.map +1 -1
- package/lib/api/api/ml.d.ts +79 -79
- package/lib/api/api/ml.js.map +1 -1
- package/lib/api/api/monitoring.d.ts +2 -2
- package/lib/api/api/monitoring.js.map +1 -1
- package/lib/api/api/msearch.d.ts +1 -1
- package/lib/api/api/msearch.js +1 -1
- package/lib/api/api/msearch.js.map +1 -1
- package/lib/api/api/msearch_template.d.ts +2 -2
- package/lib/api/api/msearch_template.js +1 -1
- package/lib/api/api/msearch_template.js.map +1 -1
- package/lib/api/api/mtermvectors.d.ts +2 -2
- package/lib/api/api/mtermvectors.js +1 -1
- package/lib/api/api/mtermvectors.js.map +1 -1
- package/lib/api/api/nodes.d.ts +7 -7
- package/lib/api/api/nodes.js.map +1 -1
- package/lib/api/api/open_point_in_time.d.ts +2 -2
- package/lib/api/api/open_point_in_time.js +1 -1
- package/lib/api/api/open_point_in_time.js.map +1 -1
- package/lib/api/api/ping.d.ts +1 -1
- package/lib/api/api/ping.js +1 -1
- package/lib/api/api/ping.js.map +1 -1
- package/lib/api/api/profiling.d.ts +4 -4
- package/lib/api/api/profiling.js.map +1 -1
- package/lib/api/api/put_script.d.ts +1 -1
- package/lib/api/api/put_script.js +1 -1
- package/lib/api/api/put_script.js.map +1 -1
- package/lib/api/api/query_rules.d.ts +12 -12
- package/lib/api/api/query_rules.js.map +1 -1
- package/lib/api/api/rank_eval.d.ts +1 -1
- package/lib/api/api/rank_eval.js +1 -1
- package/lib/api/api/rank_eval.js.map +1 -1
- package/lib/api/api/reindex.d.ts +2 -2
- package/lib/api/api/reindex.js +1 -1
- package/lib/api/api/reindex.js.map +1 -1
- package/lib/api/api/reindex_rethrottle.d.ts +2 -2
- package/lib/api/api/reindex_rethrottle.js +1 -1
- package/lib/api/api/reindex_rethrottle.js.map +1 -1
- package/lib/api/api/render_search_template.d.ts +1 -1
- package/lib/api/api/render_search_template.js +3 -3
- package/lib/api/api/render_search_template.js.map +1 -1
- package/lib/api/api/rollup.d.ts +16 -16
- package/lib/api/api/rollup.js.map +1 -1
- package/lib/api/api/scripts_painless_execute.d.ts +1 -1
- package/lib/api/api/scripts_painless_execute.js +1 -1
- package/lib/api/api/scripts_painless_execute.js.map +1 -1
- package/lib/api/api/scroll.d.ts +1 -1
- package/lib/api/api/scroll.js +1 -1
- package/lib/api/api/scroll.js.map +1 -1
- package/lib/api/api/search.d.ts +2 -2
- package/lib/api/api/search.js +1 -1
- package/lib/api/api/search.js.map +1 -1
- package/lib/api/api/search_application.d.ts +19 -19
- package/lib/api/api/search_application.js +27 -6
- package/lib/api/api/search_application.js.map +1 -1
- package/lib/api/api/search_mvt.d.ts +2 -2
- package/lib/api/api/search_mvt.js +1 -1
- package/lib/api/api/search_mvt.js.map +1 -1
- package/lib/api/api/search_shards.d.ts +2 -2
- package/lib/api/api/search_shards.js +1 -1
- package/lib/api/api/search_shards.js.map +1 -1
- package/lib/api/api/search_template.d.ts +1 -1
- package/lib/api/api/search_template.js +1 -1
- package/lib/api/api/search_template.js.map +1 -1
- package/lib/api/api/searchable_snapshots.d.ts +8 -8
- package/lib/api/api/searchable_snapshots.js.map +1 -1
- package/lib/api/api/security.d.ts +135 -128
- package/lib/api/api/security.js +121 -14
- package/lib/api/api/security.js.map +1 -1
- package/lib/api/api/shutdown.d.ts +6 -6
- package/lib/api/api/shutdown.js.map +1 -1
- package/lib/api/api/simulate.d.ts +5 -5
- package/lib/api/api/simulate.js +17 -3
- package/lib/api/api/simulate.js.map +1 -1
- package/lib/api/api/slm.d.ts +18 -18
- package/lib/api/api/slm.js.map +1 -1
- package/lib/api/api/snapshot.d.ts +29 -29
- package/lib/api/api/snapshot.js +4 -4
- package/lib/api/api/snapshot.js.map +1 -1
- package/lib/api/api/sql.d.ts +9 -9
- package/lib/api/api/sql.js +1 -1
- package/lib/api/api/sql.js.map +1 -1
- package/lib/api/api/ssl.d.ts +1 -1
- package/lib/api/api/ssl.js.map +1 -1
- package/lib/api/api/synonyms.d.ts +10 -10
- package/lib/api/api/synonyms.js.map +1 -1
- package/lib/api/api/tasks.d.ts +6 -6
- package/lib/api/api/tasks.js.map +1 -1
- package/lib/api/api/terms_enum.d.ts +2 -2
- package/lib/api/api/terms_enum.js +1 -1
- package/lib/api/api/terms_enum.js.map +1 -1
- package/lib/api/api/termvectors.d.ts +2 -2
- package/lib/api/api/termvectors.js +1 -1
- package/lib/api/api/termvectors.js.map +1 -1
- package/lib/api/api/text_structure.d.ts +14 -14
- package/lib/api/api/text_structure.js +18 -4
- package/lib/api/api/text_structure.js.map +1 -1
- package/lib/api/api/transform.d.ts +13 -13
- package/lib/api/api/transform.js.map +1 -1
- package/lib/api/api/update.d.ts +2 -2
- package/lib/api/api/update.js +1 -1
- package/lib/api/api/update.js.map +1 -1
- package/lib/api/api/update_by_query.d.ts +2 -2
- package/lib/api/api/update_by_query.js +1 -1
- package/lib/api/api/update_by_query.js.map +1 -1
- package/lib/api/api/update_by_query_rethrottle.d.ts +1 -1
- package/lib/api/api/update_by_query_rethrottle.js +1 -1
- package/lib/api/api/update_by_query_rethrottle.js.map +1 -1
- package/lib/api/api/watcher.d.ts +32 -32
- package/lib/api/api/watcher.js +19 -3
- package/lib/api/api/watcher.js.map +1 -1
- package/lib/api/api/xpack.d.ts +4 -4
- package/lib/api/api/xpack.js.map +1 -1
- package/lib/api/index.js +1 -1
- package/lib/api/index.js.map +1 -1
- package/lib/api/types.d.ts +598 -89
- package/lib/api/typesWithBodyKey.d.ts +649 -89
- package/lib/client.d.ts +82 -2
- package/lib/client.js +8 -1
- package/lib/client.js.map +1 -1
- package/lib/helpers.d.ts +0 -3
- package/lib/helpers.js +7 -6
- package/lib/helpers.js.map +1 -1
- package/package.json +33 -33
- package/.worktrees/new-docs/.dockerignore +0 -8
- package/.worktrees/new-docs/CHANGELOG.md +0 -3
- package/.worktrees/new-docs/LICENSE +0 -202
- package/.worktrees/new-docs/NOTICE.txt +0 -2
- package/.worktrees/new-docs/README.md +0 -173
- package/.worktrees/new-docs/api-extractor.json +0 -39
- package/.worktrees/new-docs/catalog-info.yaml +0 -50
- package/.worktrees/new-docs/codecov.yml +0 -14
- package/.worktrees/new-docs/index.d.ts +0 -27
- package/.worktrees/new-docs/index.js +0 -55
- package/.worktrees/new-docs/package.json +0 -105
- package/.worktrees/new-docs/renovate.json +0 -29
- package/.worktrees/new-docs/tsconfig.json +0 -38
|
@@ -8,6 +8,7 @@ export interface BulkCreateOperation extends BulkWriteOperation {
|
|
|
8
8
|
}
|
|
9
9
|
export interface BulkDeleteOperation extends BulkOperationBase {
|
|
10
10
|
}
|
|
11
|
+
export type BulkFailureStoreStatus = 'not_applicable_or_unknown' | 'used' | 'not_enabled' | 'failed';
|
|
11
12
|
export interface BulkIndexOperation extends BulkWriteOperation {
|
|
12
13
|
}
|
|
13
14
|
export interface BulkOperationBase {
|
|
@@ -52,6 +53,7 @@ export interface BulkResponseItem {
|
|
|
52
53
|
_id?: string | null;
|
|
53
54
|
_index: string;
|
|
54
55
|
status: integer;
|
|
56
|
+
failure_store?: BulkFailureStoreStatus;
|
|
55
57
|
error?: ErrorCause;
|
|
56
58
|
_primary_term?: long;
|
|
57
59
|
result?: string;
|
|
@@ -987,6 +989,7 @@ export interface RenderSearchTemplateRequest extends RequestBase {
|
|
|
987
989
|
id?: Id;
|
|
988
990
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
989
991
|
body?: {
|
|
992
|
+
id?: Id;
|
|
990
993
|
file?: string;
|
|
991
994
|
params?: Record<string, any>;
|
|
992
995
|
source?: string;
|
|
@@ -1996,7 +1999,7 @@ export interface ErrorResponseBase {
|
|
|
1996
1999
|
error: ErrorCause;
|
|
1997
2000
|
status: integer;
|
|
1998
2001
|
}
|
|
1999
|
-
export type
|
|
2002
|
+
export type EsqlResult = ArrayBuffer;
|
|
2000
2003
|
export type ExpandWildcard = 'all' | 'open' | 'closed' | 'hidden' | 'none';
|
|
2001
2004
|
export type ExpandWildcards = ExpandWildcard | ExpandWildcard[];
|
|
2002
2005
|
export type Field = string;
|
|
@@ -2303,12 +2306,19 @@ export interface RetrieverContainer {
|
|
|
2303
2306
|
knn?: KnnRetriever;
|
|
2304
2307
|
rrf?: RRFRetriever;
|
|
2305
2308
|
text_similarity_reranker?: TextSimilarityReranker;
|
|
2309
|
+
rule?: RuleRetriever;
|
|
2306
2310
|
}
|
|
2307
2311
|
export type Routing = string;
|
|
2308
2312
|
export interface RrfRank {
|
|
2309
2313
|
rank_constant?: long;
|
|
2310
2314
|
rank_window_size?: long;
|
|
2311
2315
|
}
|
|
2316
|
+
export interface RuleRetriever extends RetrieverBase {
|
|
2317
|
+
ruleset_ids: Id[];
|
|
2318
|
+
match_criteria: any;
|
|
2319
|
+
retriever: RetrieverContainer;
|
|
2320
|
+
rank_window_size?: integer;
|
|
2321
|
+
}
|
|
2312
2322
|
export type ScalarValue = long | double | string | boolean | null;
|
|
2313
2323
|
export interface ScoreSort {
|
|
2314
2324
|
order?: SortOrder;
|
|
@@ -2452,6 +2462,7 @@ export interface StoredScript {
|
|
|
2452
2462
|
options?: Record<string, string>;
|
|
2453
2463
|
source: string;
|
|
2454
2464
|
}
|
|
2465
|
+
export type StreamResult = ArrayBuffer;
|
|
2455
2466
|
export type SuggestMode = 'missing' | 'popular' | 'always';
|
|
2456
2467
|
export type SuggestionName = string;
|
|
2457
2468
|
export interface TaskFailure {
|
|
@@ -4783,6 +4794,7 @@ export interface MappingPropertyBase {
|
|
|
4783
4794
|
ignore_above?: integer;
|
|
4784
4795
|
dynamic?: MappingDynamicMapping;
|
|
4785
4796
|
fields?: Record<PropertyName, MappingProperty>;
|
|
4797
|
+
synthetic_source_keep?: MappingSyntheticSourceKeepEnum;
|
|
4786
4798
|
}
|
|
4787
4799
|
export interface MappingRangePropertyBase extends MappingDocValuesPropertyBase {
|
|
4788
4800
|
boost?: double;
|
|
@@ -4870,6 +4882,7 @@ export interface MappingSuggestContext {
|
|
|
4870
4882
|
type: string;
|
|
4871
4883
|
precision?: integer | string;
|
|
4872
4884
|
}
|
|
4885
|
+
export type MappingSyntheticSourceKeepEnum = 'none' | 'arrays' | 'all';
|
|
4873
4886
|
export type MappingTermVectorOption = 'no' | 'yes' | 'with_offsets' | 'with_positions' | 'with_positions_offsets' | 'with_positions_offsets_payloads' | 'with_positions_payloads';
|
|
4874
4887
|
export interface MappingTextIndexPrefixes {
|
|
4875
4888
|
max_chars: integer;
|
|
@@ -5673,8 +5686,8 @@ export interface AsyncSearchStatusStatusResponseBase extends AsyncSearchAsyncSea
|
|
|
5673
5686
|
export interface AsyncSearchSubmitRequest extends RequestBase {
|
|
5674
5687
|
index?: Indices;
|
|
5675
5688
|
wait_for_completion_timeout?: Duration;
|
|
5676
|
-
keep_on_completion?: boolean;
|
|
5677
5689
|
keep_alive?: Duration;
|
|
5690
|
+
keep_on_completion?: boolean;
|
|
5678
5691
|
allow_no_indices?: boolean;
|
|
5679
5692
|
allow_partial_search_results?: boolean;
|
|
5680
5693
|
analyzer?: string;
|
|
@@ -5690,7 +5703,6 @@ export interface AsyncSearchSubmitRequest extends RequestBase {
|
|
|
5690
5703
|
max_concurrent_shard_requests?: long;
|
|
5691
5704
|
min_compatible_shard_node?: VersionString;
|
|
5692
5705
|
preference?: string;
|
|
5693
|
-
pre_filter_shard_size?: long;
|
|
5694
5706
|
request_cache?: boolean;
|
|
5695
5707
|
routing?: Routing;
|
|
5696
5708
|
search_type?: SearchType;
|
|
@@ -5827,6 +5839,8 @@ export interface CatAliasesAliasesRecord {
|
|
|
5827
5839
|
export interface CatAliasesRequest extends CatCatRequestBase {
|
|
5828
5840
|
name?: Names;
|
|
5829
5841
|
expand_wildcards?: ExpandWildcards;
|
|
5842
|
+
local?: boolean;
|
|
5843
|
+
master_timeout?: Duration;
|
|
5830
5844
|
}
|
|
5831
5845
|
export type CatAliasesResponse = CatAliasesAliasesRecord[];
|
|
5832
5846
|
export interface CatAllocationAllocationRecord {
|
|
@@ -5867,6 +5881,8 @@ export interface CatAllocationAllocationRecord {
|
|
|
5867
5881
|
export interface CatAllocationRequest extends CatCatRequestBase {
|
|
5868
5882
|
node_id?: NodeIds;
|
|
5869
5883
|
bytes?: Bytes;
|
|
5884
|
+
local?: boolean;
|
|
5885
|
+
master_timeout?: Duration;
|
|
5870
5886
|
}
|
|
5871
5887
|
export type CatAllocationResponse = CatAllocationAllocationRecord[];
|
|
5872
5888
|
export interface CatComponentTemplatesComponentTemplate {
|
|
@@ -5880,6 +5896,8 @@ export interface CatComponentTemplatesComponentTemplate {
|
|
|
5880
5896
|
}
|
|
5881
5897
|
export interface CatComponentTemplatesRequest extends CatCatRequestBase {
|
|
5882
5898
|
name?: string;
|
|
5899
|
+
local?: boolean;
|
|
5900
|
+
master_timeout?: Duration;
|
|
5883
5901
|
}
|
|
5884
5902
|
export type CatComponentTemplatesResponse = CatComponentTemplatesComponentTemplate[];
|
|
5885
5903
|
export interface CatCountCountRecord {
|
|
@@ -5972,12 +5990,10 @@ export interface CatHealthRequest extends CatCatRequestBase {
|
|
|
5972
5990
|
ts?: boolean;
|
|
5973
5991
|
}
|
|
5974
5992
|
export type CatHealthResponse = CatHealthHealthRecord[];
|
|
5975
|
-
export interface
|
|
5976
|
-
endpoint: string;
|
|
5993
|
+
export interface CatHelpRequest {
|
|
5977
5994
|
}
|
|
5978
|
-
export interface
|
|
5995
|
+
export interface CatHelpResponse {
|
|
5979
5996
|
}
|
|
5980
|
-
export type CatHelpResponse = CatHelpHelpRecord[];
|
|
5981
5997
|
export interface CatIndicesIndicesRecord {
|
|
5982
5998
|
health?: string;
|
|
5983
5999
|
h?: string;
|
|
@@ -6276,6 +6292,7 @@ export interface CatIndicesRequest extends CatCatRequestBase {
|
|
|
6276
6292
|
include_unloaded_segments?: boolean;
|
|
6277
6293
|
pri?: boolean;
|
|
6278
6294
|
time?: TimeUnit;
|
|
6295
|
+
master_timeout?: Duration;
|
|
6279
6296
|
}
|
|
6280
6297
|
export type CatIndicesResponse = CatIndicesIndicesRecord[];
|
|
6281
6298
|
export interface CatMasterMasterRecord {
|
|
@@ -6287,6 +6304,8 @@ export interface CatMasterMasterRecord {
|
|
|
6287
6304
|
n?: string;
|
|
6288
6305
|
}
|
|
6289
6306
|
export interface CatMasterRequest extends CatCatRequestBase {
|
|
6307
|
+
local?: boolean;
|
|
6308
|
+
master_timeout?: Duration;
|
|
6290
6309
|
}
|
|
6291
6310
|
export type CatMasterResponse = CatMasterMasterRecord[];
|
|
6292
6311
|
export interface CatMlDataFrameAnalyticsDataFrameAnalyticsRecord {
|
|
@@ -6338,7 +6357,7 @@ export interface CatMlDataFrameAnalyticsRequest extends CatCatRequestBase {
|
|
|
6338
6357
|
bytes?: Bytes;
|
|
6339
6358
|
h?: CatCatDfaColumns;
|
|
6340
6359
|
s?: CatCatDfaColumns;
|
|
6341
|
-
time?:
|
|
6360
|
+
time?: TimeUnit;
|
|
6342
6361
|
}
|
|
6343
6362
|
export type CatMlDataFrameAnalyticsResponse = CatMlDataFrameAnalyticsDataFrameAnalyticsRecord[];
|
|
6344
6363
|
export interface CatMlDatafeedsDatafeedsRecord {
|
|
@@ -6576,6 +6595,7 @@ export interface CatMlTrainedModelsRequest extends CatCatRequestBase {
|
|
|
6576
6595
|
s?: CatCatTrainedModelsColumns;
|
|
6577
6596
|
from?: integer;
|
|
6578
6597
|
size?: integer;
|
|
6598
|
+
time?: TimeUnit;
|
|
6579
6599
|
}
|
|
6580
6600
|
export type CatMlTrainedModelsResponse = CatMlTrainedModelsTrainedModelsRecord[];
|
|
6581
6601
|
export interface CatMlTrainedModelsTrainedModelsRecord {
|
|
@@ -6639,6 +6659,8 @@ export interface CatNodeattrsNodeAttributesRecord {
|
|
|
6639
6659
|
value?: string;
|
|
6640
6660
|
}
|
|
6641
6661
|
export interface CatNodeattrsRequest extends CatCatRequestBase {
|
|
6662
|
+
local?: boolean;
|
|
6663
|
+
master_timeout?: Duration;
|
|
6642
6664
|
}
|
|
6643
6665
|
export type CatNodeattrsResponse = CatNodeattrsNodeAttributesRecord[];
|
|
6644
6666
|
export interface CatNodesNodesRecord {
|
|
@@ -6914,6 +6936,8 @@ export interface CatNodesRequest extends CatCatRequestBase {
|
|
|
6914
6936
|
bytes?: Bytes;
|
|
6915
6937
|
full_id?: boolean | string;
|
|
6916
6938
|
include_unloaded_segments?: boolean;
|
|
6939
|
+
master_timeout?: Duration;
|
|
6940
|
+
time?: TimeUnit;
|
|
6917
6941
|
}
|
|
6918
6942
|
export type CatNodesResponse = CatNodesNodesRecord[];
|
|
6919
6943
|
export interface CatPendingTasksPendingTasksRecord {
|
|
@@ -6927,6 +6951,9 @@ export interface CatPendingTasksPendingTasksRecord {
|
|
|
6927
6951
|
s?: string;
|
|
6928
6952
|
}
|
|
6929
6953
|
export interface CatPendingTasksRequest extends CatCatRequestBase {
|
|
6954
|
+
local?: boolean;
|
|
6955
|
+
master_timeout?: Duration;
|
|
6956
|
+
time?: TimeUnit;
|
|
6930
6957
|
}
|
|
6931
6958
|
export type CatPendingTasksResponse = CatPendingTasksPendingTasksRecord[];
|
|
6932
6959
|
export interface CatPluginsPluginsRecord {
|
|
@@ -6943,6 +6970,9 @@ export interface CatPluginsPluginsRecord {
|
|
|
6943
6970
|
t?: string;
|
|
6944
6971
|
}
|
|
6945
6972
|
export interface CatPluginsRequest extends CatCatRequestBase {
|
|
6973
|
+
include_bootstrap?: boolean;
|
|
6974
|
+
local?: boolean;
|
|
6975
|
+
master_timeout?: Duration;
|
|
6946
6976
|
}
|
|
6947
6977
|
export type CatPluginsResponse = CatPluginsPluginsRecord[];
|
|
6948
6978
|
export interface CatRecoveryRecoveryRecord {
|
|
@@ -7007,6 +7037,7 @@ export interface CatRecoveryRequest extends CatCatRequestBase {
|
|
|
7007
7037
|
active_only?: boolean;
|
|
7008
7038
|
bytes?: Bytes;
|
|
7009
7039
|
detailed?: boolean;
|
|
7040
|
+
time?: TimeUnit;
|
|
7010
7041
|
}
|
|
7011
7042
|
export type CatRecoveryResponse = CatRecoveryRecoveryRecord[];
|
|
7012
7043
|
export interface CatRepositoriesRepositoriesRecord {
|
|
@@ -7016,11 +7047,15 @@ export interface CatRepositoriesRepositoriesRecord {
|
|
|
7016
7047
|
t?: string;
|
|
7017
7048
|
}
|
|
7018
7049
|
export interface CatRepositoriesRequest extends CatCatRequestBase {
|
|
7050
|
+
local?: boolean;
|
|
7051
|
+
master_timeout?: Duration;
|
|
7019
7052
|
}
|
|
7020
7053
|
export type CatRepositoriesResponse = CatRepositoriesRepositoriesRecord[];
|
|
7021
7054
|
export interface CatSegmentsRequest extends CatCatRequestBase {
|
|
7022
7055
|
index?: Indices;
|
|
7023
7056
|
bytes?: Bytes;
|
|
7057
|
+
local?: boolean;
|
|
7058
|
+
master_timeout?: Duration;
|
|
7024
7059
|
}
|
|
7025
7060
|
export type CatSegmentsResponse = CatSegmentsSegmentsRecord[];
|
|
7026
7061
|
export interface CatSegmentsSegmentsRecord {
|
|
@@ -7067,6 +7102,8 @@ export interface CatSegmentsSegmentsRecord {
|
|
|
7067
7102
|
export interface CatShardsRequest extends CatCatRequestBase {
|
|
7068
7103
|
index?: Indices;
|
|
7069
7104
|
bytes?: Bytes;
|
|
7105
|
+
master_timeout?: Duration;
|
|
7106
|
+
time?: TimeUnit;
|
|
7070
7107
|
}
|
|
7071
7108
|
export type CatShardsResponse = CatShardsShardsRecord[];
|
|
7072
7109
|
export interface CatShardsShardsRecord {
|
|
@@ -7286,6 +7323,8 @@ export interface CatShardsShardsRecord {
|
|
|
7286
7323
|
export interface CatSnapshotsRequest extends CatCatRequestBase {
|
|
7287
7324
|
repository?: Names;
|
|
7288
7325
|
ignore_unavailable?: boolean;
|
|
7326
|
+
master_timeout?: Duration;
|
|
7327
|
+
time?: TimeUnit;
|
|
7289
7328
|
}
|
|
7290
7329
|
export type CatSnapshotsResponse = CatSnapshotsSnapshotsRecord[];
|
|
7291
7330
|
export interface CatSnapshotsSnapshotsRecord {
|
|
@@ -7324,8 +7363,11 @@ export interface CatSnapshotsSnapshotsRecord {
|
|
|
7324
7363
|
export interface CatTasksRequest extends CatCatRequestBase {
|
|
7325
7364
|
actions?: string[];
|
|
7326
7365
|
detailed?: boolean;
|
|
7327
|
-
|
|
7366
|
+
nodes?: string[];
|
|
7328
7367
|
parent_task_id?: string;
|
|
7368
|
+
time?: TimeUnit;
|
|
7369
|
+
timeout?: Duration;
|
|
7370
|
+
wait_for_completion?: boolean;
|
|
7329
7371
|
}
|
|
7330
7372
|
export type CatTasksResponse = CatTasksTasksRecord[];
|
|
7331
7373
|
export interface CatTasksTasksRecord {
|
|
@@ -7364,6 +7406,8 @@ export interface CatTasksTasksRecord {
|
|
|
7364
7406
|
}
|
|
7365
7407
|
export interface CatTemplatesRequest extends CatCatRequestBase {
|
|
7366
7408
|
name?: Name;
|
|
7409
|
+
local?: boolean;
|
|
7410
|
+
master_timeout?: Duration;
|
|
7367
7411
|
}
|
|
7368
7412
|
export type CatTemplatesResponse = CatTemplatesTemplatesRecord[];
|
|
7369
7413
|
export interface CatTemplatesTemplatesRecord {
|
|
@@ -7382,6 +7426,8 @@ export interface CatTemplatesTemplatesRecord {
|
|
|
7382
7426
|
export interface CatThreadPoolRequest extends CatCatRequestBase {
|
|
7383
7427
|
thread_pool_patterns?: Names;
|
|
7384
7428
|
time?: TimeUnit;
|
|
7429
|
+
local?: boolean;
|
|
7430
|
+
master_timeout?: Duration;
|
|
7385
7431
|
}
|
|
7386
7432
|
export type CatThreadPoolResponse = CatThreadPoolThreadPoolRecord[];
|
|
7387
7433
|
export interface CatThreadPoolThreadPoolRecord {
|
|
@@ -7729,6 +7775,7 @@ export interface ClusterComponentTemplateNode {
|
|
|
7729
7775
|
template: ClusterComponentTemplateSummary;
|
|
7730
7776
|
version?: VersionNumber;
|
|
7731
7777
|
_meta?: Metadata;
|
|
7778
|
+
deprecated?: boolean;
|
|
7732
7779
|
}
|
|
7733
7780
|
export interface ClusterComponentTemplateSummary {
|
|
7734
7781
|
_meta?: Metadata;
|
|
@@ -8602,10 +8649,34 @@ export interface ConnectorSyncJobCancelRequest extends RequestBase {
|
|
|
8602
8649
|
export interface ConnectorSyncJobCancelResponse {
|
|
8603
8650
|
result: Result;
|
|
8604
8651
|
}
|
|
8652
|
+
export interface ConnectorSyncJobCheckInRequest extends RequestBase {
|
|
8653
|
+
connector_sync_job_id: Id;
|
|
8654
|
+
}
|
|
8655
|
+
export interface ConnectorSyncJobCheckInResponse {
|
|
8656
|
+
}
|
|
8657
|
+
export interface ConnectorSyncJobClaimRequest extends RequestBase {
|
|
8658
|
+
connector_sync_job_id: Id;
|
|
8659
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
8660
|
+
body?: {
|
|
8661
|
+
sync_cursor?: any;
|
|
8662
|
+
worker_hostname: string;
|
|
8663
|
+
};
|
|
8664
|
+
}
|
|
8665
|
+
export interface ConnectorSyncJobClaimResponse {
|
|
8666
|
+
}
|
|
8605
8667
|
export interface ConnectorSyncJobDeleteRequest extends RequestBase {
|
|
8606
8668
|
connector_sync_job_id: Id;
|
|
8607
8669
|
}
|
|
8608
8670
|
export type ConnectorSyncJobDeleteResponse = AcknowledgedResponseBase;
|
|
8671
|
+
export interface ConnectorSyncJobErrorRequest extends RequestBase {
|
|
8672
|
+
connector_sync_job_id: Id;
|
|
8673
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
8674
|
+
body?: {
|
|
8675
|
+
error: string;
|
|
8676
|
+
};
|
|
8677
|
+
}
|
|
8678
|
+
export interface ConnectorSyncJobErrorResponse {
|
|
8679
|
+
}
|
|
8609
8680
|
export interface ConnectorSyncJobGetRequest extends RequestBase {
|
|
8610
8681
|
connector_sync_job_id: Id;
|
|
8611
8682
|
}
|
|
@@ -8632,6 +8703,20 @@ export interface ConnectorSyncJobPostRequest extends RequestBase {
|
|
|
8632
8703
|
export interface ConnectorSyncJobPostResponse {
|
|
8633
8704
|
id: Id;
|
|
8634
8705
|
}
|
|
8706
|
+
export interface ConnectorSyncJobUpdateStatsRequest extends RequestBase {
|
|
8707
|
+
connector_sync_job_id: Id;
|
|
8708
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
8709
|
+
body?: {
|
|
8710
|
+
deleted_document_count: long;
|
|
8711
|
+
indexed_document_count: long;
|
|
8712
|
+
indexed_document_volume: long;
|
|
8713
|
+
last_seen?: Duration;
|
|
8714
|
+
metadata?: Metadata;
|
|
8715
|
+
total_document_count?: integer;
|
|
8716
|
+
};
|
|
8717
|
+
}
|
|
8718
|
+
export interface ConnectorSyncJobUpdateStatsResponse {
|
|
8719
|
+
}
|
|
8635
8720
|
export interface ConnectorUpdateActiveFilteringRequest extends RequestBase {
|
|
8636
8721
|
connector_id: Id;
|
|
8637
8722
|
}
|
|
@@ -8670,6 +8755,16 @@ export interface ConnectorUpdateErrorRequest extends RequestBase {
|
|
|
8670
8755
|
export interface ConnectorUpdateErrorResponse {
|
|
8671
8756
|
result: Result;
|
|
8672
8757
|
}
|
|
8758
|
+
export interface ConnectorUpdateFeaturesRequest extends RequestBase {
|
|
8759
|
+
connector_id: Id;
|
|
8760
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
8761
|
+
body?: {
|
|
8762
|
+
features: ConnectorConnectorFeatures;
|
|
8763
|
+
};
|
|
8764
|
+
}
|
|
8765
|
+
export interface ConnectorUpdateFeaturesResponse {
|
|
8766
|
+
result: Result;
|
|
8767
|
+
}
|
|
8673
8768
|
export interface ConnectorUpdateFilteringRequest extends RequestBase {
|
|
8674
8769
|
connector_id: Id;
|
|
8675
8770
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
@@ -8940,6 +9035,37 @@ export type EsqlTableValuesIntegerValue = integer | integer[];
|
|
|
8940
9035
|
export type EsqlTableValuesKeywordValue = string | string[];
|
|
8941
9036
|
export type EsqlTableValuesLongDouble = double | double[];
|
|
8942
9037
|
export type EsqlTableValuesLongValue = long | long[];
|
|
9038
|
+
export interface EsqlAsyncQueryRequest extends RequestBase {
|
|
9039
|
+
delimiter?: string;
|
|
9040
|
+
drop_null_columns?: boolean;
|
|
9041
|
+
format?: EsqlQueryEsqlFormat;
|
|
9042
|
+
keep_alive?: Duration;
|
|
9043
|
+
keep_on_completion?: boolean;
|
|
9044
|
+
wait_for_completion_timeout?: Duration;
|
|
9045
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
9046
|
+
body?: {
|
|
9047
|
+
columnar?: boolean;
|
|
9048
|
+
filter?: QueryDslQueryContainer;
|
|
9049
|
+
locale?: string;
|
|
9050
|
+
params?: FieldValue[];
|
|
9051
|
+
profile?: boolean;
|
|
9052
|
+
query: string;
|
|
9053
|
+
tables?: Record<string, Record<string, EsqlTableValuesContainer>>;
|
|
9054
|
+
include_ccs_metadata?: boolean;
|
|
9055
|
+
};
|
|
9056
|
+
}
|
|
9057
|
+
export type EsqlAsyncQueryResponse = EsqlResult;
|
|
9058
|
+
export interface EsqlAsyncQueryDeleteRequest extends RequestBase {
|
|
9059
|
+
id: Id;
|
|
9060
|
+
}
|
|
9061
|
+
export type EsqlAsyncQueryDeleteResponse = AcknowledgedResponseBase;
|
|
9062
|
+
export interface EsqlAsyncQueryGetRequest extends RequestBase {
|
|
9063
|
+
id: Id;
|
|
9064
|
+
drop_null_columns?: boolean;
|
|
9065
|
+
keep_alive?: Duration;
|
|
9066
|
+
wait_for_completion_timeout?: Duration;
|
|
9067
|
+
}
|
|
9068
|
+
export type EsqlAsyncQueryGetResponse = EsqlResult;
|
|
8943
9069
|
export type EsqlQueryEsqlFormat = 'csv' | 'json' | 'tsv' | 'txt' | 'yaml' | 'cbor' | 'smile' | 'arrow';
|
|
8944
9070
|
export interface EsqlQueryRequest extends RequestBase {
|
|
8945
9071
|
format?: EsqlQueryEsqlFormat;
|
|
@@ -8954,9 +9080,10 @@ export interface EsqlQueryRequest extends RequestBase {
|
|
|
8954
9080
|
profile?: boolean;
|
|
8955
9081
|
query: string;
|
|
8956
9082
|
tables?: Record<string, Record<string, EsqlTableValuesContainer>>;
|
|
9083
|
+
include_ccs_metadata?: boolean;
|
|
8957
9084
|
};
|
|
8958
9085
|
}
|
|
8959
|
-
export type EsqlQueryResponse =
|
|
9086
|
+
export type EsqlQueryResponse = EsqlResult;
|
|
8960
9087
|
export interface FeaturesFeature {
|
|
8961
9088
|
name: string;
|
|
8962
9089
|
description: string;
|
|
@@ -9185,7 +9312,7 @@ export interface IlmMigrateAction {
|
|
|
9185
9312
|
}
|
|
9186
9313
|
export interface IlmPhase {
|
|
9187
9314
|
actions?: IlmActions;
|
|
9188
|
-
min_age?: Duration
|
|
9315
|
+
min_age?: Duration;
|
|
9189
9316
|
}
|
|
9190
9317
|
export interface IlmPhases {
|
|
9191
9318
|
cold?: IlmPhase;
|
|
@@ -9239,7 +9366,7 @@ export interface IlmExplainLifecycleLifecycleExplainManaged {
|
|
|
9239
9366
|
age?: Duration;
|
|
9240
9367
|
failed_step?: Name;
|
|
9241
9368
|
failed_step_retry_count?: integer;
|
|
9242
|
-
index
|
|
9369
|
+
index: IndexName;
|
|
9243
9370
|
index_creation_date?: DateTime;
|
|
9244
9371
|
index_creation_date_millis?: EpochTime<UnitMillis>;
|
|
9245
9372
|
is_auto_retryable_error?: boolean;
|
|
@@ -9249,7 +9376,11 @@ export interface IlmExplainLifecycleLifecycleExplainManaged {
|
|
|
9249
9376
|
phase: Name;
|
|
9250
9377
|
phase_time?: DateTime;
|
|
9251
9378
|
phase_time_millis?: EpochTime<UnitMillis>;
|
|
9252
|
-
policy
|
|
9379
|
+
policy?: Name;
|
|
9380
|
+
previous_step_info?: Record<string, any>;
|
|
9381
|
+
repository_name?: string;
|
|
9382
|
+
snapshot_name?: string;
|
|
9383
|
+
shrink_index_name?: string;
|
|
9253
9384
|
step?: Name;
|
|
9254
9385
|
step_info?: Record<string, any>;
|
|
9255
9386
|
step_time?: DateTime;
|
|
@@ -9258,6 +9389,7 @@ export interface IlmExplainLifecycleLifecycleExplainManaged {
|
|
|
9258
9389
|
time_since_index_creation?: Duration;
|
|
9259
9390
|
}
|
|
9260
9391
|
export interface IlmExplainLifecycleLifecycleExplainPhaseExecution {
|
|
9392
|
+
phase_definition?: IlmPhase;
|
|
9261
9393
|
policy: Name;
|
|
9262
9394
|
version: VersionNumber;
|
|
9263
9395
|
modified_date_in_millis: EpochTime<UnitMillis>;
|
|
@@ -9561,6 +9693,7 @@ export interface IndicesIndexSettingsLifecycle {
|
|
|
9561
9693
|
parse_origination_date?: boolean;
|
|
9562
9694
|
step?: IndicesIndexSettingsLifecycleStep;
|
|
9563
9695
|
rollover_alias?: string;
|
|
9696
|
+
prefer_ilm?: boolean | string;
|
|
9564
9697
|
}
|
|
9565
9698
|
export interface IndicesIndexSettingsLifecycleStep {
|
|
9566
9699
|
wait_time_threshold?: Duration;
|
|
@@ -9627,7 +9760,8 @@ export interface IndicesMappingLimitSettings {
|
|
|
9627
9760
|
nested_objects?: IndicesMappingLimitSettingsNestedObjects;
|
|
9628
9761
|
field_name_length?: IndicesMappingLimitSettingsFieldNameLength;
|
|
9629
9762
|
dimension_fields?: IndicesMappingLimitSettingsDimensionFields;
|
|
9630
|
-
|
|
9763
|
+
source?: IndicesMappingLimitSettingsSourceFields;
|
|
9764
|
+
ignore_malformed?: boolean | string;
|
|
9631
9765
|
}
|
|
9632
9766
|
export interface IndicesMappingLimitSettingsDepth {
|
|
9633
9767
|
limit?: long;
|
|
@@ -9644,9 +9778,12 @@ export interface IndicesMappingLimitSettingsNestedFields {
|
|
|
9644
9778
|
export interface IndicesMappingLimitSettingsNestedObjects {
|
|
9645
9779
|
limit?: long;
|
|
9646
9780
|
}
|
|
9781
|
+
export interface IndicesMappingLimitSettingsSourceFields {
|
|
9782
|
+
mode: IndicesSourceMode;
|
|
9783
|
+
}
|
|
9647
9784
|
export interface IndicesMappingLimitSettingsTotalFields {
|
|
9648
|
-
limit?: long;
|
|
9649
|
-
ignore_dynamic_beyond_limit?: boolean;
|
|
9785
|
+
limit?: long | string;
|
|
9786
|
+
ignore_dynamic_beyond_limit?: boolean | string;
|
|
9650
9787
|
}
|
|
9651
9788
|
export interface IndicesMerge {
|
|
9652
9789
|
scheduler?: IndicesMergeScheduler;
|
|
@@ -9743,6 +9880,7 @@ export interface IndicesSoftDeletes {
|
|
|
9743
9880
|
enabled?: boolean;
|
|
9744
9881
|
retention_lease?: IndicesRetentionLease;
|
|
9745
9882
|
}
|
|
9883
|
+
export type IndicesSourceMode = 'DISABLED' | 'STORED' | 'SYNTHETIC';
|
|
9746
9884
|
export interface IndicesStorage {
|
|
9747
9885
|
type: IndicesStorageType;
|
|
9748
9886
|
allow_mmap?: boolean;
|
|
@@ -10156,6 +10294,19 @@ export interface IndicesGetDataLifecycleRequest extends RequestBase {
|
|
|
10156
10294
|
export interface IndicesGetDataLifecycleResponse {
|
|
10157
10295
|
data_streams: IndicesGetDataLifecycleDataStreamWithLifecycle[];
|
|
10158
10296
|
}
|
|
10297
|
+
export interface IndicesGetDataLifecycleStatsDataStreamStats {
|
|
10298
|
+
backing_indices_in_error: integer;
|
|
10299
|
+
backing_indices_in_total: integer;
|
|
10300
|
+
name: DataStreamName;
|
|
10301
|
+
}
|
|
10302
|
+
export interface IndicesGetDataLifecycleStatsRequest extends RequestBase {
|
|
10303
|
+
}
|
|
10304
|
+
export interface IndicesGetDataLifecycleStatsResponse {
|
|
10305
|
+
data_stream_count: integer;
|
|
10306
|
+
data_streams: IndicesGetDataLifecycleStatsDataStreamStats[];
|
|
10307
|
+
last_run_duration_in_millis?: DurationValue<UnitMillis>;
|
|
10308
|
+
time_between_starts_in_millis?: DurationValue<UnitMillis>;
|
|
10309
|
+
}
|
|
10159
10310
|
export interface IndicesGetDataStreamRequest extends RequestBase {
|
|
10160
10311
|
name?: DataStreamNames;
|
|
10161
10312
|
expand_wildcards?: ExpandWildcards;
|
|
@@ -10970,7 +11121,7 @@ export interface InferenceInferenceResult {
|
|
|
10970
11121
|
}
|
|
10971
11122
|
export interface InferenceRankedDocument {
|
|
10972
11123
|
index: integer;
|
|
10973
|
-
|
|
11124
|
+
relevance_score: float;
|
|
10974
11125
|
text?: string;
|
|
10975
11126
|
}
|
|
10976
11127
|
export type InferenceServiceSettings = any;
|
|
@@ -11019,6 +11170,22 @@ export interface InferencePutRequest extends RequestBase {
|
|
|
11019
11170
|
body?: InferenceInferenceEndpoint;
|
|
11020
11171
|
}
|
|
11021
11172
|
export type InferencePutResponse = InferenceInferenceEndpointInfo;
|
|
11173
|
+
export interface InferenceStreamInferenceRequest extends RequestBase {
|
|
11174
|
+
inference_id: Id;
|
|
11175
|
+
task_type?: InferenceTaskType;
|
|
11176
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
11177
|
+
body?: {
|
|
11178
|
+
input: string | string[];
|
|
11179
|
+
};
|
|
11180
|
+
}
|
|
11181
|
+
export type InferenceStreamInferenceResponse = StreamResult;
|
|
11182
|
+
export interface InferenceUpdateRequest extends RequestBase {
|
|
11183
|
+
inference_id: Id;
|
|
11184
|
+
task_type?: InferenceTaskType;
|
|
11185
|
+
/** @deprecated The use of the 'body' key has been deprecated, use 'inference_config' instead. */
|
|
11186
|
+
body?: InferenceInferenceEndpoint;
|
|
11187
|
+
}
|
|
11188
|
+
export type InferenceUpdateResponse = InferenceInferenceEndpointInfo;
|
|
11022
11189
|
export interface IngestAppendProcessor extends IngestProcessorBase {
|
|
11023
11190
|
field: Field;
|
|
11024
11191
|
value: any | any[];
|
|
@@ -11110,6 +11277,23 @@ export interface IngestDissectProcessor extends IngestProcessorBase {
|
|
|
11110
11277
|
ignore_missing?: boolean;
|
|
11111
11278
|
pattern: string;
|
|
11112
11279
|
}
|
|
11280
|
+
export interface IngestDocument {
|
|
11281
|
+
_id?: Id;
|
|
11282
|
+
_index?: IndexName;
|
|
11283
|
+
_source: any;
|
|
11284
|
+
}
|
|
11285
|
+
export interface IngestDocumentSimulationKeys {
|
|
11286
|
+
_id: Id;
|
|
11287
|
+
_index: IndexName;
|
|
11288
|
+
_ingest: IngestIngest;
|
|
11289
|
+
_routing?: string;
|
|
11290
|
+
_source: Record<string, any>;
|
|
11291
|
+
_version?: SpecUtilsStringified<VersionNumber>;
|
|
11292
|
+
_version_type?: VersionType;
|
|
11293
|
+
}
|
|
11294
|
+
export type IngestDocumentSimulation = IngestDocumentSimulationKeys & {
|
|
11295
|
+
[property: string]: string | Id | IndexName | IngestIngest | Record<string, any> | SpecUtilsStringified<VersionNumber> | VersionType;
|
|
11296
|
+
};
|
|
11113
11297
|
export interface IngestDotExpanderProcessor extends IngestProcessorBase {
|
|
11114
11298
|
field: Field;
|
|
11115
11299
|
override?: boolean;
|
|
@@ -11205,6 +11389,11 @@ export interface IngestInferenceProcessor extends IngestProcessorBase {
|
|
|
11205
11389
|
field_map?: Record<Field, any>;
|
|
11206
11390
|
inference_config?: IngestInferenceConfig;
|
|
11207
11391
|
}
|
|
11392
|
+
export interface IngestIngest {
|
|
11393
|
+
_redact?: IngestRedact;
|
|
11394
|
+
timestamp: DateTime;
|
|
11395
|
+
pipeline?: Name;
|
|
11396
|
+
}
|
|
11208
11397
|
export interface IngestIpLocationProcessor extends IngestProcessorBase {
|
|
11209
11398
|
database_file?: string;
|
|
11210
11399
|
field: Field;
|
|
@@ -11278,6 +11467,15 @@ export interface IngestPipelineProcessor extends IngestProcessorBase {
|
|
|
11278
11467
|
name: Name;
|
|
11279
11468
|
ignore_missing_pipeline?: boolean;
|
|
11280
11469
|
}
|
|
11470
|
+
export interface IngestPipelineSimulation {
|
|
11471
|
+
doc?: IngestDocumentSimulation;
|
|
11472
|
+
tag?: string;
|
|
11473
|
+
processor_type?: string;
|
|
11474
|
+
status?: WatcherActionStatusOptions;
|
|
11475
|
+
description?: string;
|
|
11476
|
+
ignored_error?: ErrorCause;
|
|
11477
|
+
error?: ErrorCause;
|
|
11478
|
+
}
|
|
11281
11479
|
export interface IngestProcessorBase {
|
|
11282
11480
|
description?: string;
|
|
11283
11481
|
if?: string;
|
|
@@ -11332,6 +11530,9 @@ export interface IngestProcessorContainer {
|
|
|
11332
11530
|
uri_parts?: IngestUriPartsProcessor;
|
|
11333
11531
|
user_agent?: IngestUserAgentProcessor;
|
|
11334
11532
|
}
|
|
11533
|
+
export interface IngestRedact {
|
|
11534
|
+
_is_redacted: boolean;
|
|
11535
|
+
}
|
|
11335
11536
|
export interface IngestRedactProcessor extends IngestProcessorBase {
|
|
11336
11537
|
field: Field;
|
|
11337
11538
|
patterns: GrokPattern[];
|
|
@@ -11381,6 +11582,11 @@ export interface IngestSetSecurityUserProcessor extends IngestProcessorBase {
|
|
|
11381
11582
|
properties?: string[];
|
|
11382
11583
|
}
|
|
11383
11584
|
export type IngestShapeType = 'geo_shape' | 'shape';
|
|
11585
|
+
export interface IngestSimulateDocumentResult {
|
|
11586
|
+
doc?: IngestDocumentSimulation;
|
|
11587
|
+
error?: ErrorCause;
|
|
11588
|
+
processor_results?: IngestPipelineSimulation[];
|
|
11589
|
+
}
|
|
11384
11590
|
export interface IngestSortProcessor extends IngestProcessorBase {
|
|
11385
11591
|
field: Field;
|
|
11386
11592
|
order?: SortOrder;
|
|
@@ -11540,56 +11746,17 @@ export interface IngestPutPipelineRequest extends RequestBase {
|
|
|
11540
11746
|
};
|
|
11541
11747
|
}
|
|
11542
11748
|
export type IngestPutPipelineResponse = AcknowledgedResponseBase;
|
|
11543
|
-
export interface IngestSimulateDocument {
|
|
11544
|
-
_id?: Id;
|
|
11545
|
-
_index?: IndexName;
|
|
11546
|
-
_source: any;
|
|
11547
|
-
}
|
|
11548
|
-
export interface IngestSimulateDocumentSimulationKeys {
|
|
11549
|
-
_id: Id;
|
|
11550
|
-
_index: IndexName;
|
|
11551
|
-
_ingest: IngestSimulateIngest;
|
|
11552
|
-
_routing?: string;
|
|
11553
|
-
_source: Record<string, any>;
|
|
11554
|
-
_version?: SpecUtilsStringified<VersionNumber>;
|
|
11555
|
-
_version_type?: VersionType;
|
|
11556
|
-
}
|
|
11557
|
-
export type IngestSimulateDocumentSimulation = IngestSimulateDocumentSimulationKeys & {
|
|
11558
|
-
[property: string]: string | Id | IndexName | IngestSimulateIngest | Record<string, any> | SpecUtilsStringified<VersionNumber> | VersionType;
|
|
11559
|
-
};
|
|
11560
|
-
export interface IngestSimulateIngest {
|
|
11561
|
-
_redact?: IngestSimulateRedact;
|
|
11562
|
-
timestamp: DateTime;
|
|
11563
|
-
pipeline?: Name;
|
|
11564
|
-
}
|
|
11565
|
-
export interface IngestSimulatePipelineSimulation {
|
|
11566
|
-
doc?: IngestSimulateDocumentSimulation;
|
|
11567
|
-
tag?: string;
|
|
11568
|
-
processor_type?: string;
|
|
11569
|
-
status?: WatcherActionStatusOptions;
|
|
11570
|
-
description?: string;
|
|
11571
|
-
ignored_error?: ErrorCause;
|
|
11572
|
-
error?: ErrorCause;
|
|
11573
|
-
}
|
|
11574
|
-
export interface IngestSimulateRedact {
|
|
11575
|
-
_is_redacted: boolean;
|
|
11576
|
-
}
|
|
11577
11749
|
export interface IngestSimulateRequest extends RequestBase {
|
|
11578
11750
|
id?: Id;
|
|
11579
11751
|
verbose?: boolean;
|
|
11580
11752
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
11581
11753
|
body?: {
|
|
11582
|
-
docs:
|
|
11754
|
+
docs: IngestDocument[];
|
|
11583
11755
|
pipeline?: IngestPipeline;
|
|
11584
11756
|
};
|
|
11585
11757
|
}
|
|
11586
11758
|
export interface IngestSimulateResponse {
|
|
11587
|
-
docs:
|
|
11588
|
-
}
|
|
11589
|
-
export interface IngestSimulateSimulateDocumentResult {
|
|
11590
|
-
doc?: IngestSimulateDocumentSimulation;
|
|
11591
|
-
error?: ErrorCause;
|
|
11592
|
-
processor_results?: IngestSimulatePipelineSimulation[];
|
|
11759
|
+
docs: IngestSimulateDocumentResult[];
|
|
11593
11760
|
}
|
|
11594
11761
|
export interface LicenseLicense {
|
|
11595
11762
|
expiry_date_in_millis: EpochTime<UnitMillis>;
|
|
@@ -11679,10 +11846,10 @@ export interface LicensePostStartTrialResponse {
|
|
|
11679
11846
|
export interface LogstashPipeline {
|
|
11680
11847
|
description: string;
|
|
11681
11848
|
last_modified: DateTime;
|
|
11682
|
-
pipeline_metadata: LogstashPipelineMetadata;
|
|
11683
|
-
username: string;
|
|
11684
11849
|
pipeline: string;
|
|
11850
|
+
pipeline_metadata: LogstashPipelineMetadata;
|
|
11685
11851
|
pipeline_settings: LogstashPipelineSettings;
|
|
11852
|
+
username: string;
|
|
11686
11853
|
}
|
|
11687
11854
|
export interface LogstashPipelineMetadata {
|
|
11688
11855
|
type: string;
|
|
@@ -11726,6 +11893,7 @@ export interface MigrationDeprecationsRequest extends RequestBase {
|
|
|
11726
11893
|
export interface MigrationDeprecationsResponse {
|
|
11727
11894
|
cluster_settings: MigrationDeprecationsDeprecation[];
|
|
11728
11895
|
index_settings: Record<string, MigrationDeprecationsDeprecation[]>;
|
|
11896
|
+
data_streams: Record<string, MigrationDeprecationsDeprecation[]>;
|
|
11729
11897
|
node_settings: MigrationDeprecationsDeprecation[];
|
|
11730
11898
|
ml_settings: MigrationDeprecationsDeprecation[];
|
|
11731
11899
|
}
|
|
@@ -15142,6 +15310,7 @@ export interface SearchApplicationAnalyticsCollection {
|
|
|
15142
15310
|
export interface SearchApplicationEventDataStream {
|
|
15143
15311
|
name: IndexName;
|
|
15144
15312
|
}
|
|
15313
|
+
export type SearchApplicationEventType = 'page_view' | 'search' | 'search_click';
|
|
15145
15314
|
export interface SearchApplicationSearchApplication {
|
|
15146
15315
|
name: Name;
|
|
15147
15316
|
indices: IndexName[];
|
|
@@ -15183,6 +15352,17 @@ export interface SearchApplicationListSearchApplicationListItem {
|
|
|
15183
15352
|
updated_at_millis: EpochTime<UnitMillis>;
|
|
15184
15353
|
analytics_collection_name?: Name;
|
|
15185
15354
|
}
|
|
15355
|
+
export interface SearchApplicationPostBehavioralAnalyticsEventRequest extends RequestBase {
|
|
15356
|
+
collection_name: Name;
|
|
15357
|
+
event_type: SearchApplicationEventType;
|
|
15358
|
+
debug?: boolean;
|
|
15359
|
+
/** @deprecated The use of the 'body' key has been deprecated, use 'payload' instead. */
|
|
15360
|
+
body?: any;
|
|
15361
|
+
}
|
|
15362
|
+
export interface SearchApplicationPostBehavioralAnalyticsEventResponse {
|
|
15363
|
+
accepted: boolean;
|
|
15364
|
+
event?: any;
|
|
15365
|
+
}
|
|
15186
15366
|
export interface SearchApplicationPutRequest extends RequestBase {
|
|
15187
15367
|
name: Name;
|
|
15188
15368
|
create?: boolean;
|
|
@@ -15199,6 +15379,15 @@ export interface SearchApplicationPutBehavioralAnalyticsRequest extends RequestB
|
|
|
15199
15379
|
name: Name;
|
|
15200
15380
|
}
|
|
15201
15381
|
export type SearchApplicationPutBehavioralAnalyticsResponse = SearchApplicationPutBehavioralAnalyticsAnalyticsAcknowledgeResponseBase;
|
|
15382
|
+
export interface SearchApplicationRenderQueryRequest extends RequestBase {
|
|
15383
|
+
name: Name;
|
|
15384
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
15385
|
+
body?: {
|
|
15386
|
+
params?: Record<string, any>;
|
|
15387
|
+
};
|
|
15388
|
+
}
|
|
15389
|
+
export interface SearchApplicationRenderQueryResponse {
|
|
15390
|
+
}
|
|
15202
15391
|
export interface SearchApplicationSearchRequest extends RequestBase {
|
|
15203
15392
|
name: Name;
|
|
15204
15393
|
typed_keys?: boolean;
|
|
@@ -15306,7 +15495,7 @@ export interface SecurityBulkError {
|
|
|
15306
15495
|
export interface SecurityClusterNode {
|
|
15307
15496
|
name: Name;
|
|
15308
15497
|
}
|
|
15309
|
-
export type SecurityClusterPrivilege = 'all' | 'cancel_task' | 'create_snapshot' | 'cross_cluster_replication' | 'cross_cluster_search' | 'delegate_pki' | 'grant_api_key' | 'manage' | 'manage_api_key' | 'manage_autoscaling' | 'manage_behavioral_analytics' | 'manage_ccr' | 'manage_data_frame_transforms' | 'manage_data_stream_global_retention' | 'manage_enrich' | 'manage_ilm' | 'manage_index_templates' | 'manage_inference' | 'manage_ingest_pipelines' | 'manage_logstash_pipelines' | 'manage_ml' | 'manage_oidc' | 'manage_own_api_key' | 'manage_pipeline' | 'manage_rollup' | 'manage_saml' | 'manage_search_application' | 'manage_search_query_rules' | 'manage_search_synonyms' | 'manage_security' | 'manage_service_account' | 'manage_slm' | 'manage_token' | 'manage_transform' | 'manage_user_profile' | 'manage_watcher' | 'monitor' | 'monitor_data_frame_transforms' | 'monitor_data_stream_global_retention' | 'monitor_enrich' | 'monitor_inference' | 'monitor_ml' | 'monitor_rollup' | 'monitor_snapshot' | 'monitor_text_structure' | 'monitor_transform' | 'monitor_watcher' | 'none' | 'post_behavioral_analytics_event' | 'read_ccr' | 'read_fleet_secrets' | 'read_ilm' | 'read_pipeline' | 'read_security' | 'read_slm' | 'transport_client' | 'write_connector_secrets' | 'write_fleet_secrets' | string;
|
|
15498
|
+
export type SecurityClusterPrivilege = 'all' | 'cancel_task' | 'create_snapshot' | 'cross_cluster_replication' | 'cross_cluster_search' | 'delegate_pki' | 'grant_api_key' | 'manage' | 'manage_api_key' | 'manage_autoscaling' | 'manage_behavioral_analytics' | 'manage_ccr' | 'manage_data_frame_transforms' | 'manage_data_stream_global_retention' | 'manage_enrich' | 'manage_ilm' | 'manage_index_templates' | 'manage_inference' | 'manage_ingest_pipelines' | 'manage_logstash_pipelines' | 'manage_ml' | 'manage_oidc' | 'manage_own_api_key' | 'manage_pipeline' | 'manage_rollup' | 'manage_saml' | 'manage_search_application' | 'manage_search_query_rules' | 'manage_search_synonyms' | 'manage_security' | 'manage_service_account' | 'manage_slm' | 'manage_token' | 'manage_transform' | 'manage_user_profile' | 'manage_watcher' | 'monitor' | 'monitor_data_frame_transforms' | 'monitor_data_stream_global_retention' | 'monitor_enrich' | 'monitor_inference' | 'monitor_ml' | 'monitor_rollup' | 'monitor_snapshot' | 'monitor_stats' | 'monitor_text_structure' | 'monitor_transform' | 'monitor_watcher' | 'none' | 'post_behavioral_analytics_event' | 'read_ccr' | 'read_fleet_secrets' | 'read_ilm' | 'read_pipeline' | 'read_security' | 'read_slm' | 'transport_client' | 'write_connector_secrets' | 'write_fleet_secrets' | string;
|
|
15310
15499
|
export interface SecurityCreatedStatus {
|
|
15311
15500
|
created: boolean;
|
|
15312
15501
|
}
|
|
@@ -15326,7 +15515,7 @@ export type SecurityGrantType = 'password' | 'access_token';
|
|
|
15326
15515
|
export type SecurityIndexPrivilege = 'all' | 'auto_configure' | 'create' | 'create_doc' | 'create_index' | 'cross_cluster_replication' | 'cross_cluster_replication_internal' | 'delete' | 'delete_index' | 'index' | 'maintenance' | 'manage' | 'manage_data_stream_lifecycle' | 'manage_follow_index' | 'manage_ilm' | 'manage_leader_index' | 'monitor' | 'none' | 'read' | 'read_cross_cluster' | 'view_index_metadata' | 'write' | string;
|
|
15327
15516
|
export interface SecurityIndicesPrivileges {
|
|
15328
15517
|
field_security?: SecurityFieldSecurity;
|
|
15329
|
-
names:
|
|
15518
|
+
names: IndexName | IndexName[];
|
|
15330
15519
|
privileges: SecurityIndexPrivilege[];
|
|
15331
15520
|
query?: SecurityIndicesPrivilegesQuery;
|
|
15332
15521
|
allow_restricted_indices?: boolean;
|
|
@@ -15339,38 +15528,53 @@ export interface SecurityRealmInfo {
|
|
|
15339
15528
|
name: Name;
|
|
15340
15529
|
type: string;
|
|
15341
15530
|
}
|
|
15531
|
+
export type SecurityRemoteClusterPrivilege = 'monitor_enrich' | 'monitor_stats';
|
|
15532
|
+
export interface SecurityRemoteClusterPrivileges {
|
|
15533
|
+
clusters: Names;
|
|
15534
|
+
privileges: SecurityRemoteClusterPrivilege[];
|
|
15535
|
+
}
|
|
15342
15536
|
export interface SecurityRemoteIndicesPrivileges {
|
|
15343
15537
|
clusters: Names;
|
|
15344
15538
|
field_security?: SecurityFieldSecurity;
|
|
15345
|
-
names:
|
|
15539
|
+
names: IndexName | IndexName[];
|
|
15346
15540
|
privileges: SecurityIndexPrivilege[];
|
|
15347
15541
|
query?: SecurityIndicesPrivilegesQuery;
|
|
15348
15542
|
allow_restricted_indices?: boolean;
|
|
15349
15543
|
}
|
|
15350
15544
|
export interface SecurityReplicationAccess {
|
|
15351
|
-
names: IndexName[];
|
|
15545
|
+
names: IndexName | IndexName[];
|
|
15352
15546
|
allow_restricted_indices?: boolean;
|
|
15353
15547
|
}
|
|
15548
|
+
export interface SecurityRestriction {
|
|
15549
|
+
workflows: SecurityRestrictionWorkflow[];
|
|
15550
|
+
}
|
|
15551
|
+
export type SecurityRestrictionWorkflow = 'search_application_query' | string;
|
|
15354
15552
|
export interface SecurityRoleDescriptor {
|
|
15355
15553
|
cluster?: SecurityClusterPrivilege[];
|
|
15356
15554
|
indices?: SecurityIndicesPrivileges[];
|
|
15357
15555
|
index?: SecurityIndicesPrivileges[];
|
|
15556
|
+
remote_indices?: SecurityRemoteIndicesPrivileges[];
|
|
15557
|
+
remote_cluster?: SecurityRemoteClusterPrivileges[];
|
|
15358
15558
|
global?: SecurityGlobalPrivilege[] | SecurityGlobalPrivilege;
|
|
15359
15559
|
applications?: SecurityApplicationPrivileges[];
|
|
15360
15560
|
metadata?: Metadata;
|
|
15361
15561
|
run_as?: string[];
|
|
15362
15562
|
description?: string;
|
|
15563
|
+
restriction?: SecurityRestriction;
|
|
15363
15564
|
transient_metadata?: Record<string, any>;
|
|
15364
15565
|
}
|
|
15365
15566
|
export interface SecurityRoleDescriptorRead {
|
|
15366
15567
|
cluster: SecurityClusterPrivilege[];
|
|
15367
15568
|
indices: SecurityIndicesPrivileges[];
|
|
15368
15569
|
index: SecurityIndicesPrivileges[];
|
|
15570
|
+
remote_indices?: SecurityRemoteIndicesPrivileges[];
|
|
15571
|
+
remote_cluster?: SecurityRemoteClusterPrivileges[];
|
|
15369
15572
|
global?: SecurityGlobalPrivilege[] | SecurityGlobalPrivilege;
|
|
15370
15573
|
applications?: SecurityApplicationPrivileges[];
|
|
15371
15574
|
metadata?: Metadata;
|
|
15372
15575
|
run_as?: string[];
|
|
15373
15576
|
description?: string;
|
|
15577
|
+
restriction?: SecurityRestriction;
|
|
15374
15578
|
transient_metadata?: Record<string, any>;
|
|
15375
15579
|
}
|
|
15376
15580
|
export interface SecurityRoleMapping {
|
|
@@ -15403,10 +15607,13 @@ export interface SecurityRoleTemplateScript {
|
|
|
15403
15607
|
}
|
|
15404
15608
|
export interface SecuritySearchAccess {
|
|
15405
15609
|
field_security?: SecurityFieldSecurity;
|
|
15406
|
-
names: IndexName[];
|
|
15610
|
+
names: IndexName | IndexName[];
|
|
15407
15611
|
query?: SecurityIndicesPrivilegesQuery;
|
|
15408
15612
|
allow_restricted_indices?: boolean;
|
|
15409
15613
|
}
|
|
15614
|
+
export interface SecuritySecuritySettings {
|
|
15615
|
+
index?: IndicesIndexSettings;
|
|
15616
|
+
}
|
|
15410
15617
|
export type SecurityTemplateFormat = 'string' | 'json';
|
|
15411
15618
|
export interface SecurityUser {
|
|
15412
15619
|
email?: string | null;
|
|
@@ -15419,7 +15626,7 @@ export interface SecurityUser {
|
|
|
15419
15626
|
}
|
|
15420
15627
|
export interface SecurityUserIndicesPrivileges {
|
|
15421
15628
|
field_security?: SecurityFieldSecurity[];
|
|
15422
|
-
names:
|
|
15629
|
+
names: IndexName | IndexName[];
|
|
15423
15630
|
privileges: SecurityIndexPrivilege[];
|
|
15424
15631
|
query?: SecurityIndicesPrivilegesQuery[];
|
|
15425
15632
|
allow_restricted_indices: boolean;
|
|
@@ -15506,6 +15713,20 @@ export interface SecurityBulkPutRoleResponse {
|
|
|
15506
15713
|
noop?: string[];
|
|
15507
15714
|
errors?: SecurityBulkError;
|
|
15508
15715
|
}
|
|
15716
|
+
export interface SecurityBulkUpdateApiKeysRequest extends RequestBase {
|
|
15717
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
15718
|
+
body?: {
|
|
15719
|
+
expiration?: Duration;
|
|
15720
|
+
ids: string | string[];
|
|
15721
|
+
metadata?: Metadata;
|
|
15722
|
+
role_descriptors?: Record<string, SecurityRoleDescriptor>;
|
|
15723
|
+
};
|
|
15724
|
+
}
|
|
15725
|
+
export interface SecurityBulkUpdateApiKeysResponse {
|
|
15726
|
+
errors?: SecurityBulkError;
|
|
15727
|
+
noops: string[];
|
|
15728
|
+
updated: string[];
|
|
15729
|
+
}
|
|
15509
15730
|
export interface SecurityChangePasswordRequest extends RequestBase {
|
|
15510
15731
|
username?: Username;
|
|
15511
15732
|
refresh?: Refresh;
|
|
@@ -15607,6 +15828,36 @@ export interface SecurityCreateServiceTokenToken {
|
|
|
15607
15828
|
name: Name;
|
|
15608
15829
|
value: string;
|
|
15609
15830
|
}
|
|
15831
|
+
export interface SecurityDelegatePkiAuthentication {
|
|
15832
|
+
username: string;
|
|
15833
|
+
roles: string[];
|
|
15834
|
+
full_name: string | null;
|
|
15835
|
+
email: string | null;
|
|
15836
|
+
token?: Record<string, string>;
|
|
15837
|
+
metadata: Metadata;
|
|
15838
|
+
enabled: boolean;
|
|
15839
|
+
authentication_realm: SecurityDelegatePkiAuthenticationRealm;
|
|
15840
|
+
lookup_realm: SecurityDelegatePkiAuthenticationRealm;
|
|
15841
|
+
authentication_type: string;
|
|
15842
|
+
api_key?: Record<string, string>;
|
|
15843
|
+
}
|
|
15844
|
+
export interface SecurityDelegatePkiAuthenticationRealm {
|
|
15845
|
+
name: string;
|
|
15846
|
+
type: string;
|
|
15847
|
+
domain?: string;
|
|
15848
|
+
}
|
|
15849
|
+
export interface SecurityDelegatePkiRequest extends RequestBase {
|
|
15850
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
15851
|
+
body?: {
|
|
15852
|
+
x509_certificate_chain: string[];
|
|
15853
|
+
};
|
|
15854
|
+
}
|
|
15855
|
+
export interface SecurityDelegatePkiResponse {
|
|
15856
|
+
access_token: string;
|
|
15857
|
+
expires_in: long;
|
|
15858
|
+
type: string;
|
|
15859
|
+
authentication?: SecurityDelegatePkiAuthentication;
|
|
15860
|
+
}
|
|
15610
15861
|
export interface SecurityDeletePrivilegesFoundStatus {
|
|
15611
15862
|
found: boolean;
|
|
15612
15863
|
}
|
|
@@ -15704,8 +15955,9 @@ export interface SecurityGetApiKeyResponse {
|
|
|
15704
15955
|
export interface SecurityGetBuiltinPrivilegesRequest extends RequestBase {
|
|
15705
15956
|
}
|
|
15706
15957
|
export interface SecurityGetBuiltinPrivilegesResponse {
|
|
15707
|
-
cluster:
|
|
15958
|
+
cluster: SecurityClusterPrivilege[];
|
|
15708
15959
|
index: Indices;
|
|
15960
|
+
remote_cluster: SecurityRemoteClusterPrivilege[];
|
|
15709
15961
|
}
|
|
15710
15962
|
export interface SecurityGetPrivilegesRequest extends RequestBase {
|
|
15711
15963
|
application?: Name;
|
|
@@ -15717,8 +15969,10 @@ export interface SecurityGetRoleRequest extends RequestBase {
|
|
|
15717
15969
|
}
|
|
15718
15970
|
export type SecurityGetRoleResponse = Record<string, SecurityGetRoleRole>;
|
|
15719
15971
|
export interface SecurityGetRoleRole {
|
|
15720
|
-
cluster:
|
|
15972
|
+
cluster: SecurityClusterPrivilege[];
|
|
15721
15973
|
indices: SecurityIndicesPrivileges[];
|
|
15974
|
+
remote_indices?: SecurityRemoteIndicesPrivileges[];
|
|
15975
|
+
remote_cluster?: SecurityRemoteClusterPrivileges[];
|
|
15722
15976
|
metadata: Metadata;
|
|
15723
15977
|
run_as: string[];
|
|
15724
15978
|
transient_metadata?: Record<string, any>;
|
|
@@ -15755,6 +16009,14 @@ export interface SecurityGetServiceCredentialsResponse {
|
|
|
15755
16009
|
tokens: Record<string, Metadata>;
|
|
15756
16010
|
nodes_credentials: SecurityGetServiceCredentialsNodesCredentials;
|
|
15757
16011
|
}
|
|
16012
|
+
export interface SecurityGetSettingsRequest extends RequestBase {
|
|
16013
|
+
master_timeout?: Duration;
|
|
16014
|
+
}
|
|
16015
|
+
export interface SecurityGetSettingsResponse {
|
|
16016
|
+
security: SecuritySecuritySettings;
|
|
16017
|
+
'security-profile': SecuritySecuritySettings;
|
|
16018
|
+
'security-tokens': SecuritySecuritySettings;
|
|
16019
|
+
}
|
|
15758
16020
|
export type SecurityGetTokenAccessTokenGrantType = 'password' | 'client_credentials' | '_kerberos' | 'refresh_token';
|
|
15759
16021
|
export interface SecurityGetTokenAuthenticatedUser extends SecurityUser {
|
|
15760
16022
|
authentication_realm: SecurityGetTokenUserRealm;
|
|
@@ -15925,6 +16187,47 @@ export interface SecurityInvalidateTokenResponse {
|
|
|
15925
16187
|
invalidated_tokens: long;
|
|
15926
16188
|
previously_invalidated_tokens: long;
|
|
15927
16189
|
}
|
|
16190
|
+
export interface SecurityOidcAuthenticateRequest extends RequestBase {
|
|
16191
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
16192
|
+
body?: {
|
|
16193
|
+
nonce: string;
|
|
16194
|
+
realm?: string;
|
|
16195
|
+
redirect_uri: string;
|
|
16196
|
+
state: string;
|
|
16197
|
+
};
|
|
16198
|
+
}
|
|
16199
|
+
export interface SecurityOidcAuthenticateResponse {
|
|
16200
|
+
access_token: string;
|
|
16201
|
+
expires_in: integer;
|
|
16202
|
+
refresh_token: string;
|
|
16203
|
+
type: string;
|
|
16204
|
+
}
|
|
16205
|
+
export interface SecurityOidcLogoutRequest extends RequestBase {
|
|
16206
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
16207
|
+
body?: {
|
|
16208
|
+
access_token: string;
|
|
16209
|
+
refresh_token?: string;
|
|
16210
|
+
};
|
|
16211
|
+
}
|
|
16212
|
+
export interface SecurityOidcLogoutResponse {
|
|
16213
|
+
redirect: string;
|
|
16214
|
+
}
|
|
16215
|
+
export interface SecurityOidcPrepareAuthenticationRequest extends RequestBase {
|
|
16216
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
16217
|
+
body?: {
|
|
16218
|
+
iss?: string;
|
|
16219
|
+
login_hint?: string;
|
|
16220
|
+
nonce?: string;
|
|
16221
|
+
realm?: string;
|
|
16222
|
+
state?: string;
|
|
16223
|
+
};
|
|
16224
|
+
}
|
|
16225
|
+
export interface SecurityOidcPrepareAuthenticationResponse {
|
|
16226
|
+
nonce: string;
|
|
16227
|
+
realm: string;
|
|
16228
|
+
redirect: string;
|
|
16229
|
+
state: string;
|
|
16230
|
+
}
|
|
15928
16231
|
export interface SecurityPutPrivilegesActions {
|
|
15929
16232
|
actions: string[];
|
|
15930
16233
|
application?: string;
|
|
@@ -15947,6 +16250,7 @@ export interface SecurityPutRoleRequest extends RequestBase {
|
|
|
15947
16250
|
global?: Record<string, any>;
|
|
15948
16251
|
indices?: SecurityIndicesPrivileges[];
|
|
15949
16252
|
remote_indices?: SecurityRemoteIndicesPrivileges[];
|
|
16253
|
+
remote_cluster?: SecurityRemoteClusterPrivileges[];
|
|
15950
16254
|
metadata?: Metadata;
|
|
15951
16255
|
run_as?: string[];
|
|
15952
16256
|
description?: string;
|
|
@@ -16224,6 +16528,19 @@ export interface SecurityUpdateCrossClusterApiKeyRequest extends RequestBase {
|
|
|
16224
16528
|
export interface SecurityUpdateCrossClusterApiKeyResponse {
|
|
16225
16529
|
updated: boolean;
|
|
16226
16530
|
}
|
|
16531
|
+
export interface SecurityUpdateSettingsRequest extends RequestBase {
|
|
16532
|
+
master_timeout?: Duration;
|
|
16533
|
+
timeout?: Duration;
|
|
16534
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
16535
|
+
body?: {
|
|
16536
|
+
security?: SecuritySecuritySettings;
|
|
16537
|
+
'security-profile'?: SecuritySecuritySettings;
|
|
16538
|
+
'security-tokens'?: SecuritySecuritySettings;
|
|
16539
|
+
};
|
|
16540
|
+
}
|
|
16541
|
+
export interface SecurityUpdateSettingsResponse {
|
|
16542
|
+
acknowledged: boolean;
|
|
16543
|
+
}
|
|
16227
16544
|
export interface SecurityUpdateUserProfileDataRequest extends RequestBase {
|
|
16228
16545
|
uid: SecurityUserProfileId;
|
|
16229
16546
|
if_seq_no?: SequenceNumber;
|
|
@@ -16285,6 +16602,36 @@ export interface ShutdownPutNodeRequest extends RequestBase {
|
|
|
16285
16602
|
};
|
|
16286
16603
|
}
|
|
16287
16604
|
export type ShutdownPutNodeResponse = AcknowledgedResponseBase;
|
|
16605
|
+
export interface SimulateIngestIngestDocumentSimulationKeys {
|
|
16606
|
+
_id: Id;
|
|
16607
|
+
_index: IndexName;
|
|
16608
|
+
_source: Record<string, any>;
|
|
16609
|
+
_version: SpecUtilsStringified<VersionNumber>;
|
|
16610
|
+
executed_pipelines: string[];
|
|
16611
|
+
ignored_fields?: Record<string, string>[];
|
|
16612
|
+
error?: ErrorCause;
|
|
16613
|
+
}
|
|
16614
|
+
export type SimulateIngestIngestDocumentSimulation = SimulateIngestIngestDocumentSimulationKeys & {
|
|
16615
|
+
[property: string]: string | Id | IndexName | Record<string, any> | SpecUtilsStringified<VersionNumber> | string[] | Record<string, string>[] | ErrorCause;
|
|
16616
|
+
};
|
|
16617
|
+
export interface SimulateIngestRequest extends RequestBase {
|
|
16618
|
+
index?: IndexName;
|
|
16619
|
+
pipeline?: PipelineName;
|
|
16620
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
16621
|
+
body?: {
|
|
16622
|
+
docs: IngestDocument[];
|
|
16623
|
+
component_template_substitutions?: Record<string, ClusterComponentTemplateNode>;
|
|
16624
|
+
index_template_subtitutions?: Record<string, IndicesIndexTemplate>;
|
|
16625
|
+
mapping_addition?: MappingTypeMapping;
|
|
16626
|
+
pipeline_substitutions?: Record<string, IngestPipeline>;
|
|
16627
|
+
};
|
|
16628
|
+
}
|
|
16629
|
+
export interface SimulateIngestResponse {
|
|
16630
|
+
docs: SimulateIngestSimulateIngestDocumentResult[];
|
|
16631
|
+
}
|
|
16632
|
+
export interface SimulateIngestSimulateIngestDocumentResult {
|
|
16633
|
+
doc?: SimulateIngestIngestDocumentSimulation;
|
|
16634
|
+
}
|
|
16288
16635
|
export interface SlmConfiguration {
|
|
16289
16636
|
ignore_unavailable?: boolean;
|
|
16290
16637
|
indices?: Indices;
|
|
@@ -16345,22 +16692,32 @@ export interface SlmStatistics {
|
|
|
16345
16692
|
}
|
|
16346
16693
|
export interface SlmDeleteLifecycleRequest extends RequestBase {
|
|
16347
16694
|
policy_id: Name;
|
|
16695
|
+
master_timeout?: Duration;
|
|
16696
|
+
timeout?: Duration;
|
|
16348
16697
|
}
|
|
16349
16698
|
export type SlmDeleteLifecycleResponse = AcknowledgedResponseBase;
|
|
16350
16699
|
export interface SlmExecuteLifecycleRequest extends RequestBase {
|
|
16351
16700
|
policy_id: Name;
|
|
16701
|
+
master_timeout?: Duration;
|
|
16702
|
+
timeout?: Duration;
|
|
16352
16703
|
}
|
|
16353
16704
|
export interface SlmExecuteLifecycleResponse {
|
|
16354
16705
|
snapshot_name: Name;
|
|
16355
16706
|
}
|
|
16356
16707
|
export interface SlmExecuteRetentionRequest extends RequestBase {
|
|
16708
|
+
master_timeout?: Duration;
|
|
16709
|
+
timeout?: Duration;
|
|
16357
16710
|
}
|
|
16358
16711
|
export type SlmExecuteRetentionResponse = AcknowledgedResponseBase;
|
|
16359
16712
|
export interface SlmGetLifecycleRequest extends RequestBase {
|
|
16360
16713
|
policy_id?: Names;
|
|
16714
|
+
master_timeout?: Duration;
|
|
16715
|
+
timeout?: Duration;
|
|
16361
16716
|
}
|
|
16362
16717
|
export type SlmGetLifecycleResponse = Record<Id, SlmSnapshotLifecycle>;
|
|
16363
16718
|
export interface SlmGetStatsRequest extends RequestBase {
|
|
16719
|
+
master_timeout?: Duration;
|
|
16720
|
+
timeout?: Duration;
|
|
16364
16721
|
}
|
|
16365
16722
|
export interface SlmGetStatsResponse {
|
|
16366
16723
|
retention_deletion_time: Duration;
|
|
@@ -16375,6 +16732,8 @@ export interface SlmGetStatsResponse {
|
|
|
16375
16732
|
policy_stats: string[];
|
|
16376
16733
|
}
|
|
16377
16734
|
export interface SlmGetStatusRequest extends RequestBase {
|
|
16735
|
+
master_timeout?: Duration;
|
|
16736
|
+
timeout?: Duration;
|
|
16378
16737
|
}
|
|
16379
16738
|
export interface SlmGetStatusResponse {
|
|
16380
16739
|
operation_mode: LifecycleOperationMode;
|
|
@@ -16394,9 +16753,13 @@ export interface SlmPutLifecycleRequest extends RequestBase {
|
|
|
16394
16753
|
}
|
|
16395
16754
|
export type SlmPutLifecycleResponse = AcknowledgedResponseBase;
|
|
16396
16755
|
export interface SlmStartRequest extends RequestBase {
|
|
16756
|
+
master_timeout?: Duration;
|
|
16757
|
+
timeout?: Duration;
|
|
16397
16758
|
}
|
|
16398
16759
|
export type SlmStartResponse = AcknowledgedResponseBase;
|
|
16399
16760
|
export interface SlmStopRequest extends RequestBase {
|
|
16761
|
+
master_timeout?: Duration;
|
|
16762
|
+
timeout?: Duration;
|
|
16400
16763
|
}
|
|
16401
16764
|
export type SlmStopResponse = AcknowledgedResponseBase;
|
|
16402
16765
|
export interface SnapshotAzureRepository extends SnapshotRepositoryBase {
|
|
@@ -16664,6 +17027,104 @@ export interface SnapshotGetRepositoryRequest extends RequestBase {
|
|
|
16664
17027
|
master_timeout?: Duration;
|
|
16665
17028
|
}
|
|
16666
17029
|
export type SnapshotGetRepositoryResponse = Record<string, SnapshotRepository>;
|
|
17030
|
+
export interface SnapshotRepositoryAnalyzeBlobDetails {
|
|
17031
|
+
name: string;
|
|
17032
|
+
overwritten: boolean;
|
|
17033
|
+
read_early: boolean;
|
|
17034
|
+
read_end: long;
|
|
17035
|
+
read_start: long;
|
|
17036
|
+
reads: SnapshotRepositoryAnalyzeReadBlobDetails;
|
|
17037
|
+
size: ByteSize;
|
|
17038
|
+
size_bytes: long;
|
|
17039
|
+
}
|
|
17040
|
+
export interface SnapshotRepositoryAnalyzeDetailsInfo {
|
|
17041
|
+
blob: SnapshotRepositoryAnalyzeBlobDetails;
|
|
17042
|
+
overwrite_elapsed?: Duration;
|
|
17043
|
+
overwrite_elapsed_nanos?: DurationValue<UnitNanos>;
|
|
17044
|
+
write_elapsed: Duration;
|
|
17045
|
+
write_elapsed_nanos: DurationValue<UnitNanos>;
|
|
17046
|
+
write_throttled: Duration;
|
|
17047
|
+
write_throttled_nanos: DurationValue<UnitNanos>;
|
|
17048
|
+
writer_node: SnapshotRepositoryAnalyzeSnapshotNodeInfo;
|
|
17049
|
+
}
|
|
17050
|
+
export interface SnapshotRepositoryAnalyzeReadBlobDetails {
|
|
17051
|
+
before_write_complete?: boolean;
|
|
17052
|
+
elapsed?: Duration;
|
|
17053
|
+
elapsed_nanos?: DurationValue<UnitNanos>;
|
|
17054
|
+
first_byte_time?: Duration;
|
|
17055
|
+
first_byte_time_nanos: DurationValue<UnitNanos>;
|
|
17056
|
+
found: boolean;
|
|
17057
|
+
node: SnapshotRepositoryAnalyzeSnapshotNodeInfo;
|
|
17058
|
+
throttled?: Duration;
|
|
17059
|
+
throttled_nanos?: DurationValue<UnitNanos>;
|
|
17060
|
+
}
|
|
17061
|
+
export interface SnapshotRepositoryAnalyzeReadSummaryInfo {
|
|
17062
|
+
count: integer;
|
|
17063
|
+
max_wait: Duration;
|
|
17064
|
+
max_wait_nanos: DurationValue<UnitNanos>;
|
|
17065
|
+
total_elapsed: Duration;
|
|
17066
|
+
total_elapsed_nanos: DurationValue<UnitNanos>;
|
|
17067
|
+
total_size: ByteSize;
|
|
17068
|
+
total_size_bytes: long;
|
|
17069
|
+
total_throttled: Duration;
|
|
17070
|
+
total_throttled_nanos: DurationValue<UnitNanos>;
|
|
17071
|
+
total_wait: Duration;
|
|
17072
|
+
total_wait_nanos: DurationValue<UnitNanos>;
|
|
17073
|
+
}
|
|
17074
|
+
export interface SnapshotRepositoryAnalyzeRequest extends RequestBase {
|
|
17075
|
+
name: Name;
|
|
17076
|
+
blob_count?: integer;
|
|
17077
|
+
concurrency?: integer;
|
|
17078
|
+
detailed?: boolean;
|
|
17079
|
+
early_read_node_count?: integer;
|
|
17080
|
+
max_blob_size?: ByteSize;
|
|
17081
|
+
max_total_data_size?: ByteSize;
|
|
17082
|
+
rare_action_probability?: double;
|
|
17083
|
+
rarely_abort_writes?: boolean;
|
|
17084
|
+
read_node_count?: integer;
|
|
17085
|
+
register_operation_count?: integer;
|
|
17086
|
+
seed?: integer;
|
|
17087
|
+
timeout?: Duration;
|
|
17088
|
+
}
|
|
17089
|
+
export interface SnapshotRepositoryAnalyzeResponse {
|
|
17090
|
+
blob_count: integer;
|
|
17091
|
+
blob_path: string;
|
|
17092
|
+
concurrency: integer;
|
|
17093
|
+
coordinating_node: SnapshotRepositoryAnalyzeSnapshotNodeInfo;
|
|
17094
|
+
delete_elapsed: Duration;
|
|
17095
|
+
delete_elapsed_nanos: DurationValue<UnitNanos>;
|
|
17096
|
+
details: SnapshotRepositoryAnalyzeDetailsInfo;
|
|
17097
|
+
early_read_node_count: integer;
|
|
17098
|
+
issues_detected: string[];
|
|
17099
|
+
listing_elapsed: Duration;
|
|
17100
|
+
listing_elapsed_nanos: DurationValue<UnitNanos>;
|
|
17101
|
+
max_blob_size: ByteSize;
|
|
17102
|
+
max_blob_size_bytes: long;
|
|
17103
|
+
max_total_data_size: ByteSize;
|
|
17104
|
+
max_total_data_size_bytes: long;
|
|
17105
|
+
rare_action_probability: double;
|
|
17106
|
+
read_node_count: integer;
|
|
17107
|
+
repository: string;
|
|
17108
|
+
seed: long;
|
|
17109
|
+
summary: SnapshotRepositoryAnalyzeSummaryInfo;
|
|
17110
|
+
}
|
|
17111
|
+
export interface SnapshotRepositoryAnalyzeSnapshotNodeInfo {
|
|
17112
|
+
id: Id;
|
|
17113
|
+
name: Name;
|
|
17114
|
+
}
|
|
17115
|
+
export interface SnapshotRepositoryAnalyzeSummaryInfo {
|
|
17116
|
+
read: SnapshotRepositoryAnalyzeReadSummaryInfo;
|
|
17117
|
+
write: SnapshotRepositoryAnalyzeWriteSummaryInfo;
|
|
17118
|
+
}
|
|
17119
|
+
export interface SnapshotRepositoryAnalyzeWriteSummaryInfo {
|
|
17120
|
+
count: integer;
|
|
17121
|
+
total_elapsed: Duration;
|
|
17122
|
+
total_elapsed_nanos: DurationValue<UnitNanos>;
|
|
17123
|
+
total_size: ByteSize;
|
|
17124
|
+
total_size_bytes: long;
|
|
17125
|
+
total_throttled: Duration;
|
|
17126
|
+
total_throttled_nanos: long;
|
|
17127
|
+
}
|
|
16667
17128
|
export interface SnapshotRepositoryVerifyIntegrityRequest extends RequestBase {
|
|
16668
17129
|
name: Names;
|
|
16669
17130
|
meta_thread_pool_concurrency?: integer;
|
|
@@ -16761,41 +17222,42 @@ export interface SqlGetAsyncStatusRequest extends RequestBase {
|
|
|
16761
17222
|
id: Id;
|
|
16762
17223
|
}
|
|
16763
17224
|
export interface SqlGetAsyncStatusResponse {
|
|
17225
|
+
expiration_time_in_millis: EpochTime<UnitMillis>;
|
|
16764
17226
|
id: string;
|
|
16765
17227
|
is_running: boolean;
|
|
16766
17228
|
is_partial: boolean;
|
|
16767
17229
|
start_time_in_millis: EpochTime<UnitMillis>;
|
|
16768
|
-
expiration_time_in_millis: EpochTime<UnitMillis>;
|
|
16769
17230
|
completion_status?: uint;
|
|
16770
17231
|
}
|
|
16771
17232
|
export interface SqlQueryRequest extends RequestBase {
|
|
16772
17233
|
format?: SqlQuerySqlFormat;
|
|
16773
17234
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
16774
17235
|
body?: {
|
|
17236
|
+
allow_partial_search_results?: boolean;
|
|
16775
17237
|
catalog?: string;
|
|
16776
17238
|
columnar?: boolean;
|
|
16777
17239
|
cursor?: string;
|
|
16778
17240
|
fetch_size?: integer;
|
|
17241
|
+
field_multi_value_leniency?: boolean;
|
|
16779
17242
|
filter?: QueryDslQueryContainer;
|
|
17243
|
+
index_using_frozen?: boolean;
|
|
17244
|
+
keep_alive?: Duration;
|
|
17245
|
+
keep_on_completion?: boolean;
|
|
17246
|
+
page_timeout?: Duration;
|
|
17247
|
+
params?: Record<string, any>;
|
|
16780
17248
|
query?: string;
|
|
16781
17249
|
request_timeout?: Duration;
|
|
16782
|
-
page_timeout?: Duration;
|
|
16783
|
-
time_zone?: TimeZone;
|
|
16784
|
-
field_multi_value_leniency?: boolean;
|
|
16785
17250
|
runtime_mappings?: MappingRuntimeFields;
|
|
17251
|
+
time_zone?: TimeZone;
|
|
16786
17252
|
wait_for_completion_timeout?: Duration;
|
|
16787
|
-
params?: Record<string, any>;
|
|
16788
|
-
keep_alive?: Duration;
|
|
16789
|
-
keep_on_completion?: boolean;
|
|
16790
|
-
index_using_frozen?: boolean;
|
|
16791
17253
|
};
|
|
16792
17254
|
}
|
|
16793
17255
|
export interface SqlQueryResponse {
|
|
17256
|
+
columns?: SqlColumn[];
|
|
17257
|
+
cursor?: string;
|
|
16794
17258
|
id?: Id;
|
|
16795
17259
|
is_running?: boolean;
|
|
16796
17260
|
is_partial?: boolean;
|
|
16797
|
-
columns?: SqlColumn[];
|
|
16798
|
-
cursor?: string;
|
|
16799
17261
|
rows: SqlRow[];
|
|
16800
17262
|
}
|
|
16801
17263
|
export type SqlQuerySqlFormat = 'csv' | 'json' | 'tsv' | 'txt' | 'yaml' | 'cbor' | 'smile';
|
|
@@ -16962,10 +17424,11 @@ export interface TasksListRequest extends RequestBase {
|
|
|
16962
17424
|
wait_for_completion?: boolean;
|
|
16963
17425
|
}
|
|
16964
17426
|
export type TasksListResponse = TasksTaskListResponseBase;
|
|
16965
|
-
export
|
|
17427
|
+
export type TextStructureEcsCompatibilityType = 'disabled' | 'v1';
|
|
17428
|
+
export interface TextStructureFieldStat {
|
|
16966
17429
|
count: integer;
|
|
16967
17430
|
cardinality: integer;
|
|
16968
|
-
top_hits:
|
|
17431
|
+
top_hits: TextStructureTopHit[];
|
|
16969
17432
|
mean_value?: integer;
|
|
16970
17433
|
median_value?: integer;
|
|
16971
17434
|
max_value?: integer;
|
|
@@ -16973,6 +17436,78 @@ export interface TextStructureFindStructureFieldStat {
|
|
|
16973
17436
|
earliest?: string;
|
|
16974
17437
|
latest?: string;
|
|
16975
17438
|
}
|
|
17439
|
+
export type TextStructureFormatType = 'delimited' | 'ndjson' | 'semi_structured_text' | 'xml';
|
|
17440
|
+
export interface TextStructureTopHit {
|
|
17441
|
+
count: long;
|
|
17442
|
+
value: any;
|
|
17443
|
+
}
|
|
17444
|
+
export interface TextStructureFindFieldStructureRequest extends RequestBase {
|
|
17445
|
+
column_names?: string;
|
|
17446
|
+
delimiter?: string;
|
|
17447
|
+
documents_to_sample?: uint;
|
|
17448
|
+
ecs_compatibility?: TextStructureEcsCompatibilityType;
|
|
17449
|
+
explain?: boolean;
|
|
17450
|
+
field: Field;
|
|
17451
|
+
format?: TextStructureFormatType;
|
|
17452
|
+
grok_pattern?: GrokPattern;
|
|
17453
|
+
index: IndexName;
|
|
17454
|
+
quote?: string;
|
|
17455
|
+
should_trim_fields?: boolean;
|
|
17456
|
+
timeout?: Duration;
|
|
17457
|
+
timestamp_field?: Field;
|
|
17458
|
+
timestamp_format?: string;
|
|
17459
|
+
}
|
|
17460
|
+
export interface TextStructureFindFieldStructureResponse {
|
|
17461
|
+
charset: string;
|
|
17462
|
+
ecs_compatibility?: TextStructureEcsCompatibilityType;
|
|
17463
|
+
field_stats: Record<Field, TextStructureFieldStat>;
|
|
17464
|
+
format: TextStructureFormatType;
|
|
17465
|
+
grok_pattern?: GrokPattern;
|
|
17466
|
+
java_timestamp_formats?: string[];
|
|
17467
|
+
joda_timestamp_formats?: string[];
|
|
17468
|
+
ingest_pipeline: IngestPipelineConfig;
|
|
17469
|
+
mappings: MappingTypeMapping;
|
|
17470
|
+
multiline_start_pattern?: string;
|
|
17471
|
+
need_client_timezone: boolean;
|
|
17472
|
+
num_lines_analyzed: integer;
|
|
17473
|
+
num_messages_analyzed: integer;
|
|
17474
|
+
sample_start: string;
|
|
17475
|
+
timestamp_field?: Field;
|
|
17476
|
+
}
|
|
17477
|
+
export interface TextStructureFindMessageStructureRequest extends RequestBase {
|
|
17478
|
+
column_names?: string;
|
|
17479
|
+
delimiter?: string;
|
|
17480
|
+
ecs_compatibility?: TextStructureEcsCompatibilityType;
|
|
17481
|
+
explain?: boolean;
|
|
17482
|
+
format?: TextStructureFormatType;
|
|
17483
|
+
grok_pattern?: GrokPattern;
|
|
17484
|
+
quote?: string;
|
|
17485
|
+
should_trim_fields?: boolean;
|
|
17486
|
+
timeout?: Duration;
|
|
17487
|
+
timestamp_field?: Field;
|
|
17488
|
+
timestamp_format?: string;
|
|
17489
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
17490
|
+
body?: {
|
|
17491
|
+
messages: string[];
|
|
17492
|
+
};
|
|
17493
|
+
}
|
|
17494
|
+
export interface TextStructureFindMessageStructureResponse {
|
|
17495
|
+
charset: string;
|
|
17496
|
+
ecs_compatibility?: TextStructureEcsCompatibilityType;
|
|
17497
|
+
field_stats: Record<Field, TextStructureFieldStat>;
|
|
17498
|
+
format: TextStructureFormatType;
|
|
17499
|
+
grok_pattern?: GrokPattern;
|
|
17500
|
+
java_timestamp_formats?: string[];
|
|
17501
|
+
joda_timestamp_formats?: string[];
|
|
17502
|
+
ingest_pipeline: IngestPipelineConfig;
|
|
17503
|
+
mappings: MappingTypeMapping;
|
|
17504
|
+
multiline_start_pattern?: string;
|
|
17505
|
+
need_client_timezone: boolean;
|
|
17506
|
+
num_lines_analyzed: integer;
|
|
17507
|
+
num_messages_analyzed: integer;
|
|
17508
|
+
sample_start: string;
|
|
17509
|
+
timestamp_field?: Field;
|
|
17510
|
+
}
|
|
16976
17511
|
export interface TextStructureFindStructureRequest<TJsonDocument = unknown> {
|
|
16977
17512
|
charset?: string;
|
|
16978
17513
|
column_names?: string;
|
|
@@ -16997,7 +17532,7 @@ export interface TextStructureFindStructureResponse {
|
|
|
16997
17532
|
has_header_row?: boolean;
|
|
16998
17533
|
has_byte_order_marker: boolean;
|
|
16999
17534
|
format: string;
|
|
17000
|
-
field_stats: Record<Field,
|
|
17535
|
+
field_stats: Record<Field, TextStructureFieldStat>;
|
|
17001
17536
|
sample_start: string;
|
|
17002
17537
|
num_messages_analyzed: integer;
|
|
17003
17538
|
mappings: MappingTypeMapping;
|
|
@@ -17016,10 +17551,6 @@ export interface TextStructureFindStructureResponse {
|
|
|
17016
17551
|
should_trim_fields?: boolean;
|
|
17017
17552
|
ingest_pipeline: IngestPipelineConfig;
|
|
17018
17553
|
}
|
|
17019
|
-
export interface TextStructureFindStructureTopHit {
|
|
17020
|
-
count: long;
|
|
17021
|
-
value: any;
|
|
17022
|
-
}
|
|
17023
17554
|
export interface TextStructureTestGrokPatternMatchedField {
|
|
17024
17555
|
match: string;
|
|
17025
17556
|
offset: integer;
|
|
@@ -17770,6 +18301,12 @@ export interface WatcherExecuteWatchWatchRecord {
|
|
|
17770
18301
|
watch_id: Id;
|
|
17771
18302
|
status?: WatcherWatchStatus;
|
|
17772
18303
|
}
|
|
18304
|
+
export interface WatcherGetSettingsRequest extends RequestBase {
|
|
18305
|
+
master_timeout?: Duration;
|
|
18306
|
+
}
|
|
18307
|
+
export interface WatcherGetSettingsResponse {
|
|
18308
|
+
index: IndicesIndexSettings;
|
|
18309
|
+
}
|
|
17773
18310
|
export interface WatcherGetWatchRequest extends RequestBase {
|
|
17774
18311
|
id: Name;
|
|
17775
18312
|
}
|
|
@@ -17794,7 +18331,8 @@ export interface WatcherPutWatchRequest extends RequestBase {
|
|
|
17794
18331
|
condition?: WatcherConditionContainer;
|
|
17795
18332
|
input?: WatcherInputContainer;
|
|
17796
18333
|
metadata?: Metadata;
|
|
17797
|
-
throttle_period?:
|
|
18334
|
+
throttle_period?: Duration;
|
|
18335
|
+
throttle_period_in_millis?: DurationValue<UnitMillis>;
|
|
17798
18336
|
transform?: TransformContainer;
|
|
17799
18337
|
trigger?: WatcherTriggerContainer;
|
|
17800
18338
|
};
|
|
@@ -17854,8 +18392,21 @@ export interface WatcherStatsWatcherNodeStats {
|
|
|
17854
18392
|
}
|
|
17855
18393
|
export type WatcherStatsWatcherState = 'stopped' | 'starting' | 'started' | 'stopping';
|
|
17856
18394
|
export interface WatcherStopRequest extends RequestBase {
|
|
18395
|
+
master_timeout?: Duration;
|
|
17857
18396
|
}
|
|
17858
18397
|
export type WatcherStopResponse = AcknowledgedResponseBase;
|
|
18398
|
+
export interface WatcherUpdateSettingsRequest extends RequestBase {
|
|
18399
|
+
master_timeout?: Duration;
|
|
18400
|
+
timeout?: Duration;
|
|
18401
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
18402
|
+
body?: {
|
|
18403
|
+
'index.auto_expand_replicas'?: string;
|
|
18404
|
+
'index.number_of_replicas'?: integer;
|
|
18405
|
+
};
|
|
18406
|
+
}
|
|
18407
|
+
export interface WatcherUpdateSettingsResponse {
|
|
18408
|
+
acknowledged: boolean;
|
|
18409
|
+
}
|
|
17859
18410
|
export interface XpackInfoBuildInformation {
|
|
17860
18411
|
date: DateTime;
|
|
17861
18412
|
hash: string;
|
|
@@ -18034,7 +18585,7 @@ export interface XpackUsageIlm {
|
|
|
18034
18585
|
}
|
|
18035
18586
|
export interface XpackUsageIlmPolicyStatistics {
|
|
18036
18587
|
indices_managed: integer;
|
|
18037
|
-
phases:
|
|
18588
|
+
phases: XpackUsagePhases;
|
|
18038
18589
|
}
|
|
18039
18590
|
export interface XpackUsageInvocations {
|
|
18040
18591
|
total: long;
|
|
@@ -18127,6 +18678,17 @@ export interface XpackUsageMonitoring extends XpackUsageBase {
|
|
|
18127
18678
|
collection_enabled: boolean;
|
|
18128
18679
|
enabled_exporters: Record<string, long>;
|
|
18129
18680
|
}
|
|
18681
|
+
export interface XpackUsagePhase {
|
|
18682
|
+
actions: string[];
|
|
18683
|
+
min_age: DurationValue<UnitMillis>;
|
|
18684
|
+
}
|
|
18685
|
+
export interface XpackUsagePhases {
|
|
18686
|
+
cold?: XpackUsagePhase;
|
|
18687
|
+
delete?: XpackUsagePhase;
|
|
18688
|
+
frozen?: XpackUsagePhase;
|
|
18689
|
+
hot?: XpackUsagePhase;
|
|
18690
|
+
warm?: XpackUsagePhase;
|
|
18691
|
+
}
|
|
18130
18692
|
export interface XpackUsageQuery {
|
|
18131
18693
|
count?: integer;
|
|
18132
18694
|
failed?: integer;
|
|
@@ -18302,8 +18864,6 @@ export interface SpecUtilsCommonCatQueryParameters {
|
|
|
18302
18864
|
format?: string;
|
|
18303
18865
|
h?: Names;
|
|
18304
18866
|
help?: boolean;
|
|
18305
|
-
local?: boolean;
|
|
18306
|
-
master_timeout?: Duration;
|
|
18307
18867
|
s?: Names;
|
|
18308
18868
|
v?: boolean;
|
|
18309
18869
|
}
|