@elastic/elasticsearch 8.19.0 → 8.19.2

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 (42) hide show
  1. package/lib/api/api/bulk.d.ts +1 -1
  2. package/lib/api/api/capabilities.d.ts +5 -5
  3. package/lib/api/api/capabilities.js +1 -0
  4. package/lib/api/api/capabilities.js.map +1 -1
  5. package/lib/api/api/connector.d.ts +14 -14
  6. package/lib/api/api/connector.js +36 -7
  7. package/lib/api/api/connector.js.map +1 -1
  8. package/lib/api/api/delete_by_query.js +1 -1
  9. package/lib/api/api/delete_by_query.js.map +1 -1
  10. package/lib/api/api/fleet.d.ts +9 -9
  11. package/lib/api/api/fleet.js +19 -5
  12. package/lib/api/api/fleet.js.map +1 -1
  13. package/lib/api/api/indices.d.ts +27 -27
  14. package/lib/api/api/indices.js +39 -11
  15. package/lib/api/api/indices.js.map +1 -1
  16. package/lib/api/api/inference.d.ts +2 -2
  17. package/lib/api/api/inference.js +5 -1
  18. package/lib/api/api/inference.js.map +1 -1
  19. package/lib/api/api/ml.js +51 -9
  20. package/lib/api/api/ml.js.map +1 -1
  21. package/lib/api/api/monitoring.js +2 -5
  22. package/lib/api/api/monitoring.js.map +1 -1
  23. package/lib/api/api/profiling.d.ts +13 -13
  24. package/lib/api/api/profiling.js +31 -9
  25. package/lib/api/api/profiling.js.map +1 -1
  26. package/lib/api/api/reindex.js +1 -1
  27. package/lib/api/api/reindex.js.map +1 -1
  28. package/lib/api/api/snapshot.d.ts +5 -5
  29. package/lib/api/api/snapshot.js +1 -1
  30. package/lib/api/api/snapshot.js.map +1 -1
  31. package/lib/api/api/streams.d.ts +15 -15
  32. package/lib/api/api/streams.js +3 -0
  33. package/lib/api/api/streams.js.map +1 -1
  34. package/lib/api/api/transform.d.ts +11 -5
  35. package/lib/api/api/transform.js +22 -0
  36. package/lib/api/api/transform.js.map +1 -1
  37. package/lib/api/types.d.ts +497 -110
  38. package/lib/api/typesWithBodyKey.d.ts +532 -116
  39. package/lib/client.d.ts +1 -1
  40. package/lib/client.js +6 -1
  41. package/lib/client.js.map +1 -1
  42. package/package.json +5 -5
@@ -82,6 +82,24 @@ export interface BulkWriteOperation extends BulkOperationBase {
82
82
  pipeline?: string;
83
83
  require_alias?: boolean;
84
84
  }
85
+ export interface CapabilitiesFailedNodeException {
86
+ node_id: Id;
87
+ }
88
+ export interface CapabilitiesRequest extends RequestBase {
89
+ method?: CapabilitiesRestMethod;
90
+ path?: string;
91
+ parameters?: string | string[];
92
+ capabilities?: string | string[];
93
+ local_only?: boolean;
94
+ timeout?: Duration;
95
+ }
96
+ export interface CapabilitiesResponse {
97
+ _nodes: NodeStatistics;
98
+ cluster_name: Name;
99
+ supported: boolean | null;
100
+ failures?: CapabilitiesFailedNodeException[];
101
+ }
102
+ export type CapabilitiesRestMethod = 'GET' | 'HEAD' | 'POST' | 'PUT' | 'DELETE';
85
103
  export interface ClearScrollRequest extends RequestBase {
86
104
  scroll_id?: ScrollIds;
87
105
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
@@ -181,7 +199,6 @@ export interface DeleteByQueryRequest extends RequestBase {
181
199
  search_timeout?: Duration;
182
200
  search_type?: SearchType;
183
201
  slices?: Slices;
184
- sort?: string[];
185
202
  stats?: string[];
186
203
  terminate_after?: long;
187
204
  timeout?: Duration;
@@ -193,6 +210,7 @@ export interface DeleteByQueryRequest extends RequestBase {
193
210
  max_docs?: long;
194
211
  query?: QueryDslQueryContainer;
195
212
  slice?: SlicedScroll;
213
+ sort?: Sort;
196
214
  };
197
215
  }
198
216
  export interface DeleteByQueryResponse {
@@ -215,7 +233,7 @@ export interface DeleteByQueryResponse {
215
233
  }
216
234
  export interface DeleteByQueryRethrottleRequest extends RequestBase {
217
235
  task_id: TaskId;
218
- requests_per_second?: float;
236
+ requests_per_second: float;
219
237
  }
220
238
  export type DeleteByQueryRethrottleResponse = TasksTaskListResponseBase;
221
239
  export interface DeleteScriptRequest extends RequestBase {
@@ -922,7 +940,6 @@ export interface ReindexRequest extends RequestBase {
922
940
  dest: ReindexDestination;
923
941
  max_docs?: long;
924
942
  script?: Script | string;
925
- size?: long;
926
943
  source: ReindexSource;
927
944
  };
928
945
  }
@@ -951,7 +968,7 @@ export interface ReindexSource {
951
968
  size?: integer;
952
969
  slice?: SlicedScroll;
953
970
  sort?: Sort;
954
- _source?: Fields;
971
+ _source?: SearchSourceConfig;
955
972
  runtime_mappings?: MappingRuntimeFields;
956
973
  }
957
974
  export interface ReindexRethrottleReindexNode extends SpecUtilsBaseNode {
@@ -986,7 +1003,7 @@ export interface ReindexRethrottleReindexTask {
986
1003
  }
987
1004
  export interface ReindexRethrottleRequest extends RequestBase {
988
1005
  task_id: Id;
989
- requests_per_second?: float;
1006
+ requests_per_second: float;
990
1007
  }
991
1008
  export interface ReindexRethrottleResponse {
992
1009
  nodes: Record<string, ReindexRethrottleReindexNode>;
@@ -1470,7 +1487,6 @@ export interface SearchPhraseSuggester extends SearchSuggesterBase {
1470
1487
  separator?: string;
1471
1488
  shard_size?: integer;
1472
1489
  smoothing?: SearchSmoothingModelContainer;
1473
- text?: string;
1474
1490
  token_limit?: integer;
1475
1491
  }
1476
1492
  export interface SearchPointInTimeReference {
@@ -1606,7 +1622,6 @@ export interface SearchTermSuggester extends SearchSuggesterBase {
1606
1622
  sort?: SearchSuggestSort;
1607
1623
  string_distance?: SearchStringDistance;
1608
1624
  suggest_mode?: SuggestMode;
1609
- text?: string;
1610
1625
  }
1611
1626
  export interface SearchTotalHits {
1612
1627
  relation: SearchTotalHitsRelation;
@@ -1753,7 +1768,7 @@ export interface TermvectorsRequest<TDocument = unknown> extends RequestBase {
1753
1768
  doc?: TDocument;
1754
1769
  filter?: TermvectorsFilter;
1755
1770
  per_field_analyzer?: Record<Field, string>;
1756
- fields?: Fields;
1771
+ fields?: Field[];
1757
1772
  field_statistics?: boolean;
1758
1773
  offsets?: boolean;
1759
1774
  payloads?: boolean;
@@ -1879,7 +1894,7 @@ export interface UpdateByQueryResponse {
1879
1894
  }
1880
1895
  export interface UpdateByQueryRethrottleRequest extends RequestBase {
1881
1896
  task_id: Id;
1882
- requests_per_second?: float;
1897
+ requests_per_second: float;
1883
1898
  }
1884
1899
  export interface UpdateByQueryRethrottleResponse {
1885
1900
  nodes: Record<string, UpdateByQueryRethrottleUpdateByQueryRethrottleNode>;
@@ -1887,6 +1902,44 @@ export interface UpdateByQueryRethrottleResponse {
1887
1902
  export interface UpdateByQueryRethrottleUpdateByQueryRethrottleNode extends SpecUtilsBaseNode {
1888
1903
  tasks: Record<TaskId, TasksTaskInfo>;
1889
1904
  }
1905
+ export interface InternalDeleteDesiredBalanceRequest extends RequestBase {
1906
+ master_timeout?: Duration;
1907
+ }
1908
+ export type InternalDeleteDesiredBalanceResponse = boolean;
1909
+ export interface InternalDeleteDesiredNodesRequest extends RequestBase {
1910
+ master_timeout?: Duration;
1911
+ timeout?: Duration;
1912
+ }
1913
+ export type InternalDeleteDesiredNodesResponse = boolean;
1914
+ export interface InternalGetDesiredBalanceRequest extends RequestBase {
1915
+ master_timeout?: Duration;
1916
+ }
1917
+ export type InternalGetDesiredBalanceResponse = any;
1918
+ export interface InternalGetDesiredNodesRequest extends RequestBase {
1919
+ master_timeout?: Duration;
1920
+ }
1921
+ export type InternalGetDesiredNodesResponse = any;
1922
+ export interface InternalPrevalidateNodeRemovalRequest extends RequestBase {
1923
+ names?: string[];
1924
+ ids?: string[];
1925
+ external_ids?: string[];
1926
+ master_timeout?: Duration;
1927
+ timeout?: Duration;
1928
+ }
1929
+ export type InternalPrevalidateNodeRemovalResponse = any;
1930
+ export interface InternalUpdateDesiredNodesRequest extends RequestBase {
1931
+ history_id: string;
1932
+ version: long;
1933
+ dry_run?: boolean;
1934
+ master_timeout?: Duration;
1935
+ timeout?: Duration;
1936
+ /** @deprecated The use of the 'body' key has been deprecated, use 'body' instead. */
1937
+ body?: any;
1938
+ }
1939
+ export interface InternalUpdateDesiredNodesResponse {
1940
+ replaced_existing_history_id: boolean;
1941
+ dry_run: boolean;
1942
+ }
1890
1943
  export interface SpecUtilsBaseNode {
1891
1944
  attributes: Record<string, string>;
1892
1945
  host: Host;
@@ -1922,6 +1975,10 @@ export interface BulkStats {
1922
1975
  }
1923
1976
  export type ByteSize = long | string;
1924
1977
  export type Bytes = 'b' | 'kb' | 'mb' | 'gb' | 'tb' | 'pb';
1978
+ export interface CartesianPoint {
1979
+ x: double;
1980
+ y: double;
1981
+ }
1925
1982
  export type CategoryId = string;
1926
1983
  export type ClusterAlias = string;
1927
1984
  export interface ClusterDetails {
@@ -2183,6 +2240,7 @@ export interface KnnSearch {
2183
2240
  similarity?: float;
2184
2241
  inner_hits?: SearchInnerHits;
2185
2242
  rescore_vector?: RescoreVector;
2243
+ _name?: string;
2186
2244
  }
2187
2245
  export interface LatLonGeoLocation {
2188
2246
  lat: double;
@@ -2461,10 +2519,14 @@ export type SequenceNumber = long;
2461
2519
  export type Service = string;
2462
2520
  export interface ShardFailure {
2463
2521
  index?: IndexName;
2522
+ _index?: IndexName;
2464
2523
  node?: string;
2524
+ _node?: string;
2465
2525
  reason: ErrorCause;
2466
- shard: integer;
2526
+ shard?: integer;
2527
+ _shard?: integer;
2467
2528
  status?: string;
2529
+ primary?: boolean;
2468
2530
  }
2469
2531
  export interface ShardStatistics {
2470
2532
  failed: uint;
@@ -2532,7 +2594,7 @@ export interface TaskFailure {
2532
2594
  }
2533
2595
  export type TaskId = string | integer;
2534
2596
  export interface TextEmbedding {
2535
- model_id: string;
2597
+ model_id?: string;
2536
2598
  model_text: string;
2537
2599
  }
2538
2600
  export interface TextSimilarityReranker extends RetrieverBase {
@@ -2582,7 +2644,7 @@ export type Username = string;
2582
2644
  export type Uuid = string;
2583
2645
  export type VersionNumber = long;
2584
2646
  export type VersionString = string;
2585
- export type VersionType = 'internal' | 'external' | 'external_gte' | 'force';
2647
+ export type VersionType = 'internal' | 'external' | 'external_gte';
2586
2648
  export type WaitForActiveShardOptions = 'all' | 'index-setting';
2587
2649
  export type WaitForActiveShards = integer | WaitForActiveShardOptions;
2588
2650
  export type WaitForEvents = 'immediate' | 'urgent' | 'high' | 'normal' | 'low' | 'languid';
@@ -2603,6 +2665,7 @@ export interface WriteResponseBase {
2603
2665
  _seq_no?: SequenceNumber;
2604
2666
  _shards: ShardStatistics;
2605
2667
  _version: VersionNumber;
2668
+ failure_store?: BulkFailureStoreStatus;
2606
2669
  forced_refresh?: boolean;
2607
2670
  }
2608
2671
  export type byte = number;
@@ -2613,6 +2676,10 @@ export type long = number;
2613
2676
  export type short = number;
2614
2677
  export type uint = number;
2615
2678
  export type ulong = number;
2679
+ export interface AggregationsAbstractChangePoint {
2680
+ p_value: double;
2681
+ change_point: integer;
2682
+ }
2616
2683
  export interface AggregationsAdjacencyMatrixAggregate extends AggregationsMultiBucketAggregateBase<AggregationsAdjacencyMatrixBucket> {
2617
2684
  }
2618
2685
  export interface AggregationsAdjacencyMatrixAggregation extends AggregationsBucketAggregationBase {
@@ -2625,7 +2692,7 @@ export interface AggregationsAdjacencyMatrixBucketKeys extends AggregationsMulti
2625
2692
  export type AggregationsAdjacencyMatrixBucket = AggregationsAdjacencyMatrixBucketKeys & {
2626
2693
  [property: string]: AggregationsAggregate | string | long;
2627
2694
  };
2628
- export type AggregationsAggregate = AggregationsCardinalityAggregate | AggregationsHdrPercentilesAggregate | AggregationsHdrPercentileRanksAggregate | AggregationsTDigestPercentilesAggregate | AggregationsTDigestPercentileRanksAggregate | AggregationsPercentilesBucketAggregate | AggregationsMedianAbsoluteDeviationAggregate | AggregationsMinAggregate | AggregationsMaxAggregate | AggregationsSumAggregate | AggregationsAvgAggregate | AggregationsWeightedAvgAggregate | AggregationsValueCountAggregate | AggregationsSimpleValueAggregate | AggregationsDerivativeAggregate | AggregationsBucketMetricValueAggregate | AggregationsStatsAggregate | AggregationsStatsBucketAggregate | AggregationsExtendedStatsAggregate | AggregationsExtendedStatsBucketAggregate | AggregationsGeoBoundsAggregate | AggregationsGeoCentroidAggregate | AggregationsHistogramAggregate | AggregationsDateHistogramAggregate | AggregationsAutoDateHistogramAggregate | AggregationsVariableWidthHistogramAggregate | AggregationsStringTermsAggregate | AggregationsLongTermsAggregate | AggregationsDoubleTermsAggregate | AggregationsUnmappedTermsAggregate | AggregationsLongRareTermsAggregate | AggregationsStringRareTermsAggregate | AggregationsUnmappedRareTermsAggregate | AggregationsMultiTermsAggregate | AggregationsMissingAggregate | AggregationsNestedAggregate | AggregationsReverseNestedAggregate | AggregationsGlobalAggregate | AggregationsFilterAggregate | AggregationsChildrenAggregate | AggregationsParentAggregate | AggregationsSamplerAggregate | AggregationsUnmappedSamplerAggregate | AggregationsGeoHashGridAggregate | AggregationsGeoTileGridAggregate | AggregationsGeoHexGridAggregate | AggregationsRangeAggregate | AggregationsDateRangeAggregate | AggregationsGeoDistanceAggregate | AggregationsIpRangeAggregate | AggregationsIpPrefixAggregate | AggregationsFiltersAggregate | AggregationsAdjacencyMatrixAggregate | AggregationsSignificantLongTermsAggregate | AggregationsSignificantStringTermsAggregate | AggregationsUnmappedSignificantTermsAggregate | AggregationsCompositeAggregate | AggregationsFrequentItemSetsAggregate | AggregationsTimeSeriesAggregate | AggregationsScriptedMetricAggregate | AggregationsTopHitsAggregate | AggregationsInferenceAggregate | AggregationsStringStatsAggregate | AggregationsBoxPlotAggregate | AggregationsTopMetricsAggregate | AggregationsTTestAggregate | AggregationsRateAggregate | AggregationsCumulativeCardinalityAggregate | AggregationsMatrixStatsAggregate | AggregationsGeoLineAggregate;
2695
+ export type AggregationsAggregate = AggregationsCardinalityAggregate | AggregationsHdrPercentilesAggregate | AggregationsHdrPercentileRanksAggregate | AggregationsTDigestPercentilesAggregate | AggregationsTDigestPercentileRanksAggregate | AggregationsPercentilesBucketAggregate | AggregationsMedianAbsoluteDeviationAggregate | AggregationsMinAggregate | AggregationsMaxAggregate | AggregationsSumAggregate | AggregationsAvgAggregate | AggregationsWeightedAvgAggregate | AggregationsValueCountAggregate | AggregationsSimpleValueAggregate | AggregationsDerivativeAggregate | AggregationsBucketMetricValueAggregate | AggregationsChangePointAggregate | AggregationsStatsAggregate | AggregationsStatsBucketAggregate | AggregationsExtendedStatsAggregate | AggregationsExtendedStatsBucketAggregate | AggregationsCartesianBoundsAggregate | AggregationsCartesianCentroidAggregate | AggregationsGeoBoundsAggregate | AggregationsGeoCentroidAggregate | AggregationsHistogramAggregate | AggregationsDateHistogramAggregate | AggregationsAutoDateHistogramAggregate | AggregationsVariableWidthHistogramAggregate | AggregationsStringTermsAggregate | AggregationsLongTermsAggregate | AggregationsDoubleTermsAggregate | AggregationsUnmappedTermsAggregate | AggregationsLongRareTermsAggregate | AggregationsStringRareTermsAggregate | AggregationsUnmappedRareTermsAggregate | AggregationsMultiTermsAggregate | AggregationsMissingAggregate | AggregationsNestedAggregate | AggregationsReverseNestedAggregate | AggregationsGlobalAggregate | AggregationsFilterAggregate | AggregationsChildrenAggregate | AggregationsParentAggregate | AggregationsSamplerAggregate | AggregationsUnmappedSamplerAggregate | AggregationsGeoHashGridAggregate | AggregationsGeoTileGridAggregate | AggregationsGeoHexGridAggregate | AggregationsRangeAggregate | AggregationsDateRangeAggregate | AggregationsGeoDistanceAggregate | AggregationsIpRangeAggregate | AggregationsIpPrefixAggregate | AggregationsFiltersAggregate | AggregationsAdjacencyMatrixAggregate | AggregationsSignificantLongTermsAggregate | AggregationsSignificantStringTermsAggregate | AggregationsUnmappedSignificantTermsAggregate | AggregationsCompositeAggregate | AggregationsFrequentItemSetsAggregate | AggregationsTimeSeriesAggregate | AggregationsScriptedMetricAggregate | AggregationsTopHitsAggregate | AggregationsInferenceAggregate | AggregationsStringStatsAggregate | AggregationsBoxPlotAggregate | AggregationsTopMetricsAggregate | AggregationsTTestAggregate | AggregationsRateAggregate | AggregationsCumulativeCardinalityAggregate | AggregationsMatrixStatsAggregate | AggregationsGeoLineAggregate;
2629
2696
  export interface AggregationsAggregateBase {
2630
2697
  meta?: Metadata;
2631
2698
  }
@@ -2647,7 +2714,10 @@ export interface AggregationsAggregationContainer {
2647
2714
  bucket_count_ks_test?: AggregationsBucketKsAggregation;
2648
2715
  bucket_correlation?: AggregationsBucketCorrelationAggregation;
2649
2716
  cardinality?: AggregationsCardinalityAggregation;
2717
+ cartesian_bounds?: AggregationsCartesianBoundsAggregation;
2718
+ cartesian_centroid?: AggregationsCartesianCentroidAggregation;
2650
2719
  categorize_text?: AggregationsCategorizeTextAggregation;
2720
+ change_point?: AggregationsChangePointAggregation;
2651
2721
  children?: AggregationsChildrenAggregation;
2652
2722
  composite?: AggregationsCompositeAggregation;
2653
2723
  cumulative_cardinality?: AggregationsCumulativeCardinalityAggregation;
@@ -2659,6 +2729,7 @@ export interface AggregationsAggregationContainer {
2659
2729
  extended_stats?: AggregationsExtendedStatsAggregation;
2660
2730
  extended_stats_bucket?: AggregationsExtendedStatsBucketAggregation;
2661
2731
  frequent_item_sets?: AggregationsFrequentItemSetsAggregation;
2732
+ frequent_items?: AggregationsFrequentItemSetsAggregation;
2662
2733
  filter?: QueryDslQueryContainer;
2663
2734
  filters?: AggregationsFiltersAggregation;
2664
2735
  geo_bounds?: AggregationsGeoBoundsAggregation;
@@ -2721,7 +2792,7 @@ export interface AggregationsAggregationRange {
2721
2792
  to?: double | null;
2722
2793
  }
2723
2794
  export interface AggregationsArrayPercentilesItem {
2724
- key: string;
2795
+ key: double;
2725
2796
  value: double | null;
2726
2797
  value_as_string?: string;
2727
2798
  }
@@ -2816,6 +2887,17 @@ export interface AggregationsCardinalityAggregation extends AggregationsMetricAg
2816
2887
  execution_hint?: AggregationsCardinalityExecutionMode;
2817
2888
  }
2818
2889
  export type AggregationsCardinalityExecutionMode = 'global_ordinals' | 'segment_ordinals' | 'direct' | 'save_memory_heuristic' | 'save_time_heuristic';
2890
+ export interface AggregationsCartesianBoundsAggregate extends AggregationsAggregateBase {
2891
+ bounds?: TopLeftBottomRightGeoBounds;
2892
+ }
2893
+ export interface AggregationsCartesianBoundsAggregation extends AggregationsMetricAggregationBase {
2894
+ }
2895
+ export interface AggregationsCartesianCentroidAggregate extends AggregationsAggregateBase {
2896
+ count: long;
2897
+ location?: CartesianPoint;
2898
+ }
2899
+ export interface AggregationsCartesianCentroidAggregation extends AggregationsMetricAggregationBase {
2900
+ }
2819
2901
  export interface AggregationsCategorizeTextAggregation {
2820
2902
  field: Field;
2821
2903
  max_unique_tokens?: integer;
@@ -2829,6 +2911,28 @@ export interface AggregationsCategorizeTextAggregation {
2829
2911
  shard_min_doc_count?: integer;
2830
2912
  }
2831
2913
  export type AggregationsCategorizeTextAnalyzer = string | AggregationsCustomCategorizeTextAnalyzer;
2914
+ export interface AggregationsChangePointAggregate extends AggregationsAggregateBase {
2915
+ type: AggregationsChangeType;
2916
+ bucket?: AggregationsChangePointBucket;
2917
+ }
2918
+ export interface AggregationsChangePointAggregation extends AggregationsPipelineAggregationBase {
2919
+ }
2920
+ export interface AggregationsChangePointBucketKeys extends AggregationsMultiBucketBase {
2921
+ key: FieldValue;
2922
+ }
2923
+ export type AggregationsChangePointBucket = AggregationsChangePointBucketKeys & {
2924
+ [property: string]: AggregationsAggregate | FieldValue | long;
2925
+ };
2926
+ export interface AggregationsChangeType {
2927
+ dip?: AggregationsDip;
2928
+ distribution_change?: AggregationsDistributionChange;
2929
+ indeterminable?: AggregationsIndeterminable;
2930
+ non_stationary?: AggregationsNonStationary;
2931
+ spike?: AggregationsSpike;
2932
+ stationary?: AggregationsStationary;
2933
+ step_change?: AggregationsStepChange;
2934
+ trend_change?: AggregationsTrendChange;
2935
+ }
2832
2936
  export interface AggregationsChiSquareHeuristic {
2833
2937
  background_is_superset: boolean;
2834
2938
  include_negatives: boolean;
@@ -2946,6 +3050,10 @@ export interface AggregationsDerivativeAggregate extends AggregationsSingleMetri
2946
3050
  }
2947
3051
  export interface AggregationsDerivativeAggregation extends AggregationsPipelineAggregationBase {
2948
3052
  }
3053
+ export interface AggregationsDip extends AggregationsAbstractChangePoint {
3054
+ }
3055
+ export interface AggregationsDistributionChange extends AggregationsAbstractChangePoint {
3056
+ }
2949
3057
  export interface AggregationsDiversifiedSamplerAggregation extends AggregationsBucketAggregationBase {
2950
3058
  execution_hint?: AggregationsSamplerAggregationExecutionHint;
2951
3059
  max_docs_per_value?: integer;
@@ -2997,7 +3105,7 @@ export interface AggregationsExtendedStatsBucketAggregate extends AggregationsEx
2997
3105
  export interface AggregationsExtendedStatsBucketAggregation extends AggregationsPipelineAggregationBase {
2998
3106
  sigma?: double;
2999
3107
  }
3000
- export type AggregationsFieldDateMath = DateMath | double;
3108
+ export type AggregationsFieldDateMath = DateMath | long;
3001
3109
  export interface AggregationsFilterAggregateKeys extends AggregationsSingleBucketAggregateBase {
3002
3110
  }
3003
3111
  export type AggregationsFilterAggregate = AggregationsFilterAggregateKeys & {
@@ -3098,7 +3206,7 @@ export interface AggregationsGeoLineAggregate extends AggregationsAggregateBase
3098
3206
  }
3099
3207
  export interface AggregationsGeoLineAggregation {
3100
3208
  point: AggregationsGeoLinePoint;
3101
- sort: AggregationsGeoLineSort;
3209
+ sort?: AggregationsGeoLineSort;
3102
3210
  include_sort?: boolean;
3103
3211
  sort_order?: SortOrder;
3104
3212
  size?: integer;
@@ -3191,6 +3299,9 @@ export interface AggregationsHoltWintersMovingAverageAggregation extends Aggrega
3191
3299
  settings: AggregationsHoltWintersModelSettings;
3192
3300
  }
3193
3301
  export type AggregationsHoltWintersType = 'add' | 'mult';
3302
+ export interface AggregationsIndeterminable {
3303
+ reason: string;
3304
+ }
3194
3305
  export interface AggregationsInferenceAggregateKeys extends AggregationsAggregateBase {
3195
3306
  value?: FieldValue;
3196
3307
  feature_importance?: AggregationsInferenceFeatureImportance[];
@@ -3260,7 +3371,7 @@ export interface AggregationsIpRangeBucketKeys extends AggregationsMultiBucketBa
3260
3371
  export type AggregationsIpRangeBucket = AggregationsIpRangeBucketKeys & {
3261
3372
  [property: string]: AggregationsAggregate | string | long;
3262
3373
  };
3263
- export type AggregationsKeyedPercentiles = Record<string, string | long | null>;
3374
+ export type AggregationsKeyedPercentiles = Record<string, string | double | null>;
3264
3375
  export interface AggregationsLinearMovingAverageAggregation extends AggregationsMovingAverageAggregationBase {
3265
3376
  model: 'linear';
3266
3377
  settings: EmptyObject;
@@ -3362,7 +3473,8 @@ export interface AggregationsMultiBucketBase {
3362
3473
  doc_count: long;
3363
3474
  }
3364
3475
  export interface AggregationsMultiTermLookup {
3365
- field: Field;
3476
+ field?: Field;
3477
+ script?: Script | string;
3366
3478
  missing?: AggregationsMissing;
3367
3479
  }
3368
3480
  export interface AggregationsMultiTermsAggregate extends AggregationsTermsAggregateBase<AggregationsMultiTermsBucket> {
@@ -3397,10 +3509,19 @@ export type AggregationsNestedAggregate = AggregationsNestedAggregateKeys & {
3397
3509
  export interface AggregationsNestedAggregation extends AggregationsBucketAggregationBase {
3398
3510
  path?: Field;
3399
3511
  }
3512
+ export interface AggregationsNonStationary {
3513
+ p_value: double;
3514
+ r_value: double;
3515
+ trend: string;
3516
+ }
3400
3517
  export interface AggregationsNormalizeAggregation extends AggregationsPipelineAggregationBase {
3401
3518
  method?: AggregationsNormalizeMethod;
3402
3519
  }
3403
3520
  export type AggregationsNormalizeMethod = 'rescale_0_1' | 'rescale_0_100' | 'percent_of_sum' | 'mean' | 'z-score' | 'softmax';
3521
+ export interface AggregationsPValueHeuristic {
3522
+ background_is_superset?: boolean;
3523
+ normalize_above?: long;
3524
+ }
3404
3525
  export interface AggregationsParentAggregateKeys extends AggregationsSingleBucketAggregateBase {
3405
3526
  }
3406
3527
  export type AggregationsParentAggregate = AggregationsParentAggregateKeys & {
@@ -3423,7 +3544,7 @@ export interface AggregationsPercentilesAggregateBase extends AggregationsAggreg
3423
3544
  }
3424
3545
  export interface AggregationsPercentilesAggregation extends AggregationsFormatMetricAggregationBase {
3425
3546
  keyed?: boolean;
3426
- percents?: double[];
3547
+ percents?: double | double[];
3427
3548
  hdr?: AggregationsHdrMethod;
3428
3549
  tdigest?: AggregationsTDigest;
3429
3550
  }
@@ -3546,6 +3667,7 @@ export interface AggregationsSignificantTermsAggregation extends AggregationsBuc
3546
3667
  mutual_information?: AggregationsMutualInformationHeuristic;
3547
3668
  percentage?: AggregationsPercentageScoreHeuristic;
3548
3669
  script_heuristic?: AggregationsScriptedHeuristic;
3670
+ p_value?: AggregationsPValueHeuristic;
3549
3671
  shard_min_doc_count?: long;
3550
3672
  shard_size?: integer;
3551
3673
  size?: integer;
@@ -3586,6 +3708,8 @@ export interface AggregationsSingleMetricAggregateBase extends AggregationsAggre
3586
3708
  value: double | null;
3587
3709
  value_as_string?: string;
3588
3710
  }
3711
+ export interface AggregationsSpike extends AggregationsAbstractChangePoint {
3712
+ }
3589
3713
  export interface AggregationsStandardDeviationBounds {
3590
3714
  upper: double | null;
3591
3715
  lower: double | null;
@@ -3602,6 +3726,8 @@ export interface AggregationsStandardDeviationBoundsAsString {
3602
3726
  upper_sampling: string;
3603
3727
  lower_sampling: string;
3604
3728
  }
3729
+ export interface AggregationsStationary {
3730
+ }
3605
3731
  export interface AggregationsStatsAggregate extends AggregationsAggregateBase {
3606
3732
  count: long;
3607
3733
  min: double | null;
@@ -3619,6 +3745,8 @@ export interface AggregationsStatsBucketAggregate extends AggregationsStatsAggre
3619
3745
  }
3620
3746
  export interface AggregationsStatsBucketAggregation extends AggregationsPipelineAggregationBase {
3621
3747
  }
3748
+ export interface AggregationsStepChange extends AggregationsAbstractChangePoint {
3749
+ }
3622
3750
  export interface AggregationsStringRareTermsAggregate extends AggregationsMultiBucketAggregateBase<AggregationsStringRareTermsBucket> {
3623
3751
  }
3624
3752
  export interface AggregationsStringRareTermsBucketKeys extends AggregationsMultiBucketBase {
@@ -3758,6 +3886,11 @@ export interface AggregationsTopMetricsAggregation extends AggregationsMetricAgg
3758
3886
  export interface AggregationsTopMetricsValue {
3759
3887
  field: Field;
3760
3888
  }
3889
+ export interface AggregationsTrendChange {
3890
+ p_value: double;
3891
+ r_value: double;
3892
+ change_point: integer;
3893
+ }
3761
3894
  export interface AggregationsUnmappedRareTermsAggregate extends AggregationsMultiBucketAggregateBase<void> {
3762
3895
  }
3763
3896
  export interface AggregationsUnmappedSamplerAggregateKeys extends AggregationsSingleBucketAggregateBase {
@@ -4203,7 +4336,7 @@ export interface AnalysisKeywordTokenizer extends AnalysisTokenizerBase {
4203
4336
  }
4204
4337
  export interface AnalysisKuromojiAnalyzer {
4205
4338
  type: 'kuromoji';
4206
- mode: AnalysisKuromojiTokenizationMode;
4339
+ mode?: AnalysisKuromojiTokenizationMode;
4207
4340
  user_dictionary?: string;
4208
4341
  }
4209
4342
  export interface AnalysisKuromojiIterationMarkCharFilter extends AnalysisCharFilterBase {
@@ -4790,7 +4923,7 @@ export interface MappingFieldMapping {
4790
4923
  export interface MappingFieldNamesField {
4791
4924
  enabled: boolean;
4792
4925
  }
4793
- export type MappingFieldType = 'none' | 'geo_point' | 'geo_shape' | 'ip' | 'binary' | 'keyword' | 'text' | 'search_as_you_type' | 'date' | 'date_nanos' | 'boolean' | 'completion' | 'nested' | 'object' | 'passthrough' | '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' | 'counted_keyword' | 'aggregate_metric_double' | 'dense_vector' | 'semantic_text' | 'sparse_vector' | 'match_only_text' | 'icu_collation_keyword';
4926
+ export type MappingFieldType = 'none' | 'geo_point' | 'geo_shape' | 'ip' | 'binary' | 'keyword' | 'text' | 'search_as_you_type' | 'wildcard' | 'date' | 'date_nanos' | 'boolean' | 'completion' | 'nested' | 'object' | 'passthrough' | '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' | 'counted_keyword' | 'aggregate_metric_double' | 'dense_vector' | 'semantic_text' | 'sparse_vector' | 'match_only_text' | 'icu_collation_keyword';
4794
4927
  export interface MappingFlattenedProperty extends MappingPropertyBase {
4795
4928
  boost?: double;
4796
4929
  depth_limit?: integer;
@@ -5032,6 +5165,7 @@ export interface MappingSemanticTextProperty {
5032
5165
  search_inference_id?: Id;
5033
5166
  index_options?: MappingSemanticTextIndexOptions;
5034
5167
  chunking_settings?: MappingChunkingSettings;
5168
+ fields?: Record<PropertyName, MappingProperty>;
5035
5169
  }
5036
5170
  export interface MappingShapeProperty extends MappingDocValuesPropertyBase {
5037
5171
  coerce?: boolean;
@@ -5075,8 +5209,8 @@ export interface MappingSuggestContext {
5075
5209
  export type MappingSyntheticSourceKeepEnum = 'none' | 'arrays' | 'all';
5076
5210
  export type MappingTermVectorOption = 'no' | 'yes' | 'with_offsets' | 'with_positions' | 'with_positions_offsets' | 'with_positions_offsets_payloads' | 'with_positions_payloads';
5077
5211
  export interface MappingTextIndexPrefixes {
5078
- max_chars: integer;
5079
- min_chars: integer;
5212
+ max_chars?: integer;
5213
+ min_chars?: integer;
5080
5214
  }
5081
5215
  export interface MappingTextProperty extends MappingCorePropertyBase {
5082
5216
  analyzer?: string;
@@ -5411,6 +5545,8 @@ export interface QueryDslLikeDocument {
5411
5545
  version?: VersionNumber;
5412
5546
  version_type?: VersionType;
5413
5547
  }
5548
+ export interface QueryDslLongNumberRangeQuery extends QueryDslRangeQueryBase<long> {
5549
+ }
5414
5550
  export interface QueryDslMatchAllQuery extends QueryDslQueryBase {
5415
5551
  }
5416
5552
  export interface QueryDslMatchBoolPrefixQuery extends QueryDslQueryBase {
@@ -5637,7 +5773,7 @@ export interface QueryDslRandomScoreFunction {
5637
5773
  field?: Field;
5638
5774
  seed?: long | string;
5639
5775
  }
5640
- export type QueryDslRangeQuery = QueryDslUntypedRangeQuery | QueryDslDateRangeQuery | QueryDslNumberRangeQuery | QueryDslTermRangeQuery;
5776
+ export type QueryDslRangeQuery = QueryDslUntypedRangeQuery | QueryDslDateRangeQuery | QueryDslNumberRangeQuery | QueryDslLongNumberRangeQuery | QueryDslTermRangeQuery;
5641
5777
  export interface QueryDslRangeQueryBase<T = unknown> extends QueryDslQueryBase {
5642
5778
  relation?: QueryDslRangeRelation;
5643
5779
  gt?: T;
@@ -5870,6 +6006,19 @@ export interface AsyncSearchAsyncSearchResponseBase {
5870
6006
  start_time_in_millis: EpochTime<UnitMillis>;
5871
6007
  completion_time?: DateTime;
5872
6008
  completion_time_in_millis?: EpochTime<UnitMillis>;
6009
+ error?: ErrorCause;
6010
+ }
6011
+ export interface AsyncSearchAsyncSearchResponseException<TDocument = unknown> {
6012
+ is_partial: boolean;
6013
+ is_running: boolean;
6014
+ expiration_time?: DateTime;
6015
+ expiration_time_in_millis: EpochTime<UnitMillis>;
6016
+ start_time?: DateTime;
6017
+ start_time_in_millis: EpochTime<UnitMillis>;
6018
+ completion_time?: DateTime;
6019
+ completion_time_in_millis?: EpochTime<UnitMillis>;
6020
+ error?: ErrorCause;
6021
+ response?: AsyncSearchAsyncSearch<TDocument, Record<AggregateName, AggregationsAggregate>>;
5873
6022
  }
5874
6023
  export interface AsyncSearchDeleteRequest extends RequestBase {
5875
6024
  id: Id;
@@ -6013,12 +6162,22 @@ export interface AutoscalingPutAutoscalingPolicyRequest extends RequestBase {
6013
6162
  body?: AutoscalingAutoscalingPolicy;
6014
6163
  }
6015
6164
  export type AutoscalingPutAutoscalingPolicyResponse = AcknowledgedResponseBase;
6165
+ export type CatCatAliasesColumn = 'alias' | 'a' | 'index' | 'i' | 'idx' | 'filter' | 'f' | 'fi' | 'routing.index' | 'ri' | 'routingIndex' | 'routing.search' | 'rs' | 'routingSearch' | 'is_write_index' | 'w' | 'isWriteIndex' | string;
6166
+ export type CatCatAliasesColumns = CatCatAliasesColumn | CatCatAliasesColumn[];
6167
+ export type CatCatAllocationColumn = 'shards' | 's' | 'shards.undesired' | 'write_load.forecast' | 'wlf' | 'writeLoadForecast' | 'disk.indices.forecast' | 'dif' | 'diskIndicesForecast' | 'disk.indices' | 'di' | 'diskIndices' | 'disk.used' | 'du' | 'diskUsed' | 'disk.avail' | 'da' | 'diskAvail' | 'disk.total' | 'dt' | 'diskTotal' | 'disk.percent' | 'dp' | 'diskPercent' | 'host' | 'h' | 'ip' | 'node' | 'n' | 'node.role' | 'r' | 'role' | 'nodeRole' | string;
6168
+ export type CatCatAllocationColumns = CatCatAllocationColumn | CatCatAllocationColumn[];
6016
6169
  export type CatCatAnomalyDetectorColumn = 'assignment_explanation' | 'ae' | 'buckets.count' | 'bc' | 'bucketsCount' | 'buckets.time.exp_avg' | 'btea' | 'bucketsTimeExpAvg' | 'buckets.time.exp_avg_hour' | 'bteah' | 'bucketsTimeExpAvgHour' | 'buckets.time.max' | 'btmax' | 'bucketsTimeMax' | 'buckets.time.min' | 'btmin' | 'bucketsTimeMin' | 'buckets.time.total' | 'btt' | 'bucketsTimeTotal' | 'data.buckets' | 'db' | 'dataBuckets' | 'data.earliest_record' | 'der' | 'dataEarliestRecord' | 'data.empty_buckets' | 'deb' | 'dataEmptyBuckets' | 'data.input_bytes' | 'dib' | 'dataInputBytes' | 'data.input_fields' | 'dif' | 'dataInputFields' | 'data.input_records' | 'dir' | 'dataInputRecords' | 'data.invalid_dates' | 'did' | 'dataInvalidDates' | 'data.last' | 'dl' | 'dataLast' | 'data.last_empty_bucket' | 'dleb' | 'dataLastEmptyBucket' | 'data.last_sparse_bucket' | 'dlsb' | 'dataLastSparseBucket' | 'data.latest_record' | 'dlr' | 'dataLatestRecord' | 'data.missing_fields' | 'dmf' | 'dataMissingFields' | 'data.out_of_order_timestamps' | 'doot' | 'dataOutOfOrderTimestamps' | 'data.processed_fields' | 'dpf' | 'dataProcessedFields' | 'data.processed_records' | 'dpr' | 'dataProcessedRecords' | 'data.sparse_buckets' | 'dsb' | 'dataSparseBuckets' | 'forecasts.memory.avg' | 'fmavg' | 'forecastsMemoryAvg' | 'forecasts.memory.max' | 'fmmax' | 'forecastsMemoryMax' | 'forecasts.memory.min' | 'fmmin' | 'forecastsMemoryMin' | 'forecasts.memory.total' | 'fmt' | 'forecastsMemoryTotal' | 'forecasts.records.avg' | 'fravg' | 'forecastsRecordsAvg' | 'forecasts.records.max' | 'frmax' | 'forecastsRecordsMax' | 'forecasts.records.min' | 'frmin' | 'forecastsRecordsMin' | 'forecasts.records.total' | 'frt' | 'forecastsRecordsTotal' | 'forecasts.time.avg' | 'ftavg' | 'forecastsTimeAvg' | 'forecasts.time.max' | 'ftmax' | 'forecastsTimeMax' | 'forecasts.time.min' | 'ftmin' | 'forecastsTimeMin' | 'forecasts.time.total' | 'ftt' | 'forecastsTimeTotal' | 'forecasts.total' | 'ft' | 'forecastsTotal' | 'id' | 'model.bucket_allocation_failures' | 'mbaf' | 'modelBucketAllocationFailures' | 'model.by_fields' | 'mbf' | 'modelByFields' | 'model.bytes' | 'mb' | 'modelBytes' | 'model.bytes_exceeded' | 'mbe' | 'modelBytesExceeded' | 'model.categorization_status' | 'mcs' | 'modelCategorizationStatus' | 'model.categorized_doc_count' | 'mcdc' | 'modelCategorizedDocCount' | 'model.dead_category_count' | 'mdcc' | 'modelDeadCategoryCount' | 'model.failed_category_count' | 'mdcc' | 'modelFailedCategoryCount' | 'model.frequent_category_count' | 'mfcc' | 'modelFrequentCategoryCount' | 'model.log_time' | 'mlt' | 'modelLogTime' | 'model.memory_limit' | 'mml' | 'modelMemoryLimit' | 'model.memory_status' | 'mms' | 'modelMemoryStatus' | 'model.over_fields' | 'mof' | 'modelOverFields' | 'model.partition_fields' | 'mpf' | 'modelPartitionFields' | 'model.rare_category_count' | 'mrcc' | 'modelRareCategoryCount' | 'model.timestamp' | 'mt' | 'modelTimestamp' | 'model.total_category_count' | 'mtcc' | 'modelTotalCategoryCount' | 'node.address' | 'na' | 'nodeAddress' | 'node.ephemeral_id' | 'ne' | 'nodeEphemeralId' | 'node.id' | 'ni' | 'nodeId' | 'node.name' | 'nn' | 'nodeName' | 'opened_time' | 'ot' | 'state' | 's';
6017
- export type CatCatAnonalyDetectorColumns = CatCatAnomalyDetectorColumn | CatCatAnomalyDetectorColumn[];
6170
+ export type CatCatAnomalyDetectorColumns = CatCatAnomalyDetectorColumn | CatCatAnomalyDetectorColumn[];
6171
+ export type CatCatComponentColumn = 'name' | 'n' | 'version' | 'v' | 'alias_count' | 'a' | 'mapping_count' | 'm' | 'settings_count' | 's' | 'metadata_count' | 'me' | 'included_in' | 'i' | string;
6172
+ export type CatCatComponentColumns = CatCatComponentColumn | CatCatComponentColumn[];
6173
+ export type CatCatCountColumn = 'epoch' | 't' | 'time' | 'timestamp' | 'ts' | 'hms' | 'hhmmss' | 'count' | 'dc' | 'docs.count' | 'docsCount' | string;
6174
+ export type CatCatCountColumns = CatCatCountColumn | CatCatCountColumn[];
6018
6175
  export type CatCatDatafeedColumn = 'ae' | 'assignment_explanation' | 'bc' | 'buckets.count' | 'bucketsCount' | 'id' | 'na' | 'node.address' | 'nodeAddress' | 'ne' | 'node.ephemeral_id' | 'nodeEphemeralId' | 'ni' | 'node.id' | 'nodeId' | 'nn' | 'node.name' | 'nodeName' | 'sba' | 'search.bucket_avg' | 'searchBucketAvg' | 'sc' | 'search.count' | 'searchCount' | 'seah' | 'search.exp_avg_hour' | 'searchExpAvgHour' | 'st' | 'search.time' | 'searchTime' | 's' | 'state';
6019
6176
  export type CatCatDatafeedColumns = CatCatDatafeedColumn | CatCatDatafeedColumn[];
6020
6177
  export type CatCatDfaColumn = 'assignment_explanation' | 'ae' | 'create_time' | 'ct' | 'createTime' | 'description' | 'd' | 'dest_index' | 'di' | 'destIndex' | 'failure_reason' | 'fr' | 'failureReason' | 'id' | 'model_memory_limit' | 'mml' | 'modelMemoryLimit' | 'node.address' | 'na' | 'nodeAddress' | 'node.ephemeral_id' | 'ne' | 'nodeEphemeralId' | 'node.id' | 'ni' | 'nodeId' | 'node.name' | 'nn' | 'nodeName' | 'progress' | 'p' | 'source_index' | 'si' | 'sourceIndex' | 'state' | 's' | 'type' | 't' | 'version' | 'v';
6021
6178
  export type CatCatDfaColumns = CatCatDfaColumn | CatCatDfaColumn[];
6179
+ export type CatCatFieldDataColumn = 'id' | 'host' | 'h' | 'ip' | 'node' | 'n' | 'field' | 'f' | 'size' | 's' | string;
6180
+ export type CatCatFieldDataColumns = CatCatFieldDataColumn | CatCatFieldDataColumn[];
6022
6181
  export type CatCatNodeColumn = 'build' | 'b' | 'completion.size' | 'cs' | 'completionSize' | 'cpu' | 'disk.avail' | 'd' | 'disk' | 'diskAvail' | 'disk.total' | 'dt' | 'diskTotal' | 'disk.used' | 'du' | 'diskUsed' | 'disk.used_percent' | 'dup' | 'diskUsedPercent' | 'fielddata.evictions' | 'fe' | 'fielddataEvictions' | 'fielddata.memory_size' | 'fm' | 'fielddataMemory' | 'file_desc.current' | 'fdc' | 'fileDescriptorCurrent' | 'file_desc.max' | 'fdm' | 'fileDescriptorMax' | 'file_desc.percent' | 'fdp' | 'fileDescriptorPercent' | 'flush.total' | 'ft' | 'flushTotal' | 'flush.total_time' | 'ftt' | 'flushTotalTime' | 'get.current' | 'gc' | 'getCurrent' | 'get.exists_time' | 'geti' | 'getExistsTime' | 'get.exists_total' | 'geto' | 'getExistsTotal' | 'get.missing_time' | 'gmti' | 'getMissingTime' | 'get.missing_total' | 'gmto' | 'getMissingTotal' | 'get.time' | 'gti' | 'getTime' | 'get.total' | 'gto' | 'getTotal' | 'heap.current' | 'hc' | 'heapCurrent' | 'heap.max' | 'hm' | 'heapMax' | 'heap.percent' | 'hp' | 'heapPercent' | 'http_address' | 'http' | 'id' | 'nodeId' | 'indexing.delete_current' | 'idc' | 'indexingDeleteCurrent' | 'indexing.delete_time' | 'idti' | 'indexingDeleteTime' | 'indexing.delete_total' | 'idto' | 'indexingDeleteTotal' | 'indexing.index_current' | 'iic' | 'indexingIndexCurrent' | 'indexing.index_failed' | 'iif' | 'indexingIndexFailed' | 'indexing.index_failed_due_to_version_conflict' | 'iifvc' | 'indexingIndexFailedDueToVersionConflict' | 'indexing.index_time' | 'iiti' | 'indexingIndexTime' | 'indexing.index_total' | 'iito' | 'indexingIndexTotal' | 'ip' | 'i' | 'jdk' | 'j' | 'load_1m' | 'l' | 'load_5m' | 'l' | 'load_15m' | 'l' | 'mappings.total_count' | 'mtc' | 'mappingsTotalCount' | 'mappings.total_estimated_overhead_in_bytes' | 'mteo' | 'mappingsTotalEstimatedOverheadInBytes' | 'master' | 'm' | 'merges.current' | 'mc' | 'mergesCurrent' | 'merges.current_docs' | 'mcd' | 'mergesCurrentDocs' | 'merges.current_size' | 'mcs' | 'mergesCurrentSize' | 'merges.total' | 'mt' | 'mergesTotal' | 'merges.total_docs' | 'mtd' | 'mergesTotalDocs' | 'merges.total_size' | 'mts' | 'mergesTotalSize' | 'merges.total_time' | 'mtt' | 'mergesTotalTime' | 'name' | 'n' | 'node.role' | 'r' | 'role' | 'nodeRole' | 'pid' | 'p' | 'port' | 'po' | 'query_cache.memory_size' | 'qcm' | 'queryCacheMemory' | 'query_cache.evictions' | 'qce' | 'queryCacheEvictions' | 'query_cache.hit_count' | 'qchc' | 'queryCacheHitCount' | 'query_cache.miss_count' | 'qcmc' | 'queryCacheMissCount' | 'ram.current' | 'rc' | 'ramCurrent' | 'ram.max' | 'rm' | 'ramMax' | 'ram.percent' | 'rp' | 'ramPercent' | 'refresh.total' | 'rto' | 'refreshTotal' | 'refresh.time' | 'rti' | 'refreshTime' | 'request_cache.memory_size' | 'rcm' | 'requestCacheMemory' | 'request_cache.evictions' | 'rce' | 'requestCacheEvictions' | 'request_cache.hit_count' | 'rchc' | 'requestCacheHitCount' | 'request_cache.miss_count' | 'rcmc' | 'requestCacheMissCount' | 'script.compilations' | 'scrcc' | 'scriptCompilations' | 'script.cache_evictions' | 'scrce' | 'scriptCacheEvictions' | 'search.fetch_current' | 'sfc' | 'searchFetchCurrent' | 'search.fetch_time' | 'sfti' | 'searchFetchTime' | 'search.fetch_total' | 'sfto' | 'searchFetchTotal' | 'search.open_contexts' | 'so' | 'searchOpenContexts' | 'search.query_current' | 'sqc' | 'searchQueryCurrent' | 'search.query_time' | 'sqti' | 'searchQueryTime' | 'search.query_total' | 'sqto' | 'searchQueryTotal' | 'search.scroll_current' | 'scc' | 'searchScrollCurrent' | 'search.scroll_time' | 'scti' | 'searchScrollTime' | 'search.scroll_total' | 'scto' | 'searchScrollTotal' | 'segments.count' | 'sc' | 'segmentsCount' | 'segments.fixed_bitset_memory' | 'sfbm' | 'fixedBitsetMemory' | 'segments.index_writer_memory' | 'siwm' | 'segmentsIndexWriterMemory' | 'segments.memory' | 'sm' | 'segmentsMemory' | 'segments.version_map_memory' | 'svmm' | 'segmentsVersionMapMemory' | 'shard_stats.total_count' | 'sstc' | 'shards' | 'shardStatsTotalCount' | 'suggest.current' | 'suc' | 'suggestCurrent' | 'suggest.time' | 'suti' | 'suggestTime' | 'suggest.total' | 'suto' | 'suggestTotal' | 'uptime' | 'u' | 'version' | 'v' | string;
6023
6182
  export type CatCatNodeColumns = CatCatNodeColumn | CatCatNodeColumn[];
6024
6183
  export type CatCatRecoveryColumn = 'index' | 'i' | 'idx' | 'shard' | 's' | 'sh' | 'time' | 't' | 'ti' | 'primaryOrReplica' | 'type' | 'stage' | 'st' | 'source_host' | 'shost' | 'source_node' | 'snode' | 'target_host' | 'thost' | 'target_node' | 'tnode' | 'repository' | 'tnode' | 'snapshot' | 'snap' | 'files' | 'f' | 'files_recovered' | 'fr' | 'files_percent' | 'fp' | 'files_total' | 'tf' | 'bytes' | 'b' | 'bytes_recovered' | 'br' | 'bytes_percent' | 'bp' | 'bytes_total' | 'tb' | 'translog_ops' | 'to' | 'translog_ops_recovered' | 'tor' | 'translog_ops_percent' | 'top' | 'start_time' | 'start' | 'start_time_millis' | 'start_millis' | 'stop_time' | 'stop' | 'stop_time_millis' | 'stop_millis' | string;
@@ -6058,7 +6217,7 @@ export interface CatAliasesAliasesRecord {
6058
6217
  }
6059
6218
  export interface CatAliasesRequest extends CatCatRequestBase {
6060
6219
  name?: Names;
6061
- h?: Names;
6220
+ h?: CatCatAliasesColumns;
6062
6221
  s?: Names;
6063
6222
  expand_wildcards?: ExpandWildcards;
6064
6223
  local?: boolean;
@@ -6101,8 +6260,7 @@ export interface CatAllocationAllocationRecord {
6101
6260
  }
6102
6261
  export interface CatAllocationRequest extends CatCatRequestBase {
6103
6262
  node_id?: NodeIds;
6104
- bytes?: Bytes;
6105
- h?: Names;
6263
+ h?: CatCatAllocationColumns;
6106
6264
  s?: Names;
6107
6265
  local?: boolean;
6108
6266
  master_timeout?: Duration;
@@ -6119,7 +6277,7 @@ export interface CatComponentTemplatesComponentTemplate {
6119
6277
  }
6120
6278
  export interface CatComponentTemplatesRequest extends CatCatRequestBase {
6121
6279
  name?: string;
6122
- h?: Names;
6280
+ h?: CatCatComponentColumns;
6123
6281
  s?: Names;
6124
6282
  local?: boolean;
6125
6283
  master_timeout?: Duration;
@@ -6140,7 +6298,7 @@ export interface CatCountCountRecord {
6140
6298
  }
6141
6299
  export interface CatCountRequest extends CatCatRequestBase {
6142
6300
  index?: Indices;
6143
- h?: Names;
6301
+ h?: CatCatCountColumns;
6144
6302
  s?: Names;
6145
6303
  }
6146
6304
  export type CatCountResponse = CatCountCountRecord[];
@@ -6157,8 +6315,7 @@ export interface CatFielddataFielddataRecord {
6157
6315
  }
6158
6316
  export interface CatFielddataRequest extends CatCatRequestBase {
6159
6317
  fields?: Fields;
6160
- bytes?: Bytes;
6161
- h?: Names;
6318
+ h?: CatCatFieldDataColumns;
6162
6319
  s?: Names;
6163
6320
  }
6164
6321
  export type CatFielddataResponse = CatFielddataFielddataRecord[];
@@ -6215,7 +6372,6 @@ export interface CatHealthHealthRecord {
6215
6372
  activeShardsPercent?: string;
6216
6373
  }
6217
6374
  export interface CatHealthRequest extends CatCatRequestBase {
6218
- time?: TimeUnit;
6219
6375
  ts?: boolean;
6220
6376
  h?: Names;
6221
6377
  s?: Names;
@@ -6517,12 +6673,10 @@ export interface CatIndicesIndicesRecord {
6517
6673
  }
6518
6674
  export interface CatIndicesRequest extends CatCatRequestBase {
6519
6675
  index?: Indices;
6520
- bytes?: Bytes;
6521
6676
  expand_wildcards?: ExpandWildcards;
6522
6677
  health?: HealthStatus;
6523
6678
  include_unloaded_segments?: boolean;
6524
6679
  pri?: boolean;
6525
- time?: TimeUnit;
6526
6680
  master_timeout?: Duration;
6527
6681
  h?: Names;
6528
6682
  s?: Names;
@@ -6589,10 +6743,8 @@ export interface CatMlDataFrameAnalyticsDataFrameAnalyticsRecord {
6589
6743
  export interface CatMlDataFrameAnalyticsRequest extends CatCatRequestBase {
6590
6744
  id?: Id;
6591
6745
  allow_no_match?: boolean;
6592
- bytes?: Bytes;
6593
6746
  h?: CatCatDfaColumns;
6594
6747
  s?: CatCatDfaColumns;
6595
- time?: TimeUnit;
6596
6748
  }
6597
6749
  export type CatMlDataFrameAnalyticsResponse = CatMlDataFrameAnalyticsDataFrameAnalyticsRecord[];
6598
6750
  export interface CatMlDatafeedsDatafeedsRecord {
@@ -6634,7 +6786,6 @@ export interface CatMlDatafeedsRequest extends CatCatRequestBase {
6634
6786
  allow_no_match?: boolean;
6635
6787
  h?: CatCatDatafeedColumns;
6636
6788
  s?: CatCatDatafeedColumns;
6637
- time?: TimeUnit;
6638
6789
  }
6639
6790
  export type CatMlDatafeedsResponse = CatMlDatafeedsDatafeedsRecord[];
6640
6791
  export interface CatMlJobsJobsRecord {
@@ -6816,21 +6967,17 @@ export interface CatMlJobsJobsRecord {
6816
6967
  export interface CatMlJobsRequest extends CatCatRequestBase {
6817
6968
  job_id?: Id;
6818
6969
  allow_no_match?: boolean;
6819
- bytes?: Bytes;
6820
- h?: CatCatAnonalyDetectorColumns;
6821
- s?: CatCatAnonalyDetectorColumns;
6822
- time?: TimeUnit;
6970
+ h?: CatCatAnomalyDetectorColumns;
6971
+ s?: CatCatAnomalyDetectorColumns;
6823
6972
  }
6824
6973
  export type CatMlJobsResponse = CatMlJobsJobsRecord[];
6825
6974
  export interface CatMlTrainedModelsRequest extends CatCatRequestBase {
6826
6975
  model_id?: Id;
6827
6976
  allow_no_match?: boolean;
6828
- bytes?: Bytes;
6829
6977
  h?: CatCatTrainedModelsColumns;
6830
6978
  s?: CatCatTrainedModelsColumns;
6831
6979
  from?: integer;
6832
6980
  size?: integer;
6833
- time?: TimeUnit;
6834
6981
  }
6835
6982
  export type CatMlTrainedModelsResponse = CatMlTrainedModelsTrainedModelsRecord[];
6836
6983
  export interface CatMlTrainedModelsTrainedModelsRecord {
@@ -7170,13 +7317,11 @@ export interface CatNodesNodesRecord {
7170
7317
  bulkAvgSizeInBytes?: string;
7171
7318
  }
7172
7319
  export interface CatNodesRequest extends CatCatRequestBase {
7173
- bytes?: Bytes;
7174
7320
  full_id?: boolean | string;
7175
7321
  include_unloaded_segments?: boolean;
7176
7322
  h?: CatCatNodeColumns;
7177
7323
  s?: Names;
7178
7324
  master_timeout?: Duration;
7179
- time?: TimeUnit;
7180
7325
  }
7181
7326
  export type CatNodesResponse = CatNodesNodesRecord[];
7182
7327
  export interface CatPendingTasksPendingTasksRecord {
@@ -7194,7 +7339,6 @@ export interface CatPendingTasksRequest extends CatCatRequestBase {
7194
7339
  s?: Names;
7195
7340
  local?: boolean;
7196
7341
  master_timeout?: Duration;
7197
- time?: TimeUnit;
7198
7342
  }
7199
7343
  export type CatPendingTasksResponse = CatPendingTasksPendingTasksRecord[];
7200
7344
  export interface CatPluginsPluginsRecord {
@@ -7278,11 +7422,9 @@ export interface CatRecoveryRecoveryRecord {
7278
7422
  export interface CatRecoveryRequest extends CatCatRequestBase {
7279
7423
  index?: Indices;
7280
7424
  active_only?: boolean;
7281
- bytes?: Bytes;
7282
7425
  detailed?: boolean;
7283
7426
  h?: CatCatRecoveryColumns;
7284
7427
  s?: Names;
7285
- time?: TimeUnit;
7286
7428
  }
7287
7429
  export type CatRecoveryResponse = CatRecoveryRecoveryRecord[];
7288
7430
  export interface CatRepositoriesRepositoriesRecord {
@@ -7300,11 +7442,15 @@ export interface CatRepositoriesRequest extends CatCatRequestBase {
7300
7442
  export type CatRepositoriesResponse = CatRepositoriesRepositoriesRecord[];
7301
7443
  export interface CatSegmentsRequest extends CatCatRequestBase {
7302
7444
  index?: Indices;
7303
- bytes?: Bytes;
7304
7445
  h?: CatCatSegmentsColumns;
7305
7446
  s?: Names;
7306
7447
  local?: boolean;
7307
7448
  master_timeout?: Duration;
7449
+ expand_wildcards?: ExpandWildcards;
7450
+ allow_no_indices?: boolean;
7451
+ ignore_throttled?: boolean;
7452
+ ignore_unavailable?: boolean;
7453
+ allow_closed?: boolean;
7308
7454
  }
7309
7455
  export type CatSegmentsResponse = CatSegmentsSegmentsRecord[];
7310
7456
  export interface CatSegmentsSegmentsRecord {
@@ -7350,11 +7496,9 @@ export interface CatSegmentsSegmentsRecord {
7350
7496
  }
7351
7497
  export interface CatShardsRequest extends CatCatRequestBase {
7352
7498
  index?: Indices;
7353
- bytes?: Bytes;
7354
7499
  h?: CatCatShardColumns;
7355
7500
  s?: Names;
7356
7501
  master_timeout?: Duration;
7357
- time?: TimeUnit;
7358
7502
  }
7359
7503
  export type CatShardsResponse = CatShardsShardsRecord[];
7360
7504
  export interface CatShardsShardsRecord {
@@ -7577,7 +7721,6 @@ export interface CatSnapshotsRequest extends CatCatRequestBase {
7577
7721
  h?: CatCatSnapshotsColumns;
7578
7722
  s?: Names;
7579
7723
  master_timeout?: Duration;
7580
- time?: TimeUnit;
7581
7724
  }
7582
7725
  export type CatSnapshotsResponse = CatSnapshotsSnapshotsRecord[];
7583
7726
  export interface CatSnapshotsSnapshotsRecord {
@@ -7620,7 +7763,6 @@ export interface CatTasksRequest extends CatCatRequestBase {
7620
7763
  parent_task_id?: string;
7621
7764
  h?: Names;
7622
7765
  s?: Names;
7623
- time?: TimeUnit;
7624
7766
  timeout?: Duration;
7625
7767
  wait_for_completion?: boolean;
7626
7768
  }
@@ -7684,7 +7826,6 @@ export interface CatThreadPoolRequest extends CatCatRequestBase {
7684
7826
  thread_pool_patterns?: Names;
7685
7827
  h?: CatCatThreadPoolColumns;
7686
7828
  s?: Names;
7687
- time?: TimeUnit;
7688
7829
  local?: boolean;
7689
7830
  master_timeout?: Duration;
7690
7831
  }
@@ -7737,7 +7878,6 @@ export interface CatTransformsRequest extends CatCatRequestBase {
7737
7878
  from?: integer;
7738
7879
  h?: CatCatTransformColumns;
7739
7880
  s?: CatCatTransformColumns;
7740
- time?: TimeUnit;
7741
7881
  size?: integer;
7742
7882
  }
7743
7883
  export type CatTransformsResponse = CatTransformsTransformsRecord[];
@@ -8059,6 +8199,7 @@ export interface ClusterComponentTemplateSummary {
8059
8199
  mappings?: MappingTypeMapping;
8060
8200
  aliases?: Record<string, IndicesAliasDefinition>;
8061
8201
  lifecycle?: IndicesDataStreamLifecycleWithRollover;
8202
+ data_stream_options?: IndicesDataStreamOptions;
8062
8203
  }
8063
8204
  export interface ClusterAllocationExplainAllocationDecision {
8064
8205
  decider: string;
@@ -8099,7 +8240,7 @@ export interface ClusterAllocationExplainDiskUsage {
8099
8240
  used_disk_percent: double;
8100
8241
  }
8101
8242
  export interface ClusterAllocationExplainNodeAllocationExplanation {
8102
- deciders: ClusterAllocationExplainAllocationDecision[];
8243
+ deciders?: ClusterAllocationExplainAllocationDecision[];
8103
8244
  node_attributes: Record<string, string>;
8104
8245
  node_decision: ClusterAllocationExplainDecision;
8105
8246
  node_id: Id;
@@ -8107,7 +8248,7 @@ export interface ClusterAllocationExplainNodeAllocationExplanation {
8107
8248
  roles: NodeRoles;
8108
8249
  store?: ClusterAllocationExplainAllocationStore;
8109
8250
  transport_address: TransportAddress;
8110
- weight_ranking: integer;
8251
+ weight_ranking?: integer;
8111
8252
  }
8112
8253
  export interface ClusterAllocationExplainNodeDiskUsage {
8113
8254
  node_name: Name;
@@ -8305,7 +8446,7 @@ export interface ClusterPutComponentTemplateRequest extends RequestBase {
8305
8446
  master_timeout?: Duration;
8306
8447
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
8307
8448
  body?: {
8308
- template: IndicesIndexState;
8449
+ template: IndicesPutIndexTemplateIndexTemplateMapping;
8309
8450
  version?: VersionNumber;
8310
8451
  _meta?: Metadata;
8311
8452
  deprecated?: boolean;
@@ -9056,6 +9197,38 @@ export interface ConnectorPutResponse {
9056
9197
  result: Result;
9057
9198
  id: Id;
9058
9199
  }
9200
+ export interface ConnectorSecretDeleteRequest extends RequestBase {
9201
+ id: string;
9202
+ }
9203
+ export interface ConnectorSecretDeleteResponse {
9204
+ deleted: boolean;
9205
+ }
9206
+ export interface ConnectorSecretGetRequest extends RequestBase {
9207
+ id: string;
9208
+ }
9209
+ export interface ConnectorSecretGetResponse {
9210
+ id: string;
9211
+ value: string;
9212
+ }
9213
+ export interface ConnectorSecretPostRequest extends RequestBase {
9214
+ /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
9215
+ body?: {
9216
+ value?: string;
9217
+ };
9218
+ }
9219
+ export interface ConnectorSecretPostResponse {
9220
+ id: string;
9221
+ }
9222
+ export interface ConnectorSecretPutRequest extends RequestBase {
9223
+ id: string;
9224
+ /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
9225
+ body?: {
9226
+ value: string;
9227
+ };
9228
+ }
9229
+ export interface ConnectorSecretPutResponse {
9230
+ result: Result;
9231
+ }
9059
9232
  export interface ConnectorSyncJobCancelRequest extends RequestBase {
9060
9233
  connector_sync_job_id: Id;
9061
9234
  }
@@ -9273,14 +9446,14 @@ export interface ConnectorUpdateStatusResponse {
9273
9446
  }
9274
9447
  export interface DanglingIndicesDeleteDanglingIndexRequest extends RequestBase {
9275
9448
  index_uuid: Uuid;
9276
- accept_data_loss: boolean;
9449
+ accept_data_loss?: boolean;
9277
9450
  master_timeout?: Duration;
9278
9451
  timeout?: Duration;
9279
9452
  }
9280
9453
  export type DanglingIndicesDeleteDanglingIndexResponse = AcknowledgedResponseBase;
9281
9454
  export interface DanglingIndicesImportDanglingIndexRequest extends RequestBase {
9282
9455
  index_uuid: Uuid;
9283
- accept_data_loss: boolean;
9456
+ accept_data_loss?: boolean;
9284
9457
  master_timeout?: Duration;
9285
9458
  timeout?: Duration;
9286
9459
  }
@@ -9453,6 +9626,7 @@ export interface EsqlAsyncEsqlResult extends EsqlEsqlResult {
9453
9626
  id?: string;
9454
9627
  is_running: boolean;
9455
9628
  }
9629
+ export type EsqlESQLParams = EsqlSingleOrMultiValue[] | EsqlNamedValue[];
9456
9630
  export interface EsqlEsqlClusterDetails {
9457
9631
  status: EsqlEsqlClusterStatus;
9458
9632
  indices: string;
@@ -9495,6 +9669,8 @@ export interface EsqlEsqlShardInfo {
9495
9669
  failed?: integer;
9496
9670
  failures?: EsqlEsqlShardFailure[];
9497
9671
  }
9672
+ export type EsqlNamedValue = Partial<Record<string, EsqlSingleOrMultiValue>>;
9673
+ export type EsqlSingleOrMultiValue = FieldValue | FieldValue[];
9498
9674
  export interface EsqlTableValuesContainer {
9499
9675
  integer?: EsqlTableValuesIntegerValue[];
9500
9676
  keyword?: EsqlTableValuesKeywordValue[];
@@ -9515,7 +9691,7 @@ export interface EsqlAsyncQueryRequest extends RequestBase {
9515
9691
  columnar?: boolean;
9516
9692
  filter?: QueryDslQueryContainer;
9517
9693
  locale?: string;
9518
- params?: FieldValue[];
9694
+ params?: EsqlESQLParams;
9519
9695
  profile?: boolean;
9520
9696
  query: string;
9521
9697
  tables?: Record<string, Record<string, EsqlTableValuesContainer>>;
@@ -9554,7 +9730,7 @@ export interface EsqlQueryRequest extends RequestBase {
9554
9730
  columnar?: boolean;
9555
9731
  filter?: QueryDslQueryContainer;
9556
9732
  locale?: string;
9557
- params?: FieldValue[];
9733
+ params?: EsqlESQLParams;
9558
9734
  profile?: boolean;
9559
9735
  query: string;
9560
9736
  tables?: Record<string, Record<string, EsqlTableValuesContainer>>;
@@ -9579,6 +9755,19 @@ export interface FeaturesResetFeaturesResponse {
9579
9755
  features: FeaturesFeature[];
9580
9756
  }
9581
9757
  export type FleetCheckpoint = long;
9758
+ export interface FleetDeleteSecretRequest extends RequestBase {
9759
+ id: string;
9760
+ }
9761
+ export interface FleetDeleteSecretResponse {
9762
+ deleted: boolean;
9763
+ }
9764
+ export interface FleetGetSecretRequest extends RequestBase {
9765
+ id: string;
9766
+ }
9767
+ export interface FleetGetSecretResponse {
9768
+ id: string;
9769
+ value: string;
9770
+ }
9582
9771
  export interface FleetGlobalCheckpointsRequest extends RequestBase {
9583
9772
  index: IndexName | IndexAlias;
9584
9773
  wait_for_advance?: boolean;
@@ -9611,6 +9800,15 @@ export interface FleetMsearchRequest extends RequestBase {
9611
9800
  export interface FleetMsearchResponse<TDocument = unknown> {
9612
9801
  docs: MsearchResponseItem<TDocument>[];
9613
9802
  }
9803
+ export interface FleetPostSecretRequest extends RequestBase {
9804
+ /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
9805
+ body?: {
9806
+ value: string;
9807
+ };
9808
+ }
9809
+ export interface FleetPostSecretResponse {
9810
+ id: string;
9811
+ }
9614
9812
  export interface FleetSearchRequest extends RequestBase {
9615
9813
  index: IndexName | IndexAlias;
9616
9814
  allow_no_indices?: boolean;
@@ -9999,11 +10197,20 @@ export interface IndicesDataStream {
9999
10197
  name: DataStreamName;
10000
10198
  replicated?: boolean;
10001
10199
  rollover_on_write: boolean;
10200
+ settings: IndicesIndexSettings;
10002
10201
  status: HealthStatus;
10003
10202
  system?: boolean;
10004
10203
  template: Name;
10005
10204
  timestamp_field: IndicesDataStreamTimestampField;
10006
10205
  }
10206
+ export interface IndicesDataStreamFailureStore {
10207
+ enabled?: boolean;
10208
+ lifecycle?: IndicesFailureStoreLifecycle;
10209
+ }
10210
+ export interface IndicesDataStreamFailureStoreTemplate {
10211
+ enabled?: boolean | null;
10212
+ lifecycle?: IndicesFailureStoreLifecycleTemplate | null;
10213
+ }
10007
10214
  export interface IndicesDataStreamIndex {
10008
10215
  index_name: IndexName;
10009
10216
  index_uuid: Uuid;
@@ -10013,12 +10220,11 @@ export interface IndicesDataStreamIndex {
10013
10220
  }
10014
10221
  export interface IndicesDataStreamLifecycle {
10015
10222
  data_retention?: Duration;
10016
- downsampling?: IndicesDataStreamLifecycleDownsampling;
10223
+ effective_retention?: Duration;
10224
+ retention_determined_by?: IndicesRetentionSource;
10225
+ downsampling?: IndicesDownsamplingRound[];
10017
10226
  enabled?: boolean;
10018
10227
  }
10019
- export interface IndicesDataStreamLifecycleDownsampling {
10020
- rounds: IndicesDownsamplingRound[];
10021
- }
10022
10228
  export interface IndicesDataStreamLifecycleRolloverConditions {
10023
10229
  min_age?: Duration;
10024
10230
  max_age?: string;
@@ -10034,6 +10240,12 @@ export interface IndicesDataStreamLifecycleRolloverConditions {
10034
10240
  export interface IndicesDataStreamLifecycleWithRollover extends IndicesDataStreamLifecycle {
10035
10241
  rollover?: IndicesDataStreamLifecycleRolloverConditions;
10036
10242
  }
10243
+ export interface IndicesDataStreamOptions {
10244
+ failure_store?: IndicesDataStreamFailureStore;
10245
+ }
10246
+ export interface IndicesDataStreamOptionsTemplate {
10247
+ failure_store?: IndicesDataStreamFailureStoreTemplate | null;
10248
+ }
10037
10249
  export interface IndicesDataStreamTimestampField {
10038
10250
  name: Field;
10039
10251
  }
@@ -10053,6 +10265,14 @@ export interface IndicesFailureStore {
10053
10265
  indices: IndicesDataStreamIndex[];
10054
10266
  rollover_on_write: boolean;
10055
10267
  }
10268
+ export interface IndicesFailureStoreLifecycle {
10269
+ data_retention?: Duration;
10270
+ enabled?: boolean;
10271
+ }
10272
+ export interface IndicesFailureStoreLifecycleTemplate {
10273
+ data_retention?: Duration | null;
10274
+ enabled?: boolean;
10275
+ }
10056
10276
  export interface IndicesFielddataFrequencyFilter {
10057
10277
  max: double;
10058
10278
  min: double;
@@ -10210,6 +10430,7 @@ export interface IndicesIndexTemplateSummary {
10210
10430
  mappings?: MappingTypeMapping;
10211
10431
  settings?: IndicesIndexSettings;
10212
10432
  lifecycle?: IndicesDataStreamLifecycleWithRollover;
10433
+ data_stream_options?: IndicesDataStreamOptions;
10213
10434
  }
10214
10435
  export interface IndicesIndexVersioning {
10215
10436
  created?: VersionString;
@@ -10281,6 +10502,7 @@ export interface IndicesQueries {
10281
10502
  export interface IndicesRetentionLease {
10282
10503
  period: Duration;
10283
10504
  }
10505
+ export type IndicesRetentionSource = 'data_stream_configuration' | 'default_global_retention' | 'max_global_retention' | 'default_failures_retention';
10284
10506
  export interface IndicesSearchIdle {
10285
10507
  after?: Duration;
10286
10508
  }
@@ -10608,6 +10830,13 @@ export interface IndicesDeleteDataStreamRequest extends RequestBase {
10608
10830
  expand_wildcards?: ExpandWildcards;
10609
10831
  }
10610
10832
  export type IndicesDeleteDataStreamResponse = AcknowledgedResponseBase;
10833
+ export interface IndicesDeleteDataStreamOptionsRequest extends RequestBase {
10834
+ name: DataStreamNames;
10835
+ expand_wildcards?: ExpandWildcards;
10836
+ master_timeout?: Duration;
10837
+ timeout?: Duration;
10838
+ }
10839
+ export type IndicesDeleteDataStreamOptionsResponse = AcknowledgedResponseBase;
10611
10840
  export interface IndicesDeleteIndexTemplateRequest extends RequestBase {
10612
10841
  name: Names;
10613
10842
  master_timeout?: Duration;
@@ -10802,6 +11031,11 @@ export interface IndicesGetDataLifecycleRequest extends RequestBase {
10802
11031
  }
10803
11032
  export interface IndicesGetDataLifecycleResponse {
10804
11033
  data_streams: IndicesGetDataLifecycleDataStreamWithLifecycle[];
11034
+ global_retention: IndicesGetDataLifecycleGlobalRetention;
11035
+ }
11036
+ export interface IndicesGetDataLifecycleGlobalRetention {
11037
+ max_retention?: Duration;
11038
+ default_retention?: Duration;
10805
11039
  }
10806
11040
  export interface IndicesGetDataLifecycleStatsDataStreamStats {
10807
11041
  backing_indices_in_error: integer;
@@ -10826,6 +11060,30 @@ export interface IndicesGetDataStreamRequest extends RequestBase {
10826
11060
  export interface IndicesGetDataStreamResponse {
10827
11061
  data_streams: IndicesDataStream[];
10828
11062
  }
11063
+ export interface IndicesGetDataStreamOptionsDataStreamWithOptions {
11064
+ name: DataStreamName;
11065
+ options?: IndicesDataStreamOptions;
11066
+ }
11067
+ export interface IndicesGetDataStreamOptionsRequest extends RequestBase {
11068
+ name: DataStreamNames;
11069
+ expand_wildcards?: ExpandWildcards;
11070
+ master_timeout?: Duration;
11071
+ }
11072
+ export interface IndicesGetDataStreamOptionsResponse {
11073
+ data_streams: IndicesGetDataStreamOptionsDataStreamWithOptions[];
11074
+ }
11075
+ export interface IndicesGetDataStreamSettingsDataStreamSettings {
11076
+ name: string;
11077
+ settings: IndicesIndexSettings;
11078
+ effective_settings: IndicesIndexSettings;
11079
+ }
11080
+ export interface IndicesGetDataStreamSettingsRequest extends RequestBase {
11081
+ name: Indices;
11082
+ master_timeout?: Duration;
11083
+ }
11084
+ export interface IndicesGetDataStreamSettingsResponse {
11085
+ data_streams: IndicesGetDataStreamSettingsDataStreamSettings[];
11086
+ }
10829
11087
  export interface IndicesGetFieldMappingRequest extends RequestBase {
10830
11088
  fields: Fields;
10831
11089
  index?: Indices;
@@ -10984,16 +11242,56 @@ export interface IndicesPutDataLifecycleRequest extends RequestBase {
10984
11242
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
10985
11243
  body?: {
10986
11244
  data_retention?: Duration;
10987
- downsampling?: IndicesDataStreamLifecycleDownsampling;
11245
+ downsampling?: IndicesDownsamplingRound[];
10988
11246
  enabled?: boolean;
10989
11247
  };
10990
11248
  }
10991
11249
  export type IndicesPutDataLifecycleResponse = AcknowledgedResponseBase;
11250
+ export interface IndicesPutDataStreamOptionsRequest extends RequestBase {
11251
+ name: DataStreamNames;
11252
+ expand_wildcards?: ExpandWildcards;
11253
+ master_timeout?: Duration;
11254
+ timeout?: Duration;
11255
+ /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
11256
+ body?: {
11257
+ failure_store?: IndicesDataStreamFailureStore;
11258
+ };
11259
+ }
11260
+ export type IndicesPutDataStreamOptionsResponse = AcknowledgedResponseBase;
11261
+ export interface IndicesPutDataStreamSettingsDataStreamSettingsError {
11262
+ index: IndexName;
11263
+ error: string;
11264
+ }
11265
+ export interface IndicesPutDataStreamSettingsIndexSettingResults {
11266
+ applied_to_data_stream_only: string[];
11267
+ applied_to_data_stream_and_backing_indices: string[];
11268
+ errors?: IndicesPutDataStreamSettingsDataStreamSettingsError[];
11269
+ }
11270
+ export interface IndicesPutDataStreamSettingsRequest extends RequestBase {
11271
+ name: Indices;
11272
+ dry_run?: boolean;
11273
+ master_timeout?: Duration;
11274
+ timeout?: Duration;
11275
+ /** @deprecated The use of the 'body' key has been deprecated, use 'settings' instead. */
11276
+ body?: IndicesIndexSettings;
11277
+ }
11278
+ export interface IndicesPutDataStreamSettingsResponse {
11279
+ data_streams: IndicesPutDataStreamSettingsUpdatedDataStreamSettings[];
11280
+ }
11281
+ export interface IndicesPutDataStreamSettingsUpdatedDataStreamSettings {
11282
+ name: IndexName;
11283
+ applied_to_data_stream: boolean;
11284
+ error?: string;
11285
+ settings: IndicesIndexSettings;
11286
+ effective_settings: IndicesIndexSettings;
11287
+ index_settings_results: IndicesPutDataStreamSettingsIndexSettingResults;
11288
+ }
10992
11289
  export interface IndicesPutIndexTemplateIndexTemplateMapping {
10993
11290
  aliases?: Record<IndexName, IndicesAlias>;
10994
11291
  mappings?: MappingTypeMapping;
10995
11292
  settings?: IndicesIndexSettings;
10996
11293
  lifecycle?: IndicesDataStreamLifecycle;
11294
+ data_stream_options?: IndicesDataStreamOptionsTemplate | null;
10997
11295
  }
10998
11296
  export interface IndicesPutIndexTemplateRequest extends RequestBase {
10999
11297
  name: Name;
@@ -11372,6 +11670,8 @@ export interface IndicesSimulateIndexTemplateRequest extends RequestBase {
11372
11670
  cause?: string;
11373
11671
  master_timeout?: Duration;
11374
11672
  include_defaults?: boolean;
11673
+ /** @deprecated The use of the 'body' key has been deprecated, use 'index_template' instead. */
11674
+ body?: IndicesIndexTemplate;
11375
11675
  }
11376
11676
  export interface IndicesSimulateIndexTemplateResponse {
11377
11677
  overlapping?: IndicesSimulateTemplateOverlapping[];
@@ -11617,7 +11917,8 @@ export type IndicesUpdateAliasesResponse = AcknowledgedResponseBase;
11617
11917
  export interface IndicesValidateQueryIndicesValidationExplanation {
11618
11918
  error?: string;
11619
11919
  explanation?: string;
11620
- index: IndexName;
11920
+ index?: IndexName;
11921
+ shard?: integer;
11621
11922
  valid: boolean;
11622
11923
  }
11623
11924
  export interface IndicesValidateQueryRequest extends RequestBase {
@@ -11796,6 +12097,7 @@ export interface InferenceCustomResponseParams {
11796
12097
  json_parser: any;
11797
12098
  }
11798
12099
  export interface InferenceCustomServiceSettings {
12100
+ batch_size?: integer;
11799
12101
  headers?: any;
11800
12102
  input_type?: any;
11801
12103
  query_parameters?: any;
@@ -11971,11 +12273,14 @@ export interface InferenceInferenceResult {
11971
12273
  completion?: InferenceCompletionResult[];
11972
12274
  rerank?: InferenceRankedDocument[];
11973
12275
  }
12276
+ export type InferenceJinaAIElementType = 'binary' | 'bit' | 'float';
11974
12277
  export interface InferenceJinaAIServiceSettings {
11975
12278
  api_key: string;
11976
- model_id?: string;
12279
+ model_id: string;
11977
12280
  rate_limit?: InferenceRateLimitSetting;
11978
12281
  similarity?: InferenceJinaAISimilarityType;
12282
+ dimensions?: integer;
12283
+ embedding_type?: InferenceJinaAIElementType;
11979
12284
  }
11980
12285
  export type InferenceJinaAIServiceType = 'jinaai';
11981
12286
  export type InferenceJinaAISimilarityType = 'cosine' | 'dot_product' | 'l2_norm';
@@ -12007,9 +12312,11 @@ export interface InferenceOpenAIServiceSettings {
12007
12312
  model_id: string;
12008
12313
  organization_id?: string;
12009
12314
  rate_limit?: InferenceRateLimitSetting;
12315
+ similarity?: InferenceOpenAISimilarityType;
12010
12316
  url?: string;
12011
12317
  }
12012
12318
  export type InferenceOpenAIServiceType = 'openai';
12319
+ export type InferenceOpenAISimilarityType = 'cosine' | 'dot_product' | 'l2_norm';
12013
12320
  export interface InferenceOpenAITaskSettings {
12014
12321
  user?: string;
12015
12322
  }
@@ -12040,6 +12347,7 @@ export interface InferenceSparseEmbeddingInferenceResult {
12040
12347
  sparse_embedding: InferenceSparseEmbeddingResult[];
12041
12348
  }
12042
12349
  export interface InferenceSparseEmbeddingResult {
12350
+ is_truncated: boolean;
12043
12351
  embedding: InferenceSparseVector;
12044
12352
  }
12045
12353
  export type InferenceSparseVector = Record<string, float>;
@@ -12107,7 +12415,7 @@ export interface InferenceWatsonxServiceSettings {
12107
12415
  url: string;
12108
12416
  }
12109
12417
  export type InferenceWatsonxServiceType = 'watsonxai';
12110
- export type InferenceWatsonxTaskType = 'text_embedding';
12418
+ export type InferenceWatsonxTaskType = 'text_embedding' | 'rerank';
12111
12419
  export interface InferenceChatCompletionUnifiedRequest extends RequestBase {
12112
12420
  inference_id: Id;
12113
12421
  timeout?: Duration;
@@ -12437,6 +12745,7 @@ export interface InferenceTextEmbeddingRequest extends RequestBase {
12437
12745
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
12438
12746
  body?: {
12439
12747
  input: string | string[];
12748
+ input_type?: string;
12440
12749
  task_settings?: InferenceTaskSettings;
12441
12750
  };
12442
12751
  }
@@ -12450,7 +12759,8 @@ export interface InferenceUpdateRequest extends RequestBase {
12450
12759
  export type InferenceUpdateResponse = InferenceInferenceEndpointInfo;
12451
12760
  export interface IngestAppendProcessor extends IngestProcessorBase {
12452
12761
  field: Field;
12453
- value: any | any[];
12762
+ value?: any | any[];
12763
+ media_type?: string;
12454
12764
  allow_duplicates?: boolean;
12455
12765
  }
12456
12766
  export interface IngestAttachmentProcessor extends IngestProcessorBase {
@@ -13220,13 +13530,13 @@ export interface MlAnalysisConfig {
13220
13530
  }
13221
13531
  export interface MlAnalysisConfigRead {
13222
13532
  bucket_span: Duration;
13533
+ detectors: MlDetectorRead[];
13534
+ influencers: Field[];
13223
13535
  categorization_analyzer?: MlCategorizationAnalyzer;
13224
13536
  categorization_field_name?: Field;
13225
13537
  categorization_filters?: string[];
13226
- detectors: MlDetectorRead[];
13227
- influencers: Field[];
13228
- model_prune_window?: Duration;
13229
13538
  latency?: Duration;
13539
+ model_prune_window?: Duration;
13230
13540
  multivariate_by_fields?: boolean;
13231
13541
  per_partition_categorization?: MlPerPartitionCategorization;
13232
13542
  summary_count_field_name?: Field;
@@ -13704,13 +14014,13 @@ export interface MlDetector {
13704
14014
  use_null?: boolean;
13705
14015
  }
13706
14016
  export interface MlDetectorRead {
14017
+ function: string;
13707
14018
  by_field_name?: Field;
13708
14019
  custom_rules?: MlDetectionRule[];
13709
14020
  detector_description?: string;
13710
14021
  detector_index?: integer;
13711
14022
  exclude_frequent?: MlExcludeFrequent;
13712
14023
  field_name?: Field;
13713
- function: string;
13714
14024
  over_field_name?: Field;
13715
14025
  partition_field_name?: Field;
13716
14026
  use_null?: boolean;
@@ -13751,7 +14061,7 @@ export interface MlFillMaskInferenceOptions {
13751
14061
  num_top_classes?: integer;
13752
14062
  tokenization?: MlTokenizationConfigContainer;
13753
14063
  results_field?: string;
13754
- vocabulary: MlVocabulary;
14064
+ vocabulary?: MlVocabulary;
13755
14065
  }
13756
14066
  export interface MlFillMaskInferenceUpdateOptions {
13757
14067
  num_top_classes?: integer;
@@ -14116,7 +14426,7 @@ export interface MlTextEmbeddingInferenceOptions {
14116
14426
  embedding_size?: integer;
14117
14427
  tokenization?: MlTokenizationConfigContainer;
14118
14428
  results_field?: string;
14119
- vocabulary: MlVocabulary;
14429
+ vocabulary?: MlVocabulary;
14120
14430
  }
14121
14431
  export interface MlTextEmbeddingInferenceUpdateOptions {
14122
14432
  tokenization?: MlNlpTokenizationUpdateOptions;
@@ -14125,7 +14435,7 @@ export interface MlTextEmbeddingInferenceUpdateOptions {
14125
14435
  export interface MlTextExpansionInferenceOptions {
14126
14436
  tokenization?: MlTokenizationConfigContainer;
14127
14437
  results_field?: string;
14128
- vocabulary: MlVocabulary;
14438
+ vocabulary?: MlVocabulary;
14129
14439
  }
14130
14440
  export interface MlTextExpansionInferenceUpdateOptions {
14131
14441
  tokenization?: MlNlpTokenizationUpdateOptions;
@@ -15273,7 +15583,11 @@ export interface MlSetUpgradeModeRequest extends RequestBase {
15273
15583
  export type MlSetUpgradeModeResponse = AcknowledgedResponseBase;
15274
15584
  export interface MlStartDataFrameAnalyticsRequest extends RequestBase {
15275
15585
  id: Id;
15276
- timeout?: Duration;
15586
+ /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
15587
+ body?: {
15588
+ id?: Id;
15589
+ timeout?: Duration;
15590
+ };
15277
15591
  }
15278
15592
  export interface MlStartDataFrameAnalyticsResponse {
15279
15593
  acknowledged: boolean;
@@ -15312,9 +15626,13 @@ export interface MlStartTrainedModelDeploymentResponse {
15312
15626
  }
15313
15627
  export interface MlStopDataFrameAnalyticsRequest extends RequestBase {
15314
15628
  id: Id;
15315
- allow_no_match?: boolean;
15316
- force?: boolean;
15317
- timeout?: Duration;
15629
+ /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
15630
+ body?: {
15631
+ id?: Id;
15632
+ allow_no_match?: boolean;
15633
+ force?: boolean;
15634
+ timeout?: Duration;
15635
+ };
15318
15636
  }
15319
15637
  export interface MlStopDataFrameAnalyticsResponse {
15320
15638
  stopped: boolean;
@@ -15333,8 +15651,12 @@ export interface MlStopDatafeedResponse {
15333
15651
  }
15334
15652
  export interface MlStopTrainedModelDeploymentRequest extends RequestBase {
15335
15653
  model_id: Id;
15336
- allow_no_match?: boolean;
15337
- force?: boolean;
15654
+ /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
15655
+ body?: {
15656
+ id?: Id;
15657
+ allow_no_match?: boolean;
15658
+ force?: boolean;
15659
+ };
15338
15660
  }
15339
15661
  export interface MlStopTrainedModelDeploymentResponse {
15340
15662
  stopped: boolean;
@@ -15518,7 +15840,6 @@ export interface MlValidateDetectorRequest extends RequestBase {
15518
15840
  }
15519
15841
  export type MlValidateDetectorResponse = AcknowledgedResponseBase;
15520
15842
  export interface MonitoringBulkRequest<TDocument = unknown, TPartialDocument = unknown> extends RequestBase {
15521
- type?: string;
15522
15843
  system_id: string;
15523
15844
  system_api_version: string;
15524
15845
  interval: Duration;
@@ -16350,6 +16671,30 @@ export interface NodesUsageResponseBase extends NodesNodesResponseBase {
16350
16671
  cluster_name: Name;
16351
16672
  nodes: Record<string, NodesUsageNodeUsage>;
16352
16673
  }
16674
+ export interface ProfilingFlamegraphRequest extends RequestBase {
16675
+ /** @deprecated The use of the 'body' key has been deprecated, use 'conditions' instead. */
16676
+ body?: any;
16677
+ }
16678
+ export type ProfilingFlamegraphResponse = any;
16679
+ export interface ProfilingStacktracesRequest extends RequestBase {
16680
+ /** @deprecated The use of the 'body' key has been deprecated, use 'conditions' instead. */
16681
+ body?: any;
16682
+ }
16683
+ export type ProfilingStacktracesResponse = any;
16684
+ export type ProfilingStatusProfilingOperationMode = 'RUNNING' | 'STOPPING' | 'STOPPED';
16685
+ export interface ProfilingStatusRequest extends RequestBase {
16686
+ master_timeout?: Duration;
16687
+ timeout?: Duration;
16688
+ wait_for_resources_created?: boolean;
16689
+ }
16690
+ export interface ProfilingStatusResponse {
16691
+ operation_mode: ProfilingStatusProfilingOperationMode;
16692
+ }
16693
+ export interface ProfilingTopnFunctionsRequest extends RequestBase {
16694
+ /** @deprecated The use of the 'body' key has been deprecated, use 'conditions' instead. */
16695
+ body?: any;
16696
+ }
16697
+ export type ProfilingTopnFunctionsResponse = any;
16353
16698
  export interface QueryRulesQueryRule {
16354
16699
  rule_id: Id;
16355
16700
  type: QueryRulesQueryRuleType;
@@ -16366,7 +16711,7 @@ export interface QueryRulesQueryRuleCriteria {
16366
16711
  metadata?: string;
16367
16712
  values?: any[];
16368
16713
  }
16369
- export type QueryRulesQueryRuleCriteriaType = 'global' | 'exact' | 'exact_fuzzy' | 'fuzzy' | 'prefix' | 'suffix' | 'contains' | 'lt' | 'lte' | 'gt' | 'gte' | 'always';
16714
+ export type QueryRulesQueryRuleCriteriaType = 'global' | 'exact' | 'fuzzy' | 'prefix' | 'suffix' | 'contains' | 'lt' | 'lte' | 'gt' | 'gte' | 'always';
16370
16715
  export type QueryRulesQueryRuleType = 'pinned' | 'exclude';
16371
16716
  export interface QueryRulesQueryRuleset {
16372
16717
  ruleset_id: Id;
@@ -16813,6 +17158,13 @@ export interface SecurityIndicesPrivileges {
16813
17158
  query?: SecurityIndicesPrivilegesQuery;
16814
17159
  allow_restricted_indices?: boolean;
16815
17160
  }
17161
+ export interface SecurityIndicesPrivilegesBase {
17162
+ field_security?: SecurityFieldSecurity;
17163
+ names: IndexName[];
17164
+ privileges: SecurityIndexPrivilege[];
17165
+ query?: SecurityIndicesPrivilegesQuery;
17166
+ allow_restricted_indices?: boolean;
17167
+ }
16816
17168
  export type SecurityIndicesPrivilegesQuery = string | QueryDslQueryContainer | SecurityRoleTemplateQuery;
16817
17169
  export interface SecurityManageUserPrivileges {
16818
17170
  applications: string[];
@@ -16835,12 +17187,12 @@ export interface SecurityRemoteIndicesPrivileges {
16835
17187
  allow_restricted_indices?: boolean;
16836
17188
  }
16837
17189
  export interface SecurityRemoteUserIndicesPrivileges {
17190
+ clusters: string[];
16838
17191
  field_security?: SecurityFieldSecurity[];
16839
- names: IndexName | IndexName[];
17192
+ names: IndexName[];
16840
17193
  privileges: SecurityIndexPrivilege[];
16841
17194
  query?: SecurityIndicesPrivilegesQuery[];
16842
17195
  allow_restricted_indices: boolean;
16843
- clusters: string[];
16844
17196
  }
16845
17197
  export interface SecurityReplicationAccess {
16846
17198
  names: IndexName | IndexName[];
@@ -16932,6 +17284,13 @@ export interface SecurityUserIndicesPrivileges {
16932
17284
  query?: SecurityIndicesPrivilegesQuery[];
16933
17285
  allow_restricted_indices: boolean;
16934
17286
  }
17287
+ export interface SecurityUserIndicesPrivilegesBase {
17288
+ field_security?: SecurityFieldSecurity[];
17289
+ names: IndexName[];
17290
+ privileges: SecurityIndexPrivilege[];
17291
+ query?: SecurityIndicesPrivilegesQuery[];
17292
+ allow_restricted_indices: boolean;
17293
+ }
16935
17294
  export interface SecurityUserProfile {
16936
17295
  uid: SecurityUserProfileId;
16937
17296
  user: SecurityUserProfileUser;
@@ -17858,8 +18217,8 @@ export type SecurityUpdateUserProfileDataResponse = AcknowledgedResponseBase;
17858
18217
  export type ShutdownType = 'restart' | 'remove' | 'replace';
17859
18218
  export interface ShutdownDeleteNodeRequest extends RequestBase {
17860
18219
  node_id: NodeId;
17861
- master_timeout?: TimeUnit;
17862
- timeout?: TimeUnit;
18220
+ master_timeout?: Duration;
18221
+ timeout?: Duration;
17863
18222
  }
17864
18223
  export type ShutdownDeleteNodeResponse = AcknowledgedResponseBase;
17865
18224
  export interface ShutdownGetNodeNodeShutdownStatus {
@@ -17880,7 +18239,7 @@ export interface ShutdownGetNodePluginsStatus {
17880
18239
  }
17881
18240
  export interface ShutdownGetNodeRequest extends RequestBase {
17882
18241
  node_id?: NodeIds;
17883
- master_timeout?: TimeUnit;
18242
+ master_timeout?: Duration;
17884
18243
  }
17885
18244
  export interface ShutdownGetNodeResponse {
17886
18245
  nodes: ShutdownGetNodeNodeShutdownStatus[];
@@ -17892,8 +18251,8 @@ export type ShutdownGetNodeShutdownStatus = 'not_started' | 'in_progress' | 'sta
17892
18251
  export type ShutdownGetNodeShutdownType = 'remove' | 'restart';
17893
18252
  export interface ShutdownPutNodeRequest extends RequestBase {
17894
18253
  node_id: NodeId;
17895
- master_timeout?: TimeUnit;
17896
- timeout?: TimeUnit;
18254
+ master_timeout?: Duration;
18255
+ timeout?: Duration;
17897
18256
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
17898
18257
  body?: {
17899
18258
  type: ShutdownType;
@@ -18075,11 +18434,13 @@ export interface SnapshotAzureRepository extends SnapshotRepositoryBase {
18075
18434
  settings: SnapshotAzureRepositorySettings;
18076
18435
  }
18077
18436
  export interface SnapshotAzureRepositorySettings extends SnapshotRepositorySettingsBase {
18437
+ base_path?: string;
18078
18438
  client?: string;
18079
18439
  container?: string;
18080
- base_path?: string;
18081
- readonly?: boolean;
18440
+ delete_objects_max_size?: integer;
18082
18441
  location_mode?: string;
18442
+ max_concurrent_batch_deletes?: integer;
18443
+ readonly?: boolean;
18083
18444
  }
18084
18445
  export interface SnapshotFileCountSnapshotStats {
18085
18446
  file_count: integer;
@@ -18091,10 +18452,10 @@ export interface SnapshotGcsRepository extends SnapshotRepositoryBase {
18091
18452
  }
18092
18453
  export interface SnapshotGcsRepositorySettings extends SnapshotRepositorySettingsBase {
18093
18454
  bucket: string;
18094
- client?: string;
18455
+ application_name?: string;
18095
18456
  base_path?: string;
18457
+ client?: string;
18096
18458
  readonly?: boolean;
18097
- application_name?: string;
18098
18459
  }
18099
18460
  export interface SnapshotIndexDetails {
18100
18461
  shard_count: integer;
@@ -18132,13 +18493,20 @@ export interface SnapshotS3Repository extends SnapshotRepositoryBase {
18132
18493
  }
18133
18494
  export interface SnapshotS3RepositorySettings extends SnapshotRepositorySettingsBase {
18134
18495
  bucket: string;
18135
- client?: string;
18136
18496
  base_path?: string;
18137
- readonly?: boolean;
18138
- server_side_encryption?: boolean;
18139
18497
  buffer_size?: ByteSize;
18140
18498
  canned_acl?: string;
18499
+ client?: string;
18500
+ delete_objects_max_size?: integer;
18501
+ get_register_retry_delay?: Duration;
18502
+ max_multipart_parts?: integer;
18503
+ max_multipart_upload_cleanup_size?: integer;
18504
+ readonly?: boolean;
18505
+ server_side_encryption?: boolean;
18141
18506
  storage_class?: string;
18507
+ 'throttled_delete_retry.delay_increment'?: Duration;
18508
+ 'throttled_delete_retry.maximum_delay'?: Duration;
18509
+ 'throttled_delete_retry.maximum_number_of_retries'?: integer;
18142
18510
  }
18143
18511
  export interface SnapshotShardsStats {
18144
18512
  done: long;
@@ -18267,10 +18635,11 @@ export interface SnapshotCreateRequest extends RequestBase {
18267
18635
  wait_for_completion?: boolean;
18268
18636
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
18269
18637
  body?: {
18638
+ expand_wildcards?: ExpandWildcards;
18639
+ feature_states?: string[];
18270
18640
  ignore_unavailable?: boolean;
18271
18641
  include_global_state?: boolean;
18272
18642
  indices?: Indices;
18273
- feature_states?: string[];
18274
18643
  metadata?: Metadata;
18275
18644
  partial?: boolean;
18276
18645
  };
@@ -18304,25 +18673,26 @@ export type SnapshotDeleteRepositoryResponse = AcknowledgedResponseBase;
18304
18673
  export interface SnapshotGetRequest extends RequestBase {
18305
18674
  repository: Name;
18306
18675
  snapshot: Names;
18676
+ after?: string;
18677
+ from_sort_value?: string;
18307
18678
  ignore_unavailable?: boolean;
18308
- master_timeout?: Duration;
18309
- verbose?: boolean;
18310
18679
  index_details?: boolean;
18311
18680
  index_names?: boolean;
18312
18681
  include_repository?: boolean;
18313
- sort?: SnapshotSnapshotSort;
18314
- size?: integer;
18682
+ master_timeout?: Duration;
18315
18683
  order?: SortOrder;
18316
- after?: string;
18317
18684
  offset?: integer;
18318
- from_sort_value?: string;
18685
+ size?: integer;
18319
18686
  slm_policy_filter?: Name;
18687
+ sort?: SnapshotSnapshotSort;
18688
+ verbose?: boolean;
18320
18689
  }
18321
18690
  export interface SnapshotGetResponse {
18691
+ remaining: integer;
18692
+ total: integer;
18693
+ next?: string;
18322
18694
  responses?: SnapshotGetSnapshotResponseItem[];
18323
18695
  snapshots?: SnapshotSnapshotInfo[];
18324
- total: integer;
18325
- remaining: integer;
18326
18696
  }
18327
18697
  export interface SnapshotGetSnapshotResponseItem {
18328
18698
  repository: Name;
@@ -18435,14 +18805,14 @@ export interface SnapshotRepositoryAnalyzeWriteSummaryInfo {
18435
18805
  }
18436
18806
  export interface SnapshotRepositoryVerifyIntegrityRequest extends RequestBase {
18437
18807
  name: Names;
18438
- meta_thread_pool_concurrency?: integer;
18439
18808
  blob_thread_pool_concurrency?: integer;
18440
- snapshot_verification_concurrency?: integer;
18441
- index_verification_concurrency?: integer;
18442
18809
  index_snapshot_verification_concurrency?: integer;
18810
+ index_verification_concurrency?: integer;
18811
+ max_bytes_per_sec?: string;
18443
18812
  max_failed_shard_snapshots?: integer;
18813
+ meta_thread_pool_concurrency?: integer;
18814
+ snapshot_verification_concurrency?: integer;
18444
18815
  verify_blob_contents?: boolean;
18445
- max_bytes_per_sec?: string;
18446
18816
  }
18447
18817
  export type SnapshotRepositoryVerifyIntegrityResponse = any;
18448
18818
  export interface SnapshotRestoreRequest extends RequestBase {
@@ -18552,7 +18922,7 @@ export interface SqlQueryRequest extends RequestBase {
18552
18922
  keep_alive?: Duration;
18553
18923
  keep_on_completion?: boolean;
18554
18924
  page_timeout?: Duration;
18555
- params?: Record<string, any>;
18925
+ params?: any[];
18556
18926
  query?: string;
18557
18927
  request_timeout?: Duration;
18558
18928
  runtime_mappings?: MappingRuntimeFields;
@@ -18585,6 +18955,7 @@ export interface SqlTranslateResponse {
18585
18955
  fields?: (QueryDslFieldAndFormat | Field)[];
18586
18956
  query?: QueryDslQueryContainer;
18587
18957
  sort?: Sort;
18958
+ track_total_hits?: SearchTrackHits;
18588
18959
  }
18589
18960
  export interface SslCertificatesCertificateInformation {
18590
18961
  alias: string | null;
@@ -18599,6 +18970,25 @@ export interface SslCertificatesCertificateInformation {
18599
18970
  export interface SslCertificatesRequest extends RequestBase {
18600
18971
  }
18601
18972
  export type SslCertificatesResponse = SslCertificatesCertificateInformation[];
18973
+ export interface StreamsLogsDisableRequest extends RequestBase {
18974
+ master_timeout?: Duration;
18975
+ timeout?: Duration;
18976
+ }
18977
+ export type StreamsLogsDisableResponse = AcknowledgedResponseBase;
18978
+ export interface StreamsLogsEnableRequest extends RequestBase {
18979
+ master_timeout?: Duration;
18980
+ timeout?: Duration;
18981
+ }
18982
+ export type StreamsLogsEnableResponse = AcknowledgedResponseBase;
18983
+ export interface StreamsStatusLogsStatus {
18984
+ enabled: boolean;
18985
+ }
18986
+ export interface StreamsStatusRequest extends RequestBase {
18987
+ master_timeout?: Duration;
18988
+ }
18989
+ export interface StreamsStatusResponse {
18990
+ logs: StreamsStatusLogsStatus;
18991
+ }
18602
18992
  export interface SynonymsSynonymRule {
18603
18993
  id?: Id;
18604
18994
  synonyms: SynonymsSynonymString;
@@ -18815,13 +19205,14 @@ export interface TextStructureFindMessageStructureResponse {
18815
19205
  sample_start: string;
18816
19206
  timestamp_field?: Field;
18817
19207
  }
19208
+ export type TextStructureFindStructureFindStructureFormat = 'ndjson' | 'xml' | 'delimited' | 'semi_structured_text';
18818
19209
  export interface TextStructureFindStructureRequest<TJsonDocument = unknown> {
18819
19210
  charset?: string;
18820
19211
  column_names?: string;
18821
19212
  delimiter?: string;
18822
19213
  ecs_compatibility?: string;
18823
19214
  explain?: boolean;
18824
- format?: string;
19215
+ format?: TextStructureFindStructureFindStructureFormat;
18825
19216
  grok_pattern?: GrokPattern;
18826
19217
  has_header_row?: boolean;
18827
19218
  line_merge_size_limit?: uint;
@@ -18910,6 +19301,8 @@ export interface TransformSettings {
18910
19301
  deduce_mappings?: boolean;
18911
19302
  docs_per_second?: float;
18912
19303
  max_page_search_size?: integer;
19304
+ use_point_in_time?: boolean;
19305
+ num_failure_retries?: integer;
18913
19306
  unattended?: boolean;
18914
19307
  }
18915
19308
  export interface TransformSource {
@@ -18931,6 +19324,22 @@ export interface TransformDeleteTransformRequest extends RequestBase {
18931
19324
  timeout?: Duration;
18932
19325
  }
18933
19326
  export type TransformDeleteTransformResponse = AcknowledgedResponseBase;
19327
+ export interface TransformGetNodeStatsRequest extends RequestBase {
19328
+ }
19329
+ export type TransformGetNodeStatsResponse = TransformGetNodeStatsTransformNodeFullStats;
19330
+ export interface TransformGetNodeStatsTransformNodeFullStatsKeys {
19331
+ total: TransformGetNodeStatsTransformNodeStats;
19332
+ }
19333
+ export type TransformGetNodeStatsTransformNodeFullStats = TransformGetNodeStatsTransformNodeFullStatsKeys & {
19334
+ [property: string]: TransformGetNodeStatsTransformNodeStats;
19335
+ };
19336
+ export interface TransformGetNodeStatsTransformNodeStats {
19337
+ scheduler: TransformGetNodeStatsTransformSchedulerStats;
19338
+ }
19339
+ export interface TransformGetNodeStatsTransformSchedulerStats {
19340
+ registered_transform_count: integer;
19341
+ peek_transform?: string;
19342
+ }
18934
19343
  export interface TransformGetTransformRequest extends RequestBase {
18935
19344
  transform_id?: Names;
18936
19345
  allow_no_match?: boolean;
@@ -19084,6 +19493,11 @@ export interface TransformScheduleNowTransformRequest extends RequestBase {
19084
19493
  timeout?: Duration;
19085
19494
  }
19086
19495
  export type TransformScheduleNowTransformResponse = AcknowledgedResponseBase;
19496
+ export interface TransformSetUpgradeModeRequest extends RequestBase {
19497
+ enabled?: boolean;
19498
+ timeout?: Duration;
19499
+ }
19500
+ export type TransformSetUpgradeModeResponse = AcknowledgedResponseBase;
19087
19501
  export interface TransformStartTransformRequest extends RequestBase {
19088
19502
  transform_id: Id;
19089
19503
  timeout?: Duration;
@@ -20187,4 +20601,6 @@ export interface SpecUtilsCommonCatQueryParameters {
20187
20601
  format?: string;
20188
20602
  help?: boolean;
20189
20603
  v?: boolean;
20604
+ bytes?: Bytes;
20605
+ time?: TimeUnit;
20190
20606
  }