@elastic/elasticsearch 8.13.0 → 8.14.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 (99) hide show
  1. package/catalog-info.yaml +3 -6
  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 +16 -16
  10. package/lib/api/api/cluster.js +1 -1
  11. package/lib/api/api/cluster.js.map +1 -1
  12. package/lib/api/api/count.d.ts +1 -1
  13. package/lib/api/api/create.d.ts +1 -1
  14. package/lib/api/api/dangling_indices.d.ts +3 -3
  15. package/lib/api/api/delete.d.ts +1 -1
  16. package/lib/api/api/delete_by_query.d.ts +1 -1
  17. package/lib/api/api/delete_by_query_rethrottle.d.ts +1 -1
  18. package/lib/api/api/delete_script.d.ts +1 -1
  19. package/lib/api/api/enrich.d.ts +5 -5
  20. package/lib/api/api/eql.d.ts +4 -4
  21. package/lib/api/api/esql.d.ts +1 -1
  22. package/lib/api/api/exists.d.ts +1 -1
  23. package/lib/api/api/exists_source.d.ts +1 -1
  24. package/lib/api/api/explain.d.ts +1 -1
  25. package/lib/api/api/features.d.ts +2 -2
  26. package/lib/api/api/field_caps.d.ts +1 -1
  27. package/lib/api/api/fleet.d.ts +1 -1
  28. package/lib/api/api/get.d.ts +1 -1
  29. package/lib/api/api/get_script.d.ts +1 -1
  30. package/lib/api/api/get_script_context.d.ts +1 -1
  31. package/lib/api/api/get_script_languages.d.ts +1 -1
  32. package/lib/api/api/get_source.d.ts +1 -1
  33. package/lib/api/api/graph.d.ts +1 -1
  34. package/lib/api/api/health_report.d.ts +1 -1
  35. package/lib/api/api/ilm.d.ts +11 -11
  36. package/lib/api/api/index.d.ts +1 -1
  37. package/lib/api/api/indices.d.ts +62 -62
  38. package/lib/api/api/indices.js +15 -21
  39. package/lib/api/api/indices.js.map +1 -1
  40. package/lib/api/api/inference.d.ts +4 -4
  41. package/lib/api/api/inference.js +1 -1
  42. package/lib/api/api/inference.js.map +1 -1
  43. package/lib/api/api/info.d.ts +1 -1
  44. package/lib/api/api/ingest.d.ts +6 -6
  45. package/lib/api/api/knn_search.d.ts +1 -1
  46. package/lib/api/api/license.d.ts +7 -7
  47. package/lib/api/api/logstash.d.ts +3 -3
  48. package/lib/api/api/mget.d.ts +1 -1
  49. package/lib/api/api/migration.d.ts +3 -3
  50. package/lib/api/api/ml.d.ts +76 -76
  51. package/lib/api/api/ml.js +17 -3
  52. package/lib/api/api/ml.js.map +1 -1
  53. package/lib/api/api/monitoring.d.ts +1 -1
  54. package/lib/api/api/msearch.d.ts +1 -1
  55. package/lib/api/api/msearch_template.d.ts +1 -1
  56. package/lib/api/api/mtermvectors.d.ts +1 -1
  57. package/lib/api/api/nodes.d.ts +7 -7
  58. package/lib/api/api/open_point_in_time.d.ts +1 -1
  59. package/lib/api/api/ping.d.ts +1 -1
  60. package/lib/api/api/put_script.d.ts +1 -1
  61. package/lib/api/api/query_ruleset.d.ts +4 -4
  62. package/lib/api/api/rank_eval.d.ts +1 -1
  63. package/lib/api/api/reindex.d.ts +1 -1
  64. package/lib/api/api/reindex_rethrottle.d.ts +1 -1
  65. package/lib/api/api/render_search_template.d.ts +1 -1
  66. package/lib/api/api/rollup.d.ts +8 -8
  67. package/lib/api/api/scripts_painless_execute.d.ts +1 -1
  68. package/lib/api/api/scroll.d.ts +1 -1
  69. package/lib/api/api/search.d.ts +1 -1
  70. package/lib/api/api/search.js +1 -1
  71. package/lib/api/api/search.js.map +1 -1
  72. package/lib/api/api/search_application.d.ts +9 -9
  73. package/lib/api/api/search_mvt.d.ts +1 -1
  74. package/lib/api/api/search_shards.d.ts +1 -1
  75. package/lib/api/api/search_template.d.ts +1 -1
  76. package/lib/api/api/searchable_snapshots.d.ts +4 -4
  77. package/lib/api/api/security.d.ts +59 -59
  78. package/lib/api/api/slm.d.ts +9 -9
  79. package/lib/api/api/snapshot.d.ts +12 -12
  80. package/lib/api/api/sql.d.ts +6 -6
  81. package/lib/api/api/ssl.d.ts +1 -1
  82. package/lib/api/api/synonyms.d.ts +7 -7
  83. package/lib/api/api/tasks.d.ts +3 -3
  84. package/lib/api/api/terms_enum.d.ts +1 -1
  85. package/lib/api/api/termvectors.d.ts +1 -1
  86. package/lib/api/api/text_structure.d.ts +2 -2
  87. package/lib/api/api/transform.d.ts +11 -11
  88. package/lib/api/api/update.d.ts +1 -1
  89. package/lib/api/api/update_by_query.d.ts +1 -1
  90. package/lib/api/api/update_by_query_rethrottle.d.ts +1 -1
  91. package/lib/api/api/watcher.d.ts +13 -13
  92. package/lib/api/api/xpack.d.ts +2 -2
  93. package/lib/api/types.d.ts +594 -99
  94. package/lib/api/typesWithBodyKey.d.ts +648 -103
  95. package/lib/helpers.d.ts +29 -0
  96. package/lib/helpers.js +96 -20
  97. package/lib/helpers.js.map +1 -1
  98. package/package.json +4 -4
  99. package/Makefile +0 -11
@@ -309,6 +309,7 @@ export interface GetGetResult<TDocument = unknown> {
309
309
  export interface GetRequest extends RequestBase {
310
310
  id: Id;
311
311
  index: IndexName;
312
+ force_synthetic_source?: boolean;
312
313
  preference?: string;
313
314
  realtime?: boolean;
314
315
  refresh?: boolean;
@@ -552,8 +553,8 @@ export interface KnnSearchResponse<TDocument = unknown> {
552
553
  export interface KnnSearchQuery {
553
554
  field: Field;
554
555
  query_vector: QueryVector;
555
- k: long;
556
- num_candidates: long;
556
+ k: integer;
557
+ num_candidates: integer;
557
558
  }
558
559
  export interface MgetMultiGetError {
559
560
  error: ErrorCause;
@@ -571,6 +572,7 @@ export interface MgetOperation {
571
572
  }
572
573
  export interface MgetRequest extends RequestBase {
573
574
  index?: IndexName;
575
+ force_synthetic_source?: boolean;
574
576
  preference?: string;
575
577
  realtime?: boolean;
576
578
  refresh?: boolean;
@@ -602,7 +604,7 @@ export interface MsearchMultisearchBody {
602
604
  ext?: Record<string, any>;
603
605
  stored_fields?: Fields;
604
606
  docvalue_fields?: (QueryDslFieldAndFormat | Field)[];
605
- knn?: KnnQuery | KnnQuery[];
607
+ knn?: KnnSearch | KnnSearch[];
606
608
  from?: integer;
607
609
  highlight?: SearchHighlight;
608
610
  indices_boost?: Record<IndexName, double>[];
@@ -678,7 +680,7 @@ export interface MsearchTemplateTemplateConfig {
678
680
  source?: string;
679
681
  }
680
682
  export interface MtermvectorsOperation {
681
- _id: Id;
683
+ _id?: Id;
682
684
  _index?: IndexName;
683
685
  doc?: any;
684
686
  fields?: Fields;
@@ -972,6 +974,7 @@ export interface SearchRequest extends RequestBase {
972
974
  _source_excludes?: Fields;
973
975
  _source_includes?: Fields;
974
976
  q?: string;
977
+ force_synthetic_source?: boolean;
975
978
  aggregations?: Record<string, AggregationsAggregationContainer>;
976
979
  /** @alias aggregations */
977
980
  aggs?: Record<string, AggregationsAggregationContainer>;
@@ -983,13 +986,14 @@ export interface SearchRequest extends RequestBase {
983
986
  track_total_hits?: SearchTrackHits;
984
987
  indices_boost?: Record<IndexName, double>[];
985
988
  docvalue_fields?: (QueryDslFieldAndFormat | Field)[];
986
- knn?: KnnQuery | KnnQuery[];
989
+ knn?: KnnSearch | KnnSearch[];
987
990
  rank?: RankContainer;
988
991
  min_score?: double;
989
992
  post_filter?: QueryDslQueryContainer;
990
993
  profile?: boolean;
991
994
  query?: QueryDslQueryContainer;
992
995
  rescore?: SearchRescore | SearchRescore[];
996
+ retriever?: RetrieverContainer;
993
997
  script_fields?: Record<string, ScriptField>;
994
998
  search_after?: SortResults;
995
999
  size?: integer;
@@ -1207,7 +1211,7 @@ export type SearchHighlighterTagsSchema = 'styled';
1207
1211
  export type SearchHighlighterType = 'plain' | 'fvh' | 'unified' | string;
1208
1212
  export interface SearchHit<TDocument = unknown> {
1209
1213
  _index: IndexName;
1210
- _id: Id;
1214
+ _id?: Id;
1211
1215
  _score?: double | null;
1212
1216
  _explanation?: ExplainExplanation;
1213
1217
  fields?: Record<string, any>;
@@ -1255,6 +1259,10 @@ export interface SearchInnerHitsResult {
1255
1259
  export interface SearchLaplaceSmoothingModel {
1256
1260
  alpha: double;
1257
1261
  }
1262
+ export interface SearchLearningToRank {
1263
+ model_id: string;
1264
+ params?: Record<string, any>;
1265
+ }
1258
1266
  export interface SearchLinearInterpolationSmoothingModel {
1259
1267
  bigram_lambda: double;
1260
1268
  trigram_lambda: double;
@@ -1341,8 +1349,9 @@ export interface SearchRegexOptions {
1341
1349
  max_determinized_states?: integer;
1342
1350
  }
1343
1351
  export interface SearchRescore {
1344
- query: SearchRescoreQuery;
1345
1352
  window_size?: integer;
1353
+ query?: SearchRescoreQuery;
1354
+ learning_to_rank?: SearchLearningToRank;
1346
1355
  }
1347
1356
  export interface SearchRescoreQuery {
1348
1357
  rescore_query: QueryDslQueryContainer;
@@ -1683,8 +1692,10 @@ export interface SpecUtilsBaseNode {
1683
1692
  roles?: NodeRoles;
1684
1693
  transport_address: TransportAddress;
1685
1694
  }
1695
+ export type SpecUtilsNullValue = null;
1686
1696
  export type SpecUtilsPipeSeparatedFlags<T = unknown> = T | string;
1687
1697
  export type SpecUtilsStringified<T = unknown> = T | string;
1698
+ export type SpecUtilsWithNullValue<T = unknown> = T | SpecUtilsNullValue;
1688
1699
  export interface AcknowledgedResponseBase {
1689
1700
  acknowledged: boolean;
1690
1701
  }
@@ -1749,8 +1760,8 @@ export type DFRBasicModel = 'be' | 'd' | 'g' | 'if' | 'in' | 'ine' | 'p';
1749
1760
  export type DataStreamName = string;
1750
1761
  export type DataStreamNames = DataStreamName | DataStreamName[];
1751
1762
  export type DateFormat = string;
1752
- export type DateMath = string;
1753
- export type DateTime = string | EpochTime<UnitMillis>;
1763
+ export type DateMath = string | Date;
1764
+ export type DateTime = string | EpochTime<UnitMillis> | Date;
1754
1765
  export type Distance = string;
1755
1766
  export type DistanceUnit = 'in' | 'ft' | 'yd' | 'mi' | 'nmi' | 'km' | 'm' | 'cm' | 'mm';
1756
1767
  export interface DocStats {
@@ -1926,12 +1937,28 @@ export interface InlineScript extends ScriptBase {
1926
1937
  source: string;
1927
1938
  }
1928
1939
  export type Ip = string;
1929
- export interface KnnQuery {
1940
+ export interface KnnQuery extends QueryDslQueryBase {
1941
+ field: Field;
1942
+ query_vector?: QueryVector;
1943
+ query_vector_builder?: QueryVectorBuilder;
1944
+ num_candidates?: integer;
1945
+ filter?: QueryDslQueryContainer | QueryDslQueryContainer[];
1946
+ similarity?: float;
1947
+ }
1948
+ export interface KnnRetriever extends RetrieverBase {
1949
+ field: string;
1950
+ query_vector?: QueryVector;
1951
+ query_vector_builder?: QueryVectorBuilder;
1952
+ k: integer;
1953
+ num_candidates: integer;
1954
+ similarity?: float;
1955
+ }
1956
+ export interface KnnSearch {
1930
1957
  field: Field;
1931
1958
  query_vector?: QueryVector;
1932
1959
  query_vector_builder?: QueryVectorBuilder;
1933
- k: long;
1934
- num_candidates: long;
1960
+ k?: integer;
1961
+ num_candidates?: integer;
1935
1962
  boost?: float;
1936
1963
  filter?: QueryDslQueryContainer | QueryDslQueryContainer[];
1937
1964
  similarity?: float;
@@ -2025,19 +2052,24 @@ export interface PluginStats {
2025
2052
  }
2026
2053
  export type PropertyName = string;
2027
2054
  export interface QueryCacheStats {
2028
- cache_count: integer;
2029
- cache_size: integer;
2030
- evictions: integer;
2031
- hit_count: integer;
2055
+ cache_count: long;
2056
+ cache_size: long;
2057
+ evictions: long;
2058
+ hit_count: long;
2032
2059
  memory_size?: ByteSize;
2033
2060
  memory_size_in_bytes: long;
2034
- miss_count: integer;
2035
- total_count: integer;
2061
+ miss_count: long;
2062
+ total_count: long;
2036
2063
  }
2037
2064
  export type QueryVector = float[];
2038
2065
  export interface QueryVectorBuilder {
2039
2066
  text_embedding?: TextEmbedding;
2040
2067
  }
2068
+ export interface RRFRetriever extends RetrieverBase {
2069
+ retrievers: RetrieverContainer[];
2070
+ rank_constant?: integer;
2071
+ window_size?: integer;
2072
+ }
2041
2073
  export interface RankBase {
2042
2074
  }
2043
2075
  export interface RankContainer {
@@ -2076,6 +2108,14 @@ export interface Retries {
2076
2108
  bulk: long;
2077
2109
  search: long;
2078
2110
  }
2111
+ export interface RetrieverBase {
2112
+ filter?: QueryDslQueryContainer | QueryDslQueryContainer[];
2113
+ }
2114
+ export interface RetrieverContainer {
2115
+ standard?: StandardRetriever;
2116
+ knn?: KnnRetriever;
2117
+ rrf?: RRFRetriever;
2118
+ }
2079
2119
  export type Routing = string;
2080
2120
  export interface RrfRank {
2081
2121
  rank_constant?: long;
@@ -2201,6 +2241,14 @@ export type SortOptions = SortOptionsKeys & {
2201
2241
  };
2202
2242
  export type SortOrder = 'asc' | 'desc';
2203
2243
  export type SortResults = FieldValue[];
2244
+ export interface StandardRetriever extends RetrieverBase {
2245
+ query?: QueryDslQueryContainer;
2246
+ search_after?: SortResults;
2247
+ terminate_after?: integer;
2248
+ sort?: Sort;
2249
+ min_score?: float;
2250
+ collapse?: SearchFieldCollapse;
2251
+ }
2204
2252
  export interface StoreStats {
2205
2253
  size?: ByteSize;
2206
2254
  size_in_bytes: long;
@@ -2281,9 +2329,9 @@ export interface WktGeoBounds {
2281
2329
  export interface WriteResponseBase {
2282
2330
  _id: Id;
2283
2331
  _index: IndexName;
2284
- _primary_term: long;
2332
+ _primary_term?: long;
2285
2333
  result: Result;
2286
- _seq_no: SequenceNumber;
2334
+ _seq_no?: SequenceNumber;
2287
2335
  _shards: ShardStatistics;
2288
2336
  _version: VersionNumber;
2289
2337
  forced_refresh?: boolean;
@@ -2300,6 +2348,7 @@ export interface AggregationsAdjacencyMatrixAggregate extends AggregationsMultiB
2300
2348
  }
2301
2349
  export interface AggregationsAdjacencyMatrixAggregation extends AggregationsBucketAggregationBase {
2302
2350
  filters?: Record<string, QueryDslQueryContainer>;
2351
+ separator?: string;
2303
2352
  }
2304
2353
  export interface AggregationsAdjacencyMatrixBucketKeys extends AggregationsMultiBucketBase {
2305
2354
  key: string;
@@ -2313,8 +2362,6 @@ export interface AggregationsAggregateBase {
2313
2362
  }
2314
2363
  export type AggregationsAggregateOrder = Partial<Record<Field, SortOrder>> | Partial<Record<Field, SortOrder>>[];
2315
2364
  export interface AggregationsAggregation {
2316
- meta?: Metadata;
2317
- name?: string;
2318
2365
  }
2319
2366
  export interface AggregationsAggregationContainer {
2320
2367
  aggregations?: Record<string, AggregationsAggregationContainer>;
@@ -2398,9 +2445,9 @@ export interface AggregationsAggregationContainer {
2398
2445
  variable_width_histogram?: AggregationsVariableWidthHistogramAggregation;
2399
2446
  }
2400
2447
  export interface AggregationsAggregationRange {
2401
- from?: double | string | null;
2448
+ from?: double;
2402
2449
  key?: string;
2403
- to?: double | string | null;
2450
+ to?: double;
2404
2451
  }
2405
2452
  export interface AggregationsArrayPercentilesItem {
2406
2453
  key: string;
@@ -2446,7 +2493,7 @@ export interface AggregationsBoxPlotAggregate extends AggregationsAggregateBase
2446
2493
  export interface AggregationsBoxplotAggregation extends AggregationsMetricAggregationBase {
2447
2494
  compression?: double;
2448
2495
  }
2449
- export interface AggregationsBucketAggregationBase extends AggregationsAggregation {
2496
+ export interface AggregationsBucketAggregationBase {
2450
2497
  }
2451
2498
  export interface AggregationsBucketCorrelationAggregation extends AggregationsBucketPathAggregation {
2452
2499
  function: AggregationsBucketCorrelationFunction;
@@ -2470,7 +2517,7 @@ export interface AggregationsBucketKsAggregation extends AggregationsBucketPathA
2470
2517
  export interface AggregationsBucketMetricValueAggregate extends AggregationsSingleMetricAggregateBase {
2471
2518
  keys: string[];
2472
2519
  }
2473
- export interface AggregationsBucketPathAggregation extends AggregationsAggregation {
2520
+ export interface AggregationsBucketPathAggregation {
2474
2521
  buckets_path?: AggregationsBucketsPath;
2475
2522
  }
2476
2523
  export interface AggregationsBucketScriptAggregation extends AggregationsPipelineAggregationBase {
@@ -2479,7 +2526,7 @@ export interface AggregationsBucketScriptAggregation extends AggregationsPipelin
2479
2526
  export interface AggregationsBucketSelectorAggregation extends AggregationsPipelineAggregationBase {
2480
2527
  script?: Script;
2481
2528
  }
2482
- export interface AggregationsBucketSortAggregation extends AggregationsAggregation {
2529
+ export interface AggregationsBucketSortAggregation {
2483
2530
  from?: integer;
2484
2531
  gap_policy?: AggregationsGapPolicy;
2485
2532
  size?: integer;
@@ -2497,7 +2544,7 @@ export interface AggregationsCardinalityAggregation extends AggregationsMetricAg
2497
2544
  execution_hint?: AggregationsCardinalityExecutionMode;
2498
2545
  }
2499
2546
  export type AggregationsCardinalityExecutionMode = 'global_ordinals' | 'segment_ordinals' | 'direct' | 'save_memory_heuristic' | 'save_time_heuristic';
2500
- export interface AggregationsCategorizeTextAggregation extends AggregationsAggregation {
2547
+ export interface AggregationsCategorizeTextAggregation {
2501
2548
  field: Field;
2502
2549
  max_unique_tokens?: integer;
2503
2550
  max_matched_tokens?: integer;
@@ -2651,8 +2698,8 @@ export interface AggregationsEwmaMovingAverageAggregation extends AggregationsMo
2651
2698
  settings: AggregationsEwmaModelSettings;
2652
2699
  }
2653
2700
  export interface AggregationsExtendedBounds<T = unknown> {
2654
- max: T;
2655
- min: T;
2701
+ max?: T;
2702
+ min?: T;
2656
2703
  }
2657
2704
  export interface AggregationsExtendedStatsAggregate extends AggregationsStatsAggregate {
2658
2705
  sum_of_squares: double | null;
@@ -2963,7 +3010,7 @@ export interface AggregationsLongTermsBucketKeys extends AggregationsTermsBucket
2963
3010
  export type AggregationsLongTermsBucket = AggregationsLongTermsBucketKeys & {
2964
3011
  [property: string]: AggregationsAggregate | long | string;
2965
3012
  };
2966
- export interface AggregationsMatrixAggregation extends AggregationsAggregation {
3013
+ export interface AggregationsMatrixAggregation {
2967
3014
  fields?: Fields;
2968
3015
  missing?: Record<Field, double>;
2969
3016
  }
@@ -3340,7 +3387,7 @@ export interface AggregationsTTestAggregate extends AggregationsAggregateBase {
3340
3387
  value: double | null;
3341
3388
  value_as_string?: string;
3342
3389
  }
3343
- export interface AggregationsTTestAggregation extends AggregationsAggregation {
3390
+ export interface AggregationsTTestAggregation {
3344
3391
  a?: AggregationsTestPopulation;
3345
3392
  b?: AggregationsTestPopulation;
3346
3393
  type?: AggregationsTTestType;
@@ -3371,7 +3418,7 @@ export interface AggregationsTermsAggregation extends AggregationsBucketAggregat
3371
3418
  export type AggregationsTermsAggregationCollectMode = 'depth_first' | 'breadth_first';
3372
3419
  export type AggregationsTermsAggregationExecutionHint = 'map' | 'global_ordinals' | 'global_ordinals_hash' | 'global_ordinals_low_cardinality';
3373
3420
  export interface AggregationsTermsBucketBase extends AggregationsMultiBucketBase {
3374
- doc_count_error?: long;
3421
+ doc_count_error_upper_bound?: long;
3375
3422
  }
3376
3423
  export type AggregationsTermsExclude = string | string[];
3377
3424
  export type AggregationsTermsInclude = string | string[] | AggregationsTermsPartition;
@@ -3388,8 +3435,9 @@ export interface AggregationsTopHitsAggregate extends AggregationsAggregateBase
3388
3435
  hits: SearchHitsMetadata<any>;
3389
3436
  }
3390
3437
  export interface AggregationsTopHitsAggregation extends AggregationsMetricAggregationBase {
3391
- docvalue_fields?: Fields;
3438
+ docvalue_fields?: (QueryDslFieldAndFormat | Field)[];
3392
3439
  explain?: boolean;
3440
+ fields?: (QueryDslFieldAndFormat | Field)[];
3393
3441
  from?: integer;
3394
3442
  highlight?: SearchHighlight;
3395
3443
  script_fields?: Record<string, ScriptField>;
@@ -3439,6 +3487,7 @@ export interface AggregationsVariableWidthHistogramAggregation {
3439
3487
  buckets?: integer;
3440
3488
  shard_size?: integer;
3441
3489
  initial_buffer?: integer;
3490
+ script?: Script;
3442
3491
  }
3443
3492
  export interface AggregationsVariableWidthHistogramBucketKeys extends AggregationsMultiBucketBase {
3444
3493
  min: double;
@@ -3451,7 +3500,7 @@ export interface AggregationsVariableWidthHistogramBucketKeys extends Aggregatio
3451
3500
  export type AggregationsVariableWidthHistogramBucket = AggregationsVariableWidthHistogramBucketKeys & {
3452
3501
  [property: string]: AggregationsAggregate | double | string | long;
3453
3502
  };
3454
- export interface AggregationsWeightedAverageAggregation extends AggregationsAggregation {
3503
+ export interface AggregationsWeightedAverageAggregation {
3455
3504
  format?: string;
3456
3505
  value?: AggregationsWeightedAverageValue;
3457
3506
  value_type?: AggregationsValueType;
@@ -3563,6 +3612,7 @@ export interface AnalysisFingerprintTokenFilter extends AnalysisTokenFilterBase
3563
3612
  }
3564
3613
  export interface AnalysisHtmlStripCharFilter extends AnalysisCharFilterBase {
3565
3614
  type: 'html_strip';
3615
+ escaped_tags?: string[];
3566
3616
  }
3567
3617
  export interface AnalysisHunspellTokenFilter extends AnalysisTokenFilterBase {
3568
3618
  type: 'hunspell';
@@ -3586,16 +3636,16 @@ export type AnalysisIcuCollationStrength = 'primary' | 'secondary' | 'tertiary'
3586
3636
  export interface AnalysisIcuCollationTokenFilter extends AnalysisTokenFilterBase {
3587
3637
  type: 'icu_collation';
3588
3638
  alternate?: AnalysisIcuCollationAlternate;
3589
- caseFirst?: AnalysisIcuCollationCaseFirst;
3590
- caseLevel?: boolean;
3639
+ case_first?: AnalysisIcuCollationCaseFirst;
3640
+ case_level?: boolean;
3591
3641
  country?: string;
3592
3642
  decomposition?: AnalysisIcuCollationDecomposition;
3593
- hiraganaQuaternaryMode?: boolean;
3643
+ hiragana_quaternary_mode?: boolean;
3594
3644
  language?: string;
3595
3645
  numeric?: boolean;
3596
3646
  rules?: string;
3597
3647
  strength?: AnalysisIcuCollationStrength;
3598
- variableTop?: string;
3648
+ variable_top?: string;
3599
3649
  variant?: string;
3600
3650
  }
3601
3651
  export interface AnalysisIcuFoldingTokenFilter extends AnalysisTokenFilterBase {
@@ -3808,7 +3858,7 @@ export type AnalysisPhoneticRuleType = 'approx' | 'exact';
3808
3858
  export interface AnalysisPhoneticTokenFilter extends AnalysisTokenFilterBase {
3809
3859
  type: 'phonetic';
3810
3860
  encoder: AnalysisPhoneticEncoder;
3811
- languageset: AnalysisPhoneticLanguage[];
3861
+ languageset: AnalysisPhoneticLanguage | AnalysisPhoneticLanguage[];
3812
3862
  max_code_len?: integer;
3813
3863
  name_type: AnalysisPhoneticNameType;
3814
3864
  replace?: boolean;
@@ -3892,6 +3942,7 @@ export interface AnalysisSynonymGraphTokenFilter extends AnalysisTokenFilterBase
3892
3942
  lenient?: boolean;
3893
3943
  synonyms?: string[];
3894
3944
  synonyms_path?: string;
3945
+ synonyms_set?: string;
3895
3946
  tokenizer?: string;
3896
3947
  updateable?: boolean;
3897
3948
  }
@@ -3902,6 +3953,7 @@ export interface AnalysisSynonymTokenFilter extends AnalysisTokenFilterBase {
3902
3953
  lenient?: boolean;
3903
3954
  synonyms?: string[];
3904
3955
  synonyms_path?: string;
3956
+ synonyms_set?: string;
3905
3957
  tokenizer?: string;
3906
3958
  updateable?: boolean;
3907
3959
  }
@@ -3910,7 +3962,7 @@ export type AnalysisTokenFilter = string | AnalysisTokenFilterDefinition;
3910
3962
  export interface AnalysisTokenFilterBase {
3911
3963
  version?: VersionString;
3912
3964
  }
3913
- 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 | AnalysisIcuTokenizer | AnalysisIcuCollationTokenFilter | AnalysisIcuFoldingTokenFilter | AnalysisIcuNormalizationTokenFilter | AnalysisIcuTransformTokenFilter | AnalysisPhoneticTokenFilter | AnalysisDictionaryDecompounderTokenFilter;
3965
+ 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;
3914
3966
  export type AnalysisTokenizer = string | AnalysisTokenizerDefinition;
3915
3967
  export interface AnalysisTokenizerBase {
3916
3968
  version?: VersionString;
@@ -4060,6 +4112,7 @@ export interface MappingDenseVectorIndexOptions {
4060
4112
  }
4061
4113
  export interface MappingDenseVectorProperty extends MappingPropertyBase {
4062
4114
  type: 'dense_vector';
4115
+ element_type?: string;
4063
4116
  dims?: integer;
4064
4117
  similarity?: string;
4065
4118
  index?: boolean;
@@ -4077,7 +4130,7 @@ export interface MappingDoubleRangeProperty extends MappingRangePropertyBase {
4077
4130
  }
4078
4131
  export type MappingDynamicMapping = boolean | 'strict' | 'runtime' | 'true' | 'false';
4079
4132
  export interface MappingDynamicProperty extends MappingDocValuesPropertyBase {
4080
- type: '{dynamic_property}';
4133
+ type: '{dynamic_type}';
4081
4134
  enabled?: boolean;
4082
4135
  null_value?: FieldValue;
4083
4136
  boost?: double;
@@ -4103,12 +4156,14 @@ export interface MappingDynamicProperty extends MappingDocValuesPropertyBase {
4103
4156
  }
4104
4157
  export interface MappingDynamicTemplate {
4105
4158
  mapping?: MappingProperty;
4106
- match?: string;
4107
- match_mapping_type?: string;
4159
+ runtime?: MappingProperty;
4160
+ match?: string | string[];
4161
+ path_match?: string | string[];
4162
+ unmatch?: string | string[];
4163
+ path_unmatch?: string | string[];
4164
+ match_mapping_type?: string | string[];
4165
+ unmatch_mapping_type?: string | string[];
4108
4166
  match_pattern?: MappingMatchType;
4109
- path_match?: string;
4110
- path_unmatch?: string;
4111
- unmatch?: string;
4112
4167
  }
4113
4168
  export interface MappingFieldAliasProperty extends MappingPropertyBase {
4114
4169
  path?: Field;
@@ -4121,7 +4176,7 @@ export interface MappingFieldMapping {
4121
4176
  export interface MappingFieldNamesField {
4122
4177
  enabled: boolean;
4123
4178
  }
4124
- export type MappingFieldType = 'none' | 'geo_point' | 'geo_shape' | 'ip' | 'binary' | 'keyword' | 'text' | 'search_as_you_type' | 'date' | 'date_nanos' | 'boolean' | 'completion' | 'nested' | 'object' | 'murmur3' | 'token_count' | 'percolator' | 'integer' | 'long' | 'short' | 'byte' | 'float' | 'half_float' | 'scaled_float' | 'double' | 'integer_range' | 'float_range' | 'long_range' | 'double_range' | 'date_range' | 'ip_range' | 'alias' | 'join' | 'rank_feature' | 'rank_features' | 'flattened' | 'shape' | 'histogram' | 'constant_keyword' | 'aggregate_metric_double' | 'dense_vector' | 'sparse_vector' | 'match_only_text';
4179
+ export type MappingFieldType = 'none' | 'geo_point' | 'geo_shape' | 'ip' | 'binary' | 'keyword' | 'text' | 'search_as_you_type' | 'date' | 'date_nanos' | 'boolean' | 'completion' | 'nested' | 'object' | 'version' | 'murmur3' | 'token_count' | 'percolator' | 'integer' | 'long' | 'short' | 'byte' | 'float' | 'half_float' | 'scaled_float' | 'double' | 'integer_range' | 'float_range' | 'long_range' | 'double_range' | 'date_range' | 'ip_range' | 'alias' | 'join' | 'rank_feature' | 'rank_features' | 'flattened' | 'shape' | 'histogram' | 'constant_keyword' | 'aggregate_metric_double' | 'dense_vector' | 'sparse_vector' | 'match_only_text' | 'icu_collation_keyword';
4125
4180
  export interface MappingFlattenedProperty extends MappingPropertyBase {
4126
4181
  boost?: double;
4127
4182
  depth_limit?: integer;
@@ -4168,6 +4223,25 @@ export interface MappingHistogramProperty extends MappingPropertyBase {
4168
4223
  ignore_malformed?: boolean;
4169
4224
  type: 'histogram';
4170
4225
  }
4226
+ export interface MappingIcuCollationProperty extends MappingDocValuesPropertyBase {
4227
+ type: 'icu_collation_keyword';
4228
+ norms?: boolean;
4229
+ index_options?: MappingIndexOptions;
4230
+ index?: boolean;
4231
+ null_value?: string;
4232
+ rules?: string;
4233
+ language?: string;
4234
+ country?: string;
4235
+ variant?: string;
4236
+ strength?: AnalysisIcuCollationStrength;
4237
+ decomposition?: AnalysisIcuCollationDecomposition;
4238
+ alternate?: AnalysisIcuCollationAlternate;
4239
+ case_level?: boolean;
4240
+ case_first?: AnalysisIcuCollationCaseFirst;
4241
+ numeric?: boolean;
4242
+ variable_top?: string;
4243
+ hiragana_quaternary_mode?: boolean;
4244
+ }
4171
4245
  export interface MappingIndexField {
4172
4246
  enabled: boolean;
4173
4247
  }
@@ -4202,6 +4276,8 @@ export interface MappingKeywordProperty extends MappingDocValuesPropertyBase {
4202
4276
  eager_global_ordinals?: boolean;
4203
4277
  index?: boolean;
4204
4278
  index_options?: MappingIndexOptions;
4279
+ script?: Script;
4280
+ on_script_error?: MappingOnScriptError;
4205
4281
  normalizer?: string;
4206
4282
  norms?: boolean;
4207
4283
  null_value?: string;
@@ -4257,7 +4333,7 @@ export interface MappingPointProperty extends MappingDocValuesPropertyBase {
4257
4333
  null_value?: string;
4258
4334
  type: 'point';
4259
4335
  }
4260
- export type MappingProperty = MappingBinaryProperty | MappingBooleanProperty | MappingDynamicProperty | MappingJoinProperty | MappingKeywordProperty | MappingMatchOnlyTextProperty | MappingPercolatorProperty | MappingRankFeatureProperty | MappingRankFeaturesProperty | MappingSearchAsYouTypeProperty | MappingTextProperty | MappingVersionProperty | MappingWildcardProperty | MappingDateNanosProperty | MappingDateProperty | MappingAggregateMetricDoubleProperty | MappingDenseVectorProperty | MappingSparseVectorProperty | MappingFlattenedProperty | MappingNestedProperty | MappingObjectProperty | MappingCompletionProperty | MappingConstantKeywordProperty | MappingFieldAliasProperty | MappingHistogramProperty | MappingIpProperty | MappingMurmur3HashProperty | MappingTokenCountProperty | MappingGeoPointProperty | MappingGeoShapeProperty | MappingPointProperty | MappingShapeProperty | MappingByteNumberProperty | MappingDoubleNumberProperty | MappingFloatNumberProperty | MappingHalfFloatNumberProperty | MappingIntegerNumberProperty | MappingLongNumberProperty | MappingScaledFloatNumberProperty | MappingShortNumberProperty | MappingUnsignedLongNumberProperty | MappingDateRangeProperty | MappingDoubleRangeProperty | MappingFloatRangeProperty | MappingIntegerRangeProperty | MappingIpRangeProperty | MappingLongRangeProperty;
4336
+ export type MappingProperty = MappingBinaryProperty | MappingBooleanProperty | MappingDynamicProperty | MappingJoinProperty | MappingKeywordProperty | MappingMatchOnlyTextProperty | MappingPercolatorProperty | MappingRankFeatureProperty | MappingRankFeaturesProperty | MappingSearchAsYouTypeProperty | MappingTextProperty | MappingVersionProperty | MappingWildcardProperty | MappingDateNanosProperty | MappingDateProperty | MappingAggregateMetricDoubleProperty | MappingDenseVectorProperty | MappingSparseVectorProperty | MappingFlattenedProperty | MappingNestedProperty | MappingObjectProperty | MappingCompletionProperty | MappingConstantKeywordProperty | MappingFieldAliasProperty | MappingHistogramProperty | MappingIpProperty | MappingMurmur3HashProperty | MappingTokenCountProperty | MappingGeoPointProperty | MappingGeoShapeProperty | MappingPointProperty | MappingShapeProperty | MappingByteNumberProperty | MappingDoubleNumberProperty | MappingFloatNumberProperty | MappingHalfFloatNumberProperty | MappingIntegerNumberProperty | MappingLongNumberProperty | MappingScaledFloatNumberProperty | MappingShortNumberProperty | MappingUnsignedLongNumberProperty | MappingDateRangeProperty | MappingDoubleRangeProperty | MappingFloatRangeProperty | MappingIntegerRangeProperty | MappingIpRangeProperty | MappingLongRangeProperty | MappingIcuCollationProperty;
4261
4337
  export interface MappingPropertyBase {
4262
4338
  meta?: Record<string, string>;
4263
4339
  properties?: Record<PropertyName, MappingProperty>;
@@ -4294,7 +4370,7 @@ export interface MappingRuntimeFieldFetchFields {
4294
4370
  field: Field;
4295
4371
  format?: string;
4296
4372
  }
4297
- export type MappingRuntimeFieldType = 'boolean' | 'date' | 'double' | 'geo_point' | 'ip' | 'keyword' | 'long' | 'lookup';
4373
+ export type MappingRuntimeFieldType = 'boolean' | 'composite' | 'date' | 'double' | 'geo_point' | 'ip' | 'keyword' | 'long' | 'lookup';
4298
4374
  export type MappingRuntimeFields = Record<Field, MappingRuntimeField>;
4299
4375
  export interface MappingScaledFloatNumberProperty extends MappingNumberPropertyBase {
4300
4376
  type: 'scaled_float';
@@ -4722,7 +4798,6 @@ export interface QueryDslMoreLikeThisQuery extends QueryDslQueryBase {
4722
4798
  minimum_should_match?: MinimumShouldMatch;
4723
4799
  min_term_freq?: integer;
4724
4800
  min_word_length?: integer;
4725
- per_field_analyzer?: Record<Field, string>;
4726
4801
  routing?: Routing;
4727
4802
  stop_words?: AnalysisStopWords;
4728
4803
  unlike?: QueryDslLike | QueryDslLike[];
@@ -4847,7 +4922,7 @@ export interface QueryDslQueryContainer {
4847
4922
  shape?: QueryDslShapeQuery;
4848
4923
  simple_query_string?: QueryDslSimpleQueryStringQuery;
4849
4924
  span_containing?: QueryDslSpanContainingQuery;
4850
- field_masking_span?: QueryDslSpanFieldMaskingQuery;
4925
+ span_field_masking?: QueryDslSpanFieldMaskingQuery;
4851
4926
  span_first?: QueryDslSpanFirstQuery;
4852
4927
  span_multi?: QueryDslSpanMultiTermQuery;
4853
4928
  span_near?: QueryDslSpanNearQuery;
@@ -5005,7 +5080,7 @@ export interface QueryDslSpanOrQuery extends QueryDslQueryBase {
5005
5080
  }
5006
5081
  export interface QueryDslSpanQuery {
5007
5082
  span_containing?: QueryDslSpanContainingQuery;
5008
- field_masking_span?: QueryDslSpanFieldMaskingQuery;
5083
+ span_field_masking?: QueryDslSpanFieldMaskingQuery;
5009
5084
  span_first?: QueryDslSpanFirstQuery;
5010
5085
  span_gap?: QueryDslSpanGapQuery;
5011
5086
  span_multi?: QueryDslSpanMultiTermQuery;
@@ -5166,7 +5241,7 @@ export interface AsyncSearchSubmitRequest extends RequestBase {
5166
5241
  track_total_hits?: SearchTrackHits;
5167
5242
  indices_boost?: Record<IndexName, double>[];
5168
5243
  docvalue_fields?: (QueryDslFieldAndFormat | Field)[];
5169
- knn?: KnnQuery | KnnQuery[];
5244
+ knn?: KnnSearch | KnnSearch[];
5170
5245
  min_score?: double;
5171
5246
  post_filter?: QueryDslQueryContainer;
5172
5247
  profile?: boolean;
@@ -7379,10 +7454,10 @@ export interface ClusterPutComponentTemplateRequest extends RequestBase {
7379
7454
  name: Name;
7380
7455
  create?: boolean;
7381
7456
  master_timeout?: Duration;
7382
- allow_auto_create?: boolean;
7383
7457
  template: IndicesIndexState;
7384
7458
  version?: VersionNumber;
7385
7459
  _meta?: Metadata;
7460
+ deprecated?: boolean;
7386
7461
  }
7387
7462
  export type ClusterPutComponentTemplateResponse = AcknowledgedResponseBase;
7388
7463
  export interface ClusterPutSettingsRequest extends RequestBase {
@@ -7719,6 +7794,393 @@ export interface ClusterStatsStatsResponseBase extends NodesNodesResponseBase {
7719
7794
  status: HealthStatus;
7720
7795
  timestamp: long;
7721
7796
  }
7797
+ export interface ConnectorConnector {
7798
+ api_key_id?: string;
7799
+ configuration: ConnectorConnectorConfiguration;
7800
+ custom_scheduling: ConnectorConnectorCustomScheduling;
7801
+ description?: string;
7802
+ error?: string;
7803
+ features?: ConnectorConnectorFeatures;
7804
+ filtering: ConnectorFilteringConfig[];
7805
+ id?: Id;
7806
+ index_name?: IndexName;
7807
+ is_native: boolean;
7808
+ language?: string;
7809
+ last_access_control_sync_error?: string;
7810
+ last_access_control_sync_scheduled_at?: DateTime;
7811
+ last_access_control_sync_status?: ConnectorSyncStatus;
7812
+ last_deleted_document_count?: long;
7813
+ last_incremental_sync_scheduled_at?: DateTime;
7814
+ last_indexed_document_count?: long;
7815
+ last_seen?: DateTime;
7816
+ last_sync_error?: string;
7817
+ last_sync_scheduled_at?: DateTime;
7818
+ last_sync_status?: ConnectorSyncStatus;
7819
+ last_synced?: DateTime;
7820
+ name?: string;
7821
+ pipeline?: ConnectorIngestPipelineParams;
7822
+ scheduling: ConnectorSchedulingConfiguration;
7823
+ service_type: string;
7824
+ status: ConnectorConnectorStatus;
7825
+ sync_now: boolean;
7826
+ }
7827
+ export interface ConnectorConnectorConfigProperties {
7828
+ category?: string;
7829
+ default_value: ScalarValue;
7830
+ depends_on: ConnectorDependency[];
7831
+ display: ConnectorDisplayType;
7832
+ label: string;
7833
+ options: ConnectorSelectOption[];
7834
+ order?: integer;
7835
+ placeholder?: string;
7836
+ required: boolean;
7837
+ sensitive: boolean;
7838
+ tooltip?: string;
7839
+ type: ConnectorConnectorFieldType;
7840
+ ui_restrictions: string[];
7841
+ validations: ConnectorValidation[];
7842
+ value: ScalarValue;
7843
+ }
7844
+ export type ConnectorConnectorConfiguration = Record<string, ConnectorConnectorConfigProperties>;
7845
+ export type ConnectorConnectorCustomScheduling = Record<string, ConnectorCustomScheduling>;
7846
+ export interface ConnectorConnectorFeatures {
7847
+ document_level_security?: ConnectorFeatureEnabled;
7848
+ filtering_advanced_config?: boolean;
7849
+ filtering_rules?: boolean;
7850
+ incremental_sync?: ConnectorFeatureEnabled;
7851
+ sync_rules?: ConnectorSyncRulesFeature;
7852
+ }
7853
+ export type ConnectorConnectorFieldType = 'str' | 'int' | 'list' | 'bool';
7854
+ export interface ConnectorConnectorScheduling {
7855
+ enabled: boolean;
7856
+ interval: string;
7857
+ }
7858
+ export type ConnectorConnectorStatus = 'created' | 'needs_configuration' | 'configured' | 'connected' | 'error';
7859
+ export interface ConnectorConnectorSyncJob {
7860
+ cancelation_requested_at?: DateTime;
7861
+ canceled_at?: DateTime;
7862
+ completed_at?: DateTime;
7863
+ connector: ConnectorSyncJobConnectorReference;
7864
+ created_at: DateTime;
7865
+ deleted_document_count: long;
7866
+ error?: string;
7867
+ id: Id;
7868
+ indexed_document_count: long;
7869
+ indexed_document_volume: long;
7870
+ job_type: ConnectorSyncJobType;
7871
+ last_seen?: DateTime;
7872
+ metadata: Record<string, any>;
7873
+ started_at?: DateTime;
7874
+ status: ConnectorSyncStatus;
7875
+ total_document_count: long;
7876
+ trigger_method: ConnectorSyncJobTriggerMethod;
7877
+ worker_hostname?: string;
7878
+ }
7879
+ export interface ConnectorCustomScheduling {
7880
+ configuration_overrides: ConnectorCustomSchedulingConfigurationOverrides;
7881
+ enabled: boolean;
7882
+ interval: string;
7883
+ last_synced?: DateTime;
7884
+ name: string;
7885
+ }
7886
+ export interface ConnectorCustomSchedulingConfigurationOverrides {
7887
+ max_crawl_depth?: integer;
7888
+ sitemap_discovery_disabled?: boolean;
7889
+ domain_allowlist?: string[];
7890
+ sitemap_urls?: string[];
7891
+ seed_urls?: string[];
7892
+ }
7893
+ export interface ConnectorDependency {
7894
+ field: string;
7895
+ value: ScalarValue;
7896
+ }
7897
+ export type ConnectorDisplayType = 'textbox' | 'textarea' | 'numeric' | 'toggle' | 'dropdown';
7898
+ export interface ConnectorFeatureEnabled {
7899
+ enabled: boolean;
7900
+ }
7901
+ export interface ConnectorFilteringAdvancedSnippet {
7902
+ created_at?: DateTime;
7903
+ updated_at?: DateTime;
7904
+ value: Record<string, any>;
7905
+ }
7906
+ export interface ConnectorFilteringConfig {
7907
+ active: ConnectorFilteringRules;
7908
+ domain: string;
7909
+ draft: ConnectorFilteringRules;
7910
+ }
7911
+ export type ConnectorFilteringPolicy = 'exclude' | 'include';
7912
+ export interface ConnectorFilteringRule {
7913
+ created_at?: DateTime;
7914
+ field: Field;
7915
+ id: Id;
7916
+ order: integer;
7917
+ policy: ConnectorFilteringPolicy;
7918
+ rule: ConnectorFilteringRuleRule;
7919
+ updated_at?: DateTime;
7920
+ value: string;
7921
+ }
7922
+ export type ConnectorFilteringRuleRule = 'contains' | 'ends_with' | 'equals' | 'regex' | 'starts_with' | '>' | '<';
7923
+ export interface ConnectorFilteringRules {
7924
+ advanced_snippet: ConnectorFilteringAdvancedSnippet;
7925
+ rules: ConnectorFilteringRule[];
7926
+ validation: ConnectorFilteringRulesValidation;
7927
+ }
7928
+ export interface ConnectorFilteringRulesValidation {
7929
+ errors: ConnectorFilteringValidation[];
7930
+ state: ConnectorFilteringValidationState;
7931
+ }
7932
+ export interface ConnectorFilteringValidation {
7933
+ ids: Id[];
7934
+ messages: string[];
7935
+ }
7936
+ export type ConnectorFilteringValidationState = 'edited' | 'invalid' | 'valid';
7937
+ export interface ConnectorGreaterThanValidation {
7938
+ type: 'greater_than';
7939
+ constraint: double;
7940
+ }
7941
+ export interface ConnectorIncludedInValidation {
7942
+ type: 'included_in';
7943
+ constraint: string;
7944
+ }
7945
+ export interface ConnectorIngestPipelineParams {
7946
+ extract_binary_content: boolean;
7947
+ name: string;
7948
+ reduce_whitespace: boolean;
7949
+ run_ml_inference: boolean;
7950
+ }
7951
+ export interface ConnectorLessThanValidation {
7952
+ type: 'less_than';
7953
+ constraint: double;
7954
+ }
7955
+ export interface ConnectorListTypeValidation {
7956
+ type: 'list_type';
7957
+ constraint: ScalarValue[];
7958
+ }
7959
+ export interface ConnectorRegexValidation {
7960
+ type: 'regex';
7961
+ constraint: string;
7962
+ }
7963
+ export interface ConnectorSchedulingConfiguration {
7964
+ access_control?: ConnectorConnectorScheduling;
7965
+ full?: ConnectorConnectorScheduling;
7966
+ incremental?: ConnectorConnectorScheduling;
7967
+ }
7968
+ export interface ConnectorSelectOption {
7969
+ label: string;
7970
+ value: string;
7971
+ }
7972
+ export interface ConnectorSyncJobConnectorReference {
7973
+ configuration: ConnectorConnectorConfiguration;
7974
+ filtering: ConnectorFilteringRules;
7975
+ id: Id;
7976
+ index_name: string;
7977
+ language?: string;
7978
+ pipeline?: ConnectorIngestPipelineParams;
7979
+ service_type: string;
7980
+ }
7981
+ export type ConnectorSyncJobTriggerMethod = 'on_demand' | 'scheduled';
7982
+ export type ConnectorSyncJobType = 'full' | 'incremental' | 'access_control';
7983
+ export interface ConnectorSyncRulesFeature {
7984
+ advanced?: ConnectorFeatureEnabled;
7985
+ basic?: ConnectorFeatureEnabled;
7986
+ }
7987
+ export type ConnectorSyncStatus = 'canceling' | 'canceled' | 'completed' | 'error' | 'in_progress' | 'pending' | 'suspended';
7988
+ export type ConnectorValidation = ConnectorLessThanValidation | ConnectorGreaterThanValidation | ConnectorListTypeValidation | ConnectorIncludedInValidation | ConnectorRegexValidation;
7989
+ export interface ConnectorCheckInRequest extends RequestBase {
7990
+ connector_id: Id;
7991
+ }
7992
+ export interface ConnectorCheckInResponse {
7993
+ result: Result;
7994
+ }
7995
+ export interface ConnectorDeleteRequest extends RequestBase {
7996
+ connector_id: Id;
7997
+ delete_sync_jobs: boolean;
7998
+ }
7999
+ export type ConnectorDeleteResponse = AcknowledgedResponseBase;
8000
+ export interface ConnectorGetRequest extends RequestBase {
8001
+ connector_id: Id;
8002
+ }
8003
+ export type ConnectorGetResponse = ConnectorConnector;
8004
+ export interface ConnectorLastSyncRequest extends RequestBase {
8005
+ connector_id: Id;
8006
+ last_access_control_sync_error?: SpecUtilsWithNullValue<string>;
8007
+ last_access_control_sync_scheduled_at?: DateTime;
8008
+ last_access_control_sync_status?: ConnectorSyncStatus;
8009
+ last_deleted_document_count?: long;
8010
+ last_incremental_sync_scheduled_at?: DateTime;
8011
+ last_indexed_document_count?: long;
8012
+ last_seen?: SpecUtilsWithNullValue<DateTime>;
8013
+ last_sync_error?: SpecUtilsWithNullValue<string>;
8014
+ last_sync_scheduled_at?: DateTime;
8015
+ last_sync_status?: ConnectorSyncStatus;
8016
+ last_synced?: DateTime;
8017
+ }
8018
+ export interface ConnectorLastSyncResponse {
8019
+ result: Result;
8020
+ }
8021
+ export interface ConnectorListRequest extends RequestBase {
8022
+ from?: integer;
8023
+ size?: integer;
8024
+ index_name?: Indices;
8025
+ connector_name?: Names;
8026
+ service_type?: Names;
8027
+ query?: string;
8028
+ }
8029
+ export interface ConnectorListResponse {
8030
+ count: long;
8031
+ results: ConnectorConnector[];
8032
+ }
8033
+ export interface ConnectorPostRequest extends RequestBase {
8034
+ description?: string;
8035
+ index_name: SpecUtilsWithNullValue<IndexName>;
8036
+ is_native?: boolean;
8037
+ language?: string;
8038
+ name?: string;
8039
+ service_type?: string;
8040
+ }
8041
+ export interface ConnectorPostResponse {
8042
+ id: Id;
8043
+ }
8044
+ export interface ConnectorPutRequest extends RequestBase {
8045
+ connector_id: Id;
8046
+ description?: string;
8047
+ index_name: SpecUtilsWithNullValue<IndexName>;
8048
+ is_native?: boolean;
8049
+ language?: string;
8050
+ name?: string;
8051
+ service_type?: string;
8052
+ }
8053
+ export interface ConnectorPutResponse {
8054
+ result: Result;
8055
+ }
8056
+ export interface ConnectorSyncJobCancelRequest extends RequestBase {
8057
+ connector_sync_job_id: Id;
8058
+ }
8059
+ export interface ConnectorSyncJobCancelResponse {
8060
+ result: Result;
8061
+ }
8062
+ export interface ConnectorSyncJobDeleteRequest extends RequestBase {
8063
+ connector_sync_job_id: Id;
8064
+ }
8065
+ export type ConnectorSyncJobDeleteResponse = AcknowledgedResponseBase;
8066
+ export interface ConnectorSyncJobGetRequest extends RequestBase {
8067
+ connector_sync_job_id: Id;
8068
+ }
8069
+ export type ConnectorSyncJobGetResponse = ConnectorConnectorSyncJob;
8070
+ export interface ConnectorSyncJobListRequest extends RequestBase {
8071
+ from?: integer;
8072
+ size?: integer;
8073
+ status?: ConnectorSyncStatus;
8074
+ connector_id?: Id;
8075
+ job_type?: ConnectorSyncJobType[];
8076
+ }
8077
+ export interface ConnectorSyncJobListResponse {
8078
+ count: long;
8079
+ results: ConnectorConnectorSyncJob[];
8080
+ }
8081
+ export interface ConnectorSyncJobPostRequest extends RequestBase {
8082
+ id: Id;
8083
+ job_type?: ConnectorSyncJobType;
8084
+ trigger_method?: ConnectorSyncJobTriggerMethod;
8085
+ }
8086
+ export interface ConnectorSyncJobPostResponse {
8087
+ id: Id;
8088
+ }
8089
+ export interface ConnectorUpdateActiveFilteringRequest extends RequestBase {
8090
+ connector_id: Id;
8091
+ }
8092
+ export interface ConnectorUpdateActiveFilteringResponse {
8093
+ result: Result;
8094
+ }
8095
+ export interface ConnectorUpdateApiKeyIdRequest extends RequestBase {
8096
+ connector_id: Id;
8097
+ api_key_id?: SpecUtilsWithNullValue<string>;
8098
+ api_key_secret_id?: SpecUtilsWithNullValue<string>;
8099
+ }
8100
+ export interface ConnectorUpdateApiKeyIdResponse {
8101
+ result: Result;
8102
+ }
8103
+ export interface ConnectorUpdateConfigurationRequest extends RequestBase {
8104
+ connector_id: Id;
8105
+ configuration?: ConnectorConnectorConfiguration;
8106
+ values?: Record<string, any>;
8107
+ }
8108
+ export interface ConnectorUpdateConfigurationResponse {
8109
+ result: Result;
8110
+ }
8111
+ export interface ConnectorUpdateErrorRequest extends RequestBase {
8112
+ connector_id: Id;
8113
+ error: SpecUtilsWithNullValue<string>;
8114
+ }
8115
+ export interface ConnectorUpdateErrorResponse {
8116
+ result: Result;
8117
+ }
8118
+ export interface ConnectorUpdateFilteringRequest extends RequestBase {
8119
+ connector_id: Id;
8120
+ filtering?: ConnectorFilteringConfig[];
8121
+ rules?: ConnectorFilteringRule[];
8122
+ advanced_snippet?: ConnectorFilteringAdvancedSnippet;
8123
+ }
8124
+ export interface ConnectorUpdateFilteringResponse {
8125
+ result: Result;
8126
+ }
8127
+ export interface ConnectorUpdateFilteringValidationRequest extends RequestBase {
8128
+ connector_id: Id;
8129
+ validation: ConnectorFilteringRulesValidation;
8130
+ }
8131
+ export interface ConnectorUpdateFilteringValidationResponse {
8132
+ result: Result;
8133
+ }
8134
+ export interface ConnectorUpdateIndexNameRequest extends RequestBase {
8135
+ connector_id: Id;
8136
+ index_name: SpecUtilsWithNullValue<IndexName>;
8137
+ }
8138
+ export interface ConnectorUpdateIndexNameResponse {
8139
+ result: Result;
8140
+ }
8141
+ export interface ConnectorUpdateNameRequest extends RequestBase {
8142
+ connector_id: Id;
8143
+ name: string;
8144
+ description?: string;
8145
+ }
8146
+ export interface ConnectorUpdateNameResponse {
8147
+ result: Result;
8148
+ }
8149
+ export interface ConnectorUpdateNativeRequest extends RequestBase {
8150
+ connector_id: Id;
8151
+ is_native: boolean;
8152
+ }
8153
+ export interface ConnectorUpdateNativeResponse {
8154
+ result: Result;
8155
+ }
8156
+ export interface ConnectorUpdatePipelineRequest extends RequestBase {
8157
+ connector_id: Id;
8158
+ pipeline: ConnectorIngestPipelineParams;
8159
+ }
8160
+ export interface ConnectorUpdatePipelineResponse {
8161
+ result: Result;
8162
+ }
8163
+ export interface ConnectorUpdateSchedulingRequest extends RequestBase {
8164
+ connector_id: Id;
8165
+ scheduling: ConnectorSchedulingConfiguration;
8166
+ }
8167
+ export interface ConnectorUpdateSchedulingResponse {
8168
+ result: Result;
8169
+ }
8170
+ export interface ConnectorUpdateServiceTypeRequest extends RequestBase {
8171
+ connector_id: Id;
8172
+ service_type: string;
8173
+ }
8174
+ export interface ConnectorUpdateServiceTypeResponse {
8175
+ result: Result;
8176
+ }
8177
+ export interface ConnectorUpdateStatusRequest extends RequestBase {
8178
+ connector_id: Id;
8179
+ status: ConnectorConnectorStatus;
8180
+ }
8181
+ export interface ConnectorUpdateStatusResponse {
8182
+ result: Result;
8183
+ }
7722
8184
  export interface DanglingIndicesDeleteDanglingIndexRequest extends RequestBase {
7723
8185
  index_uuid: Uuid;
7724
8186
  accept_data_loss: boolean;
@@ -8410,7 +8872,7 @@ export interface IndicesIndexSettingsAnalysis {
8410
8872
  tokenizer?: Record<string, AnalysisTokenizer>;
8411
8873
  }
8412
8874
  export interface IndicesIndexSettingsLifecycle {
8413
- name: Name;
8875
+ name?: Name;
8414
8876
  indexing_complete?: SpecUtilsStringified<boolean>;
8415
8877
  origination_date?: long;
8416
8878
  parse_origination_date?: boolean;
@@ -8483,22 +8945,22 @@ export interface IndicesMappingLimitSettings {
8483
8945
  ignore_malformed?: boolean;
8484
8946
  }
8485
8947
  export interface IndicesMappingLimitSettingsDepth {
8486
- limit?: integer;
8948
+ limit?: long;
8487
8949
  }
8488
8950
  export interface IndicesMappingLimitSettingsDimensionFields {
8489
- limit?: integer;
8951
+ limit?: long;
8490
8952
  }
8491
8953
  export interface IndicesMappingLimitSettingsFieldNameLength {
8492
8954
  limit?: long;
8493
8955
  }
8494
8956
  export interface IndicesMappingLimitSettingsNestedFields {
8495
- limit?: integer;
8957
+ limit?: long;
8496
8958
  }
8497
8959
  export interface IndicesMappingLimitSettingsNestedObjects {
8498
- limit?: integer;
8960
+ limit?: long;
8499
8961
  }
8500
8962
  export interface IndicesMappingLimitSettingsTotalFields {
8501
- limit?: integer;
8963
+ limit?: long;
8502
8964
  }
8503
8965
  export interface IndicesMerge {
8504
8966
  scheduler?: IndicesMergeScheduler;
@@ -8599,7 +9061,7 @@ export interface IndicesStorage {
8599
9061
  type: IndicesStorageType;
8600
9062
  allow_mmap?: boolean;
8601
9063
  }
8602
- export type IndicesStorageType = 'fs' | '' | 'niofs' | 'mmapfs' | 'hybridfs' | string;
9064
+ export type IndicesStorageType = 'fs' | 'niofs' | 'mmapfs' | 'hybridfs' | string;
8603
9065
  export interface IndicesTemplateMapping {
8604
9066
  aliases: Record<IndexName, IndicesAlias>;
8605
9067
  index_patterns: Name[];
@@ -9124,13 +9586,18 @@ export interface IndicesPutIndexTemplateIndexTemplateMapping {
9124
9586
  export interface IndicesPutIndexTemplateRequest extends RequestBase {
9125
9587
  name: Name;
9126
9588
  create?: boolean;
9589
+ master_timeout?: Duration;
9590
+ cause?: string;
9127
9591
  index_patterns?: Indices;
9128
9592
  composed_of?: Name[];
9129
9593
  template?: IndicesPutIndexTemplateIndexTemplateMapping;
9130
9594
  data_stream?: IndicesDataStreamVisibility;
9131
- priority?: integer;
9595
+ priority?: long;
9132
9596
  version?: VersionNumber;
9133
9597
  _meta?: Metadata;
9598
+ allow_auto_create?: boolean;
9599
+ ignore_missing_component_templates?: string[];
9600
+ deprecated?: boolean;
9134
9601
  }
9135
9602
  export type IndicesPutIndexTemplateResponse = AcknowledgedResponseBase;
9136
9603
  export interface IndicesPutMappingRequest extends RequestBase {
@@ -9169,14 +9636,13 @@ export type IndicesPutSettingsResponse = AcknowledgedResponseBase;
9169
9636
  export interface IndicesPutTemplateRequest extends RequestBase {
9170
9637
  name: Name;
9171
9638
  create?: boolean;
9172
- flat_settings?: boolean;
9173
9639
  master_timeout?: Duration;
9174
- timeout?: Duration;
9640
+ cause?: string;
9175
9641
  aliases?: Record<IndexName, IndicesAlias>;
9176
9642
  index_patterns?: string | string[];
9177
9643
  mappings?: MappingTypeMapping;
9178
9644
  order?: integer;
9179
- settings?: Record<string, any>;
9645
+ settings?: IndicesIndexSettings;
9180
9646
  version?: VersionNumber;
9181
9647
  }
9182
9648
  export type IndicesPutTemplateResponse = AcknowledgedResponseBase;
@@ -9465,19 +9931,12 @@ export interface IndicesShrinkResponse {
9465
9931
  }
9466
9932
  export interface IndicesSimulateIndexTemplateRequest extends RequestBase {
9467
9933
  name: Name;
9468
- create?: boolean;
9469
9934
  master_timeout?: Duration;
9470
9935
  include_defaults?: boolean;
9471
- allow_auto_create?: boolean;
9472
- index_patterns?: Indices;
9473
- composed_of?: Name[];
9474
- template?: IndicesPutIndexTemplateIndexTemplateMapping;
9475
- data_stream?: IndicesDataStreamVisibility;
9476
- priority?: integer;
9477
- version?: VersionNumber;
9478
- _meta?: Metadata;
9479
9936
  }
9480
9937
  export interface IndicesSimulateIndexTemplateResponse {
9938
+ overlapping?: IndicesSimulateTemplateOverlapping[];
9939
+ template: IndicesSimulateTemplateTemplate;
9481
9940
  }
9482
9941
  export interface IndicesSimulateTemplateOverlapping {
9483
9942
  name: Name;
@@ -9488,7 +9947,16 @@ export interface IndicesSimulateTemplateRequest extends RequestBase {
9488
9947
  create?: boolean;
9489
9948
  master_timeout?: Duration;
9490
9949
  include_defaults?: boolean;
9491
- template?: IndicesIndexTemplate;
9950
+ allow_auto_create?: boolean;
9951
+ index_patterns?: Indices;
9952
+ composed_of?: Name[];
9953
+ template?: IndicesPutIndexTemplateIndexTemplateMapping;
9954
+ data_stream?: IndicesDataStreamVisibility;
9955
+ priority?: long;
9956
+ version?: VersionNumber;
9957
+ _meta?: Metadata;
9958
+ ignore_missing_component_templates?: string[];
9959
+ deprecated?: boolean;
9492
9960
  }
9493
9961
  export interface IndicesSimulateTemplateResponse {
9494
9962
  overlapping?: IndicesSimulateTemplateOverlapping[];
@@ -9725,12 +10193,17 @@ export interface IndicesValidateQueryResponse {
9725
10193
  valid: boolean;
9726
10194
  error?: string;
9727
10195
  }
10196
+ export interface InferenceCompletionResult {
10197
+ result: string;
10198
+ }
9728
10199
  export type InferenceDenseByteVector = byte[];
9729
10200
  export type InferenceDenseVector = float[];
9730
10201
  export interface InferenceInferenceResult {
9731
10202
  text_embedding_bytes?: InferenceTextEmbeddingByteResult[];
9732
10203
  text_embedding?: InferenceTextEmbeddingResult[];
9733
10204
  sparse_embedding?: InferenceSparseEmbeddingResult[];
10205
+ completion?: InferenceCompletionResult[];
10206
+ rerank?: InferenceRankedDocument[];
9734
10207
  }
9735
10208
  export interface InferenceModelConfig {
9736
10209
  service: string;
@@ -9741,13 +10214,18 @@ export interface InferenceModelConfigContainer extends InferenceModelConfig {
9741
10214
  model_id: string;
9742
10215
  task_type: InferenceTaskType;
9743
10216
  }
10217
+ export interface InferenceRankedDocument {
10218
+ index: integer;
10219
+ score: float;
10220
+ text?: string;
10221
+ }
9744
10222
  export type InferenceServiceSettings = any;
9745
10223
  export interface InferenceSparseEmbeddingResult {
9746
10224
  embedding: InferenceSparseVector;
9747
10225
  }
9748
10226
  export type InferenceSparseVector = Record<string, float>;
9749
10227
  export type InferenceTaskSettings = any;
9750
- export type InferenceTaskType = 'sparse_embedding' | 'text_embedding';
10228
+ export type InferenceTaskType = 'sparse_embedding' | 'text_embedding' | 'rerank' | 'completion';
9751
10229
  export interface InferenceTextEmbeddingByteResult {
9752
10230
  embedding: InferenceDenseByteVector;
9753
10231
  }
@@ -9769,6 +10247,8 @@ export interface InferenceGetModelResponse {
9769
10247
  export interface InferenceInferenceRequest extends RequestBase {
9770
10248
  task_type?: InferenceTaskType;
9771
10249
  inference_id: Id;
10250
+ timeout?: Duration;
10251
+ query?: string;
9772
10252
  input: string | string[];
9773
10253
  task_settings?: InferenceTaskSettings;
9774
10254
  }
@@ -10003,6 +10483,7 @@ export interface IngestProcessorContainer {
10003
10483
  }
10004
10484
  export interface IngestRemoveProcessor extends IngestProcessorBase {
10005
10485
  field: Fields;
10486
+ keep?: Fields;
10006
10487
  ignore_missing?: boolean;
10007
10488
  }
10008
10489
  export interface IngestRenameProcessor extends IngestProcessorBase {
@@ -10899,7 +11380,7 @@ export interface MlInferenceConfigUpdateContainer {
10899
11380
  export interface MlInferenceResponseResult {
10900
11381
  entities?: MlTrainedModelEntities[];
10901
11382
  is_truncated?: boolean;
10902
- predicted_value?: MlPredictedValue[];
11383
+ predicted_value?: MlPredictedValue | MlPredictedValue[];
10903
11384
  predicted_value_sequence?: string;
10904
11385
  prediction_probability?: double;
10905
11386
  prediction_score?: double;
@@ -12117,6 +12598,7 @@ export interface MlPutTrainedModelPreprocessor {
12117
12598
  export interface MlPutTrainedModelRequest extends RequestBase {
12118
12599
  model_id: Id;
12119
12600
  defer_definition_decompression?: boolean;
12601
+ wait_for_completion?: boolean;
12120
12602
  compressed_definition?: string;
12121
12603
  definition?: MlPutTrainedModelDefinition;
12122
12604
  description?: string;
@@ -12381,6 +12863,13 @@ export interface MlUpdateModelSnapshotResponse {
12381
12863
  acknowledged: boolean;
12382
12864
  model: MlModelSnapshot;
12383
12865
  }
12866
+ export interface MlUpdateTrainedModelDeploymentRequest extends RequestBase {
12867
+ model_id: Id;
12868
+ number_of_allocations?: integer;
12869
+ }
12870
+ export interface MlUpdateTrainedModelDeploymentResponse {
12871
+ assignment: MlTrainedModelAssignment;
12872
+ }
12384
12873
  export interface MlUpgradeJobSnapshotRequest extends RequestBase {
12385
12874
  job_id: Id;
12386
12875
  snapshot_id: Id;
@@ -12970,7 +13459,7 @@ export interface NodesInfoNodeInfoRepositoriesUrl {
12970
13459
  }
12971
13460
  export interface NodesInfoNodeInfoScript {
12972
13461
  allowed_types: string;
12973
- disable_max_compilations_rate: string;
13462
+ disable_max_compilations_rate?: string;
12974
13463
  }
12975
13464
  export interface NodesInfoNodeInfoSearch {
12976
13465
  remote: NodesInfoNodeInfoSearchRemote;
@@ -12985,7 +13474,7 @@ export interface NodesInfoNodeInfoSettings {
12985
13474
  repositories?: NodesInfoNodeInfoRepositories;
12986
13475
  discovery?: NodesInfoNodeInfoDiscover;
12987
13476
  action?: NodesInfoNodeInfoAction;
12988
- client: NodesInfoNodeInfoClient;
13477
+ client?: NodesInfoNodeInfoClient;
12989
13478
  http: NodesInfoNodeInfoSettingsHttp;
12990
13479
  bootstrap?: NodesInfoNodeInfoBootstrap;
12991
13480
  transport: NodesInfoNodeInfoSettingsTransport;
@@ -13051,7 +13540,7 @@ export interface NodesInfoNodeInfoSettingsIngest {
13051
13540
  inference?: NodesInfoNodeInfoIngestInfo;
13052
13541
  }
13053
13542
  export interface NodesInfoNodeInfoSettingsNetwork {
13054
- host: Host;
13543
+ host?: Host;
13055
13544
  }
13056
13545
  export interface NodesInfoNodeInfoSettingsNode {
13057
13546
  name: Name;
@@ -13474,6 +13963,7 @@ export interface SearchApplicationPutBehavioralAnalyticsRequest extends RequestB
13474
13963
  export type SearchApplicationPutBehavioralAnalyticsResponse = SearchApplicationPutBehavioralAnalyticsAnalyticsAcknowledgeResponseBase;
13475
13964
  export interface SearchApplicationSearchRequest extends RequestBase {
13476
13965
  name: Name;
13966
+ typed_keys?: boolean;
13477
13967
  params?: Record<string, any>;
13478
13968
  }
13479
13969
  export type SearchApplicationSearchResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = SearchResponseBody<TDocument, TAggregations>;
@@ -13541,7 +14031,9 @@ export interface SecurityApiKey {
13541
14031
  invalidated?: boolean;
13542
14032
  name: Name;
13543
14033
  realm?: string;
14034
+ realm_type?: string;
13544
14035
  username?: Username;
14036
+ profile_uid?: string;
13545
14037
  metadata?: Metadata;
13546
14038
  role_descriptors?: Record<string, SecurityRoleDescriptor>;
13547
14039
  limited_by?: Record<string, SecurityRoleDescriptor>[];
@@ -13558,7 +14050,7 @@ export interface SecurityApplicationPrivileges {
13558
14050
  export interface SecurityClusterNode {
13559
14051
  name: Name;
13560
14052
  }
13561
- export type SecurityClusterPrivilege = 'all' | 'cancel_task' | 'create_snapshot' | 'grant_api_key' | 'manage' | 'manage_api_key' | 'manage_ccr' | 'manage_enrich' | 'manage_ilm' | 'manage_index_templates' | 'manage_ingest_pipelines' | 'manage_logstash_pipelines' | 'manage_ml' | 'manage_oidc' | 'manage_own_api_key' | 'manage_pipeline' | 'manage_rollup' | 'manage_saml' | 'manage_security' | 'manage_service_account' | 'manage_slm' | 'manage_token' | 'manage_transform' | 'manage_user_profile' | 'manage_watcher' | 'monitor' | 'monitor_ml' | 'monitor_rollup' | 'monitor_snapshot' | 'monitor_text_structure' | 'monitor_transform' | 'monitor_watcher' | 'read_ccr' | 'read_ilm' | 'read_pipeline' | 'read_slm' | 'transport_client' | string;
14053
+ export type SecurityClusterPrivilege = 'all' | 'cancel_task' | 'create_snapshot' | 'cross_cluster_replication' | 'cross_cluster_search' | 'delegate_pki' | 'grant_api_key' | 'manage' | 'manage_api_key' | 'manage_autoscaling' | 'manage_behavioral_analytics' | 'manage_ccr' | 'manage_data_frame_transforms' | 'manage_data_stream_global_retention' | 'manage_enrich' | 'manage_ilm' | 'manage_index_templates' | 'manage_inference' | 'manage_ingest_pipelines' | 'manage_logstash_pipelines' | 'manage_ml' | 'manage_oidc' | 'manage_own_api_key' | 'manage_pipeline' | 'manage_rollup' | 'manage_saml' | 'manage_search_application' | 'manage_search_query_rules' | 'manage_search_synonyms' | 'manage_security' | 'manage_service_account' | 'manage_slm' | 'manage_token' | 'manage_transform' | 'manage_user_profile' | 'manage_watcher' | 'monitor' | 'monitor_data_frame_transforms' | 'monitor_data_stream_global_retention' | 'monitor_enrich' | 'monitor_inference' | 'monitor_ml' | 'monitor_rollup' | 'monitor_snapshot' | 'monitor_text_structure' | 'monitor_transform' | 'monitor_watcher' | 'none' | 'post_behavioral_analytics_event' | 'read_ccr' | 'read_connector_secrets' | 'read_fleet_secrets' | 'read_ilm' | 'read_pipeline' | 'read_security' | 'read_slm' | 'transport_client' | 'write_connector_secrets' | 'write_fleet_secrets' | string;
13562
14054
  export interface SecurityCreatedStatus {
13563
14055
  created: boolean;
13564
14056
  }
@@ -13575,7 +14067,7 @@ export interface SecurityGlobalPrivilege {
13575
14067
  application: SecurityApplicationGlobalUserPrivileges;
13576
14068
  }
13577
14069
  export type SecurityGrantType = 'password' | 'access_token';
13578
- export type SecurityIndexPrivilege = 'none' | 'all' | 'auto_configure' | 'create' | 'create_doc' | 'create_index' | 'delete' | 'delete_index' | 'index' | 'maintenance' | 'manage' | 'manage_follow_index' | 'manage_ilm' | 'manage_leader_index' | 'monitor' | 'read' | 'read_cross_cluster' | 'view_index_metadata' | 'write' | string;
14070
+ export type SecurityIndexPrivilege = 'all' | 'auto_configure' | 'create' | 'create_doc' | 'create_index' | 'cross_cluster_replication' | 'cross_cluster_replication_internal' | 'delete' | 'delete_index' | 'index' | 'maintenance' | 'manage' | 'manage_data_stream_lifecycle' | 'manage_follow_index' | 'manage_ilm' | 'manage_leader_index' | 'monitor' | 'none' | 'read' | 'read_cross_cluster' | 'view_index_metadata' | 'write' | string;
13579
14071
  export interface SecurityIndicesPrivileges {
13580
14072
  field_security?: SecurityFieldSecurity;
13581
14073
  names: Indices;
@@ -13614,9 +14106,9 @@ export interface SecurityRoleDescriptorRead {
13614
14106
  export interface SecurityRoleMapping {
13615
14107
  enabled: boolean;
13616
14108
  metadata: Metadata;
13617
- roles: string[];
13618
- rules: SecurityRoleMappingRule;
14109
+ roles?: string[];
13619
14110
  role_templates?: SecurityRoleTemplate[];
14111
+ rules: SecurityRoleMappingRule;
13620
14112
  }
13621
14113
  export interface SecurityRoleMappingRule {
13622
14114
  any?: SecurityRoleMappingRule[];
@@ -13873,6 +14365,7 @@ export interface SecurityGetApiKeyRequest extends RequestBase {
13873
14365
  username?: Username;
13874
14366
  with_limited_by?: boolean;
13875
14367
  active_only?: boolean;
14368
+ with_profile_uid?: boolean;
13876
14369
  }
13877
14370
  export interface SecurityGetApiKeyResponse {
13878
14371
  api_keys: SecurityApiKey[];
@@ -14136,28 +14629,28 @@ export interface SecurityPutUserRequest extends RequestBase {
14136
14629
  export interface SecurityPutUserResponse {
14137
14630
  created: boolean;
14138
14631
  }
14139
- export type SecurityQueryApiKeysAPIKeyAggregate = AggregationsCardinalityAggregate | AggregationsValueCountAggregate | AggregationsStringTermsAggregate | AggregationsLongTermsAggregate | AggregationsDoubleTermsAggregate | AggregationsUnmappedTermsAggregate | AggregationsMultiTermsAggregate | AggregationsMissingAggregate | AggregationsFilterAggregate | AggregationsFiltersAggregate | AggregationsRangeAggregate | AggregationsDateRangeAggregate | AggregationsCompositeAggregate;
14140
- export interface SecurityQueryApiKeysAPIKeyAggregationContainer {
14141
- aggregations?: Record<string, SecurityQueryApiKeysAPIKeyAggregationContainer>;
14142
- aggs?: Record<string, SecurityQueryApiKeysAPIKeyAggregationContainer>;
14632
+ export type SecurityQueryApiKeysApiKeyAggregate = AggregationsCardinalityAggregate | AggregationsValueCountAggregate | AggregationsStringTermsAggregate | AggregationsLongTermsAggregate | AggregationsDoubleTermsAggregate | AggregationsUnmappedTermsAggregate | AggregationsMultiTermsAggregate | AggregationsMissingAggregate | AggregationsFilterAggregate | AggregationsFiltersAggregate | AggregationsRangeAggregate | AggregationsDateRangeAggregate | AggregationsCompositeAggregate;
14633
+ export interface SecurityQueryApiKeysApiKeyAggregationContainer {
14634
+ aggregations?: Record<string, SecurityQueryApiKeysApiKeyAggregationContainer>;
14635
+ aggs?: Record<string, SecurityQueryApiKeysApiKeyAggregationContainer>;
14143
14636
  meta?: Metadata;
14144
14637
  cardinality?: AggregationsCardinalityAggregation;
14145
14638
  composite?: AggregationsCompositeAggregation;
14146
14639
  date_range?: AggregationsDateRangeAggregation;
14147
- filter?: SecurityQueryApiKeysAPIKeyQueryContainer;
14148
- filters?: SecurityQueryApiKeysAPIKeyFiltersAggregation;
14640
+ filter?: SecurityQueryApiKeysApiKeyQueryContainer;
14641
+ filters?: SecurityQueryApiKeysApiKeyFiltersAggregation;
14149
14642
  missing?: AggregationsMissingAggregation;
14150
14643
  range?: AggregationsRangeAggregation;
14151
14644
  terms?: AggregationsTermsAggregation;
14152
14645
  value_count?: AggregationsValueCountAggregation;
14153
14646
  }
14154
- export interface SecurityQueryApiKeysAPIKeyFiltersAggregation extends AggregationsBucketAggregationBase {
14155
- filters?: AggregationsBuckets<SecurityQueryApiKeysAPIKeyQueryContainer>;
14647
+ export interface SecurityQueryApiKeysApiKeyFiltersAggregation extends AggregationsBucketAggregationBase {
14648
+ filters?: AggregationsBuckets<SecurityQueryApiKeysApiKeyQueryContainer>;
14156
14649
  other_bucket?: boolean;
14157
14650
  other_bucket_key?: string;
14158
14651
  keyed?: boolean;
14159
14652
  }
14160
- export interface SecurityQueryApiKeysAPIKeyQueryContainer {
14653
+ export interface SecurityQueryApiKeysApiKeyQueryContainer {
14161
14654
  bool?: QueryDslBoolQuery;
14162
14655
  exists?: QueryDslExistsQuery;
14163
14656
  ids?: QueryDslIdsQuery;
@@ -14172,10 +14665,12 @@ export interface SecurityQueryApiKeysAPIKeyQueryContainer {
14172
14665
  }
14173
14666
  export interface SecurityQueryApiKeysRequest extends RequestBase {
14174
14667
  with_limited_by?: boolean;
14175
- aggregations?: Record<string, SecurityQueryApiKeysAPIKeyAggregationContainer>;
14668
+ with_profile_uid?: boolean;
14669
+ typed_keys?: boolean;
14670
+ aggregations?: Record<string, SecurityQueryApiKeysApiKeyAggregationContainer>;
14176
14671
  /** @alias aggregations */
14177
- aggs?: Record<string, SecurityQueryApiKeysAPIKeyAggregationContainer>;
14178
- query?: SecurityQueryApiKeysAPIKeyQueryContainer;
14672
+ aggs?: Record<string, SecurityQueryApiKeysApiKeyAggregationContainer>;
14673
+ query?: SecurityQueryApiKeysApiKeyQueryContainer;
14179
14674
  from?: integer;
14180
14675
  sort?: Sort;
14181
14676
  size?: integer;
@@ -14185,7 +14680,7 @@ export interface SecurityQueryApiKeysResponse {
14185
14680
  total: integer;
14186
14681
  count: integer;
14187
14682
  api_keys: SecurityApiKey[];
14188
- aggregations?: Record<AggregateName, SecurityQueryApiKeysAPIKeyAggregate>;
14683
+ aggregations?: Record<AggregateName, SecurityQueryApiKeysApiKeyAggregate>;
14189
14684
  }
14190
14685
  export interface SecuritySamlAuthenticateRequest extends RequestBase {
14191
14686
  content: string;
@@ -14883,7 +15378,7 @@ export interface SynonymsPutSynonymRequest extends RequestBase {
14883
15378
  }
14884
15379
  export interface SynonymsPutSynonymResponse {
14885
15380
  result: Result;
14886
- reload_analyzers_details: IndicesReloadSearchAnalyzersReloadDetails;
15381
+ reload_analyzers_details: IndicesReloadSearchAnalyzersReloadResult;
14887
15382
  }
14888
15383
  export interface SynonymsPutSynonymRuleRequest extends RequestBase {
14889
15384
  set_id: Id;