@elastic/elasticsearch 8.15.2 → 8.16.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (200) hide show
  1. package/.tap/processinfo/{0a539d4d-d7bd-4b6d-86dc-d42a6e9c6c57.json → 10179d89-116d-4f2b-88ac-162c5926108e.json} +22 -22
  2. package/.tap/processinfo/{2050cc30-f488-420a-baa6-df6c1adb9f62.json → 1b29b2b6-5a23-4799-989f-61f1b07fe93e.json} +21 -21
  3. package/.tap/processinfo/{92769d56-f3fd-425e-a62b-a405b7b3cee8.json → 417e37d1-5169-41be-aff8-3f95d6188b97.json} +41 -41
  4. package/.tap/processinfo/{7cb18475-5a98-4019-9680-455975cefd95.json → 8d25c669-47d1-4c08-a1e4-642de1aefe69.json} +30 -30
  5. package/.tap/processinfo/{9b27c491-d2fb-4fd1-a726-2145fef1295a.json → a835656d-1070-479e-88f9-5be1be9559ec.json} +29 -29
  6. package/.tap/processinfo/{737e7e75-4bfb-4692-ab93-26301ccaae30.json → e916c6f3-15e6-4fa2-822e-c9019a567147.json} +43 -43
  7. package/.tap/processinfo/{d68b7470-ec92-4a05-a899-ef7b846ea57f.json → f50028a1-6f73-46a7-ab4a-48276a74a171.json} +27 -27
  8. package/lib/api/api/async_search.d.ts +8 -8
  9. package/lib/api/api/async_search.js.map +1 -1
  10. package/lib/api/api/autoscaling.d.ts +8 -8
  11. package/lib/api/api/autoscaling.js.map +1 -1
  12. package/lib/api/api/bulk.d.ts +2 -2
  13. package/lib/api/api/bulk.js.map +1 -1
  14. package/lib/api/api/capabilities.d.ts +1 -1
  15. package/lib/api/api/capabilities.js.map +1 -1
  16. package/lib/api/api/cat.d.ts +36 -36
  17. package/lib/api/api/cat.js.map +1 -1
  18. package/lib/api/api/ccr.d.ts +13 -13
  19. package/lib/api/api/ccr.js.map +1 -1
  20. package/lib/api/api/clear_scroll.d.ts +2 -2
  21. package/lib/api/api/clear_scroll.js.map +1 -1
  22. package/lib/api/api/close_point_in_time.d.ts +2 -2
  23. package/lib/api/api/close_point_in_time.js.map +1 -1
  24. package/lib/api/api/cluster.d.ts +21 -21
  25. package/lib/api/api/cluster.js.map +1 -1
  26. package/lib/api/api/connector.d.ts +55 -55
  27. package/lib/api/api/connector.js.map +1 -1
  28. package/lib/api/api/count.d.ts +1 -1
  29. package/lib/api/api/count.js.map +1 -1
  30. package/lib/api/api/create.d.ts +2 -2
  31. package/lib/api/api/create.js.map +1 -1
  32. package/lib/api/api/dangling_indices.d.ts +6 -6
  33. package/lib/api/api/dangling_indices.js.map +1 -1
  34. package/lib/api/api/delete.d.ts +2 -2
  35. package/lib/api/api/delete.js.map +1 -1
  36. package/lib/api/api/delete_by_query.d.ts +2 -2
  37. package/lib/api/api/delete_by_query.js.map +1 -1
  38. package/lib/api/api/delete_by_query_rethrottle.d.ts +2 -2
  39. package/lib/api/api/delete_by_query_rethrottle.js.map +1 -1
  40. package/lib/api/api/delete_script.d.ts +2 -2
  41. package/lib/api/api/delete_script.js.map +1 -1
  42. package/lib/api/api/enrich.d.ts +9 -9
  43. package/lib/api/api/enrich.js.map +1 -1
  44. package/lib/api/api/eql.d.ts +4 -4
  45. package/lib/api/api/eql.js.map +1 -1
  46. package/lib/api/api/esql.d.ts +3 -3
  47. package/lib/api/api/esql.js +1 -1
  48. package/lib/api/api/esql.js.map +1 -1
  49. package/lib/api/api/exists.d.ts +2 -2
  50. package/lib/api/api/exists.js.map +1 -1
  51. package/lib/api/api/exists_source.d.ts +2 -2
  52. package/lib/api/api/exists_source.js.map +1 -1
  53. package/lib/api/api/explain.d.ts +2 -2
  54. package/lib/api/api/explain.js.map +1 -1
  55. package/lib/api/api/features.d.ts +2 -2
  56. package/lib/api/api/features.js.map +1 -1
  57. package/lib/api/api/field_caps.d.ts +2 -2
  58. package/lib/api/api/field_caps.js.map +1 -1
  59. package/lib/api/api/fleet.d.ts +1 -1
  60. package/lib/api/api/fleet.js.map +1 -1
  61. package/lib/api/api/get.d.ts +2 -2
  62. package/lib/api/api/get.js.map +1 -1
  63. package/lib/api/api/get_script.d.ts +2 -2
  64. package/lib/api/api/get_script.js.map +1 -1
  65. package/lib/api/api/get_script_context.d.ts +2 -2
  66. package/lib/api/api/get_script_context.js.map +1 -1
  67. package/lib/api/api/get_script_languages.d.ts +2 -2
  68. package/lib/api/api/get_script_languages.js.map +1 -1
  69. package/lib/api/api/get_source.d.ts +2 -2
  70. package/lib/api/api/get_source.js.map +1 -1
  71. package/lib/api/api/graph.d.ts +1 -1
  72. package/lib/api/api/graph.js.map +1 -1
  73. package/lib/api/api/health_report.d.ts +1 -1
  74. package/lib/api/api/health_report.js.map +1 -1
  75. package/lib/api/api/ilm.d.ts +11 -11
  76. package/lib/api/api/ilm.js.map +1 -1
  77. package/lib/api/api/index.d.ts +2 -2
  78. package/lib/api/api/index.js.map +1 -1
  79. package/lib/api/api/indices.d.ts +88 -88
  80. package/lib/api/api/indices.js.map +1 -1
  81. package/lib/api/api/inference.d.ts +11 -4
  82. package/lib/api/api/inference.js +32 -0
  83. package/lib/api/api/inference.js.map +1 -1
  84. package/lib/api/api/info.d.ts +2 -2
  85. package/lib/api/api/info.js.map +1 -1
  86. package/lib/api/api/ingest.d.ts +33 -12
  87. package/lib/api/api/ingest.js +78 -2
  88. package/lib/api/api/ingest.js.map +1 -1
  89. package/lib/api/api/knn_search.d.ts +2 -2
  90. package/lib/api/api/knn_search.js.map +1 -1
  91. package/lib/api/api/license.d.ts +8 -8
  92. package/lib/api/api/license.js.map +1 -1
  93. package/lib/api/api/logstash.d.ts +3 -3
  94. package/lib/api/api/logstash.js.map +1 -1
  95. package/lib/api/api/mget.d.ts +2 -2
  96. package/lib/api/api/mget.js.map +1 -1
  97. package/lib/api/api/migration.d.ts +3 -3
  98. package/lib/api/api/migration.js.map +1 -1
  99. package/lib/api/api/ml.d.ts +144 -144
  100. package/lib/api/api/ml.js.map +1 -1
  101. package/lib/api/api/monitoring.d.ts +1 -1
  102. package/lib/api/api/monitoring.js.map +1 -1
  103. package/lib/api/api/msearch.d.ts +2 -2
  104. package/lib/api/api/msearch.js.map +1 -1
  105. package/lib/api/api/msearch_template.d.ts +2 -2
  106. package/lib/api/api/msearch_template.js.map +1 -1
  107. package/lib/api/api/mtermvectors.d.ts +2 -2
  108. package/lib/api/api/mtermvectors.js.map +1 -1
  109. package/lib/api/api/nodes.d.ts +7 -7
  110. package/lib/api/api/nodes.js.map +1 -1
  111. package/lib/api/api/open_point_in_time.d.ts +2 -2
  112. package/lib/api/api/open_point_in_time.js +16 -2
  113. package/lib/api/api/open_point_in_time.js.map +1 -1
  114. package/lib/api/api/ping.d.ts +2 -2
  115. package/lib/api/api/ping.js.map +1 -1
  116. package/lib/api/api/profiling.d.ts +4 -4
  117. package/lib/api/api/profiling.js.map +1 -1
  118. package/lib/api/api/put_script.d.ts +2 -2
  119. package/lib/api/api/put_script.js.map +1 -1
  120. package/lib/api/api/query_rules.d.ts +14 -7
  121. package/lib/api/api/query_rules.js +37 -0
  122. package/lib/api/api/query_rules.js.map +1 -1
  123. package/lib/api/api/rank_eval.d.ts +2 -2
  124. package/lib/api/api/rank_eval.js.map +1 -1
  125. package/lib/api/api/reindex.d.ts +2 -2
  126. package/lib/api/api/reindex.js.map +1 -1
  127. package/lib/api/api/reindex_rethrottle.d.ts +2 -2
  128. package/lib/api/api/reindex_rethrottle.js.map +1 -1
  129. package/lib/api/api/render_search_template.d.ts +2 -2
  130. package/lib/api/api/render_search_template.js.map +1 -1
  131. package/lib/api/api/rollup.d.ts +8 -8
  132. package/lib/api/api/rollup.js.map +1 -1
  133. package/lib/api/api/scripts_painless_execute.d.ts +2 -2
  134. package/lib/api/api/scripts_painless_execute.js.map +1 -1
  135. package/lib/api/api/scroll.d.ts +2 -2
  136. package/lib/api/api/scroll.js.map +1 -1
  137. package/lib/api/api/search.d.ts +2 -2
  138. package/lib/api/api/search.js.map +1 -1
  139. package/lib/api/api/search_application.d.ts +16 -16
  140. package/lib/api/api/search_application.js.map +1 -1
  141. package/lib/api/api/search_mvt.d.ts +2 -2
  142. package/lib/api/api/search_mvt.js.map +1 -1
  143. package/lib/api/api/search_shards.d.ts +2 -2
  144. package/lib/api/api/search_shards.js.map +1 -1
  145. package/lib/api/api/search_template.d.ts +2 -2
  146. package/lib/api/api/search_template.js.map +1 -1
  147. package/lib/api/api/searchable_snapshots.d.ts +4 -4
  148. package/lib/api/api/searchable_snapshots.js.map +1 -1
  149. package/lib/api/api/security.d.ts +126 -126
  150. package/lib/api/api/security.js +35 -7
  151. package/lib/api/api/security.js.map +1 -1
  152. package/lib/api/api/shutdown.js.map +1 -1
  153. package/lib/api/api/simulate.d.ts +1 -1
  154. package/lib/api/api/simulate.js.map +1 -1
  155. package/lib/api/api/slm.d.ts +9 -9
  156. package/lib/api/api/slm.js.map +1 -1
  157. package/lib/api/api/snapshot.d.ts +19 -12
  158. package/lib/api/api/snapshot.js +23 -0
  159. package/lib/api/api/snapshot.js.map +1 -1
  160. package/lib/api/api/sql.d.ts +6 -6
  161. package/lib/api/api/sql.js.map +1 -1
  162. package/lib/api/api/ssl.d.ts +2 -2
  163. package/lib/api/api/ssl.js.map +1 -1
  164. package/lib/api/api/synonyms.d.ts +7 -7
  165. package/lib/api/api/synonyms.js.map +1 -1
  166. package/lib/api/api/tasks.d.ts +4 -4
  167. package/lib/api/api/tasks.js.map +1 -1
  168. package/lib/api/api/terms_enum.d.ts +2 -2
  169. package/lib/api/api/terms_enum.js.map +1 -1
  170. package/lib/api/api/termvectors.d.ts +2 -2
  171. package/lib/api/api/termvectors.js.map +1 -1
  172. package/lib/api/api/text_structure.d.ts +4 -4
  173. package/lib/api/api/text_structure.js.map +1 -1
  174. package/lib/api/api/transform.d.ts +22 -22
  175. package/lib/api/api/transform.js.map +1 -1
  176. package/lib/api/api/update.d.ts +2 -2
  177. package/lib/api/api/update.js.map +1 -1
  178. package/lib/api/api/update_by_query.d.ts +2 -2
  179. package/lib/api/api/update_by_query.js.map +1 -1
  180. package/lib/api/api/update_by_query_rethrottle.d.ts +2 -2
  181. package/lib/api/api/update_by_query_rethrottle.js.map +1 -1
  182. package/lib/api/api/watcher.d.ts +13 -13
  183. package/lib/api/api/watcher.js.map +1 -1
  184. package/lib/api/api/xpack.d.ts +2 -2
  185. package/lib/api/api/xpack.js.map +1 -1
  186. package/lib/api/index.js.map +1 -1
  187. package/lib/api/types.d.ts +521 -80
  188. package/lib/api/types.js.map +1 -1
  189. package/lib/api/typesWithBodyKey.d.ts +533 -80
  190. package/lib/api/typesWithBodyKey.js.map +1 -1
  191. package/lib/client.d.ts +2 -2
  192. package/lib/client.js +33 -17
  193. package/lib/client.js.map +1 -1
  194. package/lib/helpers.d.ts +8 -2
  195. package/lib/helpers.js +41 -12
  196. package/lib/helpers.js.map +1 -1
  197. package/lib/sniffingTransport.js +2 -2
  198. package/lib/sniffingTransport.js.map +1 -1
  199. package/package.json +20 -13
  200. package/tsconfig.json +3 -2
@@ -298,6 +298,7 @@ export interface FieldCapsResponse {
298
298
  export interface GetGetResult<TDocument = unknown> {
299
299
  _index: IndexName;
300
300
  fields?: Record<string, any>;
301
+ _ignored?: string[];
301
302
  found: boolean;
302
303
  _id: Id;
303
304
  _primary_term?: long;
@@ -380,6 +381,14 @@ export interface HealthReportBaseIndicator {
380
381
  impacts?: HealthReportImpact[];
381
382
  diagnosis?: HealthReportDiagnosis[];
382
383
  }
384
+ export interface HealthReportDataStreamLifecycleDetails {
385
+ stagnating_backing_indices_count: integer;
386
+ total_backing_indices_in_error: integer;
387
+ stagnating_backing_indices?: HealthReportStagnatingBackingIndices[];
388
+ }
389
+ export interface HealthReportDataStreamLifecycleIndicator extends HealthReportBaseIndicator {
390
+ details?: HealthReportDataStreamLifecycleDetails;
391
+ }
383
392
  export interface HealthReportDiagnosis {
384
393
  id: string;
385
394
  action: string;
@@ -429,6 +438,7 @@ export interface HealthReportIndicators {
429
438
  shards_availability?: HealthReportShardsAvailabilityIndicator;
430
439
  disk?: HealthReportDiskIndicator;
431
440
  repository_integrity?: HealthReportRepositoryIntegrityIndicator;
441
+ data_stream_lifecycle?: HealthReportDataStreamLifecycleIndicator;
432
442
  ilm?: HealthReportIlmIndicator;
433
443
  slm?: HealthReportSlmIndicator;
434
444
  shards_capacity?: HealthReportShardsCapacityIndicator;
@@ -508,6 +518,11 @@ export interface HealthReportSlmIndicatorUnhealthyPolicies {
508
518
  count: long;
509
519
  invocations_since_last_success?: Record<string, long>;
510
520
  }
521
+ export interface HealthReportStagnatingBackingIndices {
522
+ index_name: IndexName;
523
+ first_occurrence_timestamp: long;
524
+ retry_count: integer;
525
+ }
511
526
  export interface IndexRequest<TDocument = unknown> extends RequestBase {
512
527
  id?: Id;
513
528
  index: IndexName;
@@ -732,8 +747,10 @@ export interface OpenPointInTimeRequest extends RequestBase {
732
747
  preference?: string;
733
748
  routing?: Routing;
734
749
  expand_wildcards?: ExpandWildcards;
750
+ index_filter?: QueryDslQueryContainer;
735
751
  }
736
752
  export interface OpenPointInTimeResponse {
753
+ _shards: ShardStatistics;
737
754
  id: Id;
738
755
  }
739
756
  export interface PingRequest extends RequestBase {
@@ -799,7 +816,7 @@ export interface RankEvalRankEvalQuery {
799
816
  }
800
817
  export interface RankEvalRankEvalRequestItem {
801
818
  id: Id;
802
- request?: RankEvalRankEvalQuery;
819
+ request?: RankEvalRankEvalQuery | QueryDslQueryContainer;
803
820
  ratings: RankEvalDocumentRating[];
804
821
  template_id?: Id;
805
822
  params?: Record<string, any>;
@@ -930,7 +947,7 @@ export interface RenderSearchTemplateResponse {
930
947
  export interface ScriptsPainlessExecutePainlessContextSetup {
931
948
  document: any;
932
949
  index: IndexName;
933
- query: QueryDslQueryContainer;
950
+ query?: QueryDslQueryContainer;
934
951
  }
935
952
  export interface ScriptsPainlessExecuteRequest extends RequestBase {
936
953
  context?: string;
@@ -1239,7 +1256,6 @@ export interface SearchHighlightBase {
1239
1256
  export interface SearchHighlightField extends SearchHighlightBase {
1240
1257
  fragment_offset?: integer;
1241
1258
  matched_fields?: Fields;
1242
- analyzer?: AnalysisAnalyzer;
1243
1259
  }
1244
1260
  export type SearchHighlighterEncoder = 'default' | 'html';
1245
1261
  export type SearchHighlighterFragmenter = 'simple' | 'span';
@@ -2201,11 +2217,13 @@ export interface Retries {
2201
2217
  }
2202
2218
  export interface RetrieverBase {
2203
2219
  filter?: QueryDslQueryContainer | QueryDslQueryContainer[];
2220
+ min_score?: float;
2204
2221
  }
2205
2222
  export interface RetrieverContainer {
2206
2223
  standard?: StandardRetriever;
2207
2224
  knn?: KnnRetriever;
2208
2225
  rrf?: RRFRetriever;
2226
+ text_similarity_reranker?: TextSimilarityReranker;
2209
2227
  }
2210
2228
  export type Routing = string;
2211
2229
  export interface RrfRank {
@@ -2340,7 +2358,6 @@ export interface StandardRetriever extends RetrieverBase {
2340
2358
  search_after?: SortResults;
2341
2359
  terminate_after?: integer;
2342
2360
  sort?: Sort;
2343
- min_score?: float;
2344
2361
  collapse?: SearchFieldCollapse;
2345
2362
  }
2346
2363
  export interface StoreStats {
@@ -2369,6 +2386,13 @@ export interface TextEmbedding {
2369
2386
  model_id: string;
2370
2387
  model_text: string;
2371
2388
  }
2389
+ export interface TextSimilarityReranker extends RetrieverBase {
2390
+ retriever: RetrieverContainer;
2391
+ rank_window_size?: integer;
2392
+ inference_id?: string;
2393
+ inference_text?: string;
2394
+ field?: string;
2395
+ }
2372
2396
  export type ThreadType = 'cpu' | 'wait' | 'block' | 'gpu' | 'mem';
2373
2397
  export type TimeOfDay = string;
2374
2398
  export type TimeUnit = 'nanos' | 'micros' | 'ms' | 's' | 'm' | 'h' | 'd';
@@ -2538,9 +2562,9 @@ export interface AggregationsAggregationContainer {
2538
2562
  variable_width_histogram?: AggregationsVariableWidthHistogramAggregation;
2539
2563
  }
2540
2564
  export interface AggregationsAggregationRange {
2541
- from?: double;
2565
+ from?: double | null;
2542
2566
  key?: string;
2543
- to?: double;
2567
+ to?: double | null;
2544
2568
  }
2545
2569
  export interface AggregationsArrayPercentilesItem {
2546
2570
  key: string;
@@ -3624,11 +3648,52 @@ export interface AggregationsWeightedAverageValue {
3624
3648
  }
3625
3649
  export interface AggregationsWeightedAvgAggregate extends AggregationsSingleMetricAggregateBase {
3626
3650
  }
3627
- export type AnalysisAnalyzer = AnalysisCustomAnalyzer | AnalysisFingerprintAnalyzer | AnalysisKeywordAnalyzer | AnalysisLanguageAnalyzer | AnalysisNoriAnalyzer | AnalysisPatternAnalyzer | AnalysisSimpleAnalyzer | AnalysisStandardAnalyzer | AnalysisStopAnalyzer | AnalysisWhitespaceAnalyzer | AnalysisIcuAnalyzer | AnalysisKuromojiAnalyzer | AnalysisSnowballAnalyzer | AnalysisDutchAnalyzer;
3651
+ 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;
3652
+ export interface AnalysisArabicAnalyzer {
3653
+ type: 'arabic';
3654
+ stopwords?: AnalysisStopWords;
3655
+ stopwords_path?: string;
3656
+ stem_exclusion?: string[];
3657
+ }
3658
+ export interface AnalysisArmenianAnalyzer {
3659
+ type: 'armenian';
3660
+ stopwords?: AnalysisStopWords;
3661
+ stopwords_path?: string;
3662
+ stem_exclusion?: string[];
3663
+ }
3628
3664
  export interface AnalysisAsciiFoldingTokenFilter extends AnalysisTokenFilterBase {
3629
3665
  type: 'asciifolding';
3630
3666
  preserve_original?: SpecUtilsStringified<boolean>;
3631
3667
  }
3668
+ export interface AnalysisBasqueAnalyzer {
3669
+ type: 'basque';
3670
+ stopwords?: AnalysisStopWords;
3671
+ stopwords_path?: string;
3672
+ stem_exclusion?: string[];
3673
+ }
3674
+ export interface AnalysisBengaliAnalyzer {
3675
+ type: 'bengali';
3676
+ stopwords?: AnalysisStopWords;
3677
+ stopwords_path?: string;
3678
+ stem_exclusion?: string[];
3679
+ }
3680
+ export interface AnalysisBrazilianAnalyzer {
3681
+ type: 'brazilian';
3682
+ stopwords?: AnalysisStopWords;
3683
+ stopwords_path?: string;
3684
+ }
3685
+ export interface AnalysisBulgarianAnalyzer {
3686
+ type: 'bulgarian';
3687
+ stopwords?: AnalysisStopWords;
3688
+ stopwords_path?: string;
3689
+ stem_exclusion?: string[];
3690
+ }
3691
+ export interface AnalysisCatalanAnalyzer {
3692
+ type: 'catalan';
3693
+ stopwords?: AnalysisStopWords;
3694
+ stopwords_path?: string;
3695
+ stem_exclusion?: string[];
3696
+ }
3632
3697
  export type AnalysisCharFilter = string | AnalysisCharFilterDefinition;
3633
3698
  export interface AnalysisCharFilterBase {
3634
3699
  version?: VersionString;
@@ -3639,6 +3704,20 @@ export interface AnalysisCharGroupTokenizer extends AnalysisTokenizerBase {
3639
3704
  tokenize_on_chars: string[];
3640
3705
  max_token_length?: integer;
3641
3706
  }
3707
+ export interface AnalysisChineseAnalyzer {
3708
+ type: 'chinese';
3709
+ stopwords?: AnalysisStopWords;
3710
+ stopwords_path?: string;
3711
+ }
3712
+ export interface AnalysisCjkAnalyzer {
3713
+ type: 'cjk';
3714
+ stopwords?: AnalysisStopWords;
3715
+ stopwords_path?: string;
3716
+ }
3717
+ export interface AnalysisClassicTokenizer extends AnalysisTokenizerBase {
3718
+ type: 'classic';
3719
+ max_token_length?: integer;
3720
+ }
3642
3721
  export interface AnalysisCommonGramsTokenFilter extends AnalysisTokenFilterBase {
3643
3722
  type: 'common_grams';
3644
3723
  common_words?: string[];
@@ -3662,8 +3741,8 @@ export interface AnalysisConditionTokenFilter extends AnalysisTokenFilterBase {
3662
3741
  }
3663
3742
  export interface AnalysisCustomAnalyzer {
3664
3743
  type: 'custom';
3665
- char_filter?: string[];
3666
- filter?: string[];
3744
+ char_filter?: string | string[];
3745
+ filter?: string | string[];
3667
3746
  position_increment_gap?: integer;
3668
3747
  position_offset_gap?: integer;
3669
3748
  tokenizer: string;
@@ -3673,6 +3752,17 @@ export interface AnalysisCustomNormalizer {
3673
3752
  char_filter?: string[];
3674
3753
  filter?: string[];
3675
3754
  }
3755
+ export interface AnalysisCzechAnalyzer {
3756
+ type: 'czech';
3757
+ stopwords?: AnalysisStopWords;
3758
+ stopwords_path?: string;
3759
+ stem_exclusion?: string[];
3760
+ }
3761
+ export interface AnalysisDanishAnalyzer {
3762
+ type: 'danish';
3763
+ stopwords?: AnalysisStopWords;
3764
+ stopwords_path?: string;
3765
+ }
3676
3766
  export type AnalysisDelimitedPayloadEncoding = 'int' | 'float' | 'identity';
3677
3767
  export interface AnalysisDelimitedPayloadTokenFilter extends AnalysisTokenFilterBase {
3678
3768
  type: 'delimited_payload';
@@ -3685,6 +3775,8 @@ export interface AnalysisDictionaryDecompounderTokenFilter extends AnalysisCompo
3685
3775
  export interface AnalysisDutchAnalyzer {
3686
3776
  type: 'dutch';
3687
3777
  stopwords?: AnalysisStopWords;
3778
+ stopwords_path?: string;
3779
+ stem_exclusion?: string[];
3688
3780
  }
3689
3781
  export type AnalysisEdgeNGramSide = 'front' | 'back';
3690
3782
  export interface AnalysisEdgeNGramTokenFilter extends AnalysisTokenFilterBase {
@@ -3697,9 +3789,9 @@ export interface AnalysisEdgeNGramTokenFilter extends AnalysisTokenFilterBase {
3697
3789
  export interface AnalysisEdgeNGramTokenizer extends AnalysisTokenizerBase {
3698
3790
  type: 'edge_ngram';
3699
3791
  custom_token_chars?: string;
3700
- max_gram: integer;
3701
- min_gram: integer;
3702
- token_chars: AnalysisTokenChar[];
3792
+ max_gram?: integer;
3793
+ min_gram?: integer;
3794
+ token_chars?: AnalysisTokenChar[];
3703
3795
  }
3704
3796
  export interface AnalysisElisionTokenFilter extends AnalysisTokenFilterBase {
3705
3797
  type: 'elision';
@@ -3707,6 +3799,17 @@ export interface AnalysisElisionTokenFilter extends AnalysisTokenFilterBase {
3707
3799
  articles_path?: string;
3708
3800
  articles_case?: SpecUtilsStringified<boolean>;
3709
3801
  }
3802
+ export interface AnalysisEnglishAnalyzer {
3803
+ type: 'english';
3804
+ stopwords?: AnalysisStopWords;
3805
+ stopwords_path?: string;
3806
+ stem_exclusion?: string[];
3807
+ }
3808
+ export interface AnalysisEstonianAnalyzer {
3809
+ type: 'estonian';
3810
+ stopwords?: AnalysisStopWords;
3811
+ stopwords_path?: string;
3812
+ }
3710
3813
  export interface AnalysisFingerprintAnalyzer {
3711
3814
  type: 'fingerprint';
3712
3815
  version?: VersionString;
@@ -3721,10 +3824,51 @@ export interface AnalysisFingerprintTokenFilter extends AnalysisTokenFilterBase
3721
3824
  max_output_size?: integer;
3722
3825
  separator?: string;
3723
3826
  }
3827
+ export interface AnalysisFinnishAnalyzer {
3828
+ type: 'finnish';
3829
+ stopwords?: AnalysisStopWords;
3830
+ stopwords_path?: string;
3831
+ stem_exclusion?: string[];
3832
+ }
3833
+ export interface AnalysisFrenchAnalyzer {
3834
+ type: 'french';
3835
+ stopwords?: AnalysisStopWords;
3836
+ stopwords_path?: string;
3837
+ stem_exclusion?: string[];
3838
+ }
3839
+ export interface AnalysisGalicianAnalyzer {
3840
+ type: 'galician';
3841
+ stopwords?: AnalysisStopWords;
3842
+ stopwords_path?: string;
3843
+ stem_exclusion?: string[];
3844
+ }
3845
+ export interface AnalysisGermanAnalyzer {
3846
+ type: 'german';
3847
+ stopwords?: AnalysisStopWords;
3848
+ stopwords_path?: string;
3849
+ stem_exclusion?: string[];
3850
+ }
3851
+ export interface AnalysisGreekAnalyzer {
3852
+ type: 'greek';
3853
+ stopwords?: AnalysisStopWords;
3854
+ stopwords_path?: string;
3855
+ }
3856
+ export interface AnalysisHindiAnalyzer {
3857
+ type: 'hindi';
3858
+ stopwords?: AnalysisStopWords;
3859
+ stopwords_path?: string;
3860
+ stem_exclusion?: string[];
3861
+ }
3724
3862
  export interface AnalysisHtmlStripCharFilter extends AnalysisCharFilterBase {
3725
3863
  type: 'html_strip';
3726
3864
  escaped_tags?: string[];
3727
3865
  }
3866
+ export interface AnalysisHungarianAnalyzer {
3867
+ type: 'hungarian';
3868
+ stopwords?: AnalysisStopWords;
3869
+ stopwords_path?: string;
3870
+ stem_exclusion?: string[];
3871
+ }
3728
3872
  export interface AnalysisHunspellTokenFilter extends AnalysisTokenFilterBase {
3729
3873
  type: 'hunspell';
3730
3874
  dedup?: boolean;
@@ -3784,6 +3928,24 @@ export interface AnalysisIcuTransformTokenFilter extends AnalysisTokenFilterBase
3784
3928
  dir?: AnalysisIcuTransformDirection;
3785
3929
  id: string;
3786
3930
  }
3931
+ export interface AnalysisIndonesianAnalyzer {
3932
+ type: 'indonesian';
3933
+ stopwords?: AnalysisStopWords;
3934
+ stopwords_path?: string;
3935
+ stem_exclusion?: string[];
3936
+ }
3937
+ export interface AnalysisIrishAnalyzer {
3938
+ type: 'irish';
3939
+ stopwords?: AnalysisStopWords;
3940
+ stopwords_path?: string;
3941
+ stem_exclusion?: string[];
3942
+ }
3943
+ export interface AnalysisItalianAnalyzer {
3944
+ type: 'italian';
3945
+ stopwords?: AnalysisStopWords;
3946
+ stopwords_path?: string;
3947
+ stem_exclusion?: string[];
3948
+ }
3787
3949
  export interface AnalysisKStemTokenFilter extends AnalysisTokenFilterBase {
3788
3950
  type: 'kstem';
3789
3951
  }
@@ -3806,13 +3968,13 @@ export interface AnalysisKeywordAnalyzer {
3806
3968
  export interface AnalysisKeywordMarkerTokenFilter extends AnalysisTokenFilterBase {
3807
3969
  type: 'keyword_marker';
3808
3970
  ignore_case?: boolean;
3809
- keywords?: string[];
3971
+ keywords?: string | string[];
3810
3972
  keywords_path?: string;
3811
3973
  keywords_pattern?: string;
3812
3974
  }
3813
3975
  export interface AnalysisKeywordTokenizer extends AnalysisTokenizerBase {
3814
3976
  type: 'keyword';
3815
- buffer_size: integer;
3977
+ buffer_size?: integer;
3816
3978
  }
3817
3979
  export interface AnalysisKuromojiAnalyzer {
3818
3980
  type: 'kuromoji';
@@ -3856,6 +4018,12 @@ export interface AnalysisLanguageAnalyzer {
3856
4018
  stopwords?: AnalysisStopWords;
3857
4019
  stopwords_path?: string;
3858
4020
  }
4021
+ export interface AnalysisLatvianAnalyzer {
4022
+ type: 'latvian';
4023
+ stopwords?: AnalysisStopWords;
4024
+ stopwords_path?: string;
4025
+ stem_exclusion?: string[];
4026
+ }
3859
4027
  export interface AnalysisLengthTokenFilter extends AnalysisTokenFilterBase {
3860
4028
  type: 'length';
3861
4029
  max?: integer;
@@ -3869,6 +4037,12 @@ export interface AnalysisLimitTokenCountTokenFilter extends AnalysisTokenFilterB
3869
4037
  consume_all_tokens?: boolean;
3870
4038
  max_token_count?: SpecUtilsStringified<integer>;
3871
4039
  }
4040
+ export interface AnalysisLithuanianAnalyzer {
4041
+ type: 'lithuanian';
4042
+ stopwords?: AnalysisStopWords;
4043
+ stopwords_path?: string;
4044
+ stem_exclusion?: string[];
4045
+ }
3872
4046
  export interface AnalysisLowercaseNormalizer {
3873
4047
  type: 'lowercase';
3874
4048
  }
@@ -3922,6 +4096,12 @@ export interface AnalysisNoriTokenizer extends AnalysisTokenizerBase {
3922
4096
  user_dictionary_rules?: string[];
3923
4097
  }
3924
4098
  export type AnalysisNormalizer = AnalysisLowercaseNormalizer | AnalysisCustomNormalizer;
4099
+ export interface AnalysisNorwegianAnalyzer {
4100
+ type: 'norwegian';
4101
+ stopwords?: AnalysisStopWords;
4102
+ stopwords_path?: string;
4103
+ stem_exclusion?: string[];
4104
+ }
3925
4105
  export interface AnalysisPathHierarchyTokenizer extends AnalysisTokenizerBase {
3926
4106
  type: 'path_hierarchy';
3927
4107
  buffer_size?: SpecUtilsStringified<integer>;
@@ -3962,6 +4142,11 @@ export interface AnalysisPatternTokenizer extends AnalysisTokenizerBase {
3962
4142
  group?: integer;
3963
4143
  pattern?: string;
3964
4144
  }
4145
+ export interface AnalysisPersianAnalyzer {
4146
+ type: 'persian';
4147
+ stopwords?: AnalysisStopWords;
4148
+ stopwords_path?: string;
4149
+ }
3965
4150
  export type AnalysisPhoneticEncoder = 'metaphone' | 'double_metaphone' | 'soundex' | 'refined_soundex' | 'caverphone1' | 'caverphone2' | 'cologne' | 'nysiis' | 'koelnerphonetik' | 'haasephonetik' | 'beider_morse' | 'daitch_mokotoff';
3966
4151
  export type AnalysisPhoneticLanguage = 'any' | 'common' | 'cyrillic' | 'english' | 'french' | 'german' | 'hebrew' | 'hungarian' | 'polish' | 'romanian' | 'russian' | 'spanish';
3967
4152
  export type AnalysisPhoneticNameType = 'generic' | 'ashkenazi' | 'sephardic';
@@ -3978,6 +4163,12 @@ export interface AnalysisPhoneticTokenFilter extends AnalysisTokenFilterBase {
3978
4163
  export interface AnalysisPorterStemTokenFilter extends AnalysisTokenFilterBase {
3979
4164
  type: 'porter_stem';
3980
4165
  }
4166
+ export interface AnalysisPortugueseAnalyzer {
4167
+ type: 'portuguese';
4168
+ stopwords?: AnalysisStopWords;
4169
+ stopwords_path?: string;
4170
+ stem_exclusion?: string[];
4171
+ }
3981
4172
  export interface AnalysisPredicateTokenFilter extends AnalysisTokenFilterBase {
3982
4173
  type: 'predicate_token_filter';
3983
4174
  script: Script | string;
@@ -3988,6 +4179,24 @@ export interface AnalysisRemoveDuplicatesTokenFilter extends AnalysisTokenFilter
3988
4179
  export interface AnalysisReverseTokenFilter extends AnalysisTokenFilterBase {
3989
4180
  type: 'reverse';
3990
4181
  }
4182
+ export interface AnalysisRomanianAnalyzer {
4183
+ type: 'romanian';
4184
+ stopwords?: AnalysisStopWords;
4185
+ stopwords_path?: string;
4186
+ stem_exclusion?: string[];
4187
+ }
4188
+ export interface AnalysisRussianAnalyzer {
4189
+ type: 'russian';
4190
+ stopwords?: AnalysisStopWords;
4191
+ stopwords_path?: string;
4192
+ stem_exclusion?: string[];
4193
+ }
4194
+ export interface AnalysisSerbianAnalyzer {
4195
+ type: 'serbian';
4196
+ stopwords?: AnalysisStopWords;
4197
+ stopwords_path?: string;
4198
+ stem_exclusion?: string[];
4199
+ }
3991
4200
  export interface AnalysisShingleTokenFilter extends AnalysisTokenFilterBase {
3992
4201
  type: 'shingle';
3993
4202
  filler_token?: string;
@@ -4001,6 +4210,14 @@ export interface AnalysisSimpleAnalyzer {
4001
4210
  type: 'simple';
4002
4211
  version?: VersionString;
4003
4212
  }
4213
+ export interface AnalysisSimplePatternSplitTokenizer extends AnalysisTokenizerBase {
4214
+ type: 'simple_pattern_split';
4215
+ pattern?: string;
4216
+ }
4217
+ export interface AnalysisSimplePatternTokenizer extends AnalysisTokenizerBase {
4218
+ type: 'simple_pattern';
4219
+ pattern?: string;
4220
+ }
4004
4221
  export interface AnalysisSnowballAnalyzer {
4005
4222
  type: 'snowball';
4006
4223
  version?: VersionString;
@@ -4012,6 +4229,18 @@ export interface AnalysisSnowballTokenFilter extends AnalysisTokenFilterBase {
4012
4229
  type: 'snowball';
4013
4230
  language?: AnalysisSnowballLanguage;
4014
4231
  }
4232
+ export interface AnalysisSoraniAnalyzer {
4233
+ type: 'sorani';
4234
+ stopwords?: AnalysisStopWords;
4235
+ stopwords_path?: string;
4236
+ stem_exclusion?: string[];
4237
+ }
4238
+ export interface AnalysisSpanishAnalyzer {
4239
+ type: 'spanish';
4240
+ stopwords?: AnalysisStopWords;
4241
+ stopwords_path?: string;
4242
+ stem_exclusion?: string[];
4243
+ }
4015
4244
  export interface AnalysisStandardAnalyzer {
4016
4245
  type: 'standard';
4017
4246
  max_token_length?: integer;
@@ -4045,6 +4274,12 @@ export interface AnalysisStopTokenFilter extends AnalysisTokenFilterBase {
4045
4274
  stopwords_path?: string;
4046
4275
  }
4047
4276
  export type AnalysisStopWords = string | string[];
4277
+ export interface AnalysisSwedishAnalyzer {
4278
+ type: 'swedish';
4279
+ stopwords?: AnalysisStopWords;
4280
+ stopwords_path?: string;
4281
+ stem_exclusion?: string[];
4282
+ }
4048
4283
  export type AnalysisSynonymFormat = 'solr' | 'wordnet';
4049
4284
  export interface AnalysisSynonymGraphTokenFilter extends AnalysisTokenFilterBase {
4050
4285
  type: 'synonym_graph';
@@ -4068,6 +4303,14 @@ export interface AnalysisSynonymTokenFilter extends AnalysisTokenFilterBase {
4068
4303
  tokenizer?: string;
4069
4304
  updateable?: boolean;
4070
4305
  }
4306
+ export interface AnalysisThaiAnalyzer {
4307
+ type: 'thai';
4308
+ stopwords?: AnalysisStopWords;
4309
+ stopwords_path?: string;
4310
+ }
4311
+ export interface AnalysisThaiTokenizer extends AnalysisTokenizerBase {
4312
+ type: 'thai';
4313
+ }
4071
4314
  export type AnalysisTokenChar = 'letter' | 'digit' | 'whitespace' | 'punctuation' | 'symbol' | 'custom';
4072
4315
  export type AnalysisTokenFilter = string | AnalysisTokenFilterDefinition;
4073
4316
  export interface AnalysisTokenFilterBase {
@@ -4078,7 +4321,7 @@ export type AnalysisTokenizer = string | AnalysisTokenizerDefinition;
4078
4321
  export interface AnalysisTokenizerBase {
4079
4322
  version?: VersionString;
4080
4323
  }
4081
- export type AnalysisTokenizerDefinition = AnalysisCharGroupTokenizer | AnalysisEdgeNGramTokenizer | AnalysisKeywordTokenizer | AnalysisLetterTokenizer | AnalysisLowercaseTokenizer | AnalysisNGramTokenizer | AnalysisNoriTokenizer | AnalysisPathHierarchyTokenizer | AnalysisStandardTokenizer | AnalysisUaxEmailUrlTokenizer | AnalysisWhitespaceTokenizer | AnalysisKuromojiTokenizer | AnalysisPatternTokenizer | AnalysisIcuTokenizer;
4324
+ export type AnalysisTokenizerDefinition = AnalysisCharGroupTokenizer | AnalysisClassicTokenizer | AnalysisEdgeNGramTokenizer | AnalysisKeywordTokenizer | AnalysisLetterTokenizer | AnalysisLowercaseTokenizer | AnalysisNGramTokenizer | AnalysisPathHierarchyTokenizer | AnalysisPatternTokenizer | AnalysisSimplePatternTokenizer | AnalysisSimplePatternSplitTokenizer | AnalysisStandardTokenizer | AnalysisThaiTokenizer | AnalysisUaxEmailUrlTokenizer | AnalysisWhitespaceTokenizer | AnalysisIcuTokenizer | AnalysisKuromojiTokenizer | AnalysisNoriTokenizer;
4082
4325
  export interface AnalysisTrimTokenFilter extends AnalysisTokenFilterBase {
4083
4326
  type: 'trim';
4084
4327
  }
@@ -4086,6 +4329,12 @@ export interface AnalysisTruncateTokenFilter extends AnalysisTokenFilterBase {
4086
4329
  type: 'truncate';
4087
4330
  length?: integer;
4088
4331
  }
4332
+ export interface AnalysisTurkishAnalyzer {
4333
+ type: 'turkish';
4334
+ stopwords?: AnalysisStopWords;
4335
+ stopwords_path?: string;
4336
+ stem_exclusion?: string[];
4337
+ }
4089
4338
  export interface AnalysisUaxEmailUrlTokenizer extends AnalysisTokenizerBase {
4090
4339
  type: 'uax_url_email';
4091
4340
  max_token_length?: integer;
@@ -4180,13 +4429,15 @@ export interface MappingCompletionProperty extends MappingDocValuesPropertyBase
4180
4429
  search_analyzer?: string;
4181
4430
  type: 'completion';
4182
4431
  }
4432
+ export interface MappingCompositeSubField {
4433
+ type: MappingRuntimeFieldType;
4434
+ }
4183
4435
  export interface MappingConstantKeywordProperty extends MappingPropertyBase {
4184
4436
  value?: any;
4185
4437
  type: 'constant_keyword';
4186
4438
  }
4187
4439
  export interface MappingCorePropertyBase extends MappingPropertyBase {
4188
4440
  copy_to?: Fields;
4189
- similarity?: string;
4190
4441
  store?: boolean;
4191
4442
  }
4192
4443
  export interface MappingDataStreamTimestamp {
@@ -4256,7 +4507,7 @@ export interface MappingDynamicProperty extends MappingDocValuesPropertyBase {
4256
4507
  index?: boolean;
4257
4508
  index_options?: MappingIndexOptions;
4258
4509
  index_phrases?: boolean;
4259
- index_prefixes?: MappingTextIndexPrefixes;
4510
+ index_prefixes?: MappingTextIndexPrefixes | null;
4260
4511
  norms?: boolean;
4261
4512
  position_increment_gap?: integer;
4262
4513
  search_analyzer?: string;
@@ -4393,6 +4644,7 @@ export interface MappingKeywordProperty extends MappingDocValuesPropertyBase {
4393
4644
  normalizer?: string;
4394
4645
  norms?: boolean;
4395
4646
  null_value?: string;
4647
+ similarity?: string | null;
4396
4648
  split_queries_on_whitespace?: boolean;
4397
4649
  time_series_dimension?: boolean;
4398
4650
  type: 'keyword';
@@ -4470,6 +4722,7 @@ export interface MappingRoutingField {
4470
4722
  required: boolean;
4471
4723
  }
4472
4724
  export interface MappingRuntimeField {
4725
+ fields?: Record<string, MappingCompositeSubField>;
4473
4726
  fetch_fields?: (MappingRuntimeFieldFetchFields | Field)[];
4474
4727
  format?: string;
4475
4728
  input_field?: Field;
@@ -4497,6 +4750,7 @@ export interface MappingSearchAsYouTypeProperty extends MappingCorePropertyBase
4497
4750
  norms?: boolean;
4498
4751
  search_analyzer?: string;
4499
4752
  search_quote_analyzer?: string;
4753
+ similarity?: string | null;
4500
4754
  term_vector?: MappingTermVectorOption;
4501
4755
  type: 'search_as_you_type';
4502
4756
  }
@@ -4551,11 +4805,12 @@ export interface MappingTextProperty extends MappingCorePropertyBase {
4551
4805
  index?: boolean;
4552
4806
  index_options?: MappingIndexOptions;
4553
4807
  index_phrases?: boolean;
4554
- index_prefixes?: MappingTextIndexPrefixes;
4808
+ index_prefixes?: MappingTextIndexPrefixes | null;
4555
4809
  norms?: boolean;
4556
4810
  position_increment_gap?: integer;
4557
4811
  search_analyzer?: string;
4558
4812
  search_quote_analyzer?: string;
4813
+ similarity?: string | null;
4559
4814
  term_vector?: MappingTermVectorOption;
4560
4815
  type: 'text';
4561
4816
  }
@@ -4993,7 +5248,7 @@ export interface QueryDslQueryContainer {
4993
5248
  dis_max?: QueryDslDisMaxQuery;
4994
5249
  distance_feature?: QueryDslDistanceFeatureQuery;
4995
5250
  exists?: QueryDslExistsQuery;
4996
- function_score?: QueryDslFunctionScoreQuery;
5251
+ function_score?: QueryDslFunctionScoreQuery | QueryDslFunctionScoreContainer[];
4997
5252
  fuzzy?: Partial<Record<Field, QueryDslFuzzyQuery | string | double | boolean>>;
4998
5253
  geo_bounding_box?: QueryDslGeoBoundingBoxQuery;
4999
5254
  geo_distance?: QueryDslGeoDistanceQuery;
@@ -5486,39 +5741,39 @@ export interface CatAliasesRequest extends CatCatRequestBase {
5486
5741
  }
5487
5742
  export type CatAliasesResponse = CatAliasesAliasesRecord[];
5488
5743
  export interface CatAllocationAllocationRecord {
5489
- shards: string;
5490
- s: string;
5491
- 'shards.undesired': string | null;
5492
- 'write_load.forecast': double | null;
5493
- wlf: double | null;
5494
- writeLoadForecast: double | null;
5495
- 'disk.indices.forecast': ByteSize | null;
5496
- dif: ByteSize | null;
5497
- diskIndicesForecast: ByteSize | null;
5498
- 'disk.indices': ByteSize | null;
5499
- di: ByteSize | null;
5500
- diskIndices: ByteSize | null;
5501
- 'disk.used': ByteSize | null;
5502
- du: ByteSize | null;
5503
- diskUsed: ByteSize | null;
5504
- 'disk.avail': ByteSize | null;
5505
- da: ByteSize | null;
5506
- diskAvail: ByteSize | null;
5507
- 'disk.total': ByteSize | null;
5508
- dt: ByteSize | null;
5509
- diskTotal: ByteSize | null;
5510
- 'disk.percent': Percentage | null;
5511
- dp: Percentage | null;
5512
- diskPercent: Percentage | null;
5513
- host: Host | null;
5514
- h: Host | null;
5515
- ip: Ip | null;
5516
- node: string;
5517
- n: string;
5518
- 'node.role': string | null;
5519
- r: string | null;
5520
- role: string | null;
5521
- nodeRole: string | null;
5744
+ shards?: string;
5745
+ s?: string;
5746
+ 'shards.undesired'?: string | null;
5747
+ 'write_load.forecast'?: SpecUtilsStringified<double> | null;
5748
+ wlf?: SpecUtilsStringified<double> | null;
5749
+ writeLoadForecast?: SpecUtilsStringified<double> | null;
5750
+ 'disk.indices.forecast'?: ByteSize | null;
5751
+ dif?: ByteSize | null;
5752
+ diskIndicesForecast?: ByteSize | null;
5753
+ 'disk.indices'?: ByteSize | null;
5754
+ di?: ByteSize | null;
5755
+ diskIndices?: ByteSize | null;
5756
+ 'disk.used'?: ByteSize | null;
5757
+ du?: ByteSize | null;
5758
+ diskUsed?: ByteSize | null;
5759
+ 'disk.avail'?: ByteSize | null;
5760
+ da?: ByteSize | null;
5761
+ diskAvail?: ByteSize | null;
5762
+ 'disk.total'?: ByteSize | null;
5763
+ dt?: ByteSize | null;
5764
+ diskTotal?: ByteSize | null;
5765
+ 'disk.percent'?: Percentage | null;
5766
+ dp?: Percentage | null;
5767
+ diskPercent?: Percentage | null;
5768
+ host?: Host | null;
5769
+ h?: Host | null;
5770
+ ip?: Ip | null;
5771
+ node?: string;
5772
+ n?: string;
5773
+ 'node.role'?: string | null;
5774
+ r?: string | null;
5775
+ role?: string | null;
5776
+ nodeRole?: string | null;
5522
5777
  }
5523
5778
  export interface CatAllocationRequest extends CatCatRequestBase {
5524
5779
  node_id?: NodeIds;
@@ -5605,6 +5860,10 @@ export interface CatHealthHealthRecord {
5605
5860
  i?: string;
5606
5861
  'shards.initializing'?: string;
5607
5862
  shardsInitializing?: string;
5863
+ 'unassign.pri'?: string;
5864
+ up?: string;
5865
+ 'shards.unassigned.primary'?: string;
5866
+ shardsUnassignedPrimary?: string;
5608
5867
  unassign?: string;
5609
5868
  u?: string;
5610
5869
  'shards.unassigned'?: string;
@@ -7402,6 +7661,7 @@ export interface ClusterAllocationExplainClusterInfo {
7402
7661
  export interface ClusterAllocationExplainCurrentNode {
7403
7662
  id: Id;
7404
7663
  name: Name;
7664
+ roles: NodeRoles;
7405
7665
  attributes: Record<string, string>;
7406
7666
  transport_address: TransportAddress;
7407
7667
  weight_ranking: integer;
@@ -7421,6 +7681,7 @@ export interface ClusterAllocationExplainNodeAllocationExplanation {
7421
7681
  node_decision: ClusterAllocationExplainDecision;
7422
7682
  node_id: Id;
7423
7683
  node_name: Name;
7684
+ roles: NodeRoles;
7424
7685
  store?: ClusterAllocationExplainAllocationStore;
7425
7686
  transport_address: TransportAddress;
7426
7687
  weight_ranking: integer;
@@ -7535,6 +7796,7 @@ export interface ClusterHealthHealthResponseBody {
7535
7796
  task_max_waiting_in_queue?: Duration;
7536
7797
  task_max_waiting_in_queue_millis: DurationValue<UnitMillis>;
7537
7798
  timed_out: boolean;
7799
+ unassigned_primary_shards: integer;
7538
7800
  unassigned_shards: integer;
7539
7801
  }
7540
7802
  export interface ClusterHealthIndexHealthStats {
@@ -7547,6 +7809,7 @@ export interface ClusterHealthIndexHealthStats {
7547
7809
  shards?: Record<string, ClusterHealthShardHealthStats>;
7548
7810
  status: HealthStatus;
7549
7811
  unassigned_shards: integer;
7812
+ unassigned_primary_shards: integer;
7550
7813
  }
7551
7814
  export interface ClusterHealthRequest extends RequestBase {
7552
7815
  index?: Indices;
@@ -7570,6 +7833,7 @@ export interface ClusterHealthShardHealthStats {
7570
7833
  relocating_shards: integer;
7571
7834
  status: HealthStatus;
7572
7835
  unassigned_shards: integer;
7836
+ unassigned_primary_shards: integer;
7573
7837
  }
7574
7838
  export interface ClusterInfoRequest extends RequestBase {
7575
7839
  target: ClusterInfoTargets;
@@ -7918,7 +8182,7 @@ export interface ClusterStatsOperatingSystemMemoryInfo {
7918
8182
  }
7919
8183
  export interface ClusterStatsRequest extends RequestBase {
7920
8184
  node_id?: NodeIds;
7921
- flat_settings?: boolean;
8185
+ include_remotes?: boolean;
7922
8186
  timeout?: Duration;
7923
8187
  }
7924
8188
  export type ClusterStatsResponse = ClusterStatsStatsResponseBase;
@@ -8412,6 +8676,7 @@ export interface EnrichStatsCacheStats {
8412
8676
  misses: integer;
8413
8677
  misses_time_in_millis: DurationValue<UnitMillis>;
8414
8678
  evictions: integer;
8679
+ size_in_bytes: long;
8415
8680
  }
8416
8681
  export interface EnrichStatsCoordinatorStats {
8417
8682
  executed_searches_total: long;
@@ -8498,15 +8763,28 @@ export interface EqlSearchRequest extends RequestBase {
8498
8763
  }
8499
8764
  export type EqlSearchResponse<TEvent = unknown> = EqlEqlSearchResponseBase<TEvent>;
8500
8765
  export type EqlSearchResultPosition = 'tail' | 'head';
8766
+ export interface EsqlTableValuesContainer {
8767
+ integer?: EsqlTableValuesIntegerValue[];
8768
+ keyword?: EsqlTableValuesKeywordValue[];
8769
+ long?: EsqlTableValuesLongValue[];
8770
+ double?: EsqlTableValuesLongDouble[];
8771
+ }
8772
+ export type EsqlTableValuesIntegerValue = integer | integer[];
8773
+ export type EsqlTableValuesKeywordValue = string | string[];
8774
+ export type EsqlTableValuesLongDouble = double | double[];
8775
+ export type EsqlTableValuesLongValue = long | long[];
8501
8776
  export type EsqlQueryEsqlFormat = 'csv' | 'json' | 'tsv' | 'txt' | 'yaml' | 'cbor' | 'smile' | 'arrow';
8502
8777
  export interface EsqlQueryRequest extends RequestBase {
8503
8778
  format?: EsqlQueryEsqlFormat;
8504
8779
  delimiter?: string;
8780
+ drop_null_columns?: boolean;
8505
8781
  columnar?: boolean;
8506
8782
  filter?: QueryDslQueryContainer;
8507
8783
  locale?: string;
8508
- params?: ScalarValue[];
8784
+ params?: FieldValue[];
8785
+ profile?: boolean;
8509
8786
  query: string;
8787
+ tables?: Record<string, Record<string, EsqlTableValuesContainer>>;
8510
8788
  }
8511
8789
  export type EsqlQueryResponse = EsqlColumns;
8512
8790
  export interface FeaturesFeature {
@@ -8912,6 +9190,7 @@ export interface IndicesCacheQueries {
8912
9190
  export interface IndicesDataStream {
8913
9191
  _meta?: Metadata;
8914
9192
  allow_custom_routing?: boolean;
9193
+ failure_store?: IndicesFailureStore;
8915
9194
  generation: integer;
8916
9195
  hidden: boolean;
8917
9196
  ilm_policy?: Name;
@@ -8921,6 +9200,7 @@ export interface IndicesDataStream {
8921
9200
  lifecycle?: IndicesDataStreamLifecycleWithRollover;
8922
9201
  name: DataStreamName;
8923
9202
  replicated?: boolean;
9203
+ rollover_on_write: boolean;
8924
9204
  status: HealthStatus;
8925
9205
  system?: boolean;
8926
9206
  template: Name;
@@ -8930,8 +9210,8 @@ export interface IndicesDataStreamIndex {
8930
9210
  index_name: IndexName;
8931
9211
  index_uuid: Uuid;
8932
9212
  ilm_policy?: Name;
8933
- managed_by: IndicesManagedBy;
8934
- prefer_ilm: boolean;
9213
+ managed_by?: IndicesManagedBy;
9214
+ prefer_ilm?: boolean;
8935
9215
  }
8936
9216
  export interface IndicesDataStreamLifecycle {
8937
9217
  data_retention?: Duration;
@@ -8971,6 +9251,11 @@ export interface IndicesDownsamplingRound {
8971
9251
  after: Duration;
8972
9252
  config: IndicesDownsampleConfig;
8973
9253
  }
9254
+ export interface IndicesFailureStore {
9255
+ enabled: boolean;
9256
+ indices: IndicesDataStreamIndex[];
9257
+ rollover_on_write: boolean;
9258
+ }
8974
9259
  export interface IndicesFielddataFrequencyFilter {
8975
9260
  max: double;
8976
9261
  min: double;
@@ -9115,6 +9400,8 @@ export interface IndicesIndexTemplate {
9115
9400
  _meta?: Metadata;
9116
9401
  allow_auto_create?: boolean;
9117
9402
  data_stream?: IndicesIndexTemplateDataStreamConfiguration;
9403
+ deprecated?: boolean;
9404
+ ignore_missing_component_templates?: Names;
9118
9405
  }
9119
9406
  export interface IndicesIndexTemplateDataStreamConfiguration {
9120
9407
  hidden?: boolean;
@@ -9433,6 +9720,8 @@ export interface IndicesCreateResponse {
9433
9720
  }
9434
9721
  export interface IndicesCreateDataStreamRequest extends RequestBase {
9435
9722
  name: DataStreamName;
9723
+ master_timeout?: Duration;
9724
+ timeout?: Duration;
9436
9725
  }
9437
9726
  export type IndicesCreateDataStreamResponse = AcknowledgedResponseBase;
9438
9727
  export interface IndicesDataStreamsStatsDataStreamsStatsItem {
@@ -9479,6 +9768,7 @@ export interface IndicesDeleteDataLifecycleRequest extends RequestBase {
9479
9768
  export type IndicesDeleteDataLifecycleResponse = AcknowledgedResponseBase;
9480
9769
  export interface IndicesDeleteDataStreamRequest extends RequestBase {
9481
9770
  name: DataStreamNames;
9771
+ master_timeout?: Duration;
9482
9772
  expand_wildcards?: ExpandWildcards;
9483
9773
  }
9484
9774
  export type IndicesDeleteDataStreamResponse = AcknowledgedResponseBase;
@@ -9665,6 +9955,7 @@ export interface IndicesGetDataLifecycleRequest extends RequestBase {
9665
9955
  name: DataStreamNames;
9666
9956
  expand_wildcards?: ExpandWildcards;
9667
9957
  include_defaults?: boolean;
9958
+ master_timeout?: Duration;
9668
9959
  }
9669
9960
  export interface IndicesGetDataLifecycleResponse {
9670
9961
  data_streams: IndicesGetDataLifecycleDataStreamWithLifecycle[];
@@ -9673,6 +9964,8 @@ export interface IndicesGetDataStreamRequest extends RequestBase {
9673
9964
  name?: DataStreamNames;
9674
9965
  expand_wildcards?: ExpandWildcards;
9675
9966
  include_defaults?: boolean;
9967
+ master_timeout?: Duration;
9968
+ verbose?: boolean;
9676
9969
  }
9677
9970
  export interface IndicesGetDataStreamResponse {
9678
9971
  data_streams: IndicesDataStream[];
@@ -9738,6 +10031,8 @@ export interface IndicesGetTemplateRequest extends RequestBase {
9738
10031
  export type IndicesGetTemplateResponse = Record<string, IndicesTemplateMapping>;
9739
10032
  export interface IndicesMigrateToDataStreamRequest extends RequestBase {
9740
10033
  name: IndexName;
10034
+ master_timeout?: Duration;
10035
+ timeout?: Duration;
9741
10036
  }
9742
10037
  export type IndicesMigrateToDataStreamResponse = AcknowledgedResponseBase;
9743
10038
  export interface IndicesModifyDataStreamAction {
@@ -9767,6 +10062,7 @@ export interface IndicesOpenResponse {
9767
10062
  }
9768
10063
  export interface IndicesPromoteDataStreamRequest extends RequestBase {
9769
10064
  name: IndexName;
10065
+ master_timeout?: Duration;
9770
10066
  }
9771
10067
  export type IndicesPromoteDataStreamResponse = any;
9772
10068
  export interface IndicesPutAliasRequest extends RequestBase {
@@ -10419,7 +10715,7 @@ export type InferenceDenseVector = float[];
10419
10715
  export interface InferenceInferenceEndpoint {
10420
10716
  service: string;
10421
10717
  service_settings: InferenceServiceSettings;
10422
- task_settings: InferenceTaskSettings;
10718
+ task_settings?: InferenceTaskSettings;
10423
10719
  }
10424
10720
  export interface InferenceInferenceEndpointInfo extends InferenceInferenceEndpoint {
10425
10721
  inference_id: string;
@@ -10481,7 +10777,7 @@ export interface InferencePutRequest extends RequestBase {
10481
10777
  export type InferencePutResponse = InferenceInferenceEndpointInfo;
10482
10778
  export interface IngestAppendProcessor extends IngestProcessorBase {
10483
10779
  field: Field;
10484
- value: any[];
10780
+ value: any | any[];
10485
10781
  allow_duplicates?: boolean;
10486
10782
  }
10487
10783
  export interface IngestAttachmentProcessor extends IngestProcessorBase {
@@ -10506,13 +10802,26 @@ export interface IngestCircleProcessor extends IngestProcessorBase {
10506
10802
  shape_type: IngestShapeType;
10507
10803
  target_field?: Field;
10508
10804
  }
10805
+ export interface IngestCommunityIDProcessor extends IngestProcessorBase {
10806
+ source_ip?: Field;
10807
+ source_port?: Field;
10808
+ destination_ip?: Field;
10809
+ destination_port?: Field;
10810
+ iana_number?: Field;
10811
+ icmp_type?: Field;
10812
+ icmp_code?: Field;
10813
+ transport?: Field;
10814
+ target_field?: Field;
10815
+ seed?: integer;
10816
+ ignore_missing?: boolean;
10817
+ }
10509
10818
  export interface IngestConvertProcessor extends IngestProcessorBase {
10510
10819
  field: Field;
10511
10820
  ignore_missing?: boolean;
10512
10821
  target_field?: Field;
10513
10822
  type: IngestConvertType;
10514
10823
  }
10515
- export type IngestConvertType = 'integer' | 'long' | 'float' | 'double' | 'string' | 'boolean' | 'auto';
10824
+ export type IngestConvertType = 'integer' | 'long' | 'double' | 'float' | 'boolean' | 'ip' | 'string' | 'auto';
10516
10825
  export interface IngestCsvProcessor extends IngestProcessorBase {
10517
10826
  empty_value?: any;
10518
10827
  field: Field;
@@ -10541,6 +10850,7 @@ export interface IngestDateProcessor extends IngestProcessorBase {
10541
10850
  locale?: string;
10542
10851
  target_field?: Field;
10543
10852
  timezone?: string;
10853
+ output_format?: string;
10544
10854
  }
10545
10855
  export interface IngestDissectProcessor extends IngestProcessorBase {
10546
10856
  append_separator?: string;
@@ -10550,6 +10860,7 @@ export interface IngestDissectProcessor extends IngestProcessorBase {
10550
10860
  }
10551
10861
  export interface IngestDotExpanderProcessor extends IngestProcessorBase {
10552
10862
  field: Field;
10863
+ override?: boolean;
10553
10864
  path?: string;
10554
10865
  }
10555
10866
  export interface IngestDropProcessor extends IngestProcessorBase {
@@ -10566,6 +10877,14 @@ export interface IngestEnrichProcessor extends IngestProcessorBase {
10566
10877
  export interface IngestFailProcessor extends IngestProcessorBase {
10567
10878
  message: string;
10568
10879
  }
10880
+ export type IngestFingerprintDigest = 'MD5' | 'SHA-1' | 'SHA-256' | 'SHA-512' | 'MurmurHash3';
10881
+ export interface IngestFingerprintProcessor extends IngestProcessorBase {
10882
+ fields: Fields;
10883
+ target_field?: Field;
10884
+ salt?: string;
10885
+ method?: IngestFingerprintDigest;
10886
+ ignore_missing?: boolean;
10887
+ }
10569
10888
  export interface IngestForeachProcessor extends IngestProcessorBase {
10570
10889
  field: Field;
10571
10890
  ignore_missing?: boolean;
@@ -10591,8 +10910,10 @@ export interface IngestGeoIpProcessor extends IngestProcessorBase {
10591
10910
  ignore_missing?: boolean;
10592
10911
  properties?: string[];
10593
10912
  target_field?: Field;
10913
+ download_database_on_pipeline_creation?: boolean;
10594
10914
  }
10595
10915
  export interface IngestGrokProcessor extends IngestProcessorBase {
10916
+ ecs_compatibility?: string;
10596
10917
  field: Field;
10597
10918
  ignore_missing?: boolean;
10598
10919
  pattern_definitions?: Record<string, string>;
@@ -10632,6 +10953,15 @@ export interface IngestInferenceProcessor extends IngestProcessorBase {
10632
10953
  field_map?: Record<Field, any>;
10633
10954
  inference_config?: IngestInferenceConfig;
10634
10955
  }
10956
+ export interface IngestIpLocationProcessor extends IngestProcessorBase {
10957
+ database_file?: string;
10958
+ field: Field;
10959
+ first_only?: boolean;
10960
+ ignore_missing?: boolean;
10961
+ properties?: string[];
10962
+ target_field?: Field;
10963
+ download_database_on_pipeline_creation?: boolean;
10964
+ }
10635
10965
  export interface IngestJoinProcessor extends IngestProcessorBase {
10636
10966
  field: Field;
10637
10967
  separator: string;
@@ -10666,11 +10996,20 @@ export interface IngestLowercaseProcessor extends IngestProcessorBase {
10666
10996
  export interface IngestMaxmind {
10667
10997
  account_id: Id;
10668
10998
  }
10999
+ export interface IngestNetworkDirectionProcessor extends IngestProcessorBase {
11000
+ source_ip?: Field;
11001
+ destination_ip?: Field;
11002
+ target_field?: Field;
11003
+ internal_networks?: string[];
11004
+ internal_networks_field?: Field;
11005
+ ignore_missing?: boolean;
11006
+ }
10669
11007
  export interface IngestPipeline {
10670
11008
  description?: string;
10671
11009
  on_failure?: IngestProcessorContainer[];
10672
11010
  processors?: IngestProcessorContainer[];
10673
11011
  version?: VersionNumber;
11012
+ deprecated?: boolean;
10674
11013
  _meta?: Metadata;
10675
11014
  }
10676
11015
  export interface IngestPipelineConfig {
@@ -10694,6 +11033,7 @@ export interface IngestProcessorContainer {
10694
11033
  attachment?: IngestAttachmentProcessor;
10695
11034
  bytes?: IngestBytesProcessor;
10696
11035
  circle?: IngestCircleProcessor;
11036
+ community_id?: IngestCommunityIDProcessor;
10697
11037
  convert?: IngestConvertProcessor;
10698
11038
  csv?: IngestCsvProcessor;
10699
11039
  date?: IngestDateProcessor;
@@ -10703,7 +11043,9 @@ export interface IngestProcessorContainer {
10703
11043
  drop?: IngestDropProcessor;
10704
11044
  enrich?: IngestEnrichProcessor;
10705
11045
  fail?: IngestFailProcessor;
11046
+ fingerprint?: IngestFingerprintProcessor;
10706
11047
  foreach?: IngestForeachProcessor;
11048
+ ip_location?: IngestIpLocationProcessor;
10707
11049
  geo_grid?: IngestGeoGridProcessor;
10708
11050
  geoip?: IngestGeoIpProcessor;
10709
11051
  grok?: IngestGrokProcessor;
@@ -10714,8 +11056,10 @@ export interface IngestProcessorContainer {
10714
11056
  json?: IngestJsonProcessor;
10715
11057
  kv?: IngestKeyValueProcessor;
10716
11058
  lowercase?: IngestLowercaseProcessor;
11059
+ network_direction?: IngestNetworkDirectionProcessor;
10717
11060
  pipeline?: IngestPipelineProcessor;
10718
11061
  redact?: IngestRedactProcessor;
11062
+ registered_domain?: IngestRegisteredDomainProcessor;
10719
11063
  remove?: IngestRemoveProcessor;
10720
11064
  rename?: IngestRenameProcessor;
10721
11065
  reroute?: IngestRerouteProcessor;
@@ -10724,6 +11068,7 @@ export interface IngestProcessorContainer {
10724
11068
  set_security_user?: IngestSetSecurityUserProcessor;
10725
11069
  sort?: IngestSortProcessor;
10726
11070
  split?: IngestSplitProcessor;
11071
+ terminate?: IngestTerminateProcessor;
10727
11072
  trim?: IngestTrimProcessor;
10728
11073
  uppercase?: IngestUppercaseProcessor;
10729
11074
  urldecode?: IngestUrlDecodeProcessor;
@@ -10738,6 +11083,12 @@ export interface IngestRedactProcessor extends IngestProcessorBase {
10738
11083
  suffix?: string;
10739
11084
  ignore_missing?: boolean;
10740
11085
  skip_if_unlicensed?: boolean;
11086
+ trace_redact?: boolean;
11087
+ }
11088
+ export interface IngestRegisteredDomainProcessor extends IngestProcessorBase {
11089
+ field: Field;
11090
+ target_field?: Field;
11091
+ ignore_missing?: boolean;
10741
11092
  }
10742
11093
  export interface IngestRemoveProcessor extends IngestProcessorBase {
10743
11094
  field: Fields;
@@ -10785,6 +11136,8 @@ export interface IngestSplitProcessor extends IngestProcessorBase {
10785
11136
  separator: string;
10786
11137
  target_field?: Field;
10787
11138
  }
11139
+ export interface IngestTerminateProcessor extends IngestProcessorBase {
11140
+ }
10788
11141
  export interface IngestTrimProcessor extends IngestProcessorBase {
10789
11142
  field: Field;
10790
11143
  ignore_missing?: boolean;
@@ -10810,11 +11163,12 @@ export interface IngestUrlDecodeProcessor extends IngestProcessorBase {
10810
11163
  export interface IngestUserAgentProcessor extends IngestProcessorBase {
10811
11164
  field: Field;
10812
11165
  ignore_missing?: boolean;
10813
- options?: IngestUserAgentProperty[];
10814
11166
  regex_file?: string;
10815
11167
  target_field?: Field;
11168
+ properties?: IngestUserAgentProperty[];
11169
+ extract_device_type?: boolean;
10816
11170
  }
10817
- export type IngestUserAgentProperty = 'NAME' | 'MAJOR' | 'MINOR' | 'PATCH' | 'OS' | 'OS_NAME' | 'OS_MAJOR' | 'OS_MINOR' | 'DEVICE' | 'BUILD';
11171
+ export type IngestUserAgentProperty = 'name' | 'os' | 'device' | 'original' | 'version';
10818
11172
  export interface IngestDeleteGeoipDatabaseRequest extends RequestBase {
10819
11173
  id: Ids;
10820
11174
  master_timeout?: Duration;
@@ -10890,6 +11244,7 @@ export interface IngestPutPipelineRequest extends RequestBase {
10890
11244
  on_failure?: IngestProcessorContainer[];
10891
11245
  processors?: IngestProcessorContainer[];
10892
11246
  version?: VersionNumber;
11247
+ deprecated?: boolean;
10893
11248
  }
10894
11249
  export type IngestPutPipelineResponse = AcknowledgedResponseBase;
10895
11250
  export interface IngestSimulateDocument {
@@ -10910,24 +11265,35 @@ export type IngestSimulateDocumentSimulation = IngestSimulateDocumentSimulationK
10910
11265
  [property: string]: string | Id | IndexName | IngestSimulateIngest | Record<string, any> | SpecUtilsStringified<VersionNumber> | VersionType;
10911
11266
  };
10912
11267
  export interface IngestSimulateIngest {
11268
+ _redact?: IngestSimulateRedact;
10913
11269
  timestamp: DateTime;
10914
11270
  pipeline?: Name;
10915
11271
  }
10916
11272
  export interface IngestSimulatePipelineSimulation {
10917
11273
  doc?: IngestSimulateDocumentSimulation;
10918
- processor_results?: IngestSimulatePipelineSimulation[];
10919
11274
  tag?: string;
10920
11275
  processor_type?: string;
10921
11276
  status?: WatcherActionStatusOptions;
11277
+ description?: string;
11278
+ ignored_error?: ErrorCause;
11279
+ error?: ErrorCause;
11280
+ }
11281
+ export interface IngestSimulateRedact {
11282
+ _is_redacted: boolean;
10922
11283
  }
10923
11284
  export interface IngestSimulateRequest extends RequestBase {
10924
11285
  id?: Id;
10925
11286
  verbose?: boolean;
10926
- docs?: IngestSimulateDocument[];
11287
+ docs: IngestSimulateDocument[];
10927
11288
  pipeline?: IngestPipeline;
10928
11289
  }
10929
11290
  export interface IngestSimulateResponse {
10930
- docs: IngestSimulatePipelineSimulation[];
11291
+ docs: IngestSimulateSimulateDocumentResult[];
11292
+ }
11293
+ export interface IngestSimulateSimulateDocumentResult {
11294
+ doc?: IngestSimulateDocumentSimulation;
11295
+ error?: ErrorCause;
11296
+ processor_results?: IngestSimulatePipelineSimulation[];
10931
11297
  }
10932
11298
  export interface LicenseLicense {
10933
11299
  expiry_date_in_millis: EpochTime<UnitMillis>;
@@ -11558,8 +11924,7 @@ export interface MlDelayedDataCheckConfig {
11558
11924
  enabled: boolean;
11559
11925
  }
11560
11926
  export type MlDeploymentAllocationState = 'started' | 'starting' | 'fully_allocated';
11561
- export type MlDeploymentAssignmentState = 'starting' | 'started' | 'stopping' | 'failed';
11562
- export type MlDeploymentState = 'started' | 'starting' | 'stopping';
11927
+ export type MlDeploymentAssignmentState = 'started' | 'starting' | 'stopping' | 'failed';
11563
11928
  export interface MlDetectionRule {
11564
11929
  actions?: MlRuleAction[];
11565
11930
  conditions?: MlRuleCondition[];
@@ -11898,7 +12263,7 @@ export interface MlPerPartitionCategorization {
11898
12263
  enabled?: boolean;
11899
12264
  stop_on_warn?: boolean;
11900
12265
  }
11901
- export type MlPredictedValue = string | double | boolean | integer;
12266
+ export type MlPredictedValue = ScalarValue | ScalarValue[];
11902
12267
  export interface MlQuestionAnsweringInferenceOptions {
11903
12268
  num_top_classes?: integer;
11904
12269
  tokenization?: MlTokenizationConfigContainer;
@@ -12073,7 +12438,7 @@ export interface MlTrainedModelDeploymentStats {
12073
12438
  rejected_execution_count: integer;
12074
12439
  reason: string;
12075
12440
  start_time: EpochTime<UnitMillis>;
12076
- state: MlDeploymentState;
12441
+ state: MlDeploymentAssignmentState;
12077
12442
  threads_per_allocation: integer;
12078
12443
  timeout_count: integer;
12079
12444
  }
@@ -13860,7 +14225,7 @@ export interface NodesInfoNodeInfoSettingsIngest {
13860
14225
  inference?: NodesInfoNodeInfoIngestInfo;
13861
14226
  }
13862
14227
  export interface NodesInfoNodeInfoSettingsNetwork {
13863
- host?: Host;
14228
+ host?: Host | Host[];
13864
14229
  }
13865
14230
  export interface NodesInfoNodeInfoSettingsNode {
13866
14231
  name: Name;
@@ -13887,6 +14252,7 @@ export interface NodesInfoNodeInfoXpack {
13887
14252
  license?: NodesInfoNodeInfoXpackLicense;
13888
14253
  security: NodesInfoNodeInfoXpackSecurity;
13889
14254
  notification?: Record<string, any>;
14255
+ ml?: NodesInfoNodeInfoXpackMl;
13890
14256
  }
13891
14257
  export interface NodesInfoNodeInfoXpackLicense {
13892
14258
  self_generated: NodesInfoNodeInfoXpackLicenseType;
@@ -13894,6 +14260,9 @@ export interface NodesInfoNodeInfoXpackLicense {
13894
14260
  export interface NodesInfoNodeInfoXpackLicenseType {
13895
14261
  type: string;
13896
14262
  }
14263
+ export interface NodesInfoNodeInfoXpackMl {
14264
+ use_auto_machine_memory_percent?: boolean;
14265
+ }
13897
14266
  export interface NodesInfoNodeInfoXpackSecurity {
13898
14267
  http?: NodesInfoNodeInfoXpackSecuritySsl;
13899
14268
  enabled: string;
@@ -13901,8 +14270,8 @@ export interface NodesInfoNodeInfoXpackSecurity {
13901
14270
  authc?: NodesInfoNodeInfoXpackSecurityAuthc;
13902
14271
  }
13903
14272
  export interface NodesInfoNodeInfoXpackSecurityAuthc {
13904
- realms: NodesInfoNodeInfoXpackSecurityAuthcRealms;
13905
- token: NodesInfoNodeInfoXpackSecurityAuthcToken;
14273
+ realms?: NodesInfoNodeInfoXpackSecurityAuthcRealms;
14274
+ token?: NodesInfoNodeInfoXpackSecurityAuthcToken;
13906
14275
  }
13907
14276
  export interface NodesInfoNodeInfoXpackSecurityAuthcRealms {
13908
14277
  file?: Record<string, NodesInfoNodeInfoXpackSecurityAuthcRealmsStatus>;
@@ -14034,7 +14403,7 @@ export interface QueryRulesQueryRuleCriteria {
14034
14403
  values?: any[];
14035
14404
  }
14036
14405
  export type QueryRulesQueryRuleCriteriaType = 'global' | 'exact' | 'exact_fuzzy' | 'fuzzy' | 'prefix' | 'suffix' | 'contains' | 'lt' | 'lte' | 'gt' | 'gte' | 'always';
14037
- export type QueryRulesQueryRuleType = 'pinned';
14406
+ export type QueryRulesQueryRuleType = 'pinned' | 'exclude';
14038
14407
  export interface QueryRulesQueryRuleset {
14039
14408
  ruleset_id: Id;
14040
14409
  rules: QueryRulesQueryRule[];
@@ -14088,6 +14457,18 @@ export interface QueryRulesPutRulesetRequest extends RequestBase {
14088
14457
  export interface QueryRulesPutRulesetResponse {
14089
14458
  result: Result;
14090
14459
  }
14460
+ export interface QueryRulesTestQueryRulesetMatchedRule {
14461
+ ruleset_id: Id;
14462
+ rule_id: Id;
14463
+ }
14464
+ export interface QueryRulesTestRequest extends RequestBase {
14465
+ ruleset_id: Id;
14466
+ match_criteria: Record<string, any>;
14467
+ }
14468
+ export interface QueryRulesTestResponse {
14469
+ total_matched_rules: integer;
14470
+ matched_rules: QueryRulesTestQueryRulesetMatchedRule[];
14471
+ }
14091
14472
  export interface RollupDateHistogramGrouping {
14092
14473
  delay?: Duration;
14093
14474
  field: Field;
@@ -14367,6 +14748,10 @@ export interface SearchableSnapshotsStatsResponse {
14367
14748
  stats: any;
14368
14749
  total: any;
14369
14750
  }
14751
+ export interface SecurityAccess {
14752
+ replication?: SecurityReplicationAccess[];
14753
+ search?: SecuritySearchAccess[];
14754
+ }
14370
14755
  export interface SecurityApiKey {
14371
14756
  creation?: long;
14372
14757
  expiration?: long;
@@ -14397,7 +14782,7 @@ export interface SecurityBulkError {
14397
14782
  export interface SecurityClusterNode {
14398
14783
  name: Name;
14399
14784
  }
14400
- export type SecurityClusterPrivilege = 'all' | 'cancel_task' | 'create_snapshot' | 'cross_cluster_replication' | 'cross_cluster_search' | 'delegate_pki' | 'grant_api_key' | 'manage' | 'manage_api_key' | 'manage_autoscaling' | 'manage_behavioral_analytics' | 'manage_ccr' | 'manage_data_frame_transforms' | 'manage_data_stream_global_retention' | 'manage_enrich' | 'manage_ilm' | 'manage_index_templates' | 'manage_inference' | 'manage_ingest_pipelines' | 'manage_logstash_pipelines' | 'manage_ml' | 'manage_oidc' | 'manage_own_api_key' | 'manage_pipeline' | 'manage_rollup' | 'manage_saml' | 'manage_search_application' | 'manage_search_query_rules' | 'manage_search_synonyms' | 'manage_security' | 'manage_service_account' | 'manage_slm' | 'manage_token' | 'manage_transform' | 'manage_user_profile' | 'manage_watcher' | 'monitor' | 'monitor_data_frame_transforms' | 'monitor_data_stream_global_retention' | 'monitor_enrich' | 'monitor_inference' | 'monitor_ml' | 'monitor_rollup' | 'monitor_snapshot' | 'monitor_text_structure' | 'monitor_transform' | 'monitor_watcher' | 'none' | 'post_behavioral_analytics_event' | 'read_ccr' | 'read_connector_secrets' | 'read_fleet_secrets' | 'read_ilm' | 'read_pipeline' | 'read_security' | 'read_slm' | 'transport_client' | 'write_connector_secrets' | 'write_fleet_secrets' | string;
14785
+ export type SecurityClusterPrivilege = 'all' | 'cancel_task' | 'create_snapshot' | 'cross_cluster_replication' | 'cross_cluster_search' | 'delegate_pki' | 'grant_api_key' | 'manage' | 'manage_api_key' | 'manage_autoscaling' | 'manage_behavioral_analytics' | 'manage_ccr' | 'manage_data_frame_transforms' | 'manage_data_stream_global_retention' | 'manage_enrich' | 'manage_ilm' | 'manage_index_templates' | 'manage_inference' | 'manage_ingest_pipelines' | 'manage_logstash_pipelines' | 'manage_ml' | 'manage_oidc' | 'manage_own_api_key' | 'manage_pipeline' | 'manage_rollup' | 'manage_saml' | 'manage_search_application' | 'manage_search_query_rules' | 'manage_search_synonyms' | 'manage_security' | 'manage_service_account' | 'manage_slm' | 'manage_token' | 'manage_transform' | 'manage_user_profile' | 'manage_watcher' | 'monitor' | 'monitor_data_frame_transforms' | 'monitor_data_stream_global_retention' | 'monitor_enrich' | 'monitor_inference' | 'monitor_ml' | 'monitor_rollup' | 'monitor_snapshot' | 'monitor_text_structure' | 'monitor_transform' | 'monitor_watcher' | 'none' | 'post_behavioral_analytics_event' | 'read_ccr' | 'read_fleet_secrets' | 'read_ilm' | 'read_pipeline' | 'read_security' | 'read_slm' | 'transport_client' | 'write_connector_secrets' | 'write_fleet_secrets' | string;
14401
14786
  export interface SecurityCreatedStatus {
14402
14787
  created: boolean;
14403
14788
  }
@@ -14430,6 +14815,18 @@ export interface SecurityRealmInfo {
14430
14815
  name: Name;
14431
14816
  type: string;
14432
14817
  }
14818
+ export interface SecurityRemoteIndicesPrivileges {
14819
+ clusters: Names;
14820
+ field_security?: SecurityFieldSecurity;
14821
+ names: Indices;
14822
+ privileges: SecurityIndexPrivilege[];
14823
+ query?: SecurityIndicesPrivilegesQuery;
14824
+ allow_restricted_indices?: boolean;
14825
+ }
14826
+ export interface SecurityReplicationAccess {
14827
+ names: IndexName[];
14828
+ allow_restricted_indices?: boolean;
14829
+ }
14433
14830
  export interface SecurityRoleDescriptor {
14434
14831
  cluster?: SecurityClusterPrivilege[];
14435
14832
  indices?: SecurityIndicesPrivileges[];
@@ -14480,6 +14877,12 @@ export interface SecurityRoleTemplateScript {
14480
14877
  lang?: ScriptLanguage;
14481
14878
  options?: Record<string, string>;
14482
14879
  }
14880
+ export interface SecuritySearchAccess {
14881
+ field_security?: SecurityFieldSecurity;
14882
+ names: IndexName[];
14883
+ query?: SecurityIndicesPrivilegesQuery;
14884
+ allow_restricted_indices?: boolean;
14885
+ }
14483
14886
  export type SecurityTemplateFormat = 'string' | 'json';
14484
14887
  export interface SecurityUser {
14485
14888
  email?: string | null;
@@ -14631,6 +15034,19 @@ export interface SecurityCreateApiKeyResponse {
14631
15034
  name: Name;
14632
15035
  encoded: string;
14633
15036
  }
15037
+ export interface SecurityCreateCrossClusterApiKeyRequest extends RequestBase {
15038
+ access: SecurityAccess;
15039
+ expiration?: Duration;
15040
+ metadata?: Metadata;
15041
+ name: Name;
15042
+ }
15043
+ export interface SecurityCreateCrossClusterApiKeyResponse {
15044
+ api_key: string;
15045
+ expiration?: DurationValue<UnitMillis>;
15046
+ id: Id;
15047
+ name: Name;
15048
+ encoded: string;
15049
+ }
14634
15050
  export interface SecurityCreateServiceTokenRequest extends RequestBase {
14635
15051
  namespace: Namespace;
14636
15052
  service: Service;
@@ -14963,6 +15379,7 @@ export interface SecurityPutRoleRequest extends RequestBase {
14963
15379
  cluster?: SecurityClusterPrivilege[];
14964
15380
  global?: Record<string, any>;
14965
15381
  indices?: SecurityIndicesPrivileges[];
15382
+ remote_indices?: SecurityRemoteIndicesPrivileges[];
14966
15383
  metadata?: Metadata;
14967
15384
  run_as?: string[];
14968
15385
  description?: string;
@@ -15190,6 +15607,15 @@ export interface SecurityUpdateApiKeyRequest extends RequestBase {
15190
15607
  export interface SecurityUpdateApiKeyResponse {
15191
15608
  updated: boolean;
15192
15609
  }
15610
+ export interface SecurityUpdateCrossClusterApiKeyRequest extends RequestBase {
15611
+ id: Id;
15612
+ access: SecurityAccess;
15613
+ expiration?: Duration;
15614
+ metadata?: Metadata;
15615
+ }
15616
+ export interface SecurityUpdateCrossClusterApiKeyResponse {
15617
+ updated: boolean;
15618
+ }
15193
15619
  export interface SecurityUpdateUserProfileDataRequest extends RequestBase {
15194
15620
  uid: SecurityUserProfileId;
15195
15621
  if_seq_no?: SequenceNumber;
@@ -15488,6 +15914,7 @@ export interface SnapshotSnapshotShardFailure {
15488
15914
  node_id?: Id;
15489
15915
  reason: string;
15490
15916
  shard_id: Id;
15917
+ index_uuid: Id;
15491
15918
  status: string;
15492
15919
  }
15493
15920
  export interface SnapshotSnapshotShardsStatus {
@@ -15613,6 +16040,18 @@ export interface SnapshotGetRepositoryRequest extends RequestBase {
15613
16040
  master_timeout?: Duration;
15614
16041
  }
15615
16042
  export type SnapshotGetRepositoryResponse = Record<string, SnapshotRepository>;
16043
+ export interface SnapshotRepositoryVerifyIntegrityRequest extends RequestBase {
16044
+ name: Names;
16045
+ meta_thread_pool_concurrency?: integer;
16046
+ blob_thread_pool_concurrency?: integer;
16047
+ snapshot_verification_concurrency?: integer;
16048
+ index_verification_concurrency?: integer;
16049
+ index_snapshot_verification_concurrency?: integer;
16050
+ max_failed_shard_snapshots?: integer;
16051
+ verify_blob_contents?: boolean;
16052
+ max_bytes_per_sec?: string;
16053
+ }
16054
+ export type SnapshotRepositoryVerifyIntegrityResponse = any;
15616
16055
  export interface SnapshotRestoreRequest extends RequestBase {
15617
16056
  repository: Name;
15618
16057
  snapshot: Name;
@@ -15700,7 +16139,7 @@ export interface SqlGetAsyncStatusResponse {
15700
16139
  completion_status?: uint;
15701
16140
  }
15702
16141
  export interface SqlQueryRequest extends RequestBase {
15703
- format?: string;
16142
+ format?: SqlQuerySqlFormat;
15704
16143
  catalog?: string;
15705
16144
  columnar?: boolean;
15706
16145
  cursor?: string;
@@ -15726,6 +16165,7 @@ export interface SqlQueryResponse {
15726
16165
  cursor?: string;
15727
16166
  rows: SqlRow[];
15728
16167
  }
16168
+ export type SqlQuerySqlFormat = 'csv' | 'json' | 'tsv' | 'txt' | 'yaml' | 'cbor' | 'smile';
15729
16169
  export interface SqlTranslateRequest extends RequestBase {
15730
16170
  fetch_size?: integer;
15731
16171
  filter?: QueryDslQueryContainer;
@@ -15873,7 +16313,7 @@ export interface TasksListRequest extends RequestBase {
15873
16313
  actions?: string | string[];
15874
16314
  detailed?: boolean;
15875
16315
  group_by?: TasksGroupBy;
15876
- node_id?: string[];
16316
+ nodes?: NodeIds;
15877
16317
  parent_task_id?: Id;
15878
16318
  master_timeout?: Duration;
15879
16319
  timeout?: Duration;
@@ -16766,17 +17206,17 @@ export interface XpackInfoFeatures {
16766
17206
  aggregate_metric: XpackInfoFeature;
16767
17207
  analytics: XpackInfoFeature;
16768
17208
  ccr: XpackInfoFeature;
16769
- data_frame?: XpackInfoFeature;
16770
- data_science?: XpackInfoFeature;
16771
17209
  data_streams: XpackInfoFeature;
16772
17210
  data_tiers: XpackInfoFeature;
16773
17211
  enrich: XpackInfoFeature;
17212
+ enterprise_search: XpackInfoFeature;
16774
17213
  eql: XpackInfoFeature;
16775
- flattened?: XpackInfoFeature;
17214
+ esql: XpackInfoFeature;
16776
17215
  frozen_indices: XpackInfoFeature;
16777
17216
  graph: XpackInfoFeature;
16778
17217
  ilm: XpackInfoFeature;
16779
17218
  logstash: XpackInfoFeature;
17219
+ logsdb: XpackInfoFeature;
16780
17220
  ml: XpackInfoFeature;
16781
17221
  monitoring: XpackInfoFeature;
16782
17222
  rollup: XpackInfoFeature;
@@ -16787,7 +17227,7 @@ export interface XpackInfoFeatures {
16787
17227
  spatial: XpackInfoFeature;
16788
17228
  sql: XpackInfoFeature;
16789
17229
  transform: XpackInfoFeature;
16790
- vectors?: XpackInfoFeature;
17230
+ universal_profiling: XpackInfoFeature;
16791
17231
  voting_only: XpackInfoFeature;
16792
17232
  watcher: XpackInfoFeature;
16793
17233
  archive: XpackInfoFeature;
@@ -16804,7 +17244,7 @@ export interface XpackInfoNativeCodeInformation {
16804
17244
  version: VersionString;
16805
17245
  }
16806
17246
  export interface XpackInfoRequest extends RequestBase {
16807
- categories?: string[];
17247
+ categories?: XpackInfoXPackCategory[];
16808
17248
  accept_enterprise?: boolean;
16809
17249
  human?: boolean;
16810
17250
  }
@@ -16814,6 +17254,7 @@ export interface XpackInfoResponse {
16814
17254
  license: XpackInfoMinimalLicenseInformation;
16815
17255
  tagline: string;
16816
17256
  }
17257
+ export type XpackInfoXPackCategory = 'build' | 'features' | 'license';
16817
17258
  export interface XpackUsageAnalytics extends XpackUsageBase {
16818
17259
  stats: XpackUsageAnalyticsStatistics;
16819
17260
  }