@elastic/elasticsearch 8.13.1 → 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 +576 -86
  94. package/lib/api/typesWithBodyKey.d.ts +630 -90
  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 +3 -3
  99. package/Makefile +0 -11
@@ -553,8 +553,8 @@ export interface KnnSearchResponse<TDocument = unknown> {
553
553
  export interface KnnSearchQuery {
554
554
  field: Field;
555
555
  query_vector: QueryVector;
556
- k: long;
557
- num_candidates: long;
556
+ k: integer;
557
+ num_candidates: integer;
558
558
  }
559
559
  export interface MgetMultiGetError {
560
560
  error: ErrorCause;
@@ -604,7 +604,7 @@ export interface MsearchMultisearchBody {
604
604
  ext?: Record<string, any>;
605
605
  stored_fields?: Fields;
606
606
  docvalue_fields?: (QueryDslFieldAndFormat | Field)[];
607
- knn?: KnnQuery | KnnQuery[];
607
+ knn?: KnnSearch | KnnSearch[];
608
608
  from?: integer;
609
609
  highlight?: SearchHighlight;
610
610
  indices_boost?: Record<IndexName, double>[];
@@ -680,7 +680,7 @@ export interface MsearchTemplateTemplateConfig {
680
680
  source?: string;
681
681
  }
682
682
  export interface MtermvectorsOperation {
683
- _id: Id;
683
+ _id?: Id;
684
684
  _index?: IndexName;
685
685
  doc?: any;
686
686
  fields?: Fields;
@@ -986,13 +986,14 @@ export interface SearchRequest extends RequestBase {
986
986
  track_total_hits?: SearchTrackHits;
987
987
  indices_boost?: Record<IndexName, double>[];
988
988
  docvalue_fields?: (QueryDslFieldAndFormat | Field)[];
989
- knn?: KnnQuery | KnnQuery[];
989
+ knn?: KnnSearch | KnnSearch[];
990
990
  rank?: RankContainer;
991
991
  min_score?: double;
992
992
  post_filter?: QueryDslQueryContainer;
993
993
  profile?: boolean;
994
994
  query?: QueryDslQueryContainer;
995
995
  rescore?: SearchRescore | SearchRescore[];
996
+ retriever?: RetrieverContainer;
996
997
  script_fields?: Record<string, ScriptField>;
997
998
  search_after?: SortResults;
998
999
  size?: integer;
@@ -1210,7 +1211,7 @@ export type SearchHighlighterTagsSchema = 'styled';
1210
1211
  export type SearchHighlighterType = 'plain' | 'fvh' | 'unified' | string;
1211
1212
  export interface SearchHit<TDocument = unknown> {
1212
1213
  _index: IndexName;
1213
- _id: Id;
1214
+ _id?: Id;
1214
1215
  _score?: double | null;
1215
1216
  _explanation?: ExplainExplanation;
1216
1217
  fields?: Record<string, any>;
@@ -1258,6 +1259,10 @@ export interface SearchInnerHitsResult {
1258
1259
  export interface SearchLaplaceSmoothingModel {
1259
1260
  alpha: double;
1260
1261
  }
1262
+ export interface SearchLearningToRank {
1263
+ model_id: string;
1264
+ params?: Record<string, any>;
1265
+ }
1261
1266
  export interface SearchLinearInterpolationSmoothingModel {
1262
1267
  bigram_lambda: double;
1263
1268
  trigram_lambda: double;
@@ -1344,8 +1349,9 @@ export interface SearchRegexOptions {
1344
1349
  max_determinized_states?: integer;
1345
1350
  }
1346
1351
  export interface SearchRescore {
1347
- query: SearchRescoreQuery;
1348
1352
  window_size?: integer;
1353
+ query?: SearchRescoreQuery;
1354
+ learning_to_rank?: SearchLearningToRank;
1349
1355
  }
1350
1356
  export interface SearchRescoreQuery {
1351
1357
  rescore_query: QueryDslQueryContainer;
@@ -1686,8 +1692,10 @@ export interface SpecUtilsBaseNode {
1686
1692
  roles?: NodeRoles;
1687
1693
  transport_address: TransportAddress;
1688
1694
  }
1695
+ export type SpecUtilsNullValue = null;
1689
1696
  export type SpecUtilsPipeSeparatedFlags<T = unknown> = T | string;
1690
1697
  export type SpecUtilsStringified<T = unknown> = T | string;
1698
+ export type SpecUtilsWithNullValue<T = unknown> = T | SpecUtilsNullValue;
1691
1699
  export interface AcknowledgedResponseBase {
1692
1700
  acknowledged: boolean;
1693
1701
  }
@@ -1752,8 +1760,8 @@ export type DFRBasicModel = 'be' | 'd' | 'g' | 'if' | 'in' | 'ine' | 'p';
1752
1760
  export type DataStreamName = string;
1753
1761
  export type DataStreamNames = DataStreamName | DataStreamName[];
1754
1762
  export type DateFormat = string;
1755
- export type DateMath = string;
1756
- export type DateTime = string | EpochTime<UnitMillis>;
1763
+ export type DateMath = string | Date;
1764
+ export type DateTime = string | EpochTime<UnitMillis> | Date;
1757
1765
  export type Distance = string;
1758
1766
  export type DistanceUnit = 'in' | 'ft' | 'yd' | 'mi' | 'nmi' | 'km' | 'm' | 'cm' | 'mm';
1759
1767
  export interface DocStats {
@@ -1929,12 +1937,28 @@ export interface InlineScript extends ScriptBase {
1929
1937
  source: string;
1930
1938
  }
1931
1939
  export type Ip = string;
1932
- export interface KnnQuery {
1940
+ export interface KnnQuery extends QueryDslQueryBase {
1933
1941
  field: Field;
1934
1942
  query_vector?: QueryVector;
1935
1943
  query_vector_builder?: QueryVectorBuilder;
1936
- k: long;
1937
- num_candidates: long;
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 {
1957
+ field: Field;
1958
+ query_vector?: QueryVector;
1959
+ query_vector_builder?: QueryVectorBuilder;
1960
+ k?: integer;
1961
+ num_candidates?: integer;
1938
1962
  boost?: float;
1939
1963
  filter?: QueryDslQueryContainer | QueryDslQueryContainer[];
1940
1964
  similarity?: float;
@@ -2028,19 +2052,24 @@ export interface PluginStats {
2028
2052
  }
2029
2053
  export type PropertyName = string;
2030
2054
  export interface QueryCacheStats {
2031
- cache_count: integer;
2032
- cache_size: integer;
2033
- evictions: integer;
2034
- hit_count: integer;
2055
+ cache_count: long;
2056
+ cache_size: long;
2057
+ evictions: long;
2058
+ hit_count: long;
2035
2059
  memory_size?: ByteSize;
2036
2060
  memory_size_in_bytes: long;
2037
- miss_count: integer;
2038
- total_count: integer;
2061
+ miss_count: long;
2062
+ total_count: long;
2039
2063
  }
2040
2064
  export type QueryVector = float[];
2041
2065
  export interface QueryVectorBuilder {
2042
2066
  text_embedding?: TextEmbedding;
2043
2067
  }
2068
+ export interface RRFRetriever extends RetrieverBase {
2069
+ retrievers: RetrieverContainer[];
2070
+ rank_constant?: integer;
2071
+ window_size?: integer;
2072
+ }
2044
2073
  export interface RankBase {
2045
2074
  }
2046
2075
  export interface RankContainer {
@@ -2079,6 +2108,14 @@ export interface Retries {
2079
2108
  bulk: long;
2080
2109
  search: long;
2081
2110
  }
2111
+ export interface RetrieverBase {
2112
+ filter?: QueryDslQueryContainer | QueryDslQueryContainer[];
2113
+ }
2114
+ export interface RetrieverContainer {
2115
+ standard?: StandardRetriever;
2116
+ knn?: KnnRetriever;
2117
+ rrf?: RRFRetriever;
2118
+ }
2082
2119
  export type Routing = string;
2083
2120
  export interface RrfRank {
2084
2121
  rank_constant?: long;
@@ -2204,6 +2241,14 @@ export type SortOptions = SortOptionsKeys & {
2204
2241
  };
2205
2242
  export type SortOrder = 'asc' | 'desc';
2206
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
+ }
2207
2252
  export interface StoreStats {
2208
2253
  size?: ByteSize;
2209
2254
  size_in_bytes: long;
@@ -2284,9 +2329,9 @@ export interface WktGeoBounds {
2284
2329
  export interface WriteResponseBase {
2285
2330
  _id: Id;
2286
2331
  _index: IndexName;
2287
- _primary_term: long;
2332
+ _primary_term?: long;
2288
2333
  result: Result;
2289
- _seq_no: SequenceNumber;
2334
+ _seq_no?: SequenceNumber;
2290
2335
  _shards: ShardStatistics;
2291
2336
  _version: VersionNumber;
2292
2337
  forced_refresh?: boolean;
@@ -2303,6 +2348,7 @@ export interface AggregationsAdjacencyMatrixAggregate extends AggregationsMultiB
2303
2348
  }
2304
2349
  export interface AggregationsAdjacencyMatrixAggregation extends AggregationsBucketAggregationBase {
2305
2350
  filters?: Record<string, QueryDslQueryContainer>;
2351
+ separator?: string;
2306
2352
  }
2307
2353
  export interface AggregationsAdjacencyMatrixBucketKeys extends AggregationsMultiBucketBase {
2308
2354
  key: string;
@@ -2316,8 +2362,6 @@ export interface AggregationsAggregateBase {
2316
2362
  }
2317
2363
  export type AggregationsAggregateOrder = Partial<Record<Field, SortOrder>> | Partial<Record<Field, SortOrder>>[];
2318
2364
  export interface AggregationsAggregation {
2319
- meta?: Metadata;
2320
- name?: string;
2321
2365
  }
2322
2366
  export interface AggregationsAggregationContainer {
2323
2367
  aggregations?: Record<string, AggregationsAggregationContainer>;
@@ -2401,9 +2445,9 @@ export interface AggregationsAggregationContainer {
2401
2445
  variable_width_histogram?: AggregationsVariableWidthHistogramAggregation;
2402
2446
  }
2403
2447
  export interface AggregationsAggregationRange {
2404
- from?: double | string | null;
2448
+ from?: double;
2405
2449
  key?: string;
2406
- to?: double | string | null;
2450
+ to?: double;
2407
2451
  }
2408
2452
  export interface AggregationsArrayPercentilesItem {
2409
2453
  key: string;
@@ -2449,7 +2493,7 @@ export interface AggregationsBoxPlotAggregate extends AggregationsAggregateBase
2449
2493
  export interface AggregationsBoxplotAggregation extends AggregationsMetricAggregationBase {
2450
2494
  compression?: double;
2451
2495
  }
2452
- export interface AggregationsBucketAggregationBase extends AggregationsAggregation {
2496
+ export interface AggregationsBucketAggregationBase {
2453
2497
  }
2454
2498
  export interface AggregationsBucketCorrelationAggregation extends AggregationsBucketPathAggregation {
2455
2499
  function: AggregationsBucketCorrelationFunction;
@@ -2473,7 +2517,7 @@ export interface AggregationsBucketKsAggregation extends AggregationsBucketPathA
2473
2517
  export interface AggregationsBucketMetricValueAggregate extends AggregationsSingleMetricAggregateBase {
2474
2518
  keys: string[];
2475
2519
  }
2476
- export interface AggregationsBucketPathAggregation extends AggregationsAggregation {
2520
+ export interface AggregationsBucketPathAggregation {
2477
2521
  buckets_path?: AggregationsBucketsPath;
2478
2522
  }
2479
2523
  export interface AggregationsBucketScriptAggregation extends AggregationsPipelineAggregationBase {
@@ -2482,7 +2526,7 @@ export interface AggregationsBucketScriptAggregation extends AggregationsPipelin
2482
2526
  export interface AggregationsBucketSelectorAggregation extends AggregationsPipelineAggregationBase {
2483
2527
  script?: Script;
2484
2528
  }
2485
- export interface AggregationsBucketSortAggregation extends AggregationsAggregation {
2529
+ export interface AggregationsBucketSortAggregation {
2486
2530
  from?: integer;
2487
2531
  gap_policy?: AggregationsGapPolicy;
2488
2532
  size?: integer;
@@ -2500,7 +2544,7 @@ export interface AggregationsCardinalityAggregation extends AggregationsMetricAg
2500
2544
  execution_hint?: AggregationsCardinalityExecutionMode;
2501
2545
  }
2502
2546
  export type AggregationsCardinalityExecutionMode = 'global_ordinals' | 'segment_ordinals' | 'direct' | 'save_memory_heuristic' | 'save_time_heuristic';
2503
- export interface AggregationsCategorizeTextAggregation extends AggregationsAggregation {
2547
+ export interface AggregationsCategorizeTextAggregation {
2504
2548
  field: Field;
2505
2549
  max_unique_tokens?: integer;
2506
2550
  max_matched_tokens?: integer;
@@ -2654,8 +2698,8 @@ export interface AggregationsEwmaMovingAverageAggregation extends AggregationsMo
2654
2698
  settings: AggregationsEwmaModelSettings;
2655
2699
  }
2656
2700
  export interface AggregationsExtendedBounds<T = unknown> {
2657
- max: T;
2658
- min: T;
2701
+ max?: T;
2702
+ min?: T;
2659
2703
  }
2660
2704
  export interface AggregationsExtendedStatsAggregate extends AggregationsStatsAggregate {
2661
2705
  sum_of_squares: double | null;
@@ -2966,7 +3010,7 @@ export interface AggregationsLongTermsBucketKeys extends AggregationsTermsBucket
2966
3010
  export type AggregationsLongTermsBucket = AggregationsLongTermsBucketKeys & {
2967
3011
  [property: string]: AggregationsAggregate | long | string;
2968
3012
  };
2969
- export interface AggregationsMatrixAggregation extends AggregationsAggregation {
3013
+ export interface AggregationsMatrixAggregation {
2970
3014
  fields?: Fields;
2971
3015
  missing?: Record<Field, double>;
2972
3016
  }
@@ -3343,7 +3387,7 @@ export interface AggregationsTTestAggregate extends AggregationsAggregateBase {
3343
3387
  value: double | null;
3344
3388
  value_as_string?: string;
3345
3389
  }
3346
- export interface AggregationsTTestAggregation extends AggregationsAggregation {
3390
+ export interface AggregationsTTestAggregation {
3347
3391
  a?: AggregationsTestPopulation;
3348
3392
  b?: AggregationsTestPopulation;
3349
3393
  type?: AggregationsTTestType;
@@ -3374,7 +3418,7 @@ export interface AggregationsTermsAggregation extends AggregationsBucketAggregat
3374
3418
  export type AggregationsTermsAggregationCollectMode = 'depth_first' | 'breadth_first';
3375
3419
  export type AggregationsTermsAggregationExecutionHint = 'map' | 'global_ordinals' | 'global_ordinals_hash' | 'global_ordinals_low_cardinality';
3376
3420
  export interface AggregationsTermsBucketBase extends AggregationsMultiBucketBase {
3377
- doc_count_error?: long;
3421
+ doc_count_error_upper_bound?: long;
3378
3422
  }
3379
3423
  export type AggregationsTermsExclude = string | string[];
3380
3424
  export type AggregationsTermsInclude = string | string[] | AggregationsTermsPartition;
@@ -3391,8 +3435,9 @@ export interface AggregationsTopHitsAggregate extends AggregationsAggregateBase
3391
3435
  hits: SearchHitsMetadata<any>;
3392
3436
  }
3393
3437
  export interface AggregationsTopHitsAggregation extends AggregationsMetricAggregationBase {
3394
- docvalue_fields?: Fields;
3438
+ docvalue_fields?: (QueryDslFieldAndFormat | Field)[];
3395
3439
  explain?: boolean;
3440
+ fields?: (QueryDslFieldAndFormat | Field)[];
3396
3441
  from?: integer;
3397
3442
  highlight?: SearchHighlight;
3398
3443
  script_fields?: Record<string, ScriptField>;
@@ -3442,6 +3487,7 @@ export interface AggregationsVariableWidthHistogramAggregation {
3442
3487
  buckets?: integer;
3443
3488
  shard_size?: integer;
3444
3489
  initial_buffer?: integer;
3490
+ script?: Script;
3445
3491
  }
3446
3492
  export interface AggregationsVariableWidthHistogramBucketKeys extends AggregationsMultiBucketBase {
3447
3493
  min: double;
@@ -3454,7 +3500,7 @@ export interface AggregationsVariableWidthHistogramBucketKeys extends Aggregatio
3454
3500
  export type AggregationsVariableWidthHistogramBucket = AggregationsVariableWidthHistogramBucketKeys & {
3455
3501
  [property: string]: AggregationsAggregate | double | string | long;
3456
3502
  };
3457
- export interface AggregationsWeightedAverageAggregation extends AggregationsAggregation {
3503
+ export interface AggregationsWeightedAverageAggregation {
3458
3504
  format?: string;
3459
3505
  value?: AggregationsWeightedAverageValue;
3460
3506
  value_type?: AggregationsValueType;
@@ -3566,6 +3612,7 @@ export interface AnalysisFingerprintTokenFilter extends AnalysisTokenFilterBase
3566
3612
  }
3567
3613
  export interface AnalysisHtmlStripCharFilter extends AnalysisCharFilterBase {
3568
3614
  type: 'html_strip';
3615
+ escaped_tags?: string[];
3569
3616
  }
3570
3617
  export interface AnalysisHunspellTokenFilter extends AnalysisTokenFilterBase {
3571
3618
  type: 'hunspell';
@@ -3589,16 +3636,16 @@ export type AnalysisIcuCollationStrength = 'primary' | 'secondary' | 'tertiary'
3589
3636
  export interface AnalysisIcuCollationTokenFilter extends AnalysisTokenFilterBase {
3590
3637
  type: 'icu_collation';
3591
3638
  alternate?: AnalysisIcuCollationAlternate;
3592
- caseFirst?: AnalysisIcuCollationCaseFirst;
3593
- caseLevel?: boolean;
3639
+ case_first?: AnalysisIcuCollationCaseFirst;
3640
+ case_level?: boolean;
3594
3641
  country?: string;
3595
3642
  decomposition?: AnalysisIcuCollationDecomposition;
3596
- hiraganaQuaternaryMode?: boolean;
3643
+ hiragana_quaternary_mode?: boolean;
3597
3644
  language?: string;
3598
3645
  numeric?: boolean;
3599
3646
  rules?: string;
3600
3647
  strength?: AnalysisIcuCollationStrength;
3601
- variableTop?: string;
3648
+ variable_top?: string;
3602
3649
  variant?: string;
3603
3650
  }
3604
3651
  export interface AnalysisIcuFoldingTokenFilter extends AnalysisTokenFilterBase {
@@ -3811,7 +3858,7 @@ export type AnalysisPhoneticRuleType = 'approx' | 'exact';
3811
3858
  export interface AnalysisPhoneticTokenFilter extends AnalysisTokenFilterBase {
3812
3859
  type: 'phonetic';
3813
3860
  encoder: AnalysisPhoneticEncoder;
3814
- languageset: AnalysisPhoneticLanguage[];
3861
+ languageset: AnalysisPhoneticLanguage | AnalysisPhoneticLanguage[];
3815
3862
  max_code_len?: integer;
3816
3863
  name_type: AnalysisPhoneticNameType;
3817
3864
  replace?: boolean;
@@ -3895,6 +3942,7 @@ export interface AnalysisSynonymGraphTokenFilter extends AnalysisTokenFilterBase
3895
3942
  lenient?: boolean;
3896
3943
  synonyms?: string[];
3897
3944
  synonyms_path?: string;
3945
+ synonyms_set?: string;
3898
3946
  tokenizer?: string;
3899
3947
  updateable?: boolean;
3900
3948
  }
@@ -3905,6 +3953,7 @@ export interface AnalysisSynonymTokenFilter extends AnalysisTokenFilterBase {
3905
3953
  lenient?: boolean;
3906
3954
  synonyms?: string[];
3907
3955
  synonyms_path?: string;
3956
+ synonyms_set?: string;
3908
3957
  tokenizer?: string;
3909
3958
  updateable?: boolean;
3910
3959
  }
@@ -3913,7 +3962,7 @@ export type AnalysisTokenFilter = string | AnalysisTokenFilterDefinition;
3913
3962
  export interface AnalysisTokenFilterBase {
3914
3963
  version?: VersionString;
3915
3964
  }
3916
- 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;
3917
3966
  export type AnalysisTokenizer = string | AnalysisTokenizerDefinition;
3918
3967
  export interface AnalysisTokenizerBase {
3919
3968
  version?: VersionString;
@@ -4063,6 +4112,7 @@ export interface MappingDenseVectorIndexOptions {
4063
4112
  }
4064
4113
  export interface MappingDenseVectorProperty extends MappingPropertyBase {
4065
4114
  type: 'dense_vector';
4115
+ element_type?: string;
4066
4116
  dims?: integer;
4067
4117
  similarity?: string;
4068
4118
  index?: boolean;
@@ -4080,7 +4130,7 @@ export interface MappingDoubleRangeProperty extends MappingRangePropertyBase {
4080
4130
  }
4081
4131
  export type MappingDynamicMapping = boolean | 'strict' | 'runtime' | 'true' | 'false';
4082
4132
  export interface MappingDynamicProperty extends MappingDocValuesPropertyBase {
4083
- type: '{dynamic_property}';
4133
+ type: '{dynamic_type}';
4084
4134
  enabled?: boolean;
4085
4135
  null_value?: FieldValue;
4086
4136
  boost?: double;
@@ -4106,12 +4156,14 @@ export interface MappingDynamicProperty extends MappingDocValuesPropertyBase {
4106
4156
  }
4107
4157
  export interface MappingDynamicTemplate {
4108
4158
  mapping?: MappingProperty;
4109
- match?: string;
4110
- 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[];
4111
4166
  match_pattern?: MappingMatchType;
4112
- path_match?: string;
4113
- path_unmatch?: string;
4114
- unmatch?: string;
4115
4167
  }
4116
4168
  export interface MappingFieldAliasProperty extends MappingPropertyBase {
4117
4169
  path?: Field;
@@ -4124,7 +4176,7 @@ export interface MappingFieldMapping {
4124
4176
  export interface MappingFieldNamesField {
4125
4177
  enabled: boolean;
4126
4178
  }
4127
- 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';
4128
4180
  export interface MappingFlattenedProperty extends MappingPropertyBase {
4129
4181
  boost?: double;
4130
4182
  depth_limit?: integer;
@@ -4171,6 +4223,25 @@ export interface MappingHistogramProperty extends MappingPropertyBase {
4171
4223
  ignore_malformed?: boolean;
4172
4224
  type: 'histogram';
4173
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
+ }
4174
4245
  export interface MappingIndexField {
4175
4246
  enabled: boolean;
4176
4247
  }
@@ -4205,6 +4276,8 @@ export interface MappingKeywordProperty extends MappingDocValuesPropertyBase {
4205
4276
  eager_global_ordinals?: boolean;
4206
4277
  index?: boolean;
4207
4278
  index_options?: MappingIndexOptions;
4279
+ script?: Script;
4280
+ on_script_error?: MappingOnScriptError;
4208
4281
  normalizer?: string;
4209
4282
  norms?: boolean;
4210
4283
  null_value?: string;
@@ -4260,7 +4333,7 @@ export interface MappingPointProperty extends MappingDocValuesPropertyBase {
4260
4333
  null_value?: string;
4261
4334
  type: 'point';
4262
4335
  }
4263
- 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;
4264
4337
  export interface MappingPropertyBase {
4265
4338
  meta?: Record<string, string>;
4266
4339
  properties?: Record<PropertyName, MappingProperty>;
@@ -4297,7 +4370,7 @@ export interface MappingRuntimeFieldFetchFields {
4297
4370
  field: Field;
4298
4371
  format?: string;
4299
4372
  }
4300
- 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';
4301
4374
  export type MappingRuntimeFields = Record<Field, MappingRuntimeField>;
4302
4375
  export interface MappingScaledFloatNumberProperty extends MappingNumberPropertyBase {
4303
4376
  type: 'scaled_float';
@@ -4725,7 +4798,6 @@ export interface QueryDslMoreLikeThisQuery extends QueryDslQueryBase {
4725
4798
  minimum_should_match?: MinimumShouldMatch;
4726
4799
  min_term_freq?: integer;
4727
4800
  min_word_length?: integer;
4728
- per_field_analyzer?: Record<Field, string>;
4729
4801
  routing?: Routing;
4730
4802
  stop_words?: AnalysisStopWords;
4731
4803
  unlike?: QueryDslLike | QueryDslLike[];
@@ -4850,7 +4922,7 @@ export interface QueryDslQueryContainer {
4850
4922
  shape?: QueryDslShapeQuery;
4851
4923
  simple_query_string?: QueryDslSimpleQueryStringQuery;
4852
4924
  span_containing?: QueryDslSpanContainingQuery;
4853
- field_masking_span?: QueryDslSpanFieldMaskingQuery;
4925
+ span_field_masking?: QueryDslSpanFieldMaskingQuery;
4854
4926
  span_first?: QueryDslSpanFirstQuery;
4855
4927
  span_multi?: QueryDslSpanMultiTermQuery;
4856
4928
  span_near?: QueryDslSpanNearQuery;
@@ -5008,7 +5080,7 @@ export interface QueryDslSpanOrQuery extends QueryDslQueryBase {
5008
5080
  }
5009
5081
  export interface QueryDslSpanQuery {
5010
5082
  span_containing?: QueryDslSpanContainingQuery;
5011
- field_masking_span?: QueryDslSpanFieldMaskingQuery;
5083
+ span_field_masking?: QueryDslSpanFieldMaskingQuery;
5012
5084
  span_first?: QueryDslSpanFirstQuery;
5013
5085
  span_gap?: QueryDslSpanGapQuery;
5014
5086
  span_multi?: QueryDslSpanMultiTermQuery;
@@ -5169,7 +5241,7 @@ export interface AsyncSearchSubmitRequest extends RequestBase {
5169
5241
  track_total_hits?: SearchTrackHits;
5170
5242
  indices_boost?: Record<IndexName, double>[];
5171
5243
  docvalue_fields?: (QueryDslFieldAndFormat | Field)[];
5172
- knn?: KnnQuery | KnnQuery[];
5244
+ knn?: KnnSearch | KnnSearch[];
5173
5245
  min_score?: double;
5174
5246
  post_filter?: QueryDslQueryContainer;
5175
5247
  profile?: boolean;
@@ -7382,10 +7454,10 @@ export interface ClusterPutComponentTemplateRequest extends RequestBase {
7382
7454
  name: Name;
7383
7455
  create?: boolean;
7384
7456
  master_timeout?: Duration;
7385
- allow_auto_create?: boolean;
7386
7457
  template: IndicesIndexState;
7387
7458
  version?: VersionNumber;
7388
7459
  _meta?: Metadata;
7460
+ deprecated?: boolean;
7389
7461
  }
7390
7462
  export type ClusterPutComponentTemplateResponse = AcknowledgedResponseBase;
7391
7463
  export interface ClusterPutSettingsRequest extends RequestBase {
@@ -7722,6 +7794,393 @@ export interface ClusterStatsStatsResponseBase extends NodesNodesResponseBase {
7722
7794
  status: HealthStatus;
7723
7795
  timestamp: long;
7724
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
+ }
7725
8184
  export interface DanglingIndicesDeleteDanglingIndexRequest extends RequestBase {
7726
8185
  index_uuid: Uuid;
7727
8186
  accept_data_loss: boolean;
@@ -8413,7 +8872,7 @@ export interface IndicesIndexSettingsAnalysis {
8413
8872
  tokenizer?: Record<string, AnalysisTokenizer>;
8414
8873
  }
8415
8874
  export interface IndicesIndexSettingsLifecycle {
8416
- name: Name;
8875
+ name?: Name;
8417
8876
  indexing_complete?: SpecUtilsStringified<boolean>;
8418
8877
  origination_date?: long;
8419
8878
  parse_origination_date?: boolean;
@@ -8486,22 +8945,22 @@ export interface IndicesMappingLimitSettings {
8486
8945
  ignore_malformed?: boolean;
8487
8946
  }
8488
8947
  export interface IndicesMappingLimitSettingsDepth {
8489
- limit?: integer;
8948
+ limit?: long;
8490
8949
  }
8491
8950
  export interface IndicesMappingLimitSettingsDimensionFields {
8492
- limit?: integer;
8951
+ limit?: long;
8493
8952
  }
8494
8953
  export interface IndicesMappingLimitSettingsFieldNameLength {
8495
8954
  limit?: long;
8496
8955
  }
8497
8956
  export interface IndicesMappingLimitSettingsNestedFields {
8498
- limit?: integer;
8957
+ limit?: long;
8499
8958
  }
8500
8959
  export interface IndicesMappingLimitSettingsNestedObjects {
8501
- limit?: integer;
8960
+ limit?: long;
8502
8961
  }
8503
8962
  export interface IndicesMappingLimitSettingsTotalFields {
8504
- limit?: integer;
8963
+ limit?: long;
8505
8964
  }
8506
8965
  export interface IndicesMerge {
8507
8966
  scheduler?: IndicesMergeScheduler;
@@ -8602,7 +9061,7 @@ export interface IndicesStorage {
8602
9061
  type: IndicesStorageType;
8603
9062
  allow_mmap?: boolean;
8604
9063
  }
8605
- export type IndicesStorageType = 'fs' | '' | 'niofs' | 'mmapfs' | 'hybridfs' | string;
9064
+ export type IndicesStorageType = 'fs' | 'niofs' | 'mmapfs' | 'hybridfs' | string;
8606
9065
  export interface IndicesTemplateMapping {
8607
9066
  aliases: Record<IndexName, IndicesAlias>;
8608
9067
  index_patterns: Name[];
@@ -9127,13 +9586,18 @@ export interface IndicesPutIndexTemplateIndexTemplateMapping {
9127
9586
  export interface IndicesPutIndexTemplateRequest extends RequestBase {
9128
9587
  name: Name;
9129
9588
  create?: boolean;
9589
+ master_timeout?: Duration;
9590
+ cause?: string;
9130
9591
  index_patterns?: Indices;
9131
9592
  composed_of?: Name[];
9132
9593
  template?: IndicesPutIndexTemplateIndexTemplateMapping;
9133
9594
  data_stream?: IndicesDataStreamVisibility;
9134
- priority?: integer;
9595
+ priority?: long;
9135
9596
  version?: VersionNumber;
9136
9597
  _meta?: Metadata;
9598
+ allow_auto_create?: boolean;
9599
+ ignore_missing_component_templates?: string[];
9600
+ deprecated?: boolean;
9137
9601
  }
9138
9602
  export type IndicesPutIndexTemplateResponse = AcknowledgedResponseBase;
9139
9603
  export interface IndicesPutMappingRequest extends RequestBase {
@@ -9172,14 +9636,13 @@ export type IndicesPutSettingsResponse = AcknowledgedResponseBase;
9172
9636
  export interface IndicesPutTemplateRequest extends RequestBase {
9173
9637
  name: Name;
9174
9638
  create?: boolean;
9175
- flat_settings?: boolean;
9176
9639
  master_timeout?: Duration;
9177
- timeout?: Duration;
9640
+ cause?: string;
9178
9641
  aliases?: Record<IndexName, IndicesAlias>;
9179
9642
  index_patterns?: string | string[];
9180
9643
  mappings?: MappingTypeMapping;
9181
9644
  order?: integer;
9182
- settings?: Record<string, any>;
9645
+ settings?: IndicesIndexSettings;
9183
9646
  version?: VersionNumber;
9184
9647
  }
9185
9648
  export type IndicesPutTemplateResponse = AcknowledgedResponseBase;
@@ -9468,19 +9931,12 @@ export interface IndicesShrinkResponse {
9468
9931
  }
9469
9932
  export interface IndicesSimulateIndexTemplateRequest extends RequestBase {
9470
9933
  name: Name;
9471
- create?: boolean;
9472
9934
  master_timeout?: Duration;
9473
9935
  include_defaults?: boolean;
9474
- allow_auto_create?: boolean;
9475
- index_patterns?: Indices;
9476
- composed_of?: Name[];
9477
- template?: IndicesPutIndexTemplateIndexTemplateMapping;
9478
- data_stream?: IndicesDataStreamVisibility;
9479
- priority?: integer;
9480
- version?: VersionNumber;
9481
- _meta?: Metadata;
9482
9936
  }
9483
9937
  export interface IndicesSimulateIndexTemplateResponse {
9938
+ overlapping?: IndicesSimulateTemplateOverlapping[];
9939
+ template: IndicesSimulateTemplateTemplate;
9484
9940
  }
9485
9941
  export interface IndicesSimulateTemplateOverlapping {
9486
9942
  name: Name;
@@ -9491,7 +9947,16 @@ export interface IndicesSimulateTemplateRequest extends RequestBase {
9491
9947
  create?: boolean;
9492
9948
  master_timeout?: Duration;
9493
9949
  include_defaults?: boolean;
9494
- 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;
9495
9960
  }
9496
9961
  export interface IndicesSimulateTemplateResponse {
9497
9962
  overlapping?: IndicesSimulateTemplateOverlapping[];
@@ -9728,12 +10193,17 @@ export interface IndicesValidateQueryResponse {
9728
10193
  valid: boolean;
9729
10194
  error?: string;
9730
10195
  }
10196
+ export interface InferenceCompletionResult {
10197
+ result: string;
10198
+ }
9731
10199
  export type InferenceDenseByteVector = byte[];
9732
10200
  export type InferenceDenseVector = float[];
9733
10201
  export interface InferenceInferenceResult {
9734
10202
  text_embedding_bytes?: InferenceTextEmbeddingByteResult[];
9735
10203
  text_embedding?: InferenceTextEmbeddingResult[];
9736
10204
  sparse_embedding?: InferenceSparseEmbeddingResult[];
10205
+ completion?: InferenceCompletionResult[];
10206
+ rerank?: InferenceRankedDocument[];
9737
10207
  }
9738
10208
  export interface InferenceModelConfig {
9739
10209
  service: string;
@@ -9744,13 +10214,18 @@ export interface InferenceModelConfigContainer extends InferenceModelConfig {
9744
10214
  model_id: string;
9745
10215
  task_type: InferenceTaskType;
9746
10216
  }
10217
+ export interface InferenceRankedDocument {
10218
+ index: integer;
10219
+ score: float;
10220
+ text?: string;
10221
+ }
9747
10222
  export type InferenceServiceSettings = any;
9748
10223
  export interface InferenceSparseEmbeddingResult {
9749
10224
  embedding: InferenceSparseVector;
9750
10225
  }
9751
10226
  export type InferenceSparseVector = Record<string, float>;
9752
10227
  export type InferenceTaskSettings = any;
9753
- export type InferenceTaskType = 'sparse_embedding' | 'text_embedding';
10228
+ export type InferenceTaskType = 'sparse_embedding' | 'text_embedding' | 'rerank' | 'completion';
9754
10229
  export interface InferenceTextEmbeddingByteResult {
9755
10230
  embedding: InferenceDenseByteVector;
9756
10231
  }
@@ -9772,6 +10247,8 @@ export interface InferenceGetModelResponse {
9772
10247
  export interface InferenceInferenceRequest extends RequestBase {
9773
10248
  task_type?: InferenceTaskType;
9774
10249
  inference_id: Id;
10250
+ timeout?: Duration;
10251
+ query?: string;
9775
10252
  input: string | string[];
9776
10253
  task_settings?: InferenceTaskSettings;
9777
10254
  }
@@ -10006,6 +10483,7 @@ export interface IngestProcessorContainer {
10006
10483
  }
10007
10484
  export interface IngestRemoveProcessor extends IngestProcessorBase {
10008
10485
  field: Fields;
10486
+ keep?: Fields;
10009
10487
  ignore_missing?: boolean;
10010
10488
  }
10011
10489
  export interface IngestRenameProcessor extends IngestProcessorBase {
@@ -10902,7 +11380,7 @@ export interface MlInferenceConfigUpdateContainer {
10902
11380
  export interface MlInferenceResponseResult {
10903
11381
  entities?: MlTrainedModelEntities[];
10904
11382
  is_truncated?: boolean;
10905
- predicted_value?: MlPredictedValue[];
11383
+ predicted_value?: MlPredictedValue | MlPredictedValue[];
10906
11384
  predicted_value_sequence?: string;
10907
11385
  prediction_probability?: double;
10908
11386
  prediction_score?: double;
@@ -12385,6 +12863,13 @@ export interface MlUpdateModelSnapshotResponse {
12385
12863
  acknowledged: boolean;
12386
12864
  model: MlModelSnapshot;
12387
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
+ }
12388
12873
  export interface MlUpgradeJobSnapshotRequest extends RequestBase {
12389
12874
  job_id: Id;
12390
12875
  snapshot_id: Id;
@@ -12974,7 +13459,7 @@ export interface NodesInfoNodeInfoRepositoriesUrl {
12974
13459
  }
12975
13460
  export interface NodesInfoNodeInfoScript {
12976
13461
  allowed_types: string;
12977
- disable_max_compilations_rate: string;
13462
+ disable_max_compilations_rate?: string;
12978
13463
  }
12979
13464
  export interface NodesInfoNodeInfoSearch {
12980
13465
  remote: NodesInfoNodeInfoSearchRemote;
@@ -12989,7 +13474,7 @@ export interface NodesInfoNodeInfoSettings {
12989
13474
  repositories?: NodesInfoNodeInfoRepositories;
12990
13475
  discovery?: NodesInfoNodeInfoDiscover;
12991
13476
  action?: NodesInfoNodeInfoAction;
12992
- client: NodesInfoNodeInfoClient;
13477
+ client?: NodesInfoNodeInfoClient;
12993
13478
  http: NodesInfoNodeInfoSettingsHttp;
12994
13479
  bootstrap?: NodesInfoNodeInfoBootstrap;
12995
13480
  transport: NodesInfoNodeInfoSettingsTransport;
@@ -13055,7 +13540,7 @@ export interface NodesInfoNodeInfoSettingsIngest {
13055
13540
  inference?: NodesInfoNodeInfoIngestInfo;
13056
13541
  }
13057
13542
  export interface NodesInfoNodeInfoSettingsNetwork {
13058
- host: Host;
13543
+ host?: Host;
13059
13544
  }
13060
13545
  export interface NodesInfoNodeInfoSettingsNode {
13061
13546
  name: Name;
@@ -13478,6 +13963,7 @@ export interface SearchApplicationPutBehavioralAnalyticsRequest extends RequestB
13478
13963
  export type SearchApplicationPutBehavioralAnalyticsResponse = SearchApplicationPutBehavioralAnalyticsAnalyticsAcknowledgeResponseBase;
13479
13964
  export interface SearchApplicationSearchRequest extends RequestBase {
13480
13965
  name: Name;
13966
+ typed_keys?: boolean;
13481
13967
  params?: Record<string, any>;
13482
13968
  }
13483
13969
  export type SearchApplicationSearchResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = SearchResponseBody<TDocument, TAggregations>;
@@ -13545,7 +14031,9 @@ export interface SecurityApiKey {
13545
14031
  invalidated?: boolean;
13546
14032
  name: Name;
13547
14033
  realm?: string;
14034
+ realm_type?: string;
13548
14035
  username?: Username;
14036
+ profile_uid?: string;
13549
14037
  metadata?: Metadata;
13550
14038
  role_descriptors?: Record<string, SecurityRoleDescriptor>;
13551
14039
  limited_by?: Record<string, SecurityRoleDescriptor>[];
@@ -13562,7 +14050,7 @@ export interface SecurityApplicationPrivileges {
13562
14050
  export interface SecurityClusterNode {
13563
14051
  name: Name;
13564
14052
  }
13565
- 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;
13566
14054
  export interface SecurityCreatedStatus {
13567
14055
  created: boolean;
13568
14056
  }
@@ -13579,7 +14067,7 @@ export interface SecurityGlobalPrivilege {
13579
14067
  application: SecurityApplicationGlobalUserPrivileges;
13580
14068
  }
13581
14069
  export type SecurityGrantType = 'password' | 'access_token';
13582
- 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;
13583
14071
  export interface SecurityIndicesPrivileges {
13584
14072
  field_security?: SecurityFieldSecurity;
13585
14073
  names: Indices;
@@ -13618,9 +14106,9 @@ export interface SecurityRoleDescriptorRead {
13618
14106
  export interface SecurityRoleMapping {
13619
14107
  enabled: boolean;
13620
14108
  metadata: Metadata;
13621
- roles: string[];
13622
- rules: SecurityRoleMappingRule;
14109
+ roles?: string[];
13623
14110
  role_templates?: SecurityRoleTemplate[];
14111
+ rules: SecurityRoleMappingRule;
13624
14112
  }
13625
14113
  export interface SecurityRoleMappingRule {
13626
14114
  any?: SecurityRoleMappingRule[];
@@ -13877,6 +14365,7 @@ export interface SecurityGetApiKeyRequest extends RequestBase {
13877
14365
  username?: Username;
13878
14366
  with_limited_by?: boolean;
13879
14367
  active_only?: boolean;
14368
+ with_profile_uid?: boolean;
13880
14369
  }
13881
14370
  export interface SecurityGetApiKeyResponse {
13882
14371
  api_keys: SecurityApiKey[];
@@ -14176,6 +14665,7 @@ export interface SecurityQueryApiKeysApiKeyQueryContainer {
14176
14665
  }
14177
14666
  export interface SecurityQueryApiKeysRequest extends RequestBase {
14178
14667
  with_limited_by?: boolean;
14668
+ with_profile_uid?: boolean;
14179
14669
  typed_keys?: boolean;
14180
14670
  aggregations?: Record<string, SecurityQueryApiKeysApiKeyAggregationContainer>;
14181
14671
  /** @alias aggregations */
@@ -14888,7 +15378,7 @@ export interface SynonymsPutSynonymRequest extends RequestBase {
14888
15378
  }
14889
15379
  export interface SynonymsPutSynonymResponse {
14890
15380
  result: Result;
14891
- reload_analyzers_details: IndicesReloadSearchAnalyzersReloadDetails;
15381
+ reload_analyzers_details: IndicesReloadSearchAnalyzersReloadResult;
14892
15382
  }
14893
15383
  export interface SynonymsPutSynonymRuleRequest extends RequestBase {
14894
15384
  set_id: Id;