@elastic/elasticsearch 8.17.1 → 8.18.0

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 (110) hide show
  1. package/lib/api/api/async_search.d.ts +5 -5
  2. package/lib/api/api/autoscaling.d.ts +4 -4
  3. package/lib/api/api/bulk.d.ts +1 -1
  4. package/lib/api/api/cat.d.ts +26 -26
  5. package/lib/api/api/ccr.d.ts +14 -14
  6. package/lib/api/api/ccr.js +1 -1
  7. package/lib/api/api/ccr.js.map +1 -1
  8. package/lib/api/api/clear_scroll.d.ts +1 -1
  9. package/lib/api/api/close_point_in_time.d.ts +1 -1
  10. package/lib/api/api/cluster.d.ts +17 -17
  11. package/lib/api/api/connector.d.ts +30 -30
  12. package/lib/api/api/count.d.ts +1 -1
  13. package/lib/api/api/create.d.ts +2 -2
  14. package/lib/api/api/dangling_indices.d.ts +3 -3
  15. package/lib/api/api/delete.d.ts +1 -1
  16. package/lib/api/api/delete_by_query.d.ts +1 -1
  17. package/lib/api/api/delete_by_query_rethrottle.d.ts +1 -1
  18. package/lib/api/api/delete_script.d.ts +1 -1
  19. package/lib/api/api/enrich.d.ts +5 -5
  20. package/lib/api/api/eql.d.ts +4 -4
  21. package/lib/api/api/eql.js +1 -1
  22. package/lib/api/api/eql.js.map +1 -1
  23. package/lib/api/api/esql.d.ts +11 -4
  24. package/lib/api/api/esql.js +24 -1
  25. package/lib/api/api/esql.js.map +1 -1
  26. package/lib/api/api/exists.d.ts +1 -1
  27. package/lib/api/api/exists_source.d.ts +1 -1
  28. package/lib/api/api/explain.d.ts +1 -1
  29. package/lib/api/api/features.d.ts +2 -2
  30. package/lib/api/api/field_caps.d.ts +1 -1
  31. package/lib/api/api/fleet.d.ts +4 -2
  32. package/lib/api/api/fleet.js.map +1 -1
  33. package/lib/api/api/get.d.ts +1 -1
  34. package/lib/api/api/get_script.d.ts +1 -1
  35. package/lib/api/api/get_script_context.d.ts +1 -1
  36. package/lib/api/api/get_script_languages.d.ts +1 -1
  37. package/lib/api/api/get_source.d.ts +1 -1
  38. package/lib/api/api/graph.d.ts +1 -1
  39. package/lib/api/api/health_report.d.ts +1 -1
  40. package/lib/api/api/ilm.d.ts +11 -11
  41. package/lib/api/api/index.d.ts +2 -2
  42. package/lib/api/api/indices.d.ts +98 -70
  43. package/lib/api/api/indices.js +116 -3
  44. package/lib/api/api/indices.js.map +1 -1
  45. package/lib/api/api/inference.d.ts +157 -10
  46. package/lib/api/api/inference.js +802 -25
  47. package/lib/api/api/inference.js.map +1 -1
  48. package/lib/api/api/info.d.ts +1 -1
  49. package/lib/api/api/ingest.d.ts +12 -12
  50. package/lib/api/api/knn_search.d.ts +1 -1
  51. package/lib/api/api/license.d.ts +8 -8
  52. package/lib/api/api/logstash.d.ts +3 -3
  53. package/lib/api/api/mget.d.ts +1 -1
  54. package/lib/api/api/migration.d.ts +3 -3
  55. package/lib/api/api/ml.d.ts +78 -78
  56. package/lib/api/api/ml.js +17 -3
  57. package/lib/api/api/ml.js.map +1 -1
  58. package/lib/api/api/monitoring.d.ts +1 -1
  59. package/lib/api/api/msearch.d.ts +1 -1
  60. package/lib/api/api/msearch_template.d.ts +1 -1
  61. package/lib/api/api/mtermvectors.d.ts +1 -1
  62. package/lib/api/api/nodes.d.ts +7 -7
  63. package/lib/api/api/open_point_in_time.d.ts +1 -1
  64. package/lib/api/api/ping.d.ts +1 -1
  65. package/lib/api/api/profiling.d.ts +4 -4
  66. package/lib/api/api/put_script.d.ts +1 -1
  67. package/lib/api/api/query_rules.d.ts +8 -8
  68. package/lib/api/api/rank_eval.d.ts +1 -1
  69. package/lib/api/api/reindex.d.ts +2 -2
  70. package/lib/api/api/reindex_rethrottle.d.ts +1 -1
  71. package/lib/api/api/render_search_template.d.ts +1 -1
  72. package/lib/api/api/rollup.d.ts +8 -8
  73. package/lib/api/api/scripts_painless_execute.d.ts +2 -2
  74. package/lib/api/api/scroll.d.ts +1 -1
  75. package/lib/api/api/search.d.ts +1 -1
  76. package/lib/api/api/search_application.d.ts +10 -10
  77. package/lib/api/api/search_mvt.d.ts +1 -1
  78. package/lib/api/api/search_shards.d.ts +1 -1
  79. package/lib/api/api/search_template.d.ts +1 -1
  80. package/lib/api/api/searchable_snapshots.d.ts +4 -4
  81. package/lib/api/api/security.d.ts +64 -64
  82. package/lib/api/api/security.js +1 -1
  83. package/lib/api/api/security.js.map +1 -1
  84. package/lib/api/api/shutdown.d.ts +3 -3
  85. package/lib/api/api/simulate.d.ts +1 -1
  86. package/lib/api/api/simulate.js +1 -1
  87. package/lib/api/api/simulate.js.map +1 -1
  88. package/lib/api/api/slm.d.ts +9 -9
  89. package/lib/api/api/snapshot.d.ts +13 -13
  90. package/lib/api/api/sql.d.ts +6 -6
  91. package/lib/api/api/ssl.d.ts +1 -1
  92. package/lib/api/api/synonyms.d.ts +7 -7
  93. package/lib/api/api/tasks.d.ts +3 -3
  94. package/lib/api/api/terms_enum.d.ts +1 -1
  95. package/lib/api/api/termvectors.d.ts +1 -1
  96. package/lib/api/api/termvectors.js +1 -1
  97. package/lib/api/api/termvectors.js.map +1 -1
  98. package/lib/api/api/text_structure.d.ts +4 -4
  99. package/lib/api/api/transform.d.ts +18 -18
  100. package/lib/api/api/update.d.ts +1 -1
  101. package/lib/api/api/update_by_query.d.ts +1 -1
  102. package/lib/api/api/update_by_query_rethrottle.d.ts +1 -1
  103. package/lib/api/api/watcher.d.ts +14 -14
  104. package/lib/api/api/xpack.d.ts +2 -2
  105. package/lib/api/types.d.ts +777 -114
  106. package/lib/api/typesWithBodyKey.d.ts +846 -117
  107. package/lib/client.d.ts +0 -7
  108. package/lib/client.js +17 -1
  109. package/lib/client.js.map +1 -1
  110. package/package.json +6 -7
@@ -29,6 +29,7 @@ export interface BulkOperationContainer {
29
29
  export type BulkOperationType = 'index' | 'create' | 'update' | 'delete';
30
30
  export interface BulkRequest<TDocument = unknown, TPartialDocument = unknown> extends RequestBase {
31
31
  index?: IndexName;
32
+ include_source_on_error?: boolean;
32
33
  list_executed_pipelines?: boolean;
33
34
  pipeline?: string;
34
35
  refresh?: Refresh;
@@ -119,8 +120,14 @@ export interface CountResponse {
119
120
  export interface CreateRequest<TDocument = unknown> extends RequestBase {
120
121
  id: Id;
121
122
  index: IndexName;
123
+ if_primary_term?: long;
124
+ if_seq_no?: SequenceNumber;
125
+ include_source_on_error?: boolean;
126
+ op_type?: OpType;
122
127
  pipeline?: string;
123
128
  refresh?: Refresh;
129
+ require_alias?: boolean;
130
+ require_data_stream?: boolean;
124
131
  routing?: Routing;
125
132
  timeout?: Duration;
126
133
  version?: VersionNumber;
@@ -532,6 +539,7 @@ export interface IndexRequest<TDocument = unknown> extends RequestBase {
532
539
  index: IndexName;
533
540
  if_primary_term?: long;
534
541
  if_seq_no?: SequenceNumber;
542
+ include_source_on_error?: boolean;
535
543
  op_type?: OpType;
536
544
  pipeline?: string;
537
545
  refresh?: Refresh;
@@ -628,7 +636,7 @@ export interface MsearchMultisearchBody {
628
636
  knn?: KnnSearch | KnnSearch[];
629
637
  from?: integer;
630
638
  highlight?: SearchHighlight;
631
- indices_boost?: Record<IndexName, double>[];
639
+ indices_boost?: Partial<Record<IndexName, double>>[];
632
640
  min_score?: double;
633
641
  post_filter?: QueryDslQueryContainer;
634
642
  profile?: boolean;
@@ -752,6 +760,7 @@ export interface OpenPointInTimeRequest extends RequestBase {
752
760
  routing?: Routing;
753
761
  expand_wildcards?: ExpandWildcards;
754
762
  allow_partial_search_results?: boolean;
763
+ max_concurrent_shard_requests?: integer;
755
764
  index_filter?: QueryDslQueryContainer;
756
765
  }
757
766
  export interface OpenPointInTimeResponse {
@@ -949,13 +958,14 @@ export interface RenderSearchTemplateRequest extends RequestBase {
949
958
  export interface RenderSearchTemplateResponse {
950
959
  template_output: Record<string, any>;
951
960
  }
961
+ export type ScriptsPainlessExecutePainlessContext = 'painless_test' | 'filter' | 'score' | 'boolean_field' | 'date_field' | 'double_field' | 'geo_point_field' | 'ip_field' | 'keyword_field' | 'long_field' | 'composite_field';
952
962
  export interface ScriptsPainlessExecutePainlessContextSetup {
953
963
  document: any;
954
964
  index: IndexName;
955
965
  query?: QueryDslQueryContainer;
956
966
  }
957
967
  export interface ScriptsPainlessExecuteRequest extends RequestBase {
958
- context?: string;
968
+ context?: ScriptsPainlessExecutePainlessContext;
959
969
  context_setup?: ScriptsPainlessExecutePainlessContextSetup;
960
970
  script?: Script | string;
961
971
  }
@@ -1010,7 +1020,7 @@ export interface SearchRequest extends RequestBase {
1010
1020
  from?: integer;
1011
1021
  highlight?: SearchHighlight;
1012
1022
  track_total_hits?: SearchTrackHits;
1013
- indices_boost?: Record<IndexName, double>[];
1023
+ indices_boost?: Partial<Record<IndexName, double>>[];
1014
1024
  docvalue_fields?: (QueryDslFieldAndFormat | Field)[];
1015
1025
  knn?: KnnSearch | KnnSearch[];
1016
1026
  rank?: RankContainer;
@@ -1579,6 +1589,7 @@ export interface SearchShardsRequest extends RequestBase {
1579
1589
  expand_wildcards?: ExpandWildcards;
1580
1590
  ignore_unavailable?: boolean;
1581
1591
  local?: boolean;
1592
+ master_timeout?: Duration;
1582
1593
  preference?: string;
1583
1594
  routing?: Routing;
1584
1595
  }
@@ -1669,20 +1680,20 @@ export interface TermvectorsFilter {
1669
1680
  export interface TermvectorsRequest<TDocument = unknown> extends RequestBase {
1670
1681
  index: IndexName;
1671
1682
  id?: Id;
1683
+ preference?: string;
1684
+ realtime?: boolean;
1685
+ doc?: TDocument;
1686
+ filter?: TermvectorsFilter;
1687
+ per_field_analyzer?: Record<Field, string>;
1672
1688
  fields?: Fields;
1673
1689
  field_statistics?: boolean;
1674
1690
  offsets?: boolean;
1675
1691
  payloads?: boolean;
1676
1692
  positions?: boolean;
1677
- preference?: string;
1678
- realtime?: boolean;
1679
- routing?: Routing;
1680
1693
  term_statistics?: boolean;
1694
+ routing?: Routing;
1681
1695
  version?: VersionNumber;
1682
1696
  version_type?: VersionType;
1683
- doc?: TDocument;
1684
- filter?: TermvectorsFilter;
1685
- per_field_analyzer?: Record<Field, string>;
1686
1697
  }
1687
1698
  export interface TermvectorsResponse {
1688
1699
  found: boolean;
@@ -1714,6 +1725,7 @@ export interface UpdateRequest<TDocument = unknown, TPartialDocument = unknown>
1714
1725
  index: IndexName;
1715
1726
  if_primary_term?: long;
1716
1727
  if_seq_no?: SequenceNumber;
1728
+ include_source_on_error?: boolean;
1717
1729
  lang?: string;
1718
1730
  refresh?: Refresh;
1719
1731
  require_alias?: boolean;
@@ -1821,7 +1833,6 @@ export interface BulkIndexByScrollFailure {
1821
1833
  id: Id;
1822
1834
  index: IndexName;
1823
1835
  status: integer;
1824
- type: string;
1825
1836
  }
1826
1837
  export interface BulkStats {
1827
1838
  total_operations: long;
@@ -2058,6 +2069,7 @@ export interface KnnQuery extends QueryDslQueryBase {
2058
2069
  k?: integer;
2059
2070
  filter?: QueryDslQueryContainer | QueryDslQueryContainer[];
2060
2071
  similarity?: float;
2072
+ rescore_vector?: RescoreVector;
2061
2073
  }
2062
2074
  export interface KnnRetriever extends RetrieverBase {
2063
2075
  field: string;
@@ -2066,6 +2078,7 @@ export interface KnnRetriever extends RetrieverBase {
2066
2078
  k: integer;
2067
2079
  num_candidates: integer;
2068
2080
  similarity?: float;
2081
+ rescore_vector?: RescoreVector;
2069
2082
  }
2070
2083
  export interface KnnSearch {
2071
2084
  field: Field;
@@ -2077,6 +2090,7 @@ export interface KnnSearch {
2077
2090
  filter?: QueryDslQueryContainer | QueryDslQueryContainer[];
2078
2091
  similarity?: float;
2079
2092
  inner_hits?: SearchInnerHits;
2093
+ rescore_vector?: RescoreVector;
2080
2094
  }
2081
2095
  export interface LatLonGeoLocation {
2082
2096
  lat: double;
@@ -2215,6 +2229,9 @@ export interface RequestCacheStats {
2215
2229
  memory_size_in_bytes: long;
2216
2230
  miss_count: long;
2217
2231
  }
2232
+ export interface RescoreVector {
2233
+ oversample: float;
2234
+ }
2218
2235
  export type Result = 'created' | 'updated' | 'deleted' | 'not_found' | 'noop';
2219
2236
  export interface Retries {
2220
2237
  bulk: long;
@@ -3661,7 +3678,7 @@ export interface AggregationsWeightedAverageValue {
3661
3678
  }
3662
3679
  export interface AggregationsWeightedAvgAggregate extends AggregationsSingleMetricAggregateBase {
3663
3680
  }
3664
- export type AnalysisAnalyzer = AnalysisCustomAnalyzer | AnalysisFingerprintAnalyzer | AnalysisKeywordAnalyzer | AnalysisLanguageAnalyzer | AnalysisNoriAnalyzer | AnalysisPatternAnalyzer | AnalysisSimpleAnalyzer | AnalysisStandardAnalyzer | AnalysisStopAnalyzer | AnalysisWhitespaceAnalyzer | AnalysisIcuAnalyzer | AnalysisKuromojiAnalyzer | AnalysisSnowballAnalyzer | AnalysisArabicAnalyzer | AnalysisArmenianAnalyzer | AnalysisBasqueAnalyzer | AnalysisBengaliAnalyzer | AnalysisBrazilianAnalyzer | AnalysisBulgarianAnalyzer | AnalysisCatalanAnalyzer | AnalysisChineseAnalyzer | AnalysisCjkAnalyzer | AnalysisCzechAnalyzer | AnalysisDanishAnalyzer | AnalysisDutchAnalyzer | AnalysisEnglishAnalyzer | AnalysisEstonianAnalyzer | AnalysisFinnishAnalyzer | AnalysisFrenchAnalyzer | AnalysisGalicianAnalyzer | AnalysisGermanAnalyzer | AnalysisGreekAnalyzer | AnalysisHindiAnalyzer | AnalysisHungarianAnalyzer | AnalysisIndonesianAnalyzer | AnalysisIrishAnalyzer | AnalysisItalianAnalyzer | AnalysisLatvianAnalyzer | AnalysisLithuanianAnalyzer | AnalysisNorwegianAnalyzer | AnalysisPersianAnalyzer | AnalysisPortugueseAnalyzer | AnalysisRomanianAnalyzer | AnalysisRussianAnalyzer | AnalysisSerbianAnalyzer | AnalysisSoraniAnalyzer | AnalysisSpanishAnalyzer | AnalysisSwedishAnalyzer | AnalysisTurkishAnalyzer | AnalysisThaiAnalyzer;
3681
+ export type AnalysisAnalyzer = AnalysisCustomAnalyzer | AnalysisFingerprintAnalyzer | AnalysisKeywordAnalyzer | AnalysisNoriAnalyzer | AnalysisPatternAnalyzer | AnalysisSimpleAnalyzer | AnalysisStandardAnalyzer | AnalysisStopAnalyzer | AnalysisWhitespaceAnalyzer | AnalysisIcuAnalyzer | AnalysisKuromojiAnalyzer | AnalysisSnowballAnalyzer | AnalysisArabicAnalyzer | AnalysisArmenianAnalyzer | AnalysisBasqueAnalyzer | AnalysisBengaliAnalyzer | AnalysisBrazilianAnalyzer | AnalysisBulgarianAnalyzer | AnalysisCatalanAnalyzer | AnalysisChineseAnalyzer | AnalysisCjkAnalyzer | AnalysisCzechAnalyzer | AnalysisDanishAnalyzer | AnalysisDutchAnalyzer | AnalysisEnglishAnalyzer | AnalysisEstonianAnalyzer | AnalysisFinnishAnalyzer | AnalysisFrenchAnalyzer | AnalysisGalicianAnalyzer | AnalysisGermanAnalyzer | AnalysisGreekAnalyzer | AnalysisHindiAnalyzer | AnalysisHungarianAnalyzer | AnalysisIndonesianAnalyzer | AnalysisIrishAnalyzer | AnalysisItalianAnalyzer | AnalysisLatvianAnalyzer | AnalysisLithuanianAnalyzer | AnalysisNorwegianAnalyzer | AnalysisPersianAnalyzer | AnalysisPortugueseAnalyzer | AnalysisRomanianAnalyzer | AnalysisRussianAnalyzer | AnalysisSerbianAnalyzer | AnalysisSoraniAnalyzer | AnalysisSpanishAnalyzer | AnalysisSwedishAnalyzer | AnalysisTurkishAnalyzer | AnalysisThaiAnalyzer;
3665
3682
  export interface AnalysisArabicAnalyzer {
3666
3683
  type: 'arabic';
3667
3684
  stopwords?: AnalysisStopWords;
@@ -4022,15 +4039,6 @@ export interface AnalysisKuromojiTokenizer extends AnalysisTokenizerBase {
4022
4039
  user_dictionary_rules?: string[];
4023
4040
  discard_compound_token?: boolean;
4024
4041
  }
4025
- export type AnalysisLanguage = 'Arabic' | 'Armenian' | 'Basque' | 'Brazilian' | 'Bulgarian' | 'Catalan' | 'Chinese' | 'Cjk' | 'Czech' | 'Danish' | 'Dutch' | 'English' | 'Estonian' | 'Finnish' | 'French' | 'Galician' | 'German' | 'Greek' | 'Hindi' | 'Hungarian' | 'Indonesian' | 'Irish' | 'Italian' | 'Latvian' | 'Norwegian' | 'Persian' | 'Portuguese' | 'Romanian' | 'Russian' | 'Sorani' | 'Spanish' | 'Swedish' | 'Turkish' | 'Thai';
4026
- export interface AnalysisLanguageAnalyzer {
4027
- type: 'language';
4028
- version?: VersionString;
4029
- language: AnalysisLanguage;
4030
- stem_exclusion: string[];
4031
- stopwords?: AnalysisStopWords;
4032
- stopwords_path?: string;
4033
- }
4034
4042
  export interface AnalysisLatvianAnalyzer {
4035
4043
  type: 'latvian';
4036
4044
  stopwords?: AnalysisStopWords;
@@ -4427,6 +4435,10 @@ export interface MappingBooleanProperty extends MappingDocValuesPropertyBase {
4427
4435
  fielddata?: IndicesNumericFielddata;
4428
4436
  index?: boolean;
4429
4437
  null_value?: boolean;
4438
+ ignore_malformed?: boolean;
4439
+ script?: Script | string;
4440
+ on_script_error?: MappingOnScriptError;
4441
+ time_series_dimension?: boolean;
4430
4442
  type: 'boolean';
4431
4443
  }
4432
4444
  export interface MappingByteNumberProperty extends MappingNumberPropertyBase {
@@ -4453,6 +4465,10 @@ export interface MappingCorePropertyBase extends MappingPropertyBase {
4453
4465
  copy_to?: Fields;
4454
4466
  store?: boolean;
4455
4467
  }
4468
+ export interface MappingCountedKeywordProperty extends MappingPropertyBase {
4469
+ type: 'counted_keyword';
4470
+ index?: boolean;
4471
+ }
4456
4472
  export interface MappingDataStreamTimestamp {
4457
4473
  enabled: boolean;
4458
4474
  }
@@ -4461,6 +4477,8 @@ export interface MappingDateNanosProperty extends MappingDocValuesPropertyBase {
4461
4477
  format?: string;
4462
4478
  ignore_malformed?: boolean;
4463
4479
  index?: boolean;
4480
+ script?: Script | string;
4481
+ on_script_error?: MappingOnScriptError;
4464
4482
  null_value?: DateTime;
4465
4483
  precision_step?: integer;
4466
4484
  type: 'date_nanos';
@@ -4471,6 +4489,8 @@ export interface MappingDateProperty extends MappingDocValuesPropertyBase {
4471
4489
  format?: string;
4472
4490
  ignore_malformed?: boolean;
4473
4491
  index?: boolean;
4492
+ script?: Script | string;
4493
+ on_script_error?: MappingOnScriptError;
4474
4494
  null_value?: DateTime;
4475
4495
  precision_step?: integer;
4476
4496
  locale?: string;
@@ -4480,20 +4500,23 @@ export interface MappingDateRangeProperty extends MappingRangePropertyBase {
4480
4500
  format?: string;
4481
4501
  type: 'date_range';
4482
4502
  }
4503
+ export type MappingDenseVectorElementType = 'bit' | 'byte' | 'float';
4483
4504
  export interface MappingDenseVectorIndexOptions {
4484
- type: string;
4485
- m?: integer;
4486
- ef_construction?: integer;
4487
4505
  confidence_interval?: float;
4506
+ ef_construction?: integer;
4507
+ m?: integer;
4508
+ type: MappingDenseVectorIndexOptionsType;
4488
4509
  }
4510
+ export type MappingDenseVectorIndexOptionsType = 'bbq_flat' | 'bbq_hnsw' | 'flat' | 'hnsw' | 'int4_flat' | 'int4_hnsw' | 'int8_flat' | 'int8_hnsw';
4489
4511
  export interface MappingDenseVectorProperty extends MappingPropertyBase {
4490
4512
  type: 'dense_vector';
4491
- element_type?: string;
4492
4513
  dims?: integer;
4493
- similarity?: string;
4514
+ element_type?: MappingDenseVectorElementType;
4494
4515
  index?: boolean;
4495
4516
  index_options?: MappingDenseVectorIndexOptions;
4517
+ similarity?: MappingDenseVectorSimilarity;
4496
4518
  }
4519
+ export type MappingDenseVectorSimilarity = 'cosine' | 'dot_product' | 'l2_norm' | 'max_inner_product';
4497
4520
  export interface MappingDocValuesPropertyBase extends MappingCorePropertyBase {
4498
4521
  doc_values?: boolean;
4499
4522
  }
@@ -4532,7 +4555,7 @@ export interface MappingDynamicProperty extends MappingDocValuesPropertyBase {
4532
4555
  }
4533
4556
  export interface MappingDynamicTemplate {
4534
4557
  mapping?: MappingProperty;
4535
- runtime?: MappingProperty;
4558
+ runtime?: MappingRuntimeField;
4536
4559
  match?: string | string[];
4537
4560
  path_match?: string | string[];
4538
4561
  unmatch?: string | string[];
@@ -4552,7 +4575,7 @@ export interface MappingFieldMapping {
4552
4575
  export interface MappingFieldNamesField {
4553
4576
  enabled: boolean;
4554
4577
  }
4555
- export type MappingFieldType = 'none' | 'geo_point' | 'geo_shape' | 'ip' | 'binary' | 'keyword' | 'text' | 'search_as_you_type' | 'date' | 'date_nanos' | 'boolean' | 'completion' | 'nested' | 'object' | 'version' | 'murmur3' | 'token_count' | 'percolator' | 'integer' | 'long' | 'short' | 'byte' | 'float' | 'half_float' | 'scaled_float' | 'double' | 'integer_range' | 'float_range' | 'long_range' | 'double_range' | 'date_range' | 'ip_range' | 'alias' | 'join' | 'rank_feature' | 'rank_features' | 'flattened' | 'shape' | 'histogram' | 'constant_keyword' | 'aggregate_metric_double' | 'dense_vector' | 'semantic_text' | 'sparse_vector' | 'match_only_text' | 'icu_collation_keyword';
4578
+ export type MappingFieldType = 'none' | 'geo_point' | 'geo_shape' | 'ip' | 'binary' | 'keyword' | 'text' | 'search_as_you_type' | 'date' | 'date_nanos' | 'boolean' | 'completion' | 'nested' | 'object' | 'passthrough' | 'version' | 'murmur3' | 'token_count' | 'percolator' | 'integer' | 'long' | 'short' | 'byte' | 'float' | 'half_float' | 'scaled_float' | 'double' | 'integer_range' | 'float_range' | 'long_range' | 'double_range' | 'date_range' | 'ip_range' | 'alias' | 'join' | 'rank_feature' | 'rank_features' | 'flattened' | 'shape' | 'histogram' | 'constant_keyword' | 'counted_keyword' | 'aggregate_metric_double' | 'dense_vector' | 'semantic_text' | 'sparse_vector' | 'match_only_text' | 'icu_collation_keyword';
4556
4579
  export interface MappingFlattenedProperty extends MappingPropertyBase {
4557
4580
  boost?: double;
4558
4581
  depth_limit?: integer;
@@ -4586,6 +4609,7 @@ export interface MappingGeoShapeProperty extends MappingDocValuesPropertyBase {
4586
4609
  coerce?: boolean;
4587
4610
  ignore_malformed?: boolean;
4588
4611
  ignore_z_value?: boolean;
4612
+ index?: boolean;
4589
4613
  orientation?: MappingGeoOrientation;
4590
4614
  strategy?: MappingGeoStrategy;
4591
4615
  type: 'geo_shape';
@@ -4697,10 +4721,16 @@ export interface MappingNumberPropertyBase extends MappingDocValuesPropertyBase
4697
4721
  }
4698
4722
  export interface MappingObjectProperty extends MappingCorePropertyBase {
4699
4723
  enabled?: boolean;
4700
- subobjects?: boolean;
4724
+ subobjects?: MappingSubobjects;
4701
4725
  type?: 'object';
4702
4726
  }
4703
4727
  export type MappingOnScriptError = 'fail' | 'continue';
4728
+ export interface MappingPassthroughObjectProperty extends MappingCorePropertyBase {
4729
+ type?: 'passthrough';
4730
+ enabled?: boolean;
4731
+ priority?: integer;
4732
+ time_series_dimension?: boolean;
4733
+ }
4704
4734
  export interface MappingPercolatorProperty extends MappingPropertyBase {
4705
4735
  type: 'percolator';
4706
4736
  }
@@ -4710,7 +4740,7 @@ export interface MappingPointProperty extends MappingDocValuesPropertyBase {
4710
4740
  null_value?: string;
4711
4741
  type: 'point';
4712
4742
  }
4713
- export type MappingProperty = MappingBinaryProperty | MappingBooleanProperty | MappingDynamicProperty | MappingJoinProperty | MappingKeywordProperty | MappingMatchOnlyTextProperty | MappingPercolatorProperty | MappingRankFeatureProperty | MappingRankFeaturesProperty | MappingSearchAsYouTypeProperty | MappingTextProperty | MappingVersionProperty | MappingWildcardProperty | MappingDateNanosProperty | MappingDateProperty | MappingAggregateMetricDoubleProperty | MappingDenseVectorProperty | MappingFlattenedProperty | MappingNestedProperty | MappingObjectProperty | MappingSemanticTextProperty | MappingSparseVectorProperty | MappingCompletionProperty | MappingConstantKeywordProperty | MappingFieldAliasProperty | MappingHistogramProperty | MappingIpProperty | MappingMurmur3HashProperty | MappingTokenCountProperty | MappingGeoPointProperty | MappingGeoShapeProperty | MappingPointProperty | MappingShapeProperty | MappingByteNumberProperty | MappingDoubleNumberProperty | MappingFloatNumberProperty | MappingHalfFloatNumberProperty | MappingIntegerNumberProperty | MappingLongNumberProperty | MappingScaledFloatNumberProperty | MappingShortNumberProperty | MappingUnsignedLongNumberProperty | MappingDateRangeProperty | MappingDoubleRangeProperty | MappingFloatRangeProperty | MappingIntegerRangeProperty | MappingIpRangeProperty | MappingLongRangeProperty | MappingIcuCollationProperty;
4743
+ export type MappingProperty = MappingBinaryProperty | MappingBooleanProperty | MappingDynamicProperty | MappingJoinProperty | MappingKeywordProperty | MappingMatchOnlyTextProperty | MappingPercolatorProperty | MappingRankFeatureProperty | MappingRankFeaturesProperty | MappingSearchAsYouTypeProperty | MappingTextProperty | MappingVersionProperty | MappingWildcardProperty | MappingDateNanosProperty | MappingDateProperty | MappingAggregateMetricDoubleProperty | MappingDenseVectorProperty | MappingFlattenedProperty | MappingNestedProperty | MappingObjectProperty | MappingPassthroughObjectProperty | MappingSemanticTextProperty | MappingSparseVectorProperty | MappingCompletionProperty | MappingConstantKeywordProperty | MappingCountedKeywordProperty | MappingFieldAliasProperty | MappingHistogramProperty | MappingIpProperty | MappingMurmur3HashProperty | MappingTokenCountProperty | MappingGeoPointProperty | MappingGeoShapeProperty | MappingPointProperty | MappingShapeProperty | MappingByteNumberProperty | MappingDoubleNumberProperty | MappingFloatNumberProperty | MappingHalfFloatNumberProperty | MappingIntegerNumberProperty | MappingLongNumberProperty | MappingScaledFloatNumberProperty | MappingShortNumberProperty | MappingUnsignedLongNumberProperty | MappingDateRangeProperty | MappingDoubleRangeProperty | MappingFloatRangeProperty | MappingIntegerRangeProperty | MappingIpRangeProperty | MappingLongRangeProperty | MappingIcuCollationProperty;
4714
4744
  export interface MappingPropertyBase {
4715
4745
  meta?: Record<string, string>;
4716
4746
  properties?: Record<PropertyName, MappingProperty>;
@@ -4749,7 +4779,7 @@ export interface MappingRuntimeFieldFetchFields {
4749
4779
  field: Field;
4750
4780
  format?: string;
4751
4781
  }
4752
- export type MappingRuntimeFieldType = 'boolean' | 'composite' | 'date' | 'double' | 'geo_point' | 'ip' | 'keyword' | 'long' | 'lookup';
4782
+ export type MappingRuntimeFieldType = 'boolean' | 'composite' | 'date' | 'double' | 'geo_point' | 'geo_shape' | 'ip' | 'keyword' | 'long' | 'lookup';
4753
4783
  export type MappingRuntimeFields = Record<Field, MappingRuntimeField>;
4754
4784
  export interface MappingScaledFloatNumberProperty extends MappingNumberPropertyBase {
4755
4785
  type: 'scaled_float';
@@ -4771,7 +4801,8 @@ export interface MappingSearchAsYouTypeProperty extends MappingCorePropertyBase
4771
4801
  export interface MappingSemanticTextProperty {
4772
4802
  type: 'semantic_text';
4773
4803
  meta?: Record<string, string>;
4774
- inference_id: Id;
4804
+ inference_id?: Id;
4805
+ search_inference_id?: Id;
4775
4806
  }
4776
4807
  export interface MappingShapeProperty extends MappingDocValuesPropertyBase {
4777
4808
  coerce?: boolean;
@@ -4799,6 +4830,7 @@ export type MappingSourceFieldMode = 'disabled' | 'stored' | 'synthetic';
4799
4830
  export interface MappingSparseVectorProperty extends MappingPropertyBase {
4800
4831
  type: 'sparse_vector';
4801
4832
  }
4833
+ export type MappingSubobjects = boolean | 'true' | 'false' | 'auto';
4802
4834
  export interface MappingSuggestContext {
4803
4835
  name: Name;
4804
4836
  path?: Field;
@@ -4843,7 +4875,7 @@ export interface MappingTypeMapping {
4843
4875
  date_detection?: boolean;
4844
4876
  dynamic?: MappingDynamicMapping;
4845
4877
  dynamic_date_formats?: string[];
4846
- dynamic_templates?: Record<string, MappingDynamicTemplate>[];
4878
+ dynamic_templates?: Partial<Record<string, MappingDynamicTemplate>>[];
4847
4879
  _field_names?: MappingFieldNamesField;
4848
4880
  index_field?: MappingIndexField;
4849
4881
  _meta?: Metadata;
@@ -4854,7 +4886,7 @@ export interface MappingTypeMapping {
4854
4886
  _source?: MappingSourceField;
4855
4887
  runtime?: Record<string, MappingRuntimeField>;
4856
4888
  enabled?: boolean;
4857
- subobjects?: boolean;
4889
+ subobjects?: MappingSubobjects;
4858
4890
  _data_stream_timestamp?: MappingDataStreamTimestamp;
4859
4891
  }
4860
4892
  export interface MappingUnsignedLongNumberProperty extends MappingNumberPropertyBase {
@@ -5007,6 +5039,11 @@ export type QueryDslGeoDistanceQuery = QueryDslGeoDistanceQueryKeys & {
5007
5039
  [property: string]: GeoLocation | Distance | GeoDistanceType | QueryDslGeoValidationMethod | boolean | float | string;
5008
5040
  };
5009
5041
  export type QueryDslGeoExecution = 'memory' | 'indexed';
5042
+ export interface QueryDslGeoGridQuery extends QueryDslQueryBase {
5043
+ geogrid?: GeoTile;
5044
+ geohash?: GeoHash;
5045
+ geohex?: GeoHexCell;
5046
+ }
5010
5047
  export interface QueryDslGeoPolygonPoints {
5011
5048
  points: GeoLocation[];
5012
5049
  }
@@ -5267,6 +5304,7 @@ export interface QueryDslQueryContainer {
5267
5304
  fuzzy?: Partial<Record<Field, QueryDslFuzzyQuery | string | double | boolean>>;
5268
5305
  geo_bounding_box?: QueryDslGeoBoundingBoxQuery;
5269
5306
  geo_distance?: QueryDslGeoDistanceQuery;
5307
+ geo_grid?: Partial<Record<Field, QueryDslGeoGridQuery>>;
5270
5308
  geo_polygon?: QueryDslGeoPolygonQuery;
5271
5309
  geo_shape?: QueryDslGeoShapeQuery;
5272
5310
  has_child?: QueryDslHasChildQuery;
@@ -5647,7 +5685,7 @@ export interface AsyncSearchSubmitRequest extends RequestBase {
5647
5685
  from?: integer;
5648
5686
  highlight?: SearchHighlight;
5649
5687
  track_total_hits?: SearchTrackHits;
5650
- indices_boost?: Record<IndexName, double>[];
5688
+ indices_boost?: Partial<Record<IndexName, double>>[];
5651
5689
  docvalue_fields?: (QueryDslFieldAndFormat | Field)[];
5652
5690
  knn?: KnnSearch | KnnSearch[];
5653
5691
  min_score?: double;
@@ -5757,6 +5795,8 @@ export interface CatAliasesAliasesRecord {
5757
5795
  }
5758
5796
  export interface CatAliasesRequest extends CatCatRequestBase {
5759
5797
  name?: Names;
5798
+ h?: Names;
5799
+ s?: Names;
5760
5800
  expand_wildcards?: ExpandWildcards;
5761
5801
  local?: boolean;
5762
5802
  master_timeout?: Duration;
@@ -5800,6 +5840,8 @@ export interface CatAllocationAllocationRecord {
5800
5840
  export interface CatAllocationRequest extends CatCatRequestBase {
5801
5841
  node_id?: NodeIds;
5802
5842
  bytes?: Bytes;
5843
+ h?: Names;
5844
+ s?: Names;
5803
5845
  local?: boolean;
5804
5846
  master_timeout?: Duration;
5805
5847
  }
@@ -5815,6 +5857,8 @@ export interface CatComponentTemplatesComponentTemplate {
5815
5857
  }
5816
5858
  export interface CatComponentTemplatesRequest extends CatCatRequestBase {
5817
5859
  name?: string;
5860
+ h?: Names;
5861
+ s?: Names;
5818
5862
  local?: boolean;
5819
5863
  master_timeout?: Duration;
5820
5864
  }
@@ -5834,6 +5878,8 @@ export interface CatCountCountRecord {
5834
5878
  }
5835
5879
  export interface CatCountRequest extends CatCatRequestBase {
5836
5880
  index?: Indices;
5881
+ h?: Names;
5882
+ s?: Names;
5837
5883
  }
5838
5884
  export type CatCountResponse = CatCountCountRecord[];
5839
5885
  export interface CatFielddataFielddataRecord {
@@ -5850,6 +5896,8 @@ export interface CatFielddataFielddataRecord {
5850
5896
  export interface CatFielddataRequest extends CatCatRequestBase {
5851
5897
  fields?: Fields;
5852
5898
  bytes?: Bytes;
5899
+ h?: Names;
5900
+ s?: Names;
5853
5901
  }
5854
5902
  export type CatFielddataResponse = CatFielddataFielddataRecord[];
5855
5903
  export interface CatHealthHealthRecord {
@@ -5907,6 +5955,8 @@ export interface CatHealthHealthRecord {
5907
5955
  export interface CatHealthRequest extends CatCatRequestBase {
5908
5956
  time?: TimeUnit;
5909
5957
  ts?: boolean;
5958
+ h?: Names;
5959
+ s?: Names;
5910
5960
  }
5911
5961
  export type CatHealthResponse = CatHealthHealthRecord[];
5912
5962
  export interface CatHelpRequest {
@@ -6212,6 +6262,8 @@ export interface CatIndicesRequest extends CatCatRequestBase {
6212
6262
  pri?: boolean;
6213
6263
  time?: TimeUnit;
6214
6264
  master_timeout?: Duration;
6265
+ h?: Names;
6266
+ s?: Names;
6215
6267
  }
6216
6268
  export type CatIndicesResponse = CatIndicesIndicesRecord[];
6217
6269
  export interface CatMasterMasterRecord {
@@ -6223,6 +6275,8 @@ export interface CatMasterMasterRecord {
6223
6275
  n?: string;
6224
6276
  }
6225
6277
  export interface CatMasterRequest extends CatCatRequestBase {
6278
+ h?: Names;
6279
+ s?: Names;
6226
6280
  local?: boolean;
6227
6281
  master_timeout?: Duration;
6228
6282
  }
@@ -6578,6 +6632,8 @@ export interface CatNodeattrsNodeAttributesRecord {
6578
6632
  value?: string;
6579
6633
  }
6580
6634
  export interface CatNodeattrsRequest extends CatCatRequestBase {
6635
+ h?: Names;
6636
+ s?: Names;
6581
6637
  local?: boolean;
6582
6638
  master_timeout?: Duration;
6583
6639
  }
@@ -6855,6 +6911,8 @@ export interface CatNodesRequest extends CatCatRequestBase {
6855
6911
  bytes?: Bytes;
6856
6912
  full_id?: boolean | string;
6857
6913
  include_unloaded_segments?: boolean;
6914
+ h?: Names;
6915
+ s?: Names;
6858
6916
  master_timeout?: Duration;
6859
6917
  time?: TimeUnit;
6860
6918
  }
@@ -6870,6 +6928,8 @@ export interface CatPendingTasksPendingTasksRecord {
6870
6928
  s?: string;
6871
6929
  }
6872
6930
  export interface CatPendingTasksRequest extends CatCatRequestBase {
6931
+ h?: Names;
6932
+ s?: Names;
6873
6933
  local?: boolean;
6874
6934
  master_timeout?: Duration;
6875
6935
  time?: TimeUnit;
@@ -6889,6 +6949,8 @@ export interface CatPluginsPluginsRecord {
6889
6949
  t?: string;
6890
6950
  }
6891
6951
  export interface CatPluginsRequest extends CatCatRequestBase {
6952
+ h?: Names;
6953
+ s?: Names;
6892
6954
  include_bootstrap?: boolean;
6893
6955
  local?: boolean;
6894
6956
  master_timeout?: Duration;
@@ -6956,6 +7018,8 @@ export interface CatRecoveryRequest extends CatCatRequestBase {
6956
7018
  active_only?: boolean;
6957
7019
  bytes?: Bytes;
6958
7020
  detailed?: boolean;
7021
+ h?: Names;
7022
+ s?: Names;
6959
7023
  time?: TimeUnit;
6960
7024
  }
6961
7025
  export type CatRecoveryResponse = CatRecoveryRecoveryRecord[];
@@ -6966,6 +7030,8 @@ export interface CatRepositoriesRepositoriesRecord {
6966
7030
  t?: string;
6967
7031
  }
6968
7032
  export interface CatRepositoriesRequest extends CatCatRequestBase {
7033
+ h?: Names;
7034
+ s?: Names;
6969
7035
  local?: boolean;
6970
7036
  master_timeout?: Duration;
6971
7037
  }
@@ -6973,6 +7039,8 @@ export type CatRepositoriesResponse = CatRepositoriesRepositoriesRecord[];
6973
7039
  export interface CatSegmentsRequest extends CatCatRequestBase {
6974
7040
  index?: Indices;
6975
7041
  bytes?: Bytes;
7042
+ h?: Names;
7043
+ s?: Names;
6976
7044
  local?: boolean;
6977
7045
  master_timeout?: Duration;
6978
7046
  }
@@ -7021,6 +7089,8 @@ export interface CatSegmentsSegmentsRecord {
7021
7089
  export interface CatShardsRequest extends CatCatRequestBase {
7022
7090
  index?: Indices;
7023
7091
  bytes?: Bytes;
7092
+ h?: Names;
7093
+ s?: Names;
7024
7094
  master_timeout?: Duration;
7025
7095
  time?: TimeUnit;
7026
7096
  }
@@ -7242,6 +7312,8 @@ export interface CatShardsShardsRecord {
7242
7312
  export interface CatSnapshotsRequest extends CatCatRequestBase {
7243
7313
  repository?: Names;
7244
7314
  ignore_unavailable?: boolean;
7315
+ h?: Names;
7316
+ s?: Names;
7245
7317
  master_timeout?: Duration;
7246
7318
  time?: TimeUnit;
7247
7319
  }
@@ -7284,6 +7356,8 @@ export interface CatTasksRequest extends CatCatRequestBase {
7284
7356
  detailed?: boolean;
7285
7357
  nodes?: string[];
7286
7358
  parent_task_id?: string;
7359
+ h?: Names;
7360
+ s?: Names;
7287
7361
  time?: TimeUnit;
7288
7362
  timeout?: Duration;
7289
7363
  wait_for_completion?: boolean;
@@ -7325,6 +7399,8 @@ export interface CatTasksTasksRecord {
7325
7399
  }
7326
7400
  export interface CatTemplatesRequest extends CatCatRequestBase {
7327
7401
  name?: Name;
7402
+ h?: Names;
7403
+ s?: Names;
7328
7404
  local?: boolean;
7329
7405
  master_timeout?: Duration;
7330
7406
  }
@@ -7344,6 +7420,8 @@ export interface CatTemplatesTemplatesRecord {
7344
7420
  }
7345
7421
  export interface CatThreadPoolRequest extends CatCatRequestBase {
7346
7422
  thread_pool_patterns?: Names;
7423
+ h?: Names;
7424
+ s?: Names;
7347
7425
  time?: TimeUnit;
7348
7426
  local?: boolean;
7349
7427
  master_timeout?: Duration;
@@ -7521,23 +7599,27 @@ export interface CcrShardStats {
7521
7599
  }
7522
7600
  export interface CcrDeleteAutoFollowPatternRequest extends RequestBase {
7523
7601
  name: Name;
7602
+ master_timeout?: Duration;
7524
7603
  }
7525
7604
  export type CcrDeleteAutoFollowPatternResponse = AcknowledgedResponseBase;
7526
7605
  export interface CcrFollowRequest extends RequestBase {
7527
7606
  index: IndexName;
7607
+ master_timeout?: Duration;
7528
7608
  wait_for_active_shards?: WaitForActiveShards;
7529
- leader_index?: IndexName;
7609
+ data_stream_name?: string;
7610
+ leader_index: IndexName;
7530
7611
  max_outstanding_read_requests?: long;
7531
- max_outstanding_write_requests?: long;
7532
- max_read_request_operation_count?: long;
7533
- max_read_request_size?: string;
7612
+ max_outstanding_write_requests?: integer;
7613
+ max_read_request_operation_count?: integer;
7614
+ max_read_request_size?: ByteSize;
7534
7615
  max_retry_delay?: Duration;
7535
- max_write_buffer_count?: long;
7536
- max_write_buffer_size?: string;
7537
- max_write_request_operation_count?: long;
7538
- max_write_request_size?: string;
7616
+ max_write_buffer_count?: integer;
7617
+ max_write_buffer_size?: ByteSize;
7618
+ max_write_request_operation_count?: integer;
7619
+ max_write_request_size?: ByteSize;
7539
7620
  read_poll_timeout?: Duration;
7540
- remote_cluster?: string;
7621
+ remote_cluster: string;
7622
+ settings?: IndicesIndexSettings;
7541
7623
  }
7542
7624
  export interface CcrFollowResponse {
7543
7625
  follow_index_created: boolean;
@@ -7552,32 +7634,35 @@ export interface CcrFollowInfoFollowerIndex {
7552
7634
  status: CcrFollowInfoFollowerIndexStatus;
7553
7635
  }
7554
7636
  export interface CcrFollowInfoFollowerIndexParameters {
7555
- max_outstanding_read_requests: integer;
7556
- max_outstanding_write_requests: integer;
7557
- max_read_request_operation_count: integer;
7558
- max_read_request_size: string;
7559
- max_retry_delay: Duration;
7560
- max_write_buffer_count: integer;
7561
- max_write_buffer_size: string;
7562
- max_write_request_operation_count: integer;
7563
- max_write_request_size: string;
7564
- read_poll_timeout: Duration;
7637
+ max_outstanding_read_requests?: long;
7638
+ max_outstanding_write_requests?: integer;
7639
+ max_read_request_operation_count?: integer;
7640
+ max_read_request_size?: ByteSize;
7641
+ max_retry_delay?: Duration;
7642
+ max_write_buffer_count?: integer;
7643
+ max_write_buffer_size?: ByteSize;
7644
+ max_write_request_operation_count?: integer;
7645
+ max_write_request_size?: ByteSize;
7646
+ read_poll_timeout?: Duration;
7565
7647
  }
7566
7648
  export type CcrFollowInfoFollowerIndexStatus = 'active' | 'paused';
7567
7649
  export interface CcrFollowInfoRequest extends RequestBase {
7568
7650
  index: Indices;
7651
+ master_timeout?: Duration;
7569
7652
  }
7570
7653
  export interface CcrFollowInfoResponse {
7571
7654
  follower_indices: CcrFollowInfoFollowerIndex[];
7572
7655
  }
7573
7656
  export interface CcrFollowStatsRequest extends RequestBase {
7574
7657
  index: Indices;
7658
+ timeout?: Duration;
7575
7659
  }
7576
7660
  export interface CcrFollowStatsResponse {
7577
7661
  indices: CcrFollowIndexStats[];
7578
7662
  }
7579
7663
  export interface CcrForgetFollowerRequest extends RequestBase {
7580
7664
  index: IndexName;
7665
+ timeout?: Duration;
7581
7666
  follower_cluster?: string;
7582
7667
  follower_index?: IndexName;
7583
7668
  follower_index_uuid?: Uuid;
@@ -7600,20 +7685,24 @@ export interface CcrGetAutoFollowPatternAutoFollowPatternSummary {
7600
7685
  }
7601
7686
  export interface CcrGetAutoFollowPatternRequest extends RequestBase {
7602
7687
  name?: Name;
7688
+ master_timeout?: Duration;
7603
7689
  }
7604
7690
  export interface CcrGetAutoFollowPatternResponse {
7605
7691
  patterns: CcrGetAutoFollowPatternAutoFollowPattern[];
7606
7692
  }
7607
7693
  export interface CcrPauseAutoFollowPatternRequest extends RequestBase {
7608
7694
  name: Name;
7695
+ master_timeout?: Duration;
7609
7696
  }
7610
7697
  export type CcrPauseAutoFollowPatternResponse = AcknowledgedResponseBase;
7611
7698
  export interface CcrPauseFollowRequest extends RequestBase {
7612
7699
  index: IndexName;
7700
+ master_timeout?: Duration;
7613
7701
  }
7614
7702
  export type CcrPauseFollowResponse = AcknowledgedResponseBase;
7615
7703
  export interface CcrPutAutoFollowPatternRequest extends RequestBase {
7616
7704
  name: Name;
7705
+ master_timeout?: Duration;
7617
7706
  remote_cluster: string;
7618
7707
  follow_index_pattern?: IndexPattern;
7619
7708
  leader_index_patterns?: IndexPatterns;
@@ -7633,10 +7722,12 @@ export interface CcrPutAutoFollowPatternRequest extends RequestBase {
7633
7722
  export type CcrPutAutoFollowPatternResponse = AcknowledgedResponseBase;
7634
7723
  export interface CcrResumeAutoFollowPatternRequest extends RequestBase {
7635
7724
  name: Name;
7725
+ master_timeout?: Duration;
7636
7726
  }
7637
7727
  export type CcrResumeAutoFollowPatternResponse = AcknowledgedResponseBase;
7638
7728
  export interface CcrResumeFollowRequest extends RequestBase {
7639
7729
  index: IndexName;
7730
+ master_timeout?: Duration;
7640
7731
  max_outstanding_read_requests?: long;
7641
7732
  max_outstanding_write_requests?: long;
7642
7733
  max_read_request_operation_count?: long;
@@ -7665,6 +7756,8 @@ export interface CcrStatsFollowStats {
7665
7756
  indices: CcrFollowIndexStats[];
7666
7757
  }
7667
7758
  export interface CcrStatsRequest extends RequestBase {
7759
+ master_timeout?: Duration;
7760
+ timeout?: Duration;
7668
7761
  }
7669
7762
  export interface CcrStatsResponse {
7670
7763
  auto_follow_stats: CcrStatsAutoFollowStats;
@@ -7672,6 +7765,7 @@ export interface CcrStatsResponse {
7672
7765
  }
7673
7766
  export interface CcrUnfollowRequest extends RequestBase {
7674
7767
  index: IndexName;
7768
+ master_timeout?: Duration;
7675
7769
  }
7676
7770
  export type CcrUnfollowResponse = AcknowledgedResponseBase;
7677
7771
  export interface ClusterComponentTemplate {
@@ -7749,6 +7843,7 @@ export interface ClusterAllocationExplainNodeDiskUsage {
7749
7843
  export interface ClusterAllocationExplainRequest extends RequestBase {
7750
7844
  include_disk_info?: boolean;
7751
7845
  include_yes_decisions?: boolean;
7846
+ master_timeout?: Duration;
7752
7847
  current_node?: string;
7753
7848
  index?: IndexName;
7754
7849
  primary?: boolean;
@@ -7804,6 +7899,7 @@ export interface ClusterDeleteComponentTemplateRequest extends RequestBase {
7804
7899
  }
7805
7900
  export type ClusterDeleteComponentTemplateResponse = AcknowledgedResponseBase;
7806
7901
  export interface ClusterDeleteVotingConfigExclusionsRequest extends RequestBase {
7902
+ master_timeout?: Duration;
7807
7903
  wait_for_removal?: boolean;
7808
7904
  }
7809
7905
  export type ClusterDeleteVotingConfigExclusionsResponse = boolean;
@@ -7837,7 +7933,8 @@ export interface ClusterGetSettingsResponse {
7837
7933
  export interface ClusterHealthHealthResponseBody {
7838
7934
  active_primary_shards: integer;
7839
7935
  active_shards: integer;
7840
- active_shards_percent_as_number: Percentage;
7936
+ active_shards_percent?: string;
7937
+ active_shards_percent_as_number: double;
7841
7938
  cluster_name: Name;
7842
7939
  delayed_unassigned_shards: integer;
7843
7940
  indices?: Record<IndexName, ClusterHealthIndexHealthStats>;
@@ -7875,7 +7972,7 @@ export interface ClusterHealthRequest extends RequestBase {
7875
7972
  timeout?: Duration;
7876
7973
  wait_for_active_shards?: WaitForActiveShards;
7877
7974
  wait_for_events?: WaitForEvents;
7878
- wait_for_nodes?: string | integer;
7975
+ wait_for_nodes?: ClusterHealthWaitForNodes;
7879
7976
  wait_for_no_initializing_shards?: boolean;
7880
7977
  wait_for_no_relocating_shards?: boolean;
7881
7978
  wait_for_status?: HealthStatus;
@@ -7890,6 +7987,7 @@ export interface ClusterHealthShardHealthStats {
7890
7987
  unassigned_shards: integer;
7891
7988
  unassigned_primary_shards: integer;
7892
7989
  }
7990
+ export type ClusterHealthWaitForNodes = string | integer;
7893
7991
  export interface ClusterInfoRequest extends RequestBase {
7894
7992
  target: ClusterInfoTargets;
7895
7993
  }
@@ -7918,6 +8016,7 @@ export interface ClusterPendingTasksResponse {
7918
8016
  export interface ClusterPostVotingConfigExclusionsRequest extends RequestBase {
7919
8017
  node_names?: Names;
7920
8018
  node_ids?: Ids;
8019
+ master_timeout?: Duration;
7921
8020
  timeout?: Duration;
7922
8021
  }
7923
8022
  export type ClusterPostVotingConfigExclusionsResponse = boolean;
@@ -7953,6 +8052,7 @@ export interface ClusterRemoteInfoClusterRemoteProxyInfo {
7953
8052
  server_name: string;
7954
8053
  num_proxy_sockets_connected: integer;
7955
8054
  max_proxy_socket_connections: integer;
8055
+ cluster_credentials?: string;
7956
8056
  }
7957
8057
  export interface ClusterRemoteInfoClusterRemoteSniffInfo {
7958
8058
  mode: 'sniff';
@@ -8732,28 +8832,33 @@ export interface EnrichSummary {
8732
8832
  }
8733
8833
  export interface EnrichDeletePolicyRequest extends RequestBase {
8734
8834
  name: Name;
8835
+ master_timeout?: Duration;
8735
8836
  }
8736
8837
  export type EnrichDeletePolicyResponse = AcknowledgedResponseBase;
8737
- export type EnrichExecutePolicyEnrichPolicyPhase = 'SCHEDULED' | 'RUNNING' | 'COMPLETE' | 'FAILED';
8838
+ export type EnrichExecutePolicyEnrichPolicyPhase = 'SCHEDULED' | 'RUNNING' | 'COMPLETE' | 'FAILED' | 'CANCELLED';
8738
8839
  export interface EnrichExecutePolicyExecuteEnrichPolicyStatus {
8739
8840
  phase: EnrichExecutePolicyEnrichPolicyPhase;
8841
+ step?: string;
8740
8842
  }
8741
8843
  export interface EnrichExecutePolicyRequest extends RequestBase {
8742
8844
  name: Name;
8845
+ master_timeout?: Duration;
8743
8846
  wait_for_completion?: boolean;
8744
8847
  }
8745
8848
  export interface EnrichExecutePolicyResponse {
8746
8849
  status?: EnrichExecutePolicyExecuteEnrichPolicyStatus;
8747
- task_id?: TaskId;
8850
+ task?: TaskId;
8748
8851
  }
8749
8852
  export interface EnrichGetPolicyRequest extends RequestBase {
8750
8853
  name?: Names;
8854
+ master_timeout?: Duration;
8751
8855
  }
8752
8856
  export interface EnrichGetPolicyResponse {
8753
8857
  policies: EnrichSummary[];
8754
8858
  }
8755
8859
  export interface EnrichPutPolicyRequest extends RequestBase {
8756
8860
  name: Name;
8861
+ master_timeout?: Duration;
8757
8862
  geo_match?: EnrichPolicy;
8758
8863
  match?: EnrichPolicy;
8759
8864
  range?: EnrichPolicy;
@@ -8781,6 +8886,7 @@ export interface EnrichStatsExecutingPolicy {
8781
8886
  task: TasksTaskInfo;
8782
8887
  }
8783
8888
  export interface EnrichStatsRequest extends RequestBase {
8889
+ master_timeout?: Duration;
8784
8890
  }
8785
8891
  export interface EnrichStatsResponse {
8786
8892
  coordinator_stats: EnrichStatsCoordinatorStats[];
@@ -8799,6 +8905,7 @@ export interface EqlEqlSearchResponseBase<TEvent = unknown> {
8799
8905
  took?: DurationValue<UnitMillis>;
8800
8906
  timed_out?: boolean;
8801
8907
  hits: EqlEqlHits<TEvent>;
8908
+ shard_failures?: ShardFailure[];
8802
8909
  }
8803
8910
  export interface EqlHitsEvent<TEvent = unknown> {
8804
8911
  _index: IndexName;
@@ -8847,10 +8954,13 @@ export interface EqlSearchRequest extends RequestBase {
8847
8954
  keep_alive?: Duration;
8848
8955
  keep_on_completion?: boolean;
8849
8956
  wait_for_completion_timeout?: Duration;
8957
+ allow_partial_search_results?: boolean;
8958
+ allow_partial_sequence_results?: boolean;
8850
8959
  size?: uint;
8851
8960
  fields?: QueryDslFieldAndFormat | Field | (QueryDslFieldAndFormat | Field)[];
8852
8961
  result_position?: EqlSearchResultPosition;
8853
8962
  runtime_mappings?: MappingRuntimeFields;
8963
+ max_samples_per_key?: integer;
8854
8964
  }
8855
8965
  export type EqlSearchResponse<TEvent = unknown> = EqlEqlSearchResponseBase<TEvent>;
8856
8966
  export type EqlSearchResultPosition = 'tail' | 'head';
@@ -8870,7 +8980,6 @@ export interface EsqlAsyncQueryRequest extends RequestBase {
8870
8980
  format?: EsqlQueryEsqlFormat;
8871
8981
  keep_alive?: Duration;
8872
8982
  keep_on_completion?: boolean;
8873
- wait_for_completion_timeout?: Duration;
8874
8983
  columnar?: boolean;
8875
8984
  filter?: QueryDslQueryContainer;
8876
8985
  locale?: string;
@@ -8879,6 +8988,7 @@ export interface EsqlAsyncQueryRequest extends RequestBase {
8879
8988
  query: string;
8880
8989
  tables?: Record<string, Record<string, EsqlTableValuesContainer>>;
8881
8990
  include_ccs_metadata?: boolean;
8991
+ wait_for_completion_timeout?: Duration;
8882
8992
  }
8883
8993
  export type EsqlAsyncQueryResponse = EsqlResult;
8884
8994
  export interface EsqlAsyncQueryDeleteRequest extends RequestBase {
@@ -8892,6 +9002,11 @@ export interface EsqlAsyncQueryGetRequest extends RequestBase {
8892
9002
  wait_for_completion_timeout?: Duration;
8893
9003
  }
8894
9004
  export type EsqlAsyncQueryGetResponse = EsqlResult;
9005
+ export interface EsqlAsyncQueryStopRequest extends RequestBase {
9006
+ id: Id;
9007
+ drop_null_columns?: boolean;
9008
+ }
9009
+ export type EsqlAsyncQueryStopResponse = EsqlResult;
8895
9010
  export type EsqlQueryEsqlFormat = 'csv' | 'json' | 'tsv' | 'txt' | 'yaml' | 'cbor' | 'smile' | 'arrow';
8896
9011
  export interface EsqlQueryRequest extends RequestBase {
8897
9012
  format?: EsqlQueryEsqlFormat;
@@ -8912,11 +9027,13 @@ export interface FeaturesFeature {
8912
9027
  description: string;
8913
9028
  }
8914
9029
  export interface FeaturesGetFeaturesRequest extends RequestBase {
9030
+ master_timeout?: Duration;
8915
9031
  }
8916
9032
  export interface FeaturesGetFeaturesResponse {
8917
9033
  features: FeaturesFeature[];
8918
9034
  }
8919
9035
  export interface FeaturesResetFeaturesRequest extends RequestBase {
9036
+ master_timeout?: Duration;
8920
9037
  }
8921
9038
  export interface FeaturesResetFeaturesResponse {
8922
9039
  features: FeaturesFeature[];
@@ -8994,7 +9111,7 @@ export interface FleetSearchRequest extends RequestBase {
8994
9111
  from?: integer;
8995
9112
  highlight?: SearchHighlight;
8996
9113
  track_total_hits?: SearchTrackHits;
8997
- indices_boost?: Record<IndexName, double>[];
9114
+ indices_boost?: Partial<Record<IndexName, double>>[];
8998
9115
  docvalue_fields?: (QueryDslFieldAndFormat | Field)[];
8999
9116
  min_score?: double;
9000
9117
  post_filter?: QueryDslQueryContainer;
@@ -9219,7 +9336,6 @@ export interface IlmExplainLifecycleRequest extends RequestBase {
9219
9336
  only_errors?: boolean;
9220
9337
  only_managed?: boolean;
9221
9338
  master_timeout?: Duration;
9222
- timeout?: Duration;
9223
9339
  }
9224
9340
  export interface IlmExplainLifecycleResponse {
9225
9341
  indices: Record<IndexName, IlmExplainLifecycleLifecycleExplain>;
@@ -9341,6 +9457,7 @@ export interface IndicesDataStreamIndex {
9341
9457
  export interface IndicesDataStreamLifecycle {
9342
9458
  data_retention?: Duration;
9343
9459
  downsampling?: IndicesDataStreamLifecycleDownsampling;
9460
+ enabled?: boolean;
9344
9461
  }
9345
9462
  export interface IndicesDataStreamLifecycleDownsampling {
9346
9463
  rounds: IndicesDownsamplingRound[];
@@ -9357,9 +9474,7 @@ export interface IndicesDataStreamLifecycleRolloverConditions {
9357
9474
  min_primary_shard_docs?: long;
9358
9475
  max_primary_shard_docs?: long;
9359
9476
  }
9360
- export interface IndicesDataStreamLifecycleWithRollover {
9361
- data_retention?: Duration;
9362
- downsampling?: IndicesDataStreamLifecycleDownsampling;
9477
+ export interface IndicesDataStreamLifecycleWithRollover extends IndicesDataStreamLifecycle {
9363
9478
  rollover?: IndicesDataStreamLifecycleRolloverConditions;
9364
9479
  }
9365
9480
  export interface IndicesDataStreamTimestampField {
@@ -9439,7 +9554,7 @@ export interface IndicesIndexSettingsKeys {
9439
9554
  routing_partition_size?: SpecUtilsStringified<integer>;
9440
9555
  load_fixed_bitset_filters_eagerly?: boolean;
9441
9556
  hidden?: boolean | string;
9442
- auto_expand_replicas?: string;
9557
+ auto_expand_replicas?: SpecUtilsWithNullValue<string>;
9443
9558
  merge?: IndicesMerge;
9444
9559
  search?: IndicesSettingsSearch;
9445
9560
  refresh_interval?: Duration;
@@ -9687,7 +9802,7 @@ export interface IndicesSoftDeletes {
9687
9802
  enabled?: boolean;
9688
9803
  retention_lease?: IndicesRetentionLease;
9689
9804
  }
9690
- export type IndicesSourceMode = 'DISABLED' | 'STORED' | 'SYNTHETIC';
9805
+ export type IndicesSourceMode = 'disabled' | 'stored' | 'synthetic';
9691
9806
  export interface IndicesStorage {
9692
9807
  type: IndicesStorageType;
9693
9808
  allow_mmap?: boolean;
@@ -9789,6 +9904,10 @@ export interface IndicesAnalyzeTokenDetail {
9789
9904
  name: string;
9790
9905
  tokens: IndicesAnalyzeExplainAnalyzeToken[];
9791
9906
  }
9907
+ export interface IndicesCancelMigrateReindexRequest extends RequestBase {
9908
+ index: Indices;
9909
+ }
9910
+ export type IndicesCancelMigrateReindexResponse = AcknowledgedResponseBase;
9792
9911
  export interface IndicesClearCacheRequest extends RequestBase {
9793
9912
  index?: Indices;
9794
9913
  allow_no_indices?: boolean;
@@ -9855,6 +9974,21 @@ export interface IndicesCreateDataStreamRequest extends RequestBase {
9855
9974
  timeout?: Duration;
9856
9975
  }
9857
9976
  export type IndicesCreateDataStreamResponse = AcknowledgedResponseBase;
9977
+ export interface IndicesCreateFromCreateFrom {
9978
+ mappings_override?: MappingTypeMapping;
9979
+ settings_override?: IndicesIndexSettings;
9980
+ remove_index_blocks?: boolean;
9981
+ }
9982
+ export interface IndicesCreateFromRequest extends RequestBase {
9983
+ source: IndexName;
9984
+ dest: IndexName;
9985
+ create_from?: IndicesCreateFromCreateFrom;
9986
+ }
9987
+ export interface IndicesCreateFromResponse {
9988
+ acknowledged: boolean;
9989
+ index: IndexName;
9990
+ shards_acknowledged: boolean;
9991
+ }
9858
9992
  export interface IndicesDataStreamsStatsDataStreamsStatsItem {
9859
9993
  backing_indices: integer;
9860
9994
  data_stream: Name;
@@ -9951,6 +10085,8 @@ export interface IndicesExistsAliasRequest extends RequestBase {
9951
10085
  export type IndicesExistsAliasResponse = boolean;
9952
10086
  export interface IndicesExistsIndexTemplateRequest extends RequestBase {
9953
10087
  name: Name;
10088
+ local?: boolean;
10089
+ flat_settings?: boolean;
9954
10090
  master_timeout?: Duration;
9955
10091
  }
9956
10092
  export type IndicesExistsIndexTemplateResponse = boolean;
@@ -10011,9 +10147,6 @@ export interface IndicesFieldUsageStatsRequest extends RequestBase {
10011
10147
  expand_wildcards?: ExpandWildcards;
10012
10148
  ignore_unavailable?: boolean;
10013
10149
  fields?: Fields;
10014
- master_timeout?: Duration;
10015
- timeout?: Duration;
10016
- wait_for_active_shards?: WaitForActiveShards;
10017
10150
  }
10018
10151
  export type IndicesFieldUsageStatsResponse = IndicesFieldUsageStatsFieldsUsageBody;
10019
10152
  export interface IndicesFieldUsageStatsShardsStats {
@@ -10080,7 +10213,7 @@ export interface IndicesGetAliasRequest extends RequestBase {
10080
10213
  export type IndicesGetAliasResponse = Record<IndexName, IndicesGetAliasIndexAliases>;
10081
10214
  export interface IndicesGetDataLifecycleDataStreamWithLifecycle {
10082
10215
  name: DataStreamName;
10083
- lifecycle?: IndicesDataStreamLifecycle;
10216
+ lifecycle?: IndicesDataStreamLifecycleWithRollover;
10084
10217
  }
10085
10218
  export interface IndicesGetDataLifecycleRequest extends RequestBase {
10086
10219
  name: DataStreamNames;
@@ -10154,6 +10287,30 @@ export interface IndicesGetMappingRequest extends RequestBase {
10154
10287
  master_timeout?: Duration;
10155
10288
  }
10156
10289
  export type IndicesGetMappingResponse = Record<IndexName, IndicesGetMappingIndexMappingRecord>;
10290
+ export interface IndicesGetMigrateReindexStatusRequest extends RequestBase {
10291
+ index: Indices;
10292
+ }
10293
+ export interface IndicesGetMigrateReindexStatusResponse {
10294
+ start_time?: DateTime;
10295
+ start_time_millis: EpochTime<UnitMillis>;
10296
+ complete: boolean;
10297
+ total_indices_in_data_stream: integer;
10298
+ total_indices_requiring_upgrade: integer;
10299
+ successes: integer;
10300
+ in_progress: IndicesGetMigrateReindexStatusStatusInProgress[];
10301
+ pending: integer;
10302
+ errors: IndicesGetMigrateReindexStatusStatusError[];
10303
+ exception?: string;
10304
+ }
10305
+ export interface IndicesGetMigrateReindexStatusStatusError {
10306
+ index: string;
10307
+ message: string;
10308
+ }
10309
+ export interface IndicesGetMigrateReindexStatusStatusInProgress {
10310
+ index: string;
10311
+ total_doc_count: long;
10312
+ reindexed_doc_count: long;
10313
+ }
10157
10314
  export interface IndicesGetSettingsRequest extends RequestBase {
10158
10315
  index?: Indices;
10159
10316
  name?: Names;
@@ -10173,6 +10330,18 @@ export interface IndicesGetTemplateRequest extends RequestBase {
10173
10330
  master_timeout?: Duration;
10174
10331
  }
10175
10332
  export type IndicesGetTemplateResponse = Record<string, IndicesTemplateMapping>;
10333
+ export interface IndicesMigrateReindexMigrateReindex {
10334
+ mode: IndicesMigrateReindexModeEnum;
10335
+ source: IndicesMigrateReindexSourceIndex;
10336
+ }
10337
+ export type IndicesMigrateReindexModeEnum = 'upgrade';
10338
+ export interface IndicesMigrateReindexRequest extends RequestBase {
10339
+ reindex?: IndicesMigrateReindexMigrateReindex;
10340
+ }
10341
+ export type IndicesMigrateReindexResponse = AcknowledgedResponseBase;
10342
+ export interface IndicesMigrateReindexSourceIndex {
10343
+ index: IndexName;
10344
+ }
10176
10345
  export interface IndicesMigrateToDataStreamRequest extends RequestBase {
10177
10346
  name: IndexName;
10178
10347
  master_timeout?: Duration;
@@ -10228,6 +10397,7 @@ export interface IndicesPutDataLifecycleRequest extends RequestBase {
10228
10397
  timeout?: Duration;
10229
10398
  data_retention?: Duration;
10230
10399
  downsampling?: IndicesDataStreamLifecycleDownsampling;
10400
+ enabled?: boolean;
10231
10401
  }
10232
10402
  export type IndicesPutDataLifecycleResponse = AcknowledgedResponseBase;
10233
10403
  export interface IndicesPutIndexTemplateIndexTemplateMapping {
@@ -10264,7 +10434,7 @@ export interface IndicesPutMappingRequest extends RequestBase {
10264
10434
  date_detection?: boolean;
10265
10435
  dynamic?: MappingDynamicMapping;
10266
10436
  dynamic_date_formats?: string[];
10267
- dynamic_templates?: Record<string, MappingDynamicTemplate> | Record<string, MappingDynamicTemplate>[];
10437
+ dynamic_templates?: Partial<Record<string, MappingDynamicTemplate>>[];
10268
10438
  _field_names?: MappingFieldNamesField;
10269
10439
  _meta?: Metadata;
10270
10440
  numeric_detection?: boolean;
@@ -10282,6 +10452,7 @@ export interface IndicesPutSettingsRequest extends RequestBase {
10282
10452
  ignore_unavailable?: boolean;
10283
10453
  master_timeout?: Duration;
10284
10454
  preserve_existing?: boolean;
10455
+ reopen?: boolean;
10285
10456
  timeout?: Duration;
10286
10457
  settings?: IndicesIndexSettings;
10287
10458
  }
@@ -10415,14 +10586,16 @@ export interface IndicesReloadSearchAnalyzersRequest extends RequestBase {
10415
10586
  allow_no_indices?: boolean;
10416
10587
  expand_wildcards?: ExpandWildcards;
10417
10588
  ignore_unavailable?: boolean;
10589
+ resource?: string;
10418
10590
  }
10419
10591
  export type IndicesReloadSearchAnalyzersResponse = IndicesReloadSearchAnalyzersReloadResult;
10420
10592
  export interface IndicesResolveClusterRequest extends RequestBase {
10421
- name: Names;
10593
+ name?: Names;
10422
10594
  allow_no_indices?: boolean;
10423
10595
  expand_wildcards?: ExpandWildcards;
10424
10596
  ignore_throttled?: boolean;
10425
10597
  ignore_unavailable?: boolean;
10598
+ timeout?: Duration;
10426
10599
  }
10427
10600
  export interface IndicesResolveClusterResolveClusterInfo {
10428
10601
  connected: boolean;
@@ -10465,6 +10638,7 @@ export interface IndicesRolloverRequest extends RequestBase {
10465
10638
  master_timeout?: Duration;
10466
10639
  timeout?: Duration;
10467
10640
  wait_for_active_shards?: WaitForActiveShards;
10641
+ lazy?: boolean;
10468
10642
  aliases?: Record<IndexName, IndicesAlias>;
10469
10643
  conditions?: IndicesRolloverRolloverConditions;
10470
10644
  mappings?: MappingTypeMapping;
@@ -10586,6 +10760,8 @@ export interface IndicesShrinkResponse {
10586
10760
  }
10587
10761
  export interface IndicesSimulateIndexTemplateRequest extends RequestBase {
10588
10762
  name: Name;
10763
+ create?: boolean;
10764
+ cause?: string;
10589
10765
  master_timeout?: Duration;
10590
10766
  include_defaults?: boolean;
10591
10767
  }
@@ -10600,6 +10776,7 @@ export interface IndicesSimulateTemplateOverlapping {
10600
10776
  export interface IndicesSimulateTemplateRequest extends RequestBase {
10601
10777
  name?: Name;
10602
10778
  create?: boolean;
10779
+ cause?: string;
10603
10780
  master_timeout?: Duration;
10604
10781
  include_defaults?: boolean;
10605
10782
  allow_auto_create?: boolean;
@@ -10848,15 +11025,181 @@ export interface IndicesValidateQueryResponse {
10848
11025
  valid: boolean;
10849
11026
  error?: string;
10850
11027
  }
11028
+ export interface InferenceAdaptiveAllocations {
11029
+ enabled?: boolean;
11030
+ max_number_of_allocations?: integer;
11031
+ min_number_of_allocations?: integer;
11032
+ }
11033
+ export interface InferenceAlibabaCloudServiceSettings {
11034
+ api_key: string;
11035
+ host: string;
11036
+ rate_limit?: InferenceRateLimitSetting;
11037
+ service_id: string;
11038
+ workspace: string;
11039
+ }
11040
+ export type InferenceAlibabaCloudServiceType = 'alibabacloud-ai-search';
11041
+ export interface InferenceAlibabaCloudTaskSettings {
11042
+ input_type?: string;
11043
+ return_token?: boolean;
11044
+ }
11045
+ export type InferenceAlibabaCloudTaskType = 'completion' | 'rerank' | 'space_embedding' | 'text_embedding';
11046
+ export interface InferenceAmazonBedrockServiceSettings {
11047
+ access_key: string;
11048
+ model: string;
11049
+ provider?: string;
11050
+ region: string;
11051
+ rate_limit?: InferenceRateLimitSetting;
11052
+ secret_key: string;
11053
+ }
11054
+ export type InferenceAmazonBedrockServiceType = 'amazonbedrock';
11055
+ export interface InferenceAmazonBedrockTaskSettings {
11056
+ max_new_tokens?: integer;
11057
+ temperature?: float;
11058
+ top_k?: float;
11059
+ top_p?: float;
11060
+ }
11061
+ export type InferenceAmazonBedrockTaskType = 'completion' | 'text_embedding';
11062
+ export interface InferenceAnthropicServiceSettings {
11063
+ api_key: string;
11064
+ model_id: string;
11065
+ rate_limit?: InferenceRateLimitSetting;
11066
+ }
11067
+ export type InferenceAnthropicServiceType = 'anthropic';
11068
+ export interface InferenceAnthropicTaskSettings {
11069
+ max_tokens: integer;
11070
+ temperature?: float;
11071
+ top_k?: integer;
11072
+ top_p?: float;
11073
+ }
11074
+ export type InferenceAnthropicTaskType = 'completion';
11075
+ export interface InferenceAzureAiStudioServiceSettings {
11076
+ api_key: string;
11077
+ endpoint_type: string;
11078
+ target: string;
11079
+ provider: string;
11080
+ rate_limit?: InferenceRateLimitSetting;
11081
+ }
11082
+ export type InferenceAzureAiStudioServiceType = 'azureaistudio';
11083
+ export interface InferenceAzureAiStudioTaskSettings {
11084
+ do_sample?: float;
11085
+ max_new_tokens?: integer;
11086
+ temperature?: float;
11087
+ top_p?: float;
11088
+ user?: string;
11089
+ }
11090
+ export type InferenceAzureAiStudioTaskType = 'completion' | 'text_embedding';
11091
+ export interface InferenceAzureOpenAIServiceSettings {
11092
+ api_key?: string;
11093
+ api_version: string;
11094
+ deployment_id: string;
11095
+ entra_id?: string;
11096
+ rate_limit?: InferenceRateLimitSetting;
11097
+ resource_name: string;
11098
+ }
11099
+ export type InferenceAzureOpenAIServiceType = 'azureopenai';
11100
+ export interface InferenceAzureOpenAITaskSettings {
11101
+ user?: string;
11102
+ }
11103
+ export type InferenceAzureOpenAITaskType = 'completion' | 'text_embedding';
11104
+ export type InferenceCohereEmbeddingType = 'byte' | 'float' | 'int8';
11105
+ export type InferenceCohereInputType = 'classification' | 'clustering' | 'ingest' | 'search';
11106
+ export interface InferenceCohereServiceSettings {
11107
+ api_key: string;
11108
+ embedding_type?: InferenceCohereEmbeddingType;
11109
+ model_id?: string;
11110
+ rate_limit?: InferenceRateLimitSetting;
11111
+ similarity?: InferenceCohereSimilarityType;
11112
+ }
11113
+ export type InferenceCohereServiceType = 'cohere';
11114
+ export type InferenceCohereSimilarityType = 'cosine' | 'dot_product' | 'l2_norm';
11115
+ export interface InferenceCohereTaskSettings {
11116
+ input_type?: InferenceCohereInputType;
11117
+ return_documents?: boolean;
11118
+ top_n?: integer;
11119
+ truncate?: InferenceCohereTruncateType;
11120
+ }
11121
+ export type InferenceCohereTaskType = 'completion' | 'rerank' | 'text_embedding';
11122
+ export type InferenceCohereTruncateType = 'END' | 'NONE' | 'START';
11123
+ export interface InferenceCompletionInferenceResult {
11124
+ completion: InferenceCompletionResult[];
11125
+ }
10851
11126
  export interface InferenceCompletionResult {
10852
11127
  result: string;
10853
11128
  }
11129
+ export interface InferenceCompletionTool {
11130
+ type: string;
11131
+ function: InferenceCompletionToolFunction;
11132
+ }
11133
+ export interface InferenceCompletionToolChoice {
11134
+ type: string;
11135
+ function: InferenceCompletionToolChoiceFunction;
11136
+ }
11137
+ export interface InferenceCompletionToolChoiceFunction {
11138
+ name: string;
11139
+ }
11140
+ export interface InferenceCompletionToolFunction {
11141
+ description?: string;
11142
+ name: string;
11143
+ parameters?: any;
11144
+ strict?: boolean;
11145
+ }
11146
+ export type InferenceCompletionToolType = string | InferenceCompletionToolChoice;
11147
+ export interface InferenceContentObject {
11148
+ text: string;
11149
+ type: string;
11150
+ }
10854
11151
  export interface InferenceDeleteInferenceEndpointResult extends AcknowledgedResponseBase {
10855
11152
  pipelines: string[];
10856
11153
  }
10857
11154
  export type InferenceDenseByteVector = byte[];
10858
11155
  export type InferenceDenseVector = float[];
10859
- export interface InferenceInferenceChunkingSettings extends InferenceInferenceEndpoint {
11156
+ export interface InferenceElasticsearchServiceSettings {
11157
+ adaptive_allocations?: InferenceAdaptiveAllocations;
11158
+ deployment_id?: string;
11159
+ model_id: string;
11160
+ num_allocations?: integer;
11161
+ num_threads: integer;
11162
+ }
11163
+ export type InferenceElasticsearchServiceType = 'elasticsearch';
11164
+ export interface InferenceElasticsearchTaskSettings {
11165
+ return_documents?: boolean;
11166
+ }
11167
+ export type InferenceElasticsearchTaskType = 'rerank' | 'sparse_embedding' | 'text_embedding';
11168
+ export interface InferenceElserServiceSettings {
11169
+ adaptive_allocations?: InferenceAdaptiveAllocations;
11170
+ num_allocations: integer;
11171
+ num_threads: integer;
11172
+ }
11173
+ export type InferenceElserServiceType = 'elser';
11174
+ export type InferenceElserTaskType = 'sparse_embedding';
11175
+ export type InferenceGoogleAiServiceType = 'googleaistudio';
11176
+ export interface InferenceGoogleAiStudioServiceSettings {
11177
+ api_key: string;
11178
+ model_id: string;
11179
+ rate_limit?: InferenceRateLimitSetting;
11180
+ }
11181
+ export type InferenceGoogleAiStudioTaskType = 'completion' | 'text_embedding';
11182
+ export interface InferenceGoogleVertexAIServiceSettings {
11183
+ location: string;
11184
+ model_id: string;
11185
+ project_id: string;
11186
+ rate_limit?: InferenceRateLimitSetting;
11187
+ service_account_json: string;
11188
+ }
11189
+ export type InferenceGoogleVertexAIServiceType = 'googlevertexai';
11190
+ export interface InferenceGoogleVertexAITaskSettings {
11191
+ auto_truncate?: boolean;
11192
+ top_n?: integer;
11193
+ }
11194
+ export type InferenceGoogleVertexAITaskType = 'rerank' | 'text_embedding';
11195
+ export interface InferenceHuggingFaceServiceSettings {
11196
+ api_key: string;
11197
+ rate_limit?: InferenceRateLimitSetting;
11198
+ url: string;
11199
+ }
11200
+ export type InferenceHuggingFaceServiceType = 'hugging_face';
11201
+ export type InferenceHuggingFaceTaskType = 'text_embedding';
11202
+ export interface InferenceInferenceChunkingSettings {
10860
11203
  max_chunk_size?: integer;
10861
11204
  overlap?: integer;
10862
11205
  sentence_overlap?: integer;
@@ -10874,29 +11217,142 @@ export interface InferenceInferenceEndpointInfo extends InferenceInferenceEndpoi
10874
11217
  }
10875
11218
  export interface InferenceInferenceResult {
10876
11219
  text_embedding_bytes?: InferenceTextEmbeddingByteResult[];
11220
+ text_embedding_bits?: InferenceTextEmbeddingByteResult[];
10877
11221
  text_embedding?: InferenceTextEmbeddingResult[];
10878
11222
  sparse_embedding?: InferenceSparseEmbeddingResult[];
10879
11223
  completion?: InferenceCompletionResult[];
10880
11224
  rerank?: InferenceRankedDocument[];
10881
11225
  }
11226
+ export interface InferenceJinaAIServiceSettings {
11227
+ api_key: string;
11228
+ model_id?: string;
11229
+ rate_limit?: InferenceRateLimitSetting;
11230
+ similarity?: InferenceJinaAISimilarityType;
11231
+ }
11232
+ export type InferenceJinaAIServiceType = 'jinaai';
11233
+ export type InferenceJinaAISimilarityType = 'cosine' | 'dot_product' | 'l2_norm';
11234
+ export interface InferenceJinaAITaskSettings {
11235
+ return_documents?: boolean;
11236
+ task?: InferenceJinaAITextEmbeddingTask;
11237
+ top_n?: integer;
11238
+ }
11239
+ export type InferenceJinaAITaskType = 'rerank' | 'text_embedding';
11240
+ export type InferenceJinaAITextEmbeddingTask = 'classification' | 'clustering' | 'ingest' | 'search';
11241
+ export interface InferenceMessage {
11242
+ content?: InferenceMessageContent;
11243
+ role: string;
11244
+ tool_call_id?: Id;
11245
+ tool_calls?: InferenceToolCall[];
11246
+ }
11247
+ export type InferenceMessageContent = string | InferenceContentObject[];
11248
+ export interface InferenceMistralServiceSettings {
11249
+ api_key: string;
11250
+ max_input_tokens?: integer;
11251
+ model: string;
11252
+ rate_limit?: InferenceRateLimitSetting;
11253
+ }
11254
+ export type InferenceMistralServiceType = 'mistral';
11255
+ export type InferenceMistralTaskType = 'text_embedding';
11256
+ export interface InferenceOpenAIServiceSettings {
11257
+ api_key: string;
11258
+ dimensions?: integer;
11259
+ model_id: string;
11260
+ organization_id?: string;
11261
+ rate_limit?: InferenceRateLimitSetting;
11262
+ url?: string;
11263
+ }
11264
+ export type InferenceOpenAIServiceType = 'openai';
11265
+ export interface InferenceOpenAITaskSettings {
11266
+ user?: string;
11267
+ }
11268
+ export type InferenceOpenAITaskType = 'chat_completion' | 'completion' | 'text_embedding';
10882
11269
  export interface InferenceRankedDocument {
10883
11270
  index: integer;
10884
11271
  relevance_score: float;
10885
11272
  text?: string;
10886
11273
  }
11274
+ export interface InferenceRateLimitSetting {
11275
+ requests_per_minute?: integer;
11276
+ }
11277
+ export interface InferenceRequestChatCompletion {
11278
+ messages: InferenceMessage[];
11279
+ model?: string;
11280
+ max_completion_tokens?: long;
11281
+ stop?: string[];
11282
+ temperature?: float;
11283
+ tool_choice?: InferenceCompletionToolType;
11284
+ tools?: InferenceCompletionTool[];
11285
+ top_p?: float;
11286
+ }
11287
+ export interface InferenceRerankedInferenceResult {
11288
+ rerank: InferenceRankedDocument[];
11289
+ }
10887
11290
  export type InferenceServiceSettings = any;
11291
+ export interface InferenceSparseEmbeddingInferenceResult {
11292
+ sparse_embedding: InferenceSparseEmbeddingResult[];
11293
+ }
10888
11294
  export interface InferenceSparseEmbeddingResult {
10889
11295
  embedding: InferenceSparseVector;
10890
11296
  }
10891
11297
  export type InferenceSparseVector = Record<string, float>;
10892
11298
  export type InferenceTaskSettings = any;
10893
- export type InferenceTaskType = 'sparse_embedding' | 'text_embedding' | 'rerank' | 'completion';
11299
+ export type InferenceTaskType = 'sparse_embedding' | 'text_embedding' | 'rerank' | 'completion' | 'chat_completion';
10894
11300
  export interface InferenceTextEmbeddingByteResult {
10895
11301
  embedding: InferenceDenseByteVector;
10896
11302
  }
11303
+ export interface InferenceTextEmbeddingInferenceResult {
11304
+ text_embedding_bytes?: InferenceTextEmbeddingByteResult[];
11305
+ text_embedding?: InferenceTextEmbeddingResult[];
11306
+ }
10897
11307
  export interface InferenceTextEmbeddingResult {
10898
11308
  embedding: InferenceDenseVector;
10899
11309
  }
11310
+ export interface InferenceToolCall {
11311
+ id: Id;
11312
+ function: InferenceToolCallFunction;
11313
+ type: string;
11314
+ }
11315
+ export interface InferenceToolCallFunction {
11316
+ arguments: string;
11317
+ name: string;
11318
+ }
11319
+ export interface InferenceVoyageAIServiceSettings {
11320
+ dimensions?: integer;
11321
+ model_id: string;
11322
+ rate_limit?: InferenceRateLimitSetting;
11323
+ embedding_type?: float;
11324
+ }
11325
+ export type InferenceVoyageAIServiceType = 'voyageai';
11326
+ export interface InferenceVoyageAITaskSettings {
11327
+ input_type?: string;
11328
+ return_documents?: boolean;
11329
+ top_k?: integer;
11330
+ truncation?: boolean;
11331
+ }
11332
+ export type InferenceVoyageAITaskType = 'text_embedding' | 'rerank';
11333
+ export interface InferenceWatsonxServiceSettings {
11334
+ api_key: string;
11335
+ api_version: string;
11336
+ model_id: string;
11337
+ project_id: string;
11338
+ rate_limit?: InferenceRateLimitSetting;
11339
+ url: string;
11340
+ }
11341
+ export type InferenceWatsonxServiceType = 'watsonxai';
11342
+ export type InferenceWatsonxTaskType = 'text_embedding';
11343
+ export interface InferenceChatCompletionUnifiedRequest extends RequestBase {
11344
+ inference_id: Id;
11345
+ timeout?: Duration;
11346
+ chat_completion_request?: InferenceRequestChatCompletion;
11347
+ }
11348
+ export type InferenceChatCompletionUnifiedResponse = StreamResult;
11349
+ export interface InferenceCompletionRequest extends RequestBase {
11350
+ inference_id: Id;
11351
+ timeout?: Duration;
11352
+ input: string | string[];
11353
+ task_settings?: InferenceTaskSettings;
11354
+ }
11355
+ export type InferenceCompletionResponse = InferenceCompletionInferenceResult;
10900
11356
  export interface InferenceDeleteRequest extends RequestBase {
10901
11357
  task_type?: InferenceTaskType;
10902
11358
  inference_id: Id;
@@ -10926,12 +11382,172 @@ export interface InferencePutRequest extends RequestBase {
10926
11382
  inference_config?: InferenceInferenceEndpoint;
10927
11383
  }
10928
11384
  export type InferencePutResponse = InferenceInferenceEndpointInfo;
10929
- export interface InferenceStreamInferenceRequest extends RequestBase {
11385
+ export interface InferencePutAlibabacloudRequest extends RequestBase {
11386
+ task_type: InferenceAlibabaCloudTaskType;
11387
+ alibabacloud_inference_id: Id;
11388
+ chunking_settings?: InferenceInferenceChunkingSettings;
11389
+ service: InferenceAlibabaCloudServiceType;
11390
+ service_settings: InferenceAlibabaCloudServiceSettings;
11391
+ task_settings?: InferenceAlibabaCloudTaskSettings;
11392
+ }
11393
+ export type InferencePutAlibabacloudResponse = InferenceInferenceEndpointInfo;
11394
+ export interface InferencePutAmazonbedrockRequest extends RequestBase {
11395
+ task_type: InferenceAmazonBedrockTaskType;
11396
+ amazonbedrock_inference_id: Id;
11397
+ chunking_settings?: InferenceInferenceChunkingSettings;
11398
+ service: InferenceAmazonBedrockServiceType;
11399
+ service_settings: InferenceAmazonBedrockServiceSettings;
11400
+ task_settings?: InferenceAmazonBedrockTaskSettings;
11401
+ }
11402
+ export type InferencePutAmazonbedrockResponse = InferenceInferenceEndpointInfo;
11403
+ export interface InferencePutAnthropicRequest extends RequestBase {
11404
+ task_type: InferenceAnthropicTaskType;
11405
+ anthropic_inference_id: Id;
11406
+ chunking_settings?: InferenceInferenceChunkingSettings;
11407
+ service: InferenceAnthropicServiceType;
11408
+ service_settings: InferenceAnthropicServiceSettings;
11409
+ task_settings?: InferenceAnthropicTaskSettings;
11410
+ }
11411
+ export type InferencePutAnthropicResponse = InferenceInferenceEndpointInfo;
11412
+ export interface InferencePutAzureaistudioRequest extends RequestBase {
11413
+ task_type: InferenceAzureAiStudioTaskType;
11414
+ azureaistudio_inference_id: Id;
11415
+ chunking_settings?: InferenceInferenceChunkingSettings;
11416
+ service: InferenceAzureAiStudioServiceType;
11417
+ service_settings: InferenceAzureAiStudioServiceSettings;
11418
+ task_settings?: InferenceAzureAiStudioTaskSettings;
11419
+ }
11420
+ export type InferencePutAzureaistudioResponse = InferenceInferenceEndpointInfo;
11421
+ export interface InferencePutAzureopenaiRequest extends RequestBase {
11422
+ task_type: InferenceAzureOpenAITaskType;
11423
+ azureopenai_inference_id: Id;
11424
+ chunking_settings?: InferenceInferenceChunkingSettings;
11425
+ service: InferenceAzureOpenAIServiceType;
11426
+ service_settings: InferenceAzureOpenAIServiceSettings;
11427
+ task_settings?: InferenceAzureOpenAITaskSettings;
11428
+ }
11429
+ export type InferencePutAzureopenaiResponse = InferenceInferenceEndpointInfo;
11430
+ export interface InferencePutCohereRequest extends RequestBase {
11431
+ task_type: InferenceCohereTaskType;
11432
+ cohere_inference_id: Id;
11433
+ chunking_settings?: InferenceInferenceChunkingSettings;
11434
+ service: InferenceCohereServiceType;
11435
+ service_settings: InferenceCohereServiceSettings;
11436
+ task_settings?: InferenceCohereTaskSettings;
11437
+ }
11438
+ export type InferencePutCohereResponse = InferenceInferenceEndpointInfo;
11439
+ export interface InferencePutElasticsearchRequest extends RequestBase {
11440
+ task_type: InferenceElasticsearchTaskType;
11441
+ elasticsearch_inference_id: Id;
11442
+ chunking_settings?: InferenceInferenceChunkingSettings;
11443
+ service: InferenceElasticsearchServiceType;
11444
+ service_settings: InferenceElasticsearchServiceSettings;
11445
+ task_settings?: InferenceElasticsearchTaskSettings;
11446
+ }
11447
+ export type InferencePutElasticsearchResponse = InferenceInferenceEndpointInfo;
11448
+ export interface InferencePutElserRequest extends RequestBase {
11449
+ task_type: InferenceElserTaskType;
11450
+ elser_inference_id: Id;
11451
+ chunking_settings?: InferenceInferenceChunkingSettings;
11452
+ service: InferenceElserServiceType;
11453
+ service_settings: InferenceElserServiceSettings;
11454
+ }
11455
+ export type InferencePutElserResponse = InferenceInferenceEndpointInfo;
11456
+ export interface InferencePutGoogleaistudioRequest extends RequestBase {
11457
+ task_type: InferenceGoogleAiStudioTaskType;
11458
+ googleaistudio_inference_id: Id;
11459
+ chunking_settings?: InferenceInferenceChunkingSettings;
11460
+ service: InferenceGoogleAiServiceType;
11461
+ service_settings: InferenceGoogleAiStudioServiceSettings;
11462
+ }
11463
+ export type InferencePutGoogleaistudioResponse = InferenceInferenceEndpointInfo;
11464
+ export interface InferencePutGooglevertexaiRequest extends RequestBase {
11465
+ task_type: InferenceGoogleVertexAITaskType;
11466
+ googlevertexai_inference_id: Id;
11467
+ chunking_settings?: InferenceInferenceChunkingSettings;
11468
+ service: InferenceGoogleVertexAIServiceType;
11469
+ service_settings: InferenceGoogleVertexAIServiceSettings;
11470
+ task_settings?: InferenceGoogleVertexAITaskSettings;
11471
+ }
11472
+ export type InferencePutGooglevertexaiResponse = InferenceInferenceEndpointInfo;
11473
+ export interface InferencePutHuggingFaceRequest extends RequestBase {
11474
+ task_type: InferenceHuggingFaceTaskType;
11475
+ huggingface_inference_id: Id;
11476
+ chunking_settings?: InferenceInferenceChunkingSettings;
11477
+ service: InferenceHuggingFaceServiceType;
11478
+ service_settings: InferenceHuggingFaceServiceSettings;
11479
+ }
11480
+ export type InferencePutHuggingFaceResponse = InferenceInferenceEndpointInfo;
11481
+ export interface InferencePutJinaaiRequest extends RequestBase {
11482
+ task_type: InferenceJinaAITaskType;
11483
+ jinaai_inference_id: Id;
11484
+ chunking_settings?: InferenceInferenceChunkingSettings;
11485
+ service: InferenceJinaAIServiceType;
11486
+ service_settings: InferenceJinaAIServiceSettings;
11487
+ task_settings?: InferenceJinaAITaskSettings;
11488
+ }
11489
+ export type InferencePutJinaaiResponse = InferenceInferenceEndpointInfo;
11490
+ export interface InferencePutMistralRequest extends RequestBase {
11491
+ task_type: InferenceMistralTaskType;
11492
+ mistral_inference_id: Id;
11493
+ chunking_settings?: InferenceInferenceChunkingSettings;
11494
+ service: InferenceMistralServiceType;
11495
+ service_settings: InferenceMistralServiceSettings;
11496
+ }
11497
+ export type InferencePutMistralResponse = InferenceInferenceEndpointInfo;
11498
+ export interface InferencePutOpenaiRequest extends RequestBase {
11499
+ task_type: InferenceOpenAITaskType;
11500
+ openai_inference_id: Id;
11501
+ chunking_settings?: InferenceInferenceChunkingSettings;
11502
+ service: InferenceOpenAIServiceType;
11503
+ service_settings: InferenceOpenAIServiceSettings;
11504
+ task_settings?: InferenceOpenAITaskSettings;
11505
+ }
11506
+ export type InferencePutOpenaiResponse = InferenceInferenceEndpointInfo;
11507
+ export interface InferencePutVoyageaiRequest extends RequestBase {
11508
+ task_type: InferenceVoyageAITaskType;
11509
+ voyageai_inference_id: Id;
11510
+ chunking_settings?: InferenceInferenceChunkingSettings;
11511
+ service: InferenceVoyageAIServiceType;
11512
+ service_settings: InferenceVoyageAIServiceSettings;
11513
+ task_settings?: InferenceVoyageAITaskSettings;
11514
+ }
11515
+ export type InferencePutVoyageaiResponse = InferenceInferenceEndpointInfo;
11516
+ export interface InferencePutWatsonxRequest extends RequestBase {
11517
+ task_type: InferenceWatsonxTaskType;
11518
+ watsonx_inference_id: Id;
11519
+ service: InferenceWatsonxServiceType;
11520
+ service_settings: InferenceWatsonxServiceSettings;
11521
+ }
11522
+ export type InferencePutWatsonxResponse = InferenceInferenceEndpointInfo;
11523
+ export interface InferenceRerankRequest extends RequestBase {
10930
11524
  inference_id: Id;
10931
- task_type?: InferenceTaskType;
11525
+ timeout?: Duration;
11526
+ query: string;
11527
+ input: string | string[];
11528
+ task_settings?: InferenceTaskSettings;
11529
+ }
11530
+ export type InferenceRerankResponse = InferenceRerankedInferenceResult;
11531
+ export interface InferenceSparseEmbeddingRequest extends RequestBase {
11532
+ inference_id: Id;
11533
+ timeout?: Duration;
11534
+ input: string | string[];
11535
+ task_settings?: InferenceTaskSettings;
11536
+ }
11537
+ export type InferenceSparseEmbeddingResponse = InferenceSparseEmbeddingInferenceResult;
11538
+ export interface InferenceStreamCompletionRequest extends RequestBase {
11539
+ inference_id: Id;
11540
+ input: string | string[];
11541
+ task_settings?: InferenceTaskSettings;
11542
+ }
11543
+ export type InferenceStreamCompletionResponse = StreamResult;
11544
+ export interface InferenceTextEmbeddingRequest extends RequestBase {
11545
+ inference_id: Id;
11546
+ timeout?: Duration;
10932
11547
  input: string | string[];
11548
+ task_settings?: InferenceTaskSettings;
10933
11549
  }
10934
- export type InferenceStreamInferenceResponse = StreamResult;
11550
+ export type InferenceTextEmbeddingResponse = InferenceTextEmbeddingInferenceResult;
10935
11551
  export interface InferenceUpdateRequest extends RequestBase {
10936
11552
  inference_id: Id;
10937
11553
  task_type?: InferenceTaskType;
@@ -11140,12 +11756,18 @@ export interface IngestInferenceProcessor extends IngestProcessorBase {
11140
11756
  target_field?: Field;
11141
11757
  field_map?: Record<Field, any>;
11142
11758
  inference_config?: IngestInferenceConfig;
11759
+ input_output?: IngestInputConfig | IngestInputConfig[];
11760
+ ignore_missing?: boolean;
11143
11761
  }
11144
11762
  export interface IngestIngest {
11145
11763
  _redact?: IngestRedact;
11146
11764
  timestamp: DateTime;
11147
11765
  pipeline?: Name;
11148
11766
  }
11767
+ export interface IngestInputConfig {
11768
+ input_field: string;
11769
+ output_field: string;
11770
+ }
11149
11771
  export interface IngestIpLocationProcessor extends IngestProcessorBase {
11150
11772
  database_file?: string;
11151
11773
  field: Field;
@@ -11433,7 +12055,6 @@ export interface IngestGetGeoipDatabaseDatabaseConfigurationMetadata {
11433
12055
  }
11434
12056
  export interface IngestGetGeoipDatabaseRequest extends RequestBase {
11435
12057
  id?: Ids;
11436
- master_timeout?: Duration;
11437
12058
  }
11438
12059
  export interface IngestGetGeoipDatabaseResponse {
11439
12060
  databases: IngestGetGeoipDatabaseDatabaseConfigurationMetadata[];
@@ -11515,6 +12136,8 @@ export interface LicenseLicense {
11515
12136
  export type LicenseLicenseStatus = 'active' | 'valid' | 'invalid' | 'expired';
11516
12137
  export type LicenseLicenseType = 'missing' | 'trial' | 'basic' | 'standard' | 'dev' | 'silver' | 'gold' | 'platinum' | 'enterprise';
11517
12138
  export interface LicenseDeleteRequest extends RequestBase {
12139
+ master_timeout?: Duration;
12140
+ timeout?: Duration;
11518
12141
  }
11519
12142
  export type LicenseDeleteResponse = AcknowledgedResponseBase;
11520
12143
  export interface LicenseGetLicenseInformation {
@@ -11554,6 +12177,8 @@ export interface LicensePostAcknowledgement {
11554
12177
  }
11555
12178
  export interface LicensePostRequest extends RequestBase {
11556
12179
  acknowledge?: boolean;
12180
+ master_timeout?: Duration;
12181
+ timeout?: Duration;
11557
12182
  license?: LicenseLicense;
11558
12183
  licenses?: LicenseLicense[];
11559
12184
  }
@@ -11564,6 +12189,8 @@ export interface LicensePostResponse {
11564
12189
  }
11565
12190
  export interface LicensePostStartBasicRequest extends RequestBase {
11566
12191
  acknowledge?: boolean;
12192
+ master_timeout?: Duration;
12193
+ timeout?: Duration;
11567
12194
  }
11568
12195
  export interface LicensePostStartBasicResponse {
11569
12196
  acknowledged: boolean;
@@ -11575,6 +12202,7 @@ export interface LicensePostStartBasicResponse {
11575
12202
  export interface LicensePostStartTrialRequest extends RequestBase {
11576
12203
  acknowledge?: boolean;
11577
12204
  type_query_string?: string;
12205
+ master_timeout?: Duration;
11578
12206
  }
11579
12207
  export interface LicensePostStartTrialResponse {
11580
12208
  acknowledged: boolean;
@@ -11634,6 +12262,8 @@ export interface MigrationDeprecationsResponse {
11634
12262
  data_streams: Record<string, MigrationDeprecationsDeprecation[]>;
11635
12263
  node_settings: MigrationDeprecationsDeprecation[];
11636
12264
  ml_settings: MigrationDeprecationsDeprecation[];
12265
+ templates: Record<string, MigrationDeprecationsDeprecation[]>;
12266
+ ilm_policies: Record<string, MigrationDeprecationsDeprecation[]>;
11637
12267
  }
11638
12268
  export interface MigrationGetFeatureUpgradeStatusMigrationFeature {
11639
12269
  feature_name: string;
@@ -12207,6 +12837,7 @@ export interface MlExponentialAverageCalculationContext {
12207
12837
  latest_timestamp?: EpochTime<UnitMillis>;
12208
12838
  previous_exponential_average_ms?: DurationValue<UnitFloatMillis>;
12209
12839
  }
12840
+ export type MlFeatureExtractor = MlQueryFeatureExtractor;
12210
12841
  export interface MlFillMaskInferenceOptions {
12211
12842
  mask_token?: string;
12212
12843
  num_top_classes?: integer;
@@ -12263,6 +12894,7 @@ export interface MlInferenceConfigCreateContainer {
12263
12894
  text_classification?: MlTextClassificationInferenceOptions;
12264
12895
  zero_shot_classification?: MlZeroShotClassificationInferenceOptions;
12265
12896
  fill_mask?: MlFillMaskInferenceOptions;
12897
+ learning_to_rank?: MlLearningToRankConfig;
12266
12898
  ner?: MlNerInferenceOptions;
12267
12899
  pass_through?: MlPassThroughInferenceOptions;
12268
12900
  text_embedding?: MlTextEmbeddingInferenceOptions;
@@ -12395,6 +13027,11 @@ export interface MlJobTimingStats {
12395
13027
  maximum_bucket_processing_time_ms?: DurationValue<UnitFloatMillis>;
12396
13028
  minimum_bucket_processing_time_ms?: DurationValue<UnitFloatMillis>;
12397
13029
  }
13030
+ export interface MlLearningToRankConfig {
13031
+ default_params?: Record<string, any>;
13032
+ feature_extractors?: Record<string, MlFeatureExtractor>[];
13033
+ num_top_feature_importance_values: integer;
13034
+ }
12398
13035
  export type MlMemoryStatus = 'ok' | 'soft_limit' | 'hard_limit';
12399
13036
  export interface MlModelPackageConfig {
12400
13037
  create_time?: EpochTime<UnitMillis>;
@@ -12518,6 +13155,11 @@ export interface MlPerPartitionCategorization {
12518
13155
  stop_on_warn?: boolean;
12519
13156
  }
12520
13157
  export type MlPredictedValue = ScalarValue | ScalarValue[];
13158
+ export interface MlQueryFeatureExtractor {
13159
+ default_score?: float;
13160
+ feature_name: string;
13161
+ query: QueryDslQueryContainer;
13162
+ }
12521
13163
  export interface MlQuestionAnsweringInferenceOptions {
12522
13164
  num_top_classes?: integer;
12523
13165
  tokenization?: MlTokenizationConfigContainer;
@@ -12554,6 +13196,7 @@ export interface MlTextClassificationInferenceOptions {
12554
13196
  tokenization?: MlTokenizationConfigContainer;
12555
13197
  results_field?: string;
12556
13198
  classification_labels?: string[];
13199
+ vocabulary?: MlVocabulary;
12557
13200
  }
12558
13201
  export interface MlTextClassificationInferenceUpdateOptions {
12559
13202
  num_top_classes?: integer;
@@ -12589,6 +13232,7 @@ export interface MlTokenizationConfigContainer {
12589
13232
  bert_ja?: MlNlpBertTokenizationConfig;
12590
13233
  mpnet?: MlNlpBertTokenizationConfig;
12591
13234
  roberta?: MlNlpRobertaTokenizationConfig;
13235
+ xlm_roberta?: MlXlmRobertaTokenizationConfig;
12592
13236
  }
12593
13237
  export type MlTokenizationTruncate = 'first' | 'second' | 'none';
12594
13238
  export interface MlTopClassEntry {
@@ -12619,6 +13263,10 @@ export interface MlTrainedModelAssignment {
12619
13263
  start_time: DateTime;
12620
13264
  task_parameters: MlTrainedModelAssignmentTaskParameters;
12621
13265
  }
13266
+ export interface MlTrainedModelAssignmentRoutingStateAndReason {
13267
+ reason?: string;
13268
+ routing_state: MlRoutingState;
13269
+ }
12622
13270
  export interface MlTrainedModelAssignmentRoutingTable {
12623
13271
  reason?: string;
12624
13272
  routing_state: MlRoutingState;
@@ -12657,6 +13305,7 @@ export interface MlTrainedModelConfig {
12657
13305
  model_size_bytes?: ByteSize;
12658
13306
  model_package?: MlModelPackageConfig;
12659
13307
  location?: MlTrainedModelLocation;
13308
+ platform_architecture?: string;
12660
13309
  prefix_strings?: MlTrainedModelPrefixStrings;
12661
13310
  }
12662
13311
  export interface MlTrainedModelConfigInput {
@@ -12686,8 +13335,8 @@ export interface MlTrainedModelDeploymentNodesStats {
12686
13335
  number_of_allocations?: integer;
12687
13336
  number_of_pending_requests?: integer;
12688
13337
  peak_throughput_per_minute: long;
12689
- rejection_execution_count?: integer;
12690
- routing_state: MlTrainedModelAssignmentRoutingTable;
13338
+ rejected_execution_count?: integer;
13339
+ routing_state: MlTrainedModelAssignmentRoutingStateAndReason;
12691
13340
  start_time?: EpochTime<UnitMillis>;
12692
13341
  threads_per_allocation?: integer;
12693
13342
  throughput_last_minute: integer;
@@ -12772,6 +13421,8 @@ export interface MlValidationLoss {
12772
13421
  export interface MlVocabulary {
12773
13422
  index: IndexName;
12774
13423
  }
13424
+ export interface MlXlmRobertaTokenizationConfig extends MlCommonTokenizationConfig {
13425
+ }
12775
13426
  export interface MlZeroShotClassificationInferenceOptions {
12776
13427
  tokenization?: MlTokenizationConfigContainer;
12777
13428
  hypothesis_template?: string;
@@ -12864,6 +13515,7 @@ export type MlDeleteModelSnapshotResponse = AcknowledgedResponseBase;
12864
13515
  export interface MlDeleteTrainedModelRequest extends RequestBase {
12865
13516
  model_id: Id;
12866
13517
  force?: boolean;
13518
+ timeout?: Duration;
12867
13519
  }
12868
13520
  export type MlDeleteTrainedModelResponse = AcknowledgedResponseBase;
12869
13521
  export interface MlDeleteTrainedModelAliasRequest extends RequestBase {
@@ -13167,7 +13819,6 @@ export interface MlGetMemoryStatsMemory {
13167
13819
  }
13168
13820
  export interface MlGetMemoryStatsRequest extends RequestBase {
13169
13821
  node_id?: Id;
13170
- human?: boolean;
13171
13822
  master_timeout?: Duration;
13172
13823
  timeout?: Duration;
13173
13824
  }
@@ -13654,6 +14305,7 @@ export interface MlStartTrainedModelDeploymentRequest extends RequestBase {
13654
14305
  threads_per_allocation?: integer;
13655
14306
  timeout?: Duration;
13656
14307
  wait_for?: MlDeploymentAllocationState;
14308
+ adaptive_allocations?: MlAdaptiveAllocationsSettings;
13657
14309
  }
13658
14310
  export interface MlStartTrainedModelDeploymentResponse {
13659
14311
  assignment: MlTrainedModelAssignment;
@@ -13809,6 +14461,7 @@ export interface MlUpdateModelSnapshotResponse {
13809
14461
  export interface MlUpdateTrainedModelDeploymentRequest extends RequestBase {
13810
14462
  model_id: Id;
13811
14463
  number_of_allocations?: integer;
14464
+ adaptive_allocations?: MlAdaptiveAllocationsSettings;
13812
14465
  }
13813
14466
  export interface MlUpdateTrainedModelDeploymentResponse {
13814
14467
  assignment: MlTrainedModelAssignment;
@@ -14111,11 +14764,10 @@ export interface NodesNodeBufferPool {
14111
14764
  used?: string;
14112
14765
  used_in_bytes?: long;
14113
14766
  }
14114
- export interface NodesNodeReloadError {
14767
+ export interface NodesNodeReloadResult {
14115
14768
  name: Name;
14116
14769
  reload_exception?: ErrorCause;
14117
14770
  }
14118
- export type NodesNodeReloadResult = NodesStats | NodesNodeReloadError;
14119
14771
  export interface NodesNodesResponseBase {
14120
14772
  _nodes?: NodeStatistics;
14121
14773
  }
@@ -14305,7 +14957,6 @@ export interface NodesHotThreadsRequest extends RequestBase {
14305
14957
  ignore_idle_threads?: boolean;
14306
14958
  interval?: Duration;
14307
14959
  snapshots?: long;
14308
- master_timeout?: Duration;
14309
14960
  threads?: long;
14310
14961
  timeout?: Duration;
14311
14962
  type?: ThreadType;
@@ -14617,7 +15268,6 @@ export interface NodesInfoRequest extends RequestBase {
14617
15268
  node_id?: NodeIds;
14618
15269
  metric?: Metrics;
14619
15270
  flat_settings?: boolean;
14620
- master_timeout?: Duration;
14621
15271
  timeout?: Duration;
14622
15272
  }
14623
15273
  export type NodesInfoResponse = NodesInfoResponseBase;
@@ -14645,7 +15295,6 @@ export interface NodesStatsRequest extends RequestBase {
14645
15295
  groups?: boolean;
14646
15296
  include_segment_file_sizes?: boolean;
14647
15297
  level?: Level;
14648
- master_timeout?: Duration;
14649
15298
  timeout?: Duration;
14650
15299
  types?: string[];
14651
15300
  include_unloaded_segments?: boolean;
@@ -14916,10 +15565,12 @@ export interface SearchApplicationEventDataStream {
14916
15565
  name: IndexName;
14917
15566
  }
14918
15567
  export type SearchApplicationEventType = 'page_view' | 'search' | 'search_click';
14919
- export interface SearchApplicationSearchApplication {
15568
+ export interface SearchApplicationSearchApplication extends SearchApplicationSearchApplicationParameters {
14920
15569
  name: Name;
14921
- indices: IndexName[];
14922
15570
  updated_at_millis: EpochTime<UnitMillis>;
15571
+ }
15572
+ export interface SearchApplicationSearchApplicationParameters {
15573
+ indices: IndexName[];
14923
15574
  analytics_collection_name?: Name;
14924
15575
  template?: SearchApplicationSearchApplicationTemplate;
14925
15576
  }
@@ -14949,13 +15600,7 @@ export interface SearchApplicationListRequest extends RequestBase {
14949
15600
  }
14950
15601
  export interface SearchApplicationListResponse {
14951
15602
  count: long;
14952
- results: SearchApplicationListSearchApplicationListItem[];
14953
- }
14954
- export interface SearchApplicationListSearchApplicationListItem {
14955
- name: Name;
14956
- indices: IndexName[];
14957
- updated_at_millis: EpochTime<UnitMillis>;
14958
- analytics_collection_name?: Name;
15603
+ results: SearchApplicationSearchApplication[];
14959
15604
  }
14960
15605
  export interface SearchApplicationPostBehavioralAnalyticsEventRequest extends RequestBase {
14961
15606
  collection_name: Name;
@@ -14970,7 +15615,7 @@ export interface SearchApplicationPostBehavioralAnalyticsEventResponse {
14970
15615
  export interface SearchApplicationPutRequest extends RequestBase {
14971
15616
  name: Name;
14972
15617
  create?: boolean;
14973
- search_application?: SearchApplicationSearchApplication;
15618
+ search_application?: SearchApplicationSearchApplicationParameters;
14974
15619
  }
14975
15620
  export interface SearchApplicationPutResponse {
14976
15621
  result: Result;
@@ -15020,8 +15665,6 @@ export interface SearchableSnapshotsClearCacheRequest extends RequestBase {
15020
15665
  expand_wildcards?: ExpandWildcards;
15021
15666
  allow_no_indices?: boolean;
15022
15667
  ignore_unavailable?: boolean;
15023
- pretty?: boolean;
15024
- human?: boolean;
15025
15668
  }
15026
15669
  export type SearchableSnapshotsClearCacheResponse = any;
15027
15670
  export interface SearchableSnapshotsMountMountedSnapshot {
@@ -15109,7 +15752,7 @@ export type SecurityGrantType = 'password' | 'access_token';
15109
15752
  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;
15110
15753
  export interface SecurityIndicesPrivileges {
15111
15754
  field_security?: SecurityFieldSecurity;
15112
- names: IndexName | IndexName[];
15755
+ names: IndexName[];
15113
15756
  privileges: SecurityIndexPrivilege[];
15114
15757
  query?: SecurityIndicesPrivilegesQuery;
15115
15758
  allow_restricted_indices?: boolean;
@@ -15130,11 +15773,19 @@ export interface SecurityRemoteClusterPrivileges {
15130
15773
  export interface SecurityRemoteIndicesPrivileges {
15131
15774
  clusters: Names;
15132
15775
  field_security?: SecurityFieldSecurity;
15133
- names: IndexName | IndexName[];
15776
+ names: IndexName[];
15134
15777
  privileges: SecurityIndexPrivilege[];
15135
15778
  query?: SecurityIndicesPrivilegesQuery;
15136
15779
  allow_restricted_indices?: boolean;
15137
15780
  }
15781
+ export interface SecurityRemoteUserIndicesPrivileges {
15782
+ field_security?: SecurityFieldSecurity[];
15783
+ names: IndexName | IndexName[];
15784
+ privileges: SecurityIndexPrivilege[];
15785
+ query?: SecurityIndicesPrivilegesQuery[];
15786
+ allow_restricted_indices: boolean;
15787
+ clusters: string[];
15788
+ }
15138
15789
  export interface SecurityReplicationAccess {
15139
15790
  names: IndexName | IndexName[];
15140
15791
  allow_restricted_indices?: boolean;
@@ -15220,7 +15871,7 @@ export interface SecurityUser {
15220
15871
  }
15221
15872
  export interface SecurityUserIndicesPrivileges {
15222
15873
  field_security?: SecurityFieldSecurity[];
15223
- names: IndexName | IndexName[];
15874
+ names: IndexName[];
15224
15875
  privileges: SecurityIndexPrivilege[];
15225
15876
  query?: SecurityIndicesPrivilegesQuery[];
15226
15877
  allow_restricted_indices: boolean;
@@ -15526,7 +16177,7 @@ export interface SecurityGetBuiltinPrivilegesRequest extends RequestBase {
15526
16177
  }
15527
16178
  export interface SecurityGetBuiltinPrivilegesResponse {
15528
16179
  cluster: SecurityClusterPrivilege[];
15529
- index: Indices;
16180
+ index: IndexName[];
15530
16181
  remote_cluster: SecurityRemoteClusterPrivilege[];
15531
16182
  }
15532
16183
  export interface SecurityGetPrivilegesRequest extends RequestBase {
@@ -15544,7 +16195,8 @@ export interface SecurityGetRoleRole {
15544
16195
  remote_indices?: SecurityRemoteIndicesPrivileges[];
15545
16196
  remote_cluster?: SecurityRemoteClusterPrivileges[];
15546
16197
  metadata: Metadata;
15547
- run_as: string[];
16198
+ description?: string;
16199
+ run_as?: string[];
15548
16200
  transient_metadata?: Record<string, any>;
15549
16201
  applications: SecurityApplicationPrivileges[];
15550
16202
  role_templates?: SecurityRoleTemplate[];
@@ -15632,8 +16284,10 @@ export interface SecurityGetUserPrivilegesRequest extends RequestBase {
15632
16284
  export interface SecurityGetUserPrivilegesResponse {
15633
16285
  applications: SecurityApplicationPrivileges[];
15634
16286
  cluster: string[];
16287
+ remote_cluster?: SecurityRemoteClusterPrivileges[];
15635
16288
  global: SecurityGlobalPrivilege[];
15636
16289
  indices: SecurityUserIndicesPrivileges[];
16290
+ remote_indices?: SecurityRemoteUserIndicesPrivileges[];
15637
16291
  run_as: string[];
15638
16292
  }
15639
16293
  export interface SecurityGetUserProfileGetUserProfileErrors {
@@ -15752,7 +16406,7 @@ export interface SecurityOidcAuthenticateResponse {
15752
16406
  type: string;
15753
16407
  }
15754
16408
  export interface SecurityOidcLogoutRequest extends RequestBase {
15755
- access_token: string;
16409
+ token: string;
15756
16410
  refresh_token?: string;
15757
16411
  }
15758
16412
  export interface SecurityOidcLogoutResponse {
@@ -16072,7 +16726,6 @@ export interface ShutdownGetNodePluginsStatus {
16072
16726
  export interface ShutdownGetNodeRequest extends RequestBase {
16073
16727
  node_id?: NodeIds;
16074
16728
  master_timeout?: TimeUnit;
16075
- timeout?: TimeUnit;
16076
16729
  }
16077
16730
  export interface ShutdownGetNodeResponse {
16078
16731
  nodes: ShutdownGetNodeNodeShutdownStatus[];
@@ -16109,7 +16762,7 @@ export interface SimulateIngestRequest extends RequestBase {
16109
16762
  pipeline?: PipelineName;
16110
16763
  docs: IngestDocument[];
16111
16764
  component_template_substitutions?: Record<string, ClusterComponentTemplateNode>;
16112
- index_template_subtitutions?: Record<string, IndicesIndexTemplate>;
16765
+ index_template_substitutions?: Record<string, IndicesIndexTemplate>;
16113
16766
  mapping_addition?: MappingTypeMapping;
16114
16767
  pipeline_substitutions?: Record<string, IngestPipeline>;
16115
16768
  }
@@ -16430,7 +17083,6 @@ export interface SnapshotCloneRequest extends RequestBase {
16430
17083
  snapshot: Name;
16431
17084
  target_snapshot: Name;
16432
17085
  master_timeout?: Duration;
16433
- timeout?: Duration;
16434
17086
  indices: string;
16435
17087
  }
16436
17088
  export type SnapshotCloneResponse = AcknowledgedResponseBase;
@@ -16878,7 +17530,6 @@ export interface TasksListRequest extends RequestBase {
16878
17530
  group_by?: TasksGroupBy;
16879
17531
  nodes?: NodeIds;
16880
17532
  parent_task_id?: Id;
16881
- master_timeout?: Duration;
16882
17533
  timeout?: Duration;
16883
17534
  wait_for_completion?: boolean;
16884
17535
  }
@@ -17090,6 +17741,7 @@ export interface TransformGetTransformResponse {
17090
17741
  export interface TransformGetTransformTransformSummary {
17091
17742
  authorization?: MlTransformAuthorization;
17092
17743
  create_time?: EpochTime<UnitMillis>;
17744
+ create_time_string?: DateTime;
17093
17745
  description?: string;
17094
17746
  dest: ReindexDestination;
17095
17747
  frequency?: Duration;
@@ -17113,11 +17765,12 @@ export interface TransformGetTransformStatsCheckpointStats {
17113
17765
  }
17114
17766
  export interface TransformGetTransformStatsCheckpointing {
17115
17767
  changes_last_detected_at?: long;
17116
- changes_last_detected_at_date_time?: DateTime;
17768
+ changes_last_detected_at_string?: DateTime;
17117
17769
  last: TransformGetTransformStatsCheckpointStats;
17118
17770
  next?: TransformGetTransformStatsCheckpointStats;
17119
17771
  operations_behind?: long;
17120
17772
  last_search_time?: long;
17773
+ last_search_time_string?: DateTime;
17121
17774
  }
17122
17775
  export interface TransformGetTransformStatsRequest extends RequestBase {
17123
17776
  transform_id: Names;
@@ -17130,6 +17783,14 @@ export interface TransformGetTransformStatsResponse {
17130
17783
  count: long;
17131
17784
  transforms: TransformGetTransformStatsTransformStats[];
17132
17785
  }
17786
+ export interface TransformGetTransformStatsTransformHealthIssue {
17787
+ type: string;
17788
+ issue: string;
17789
+ details?: string;
17790
+ count: integer;
17791
+ first_occurrence?: EpochTime<UnitMillis>;
17792
+ first_occurence_string?: DateTime;
17793
+ }
17133
17794
  export interface TransformGetTransformStatsTransformIndexerStats {
17134
17795
  delete_time_in_ms?: EpochTime<UnitMillis>;
17135
17796
  documents_indexed: long;
@@ -17167,6 +17828,7 @@ export interface TransformGetTransformStatsTransformStats {
17167
17828
  }
17168
17829
  export interface TransformGetTransformStatsTransformStatsHealth {
17169
17830
  status: HealthStatus;
17831
+ issues?: TransformGetTransformStatsTransformHealthIssue[];
17170
17832
  }
17171
17833
  export interface TransformPreviewTransformRequest extends RequestBase {
17172
17834
  transform_id?: Id;
@@ -17204,6 +17866,7 @@ export type TransformPutTransformResponse = AcknowledgedResponseBase;
17204
17866
  export interface TransformResetTransformRequest extends RequestBase {
17205
17867
  transform_id: Id;
17206
17868
  force?: boolean;
17869
+ timeout?: Duration;
17207
17870
  }
17208
17871
  export type TransformResetTransformResponse = AcknowledgedResponseBase;
17209
17872
  export interface TransformScheduleNowTransformRequest extends RequestBase {
@@ -17340,15 +18003,15 @@ export interface WatcherDataEmailAttachment {
17340
18003
  export type WatcherDay = 'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday';
17341
18004
  export interface WatcherEmail {
17342
18005
  id?: Id;
17343
- bcc?: string[];
18006
+ bcc?: string | string[];
17344
18007
  body?: WatcherEmailBody;
17345
- cc?: string[];
18008
+ cc?: string | string[];
17346
18009
  from?: string;
17347
18010
  priority?: WatcherEmailPriority;
17348
- reply_to?: string[];
18011
+ reply_to?: string | string[];
17349
18012
  sent_date?: DateTime;
17350
18013
  subject: string;
17351
- to: string[];
18014
+ to: string | string[];
17352
18015
  attachments?: Record<string, WatcherEmailAttachmentContainer>;
17353
18016
  }
17354
18017
  export interface WatcherEmailAction extends WatcherEmail {
@@ -17544,6 +18207,7 @@ export interface WatcherReportingEmailAttachment {
17544
18207
  }
17545
18208
  export type WatcherResponseContentType = 'json' | 'yaml' | 'text';
17546
18209
  export interface WatcherScheduleContainer {
18210
+ timezone?: string;
17547
18211
  cron?: WatcherCronExpression;
17548
18212
  daily?: WatcherDailySchedule;
17549
18213
  hourly?: WatcherHourlySchedule;
@@ -17793,6 +18457,7 @@ export interface WatcherQueryWatchesResponse {
17793
18457
  watches: WatcherQueryWatch[];
17794
18458
  }
17795
18459
  export interface WatcherStartRequest extends RequestBase {
18460
+ master_timeout?: Duration;
17796
18461
  }
17797
18462
  export type WatcherStartResponse = AcknowledgedResponseBase;
17798
18463
  export interface WatcherStatsRequest extends RequestBase {
@@ -18293,9 +18958,7 @@ export interface SpecUtilsCommonQueryParameters {
18293
18958
  }
18294
18959
  export interface SpecUtilsCommonCatQueryParameters {
18295
18960
  format?: string;
18296
- h?: Names;
18297
18961
  help?: boolean;
18298
- s?: Names;
18299
18962
  v?: boolean;
18300
18963
  }
18301
18964
  export interface SpecUtilsOverloadOf<TDefinition = unknown> {