@elastic/elasticsearch 8.18.2 → 8.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. package/index.d.ts +1 -0
  2. package/lib/api/api/async_search.d.ts +4 -4
  3. package/lib/api/api/autoscaling.d.ts +4 -4
  4. package/lib/api/api/bulk.d.ts +1 -1
  5. package/lib/api/api/cat.d.ts +26 -26
  6. package/lib/api/api/ccr.d.ts +13 -13
  7. package/lib/api/api/clear_scroll.d.ts +1 -1
  8. package/lib/api/api/close_point_in_time.d.ts +1 -1
  9. package/lib/api/api/cluster.d.ts +17 -17
  10. package/lib/api/api/connector.d.ts +30 -30
  11. package/lib/api/api/count.d.ts +1 -1
  12. package/lib/api/api/create.d.ts +1 -1
  13. package/lib/api/api/dangling_indices.d.ts +3 -3
  14. package/lib/api/api/delete.d.ts +1 -1
  15. package/lib/api/api/delete_by_query.d.ts +1 -1
  16. package/lib/api/api/delete_by_query_rethrottle.d.ts +1 -1
  17. package/lib/api/api/delete_script.d.ts +1 -1
  18. package/lib/api/api/enrich.d.ts +5 -5
  19. package/lib/api/api/eql.d.ts +3 -3
  20. package/lib/api/api/esql.d.ts +5 -5
  21. package/lib/api/api/esql.js +1 -1
  22. package/lib/api/api/esql.js.map +1 -1
  23. package/lib/api/api/exists.d.ts +1 -1
  24. package/lib/api/api/exists_source.d.ts +1 -1
  25. package/lib/api/api/explain.d.ts +1 -1
  26. package/lib/api/api/features.d.ts +2 -2
  27. package/lib/api/api/field_caps.d.ts +1 -1
  28. package/lib/api/api/fleet.d.ts +4 -4
  29. package/lib/api/api/get.d.ts +1 -1
  30. package/lib/api/api/get_script.d.ts +1 -1
  31. package/lib/api/api/get_script_context.d.ts +1 -1
  32. package/lib/api/api/get_script_languages.d.ts +1 -1
  33. package/lib/api/api/get_source.d.ts +1 -1
  34. package/lib/api/api/graph.d.ts +1 -1
  35. package/lib/api/api/health_report.d.ts +1 -1
  36. package/lib/api/api/ilm.d.ts +11 -11
  37. package/lib/api/api/index.d.ts +1 -1
  38. package/lib/api/api/indices.d.ts +94 -59
  39. package/lib/api/api/indices.js +115 -0
  40. package/lib/api/api/indices.js.map +1 -1
  41. package/lib/api/api/inference.d.ts +64 -43
  42. package/lib/api/api/inference.js +116 -2
  43. package/lib/api/api/inference.js.map +1 -1
  44. package/lib/api/api/info.d.ts +2 -2
  45. package/lib/api/api/ingest.d.ts +9 -9
  46. package/lib/api/api/knn_search.d.ts +1 -1
  47. package/lib/api/api/license.d.ts +7 -7
  48. package/lib/api/api/logstash.d.ts +3 -3
  49. package/lib/api/api/mget.d.ts +1 -1
  50. package/lib/api/api/migration.d.ts +3 -3
  51. package/lib/api/api/ml.d.ts +75 -75
  52. package/lib/api/api/msearch.d.ts +1 -1
  53. package/lib/api/api/msearch_template.d.ts +1 -1
  54. package/lib/api/api/mtermvectors.d.ts +1 -1
  55. package/lib/api/api/nodes.d.ts +7 -7
  56. package/lib/api/api/open_point_in_time.d.ts +1 -1
  57. package/lib/api/api/ping.d.ts +1 -1
  58. package/lib/api/api/profiling.d.ts +4 -4
  59. package/lib/api/api/put_script.d.ts +1 -1
  60. package/lib/api/api/query_rules.d.ts +8 -8
  61. package/lib/api/api/rank_eval.d.ts +1 -1
  62. package/lib/api/api/reindex.d.ts +1 -1
  63. package/lib/api/api/reindex_rethrottle.d.ts +1 -1
  64. package/lib/api/api/render_search_template.d.ts +1 -1
  65. package/lib/api/api/rollup.d.ts +8 -8
  66. package/lib/api/api/scripts_painless_execute.d.ts +1 -1
  67. package/lib/api/api/scroll.d.ts +1 -1
  68. package/lib/api/api/search.d.ts +1 -1
  69. package/lib/api/api/search_application.d.ts +10 -10
  70. package/lib/api/api/search_mvt.d.ts +1 -1
  71. package/lib/api/api/search_shards.d.ts +1 -1
  72. package/lib/api/api/search_template.d.ts +1 -1
  73. package/lib/api/api/searchable_snapshots.d.ts +4 -4
  74. package/lib/api/api/security.d.ts +64 -64
  75. package/lib/api/api/shutdown.d.ts +3 -3
  76. package/lib/api/api/simulate.d.ts +1 -1
  77. package/lib/api/api/slm.d.ts +9 -9
  78. package/lib/api/api/snapshot.d.ts +13 -13
  79. package/lib/api/api/sql.d.ts +6 -6
  80. package/lib/api/api/ssl.d.ts +1 -1
  81. package/lib/api/api/streams.d.ts +32 -0
  82. package/lib/api/api/streams.js +93 -0
  83. package/lib/api/api/streams.js.map +1 -0
  84. package/lib/api/api/synonyms.d.ts +7 -7
  85. package/lib/api/api/tasks.d.ts +3 -3
  86. package/lib/api/api/terms_enum.d.ts +1 -1
  87. package/lib/api/api/termvectors.d.ts +1 -1
  88. package/lib/api/api/text_structure.d.ts +4 -4
  89. package/lib/api/api/transform.d.ts +12 -12
  90. package/lib/api/api/update.d.ts +1 -1
  91. package/lib/api/api/update_by_query.d.ts +1 -1
  92. package/lib/api/api/update_by_query_rethrottle.d.ts +1 -1
  93. package/lib/api/api/watcher.d.ts +13 -13
  94. package/lib/api/api/xpack.d.ts +2 -2
  95. package/lib/api/index.d.ts +4 -0
  96. package/lib/api/index.js +14 -2
  97. package/lib/api/index.js.map +1 -1
  98. package/lib/api/types.d.ts +754 -173
  99. package/lib/api/typesWithBodyKey.d.ts +763 -173
  100. package/lib/client.js +9 -12
  101. package/lib/client.js.map +1 -1
  102. package/lib/helpers.js +1 -1
  103. package/lib/helpers.js.map +1 -1
  104. package/package.json +11 -11
@@ -131,10 +131,7 @@ export interface CountResponse {
131
131
  export interface CreateRequest<TDocument = unknown> extends RequestBase {
132
132
  id: Id;
133
133
  index: IndexName;
134
- if_primary_term?: long;
135
- if_seq_no?: SequenceNumber;
136
134
  include_source_on_error?: boolean;
137
- op_type?: OpType;
138
135
  pipeline?: string;
139
136
  refresh?: Refresh;
140
137
  require_alias?: boolean;
@@ -402,7 +399,6 @@ export interface GetSourceRequest extends RequestBase {
402
399
  _source?: SearchSourceConfigParam;
403
400
  _source_excludes?: Fields;
404
401
  _source_includes?: Fields;
405
- stored_fields?: Fields;
406
402
  version?: VersionNumber;
407
403
  version_type?: VersionType;
408
404
  }
@@ -460,7 +456,7 @@ export interface HealthReportImpact {
460
456
  severity: integer;
461
457
  }
462
458
  export type HealthReportImpactArea = 'search' | 'ingest' | 'backup' | 'deployment_management';
463
- export type HealthReportIndicatorHealthStatus = 'green' | 'yellow' | 'red' | 'unknown';
459
+ export type HealthReportIndicatorHealthStatus = 'green' | 'yellow' | 'red' | 'unknown' | 'unavailable';
464
460
  export interface HealthReportIndicatorNode {
465
461
  name: string | null;
466
462
  node_id: string | null;
@@ -570,6 +566,7 @@ export interface IndexRequest<TDocument = unknown> extends RequestBase {
570
566
  version_type?: VersionType;
571
567
  wait_for_active_shards?: WaitForActiveShards;
572
568
  require_alias?: boolean;
569
+ require_data_stream?: boolean;
573
570
  /** @deprecated The use of the 'body' key has been deprecated, use 'document' instead. */
574
571
  body?: TDocument;
575
572
  }
@@ -1374,7 +1371,7 @@ export interface SearchInnerHits {
1374
1371
  ignore_unmapped?: boolean;
1375
1372
  script_fields?: Record<Field, ScriptField>;
1376
1373
  seq_no_primary_term?: boolean;
1377
- fields?: Fields;
1374
+ fields?: Field[];
1378
1375
  sort?: Sort;
1379
1376
  _source?: SearchSourceConfig;
1380
1377
  stored_fields?: Fields;
@@ -1542,7 +1539,7 @@ export interface SearchShardProfile {
1542
1539
  index: IndexName;
1543
1540
  node_id: NodeId;
1544
1541
  searches: SearchSearchProfile[];
1545
- shard_id: long;
1542
+ shard_id: integer;
1546
1543
  }
1547
1544
  export interface SearchSmoothingModelContainer {
1548
1545
  laplace?: SearchLaplaceSmoothingModel;
@@ -1552,6 +1549,7 @@ export interface SearchSmoothingModelContainer {
1552
1549
  export type SearchSourceConfig = boolean | SearchSourceFilter | Fields;
1553
1550
  export type SearchSourceConfigParam = boolean | Fields;
1554
1551
  export interface SearchSourceFilter {
1552
+ exclude_vectors?: boolean;
1555
1553
  excludes?: Fields;
1556
1554
  exclude?: Fields;
1557
1555
  includes?: Fields;
@@ -1971,6 +1969,8 @@ export type DistanceUnit = 'in' | 'ft' | 'yd' | 'mi' | 'nmi' | 'km' | 'm' | 'cm'
1971
1969
  export interface DocStats {
1972
1970
  count: long;
1973
1971
  deleted?: long;
1972
+ total_size_in_bytes: long;
1973
+ total_size?: ByteSize;
1974
1974
  }
1975
1975
  export type Duration = string | -1 | 0;
1976
1976
  export type DurationLarge = string;
@@ -1997,7 +1997,7 @@ export interface EmptyObject {
1997
1997
  export type EpochTime<Unit = unknown> = Unit;
1998
1998
  export interface ErrorCauseKeys {
1999
1999
  type: string;
2000
- reason?: string;
2000
+ reason?: string | null;
2001
2001
  stack_trace?: string;
2002
2002
  caused_by?: ErrorCause;
2003
2003
  root_cause?: ErrorCause[];
@@ -2010,7 +2010,6 @@ export interface ErrorResponseBase {
2010
2010
  error: ErrorCause;
2011
2011
  status: integer;
2012
2012
  }
2013
- export type EsqlResult = ArrayBuffer;
2014
2013
  export type ExpandWildcard = 'all' | 'open' | 'closed' | 'hidden' | 'none';
2015
2014
  export type ExpandWildcards = ExpandWildcard | ExpandWildcard[];
2016
2015
  export type Field = string;
@@ -2038,6 +2037,7 @@ export interface FielddataStats {
2038
2037
  memory_size?: ByteSize;
2039
2038
  memory_size_in_bytes: long;
2040
2039
  fields?: Record<Field, FieldMemoryUsage>;
2040
+ global_ordinals: GlobalOrdinalsStats;
2041
2041
  }
2042
2042
  export type Fields = Field | Field[];
2043
2043
  export interface FlushStats {
@@ -2087,8 +2087,18 @@ export interface GetStats {
2087
2087
  time_in_millis: DurationValue<UnitMillis>;
2088
2088
  total: long;
2089
2089
  }
2090
+ export interface GlobalOrdinalFieldStats {
2091
+ build_time_in_millis: UnitMillis;
2092
+ build_time?: string;
2093
+ shard_max_value_count: long;
2094
+ }
2095
+ export interface GlobalOrdinalsStats {
2096
+ build_time_in_millis: UnitMillis;
2097
+ build_time?: string;
2098
+ fields?: Record<Name, GlobalOrdinalFieldStats>;
2099
+ }
2090
2100
  export type GrokPattern = string;
2091
- export type HealthStatus = 'green' | 'GREEN' | 'yellow' | 'YELLOW' | 'red' | 'RED';
2101
+ export type HealthStatus = 'green' | 'GREEN' | 'yellow' | 'YELLOW' | 'red' | 'RED' | 'unknown' | 'unavailable';
2092
2102
  export type Host = string;
2093
2103
  export type HttpHeaders = Record<string, string | string[]>;
2094
2104
  export type IBDistribution = 'll' | 'spl';
@@ -2137,6 +2147,11 @@ export interface InlineGetKeys<TDocument = unknown> {
2137
2147
  export type InlineGet<TDocument = unknown> = InlineGetKeys<TDocument> & {
2138
2148
  [property: string]: any;
2139
2149
  };
2150
+ export interface InnerRetriever {
2151
+ retriever: RetrieverContainer;
2152
+ weight: float;
2153
+ normalizer: ScoreNormalizer;
2154
+ }
2140
2155
  export type Ip = string;
2141
2156
  export interface KnnQuery extends QueryDslQueryBase {
2142
2157
  field: Field;
@@ -2175,6 +2190,13 @@ export interface LatLonGeoLocation {
2175
2190
  }
2176
2191
  export type Level = 'cluster' | 'indices' | 'shards';
2177
2192
  export type LifecycleOperationMode = 'RUNNING' | 'STOPPING' | 'STOPPED';
2193
+ export interface LinearRetriever extends RetrieverBase {
2194
+ retrievers?: InnerRetriever[];
2195
+ rank_window_size?: integer;
2196
+ query?: string;
2197
+ fields?: string[];
2198
+ normalizer?: ScoreNormalizer;
2199
+ }
2178
2200
  export type MapboxVectorTiles = ArrayBuffer;
2179
2201
  export interface MergesStats {
2180
2202
  current: long;
@@ -2241,6 +2263,12 @@ export type Normalization = 'no' | 'h1' | 'h2' | 'h3' | 'z';
2241
2263
  export type OpType = 'index' | 'create';
2242
2264
  export type Password = string;
2243
2265
  export type Percentage = string | float;
2266
+ export interface PinnedRetriever extends RetrieverBase {
2267
+ retriever: RetrieverContainer;
2268
+ ids?: string[];
2269
+ docs?: SpecifiedDocument[];
2270
+ rank_window_size?: integer;
2271
+ }
2244
2272
  export type PipelineName = string;
2245
2273
  export interface PluginStats {
2246
2274
  classname: string;
@@ -2272,6 +2300,8 @@ export interface RRFRetriever extends RetrieverBase {
2272
2300
  retrievers: RetrieverContainer[];
2273
2301
  rank_constant?: integer;
2274
2302
  rank_window_size?: integer;
2303
+ query?: string;
2304
+ fields?: string[];
2275
2305
  }
2276
2306
  export interface RankBase {
2277
2307
  }
@@ -2309,6 +2339,10 @@ export interface RequestCacheStats {
2309
2339
  export interface RescoreVector {
2310
2340
  oversample: float;
2311
2341
  }
2342
+ export interface RescorerRetriever extends RetrieverBase {
2343
+ retriever: RetrieverContainer;
2344
+ rescore: SearchRescore | SearchRescore[];
2345
+ }
2312
2346
  export type Result = 'created' | 'updated' | 'deleted' | 'not_found' | 'noop';
2313
2347
  export interface Retries {
2314
2348
  bulk: long;
@@ -2317,6 +2351,7 @@ export interface Retries {
2317
2351
  export interface RetrieverBase {
2318
2352
  filter?: QueryDslQueryContainer | QueryDslQueryContainer[];
2319
2353
  min_score?: float;
2354
+ _name?: string;
2320
2355
  }
2321
2356
  export interface RetrieverContainer {
2322
2357
  standard?: StandardRetriever;
@@ -2324,6 +2359,9 @@ export interface RetrieverContainer {
2324
2359
  rrf?: RRFRetriever;
2325
2360
  text_similarity_reranker?: TextSimilarityReranker;
2326
2361
  rule?: RuleRetriever;
2362
+ rescorer?: RescorerRetriever;
2363
+ linear?: LinearRetriever;
2364
+ pinned?: PinnedRetriever;
2327
2365
  }
2328
2366
  export type Routing = string;
2329
2367
  export interface RrfRank {
@@ -2331,12 +2369,13 @@ export interface RrfRank {
2331
2369
  rank_window_size?: long;
2332
2370
  }
2333
2371
  export interface RuleRetriever extends RetrieverBase {
2334
- ruleset_ids: Id[];
2372
+ ruleset_ids: Id | Id[];
2335
2373
  match_criteria: any;
2336
2374
  retriever: RetrieverContainer;
2337
2375
  rank_window_size?: integer;
2338
2376
  }
2339
2377
  export type ScalarValue = long | double | string | boolean | null;
2378
+ export type ScoreNormalizer = 'none' | 'minmax' | 'l2_norm';
2340
2379
  export interface ScoreSort {
2341
2380
  order?: SortOrder;
2342
2381
  }
@@ -2401,7 +2440,6 @@ export interface SegmentsStats {
2401
2440
  fixed_bit_set?: ByteSize;
2402
2441
  fixed_bit_set_memory_in_bytes: long;
2403
2442
  index_writer_memory?: ByteSize;
2404
- index_writer_max_memory_in_bytes?: long;
2405
2443
  index_writer_memory_in_bytes: long;
2406
2444
  max_unsafe_auto_id_timestamp: long;
2407
2445
  memory?: ByteSize;
@@ -2410,11 +2448,11 @@ export interface SegmentsStats {
2410
2448
  norms_memory_in_bytes: long;
2411
2449
  points_memory?: ByteSize;
2412
2450
  points_memory_in_bytes: long;
2413
- stored_memory?: ByteSize;
2414
2451
  stored_fields_memory_in_bytes: long;
2452
+ stored_fields_memory?: ByteSize;
2415
2453
  terms_memory_in_bytes: long;
2416
2454
  terms_memory?: ByteSize;
2417
- term_vectory_memory?: ByteSize;
2455
+ term_vectors_memory?: ByteSize;
2418
2456
  term_vectors_memory_in_bytes: long;
2419
2457
  version_map_memory?: ByteSize;
2420
2458
  version_map_memory_in_bytes: long;
@@ -2459,6 +2497,10 @@ export type SortOptions = SortOptionsKeys & {
2459
2497
  };
2460
2498
  export type SortOrder = 'asc' | 'desc';
2461
2499
  export type SortResults = FieldValue[];
2500
+ export interface SpecifiedDocument {
2501
+ index?: IndexName;
2502
+ id: Id;
2503
+ }
2462
2504
  export interface StandardRetriever extends RetrieverBase {
2463
2505
  query?: QueryDslQueryContainer;
2464
2506
  search_after?: SortResults;
@@ -2497,13 +2539,18 @@ export interface TextSimilarityReranker extends RetrieverBase {
2497
2539
  retriever: RetrieverContainer;
2498
2540
  rank_window_size?: integer;
2499
2541
  inference_id?: string;
2500
- inference_text?: string;
2501
- field?: string;
2542
+ inference_text: string;
2543
+ field: string;
2502
2544
  }
2503
2545
  export type ThreadType = 'cpu' | 'wait' | 'block' | 'gpu' | 'mem';
2504
2546
  export type TimeOfDay = string;
2505
2547
  export type TimeUnit = 'nanos' | 'micros' | 'ms' | 's' | 'm' | 'h' | 'd';
2506
2548
  export type TimeZone = string;
2549
+ export interface TokenPruningConfig {
2550
+ tokens_freq_ratio_threshold?: integer;
2551
+ tokens_weight_threshold?: float;
2552
+ only_score_pruned_tokens?: boolean;
2553
+ }
2507
2554
  export interface TopLeftBottomRightGeoBounds {
2508
2555
  top_left: GeoLocation;
2509
2556
  bottom_right: GeoLocation;
@@ -2716,6 +2763,7 @@ export interface AggregationsBoxPlotAggregate extends AggregationsAggregateBase
2716
2763
  }
2717
2764
  export interface AggregationsBoxplotAggregation extends AggregationsMetricAggregationBase {
2718
2765
  compression?: double;
2766
+ execution_hint?: AggregationsTDigestExecutionHint;
2719
2767
  }
2720
2768
  export interface AggregationsBucketAggregationBase {
2721
2769
  }
@@ -2964,9 +3012,10 @@ export interface AggregationsFiltersAggregation extends AggregationsBucketAggreg
2964
3012
  keyed?: boolean;
2965
3013
  }
2966
3014
  export interface AggregationsFiltersBucketKeys extends AggregationsMultiBucketBase {
3015
+ key?: string;
2967
3016
  }
2968
3017
  export type AggregationsFiltersBucket = AggregationsFiltersBucketKeys & {
2969
- [property: string]: AggregationsAggregate | long;
3018
+ [property: string]: AggregationsAggregate | string | long;
2970
3019
  };
2971
3020
  export interface AggregationsFormatMetricAggregationBase extends AggregationsMetricAggregationBase {
2972
3021
  format?: string;
@@ -3265,6 +3314,7 @@ export interface AggregationsMedianAbsoluteDeviationAggregate extends Aggregatio
3265
3314
  }
3266
3315
  export interface AggregationsMedianAbsoluteDeviationAggregation extends AggregationsFormatMetricAggregationBase {
3267
3316
  compression?: double;
3317
+ execution_hint?: AggregationsTDigestExecutionHint;
3268
3318
  }
3269
3319
  export interface AggregationsMetricAggregationBase {
3270
3320
  field?: Field;
@@ -3607,7 +3657,9 @@ export interface AggregationsSumBucketAggregation extends AggregationsPipelineAg
3607
3657
  }
3608
3658
  export interface AggregationsTDigest {
3609
3659
  compression?: integer;
3660
+ execution_hint?: AggregationsTDigestExecutionHint;
3610
3661
  }
3662
+ export type AggregationsTDigestExecutionHint = 'default' | 'high_accuracy';
3611
3663
  export interface AggregationsTDigestPercentileRanksAggregate extends AggregationsPercentilesAggregateBase {
3612
3664
  }
3613
3665
  export interface AggregationsTDigestPercentilesAggregate extends AggregationsPercentilesAggregateBase {
@@ -3756,12 +3808,21 @@ export interface AggregationsWeightedAverageValue {
3756
3808
  export interface AggregationsWeightedAvgAggregate extends AggregationsSingleMetricAggregateBase {
3757
3809
  }
3758
3810
  export type AnalysisAnalyzer = AnalysisCustomAnalyzer | AnalysisFingerprintAnalyzer | AnalysisKeywordAnalyzer | AnalysisNoriAnalyzer | AnalysisPatternAnalyzer | AnalysisSimpleAnalyzer | AnalysisStandardAnalyzer | AnalysisStopAnalyzer | AnalysisWhitespaceAnalyzer | AnalysisIcuAnalyzer | AnalysisKuromojiAnalyzer | AnalysisSnowballAnalyzer | AnalysisArabicAnalyzer | AnalysisArmenianAnalyzer | AnalysisBasqueAnalyzer | AnalysisBengaliAnalyzer | AnalysisBrazilianAnalyzer | AnalysisBulgarianAnalyzer | AnalysisCatalanAnalyzer | AnalysisChineseAnalyzer | AnalysisCjkAnalyzer | AnalysisCzechAnalyzer | AnalysisDanishAnalyzer | AnalysisDutchAnalyzer | AnalysisEnglishAnalyzer | AnalysisEstonianAnalyzer | AnalysisFinnishAnalyzer | AnalysisFrenchAnalyzer | AnalysisGalicianAnalyzer | AnalysisGermanAnalyzer | AnalysisGreekAnalyzer | AnalysisHindiAnalyzer | AnalysisHungarianAnalyzer | AnalysisIndonesianAnalyzer | AnalysisIrishAnalyzer | AnalysisItalianAnalyzer | AnalysisLatvianAnalyzer | AnalysisLithuanianAnalyzer | AnalysisNorwegianAnalyzer | AnalysisPersianAnalyzer | AnalysisPortugueseAnalyzer | AnalysisRomanianAnalyzer | AnalysisRussianAnalyzer | AnalysisSerbianAnalyzer | AnalysisSoraniAnalyzer | AnalysisSpanishAnalyzer | AnalysisSwedishAnalyzer | AnalysisTurkishAnalyzer | AnalysisThaiAnalyzer;
3811
+ export interface AnalysisApostropheTokenFilter extends AnalysisTokenFilterBase {
3812
+ type: 'apostrophe';
3813
+ }
3759
3814
  export interface AnalysisArabicAnalyzer {
3760
3815
  type: 'arabic';
3761
3816
  stopwords?: AnalysisStopWords;
3762
3817
  stopwords_path?: string;
3763
3818
  stem_exclusion?: string[];
3764
3819
  }
3820
+ export interface AnalysisArabicNormalizationTokenFilter extends AnalysisTokenFilterBase {
3821
+ type: 'arabic_normalization';
3822
+ }
3823
+ export interface AnalysisArabicStemTokenFilter extends AnalysisTokenFilterBase {
3824
+ type: 'arabic_stem';
3825
+ }
3765
3826
  export interface AnalysisArmenianAnalyzer {
3766
3827
  type: 'armenian';
3767
3828
  stopwords?: AnalysisStopWords;
@@ -3784,11 +3845,17 @@ export interface AnalysisBengaliAnalyzer {
3784
3845
  stopwords_path?: string;
3785
3846
  stem_exclusion?: string[];
3786
3847
  }
3848
+ export interface AnalysisBengaliNormalizationTokenFilter extends AnalysisTokenFilterBase {
3849
+ type: 'bengali_normalization';
3850
+ }
3787
3851
  export interface AnalysisBrazilianAnalyzer {
3788
3852
  type: 'brazilian';
3789
3853
  stopwords?: AnalysisStopWords;
3790
3854
  stopwords_path?: string;
3791
3855
  }
3856
+ export interface AnalysisBrazilianStemTokenFilter extends AnalysisTokenFilterBase {
3857
+ type: 'brazilian_stem';
3858
+ }
3792
3859
  export interface AnalysisBulgarianAnalyzer {
3793
3860
  type: 'bulgarian';
3794
3861
  stopwords?: AnalysisStopWords;
@@ -3821,6 +3888,18 @@ export interface AnalysisCjkAnalyzer {
3821
3888
  stopwords?: AnalysisStopWords;
3822
3889
  stopwords_path?: string;
3823
3890
  }
3891
+ export type AnalysisCjkBigramIgnoredScript = 'han' | 'hangul' | 'hiragana' | 'katakana';
3892
+ export interface AnalysisCjkBigramTokenFilter extends AnalysisTokenFilterBase {
3893
+ type: 'cjk_bigram';
3894
+ ignored_scripts?: AnalysisCjkBigramIgnoredScript[];
3895
+ output_unigrams?: boolean;
3896
+ }
3897
+ export interface AnalysisCjkWidthTokenFilter extends AnalysisTokenFilterBase {
3898
+ type: 'cjk_width';
3899
+ }
3900
+ export interface AnalysisClassicTokenFilter extends AnalysisTokenFilterBase {
3901
+ type: 'classic';
3902
+ }
3824
3903
  export interface AnalysisClassicTokenizer extends AnalysisTokenizerBase {
3825
3904
  type: 'classic';
3826
3905
  max_token_length?: integer;
@@ -3833,7 +3912,6 @@ export interface AnalysisCommonGramsTokenFilter extends AnalysisTokenFilterBase
3833
3912
  query_mode?: boolean;
3834
3913
  }
3835
3914
  export interface AnalysisCompoundWordTokenFilterBase extends AnalysisTokenFilterBase {
3836
- hyphenation_patterns_path?: string;
3837
3915
  max_subword_size?: integer;
3838
3916
  min_subword_size?: integer;
3839
3917
  min_word_size?: integer;
@@ -3865,11 +3943,17 @@ export interface AnalysisCzechAnalyzer {
3865
3943
  stopwords_path?: string;
3866
3944
  stem_exclusion?: string[];
3867
3945
  }
3946
+ export interface AnalysisCzechStemTokenFilter extends AnalysisTokenFilterBase {
3947
+ type: 'czech_stem';
3948
+ }
3868
3949
  export interface AnalysisDanishAnalyzer {
3869
3950
  type: 'danish';
3870
3951
  stopwords?: AnalysisStopWords;
3871
3952
  stopwords_path?: string;
3872
3953
  }
3954
+ export interface AnalysisDecimalDigitTokenFilter extends AnalysisTokenFilterBase {
3955
+ type: 'decimal_digit';
3956
+ }
3873
3957
  export type AnalysisDelimitedPayloadEncoding = 'int' | 'float' | 'identity';
3874
3958
  export interface AnalysisDelimitedPayloadTokenFilter extends AnalysisTokenFilterBase {
3875
3959
  type: 'delimited_payload';
@@ -3885,6 +3969,9 @@ export interface AnalysisDutchAnalyzer {
3885
3969
  stopwords_path?: string;
3886
3970
  stem_exclusion?: string[];
3887
3971
  }
3972
+ export interface AnalysisDutchStemTokenFilter extends AnalysisTokenFilterBase {
3973
+ type: 'dutch_stem';
3974
+ }
3888
3975
  export type AnalysisEdgeNGramSide = 'front' | 'back';
3889
3976
  export interface AnalysisEdgeNGramTokenFilter extends AnalysisTokenFilterBase {
3890
3977
  type: 'edge_ngram';
@@ -3937,12 +4024,18 @@ export interface AnalysisFinnishAnalyzer {
3937
4024
  stopwords_path?: string;
3938
4025
  stem_exclusion?: string[];
3939
4026
  }
4027
+ export interface AnalysisFlattenGraphTokenFilter extends AnalysisTokenFilterBase {
4028
+ type: 'flatten_graph';
4029
+ }
3940
4030
  export interface AnalysisFrenchAnalyzer {
3941
4031
  type: 'french';
3942
4032
  stopwords?: AnalysisStopWords;
3943
4033
  stopwords_path?: string;
3944
4034
  stem_exclusion?: string[];
3945
4035
  }
4036
+ export interface AnalysisFrenchStemTokenFilter extends AnalysisTokenFilterBase {
4037
+ type: 'french_stem';
4038
+ }
3946
4039
  export interface AnalysisGalicianAnalyzer {
3947
4040
  type: 'galician';
3948
4041
  stopwords?: AnalysisStopWords;
@@ -3955,6 +4048,12 @@ export interface AnalysisGermanAnalyzer {
3955
4048
  stopwords_path?: string;
3956
4049
  stem_exclusion?: string[];
3957
4050
  }
4051
+ export interface AnalysisGermanNormalizationTokenFilter extends AnalysisTokenFilterBase {
4052
+ type: 'german_normalization';
4053
+ }
4054
+ export interface AnalysisGermanStemTokenFilter extends AnalysisTokenFilterBase {
4055
+ type: 'german_stem';
4056
+ }
3958
4057
  export interface AnalysisGreekAnalyzer {
3959
4058
  type: 'greek';
3960
4059
  stopwords?: AnalysisStopWords;
@@ -3966,6 +4065,9 @@ export interface AnalysisHindiAnalyzer {
3966
4065
  stopwords_path?: string;
3967
4066
  stem_exclusion?: string[];
3968
4067
  }
4068
+ export interface AnalysisHindiNormalizationTokenFilter extends AnalysisTokenFilterBase {
4069
+ type: 'hindi_normalization';
4070
+ }
3969
4071
  export interface AnalysisHtmlStripCharFilter extends AnalysisCharFilterBase {
3970
4072
  type: 'html_strip';
3971
4073
  escaped_tags?: string[];
@@ -3981,10 +4083,15 @@ export interface AnalysisHunspellTokenFilter extends AnalysisTokenFilterBase {
3981
4083
  dedup?: boolean;
3982
4084
  dictionary?: string;
3983
4085
  locale: string;
4086
+ lang: string;
4087
+ language: string;
3984
4088
  longest_only?: boolean;
3985
4089
  }
3986
4090
  export interface AnalysisHyphenationDecompounderTokenFilter extends AnalysisCompoundWordTokenFilterBase {
3987
4091
  type: 'hyphenation_decompounder';
4092
+ hyphenation_patterns_path: string;
4093
+ no_sub_matches?: boolean;
4094
+ no_overlapping_matches?: boolean;
3988
4095
  }
3989
4096
  export interface AnalysisIcuAnalyzer {
3990
4097
  type: 'icu_analyzer';
@@ -3998,16 +4105,16 @@ export type AnalysisIcuCollationStrength = 'primary' | 'secondary' | 'tertiary'
3998
4105
  export interface AnalysisIcuCollationTokenFilter extends AnalysisTokenFilterBase {
3999
4106
  type: 'icu_collation';
4000
4107
  alternate?: AnalysisIcuCollationAlternate;
4001
- case_first?: AnalysisIcuCollationCaseFirst;
4002
- case_level?: boolean;
4108
+ caseFirst?: AnalysisIcuCollationCaseFirst;
4109
+ caseLevel?: boolean;
4003
4110
  country?: string;
4004
4111
  decomposition?: AnalysisIcuCollationDecomposition;
4005
- hiragana_quaternary_mode?: boolean;
4112
+ hiraganaQuaternaryMode?: boolean;
4006
4113
  language?: string;
4007
4114
  numeric?: boolean;
4008
4115
  rules?: string;
4009
4116
  strength?: AnalysisIcuCollationStrength;
4010
- variable_top?: string;
4117
+ variableTop?: string;
4011
4118
  variant?: string;
4012
4119
  }
4013
4120
  export interface AnalysisIcuFoldingTokenFilter extends AnalysisTokenFilterBase {
@@ -4018,6 +4125,7 @@ export interface AnalysisIcuNormalizationCharFilter extends AnalysisCharFilterBa
4018
4125
  type: 'icu_normalizer';
4019
4126
  mode?: AnalysisIcuNormalizationMode;
4020
4127
  name?: AnalysisIcuNormalizationType;
4128
+ unicode_set_filter?: string;
4021
4129
  }
4022
4130
  export type AnalysisIcuNormalizationMode = 'decompose' | 'compose';
4023
4131
  export interface AnalysisIcuNormalizationTokenFilter extends AnalysisTokenFilterBase {
@@ -4035,6 +4143,9 @@ export interface AnalysisIcuTransformTokenFilter extends AnalysisTokenFilterBase
4035
4143
  dir?: AnalysisIcuTransformDirection;
4036
4144
  id: string;
4037
4145
  }
4146
+ export interface AnalysisIndicNormalizationTokenFilter extends AnalysisTokenFilterBase {
4147
+ type: 'indic_normalization';
4148
+ }
4038
4149
  export interface AnalysisIndonesianAnalyzer {
4039
4150
  type: 'indonesian';
4040
4151
  stopwords?: AnalysisStopWords;
@@ -4053,6 +4164,10 @@ export interface AnalysisItalianAnalyzer {
4053
4164
  stopwords_path?: string;
4054
4165
  stem_exclusion?: string[];
4055
4166
  }
4167
+ export interface AnalysisJaStopTokenFilter extends AnalysisTokenFilterBase {
4168
+ type: 'ja_stop';
4169
+ stopwords?: AnalysisStopWords;
4170
+ }
4056
4171
  export interface AnalysisKStemTokenFilter extends AnalysisTokenFilterBase {
4057
4172
  type: 'kstem';
4058
4173
  }
@@ -4060,7 +4175,7 @@ export type AnalysisKeepTypesMode = 'include' | 'exclude';
4060
4175
  export interface AnalysisKeepTypesTokenFilter extends AnalysisTokenFilterBase {
4061
4176
  type: 'keep_types';
4062
4177
  mode?: AnalysisKeepTypesMode;
4063
- types?: string[];
4178
+ types: string[];
4064
4179
  }
4065
4180
  export interface AnalysisKeepWordsTokenFilter extends AnalysisTokenFilterBase {
4066
4181
  type: 'keep';
@@ -4079,6 +4194,9 @@ export interface AnalysisKeywordMarkerTokenFilter extends AnalysisTokenFilterBas
4079
4194
  keywords_path?: string;
4080
4195
  keywords_pattern?: string;
4081
4196
  }
4197
+ export interface AnalysisKeywordRepeatTokenFilter extends AnalysisTokenFilterBase {
4198
+ type: 'keyword_repeat';
4199
+ }
4082
4200
  export interface AnalysisKeywordTokenizer extends AnalysisTokenizerBase {
4083
4201
  type: 'keyword';
4084
4202
  buffer_size?: integer;
@@ -4146,8 +4264,9 @@ export interface AnalysisLowercaseNormalizer {
4146
4264
  }
4147
4265
  export interface AnalysisLowercaseTokenFilter extends AnalysisTokenFilterBase {
4148
4266
  type: 'lowercase';
4149
- language?: string;
4267
+ language?: AnalysisLowercaseTokenFilterLanguages;
4150
4268
  }
4269
+ export type AnalysisLowercaseTokenFilterLanguages = 'greek' | 'irish' | 'turkish';
4151
4270
  export interface AnalysisLowercaseTokenizer extends AnalysisTokenizerBase {
4152
4271
  type: 'lowercase';
4153
4272
  }
@@ -4156,6 +4275,13 @@ export interface AnalysisMappingCharFilter extends AnalysisCharFilterBase {
4156
4275
  mappings?: string[];
4157
4276
  mappings_path?: string;
4158
4277
  }
4278
+ export interface AnalysisMinHashTokenFilter extends AnalysisTokenFilterBase {
4279
+ type: 'min_hash';
4280
+ bucket_count?: integer;
4281
+ hash_count?: integer;
4282
+ hash_set_size?: integer;
4283
+ with_rotation?: boolean;
4284
+ }
4159
4285
  export interface AnalysisMultiplexerTokenFilter extends AnalysisTokenFilterBase {
4160
4286
  type: 'multiplexer';
4161
4287
  filters: string[];
@@ -4245,6 +4371,12 @@ export interface AnalysisPersianAnalyzer {
4245
4371
  stopwords?: AnalysisStopWords;
4246
4372
  stopwords_path?: string;
4247
4373
  }
4374
+ export interface AnalysisPersianNormalizationTokenFilter extends AnalysisTokenFilterBase {
4375
+ type: 'persian_normalization';
4376
+ }
4377
+ export interface AnalysisPersianStemTokenFilter extends AnalysisTokenFilterBase {
4378
+ type: 'persian_stem';
4379
+ }
4248
4380
  export type AnalysisPhoneticEncoder = 'metaphone' | 'double_metaphone' | 'soundex' | 'refined_soundex' | 'caverphone1' | 'caverphone2' | 'cologne' | 'nysiis' | 'koelnerphonetik' | 'haasephonetik' | 'beider_morse' | 'daitch_mokotoff';
4249
4381
  export type AnalysisPhoneticLanguage = 'any' | 'common' | 'cyrillic' | 'english' | 'french' | 'german' | 'hebrew' | 'hungarian' | 'polish' | 'romanian' | 'russian' | 'spanish';
4250
4382
  export type AnalysisPhoneticNameType = 'generic' | 'ashkenazi' | 'sephardic';
@@ -4289,17 +4421,29 @@ export interface AnalysisRussianAnalyzer {
4289
4421
  stopwords_path?: string;
4290
4422
  stem_exclusion?: string[];
4291
4423
  }
4424
+ export interface AnalysisRussianStemTokenFilter extends AnalysisTokenFilterBase {
4425
+ type: 'russian_stem';
4426
+ }
4427
+ export interface AnalysisScandinavianFoldingTokenFilter extends AnalysisTokenFilterBase {
4428
+ type: 'scandinavian_folding';
4429
+ }
4430
+ export interface AnalysisScandinavianNormalizationTokenFilter extends AnalysisTokenFilterBase {
4431
+ type: 'scandinavian_normalization';
4432
+ }
4292
4433
  export interface AnalysisSerbianAnalyzer {
4293
4434
  type: 'serbian';
4294
4435
  stopwords?: AnalysisStopWords;
4295
4436
  stopwords_path?: string;
4296
4437
  stem_exclusion?: string[];
4297
4438
  }
4439
+ export interface AnalysisSerbianNormalizationTokenFilter extends AnalysisTokenFilterBase {
4440
+ type: 'serbian_normalization';
4441
+ }
4298
4442
  export interface AnalysisShingleTokenFilter extends AnalysisTokenFilterBase {
4299
4443
  type: 'shingle';
4300
4444
  filler_token?: string;
4301
- max_shingle_size?: integer | string;
4302
- min_shingle_size?: integer | string;
4445
+ max_shingle_size?: SpecUtilsStringified<integer>;
4446
+ min_shingle_size?: SpecUtilsStringified<integer>;
4303
4447
  output_unigrams?: boolean;
4304
4448
  output_unigrams_if_no_shingles?: boolean;
4305
4449
  token_separator?: string;
@@ -4322,7 +4466,7 @@ export interface AnalysisSnowballAnalyzer {
4322
4466
  language: AnalysisSnowballLanguage;
4323
4467
  stopwords?: AnalysisStopWords;
4324
4468
  }
4325
- export type AnalysisSnowballLanguage = 'Armenian' | 'Basque' | 'Catalan' | 'Danish' | 'Dutch' | 'English' | 'Finnish' | 'French' | 'German' | 'German2' | 'Hungarian' | 'Italian' | 'Kp' | 'Lovins' | 'Norwegian' | 'Porter' | 'Portuguese' | 'Romanian' | 'Russian' | 'Spanish' | 'Swedish' | 'Turkish';
4469
+ export type AnalysisSnowballLanguage = 'Arabic' | 'Armenian' | 'Basque' | 'Catalan' | 'Danish' | 'Dutch' | 'English' | 'Estonian' | 'Finnish' | 'French' | 'German' | 'German2' | 'Hungarian' | 'Italian' | 'Irish' | 'Kp' | 'Lithuanian' | 'Lovins' | 'Norwegian' | 'Porter' | 'Portuguese' | 'Romanian' | 'Russian' | 'Serbian' | 'Spanish' | 'Swedish' | 'Turkish';
4326
4470
  export interface AnalysisSnowballTokenFilter extends AnalysisTokenFilterBase {
4327
4471
  type: 'snowball';
4328
4472
  language?: AnalysisSnowballLanguage;
@@ -4333,6 +4477,9 @@ export interface AnalysisSoraniAnalyzer {
4333
4477
  stopwords_path?: string;
4334
4478
  stem_exclusion?: string[];
4335
4479
  }
4480
+ export interface AnalysisSoraniNormalizationTokenFilter extends AnalysisTokenFilterBase {
4481
+ type: 'sorani_normalization';
4482
+ }
4336
4483
  export interface AnalysisSpanishAnalyzer {
4337
4484
  type: 'spanish';
4338
4485
  stopwords?: AnalysisStopWords;
@@ -4371,7 +4518,8 @@ export interface AnalysisStopTokenFilter extends AnalysisTokenFilterBase {
4371
4518
  stopwords?: AnalysisStopWords;
4372
4519
  stopwords_path?: string;
4373
4520
  }
4374
- export type AnalysisStopWords = string | string[];
4521
+ export type AnalysisStopWordLanguage = '_arabic_' | '_armenian_' | '_basque_' | '_bengali_' | '_brazilian_' | '_bulgarian_' | '_catalan_' | '_cjk_' | '_czech_' | '_danish_' | '_dutch_' | '_english_' | '_estonian_' | '_finnish_' | '_french_' | '_galician_' | '_german_' | '_greek_' | '_hindi_' | '_hungarian_' | '_indonesian_' | '_irish_' | '_italian_' | '_latvian_' | '_lithuanian_' | '_norwegian_' | '_persian_' | '_portuguese_' | '_romanian_' | '_russian_' | '_serbian_' | '_sorani_' | '_spanish_' | '_swedish_' | '_thai_' | '_turkish_' | '_none_';
4522
+ export type AnalysisStopWords = AnalysisStopWordLanguage | string[];
4375
4523
  export interface AnalysisSwedishAnalyzer {
4376
4524
  type: 'swedish';
4377
4525
  stopwords?: AnalysisStopWords;
@@ -4379,19 +4527,13 @@ export interface AnalysisSwedishAnalyzer {
4379
4527
  stem_exclusion?: string[];
4380
4528
  }
4381
4529
  export type AnalysisSynonymFormat = 'solr' | 'wordnet';
4382
- export interface AnalysisSynonymGraphTokenFilter extends AnalysisTokenFilterBase {
4530
+ export interface AnalysisSynonymGraphTokenFilter extends AnalysisSynonymTokenFilterBase {
4383
4531
  type: 'synonym_graph';
4384
- expand?: boolean;
4385
- format?: AnalysisSynonymFormat;
4386
- lenient?: boolean;
4387
- synonyms?: string[];
4388
- synonyms_path?: string;
4389
- synonyms_set?: string;
4390
- tokenizer?: string;
4391
- updateable?: boolean;
4392
4532
  }
4393
- export interface AnalysisSynonymTokenFilter extends AnalysisTokenFilterBase {
4533
+ export interface AnalysisSynonymTokenFilter extends AnalysisSynonymTokenFilterBase {
4394
4534
  type: 'synonym';
4535
+ }
4536
+ export interface AnalysisSynonymTokenFilterBase extends AnalysisTokenFilterBase {
4395
4537
  expand?: boolean;
4396
4538
  format?: AnalysisSynonymFormat;
4397
4539
  lenient?: boolean;
@@ -4414,7 +4556,7 @@ export type AnalysisTokenFilter = string | AnalysisTokenFilterDefinition;
4414
4556
  export interface AnalysisTokenFilterBase {
4415
4557
  version?: VersionString;
4416
4558
  }
4417
- export type AnalysisTokenFilterDefinition = AnalysisAsciiFoldingTokenFilter | AnalysisCommonGramsTokenFilter | AnalysisConditionTokenFilter | AnalysisDelimitedPayloadTokenFilter | AnalysisEdgeNGramTokenFilter | AnalysisElisionTokenFilter | AnalysisFingerprintTokenFilter | AnalysisHunspellTokenFilter | AnalysisHyphenationDecompounderTokenFilter | AnalysisKeepTypesTokenFilter | AnalysisKeepWordsTokenFilter | AnalysisKeywordMarkerTokenFilter | AnalysisKStemTokenFilter | AnalysisLengthTokenFilter | AnalysisLimitTokenCountTokenFilter | AnalysisLowercaseTokenFilter | AnalysisMultiplexerTokenFilter | AnalysisNGramTokenFilter | AnalysisNoriPartOfSpeechTokenFilter | AnalysisPatternCaptureTokenFilter | AnalysisPatternReplaceTokenFilter | AnalysisPorterStemTokenFilter | AnalysisPredicateTokenFilter | AnalysisRemoveDuplicatesTokenFilter | AnalysisReverseTokenFilter | AnalysisShingleTokenFilter | AnalysisSnowballTokenFilter | AnalysisStemmerOverrideTokenFilter | AnalysisStemmerTokenFilter | AnalysisStopTokenFilter | AnalysisSynonymGraphTokenFilter | AnalysisSynonymTokenFilter | AnalysisTrimTokenFilter | AnalysisTruncateTokenFilter | AnalysisUniqueTokenFilter | AnalysisUppercaseTokenFilter | AnalysisWordDelimiterGraphTokenFilter | AnalysisWordDelimiterTokenFilter | AnalysisKuromojiStemmerTokenFilter | AnalysisKuromojiReadingFormTokenFilter | AnalysisKuromojiPartOfSpeechTokenFilter | AnalysisIcuCollationTokenFilter | AnalysisIcuFoldingTokenFilter | AnalysisIcuNormalizationTokenFilter | AnalysisIcuTransformTokenFilter | AnalysisPhoneticTokenFilter | AnalysisDictionaryDecompounderTokenFilter;
4559
+ export type AnalysisTokenFilterDefinition = AnalysisApostropheTokenFilter | AnalysisArabicStemTokenFilter | AnalysisArabicNormalizationTokenFilter | AnalysisAsciiFoldingTokenFilter | AnalysisBengaliNormalizationTokenFilter | AnalysisBrazilianStemTokenFilter | AnalysisCjkBigramTokenFilter | AnalysisCjkWidthTokenFilter | AnalysisClassicTokenFilter | AnalysisCommonGramsTokenFilter | AnalysisConditionTokenFilter | AnalysisCzechStemTokenFilter | AnalysisDecimalDigitTokenFilter | AnalysisDelimitedPayloadTokenFilter | AnalysisDutchStemTokenFilter | AnalysisEdgeNGramTokenFilter | AnalysisElisionTokenFilter | AnalysisFingerprintTokenFilter | AnalysisFlattenGraphTokenFilter | AnalysisFrenchStemTokenFilter | AnalysisGermanNormalizationTokenFilter | AnalysisGermanStemTokenFilter | AnalysisHindiNormalizationTokenFilter | AnalysisHunspellTokenFilter | AnalysisHyphenationDecompounderTokenFilter | AnalysisIndicNormalizationTokenFilter | AnalysisKeepTypesTokenFilter | AnalysisKeepWordsTokenFilter | AnalysisKeywordMarkerTokenFilter | AnalysisKeywordRepeatTokenFilter | AnalysisKStemTokenFilter | AnalysisLengthTokenFilter | AnalysisLimitTokenCountTokenFilter | AnalysisLowercaseTokenFilter | AnalysisMinHashTokenFilter | AnalysisMultiplexerTokenFilter | AnalysisNGramTokenFilter | AnalysisNoriPartOfSpeechTokenFilter | AnalysisPatternCaptureTokenFilter | AnalysisPatternReplaceTokenFilter | AnalysisPersianNormalizationTokenFilter | AnalysisPersianStemTokenFilter | AnalysisPorterStemTokenFilter | AnalysisPredicateTokenFilter | AnalysisRemoveDuplicatesTokenFilter | AnalysisReverseTokenFilter | AnalysisRussianStemTokenFilter | AnalysisScandinavianFoldingTokenFilter | AnalysisScandinavianNormalizationTokenFilter | AnalysisSerbianNormalizationTokenFilter | AnalysisShingleTokenFilter | AnalysisSnowballTokenFilter | AnalysisSoraniNormalizationTokenFilter | AnalysisStemmerOverrideTokenFilter | AnalysisStemmerTokenFilter | AnalysisStopTokenFilter | AnalysisSynonymGraphTokenFilter | AnalysisSynonymTokenFilter | AnalysisTrimTokenFilter | AnalysisTruncateTokenFilter | AnalysisUniqueTokenFilter | AnalysisUppercaseTokenFilter | AnalysisWordDelimiterGraphTokenFilter | AnalysisWordDelimiterTokenFilter | AnalysisJaStopTokenFilter | AnalysisKuromojiStemmerTokenFilter | AnalysisKuromojiReadingFormTokenFilter | AnalysisKuromojiPartOfSpeechTokenFilter | AnalysisIcuCollationTokenFilter | AnalysisIcuFoldingTokenFilter | AnalysisIcuNormalizationTokenFilter | AnalysisIcuTransformTokenFilter | AnalysisPhoneticTokenFilter | AnalysisDictionaryDecompounderTokenFilter;
4418
4560
  export type AnalysisTokenizer = string | AnalysisTokenizerDefinition;
4419
4561
  export interface AnalysisTokenizerBase {
4420
4562
  version?: VersionString;
@@ -4452,26 +4594,15 @@ export interface AnalysisWhitespaceTokenizer extends AnalysisTokenizerBase {
4452
4594
  type: 'whitespace';
4453
4595
  max_token_length?: integer;
4454
4596
  }
4455
- export interface AnalysisWordDelimiterGraphTokenFilter extends AnalysisTokenFilterBase {
4597
+ export interface AnalysisWordDelimiterGraphTokenFilter extends AnalysisWordDelimiterTokenFilterBase {
4456
4598
  type: 'word_delimiter_graph';
4457
4599
  adjust_offsets?: boolean;
4458
- catenate_all?: boolean;
4459
- catenate_numbers?: boolean;
4460
- catenate_words?: boolean;
4461
- generate_number_parts?: boolean;
4462
- generate_word_parts?: boolean;
4463
4600
  ignore_keywords?: boolean;
4464
- preserve_original?: SpecUtilsStringified<boolean>;
4465
- protected_words?: string[];
4466
- protected_words_path?: string;
4467
- split_on_case_change?: boolean;
4468
- split_on_numerics?: boolean;
4469
- stem_english_possessive?: boolean;
4470
- type_table?: string[];
4471
- type_table_path?: string;
4472
4601
  }
4473
- export interface AnalysisWordDelimiterTokenFilter extends AnalysisTokenFilterBase {
4602
+ export interface AnalysisWordDelimiterTokenFilter extends AnalysisWordDelimiterTokenFilterBase {
4474
4603
  type: 'word_delimiter';
4604
+ }
4605
+ export interface AnalysisWordDelimiterTokenFilterBase extends AnalysisTokenFilterBase {
4475
4606
  catenate_all?: boolean;
4476
4607
  catenate_numbers?: boolean;
4477
4608
  catenate_words?: boolean;
@@ -4489,6 +4620,7 @@ export interface AnalysisWordDelimiterTokenFilter extends AnalysisTokenFilterBas
4489
4620
  export interface MappingAggregateMetricDoubleProperty extends MappingPropertyBase {
4490
4621
  type: 'aggregate_metric_double';
4491
4622
  default_metric: string;
4623
+ ignore_malformed?: boolean;
4492
4624
  metrics: string[];
4493
4625
  time_series_metric?: MappingTimeSeriesMetricType;
4494
4626
  }
@@ -4522,6 +4654,12 @@ export interface MappingByteNumberProperty extends MappingNumberPropertyBase {
4522
4654
  type: 'byte';
4523
4655
  null_value?: byte;
4524
4656
  }
4657
+ export interface MappingChunkingSettings {
4658
+ strategy: string;
4659
+ max_chunk_size: integer;
4660
+ overlap?: integer;
4661
+ sentence_overlap?: integer;
4662
+ }
4525
4663
  export interface MappingCompletionProperty extends MappingDocValuesPropertyBase {
4526
4664
  analyzer?: string;
4527
4665
  contexts?: MappingSuggestContext[];
@@ -4663,6 +4801,7 @@ export interface MappingFlattenedProperty extends MappingPropertyBase {
4663
4801
  null_value?: string;
4664
4802
  similarity?: string;
4665
4803
  split_queries_on_whitespace?: boolean;
4804
+ time_series_dimensions?: string[];
4666
4805
  type: 'flattened';
4667
4806
  }
4668
4807
  export interface MappingFloatNumberProperty extends MappingNumberPropertyBase {
@@ -4673,6 +4812,7 @@ export interface MappingFloatRangeProperty extends MappingRangePropertyBase {
4673
4812
  type: 'float_range';
4674
4813
  }
4675
4814
  export type MappingGeoOrientation = 'right' | 'RIGHT' | 'counterclockwise' | 'ccw' | 'left' | 'LEFT' | 'clockwise' | 'cw';
4815
+ export type MappingGeoPointMetricType = 'gauge' | 'counter' | 'position';
4676
4816
  export interface MappingGeoPointProperty extends MappingDocValuesPropertyBase {
4677
4817
  ignore_malformed?: boolean;
4678
4818
  ignore_z_value?: boolean;
@@ -4681,6 +4821,7 @@ export interface MappingGeoPointProperty extends MappingDocValuesPropertyBase {
4681
4821
  on_script_error?: MappingOnScriptError;
4682
4822
  script?: Script | string;
4683
4823
  type: 'geo_point';
4824
+ time_series_metric?: MappingGeoPointMetricType;
4684
4825
  }
4685
4826
  export interface MappingGeoShapeProperty extends MappingDocValuesPropertyBase {
4686
4827
  coerce?: boolean;
@@ -4817,7 +4958,7 @@ export interface MappingPointProperty extends MappingDocValuesPropertyBase {
4817
4958
  null_value?: string;
4818
4959
  type: 'point';
4819
4960
  }
4820
- export type MappingProperty = MappingBinaryProperty | MappingBooleanProperty | MappingDynamicProperty | MappingJoinProperty | MappingKeywordProperty | MappingMatchOnlyTextProperty | MappingPercolatorProperty | MappingRankFeatureProperty | MappingRankFeaturesProperty | MappingSearchAsYouTypeProperty | MappingTextProperty | MappingVersionProperty | MappingWildcardProperty | MappingDateNanosProperty | MappingDateProperty | MappingAggregateMetricDoubleProperty | MappingDenseVectorProperty | MappingFlattenedProperty | MappingNestedProperty | MappingObjectProperty | MappingPassthroughObjectProperty | MappingSemanticTextProperty | MappingSparseVectorProperty | MappingCompletionProperty | MappingConstantKeywordProperty | MappingCountedKeywordProperty | MappingFieldAliasProperty | MappingHistogramProperty | MappingIpProperty | MappingMurmur3HashProperty | MappingTokenCountProperty | MappingGeoPointProperty | MappingGeoShapeProperty | MappingPointProperty | MappingShapeProperty | MappingByteNumberProperty | MappingDoubleNumberProperty | MappingFloatNumberProperty | MappingHalfFloatNumberProperty | MappingIntegerNumberProperty | MappingLongNumberProperty | MappingScaledFloatNumberProperty | MappingShortNumberProperty | MappingUnsignedLongNumberProperty | MappingDateRangeProperty | MappingDoubleRangeProperty | MappingFloatRangeProperty | MappingIntegerRangeProperty | MappingIpRangeProperty | MappingLongRangeProperty | MappingIcuCollationProperty;
4961
+ export type MappingProperty = MappingBinaryProperty | MappingBooleanProperty | MappingDynamicProperty | MappingJoinProperty | MappingKeywordProperty | MappingMatchOnlyTextProperty | MappingPercolatorProperty | MappingRankFeatureProperty | MappingRankFeaturesProperty | MappingSearchAsYouTypeProperty | MappingTextProperty | MappingVersionProperty | MappingWildcardProperty | MappingDateNanosProperty | MappingDateProperty | MappingAggregateMetricDoubleProperty | MappingDenseVectorProperty | MappingFlattenedProperty | MappingNestedProperty | MappingObjectProperty | MappingPassthroughObjectProperty | MappingRankVectorProperty | MappingSemanticTextProperty | MappingSparseVectorProperty | MappingCompletionProperty | MappingConstantKeywordProperty | MappingCountedKeywordProperty | MappingFieldAliasProperty | MappingHistogramProperty | MappingIpProperty | MappingMurmur3HashProperty | MappingTokenCountProperty | MappingGeoPointProperty | MappingGeoShapeProperty | MappingPointProperty | MappingShapeProperty | MappingByteNumberProperty | MappingDoubleNumberProperty | MappingFloatNumberProperty | MappingHalfFloatNumberProperty | MappingIntegerNumberProperty | MappingLongNumberProperty | MappingScaledFloatNumberProperty | MappingShortNumberProperty | MappingUnsignedLongNumberProperty | MappingDateRangeProperty | MappingDoubleRangeProperty | MappingFloatRangeProperty | MappingIntegerRangeProperty | MappingIpRangeProperty | MappingLongRangeProperty | MappingIcuCollationProperty;
4821
4962
  export interface MappingPropertyBase {
4822
4963
  meta?: Record<string, string>;
4823
4964
  properties?: Record<PropertyName, MappingProperty>;
@@ -4839,6 +4980,12 @@ export interface MappingRankFeaturesProperty extends MappingPropertyBase {
4839
4980
  positive_score_impact?: boolean;
4840
4981
  type: 'rank_features';
4841
4982
  }
4983
+ export type MappingRankVectorElementType = 'byte' | 'float' | 'bit';
4984
+ export interface MappingRankVectorProperty extends MappingPropertyBase {
4985
+ type: 'rank_vectors';
4986
+ element_type?: MappingRankVectorElementType;
4987
+ dims?: integer;
4988
+ }
4842
4989
  export interface MappingRoutingField {
4843
4990
  required: boolean;
4844
4991
  }
@@ -4875,11 +5022,16 @@ export interface MappingSearchAsYouTypeProperty extends MappingCorePropertyBase
4875
5022
  term_vector?: MappingTermVectorOption;
4876
5023
  type: 'search_as_you_type';
4877
5024
  }
5025
+ export interface MappingSemanticTextIndexOptions {
5026
+ dense_vector?: MappingDenseVectorIndexOptions;
5027
+ }
4878
5028
  export interface MappingSemanticTextProperty {
4879
5029
  type: 'semantic_text';
4880
5030
  meta?: Record<string, string>;
4881
5031
  inference_id?: Id;
4882
5032
  search_inference_id?: Id;
5033
+ index_options?: MappingSemanticTextIndexOptions;
5034
+ chunking_settings?: MappingChunkingSettings;
4883
5035
  }
4884
5036
  export interface MappingShapeProperty extends MappingDocValuesPropertyBase {
4885
5037
  coerce?: boolean;
@@ -4904,8 +5056,14 @@ export interface MappingSourceField {
4904
5056
  mode?: MappingSourceFieldMode;
4905
5057
  }
4906
5058
  export type MappingSourceFieldMode = 'disabled' | 'stored' | 'synthetic';
5059
+ export interface MappingSparseVectorIndexOptions {
5060
+ prune?: boolean;
5061
+ pruning_config?: TokenPruningConfig;
5062
+ }
4907
5063
  export interface MappingSparseVectorProperty extends MappingPropertyBase {
5064
+ store?: boolean;
4908
5065
  type: 'sparse_vector';
5066
+ index_options?: MappingSparseVectorIndexOptions;
4909
5067
  }
4910
5068
  export type MappingSubobjects = boolean | 'true' | 'false' | 'auto';
4911
5069
  export interface MappingSuggestContext {
@@ -5117,7 +5275,7 @@ export type QueryDslGeoDistanceQuery = QueryDslGeoDistanceQueryKeys & {
5117
5275
  };
5118
5276
  export type QueryDslGeoExecution = 'memory' | 'indexed';
5119
5277
  export interface QueryDslGeoGridQuery extends QueryDslQueryBase {
5120
- geogrid?: GeoTile;
5278
+ geotile?: GeoTile;
5121
5279
  geohash?: GeoHash;
5122
5280
  geohex?: GeoHexCell;
5123
5281
  }
@@ -5178,6 +5336,8 @@ export interface QueryDslIntervalsContainer {
5178
5336
  fuzzy?: QueryDslIntervalsFuzzy;
5179
5337
  match?: QueryDslIntervalsMatch;
5180
5338
  prefix?: QueryDslIntervalsPrefix;
5339
+ range?: QueryDslIntervalsRange;
5340
+ regexp?: QueryDslIntervalsRegexp;
5181
5341
  wildcard?: QueryDslIntervalsWildcard;
5182
5342
  }
5183
5343
  export interface QueryDslIntervalsFilter {
@@ -5218,8 +5378,23 @@ export interface QueryDslIntervalsQuery extends QueryDslQueryBase {
5218
5378
  fuzzy?: QueryDslIntervalsFuzzy;
5219
5379
  match?: QueryDslIntervalsMatch;
5220
5380
  prefix?: QueryDslIntervalsPrefix;
5381
+ range?: QueryDslIntervalsRange;
5382
+ regexp?: QueryDslIntervalsRegexp;
5221
5383
  wildcard?: QueryDslIntervalsWildcard;
5222
5384
  }
5385
+ export interface QueryDslIntervalsRange {
5386
+ analyzer?: string;
5387
+ gte?: string;
5388
+ gt?: string;
5389
+ lte?: string;
5390
+ lt?: string;
5391
+ use_field?: Field;
5392
+ }
5393
+ export interface QueryDslIntervalsRegexp {
5394
+ analyzer?: string;
5395
+ pattern: string;
5396
+ use_field?: Field;
5397
+ }
5223
5398
  export interface QueryDslIntervalsWildcard {
5224
5399
  analyzer?: string;
5225
5400
  pattern: string;
@@ -5503,7 +5678,8 @@ export interface QueryDslRegexpQuery extends QueryDslQueryBase {
5503
5678
  }
5504
5679
  export interface QueryDslRuleQuery extends QueryDslQueryBase {
5505
5680
  organic: QueryDslQueryContainer;
5506
- ruleset_ids: Id[];
5681
+ ruleset_ids?: Id | Id[];
5682
+ ruleset_id?: string;
5507
5683
  match_criteria: any;
5508
5684
  }
5509
5685
  export interface QueryDslScriptQuery extends QueryDslQueryBase {
@@ -5605,7 +5781,7 @@ export interface QueryDslSparseVectorQuery extends QueryDslQueryBase {
5605
5781
  inference_id?: Id;
5606
5782
  query?: string;
5607
5783
  prune?: boolean;
5608
- pruning_config?: QueryDslTokenPruningConfig;
5784
+ pruning_config?: TokenPruningConfig;
5609
5785
  }
5610
5786
  export interface QueryDslTermQuery extends QueryDslQueryBase {
5611
5787
  value: FieldValue;
@@ -5634,14 +5810,9 @@ export interface QueryDslTermsSetQuery extends QueryDslQueryBase {
5634
5810
  export interface QueryDslTextExpansionQuery extends QueryDslQueryBase {
5635
5811
  model_id: string;
5636
5812
  model_text: string;
5637
- pruning_config?: QueryDslTokenPruningConfig;
5813
+ pruning_config?: TokenPruningConfig;
5638
5814
  }
5639
5815
  export type QueryDslTextQueryType = 'best_fields' | 'most_fields' | 'cross_fields' | 'phrase' | 'phrase_prefix' | 'bool_prefix';
5640
- export interface QueryDslTokenPruningConfig {
5641
- tokens_freq_ratio_threshold?: integer;
5642
- tokens_weight_threshold?: float;
5643
- only_score_pruned_tokens?: boolean;
5644
- }
5645
5816
  export interface QueryDslTypeQuery extends QueryDslQueryBase {
5646
5817
  value: string;
5647
5818
  }
@@ -5658,7 +5829,7 @@ export interface QueryDslUntypedRangeQuery extends QueryDslRangeQueryBase<any> {
5658
5829
  }
5659
5830
  export interface QueryDslWeightedTokensQuery extends QueryDslQueryBase {
5660
5831
  tokens: Record<string, float>;
5661
- pruning_config?: QueryDslTokenPruningConfig;
5832
+ pruning_config?: TokenPruningConfig;
5662
5833
  }
5663
5834
  export interface QueryDslWildcardQuery extends QueryDslQueryBase {
5664
5835
  case_insensitive?: boolean;
@@ -5739,7 +5910,6 @@ export interface AsyncSearchSubmitRequest extends RequestBase {
5739
5910
  ignore_unavailable?: boolean;
5740
5911
  lenient?: boolean;
5741
5912
  max_concurrent_shard_requests?: long;
5742
- min_compatible_shard_node?: VersionString;
5743
5913
  preference?: string;
5744
5914
  request_cache?: boolean;
5745
5915
  routing?: Routing;
@@ -5849,8 +6019,20 @@ export type CatCatDatafeedColumn = 'ae' | 'assignment_explanation' | 'bc' | 'buc
5849
6019
  export type CatCatDatafeedColumns = CatCatDatafeedColumn | CatCatDatafeedColumn[];
5850
6020
  export type CatCatDfaColumn = 'assignment_explanation' | 'ae' | 'create_time' | 'ct' | 'createTime' | 'description' | 'd' | 'dest_index' | 'di' | 'destIndex' | 'failure_reason' | 'fr' | 'failureReason' | 'id' | 'model_memory_limit' | 'mml' | 'modelMemoryLimit' | 'node.address' | 'na' | 'nodeAddress' | 'node.ephemeral_id' | 'ne' | 'nodeEphemeralId' | 'node.id' | 'ni' | 'nodeId' | 'node.name' | 'nn' | 'nodeName' | 'progress' | 'p' | 'source_index' | 'si' | 'sourceIndex' | 'state' | 's' | 'type' | 't' | 'version' | 'v';
5851
6021
  export type CatCatDfaColumns = CatCatDfaColumn | CatCatDfaColumn[];
6022
+ export type CatCatNodeColumn = 'build' | 'b' | 'completion.size' | 'cs' | 'completionSize' | 'cpu' | 'disk.avail' | 'd' | 'disk' | 'diskAvail' | 'disk.total' | 'dt' | 'diskTotal' | 'disk.used' | 'du' | 'diskUsed' | 'disk.used_percent' | 'dup' | 'diskUsedPercent' | 'fielddata.evictions' | 'fe' | 'fielddataEvictions' | 'fielddata.memory_size' | 'fm' | 'fielddataMemory' | 'file_desc.current' | 'fdc' | 'fileDescriptorCurrent' | 'file_desc.max' | 'fdm' | 'fileDescriptorMax' | 'file_desc.percent' | 'fdp' | 'fileDescriptorPercent' | 'flush.total' | 'ft' | 'flushTotal' | 'flush.total_time' | 'ftt' | 'flushTotalTime' | 'get.current' | 'gc' | 'getCurrent' | 'get.exists_time' | 'geti' | 'getExistsTime' | 'get.exists_total' | 'geto' | 'getExistsTotal' | 'get.missing_time' | 'gmti' | 'getMissingTime' | 'get.missing_total' | 'gmto' | 'getMissingTotal' | 'get.time' | 'gti' | 'getTime' | 'get.total' | 'gto' | 'getTotal' | 'heap.current' | 'hc' | 'heapCurrent' | 'heap.max' | 'hm' | 'heapMax' | 'heap.percent' | 'hp' | 'heapPercent' | 'http_address' | 'http' | 'id' | 'nodeId' | 'indexing.delete_current' | 'idc' | 'indexingDeleteCurrent' | 'indexing.delete_time' | 'idti' | 'indexingDeleteTime' | 'indexing.delete_total' | 'idto' | 'indexingDeleteTotal' | 'indexing.index_current' | 'iic' | 'indexingIndexCurrent' | 'indexing.index_failed' | 'iif' | 'indexingIndexFailed' | 'indexing.index_failed_due_to_version_conflict' | 'iifvc' | 'indexingIndexFailedDueToVersionConflict' | 'indexing.index_time' | 'iiti' | 'indexingIndexTime' | 'indexing.index_total' | 'iito' | 'indexingIndexTotal' | 'ip' | 'i' | 'jdk' | 'j' | 'load_1m' | 'l' | 'load_5m' | 'l' | 'load_15m' | 'l' | 'mappings.total_count' | 'mtc' | 'mappingsTotalCount' | 'mappings.total_estimated_overhead_in_bytes' | 'mteo' | 'mappingsTotalEstimatedOverheadInBytes' | 'master' | 'm' | 'merges.current' | 'mc' | 'mergesCurrent' | 'merges.current_docs' | 'mcd' | 'mergesCurrentDocs' | 'merges.current_size' | 'mcs' | 'mergesCurrentSize' | 'merges.total' | 'mt' | 'mergesTotal' | 'merges.total_docs' | 'mtd' | 'mergesTotalDocs' | 'merges.total_size' | 'mts' | 'mergesTotalSize' | 'merges.total_time' | 'mtt' | 'mergesTotalTime' | 'name' | 'n' | 'node.role' | 'r' | 'role' | 'nodeRole' | 'pid' | 'p' | 'port' | 'po' | 'query_cache.memory_size' | 'qcm' | 'queryCacheMemory' | 'query_cache.evictions' | 'qce' | 'queryCacheEvictions' | 'query_cache.hit_count' | 'qchc' | 'queryCacheHitCount' | 'query_cache.miss_count' | 'qcmc' | 'queryCacheMissCount' | 'ram.current' | 'rc' | 'ramCurrent' | 'ram.max' | 'rm' | 'ramMax' | 'ram.percent' | 'rp' | 'ramPercent' | 'refresh.total' | 'rto' | 'refreshTotal' | 'refresh.time' | 'rti' | 'refreshTime' | 'request_cache.memory_size' | 'rcm' | 'requestCacheMemory' | 'request_cache.evictions' | 'rce' | 'requestCacheEvictions' | 'request_cache.hit_count' | 'rchc' | 'requestCacheHitCount' | 'request_cache.miss_count' | 'rcmc' | 'requestCacheMissCount' | 'script.compilations' | 'scrcc' | 'scriptCompilations' | 'script.cache_evictions' | 'scrce' | 'scriptCacheEvictions' | 'search.fetch_current' | 'sfc' | 'searchFetchCurrent' | 'search.fetch_time' | 'sfti' | 'searchFetchTime' | 'search.fetch_total' | 'sfto' | 'searchFetchTotal' | 'search.open_contexts' | 'so' | 'searchOpenContexts' | 'search.query_current' | 'sqc' | 'searchQueryCurrent' | 'search.query_time' | 'sqti' | 'searchQueryTime' | 'search.query_total' | 'sqto' | 'searchQueryTotal' | 'search.scroll_current' | 'scc' | 'searchScrollCurrent' | 'search.scroll_time' | 'scti' | 'searchScrollTime' | 'search.scroll_total' | 'scto' | 'searchScrollTotal' | 'segments.count' | 'sc' | 'segmentsCount' | 'segments.fixed_bitset_memory' | 'sfbm' | 'fixedBitsetMemory' | 'segments.index_writer_memory' | 'siwm' | 'segmentsIndexWriterMemory' | 'segments.memory' | 'sm' | 'segmentsMemory' | 'segments.version_map_memory' | 'svmm' | 'segmentsVersionMapMemory' | 'shard_stats.total_count' | 'sstc' | 'shards' | 'shardStatsTotalCount' | 'suggest.current' | 'suc' | 'suggestCurrent' | 'suggest.time' | 'suti' | 'suggestTime' | 'suggest.total' | 'suto' | 'suggestTotal' | 'uptime' | 'u' | 'version' | 'v' | string;
6023
+ export type CatCatNodeColumns = CatCatNodeColumn | CatCatNodeColumn[];
6024
+ export type CatCatRecoveryColumn = 'index' | 'i' | 'idx' | 'shard' | 's' | 'sh' | 'time' | 't' | 'ti' | 'primaryOrReplica' | 'type' | 'stage' | 'st' | 'source_host' | 'shost' | 'source_node' | 'snode' | 'target_host' | 'thost' | 'target_node' | 'tnode' | 'repository' | 'tnode' | 'snapshot' | 'snap' | 'files' | 'f' | 'files_recovered' | 'fr' | 'files_percent' | 'fp' | 'files_total' | 'tf' | 'bytes' | 'b' | 'bytes_recovered' | 'br' | 'bytes_percent' | 'bp' | 'bytes_total' | 'tb' | 'translog_ops' | 'to' | 'translog_ops_recovered' | 'tor' | 'translog_ops_percent' | 'top' | 'start_time' | 'start' | 'start_time_millis' | 'start_millis' | 'stop_time' | 'stop' | 'stop_time_millis' | 'stop_millis' | string;
6025
+ export type CatCatRecoveryColumns = CatCatRecoveryColumn | CatCatRecoveryColumn[];
5852
6026
  export interface CatCatRequestBase extends RequestBase, SpecUtilsCommonCatQueryParameters {
5853
6027
  }
6028
+ export type CatCatSegmentsColumn = 'index' | 'i' | 'idx' | 'shard' | 's' | 'sh' | 'prirep' | 'p' | 'pr' | 'primaryOrReplica' | 'ip' | 'segment' | 'generation' | 'docs.count' | 'docs.deleted' | 'size' | 'size.memory' | 'committed' | 'searchable' | 'version' | 'compound' | 'id' | string;
6029
+ export type CatCatSegmentsColumns = CatCatSegmentsColumn | CatCatSegmentsColumn[];
6030
+ export type CatCatShardColumn = 'completion.size' | 'cs' | 'completionSize' | 'dataset.size' | 'dense_vector.value_count' | 'dvc' | 'denseVectorCount' | 'docs' | 'd' | 'dc' | 'fielddata.evictions' | 'fe' | 'fielddataEvictions' | 'fielddata.memory_size' | 'fm' | 'fielddataMemory' | 'flush.total' | 'ft' | 'flushTotal' | 'flush.total_time' | 'ftt' | 'flushTotalTime' | 'get.current' | 'gc' | 'getCurrent' | 'get.exists_time' | 'geti' | 'getExistsTime' | 'get.exists_total' | 'geto' | 'getExistsTotal' | 'get.missing_time' | 'gmti' | 'getMissingTime' | 'get.missing_total' | 'gmto' | 'getMissingTotal' | 'get.time' | 'gti' | 'getTime' | 'get.total' | 'gto' | 'getTotal' | 'id' | 'index' | 'i' | 'idx' | 'indexing.delete_current' | 'idc' | 'indexingDeleteCurrent' | 'indexing.delete_time' | 'idti' | 'indexingDeleteTime' | 'indexing.delete_total' | 'idto' | 'indexingDeleteTotal' | 'indexing.index_current' | 'iic' | 'indexingIndexCurrent' | 'indexing.index_failed_due_to_version_conflict' | 'iifvc' | 'indexingIndexFailedDueToVersionConflict' | 'indexing.index_failed' | 'iif' | 'indexingIndexFailed' | 'indexing.index_time' | 'iiti' | 'indexingIndexTime' | 'indexing.index_total' | 'iito' | 'indexingIndexTotal' | 'ip' | 'merges.current' | 'mc' | 'mergesCurrent' | 'merges.current_docs' | 'mcd' | 'mergesCurrentDocs' | 'merges.current_size' | 'mcs' | 'mergesCurrentSize' | 'merges.total' | 'mt' | 'mergesTotal' | 'merges.total_docs' | 'mtd' | 'mergesTotalDocs' | 'merges.total_size' | 'mts' | 'mergesTotalSize' | 'merges.total_time' | 'mtt' | 'mergesTotalTime' | 'node' | 'n' | 'prirep' | 'p' | 'pr' | 'primaryOrReplica' | 'query_cache.evictions' | 'qce' | 'queryCacheEvictions' | 'query_cache.memory_size' | 'qcm' | 'queryCacheMemory' | 'recoverysource.type' | 'rs' | 'refresh.time' | 'rti' | 'refreshTime' | 'refresh.total' | 'rto' | 'refreshTotal' | 'search.fetch_current' | 'sfc' | 'searchFetchCurrent' | 'search.fetch_time' | 'sfti' | 'searchFetchTime' | 'search.fetch_total' | 'sfto' | 'searchFetchTotal' | 'search.open_contexts' | 'so' | 'searchOpenContexts' | 'search.query_current' | 'sqc' | 'searchQueryCurrent' | 'search.query_time' | 'sqti' | 'searchQueryTime' | 'search.query_total' | 'sqto' | 'searchQueryTotal' | 'search.scroll_current' | 'scc' | 'searchScrollCurrent' | 'search.scroll_time' | 'scti' | 'searchScrollTime' | 'search.scroll_total' | 'scto' | 'searchScrollTotal' | 'segments.count' | 'sc' | 'segmentsCount' | 'segments.fixed_bitset_memory' | 'sfbm' | 'fixedBitsetMemory' | 'segments.index_writer_memory' | 'siwm' | 'segmentsIndexWriterMemory' | 'segments.memory' | 'sm' | 'segmentsMemory' | 'segments.version_map_memory' | 'svmm' | 'segmentsVersionMapMemory' | 'seq_no.global_checkpoint' | 'sqg' | 'globalCheckpoint' | 'seq_no.local_checkpoint' | 'sql' | 'localCheckpoint' | 'seq_no.max' | 'sqm' | 'maxSeqNo' | 'shard' | 's' | 'sh' | 'dsparse_vector.value_count' | 'svc' | 'sparseVectorCount' | 'state' | 'st' | 'store' | 'sto' | 'suggest.current' | 'suc' | 'suggestCurrent' | 'suggest.time' | 'suti' | 'suggestTime' | 'suggest.total' | 'suto' | 'suggestTotal' | 'sync_id' | 'unassigned.at' | 'ua' | 'unassigned.details' | 'ud' | 'unassigned.for' | 'uf' | 'unassigned.reason' | 'ur' | string;
6031
+ export type CatCatShardColumns = CatCatShardColumn | CatCatShardColumn[];
6032
+ export type CatCatSnapshotsColumn = 'id' | 'snapshot' | 'repository' | 're' | 'repo' | 'status' | 's' | 'start_epoch' | 'ste' | 'startEpoch' | 'start_time' | 'sti' | 'startTime' | 'end_epoch' | 'ete' | 'endEpoch' | 'end_time' | 'eti' | 'endTime' | 'duration' | 'dur' | 'indices' | 'i' | 'successful_shards' | 'ss' | 'failed_shards' | 'fs' | 'total_shards' | 'ts' | 'reason' | 'r' | string;
6033
+ export type CatCatSnapshotsColumns = CatCatSnapshotsColumn | CatCatSnapshotsColumn[];
6034
+ export type CatCatThreadPoolColumn = 'active' | 'a' | 'completed' | 'c' | 'core' | 'cr' | 'ephemeral_id' | 'eid' | 'host' | 'h' | 'ip' | 'i' | 'keep_alive' | 'k' | 'largest' | 'l' | 'max' | 'mx' | 'name' | 'node_id' | 'id' | 'node_name' | 'pid' | 'p' | 'pool_size' | 'psz' | 'port' | 'po' | 'queue' | 'q' | 'queue_size' | 'qs' | 'rejected' | 'r' | 'size' | 'sz' | 'type' | 't' | string;
6035
+ export type CatCatThreadPoolColumns = CatCatThreadPoolColumn | CatCatThreadPoolColumn[];
5854
6036
  export type CatCatTrainedModelsColumn = 'create_time' | 'ct' | 'created_by' | 'c' | 'createdBy' | 'data_frame_analytics_id' | 'df' | 'dataFrameAnalytics' | 'dfid' | 'description' | 'd' | 'heap_size' | 'hs' | 'modelHeapSize' | 'id' | 'ingest.count' | 'ic' | 'ingestCount' | 'ingest.current' | 'icurr' | 'ingestCurrent' | 'ingest.failed' | 'if' | 'ingestFailed' | 'ingest.pipelines' | 'ip' | 'ingestPipelines' | 'ingest.time' | 'it' | 'ingestTime' | 'license' | 'l' | 'operations' | 'o' | 'modelOperations' | 'version' | 'v';
5855
6037
  export type CatCatTrainedModelsColumns = CatCatTrainedModelsColumn | CatCatTrainedModelsColumn[];
5856
6038
  export type CatCatTransformColumn = 'changes_last_detection_time' | 'cldt' | 'checkpoint' | 'cp' | 'checkpoint_duration_time_exp_avg' | 'cdtea' | 'checkpointTimeExpAvg' | 'checkpoint_progress' | 'c' | 'checkpointProgress' | 'create_time' | 'ct' | 'createTime' | 'delete_time' | 'dtime' | 'description' | 'd' | 'dest_index' | 'di' | 'destIndex' | 'documents_deleted' | 'docd' | 'documents_indexed' | 'doci' | 'docs_per_second' | 'dps' | 'documents_processed' | 'docp' | 'frequency' | 'f' | 'id' | 'index_failure' | 'if' | 'index_time' | 'itime' | 'index_total' | 'it' | 'indexed_documents_exp_avg' | 'idea' | 'last_search_time' | 'lst' | 'lastSearchTime' | 'max_page_search_size' | 'mpsz' | 'pages_processed' | 'pp' | 'pipeline' | 'p' | 'processed_documents_exp_avg' | 'pdea' | 'processing_time' | 'pt' | 'reason' | 'r' | 'search_failure' | 'sf' | 'search_time' | 'stime' | 'search_total' | 'st' | 'source_index' | 'si' | 'sourceIndex' | 'state' | 's' | 'transform_type' | 'tt' | 'trigger_count' | 'tc' | 'version' | 'v';
@@ -5880,7 +6062,6 @@ export interface CatAliasesRequest extends CatCatRequestBase {
5880
6062
  s?: Names;
5881
6063
  expand_wildcards?: ExpandWildcards;
5882
6064
  local?: boolean;
5883
- master_timeout?: Duration;
5884
6065
  }
5885
6066
  export type CatAliasesResponse = CatAliasesAliasesRecord[];
5886
6067
  export interface CatAllocationAllocationRecord {
@@ -6992,7 +7173,7 @@ export interface CatNodesRequest extends CatCatRequestBase {
6992
7173
  bytes?: Bytes;
6993
7174
  full_id?: boolean | string;
6994
7175
  include_unloaded_segments?: boolean;
6995
- h?: Names;
7176
+ h?: CatCatNodeColumns;
6996
7177
  s?: Names;
6997
7178
  master_timeout?: Duration;
6998
7179
  time?: TimeUnit;
@@ -7099,7 +7280,7 @@ export interface CatRecoveryRequest extends CatCatRequestBase {
7099
7280
  active_only?: boolean;
7100
7281
  bytes?: Bytes;
7101
7282
  detailed?: boolean;
7102
- h?: Names;
7283
+ h?: CatCatRecoveryColumns;
7103
7284
  s?: Names;
7104
7285
  time?: TimeUnit;
7105
7286
  }
@@ -7120,7 +7301,7 @@ export type CatRepositoriesResponse = CatRepositoriesRepositoriesRecord[];
7120
7301
  export interface CatSegmentsRequest extends CatCatRequestBase {
7121
7302
  index?: Indices;
7122
7303
  bytes?: Bytes;
7123
- h?: Names;
7304
+ h?: CatCatSegmentsColumns;
7124
7305
  s?: Names;
7125
7306
  local?: boolean;
7126
7307
  master_timeout?: Duration;
@@ -7170,7 +7351,7 @@ export interface CatSegmentsSegmentsRecord {
7170
7351
  export interface CatShardsRequest extends CatCatRequestBase {
7171
7352
  index?: Indices;
7172
7353
  bytes?: Bytes;
7173
- h?: Names;
7354
+ h?: CatCatShardColumns;
7174
7355
  s?: Names;
7175
7356
  master_timeout?: Duration;
7176
7357
  time?: TimeUnit;
@@ -7393,7 +7574,7 @@ export interface CatShardsShardsRecord {
7393
7574
  export interface CatSnapshotsRequest extends CatCatRequestBase {
7394
7575
  repository?: Names;
7395
7576
  ignore_unavailable?: boolean;
7396
- h?: Names;
7577
+ h?: CatCatSnapshotsColumns;
7397
7578
  s?: Names;
7398
7579
  master_timeout?: Duration;
7399
7580
  time?: TimeUnit;
@@ -7501,7 +7682,7 @@ export interface CatTemplatesTemplatesRecord {
7501
7682
  }
7502
7683
  export interface CatThreadPoolRequest extends CatCatRequestBase {
7503
7684
  thread_pool_patterns?: Names;
7504
- h?: Names;
7685
+ h?: CatCatThreadPoolColumns;
7505
7686
  s?: Names;
7506
7687
  time?: TimeUnit;
7507
7688
  local?: boolean;
@@ -8008,6 +8189,7 @@ export type ClusterExistsComponentTemplateResponse = boolean;
8008
8189
  export interface ClusterGetComponentTemplateRequest extends RequestBase {
8009
8190
  name?: Name;
8010
8191
  flat_settings?: boolean;
8192
+ settings_filter?: string | string[];
8011
8193
  include_defaults?: boolean;
8012
8194
  local?: boolean;
8013
8195
  master_timeout?: Duration;
@@ -8119,6 +8301,7 @@ export type ClusterPostVotingConfigExclusionsResponse = boolean;
8119
8301
  export interface ClusterPutComponentTemplateRequest extends RequestBase {
8120
8302
  name: Name;
8121
8303
  create?: boolean;
8304
+ cause?: string;
8122
8305
  master_timeout?: Duration;
8123
8306
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
8124
8307
  body?: {
@@ -8246,6 +8429,35 @@ export interface ClusterStateRequest extends RequestBase {
8246
8429
  wait_for_timeout?: Duration;
8247
8430
  }
8248
8431
  export type ClusterStateResponse = any;
8432
+ export interface ClusterStatsCCSStats {
8433
+ clusters?: Record<string, ClusterStatsRemoteClusterInfo>;
8434
+ _search: ClusterStatsCCSUsageStats;
8435
+ _esql?: ClusterStatsCCSUsageStats;
8436
+ }
8437
+ export interface ClusterStatsCCSUsageClusterStats {
8438
+ total: integer;
8439
+ skipped: integer;
8440
+ took: ClusterStatsCCSUsageTimeValue;
8441
+ }
8442
+ export interface ClusterStatsCCSUsageStats {
8443
+ total: integer;
8444
+ success: integer;
8445
+ skipped: integer;
8446
+ took: ClusterStatsCCSUsageTimeValue;
8447
+ took_mrt_true?: ClusterStatsCCSUsageTimeValue;
8448
+ took_mrt_false?: ClusterStatsCCSUsageTimeValue;
8449
+ remotes_per_search_max: integer;
8450
+ remotes_per_search_avg: double;
8451
+ failure_reasons: Record<string, integer>;
8452
+ features: Record<string, integer>;
8453
+ clients: Record<string, integer>;
8454
+ clusters: Record<string, ClusterStatsCCSUsageClusterStats>;
8455
+ }
8456
+ export interface ClusterStatsCCSUsageTimeValue {
8457
+ max: DurationValue<UnitMillis>;
8458
+ avg: DurationValue<UnitMillis>;
8459
+ p90: DurationValue<UnitMillis>;
8460
+ }
8249
8461
  export interface ClusterStatsCharFilterTypes {
8250
8462
  analyzer_types: ClusterStatsFieldTypes[];
8251
8463
  built_in_analyzers: ClusterStatsFieldTypes[];
@@ -8255,24 +8467,42 @@ export interface ClusterStatsCharFilterTypes {
8255
8467
  char_filter_types: ClusterStatsFieldTypes[];
8256
8468
  filter_types: ClusterStatsFieldTypes[];
8257
8469
  tokenizer_types: ClusterStatsFieldTypes[];
8470
+ synonyms: Record<Name, ClusterStatsSynonymsStats>;
8258
8471
  }
8259
8472
  export interface ClusterStatsClusterFileSystem {
8260
- available_in_bytes: long;
8261
- free_in_bytes: long;
8262
- total_in_bytes: long;
8473
+ path?: string;
8474
+ mount?: string;
8475
+ type?: string;
8476
+ available_in_bytes?: long;
8477
+ available?: ByteSize;
8478
+ free_in_bytes?: long;
8479
+ free?: ByteSize;
8480
+ total_in_bytes?: long;
8481
+ total?: ByteSize;
8482
+ low_watermark_free_space?: ByteSize;
8483
+ low_watermark_free_space_in_bytes?: long;
8484
+ high_watermark_free_space?: ByteSize;
8485
+ high_watermark_free_space_in_bytes?: long;
8486
+ flood_stage_free_space?: ByteSize;
8487
+ flood_stage_free_space_in_bytes?: long;
8488
+ frozen_flood_stage_free_space?: ByteSize;
8489
+ frozen_flood_stage_free_space_in_bytes?: long;
8263
8490
  }
8264
8491
  export interface ClusterStatsClusterIndices {
8265
- analysis: ClusterStatsCharFilterTypes;
8492
+ analysis?: ClusterStatsCharFilterTypes;
8266
8493
  completion: CompletionStats;
8267
8494
  count: long;
8268
8495
  docs: DocStats;
8269
8496
  fielddata: FielddataStats;
8270
8497
  query_cache: QueryCacheStats;
8498
+ search: ClusterStatsSearchUsageStats;
8271
8499
  segments: SegmentsStats;
8272
8500
  shards: ClusterStatsClusterIndicesShards;
8273
8501
  store: StoreStats;
8274
- mappings: ClusterStatsFieldTypesMappings;
8502
+ mappings?: ClusterStatsFieldTypesMappings;
8275
8503
  versions?: ClusterStatsIndicesVersions[];
8504
+ dense_vector: ClusterStatsDenseVectorStats;
8505
+ sparse_vector: ClusterStatsSparseVectorStats;
8276
8506
  }
8277
8507
  export interface ClusterStatsClusterIndicesShards {
8278
8508
  index?: ClusterStatsClusterIndicesShardsIndex;
@@ -8291,13 +8521,16 @@ export interface ClusterStatsClusterIngest {
8291
8521
  }
8292
8522
  export interface ClusterStatsClusterJvm {
8293
8523
  max_uptime_in_millis: DurationValue<UnitMillis>;
8524
+ max_uptime?: Duration;
8294
8525
  mem: ClusterStatsClusterJvmMemory;
8295
8526
  threads: long;
8296
8527
  versions: ClusterStatsClusterJvmVersion[];
8297
8528
  }
8298
8529
  export interface ClusterStatsClusterJvmMemory {
8299
8530
  heap_max_in_bytes: long;
8531
+ heap_max?: ByteSize;
8300
8532
  heap_used_in_bytes: long;
8533
+ heap_used?: ByteSize;
8301
8534
  }
8302
8535
  export interface ClusterStatsClusterJvmVersion {
8303
8536
  bundled_jdk: boolean;
@@ -8313,20 +8546,22 @@ export interface ClusterStatsClusterNetworkTypes {
8313
8546
  transport_types: Record<string, integer>;
8314
8547
  }
8315
8548
  export interface ClusterStatsClusterNodeCount {
8316
- coordinating_only: integer;
8317
- data: integer;
8318
- data_cold: integer;
8319
- data_content: integer;
8320
- data_frozen?: integer;
8321
- data_hot: integer;
8322
- data_warm: integer;
8323
- ingest: integer;
8324
- master: integer;
8325
- ml: integer;
8326
- remote_cluster_client: integer;
8327
8549
  total: integer;
8328
- transform: integer;
8329
- voting_only: integer;
8550
+ coordinating_only?: integer;
8551
+ data?: integer;
8552
+ data_cold?: integer;
8553
+ data_content?: integer;
8554
+ data_frozen?: integer;
8555
+ data_hot?: integer;
8556
+ data_warm?: integer;
8557
+ index?: integer;
8558
+ ingest?: integer;
8559
+ master?: integer;
8560
+ ml?: integer;
8561
+ remote_cluster_client?: integer;
8562
+ search?: integer;
8563
+ transform?: integer;
8564
+ voting_only?: integer;
8330
8565
  }
8331
8566
  export interface ClusterStatsClusterNodes {
8332
8567
  count: ClusterStatsClusterNodeCount;
@@ -8386,45 +8621,56 @@ export interface ClusterStatsClusterShardMetrics {
8386
8621
  max: double;
8387
8622
  min: double;
8388
8623
  }
8624
+ export interface ClusterStatsClusterSnapshotStats {
8625
+ current_counts: ClusterStatsSnapshotCurrentCounts;
8626
+ repositories: Record<Name, ClusterStatsPerRepositoryStats>;
8627
+ }
8628
+ export interface ClusterStatsDenseVectorOffHeapStats {
8629
+ total_size_bytes: long;
8630
+ total_size?: ByteSize;
8631
+ total_veb_size_bytes: long;
8632
+ total_veb_size?: ByteSize;
8633
+ total_vec_size_bytes: long;
8634
+ total_vec_size?: ByteSize;
8635
+ total_veq_size_bytes: long;
8636
+ total_veq_size?: ByteSize;
8637
+ total_vex_size_bytes: long;
8638
+ total_vex_size?: ByteSize;
8639
+ fielddata?: Record<string, Record<string, long>>;
8640
+ }
8641
+ export interface ClusterStatsDenseVectorStats {
8642
+ value_count: long;
8643
+ off_heap?: ClusterStatsDenseVectorOffHeapStats;
8644
+ }
8389
8645
  export interface ClusterStatsFieldTypes {
8390
8646
  name: Name;
8391
8647
  count: integer;
8392
8648
  index_count: integer;
8393
- indexed_vector_count?: long;
8394
- indexed_vector_dim_max?: long;
8395
- indexed_vector_dim_min?: long;
8649
+ indexed_vector_count?: integer;
8650
+ indexed_vector_dim_max?: integer;
8651
+ indexed_vector_dim_min?: integer;
8396
8652
  script_count?: integer;
8653
+ vector_index_type_count?: Record<Name, integer>;
8654
+ vector_similarity_type_count?: Record<Name, integer>;
8655
+ vector_element_type_count?: Record<Name, integer>;
8397
8656
  }
8398
8657
  export interface ClusterStatsFieldTypesMappings {
8399
8658
  field_types: ClusterStatsFieldTypes[];
8400
- runtime_field_types?: ClusterStatsRuntimeFieldTypes[];
8401
- total_field_count?: integer;
8402
- total_deduplicated_field_count?: integer;
8659
+ runtime_field_types: ClusterStatsRuntimeFieldTypes[];
8660
+ total_field_count?: long;
8661
+ total_deduplicated_field_count?: long;
8403
8662
  total_deduplicated_mapping_size?: ByteSize;
8404
8663
  total_deduplicated_mapping_size_in_bytes?: long;
8664
+ source_modes: Record<Name, integer>;
8405
8665
  }
8406
8666
  export interface ClusterStatsIndexingPressure {
8407
- memory: ClusterStatsIndexingPressureMemory;
8408
- }
8409
- export interface ClusterStatsIndexingPressureMemory {
8410
- current: ClusterStatsIndexingPressureMemorySummary;
8411
- limit_in_bytes: long;
8412
- total: ClusterStatsIndexingPressureMemorySummary;
8413
- }
8414
- export interface ClusterStatsIndexingPressureMemorySummary {
8415
- all_in_bytes: long;
8416
- combined_coordinating_and_primary_in_bytes: long;
8417
- coordinating_in_bytes: long;
8418
- coordinating_rejections?: long;
8419
- primary_in_bytes: long;
8420
- primary_rejections?: long;
8421
- replica_in_bytes: long;
8422
- replica_rejections?: long;
8667
+ memory: NodesIndexingPressureMemory;
8423
8668
  }
8424
8669
  export interface ClusterStatsIndicesVersions {
8425
8670
  index_count: integer;
8426
8671
  primary_shard_count: integer;
8427
8672
  total_primary_bytes: long;
8673
+ total_primary_size?: ByteSize;
8428
8674
  version: VersionString;
8429
8675
  }
8430
8676
  export interface ClusterStatsNodePackagingType {
@@ -8434,12 +8680,54 @@ export interface ClusterStatsNodePackagingType {
8434
8680
  }
8435
8681
  export interface ClusterStatsOperatingSystemMemoryInfo {
8436
8682
  adjusted_total_in_bytes?: long;
8683
+ adjusted_total?: ByteSize;
8437
8684
  free_in_bytes: long;
8685
+ free?: ByteSize;
8438
8686
  free_percent: integer;
8439
8687
  total_in_bytes: long;
8688
+ total?: ByteSize;
8440
8689
  used_in_bytes: long;
8690
+ used?: ByteSize;
8441
8691
  used_percent: integer;
8442
8692
  }
8693
+ export interface ClusterStatsPerRepositoryStats {
8694
+ type: string;
8695
+ oldest_start_time_millis: UnitMillis;
8696
+ oldest_start_time?: DateFormat;
8697
+ current_counts: ClusterStatsRepositoryStatsCurrentCounts;
8698
+ }
8699
+ export interface ClusterStatsRemoteClusterInfo {
8700
+ cluster_uuid: string;
8701
+ mode: string;
8702
+ skip_unavailable: boolean;
8703
+ 'transport.compress': string;
8704
+ status: HealthStatus;
8705
+ version: VersionString[];
8706
+ nodes_count: integer;
8707
+ shards_count: integer;
8708
+ indices_count: integer;
8709
+ indices_total_size_in_bytes: long;
8710
+ indices_total_size?: string;
8711
+ max_heap_in_bytes: long;
8712
+ max_heap?: string;
8713
+ mem_total_in_bytes: long;
8714
+ mem_total?: string;
8715
+ }
8716
+ export interface ClusterStatsRepositoryStatsCurrentCounts {
8717
+ snapshots: integer;
8718
+ clones: integer;
8719
+ finalizations: integer;
8720
+ deletions: integer;
8721
+ snapshot_deletions: integer;
8722
+ active_deletions: integer;
8723
+ shards: ClusterStatsRepositoryStatsShards;
8724
+ }
8725
+ export interface ClusterStatsRepositoryStatsShards {
8726
+ total: integer;
8727
+ complete: integer;
8728
+ incomplete: integer;
8729
+ states: Record<ClusterStatsShardState, integer>;
8730
+ }
8443
8731
  export interface ClusterStatsRequest extends RequestBase {
8444
8732
  node_id?: NodeIds;
8445
8733
  include_remotes?: boolean;
@@ -8462,13 +8750,38 @@ export interface ClusterStatsRuntimeFieldTypes {
8462
8750
  source_max: integer;
8463
8751
  source_total: integer;
8464
8752
  }
8753
+ export interface ClusterStatsSearchUsageStats {
8754
+ total: long;
8755
+ queries: Record<Name, long>;
8756
+ rescorers: Record<Name, long>;
8757
+ sections: Record<Name, long>;
8758
+ retrievers: Record<Name, long>;
8759
+ }
8760
+ export type ClusterStatsShardState = 'INIT' | 'SUCCESS' | 'FAILED' | 'ABORTED' | 'MISSING' | 'WAITING' | 'QUEUED' | 'PAUSED_FOR_NODE_REMOVAL';
8761
+ export interface ClusterStatsSnapshotCurrentCounts {
8762
+ snapshots: integer;
8763
+ shard_snapshots: integer;
8764
+ snapshot_deletions: integer;
8765
+ concurrent_operations: integer;
8766
+ cleanups: integer;
8767
+ }
8768
+ export interface ClusterStatsSparseVectorStats {
8769
+ value_count: long;
8770
+ }
8465
8771
  export interface ClusterStatsStatsResponseBase extends NodesNodesResponseBase {
8466
8772
  cluster_name: Name;
8467
8773
  cluster_uuid: Uuid;
8468
8774
  indices: ClusterStatsClusterIndices;
8469
8775
  nodes: ClusterStatsClusterNodes;
8470
- status: HealthStatus;
8776
+ repositories: Record<Name, Record<Name, long>>;
8777
+ snapshots: ClusterStatsClusterSnapshotStats;
8778
+ status?: HealthStatus;
8471
8779
  timestamp: long;
8780
+ ccs: ClusterStatsCCSStats;
8781
+ }
8782
+ export interface ClusterStatsSynonymsStats {
8783
+ count: integer;
8784
+ index_count: integer;
8472
8785
  }
8473
8786
  export interface ConnectorConnector {
8474
8787
  api_key_id?: string;
@@ -9111,6 +9424,7 @@ export interface EqlSearchRequest extends RequestBase {
9111
9424
  index: Indices;
9112
9425
  allow_no_indices?: boolean;
9113
9426
  expand_wildcards?: ExpandWildcards;
9427
+ ccs_minimize_roundtrips?: boolean;
9114
9428
  ignore_unavailable?: boolean;
9115
9429
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
9116
9430
  body?: {
@@ -9135,6 +9449,52 @@ export interface EqlSearchRequest extends RequestBase {
9135
9449
  }
9136
9450
  export type EqlSearchResponse<TEvent = unknown> = EqlEqlSearchResponseBase<TEvent>;
9137
9451
  export type EqlSearchResultPosition = 'tail' | 'head';
9452
+ export interface EsqlAsyncEsqlResult extends EsqlEsqlResult {
9453
+ id?: string;
9454
+ is_running: boolean;
9455
+ }
9456
+ export interface EsqlEsqlClusterDetails {
9457
+ status: EsqlEsqlClusterStatus;
9458
+ indices: string;
9459
+ took?: DurationValue<UnitMillis>;
9460
+ _shards?: EsqlEsqlShardInfo;
9461
+ }
9462
+ export interface EsqlEsqlClusterInfo {
9463
+ total: integer;
9464
+ successful: integer;
9465
+ running: integer;
9466
+ skipped: integer;
9467
+ partial: integer;
9468
+ failed: integer;
9469
+ details: Record<string, EsqlEsqlClusterDetails>;
9470
+ }
9471
+ export type EsqlEsqlClusterStatus = 'running' | 'successful' | 'partial' | 'skipped' | 'failed';
9472
+ export interface EsqlEsqlColumnInfo {
9473
+ name: string;
9474
+ type: string;
9475
+ }
9476
+ export interface EsqlEsqlResult {
9477
+ took?: DurationValue<UnitMillis>;
9478
+ is_partial?: boolean;
9479
+ all_columns?: EsqlEsqlColumnInfo[];
9480
+ columns: EsqlEsqlColumnInfo[];
9481
+ values: FieldValue[][];
9482
+ _clusters?: EsqlEsqlClusterInfo;
9483
+ profile?: any;
9484
+ }
9485
+ export interface EsqlEsqlShardFailure {
9486
+ shard: Id;
9487
+ index: IndexName;
9488
+ node?: NodeId;
9489
+ reason: ErrorCause;
9490
+ }
9491
+ export interface EsqlEsqlShardInfo {
9492
+ total: integer;
9493
+ successful?: integer;
9494
+ skipped?: integer;
9495
+ failed?: integer;
9496
+ failures?: EsqlEsqlShardFailure[];
9497
+ }
9138
9498
  export interface EsqlTableValuesContainer {
9139
9499
  integer?: EsqlTableValuesIntegerValue[];
9140
9500
  keyword?: EsqlTableValuesKeywordValue[];
@@ -9146,11 +9506,10 @@ export type EsqlTableValuesKeywordValue = string | string[];
9146
9506
  export type EsqlTableValuesLongDouble = double | double[];
9147
9507
  export type EsqlTableValuesLongValue = long | long[];
9148
9508
  export interface EsqlAsyncQueryRequest extends RequestBase {
9509
+ allow_partial_results?: boolean;
9149
9510
  delimiter?: string;
9150
9511
  drop_null_columns?: boolean;
9151
9512
  format?: EsqlQueryEsqlFormat;
9152
- keep_alive?: Duration;
9153
- keep_on_completion?: boolean;
9154
9513
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
9155
9514
  body?: {
9156
9515
  columnar?: boolean;
@@ -9162,9 +9521,11 @@ export interface EsqlAsyncQueryRequest extends RequestBase {
9162
9521
  tables?: Record<string, Record<string, EsqlTableValuesContainer>>;
9163
9522
  include_ccs_metadata?: boolean;
9164
9523
  wait_for_completion_timeout?: Duration;
9524
+ keep_alive?: Duration;
9525
+ keep_on_completion?: boolean;
9165
9526
  };
9166
9527
  }
9167
- export type EsqlAsyncQueryResponse = EsqlResult;
9528
+ export type EsqlAsyncQueryResponse = EsqlEsqlResult;
9168
9529
  export interface EsqlAsyncQueryDeleteRequest extends RequestBase {
9169
9530
  id: Id;
9170
9531
  }
@@ -9172,20 +9533,22 @@ export type EsqlAsyncQueryDeleteResponse = AcknowledgedResponseBase;
9172
9533
  export interface EsqlAsyncQueryGetRequest extends RequestBase {
9173
9534
  id: Id;
9174
9535
  drop_null_columns?: boolean;
9536
+ format?: EsqlQueryEsqlFormat;
9175
9537
  keep_alive?: Duration;
9176
9538
  wait_for_completion_timeout?: Duration;
9177
9539
  }
9178
- export type EsqlAsyncQueryGetResponse = EsqlResult;
9540
+ export type EsqlAsyncQueryGetResponse = EsqlAsyncEsqlResult;
9179
9541
  export interface EsqlAsyncQueryStopRequest extends RequestBase {
9180
9542
  id: Id;
9181
9543
  drop_null_columns?: boolean;
9182
9544
  }
9183
- export type EsqlAsyncQueryStopResponse = EsqlResult;
9545
+ export type EsqlAsyncQueryStopResponse = EsqlEsqlResult;
9184
9546
  export type EsqlQueryEsqlFormat = 'csv' | 'json' | 'tsv' | 'txt' | 'yaml' | 'cbor' | 'smile' | 'arrow';
9185
9547
  export interface EsqlQueryRequest extends RequestBase {
9186
9548
  format?: EsqlQueryEsqlFormat;
9187
9549
  delimiter?: string;
9188
9550
  drop_null_columns?: boolean;
9551
+ allow_partial_results?: boolean;
9189
9552
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
9190
9553
  body?: {
9191
9554
  columnar?: boolean;
@@ -9198,7 +9561,7 @@ export interface EsqlQueryRequest extends RequestBase {
9198
9561
  include_ccs_metadata?: boolean;
9199
9562
  };
9200
9563
  }
9201
- export type EsqlQueryResponse = EsqlResult;
9564
+ export type EsqlQueryResponse = EsqlEsqlResult;
9202
9565
  export interface FeaturesFeature {
9203
9566
  name: string;
9204
9567
  description: string;
@@ -9490,7 +9853,7 @@ export interface IlmExplainLifecycleLifecycleExplainManaged {
9490
9853
  lifecycle_date?: DateTime;
9491
9854
  lifecycle_date_millis?: EpochTime<UnitMillis>;
9492
9855
  managed: true;
9493
- phase: Name;
9856
+ phase?: Name;
9494
9857
  phase_time?: DateTime;
9495
9858
  phase_time_millis?: EpochTime<UnitMillis>;
9496
9859
  policy?: Name;
@@ -9504,6 +9867,7 @@ export interface IlmExplainLifecycleLifecycleExplainManaged {
9504
9867
  step_time_millis?: EpochTime<UnitMillis>;
9505
9868
  phase_execution?: IlmExplainLifecycleLifecycleExplainPhaseExecution;
9506
9869
  time_since_index_creation?: Duration;
9870
+ skip: boolean;
9507
9871
  }
9508
9872
  export interface IlmExplainLifecycleLifecycleExplainPhaseExecution {
9509
9873
  phase_definition?: IlmPhase;
@@ -9999,6 +10363,7 @@ export type IndicesSourceMode = 'disabled' | 'stored' | 'synthetic';
9999
10363
  export interface IndicesStorage {
10000
10364
  type: IndicesStorageType;
10001
10365
  allow_mmap?: boolean;
10366
+ stats_refresh_interval?: Duration;
10002
10367
  }
10003
10368
  export type IndicesStorageType = 'fs' | 'niofs' | 'mmapfs' | 'hybridfs' | string;
10004
10369
  export interface IndicesTemplateMapping {
@@ -10220,13 +10585,16 @@ export interface IndicesDeleteRequest extends RequestBase {
10220
10585
  timeout?: Duration;
10221
10586
  }
10222
10587
  export type IndicesDeleteResponse = IndicesResponseBase;
10588
+ export interface IndicesDeleteAliasIndicesAliasesResponseBody extends AcknowledgedResponseBase {
10589
+ errors?: boolean;
10590
+ }
10223
10591
  export interface IndicesDeleteAliasRequest extends RequestBase {
10224
10592
  index: Indices;
10225
10593
  name: Names;
10226
10594
  master_timeout?: Duration;
10227
10595
  timeout?: Duration;
10228
10596
  }
10229
- export type IndicesDeleteAliasResponse = AcknowledgedResponseBase;
10597
+ export type IndicesDeleteAliasResponse = IndicesDeleteAliasIndicesAliasesResponseBody;
10230
10598
  export interface IndicesDeleteDataLifecycleRequest extends RequestBase {
10231
10599
  name: DataStreamNames;
10232
10600
  expand_wildcards?: ExpandWildcards;
@@ -10403,9 +10771,6 @@ export interface IndicesGetRequest extends RequestBase {
10403
10771
  features?: IndicesGetFeatures;
10404
10772
  }
10405
10773
  export type IndicesGetResponse = Record<IndexName, IndicesIndexState>;
10406
- export interface IndicesGetAliasIndexAliases {
10407
- aliases: Record<string, IndicesAliasDefinition>;
10408
- }
10409
10774
  export interface IndicesGetAliasRequest extends RequestBase {
10410
10775
  name?: Names;
10411
10776
  index?: Indices;
@@ -10415,6 +10780,16 @@ export interface IndicesGetAliasRequest extends RequestBase {
10415
10780
  local?: boolean;
10416
10781
  }
10417
10782
  export type IndicesGetAliasResponse = Record<IndexName, IndicesGetAliasIndexAliases>;
10783
+ export interface IndicesGetAliasIndexAliases {
10784
+ aliases: Record<string, IndicesAliasDefinition>;
10785
+ }
10786
+ export interface IndicesGetAliasNotFoundAliasesKeys {
10787
+ error: string;
10788
+ status: number;
10789
+ }
10790
+ export type IndicesGetAliasNotFoundAliases = IndicesGetAliasNotFoundAliasesKeys & {
10791
+ [property: string]: IndicesGetAliasIndexAliases | string | number;
10792
+ };
10418
10793
  export interface IndicesGetDataLifecycleDataStreamWithLifecycle {
10419
10794
  name: DataStreamName;
10420
10795
  lifecycle?: IndicesDataStreamLifecycleWithRollover;
@@ -10755,6 +11130,9 @@ export interface IndicesRecoveryRequest extends RequestBase {
10755
11130
  index?: Indices;
10756
11131
  active_only?: boolean;
10757
11132
  detailed?: boolean;
11133
+ allow_no_indices?: boolean;
11134
+ expand_wildcards?: ExpandWildcards;
11135
+ ignore_unavailable?: boolean;
10758
11136
  }
10759
11137
  export type IndicesRecoveryResponse = Record<IndexName, IndicesRecoveryRecoveryStatus>;
10760
11138
  export interface IndicesRecoveryShardRecovery {
@@ -11301,6 +11679,27 @@ export interface InferenceAmazonBedrockTaskSettings {
11301
11679
  top_p?: float;
11302
11680
  }
11303
11681
  export type InferenceAmazonBedrockTaskType = 'completion' | 'text_embedding';
11682
+ export type InferenceAmazonSageMakerApi = 'openai' | 'elastic';
11683
+ export interface InferenceAmazonSageMakerServiceSettings {
11684
+ access_key: string;
11685
+ endpoint_name: string;
11686
+ api: InferenceAmazonSageMakerApi;
11687
+ region: string;
11688
+ secret_key: string;
11689
+ target_model?: string;
11690
+ target_container_hostname?: string;
11691
+ inference_component_name?: string;
11692
+ batch_size?: integer;
11693
+ dimensions?: integer;
11694
+ }
11695
+ export type InferenceAmazonSageMakerServiceType = 'amazon_sagemaker';
11696
+ export interface InferenceAmazonSageMakerTaskSettings {
11697
+ custom_attributes?: string;
11698
+ enable_explanations?: string;
11699
+ inference_id?: string;
11700
+ session_id?: string;
11701
+ target_variant?: string;
11702
+ }
11304
11703
  export interface InferenceAnthropicServiceSettings {
11305
11704
  api_key: string;
11306
11705
  model_id: string;
@@ -11343,7 +11742,7 @@ export interface InferenceAzureOpenAITaskSettings {
11343
11742
  user?: string;
11344
11743
  }
11345
11744
  export type InferenceAzureOpenAITaskType = 'completion' | 'text_embedding';
11346
- export type InferenceCohereEmbeddingType = 'byte' | 'float' | 'int8';
11745
+ export type InferenceCohereEmbeddingType = 'binary' | 'bit' | 'byte' | 'float' | 'int8';
11347
11746
  export type InferenceCohereInputType = 'classification' | 'clustering' | 'ingest' | 'search';
11348
11747
  export interface InferenceCohereServiceSettings {
11349
11748
  api_key: string;
@@ -11390,6 +11789,32 @@ export interface InferenceContentObject {
11390
11789
  text: string;
11391
11790
  type: string;
11392
11791
  }
11792
+ export interface InferenceCustomRequestParams {
11793
+ content: string;
11794
+ }
11795
+ export interface InferenceCustomResponseParams {
11796
+ json_parser: any;
11797
+ }
11798
+ export interface InferenceCustomServiceSettings {
11799
+ headers?: any;
11800
+ input_type?: any;
11801
+ query_parameters?: any;
11802
+ request: InferenceCustomRequestParams;
11803
+ response: InferenceCustomResponseParams;
11804
+ secret_parameters: any;
11805
+ url?: string;
11806
+ }
11807
+ export type InferenceCustomServiceType = 'custom';
11808
+ export interface InferenceCustomTaskSettings {
11809
+ parameters?: any;
11810
+ }
11811
+ export type InferenceCustomTaskType = 'text_embedding' | 'sparse_embedding' | 'rerank' | 'completion';
11812
+ export interface InferenceDeepSeekServiceSettings {
11813
+ api_key: string;
11814
+ model_id: string;
11815
+ url?: string;
11816
+ }
11817
+ export type InferenceDeepSeekServiceType = 'deepseek';
11393
11818
  export interface InferenceDeleteInferenceEndpointResult extends AcknowledgedResponseBase {
11394
11819
  pipelines: string[];
11395
11820
  }
@@ -11433,14 +11858,19 @@ export interface InferenceGoogleVertexAITaskSettings {
11433
11858
  auto_truncate?: boolean;
11434
11859
  top_n?: integer;
11435
11860
  }
11436
- export type InferenceGoogleVertexAITaskType = 'rerank' | 'text_embedding';
11861
+ export type InferenceGoogleVertexAITaskType = 'rerank' | 'text_embedding' | 'completion' | 'chat_completion';
11437
11862
  export interface InferenceHuggingFaceServiceSettings {
11438
11863
  api_key: string;
11439
11864
  rate_limit?: InferenceRateLimitSetting;
11440
11865
  url: string;
11866
+ model_id?: string;
11441
11867
  }
11442
11868
  export type InferenceHuggingFaceServiceType = 'hugging_face';
11443
- export type InferenceHuggingFaceTaskType = 'text_embedding';
11869
+ export interface InferenceHuggingFaceTaskSettings {
11870
+ return_documents?: boolean;
11871
+ top_n?: integer;
11872
+ }
11873
+ export type InferenceHuggingFaceTaskType = 'chat_completion' | 'completion' | 'rerank' | 'text_embedding';
11444
11874
  export interface InferenceInferenceChunkingSettings {
11445
11875
  max_chunk_size?: integer;
11446
11876
  overlap?: integer;
@@ -11457,6 +11887,82 @@ export interface InferenceInferenceEndpointInfo extends InferenceInferenceEndpoi
11457
11887
  inference_id: string;
11458
11888
  task_type: InferenceTaskType;
11459
11889
  }
11890
+ export interface InferenceInferenceEndpointInfoAlibabaCloudAI extends InferenceInferenceEndpoint {
11891
+ inference_id: string;
11892
+ task_type: InferenceTaskTypeAlibabaCloudAI;
11893
+ }
11894
+ export interface InferenceInferenceEndpointInfoAmazonBedrock extends InferenceInferenceEndpoint {
11895
+ inference_id: string;
11896
+ task_type: InferenceTaskTypeAmazonBedrock;
11897
+ }
11898
+ export interface InferenceInferenceEndpointInfoAmazonSageMaker extends InferenceInferenceEndpoint {
11899
+ inference_id: string;
11900
+ task_type: InferenceTaskTypeAmazonSageMaker;
11901
+ }
11902
+ export interface InferenceInferenceEndpointInfoAnthropic extends InferenceInferenceEndpoint {
11903
+ inference_id: string;
11904
+ task_type: InferenceTaskTypeAnthropic;
11905
+ }
11906
+ export interface InferenceInferenceEndpointInfoAzureAIStudio extends InferenceInferenceEndpoint {
11907
+ inference_id: string;
11908
+ task_type: InferenceTaskTypeAzureAIStudio;
11909
+ }
11910
+ export interface InferenceInferenceEndpointInfoAzureOpenAI extends InferenceInferenceEndpoint {
11911
+ inference_id: string;
11912
+ task_type: InferenceTaskTypeAzureOpenAI;
11913
+ }
11914
+ export interface InferenceInferenceEndpointInfoCohere extends InferenceInferenceEndpoint {
11915
+ inference_id: string;
11916
+ task_type: InferenceTaskTypeCohere;
11917
+ }
11918
+ export interface InferenceInferenceEndpointInfoCustom extends InferenceInferenceEndpoint {
11919
+ inference_id: string;
11920
+ task_type: InferenceTaskTypeCustom;
11921
+ }
11922
+ export interface InferenceInferenceEndpointInfoDeepSeek extends InferenceInferenceEndpoint {
11923
+ inference_id: string;
11924
+ task_type: InferenceTaskTypeDeepSeek;
11925
+ }
11926
+ export interface InferenceInferenceEndpointInfoELSER extends InferenceInferenceEndpoint {
11927
+ inference_id: string;
11928
+ task_type: InferenceTaskTypeELSER;
11929
+ }
11930
+ export interface InferenceInferenceEndpointInfoElasticsearch extends InferenceInferenceEndpoint {
11931
+ inference_id: string;
11932
+ task_type: InferenceTaskTypeElasticsearch;
11933
+ }
11934
+ export interface InferenceInferenceEndpointInfoGoogleAIStudio extends InferenceInferenceEndpoint {
11935
+ inference_id: string;
11936
+ task_type: InferenceTaskTypeGoogleAIStudio;
11937
+ }
11938
+ export interface InferenceInferenceEndpointInfoGoogleVertexAI extends InferenceInferenceEndpoint {
11939
+ inference_id: string;
11940
+ task_type: InferenceTaskTypeGoogleVertexAI;
11941
+ }
11942
+ export interface InferenceInferenceEndpointInfoHuggingFace extends InferenceInferenceEndpoint {
11943
+ inference_id: string;
11944
+ task_type: InferenceTaskTypeHuggingFace;
11945
+ }
11946
+ export interface InferenceInferenceEndpointInfoJinaAi extends InferenceInferenceEndpoint {
11947
+ inference_id: string;
11948
+ task_type: InferenceTaskTypeJinaAi;
11949
+ }
11950
+ export interface InferenceInferenceEndpointInfoMistral extends InferenceInferenceEndpoint {
11951
+ inference_id: string;
11952
+ task_type: InferenceTaskTypeMistral;
11953
+ }
11954
+ export interface InferenceInferenceEndpointInfoOpenAI extends InferenceInferenceEndpoint {
11955
+ inference_id: string;
11956
+ task_type: InferenceTaskTypeOpenAI;
11957
+ }
11958
+ export interface InferenceInferenceEndpointInfoVoyageAI extends InferenceInferenceEndpoint {
11959
+ inference_id: string;
11960
+ task_type: InferenceTaskTypeVoyageAI;
11961
+ }
11962
+ export interface InferenceInferenceEndpointInfoWatsonx extends InferenceInferenceEndpoint {
11963
+ inference_id: string;
11964
+ task_type: InferenceTaskTypeWatsonx;
11965
+ }
11460
11966
  export interface InferenceInferenceResult {
11461
11967
  text_embedding_bytes?: InferenceTextEmbeddingByteResult[];
11462
11968
  text_embedding_bits?: InferenceTextEmbeddingByteResult[];
@@ -11494,7 +12000,7 @@ export interface InferenceMistralServiceSettings {
11494
12000
  rate_limit?: InferenceRateLimitSetting;
11495
12001
  }
11496
12002
  export type InferenceMistralServiceType = 'mistral';
11497
- export type InferenceMistralTaskType = 'text_embedding';
12003
+ export type InferenceMistralTaskType = 'text_embedding' | 'completion' | 'chat_completion';
11498
12004
  export interface InferenceOpenAIServiceSettings {
11499
12005
  api_key: string;
11500
12006
  dimensions?: integer;
@@ -11539,11 +12045,31 @@ export interface InferenceSparseEmbeddingResult {
11539
12045
  export type InferenceSparseVector = Record<string, float>;
11540
12046
  export type InferenceTaskSettings = any;
11541
12047
  export type InferenceTaskType = 'sparse_embedding' | 'text_embedding' | 'rerank' | 'completion' | 'chat_completion';
12048
+ export type InferenceTaskTypeAlibabaCloudAI = 'text_embedding' | 'rerank' | 'completion' | 'sparse_embedding';
12049
+ export type InferenceTaskTypeAmazonBedrock = 'text_embedding' | 'completion';
12050
+ export type InferenceTaskTypeAmazonSageMaker = 'text_embedding' | 'completion' | 'chat_completion' | 'sparse_embedding' | 'rerank';
12051
+ export type InferenceTaskTypeAnthropic = 'completion';
12052
+ export type InferenceTaskTypeAzureAIStudio = 'text_embedding' | 'completion';
12053
+ export type InferenceTaskTypeAzureOpenAI = 'text_embedding' | 'completion';
12054
+ export type InferenceTaskTypeCohere = 'text_embedding' | 'rerank' | 'completion';
12055
+ export type InferenceTaskTypeCustom = 'text_embedding' | 'sparse_embedding' | 'rerank' | 'completion';
12056
+ export type InferenceTaskTypeDeepSeek = 'completion' | 'chat_completion';
12057
+ export type InferenceTaskTypeELSER = 'sparse_embedding';
12058
+ export type InferenceTaskTypeElasticsearch = 'sparse_embedding' | 'text_embedding' | 'rerank';
12059
+ export type InferenceTaskTypeGoogleAIStudio = 'text_embedding' | 'completion';
12060
+ export type InferenceTaskTypeGoogleVertexAI = 'text_embedding' | 'rerank';
12061
+ export type InferenceTaskTypeHuggingFace = 'text_embedding';
12062
+ export type InferenceTaskTypeJinaAi = 'text_embedding' | 'rerank';
12063
+ export type InferenceTaskTypeMistral = 'text_embedding';
12064
+ export type InferenceTaskTypeOpenAI = 'text_embedding' | 'chat_completion' | 'completion';
12065
+ export type InferenceTaskTypeVoyageAI = 'text_embedding' | 'rerank';
12066
+ export type InferenceTaskTypeWatsonx = 'text_embedding';
11542
12067
  export interface InferenceTextEmbeddingByteResult {
11543
12068
  embedding: InferenceDenseByteVector;
11544
12069
  }
11545
12070
  export interface InferenceTextEmbeddingInferenceResult {
11546
12071
  text_embedding_bytes?: InferenceTextEmbeddingByteResult[];
12072
+ text_embedding_bits?: InferenceTextEmbeddingByteResult[];
11547
12073
  text_embedding?: InferenceTextEmbeddingResult[];
11548
12074
  }
11549
12075
  export interface InferenceTextEmbeddingResult {
@@ -11621,6 +12147,7 @@ export interface InferenceInferenceRequest extends RequestBase {
11621
12147
  body?: {
11622
12148
  query?: string;
11623
12149
  input: string | string[];
12150
+ input_type?: string;
11624
12151
  task_settings?: InferenceTaskSettings;
11625
12152
  };
11626
12153
  }
@@ -11628,6 +12155,7 @@ export type InferenceInferenceResponse = InferenceInferenceResult;
11628
12155
  export interface InferencePutRequest extends RequestBase {
11629
12156
  task_type?: InferenceTaskType;
11630
12157
  inference_id: Id;
12158
+ timeout?: Duration;
11631
12159
  /** @deprecated The use of the 'body' key has been deprecated, use 'inference_config' instead. */
11632
12160
  body?: InferenceInferenceEndpoint;
11633
12161
  }
@@ -11635,6 +12163,7 @@ export type InferencePutResponse = InferenceInferenceEndpointInfo;
11635
12163
  export interface InferencePutAlibabacloudRequest extends RequestBase {
11636
12164
  task_type: InferenceAlibabaCloudTaskType;
11637
12165
  alibabacloud_inference_id: Id;
12166
+ timeout?: Duration;
11638
12167
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
11639
12168
  body?: {
11640
12169
  chunking_settings?: InferenceInferenceChunkingSettings;
@@ -11643,10 +12172,11 @@ export interface InferencePutAlibabacloudRequest extends RequestBase {
11643
12172
  task_settings?: InferenceAlibabaCloudTaskSettings;
11644
12173
  };
11645
12174
  }
11646
- export type InferencePutAlibabacloudResponse = InferenceInferenceEndpointInfo;
12175
+ export type InferencePutAlibabacloudResponse = InferenceInferenceEndpointInfoAlibabaCloudAI;
11647
12176
  export interface InferencePutAmazonbedrockRequest extends RequestBase {
11648
12177
  task_type: InferenceAmazonBedrockTaskType;
11649
12178
  amazonbedrock_inference_id: Id;
12179
+ timeout?: Duration;
11650
12180
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
11651
12181
  body?: {
11652
12182
  chunking_settings?: InferenceInferenceChunkingSettings;
@@ -11655,10 +12185,24 @@ export interface InferencePutAmazonbedrockRequest extends RequestBase {
11655
12185
  task_settings?: InferenceAmazonBedrockTaskSettings;
11656
12186
  };
11657
12187
  }
11658
- export type InferencePutAmazonbedrockResponse = InferenceInferenceEndpointInfo;
12188
+ export type InferencePutAmazonbedrockResponse = InferenceInferenceEndpointInfoAmazonBedrock;
12189
+ export interface InferencePutAmazonsagemakerRequest extends RequestBase {
12190
+ task_type: InferenceTaskTypeAmazonSageMaker;
12191
+ amazonsagemaker_inference_id: Id;
12192
+ timeout?: Duration;
12193
+ /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
12194
+ body?: {
12195
+ chunking_settings?: InferenceInferenceChunkingSettings;
12196
+ service: InferenceAmazonSageMakerServiceType;
12197
+ service_settings: InferenceAmazonSageMakerServiceSettings;
12198
+ task_settings?: InferenceAmazonSageMakerTaskSettings;
12199
+ };
12200
+ }
12201
+ export type InferencePutAmazonsagemakerResponse = InferenceInferenceEndpointInfoAmazonSageMaker;
11659
12202
  export interface InferencePutAnthropicRequest extends RequestBase {
11660
12203
  task_type: InferenceAnthropicTaskType;
11661
12204
  anthropic_inference_id: Id;
12205
+ timeout?: Duration;
11662
12206
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
11663
12207
  body?: {
11664
12208
  chunking_settings?: InferenceInferenceChunkingSettings;
@@ -11667,10 +12211,11 @@ export interface InferencePutAnthropicRequest extends RequestBase {
11667
12211
  task_settings?: InferenceAnthropicTaskSettings;
11668
12212
  };
11669
12213
  }
11670
- export type InferencePutAnthropicResponse = InferenceInferenceEndpointInfo;
12214
+ export type InferencePutAnthropicResponse = InferenceInferenceEndpointInfoAnthropic;
11671
12215
  export interface InferencePutAzureaistudioRequest extends RequestBase {
11672
12216
  task_type: InferenceAzureAiStudioTaskType;
11673
12217
  azureaistudio_inference_id: Id;
12218
+ timeout?: Duration;
11674
12219
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
11675
12220
  body?: {
11676
12221
  chunking_settings?: InferenceInferenceChunkingSettings;
@@ -11679,10 +12224,11 @@ export interface InferencePutAzureaistudioRequest extends RequestBase {
11679
12224
  task_settings?: InferenceAzureAiStudioTaskSettings;
11680
12225
  };
11681
12226
  }
11682
- export type InferencePutAzureaistudioResponse = InferenceInferenceEndpointInfo;
12227
+ export type InferencePutAzureaistudioResponse = InferenceInferenceEndpointInfoAzureAIStudio;
11683
12228
  export interface InferencePutAzureopenaiRequest extends RequestBase {
11684
12229
  task_type: InferenceAzureOpenAITaskType;
11685
12230
  azureopenai_inference_id: Id;
12231
+ timeout?: Duration;
11686
12232
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
11687
12233
  body?: {
11688
12234
  chunking_settings?: InferenceInferenceChunkingSettings;
@@ -11691,10 +12237,11 @@ export interface InferencePutAzureopenaiRequest extends RequestBase {
11691
12237
  task_settings?: InferenceAzureOpenAITaskSettings;
11692
12238
  };
11693
12239
  }
11694
- export type InferencePutAzureopenaiResponse = InferenceInferenceEndpointInfo;
12240
+ export type InferencePutAzureopenaiResponse = InferenceInferenceEndpointInfoAzureOpenAI;
11695
12241
  export interface InferencePutCohereRequest extends RequestBase {
11696
12242
  task_type: InferenceCohereTaskType;
11697
12243
  cohere_inference_id: Id;
12244
+ timeout?: Duration;
11698
12245
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
11699
12246
  body?: {
11700
12247
  chunking_settings?: InferenceInferenceChunkingSettings;
@@ -11703,10 +12250,35 @@ export interface InferencePutCohereRequest extends RequestBase {
11703
12250
  task_settings?: InferenceCohereTaskSettings;
11704
12251
  };
11705
12252
  }
11706
- export type InferencePutCohereResponse = InferenceInferenceEndpointInfo;
12253
+ export type InferencePutCohereResponse = InferenceInferenceEndpointInfoCohere;
12254
+ export interface InferencePutCustomRequest extends RequestBase {
12255
+ task_type: InferenceCustomTaskType;
12256
+ custom_inference_id: Id;
12257
+ /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
12258
+ body?: {
12259
+ chunking_settings?: InferenceInferenceChunkingSettings;
12260
+ service: InferenceCustomServiceType;
12261
+ service_settings: InferenceCustomServiceSettings;
12262
+ task_settings?: InferenceCustomTaskSettings;
12263
+ };
12264
+ }
12265
+ export type InferencePutCustomResponse = InferenceInferenceEndpointInfoCustom;
12266
+ export interface InferencePutDeepseekRequest extends RequestBase {
12267
+ task_type: InferenceTaskTypeDeepSeek;
12268
+ deepseek_inference_id: Id;
12269
+ timeout?: Duration;
12270
+ /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
12271
+ body?: {
12272
+ chunking_settings?: InferenceInferenceChunkingSettings;
12273
+ service: InferenceDeepSeekServiceType;
12274
+ service_settings: InferenceDeepSeekServiceSettings;
12275
+ };
12276
+ }
12277
+ export type InferencePutDeepseekResponse = InferenceInferenceEndpointInfoDeepSeek;
11707
12278
  export interface InferencePutElasticsearchRequest extends RequestBase {
11708
12279
  task_type: InferenceElasticsearchTaskType;
11709
12280
  elasticsearch_inference_id: Id;
12281
+ timeout?: Duration;
11710
12282
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
11711
12283
  body?: {
11712
12284
  chunking_settings?: InferenceInferenceChunkingSettings;
@@ -11715,10 +12287,11 @@ export interface InferencePutElasticsearchRequest extends RequestBase {
11715
12287
  task_settings?: InferenceElasticsearchTaskSettings;
11716
12288
  };
11717
12289
  }
11718
- export type InferencePutElasticsearchResponse = InferenceInferenceEndpointInfo;
12290
+ export type InferencePutElasticsearchResponse = InferenceInferenceEndpointInfoElasticsearch;
11719
12291
  export interface InferencePutElserRequest extends RequestBase {
11720
12292
  task_type: InferenceElserTaskType;
11721
12293
  elser_inference_id: Id;
12294
+ timeout?: Duration;
11722
12295
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
11723
12296
  body?: {
11724
12297
  chunking_settings?: InferenceInferenceChunkingSettings;
@@ -11726,10 +12299,11 @@ export interface InferencePutElserRequest extends RequestBase {
11726
12299
  service_settings: InferenceElserServiceSettings;
11727
12300
  };
11728
12301
  }
11729
- export type InferencePutElserResponse = InferenceInferenceEndpointInfo;
12302
+ export type InferencePutElserResponse = InferenceInferenceEndpointInfoELSER;
11730
12303
  export interface InferencePutGoogleaistudioRequest extends RequestBase {
11731
12304
  task_type: InferenceGoogleAiStudioTaskType;
11732
12305
  googleaistudio_inference_id: Id;
12306
+ timeout?: Duration;
11733
12307
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
11734
12308
  body?: {
11735
12309
  chunking_settings?: InferenceInferenceChunkingSettings;
@@ -11737,10 +12311,11 @@ export interface InferencePutGoogleaistudioRequest extends RequestBase {
11737
12311
  service_settings: InferenceGoogleAiStudioServiceSettings;
11738
12312
  };
11739
12313
  }
11740
- export type InferencePutGoogleaistudioResponse = InferenceInferenceEndpointInfo;
12314
+ export type InferencePutGoogleaistudioResponse = InferenceInferenceEndpointInfoGoogleAIStudio;
11741
12315
  export interface InferencePutGooglevertexaiRequest extends RequestBase {
11742
12316
  task_type: InferenceGoogleVertexAITaskType;
11743
12317
  googlevertexai_inference_id: Id;
12318
+ timeout?: Duration;
11744
12319
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
11745
12320
  body?: {
11746
12321
  chunking_settings?: InferenceInferenceChunkingSettings;
@@ -11749,21 +12324,24 @@ export interface InferencePutGooglevertexaiRequest extends RequestBase {
11749
12324
  task_settings?: InferenceGoogleVertexAITaskSettings;
11750
12325
  };
11751
12326
  }
11752
- export type InferencePutGooglevertexaiResponse = InferenceInferenceEndpointInfo;
12327
+ export type InferencePutGooglevertexaiResponse = InferenceInferenceEndpointInfoGoogleVertexAI;
11753
12328
  export interface InferencePutHuggingFaceRequest extends RequestBase {
11754
12329
  task_type: InferenceHuggingFaceTaskType;
11755
12330
  huggingface_inference_id: Id;
12331
+ timeout?: Duration;
11756
12332
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
11757
12333
  body?: {
11758
12334
  chunking_settings?: InferenceInferenceChunkingSettings;
11759
12335
  service: InferenceHuggingFaceServiceType;
11760
12336
  service_settings: InferenceHuggingFaceServiceSettings;
12337
+ task_settings?: InferenceHuggingFaceTaskSettings;
11761
12338
  };
11762
12339
  }
11763
- export type InferencePutHuggingFaceResponse = InferenceInferenceEndpointInfo;
12340
+ export type InferencePutHuggingFaceResponse = InferenceInferenceEndpointInfoHuggingFace;
11764
12341
  export interface InferencePutJinaaiRequest extends RequestBase {
11765
12342
  task_type: InferenceJinaAITaskType;
11766
12343
  jinaai_inference_id: Id;
12344
+ timeout?: Duration;
11767
12345
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
11768
12346
  body?: {
11769
12347
  chunking_settings?: InferenceInferenceChunkingSettings;
@@ -11772,10 +12350,11 @@ export interface InferencePutJinaaiRequest extends RequestBase {
11772
12350
  task_settings?: InferenceJinaAITaskSettings;
11773
12351
  };
11774
12352
  }
11775
- export type InferencePutJinaaiResponse = InferenceInferenceEndpointInfo;
12353
+ export type InferencePutJinaaiResponse = InferenceInferenceEndpointInfoJinaAi;
11776
12354
  export interface InferencePutMistralRequest extends RequestBase {
11777
12355
  task_type: InferenceMistralTaskType;
11778
12356
  mistral_inference_id: Id;
12357
+ timeout?: Duration;
11779
12358
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
11780
12359
  body?: {
11781
12360
  chunking_settings?: InferenceInferenceChunkingSettings;
@@ -11783,10 +12362,11 @@ export interface InferencePutMistralRequest extends RequestBase {
11783
12362
  service_settings: InferenceMistralServiceSettings;
11784
12363
  };
11785
12364
  }
11786
- export type InferencePutMistralResponse = InferenceInferenceEndpointInfo;
12365
+ export type InferencePutMistralResponse = InferenceInferenceEndpointInfoMistral;
11787
12366
  export interface InferencePutOpenaiRequest extends RequestBase {
11788
12367
  task_type: InferenceOpenAITaskType;
11789
12368
  openai_inference_id: Id;
12369
+ timeout?: Duration;
11790
12370
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
11791
12371
  body?: {
11792
12372
  chunking_settings?: InferenceInferenceChunkingSettings;
@@ -11795,10 +12375,11 @@ export interface InferencePutOpenaiRequest extends RequestBase {
11795
12375
  task_settings?: InferenceOpenAITaskSettings;
11796
12376
  };
11797
12377
  }
11798
- export type InferencePutOpenaiResponse = InferenceInferenceEndpointInfo;
12378
+ export type InferencePutOpenaiResponse = InferenceInferenceEndpointInfoOpenAI;
11799
12379
  export interface InferencePutVoyageaiRequest extends RequestBase {
11800
12380
  task_type: InferenceVoyageAITaskType;
11801
12381
  voyageai_inference_id: Id;
12382
+ timeout?: Duration;
11802
12383
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
11803
12384
  body?: {
11804
12385
  chunking_settings?: InferenceInferenceChunkingSettings;
@@ -11807,17 +12388,18 @@ export interface InferencePutVoyageaiRequest extends RequestBase {
11807
12388
  task_settings?: InferenceVoyageAITaskSettings;
11808
12389
  };
11809
12390
  }
11810
- export type InferencePutVoyageaiResponse = InferenceInferenceEndpointInfo;
12391
+ export type InferencePutVoyageaiResponse = InferenceInferenceEndpointInfoVoyageAI;
11811
12392
  export interface InferencePutWatsonxRequest extends RequestBase {
11812
12393
  task_type: InferenceWatsonxTaskType;
11813
12394
  watsonx_inference_id: Id;
12395
+ timeout?: Duration;
11814
12396
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
11815
12397
  body?: {
11816
12398
  service: InferenceWatsonxServiceType;
11817
12399
  service_settings: InferenceWatsonxServiceSettings;
11818
12400
  };
11819
12401
  }
11820
- export type InferencePutWatsonxResponse = InferenceInferenceEndpointInfo;
12402
+ export type InferencePutWatsonxResponse = InferenceInferenceEndpointInfoWatsonx;
11821
12403
  export interface InferenceRerankRequest extends RequestBase {
11822
12404
  inference_id: Id;
11823
12405
  timeout?: Duration;
@@ -11841,6 +12423,7 @@ export interface InferenceSparseEmbeddingRequest extends RequestBase {
11841
12423
  export type InferenceSparseEmbeddingResponse = InferenceSparseEmbeddingInferenceResult;
11842
12424
  export interface InferenceStreamCompletionRequest extends RequestBase {
11843
12425
  inference_id: Id;
12426
+ timeout?: Duration;
11844
12427
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
11845
12428
  body?: {
11846
12429
  input: string | string[];
@@ -12152,15 +12735,16 @@ export interface IngestPipelineProcessor extends IngestProcessorBase {
12152
12735
  name: Name;
12153
12736
  ignore_missing_pipeline?: boolean;
12154
12737
  }
12155
- export interface IngestPipelineSimulation {
12738
+ export interface IngestPipelineProcessorResult {
12156
12739
  doc?: IngestDocumentSimulation;
12157
12740
  tag?: string;
12158
12741
  processor_type?: string;
12159
- status?: WatcherActionStatusOptions;
12742
+ status?: IngestPipelineSimulationStatusOptions;
12160
12743
  description?: string;
12161
12744
  ignored_error?: ErrorCause;
12162
12745
  error?: ErrorCause;
12163
12746
  }
12747
+ export type IngestPipelineSimulationStatusOptions = 'success' | 'error' | 'error_ignored' | 'skipped' | 'dropped';
12164
12748
  export interface IngestProcessorBase {
12165
12749
  description?: string;
12166
12750
  if?: string;
@@ -12270,7 +12854,7 @@ export type IngestShapeType = 'geo_shape' | 'shape';
12270
12854
  export interface IngestSimulateDocumentResult {
12271
12855
  doc?: IngestDocumentSimulation;
12272
12856
  error?: ErrorCause;
12273
- processor_results?: IngestPipelineSimulation[];
12857
+ processor_results?: IngestPipelineProcessorResult[];
12274
12858
  }
12275
12859
  export interface IngestSortProcessor extends IngestProcessorBase {
12276
12860
  field: Field;
@@ -12379,7 +12963,6 @@ export interface IngestGetIpLocationDatabaseDatabaseConfigurationMetadata {
12379
12963
  }
12380
12964
  export interface IngestGetIpLocationDatabaseRequest extends RequestBase {
12381
12965
  id?: Ids;
12382
- master_timeout?: Duration;
12383
12966
  }
12384
12967
  export interface IngestGetIpLocationDatabaseResponse {
12385
12968
  databases: IngestGetIpLocationDatabaseDatabaseConfigurationMetadata[];
@@ -12525,7 +13108,7 @@ export interface LicensePostStartBasicResponse {
12525
13108
  }
12526
13109
  export interface LicensePostStartTrialRequest extends RequestBase {
12527
13110
  acknowledge?: boolean;
12528
- type_query_string?: string;
13111
+ type?: string;
12529
13112
  master_timeout?: Duration;
12530
13113
  }
12531
13114
  export interface LicensePostStartTrialResponse {
@@ -12551,8 +13134,7 @@ export interface LogstashPipelineSettings {
12551
13134
  'pipeline.batch.size': integer;
12552
13135
  'pipeline.batch.delay': integer;
12553
13136
  'queue.type': string;
12554
- 'queue.max_bytes.number': integer;
12555
- 'queue.max_bytes.units': string;
13137
+ 'queue.max_bytes': string;
12556
13138
  'queue.checkpoint.writes': integer;
12557
13139
  }
12558
13140
  export interface LogstashDeletePipelineRequest extends RequestBase {
@@ -12615,7 +13197,8 @@ export interface MigrationPostFeatureUpgradeRequest extends RequestBase {
12615
13197
  }
12616
13198
  export interface MigrationPostFeatureUpgradeResponse {
12617
13199
  accepted: boolean;
12618
- features: MigrationPostFeatureUpgradeMigrationFeature[];
13200
+ features?: MigrationPostFeatureUpgradeMigrationFeature[];
13201
+ reason?: string;
12619
13202
  }
12620
13203
  export interface MlAdaptiveAllocationsSettings {
12621
13204
  enabled: boolean;
@@ -15176,6 +15759,7 @@ export interface NodesJvmMemoryStats {
15176
15759
  heap_used_percent?: long;
15177
15760
  heap_committed_in_bytes?: long;
15178
15761
  heap_max_in_bytes?: long;
15762
+ heap_max?: ByteSize;
15179
15763
  non_heap_used_in_bytes?: long;
15180
15764
  non_heap_committed_in_bytes?: long;
15181
15765
  pools?: Record<string, NodesPool>;
@@ -15241,6 +15825,8 @@ export interface NodesPressureMemory {
15241
15825
  coordinating_rejections?: long;
15242
15826
  primary_rejections?: long;
15243
15827
  replica_rejections?: long;
15828
+ primary_document_rejections?: long;
15829
+ large_operation_rejections?: long;
15244
15830
  }
15245
15831
  export interface NodesProcess {
15246
15832
  cpu?: NodesCpu;
@@ -15415,12 +16001,13 @@ export interface NodesInfoNodeInfo {
15415
16001
  build_flavor: string;
15416
16002
  build_hash: string;
15417
16003
  build_type: string;
16004
+ component_versions: Record<Name, integer>;
15418
16005
  host: Host;
15419
16006
  http?: NodesInfoNodeInfoHttp;
16007
+ index_version: VersionNumber;
15420
16008
  ip: Ip;
15421
16009
  jvm?: NodesInfoNodeJvmInfo;
15422
16010
  name: Name;
15423
- network?: NodesInfoNodeInfoNetwork;
15424
16011
  os?: NodesInfoNodeOperatingSystemInfo;
15425
16012
  plugins?: PluginStats[];
15426
16013
  process?: NodesInfoNodeProcessInfo;
@@ -15431,10 +16018,12 @@ export interface NodesInfoNodeInfo {
15431
16018
  total_indexing_buffer_in_bytes?: ByteSize;
15432
16019
  transport?: NodesInfoNodeInfoTransport;
15433
16020
  transport_address: TransportAddress;
16021
+ transport_version: VersionNumber;
15434
16022
  version: VersionString;
15435
16023
  modules?: PluginStats[];
15436
16024
  ingest?: NodesInfoNodeInfoIngest;
15437
16025
  aggregations?: Record<string, NodesInfoNodeInfoAggregation>;
16026
+ remote_cluster_server?: NodesInfoRemoveClusterServer;
15438
16027
  }
15439
16028
  export interface NodesInfoNodeInfoAction {
15440
16029
  destructive_requires_name: string;
@@ -15449,7 +16038,7 @@ export interface NodesInfoNodeInfoClient {
15449
16038
  type: string;
15450
16039
  }
15451
16040
  export interface NodesInfoNodeInfoDiscoverKeys {
15452
- seed_hosts?: string[];
16041
+ seed_hosts?: string[] | string;
15453
16042
  type?: string;
15454
16043
  seed_providers?: string[];
15455
16044
  }
@@ -15490,15 +16079,6 @@ export interface NodesInfoNodeInfoMemory {
15490
16079
  total: string;
15491
16080
  total_in_bytes: long;
15492
16081
  }
15493
- export interface NodesInfoNodeInfoNetwork {
15494
- primary_interface: NodesInfoNodeInfoNetworkInterface;
15495
- refresh_interval: integer;
15496
- }
15497
- export interface NodesInfoNodeInfoNetworkInterface {
15498
- address: string;
15499
- mac_address: string;
15500
- name: Name;
15501
- }
15502
16082
  export interface NodesInfoNodeInfoOSCPU {
15503
16083
  cache_size: string;
15504
16084
  cache_size_in_bytes: integer;
@@ -15552,7 +16132,7 @@ export interface NodesInfoNodeInfoSettingsCluster {
15552
16132
  name: Name;
15553
16133
  routing?: IndicesIndexRouting;
15554
16134
  election: NodesInfoNodeInfoSettingsClusterElection;
15555
- initial_master_nodes?: string[];
16135
+ initial_master_nodes?: string[] | string;
15556
16136
  deprecation_indexing?: NodesInfoDeprecationIndexing;
15557
16137
  }
15558
16138
  export interface NodesInfoNodeInfoSettingsClusterElection {
@@ -15615,6 +16195,7 @@ export interface NodesInfoNodeInfoSettingsTransport {
15615
16195
  type: NodesInfoNodeInfoSettingsTransportType | string;
15616
16196
  'type.default'?: string;
15617
16197
  features?: NodesInfoNodeInfoSettingsTransportFeatures;
16198
+ ignore_deserialization_errors?: SpecUtilsStringified<boolean>;
15618
16199
  }
15619
16200
  export interface NodesInfoNodeInfoSettingsTransportFeatures {
15620
16201
  'x-pack': string;
@@ -15678,7 +16259,6 @@ export interface NodesInfoNodeJvmInfo {
15678
16259
  vm_vendor: string;
15679
16260
  vm_version: VersionString;
15680
16261
  using_bundled_jdk: boolean;
15681
- bundled_jdk: boolean;
15682
16262
  using_compressed_ordinary_object_pointers?: boolean | string;
15683
16263
  input_arguments: string[];
15684
16264
  }
@@ -15707,6 +16287,10 @@ export interface NodesInfoNodeThreadPoolInfo {
15707
16287
  size?: integer;
15708
16288
  type: string;
15709
16289
  }
16290
+ export interface NodesInfoRemoveClusterServer {
16291
+ bound_address: TransportAddress[];
16292
+ publish_address: TransportAddress;
16293
+ }
15710
16294
  export interface NodesInfoRequest extends RequestBase {
15711
16295
  node_id?: NodeIds;
15712
16296
  metric?: Metrics;
@@ -16776,9 +17360,6 @@ export interface SecurityGetUserRequest extends RequestBase {
16776
17360
  }
16777
17361
  export type SecurityGetUserResponse = Record<string, SecurityUser>;
16778
17362
  export interface SecurityGetUserPrivilegesRequest extends RequestBase {
16779
- application?: Name;
16780
- priviledge?: Name;
16781
- username?: Name | null;
16782
17363
  }
16783
17364
  export interface SecurityGetUserPrivilegesResponse {
16784
17365
  applications: SecurityApplicationPrivileges[];
@@ -16809,6 +17390,7 @@ export interface SecurityGrantApiKeyGrantApiKey {
16809
17390
  metadata?: Metadata;
16810
17391
  }
16811
17392
  export interface SecurityGrantApiKeyRequest extends RequestBase {
17393
+ refresh?: Refresh;
16812
17394
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
16813
17395
  body?: {
16814
17396
  api_key: SecurityGrantApiKeyGrantApiKey;
@@ -17393,6 +17975,13 @@ export interface SlmSnapshotLifecycle {
17393
17975
  version: VersionNumber;
17394
17976
  stats: SlmStatistics;
17395
17977
  }
17978
+ export interface SlmSnapshotPolicyStats {
17979
+ policy: string;
17980
+ snapshots_taken: long;
17981
+ snapshots_failed: long;
17982
+ snapshots_deleted: long;
17983
+ snapshot_deletion_failures: long;
17984
+ }
17396
17985
  export interface SlmStatistics {
17397
17986
  retention_deletion_time?: Duration;
17398
17987
  retention_deletion_time_millis?: DurationValue<UnitMillis>;
@@ -17448,7 +18037,7 @@ export interface SlmGetStatsResponse {
17448
18037
  total_snapshot_deletion_failures: long;
17449
18038
  total_snapshots_failed: long;
17450
18039
  total_snapshots_taken: long;
17451
- policy_stats: string[];
18040
+ policy_stats: SlmSnapshotPolicyStats[];
17452
18041
  }
17453
18042
  export interface SlmGetStatusRequest extends RequestBase {
17454
18043
  master_timeout?: Duration;
@@ -17612,7 +18201,7 @@ export interface SnapshotSnapshotShardFailure {
17612
18201
  index: IndexName;
17613
18202
  node_id?: Id;
17614
18203
  reason: string;
17615
- shard_id: Id;
18204
+ shard_id: integer;
17616
18205
  index_uuid: Id;
17617
18206
  status: string;
17618
18207
  }
@@ -17703,6 +18292,7 @@ export interface SnapshotDeleteRequest extends RequestBase {
17703
18292
  repository: Name;
17704
18293
  snapshot: Name;
17705
18294
  master_timeout?: Duration;
18295
+ wait_for_completion?: boolean;
17706
18296
  }
17707
18297
  export type SnapshotDeleteResponse = AcknowledgedResponseBase;
17708
18298
  export interface SnapshotDeleteRepositoryRequest extends RequestBase {
@@ -19591,10 +20181,10 @@ export interface SpecUtilsCommonQueryParameters {
19591
20181
  human?: boolean;
19592
20182
  pretty?: boolean;
19593
20183
  }
20184
+ export interface SpecUtilsOverloadOf<TDefinition = unknown> {
20185
+ }
19594
20186
  export interface SpecUtilsCommonCatQueryParameters {
19595
20187
  format?: string;
19596
20188
  help?: boolean;
19597
20189
  v?: boolean;
19598
20190
  }
19599
- export interface SpecUtilsOverloadOf<TDefinition = unknown> {
19600
- }