@elastic/elasticsearch 8.17.0 → 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.
Files changed (102) hide show
  1. package/lib/api/api/bulk.d.ts +1 -1
  2. package/lib/api/api/cat.d.ts +26 -26
  3. package/lib/api/api/ccr.d.ts +13 -13
  4. package/lib/api/api/cluster.d.ts +14 -14
  5. package/lib/api/api/connector.d.ts +20 -20
  6. package/lib/api/api/connector.js +69 -13
  7. package/lib/api/api/connector.js.map +1 -1
  8. package/lib/api/api/count.d.ts +1 -1
  9. package/lib/api/api/create.d.ts +1 -1
  10. package/lib/api/api/dangling_indices.d.ts +3 -3
  11. package/lib/api/api/delete.d.ts +1 -1
  12. package/lib/api/api/delete_by_query.d.ts +1 -1
  13. package/lib/api/api/delete_by_query_rethrottle.d.ts +1 -1
  14. package/lib/api/api/delete_script.d.ts +1 -1
  15. package/lib/api/api/esql.d.ts +15 -8
  16. package/lib/api/api/esql.js +42 -5
  17. package/lib/api/api/esql.js.map +1 -1
  18. package/lib/api/api/exists.d.ts +1 -1
  19. package/lib/api/api/exists_source.d.ts +1 -1
  20. package/lib/api/api/explain.d.ts +1 -1
  21. package/lib/api/api/features.d.ts +2 -2
  22. package/lib/api/api/get.d.ts +1 -1
  23. package/lib/api/api/get_script_context.d.ts +1 -1
  24. package/lib/api/api/get_script_languages.d.ts +1 -1
  25. package/lib/api/api/get_source.d.ts +1 -1
  26. package/lib/api/api/health_report.d.ts +1 -1
  27. package/lib/api/api/ilm.d.ts +11 -11
  28. package/lib/api/api/index.d.ts +1 -1
  29. package/lib/api/api/indices.d.ts +49 -42
  30. package/lib/api/api/indices.js +21 -0
  31. package/lib/api/api/indices.js.map +1 -1
  32. package/lib/api/api/inference.d.ts +13 -6
  33. package/lib/api/api/inference.js +56 -3
  34. package/lib/api/api/inference.js.map +1 -1
  35. package/lib/api/api/info.d.ts +2 -2
  36. package/lib/api/api/ingest.d.ts +13 -13
  37. package/lib/api/api/ingest.js +12 -4
  38. package/lib/api/api/ingest.js.map +1 -1
  39. package/lib/api/api/knn_search.d.ts +2 -2
  40. package/lib/api/api/license.d.ts +7 -7
  41. package/lib/api/api/logstash.d.ts +3 -3
  42. package/lib/api/api/mget.d.ts +1 -1
  43. package/lib/api/api/migration.d.ts +5 -5
  44. package/lib/api/api/ml.d.ts +6 -6
  45. package/lib/api/api/ml.js +4 -4
  46. package/lib/api/api/ml.js.map +1 -1
  47. package/lib/api/api/monitoring.d.ts +1 -1
  48. package/lib/api/api/msearch_template.d.ts +2 -2
  49. package/lib/api/api/mtermvectors.d.ts +1 -1
  50. package/lib/api/api/nodes.d.ts +7 -7
  51. package/lib/api/api/open_point_in_time.d.ts +1 -1
  52. package/lib/api/api/ping.d.ts +1 -1
  53. package/lib/api/api/put_script.d.ts +1 -1
  54. package/lib/api/api/query_rules.d.ts +4 -4
  55. package/lib/api/api/reindex.d.ts +1 -1
  56. package/lib/api/api/reindex_rethrottle.d.ts +1 -1
  57. package/lib/api/api/render_search_template.js +2 -2
  58. package/lib/api/api/render_search_template.js.map +1 -1
  59. package/lib/api/api/rollup.d.ts +8 -8
  60. package/lib/api/api/scroll.d.ts +1 -1
  61. package/lib/api/api/search.d.ts +1 -1
  62. package/lib/api/api/search_application.d.ts +10 -10
  63. package/lib/api/api/search_application.js +27 -6
  64. package/lib/api/api/search_application.js.map +1 -1
  65. package/lib/api/api/search_mvt.d.ts +1 -1
  66. package/lib/api/api/search_shards.d.ts +1 -1
  67. package/lib/api/api/search_template.d.ts +1 -1
  68. package/lib/api/api/searchable_snapshots.d.ts +7 -7
  69. package/lib/api/api/security.d.ts +72 -65
  70. package/lib/api/api/security.js +120 -13
  71. package/lib/api/api/security.js.map +1 -1
  72. package/lib/api/api/shutdown.d.ts +6 -6
  73. package/lib/api/api/simulate.d.ts +4 -4
  74. package/lib/api/api/simulate.js +17 -3
  75. package/lib/api/api/simulate.js.map +1 -1
  76. package/lib/api/api/slm.d.ts +9 -9
  77. package/lib/api/api/snapshot.d.ts +27 -27
  78. package/lib/api/api/snapshot.js +4 -4
  79. package/lib/api/api/snapshot.js.map +1 -1
  80. package/lib/api/api/sql.d.ts +3 -3
  81. package/lib/api/api/sql.js +1 -1
  82. package/lib/api/api/sql.js.map +1 -1
  83. package/lib/api/api/synonyms.d.ts +4 -4
  84. package/lib/api/api/tasks.d.ts +3 -3
  85. package/lib/api/api/terms_enum.d.ts +1 -1
  86. package/lib/api/api/termvectors.d.ts +1 -1
  87. package/lib/api/api/text_structure.d.ts +10 -10
  88. package/lib/api/api/text_structure.js +18 -4
  89. package/lib/api/api/text_structure.js.map +1 -1
  90. package/lib/api/api/transform.d.ts +1 -1
  91. package/lib/api/api/update.d.ts +1 -1
  92. package/lib/api/api/update_by_query.d.ts +1 -1
  93. package/lib/api/api/update_by_query_rethrottle.d.ts +1 -1
  94. package/lib/api/api/watcher.d.ts +19 -19
  95. package/lib/api/api/watcher.js +19 -3
  96. package/lib/api/api/watcher.js.map +1 -1
  97. package/lib/api/api/xpack.d.ts +2 -2
  98. package/lib/api/types.d.ts +762 -150
  99. package/lib/api/typesWithBodyKey.d.ts +815 -150
  100. package/lib/client.js +9 -1
  101. package/lib/client.js.map +1 -1
  102. package/package.json +3 -3
@@ -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 {
@@ -28,6 +29,7 @@ export interface BulkOperationContainer {
28
29
  export type BulkOperationType = 'index' | 'create' | 'update' | 'delete';
29
30
  export interface BulkRequest<TDocument = unknown, TPartialDocument = unknown> extends RequestBase {
30
31
  index?: IndexName;
32
+ list_executed_pipelines?: boolean;
31
33
  pipeline?: string;
32
34
  refresh?: Refresh;
33
35
  routing?: Routing;
@@ -37,6 +39,7 @@ export interface BulkRequest<TDocument = unknown, TPartialDocument = unknown> ex
37
39
  timeout?: Duration;
38
40
  wait_for_active_shards?: WaitForActiveShards;
39
41
  require_alias?: boolean;
42
+ require_data_stream?: boolean;
40
43
  /** @deprecated The use of the 'body' key has been deprecated, use 'operations' instead. */
41
44
  body?: (BulkOperationContainer | BulkUpdateAction<TDocument, TPartialDocument> | TDocument)[];
42
45
  }
@@ -50,6 +53,7 @@ export interface BulkResponseItem {
50
53
  _id?: string | null;
51
54
  _index: string;
52
55
  status: integer;
56
+ failure_store?: BulkFailureStoreStatus;
53
57
  error?: ErrorCause;
54
58
  _primary_term?: long;
55
59
  result?: string;
@@ -985,6 +989,7 @@ export interface RenderSearchTemplateRequest extends RequestBase {
985
989
  id?: Id;
986
990
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
987
991
  body?: {
992
+ id?: Id;
988
993
  file?: string;
989
994
  params?: Record<string, any>;
990
995
  source?: string;
@@ -1994,7 +1999,7 @@ export interface ErrorResponseBase {
1994
1999
  error: ErrorCause;
1995
2000
  status: integer;
1996
2001
  }
1997
- export type EsqlColumns = ArrayBuffer;
2002
+ export type EsqlResult = ArrayBuffer;
1998
2003
  export type ExpandWildcard = 'all' | 'open' | 'closed' | 'hidden' | 'none';
1999
2004
  export type ExpandWildcards = ExpandWildcard | ExpandWildcard[];
2000
2005
  export type Field = string;
@@ -2457,6 +2462,7 @@ export interface StoredScript {
2457
2462
  options?: Record<string, string>;
2458
2463
  source: string;
2459
2464
  }
2465
+ export type StreamResult = ArrayBuffer;
2460
2466
  export type SuggestMode = 'missing' | 'popular' | 'always';
2461
2467
  export type SuggestionName = string;
2462
2468
  export interface TaskFailure {
@@ -4788,6 +4794,7 @@ export interface MappingPropertyBase {
4788
4794
  ignore_above?: integer;
4789
4795
  dynamic?: MappingDynamicMapping;
4790
4796
  fields?: Record<PropertyName, MappingProperty>;
4797
+ synthetic_source_keep?: MappingSyntheticSourceKeepEnum;
4791
4798
  }
4792
4799
  export interface MappingRangePropertyBase extends MappingDocValuesPropertyBase {
4793
4800
  boost?: double;
@@ -4875,6 +4882,7 @@ export interface MappingSuggestContext {
4875
4882
  type: string;
4876
4883
  precision?: integer | string;
4877
4884
  }
4885
+ export type MappingSyntheticSourceKeepEnum = 'none' | 'arrays' | 'all';
4878
4886
  export type MappingTermVectorOption = 'no' | 'yes' | 'with_offsets' | 'with_positions' | 'with_positions_offsets' | 'with_positions_offsets_payloads' | 'with_positions_payloads';
4879
4887
  export interface MappingTextIndexPrefixes {
4880
4888
  max_chars: integer;
@@ -5678,6 +5686,7 @@ export interface AsyncSearchStatusStatusResponseBase extends AsyncSearchAsyncSea
5678
5686
  export interface AsyncSearchSubmitRequest extends RequestBase {
5679
5687
  index?: Indices;
5680
5688
  wait_for_completion_timeout?: Duration;
5689
+ keep_alive?: Duration;
5681
5690
  keep_on_completion?: boolean;
5682
5691
  allow_no_indices?: boolean;
5683
5692
  allow_partial_search_results?: boolean;
@@ -5830,6 +5839,8 @@ export interface CatAliasesAliasesRecord {
5830
5839
  export interface CatAliasesRequest extends CatCatRequestBase {
5831
5840
  name?: Names;
5832
5841
  expand_wildcards?: ExpandWildcards;
5842
+ local?: boolean;
5843
+ master_timeout?: Duration;
5833
5844
  }
5834
5845
  export type CatAliasesResponse = CatAliasesAliasesRecord[];
5835
5846
  export interface CatAllocationAllocationRecord {
@@ -5870,11 +5881,13 @@ export interface CatAllocationAllocationRecord {
5870
5881
  export interface CatAllocationRequest extends CatCatRequestBase {
5871
5882
  node_id?: NodeIds;
5872
5883
  bytes?: Bytes;
5884
+ local?: boolean;
5885
+ master_timeout?: Duration;
5873
5886
  }
5874
5887
  export type CatAllocationResponse = CatAllocationAllocationRecord[];
5875
5888
  export interface CatComponentTemplatesComponentTemplate {
5876
5889
  name: string;
5877
- version: string;
5890
+ version: string | null;
5878
5891
  alias_count: string;
5879
5892
  mapping_count: string;
5880
5893
  settings_count: string;
@@ -5883,6 +5896,8 @@ export interface CatComponentTemplatesComponentTemplate {
5883
5896
  }
5884
5897
  export interface CatComponentTemplatesRequest extends CatCatRequestBase {
5885
5898
  name?: string;
5899
+ local?: boolean;
5900
+ master_timeout?: Duration;
5886
5901
  }
5887
5902
  export type CatComponentTemplatesResponse = CatComponentTemplatesComponentTemplate[];
5888
5903
  export interface CatCountCountRecord {
@@ -5975,12 +5990,10 @@ export interface CatHealthRequest extends CatCatRequestBase {
5975
5990
  ts?: boolean;
5976
5991
  }
5977
5992
  export type CatHealthResponse = CatHealthHealthRecord[];
5978
- export interface CatHelpHelpRecord {
5979
- endpoint: string;
5993
+ export interface CatHelpRequest {
5980
5994
  }
5981
- export interface CatHelpRequest extends CatCatRequestBase {
5995
+ export interface CatHelpResponse {
5982
5996
  }
5983
- export type CatHelpResponse = CatHelpHelpRecord[];
5984
5997
  export interface CatIndicesIndicesRecord {
5985
5998
  health?: string;
5986
5999
  h?: string;
@@ -6279,6 +6292,7 @@ export interface CatIndicesRequest extends CatCatRequestBase {
6279
6292
  include_unloaded_segments?: boolean;
6280
6293
  pri?: boolean;
6281
6294
  time?: TimeUnit;
6295
+ master_timeout?: Duration;
6282
6296
  }
6283
6297
  export type CatIndicesResponse = CatIndicesIndicesRecord[];
6284
6298
  export interface CatMasterMasterRecord {
@@ -6290,6 +6304,8 @@ export interface CatMasterMasterRecord {
6290
6304
  n?: string;
6291
6305
  }
6292
6306
  export interface CatMasterRequest extends CatCatRequestBase {
6307
+ local?: boolean;
6308
+ master_timeout?: Duration;
6293
6309
  }
6294
6310
  export type CatMasterResponse = CatMasterMasterRecord[];
6295
6311
  export interface CatMlDataFrameAnalyticsDataFrameAnalyticsRecord {
@@ -6341,7 +6357,7 @@ export interface CatMlDataFrameAnalyticsRequest extends CatCatRequestBase {
6341
6357
  bytes?: Bytes;
6342
6358
  h?: CatCatDfaColumns;
6343
6359
  s?: CatCatDfaColumns;
6344
- time?: Duration;
6360
+ time?: TimeUnit;
6345
6361
  }
6346
6362
  export type CatMlDataFrameAnalyticsResponse = CatMlDataFrameAnalyticsDataFrameAnalyticsRecord[];
6347
6363
  export interface CatMlDatafeedsDatafeedsRecord {
@@ -6579,6 +6595,7 @@ export interface CatMlTrainedModelsRequest extends CatCatRequestBase {
6579
6595
  s?: CatCatTrainedModelsColumns;
6580
6596
  from?: integer;
6581
6597
  size?: integer;
6598
+ time?: TimeUnit;
6582
6599
  }
6583
6600
  export type CatMlTrainedModelsResponse = CatMlTrainedModelsTrainedModelsRecord[];
6584
6601
  export interface CatMlTrainedModelsTrainedModelsRecord {
@@ -6642,6 +6659,8 @@ export interface CatNodeattrsNodeAttributesRecord {
6642
6659
  value?: string;
6643
6660
  }
6644
6661
  export interface CatNodeattrsRequest extends CatCatRequestBase {
6662
+ local?: boolean;
6663
+ master_timeout?: Duration;
6645
6664
  }
6646
6665
  export type CatNodeattrsResponse = CatNodeattrsNodeAttributesRecord[];
6647
6666
  export interface CatNodesNodesRecord {
@@ -6917,6 +6936,8 @@ export interface CatNodesRequest extends CatCatRequestBase {
6917
6936
  bytes?: Bytes;
6918
6937
  full_id?: boolean | string;
6919
6938
  include_unloaded_segments?: boolean;
6939
+ master_timeout?: Duration;
6940
+ time?: TimeUnit;
6920
6941
  }
6921
6942
  export type CatNodesResponse = CatNodesNodesRecord[];
6922
6943
  export interface CatPendingTasksPendingTasksRecord {
@@ -6930,6 +6951,9 @@ export interface CatPendingTasksPendingTasksRecord {
6930
6951
  s?: string;
6931
6952
  }
6932
6953
  export interface CatPendingTasksRequest extends CatCatRequestBase {
6954
+ local?: boolean;
6955
+ master_timeout?: Duration;
6956
+ time?: TimeUnit;
6933
6957
  }
6934
6958
  export type CatPendingTasksResponse = CatPendingTasksPendingTasksRecord[];
6935
6959
  export interface CatPluginsPluginsRecord {
@@ -6946,6 +6970,9 @@ export interface CatPluginsPluginsRecord {
6946
6970
  t?: string;
6947
6971
  }
6948
6972
  export interface CatPluginsRequest extends CatCatRequestBase {
6973
+ include_bootstrap?: boolean;
6974
+ local?: boolean;
6975
+ master_timeout?: Duration;
6949
6976
  }
6950
6977
  export type CatPluginsResponse = CatPluginsPluginsRecord[];
6951
6978
  export interface CatRecoveryRecoveryRecord {
@@ -7010,6 +7037,7 @@ export interface CatRecoveryRequest extends CatCatRequestBase {
7010
7037
  active_only?: boolean;
7011
7038
  bytes?: Bytes;
7012
7039
  detailed?: boolean;
7040
+ time?: TimeUnit;
7013
7041
  }
7014
7042
  export type CatRecoveryResponse = CatRecoveryRecoveryRecord[];
7015
7043
  export interface CatRepositoriesRepositoriesRecord {
@@ -7019,11 +7047,15 @@ export interface CatRepositoriesRepositoriesRecord {
7019
7047
  t?: string;
7020
7048
  }
7021
7049
  export interface CatRepositoriesRequest extends CatCatRequestBase {
7050
+ local?: boolean;
7051
+ master_timeout?: Duration;
7022
7052
  }
7023
7053
  export type CatRepositoriesResponse = CatRepositoriesRepositoriesRecord[];
7024
7054
  export interface CatSegmentsRequest extends CatCatRequestBase {
7025
7055
  index?: Indices;
7026
7056
  bytes?: Bytes;
7057
+ local?: boolean;
7058
+ master_timeout?: Duration;
7027
7059
  }
7028
7060
  export type CatSegmentsResponse = CatSegmentsSegmentsRecord[];
7029
7061
  export interface CatSegmentsSegmentsRecord {
@@ -7070,6 +7102,8 @@ export interface CatSegmentsSegmentsRecord {
7070
7102
  export interface CatShardsRequest extends CatCatRequestBase {
7071
7103
  index?: Indices;
7072
7104
  bytes?: Bytes;
7105
+ master_timeout?: Duration;
7106
+ time?: TimeUnit;
7073
7107
  }
7074
7108
  export type CatShardsResponse = CatShardsShardsRecord[];
7075
7109
  export interface CatShardsShardsRecord {
@@ -7289,6 +7323,8 @@ export interface CatShardsShardsRecord {
7289
7323
  export interface CatSnapshotsRequest extends CatCatRequestBase {
7290
7324
  repository?: Names;
7291
7325
  ignore_unavailable?: boolean;
7326
+ master_timeout?: Duration;
7327
+ time?: TimeUnit;
7292
7328
  }
7293
7329
  export type CatSnapshotsResponse = CatSnapshotsSnapshotsRecord[];
7294
7330
  export interface CatSnapshotsSnapshotsRecord {
@@ -7327,8 +7363,11 @@ export interface CatSnapshotsSnapshotsRecord {
7327
7363
  export interface CatTasksRequest extends CatCatRequestBase {
7328
7364
  actions?: string[];
7329
7365
  detailed?: boolean;
7330
- node_id?: string[];
7366
+ nodes?: string[];
7331
7367
  parent_task_id?: string;
7368
+ time?: TimeUnit;
7369
+ timeout?: Duration;
7370
+ wait_for_completion?: boolean;
7332
7371
  }
7333
7372
  export type CatTasksResponse = CatTasksTasksRecord[];
7334
7373
  export interface CatTasksTasksRecord {
@@ -7367,6 +7406,8 @@ export interface CatTasksTasksRecord {
7367
7406
  }
7368
7407
  export interface CatTemplatesRequest extends CatCatRequestBase {
7369
7408
  name?: Name;
7409
+ local?: boolean;
7410
+ master_timeout?: Duration;
7370
7411
  }
7371
7412
  export type CatTemplatesResponse = CatTemplatesTemplatesRecord[];
7372
7413
  export interface CatTemplatesTemplatesRecord {
@@ -7385,6 +7426,8 @@ export interface CatTemplatesTemplatesRecord {
7385
7426
  export interface CatThreadPoolRequest extends CatCatRequestBase {
7386
7427
  thread_pool_patterns?: Names;
7387
7428
  time?: TimeUnit;
7429
+ local?: boolean;
7430
+ master_timeout?: Duration;
7388
7431
  }
7389
7432
  export type CatThreadPoolResponse = CatThreadPoolThreadPoolRecord[];
7390
7433
  export interface CatThreadPoolThreadPoolRecord {
@@ -7732,6 +7775,7 @@ export interface ClusterComponentTemplateNode {
7732
7775
  template: ClusterComponentTemplateSummary;
7733
7776
  version?: VersionNumber;
7734
7777
  _meta?: Metadata;
7778
+ deprecated?: boolean;
7735
7779
  }
7736
7780
  export interface ClusterComponentTemplateSummary {
7737
7781
  _meta?: Metadata;
@@ -8605,10 +8649,34 @@ export interface ConnectorSyncJobCancelRequest extends RequestBase {
8605
8649
  export interface ConnectorSyncJobCancelResponse {
8606
8650
  result: Result;
8607
8651
  }
8652
+ export interface ConnectorSyncJobCheckInRequest extends RequestBase {
8653
+ connector_sync_job_id: Id;
8654
+ }
8655
+ export interface ConnectorSyncJobCheckInResponse {
8656
+ }
8657
+ export interface ConnectorSyncJobClaimRequest extends RequestBase {
8658
+ connector_sync_job_id: Id;
8659
+ /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
8660
+ body?: {
8661
+ sync_cursor?: any;
8662
+ worker_hostname: string;
8663
+ };
8664
+ }
8665
+ export interface ConnectorSyncJobClaimResponse {
8666
+ }
8608
8667
  export interface ConnectorSyncJobDeleteRequest extends RequestBase {
8609
8668
  connector_sync_job_id: Id;
8610
8669
  }
8611
8670
  export type ConnectorSyncJobDeleteResponse = AcknowledgedResponseBase;
8671
+ export interface ConnectorSyncJobErrorRequest extends RequestBase {
8672
+ connector_sync_job_id: Id;
8673
+ /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
8674
+ body?: {
8675
+ error: string;
8676
+ };
8677
+ }
8678
+ export interface ConnectorSyncJobErrorResponse {
8679
+ }
8612
8680
  export interface ConnectorSyncJobGetRequest extends RequestBase {
8613
8681
  connector_sync_job_id: Id;
8614
8682
  }
@@ -8635,6 +8703,20 @@ export interface ConnectorSyncJobPostRequest extends RequestBase {
8635
8703
  export interface ConnectorSyncJobPostResponse {
8636
8704
  id: Id;
8637
8705
  }
8706
+ export interface ConnectorSyncJobUpdateStatsRequest extends RequestBase {
8707
+ connector_sync_job_id: Id;
8708
+ /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
8709
+ body?: {
8710
+ deleted_document_count: long;
8711
+ indexed_document_count: long;
8712
+ indexed_document_volume: long;
8713
+ last_seen?: Duration;
8714
+ metadata?: Metadata;
8715
+ total_document_count?: integer;
8716
+ };
8717
+ }
8718
+ export interface ConnectorSyncJobUpdateStatsResponse {
8719
+ }
8638
8720
  export interface ConnectorUpdateActiveFilteringRequest extends RequestBase {
8639
8721
  connector_id: Id;
8640
8722
  }
@@ -8673,6 +8755,16 @@ export interface ConnectorUpdateErrorRequest extends RequestBase {
8673
8755
  export interface ConnectorUpdateErrorResponse {
8674
8756
  result: Result;
8675
8757
  }
8758
+ export interface ConnectorUpdateFeaturesRequest extends RequestBase {
8759
+ connector_id: Id;
8760
+ /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
8761
+ body?: {
8762
+ features: ConnectorConnectorFeatures;
8763
+ };
8764
+ }
8765
+ export interface ConnectorUpdateFeaturesResponse {
8766
+ result: Result;
8767
+ }
8676
8768
  export interface ConnectorUpdateFilteringRequest extends RequestBase {
8677
8769
  connector_id: Id;
8678
8770
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
@@ -8943,6 +9035,37 @@ export type EsqlTableValuesIntegerValue = integer | integer[];
8943
9035
  export type EsqlTableValuesKeywordValue = string | string[];
8944
9036
  export type EsqlTableValuesLongDouble = double | double[];
8945
9037
  export type EsqlTableValuesLongValue = long | long[];
9038
+ export interface EsqlAsyncQueryRequest extends RequestBase {
9039
+ delimiter?: string;
9040
+ drop_null_columns?: boolean;
9041
+ format?: EsqlQueryEsqlFormat;
9042
+ keep_alive?: Duration;
9043
+ keep_on_completion?: boolean;
9044
+ wait_for_completion_timeout?: Duration;
9045
+ /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
9046
+ body?: {
9047
+ columnar?: boolean;
9048
+ filter?: QueryDslQueryContainer;
9049
+ locale?: string;
9050
+ params?: FieldValue[];
9051
+ profile?: boolean;
9052
+ query: string;
9053
+ tables?: Record<string, Record<string, EsqlTableValuesContainer>>;
9054
+ include_ccs_metadata?: boolean;
9055
+ };
9056
+ }
9057
+ export type EsqlAsyncQueryResponse = EsqlResult;
9058
+ export interface EsqlAsyncQueryDeleteRequest extends RequestBase {
9059
+ id: Id;
9060
+ }
9061
+ export type EsqlAsyncQueryDeleteResponse = AcknowledgedResponseBase;
9062
+ export interface EsqlAsyncQueryGetRequest extends RequestBase {
9063
+ id: Id;
9064
+ drop_null_columns?: boolean;
9065
+ keep_alive?: Duration;
9066
+ wait_for_completion_timeout?: Duration;
9067
+ }
9068
+ export type EsqlAsyncQueryGetResponse = EsqlResult;
8946
9069
  export type EsqlQueryEsqlFormat = 'csv' | 'json' | 'tsv' | 'txt' | 'yaml' | 'cbor' | 'smile' | 'arrow';
8947
9070
  export interface EsqlQueryRequest extends RequestBase {
8948
9071
  format?: EsqlQueryEsqlFormat;
@@ -8957,9 +9080,10 @@ export interface EsqlQueryRequest extends RequestBase {
8957
9080
  profile?: boolean;
8958
9081
  query: string;
8959
9082
  tables?: Record<string, Record<string, EsqlTableValuesContainer>>;
9083
+ include_ccs_metadata?: boolean;
8960
9084
  };
8961
9085
  }
8962
- export type EsqlQueryResponse = EsqlColumns;
9086
+ export type EsqlQueryResponse = EsqlResult;
8963
9087
  export interface FeaturesFeature {
8964
9088
  name: string;
8965
9089
  description: string;
@@ -9188,7 +9312,7 @@ export interface IlmMigrateAction {
9188
9312
  }
9189
9313
  export interface IlmPhase {
9190
9314
  actions?: IlmActions;
9191
- min_age?: Duration | long;
9315
+ min_age?: Duration;
9192
9316
  }
9193
9317
  export interface IlmPhases {
9194
9318
  cold?: IlmPhase;
@@ -9242,7 +9366,7 @@ export interface IlmExplainLifecycleLifecycleExplainManaged {
9242
9366
  age?: Duration;
9243
9367
  failed_step?: Name;
9244
9368
  failed_step_retry_count?: integer;
9245
- index?: IndexName;
9369
+ index: IndexName;
9246
9370
  index_creation_date?: DateTime;
9247
9371
  index_creation_date_millis?: EpochTime<UnitMillis>;
9248
9372
  is_auto_retryable_error?: boolean;
@@ -9252,7 +9376,11 @@ export interface IlmExplainLifecycleLifecycleExplainManaged {
9252
9376
  phase: Name;
9253
9377
  phase_time?: DateTime;
9254
9378
  phase_time_millis?: EpochTime<UnitMillis>;
9255
- policy: Name;
9379
+ policy?: Name;
9380
+ previous_step_info?: Record<string, any>;
9381
+ repository_name?: string;
9382
+ snapshot_name?: string;
9383
+ shrink_index_name?: string;
9256
9384
  step?: Name;
9257
9385
  step_info?: Record<string, any>;
9258
9386
  step_time?: DateTime;
@@ -9261,6 +9389,7 @@ export interface IlmExplainLifecycleLifecycleExplainManaged {
9261
9389
  time_since_index_creation?: Duration;
9262
9390
  }
9263
9391
  export interface IlmExplainLifecycleLifecycleExplainPhaseExecution {
9392
+ phase_definition?: IlmPhase;
9264
9393
  policy: Name;
9265
9394
  version: VersionNumber;
9266
9395
  modified_date_in_millis: EpochTime<UnitMillis>;
@@ -9564,6 +9693,7 @@ export interface IndicesIndexSettingsLifecycle {
9564
9693
  parse_origination_date?: boolean;
9565
9694
  step?: IndicesIndexSettingsLifecycleStep;
9566
9695
  rollover_alias?: string;
9696
+ prefer_ilm?: boolean | string;
9567
9697
  }
9568
9698
  export interface IndicesIndexSettingsLifecycleStep {
9569
9699
  wait_time_threshold?: Duration;
@@ -9630,7 +9760,8 @@ export interface IndicesMappingLimitSettings {
9630
9760
  nested_objects?: IndicesMappingLimitSettingsNestedObjects;
9631
9761
  field_name_length?: IndicesMappingLimitSettingsFieldNameLength;
9632
9762
  dimension_fields?: IndicesMappingLimitSettingsDimensionFields;
9633
- ignore_malformed?: boolean;
9763
+ source?: IndicesMappingLimitSettingsSourceFields;
9764
+ ignore_malformed?: boolean | string;
9634
9765
  }
9635
9766
  export interface IndicesMappingLimitSettingsDepth {
9636
9767
  limit?: long;
@@ -9647,6 +9778,9 @@ export interface IndicesMappingLimitSettingsNestedFields {
9647
9778
  export interface IndicesMappingLimitSettingsNestedObjects {
9648
9779
  limit?: long;
9649
9780
  }
9781
+ export interface IndicesMappingLimitSettingsSourceFields {
9782
+ mode: IndicesSourceMode;
9783
+ }
9650
9784
  export interface IndicesMappingLimitSettingsTotalFields {
9651
9785
  limit?: long | string;
9652
9786
  ignore_dynamic_beyond_limit?: boolean | string;
@@ -9746,6 +9880,7 @@ export interface IndicesSoftDeletes {
9746
9880
  enabled?: boolean;
9747
9881
  retention_lease?: IndicesRetentionLease;
9748
9882
  }
9883
+ export type IndicesSourceMode = 'DISABLED' | 'STORED' | 'SYNTHETIC';
9749
9884
  export interface IndicesStorage {
9750
9885
  type: IndicesStorageType;
9751
9886
  allow_mmap?: boolean;
@@ -10159,6 +10294,19 @@ export interface IndicesGetDataLifecycleRequest extends RequestBase {
10159
10294
  export interface IndicesGetDataLifecycleResponse {
10160
10295
  data_streams: IndicesGetDataLifecycleDataStreamWithLifecycle[];
10161
10296
  }
10297
+ export interface IndicesGetDataLifecycleStatsDataStreamStats {
10298
+ backing_indices_in_error: integer;
10299
+ backing_indices_in_total: integer;
10300
+ name: DataStreamName;
10301
+ }
10302
+ export interface IndicesGetDataLifecycleStatsRequest extends RequestBase {
10303
+ }
10304
+ export interface IndicesGetDataLifecycleStatsResponse {
10305
+ data_stream_count: integer;
10306
+ data_streams: IndicesGetDataLifecycleStatsDataStreamStats[];
10307
+ last_run_duration_in_millis?: DurationValue<UnitMillis>;
10308
+ time_between_starts_in_millis?: DurationValue<UnitMillis>;
10309
+ }
10162
10310
  export interface IndicesGetDataStreamRequest extends RequestBase {
10163
10311
  name?: DataStreamNames;
10164
10312
  expand_wildcards?: ExpandWildcards;
@@ -10948,7 +11096,14 @@ export interface InferenceDeleteInferenceEndpointResult extends AcknowledgedResp
10948
11096
  }
10949
11097
  export type InferenceDenseByteVector = byte[];
10950
11098
  export type InferenceDenseVector = float[];
11099
+ export interface InferenceInferenceChunkingSettings extends InferenceInferenceEndpoint {
11100
+ max_chunk_size?: integer;
11101
+ overlap?: integer;
11102
+ sentence_overlap?: integer;
11103
+ strategy?: string;
11104
+ }
10951
11105
  export interface InferenceInferenceEndpoint {
11106
+ chunking_settings?: InferenceInferenceChunkingSettings;
10952
11107
  service: string;
10953
11108
  service_settings: InferenceServiceSettings;
10954
11109
  task_settings?: InferenceTaskSettings;
@@ -10966,7 +11121,7 @@ export interface InferenceInferenceResult {
10966
11121
  }
10967
11122
  export interface InferenceRankedDocument {
10968
11123
  index: integer;
10969
- score: float;
11124
+ relevance_score: float;
10970
11125
  text?: string;
10971
11126
  }
10972
11127
  export type InferenceServiceSettings = any;
@@ -11015,6 +11170,22 @@ export interface InferencePutRequest extends RequestBase {
11015
11170
  body?: InferenceInferenceEndpoint;
11016
11171
  }
11017
11172
  export type InferencePutResponse = InferenceInferenceEndpointInfo;
11173
+ export interface InferenceStreamInferenceRequest extends RequestBase {
11174
+ inference_id: Id;
11175
+ task_type?: InferenceTaskType;
11176
+ /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
11177
+ body?: {
11178
+ input: string | string[];
11179
+ };
11180
+ }
11181
+ export type InferenceStreamInferenceResponse = StreamResult;
11182
+ export interface InferenceUpdateRequest extends RequestBase {
11183
+ inference_id: Id;
11184
+ task_type?: InferenceTaskType;
11185
+ /** @deprecated The use of the 'body' key has been deprecated, use 'inference_config' instead. */
11186
+ body?: InferenceInferenceEndpoint;
11187
+ }
11188
+ export type InferenceUpdateResponse = InferenceInferenceEndpointInfo;
11018
11189
  export interface IngestAppendProcessor extends IngestProcessorBase {
11019
11190
  field: Field;
11020
11191
  value: any | any[];
@@ -11073,7 +11244,15 @@ export interface IngestCsvProcessor extends IngestProcessorBase {
11073
11244
  }
11074
11245
  export interface IngestDatabaseConfiguration {
11075
11246
  name: Name;
11076
- maxmind: IngestMaxmind;
11247
+ maxmind?: IngestMaxmind;
11248
+ ipinfo?: IngestIpinfo;
11249
+ }
11250
+ export interface IngestDatabaseConfigurationFull {
11251
+ web?: IngestWeb;
11252
+ local?: IngestLocal;
11253
+ name: Name;
11254
+ maxmind?: IngestMaxmind;
11255
+ ipinfo?: IngestIpinfo;
11077
11256
  }
11078
11257
  export interface IngestDateIndexNameProcessor extends IngestProcessorBase {
11079
11258
  date_formats: string[];
@@ -11098,6 +11277,23 @@ export interface IngestDissectProcessor extends IngestProcessorBase {
11098
11277
  ignore_missing?: boolean;
11099
11278
  pattern: string;
11100
11279
  }
11280
+ export interface IngestDocument {
11281
+ _id?: Id;
11282
+ _index?: IndexName;
11283
+ _source: any;
11284
+ }
11285
+ export interface IngestDocumentSimulationKeys {
11286
+ _id: Id;
11287
+ _index: IndexName;
11288
+ _ingest: IngestIngest;
11289
+ _routing?: string;
11290
+ _source: Record<string, any>;
11291
+ _version?: SpecUtilsStringified<VersionNumber>;
11292
+ _version_type?: VersionType;
11293
+ }
11294
+ export type IngestDocumentSimulation = IngestDocumentSimulationKeys & {
11295
+ [property: string]: string | Id | IndexName | IngestIngest | Record<string, any> | SpecUtilsStringified<VersionNumber> | VersionType;
11296
+ };
11101
11297
  export interface IngestDotExpanderProcessor extends IngestProcessorBase {
11102
11298
  field: Field;
11103
11299
  override?: boolean;
@@ -11193,6 +11389,11 @@ export interface IngestInferenceProcessor extends IngestProcessorBase {
11193
11389
  field_map?: Record<Field, any>;
11194
11390
  inference_config?: IngestInferenceConfig;
11195
11391
  }
11392
+ export interface IngestIngest {
11393
+ _redact?: IngestRedact;
11394
+ timestamp: DateTime;
11395
+ pipeline?: Name;
11396
+ }
11196
11397
  export interface IngestIpLocationProcessor extends IngestProcessorBase {
11197
11398
  database_file?: string;
11198
11399
  field: Field;
@@ -11202,6 +11403,8 @@ export interface IngestIpLocationProcessor extends IngestProcessorBase {
11202
11403
  target_field?: Field;
11203
11404
  download_database_on_pipeline_creation?: boolean;
11204
11405
  }
11406
+ export interface IngestIpinfo {
11407
+ }
11205
11408
  export interface IngestJoinProcessor extends IngestProcessorBase {
11206
11409
  field: Field;
11207
11410
  separator: string;
@@ -11228,6 +11431,9 @@ export interface IngestKeyValueProcessor extends IngestProcessorBase {
11228
11431
  trim_value?: string;
11229
11432
  value_split: string;
11230
11433
  }
11434
+ export interface IngestLocal {
11435
+ type: string;
11436
+ }
11231
11437
  export interface IngestLowercaseProcessor extends IngestProcessorBase {
11232
11438
  field: Field;
11233
11439
  ignore_missing?: boolean;
@@ -11261,6 +11467,15 @@ export interface IngestPipelineProcessor extends IngestProcessorBase {
11261
11467
  name: Name;
11262
11468
  ignore_missing_pipeline?: boolean;
11263
11469
  }
11470
+ export interface IngestPipelineSimulation {
11471
+ doc?: IngestDocumentSimulation;
11472
+ tag?: string;
11473
+ processor_type?: string;
11474
+ status?: WatcherActionStatusOptions;
11475
+ description?: string;
11476
+ ignored_error?: ErrorCause;
11477
+ error?: ErrorCause;
11478
+ }
11264
11479
  export interface IngestProcessorBase {
11265
11480
  description?: string;
11266
11481
  if?: string;
@@ -11315,6 +11530,9 @@ export interface IngestProcessorContainer {
11315
11530
  uri_parts?: IngestUriPartsProcessor;
11316
11531
  user_agent?: IngestUserAgentProcessor;
11317
11532
  }
11533
+ export interface IngestRedact {
11534
+ _is_redacted: boolean;
11535
+ }
11318
11536
  export interface IngestRedactProcessor extends IngestProcessorBase {
11319
11537
  field: Field;
11320
11538
  patterns: GrokPattern[];
@@ -11364,6 +11582,11 @@ export interface IngestSetSecurityUserProcessor extends IngestProcessorBase {
11364
11582
  properties?: string[];
11365
11583
  }
11366
11584
  export type IngestShapeType = 'geo_shape' | 'shape';
11585
+ export interface IngestSimulateDocumentResult {
11586
+ doc?: IngestDocumentSimulation;
11587
+ error?: ErrorCause;
11588
+ processor_results?: IngestPipelineSimulation[];
11589
+ }
11367
11590
  export interface IngestSortProcessor extends IngestProcessorBase {
11368
11591
  field: Field;
11369
11592
  order?: SortOrder;
@@ -11409,12 +11632,20 @@ export interface IngestUserAgentProcessor extends IngestProcessorBase {
11409
11632
  extract_device_type?: boolean;
11410
11633
  }
11411
11634
  export type IngestUserAgentProperty = 'name' | 'os' | 'device' | 'original' | 'version';
11635
+ export interface IngestWeb {
11636
+ }
11412
11637
  export interface IngestDeleteGeoipDatabaseRequest extends RequestBase {
11413
11638
  id: Ids;
11414
11639
  master_timeout?: Duration;
11415
11640
  timeout?: Duration;
11416
11641
  }
11417
11642
  export type IngestDeleteGeoipDatabaseResponse = AcknowledgedResponseBase;
11643
+ export interface IngestDeleteIpLocationDatabaseRequest extends RequestBase {
11644
+ id: Ids;
11645
+ master_timeout?: Duration;
11646
+ timeout?: Duration;
11647
+ }
11648
+ export type IngestDeleteIpLocationDatabaseResponse = AcknowledgedResponseBase;
11418
11649
  export interface IngestDeletePipelineRequest extends RequestBase {
11419
11650
  id: Id;
11420
11651
  master_timeout?: Duration;
@@ -11455,6 +11686,20 @@ export interface IngestGetGeoipDatabaseRequest extends RequestBase {
11455
11686
  export interface IngestGetGeoipDatabaseResponse {
11456
11687
  databases: IngestGetGeoipDatabaseDatabaseConfigurationMetadata[];
11457
11688
  }
11689
+ export interface IngestGetIpLocationDatabaseDatabaseConfigurationMetadata {
11690
+ id: Id;
11691
+ version: VersionNumber;
11692
+ modified_date_millis?: EpochTime<UnitMillis>;
11693
+ modified_date?: EpochTime<UnitMillis>;
11694
+ database: IngestDatabaseConfigurationFull;
11695
+ }
11696
+ export interface IngestGetIpLocationDatabaseRequest extends RequestBase {
11697
+ id?: Ids;
11698
+ master_timeout?: Duration;
11699
+ }
11700
+ export interface IngestGetIpLocationDatabaseResponse {
11701
+ databases: IngestGetIpLocationDatabaseDatabaseConfigurationMetadata[];
11702
+ }
11458
11703
  export interface IngestGetPipelineRequest extends RequestBase {
11459
11704
  id?: Id;
11460
11705
  master_timeout?: Duration;
@@ -11477,6 +11722,14 @@ export interface IngestPutGeoipDatabaseRequest extends RequestBase {
11477
11722
  };
11478
11723
  }
11479
11724
  export type IngestPutGeoipDatabaseResponse = AcknowledgedResponseBase;
11725
+ export interface IngestPutIpLocationDatabaseRequest extends RequestBase {
11726
+ id: Id;
11727
+ master_timeout?: Duration;
11728
+ timeout?: Duration;
11729
+ /** @deprecated The use of the 'body' key has been deprecated, use 'configuration' instead. */
11730
+ body?: IngestDatabaseConfiguration;
11731
+ }
11732
+ export type IngestPutIpLocationDatabaseResponse = AcknowledgedResponseBase;
11480
11733
  export interface IngestPutPipelineRequest extends RequestBase {
11481
11734
  id: Id;
11482
11735
  master_timeout?: Duration;
@@ -11493,56 +11746,17 @@ export interface IngestPutPipelineRequest extends RequestBase {
11493
11746
  };
11494
11747
  }
11495
11748
  export type IngestPutPipelineResponse = AcknowledgedResponseBase;
11496
- export interface IngestSimulateDocument {
11497
- _id?: Id;
11498
- _index?: IndexName;
11499
- _source: any;
11500
- }
11501
- export interface IngestSimulateDocumentSimulationKeys {
11502
- _id: Id;
11503
- _index: IndexName;
11504
- _ingest: IngestSimulateIngest;
11505
- _routing?: string;
11506
- _source: Record<string, any>;
11507
- _version?: SpecUtilsStringified<VersionNumber>;
11508
- _version_type?: VersionType;
11509
- }
11510
- export type IngestSimulateDocumentSimulation = IngestSimulateDocumentSimulationKeys & {
11511
- [property: string]: string | Id | IndexName | IngestSimulateIngest | Record<string, any> | SpecUtilsStringified<VersionNumber> | VersionType;
11512
- };
11513
- export interface IngestSimulateIngest {
11514
- _redact?: IngestSimulateRedact;
11515
- timestamp: DateTime;
11516
- pipeline?: Name;
11517
- }
11518
- export interface IngestSimulatePipelineSimulation {
11519
- doc?: IngestSimulateDocumentSimulation;
11520
- tag?: string;
11521
- processor_type?: string;
11522
- status?: WatcherActionStatusOptions;
11523
- description?: string;
11524
- ignored_error?: ErrorCause;
11525
- error?: ErrorCause;
11526
- }
11527
- export interface IngestSimulateRedact {
11528
- _is_redacted: boolean;
11529
- }
11530
11749
  export interface IngestSimulateRequest extends RequestBase {
11531
11750
  id?: Id;
11532
11751
  verbose?: boolean;
11533
11752
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
11534
11753
  body?: {
11535
- docs: IngestSimulateDocument[];
11754
+ docs: IngestDocument[];
11536
11755
  pipeline?: IngestPipeline;
11537
11756
  };
11538
11757
  }
11539
11758
  export interface IngestSimulateResponse {
11540
- docs: IngestSimulateSimulateDocumentResult[];
11541
- }
11542
- export interface IngestSimulateSimulateDocumentResult {
11543
- doc?: IngestSimulateDocumentSimulation;
11544
- error?: ErrorCause;
11545
- processor_results?: IngestSimulatePipelineSimulation[];
11759
+ docs: IngestSimulateDocumentResult[];
11546
11760
  }
11547
11761
  export interface LicenseLicense {
11548
11762
  expiry_date_in_millis: EpochTime<UnitMillis>;
@@ -11632,10 +11846,10 @@ export interface LicensePostStartTrialResponse {
11632
11846
  export interface LogstashPipeline {
11633
11847
  description: string;
11634
11848
  last_modified: DateTime;
11635
- pipeline_metadata: LogstashPipelineMetadata;
11636
- username: string;
11637
11849
  pipeline: string;
11850
+ pipeline_metadata: LogstashPipelineMetadata;
11638
11851
  pipeline_settings: LogstashPipelineSettings;
11852
+ username: string;
11639
11853
  }
11640
11854
  export interface LogstashPipelineMetadata {
11641
11855
  type: string;
@@ -11710,6 +11924,11 @@ export interface MigrationPostFeatureUpgradeResponse {
11710
11924
  accepted: boolean;
11711
11925
  features: MigrationPostFeatureUpgradeMigrationFeature[];
11712
11926
  }
11927
+ export interface MlAdaptiveAllocationsSettings {
11928
+ enabled: boolean;
11929
+ min_number_of_allocations?: integer;
11930
+ max_number_of_allocations?: integer;
11931
+ }
11713
11932
  export interface MlAnalysisConfig {
11714
11933
  bucket_span?: Duration;
11715
11934
  categorization_analyzer?: MlCategorizationAnalyzer;
@@ -11738,7 +11957,7 @@ export interface MlAnalysisConfigRead {
11738
11957
  }
11739
11958
  export interface MlAnalysisLimits {
11740
11959
  categorization_examples_limit?: long;
11741
- model_memory_limit?: string;
11960
+ model_memory_limit?: ByteSize;
11742
11961
  }
11743
11962
  export interface MlAnalysisMemoryLimit {
11744
11963
  model_memory_limit: string;
@@ -11770,20 +11989,21 @@ export interface MlAnomaly {
11770
11989
  typical?: double[];
11771
11990
  }
11772
11991
  export interface MlAnomalyCause {
11773
- actual: double[];
11774
- by_field_name: Name;
11775
- by_field_value: string;
11776
- correlated_by_field_value: string;
11777
- field_name: Field;
11778
- function: string;
11779
- function_description: string;
11780
- influencers: MlInfluence[];
11781
- over_field_name: Name;
11782
- over_field_value: string;
11783
- partition_field_name: string;
11784
- partition_field_value: string;
11992
+ actual?: double[];
11993
+ by_field_name?: Name;
11994
+ by_field_value?: string;
11995
+ correlated_by_field_value?: string;
11996
+ field_name?: Field;
11997
+ function?: string;
11998
+ function_description?: string;
11999
+ geo_results?: MlGeoResults;
12000
+ influencers?: MlInfluence[];
12001
+ over_field_name?: Name;
12002
+ over_field_value?: string;
12003
+ partition_field_name?: string;
12004
+ partition_field_value?: string;
11785
12005
  probability: double;
11786
- typical: double[];
12006
+ typical?: double[];
11787
12007
  }
11788
12008
  export interface MlAnomalyExplanation {
11789
12009
  anomaly_characteristics_impact?: integer;
@@ -11870,6 +12090,13 @@ export interface MlClassificationInferenceOptions {
11870
12090
  results_field?: string;
11871
12091
  top_classes_results_field?: string;
11872
12092
  }
12093
+ export interface MlCommonTokenizationConfig {
12094
+ do_lower_case?: boolean;
12095
+ max_sequence_length?: integer;
12096
+ span?: integer;
12097
+ truncate?: MlTokenizationTruncate;
12098
+ with_special_tokens?: boolean;
12099
+ }
11873
12100
  export type MlConditionOperator = 'gt' | 'gte' | 'lt' | 'lte';
11874
12101
  export type MlCustomSettings = any;
11875
12102
  export interface MlDataCounts {
@@ -11950,14 +12177,15 @@ export type MlDatafeedState = 'started' | 'stopped' | 'starting' | 'stopping';
11950
12177
  export interface MlDatafeedStats {
11951
12178
  assignment_explanation?: string;
11952
12179
  datafeed_id: Id;
11953
- node?: MlDiscoveryNode;
12180
+ node?: MlDiscoveryNodeCompact;
11954
12181
  state: MlDatafeedState;
11955
- timing_stats: MlDatafeedTimingStats;
12182
+ timing_stats?: MlDatafeedTimingStats;
11956
12183
  running_state?: MlDatafeedRunningState;
11957
12184
  }
11958
12185
  export interface MlDatafeedTimingStats {
11959
12186
  bucket_count: long;
11960
12187
  exponential_average_search_time_per_hour_ms: DurationValue<UnitFloatMillis>;
12188
+ exponential_average_calculation_context?: MlExponentialAverageCalculationContext;
11961
12189
  job_id: Id;
11962
12190
  search_count: long;
11963
12191
  total_search_time_ms: DurationValue<UnitFloatMillis>;
@@ -12124,6 +12352,7 @@ export interface MlDataframeAnalyticsSummary {
12124
12352
  model_memory_limit?: string;
12125
12353
  source: MlDataframeAnalyticsSource;
12126
12354
  version?: VersionString;
12355
+ _meta?: Metadata;
12127
12356
  }
12128
12357
  export interface MlDataframeEvaluationClassification {
12129
12358
  actual_field: Field;
@@ -12210,19 +12439,42 @@ export interface MlDetectorRead {
12210
12439
  partition_field_name?: Field;
12211
12440
  use_null?: boolean;
12212
12441
  }
12213
- export interface MlDiscoveryNode {
12214
- attributes: Record<string, string>;
12442
+ export interface MlDetectorUpdate {
12443
+ detector_index: integer;
12444
+ description?: string;
12445
+ custom_rules?: MlDetectionRule[];
12446
+ }
12447
+ export type MlDiscoveryNode = Partial<Record<Id, MlDiscoveryNodeContent>>;
12448
+ export interface MlDiscoveryNodeCompact {
12449
+ name: Name;
12215
12450
  ephemeral_id: Id;
12216
12451
  id: Id;
12217
- name: Name;
12218
12452
  transport_address: TransportAddress;
12453
+ attributes: Record<string, string>;
12454
+ }
12455
+ export interface MlDiscoveryNodeContent {
12456
+ name?: Name;
12457
+ ephemeral_id: Id;
12458
+ transport_address: TransportAddress;
12459
+ external_id: string;
12460
+ attributes: Record<string, string>;
12461
+ roles: string[];
12462
+ version: VersionString;
12463
+ min_index_version: integer;
12464
+ max_index_version: integer;
12219
12465
  }
12220
12466
  export type MlExcludeFrequent = 'all' | 'none' | 'by' | 'over';
12467
+ export interface MlExponentialAverageCalculationContext {
12468
+ incremental_metric_value_ms: DurationValue<UnitFloatMillis>;
12469
+ latest_timestamp?: EpochTime<UnitMillis>;
12470
+ previous_exponential_average_ms?: DurationValue<UnitFloatMillis>;
12471
+ }
12221
12472
  export interface MlFillMaskInferenceOptions {
12222
12473
  mask_token?: string;
12223
12474
  num_top_classes?: integer;
12224
12475
  tokenization?: MlTokenizationConfigContainer;
12225
12476
  results_field?: string;
12477
+ vocabulary: MlVocabulary;
12226
12478
  }
12227
12479
  export interface MlFillMaskInferenceUpdateOptions {
12228
12480
  num_top_classes?: integer;
@@ -12240,8 +12492,8 @@ export interface MlFilterRef {
12240
12492
  }
12241
12493
  export type MlFilterType = 'include' | 'exclude';
12242
12494
  export interface MlGeoResults {
12243
- actual_point: string;
12244
- typical_point: string;
12495
+ actual_point?: string;
12496
+ typical_point?: string;
12245
12497
  }
12246
12498
  export interface MlHyperparameter {
12247
12499
  absolute_importance?: double;
@@ -12389,7 +12641,7 @@ export interface MlJobStats {
12389
12641
  forecasts_stats: MlJobForecastStatistics;
12390
12642
  job_id: string;
12391
12643
  model_size_stats: MlModelSizeStats;
12392
- node?: MlDiscoveryNode;
12644
+ node?: MlDiscoveryNodeCompact;
12393
12645
  open_time?: DateTime;
12394
12646
  state: MlJobState;
12395
12647
  timing_stats: MlJobTimingStats;
@@ -12406,6 +12658,22 @@ export interface MlJobTimingStats {
12406
12658
  minimum_bucket_processing_time_ms?: DurationValue<UnitFloatMillis>;
12407
12659
  }
12408
12660
  export type MlMemoryStatus = 'ok' | 'soft_limit' | 'hard_limit';
12661
+ export interface MlModelPackageConfig {
12662
+ create_time?: EpochTime<UnitMillis>;
12663
+ description?: string;
12664
+ inference_config?: Record<string, any>;
12665
+ metadata?: Metadata;
12666
+ minimum_version?: string;
12667
+ model_repository?: string;
12668
+ model_type?: string;
12669
+ packaged_model_id: Id;
12670
+ platform_architecture?: string;
12671
+ prefix_strings?: MlTrainedModelPrefixStrings;
12672
+ size?: ByteSize;
12673
+ sha256?: string;
12674
+ tags?: string[];
12675
+ vocabulary_file?: string;
12676
+ }
12409
12677
  export interface MlModelPlotConfig {
12410
12678
  annotations_enabled?: boolean;
12411
12679
  enabled?: boolean;
@@ -12419,6 +12687,7 @@ export interface MlModelSizeStats {
12419
12687
  model_bytes: ByteSize;
12420
12688
  model_bytes_exceeded?: ByteSize;
12421
12689
  model_bytes_memory_limit?: ByteSize;
12690
+ output_memory_allocator_bytes?: ByteSize;
12422
12691
  peak_model_bytes?: ByteSize;
12423
12692
  assignment_memory_basis?: string;
12424
12693
  result_type: string;
@@ -12463,19 +12732,10 @@ export interface MlNerInferenceUpdateOptions {
12463
12732
  tokenization?: MlNlpTokenizationUpdateOptions;
12464
12733
  results_field?: string;
12465
12734
  }
12466
- export interface MlNlpBertTokenizationConfig {
12467
- do_lower_case?: boolean;
12468
- with_special_tokens?: boolean;
12469
- max_sequence_length?: integer;
12470
- truncate?: MlTokenizationTruncate;
12471
- span?: integer;
12735
+ export interface MlNlpBertTokenizationConfig extends MlCommonTokenizationConfig {
12472
12736
  }
12473
- export interface MlNlpRobertaTokenizationConfig {
12737
+ export interface MlNlpRobertaTokenizationConfig extends MlCommonTokenizationConfig {
12474
12738
  add_prefix_space?: boolean;
12475
- with_special_tokens?: boolean;
12476
- max_sequence_length?: integer;
12477
- truncate?: MlTokenizationTruncate;
12478
- span?: integer;
12479
12739
  }
12480
12740
  export interface MlNlpTokenizationUpdateOptions {
12481
12741
  truncate?: MlTokenizationTruncate;
@@ -12496,7 +12756,7 @@ export interface MlOverallBucket {
12496
12756
  overall_score: double;
12497
12757
  result_type: string;
12498
12758
  timestamp: EpochTime<UnitMillis>;
12499
- timestamp_string: DateTime;
12759
+ timestamp_string?: DateTime;
12500
12760
  }
12501
12761
  export interface MlOverallBucketJob {
12502
12762
  job_id: Id;
@@ -12567,6 +12827,7 @@ export interface MlTextEmbeddingInferenceOptions {
12567
12827
  embedding_size?: integer;
12568
12828
  tokenization?: MlTokenizationConfigContainer;
12569
12829
  results_field?: string;
12830
+ vocabulary: MlVocabulary;
12570
12831
  }
12571
12832
  export interface MlTextEmbeddingInferenceUpdateOptions {
12572
12833
  tokenization?: MlNlpTokenizationUpdateOptions;
@@ -12575,6 +12836,7 @@ export interface MlTextEmbeddingInferenceUpdateOptions {
12575
12836
  export interface MlTextExpansionInferenceOptions {
12576
12837
  tokenization?: MlTokenizationConfigContainer;
12577
12838
  results_field?: string;
12839
+ vocabulary: MlVocabulary;
12578
12840
  }
12579
12841
  export interface MlTextExpansionInferenceUpdateOptions {
12580
12842
  tokenization?: MlNlpTokenizationUpdateOptions;
@@ -12586,6 +12848,7 @@ export interface MlTimingStats {
12586
12848
  }
12587
12849
  export interface MlTokenizationConfigContainer {
12588
12850
  bert?: MlNlpBertTokenizationConfig;
12851
+ bert_ja?: MlNlpBertTokenizationConfig;
12589
12852
  mpnet?: MlNlpBertTokenizationConfig;
12590
12853
  roberta?: MlNlpRobertaTokenizationConfig;
12591
12854
  }
@@ -12610,25 +12873,29 @@ export interface MlTotalFeatureImportanceStatistics {
12610
12873
  min: integer;
12611
12874
  }
12612
12875
  export interface MlTrainedModelAssignment {
12876
+ adaptive_allocations?: MlAdaptiveAllocationsSettings | null;
12613
12877
  assignment_state: MlDeploymentAssignmentState;
12614
12878
  max_assigned_allocations?: integer;
12879
+ reason?: string;
12615
12880
  routing_table: Record<string, MlTrainedModelAssignmentRoutingTable>;
12616
12881
  start_time: DateTime;
12617
12882
  task_parameters: MlTrainedModelAssignmentTaskParameters;
12618
12883
  }
12619
12884
  export interface MlTrainedModelAssignmentRoutingTable {
12620
- reason: string;
12885
+ reason?: string;
12621
12886
  routing_state: MlRoutingState;
12622
12887
  current_allocations: integer;
12623
12888
  target_allocations: integer;
12624
12889
  }
12625
12890
  export interface MlTrainedModelAssignmentTaskParameters {
12626
- model_bytes: integer;
12891
+ model_bytes: ByteSize;
12627
12892
  model_id: Id;
12628
12893
  deployment_id: Id;
12629
- cache_size: ByteSize;
12894
+ cache_size?: ByteSize;
12630
12895
  number_of_allocations: integer;
12631
12896
  priority: MlTrainingPriority;
12897
+ per_deployment_memory_bytes: ByteSize;
12898
+ per_allocation_memory_bytes: ByteSize;
12632
12899
  queue_capacity: integer;
12633
12900
  threads_per_allocation: integer;
12634
12901
  }
@@ -12650,6 +12917,7 @@ export interface MlTrainedModelConfig {
12650
12917
  license_level?: string;
12651
12918
  metadata?: MlTrainedModelConfigMetadata;
12652
12919
  model_size_bytes?: ByteSize;
12920
+ model_package?: MlModelPackageConfig;
12653
12921
  location?: MlTrainedModelLocation;
12654
12922
  prefix_strings?: MlTrainedModelPrefixStrings;
12655
12923
  }
@@ -12668,35 +12936,44 @@ export interface MlTrainedModelDeploymentAllocationStatus {
12668
12936
  target_allocation_count: integer;
12669
12937
  }
12670
12938
  export interface MlTrainedModelDeploymentNodesStats {
12671
- average_inference_time_ms: DurationValue<UnitFloatMillis>;
12672
- error_count: integer;
12673
- inference_count: integer;
12674
- last_access: long;
12675
- node: MlDiscoveryNode;
12676
- number_of_allocations: integer;
12677
- number_of_pending_requests: integer;
12678
- rejection_execution_count: integer;
12939
+ average_inference_time_ms?: DurationValue<UnitFloatMillis>;
12940
+ average_inference_time_ms_last_minute?: DurationValue<UnitFloatMillis>;
12941
+ average_inference_time_ms_excluding_cache_hits?: DurationValue<UnitFloatMillis>;
12942
+ error_count?: integer;
12943
+ inference_count?: long;
12944
+ inference_cache_hit_count?: long;
12945
+ inference_cache_hit_count_last_minute?: long;
12946
+ last_access?: EpochTime<UnitMillis>;
12947
+ node?: MlDiscoveryNode;
12948
+ number_of_allocations?: integer;
12949
+ number_of_pending_requests?: integer;
12950
+ peak_throughput_per_minute: long;
12951
+ rejection_execution_count?: integer;
12679
12952
  routing_state: MlTrainedModelAssignmentRoutingTable;
12680
- start_time: EpochTime<UnitMillis>;
12681
- threads_per_allocation: integer;
12682
- timeout_count: integer;
12953
+ start_time?: EpochTime<UnitMillis>;
12954
+ threads_per_allocation?: integer;
12955
+ throughput_last_minute: integer;
12956
+ timeout_count?: integer;
12683
12957
  }
12684
12958
  export interface MlTrainedModelDeploymentStats {
12685
- allocation_status: MlTrainedModelDeploymentAllocationStatus;
12959
+ adaptive_allocations?: MlAdaptiveAllocationsSettings;
12960
+ allocation_status?: MlTrainedModelDeploymentAllocationStatus;
12686
12961
  cache_size?: ByteSize;
12687
12962
  deployment_id: Id;
12688
- error_count: integer;
12689
- inference_count: integer;
12963
+ error_count?: integer;
12964
+ inference_count?: integer;
12690
12965
  model_id: Id;
12691
12966
  nodes: MlTrainedModelDeploymentNodesStats[];
12692
- number_of_allocations: integer;
12693
- queue_capacity: integer;
12694
- rejected_execution_count: integer;
12695
- reason: string;
12967
+ number_of_allocations?: integer;
12968
+ peak_throughput_per_minute: long;
12969
+ priority: MlTrainingPriority;
12970
+ queue_capacity?: integer;
12971
+ rejected_execution_count?: integer;
12972
+ reason?: string;
12696
12973
  start_time: EpochTime<UnitMillis>;
12697
- state: MlDeploymentAssignmentState;
12698
- threads_per_allocation: integer;
12699
- timeout_count: integer;
12974
+ state?: MlDeploymentAssignmentState;
12975
+ threads_per_allocation?: integer;
12976
+ timeout_count?: integer;
12700
12977
  }
12701
12978
  export interface MlTrainedModelEntities {
12702
12979
  class_name: string;
@@ -13264,6 +13541,7 @@ export interface MlGetTrainedModelsRequest extends RequestBase {
13264
13541
  exclude_generated?: boolean;
13265
13542
  from?: integer;
13266
13543
  include?: MlInclude;
13544
+ include_model_definition?: boolean;
13267
13545
  size?: integer;
13268
13546
  tags?: string | string[];
13269
13547
  }
@@ -13308,9 +13586,11 @@ export interface MlInfoDefaults {
13308
13586
  datafeeds: MlInfoDatafeeds;
13309
13587
  }
13310
13588
  export interface MlInfoLimits {
13311
- max_model_memory_limit?: string;
13312
- effective_max_model_memory_limit: string;
13313
- total_ml_memory: string;
13589
+ max_single_ml_node_processors?: integer;
13590
+ total_ml_processors?: integer;
13591
+ max_model_memory_limit?: ByteSize;
13592
+ effective_max_model_memory_limit?: ByteSize;
13593
+ total_ml_memory: ByteSize;
13314
13594
  }
13315
13595
  export interface MlInfoNativeCode {
13316
13596
  build_hash: string;
@@ -13353,21 +13633,24 @@ export interface MlPostDataRequest<TData = unknown> extends RequestBase {
13353
13633
  body?: TData[];
13354
13634
  }
13355
13635
  export interface MlPostDataResponse {
13356
- bucket_count: long;
13357
- earliest_record_timestamp: long;
13358
- empty_bucket_count: long;
13636
+ job_id: Id;
13637
+ processed_record_count: long;
13638
+ processed_field_count: long;
13359
13639
  input_bytes: long;
13360
13640
  input_field_count: long;
13361
- input_record_count: long;
13362
13641
  invalid_date_count: long;
13363
- job_id: Id;
13364
- last_data_time: integer;
13365
- latest_record_timestamp: long;
13366
13642
  missing_field_count: long;
13367
13643
  out_of_order_timestamp_count: long;
13368
- processed_field_count: long;
13369
- processed_record_count: long;
13644
+ empty_bucket_count: long;
13370
13645
  sparse_bucket_count: long;
13646
+ bucket_count: long;
13647
+ earliest_record_timestamp?: EpochTime<UnitMillis>;
13648
+ latest_record_timestamp?: EpochTime<UnitMillis>;
13649
+ last_data_time?: EpochTime<UnitMillis>;
13650
+ latest_empty_bucket_timestamp?: EpochTime<UnitMillis>;
13651
+ latest_sparse_bucket_timestamp?: EpochTime<UnitMillis>;
13652
+ input_record_count: long;
13653
+ log_time?: EpochTime<UnitMillis>;
13371
13654
  }
13372
13655
  export interface MlPreviewDataFrameAnalyticsDataframePreviewConfig {
13373
13656
  source: MlDataframeAnalyticsSource;
@@ -13429,6 +13712,7 @@ export interface MlPutDataFrameAnalyticsRequest extends RequestBase {
13429
13712
  description?: string;
13430
13713
  dest: MlDataframeAnalyticsDestination;
13431
13714
  max_num_threads?: integer;
13715
+ _meta?: Metadata;
13432
13716
  model_memory_limit?: string;
13433
13717
  source: MlDataframeAnalyticsSource;
13434
13718
  headers?: HttpHeaders;
@@ -13445,6 +13729,7 @@ export interface MlPutDataFrameAnalyticsResponse {
13445
13729
  dest: MlDataframeAnalyticsDestination;
13446
13730
  id: Id;
13447
13731
  max_num_threads: integer;
13732
+ _meta?: Metadata;
13448
13733
  model_memory_limit: string;
13449
13734
  source: MlDataframeAnalyticsSource;
13450
13735
  version: VersionString;
@@ -13458,6 +13743,8 @@ export interface MlPutDatafeedRequest extends RequestBase {
13458
13743
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
13459
13744
  body?: {
13460
13745
  aggregations?: Record<string, AggregationsAggregationContainer>;
13746
+ /** @alias aggregations */
13747
+ aggs?: Record<string, AggregationsAggregationContainer>;
13461
13748
  chunking_config?: MlChunkingConfig;
13462
13749
  delayed_data_check_config?: MlDelayedDataCheckConfig;
13463
13750
  frequency?: Duration;
@@ -13507,6 +13794,10 @@ export interface MlPutFilterResponse {
13507
13794
  }
13508
13795
  export interface MlPutJobRequest extends RequestBase {
13509
13796
  job_id: Id;
13797
+ allow_no_indices?: boolean;
13798
+ expand_wildcards?: ExpandWildcards;
13799
+ ignore_throttled?: boolean;
13800
+ ignore_unavailable?: boolean;
13510
13801
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
13511
13802
  body?: {
13512
13803
  allow_lazy_open?: boolean;
@@ -13518,6 +13809,7 @@ export interface MlPutJobRequest extends RequestBase {
13518
13809
  data_description: MlDataDescription;
13519
13810
  datafeed_config?: MlDatafeedConfig;
13520
13811
  description?: string;
13812
+ job_id?: Id;
13521
13813
  groups?: string[];
13522
13814
  model_plot_config?: MlModelPlotConfig;
13523
13815
  model_snapshot_retention_days?: long;
@@ -13843,7 +14135,7 @@ export interface MlUpdateJobRequest extends RequestBase {
13843
14135
  renormalization_window_days?: long;
13844
14136
  results_retention_days?: long;
13845
14137
  groups?: string[];
13846
- detectors?: MlDetector[];
14138
+ detectors?: MlDetectorUpdate[];
13847
14139
  per_partition_categorization?: MlPerPartitionCategorization;
13848
14140
  };
13849
14141
  }
@@ -15018,6 +15310,7 @@ export interface SearchApplicationAnalyticsCollection {
15018
15310
  export interface SearchApplicationEventDataStream {
15019
15311
  name: IndexName;
15020
15312
  }
15313
+ export type SearchApplicationEventType = 'page_view' | 'search' | 'search_click';
15021
15314
  export interface SearchApplicationSearchApplication {
15022
15315
  name: Name;
15023
15316
  indices: IndexName[];
@@ -15059,6 +15352,17 @@ export interface SearchApplicationListSearchApplicationListItem {
15059
15352
  updated_at_millis: EpochTime<UnitMillis>;
15060
15353
  analytics_collection_name?: Name;
15061
15354
  }
15355
+ export interface SearchApplicationPostBehavioralAnalyticsEventRequest extends RequestBase {
15356
+ collection_name: Name;
15357
+ event_type: SearchApplicationEventType;
15358
+ debug?: boolean;
15359
+ /** @deprecated The use of the 'body' key has been deprecated, use 'payload' instead. */
15360
+ body?: any;
15361
+ }
15362
+ export interface SearchApplicationPostBehavioralAnalyticsEventResponse {
15363
+ accepted: boolean;
15364
+ event?: any;
15365
+ }
15062
15366
  export interface SearchApplicationPutRequest extends RequestBase {
15063
15367
  name: Name;
15064
15368
  create?: boolean;
@@ -15075,6 +15379,15 @@ export interface SearchApplicationPutBehavioralAnalyticsRequest extends RequestB
15075
15379
  name: Name;
15076
15380
  }
15077
15381
  export type SearchApplicationPutBehavioralAnalyticsResponse = SearchApplicationPutBehavioralAnalyticsAnalyticsAcknowledgeResponseBase;
15382
+ export interface SearchApplicationRenderQueryRequest extends RequestBase {
15383
+ name: Name;
15384
+ /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
15385
+ body?: {
15386
+ params?: Record<string, any>;
15387
+ };
15388
+ }
15389
+ export interface SearchApplicationRenderQueryResponse {
15390
+ }
15078
15391
  export interface SearchApplicationSearchRequest extends RequestBase {
15079
15392
  name: Name;
15080
15393
  typed_keys?: boolean;
@@ -15298,6 +15611,9 @@ export interface SecuritySearchAccess {
15298
15611
  query?: SecurityIndicesPrivilegesQuery;
15299
15612
  allow_restricted_indices?: boolean;
15300
15613
  }
15614
+ export interface SecuritySecuritySettings {
15615
+ index?: IndicesIndexSettings;
15616
+ }
15301
15617
  export type SecurityTemplateFormat = 'string' | 'json';
15302
15618
  export interface SecurityUser {
15303
15619
  email?: string | null;
@@ -15397,6 +15713,20 @@ export interface SecurityBulkPutRoleResponse {
15397
15713
  noop?: string[];
15398
15714
  errors?: SecurityBulkError;
15399
15715
  }
15716
+ export interface SecurityBulkUpdateApiKeysRequest extends RequestBase {
15717
+ /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
15718
+ body?: {
15719
+ expiration?: Duration;
15720
+ ids: string | string[];
15721
+ metadata?: Metadata;
15722
+ role_descriptors?: Record<string, SecurityRoleDescriptor>;
15723
+ };
15724
+ }
15725
+ export interface SecurityBulkUpdateApiKeysResponse {
15726
+ errors?: SecurityBulkError;
15727
+ noops: string[];
15728
+ updated: string[];
15729
+ }
15400
15730
  export interface SecurityChangePasswordRequest extends RequestBase {
15401
15731
  username?: Username;
15402
15732
  refresh?: Refresh;
@@ -15498,6 +15828,36 @@ export interface SecurityCreateServiceTokenToken {
15498
15828
  name: Name;
15499
15829
  value: string;
15500
15830
  }
15831
+ export interface SecurityDelegatePkiAuthentication {
15832
+ username: string;
15833
+ roles: string[];
15834
+ full_name: string | null;
15835
+ email: string | null;
15836
+ token?: Record<string, string>;
15837
+ metadata: Metadata;
15838
+ enabled: boolean;
15839
+ authentication_realm: SecurityDelegatePkiAuthenticationRealm;
15840
+ lookup_realm: SecurityDelegatePkiAuthenticationRealm;
15841
+ authentication_type: string;
15842
+ api_key?: Record<string, string>;
15843
+ }
15844
+ export interface SecurityDelegatePkiAuthenticationRealm {
15845
+ name: string;
15846
+ type: string;
15847
+ domain?: string;
15848
+ }
15849
+ export interface SecurityDelegatePkiRequest extends RequestBase {
15850
+ /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
15851
+ body?: {
15852
+ x509_certificate_chain: string[];
15853
+ };
15854
+ }
15855
+ export interface SecurityDelegatePkiResponse {
15856
+ access_token: string;
15857
+ expires_in: long;
15858
+ type: string;
15859
+ authentication?: SecurityDelegatePkiAuthentication;
15860
+ }
15501
15861
  export interface SecurityDeletePrivilegesFoundStatus {
15502
15862
  found: boolean;
15503
15863
  }
@@ -15649,6 +16009,14 @@ export interface SecurityGetServiceCredentialsResponse {
15649
16009
  tokens: Record<string, Metadata>;
15650
16010
  nodes_credentials: SecurityGetServiceCredentialsNodesCredentials;
15651
16011
  }
16012
+ export interface SecurityGetSettingsRequest extends RequestBase {
16013
+ master_timeout?: Duration;
16014
+ }
16015
+ export interface SecurityGetSettingsResponse {
16016
+ security: SecuritySecuritySettings;
16017
+ 'security-profile': SecuritySecuritySettings;
16018
+ 'security-tokens': SecuritySecuritySettings;
16019
+ }
15652
16020
  export type SecurityGetTokenAccessTokenGrantType = 'password' | 'client_credentials' | '_kerberos' | 'refresh_token';
15653
16021
  export interface SecurityGetTokenAuthenticatedUser extends SecurityUser {
15654
16022
  authentication_realm: SecurityGetTokenUserRealm;
@@ -15819,6 +16187,47 @@ export interface SecurityInvalidateTokenResponse {
15819
16187
  invalidated_tokens: long;
15820
16188
  previously_invalidated_tokens: long;
15821
16189
  }
16190
+ export interface SecurityOidcAuthenticateRequest extends RequestBase {
16191
+ /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
16192
+ body?: {
16193
+ nonce: string;
16194
+ realm?: string;
16195
+ redirect_uri: string;
16196
+ state: string;
16197
+ };
16198
+ }
16199
+ export interface SecurityOidcAuthenticateResponse {
16200
+ access_token: string;
16201
+ expires_in: integer;
16202
+ refresh_token: string;
16203
+ type: string;
16204
+ }
16205
+ export interface SecurityOidcLogoutRequest extends RequestBase {
16206
+ /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
16207
+ body?: {
16208
+ access_token: string;
16209
+ refresh_token?: string;
16210
+ };
16211
+ }
16212
+ export interface SecurityOidcLogoutResponse {
16213
+ redirect: string;
16214
+ }
16215
+ export interface SecurityOidcPrepareAuthenticationRequest extends RequestBase {
16216
+ /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
16217
+ body?: {
16218
+ iss?: string;
16219
+ login_hint?: string;
16220
+ nonce?: string;
16221
+ realm?: string;
16222
+ state?: string;
16223
+ };
16224
+ }
16225
+ export interface SecurityOidcPrepareAuthenticationResponse {
16226
+ nonce: string;
16227
+ realm: string;
16228
+ redirect: string;
16229
+ state: string;
16230
+ }
15822
16231
  export interface SecurityPutPrivilegesActions {
15823
16232
  actions: string[];
15824
16233
  application?: string;
@@ -16119,6 +16528,19 @@ export interface SecurityUpdateCrossClusterApiKeyRequest extends RequestBase {
16119
16528
  export interface SecurityUpdateCrossClusterApiKeyResponse {
16120
16529
  updated: boolean;
16121
16530
  }
16531
+ export interface SecurityUpdateSettingsRequest extends RequestBase {
16532
+ master_timeout?: Duration;
16533
+ timeout?: Duration;
16534
+ /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
16535
+ body?: {
16536
+ security?: SecuritySecuritySettings;
16537
+ 'security-profile'?: SecuritySecuritySettings;
16538
+ 'security-tokens'?: SecuritySecuritySettings;
16539
+ };
16540
+ }
16541
+ export interface SecurityUpdateSettingsResponse {
16542
+ acknowledged: boolean;
16543
+ }
16122
16544
  export interface SecurityUpdateUserProfileDataRequest extends RequestBase {
16123
16545
  uid: SecurityUserProfileId;
16124
16546
  if_seq_no?: SequenceNumber;
@@ -16180,6 +16602,36 @@ export interface ShutdownPutNodeRequest extends RequestBase {
16180
16602
  };
16181
16603
  }
16182
16604
  export type ShutdownPutNodeResponse = AcknowledgedResponseBase;
16605
+ export interface SimulateIngestIngestDocumentSimulationKeys {
16606
+ _id: Id;
16607
+ _index: IndexName;
16608
+ _source: Record<string, any>;
16609
+ _version: SpecUtilsStringified<VersionNumber>;
16610
+ executed_pipelines: string[];
16611
+ ignored_fields?: Record<string, string>[];
16612
+ error?: ErrorCause;
16613
+ }
16614
+ export type SimulateIngestIngestDocumentSimulation = SimulateIngestIngestDocumentSimulationKeys & {
16615
+ [property: string]: string | Id | IndexName | Record<string, any> | SpecUtilsStringified<VersionNumber> | string[] | Record<string, string>[] | ErrorCause;
16616
+ };
16617
+ export interface SimulateIngestRequest extends RequestBase {
16618
+ index?: IndexName;
16619
+ pipeline?: PipelineName;
16620
+ /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
16621
+ body?: {
16622
+ docs: IngestDocument[];
16623
+ component_template_substitutions?: Record<string, ClusterComponentTemplateNode>;
16624
+ index_template_subtitutions?: Record<string, IndicesIndexTemplate>;
16625
+ mapping_addition?: MappingTypeMapping;
16626
+ pipeline_substitutions?: Record<string, IngestPipeline>;
16627
+ };
16628
+ }
16629
+ export interface SimulateIngestResponse {
16630
+ docs: SimulateIngestSimulateIngestDocumentResult[];
16631
+ }
16632
+ export interface SimulateIngestSimulateIngestDocumentResult {
16633
+ doc?: SimulateIngestIngestDocumentSimulation;
16634
+ }
16183
16635
  export interface SlmConfiguration {
16184
16636
  ignore_unavailable?: boolean;
16185
16637
  indices?: Indices;
@@ -16240,22 +16692,32 @@ export interface SlmStatistics {
16240
16692
  }
16241
16693
  export interface SlmDeleteLifecycleRequest extends RequestBase {
16242
16694
  policy_id: Name;
16695
+ master_timeout?: Duration;
16696
+ timeout?: Duration;
16243
16697
  }
16244
16698
  export type SlmDeleteLifecycleResponse = AcknowledgedResponseBase;
16245
16699
  export interface SlmExecuteLifecycleRequest extends RequestBase {
16246
16700
  policy_id: Name;
16701
+ master_timeout?: Duration;
16702
+ timeout?: Duration;
16247
16703
  }
16248
16704
  export interface SlmExecuteLifecycleResponse {
16249
16705
  snapshot_name: Name;
16250
16706
  }
16251
16707
  export interface SlmExecuteRetentionRequest extends RequestBase {
16708
+ master_timeout?: Duration;
16709
+ timeout?: Duration;
16252
16710
  }
16253
16711
  export type SlmExecuteRetentionResponse = AcknowledgedResponseBase;
16254
16712
  export interface SlmGetLifecycleRequest extends RequestBase {
16255
16713
  policy_id?: Names;
16714
+ master_timeout?: Duration;
16715
+ timeout?: Duration;
16256
16716
  }
16257
16717
  export type SlmGetLifecycleResponse = Record<Id, SlmSnapshotLifecycle>;
16258
16718
  export interface SlmGetStatsRequest extends RequestBase {
16719
+ master_timeout?: Duration;
16720
+ timeout?: Duration;
16259
16721
  }
16260
16722
  export interface SlmGetStatsResponse {
16261
16723
  retention_deletion_time: Duration;
@@ -16270,6 +16732,8 @@ export interface SlmGetStatsResponse {
16270
16732
  policy_stats: string[];
16271
16733
  }
16272
16734
  export interface SlmGetStatusRequest extends RequestBase {
16735
+ master_timeout?: Duration;
16736
+ timeout?: Duration;
16273
16737
  }
16274
16738
  export interface SlmGetStatusResponse {
16275
16739
  operation_mode: LifecycleOperationMode;
@@ -16289,9 +16753,13 @@ export interface SlmPutLifecycleRequest extends RequestBase {
16289
16753
  }
16290
16754
  export type SlmPutLifecycleResponse = AcknowledgedResponseBase;
16291
16755
  export interface SlmStartRequest extends RequestBase {
16756
+ master_timeout?: Duration;
16757
+ timeout?: Duration;
16292
16758
  }
16293
16759
  export type SlmStartResponse = AcknowledgedResponseBase;
16294
16760
  export interface SlmStopRequest extends RequestBase {
16761
+ master_timeout?: Duration;
16762
+ timeout?: Duration;
16295
16763
  }
16296
16764
  export type SlmStopResponse = AcknowledgedResponseBase;
16297
16765
  export interface SnapshotAzureRepository extends SnapshotRepositoryBase {
@@ -16559,6 +17027,104 @@ export interface SnapshotGetRepositoryRequest extends RequestBase {
16559
17027
  master_timeout?: Duration;
16560
17028
  }
16561
17029
  export type SnapshotGetRepositoryResponse = Record<string, SnapshotRepository>;
17030
+ export interface SnapshotRepositoryAnalyzeBlobDetails {
17031
+ name: string;
17032
+ overwritten: boolean;
17033
+ read_early: boolean;
17034
+ read_end: long;
17035
+ read_start: long;
17036
+ reads: SnapshotRepositoryAnalyzeReadBlobDetails;
17037
+ size: ByteSize;
17038
+ size_bytes: long;
17039
+ }
17040
+ export interface SnapshotRepositoryAnalyzeDetailsInfo {
17041
+ blob: SnapshotRepositoryAnalyzeBlobDetails;
17042
+ overwrite_elapsed?: Duration;
17043
+ overwrite_elapsed_nanos?: DurationValue<UnitNanos>;
17044
+ write_elapsed: Duration;
17045
+ write_elapsed_nanos: DurationValue<UnitNanos>;
17046
+ write_throttled: Duration;
17047
+ write_throttled_nanos: DurationValue<UnitNanos>;
17048
+ writer_node: SnapshotRepositoryAnalyzeSnapshotNodeInfo;
17049
+ }
17050
+ export interface SnapshotRepositoryAnalyzeReadBlobDetails {
17051
+ before_write_complete?: boolean;
17052
+ elapsed?: Duration;
17053
+ elapsed_nanos?: DurationValue<UnitNanos>;
17054
+ first_byte_time?: Duration;
17055
+ first_byte_time_nanos: DurationValue<UnitNanos>;
17056
+ found: boolean;
17057
+ node: SnapshotRepositoryAnalyzeSnapshotNodeInfo;
17058
+ throttled?: Duration;
17059
+ throttled_nanos?: DurationValue<UnitNanos>;
17060
+ }
17061
+ export interface SnapshotRepositoryAnalyzeReadSummaryInfo {
17062
+ count: integer;
17063
+ max_wait: Duration;
17064
+ max_wait_nanos: DurationValue<UnitNanos>;
17065
+ total_elapsed: Duration;
17066
+ total_elapsed_nanos: DurationValue<UnitNanos>;
17067
+ total_size: ByteSize;
17068
+ total_size_bytes: long;
17069
+ total_throttled: Duration;
17070
+ total_throttled_nanos: DurationValue<UnitNanos>;
17071
+ total_wait: Duration;
17072
+ total_wait_nanos: DurationValue<UnitNanos>;
17073
+ }
17074
+ export interface SnapshotRepositoryAnalyzeRequest extends RequestBase {
17075
+ name: Name;
17076
+ blob_count?: integer;
17077
+ concurrency?: integer;
17078
+ detailed?: boolean;
17079
+ early_read_node_count?: integer;
17080
+ max_blob_size?: ByteSize;
17081
+ max_total_data_size?: ByteSize;
17082
+ rare_action_probability?: double;
17083
+ rarely_abort_writes?: boolean;
17084
+ read_node_count?: integer;
17085
+ register_operation_count?: integer;
17086
+ seed?: integer;
17087
+ timeout?: Duration;
17088
+ }
17089
+ export interface SnapshotRepositoryAnalyzeResponse {
17090
+ blob_count: integer;
17091
+ blob_path: string;
17092
+ concurrency: integer;
17093
+ coordinating_node: SnapshotRepositoryAnalyzeSnapshotNodeInfo;
17094
+ delete_elapsed: Duration;
17095
+ delete_elapsed_nanos: DurationValue<UnitNanos>;
17096
+ details: SnapshotRepositoryAnalyzeDetailsInfo;
17097
+ early_read_node_count: integer;
17098
+ issues_detected: string[];
17099
+ listing_elapsed: Duration;
17100
+ listing_elapsed_nanos: DurationValue<UnitNanos>;
17101
+ max_blob_size: ByteSize;
17102
+ max_blob_size_bytes: long;
17103
+ max_total_data_size: ByteSize;
17104
+ max_total_data_size_bytes: long;
17105
+ rare_action_probability: double;
17106
+ read_node_count: integer;
17107
+ repository: string;
17108
+ seed: long;
17109
+ summary: SnapshotRepositoryAnalyzeSummaryInfo;
17110
+ }
17111
+ export interface SnapshotRepositoryAnalyzeSnapshotNodeInfo {
17112
+ id: Id;
17113
+ name: Name;
17114
+ }
17115
+ export interface SnapshotRepositoryAnalyzeSummaryInfo {
17116
+ read: SnapshotRepositoryAnalyzeReadSummaryInfo;
17117
+ write: SnapshotRepositoryAnalyzeWriteSummaryInfo;
17118
+ }
17119
+ export interface SnapshotRepositoryAnalyzeWriteSummaryInfo {
17120
+ count: integer;
17121
+ total_elapsed: Duration;
17122
+ total_elapsed_nanos: DurationValue<UnitNanos>;
17123
+ total_size: ByteSize;
17124
+ total_size_bytes: long;
17125
+ total_throttled: Duration;
17126
+ total_throttled_nanos: long;
17127
+ }
16562
17128
  export interface SnapshotRepositoryVerifyIntegrityRequest extends RequestBase {
16563
17129
  name: Names;
16564
17130
  meta_thread_pool_concurrency?: integer;
@@ -16656,41 +17222,42 @@ export interface SqlGetAsyncStatusRequest extends RequestBase {
16656
17222
  id: Id;
16657
17223
  }
16658
17224
  export interface SqlGetAsyncStatusResponse {
17225
+ expiration_time_in_millis: EpochTime<UnitMillis>;
16659
17226
  id: string;
16660
17227
  is_running: boolean;
16661
17228
  is_partial: boolean;
16662
17229
  start_time_in_millis: EpochTime<UnitMillis>;
16663
- expiration_time_in_millis: EpochTime<UnitMillis>;
16664
17230
  completion_status?: uint;
16665
17231
  }
16666
17232
  export interface SqlQueryRequest extends RequestBase {
16667
17233
  format?: SqlQuerySqlFormat;
16668
17234
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
16669
17235
  body?: {
17236
+ allow_partial_search_results?: boolean;
16670
17237
  catalog?: string;
16671
17238
  columnar?: boolean;
16672
17239
  cursor?: string;
16673
17240
  fetch_size?: integer;
17241
+ field_multi_value_leniency?: boolean;
16674
17242
  filter?: QueryDslQueryContainer;
17243
+ index_using_frozen?: boolean;
17244
+ keep_alive?: Duration;
17245
+ keep_on_completion?: boolean;
17246
+ page_timeout?: Duration;
17247
+ params?: Record<string, any>;
16675
17248
  query?: string;
16676
17249
  request_timeout?: Duration;
16677
- page_timeout?: Duration;
16678
- time_zone?: TimeZone;
16679
- field_multi_value_leniency?: boolean;
16680
17250
  runtime_mappings?: MappingRuntimeFields;
17251
+ time_zone?: TimeZone;
16681
17252
  wait_for_completion_timeout?: Duration;
16682
- params?: Record<string, any>;
16683
- keep_alive?: Duration;
16684
- keep_on_completion?: boolean;
16685
- index_using_frozen?: boolean;
16686
17253
  };
16687
17254
  }
16688
17255
  export interface SqlQueryResponse {
17256
+ columns?: SqlColumn[];
17257
+ cursor?: string;
16689
17258
  id?: Id;
16690
17259
  is_running?: boolean;
16691
17260
  is_partial?: boolean;
16692
- columns?: SqlColumn[];
16693
- cursor?: string;
16694
17261
  rows: SqlRow[];
16695
17262
  }
16696
17263
  export type SqlQuerySqlFormat = 'csv' | 'json' | 'tsv' | 'txt' | 'yaml' | 'cbor' | 'smile';
@@ -16857,10 +17424,11 @@ export interface TasksListRequest extends RequestBase {
16857
17424
  wait_for_completion?: boolean;
16858
17425
  }
16859
17426
  export type TasksListResponse = TasksTaskListResponseBase;
16860
- export interface TextStructureFindStructureFieldStat {
17427
+ export type TextStructureEcsCompatibilityType = 'disabled' | 'v1';
17428
+ export interface TextStructureFieldStat {
16861
17429
  count: integer;
16862
17430
  cardinality: integer;
16863
- top_hits: TextStructureFindStructureTopHit[];
17431
+ top_hits: TextStructureTopHit[];
16864
17432
  mean_value?: integer;
16865
17433
  median_value?: integer;
16866
17434
  max_value?: integer;
@@ -16868,6 +17436,78 @@ export interface TextStructureFindStructureFieldStat {
16868
17436
  earliest?: string;
16869
17437
  latest?: string;
16870
17438
  }
17439
+ export type TextStructureFormatType = 'delimited' | 'ndjson' | 'semi_structured_text' | 'xml';
17440
+ export interface TextStructureTopHit {
17441
+ count: long;
17442
+ value: any;
17443
+ }
17444
+ export interface TextStructureFindFieldStructureRequest extends RequestBase {
17445
+ column_names?: string;
17446
+ delimiter?: string;
17447
+ documents_to_sample?: uint;
17448
+ ecs_compatibility?: TextStructureEcsCompatibilityType;
17449
+ explain?: boolean;
17450
+ field: Field;
17451
+ format?: TextStructureFormatType;
17452
+ grok_pattern?: GrokPattern;
17453
+ index: IndexName;
17454
+ quote?: string;
17455
+ should_trim_fields?: boolean;
17456
+ timeout?: Duration;
17457
+ timestamp_field?: Field;
17458
+ timestamp_format?: string;
17459
+ }
17460
+ export interface TextStructureFindFieldStructureResponse {
17461
+ charset: string;
17462
+ ecs_compatibility?: TextStructureEcsCompatibilityType;
17463
+ field_stats: Record<Field, TextStructureFieldStat>;
17464
+ format: TextStructureFormatType;
17465
+ grok_pattern?: GrokPattern;
17466
+ java_timestamp_formats?: string[];
17467
+ joda_timestamp_formats?: string[];
17468
+ ingest_pipeline: IngestPipelineConfig;
17469
+ mappings: MappingTypeMapping;
17470
+ multiline_start_pattern?: string;
17471
+ need_client_timezone: boolean;
17472
+ num_lines_analyzed: integer;
17473
+ num_messages_analyzed: integer;
17474
+ sample_start: string;
17475
+ timestamp_field?: Field;
17476
+ }
17477
+ export interface TextStructureFindMessageStructureRequest extends RequestBase {
17478
+ column_names?: string;
17479
+ delimiter?: string;
17480
+ ecs_compatibility?: TextStructureEcsCompatibilityType;
17481
+ explain?: boolean;
17482
+ format?: TextStructureFormatType;
17483
+ grok_pattern?: GrokPattern;
17484
+ quote?: string;
17485
+ should_trim_fields?: boolean;
17486
+ timeout?: Duration;
17487
+ timestamp_field?: Field;
17488
+ timestamp_format?: string;
17489
+ /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
17490
+ body?: {
17491
+ messages: string[];
17492
+ };
17493
+ }
17494
+ export interface TextStructureFindMessageStructureResponse {
17495
+ charset: string;
17496
+ ecs_compatibility?: TextStructureEcsCompatibilityType;
17497
+ field_stats: Record<Field, TextStructureFieldStat>;
17498
+ format: TextStructureFormatType;
17499
+ grok_pattern?: GrokPattern;
17500
+ java_timestamp_formats?: string[];
17501
+ joda_timestamp_formats?: string[];
17502
+ ingest_pipeline: IngestPipelineConfig;
17503
+ mappings: MappingTypeMapping;
17504
+ multiline_start_pattern?: string;
17505
+ need_client_timezone: boolean;
17506
+ num_lines_analyzed: integer;
17507
+ num_messages_analyzed: integer;
17508
+ sample_start: string;
17509
+ timestamp_field?: Field;
17510
+ }
16871
17511
  export interface TextStructureFindStructureRequest<TJsonDocument = unknown> {
16872
17512
  charset?: string;
16873
17513
  column_names?: string;
@@ -16892,7 +17532,7 @@ export interface TextStructureFindStructureResponse {
16892
17532
  has_header_row?: boolean;
16893
17533
  has_byte_order_marker: boolean;
16894
17534
  format: string;
16895
- field_stats: Record<Field, TextStructureFindStructureFieldStat>;
17535
+ field_stats: Record<Field, TextStructureFieldStat>;
16896
17536
  sample_start: string;
16897
17537
  num_messages_analyzed: integer;
16898
17538
  mappings: MappingTypeMapping;
@@ -16911,10 +17551,6 @@ export interface TextStructureFindStructureResponse {
16911
17551
  should_trim_fields?: boolean;
16912
17552
  ingest_pipeline: IngestPipelineConfig;
16913
17553
  }
16914
- export interface TextStructureFindStructureTopHit {
16915
- count: long;
16916
- value: any;
16917
- }
16918
17554
  export interface TextStructureTestGrokPatternMatchedField {
16919
17555
  match: string;
16920
17556
  offset: integer;
@@ -17665,6 +18301,12 @@ export interface WatcherExecuteWatchWatchRecord {
17665
18301
  watch_id: Id;
17666
18302
  status?: WatcherWatchStatus;
17667
18303
  }
18304
+ export interface WatcherGetSettingsRequest extends RequestBase {
18305
+ master_timeout?: Duration;
18306
+ }
18307
+ export interface WatcherGetSettingsResponse {
18308
+ index: IndicesIndexSettings;
18309
+ }
17668
18310
  export interface WatcherGetWatchRequest extends RequestBase {
17669
18311
  id: Name;
17670
18312
  }
@@ -17689,7 +18331,8 @@ export interface WatcherPutWatchRequest extends RequestBase {
17689
18331
  condition?: WatcherConditionContainer;
17690
18332
  input?: WatcherInputContainer;
17691
18333
  metadata?: Metadata;
17692
- throttle_period?: string;
18334
+ throttle_period?: Duration;
18335
+ throttle_period_in_millis?: DurationValue<UnitMillis>;
17693
18336
  transform?: TransformContainer;
17694
18337
  trigger?: WatcherTriggerContainer;
17695
18338
  };
@@ -17749,8 +18392,21 @@ export interface WatcherStatsWatcherNodeStats {
17749
18392
  }
17750
18393
  export type WatcherStatsWatcherState = 'stopped' | 'starting' | 'started' | 'stopping';
17751
18394
  export interface WatcherStopRequest extends RequestBase {
18395
+ master_timeout?: Duration;
17752
18396
  }
17753
18397
  export type WatcherStopResponse = AcknowledgedResponseBase;
18398
+ export interface WatcherUpdateSettingsRequest extends RequestBase {
18399
+ master_timeout?: Duration;
18400
+ timeout?: Duration;
18401
+ /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
18402
+ body?: {
18403
+ 'index.auto_expand_replicas'?: string;
18404
+ 'index.number_of_replicas'?: integer;
18405
+ };
18406
+ }
18407
+ export interface WatcherUpdateSettingsResponse {
18408
+ acknowledged: boolean;
18409
+ }
17754
18410
  export interface XpackInfoBuildInformation {
17755
18411
  date: DateTime;
17756
18412
  hash: string;
@@ -17929,7 +18585,7 @@ export interface XpackUsageIlm {
17929
18585
  }
17930
18586
  export interface XpackUsageIlmPolicyStatistics {
17931
18587
  indices_managed: integer;
17932
- phases: IlmPhases;
18588
+ phases: XpackUsagePhases;
17933
18589
  }
17934
18590
  export interface XpackUsageInvocations {
17935
18591
  total: long;
@@ -18022,6 +18678,17 @@ export interface XpackUsageMonitoring extends XpackUsageBase {
18022
18678
  collection_enabled: boolean;
18023
18679
  enabled_exporters: Record<string, long>;
18024
18680
  }
18681
+ export interface XpackUsagePhase {
18682
+ actions: string[];
18683
+ min_age: DurationValue<UnitMillis>;
18684
+ }
18685
+ export interface XpackUsagePhases {
18686
+ cold?: XpackUsagePhase;
18687
+ delete?: XpackUsagePhase;
18688
+ frozen?: XpackUsagePhase;
18689
+ hot?: XpackUsagePhase;
18690
+ warm?: XpackUsagePhase;
18691
+ }
18025
18692
  export interface XpackUsageQuery {
18026
18693
  count?: integer;
18027
18694
  failed?: integer;
@@ -18197,8 +18864,6 @@ export interface SpecUtilsCommonCatQueryParameters {
18197
18864
  format?: string;
18198
18865
  h?: Names;
18199
18866
  help?: boolean;
18200
- local?: boolean;
18201
- master_timeout?: Duration;
18202
18867
  s?: Names;
18203
18868
  v?: boolean;
18204
18869
  }