@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
@@ -319,6 +319,7 @@ export interface FieldCapsResponse {
319
319
  export interface GetGetResult<TDocument = unknown> {
320
320
  _index: IndexName;
321
321
  fields?: Record<string, any>;
322
+ _ignored?: string[];
322
323
  found: boolean;
323
324
  _id: Id;
324
325
  _primary_term?: long;
@@ -401,6 +402,14 @@ export interface HealthReportBaseIndicator {
401
402
  impacts?: HealthReportImpact[];
402
403
  diagnosis?: HealthReportDiagnosis[];
403
404
  }
405
+ export interface HealthReportDataStreamLifecycleDetails {
406
+ stagnating_backing_indices_count: integer;
407
+ total_backing_indices_in_error: integer;
408
+ stagnating_backing_indices?: HealthReportStagnatingBackingIndices[];
409
+ }
410
+ export interface HealthReportDataStreamLifecycleIndicator extends HealthReportBaseIndicator {
411
+ details?: HealthReportDataStreamLifecycleDetails;
412
+ }
404
413
  export interface HealthReportDiagnosis {
405
414
  id: string;
406
415
  action: string;
@@ -450,6 +459,7 @@ export interface HealthReportIndicators {
450
459
  shards_availability?: HealthReportShardsAvailabilityIndicator;
451
460
  disk?: HealthReportDiskIndicator;
452
461
  repository_integrity?: HealthReportRepositoryIntegrityIndicator;
462
+ data_stream_lifecycle?: HealthReportDataStreamLifecycleIndicator;
453
463
  ilm?: HealthReportIlmIndicator;
454
464
  slm?: HealthReportSlmIndicator;
455
465
  shards_capacity?: HealthReportShardsCapacityIndicator;
@@ -529,6 +539,11 @@ export interface HealthReportSlmIndicatorUnhealthyPolicies {
529
539
  count: long;
530
540
  invocations_since_last_success?: Record<string, long>;
531
541
  }
542
+ export interface HealthReportStagnatingBackingIndices {
543
+ index_name: IndexName;
544
+ first_occurrence_timestamp: long;
545
+ retry_count: integer;
546
+ }
532
547
  export interface IndexRequest<TDocument = unknown> extends RequestBase {
533
548
  id?: Id;
534
549
  index: IndexName;
@@ -765,8 +780,13 @@ export interface OpenPointInTimeRequest extends RequestBase {
765
780
  preference?: string;
766
781
  routing?: Routing;
767
782
  expand_wildcards?: ExpandWildcards;
783
+ /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
784
+ body?: {
785
+ index_filter?: QueryDslQueryContainer;
786
+ };
768
787
  }
769
788
  export interface OpenPointInTimeResponse {
789
+ _shards: ShardStatistics;
770
790
  id: Id;
771
791
  }
772
792
  export interface PingRequest extends RequestBase {
@@ -835,7 +855,7 @@ export interface RankEvalRankEvalQuery {
835
855
  }
836
856
  export interface RankEvalRankEvalRequestItem {
837
857
  id: Id;
838
- request?: RankEvalRankEvalQuery;
858
+ request?: RankEvalRankEvalQuery | QueryDslQueryContainer;
839
859
  ratings: RankEvalDocumentRating[];
840
860
  template_id?: Id;
841
861
  params?: Record<string, any>;
@@ -975,7 +995,7 @@ export interface RenderSearchTemplateResponse {
975
995
  export interface ScriptsPainlessExecutePainlessContextSetup {
976
996
  document: any;
977
997
  index: IndexName;
978
- query: QueryDslQueryContainer;
998
+ query?: QueryDslQueryContainer;
979
999
  }
980
1000
  export interface ScriptsPainlessExecuteRequest extends RequestBase {
981
1001
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
@@ -1294,7 +1314,6 @@ export interface SearchHighlightBase {
1294
1314
  export interface SearchHighlightField extends SearchHighlightBase {
1295
1315
  fragment_offset?: integer;
1296
1316
  matched_fields?: Fields;
1297
- analyzer?: AnalysisAnalyzer;
1298
1317
  }
1299
1318
  export type SearchHighlighterEncoder = 'default' | 'html';
1300
1319
  export type SearchHighlighterFragmenter = 'simple' | 'span';
@@ -2274,11 +2293,13 @@ export interface Retries {
2274
2293
  }
2275
2294
  export interface RetrieverBase {
2276
2295
  filter?: QueryDslQueryContainer | QueryDslQueryContainer[];
2296
+ min_score?: float;
2277
2297
  }
2278
2298
  export interface RetrieverContainer {
2279
2299
  standard?: StandardRetriever;
2280
2300
  knn?: KnnRetriever;
2281
2301
  rrf?: RRFRetriever;
2302
+ text_similarity_reranker?: TextSimilarityReranker;
2282
2303
  }
2283
2304
  export type Routing = string;
2284
2305
  export interface RrfRank {
@@ -2413,7 +2434,6 @@ export interface StandardRetriever extends RetrieverBase {
2413
2434
  search_after?: SortResults;
2414
2435
  terminate_after?: integer;
2415
2436
  sort?: Sort;
2416
- min_score?: float;
2417
2437
  collapse?: SearchFieldCollapse;
2418
2438
  }
2419
2439
  export interface StoreStats {
@@ -2442,6 +2462,13 @@ export interface TextEmbedding {
2442
2462
  model_id: string;
2443
2463
  model_text: string;
2444
2464
  }
2465
+ export interface TextSimilarityReranker extends RetrieverBase {
2466
+ retriever: RetrieverContainer;
2467
+ rank_window_size?: integer;
2468
+ inference_id?: string;
2469
+ inference_text?: string;
2470
+ field?: string;
2471
+ }
2445
2472
  export type ThreadType = 'cpu' | 'wait' | 'block' | 'gpu' | 'mem';
2446
2473
  export type TimeOfDay = string;
2447
2474
  export type TimeUnit = 'nanos' | 'micros' | 'ms' | 's' | 'm' | 'h' | 'd';
@@ -2611,9 +2638,9 @@ export interface AggregationsAggregationContainer {
2611
2638
  variable_width_histogram?: AggregationsVariableWidthHistogramAggregation;
2612
2639
  }
2613
2640
  export interface AggregationsAggregationRange {
2614
- from?: double;
2641
+ from?: double | null;
2615
2642
  key?: string;
2616
- to?: double;
2643
+ to?: double | null;
2617
2644
  }
2618
2645
  export interface AggregationsArrayPercentilesItem {
2619
2646
  key: string;
@@ -3697,11 +3724,52 @@ export interface AggregationsWeightedAverageValue {
3697
3724
  }
3698
3725
  export interface AggregationsWeightedAvgAggregate extends AggregationsSingleMetricAggregateBase {
3699
3726
  }
3700
- export type AnalysisAnalyzer = AnalysisCustomAnalyzer | AnalysisFingerprintAnalyzer | AnalysisKeywordAnalyzer | AnalysisLanguageAnalyzer | AnalysisNoriAnalyzer | AnalysisPatternAnalyzer | AnalysisSimpleAnalyzer | AnalysisStandardAnalyzer | AnalysisStopAnalyzer | AnalysisWhitespaceAnalyzer | AnalysisIcuAnalyzer | AnalysisKuromojiAnalyzer | AnalysisSnowballAnalyzer | AnalysisDutchAnalyzer;
3727
+ 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;
3728
+ export interface AnalysisArabicAnalyzer {
3729
+ type: 'arabic';
3730
+ stopwords?: AnalysisStopWords;
3731
+ stopwords_path?: string;
3732
+ stem_exclusion?: string[];
3733
+ }
3734
+ export interface AnalysisArmenianAnalyzer {
3735
+ type: 'armenian';
3736
+ stopwords?: AnalysisStopWords;
3737
+ stopwords_path?: string;
3738
+ stem_exclusion?: string[];
3739
+ }
3701
3740
  export interface AnalysisAsciiFoldingTokenFilter extends AnalysisTokenFilterBase {
3702
3741
  type: 'asciifolding';
3703
3742
  preserve_original?: SpecUtilsStringified<boolean>;
3704
3743
  }
3744
+ export interface AnalysisBasqueAnalyzer {
3745
+ type: 'basque';
3746
+ stopwords?: AnalysisStopWords;
3747
+ stopwords_path?: string;
3748
+ stem_exclusion?: string[];
3749
+ }
3750
+ export interface AnalysisBengaliAnalyzer {
3751
+ type: 'bengali';
3752
+ stopwords?: AnalysisStopWords;
3753
+ stopwords_path?: string;
3754
+ stem_exclusion?: string[];
3755
+ }
3756
+ export interface AnalysisBrazilianAnalyzer {
3757
+ type: 'brazilian';
3758
+ stopwords?: AnalysisStopWords;
3759
+ stopwords_path?: string;
3760
+ }
3761
+ export interface AnalysisBulgarianAnalyzer {
3762
+ type: 'bulgarian';
3763
+ stopwords?: AnalysisStopWords;
3764
+ stopwords_path?: string;
3765
+ stem_exclusion?: string[];
3766
+ }
3767
+ export interface AnalysisCatalanAnalyzer {
3768
+ type: 'catalan';
3769
+ stopwords?: AnalysisStopWords;
3770
+ stopwords_path?: string;
3771
+ stem_exclusion?: string[];
3772
+ }
3705
3773
  export type AnalysisCharFilter = string | AnalysisCharFilterDefinition;
3706
3774
  export interface AnalysisCharFilterBase {
3707
3775
  version?: VersionString;
@@ -3712,6 +3780,20 @@ export interface AnalysisCharGroupTokenizer extends AnalysisTokenizerBase {
3712
3780
  tokenize_on_chars: string[];
3713
3781
  max_token_length?: integer;
3714
3782
  }
3783
+ export interface AnalysisChineseAnalyzer {
3784
+ type: 'chinese';
3785
+ stopwords?: AnalysisStopWords;
3786
+ stopwords_path?: string;
3787
+ }
3788
+ export interface AnalysisCjkAnalyzer {
3789
+ type: 'cjk';
3790
+ stopwords?: AnalysisStopWords;
3791
+ stopwords_path?: string;
3792
+ }
3793
+ export interface AnalysisClassicTokenizer extends AnalysisTokenizerBase {
3794
+ type: 'classic';
3795
+ max_token_length?: integer;
3796
+ }
3715
3797
  export interface AnalysisCommonGramsTokenFilter extends AnalysisTokenFilterBase {
3716
3798
  type: 'common_grams';
3717
3799
  common_words?: string[];
@@ -3735,8 +3817,8 @@ export interface AnalysisConditionTokenFilter extends AnalysisTokenFilterBase {
3735
3817
  }
3736
3818
  export interface AnalysisCustomAnalyzer {
3737
3819
  type: 'custom';
3738
- char_filter?: string[];
3739
- filter?: string[];
3820
+ char_filter?: string | string[];
3821
+ filter?: string | string[];
3740
3822
  position_increment_gap?: integer;
3741
3823
  position_offset_gap?: integer;
3742
3824
  tokenizer: string;
@@ -3746,6 +3828,17 @@ export interface AnalysisCustomNormalizer {
3746
3828
  char_filter?: string[];
3747
3829
  filter?: string[];
3748
3830
  }
3831
+ export interface AnalysisCzechAnalyzer {
3832
+ type: 'czech';
3833
+ stopwords?: AnalysisStopWords;
3834
+ stopwords_path?: string;
3835
+ stem_exclusion?: string[];
3836
+ }
3837
+ export interface AnalysisDanishAnalyzer {
3838
+ type: 'danish';
3839
+ stopwords?: AnalysisStopWords;
3840
+ stopwords_path?: string;
3841
+ }
3749
3842
  export type AnalysisDelimitedPayloadEncoding = 'int' | 'float' | 'identity';
3750
3843
  export interface AnalysisDelimitedPayloadTokenFilter extends AnalysisTokenFilterBase {
3751
3844
  type: 'delimited_payload';
@@ -3758,6 +3851,8 @@ export interface AnalysisDictionaryDecompounderTokenFilter extends AnalysisCompo
3758
3851
  export interface AnalysisDutchAnalyzer {
3759
3852
  type: 'dutch';
3760
3853
  stopwords?: AnalysisStopWords;
3854
+ stopwords_path?: string;
3855
+ stem_exclusion?: string[];
3761
3856
  }
3762
3857
  export type AnalysisEdgeNGramSide = 'front' | 'back';
3763
3858
  export interface AnalysisEdgeNGramTokenFilter extends AnalysisTokenFilterBase {
@@ -3770,9 +3865,9 @@ export interface AnalysisEdgeNGramTokenFilter extends AnalysisTokenFilterBase {
3770
3865
  export interface AnalysisEdgeNGramTokenizer extends AnalysisTokenizerBase {
3771
3866
  type: 'edge_ngram';
3772
3867
  custom_token_chars?: string;
3773
- max_gram: integer;
3774
- min_gram: integer;
3775
- token_chars: AnalysisTokenChar[];
3868
+ max_gram?: integer;
3869
+ min_gram?: integer;
3870
+ token_chars?: AnalysisTokenChar[];
3776
3871
  }
3777
3872
  export interface AnalysisElisionTokenFilter extends AnalysisTokenFilterBase {
3778
3873
  type: 'elision';
@@ -3780,6 +3875,17 @@ export interface AnalysisElisionTokenFilter extends AnalysisTokenFilterBase {
3780
3875
  articles_path?: string;
3781
3876
  articles_case?: SpecUtilsStringified<boolean>;
3782
3877
  }
3878
+ export interface AnalysisEnglishAnalyzer {
3879
+ type: 'english';
3880
+ stopwords?: AnalysisStopWords;
3881
+ stopwords_path?: string;
3882
+ stem_exclusion?: string[];
3883
+ }
3884
+ export interface AnalysisEstonianAnalyzer {
3885
+ type: 'estonian';
3886
+ stopwords?: AnalysisStopWords;
3887
+ stopwords_path?: string;
3888
+ }
3783
3889
  export interface AnalysisFingerprintAnalyzer {
3784
3890
  type: 'fingerprint';
3785
3891
  version?: VersionString;
@@ -3794,10 +3900,51 @@ export interface AnalysisFingerprintTokenFilter extends AnalysisTokenFilterBase
3794
3900
  max_output_size?: integer;
3795
3901
  separator?: string;
3796
3902
  }
3903
+ export interface AnalysisFinnishAnalyzer {
3904
+ type: 'finnish';
3905
+ stopwords?: AnalysisStopWords;
3906
+ stopwords_path?: string;
3907
+ stem_exclusion?: string[];
3908
+ }
3909
+ export interface AnalysisFrenchAnalyzer {
3910
+ type: 'french';
3911
+ stopwords?: AnalysisStopWords;
3912
+ stopwords_path?: string;
3913
+ stem_exclusion?: string[];
3914
+ }
3915
+ export interface AnalysisGalicianAnalyzer {
3916
+ type: 'galician';
3917
+ stopwords?: AnalysisStopWords;
3918
+ stopwords_path?: string;
3919
+ stem_exclusion?: string[];
3920
+ }
3921
+ export interface AnalysisGermanAnalyzer {
3922
+ type: 'german';
3923
+ stopwords?: AnalysisStopWords;
3924
+ stopwords_path?: string;
3925
+ stem_exclusion?: string[];
3926
+ }
3927
+ export interface AnalysisGreekAnalyzer {
3928
+ type: 'greek';
3929
+ stopwords?: AnalysisStopWords;
3930
+ stopwords_path?: string;
3931
+ }
3932
+ export interface AnalysisHindiAnalyzer {
3933
+ type: 'hindi';
3934
+ stopwords?: AnalysisStopWords;
3935
+ stopwords_path?: string;
3936
+ stem_exclusion?: string[];
3937
+ }
3797
3938
  export interface AnalysisHtmlStripCharFilter extends AnalysisCharFilterBase {
3798
3939
  type: 'html_strip';
3799
3940
  escaped_tags?: string[];
3800
3941
  }
3942
+ export interface AnalysisHungarianAnalyzer {
3943
+ type: 'hungarian';
3944
+ stopwords?: AnalysisStopWords;
3945
+ stopwords_path?: string;
3946
+ stem_exclusion?: string[];
3947
+ }
3801
3948
  export interface AnalysisHunspellTokenFilter extends AnalysisTokenFilterBase {
3802
3949
  type: 'hunspell';
3803
3950
  dedup?: boolean;
@@ -3857,6 +4004,24 @@ export interface AnalysisIcuTransformTokenFilter extends AnalysisTokenFilterBase
3857
4004
  dir?: AnalysisIcuTransformDirection;
3858
4005
  id: string;
3859
4006
  }
4007
+ export interface AnalysisIndonesianAnalyzer {
4008
+ type: 'indonesian';
4009
+ stopwords?: AnalysisStopWords;
4010
+ stopwords_path?: string;
4011
+ stem_exclusion?: string[];
4012
+ }
4013
+ export interface AnalysisIrishAnalyzer {
4014
+ type: 'irish';
4015
+ stopwords?: AnalysisStopWords;
4016
+ stopwords_path?: string;
4017
+ stem_exclusion?: string[];
4018
+ }
4019
+ export interface AnalysisItalianAnalyzer {
4020
+ type: 'italian';
4021
+ stopwords?: AnalysisStopWords;
4022
+ stopwords_path?: string;
4023
+ stem_exclusion?: string[];
4024
+ }
3860
4025
  export interface AnalysisKStemTokenFilter extends AnalysisTokenFilterBase {
3861
4026
  type: 'kstem';
3862
4027
  }
@@ -3879,13 +4044,13 @@ export interface AnalysisKeywordAnalyzer {
3879
4044
  export interface AnalysisKeywordMarkerTokenFilter extends AnalysisTokenFilterBase {
3880
4045
  type: 'keyword_marker';
3881
4046
  ignore_case?: boolean;
3882
- keywords?: string[];
4047
+ keywords?: string | string[];
3883
4048
  keywords_path?: string;
3884
4049
  keywords_pattern?: string;
3885
4050
  }
3886
4051
  export interface AnalysisKeywordTokenizer extends AnalysisTokenizerBase {
3887
4052
  type: 'keyword';
3888
- buffer_size: integer;
4053
+ buffer_size?: integer;
3889
4054
  }
3890
4055
  export interface AnalysisKuromojiAnalyzer {
3891
4056
  type: 'kuromoji';
@@ -3929,6 +4094,12 @@ export interface AnalysisLanguageAnalyzer {
3929
4094
  stopwords?: AnalysisStopWords;
3930
4095
  stopwords_path?: string;
3931
4096
  }
4097
+ export interface AnalysisLatvianAnalyzer {
4098
+ type: 'latvian';
4099
+ stopwords?: AnalysisStopWords;
4100
+ stopwords_path?: string;
4101
+ stem_exclusion?: string[];
4102
+ }
3932
4103
  export interface AnalysisLengthTokenFilter extends AnalysisTokenFilterBase {
3933
4104
  type: 'length';
3934
4105
  max?: integer;
@@ -3942,6 +4113,12 @@ export interface AnalysisLimitTokenCountTokenFilter extends AnalysisTokenFilterB
3942
4113
  consume_all_tokens?: boolean;
3943
4114
  max_token_count?: SpecUtilsStringified<integer>;
3944
4115
  }
4116
+ export interface AnalysisLithuanianAnalyzer {
4117
+ type: 'lithuanian';
4118
+ stopwords?: AnalysisStopWords;
4119
+ stopwords_path?: string;
4120
+ stem_exclusion?: string[];
4121
+ }
3945
4122
  export interface AnalysisLowercaseNormalizer {
3946
4123
  type: 'lowercase';
3947
4124
  }
@@ -3995,6 +4172,12 @@ export interface AnalysisNoriTokenizer extends AnalysisTokenizerBase {
3995
4172
  user_dictionary_rules?: string[];
3996
4173
  }
3997
4174
  export type AnalysisNormalizer = AnalysisLowercaseNormalizer | AnalysisCustomNormalizer;
4175
+ export interface AnalysisNorwegianAnalyzer {
4176
+ type: 'norwegian';
4177
+ stopwords?: AnalysisStopWords;
4178
+ stopwords_path?: string;
4179
+ stem_exclusion?: string[];
4180
+ }
3998
4181
  export interface AnalysisPathHierarchyTokenizer extends AnalysisTokenizerBase {
3999
4182
  type: 'path_hierarchy';
4000
4183
  buffer_size?: SpecUtilsStringified<integer>;
@@ -4035,6 +4218,11 @@ export interface AnalysisPatternTokenizer extends AnalysisTokenizerBase {
4035
4218
  group?: integer;
4036
4219
  pattern?: string;
4037
4220
  }
4221
+ export interface AnalysisPersianAnalyzer {
4222
+ type: 'persian';
4223
+ stopwords?: AnalysisStopWords;
4224
+ stopwords_path?: string;
4225
+ }
4038
4226
  export type AnalysisPhoneticEncoder = 'metaphone' | 'double_metaphone' | 'soundex' | 'refined_soundex' | 'caverphone1' | 'caverphone2' | 'cologne' | 'nysiis' | 'koelnerphonetik' | 'haasephonetik' | 'beider_morse' | 'daitch_mokotoff';
4039
4227
  export type AnalysisPhoneticLanguage = 'any' | 'common' | 'cyrillic' | 'english' | 'french' | 'german' | 'hebrew' | 'hungarian' | 'polish' | 'romanian' | 'russian' | 'spanish';
4040
4228
  export type AnalysisPhoneticNameType = 'generic' | 'ashkenazi' | 'sephardic';
@@ -4051,6 +4239,12 @@ export interface AnalysisPhoneticTokenFilter extends AnalysisTokenFilterBase {
4051
4239
  export interface AnalysisPorterStemTokenFilter extends AnalysisTokenFilterBase {
4052
4240
  type: 'porter_stem';
4053
4241
  }
4242
+ export interface AnalysisPortugueseAnalyzer {
4243
+ type: 'portuguese';
4244
+ stopwords?: AnalysisStopWords;
4245
+ stopwords_path?: string;
4246
+ stem_exclusion?: string[];
4247
+ }
4054
4248
  export interface AnalysisPredicateTokenFilter extends AnalysisTokenFilterBase {
4055
4249
  type: 'predicate_token_filter';
4056
4250
  script: Script | string;
@@ -4061,6 +4255,24 @@ export interface AnalysisRemoveDuplicatesTokenFilter extends AnalysisTokenFilter
4061
4255
  export interface AnalysisReverseTokenFilter extends AnalysisTokenFilterBase {
4062
4256
  type: 'reverse';
4063
4257
  }
4258
+ export interface AnalysisRomanianAnalyzer {
4259
+ type: 'romanian';
4260
+ stopwords?: AnalysisStopWords;
4261
+ stopwords_path?: string;
4262
+ stem_exclusion?: string[];
4263
+ }
4264
+ export interface AnalysisRussianAnalyzer {
4265
+ type: 'russian';
4266
+ stopwords?: AnalysisStopWords;
4267
+ stopwords_path?: string;
4268
+ stem_exclusion?: string[];
4269
+ }
4270
+ export interface AnalysisSerbianAnalyzer {
4271
+ type: 'serbian';
4272
+ stopwords?: AnalysisStopWords;
4273
+ stopwords_path?: string;
4274
+ stem_exclusion?: string[];
4275
+ }
4064
4276
  export interface AnalysisShingleTokenFilter extends AnalysisTokenFilterBase {
4065
4277
  type: 'shingle';
4066
4278
  filler_token?: string;
@@ -4074,6 +4286,14 @@ export interface AnalysisSimpleAnalyzer {
4074
4286
  type: 'simple';
4075
4287
  version?: VersionString;
4076
4288
  }
4289
+ export interface AnalysisSimplePatternSplitTokenizer extends AnalysisTokenizerBase {
4290
+ type: 'simple_pattern_split';
4291
+ pattern?: string;
4292
+ }
4293
+ export interface AnalysisSimplePatternTokenizer extends AnalysisTokenizerBase {
4294
+ type: 'simple_pattern';
4295
+ pattern?: string;
4296
+ }
4077
4297
  export interface AnalysisSnowballAnalyzer {
4078
4298
  type: 'snowball';
4079
4299
  version?: VersionString;
@@ -4085,6 +4305,18 @@ export interface AnalysisSnowballTokenFilter extends AnalysisTokenFilterBase {
4085
4305
  type: 'snowball';
4086
4306
  language?: AnalysisSnowballLanguage;
4087
4307
  }
4308
+ export interface AnalysisSoraniAnalyzer {
4309
+ type: 'sorani';
4310
+ stopwords?: AnalysisStopWords;
4311
+ stopwords_path?: string;
4312
+ stem_exclusion?: string[];
4313
+ }
4314
+ export interface AnalysisSpanishAnalyzer {
4315
+ type: 'spanish';
4316
+ stopwords?: AnalysisStopWords;
4317
+ stopwords_path?: string;
4318
+ stem_exclusion?: string[];
4319
+ }
4088
4320
  export interface AnalysisStandardAnalyzer {
4089
4321
  type: 'standard';
4090
4322
  max_token_length?: integer;
@@ -4118,6 +4350,12 @@ export interface AnalysisStopTokenFilter extends AnalysisTokenFilterBase {
4118
4350
  stopwords_path?: string;
4119
4351
  }
4120
4352
  export type AnalysisStopWords = string | string[];
4353
+ export interface AnalysisSwedishAnalyzer {
4354
+ type: 'swedish';
4355
+ stopwords?: AnalysisStopWords;
4356
+ stopwords_path?: string;
4357
+ stem_exclusion?: string[];
4358
+ }
4121
4359
  export type AnalysisSynonymFormat = 'solr' | 'wordnet';
4122
4360
  export interface AnalysisSynonymGraphTokenFilter extends AnalysisTokenFilterBase {
4123
4361
  type: 'synonym_graph';
@@ -4141,6 +4379,14 @@ export interface AnalysisSynonymTokenFilter extends AnalysisTokenFilterBase {
4141
4379
  tokenizer?: string;
4142
4380
  updateable?: boolean;
4143
4381
  }
4382
+ export interface AnalysisThaiAnalyzer {
4383
+ type: 'thai';
4384
+ stopwords?: AnalysisStopWords;
4385
+ stopwords_path?: string;
4386
+ }
4387
+ export interface AnalysisThaiTokenizer extends AnalysisTokenizerBase {
4388
+ type: 'thai';
4389
+ }
4144
4390
  export type AnalysisTokenChar = 'letter' | 'digit' | 'whitespace' | 'punctuation' | 'symbol' | 'custom';
4145
4391
  export type AnalysisTokenFilter = string | AnalysisTokenFilterDefinition;
4146
4392
  export interface AnalysisTokenFilterBase {
@@ -4151,7 +4397,7 @@ export type AnalysisTokenizer = string | AnalysisTokenizerDefinition;
4151
4397
  export interface AnalysisTokenizerBase {
4152
4398
  version?: VersionString;
4153
4399
  }
4154
- export type AnalysisTokenizerDefinition = AnalysisCharGroupTokenizer | AnalysisEdgeNGramTokenizer | AnalysisKeywordTokenizer | AnalysisLetterTokenizer | AnalysisLowercaseTokenizer | AnalysisNGramTokenizer | AnalysisNoriTokenizer | AnalysisPathHierarchyTokenizer | AnalysisStandardTokenizer | AnalysisUaxEmailUrlTokenizer | AnalysisWhitespaceTokenizer | AnalysisKuromojiTokenizer | AnalysisPatternTokenizer | AnalysisIcuTokenizer;
4400
+ export type AnalysisTokenizerDefinition = AnalysisCharGroupTokenizer | AnalysisClassicTokenizer | AnalysisEdgeNGramTokenizer | AnalysisKeywordTokenizer | AnalysisLetterTokenizer | AnalysisLowercaseTokenizer | AnalysisNGramTokenizer | AnalysisPathHierarchyTokenizer | AnalysisPatternTokenizer | AnalysisSimplePatternTokenizer | AnalysisSimplePatternSplitTokenizer | AnalysisStandardTokenizer | AnalysisThaiTokenizer | AnalysisUaxEmailUrlTokenizer | AnalysisWhitespaceTokenizer | AnalysisIcuTokenizer | AnalysisKuromojiTokenizer | AnalysisNoriTokenizer;
4155
4401
  export interface AnalysisTrimTokenFilter extends AnalysisTokenFilterBase {
4156
4402
  type: 'trim';
4157
4403
  }
@@ -4159,6 +4405,12 @@ export interface AnalysisTruncateTokenFilter extends AnalysisTokenFilterBase {
4159
4405
  type: 'truncate';
4160
4406
  length?: integer;
4161
4407
  }
4408
+ export interface AnalysisTurkishAnalyzer {
4409
+ type: 'turkish';
4410
+ stopwords?: AnalysisStopWords;
4411
+ stopwords_path?: string;
4412
+ stem_exclusion?: string[];
4413
+ }
4162
4414
  export interface AnalysisUaxEmailUrlTokenizer extends AnalysisTokenizerBase {
4163
4415
  type: 'uax_url_email';
4164
4416
  max_token_length?: integer;
@@ -4253,13 +4505,15 @@ export interface MappingCompletionProperty extends MappingDocValuesPropertyBase
4253
4505
  search_analyzer?: string;
4254
4506
  type: 'completion';
4255
4507
  }
4508
+ export interface MappingCompositeSubField {
4509
+ type: MappingRuntimeFieldType;
4510
+ }
4256
4511
  export interface MappingConstantKeywordProperty extends MappingPropertyBase {
4257
4512
  value?: any;
4258
4513
  type: 'constant_keyword';
4259
4514
  }
4260
4515
  export interface MappingCorePropertyBase extends MappingPropertyBase {
4261
4516
  copy_to?: Fields;
4262
- similarity?: string;
4263
4517
  store?: boolean;
4264
4518
  }
4265
4519
  export interface MappingDataStreamTimestamp {
@@ -4329,7 +4583,7 @@ export interface MappingDynamicProperty extends MappingDocValuesPropertyBase {
4329
4583
  index?: boolean;
4330
4584
  index_options?: MappingIndexOptions;
4331
4585
  index_phrases?: boolean;
4332
- index_prefixes?: MappingTextIndexPrefixes;
4586
+ index_prefixes?: MappingTextIndexPrefixes | null;
4333
4587
  norms?: boolean;
4334
4588
  position_increment_gap?: integer;
4335
4589
  search_analyzer?: string;
@@ -4466,6 +4720,7 @@ export interface MappingKeywordProperty extends MappingDocValuesPropertyBase {
4466
4720
  normalizer?: string;
4467
4721
  norms?: boolean;
4468
4722
  null_value?: string;
4723
+ similarity?: string | null;
4469
4724
  split_queries_on_whitespace?: boolean;
4470
4725
  time_series_dimension?: boolean;
4471
4726
  type: 'keyword';
@@ -4543,6 +4798,7 @@ export interface MappingRoutingField {
4543
4798
  required: boolean;
4544
4799
  }
4545
4800
  export interface MappingRuntimeField {
4801
+ fields?: Record<string, MappingCompositeSubField>;
4546
4802
  fetch_fields?: (MappingRuntimeFieldFetchFields | Field)[];
4547
4803
  format?: string;
4548
4804
  input_field?: Field;
@@ -4570,6 +4826,7 @@ export interface MappingSearchAsYouTypeProperty extends MappingCorePropertyBase
4570
4826
  norms?: boolean;
4571
4827
  search_analyzer?: string;
4572
4828
  search_quote_analyzer?: string;
4829
+ similarity?: string | null;
4573
4830
  term_vector?: MappingTermVectorOption;
4574
4831
  type: 'search_as_you_type';
4575
4832
  }
@@ -4624,11 +4881,12 @@ export interface MappingTextProperty extends MappingCorePropertyBase {
4624
4881
  index?: boolean;
4625
4882
  index_options?: MappingIndexOptions;
4626
4883
  index_phrases?: boolean;
4627
- index_prefixes?: MappingTextIndexPrefixes;
4884
+ index_prefixes?: MappingTextIndexPrefixes | null;
4628
4885
  norms?: boolean;
4629
4886
  position_increment_gap?: integer;
4630
4887
  search_analyzer?: string;
4631
4888
  search_quote_analyzer?: string;
4889
+ similarity?: string | null;
4632
4890
  term_vector?: MappingTermVectorOption;
4633
4891
  type: 'text';
4634
4892
  }
@@ -5066,7 +5324,7 @@ export interface QueryDslQueryContainer {
5066
5324
  dis_max?: QueryDslDisMaxQuery;
5067
5325
  distance_feature?: QueryDslDistanceFeatureQuery;
5068
5326
  exists?: QueryDslExistsQuery;
5069
- function_score?: QueryDslFunctionScoreQuery;
5327
+ function_score?: QueryDslFunctionScoreQuery | QueryDslFunctionScoreContainer[];
5070
5328
  fuzzy?: Partial<Record<Field, QueryDslFuzzyQuery | string | double | boolean>>;
5071
5329
  geo_bounding_box?: QueryDslGeoBoundingBoxQuery;
5072
5330
  geo_distance?: QueryDslGeoDistanceQuery;
@@ -5563,39 +5821,39 @@ export interface CatAliasesRequest extends CatCatRequestBase {
5563
5821
  }
5564
5822
  export type CatAliasesResponse = CatAliasesAliasesRecord[];
5565
5823
  export interface CatAllocationAllocationRecord {
5566
- shards: string;
5567
- s: string;
5568
- 'shards.undesired': string | null;
5569
- 'write_load.forecast': double | null;
5570
- wlf: double | null;
5571
- writeLoadForecast: double | null;
5572
- 'disk.indices.forecast': ByteSize | null;
5573
- dif: ByteSize | null;
5574
- diskIndicesForecast: ByteSize | null;
5575
- 'disk.indices': ByteSize | null;
5576
- di: ByteSize | null;
5577
- diskIndices: ByteSize | null;
5578
- 'disk.used': ByteSize | null;
5579
- du: ByteSize | null;
5580
- diskUsed: ByteSize | null;
5581
- 'disk.avail': ByteSize | null;
5582
- da: ByteSize | null;
5583
- diskAvail: ByteSize | null;
5584
- 'disk.total': ByteSize | null;
5585
- dt: ByteSize | null;
5586
- diskTotal: ByteSize | null;
5587
- 'disk.percent': Percentage | null;
5588
- dp: Percentage | null;
5589
- diskPercent: Percentage | null;
5590
- host: Host | null;
5591
- h: Host | null;
5592
- ip: Ip | null;
5593
- node: string;
5594
- n: string;
5595
- 'node.role': string | null;
5596
- r: string | null;
5597
- role: string | null;
5598
- nodeRole: string | null;
5824
+ shards?: string;
5825
+ s?: string;
5826
+ 'shards.undesired'?: string | null;
5827
+ 'write_load.forecast'?: SpecUtilsStringified<double> | null;
5828
+ wlf?: SpecUtilsStringified<double> | null;
5829
+ writeLoadForecast?: SpecUtilsStringified<double> | null;
5830
+ 'disk.indices.forecast'?: ByteSize | null;
5831
+ dif?: ByteSize | null;
5832
+ diskIndicesForecast?: ByteSize | null;
5833
+ 'disk.indices'?: ByteSize | null;
5834
+ di?: ByteSize | null;
5835
+ diskIndices?: ByteSize | null;
5836
+ 'disk.used'?: ByteSize | null;
5837
+ du?: ByteSize | null;
5838
+ diskUsed?: ByteSize | null;
5839
+ 'disk.avail'?: ByteSize | null;
5840
+ da?: ByteSize | null;
5841
+ diskAvail?: ByteSize | null;
5842
+ 'disk.total'?: ByteSize | null;
5843
+ dt?: ByteSize | null;
5844
+ diskTotal?: ByteSize | null;
5845
+ 'disk.percent'?: Percentage | null;
5846
+ dp?: Percentage | null;
5847
+ diskPercent?: Percentage | null;
5848
+ host?: Host | null;
5849
+ h?: Host | null;
5850
+ ip?: Ip | null;
5851
+ node?: string;
5852
+ n?: string;
5853
+ 'node.role'?: string | null;
5854
+ r?: string | null;
5855
+ role?: string | null;
5856
+ nodeRole?: string | null;
5599
5857
  }
5600
5858
  export interface CatAllocationRequest extends CatCatRequestBase {
5601
5859
  node_id?: NodeIds;
@@ -5682,6 +5940,10 @@ export interface CatHealthHealthRecord {
5682
5940
  i?: string;
5683
5941
  'shards.initializing'?: string;
5684
5942
  shardsInitializing?: string;
5943
+ 'unassign.pri'?: string;
5944
+ up?: string;
5945
+ 'shards.unassigned.primary'?: string;
5946
+ shardsUnassignedPrimary?: string;
5685
5947
  unassign?: string;
5686
5948
  u?: string;
5687
5949
  'shards.unassigned'?: string;
@@ -7491,6 +7753,7 @@ export interface ClusterAllocationExplainClusterInfo {
7491
7753
  export interface ClusterAllocationExplainCurrentNode {
7492
7754
  id: Id;
7493
7755
  name: Name;
7756
+ roles: NodeRoles;
7494
7757
  attributes: Record<string, string>;
7495
7758
  transport_address: TransportAddress;
7496
7759
  weight_ranking: integer;
@@ -7510,6 +7773,7 @@ export interface ClusterAllocationExplainNodeAllocationExplanation {
7510
7773
  node_decision: ClusterAllocationExplainDecision;
7511
7774
  node_id: Id;
7512
7775
  node_name: Name;
7776
+ roles: NodeRoles;
7513
7777
  store?: ClusterAllocationExplainAllocationStore;
7514
7778
  transport_address: TransportAddress;
7515
7779
  weight_ranking: integer;
@@ -7627,6 +7891,7 @@ export interface ClusterHealthHealthResponseBody {
7627
7891
  task_max_waiting_in_queue?: Duration;
7628
7892
  task_max_waiting_in_queue_millis: DurationValue<UnitMillis>;
7629
7893
  timed_out: boolean;
7894
+ unassigned_primary_shards: integer;
7630
7895
  unassigned_shards: integer;
7631
7896
  }
7632
7897
  export interface ClusterHealthIndexHealthStats {
@@ -7639,6 +7904,7 @@ export interface ClusterHealthIndexHealthStats {
7639
7904
  shards?: Record<string, ClusterHealthShardHealthStats>;
7640
7905
  status: HealthStatus;
7641
7906
  unassigned_shards: integer;
7907
+ unassigned_primary_shards: integer;
7642
7908
  }
7643
7909
  export interface ClusterHealthRequest extends RequestBase {
7644
7910
  index?: Indices;
@@ -7662,6 +7928,7 @@ export interface ClusterHealthShardHealthStats {
7662
7928
  relocating_shards: integer;
7663
7929
  status: HealthStatus;
7664
7930
  unassigned_shards: integer;
7931
+ unassigned_primary_shards: integer;
7665
7932
  }
7666
7933
  export interface ClusterInfoRequest extends RequestBase {
7667
7934
  target: ClusterInfoTargets;
@@ -8019,7 +8286,7 @@ export interface ClusterStatsOperatingSystemMemoryInfo {
8019
8286
  }
8020
8287
  export interface ClusterStatsRequest extends RequestBase {
8021
8288
  node_id?: NodeIds;
8022
- flat_settings?: boolean;
8289
+ include_remotes?: boolean;
8023
8290
  timeout?: Duration;
8024
8291
  }
8025
8292
  export type ClusterStatsResponse = ClusterStatsStatsResponseBase;
@@ -8564,6 +8831,7 @@ export interface EnrichStatsCacheStats {
8564
8831
  misses: integer;
8565
8832
  misses_time_in_millis: DurationValue<UnitMillis>;
8566
8833
  evictions: integer;
8834
+ size_in_bytes: long;
8567
8835
  }
8568
8836
  export interface EnrichStatsCoordinatorStats {
8569
8837
  executed_searches_total: long;
@@ -8653,17 +8921,30 @@ export interface EqlSearchRequest extends RequestBase {
8653
8921
  }
8654
8922
  export type EqlSearchResponse<TEvent = unknown> = EqlEqlSearchResponseBase<TEvent>;
8655
8923
  export type EqlSearchResultPosition = 'tail' | 'head';
8924
+ export interface EsqlTableValuesContainer {
8925
+ integer?: EsqlTableValuesIntegerValue[];
8926
+ keyword?: EsqlTableValuesKeywordValue[];
8927
+ long?: EsqlTableValuesLongValue[];
8928
+ double?: EsqlTableValuesLongDouble[];
8929
+ }
8930
+ export type EsqlTableValuesIntegerValue = integer | integer[];
8931
+ export type EsqlTableValuesKeywordValue = string | string[];
8932
+ export type EsqlTableValuesLongDouble = double | double[];
8933
+ export type EsqlTableValuesLongValue = long | long[];
8656
8934
  export type EsqlQueryEsqlFormat = 'csv' | 'json' | 'tsv' | 'txt' | 'yaml' | 'cbor' | 'smile' | 'arrow';
8657
8935
  export interface EsqlQueryRequest extends RequestBase {
8658
8936
  format?: EsqlQueryEsqlFormat;
8659
8937
  delimiter?: string;
8938
+ drop_null_columns?: boolean;
8660
8939
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
8661
8940
  body?: {
8662
8941
  columnar?: boolean;
8663
8942
  filter?: QueryDslQueryContainer;
8664
8943
  locale?: string;
8665
- params?: ScalarValue[];
8944
+ params?: FieldValue[];
8945
+ profile?: boolean;
8666
8946
  query: string;
8947
+ tables?: Record<string, Record<string, EsqlTableValuesContainer>>;
8667
8948
  };
8668
8949
  }
8669
8950
  export type EsqlQueryResponse = EsqlColumns;
@@ -9086,6 +9367,7 @@ export interface IndicesCacheQueries {
9086
9367
  export interface IndicesDataStream {
9087
9368
  _meta?: Metadata;
9088
9369
  allow_custom_routing?: boolean;
9370
+ failure_store?: IndicesFailureStore;
9089
9371
  generation: integer;
9090
9372
  hidden: boolean;
9091
9373
  ilm_policy?: Name;
@@ -9095,6 +9377,7 @@ export interface IndicesDataStream {
9095
9377
  lifecycle?: IndicesDataStreamLifecycleWithRollover;
9096
9378
  name: DataStreamName;
9097
9379
  replicated?: boolean;
9380
+ rollover_on_write: boolean;
9098
9381
  status: HealthStatus;
9099
9382
  system?: boolean;
9100
9383
  template: Name;
@@ -9104,8 +9387,8 @@ export interface IndicesDataStreamIndex {
9104
9387
  index_name: IndexName;
9105
9388
  index_uuid: Uuid;
9106
9389
  ilm_policy?: Name;
9107
- managed_by: IndicesManagedBy;
9108
- prefer_ilm: boolean;
9390
+ managed_by?: IndicesManagedBy;
9391
+ prefer_ilm?: boolean;
9109
9392
  }
9110
9393
  export interface IndicesDataStreamLifecycle {
9111
9394
  data_retention?: Duration;
@@ -9145,6 +9428,11 @@ export interface IndicesDownsamplingRound {
9145
9428
  after: Duration;
9146
9429
  config: IndicesDownsampleConfig;
9147
9430
  }
9431
+ export interface IndicesFailureStore {
9432
+ enabled: boolean;
9433
+ indices: IndicesDataStreamIndex[];
9434
+ rollover_on_write: boolean;
9435
+ }
9148
9436
  export interface IndicesFielddataFrequencyFilter {
9149
9437
  max: double;
9150
9438
  min: double;
@@ -9289,6 +9577,8 @@ export interface IndicesIndexTemplate {
9289
9577
  _meta?: Metadata;
9290
9578
  allow_auto_create?: boolean;
9291
9579
  data_stream?: IndicesIndexTemplateDataStreamConfiguration;
9580
+ deprecated?: boolean;
9581
+ ignore_missing_component_templates?: Names;
9292
9582
  }
9293
9583
  export interface IndicesIndexTemplateDataStreamConfiguration {
9294
9584
  hidden?: boolean;
@@ -9616,6 +9906,8 @@ export interface IndicesCreateResponse {
9616
9906
  }
9617
9907
  export interface IndicesCreateDataStreamRequest extends RequestBase {
9618
9908
  name: DataStreamName;
9909
+ master_timeout?: Duration;
9910
+ timeout?: Duration;
9619
9911
  }
9620
9912
  export type IndicesCreateDataStreamResponse = AcknowledgedResponseBase;
9621
9913
  export interface IndicesDataStreamsStatsDataStreamsStatsItem {
@@ -9662,6 +9954,7 @@ export interface IndicesDeleteDataLifecycleRequest extends RequestBase {
9662
9954
  export type IndicesDeleteDataLifecycleResponse = AcknowledgedResponseBase;
9663
9955
  export interface IndicesDeleteDataStreamRequest extends RequestBase {
9664
9956
  name: DataStreamNames;
9957
+ master_timeout?: Duration;
9665
9958
  expand_wildcards?: ExpandWildcards;
9666
9959
  }
9667
9960
  export type IndicesDeleteDataStreamResponse = AcknowledgedResponseBase;
@@ -9849,6 +10142,7 @@ export interface IndicesGetDataLifecycleRequest extends RequestBase {
9849
10142
  name: DataStreamNames;
9850
10143
  expand_wildcards?: ExpandWildcards;
9851
10144
  include_defaults?: boolean;
10145
+ master_timeout?: Duration;
9852
10146
  }
9853
10147
  export interface IndicesGetDataLifecycleResponse {
9854
10148
  data_streams: IndicesGetDataLifecycleDataStreamWithLifecycle[];
@@ -9857,6 +10151,8 @@ export interface IndicesGetDataStreamRequest extends RequestBase {
9857
10151
  name?: DataStreamNames;
9858
10152
  expand_wildcards?: ExpandWildcards;
9859
10153
  include_defaults?: boolean;
10154
+ master_timeout?: Duration;
10155
+ verbose?: boolean;
9860
10156
  }
9861
10157
  export interface IndicesGetDataStreamResponse {
9862
10158
  data_streams: IndicesDataStream[];
@@ -9922,6 +10218,8 @@ export interface IndicesGetTemplateRequest extends RequestBase {
9922
10218
  export type IndicesGetTemplateResponse = Record<string, IndicesTemplateMapping>;
9923
10219
  export interface IndicesMigrateToDataStreamRequest extends RequestBase {
9924
10220
  name: IndexName;
10221
+ master_timeout?: Duration;
10222
+ timeout?: Duration;
9925
10223
  }
9926
10224
  export type IndicesMigrateToDataStreamResponse = AcknowledgedResponseBase;
9927
10225
  export interface IndicesModifyDataStreamAction {
@@ -9954,6 +10252,7 @@ export interface IndicesOpenResponse {
9954
10252
  }
9955
10253
  export interface IndicesPromoteDataStreamRequest extends RequestBase {
9956
10254
  name: IndexName;
10255
+ master_timeout?: Duration;
9957
10256
  }
9958
10257
  export type IndicesPromoteDataStreamResponse = any;
9959
10258
  export interface IndicesPutAliasRequest extends RequestBase {
@@ -10640,7 +10939,7 @@ export type InferenceDenseVector = float[];
10640
10939
  export interface InferenceInferenceEndpoint {
10641
10940
  service: string;
10642
10941
  service_settings: InferenceServiceSettings;
10643
- task_settings: InferenceTaskSettings;
10942
+ task_settings?: InferenceTaskSettings;
10644
10943
  }
10645
10944
  export interface InferenceInferenceEndpointInfo extends InferenceInferenceEndpoint {
10646
10945
  inference_id: string;
@@ -10706,7 +11005,7 @@ export interface InferencePutRequest extends RequestBase {
10706
11005
  export type InferencePutResponse = InferenceInferenceEndpointInfo;
10707
11006
  export interface IngestAppendProcessor extends IngestProcessorBase {
10708
11007
  field: Field;
10709
- value: any[];
11008
+ value: any | any[];
10710
11009
  allow_duplicates?: boolean;
10711
11010
  }
10712
11011
  export interface IngestAttachmentProcessor extends IngestProcessorBase {
@@ -10731,13 +11030,26 @@ export interface IngestCircleProcessor extends IngestProcessorBase {
10731
11030
  shape_type: IngestShapeType;
10732
11031
  target_field?: Field;
10733
11032
  }
11033
+ export interface IngestCommunityIDProcessor extends IngestProcessorBase {
11034
+ source_ip?: Field;
11035
+ source_port?: Field;
11036
+ destination_ip?: Field;
11037
+ destination_port?: Field;
11038
+ iana_number?: Field;
11039
+ icmp_type?: Field;
11040
+ icmp_code?: Field;
11041
+ transport?: Field;
11042
+ target_field?: Field;
11043
+ seed?: integer;
11044
+ ignore_missing?: boolean;
11045
+ }
10734
11046
  export interface IngestConvertProcessor extends IngestProcessorBase {
10735
11047
  field: Field;
10736
11048
  ignore_missing?: boolean;
10737
11049
  target_field?: Field;
10738
11050
  type: IngestConvertType;
10739
11051
  }
10740
- export type IngestConvertType = 'integer' | 'long' | 'float' | 'double' | 'string' | 'boolean' | 'auto';
11052
+ export type IngestConvertType = 'integer' | 'long' | 'double' | 'float' | 'boolean' | 'ip' | 'string' | 'auto';
10741
11053
  export interface IngestCsvProcessor extends IngestProcessorBase {
10742
11054
  empty_value?: any;
10743
11055
  field: Field;
@@ -10766,6 +11078,7 @@ export interface IngestDateProcessor extends IngestProcessorBase {
10766
11078
  locale?: string;
10767
11079
  target_field?: Field;
10768
11080
  timezone?: string;
11081
+ output_format?: string;
10769
11082
  }
10770
11083
  export interface IngestDissectProcessor extends IngestProcessorBase {
10771
11084
  append_separator?: string;
@@ -10775,6 +11088,7 @@ export interface IngestDissectProcessor extends IngestProcessorBase {
10775
11088
  }
10776
11089
  export interface IngestDotExpanderProcessor extends IngestProcessorBase {
10777
11090
  field: Field;
11091
+ override?: boolean;
10778
11092
  path?: string;
10779
11093
  }
10780
11094
  export interface IngestDropProcessor extends IngestProcessorBase {
@@ -10791,6 +11105,14 @@ export interface IngestEnrichProcessor extends IngestProcessorBase {
10791
11105
  export interface IngestFailProcessor extends IngestProcessorBase {
10792
11106
  message: string;
10793
11107
  }
11108
+ export type IngestFingerprintDigest = 'MD5' | 'SHA-1' | 'SHA-256' | 'SHA-512' | 'MurmurHash3';
11109
+ export interface IngestFingerprintProcessor extends IngestProcessorBase {
11110
+ fields: Fields;
11111
+ target_field?: Field;
11112
+ salt?: string;
11113
+ method?: IngestFingerprintDigest;
11114
+ ignore_missing?: boolean;
11115
+ }
10794
11116
  export interface IngestForeachProcessor extends IngestProcessorBase {
10795
11117
  field: Field;
10796
11118
  ignore_missing?: boolean;
@@ -10816,8 +11138,10 @@ export interface IngestGeoIpProcessor extends IngestProcessorBase {
10816
11138
  ignore_missing?: boolean;
10817
11139
  properties?: string[];
10818
11140
  target_field?: Field;
11141
+ download_database_on_pipeline_creation?: boolean;
10819
11142
  }
10820
11143
  export interface IngestGrokProcessor extends IngestProcessorBase {
11144
+ ecs_compatibility?: string;
10821
11145
  field: Field;
10822
11146
  ignore_missing?: boolean;
10823
11147
  pattern_definitions?: Record<string, string>;
@@ -10857,6 +11181,15 @@ export interface IngestInferenceProcessor extends IngestProcessorBase {
10857
11181
  field_map?: Record<Field, any>;
10858
11182
  inference_config?: IngestInferenceConfig;
10859
11183
  }
11184
+ export interface IngestIpLocationProcessor extends IngestProcessorBase {
11185
+ database_file?: string;
11186
+ field: Field;
11187
+ first_only?: boolean;
11188
+ ignore_missing?: boolean;
11189
+ properties?: string[];
11190
+ target_field?: Field;
11191
+ download_database_on_pipeline_creation?: boolean;
11192
+ }
10860
11193
  export interface IngestJoinProcessor extends IngestProcessorBase {
10861
11194
  field: Field;
10862
11195
  separator: string;
@@ -10891,11 +11224,20 @@ export interface IngestLowercaseProcessor extends IngestProcessorBase {
10891
11224
  export interface IngestMaxmind {
10892
11225
  account_id: Id;
10893
11226
  }
11227
+ export interface IngestNetworkDirectionProcessor extends IngestProcessorBase {
11228
+ source_ip?: Field;
11229
+ destination_ip?: Field;
11230
+ target_field?: Field;
11231
+ internal_networks?: string[];
11232
+ internal_networks_field?: Field;
11233
+ ignore_missing?: boolean;
11234
+ }
10894
11235
  export interface IngestPipeline {
10895
11236
  description?: string;
10896
11237
  on_failure?: IngestProcessorContainer[];
10897
11238
  processors?: IngestProcessorContainer[];
10898
11239
  version?: VersionNumber;
11240
+ deprecated?: boolean;
10899
11241
  _meta?: Metadata;
10900
11242
  }
10901
11243
  export interface IngestPipelineConfig {
@@ -10919,6 +11261,7 @@ export interface IngestProcessorContainer {
10919
11261
  attachment?: IngestAttachmentProcessor;
10920
11262
  bytes?: IngestBytesProcessor;
10921
11263
  circle?: IngestCircleProcessor;
11264
+ community_id?: IngestCommunityIDProcessor;
10922
11265
  convert?: IngestConvertProcessor;
10923
11266
  csv?: IngestCsvProcessor;
10924
11267
  date?: IngestDateProcessor;
@@ -10928,7 +11271,9 @@ export interface IngestProcessorContainer {
10928
11271
  drop?: IngestDropProcessor;
10929
11272
  enrich?: IngestEnrichProcessor;
10930
11273
  fail?: IngestFailProcessor;
11274
+ fingerprint?: IngestFingerprintProcessor;
10931
11275
  foreach?: IngestForeachProcessor;
11276
+ ip_location?: IngestIpLocationProcessor;
10932
11277
  geo_grid?: IngestGeoGridProcessor;
10933
11278
  geoip?: IngestGeoIpProcessor;
10934
11279
  grok?: IngestGrokProcessor;
@@ -10939,8 +11284,10 @@ export interface IngestProcessorContainer {
10939
11284
  json?: IngestJsonProcessor;
10940
11285
  kv?: IngestKeyValueProcessor;
10941
11286
  lowercase?: IngestLowercaseProcessor;
11287
+ network_direction?: IngestNetworkDirectionProcessor;
10942
11288
  pipeline?: IngestPipelineProcessor;
10943
11289
  redact?: IngestRedactProcessor;
11290
+ registered_domain?: IngestRegisteredDomainProcessor;
10944
11291
  remove?: IngestRemoveProcessor;
10945
11292
  rename?: IngestRenameProcessor;
10946
11293
  reroute?: IngestRerouteProcessor;
@@ -10949,6 +11296,7 @@ export interface IngestProcessorContainer {
10949
11296
  set_security_user?: IngestSetSecurityUserProcessor;
10950
11297
  sort?: IngestSortProcessor;
10951
11298
  split?: IngestSplitProcessor;
11299
+ terminate?: IngestTerminateProcessor;
10952
11300
  trim?: IngestTrimProcessor;
10953
11301
  uppercase?: IngestUppercaseProcessor;
10954
11302
  urldecode?: IngestUrlDecodeProcessor;
@@ -10963,6 +11311,12 @@ export interface IngestRedactProcessor extends IngestProcessorBase {
10963
11311
  suffix?: string;
10964
11312
  ignore_missing?: boolean;
10965
11313
  skip_if_unlicensed?: boolean;
11314
+ trace_redact?: boolean;
11315
+ }
11316
+ export interface IngestRegisteredDomainProcessor extends IngestProcessorBase {
11317
+ field: Field;
11318
+ target_field?: Field;
11319
+ ignore_missing?: boolean;
10966
11320
  }
10967
11321
  export interface IngestRemoveProcessor extends IngestProcessorBase {
10968
11322
  field: Fields;
@@ -11010,6 +11364,8 @@ export interface IngestSplitProcessor extends IngestProcessorBase {
11010
11364
  separator: string;
11011
11365
  target_field?: Field;
11012
11366
  }
11367
+ export interface IngestTerminateProcessor extends IngestProcessorBase {
11368
+ }
11013
11369
  export interface IngestTrimProcessor extends IngestProcessorBase {
11014
11370
  field: Field;
11015
11371
  ignore_missing?: boolean;
@@ -11035,11 +11391,12 @@ export interface IngestUrlDecodeProcessor extends IngestProcessorBase {
11035
11391
  export interface IngestUserAgentProcessor extends IngestProcessorBase {
11036
11392
  field: Field;
11037
11393
  ignore_missing?: boolean;
11038
- options?: IngestUserAgentProperty[];
11039
11394
  regex_file?: string;
11040
11395
  target_field?: Field;
11396
+ properties?: IngestUserAgentProperty[];
11397
+ extract_device_type?: boolean;
11041
11398
  }
11042
- export type IngestUserAgentProperty = 'NAME' | 'MAJOR' | 'MINOR' | 'PATCH' | 'OS' | 'OS_NAME' | 'OS_MAJOR' | 'OS_MINOR' | 'DEVICE' | 'BUILD';
11399
+ export type IngestUserAgentProperty = 'name' | 'os' | 'device' | 'original' | 'version';
11043
11400
  export interface IngestDeleteGeoipDatabaseRequest extends RequestBase {
11044
11401
  id: Ids;
11045
11402
  master_timeout?: Duration;
@@ -11120,6 +11477,7 @@ export interface IngestPutPipelineRequest extends RequestBase {
11120
11477
  on_failure?: IngestProcessorContainer[];
11121
11478
  processors?: IngestProcessorContainer[];
11122
11479
  version?: VersionNumber;
11480
+ deprecated?: boolean;
11123
11481
  };
11124
11482
  }
11125
11483
  export type IngestPutPipelineResponse = AcknowledgedResponseBase;
@@ -11141,27 +11499,38 @@ export type IngestSimulateDocumentSimulation = IngestSimulateDocumentSimulationK
11141
11499
  [property: string]: string | Id | IndexName | IngestSimulateIngest | Record<string, any> | SpecUtilsStringified<VersionNumber> | VersionType;
11142
11500
  };
11143
11501
  export interface IngestSimulateIngest {
11502
+ _redact?: IngestSimulateRedact;
11144
11503
  timestamp: DateTime;
11145
11504
  pipeline?: Name;
11146
11505
  }
11147
11506
  export interface IngestSimulatePipelineSimulation {
11148
11507
  doc?: IngestSimulateDocumentSimulation;
11149
- processor_results?: IngestSimulatePipelineSimulation[];
11150
11508
  tag?: string;
11151
11509
  processor_type?: string;
11152
11510
  status?: WatcherActionStatusOptions;
11511
+ description?: string;
11512
+ ignored_error?: ErrorCause;
11513
+ error?: ErrorCause;
11514
+ }
11515
+ export interface IngestSimulateRedact {
11516
+ _is_redacted: boolean;
11153
11517
  }
11154
11518
  export interface IngestSimulateRequest extends RequestBase {
11155
11519
  id?: Id;
11156
11520
  verbose?: boolean;
11157
11521
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
11158
11522
  body?: {
11159
- docs?: IngestSimulateDocument[];
11523
+ docs: IngestSimulateDocument[];
11160
11524
  pipeline?: IngestPipeline;
11161
11525
  };
11162
11526
  }
11163
11527
  export interface IngestSimulateResponse {
11164
- docs: IngestSimulatePipelineSimulation[];
11528
+ docs: IngestSimulateSimulateDocumentResult[];
11529
+ }
11530
+ export interface IngestSimulateSimulateDocumentResult {
11531
+ doc?: IngestSimulateDocumentSimulation;
11532
+ error?: ErrorCause;
11533
+ processor_results?: IngestSimulatePipelineSimulation[];
11165
11534
  }
11166
11535
  export interface LicenseLicense {
11167
11536
  expiry_date_in_millis: EpochTime<UnitMillis>;
@@ -11796,8 +12165,7 @@ export interface MlDelayedDataCheckConfig {
11796
12165
  enabled: boolean;
11797
12166
  }
11798
12167
  export type MlDeploymentAllocationState = 'started' | 'starting' | 'fully_allocated';
11799
- export type MlDeploymentAssignmentState = 'starting' | 'started' | 'stopping' | 'failed';
11800
- export type MlDeploymentState = 'started' | 'starting' | 'stopping';
12168
+ export type MlDeploymentAssignmentState = 'started' | 'starting' | 'stopping' | 'failed';
11801
12169
  export interface MlDetectionRule {
11802
12170
  actions?: MlRuleAction[];
11803
12171
  conditions?: MlRuleCondition[];
@@ -12136,7 +12504,7 @@ export interface MlPerPartitionCategorization {
12136
12504
  enabled?: boolean;
12137
12505
  stop_on_warn?: boolean;
12138
12506
  }
12139
- export type MlPredictedValue = string | double | boolean | integer;
12507
+ export type MlPredictedValue = ScalarValue | ScalarValue[];
12140
12508
  export interface MlQuestionAnsweringInferenceOptions {
12141
12509
  num_top_classes?: integer;
12142
12510
  tokenization?: MlTokenizationConfigContainer;
@@ -12311,7 +12679,7 @@ export interface MlTrainedModelDeploymentStats {
12311
12679
  rejected_execution_count: integer;
12312
12680
  reason: string;
12313
12681
  start_time: EpochTime<UnitMillis>;
12314
- state: MlDeploymentState;
12682
+ state: MlDeploymentAssignmentState;
12315
12683
  threads_per_allocation: integer;
12316
12684
  timeout_count: integer;
12317
12685
  }
@@ -14212,7 +14580,7 @@ export interface NodesInfoNodeInfoSettingsIngest {
14212
14580
  inference?: NodesInfoNodeInfoIngestInfo;
14213
14581
  }
14214
14582
  export interface NodesInfoNodeInfoSettingsNetwork {
14215
- host?: Host;
14583
+ host?: Host | Host[];
14216
14584
  }
14217
14585
  export interface NodesInfoNodeInfoSettingsNode {
14218
14586
  name: Name;
@@ -14239,6 +14607,7 @@ export interface NodesInfoNodeInfoXpack {
14239
14607
  license?: NodesInfoNodeInfoXpackLicense;
14240
14608
  security: NodesInfoNodeInfoXpackSecurity;
14241
14609
  notification?: Record<string, any>;
14610
+ ml?: NodesInfoNodeInfoXpackMl;
14242
14611
  }
14243
14612
  export interface NodesInfoNodeInfoXpackLicense {
14244
14613
  self_generated: NodesInfoNodeInfoXpackLicenseType;
@@ -14246,6 +14615,9 @@ export interface NodesInfoNodeInfoXpackLicense {
14246
14615
  export interface NodesInfoNodeInfoXpackLicenseType {
14247
14616
  type: string;
14248
14617
  }
14618
+ export interface NodesInfoNodeInfoXpackMl {
14619
+ use_auto_machine_memory_percent?: boolean;
14620
+ }
14249
14621
  export interface NodesInfoNodeInfoXpackSecurity {
14250
14622
  http?: NodesInfoNodeInfoXpackSecuritySsl;
14251
14623
  enabled: string;
@@ -14253,8 +14625,8 @@ export interface NodesInfoNodeInfoXpackSecurity {
14253
14625
  authc?: NodesInfoNodeInfoXpackSecurityAuthc;
14254
14626
  }
14255
14627
  export interface NodesInfoNodeInfoXpackSecurityAuthc {
14256
- realms: NodesInfoNodeInfoXpackSecurityAuthcRealms;
14257
- token: NodesInfoNodeInfoXpackSecurityAuthcToken;
14628
+ realms?: NodesInfoNodeInfoXpackSecurityAuthcRealms;
14629
+ token?: NodesInfoNodeInfoXpackSecurityAuthcToken;
14258
14630
  }
14259
14631
  export interface NodesInfoNodeInfoXpackSecurityAuthcRealms {
14260
14632
  file?: Record<string, NodesInfoNodeInfoXpackSecurityAuthcRealmsStatus>;
@@ -14389,7 +14761,7 @@ export interface QueryRulesQueryRuleCriteria {
14389
14761
  values?: any[];
14390
14762
  }
14391
14763
  export type QueryRulesQueryRuleCriteriaType = 'global' | 'exact' | 'exact_fuzzy' | 'fuzzy' | 'prefix' | 'suffix' | 'contains' | 'lt' | 'lte' | 'gt' | 'gte' | 'always';
14392
- export type QueryRulesQueryRuleType = 'pinned';
14764
+ export type QueryRulesQueryRuleType = 'pinned' | 'exclude';
14393
14765
  export interface QueryRulesQueryRuleset {
14394
14766
  ruleset_id: Id;
14395
14767
  rules: QueryRulesQueryRule[];
@@ -14449,6 +14821,21 @@ export interface QueryRulesPutRulesetRequest extends RequestBase {
14449
14821
  export interface QueryRulesPutRulesetResponse {
14450
14822
  result: Result;
14451
14823
  }
14824
+ export interface QueryRulesTestQueryRulesetMatchedRule {
14825
+ ruleset_id: Id;
14826
+ rule_id: Id;
14827
+ }
14828
+ export interface QueryRulesTestRequest extends RequestBase {
14829
+ ruleset_id: Id;
14830
+ /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
14831
+ body?: {
14832
+ match_criteria: Record<string, any>;
14833
+ };
14834
+ }
14835
+ export interface QueryRulesTestResponse {
14836
+ total_matched_rules: integer;
14837
+ matched_rules: QueryRulesTestQueryRulesetMatchedRule[];
14838
+ }
14452
14839
  export interface RollupDateHistogramGrouping {
14453
14840
  delay?: Duration;
14454
14841
  field: Field;
@@ -14741,6 +15128,10 @@ export interface SearchableSnapshotsStatsResponse {
14741
15128
  stats: any;
14742
15129
  total: any;
14743
15130
  }
15131
+ export interface SecurityAccess {
15132
+ replication?: SecurityReplicationAccess[];
15133
+ search?: SecuritySearchAccess[];
15134
+ }
14744
15135
  export interface SecurityApiKey {
14745
15136
  creation?: long;
14746
15137
  expiration?: long;
@@ -14771,7 +15162,7 @@ export interface SecurityBulkError {
14771
15162
  export interface SecurityClusterNode {
14772
15163
  name: Name;
14773
15164
  }
14774
- 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;
15165
+ 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;
14775
15166
  export interface SecurityCreatedStatus {
14776
15167
  created: boolean;
14777
15168
  }
@@ -14804,6 +15195,18 @@ export interface SecurityRealmInfo {
14804
15195
  name: Name;
14805
15196
  type: string;
14806
15197
  }
15198
+ export interface SecurityRemoteIndicesPrivileges {
15199
+ clusters: Names;
15200
+ field_security?: SecurityFieldSecurity;
15201
+ names: Indices;
15202
+ privileges: SecurityIndexPrivilege[];
15203
+ query?: SecurityIndicesPrivilegesQuery;
15204
+ allow_restricted_indices?: boolean;
15205
+ }
15206
+ export interface SecurityReplicationAccess {
15207
+ names: IndexName[];
15208
+ allow_restricted_indices?: boolean;
15209
+ }
14807
15210
  export interface SecurityRoleDescriptor {
14808
15211
  cluster?: SecurityClusterPrivilege[];
14809
15212
  indices?: SecurityIndicesPrivileges[];
@@ -14854,6 +15257,12 @@ export interface SecurityRoleTemplateScript {
14854
15257
  lang?: ScriptLanguage;
14855
15258
  options?: Record<string, string>;
14856
15259
  }
15260
+ export interface SecuritySearchAccess {
15261
+ field_security?: SecurityFieldSecurity;
15262
+ names: IndexName[];
15263
+ query?: SecurityIndicesPrivilegesQuery;
15264
+ allow_restricted_indices?: boolean;
15265
+ }
14857
15266
  export type SecurityTemplateFormat = 'string' | 'json';
14858
15267
  export interface SecurityUser {
14859
15268
  email?: string | null;
@@ -15020,6 +15429,22 @@ export interface SecurityCreateApiKeyResponse {
15020
15429
  name: Name;
15021
15430
  encoded: string;
15022
15431
  }
15432
+ export interface SecurityCreateCrossClusterApiKeyRequest extends RequestBase {
15433
+ /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
15434
+ body?: {
15435
+ access: SecurityAccess;
15436
+ expiration?: Duration;
15437
+ metadata?: Metadata;
15438
+ name: Name;
15439
+ };
15440
+ }
15441
+ export interface SecurityCreateCrossClusterApiKeyResponse {
15442
+ api_key: string;
15443
+ expiration?: DurationValue<UnitMillis>;
15444
+ id: Id;
15445
+ name: Name;
15446
+ encoded: string;
15447
+ }
15023
15448
  export interface SecurityCreateServiceTokenRequest extends RequestBase {
15024
15449
  namespace: Namespace;
15025
15450
  service: Service;
@@ -15373,6 +15798,7 @@ export interface SecurityPutRoleRequest extends RequestBase {
15373
15798
  cluster?: SecurityClusterPrivilege[];
15374
15799
  global?: Record<string, any>;
15375
15800
  indices?: SecurityIndicesPrivileges[];
15801
+ remote_indices?: SecurityRemoteIndicesPrivileges[];
15376
15802
  metadata?: Metadata;
15377
15803
  run_as?: string[];
15378
15804
  description?: string;
@@ -15638,6 +16064,18 @@ export interface SecurityUpdateApiKeyRequest extends RequestBase {
15638
16064
  export interface SecurityUpdateApiKeyResponse {
15639
16065
  updated: boolean;
15640
16066
  }
16067
+ export interface SecurityUpdateCrossClusterApiKeyRequest extends RequestBase {
16068
+ id: Id;
16069
+ /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
16070
+ body?: {
16071
+ access: SecurityAccess;
16072
+ expiration?: Duration;
16073
+ metadata?: Metadata;
16074
+ };
16075
+ }
16076
+ export interface SecurityUpdateCrossClusterApiKeyResponse {
16077
+ updated: boolean;
16078
+ }
15641
16079
  export interface SecurityUpdateUserProfileDataRequest extends RequestBase {
15642
16080
  uid: SecurityUserProfileId;
15643
16081
  if_seq_no?: SequenceNumber;
@@ -15945,6 +16383,7 @@ export interface SnapshotSnapshotShardFailure {
15945
16383
  node_id?: Id;
15946
16384
  reason: string;
15947
16385
  shard_id: Id;
16386
+ index_uuid: Id;
15948
16387
  status: string;
15949
16388
  }
15950
16389
  export interface SnapshotSnapshotShardsStatus {
@@ -16077,6 +16516,18 @@ export interface SnapshotGetRepositoryRequest extends RequestBase {
16077
16516
  master_timeout?: Duration;
16078
16517
  }
16079
16518
  export type SnapshotGetRepositoryResponse = Record<string, SnapshotRepository>;
16519
+ export interface SnapshotRepositoryVerifyIntegrityRequest extends RequestBase {
16520
+ name: Names;
16521
+ meta_thread_pool_concurrency?: integer;
16522
+ blob_thread_pool_concurrency?: integer;
16523
+ snapshot_verification_concurrency?: integer;
16524
+ index_verification_concurrency?: integer;
16525
+ index_snapshot_verification_concurrency?: integer;
16526
+ max_failed_shard_snapshots?: integer;
16527
+ verify_blob_contents?: boolean;
16528
+ max_bytes_per_sec?: string;
16529
+ }
16530
+ export type SnapshotRepositoryVerifyIntegrityResponse = any;
16080
16531
  export interface SnapshotRestoreRequest extends RequestBase {
16081
16532
  repository: Name;
16082
16533
  snapshot: Name;
@@ -16170,7 +16621,7 @@ export interface SqlGetAsyncStatusResponse {
16170
16621
  completion_status?: uint;
16171
16622
  }
16172
16623
  export interface SqlQueryRequest extends RequestBase {
16173
- format?: string;
16624
+ format?: SqlQuerySqlFormat;
16174
16625
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
16175
16626
  body?: {
16176
16627
  catalog?: string;
@@ -16199,6 +16650,7 @@ export interface SqlQueryResponse {
16199
16650
  cursor?: string;
16200
16651
  rows: SqlRow[];
16201
16652
  }
16653
+ export type SqlQuerySqlFormat = 'csv' | 'json' | 'tsv' | 'txt' | 'yaml' | 'cbor' | 'smile';
16202
16654
  export interface SqlTranslateRequest extends RequestBase {
16203
16655
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
16204
16656
  body?: {
@@ -16355,7 +16807,7 @@ export interface TasksListRequest extends RequestBase {
16355
16807
  actions?: string | string[];
16356
16808
  detailed?: boolean;
16357
16809
  group_by?: TasksGroupBy;
16358
- node_id?: string[];
16810
+ nodes?: NodeIds;
16359
16811
  parent_task_id?: Id;
16360
16812
  master_timeout?: Duration;
16361
16813
  timeout?: Duration;
@@ -17270,17 +17722,17 @@ export interface XpackInfoFeatures {
17270
17722
  aggregate_metric: XpackInfoFeature;
17271
17723
  analytics: XpackInfoFeature;
17272
17724
  ccr: XpackInfoFeature;
17273
- data_frame?: XpackInfoFeature;
17274
- data_science?: XpackInfoFeature;
17275
17725
  data_streams: XpackInfoFeature;
17276
17726
  data_tiers: XpackInfoFeature;
17277
17727
  enrich: XpackInfoFeature;
17728
+ enterprise_search: XpackInfoFeature;
17278
17729
  eql: XpackInfoFeature;
17279
- flattened?: XpackInfoFeature;
17730
+ esql: XpackInfoFeature;
17280
17731
  frozen_indices: XpackInfoFeature;
17281
17732
  graph: XpackInfoFeature;
17282
17733
  ilm: XpackInfoFeature;
17283
17734
  logstash: XpackInfoFeature;
17735
+ logsdb: XpackInfoFeature;
17284
17736
  ml: XpackInfoFeature;
17285
17737
  monitoring: XpackInfoFeature;
17286
17738
  rollup: XpackInfoFeature;
@@ -17291,7 +17743,7 @@ export interface XpackInfoFeatures {
17291
17743
  spatial: XpackInfoFeature;
17292
17744
  sql: XpackInfoFeature;
17293
17745
  transform: XpackInfoFeature;
17294
- vectors?: XpackInfoFeature;
17746
+ universal_profiling: XpackInfoFeature;
17295
17747
  voting_only: XpackInfoFeature;
17296
17748
  watcher: XpackInfoFeature;
17297
17749
  archive: XpackInfoFeature;
@@ -17308,7 +17760,7 @@ export interface XpackInfoNativeCodeInformation {
17308
17760
  version: VersionString;
17309
17761
  }
17310
17762
  export interface XpackInfoRequest extends RequestBase {
17311
- categories?: string[];
17763
+ categories?: XpackInfoXPackCategory[];
17312
17764
  accept_enterprise?: boolean;
17313
17765
  human?: boolean;
17314
17766
  }
@@ -17318,6 +17770,7 @@ export interface XpackInfoResponse {
17318
17770
  license: XpackInfoMinimalLicenseInformation;
17319
17771
  tagline: string;
17320
17772
  }
17773
+ export type XpackInfoXPackCategory = 'build' | 'features' | 'license';
17321
17774
  export interface XpackUsageAnalytics extends XpackUsageBase {
17322
17775
  stats: XpackUsageAnalyticsStatistics;
17323
17776
  }