@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
package/lib/api/types.d.ts
CHANGED
|
@@ -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 {
|
|
@@ -51,6 +52,7 @@ export interface BulkResponseItem {
|
|
|
51
52
|
_id?: string | null;
|
|
52
53
|
_index: string;
|
|
53
54
|
status: integer;
|
|
55
|
+
failure_store?: BulkFailureStoreStatus;
|
|
54
56
|
error?: ErrorCause;
|
|
55
57
|
_primary_term?: long;
|
|
56
58
|
result?: string;
|
|
@@ -1920,7 +1922,7 @@ export interface ErrorResponseBase {
|
|
|
1920
1922
|
error: ErrorCause;
|
|
1921
1923
|
status: integer;
|
|
1922
1924
|
}
|
|
1923
|
-
export type
|
|
1925
|
+
export type EsqlResult = ArrayBuffer;
|
|
1924
1926
|
export type ExpandWildcard = 'all' | 'open' | 'closed' | 'hidden' | 'none';
|
|
1925
1927
|
export type ExpandWildcards = ExpandWildcard | ExpandWildcard[];
|
|
1926
1928
|
export type Field = string;
|
|
@@ -2227,12 +2229,19 @@ export interface RetrieverContainer {
|
|
|
2227
2229
|
knn?: KnnRetriever;
|
|
2228
2230
|
rrf?: RRFRetriever;
|
|
2229
2231
|
text_similarity_reranker?: TextSimilarityReranker;
|
|
2232
|
+
rule?: RuleRetriever;
|
|
2230
2233
|
}
|
|
2231
2234
|
export type Routing = string;
|
|
2232
2235
|
export interface RrfRank {
|
|
2233
2236
|
rank_constant?: long;
|
|
2234
2237
|
rank_window_size?: long;
|
|
2235
2238
|
}
|
|
2239
|
+
export interface RuleRetriever extends RetrieverBase {
|
|
2240
|
+
ruleset_ids: Id[];
|
|
2241
|
+
match_criteria: any;
|
|
2242
|
+
retriever: RetrieverContainer;
|
|
2243
|
+
rank_window_size?: integer;
|
|
2244
|
+
}
|
|
2236
2245
|
export type ScalarValue = long | double | string | boolean | null;
|
|
2237
2246
|
export interface ScoreSort {
|
|
2238
2247
|
order?: SortOrder;
|
|
@@ -2376,6 +2385,7 @@ export interface StoredScript {
|
|
|
2376
2385
|
options?: Record<string, string>;
|
|
2377
2386
|
source: string;
|
|
2378
2387
|
}
|
|
2388
|
+
export type StreamResult = ArrayBuffer;
|
|
2379
2389
|
export type SuggestMode = 'missing' | 'popular' | 'always';
|
|
2380
2390
|
export type SuggestionName = string;
|
|
2381
2391
|
export interface TaskFailure {
|
|
@@ -4707,6 +4717,7 @@ export interface MappingPropertyBase {
|
|
|
4707
4717
|
ignore_above?: integer;
|
|
4708
4718
|
dynamic?: MappingDynamicMapping;
|
|
4709
4719
|
fields?: Record<PropertyName, MappingProperty>;
|
|
4720
|
+
synthetic_source_keep?: MappingSyntheticSourceKeepEnum;
|
|
4710
4721
|
}
|
|
4711
4722
|
export interface MappingRangePropertyBase extends MappingDocValuesPropertyBase {
|
|
4712
4723
|
boost?: double;
|
|
@@ -4794,6 +4805,7 @@ export interface MappingSuggestContext {
|
|
|
4794
4805
|
type: string;
|
|
4795
4806
|
precision?: integer | string;
|
|
4796
4807
|
}
|
|
4808
|
+
export type MappingSyntheticSourceKeepEnum = 'none' | 'arrays' | 'all';
|
|
4797
4809
|
export type MappingTermVectorOption = 'no' | 'yes' | 'with_offsets' | 'with_positions' | 'with_positions_offsets' | 'with_positions_offsets_payloads' | 'with_positions_payloads';
|
|
4798
4810
|
export interface MappingTextIndexPrefixes {
|
|
4799
4811
|
max_chars: integer;
|
|
@@ -5597,8 +5609,8 @@ export interface AsyncSearchStatusStatusResponseBase extends AsyncSearchAsyncSea
|
|
|
5597
5609
|
export interface AsyncSearchSubmitRequest extends RequestBase {
|
|
5598
5610
|
index?: Indices;
|
|
5599
5611
|
wait_for_completion_timeout?: Duration;
|
|
5600
|
-
keep_on_completion?: boolean;
|
|
5601
5612
|
keep_alive?: Duration;
|
|
5613
|
+
keep_on_completion?: boolean;
|
|
5602
5614
|
allow_no_indices?: boolean;
|
|
5603
5615
|
allow_partial_search_results?: boolean;
|
|
5604
5616
|
analyzer?: string;
|
|
@@ -5614,7 +5626,6 @@ export interface AsyncSearchSubmitRequest extends RequestBase {
|
|
|
5614
5626
|
max_concurrent_shard_requests?: long;
|
|
5615
5627
|
min_compatible_shard_node?: VersionString;
|
|
5616
5628
|
preference?: string;
|
|
5617
|
-
pre_filter_shard_size?: long;
|
|
5618
5629
|
request_cache?: boolean;
|
|
5619
5630
|
routing?: Routing;
|
|
5620
5631
|
search_type?: SearchType;
|
|
@@ -5747,6 +5758,8 @@ export interface CatAliasesAliasesRecord {
|
|
|
5747
5758
|
export interface CatAliasesRequest extends CatCatRequestBase {
|
|
5748
5759
|
name?: Names;
|
|
5749
5760
|
expand_wildcards?: ExpandWildcards;
|
|
5761
|
+
local?: boolean;
|
|
5762
|
+
master_timeout?: Duration;
|
|
5750
5763
|
}
|
|
5751
5764
|
export type CatAliasesResponse = CatAliasesAliasesRecord[];
|
|
5752
5765
|
export interface CatAllocationAllocationRecord {
|
|
@@ -5787,6 +5800,8 @@ export interface CatAllocationAllocationRecord {
|
|
|
5787
5800
|
export interface CatAllocationRequest extends CatCatRequestBase {
|
|
5788
5801
|
node_id?: NodeIds;
|
|
5789
5802
|
bytes?: Bytes;
|
|
5803
|
+
local?: boolean;
|
|
5804
|
+
master_timeout?: Duration;
|
|
5790
5805
|
}
|
|
5791
5806
|
export type CatAllocationResponse = CatAllocationAllocationRecord[];
|
|
5792
5807
|
export interface CatComponentTemplatesComponentTemplate {
|
|
@@ -5800,6 +5815,8 @@ export interface CatComponentTemplatesComponentTemplate {
|
|
|
5800
5815
|
}
|
|
5801
5816
|
export interface CatComponentTemplatesRequest extends CatCatRequestBase {
|
|
5802
5817
|
name?: string;
|
|
5818
|
+
local?: boolean;
|
|
5819
|
+
master_timeout?: Duration;
|
|
5803
5820
|
}
|
|
5804
5821
|
export type CatComponentTemplatesResponse = CatComponentTemplatesComponentTemplate[];
|
|
5805
5822
|
export interface CatCountCountRecord {
|
|
@@ -5892,12 +5909,10 @@ export interface CatHealthRequest extends CatCatRequestBase {
|
|
|
5892
5909
|
ts?: boolean;
|
|
5893
5910
|
}
|
|
5894
5911
|
export type CatHealthResponse = CatHealthHealthRecord[];
|
|
5895
|
-
export interface
|
|
5896
|
-
endpoint: string;
|
|
5912
|
+
export interface CatHelpRequest {
|
|
5897
5913
|
}
|
|
5898
|
-
export interface
|
|
5914
|
+
export interface CatHelpResponse {
|
|
5899
5915
|
}
|
|
5900
|
-
export type CatHelpResponse = CatHelpHelpRecord[];
|
|
5901
5916
|
export interface CatIndicesIndicesRecord {
|
|
5902
5917
|
health?: string;
|
|
5903
5918
|
h?: string;
|
|
@@ -6196,6 +6211,7 @@ export interface CatIndicesRequest extends CatCatRequestBase {
|
|
|
6196
6211
|
include_unloaded_segments?: boolean;
|
|
6197
6212
|
pri?: boolean;
|
|
6198
6213
|
time?: TimeUnit;
|
|
6214
|
+
master_timeout?: Duration;
|
|
6199
6215
|
}
|
|
6200
6216
|
export type CatIndicesResponse = CatIndicesIndicesRecord[];
|
|
6201
6217
|
export interface CatMasterMasterRecord {
|
|
@@ -6207,6 +6223,8 @@ export interface CatMasterMasterRecord {
|
|
|
6207
6223
|
n?: string;
|
|
6208
6224
|
}
|
|
6209
6225
|
export interface CatMasterRequest extends CatCatRequestBase {
|
|
6226
|
+
local?: boolean;
|
|
6227
|
+
master_timeout?: Duration;
|
|
6210
6228
|
}
|
|
6211
6229
|
export type CatMasterResponse = CatMasterMasterRecord[];
|
|
6212
6230
|
export interface CatMlDataFrameAnalyticsDataFrameAnalyticsRecord {
|
|
@@ -6258,7 +6276,7 @@ export interface CatMlDataFrameAnalyticsRequest extends CatCatRequestBase {
|
|
|
6258
6276
|
bytes?: Bytes;
|
|
6259
6277
|
h?: CatCatDfaColumns;
|
|
6260
6278
|
s?: CatCatDfaColumns;
|
|
6261
|
-
time?:
|
|
6279
|
+
time?: TimeUnit;
|
|
6262
6280
|
}
|
|
6263
6281
|
export type CatMlDataFrameAnalyticsResponse = CatMlDataFrameAnalyticsDataFrameAnalyticsRecord[];
|
|
6264
6282
|
export interface CatMlDatafeedsDatafeedsRecord {
|
|
@@ -6496,6 +6514,7 @@ export interface CatMlTrainedModelsRequest extends CatCatRequestBase {
|
|
|
6496
6514
|
s?: CatCatTrainedModelsColumns;
|
|
6497
6515
|
from?: integer;
|
|
6498
6516
|
size?: integer;
|
|
6517
|
+
time?: TimeUnit;
|
|
6499
6518
|
}
|
|
6500
6519
|
export type CatMlTrainedModelsResponse = CatMlTrainedModelsTrainedModelsRecord[];
|
|
6501
6520
|
export interface CatMlTrainedModelsTrainedModelsRecord {
|
|
@@ -6559,6 +6578,8 @@ export interface CatNodeattrsNodeAttributesRecord {
|
|
|
6559
6578
|
value?: string;
|
|
6560
6579
|
}
|
|
6561
6580
|
export interface CatNodeattrsRequest extends CatCatRequestBase {
|
|
6581
|
+
local?: boolean;
|
|
6582
|
+
master_timeout?: Duration;
|
|
6562
6583
|
}
|
|
6563
6584
|
export type CatNodeattrsResponse = CatNodeattrsNodeAttributesRecord[];
|
|
6564
6585
|
export interface CatNodesNodesRecord {
|
|
@@ -6834,6 +6855,8 @@ export interface CatNodesRequest extends CatCatRequestBase {
|
|
|
6834
6855
|
bytes?: Bytes;
|
|
6835
6856
|
full_id?: boolean | string;
|
|
6836
6857
|
include_unloaded_segments?: boolean;
|
|
6858
|
+
master_timeout?: Duration;
|
|
6859
|
+
time?: TimeUnit;
|
|
6837
6860
|
}
|
|
6838
6861
|
export type CatNodesResponse = CatNodesNodesRecord[];
|
|
6839
6862
|
export interface CatPendingTasksPendingTasksRecord {
|
|
@@ -6847,6 +6870,9 @@ export interface CatPendingTasksPendingTasksRecord {
|
|
|
6847
6870
|
s?: string;
|
|
6848
6871
|
}
|
|
6849
6872
|
export interface CatPendingTasksRequest extends CatCatRequestBase {
|
|
6873
|
+
local?: boolean;
|
|
6874
|
+
master_timeout?: Duration;
|
|
6875
|
+
time?: TimeUnit;
|
|
6850
6876
|
}
|
|
6851
6877
|
export type CatPendingTasksResponse = CatPendingTasksPendingTasksRecord[];
|
|
6852
6878
|
export interface CatPluginsPluginsRecord {
|
|
@@ -6863,6 +6889,9 @@ export interface CatPluginsPluginsRecord {
|
|
|
6863
6889
|
t?: string;
|
|
6864
6890
|
}
|
|
6865
6891
|
export interface CatPluginsRequest extends CatCatRequestBase {
|
|
6892
|
+
include_bootstrap?: boolean;
|
|
6893
|
+
local?: boolean;
|
|
6894
|
+
master_timeout?: Duration;
|
|
6866
6895
|
}
|
|
6867
6896
|
export type CatPluginsResponse = CatPluginsPluginsRecord[];
|
|
6868
6897
|
export interface CatRecoveryRecoveryRecord {
|
|
@@ -6927,6 +6956,7 @@ export interface CatRecoveryRequest extends CatCatRequestBase {
|
|
|
6927
6956
|
active_only?: boolean;
|
|
6928
6957
|
bytes?: Bytes;
|
|
6929
6958
|
detailed?: boolean;
|
|
6959
|
+
time?: TimeUnit;
|
|
6930
6960
|
}
|
|
6931
6961
|
export type CatRecoveryResponse = CatRecoveryRecoveryRecord[];
|
|
6932
6962
|
export interface CatRepositoriesRepositoriesRecord {
|
|
@@ -6936,11 +6966,15 @@ export interface CatRepositoriesRepositoriesRecord {
|
|
|
6936
6966
|
t?: string;
|
|
6937
6967
|
}
|
|
6938
6968
|
export interface CatRepositoriesRequest extends CatCatRequestBase {
|
|
6969
|
+
local?: boolean;
|
|
6970
|
+
master_timeout?: Duration;
|
|
6939
6971
|
}
|
|
6940
6972
|
export type CatRepositoriesResponse = CatRepositoriesRepositoriesRecord[];
|
|
6941
6973
|
export interface CatSegmentsRequest extends CatCatRequestBase {
|
|
6942
6974
|
index?: Indices;
|
|
6943
6975
|
bytes?: Bytes;
|
|
6976
|
+
local?: boolean;
|
|
6977
|
+
master_timeout?: Duration;
|
|
6944
6978
|
}
|
|
6945
6979
|
export type CatSegmentsResponse = CatSegmentsSegmentsRecord[];
|
|
6946
6980
|
export interface CatSegmentsSegmentsRecord {
|
|
@@ -6987,6 +7021,8 @@ export interface CatSegmentsSegmentsRecord {
|
|
|
6987
7021
|
export interface CatShardsRequest extends CatCatRequestBase {
|
|
6988
7022
|
index?: Indices;
|
|
6989
7023
|
bytes?: Bytes;
|
|
7024
|
+
master_timeout?: Duration;
|
|
7025
|
+
time?: TimeUnit;
|
|
6990
7026
|
}
|
|
6991
7027
|
export type CatShardsResponse = CatShardsShardsRecord[];
|
|
6992
7028
|
export interface CatShardsShardsRecord {
|
|
@@ -7206,6 +7242,8 @@ export interface CatShardsShardsRecord {
|
|
|
7206
7242
|
export interface CatSnapshotsRequest extends CatCatRequestBase {
|
|
7207
7243
|
repository?: Names;
|
|
7208
7244
|
ignore_unavailable?: boolean;
|
|
7245
|
+
master_timeout?: Duration;
|
|
7246
|
+
time?: TimeUnit;
|
|
7209
7247
|
}
|
|
7210
7248
|
export type CatSnapshotsResponse = CatSnapshotsSnapshotsRecord[];
|
|
7211
7249
|
export interface CatSnapshotsSnapshotsRecord {
|
|
@@ -7244,8 +7282,11 @@ export interface CatSnapshotsSnapshotsRecord {
|
|
|
7244
7282
|
export interface CatTasksRequest extends CatCatRequestBase {
|
|
7245
7283
|
actions?: string[];
|
|
7246
7284
|
detailed?: boolean;
|
|
7247
|
-
|
|
7285
|
+
nodes?: string[];
|
|
7248
7286
|
parent_task_id?: string;
|
|
7287
|
+
time?: TimeUnit;
|
|
7288
|
+
timeout?: Duration;
|
|
7289
|
+
wait_for_completion?: boolean;
|
|
7249
7290
|
}
|
|
7250
7291
|
export type CatTasksResponse = CatTasksTasksRecord[];
|
|
7251
7292
|
export interface CatTasksTasksRecord {
|
|
@@ -7284,6 +7325,8 @@ export interface CatTasksTasksRecord {
|
|
|
7284
7325
|
}
|
|
7285
7326
|
export interface CatTemplatesRequest extends CatCatRequestBase {
|
|
7286
7327
|
name?: Name;
|
|
7328
|
+
local?: boolean;
|
|
7329
|
+
master_timeout?: Duration;
|
|
7287
7330
|
}
|
|
7288
7331
|
export type CatTemplatesResponse = CatTemplatesTemplatesRecord[];
|
|
7289
7332
|
export interface CatTemplatesTemplatesRecord {
|
|
@@ -7302,6 +7345,8 @@ export interface CatTemplatesTemplatesRecord {
|
|
|
7302
7345
|
export interface CatThreadPoolRequest extends CatCatRequestBase {
|
|
7303
7346
|
thread_pool_patterns?: Names;
|
|
7304
7347
|
time?: TimeUnit;
|
|
7348
|
+
local?: boolean;
|
|
7349
|
+
master_timeout?: Duration;
|
|
7305
7350
|
}
|
|
7306
7351
|
export type CatThreadPoolResponse = CatThreadPoolThreadPoolRecord[];
|
|
7307
7352
|
export interface CatThreadPoolThreadPoolRecord {
|
|
@@ -7637,6 +7682,7 @@ export interface ClusterComponentTemplateNode {
|
|
|
7637
7682
|
template: ClusterComponentTemplateSummary;
|
|
7638
7683
|
version?: VersionNumber;
|
|
7639
7684
|
_meta?: Metadata;
|
|
7685
|
+
deprecated?: boolean;
|
|
7640
7686
|
}
|
|
7641
7687
|
export interface ClusterComponentTemplateSummary {
|
|
7642
7688
|
_meta?: Metadata;
|
|
@@ -8489,10 +8535,28 @@ export interface ConnectorSyncJobCancelRequest extends RequestBase {
|
|
|
8489
8535
|
export interface ConnectorSyncJobCancelResponse {
|
|
8490
8536
|
result: Result;
|
|
8491
8537
|
}
|
|
8538
|
+
export interface ConnectorSyncJobCheckInRequest extends RequestBase {
|
|
8539
|
+
connector_sync_job_id: Id;
|
|
8540
|
+
}
|
|
8541
|
+
export interface ConnectorSyncJobCheckInResponse {
|
|
8542
|
+
}
|
|
8543
|
+
export interface ConnectorSyncJobClaimRequest extends RequestBase {
|
|
8544
|
+
connector_sync_job_id: Id;
|
|
8545
|
+
sync_cursor?: any;
|
|
8546
|
+
worker_hostname: string;
|
|
8547
|
+
}
|
|
8548
|
+
export interface ConnectorSyncJobClaimResponse {
|
|
8549
|
+
}
|
|
8492
8550
|
export interface ConnectorSyncJobDeleteRequest extends RequestBase {
|
|
8493
8551
|
connector_sync_job_id: Id;
|
|
8494
8552
|
}
|
|
8495
8553
|
export type ConnectorSyncJobDeleteResponse = AcknowledgedResponseBase;
|
|
8554
|
+
export interface ConnectorSyncJobErrorRequest extends RequestBase {
|
|
8555
|
+
connector_sync_job_id: Id;
|
|
8556
|
+
error: string;
|
|
8557
|
+
}
|
|
8558
|
+
export interface ConnectorSyncJobErrorResponse {
|
|
8559
|
+
}
|
|
8496
8560
|
export interface ConnectorSyncJobGetRequest extends RequestBase {
|
|
8497
8561
|
connector_sync_job_id: Id;
|
|
8498
8562
|
}
|
|
@@ -8516,6 +8580,17 @@ export interface ConnectorSyncJobPostRequest extends RequestBase {
|
|
|
8516
8580
|
export interface ConnectorSyncJobPostResponse {
|
|
8517
8581
|
id: Id;
|
|
8518
8582
|
}
|
|
8583
|
+
export interface ConnectorSyncJobUpdateStatsRequest extends RequestBase {
|
|
8584
|
+
connector_sync_job_id: Id;
|
|
8585
|
+
deleted_document_count: long;
|
|
8586
|
+
indexed_document_count: long;
|
|
8587
|
+
indexed_document_volume: long;
|
|
8588
|
+
last_seen?: Duration;
|
|
8589
|
+
metadata?: Metadata;
|
|
8590
|
+
total_document_count?: integer;
|
|
8591
|
+
}
|
|
8592
|
+
export interface ConnectorSyncJobUpdateStatsResponse {
|
|
8593
|
+
}
|
|
8519
8594
|
export interface ConnectorUpdateActiveFilteringRequest extends RequestBase {
|
|
8520
8595
|
connector_id: Id;
|
|
8521
8596
|
}
|
|
@@ -8545,6 +8620,13 @@ export interface ConnectorUpdateErrorRequest extends RequestBase {
|
|
|
8545
8620
|
export interface ConnectorUpdateErrorResponse {
|
|
8546
8621
|
result: Result;
|
|
8547
8622
|
}
|
|
8623
|
+
export interface ConnectorUpdateFeaturesRequest extends RequestBase {
|
|
8624
|
+
connector_id: Id;
|
|
8625
|
+
features: ConnectorConnectorFeatures;
|
|
8626
|
+
}
|
|
8627
|
+
export interface ConnectorUpdateFeaturesResponse {
|
|
8628
|
+
result: Result;
|
|
8629
|
+
}
|
|
8548
8630
|
export interface ConnectorUpdateFilteringRequest extends RequestBase {
|
|
8549
8631
|
connector_id: Id;
|
|
8550
8632
|
filtering?: ConnectorFilteringConfig[];
|
|
@@ -8782,6 +8864,34 @@ export type EsqlTableValuesIntegerValue = integer | integer[];
|
|
|
8782
8864
|
export type EsqlTableValuesKeywordValue = string | string[];
|
|
8783
8865
|
export type EsqlTableValuesLongDouble = double | double[];
|
|
8784
8866
|
export type EsqlTableValuesLongValue = long | long[];
|
|
8867
|
+
export interface EsqlAsyncQueryRequest extends RequestBase {
|
|
8868
|
+
delimiter?: string;
|
|
8869
|
+
drop_null_columns?: boolean;
|
|
8870
|
+
format?: EsqlQueryEsqlFormat;
|
|
8871
|
+
keep_alive?: Duration;
|
|
8872
|
+
keep_on_completion?: boolean;
|
|
8873
|
+
wait_for_completion_timeout?: Duration;
|
|
8874
|
+
columnar?: boolean;
|
|
8875
|
+
filter?: QueryDslQueryContainer;
|
|
8876
|
+
locale?: string;
|
|
8877
|
+
params?: FieldValue[];
|
|
8878
|
+
profile?: boolean;
|
|
8879
|
+
query: string;
|
|
8880
|
+
tables?: Record<string, Record<string, EsqlTableValuesContainer>>;
|
|
8881
|
+
include_ccs_metadata?: boolean;
|
|
8882
|
+
}
|
|
8883
|
+
export type EsqlAsyncQueryResponse = EsqlResult;
|
|
8884
|
+
export interface EsqlAsyncQueryDeleteRequest extends RequestBase {
|
|
8885
|
+
id: Id;
|
|
8886
|
+
}
|
|
8887
|
+
export type EsqlAsyncQueryDeleteResponse = AcknowledgedResponseBase;
|
|
8888
|
+
export interface EsqlAsyncQueryGetRequest extends RequestBase {
|
|
8889
|
+
id: Id;
|
|
8890
|
+
drop_null_columns?: boolean;
|
|
8891
|
+
keep_alive?: Duration;
|
|
8892
|
+
wait_for_completion_timeout?: Duration;
|
|
8893
|
+
}
|
|
8894
|
+
export type EsqlAsyncQueryGetResponse = EsqlResult;
|
|
8785
8895
|
export type EsqlQueryEsqlFormat = 'csv' | 'json' | 'tsv' | 'txt' | 'yaml' | 'cbor' | 'smile' | 'arrow';
|
|
8786
8896
|
export interface EsqlQueryRequest extends RequestBase {
|
|
8787
8897
|
format?: EsqlQueryEsqlFormat;
|
|
@@ -8794,8 +8904,9 @@ export interface EsqlQueryRequest extends RequestBase {
|
|
|
8794
8904
|
profile?: boolean;
|
|
8795
8905
|
query: string;
|
|
8796
8906
|
tables?: Record<string, Record<string, EsqlTableValuesContainer>>;
|
|
8907
|
+
include_ccs_metadata?: boolean;
|
|
8797
8908
|
}
|
|
8798
|
-
export type EsqlQueryResponse =
|
|
8909
|
+
export type EsqlQueryResponse = EsqlResult;
|
|
8799
8910
|
export interface FeaturesFeature {
|
|
8800
8911
|
name: string;
|
|
8801
8912
|
description: string;
|
|
@@ -9017,7 +9128,7 @@ export interface IlmMigrateAction {
|
|
|
9017
9128
|
}
|
|
9018
9129
|
export interface IlmPhase {
|
|
9019
9130
|
actions?: IlmActions;
|
|
9020
|
-
min_age?: Duration
|
|
9131
|
+
min_age?: Duration;
|
|
9021
9132
|
}
|
|
9022
9133
|
export interface IlmPhases {
|
|
9023
9134
|
cold?: IlmPhase;
|
|
@@ -9071,7 +9182,7 @@ export interface IlmExplainLifecycleLifecycleExplainManaged {
|
|
|
9071
9182
|
age?: Duration;
|
|
9072
9183
|
failed_step?: Name;
|
|
9073
9184
|
failed_step_retry_count?: integer;
|
|
9074
|
-
index
|
|
9185
|
+
index: IndexName;
|
|
9075
9186
|
index_creation_date?: DateTime;
|
|
9076
9187
|
index_creation_date_millis?: EpochTime<UnitMillis>;
|
|
9077
9188
|
is_auto_retryable_error?: boolean;
|
|
@@ -9081,7 +9192,11 @@ export interface IlmExplainLifecycleLifecycleExplainManaged {
|
|
|
9081
9192
|
phase: Name;
|
|
9082
9193
|
phase_time?: DateTime;
|
|
9083
9194
|
phase_time_millis?: EpochTime<UnitMillis>;
|
|
9084
|
-
policy
|
|
9195
|
+
policy?: Name;
|
|
9196
|
+
previous_step_info?: Record<string, any>;
|
|
9197
|
+
repository_name?: string;
|
|
9198
|
+
snapshot_name?: string;
|
|
9199
|
+
shrink_index_name?: string;
|
|
9085
9200
|
step?: Name;
|
|
9086
9201
|
step_info?: Record<string, any>;
|
|
9087
9202
|
step_time?: DateTime;
|
|
@@ -9090,6 +9205,7 @@ export interface IlmExplainLifecycleLifecycleExplainManaged {
|
|
|
9090
9205
|
time_since_index_creation?: Duration;
|
|
9091
9206
|
}
|
|
9092
9207
|
export interface IlmExplainLifecycleLifecycleExplainPhaseExecution {
|
|
9208
|
+
phase_definition?: IlmPhase;
|
|
9093
9209
|
policy: Name;
|
|
9094
9210
|
version: VersionNumber;
|
|
9095
9211
|
modified_date_in_millis: EpochTime<UnitMillis>;
|
|
@@ -9384,6 +9500,7 @@ export interface IndicesIndexSettingsLifecycle {
|
|
|
9384
9500
|
parse_origination_date?: boolean;
|
|
9385
9501
|
step?: IndicesIndexSettingsLifecycleStep;
|
|
9386
9502
|
rollover_alias?: string;
|
|
9503
|
+
prefer_ilm?: boolean | string;
|
|
9387
9504
|
}
|
|
9388
9505
|
export interface IndicesIndexSettingsLifecycleStep {
|
|
9389
9506
|
wait_time_threshold?: Duration;
|
|
@@ -9450,7 +9567,8 @@ export interface IndicesMappingLimitSettings {
|
|
|
9450
9567
|
nested_objects?: IndicesMappingLimitSettingsNestedObjects;
|
|
9451
9568
|
field_name_length?: IndicesMappingLimitSettingsFieldNameLength;
|
|
9452
9569
|
dimension_fields?: IndicesMappingLimitSettingsDimensionFields;
|
|
9453
|
-
|
|
9570
|
+
source?: IndicesMappingLimitSettingsSourceFields;
|
|
9571
|
+
ignore_malformed?: boolean | string;
|
|
9454
9572
|
}
|
|
9455
9573
|
export interface IndicesMappingLimitSettingsDepth {
|
|
9456
9574
|
limit?: long;
|
|
@@ -9467,9 +9585,12 @@ export interface IndicesMappingLimitSettingsNestedFields {
|
|
|
9467
9585
|
export interface IndicesMappingLimitSettingsNestedObjects {
|
|
9468
9586
|
limit?: long;
|
|
9469
9587
|
}
|
|
9588
|
+
export interface IndicesMappingLimitSettingsSourceFields {
|
|
9589
|
+
mode: IndicesSourceMode;
|
|
9590
|
+
}
|
|
9470
9591
|
export interface IndicesMappingLimitSettingsTotalFields {
|
|
9471
|
-
limit?: long;
|
|
9472
|
-
ignore_dynamic_beyond_limit?: boolean;
|
|
9592
|
+
limit?: long | string;
|
|
9593
|
+
ignore_dynamic_beyond_limit?: boolean | string;
|
|
9473
9594
|
}
|
|
9474
9595
|
export interface IndicesMerge {
|
|
9475
9596
|
scheduler?: IndicesMergeScheduler;
|
|
@@ -9566,6 +9687,7 @@ export interface IndicesSoftDeletes {
|
|
|
9566
9687
|
enabled?: boolean;
|
|
9567
9688
|
retention_lease?: IndicesRetentionLease;
|
|
9568
9689
|
}
|
|
9690
|
+
export type IndicesSourceMode = 'DISABLED' | 'STORED' | 'SYNTHETIC';
|
|
9569
9691
|
export interface IndicesStorage {
|
|
9570
9692
|
type: IndicesStorageType;
|
|
9571
9693
|
allow_mmap?: boolean;
|
|
@@ -9969,6 +10091,19 @@ export interface IndicesGetDataLifecycleRequest extends RequestBase {
|
|
|
9969
10091
|
export interface IndicesGetDataLifecycleResponse {
|
|
9970
10092
|
data_streams: IndicesGetDataLifecycleDataStreamWithLifecycle[];
|
|
9971
10093
|
}
|
|
10094
|
+
export interface IndicesGetDataLifecycleStatsDataStreamStats {
|
|
10095
|
+
backing_indices_in_error: integer;
|
|
10096
|
+
backing_indices_in_total: integer;
|
|
10097
|
+
name: DataStreamName;
|
|
10098
|
+
}
|
|
10099
|
+
export interface IndicesGetDataLifecycleStatsRequest extends RequestBase {
|
|
10100
|
+
}
|
|
10101
|
+
export interface IndicesGetDataLifecycleStatsResponse {
|
|
10102
|
+
data_stream_count: integer;
|
|
10103
|
+
data_streams: IndicesGetDataLifecycleStatsDataStreamStats[];
|
|
10104
|
+
last_run_duration_in_millis?: DurationValue<UnitMillis>;
|
|
10105
|
+
time_between_starts_in_millis?: DurationValue<UnitMillis>;
|
|
10106
|
+
}
|
|
9972
10107
|
export interface IndicesGetDataStreamRequest extends RequestBase {
|
|
9973
10108
|
name?: DataStreamNames;
|
|
9974
10109
|
expand_wildcards?: ExpandWildcards;
|
|
@@ -10746,7 +10881,7 @@ export interface InferenceInferenceResult {
|
|
|
10746
10881
|
}
|
|
10747
10882
|
export interface InferenceRankedDocument {
|
|
10748
10883
|
index: integer;
|
|
10749
|
-
|
|
10884
|
+
relevance_score: float;
|
|
10750
10885
|
text?: string;
|
|
10751
10886
|
}
|
|
10752
10887
|
export type InferenceServiceSettings = any;
|
|
@@ -10791,6 +10926,18 @@ export interface InferencePutRequest extends RequestBase {
|
|
|
10791
10926
|
inference_config?: InferenceInferenceEndpoint;
|
|
10792
10927
|
}
|
|
10793
10928
|
export type InferencePutResponse = InferenceInferenceEndpointInfo;
|
|
10929
|
+
export interface InferenceStreamInferenceRequest extends RequestBase {
|
|
10930
|
+
inference_id: Id;
|
|
10931
|
+
task_type?: InferenceTaskType;
|
|
10932
|
+
input: string | string[];
|
|
10933
|
+
}
|
|
10934
|
+
export type InferenceStreamInferenceResponse = StreamResult;
|
|
10935
|
+
export interface InferenceUpdateRequest extends RequestBase {
|
|
10936
|
+
inference_id: Id;
|
|
10937
|
+
task_type?: InferenceTaskType;
|
|
10938
|
+
inference_config?: InferenceInferenceEndpoint;
|
|
10939
|
+
}
|
|
10940
|
+
export type InferenceUpdateResponse = InferenceInferenceEndpointInfo;
|
|
10794
10941
|
export interface IngestAppendProcessor extends IngestProcessorBase {
|
|
10795
10942
|
field: Field;
|
|
10796
10943
|
value: any | any[];
|
|
@@ -10882,6 +11029,23 @@ export interface IngestDissectProcessor extends IngestProcessorBase {
|
|
|
10882
11029
|
ignore_missing?: boolean;
|
|
10883
11030
|
pattern: string;
|
|
10884
11031
|
}
|
|
11032
|
+
export interface IngestDocument {
|
|
11033
|
+
_id?: Id;
|
|
11034
|
+
_index?: IndexName;
|
|
11035
|
+
_source: any;
|
|
11036
|
+
}
|
|
11037
|
+
export interface IngestDocumentSimulationKeys {
|
|
11038
|
+
_id: Id;
|
|
11039
|
+
_index: IndexName;
|
|
11040
|
+
_ingest: IngestIngest;
|
|
11041
|
+
_routing?: string;
|
|
11042
|
+
_source: Record<string, any>;
|
|
11043
|
+
_version?: SpecUtilsStringified<VersionNumber>;
|
|
11044
|
+
_version_type?: VersionType;
|
|
11045
|
+
}
|
|
11046
|
+
export type IngestDocumentSimulation = IngestDocumentSimulationKeys & {
|
|
11047
|
+
[property: string]: string | Id | IndexName | IngestIngest | Record<string, any> | SpecUtilsStringified<VersionNumber> | VersionType;
|
|
11048
|
+
};
|
|
10885
11049
|
export interface IngestDotExpanderProcessor extends IngestProcessorBase {
|
|
10886
11050
|
field: Field;
|
|
10887
11051
|
override?: boolean;
|
|
@@ -10977,6 +11141,11 @@ export interface IngestInferenceProcessor extends IngestProcessorBase {
|
|
|
10977
11141
|
field_map?: Record<Field, any>;
|
|
10978
11142
|
inference_config?: IngestInferenceConfig;
|
|
10979
11143
|
}
|
|
11144
|
+
export interface IngestIngest {
|
|
11145
|
+
_redact?: IngestRedact;
|
|
11146
|
+
timestamp: DateTime;
|
|
11147
|
+
pipeline?: Name;
|
|
11148
|
+
}
|
|
10980
11149
|
export interface IngestIpLocationProcessor extends IngestProcessorBase {
|
|
10981
11150
|
database_file?: string;
|
|
10982
11151
|
field: Field;
|
|
@@ -11050,6 +11219,15 @@ export interface IngestPipelineProcessor extends IngestProcessorBase {
|
|
|
11050
11219
|
name: Name;
|
|
11051
11220
|
ignore_missing_pipeline?: boolean;
|
|
11052
11221
|
}
|
|
11222
|
+
export interface IngestPipelineSimulation {
|
|
11223
|
+
doc?: IngestDocumentSimulation;
|
|
11224
|
+
tag?: string;
|
|
11225
|
+
processor_type?: string;
|
|
11226
|
+
status?: WatcherActionStatusOptions;
|
|
11227
|
+
description?: string;
|
|
11228
|
+
ignored_error?: ErrorCause;
|
|
11229
|
+
error?: ErrorCause;
|
|
11230
|
+
}
|
|
11053
11231
|
export interface IngestProcessorBase {
|
|
11054
11232
|
description?: string;
|
|
11055
11233
|
if?: string;
|
|
@@ -11104,6 +11282,9 @@ export interface IngestProcessorContainer {
|
|
|
11104
11282
|
uri_parts?: IngestUriPartsProcessor;
|
|
11105
11283
|
user_agent?: IngestUserAgentProcessor;
|
|
11106
11284
|
}
|
|
11285
|
+
export interface IngestRedact {
|
|
11286
|
+
_is_redacted: boolean;
|
|
11287
|
+
}
|
|
11107
11288
|
export interface IngestRedactProcessor extends IngestProcessorBase {
|
|
11108
11289
|
field: Field;
|
|
11109
11290
|
patterns: GrokPattern[];
|
|
@@ -11153,6 +11334,11 @@ export interface IngestSetSecurityUserProcessor extends IngestProcessorBase {
|
|
|
11153
11334
|
properties?: string[];
|
|
11154
11335
|
}
|
|
11155
11336
|
export type IngestShapeType = 'geo_shape' | 'shape';
|
|
11337
|
+
export interface IngestSimulateDocumentResult {
|
|
11338
|
+
doc?: IngestDocumentSimulation;
|
|
11339
|
+
error?: ErrorCause;
|
|
11340
|
+
processor_results?: IngestPipelineSimulation[];
|
|
11341
|
+
}
|
|
11156
11342
|
export interface IngestSortProcessor extends IngestProcessorBase {
|
|
11157
11343
|
field: Field;
|
|
11158
11344
|
order?: SortOrder;
|
|
@@ -11305,53 +11491,14 @@ export interface IngestPutPipelineRequest extends RequestBase {
|
|
|
11305
11491
|
deprecated?: boolean;
|
|
11306
11492
|
}
|
|
11307
11493
|
export type IngestPutPipelineResponse = AcknowledgedResponseBase;
|
|
11308
|
-
export interface IngestSimulateDocument {
|
|
11309
|
-
_id?: Id;
|
|
11310
|
-
_index?: IndexName;
|
|
11311
|
-
_source: any;
|
|
11312
|
-
}
|
|
11313
|
-
export interface IngestSimulateDocumentSimulationKeys {
|
|
11314
|
-
_id: Id;
|
|
11315
|
-
_index: IndexName;
|
|
11316
|
-
_ingest: IngestSimulateIngest;
|
|
11317
|
-
_routing?: string;
|
|
11318
|
-
_source: Record<string, any>;
|
|
11319
|
-
_version?: SpecUtilsStringified<VersionNumber>;
|
|
11320
|
-
_version_type?: VersionType;
|
|
11321
|
-
}
|
|
11322
|
-
export type IngestSimulateDocumentSimulation = IngestSimulateDocumentSimulationKeys & {
|
|
11323
|
-
[property: string]: string | Id | IndexName | IngestSimulateIngest | Record<string, any> | SpecUtilsStringified<VersionNumber> | VersionType;
|
|
11324
|
-
};
|
|
11325
|
-
export interface IngestSimulateIngest {
|
|
11326
|
-
_redact?: IngestSimulateRedact;
|
|
11327
|
-
timestamp: DateTime;
|
|
11328
|
-
pipeline?: Name;
|
|
11329
|
-
}
|
|
11330
|
-
export interface IngestSimulatePipelineSimulation {
|
|
11331
|
-
doc?: IngestSimulateDocumentSimulation;
|
|
11332
|
-
tag?: string;
|
|
11333
|
-
processor_type?: string;
|
|
11334
|
-
status?: WatcherActionStatusOptions;
|
|
11335
|
-
description?: string;
|
|
11336
|
-
ignored_error?: ErrorCause;
|
|
11337
|
-
error?: ErrorCause;
|
|
11338
|
-
}
|
|
11339
|
-
export interface IngestSimulateRedact {
|
|
11340
|
-
_is_redacted: boolean;
|
|
11341
|
-
}
|
|
11342
11494
|
export interface IngestSimulateRequest extends RequestBase {
|
|
11343
11495
|
id?: Id;
|
|
11344
11496
|
verbose?: boolean;
|
|
11345
|
-
docs:
|
|
11497
|
+
docs: IngestDocument[];
|
|
11346
11498
|
pipeline?: IngestPipeline;
|
|
11347
11499
|
}
|
|
11348
11500
|
export interface IngestSimulateResponse {
|
|
11349
|
-
docs:
|
|
11350
|
-
}
|
|
11351
|
-
export interface IngestSimulateSimulateDocumentResult {
|
|
11352
|
-
doc?: IngestSimulateDocumentSimulation;
|
|
11353
|
-
error?: ErrorCause;
|
|
11354
|
-
processor_results?: IngestSimulatePipelineSimulation[];
|
|
11501
|
+
docs: IngestSimulateDocumentResult[];
|
|
11355
11502
|
}
|
|
11356
11503
|
export interface LicenseLicense {
|
|
11357
11504
|
expiry_date_in_millis: EpochTime<UnitMillis>;
|
|
@@ -11438,10 +11585,10 @@ export interface LicensePostStartTrialResponse {
|
|
|
11438
11585
|
export interface LogstashPipeline {
|
|
11439
11586
|
description: string;
|
|
11440
11587
|
last_modified: DateTime;
|
|
11441
|
-
pipeline_metadata: LogstashPipelineMetadata;
|
|
11442
|
-
username: string;
|
|
11443
11588
|
pipeline: string;
|
|
11589
|
+
pipeline_metadata: LogstashPipelineMetadata;
|
|
11444
11590
|
pipeline_settings: LogstashPipelineSettings;
|
|
11591
|
+
username: string;
|
|
11445
11592
|
}
|
|
11446
11593
|
export interface LogstashPipelineMetadata {
|
|
11447
11594
|
type: string;
|
|
@@ -11484,6 +11631,7 @@ export interface MigrationDeprecationsRequest extends RequestBase {
|
|
|
11484
11631
|
export interface MigrationDeprecationsResponse {
|
|
11485
11632
|
cluster_settings: MigrationDeprecationsDeprecation[];
|
|
11486
11633
|
index_settings: Record<string, MigrationDeprecationsDeprecation[]>;
|
|
11634
|
+
data_streams: Record<string, MigrationDeprecationsDeprecation[]>;
|
|
11487
11635
|
node_settings: MigrationDeprecationsDeprecation[];
|
|
11488
11636
|
ml_settings: MigrationDeprecationsDeprecation[];
|
|
11489
11637
|
}
|
|
@@ -14767,6 +14915,7 @@ export interface SearchApplicationAnalyticsCollection {
|
|
|
14767
14915
|
export interface SearchApplicationEventDataStream {
|
|
14768
14916
|
name: IndexName;
|
|
14769
14917
|
}
|
|
14918
|
+
export type SearchApplicationEventType = 'page_view' | 'search' | 'search_click';
|
|
14770
14919
|
export interface SearchApplicationSearchApplication {
|
|
14771
14920
|
name: Name;
|
|
14772
14921
|
indices: IndexName[];
|
|
@@ -14808,6 +14957,16 @@ export interface SearchApplicationListSearchApplicationListItem {
|
|
|
14808
14957
|
updated_at_millis: EpochTime<UnitMillis>;
|
|
14809
14958
|
analytics_collection_name?: Name;
|
|
14810
14959
|
}
|
|
14960
|
+
export interface SearchApplicationPostBehavioralAnalyticsEventRequest extends RequestBase {
|
|
14961
|
+
collection_name: Name;
|
|
14962
|
+
event_type: SearchApplicationEventType;
|
|
14963
|
+
debug?: boolean;
|
|
14964
|
+
payload?: any;
|
|
14965
|
+
}
|
|
14966
|
+
export interface SearchApplicationPostBehavioralAnalyticsEventResponse {
|
|
14967
|
+
accepted: boolean;
|
|
14968
|
+
event?: any;
|
|
14969
|
+
}
|
|
14811
14970
|
export interface SearchApplicationPutRequest extends RequestBase {
|
|
14812
14971
|
name: Name;
|
|
14813
14972
|
create?: boolean;
|
|
@@ -14823,6 +14982,12 @@ export interface SearchApplicationPutBehavioralAnalyticsRequest extends RequestB
|
|
|
14823
14982
|
name: Name;
|
|
14824
14983
|
}
|
|
14825
14984
|
export type SearchApplicationPutBehavioralAnalyticsResponse = SearchApplicationPutBehavioralAnalyticsAnalyticsAcknowledgeResponseBase;
|
|
14985
|
+
export interface SearchApplicationRenderQueryRequest extends RequestBase {
|
|
14986
|
+
name: Name;
|
|
14987
|
+
params?: Record<string, any>;
|
|
14988
|
+
}
|
|
14989
|
+
export interface SearchApplicationRenderQueryResponse {
|
|
14990
|
+
}
|
|
14826
14991
|
export interface SearchApplicationSearchRequest extends RequestBase {
|
|
14827
14992
|
name: Name;
|
|
14828
14993
|
typed_keys?: boolean;
|
|
@@ -14924,7 +15089,7 @@ export interface SecurityBulkError {
|
|
|
14924
15089
|
export interface SecurityClusterNode {
|
|
14925
15090
|
name: Name;
|
|
14926
15091
|
}
|
|
14927
|
-
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;
|
|
15092
|
+
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;
|
|
14928
15093
|
export interface SecurityCreatedStatus {
|
|
14929
15094
|
created: boolean;
|
|
14930
15095
|
}
|
|
@@ -14944,7 +15109,7 @@ export type SecurityGrantType = 'password' | 'access_token';
|
|
|
14944
15109
|
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;
|
|
14945
15110
|
export interface SecurityIndicesPrivileges {
|
|
14946
15111
|
field_security?: SecurityFieldSecurity;
|
|
14947
|
-
names:
|
|
15112
|
+
names: IndexName | IndexName[];
|
|
14948
15113
|
privileges: SecurityIndexPrivilege[];
|
|
14949
15114
|
query?: SecurityIndicesPrivilegesQuery;
|
|
14950
15115
|
allow_restricted_indices?: boolean;
|
|
@@ -14957,38 +15122,53 @@ export interface SecurityRealmInfo {
|
|
|
14957
15122
|
name: Name;
|
|
14958
15123
|
type: string;
|
|
14959
15124
|
}
|
|
15125
|
+
export type SecurityRemoteClusterPrivilege = 'monitor_enrich' | 'monitor_stats';
|
|
15126
|
+
export interface SecurityRemoteClusterPrivileges {
|
|
15127
|
+
clusters: Names;
|
|
15128
|
+
privileges: SecurityRemoteClusterPrivilege[];
|
|
15129
|
+
}
|
|
14960
15130
|
export interface SecurityRemoteIndicesPrivileges {
|
|
14961
15131
|
clusters: Names;
|
|
14962
15132
|
field_security?: SecurityFieldSecurity;
|
|
14963
|
-
names:
|
|
15133
|
+
names: IndexName | IndexName[];
|
|
14964
15134
|
privileges: SecurityIndexPrivilege[];
|
|
14965
15135
|
query?: SecurityIndicesPrivilegesQuery;
|
|
14966
15136
|
allow_restricted_indices?: boolean;
|
|
14967
15137
|
}
|
|
14968
15138
|
export interface SecurityReplicationAccess {
|
|
14969
|
-
names: IndexName[];
|
|
15139
|
+
names: IndexName | IndexName[];
|
|
14970
15140
|
allow_restricted_indices?: boolean;
|
|
14971
15141
|
}
|
|
15142
|
+
export interface SecurityRestriction {
|
|
15143
|
+
workflows: SecurityRestrictionWorkflow[];
|
|
15144
|
+
}
|
|
15145
|
+
export type SecurityRestrictionWorkflow = 'search_application_query' | string;
|
|
14972
15146
|
export interface SecurityRoleDescriptor {
|
|
14973
15147
|
cluster?: SecurityClusterPrivilege[];
|
|
14974
15148
|
indices?: SecurityIndicesPrivileges[];
|
|
14975
15149
|
index?: SecurityIndicesPrivileges[];
|
|
15150
|
+
remote_indices?: SecurityRemoteIndicesPrivileges[];
|
|
15151
|
+
remote_cluster?: SecurityRemoteClusterPrivileges[];
|
|
14976
15152
|
global?: SecurityGlobalPrivilege[] | SecurityGlobalPrivilege;
|
|
14977
15153
|
applications?: SecurityApplicationPrivileges[];
|
|
14978
15154
|
metadata?: Metadata;
|
|
14979
15155
|
run_as?: string[];
|
|
14980
15156
|
description?: string;
|
|
15157
|
+
restriction?: SecurityRestriction;
|
|
14981
15158
|
transient_metadata?: Record<string, any>;
|
|
14982
15159
|
}
|
|
14983
15160
|
export interface SecurityRoleDescriptorRead {
|
|
14984
15161
|
cluster: SecurityClusterPrivilege[];
|
|
14985
15162
|
indices: SecurityIndicesPrivileges[];
|
|
14986
15163
|
index: SecurityIndicesPrivileges[];
|
|
15164
|
+
remote_indices?: SecurityRemoteIndicesPrivileges[];
|
|
15165
|
+
remote_cluster?: SecurityRemoteClusterPrivileges[];
|
|
14987
15166
|
global?: SecurityGlobalPrivilege[] | SecurityGlobalPrivilege;
|
|
14988
15167
|
applications?: SecurityApplicationPrivileges[];
|
|
14989
15168
|
metadata?: Metadata;
|
|
14990
15169
|
run_as?: string[];
|
|
14991
15170
|
description?: string;
|
|
15171
|
+
restriction?: SecurityRestriction;
|
|
14992
15172
|
transient_metadata?: Record<string, any>;
|
|
14993
15173
|
}
|
|
14994
15174
|
export interface SecurityRoleMapping {
|
|
@@ -15021,10 +15201,13 @@ export interface SecurityRoleTemplateScript {
|
|
|
15021
15201
|
}
|
|
15022
15202
|
export interface SecuritySearchAccess {
|
|
15023
15203
|
field_security?: SecurityFieldSecurity;
|
|
15024
|
-
names: IndexName[];
|
|
15204
|
+
names: IndexName | IndexName[];
|
|
15025
15205
|
query?: SecurityIndicesPrivilegesQuery;
|
|
15026
15206
|
allow_restricted_indices?: boolean;
|
|
15027
15207
|
}
|
|
15208
|
+
export interface SecuritySecuritySettings {
|
|
15209
|
+
index?: IndicesIndexSettings;
|
|
15210
|
+
}
|
|
15028
15211
|
export type SecurityTemplateFormat = 'string' | 'json';
|
|
15029
15212
|
export interface SecurityUser {
|
|
15030
15213
|
email?: string | null;
|
|
@@ -15037,7 +15220,7 @@ export interface SecurityUser {
|
|
|
15037
15220
|
}
|
|
15038
15221
|
export interface SecurityUserIndicesPrivileges {
|
|
15039
15222
|
field_security?: SecurityFieldSecurity[];
|
|
15040
|
-
names:
|
|
15223
|
+
names: IndexName | IndexName[];
|
|
15041
15224
|
privileges: SecurityIndexPrivilege[];
|
|
15042
15225
|
query?: SecurityIndicesPrivilegesQuery[];
|
|
15043
15226
|
allow_restricted_indices: boolean;
|
|
@@ -15115,6 +15298,17 @@ export interface SecurityBulkPutRoleResponse {
|
|
|
15115
15298
|
noop?: string[];
|
|
15116
15299
|
errors?: SecurityBulkError;
|
|
15117
15300
|
}
|
|
15301
|
+
export interface SecurityBulkUpdateApiKeysRequest extends RequestBase {
|
|
15302
|
+
expiration?: Duration;
|
|
15303
|
+
ids: string | string[];
|
|
15304
|
+
metadata?: Metadata;
|
|
15305
|
+
role_descriptors?: Record<string, SecurityRoleDescriptor>;
|
|
15306
|
+
}
|
|
15307
|
+
export interface SecurityBulkUpdateApiKeysResponse {
|
|
15308
|
+
errors?: SecurityBulkError;
|
|
15309
|
+
noops: string[];
|
|
15310
|
+
updated: string[];
|
|
15311
|
+
}
|
|
15118
15312
|
export interface SecurityChangePasswordRequest extends RequestBase {
|
|
15119
15313
|
username?: Username;
|
|
15120
15314
|
refresh?: Refresh;
|
|
@@ -15207,6 +15401,33 @@ export interface SecurityCreateServiceTokenToken {
|
|
|
15207
15401
|
name: Name;
|
|
15208
15402
|
value: string;
|
|
15209
15403
|
}
|
|
15404
|
+
export interface SecurityDelegatePkiAuthentication {
|
|
15405
|
+
username: string;
|
|
15406
|
+
roles: string[];
|
|
15407
|
+
full_name: string | null;
|
|
15408
|
+
email: string | null;
|
|
15409
|
+
token?: Record<string, string>;
|
|
15410
|
+
metadata: Metadata;
|
|
15411
|
+
enabled: boolean;
|
|
15412
|
+
authentication_realm: SecurityDelegatePkiAuthenticationRealm;
|
|
15413
|
+
lookup_realm: SecurityDelegatePkiAuthenticationRealm;
|
|
15414
|
+
authentication_type: string;
|
|
15415
|
+
api_key?: Record<string, string>;
|
|
15416
|
+
}
|
|
15417
|
+
export interface SecurityDelegatePkiAuthenticationRealm {
|
|
15418
|
+
name: string;
|
|
15419
|
+
type: string;
|
|
15420
|
+
domain?: string;
|
|
15421
|
+
}
|
|
15422
|
+
export interface SecurityDelegatePkiRequest extends RequestBase {
|
|
15423
|
+
x509_certificate_chain: string[];
|
|
15424
|
+
}
|
|
15425
|
+
export interface SecurityDelegatePkiResponse {
|
|
15426
|
+
access_token: string;
|
|
15427
|
+
expires_in: long;
|
|
15428
|
+
type: string;
|
|
15429
|
+
authentication?: SecurityDelegatePkiAuthentication;
|
|
15430
|
+
}
|
|
15210
15431
|
export interface SecurityDeletePrivilegesFoundStatus {
|
|
15211
15432
|
found: boolean;
|
|
15212
15433
|
}
|
|
@@ -15304,8 +15525,9 @@ export interface SecurityGetApiKeyResponse {
|
|
|
15304
15525
|
export interface SecurityGetBuiltinPrivilegesRequest extends RequestBase {
|
|
15305
15526
|
}
|
|
15306
15527
|
export interface SecurityGetBuiltinPrivilegesResponse {
|
|
15307
|
-
cluster:
|
|
15528
|
+
cluster: SecurityClusterPrivilege[];
|
|
15308
15529
|
index: Indices;
|
|
15530
|
+
remote_cluster: SecurityRemoteClusterPrivilege[];
|
|
15309
15531
|
}
|
|
15310
15532
|
export interface SecurityGetPrivilegesRequest extends RequestBase {
|
|
15311
15533
|
application?: Name;
|
|
@@ -15317,8 +15539,10 @@ export interface SecurityGetRoleRequest extends RequestBase {
|
|
|
15317
15539
|
}
|
|
15318
15540
|
export type SecurityGetRoleResponse = Record<string, SecurityGetRoleRole>;
|
|
15319
15541
|
export interface SecurityGetRoleRole {
|
|
15320
|
-
cluster:
|
|
15542
|
+
cluster: SecurityClusterPrivilege[];
|
|
15321
15543
|
indices: SecurityIndicesPrivileges[];
|
|
15544
|
+
remote_indices?: SecurityRemoteIndicesPrivileges[];
|
|
15545
|
+
remote_cluster?: SecurityRemoteClusterPrivileges[];
|
|
15322
15546
|
metadata: Metadata;
|
|
15323
15547
|
run_as: string[];
|
|
15324
15548
|
transient_metadata?: Record<string, any>;
|
|
@@ -15355,6 +15579,14 @@ export interface SecurityGetServiceCredentialsResponse {
|
|
|
15355
15579
|
tokens: Record<string, Metadata>;
|
|
15356
15580
|
nodes_credentials: SecurityGetServiceCredentialsNodesCredentials;
|
|
15357
15581
|
}
|
|
15582
|
+
export interface SecurityGetSettingsRequest extends RequestBase {
|
|
15583
|
+
master_timeout?: Duration;
|
|
15584
|
+
}
|
|
15585
|
+
export interface SecurityGetSettingsResponse {
|
|
15586
|
+
security: SecuritySecuritySettings;
|
|
15587
|
+
'security-profile': SecuritySecuritySettings;
|
|
15588
|
+
'security-tokens': SecuritySecuritySettings;
|
|
15589
|
+
}
|
|
15358
15590
|
export type SecurityGetTokenAccessTokenGrantType = 'password' | 'client_credentials' | '_kerberos' | 'refresh_token';
|
|
15359
15591
|
export interface SecurityGetTokenAuthenticatedUser extends SecurityUser {
|
|
15360
15592
|
authentication_realm: SecurityGetTokenUserRealm;
|
|
@@ -15507,6 +15739,38 @@ export interface SecurityInvalidateTokenResponse {
|
|
|
15507
15739
|
invalidated_tokens: long;
|
|
15508
15740
|
previously_invalidated_tokens: long;
|
|
15509
15741
|
}
|
|
15742
|
+
export interface SecurityOidcAuthenticateRequest extends RequestBase {
|
|
15743
|
+
nonce: string;
|
|
15744
|
+
realm?: string;
|
|
15745
|
+
redirect_uri: string;
|
|
15746
|
+
state: string;
|
|
15747
|
+
}
|
|
15748
|
+
export interface SecurityOidcAuthenticateResponse {
|
|
15749
|
+
access_token: string;
|
|
15750
|
+
expires_in: integer;
|
|
15751
|
+
refresh_token: string;
|
|
15752
|
+
type: string;
|
|
15753
|
+
}
|
|
15754
|
+
export interface SecurityOidcLogoutRequest extends RequestBase {
|
|
15755
|
+
access_token: string;
|
|
15756
|
+
refresh_token?: string;
|
|
15757
|
+
}
|
|
15758
|
+
export interface SecurityOidcLogoutResponse {
|
|
15759
|
+
redirect: string;
|
|
15760
|
+
}
|
|
15761
|
+
export interface SecurityOidcPrepareAuthenticationRequest extends RequestBase {
|
|
15762
|
+
iss?: string;
|
|
15763
|
+
login_hint?: string;
|
|
15764
|
+
nonce?: string;
|
|
15765
|
+
realm?: string;
|
|
15766
|
+
state?: string;
|
|
15767
|
+
}
|
|
15768
|
+
export interface SecurityOidcPrepareAuthenticationResponse {
|
|
15769
|
+
nonce: string;
|
|
15770
|
+
realm: string;
|
|
15771
|
+
redirect: string;
|
|
15772
|
+
state: string;
|
|
15773
|
+
}
|
|
15510
15774
|
export interface SecurityPutPrivilegesActions {
|
|
15511
15775
|
actions: string[];
|
|
15512
15776
|
application?: string;
|
|
@@ -15526,6 +15790,7 @@ export interface SecurityPutRoleRequest extends RequestBase {
|
|
|
15526
15790
|
global?: Record<string, any>;
|
|
15527
15791
|
indices?: SecurityIndicesPrivileges[];
|
|
15528
15792
|
remote_indices?: SecurityRemoteIndicesPrivileges[];
|
|
15793
|
+
remote_cluster?: SecurityRemoteClusterPrivileges[];
|
|
15529
15794
|
metadata?: Metadata;
|
|
15530
15795
|
run_as?: string[];
|
|
15531
15796
|
description?: string;
|
|
@@ -15762,6 +16027,16 @@ export interface SecurityUpdateCrossClusterApiKeyRequest extends RequestBase {
|
|
|
15762
16027
|
export interface SecurityUpdateCrossClusterApiKeyResponse {
|
|
15763
16028
|
updated: boolean;
|
|
15764
16029
|
}
|
|
16030
|
+
export interface SecurityUpdateSettingsRequest extends RequestBase {
|
|
16031
|
+
master_timeout?: Duration;
|
|
16032
|
+
timeout?: Duration;
|
|
16033
|
+
security?: SecuritySecuritySettings;
|
|
16034
|
+
'security-profile'?: SecuritySecuritySettings;
|
|
16035
|
+
'security-tokens'?: SecuritySecuritySettings;
|
|
16036
|
+
}
|
|
16037
|
+
export interface SecurityUpdateSettingsResponse {
|
|
16038
|
+
acknowledged: boolean;
|
|
16039
|
+
}
|
|
15765
16040
|
export interface SecurityUpdateUserProfileDataRequest extends RequestBase {
|
|
15766
16041
|
uid: SecurityUserProfileId;
|
|
15767
16042
|
if_seq_no?: SequenceNumber;
|
|
@@ -15817,6 +16092,33 @@ export interface ShutdownPutNodeRequest extends RequestBase {
|
|
|
15817
16092
|
target_node_name?: string;
|
|
15818
16093
|
}
|
|
15819
16094
|
export type ShutdownPutNodeResponse = AcknowledgedResponseBase;
|
|
16095
|
+
export interface SimulateIngestIngestDocumentSimulationKeys {
|
|
16096
|
+
_id: Id;
|
|
16097
|
+
_index: IndexName;
|
|
16098
|
+
_source: Record<string, any>;
|
|
16099
|
+
_version: SpecUtilsStringified<VersionNumber>;
|
|
16100
|
+
executed_pipelines: string[];
|
|
16101
|
+
ignored_fields?: Record<string, string>[];
|
|
16102
|
+
error?: ErrorCause;
|
|
16103
|
+
}
|
|
16104
|
+
export type SimulateIngestIngestDocumentSimulation = SimulateIngestIngestDocumentSimulationKeys & {
|
|
16105
|
+
[property: string]: string | Id | IndexName | Record<string, any> | SpecUtilsStringified<VersionNumber> | string[] | Record<string, string>[] | ErrorCause;
|
|
16106
|
+
};
|
|
16107
|
+
export interface SimulateIngestRequest extends RequestBase {
|
|
16108
|
+
index?: IndexName;
|
|
16109
|
+
pipeline?: PipelineName;
|
|
16110
|
+
docs: IngestDocument[];
|
|
16111
|
+
component_template_substitutions?: Record<string, ClusterComponentTemplateNode>;
|
|
16112
|
+
index_template_subtitutions?: Record<string, IndicesIndexTemplate>;
|
|
16113
|
+
mapping_addition?: MappingTypeMapping;
|
|
16114
|
+
pipeline_substitutions?: Record<string, IngestPipeline>;
|
|
16115
|
+
}
|
|
16116
|
+
export interface SimulateIngestResponse {
|
|
16117
|
+
docs: SimulateIngestSimulateIngestDocumentResult[];
|
|
16118
|
+
}
|
|
16119
|
+
export interface SimulateIngestSimulateIngestDocumentResult {
|
|
16120
|
+
doc?: SimulateIngestIngestDocumentSimulation;
|
|
16121
|
+
}
|
|
15820
16122
|
export interface SlmConfiguration {
|
|
15821
16123
|
ignore_unavailable?: boolean;
|
|
15822
16124
|
indices?: Indices;
|
|
@@ -15877,22 +16179,32 @@ export interface SlmStatistics {
|
|
|
15877
16179
|
}
|
|
15878
16180
|
export interface SlmDeleteLifecycleRequest extends RequestBase {
|
|
15879
16181
|
policy_id: Name;
|
|
16182
|
+
master_timeout?: Duration;
|
|
16183
|
+
timeout?: Duration;
|
|
15880
16184
|
}
|
|
15881
16185
|
export type SlmDeleteLifecycleResponse = AcknowledgedResponseBase;
|
|
15882
16186
|
export interface SlmExecuteLifecycleRequest extends RequestBase {
|
|
15883
16187
|
policy_id: Name;
|
|
16188
|
+
master_timeout?: Duration;
|
|
16189
|
+
timeout?: Duration;
|
|
15884
16190
|
}
|
|
15885
16191
|
export interface SlmExecuteLifecycleResponse {
|
|
15886
16192
|
snapshot_name: Name;
|
|
15887
16193
|
}
|
|
15888
16194
|
export interface SlmExecuteRetentionRequest extends RequestBase {
|
|
16195
|
+
master_timeout?: Duration;
|
|
16196
|
+
timeout?: Duration;
|
|
15889
16197
|
}
|
|
15890
16198
|
export type SlmExecuteRetentionResponse = AcknowledgedResponseBase;
|
|
15891
16199
|
export interface SlmGetLifecycleRequest extends RequestBase {
|
|
15892
16200
|
policy_id?: Names;
|
|
16201
|
+
master_timeout?: Duration;
|
|
16202
|
+
timeout?: Duration;
|
|
15893
16203
|
}
|
|
15894
16204
|
export type SlmGetLifecycleResponse = Record<Id, SlmSnapshotLifecycle>;
|
|
15895
16205
|
export interface SlmGetStatsRequest extends RequestBase {
|
|
16206
|
+
master_timeout?: Duration;
|
|
16207
|
+
timeout?: Duration;
|
|
15896
16208
|
}
|
|
15897
16209
|
export interface SlmGetStatsResponse {
|
|
15898
16210
|
retention_deletion_time: Duration;
|
|
@@ -15907,6 +16219,8 @@ export interface SlmGetStatsResponse {
|
|
|
15907
16219
|
policy_stats: string[];
|
|
15908
16220
|
}
|
|
15909
16221
|
export interface SlmGetStatusRequest extends RequestBase {
|
|
16222
|
+
master_timeout?: Duration;
|
|
16223
|
+
timeout?: Duration;
|
|
15910
16224
|
}
|
|
15911
16225
|
export interface SlmGetStatusResponse {
|
|
15912
16226
|
operation_mode: LifecycleOperationMode;
|
|
@@ -15923,9 +16237,13 @@ export interface SlmPutLifecycleRequest extends RequestBase {
|
|
|
15923
16237
|
}
|
|
15924
16238
|
export type SlmPutLifecycleResponse = AcknowledgedResponseBase;
|
|
15925
16239
|
export interface SlmStartRequest extends RequestBase {
|
|
16240
|
+
master_timeout?: Duration;
|
|
16241
|
+
timeout?: Duration;
|
|
15926
16242
|
}
|
|
15927
16243
|
export type SlmStartResponse = AcknowledgedResponseBase;
|
|
15928
16244
|
export interface SlmStopRequest extends RequestBase {
|
|
16245
|
+
master_timeout?: Duration;
|
|
16246
|
+
timeout?: Duration;
|
|
15929
16247
|
}
|
|
15930
16248
|
export type SlmStopResponse = AcknowledgedResponseBase;
|
|
15931
16249
|
export interface SnapshotAzureRepository extends SnapshotRepositoryBase {
|
|
@@ -16186,6 +16504,104 @@ export interface SnapshotGetRepositoryRequest extends RequestBase {
|
|
|
16186
16504
|
master_timeout?: Duration;
|
|
16187
16505
|
}
|
|
16188
16506
|
export type SnapshotGetRepositoryResponse = Record<string, SnapshotRepository>;
|
|
16507
|
+
export interface SnapshotRepositoryAnalyzeBlobDetails {
|
|
16508
|
+
name: string;
|
|
16509
|
+
overwritten: boolean;
|
|
16510
|
+
read_early: boolean;
|
|
16511
|
+
read_end: long;
|
|
16512
|
+
read_start: long;
|
|
16513
|
+
reads: SnapshotRepositoryAnalyzeReadBlobDetails;
|
|
16514
|
+
size: ByteSize;
|
|
16515
|
+
size_bytes: long;
|
|
16516
|
+
}
|
|
16517
|
+
export interface SnapshotRepositoryAnalyzeDetailsInfo {
|
|
16518
|
+
blob: SnapshotRepositoryAnalyzeBlobDetails;
|
|
16519
|
+
overwrite_elapsed?: Duration;
|
|
16520
|
+
overwrite_elapsed_nanos?: DurationValue<UnitNanos>;
|
|
16521
|
+
write_elapsed: Duration;
|
|
16522
|
+
write_elapsed_nanos: DurationValue<UnitNanos>;
|
|
16523
|
+
write_throttled: Duration;
|
|
16524
|
+
write_throttled_nanos: DurationValue<UnitNanos>;
|
|
16525
|
+
writer_node: SnapshotRepositoryAnalyzeSnapshotNodeInfo;
|
|
16526
|
+
}
|
|
16527
|
+
export interface SnapshotRepositoryAnalyzeReadBlobDetails {
|
|
16528
|
+
before_write_complete?: boolean;
|
|
16529
|
+
elapsed?: Duration;
|
|
16530
|
+
elapsed_nanos?: DurationValue<UnitNanos>;
|
|
16531
|
+
first_byte_time?: Duration;
|
|
16532
|
+
first_byte_time_nanos: DurationValue<UnitNanos>;
|
|
16533
|
+
found: boolean;
|
|
16534
|
+
node: SnapshotRepositoryAnalyzeSnapshotNodeInfo;
|
|
16535
|
+
throttled?: Duration;
|
|
16536
|
+
throttled_nanos?: DurationValue<UnitNanos>;
|
|
16537
|
+
}
|
|
16538
|
+
export interface SnapshotRepositoryAnalyzeReadSummaryInfo {
|
|
16539
|
+
count: integer;
|
|
16540
|
+
max_wait: Duration;
|
|
16541
|
+
max_wait_nanos: DurationValue<UnitNanos>;
|
|
16542
|
+
total_elapsed: Duration;
|
|
16543
|
+
total_elapsed_nanos: DurationValue<UnitNanos>;
|
|
16544
|
+
total_size: ByteSize;
|
|
16545
|
+
total_size_bytes: long;
|
|
16546
|
+
total_throttled: Duration;
|
|
16547
|
+
total_throttled_nanos: DurationValue<UnitNanos>;
|
|
16548
|
+
total_wait: Duration;
|
|
16549
|
+
total_wait_nanos: DurationValue<UnitNanos>;
|
|
16550
|
+
}
|
|
16551
|
+
export interface SnapshotRepositoryAnalyzeRequest extends RequestBase {
|
|
16552
|
+
name: Name;
|
|
16553
|
+
blob_count?: integer;
|
|
16554
|
+
concurrency?: integer;
|
|
16555
|
+
detailed?: boolean;
|
|
16556
|
+
early_read_node_count?: integer;
|
|
16557
|
+
max_blob_size?: ByteSize;
|
|
16558
|
+
max_total_data_size?: ByteSize;
|
|
16559
|
+
rare_action_probability?: double;
|
|
16560
|
+
rarely_abort_writes?: boolean;
|
|
16561
|
+
read_node_count?: integer;
|
|
16562
|
+
register_operation_count?: integer;
|
|
16563
|
+
seed?: integer;
|
|
16564
|
+
timeout?: Duration;
|
|
16565
|
+
}
|
|
16566
|
+
export interface SnapshotRepositoryAnalyzeResponse {
|
|
16567
|
+
blob_count: integer;
|
|
16568
|
+
blob_path: string;
|
|
16569
|
+
concurrency: integer;
|
|
16570
|
+
coordinating_node: SnapshotRepositoryAnalyzeSnapshotNodeInfo;
|
|
16571
|
+
delete_elapsed: Duration;
|
|
16572
|
+
delete_elapsed_nanos: DurationValue<UnitNanos>;
|
|
16573
|
+
details: SnapshotRepositoryAnalyzeDetailsInfo;
|
|
16574
|
+
early_read_node_count: integer;
|
|
16575
|
+
issues_detected: string[];
|
|
16576
|
+
listing_elapsed: Duration;
|
|
16577
|
+
listing_elapsed_nanos: DurationValue<UnitNanos>;
|
|
16578
|
+
max_blob_size: ByteSize;
|
|
16579
|
+
max_blob_size_bytes: long;
|
|
16580
|
+
max_total_data_size: ByteSize;
|
|
16581
|
+
max_total_data_size_bytes: long;
|
|
16582
|
+
rare_action_probability: double;
|
|
16583
|
+
read_node_count: integer;
|
|
16584
|
+
repository: string;
|
|
16585
|
+
seed: long;
|
|
16586
|
+
summary: SnapshotRepositoryAnalyzeSummaryInfo;
|
|
16587
|
+
}
|
|
16588
|
+
export interface SnapshotRepositoryAnalyzeSnapshotNodeInfo {
|
|
16589
|
+
id: Id;
|
|
16590
|
+
name: Name;
|
|
16591
|
+
}
|
|
16592
|
+
export interface SnapshotRepositoryAnalyzeSummaryInfo {
|
|
16593
|
+
read: SnapshotRepositoryAnalyzeReadSummaryInfo;
|
|
16594
|
+
write: SnapshotRepositoryAnalyzeWriteSummaryInfo;
|
|
16595
|
+
}
|
|
16596
|
+
export interface SnapshotRepositoryAnalyzeWriteSummaryInfo {
|
|
16597
|
+
count: integer;
|
|
16598
|
+
total_elapsed: Duration;
|
|
16599
|
+
total_elapsed_nanos: DurationValue<UnitNanos>;
|
|
16600
|
+
total_size: ByteSize;
|
|
16601
|
+
total_size_bytes: long;
|
|
16602
|
+
total_throttled: Duration;
|
|
16603
|
+
total_throttled_nanos: long;
|
|
16604
|
+
}
|
|
16189
16605
|
export interface SnapshotRepositoryVerifyIntegrityRequest extends RequestBase {
|
|
16190
16606
|
name: Names;
|
|
16191
16607
|
meta_thread_pool_concurrency?: integer;
|
|
@@ -16277,38 +16693,39 @@ export interface SqlGetAsyncStatusRequest extends RequestBase {
|
|
|
16277
16693
|
id: Id;
|
|
16278
16694
|
}
|
|
16279
16695
|
export interface SqlGetAsyncStatusResponse {
|
|
16696
|
+
expiration_time_in_millis: EpochTime<UnitMillis>;
|
|
16280
16697
|
id: string;
|
|
16281
16698
|
is_running: boolean;
|
|
16282
16699
|
is_partial: boolean;
|
|
16283
16700
|
start_time_in_millis: EpochTime<UnitMillis>;
|
|
16284
|
-
expiration_time_in_millis: EpochTime<UnitMillis>;
|
|
16285
16701
|
completion_status?: uint;
|
|
16286
16702
|
}
|
|
16287
16703
|
export interface SqlQueryRequest extends RequestBase {
|
|
16288
16704
|
format?: SqlQuerySqlFormat;
|
|
16705
|
+
allow_partial_search_results?: boolean;
|
|
16289
16706
|
catalog?: string;
|
|
16290
16707
|
columnar?: boolean;
|
|
16291
16708
|
cursor?: string;
|
|
16292
16709
|
fetch_size?: integer;
|
|
16710
|
+
field_multi_value_leniency?: boolean;
|
|
16293
16711
|
filter?: QueryDslQueryContainer;
|
|
16712
|
+
index_using_frozen?: boolean;
|
|
16713
|
+
keep_alive?: Duration;
|
|
16714
|
+
keep_on_completion?: boolean;
|
|
16715
|
+
page_timeout?: Duration;
|
|
16716
|
+
params?: Record<string, any>;
|
|
16294
16717
|
query?: string;
|
|
16295
16718
|
request_timeout?: Duration;
|
|
16296
|
-
page_timeout?: Duration;
|
|
16297
|
-
time_zone?: TimeZone;
|
|
16298
|
-
field_multi_value_leniency?: boolean;
|
|
16299
16719
|
runtime_mappings?: MappingRuntimeFields;
|
|
16720
|
+
time_zone?: TimeZone;
|
|
16300
16721
|
wait_for_completion_timeout?: Duration;
|
|
16301
|
-
params?: Record<string, any>;
|
|
16302
|
-
keep_alive?: Duration;
|
|
16303
|
-
keep_on_completion?: boolean;
|
|
16304
|
-
index_using_frozen?: boolean;
|
|
16305
16722
|
}
|
|
16306
16723
|
export interface SqlQueryResponse {
|
|
16724
|
+
columns?: SqlColumn[];
|
|
16725
|
+
cursor?: string;
|
|
16307
16726
|
id?: Id;
|
|
16308
16727
|
is_running?: boolean;
|
|
16309
16728
|
is_partial?: boolean;
|
|
16310
|
-
columns?: SqlColumn[];
|
|
16311
|
-
cursor?: string;
|
|
16312
16729
|
rows: SqlRow[];
|
|
16313
16730
|
}
|
|
16314
16731
|
export type SqlQuerySqlFormat = 'csv' | 'json' | 'tsv' | 'txt' | 'yaml' | 'cbor' | 'smile';
|
|
@@ -16466,10 +16883,11 @@ export interface TasksListRequest extends RequestBase {
|
|
|
16466
16883
|
wait_for_completion?: boolean;
|
|
16467
16884
|
}
|
|
16468
16885
|
export type TasksListResponse = TasksTaskListResponseBase;
|
|
16469
|
-
export
|
|
16886
|
+
export type TextStructureEcsCompatibilityType = 'disabled' | 'v1';
|
|
16887
|
+
export interface TextStructureFieldStat {
|
|
16470
16888
|
count: integer;
|
|
16471
16889
|
cardinality: integer;
|
|
16472
|
-
top_hits:
|
|
16890
|
+
top_hits: TextStructureTopHit[];
|
|
16473
16891
|
mean_value?: integer;
|
|
16474
16892
|
median_value?: integer;
|
|
16475
16893
|
max_value?: integer;
|
|
@@ -16477,6 +16895,75 @@ export interface TextStructureFindStructureFieldStat {
|
|
|
16477
16895
|
earliest?: string;
|
|
16478
16896
|
latest?: string;
|
|
16479
16897
|
}
|
|
16898
|
+
export type TextStructureFormatType = 'delimited' | 'ndjson' | 'semi_structured_text' | 'xml';
|
|
16899
|
+
export interface TextStructureTopHit {
|
|
16900
|
+
count: long;
|
|
16901
|
+
value: any;
|
|
16902
|
+
}
|
|
16903
|
+
export interface TextStructureFindFieldStructureRequest extends RequestBase {
|
|
16904
|
+
column_names?: string;
|
|
16905
|
+
delimiter?: string;
|
|
16906
|
+
documents_to_sample?: uint;
|
|
16907
|
+
ecs_compatibility?: TextStructureEcsCompatibilityType;
|
|
16908
|
+
explain?: boolean;
|
|
16909
|
+
field: Field;
|
|
16910
|
+
format?: TextStructureFormatType;
|
|
16911
|
+
grok_pattern?: GrokPattern;
|
|
16912
|
+
index: IndexName;
|
|
16913
|
+
quote?: string;
|
|
16914
|
+
should_trim_fields?: boolean;
|
|
16915
|
+
timeout?: Duration;
|
|
16916
|
+
timestamp_field?: Field;
|
|
16917
|
+
timestamp_format?: string;
|
|
16918
|
+
}
|
|
16919
|
+
export interface TextStructureFindFieldStructureResponse {
|
|
16920
|
+
charset: string;
|
|
16921
|
+
ecs_compatibility?: TextStructureEcsCompatibilityType;
|
|
16922
|
+
field_stats: Record<Field, TextStructureFieldStat>;
|
|
16923
|
+
format: TextStructureFormatType;
|
|
16924
|
+
grok_pattern?: GrokPattern;
|
|
16925
|
+
java_timestamp_formats?: string[];
|
|
16926
|
+
joda_timestamp_formats?: string[];
|
|
16927
|
+
ingest_pipeline: IngestPipelineConfig;
|
|
16928
|
+
mappings: MappingTypeMapping;
|
|
16929
|
+
multiline_start_pattern?: string;
|
|
16930
|
+
need_client_timezone: boolean;
|
|
16931
|
+
num_lines_analyzed: integer;
|
|
16932
|
+
num_messages_analyzed: integer;
|
|
16933
|
+
sample_start: string;
|
|
16934
|
+
timestamp_field?: Field;
|
|
16935
|
+
}
|
|
16936
|
+
export interface TextStructureFindMessageStructureRequest extends RequestBase {
|
|
16937
|
+
column_names?: string;
|
|
16938
|
+
delimiter?: string;
|
|
16939
|
+
ecs_compatibility?: TextStructureEcsCompatibilityType;
|
|
16940
|
+
explain?: boolean;
|
|
16941
|
+
format?: TextStructureFormatType;
|
|
16942
|
+
grok_pattern?: GrokPattern;
|
|
16943
|
+
quote?: string;
|
|
16944
|
+
should_trim_fields?: boolean;
|
|
16945
|
+
timeout?: Duration;
|
|
16946
|
+
timestamp_field?: Field;
|
|
16947
|
+
timestamp_format?: string;
|
|
16948
|
+
messages: string[];
|
|
16949
|
+
}
|
|
16950
|
+
export interface TextStructureFindMessageStructureResponse {
|
|
16951
|
+
charset: string;
|
|
16952
|
+
ecs_compatibility?: TextStructureEcsCompatibilityType;
|
|
16953
|
+
field_stats: Record<Field, TextStructureFieldStat>;
|
|
16954
|
+
format: TextStructureFormatType;
|
|
16955
|
+
grok_pattern?: GrokPattern;
|
|
16956
|
+
java_timestamp_formats?: string[];
|
|
16957
|
+
joda_timestamp_formats?: string[];
|
|
16958
|
+
ingest_pipeline: IngestPipelineConfig;
|
|
16959
|
+
mappings: MappingTypeMapping;
|
|
16960
|
+
multiline_start_pattern?: string;
|
|
16961
|
+
need_client_timezone: boolean;
|
|
16962
|
+
num_lines_analyzed: integer;
|
|
16963
|
+
num_messages_analyzed: integer;
|
|
16964
|
+
sample_start: string;
|
|
16965
|
+
timestamp_field?: Field;
|
|
16966
|
+
}
|
|
16480
16967
|
export interface TextStructureFindStructureRequest<TJsonDocument = unknown> {
|
|
16481
16968
|
charset?: string;
|
|
16482
16969
|
column_names?: string;
|
|
@@ -16500,7 +16987,7 @@ export interface TextStructureFindStructureResponse {
|
|
|
16500
16987
|
has_header_row?: boolean;
|
|
16501
16988
|
has_byte_order_marker: boolean;
|
|
16502
16989
|
format: string;
|
|
16503
|
-
field_stats: Record<Field,
|
|
16990
|
+
field_stats: Record<Field, TextStructureFieldStat>;
|
|
16504
16991
|
sample_start: string;
|
|
16505
16992
|
num_messages_analyzed: integer;
|
|
16506
16993
|
mappings: MappingTypeMapping;
|
|
@@ -16519,10 +17006,6 @@ export interface TextStructureFindStructureResponse {
|
|
|
16519
17006
|
should_trim_fields?: boolean;
|
|
16520
17007
|
ingest_pipeline: IngestPipelineConfig;
|
|
16521
17008
|
}
|
|
16522
|
-
export interface TextStructureFindStructureTopHit {
|
|
16523
|
-
count: long;
|
|
16524
|
-
value: any;
|
|
16525
|
-
}
|
|
16526
17009
|
export interface TextStructureTestGrokPatternMatchedField {
|
|
16527
17010
|
match: string;
|
|
16528
17011
|
offset: integer;
|
|
@@ -17258,6 +17741,12 @@ export interface WatcherExecuteWatchWatchRecord {
|
|
|
17258
17741
|
watch_id: Id;
|
|
17259
17742
|
status?: WatcherWatchStatus;
|
|
17260
17743
|
}
|
|
17744
|
+
export interface WatcherGetSettingsRequest extends RequestBase {
|
|
17745
|
+
master_timeout?: Duration;
|
|
17746
|
+
}
|
|
17747
|
+
export interface WatcherGetSettingsResponse {
|
|
17748
|
+
index: IndicesIndexSettings;
|
|
17749
|
+
}
|
|
17261
17750
|
export interface WatcherGetWatchRequest extends RequestBase {
|
|
17262
17751
|
id: Name;
|
|
17263
17752
|
}
|
|
@@ -17280,7 +17769,8 @@ export interface WatcherPutWatchRequest extends RequestBase {
|
|
|
17280
17769
|
condition?: WatcherConditionContainer;
|
|
17281
17770
|
input?: WatcherInputContainer;
|
|
17282
17771
|
metadata?: Metadata;
|
|
17283
|
-
throttle_period?:
|
|
17772
|
+
throttle_period?: Duration;
|
|
17773
|
+
throttle_period_in_millis?: DurationValue<UnitMillis>;
|
|
17284
17774
|
transform?: TransformContainer;
|
|
17285
17775
|
trigger?: WatcherTriggerContainer;
|
|
17286
17776
|
}
|
|
@@ -17336,8 +17826,18 @@ export interface WatcherStatsWatcherNodeStats {
|
|
|
17336
17826
|
}
|
|
17337
17827
|
export type WatcherStatsWatcherState = 'stopped' | 'starting' | 'started' | 'stopping';
|
|
17338
17828
|
export interface WatcherStopRequest extends RequestBase {
|
|
17829
|
+
master_timeout?: Duration;
|
|
17339
17830
|
}
|
|
17340
17831
|
export type WatcherStopResponse = AcknowledgedResponseBase;
|
|
17832
|
+
export interface WatcherUpdateSettingsRequest extends RequestBase {
|
|
17833
|
+
master_timeout?: Duration;
|
|
17834
|
+
timeout?: Duration;
|
|
17835
|
+
'index.auto_expand_replicas'?: string;
|
|
17836
|
+
'index.number_of_replicas'?: integer;
|
|
17837
|
+
}
|
|
17838
|
+
export interface WatcherUpdateSettingsResponse {
|
|
17839
|
+
acknowledged: boolean;
|
|
17840
|
+
}
|
|
17341
17841
|
export interface XpackInfoBuildInformation {
|
|
17342
17842
|
date: DateTime;
|
|
17343
17843
|
hash: string;
|
|
@@ -17516,7 +18016,7 @@ export interface XpackUsageIlm {
|
|
|
17516
18016
|
}
|
|
17517
18017
|
export interface XpackUsageIlmPolicyStatistics {
|
|
17518
18018
|
indices_managed: integer;
|
|
17519
|
-
phases:
|
|
18019
|
+
phases: XpackUsagePhases;
|
|
17520
18020
|
}
|
|
17521
18021
|
export interface XpackUsageInvocations {
|
|
17522
18022
|
total: long;
|
|
@@ -17609,6 +18109,17 @@ export interface XpackUsageMonitoring extends XpackUsageBase {
|
|
|
17609
18109
|
collection_enabled: boolean;
|
|
17610
18110
|
enabled_exporters: Record<string, long>;
|
|
17611
18111
|
}
|
|
18112
|
+
export interface XpackUsagePhase {
|
|
18113
|
+
actions: string[];
|
|
18114
|
+
min_age: DurationValue<UnitMillis>;
|
|
18115
|
+
}
|
|
18116
|
+
export interface XpackUsagePhases {
|
|
18117
|
+
cold?: XpackUsagePhase;
|
|
18118
|
+
delete?: XpackUsagePhase;
|
|
18119
|
+
frozen?: XpackUsagePhase;
|
|
18120
|
+
hot?: XpackUsagePhase;
|
|
18121
|
+
warm?: XpackUsagePhase;
|
|
18122
|
+
}
|
|
17612
18123
|
export interface XpackUsageQuery {
|
|
17613
18124
|
count?: integer;
|
|
17614
18125
|
failed?: integer;
|
|
@@ -17784,8 +18295,6 @@ export interface SpecUtilsCommonCatQueryParameters {
|
|
|
17784
18295
|
format?: string;
|
|
17785
18296
|
h?: Names;
|
|
17786
18297
|
help?: boolean;
|
|
17787
|
-
local?: boolean;
|
|
17788
|
-
master_timeout?: Duration;
|
|
17789
18298
|
s?: Names;
|
|
17790
18299
|
v?: boolean;
|
|
17791
18300
|
}
|