@elastic/elasticsearch 8.16.2 → 9.0.0-alpha.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 +16 -17
- package/lib/api/api/async_search.js +5 -16
- package/lib/api/api/async_search.js.map +1 -1
- package/lib/api/api/autoscaling.d.ts +16 -17
- package/lib/api/api/autoscaling.js +5 -7
- package/lib/api/api/autoscaling.js.map +1 -1
- package/lib/api/api/bulk.d.ts +4 -5
- package/lib/api/api/bulk.js +3 -5
- package/lib/api/api/bulk.js.map +1 -1
- package/lib/api/api/capabilities.d.ts +3 -4
- package/lib/api/api/capabilities.js +2 -2
- package/lib/api/api/capabilities.js.map +1 -1
- package/lib/api/api/cat.d.ts +121 -122
- package/lib/api/api/cat.js +26 -26
- package/lib/api/api/cat.js.map +1 -1
- package/lib/api/api/ccr.d.ts +52 -53
- package/lib/api/api/ccr.js +18 -54
- package/lib/api/api/ccr.js.map +1 -1
- package/lib/api/api/clear_scroll.d.ts +4 -5
- package/lib/api/api/clear_scroll.js +3 -12
- package/lib/api/api/clear_scroll.js.map +1 -1
- package/lib/api/api/close_point_in_time.d.ts +4 -5
- package/lib/api/api/close_point_in_time.js +3 -12
- package/lib/api/api/close_point_in_time.js.map +1 -1
- package/lib/api/api/cluster.d.ts +64 -65
- package/lib/api/api/cluster.js +20 -56
- package/lib/api/api/cluster.js.map +1 -1
- package/lib/api/api/connector.d.ts +132 -133
- package/lib/api/api/connector.js +50 -194
- package/lib/api/api/connector.js.map +1 -1
- package/lib/api/api/count.d.ts +5 -6
- package/lib/api/api/count.js +3 -12
- package/lib/api/api/count.js.map +1 -1
- package/lib/api/api/create.d.ts +4 -5
- package/lib/api/api/create.js +3 -5
- package/lib/api/api/create.js.map +1 -1
- package/lib/api/api/dangling_indices.d.ts +12 -13
- package/lib/api/api/dangling_indices.js +3 -3
- package/lib/api/api/dangling_indices.js.map +1 -1
- package/lib/api/api/delete.d.ts +4 -5
- package/lib/api/api/delete.js +2 -2
- package/lib/api/api/delete.js.map +1 -1
- package/lib/api/api/delete_by_query.d.ts +4 -5
- package/lib/api/api/delete_by_query.js +3 -12
- package/lib/api/api/delete_by_query.js.map +1 -1
- package/lib/api/api/delete_by_query_rethrottle.d.ts +4 -5
- package/lib/api/api/delete_by_query_rethrottle.js +2 -2
- package/lib/api/api/delete_by_query_rethrottle.js.map +1 -1
- package/lib/api/api/delete_script.d.ts +4 -5
- package/lib/api/api/delete_script.js +2 -2
- package/lib/api/api/delete_script.js.map +1 -1
- package/lib/api/api/enrich.d.ts +21 -22
- package/lib/api/api/enrich.js +6 -15
- package/lib/api/api/enrich.js.map +1 -1
- package/lib/api/api/eql.d.ts +20 -21
- package/lib/api/api/eql.js +6 -15
- package/lib/api/api/eql.js.map +1 -1
- package/lib/api/api/esql.d.ts +13 -14
- package/lib/api/api/esql.js +4 -13
- package/lib/api/api/esql.js.map +1 -1
- package/lib/api/api/exists.d.ts +4 -5
- package/lib/api/api/exists.js +2 -2
- package/lib/api/api/exists.js.map +1 -1
- package/lib/api/api/exists_source.d.ts +4 -5
- package/lib/api/api/exists_source.js +2 -2
- package/lib/api/api/exists_source.js.map +1 -1
- package/lib/api/api/explain.d.ts +4 -5
- package/lib/api/api/explain.js +3 -12
- package/lib/api/api/explain.js.map +1 -1
- package/lib/api/api/features.d.ts +8 -9
- package/lib/api/api/features.js +2 -2
- package/lib/api/api/features.js.map +1 -1
- package/lib/api/api/field_caps.d.ts +4 -5
- package/lib/api/api/field_caps.js +3 -12
- package/lib/api/api/field_caps.js.map +1 -1
- package/lib/api/api/fleet.d.ts +22 -23
- package/lib/api/api/fleet.js +8 -19
- package/lib/api/api/fleet.js.map +1 -1
- package/lib/api/api/get.d.ts +4 -5
- package/lib/api/api/get.js +2 -2
- package/lib/api/api/get.js.map +1 -1
- package/lib/api/api/get_script.d.ts +4 -5
- package/lib/api/api/get_script.js +2 -2
- package/lib/api/api/get_script.js.map +1 -1
- package/lib/api/api/get_script_context.d.ts +4 -5
- package/lib/api/api/get_script_context.js +2 -2
- package/lib/api/api/get_script_context.js.map +1 -1
- package/lib/api/api/get_script_languages.d.ts +4 -5
- package/lib/api/api/get_script_languages.js +2 -2
- package/lib/api/api/get_script_languages.js.map +1 -1
- package/lib/api/api/get_source.d.ts +4 -5
- package/lib/api/api/get_source.js +2 -2
- package/lib/api/api/get_source.js.map +1 -1
- package/lib/api/api/graph.d.ts +5 -6
- package/lib/api/api/graph.js +2 -11
- package/lib/api/api/graph.js.map +1 -1
- package/lib/api/api/health_report.d.ts +4 -5
- package/lib/api/api/health_report.js +2 -2
- package/lib/api/api/health_report.js.map +1 -1
- package/lib/api/api/ilm.d.ts +44 -45
- package/lib/api/api/ilm.js +14 -41
- package/lib/api/api/ilm.js.map +1 -1
- package/lib/api/api/index.d.ts +4 -5
- package/lib/api/api/index.js +3 -5
- package/lib/api/api/index.js.map +1 -1
- package/lib/api/api/indices.d.ts +238 -239
- package/lib/api/api/indices.js +77 -216
- package/lib/api/api/indices.js.map +1 -1
- package/lib/api/api/inference.d.ts +20 -21
- package/lib/api/api/inference.js +7 -18
- package/lib/api/api/inference.js.map +1 -1
- package/lib/api/api/info.d.ts +4 -5
- package/lib/api/api/info.js +2 -2
- package/lib/api/api/info.js.map +1 -1
- package/lib/api/api/ingest.d.ts +57 -58
- package/lib/api/api/ingest.js +15 -42
- package/lib/api/api/ingest.js.map +1 -1
- package/lib/api/api/knn_search.d.ts +4 -5
- package/lib/api/api/knn_search.js +3 -12
- package/lib/api/api/knn_search.js.map +1 -1
- package/lib/api/api/license.d.ts +28 -29
- package/lib/api/api/license.js +8 -17
- package/lib/api/api/license.js.map +1 -1
- package/lib/api/api/logstash.d.ts +12 -13
- package/lib/api/api/logstash.js +4 -6
- package/lib/api/api/logstash.js.map +1 -1
- package/lib/api/api/mget.d.ts +4 -5
- package/lib/api/api/mget.js +3 -12
- package/lib/api/api/mget.js.map +1 -1
- package/lib/api/api/migration.d.ts +12 -13
- package/lib/api/api/migration.js +3 -3
- package/lib/api/api/migration.js.map +1 -1
- package/lib/api/api/ml.d.ts +293 -294
- package/lib/api/api/ml.js +112 -449
- package/lib/api/api/ml.js.map +1 -1
- package/lib/api/api/monitoring.d.ts +4 -5
- package/lib/api/api/monitoring.js +2 -4
- package/lib/api/api/monitoring.js.map +1 -1
- package/lib/api/api/msearch.d.ts +4 -5
- package/lib/api/api/msearch.js +3 -5
- package/lib/api/api/msearch.js.map +1 -1
- package/lib/api/api/msearch_template.d.ts +4 -5
- package/lib/api/api/msearch_template.js +3 -5
- package/lib/api/api/msearch_template.js.map +1 -1
- package/lib/api/api/mtermvectors.d.ts +4 -5
- package/lib/api/api/mtermvectors.js +3 -12
- package/lib/api/api/mtermvectors.js.map +1 -1
- package/lib/api/api/nodes.d.ts +28 -29
- package/lib/api/api/nodes.js +8 -17
- package/lib/api/api/nodes.js.map +1 -1
- package/lib/api/api/open_point_in_time.d.ts +4 -5
- package/lib/api/api/open_point_in_time.js +3 -12
- package/lib/api/api/open_point_in_time.js.map +1 -1
- package/lib/api/api/ping.d.ts +4 -5
- package/lib/api/api/ping.js +2 -2
- package/lib/api/api/ping.js.map +1 -1
- package/lib/api/api/profiling.d.ts +16 -17
- package/lib/api/api/profiling.js +4 -4
- package/lib/api/api/profiling.js.map +1 -1
- package/lib/api/api/put_script.d.ts +4 -5
- package/lib/api/api/put_script.js +3 -12
- package/lib/api/api/put_script.js.map +1 -1
- package/lib/api/api/query_rules.d.ts +40 -41
- package/lib/api/api/query_rules.js +11 -38
- package/lib/api/api/query_rules.js.map +1 -1
- package/lib/api/api/rank_eval.d.ts +4 -5
- package/lib/api/api/rank_eval.js +3 -12
- package/lib/api/api/rank_eval.js.map +1 -1
- package/lib/api/api/reindex.d.ts +4 -5
- package/lib/api/api/reindex.js +3 -12
- package/lib/api/api/reindex.js.map +1 -1
- package/lib/api/api/reindex_rethrottle.d.ts +4 -5
- package/lib/api/api/reindex_rethrottle.js +2 -2
- package/lib/api/api/reindex_rethrottle.js.map +1 -1
- package/lib/api/api/render_search_template.d.ts +4 -5
- package/lib/api/api/render_search_template.js +3 -12
- package/lib/api/api/render_search_template.js.map +1 -1
- package/lib/api/api/rollup.d.ts +32 -33
- package/lib/api/api/rollup.js +10 -28
- package/lib/api/api/rollup.js.map +1 -1
- package/lib/api/api/scripts_painless_execute.d.ts +4 -5
- package/lib/api/api/scripts_painless_execute.js +3 -12
- package/lib/api/api/scripts_painless_execute.js.map +1 -1
- package/lib/api/api/scroll.d.ts +4 -5
- package/lib/api/api/scroll.js +3 -12
- package/lib/api/api/scroll.js.map +1 -1
- package/lib/api/api/search.d.ts +4 -5
- package/lib/api/api/search.js +3 -14
- package/lib/api/api/search.js.map +1 -1
- package/lib/api/api/search_application.d.ts +39 -40
- package/lib/api/api/search_application.js +12 -23
- package/lib/api/api/search_application.js.map +1 -1
- package/lib/api/api/search_mvt.d.ts +4 -5
- package/lib/api/api/search_mvt.js +3 -12
- package/lib/api/api/search_mvt.js.map +1 -1
- package/lib/api/api/search_shards.d.ts +4 -5
- package/lib/api/api/search_shards.js +2 -2
- package/lib/api/api/search_shards.js.map +1 -1
- package/lib/api/api/search_template.d.ts +4 -5
- package/lib/api/api/search_template.js +3 -12
- package/lib/api/api/search_template.js.map +1 -1
- package/lib/api/api/searchable_snapshots.d.ts +16 -17
- package/lib/api/api/searchable_snapshots.js +5 -14
- package/lib/api/api/searchable_snapshots.js.map +1 -1
- package/lib/api/api/security.d.ts +253 -254
- package/lib/api/api/security.js +92 -337
- package/lib/api/api/security.js.map +1 -1
- package/lib/api/api/shutdown.d.ts +9 -10
- package/lib/api/api/shutdown.js +4 -13
- package/lib/api/api/shutdown.js.map +1 -1
- package/lib/api/api/simulate.d.ts +4 -5
- package/lib/api/api/simulate.js +1 -1
- package/lib/api/api/simulate.js.map +1 -1
- package/lib/api/api/slm.d.ts +36 -37
- package/lib/api/api/slm.js +10 -19
- package/lib/api/api/slm.js.map +1 -1
- package/lib/api/api/snapshot.d.ts +52 -53
- package/lib/api/api/snapshot.js +17 -46
- package/lib/api/api/snapshot.js.map +1 -1
- package/lib/api/api/sql.d.ts +30 -31
- package/lib/api/api/sql.js +9 -36
- package/lib/api/api/sql.js.map +1 -1
- package/lib/api/api/ssl.d.ts +4 -5
- package/lib/api/api/ssl.js +1 -1
- package/lib/api/api/ssl.js.map +1 -1
- package/lib/api/api/synonyms.d.ts +35 -36
- package/lib/api/api/synonyms.js +9 -27
- package/lib/api/api/synonyms.js.map +1 -1
- package/lib/api/api/tasks.d.ts +12 -13
- package/lib/api/api/tasks.js +3 -3
- package/lib/api/api/tasks.js.map +1 -1
- package/lib/api/api/terms_enum.d.ts +4 -5
- package/lib/api/api/terms_enum.js +3 -12
- package/lib/api/api/terms_enum.js.map +1 -1
- package/lib/api/api/termvectors.d.ts +4 -5
- package/lib/api/api/termvectors.js +3 -12
- package/lib/api/api/termvectors.js.map +1 -1
- package/lib/api/api/text_structure.d.ts +16 -17
- package/lib/api/api/text_structure.js +6 -17
- package/lib/api/api/text_structure.js.map +1 -1
- package/lib/api/api/transform.d.ts +48 -49
- package/lib/api/api/transform.js +15 -42
- package/lib/api/api/transform.js.map +1 -1
- package/lib/api/api/update.d.ts +4 -5
- package/lib/api/api/update.js +3 -12
- package/lib/api/api/update.js.map +1 -1
- package/lib/api/api/update_by_query.d.ts +4 -5
- package/lib/api/api/update_by_query.js +3 -12
- package/lib/api/api/update_by_query.js.map +1 -1
- package/lib/api/api/update_by_query_rethrottle.d.ts +4 -5
- package/lib/api/api/update_by_query_rethrottle.js +2 -2
- package/lib/api/api/update_by_query_rethrottle.js.map +1 -1
- package/lib/api/api/watcher.d.ts +52 -53
- package/lib/api/api/watcher.js +16 -43
- package/lib/api/api/watcher.js.map +1 -1
- package/lib/api/api/xpack.d.ts +8 -9
- package/lib/api/api/xpack.js +2 -2
- 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 +131 -72
- package/lib/client.d.ts +82 -2
- package/lib/client.js +11 -4
- package/lib/client.js.map +1 -1
- package/lib/helpers.d.ts +0 -3
- package/lib/helpers.js +8 -7
- package/lib/helpers.js.map +1 -1
- package/package.json +33 -33
- package/renovate.json +29 -0
- package/lib/api/typesWithBodyKey.d.ts +0 -18163
- package/lib/api/typesWithBodyKey.js +0 -21
- package/lib/api/typesWithBodyKey.js.map +0 -1
package/lib/api/types.d.ts
CHANGED
|
@@ -413,6 +413,13 @@ export interface HealthReportDiskIndicatorDetails {
|
|
|
413
413
|
nodes_over_flood_stage_watermark: long;
|
|
414
414
|
nodes_with_unknown_disk_status: long;
|
|
415
415
|
}
|
|
416
|
+
export interface HealthReportFileSettingsIndicator extends HealthReportBaseIndicator {
|
|
417
|
+
details?: HealthReportFileSettingsIndicatorDetails;
|
|
418
|
+
}
|
|
419
|
+
export interface HealthReportFileSettingsIndicatorDetails {
|
|
420
|
+
failure_streak: long;
|
|
421
|
+
most_recent_failure: string;
|
|
422
|
+
}
|
|
416
423
|
export interface HealthReportIlmIndicator extends HealthReportBaseIndicator {
|
|
417
424
|
details?: HealthReportIlmIndicatorDetails;
|
|
418
425
|
}
|
|
@@ -442,6 +449,7 @@ export interface HealthReportIndicators {
|
|
|
442
449
|
ilm?: HealthReportIlmIndicator;
|
|
443
450
|
slm?: HealthReportSlmIndicator;
|
|
444
451
|
shards_capacity?: HealthReportShardsCapacityIndicator;
|
|
452
|
+
file_settings?: HealthReportFileSettingsIndicator;
|
|
445
453
|
}
|
|
446
454
|
export interface HealthReportMasterIsStableIndicator extends HealthReportBaseIndicator {
|
|
447
455
|
details?: HealthReportMasterIsStableIndicatorDetails;
|
|
@@ -747,6 +755,7 @@ export interface OpenPointInTimeRequest extends RequestBase {
|
|
|
747
755
|
preference?: string;
|
|
748
756
|
routing?: Routing;
|
|
749
757
|
expand_wildcards?: ExpandWildcards;
|
|
758
|
+
allow_partial_search_results?: boolean;
|
|
750
759
|
index_filter?: QueryDslQueryContainer;
|
|
751
760
|
}
|
|
752
761
|
export interface OpenPointInTimeResponse {
|
|
@@ -979,7 +988,6 @@ export interface SearchRequest extends RequestBase {
|
|
|
979
988
|
include_named_queries_score?: boolean;
|
|
980
989
|
lenient?: boolean;
|
|
981
990
|
max_concurrent_shard_requests?: long;
|
|
982
|
-
min_compatible_shard_node?: VersionString;
|
|
983
991
|
preference?: string;
|
|
984
992
|
pre_filter_shard_size?: long;
|
|
985
993
|
request_cache?: boolean;
|
|
@@ -2224,12 +2232,19 @@ export interface RetrieverContainer {
|
|
|
2224
2232
|
knn?: KnnRetriever;
|
|
2225
2233
|
rrf?: RRFRetriever;
|
|
2226
2234
|
text_similarity_reranker?: TextSimilarityReranker;
|
|
2235
|
+
rule?: RuleRetriever;
|
|
2227
2236
|
}
|
|
2228
2237
|
export type Routing = string;
|
|
2229
2238
|
export interface RrfRank {
|
|
2230
2239
|
rank_constant?: long;
|
|
2231
2240
|
rank_window_size?: long;
|
|
2232
2241
|
}
|
|
2242
|
+
export interface RuleRetriever extends RetrieverBase {
|
|
2243
|
+
ruleset_ids: Id[];
|
|
2244
|
+
match_criteria: any;
|
|
2245
|
+
retriever: RetrieverContainer;
|
|
2246
|
+
rank_window_size?: integer;
|
|
2247
|
+
}
|
|
2233
2248
|
export type ScalarValue = long | double | string | boolean | null;
|
|
2234
2249
|
export interface ScoreSort {
|
|
2235
2250
|
order?: SortOrder;
|
|
@@ -4467,20 +4482,23 @@ export interface MappingDateRangeProperty extends MappingRangePropertyBase {
|
|
|
4467
4482
|
format?: string;
|
|
4468
4483
|
type: 'date_range';
|
|
4469
4484
|
}
|
|
4485
|
+
export type MappingDenseVectorElementType = 'bit' | 'byte' | 'float';
|
|
4470
4486
|
export interface MappingDenseVectorIndexOptions {
|
|
4471
|
-
type: string;
|
|
4472
|
-
m?: integer;
|
|
4473
|
-
ef_construction?: integer;
|
|
4474
4487
|
confidence_interval?: float;
|
|
4488
|
+
ef_construction?: integer;
|
|
4489
|
+
m?: integer;
|
|
4490
|
+
type: MappingDenseVectorIndexOptionsType;
|
|
4475
4491
|
}
|
|
4492
|
+
export type MappingDenseVectorIndexOptionsType = 'flat' | 'hnsw' | 'int4_flat' | 'int4_hnsw' | 'int8_flat' | 'int8_hnsw';
|
|
4476
4493
|
export interface MappingDenseVectorProperty extends MappingPropertyBase {
|
|
4477
4494
|
type: 'dense_vector';
|
|
4478
|
-
element_type?: string;
|
|
4479
4495
|
dims?: integer;
|
|
4480
|
-
|
|
4496
|
+
element_type?: MappingDenseVectorElementType;
|
|
4481
4497
|
index?: boolean;
|
|
4482
4498
|
index_options?: MappingDenseVectorIndexOptions;
|
|
4499
|
+
similarity?: MappingDenseVectorSimilarity;
|
|
4483
4500
|
}
|
|
4501
|
+
export type MappingDenseVectorSimilarity = 'cosine' | 'dot_product' | 'l2_norm' | 'max_inner_product';
|
|
4484
4502
|
export interface MappingDocValuesPropertyBase extends MappingCorePropertyBase {
|
|
4485
4503
|
doc_values?: boolean;
|
|
4486
4504
|
}
|
|
@@ -5499,7 +5517,7 @@ export interface QueryDslTermsSetQuery extends QueryDslQueryBase {
|
|
|
5499
5517
|
minimum_should_match?: MinimumShouldMatch;
|
|
5500
5518
|
minimum_should_match_field?: Field;
|
|
5501
5519
|
minimum_should_match_script?: Script | string;
|
|
5502
|
-
terms:
|
|
5520
|
+
terms: FieldValue[];
|
|
5503
5521
|
}
|
|
5504
5522
|
export interface QueryDslTextExpansionQuery extends QueryDslQueryBase {
|
|
5505
5523
|
model_id: string;
|
|
@@ -5583,6 +5601,7 @@ export interface AsyncSearchGetRequest extends RequestBase {
|
|
|
5583
5601
|
export type AsyncSearchGetResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = AsyncSearchAsyncSearchDocumentResponseBase<TDocument, TAggregations>;
|
|
5584
5602
|
export interface AsyncSearchStatusRequest extends RequestBase {
|
|
5585
5603
|
id: Id;
|
|
5604
|
+
keep_alive?: Duration;
|
|
5586
5605
|
}
|
|
5587
5606
|
export type AsyncSearchStatusResponse = AsyncSearchStatusStatusResponseBase;
|
|
5588
5607
|
export interface AsyncSearchStatusStatusResponseBase extends AsyncSearchAsyncSearchResponseBase {
|
|
@@ -5594,7 +5613,6 @@ export interface AsyncSearchSubmitRequest extends RequestBase {
|
|
|
5594
5613
|
index?: Indices;
|
|
5595
5614
|
wait_for_completion_timeout?: Duration;
|
|
5596
5615
|
keep_on_completion?: boolean;
|
|
5597
|
-
keep_alive?: Duration;
|
|
5598
5616
|
allow_no_indices?: boolean;
|
|
5599
5617
|
allow_partial_search_results?: boolean;
|
|
5600
5618
|
analyzer?: string;
|
|
@@ -5608,12 +5626,9 @@ export interface AsyncSearchSubmitRequest extends RequestBase {
|
|
|
5608
5626
|
ignore_unavailable?: boolean;
|
|
5609
5627
|
lenient?: boolean;
|
|
5610
5628
|
max_concurrent_shard_requests?: long;
|
|
5611
|
-
min_compatible_shard_node?: VersionString;
|
|
5612
5629
|
preference?: string;
|
|
5613
|
-
pre_filter_shard_size?: long;
|
|
5614
5630
|
request_cache?: boolean;
|
|
5615
5631
|
routing?: Routing;
|
|
5616
|
-
scroll?: Duration;
|
|
5617
5632
|
search_type?: SearchType;
|
|
5618
5633
|
suggest_field?: Field;
|
|
5619
5634
|
suggest_mode?: SuggestMode;
|
|
@@ -5666,6 +5681,8 @@ export interface AutoscalingAutoscalingPolicy {
|
|
|
5666
5681
|
}
|
|
5667
5682
|
export interface AutoscalingDeleteAutoscalingPolicyRequest extends RequestBase {
|
|
5668
5683
|
name: Name;
|
|
5684
|
+
master_timeout?: Duration;
|
|
5685
|
+
timeout?: Duration;
|
|
5669
5686
|
}
|
|
5670
5687
|
export type AutoscalingDeleteAutoscalingPolicyResponse = AcknowledgedResponseBase;
|
|
5671
5688
|
export interface AutoscalingGetAutoscalingCapacityAutoscalingCapacity {
|
|
@@ -5691,16 +5708,20 @@ export interface AutoscalingGetAutoscalingCapacityAutoscalingResources {
|
|
|
5691
5708
|
memory: integer;
|
|
5692
5709
|
}
|
|
5693
5710
|
export interface AutoscalingGetAutoscalingCapacityRequest extends RequestBase {
|
|
5711
|
+
master_timeout?: Duration;
|
|
5694
5712
|
}
|
|
5695
5713
|
export interface AutoscalingGetAutoscalingCapacityResponse {
|
|
5696
5714
|
policies: Record<string, AutoscalingGetAutoscalingCapacityAutoscalingDeciders>;
|
|
5697
5715
|
}
|
|
5698
5716
|
export interface AutoscalingGetAutoscalingPolicyRequest extends RequestBase {
|
|
5699
5717
|
name: Name;
|
|
5718
|
+
master_timeout?: Duration;
|
|
5700
5719
|
}
|
|
5701
5720
|
export type AutoscalingGetAutoscalingPolicyResponse = AutoscalingAutoscalingPolicy;
|
|
5702
5721
|
export interface AutoscalingPutAutoscalingPolicyRequest extends RequestBase {
|
|
5703
5722
|
name: Name;
|
|
5723
|
+
master_timeout?: Duration;
|
|
5724
|
+
timeout?: Duration;
|
|
5704
5725
|
policy?: AutoscalingAutoscalingPolicy;
|
|
5705
5726
|
}
|
|
5706
5727
|
export type AutoscalingPutAutoscalingPolicyResponse = AcknowledgedResponseBase;
|
|
@@ -5778,6 +5799,7 @@ export interface CatAllocationAllocationRecord {
|
|
|
5778
5799
|
export interface CatAllocationRequest extends CatCatRequestBase {
|
|
5779
5800
|
node_id?: NodeIds;
|
|
5780
5801
|
bytes?: Bytes;
|
|
5802
|
+
local?: boolean;
|
|
5781
5803
|
}
|
|
5782
5804
|
export type CatAllocationResponse = CatAllocationAllocationRecord[];
|
|
5783
5805
|
export interface CatComponentTemplatesComponentTemplate {
|
|
@@ -5791,6 +5813,7 @@ export interface CatComponentTemplatesComponentTemplate {
|
|
|
5791
5813
|
}
|
|
5792
5814
|
export interface CatComponentTemplatesRequest extends CatCatRequestBase {
|
|
5793
5815
|
name?: string;
|
|
5816
|
+
local?: boolean;
|
|
5794
5817
|
}
|
|
5795
5818
|
export type CatComponentTemplatesResponse = CatComponentTemplatesComponentTemplate[];
|
|
5796
5819
|
export interface CatCountCountRecord {
|
|
@@ -6198,6 +6221,7 @@ export interface CatMasterMasterRecord {
|
|
|
6198
6221
|
n?: string;
|
|
6199
6222
|
}
|
|
6200
6223
|
export interface CatMasterRequest extends CatCatRequestBase {
|
|
6224
|
+
local?: boolean;
|
|
6201
6225
|
}
|
|
6202
6226
|
export type CatMasterResponse = CatMasterMasterRecord[];
|
|
6203
6227
|
export interface CatMlDataFrameAnalyticsDataFrameAnalyticsRecord {
|
|
@@ -6550,6 +6574,7 @@ export interface CatNodeattrsNodeAttributesRecord {
|
|
|
6550
6574
|
value?: string;
|
|
6551
6575
|
}
|
|
6552
6576
|
export interface CatNodeattrsRequest extends CatCatRequestBase {
|
|
6577
|
+
local?: boolean;
|
|
6553
6578
|
}
|
|
6554
6579
|
export type CatNodeattrsResponse = CatNodeattrsNodeAttributesRecord[];
|
|
6555
6580
|
export interface CatNodesNodesRecord {
|
|
@@ -6838,6 +6863,7 @@ export interface CatPendingTasksPendingTasksRecord {
|
|
|
6838
6863
|
s?: string;
|
|
6839
6864
|
}
|
|
6840
6865
|
export interface CatPendingTasksRequest extends CatCatRequestBase {
|
|
6866
|
+
local?: boolean;
|
|
6841
6867
|
}
|
|
6842
6868
|
export type CatPendingTasksResponse = CatPendingTasksPendingTasksRecord[];
|
|
6843
6869
|
export interface CatPluginsPluginsRecord {
|
|
@@ -6854,6 +6880,7 @@ export interface CatPluginsPluginsRecord {
|
|
|
6854
6880
|
t?: string;
|
|
6855
6881
|
}
|
|
6856
6882
|
export interface CatPluginsRequest extends CatCatRequestBase {
|
|
6883
|
+
local?: boolean;
|
|
6857
6884
|
}
|
|
6858
6885
|
export type CatPluginsResponse = CatPluginsPluginsRecord[];
|
|
6859
6886
|
export interface CatRecoveryRecoveryRecord {
|
|
@@ -6932,6 +6959,7 @@ export type CatRepositoriesResponse = CatRepositoriesRepositoriesRecord[];
|
|
|
6932
6959
|
export interface CatSegmentsRequest extends CatCatRequestBase {
|
|
6933
6960
|
index?: Indices;
|
|
6934
6961
|
bytes?: Bytes;
|
|
6962
|
+
local?: boolean;
|
|
6935
6963
|
}
|
|
6936
6964
|
export type CatSegmentsResponse = CatSegmentsSegmentsRecord[];
|
|
6937
6965
|
export interface CatSegmentsSegmentsRecord {
|
|
@@ -7275,6 +7303,7 @@ export interface CatTasksTasksRecord {
|
|
|
7275
7303
|
}
|
|
7276
7304
|
export interface CatTemplatesRequest extends CatCatRequestBase {
|
|
7277
7305
|
name?: Name;
|
|
7306
|
+
local?: boolean;
|
|
7278
7307
|
}
|
|
7279
7308
|
export type CatTemplatesResponse = CatTemplatesTemplatesRecord[];
|
|
7280
7309
|
export interface CatTemplatesTemplatesRecord {
|
|
@@ -7293,6 +7322,7 @@ export interface CatTemplatesTemplatesRecord {
|
|
|
7293
7322
|
export interface CatThreadPoolRequest extends CatCatRequestBase {
|
|
7294
7323
|
thread_pool_patterns?: Names;
|
|
7295
7324
|
time?: TimeUnit;
|
|
7325
|
+
local?: boolean;
|
|
7296
7326
|
}
|
|
7297
7327
|
export type CatThreadPoolResponse = CatThreadPoolThreadPoolRecord[];
|
|
7298
7328
|
export interface CatThreadPoolThreadPoolRecord {
|
|
@@ -7472,18 +7502,20 @@ export type CcrDeleteAutoFollowPatternResponse = AcknowledgedResponseBase;
|
|
|
7472
7502
|
export interface CcrFollowRequest extends RequestBase {
|
|
7473
7503
|
index: IndexName;
|
|
7474
7504
|
wait_for_active_shards?: WaitForActiveShards;
|
|
7475
|
-
|
|
7505
|
+
data_stream_name?: string;
|
|
7506
|
+
leader_index: IndexName;
|
|
7476
7507
|
max_outstanding_read_requests?: long;
|
|
7477
|
-
max_outstanding_write_requests?:
|
|
7478
|
-
max_read_request_operation_count?:
|
|
7479
|
-
max_read_request_size?:
|
|
7508
|
+
max_outstanding_write_requests?: integer;
|
|
7509
|
+
max_read_request_operation_count?: integer;
|
|
7510
|
+
max_read_request_size?: ByteSize;
|
|
7480
7511
|
max_retry_delay?: Duration;
|
|
7481
|
-
max_write_buffer_count?:
|
|
7482
|
-
max_write_buffer_size?:
|
|
7483
|
-
max_write_request_operation_count?:
|
|
7484
|
-
max_write_request_size?:
|
|
7512
|
+
max_write_buffer_count?: integer;
|
|
7513
|
+
max_write_buffer_size?: ByteSize;
|
|
7514
|
+
max_write_request_operation_count?: integer;
|
|
7515
|
+
max_write_request_size?: ByteSize;
|
|
7485
7516
|
read_poll_timeout?: Duration;
|
|
7486
|
-
remote_cluster
|
|
7517
|
+
remote_cluster: string;
|
|
7518
|
+
settings?: IndicesIndexSettings;
|
|
7487
7519
|
}
|
|
7488
7520
|
export interface CcrFollowResponse {
|
|
7489
7521
|
follow_index_created: boolean;
|
|
@@ -7498,16 +7530,16 @@ export interface CcrFollowInfoFollowerIndex {
|
|
|
7498
7530
|
status: CcrFollowInfoFollowerIndexStatus;
|
|
7499
7531
|
}
|
|
7500
7532
|
export interface CcrFollowInfoFollowerIndexParameters {
|
|
7501
|
-
max_outstanding_read_requests
|
|
7502
|
-
max_outstanding_write_requests
|
|
7503
|
-
max_read_request_operation_count
|
|
7504
|
-
max_read_request_size
|
|
7505
|
-
max_retry_delay
|
|
7506
|
-
max_write_buffer_count
|
|
7507
|
-
max_write_buffer_size
|
|
7508
|
-
max_write_request_operation_count
|
|
7509
|
-
max_write_request_size
|
|
7510
|
-
read_poll_timeout
|
|
7533
|
+
max_outstanding_read_requests?: long;
|
|
7534
|
+
max_outstanding_write_requests?: integer;
|
|
7535
|
+
max_read_request_operation_count?: integer;
|
|
7536
|
+
max_read_request_size?: ByteSize;
|
|
7537
|
+
max_retry_delay?: Duration;
|
|
7538
|
+
max_write_buffer_count?: integer;
|
|
7539
|
+
max_write_buffer_size?: ByteSize;
|
|
7540
|
+
max_write_request_operation_count?: integer;
|
|
7541
|
+
max_write_request_size?: ByteSize;
|
|
7542
|
+
read_poll_timeout?: Duration;
|
|
7511
7543
|
}
|
|
7512
7544
|
export type CcrFollowInfoFollowerIndexStatus = 'active' | 'paused';
|
|
7513
7545
|
export interface CcrFollowInfoRequest extends RequestBase {
|
|
@@ -8760,6 +8792,7 @@ export interface EqlSearchRequest extends RequestBase {
|
|
|
8760
8792
|
fields?: QueryDslFieldAndFormat | Field | (QueryDslFieldAndFormat | Field)[];
|
|
8761
8793
|
result_position?: EqlSearchResultPosition;
|
|
8762
8794
|
runtime_mappings?: MappingRuntimeFields;
|
|
8795
|
+
max_samples_per_key?: integer;
|
|
8763
8796
|
}
|
|
8764
8797
|
export type EqlSearchResponse<TEvent = unknown> = EqlEqlSearchResponseBase<TEvent>;
|
|
8765
8798
|
export type EqlSearchResultPosition = 'tail' | 'head';
|
|
@@ -8847,7 +8880,6 @@ export interface FleetSearchRequest extends RequestBase {
|
|
|
8847
8880
|
ignore_unavailable?: boolean;
|
|
8848
8881
|
lenient?: boolean;
|
|
8849
8882
|
max_concurrent_shard_requests?: long;
|
|
8850
|
-
min_compatible_shard_node?: VersionString;
|
|
8851
8883
|
preference?: string;
|
|
8852
8884
|
pre_filter_shard_size?: long;
|
|
8853
8885
|
request_cache?: boolean;
|
|
@@ -9216,6 +9248,7 @@ export interface IndicesDataStreamIndex {
|
|
|
9216
9248
|
export interface IndicesDataStreamLifecycle {
|
|
9217
9249
|
data_retention?: Duration;
|
|
9218
9250
|
downsampling?: IndicesDataStreamLifecycleDownsampling;
|
|
9251
|
+
enabled?: boolean;
|
|
9219
9252
|
}
|
|
9220
9253
|
export interface IndicesDataStreamLifecycleDownsampling {
|
|
9221
9254
|
rounds: IndicesDownsamplingRound[];
|
|
@@ -9232,9 +9265,7 @@ export interface IndicesDataStreamLifecycleRolloverConditions {
|
|
|
9232
9265
|
min_primary_shard_docs?: long;
|
|
9233
9266
|
max_primary_shard_docs?: long;
|
|
9234
9267
|
}
|
|
9235
|
-
export interface IndicesDataStreamLifecycleWithRollover {
|
|
9236
|
-
data_retention?: Duration;
|
|
9237
|
-
downsampling?: IndicesDataStreamLifecycleDownsampling;
|
|
9268
|
+
export interface IndicesDataStreamLifecycleWithRollover extends IndicesDataStreamLifecycle {
|
|
9238
9269
|
rollover?: IndicesDataStreamLifecycleRolloverConditions;
|
|
9239
9270
|
}
|
|
9240
9271
|
export interface IndicesDataStreamTimestampField {
|
|
@@ -9459,8 +9490,8 @@ export interface IndicesMappingLimitSettingsNestedObjects {
|
|
|
9459
9490
|
limit?: long;
|
|
9460
9491
|
}
|
|
9461
9492
|
export interface IndicesMappingLimitSettingsTotalFields {
|
|
9462
|
-
limit?: long;
|
|
9463
|
-
ignore_dynamic_beyond_limit?: boolean;
|
|
9493
|
+
limit?: long | string;
|
|
9494
|
+
ignore_dynamic_beyond_limit?: boolean | string;
|
|
9464
9495
|
}
|
|
9465
9496
|
export interface IndicesMerge {
|
|
9466
9497
|
scheduler?: IndicesMergeScheduler;
|
|
@@ -9815,7 +9846,7 @@ export interface IndicesExistsAliasRequest extends RequestBase {
|
|
|
9815
9846
|
allow_no_indices?: boolean;
|
|
9816
9847
|
expand_wildcards?: ExpandWildcards;
|
|
9817
9848
|
ignore_unavailable?: boolean;
|
|
9818
|
-
|
|
9849
|
+
master_timeout?: Duration;
|
|
9819
9850
|
}
|
|
9820
9851
|
export type IndicesExistsAliasResponse = boolean;
|
|
9821
9852
|
export interface IndicesExistsIndexTemplateRequest extends RequestBase {
|
|
@@ -9944,12 +9975,12 @@ export interface IndicesGetAliasRequest extends RequestBase {
|
|
|
9944
9975
|
allow_no_indices?: boolean;
|
|
9945
9976
|
expand_wildcards?: ExpandWildcards;
|
|
9946
9977
|
ignore_unavailable?: boolean;
|
|
9947
|
-
|
|
9978
|
+
master_timeout?: Duration;
|
|
9948
9979
|
}
|
|
9949
9980
|
export type IndicesGetAliasResponse = Record<IndexName, IndicesGetAliasIndexAliases>;
|
|
9950
9981
|
export interface IndicesGetDataLifecycleDataStreamWithLifecycle {
|
|
9951
9982
|
name: DataStreamName;
|
|
9952
|
-
lifecycle?:
|
|
9983
|
+
lifecycle?: IndicesDataStreamLifecycleWithRollover;
|
|
9953
9984
|
}
|
|
9954
9985
|
export interface IndicesGetDataLifecycleRequest extends RequestBase {
|
|
9955
9986
|
name: DataStreamNames;
|
|
@@ -10082,8 +10113,7 @@ export interface IndicesPutDataLifecycleRequest extends RequestBase {
|
|
|
10082
10113
|
expand_wildcards?: ExpandWildcards;
|
|
10083
10114
|
master_timeout?: Duration;
|
|
10084
10115
|
timeout?: Duration;
|
|
10085
|
-
|
|
10086
|
-
downsampling?: IndicesDataStreamLifecycleDownsampling;
|
|
10116
|
+
lifecycle?: IndicesDataStreamLifecycle;
|
|
10087
10117
|
}
|
|
10088
10118
|
export type IndicesPutDataLifecycleResponse = AcknowledgedResponseBase;
|
|
10089
10119
|
export interface IndicesPutIndexTemplateIndexTemplateMapping {
|
|
@@ -10360,7 +10390,6 @@ export interface IndicesSegmentsRequest extends RequestBase {
|
|
|
10360
10390
|
allow_no_indices?: boolean;
|
|
10361
10391
|
expand_wildcards?: ExpandWildcards;
|
|
10362
10392
|
ignore_unavailable?: boolean;
|
|
10363
|
-
verbose?: boolean;
|
|
10364
10393
|
}
|
|
10365
10394
|
export interface IndicesSegmentsResponse {
|
|
10366
10395
|
indices: Record<string, IndicesSegmentsIndexSegment>;
|
|
@@ -11412,10 +11441,12 @@ export interface LogstashPutPipelineRequest extends RequestBase {
|
|
|
11412
11441
|
}
|
|
11413
11442
|
export type LogstashPutPipelineResponse = boolean;
|
|
11414
11443
|
export interface MigrationDeprecationsDeprecation {
|
|
11415
|
-
details
|
|
11444
|
+
details?: string;
|
|
11416
11445
|
level: MigrationDeprecationsDeprecationLevel;
|
|
11417
11446
|
message: string;
|
|
11418
11447
|
url: string;
|
|
11448
|
+
resolve_during_rolling_upgrade: boolean;
|
|
11449
|
+
_meta?: Record<string, any>;
|
|
11419
11450
|
}
|
|
11420
11451
|
export type MigrationDeprecationsDeprecationLevel = 'none' | 'info' | 'warning' | 'critical';
|
|
11421
11452
|
export interface MigrationDeprecationsRequest extends RequestBase {
|
|
@@ -11424,6 +11455,7 @@ export interface MigrationDeprecationsRequest extends RequestBase {
|
|
|
11424
11455
|
export interface MigrationDeprecationsResponse {
|
|
11425
11456
|
cluster_settings: MigrationDeprecationsDeprecation[];
|
|
11426
11457
|
index_settings: Record<string, MigrationDeprecationsDeprecation[]>;
|
|
11458
|
+
data_streams: Record<string, MigrationDeprecationsDeprecation[]>;
|
|
11427
11459
|
node_settings: MigrationDeprecationsDeprecation[];
|
|
11428
11460
|
ml_settings: MigrationDeprecationsDeprecation[];
|
|
11429
11461
|
}
|
|
@@ -11578,6 +11610,9 @@ export interface MlCalendarEvent {
|
|
|
11578
11610
|
description: string;
|
|
11579
11611
|
end_time: DateTime;
|
|
11580
11612
|
start_time: DateTime;
|
|
11613
|
+
skip_result?: boolean;
|
|
11614
|
+
skip_model_update?: boolean;
|
|
11615
|
+
force_time_shift?: integer;
|
|
11581
11616
|
}
|
|
11582
11617
|
export type MlCategorizationAnalyzer = string | MlCategorizationAnalyzerDefinition;
|
|
11583
11618
|
export interface MlCategorizationAnalyzerDefinition {
|
|
@@ -14134,7 +14169,7 @@ export interface NodesInfoNodeInfoPath {
|
|
|
14134
14169
|
logs?: string;
|
|
14135
14170
|
home?: string;
|
|
14136
14171
|
repo?: string[];
|
|
14137
|
-
data?: string[];
|
|
14172
|
+
data?: string | string[];
|
|
14138
14173
|
}
|
|
14139
14174
|
export interface NodesInfoNodeInfoRepositories {
|
|
14140
14175
|
url: NodesInfoNodeInfoRepositoriesUrl;
|
|
@@ -14430,6 +14465,7 @@ export interface QueryRulesListRulesetsQueryRulesetListItem {
|
|
|
14430
14465
|
ruleset_id: Id;
|
|
14431
14466
|
rule_total_count: integer;
|
|
14432
14467
|
rule_criteria_types_counts: Record<string, integer>;
|
|
14468
|
+
rule_type_counts: Record<string, integer>;
|
|
14433
14469
|
}
|
|
14434
14470
|
export interface QueryRulesListRulesetsRequest extends RequestBase {
|
|
14435
14471
|
from?: integer;
|
|
@@ -14629,10 +14665,12 @@ export interface SearchApplicationAnalyticsCollection {
|
|
|
14629
14665
|
export interface SearchApplicationEventDataStream {
|
|
14630
14666
|
name: IndexName;
|
|
14631
14667
|
}
|
|
14632
|
-
export interface SearchApplicationSearchApplication {
|
|
14668
|
+
export interface SearchApplicationSearchApplication extends SearchApplicationSearchApplicationParameters {
|
|
14633
14669
|
name: Name;
|
|
14634
|
-
indices: IndexName[];
|
|
14635
14670
|
updated_at_millis: EpochTime<UnitMillis>;
|
|
14671
|
+
}
|
|
14672
|
+
export interface SearchApplicationSearchApplicationParameters {
|
|
14673
|
+
indices: IndexName[];
|
|
14636
14674
|
analytics_collection_name?: Name;
|
|
14637
14675
|
template?: SearchApplicationSearchApplicationTemplate;
|
|
14638
14676
|
}
|
|
@@ -14662,18 +14700,12 @@ export interface SearchApplicationListRequest extends RequestBase {
|
|
|
14662
14700
|
}
|
|
14663
14701
|
export interface SearchApplicationListResponse {
|
|
14664
14702
|
count: long;
|
|
14665
|
-
results:
|
|
14666
|
-
}
|
|
14667
|
-
export interface SearchApplicationListSearchApplicationListItem {
|
|
14668
|
-
name: Name;
|
|
14669
|
-
indices: IndexName[];
|
|
14670
|
-
updated_at_millis: EpochTime<UnitMillis>;
|
|
14671
|
-
analytics_collection_name?: Name;
|
|
14703
|
+
results: SearchApplicationSearchApplication[];
|
|
14672
14704
|
}
|
|
14673
14705
|
export interface SearchApplicationPutRequest extends RequestBase {
|
|
14674
14706
|
name: Name;
|
|
14675
14707
|
create?: boolean;
|
|
14676
|
-
search_application?:
|
|
14708
|
+
search_application?: SearchApplicationSearchApplicationParameters;
|
|
14677
14709
|
}
|
|
14678
14710
|
export interface SearchApplicationPutResponse {
|
|
14679
14711
|
result: Result;
|
|
@@ -14753,20 +14785,24 @@ export interface SecurityAccess {
|
|
|
14753
14785
|
search?: SecuritySearchAccess[];
|
|
14754
14786
|
}
|
|
14755
14787
|
export interface SecurityApiKey {
|
|
14756
|
-
creation?: long;
|
|
14757
|
-
expiration?: long;
|
|
14758
14788
|
id: Id;
|
|
14759
|
-
invalidated?: boolean;
|
|
14760
14789
|
name: Name;
|
|
14761
|
-
|
|
14790
|
+
type: SecurityApiKeyType;
|
|
14791
|
+
creation: EpochTime<UnitMillis>;
|
|
14792
|
+
expiration?: EpochTime<UnitMillis>;
|
|
14793
|
+
invalidated: boolean;
|
|
14794
|
+
invalidation?: EpochTime<UnitMillis>;
|
|
14795
|
+
username: Username;
|
|
14796
|
+
realm: string;
|
|
14762
14797
|
realm_type?: string;
|
|
14763
|
-
|
|
14764
|
-
profile_uid?: string;
|
|
14765
|
-
metadata?: Metadata;
|
|
14798
|
+
metadata: Metadata;
|
|
14766
14799
|
role_descriptors?: Record<string, SecurityRoleDescriptor>;
|
|
14767
14800
|
limited_by?: Record<string, SecurityRoleDescriptor>[];
|
|
14801
|
+
access?: SecurityAccess;
|
|
14802
|
+
profile_uid?: string;
|
|
14768
14803
|
_sort?: SortResults;
|
|
14769
14804
|
}
|
|
14805
|
+
export type SecurityApiKeyType = 'rest' | 'cross_cluster';
|
|
14770
14806
|
export interface SecurityApplicationGlobalUserPrivileges {
|
|
14771
14807
|
manage: SecurityManageUserPrivileges;
|
|
14772
14808
|
}
|
|
@@ -14782,7 +14818,7 @@ export interface SecurityBulkError {
|
|
|
14782
14818
|
export interface SecurityClusterNode {
|
|
14783
14819
|
name: Name;
|
|
14784
14820
|
}
|
|
14785
|
-
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;
|
|
14821
|
+
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;
|
|
14786
14822
|
export interface SecurityCreatedStatus {
|
|
14787
14823
|
created: boolean;
|
|
14788
14824
|
}
|
|
@@ -14802,7 +14838,7 @@ export type SecurityGrantType = 'password' | 'access_token';
|
|
|
14802
14838
|
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;
|
|
14803
14839
|
export interface SecurityIndicesPrivileges {
|
|
14804
14840
|
field_security?: SecurityFieldSecurity;
|
|
14805
|
-
names:
|
|
14841
|
+
names: IndexName | IndexName[];
|
|
14806
14842
|
privileges: SecurityIndexPrivilege[];
|
|
14807
14843
|
query?: SecurityIndicesPrivilegesQuery;
|
|
14808
14844
|
allow_restricted_indices?: boolean;
|
|
@@ -14815,38 +14851,53 @@ export interface SecurityRealmInfo {
|
|
|
14815
14851
|
name: Name;
|
|
14816
14852
|
type: string;
|
|
14817
14853
|
}
|
|
14854
|
+
export type SecurityRemoteClusterPrivilege = 'monitor_enrich' | 'monitor_stats';
|
|
14855
|
+
export interface SecurityRemoteClusterPrivileges {
|
|
14856
|
+
clusters: Names;
|
|
14857
|
+
privileges: SecurityRemoteClusterPrivilege[];
|
|
14858
|
+
}
|
|
14818
14859
|
export interface SecurityRemoteIndicesPrivileges {
|
|
14819
14860
|
clusters: Names;
|
|
14820
14861
|
field_security?: SecurityFieldSecurity;
|
|
14821
|
-
names:
|
|
14862
|
+
names: IndexName | IndexName[];
|
|
14822
14863
|
privileges: SecurityIndexPrivilege[];
|
|
14823
14864
|
query?: SecurityIndicesPrivilegesQuery;
|
|
14824
14865
|
allow_restricted_indices?: boolean;
|
|
14825
14866
|
}
|
|
14826
14867
|
export interface SecurityReplicationAccess {
|
|
14827
|
-
names: IndexName[];
|
|
14868
|
+
names: IndexName | IndexName[];
|
|
14828
14869
|
allow_restricted_indices?: boolean;
|
|
14829
14870
|
}
|
|
14871
|
+
export interface SecurityRestriction {
|
|
14872
|
+
workflows: SecurityRestrictionWorkflow[];
|
|
14873
|
+
}
|
|
14874
|
+
export type SecurityRestrictionWorkflow = 'search_application_query' | string;
|
|
14830
14875
|
export interface SecurityRoleDescriptor {
|
|
14831
14876
|
cluster?: SecurityClusterPrivilege[];
|
|
14832
14877
|
indices?: SecurityIndicesPrivileges[];
|
|
14833
14878
|
index?: SecurityIndicesPrivileges[];
|
|
14879
|
+
remote_indices?: SecurityRemoteIndicesPrivileges[];
|
|
14880
|
+
remote_cluster?: SecurityRemoteClusterPrivileges[];
|
|
14834
14881
|
global?: SecurityGlobalPrivilege[] | SecurityGlobalPrivilege;
|
|
14835
14882
|
applications?: SecurityApplicationPrivileges[];
|
|
14836
14883
|
metadata?: Metadata;
|
|
14837
14884
|
run_as?: string[];
|
|
14838
14885
|
description?: string;
|
|
14886
|
+
restriction?: SecurityRestriction;
|
|
14839
14887
|
transient_metadata?: Record<string, any>;
|
|
14840
14888
|
}
|
|
14841
14889
|
export interface SecurityRoleDescriptorRead {
|
|
14842
14890
|
cluster: SecurityClusterPrivilege[];
|
|
14843
14891
|
indices: SecurityIndicesPrivileges[];
|
|
14844
14892
|
index: SecurityIndicesPrivileges[];
|
|
14893
|
+
remote_indices?: SecurityRemoteIndicesPrivileges[];
|
|
14894
|
+
remote_cluster?: SecurityRemoteClusterPrivileges[];
|
|
14845
14895
|
global?: SecurityGlobalPrivilege[] | SecurityGlobalPrivilege;
|
|
14846
14896
|
applications?: SecurityApplicationPrivileges[];
|
|
14847
14897
|
metadata?: Metadata;
|
|
14848
14898
|
run_as?: string[];
|
|
14849
14899
|
description?: string;
|
|
14900
|
+
restriction?: SecurityRestriction;
|
|
14850
14901
|
transient_metadata?: Record<string, any>;
|
|
14851
14902
|
}
|
|
14852
14903
|
export interface SecurityRoleMapping {
|
|
@@ -14879,7 +14930,7 @@ export interface SecurityRoleTemplateScript {
|
|
|
14879
14930
|
}
|
|
14880
14931
|
export interface SecuritySearchAccess {
|
|
14881
14932
|
field_security?: SecurityFieldSecurity;
|
|
14882
|
-
names: IndexName[];
|
|
14933
|
+
names: IndexName | IndexName[];
|
|
14883
14934
|
query?: SecurityIndicesPrivilegesQuery;
|
|
14884
14935
|
allow_restricted_indices?: boolean;
|
|
14885
14936
|
}
|
|
@@ -14895,7 +14946,7 @@ export interface SecurityUser {
|
|
|
14895
14946
|
}
|
|
14896
14947
|
export interface SecurityUserIndicesPrivileges {
|
|
14897
14948
|
field_security?: SecurityFieldSecurity[];
|
|
14898
|
-
names:
|
|
14949
|
+
names: IndexName | IndexName[];
|
|
14899
14950
|
privileges: SecurityIndexPrivilege[];
|
|
14900
14951
|
query?: SecurityIndicesPrivilegesQuery[];
|
|
14901
14952
|
allow_restricted_indices: boolean;
|
|
@@ -14931,10 +14982,14 @@ export interface SecurityActivateUserProfileRequest extends RequestBase {
|
|
|
14931
14982
|
username?: string;
|
|
14932
14983
|
}
|
|
14933
14984
|
export type SecurityActivateUserProfileResponse = SecurityUserProfileWithMetadata;
|
|
14985
|
+
export interface SecurityAuthenticateAuthenticateApiKey {
|
|
14986
|
+
id: Id;
|
|
14987
|
+
name?: Name;
|
|
14988
|
+
}
|
|
14934
14989
|
export interface SecurityAuthenticateRequest extends RequestBase {
|
|
14935
14990
|
}
|
|
14936
14991
|
export interface SecurityAuthenticateResponse {
|
|
14937
|
-
api_key?:
|
|
14992
|
+
api_key?: SecurityAuthenticateAuthenticateApiKey;
|
|
14938
14993
|
authentication_realm: SecurityRealmInfo;
|
|
14939
14994
|
email?: string | null;
|
|
14940
14995
|
full_name?: Name | null;
|
|
@@ -15158,8 +15213,9 @@ export interface SecurityGetApiKeyResponse {
|
|
|
15158
15213
|
export interface SecurityGetBuiltinPrivilegesRequest extends RequestBase {
|
|
15159
15214
|
}
|
|
15160
15215
|
export interface SecurityGetBuiltinPrivilegesResponse {
|
|
15161
|
-
cluster:
|
|
15162
|
-
index:
|
|
15216
|
+
cluster: SecurityClusterPrivilege[];
|
|
15217
|
+
index: IndexName[];
|
|
15218
|
+
remote_cluster: SecurityRemoteClusterPrivilege[];
|
|
15163
15219
|
}
|
|
15164
15220
|
export interface SecurityGetPrivilegesRequest extends RequestBase {
|
|
15165
15221
|
application?: Name;
|
|
@@ -15171,8 +15227,10 @@ export interface SecurityGetRoleRequest extends RequestBase {
|
|
|
15171
15227
|
}
|
|
15172
15228
|
export type SecurityGetRoleResponse = Record<string, SecurityGetRoleRole>;
|
|
15173
15229
|
export interface SecurityGetRoleRole {
|
|
15174
|
-
cluster:
|
|
15230
|
+
cluster: SecurityClusterPrivilege[];
|
|
15175
15231
|
indices: SecurityIndicesPrivileges[];
|
|
15232
|
+
remote_indices?: SecurityRemoteIndicesPrivileges[];
|
|
15233
|
+
remote_cluster?: SecurityRemoteClusterPrivileges[];
|
|
15176
15234
|
metadata: Metadata;
|
|
15177
15235
|
run_as: string[];
|
|
15178
15236
|
transient_metadata?: Record<string, any>;
|
|
@@ -15380,6 +15438,7 @@ export interface SecurityPutRoleRequest extends RequestBase {
|
|
|
15380
15438
|
global?: Record<string, any>;
|
|
15381
15439
|
indices?: SecurityIndicesPrivileges[];
|
|
15382
15440
|
remote_indices?: SecurityRemoteIndicesPrivileges[];
|
|
15441
|
+
remote_cluster?: SecurityRemoteClusterPrivileges[];
|
|
15383
15442
|
metadata?: Metadata;
|
|
15384
15443
|
run_as?: string[];
|
|
15385
15444
|
description?: string;
|
|
@@ -16915,6 +16974,7 @@ export interface WatcherReportingEmailAttachment {
|
|
|
16915
16974
|
}
|
|
16916
16975
|
export type WatcherResponseContentType = 'json' | 'yaml' | 'text';
|
|
16917
16976
|
export interface WatcherScheduleContainer {
|
|
16977
|
+
timezone?: string;
|
|
16918
16978
|
cron?: WatcherCronExpression;
|
|
16919
16979
|
daily?: WatcherDailySchedule;
|
|
16920
16980
|
hourly?: WatcherHourlySchedule;
|
|
@@ -17638,7 +17698,6 @@ export interface SpecUtilsCommonCatQueryParameters {
|
|
|
17638
17698
|
format?: string;
|
|
17639
17699
|
h?: Names;
|
|
17640
17700
|
help?: boolean;
|
|
17641
|
-
local?: boolean;
|
|
17642
17701
|
master_timeout?: Duration;
|
|
17643
17702
|
s?: Names;
|
|
17644
17703
|
v?: boolean;
|