@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
@@ -81,6 +81,24 @@ export interface BulkWriteOperation extends BulkOperationBase {
81
81
  pipeline?: string;
82
82
  require_alias?: boolean;
83
83
  }
84
+ export interface CapabilitiesFailedNodeException {
85
+ node_id: Id;
86
+ }
87
+ export interface CapabilitiesRequest extends RequestBase {
88
+ method?: CapabilitiesRestMethod;
89
+ path?: string;
90
+ parameters?: string | string[];
91
+ capabilities?: string | string[];
92
+ local_only?: boolean;
93
+ timeout?: Duration;
94
+ }
95
+ export interface CapabilitiesResponse {
96
+ _nodes: NodeStatistics;
97
+ cluster_name: Name;
98
+ supported: boolean | null;
99
+ failures?: CapabilitiesFailedNodeException[];
100
+ }
101
+ export type CapabilitiesRestMethod = 'GET' | 'HEAD' | 'POST' | 'PUT' | 'DELETE';
84
102
  export interface ClearScrollRequest extends RequestBase {
85
103
  scroll_id?: ScrollIds;
86
104
  }
@@ -169,7 +187,6 @@ export interface DeleteByQueryRequest extends RequestBase {
169
187
  search_timeout?: Duration;
170
188
  search_type?: SearchType;
171
189
  slices?: Slices;
172
- sort?: string[];
173
190
  stats?: string[];
174
191
  terminate_after?: long;
175
192
  timeout?: Duration;
@@ -179,6 +196,7 @@ export interface DeleteByQueryRequest extends RequestBase {
179
196
  max_docs?: long;
180
197
  query?: QueryDslQueryContainer;
181
198
  slice?: SlicedScroll;
199
+ sort?: Sort;
182
200
  }
183
201
  export interface DeleteByQueryResponse {
184
202
  batches?: long;
@@ -200,7 +218,7 @@ export interface DeleteByQueryResponse {
200
218
  }
201
219
  export interface DeleteByQueryRethrottleRequest extends RequestBase {
202
220
  task_id: TaskId;
203
- requests_per_second?: float;
221
+ requests_per_second: float;
204
222
  }
205
223
  export type DeleteByQueryRethrottleResponse = TasksTaskListResponseBase;
206
224
  export interface DeleteScriptRequest extends RequestBase {
@@ -878,7 +896,6 @@ export interface ReindexRequest extends RequestBase {
878
896
  dest: ReindexDestination;
879
897
  max_docs?: long;
880
898
  script?: Script | string;
881
- size?: long;
882
899
  source: ReindexSource;
883
900
  }
884
901
  export interface ReindexResponse {
@@ -906,7 +923,7 @@ export interface ReindexSource {
906
923
  size?: integer;
907
924
  slice?: SlicedScroll;
908
925
  sort?: Sort;
909
- _source?: Fields;
926
+ _source?: SearchSourceConfig;
910
927
  runtime_mappings?: MappingRuntimeFields;
911
928
  }
912
929
  export interface ReindexRethrottleReindexNode extends SpecUtilsBaseNode {
@@ -941,7 +958,7 @@ export interface ReindexRethrottleReindexTask {
941
958
  }
942
959
  export interface ReindexRethrottleRequest extends RequestBase {
943
960
  task_id: Id;
944
- requests_per_second?: float;
961
+ requests_per_second: float;
945
962
  }
946
963
  export interface ReindexRethrottleResponse {
947
964
  nodes: Record<string, ReindexRethrottleReindexNode>;
@@ -1411,7 +1428,6 @@ export interface SearchPhraseSuggester extends SearchSuggesterBase {
1411
1428
  separator?: string;
1412
1429
  shard_size?: integer;
1413
1430
  smoothing?: SearchSmoothingModelContainer;
1414
- text?: string;
1415
1431
  token_limit?: integer;
1416
1432
  }
1417
1433
  export interface SearchPointInTimeReference {
@@ -1547,7 +1563,6 @@ export interface SearchTermSuggester extends SearchSuggesterBase {
1547
1563
  sort?: SearchSuggestSort;
1548
1564
  string_distance?: SearchStringDistance;
1549
1565
  suggest_mode?: SuggestMode;
1550
- text?: string;
1551
1566
  }
1552
1567
  export interface SearchTotalHits {
1553
1568
  relation: SearchTotalHitsRelation;
@@ -1683,7 +1698,7 @@ export interface TermvectorsRequest<TDocument = unknown> extends RequestBase {
1683
1698
  doc?: TDocument;
1684
1699
  filter?: TermvectorsFilter;
1685
1700
  per_field_analyzer?: Record<Field, string>;
1686
- fields?: Fields;
1701
+ fields?: Field[];
1687
1702
  field_statistics?: boolean;
1688
1703
  offsets?: boolean;
1689
1704
  payloads?: boolean;
@@ -1802,7 +1817,7 @@ export interface UpdateByQueryResponse {
1802
1817
  }
1803
1818
  export interface UpdateByQueryRethrottleRequest extends RequestBase {
1804
1819
  task_id: Id;
1805
- requests_per_second?: float;
1820
+ requests_per_second: float;
1806
1821
  }
1807
1822
  export interface UpdateByQueryRethrottleResponse {
1808
1823
  nodes: Record<string, UpdateByQueryRethrottleUpdateByQueryRethrottleNode>;
@@ -1810,6 +1825,43 @@ export interface UpdateByQueryRethrottleResponse {
1810
1825
  export interface UpdateByQueryRethrottleUpdateByQueryRethrottleNode extends SpecUtilsBaseNode {
1811
1826
  tasks: Record<TaskId, TasksTaskInfo>;
1812
1827
  }
1828
+ export interface InternalDeleteDesiredBalanceRequest extends RequestBase {
1829
+ master_timeout?: Duration;
1830
+ }
1831
+ export type InternalDeleteDesiredBalanceResponse = boolean;
1832
+ export interface InternalDeleteDesiredNodesRequest extends RequestBase {
1833
+ master_timeout?: Duration;
1834
+ timeout?: Duration;
1835
+ }
1836
+ export type InternalDeleteDesiredNodesResponse = boolean;
1837
+ export interface InternalGetDesiredBalanceRequest extends RequestBase {
1838
+ master_timeout?: Duration;
1839
+ }
1840
+ export type InternalGetDesiredBalanceResponse = any;
1841
+ export interface InternalGetDesiredNodesRequest extends RequestBase {
1842
+ master_timeout?: Duration;
1843
+ }
1844
+ export type InternalGetDesiredNodesResponse = any;
1845
+ export interface InternalPrevalidateNodeRemovalRequest extends RequestBase {
1846
+ names?: string[];
1847
+ ids?: string[];
1848
+ external_ids?: string[];
1849
+ master_timeout?: Duration;
1850
+ timeout?: Duration;
1851
+ }
1852
+ export type InternalPrevalidateNodeRemovalResponse = any;
1853
+ export interface InternalUpdateDesiredNodesRequest extends RequestBase {
1854
+ history_id: string;
1855
+ version: long;
1856
+ dry_run?: boolean;
1857
+ master_timeout?: Duration;
1858
+ timeout?: Duration;
1859
+ body?: any;
1860
+ }
1861
+ export interface InternalUpdateDesiredNodesResponse {
1862
+ replaced_existing_history_id: boolean;
1863
+ dry_run: boolean;
1864
+ }
1813
1865
  export interface SpecUtilsBaseNode {
1814
1866
  attributes: Record<string, string>;
1815
1867
  host: Host;
@@ -1845,6 +1897,10 @@ export interface BulkStats {
1845
1897
  }
1846
1898
  export type ByteSize = long | string;
1847
1899
  export type Bytes = 'b' | 'kb' | 'mb' | 'gb' | 'tb' | 'pb';
1900
+ export interface CartesianPoint {
1901
+ x: double;
1902
+ y: double;
1903
+ }
1848
1904
  export type CategoryId = string;
1849
1905
  export type ClusterAlias = string;
1850
1906
  export interface ClusterDetails {
@@ -2106,6 +2162,7 @@ export interface KnnSearch {
2106
2162
  similarity?: float;
2107
2163
  inner_hits?: SearchInnerHits;
2108
2164
  rescore_vector?: RescoreVector;
2165
+ _name?: string;
2109
2166
  }
2110
2167
  export interface LatLonGeoLocation {
2111
2168
  lat: double;
@@ -2384,10 +2441,14 @@ export type SequenceNumber = long;
2384
2441
  export type Service = string;
2385
2442
  export interface ShardFailure {
2386
2443
  index?: IndexName;
2444
+ _index?: IndexName;
2387
2445
  node?: string;
2446
+ _node?: string;
2388
2447
  reason: ErrorCause;
2389
- shard: integer;
2448
+ shard?: integer;
2449
+ _shard?: integer;
2390
2450
  status?: string;
2451
+ primary?: boolean;
2391
2452
  }
2392
2453
  export interface ShardStatistics {
2393
2454
  failed: uint;
@@ -2455,7 +2516,7 @@ export interface TaskFailure {
2455
2516
  }
2456
2517
  export type TaskId = string | integer;
2457
2518
  export interface TextEmbedding {
2458
- model_id: string;
2519
+ model_id?: string;
2459
2520
  model_text: string;
2460
2521
  }
2461
2522
  export interface TextSimilarityReranker extends RetrieverBase {
@@ -2505,7 +2566,7 @@ export type Username = string;
2505
2566
  export type Uuid = string;
2506
2567
  export type VersionNumber = long;
2507
2568
  export type VersionString = string;
2508
- export type VersionType = 'internal' | 'external' | 'external_gte' | 'force';
2569
+ export type VersionType = 'internal' | 'external' | 'external_gte';
2509
2570
  export type WaitForActiveShardOptions = 'all' | 'index-setting';
2510
2571
  export type WaitForActiveShards = integer | WaitForActiveShardOptions;
2511
2572
  export type WaitForEvents = 'immediate' | 'urgent' | 'high' | 'normal' | 'low' | 'languid';
@@ -2526,6 +2587,7 @@ export interface WriteResponseBase {
2526
2587
  _seq_no?: SequenceNumber;
2527
2588
  _shards: ShardStatistics;
2528
2589
  _version: VersionNumber;
2590
+ failure_store?: BulkFailureStoreStatus;
2529
2591
  forced_refresh?: boolean;
2530
2592
  }
2531
2593
  export type byte = number;
@@ -2536,6 +2598,10 @@ export type long = number;
2536
2598
  export type short = number;
2537
2599
  export type uint = number;
2538
2600
  export type ulong = number;
2601
+ export interface AggregationsAbstractChangePoint {
2602
+ p_value: double;
2603
+ change_point: integer;
2604
+ }
2539
2605
  export interface AggregationsAdjacencyMatrixAggregate extends AggregationsMultiBucketAggregateBase<AggregationsAdjacencyMatrixBucket> {
2540
2606
  }
2541
2607
  export interface AggregationsAdjacencyMatrixAggregation extends AggregationsBucketAggregationBase {
@@ -2548,7 +2614,7 @@ export interface AggregationsAdjacencyMatrixBucketKeys extends AggregationsMulti
2548
2614
  export type AggregationsAdjacencyMatrixBucket = AggregationsAdjacencyMatrixBucketKeys & {
2549
2615
  [property: string]: AggregationsAggregate | string | long;
2550
2616
  };
2551
- 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;
2617
+ 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;
2552
2618
  export interface AggregationsAggregateBase {
2553
2619
  meta?: Metadata;
2554
2620
  }
@@ -2570,7 +2636,10 @@ export interface AggregationsAggregationContainer {
2570
2636
  bucket_count_ks_test?: AggregationsBucketKsAggregation;
2571
2637
  bucket_correlation?: AggregationsBucketCorrelationAggregation;
2572
2638
  cardinality?: AggregationsCardinalityAggregation;
2639
+ cartesian_bounds?: AggregationsCartesianBoundsAggregation;
2640
+ cartesian_centroid?: AggregationsCartesianCentroidAggregation;
2573
2641
  categorize_text?: AggregationsCategorizeTextAggregation;
2642
+ change_point?: AggregationsChangePointAggregation;
2574
2643
  children?: AggregationsChildrenAggregation;
2575
2644
  composite?: AggregationsCompositeAggregation;
2576
2645
  cumulative_cardinality?: AggregationsCumulativeCardinalityAggregation;
@@ -2582,6 +2651,7 @@ export interface AggregationsAggregationContainer {
2582
2651
  extended_stats?: AggregationsExtendedStatsAggregation;
2583
2652
  extended_stats_bucket?: AggregationsExtendedStatsBucketAggregation;
2584
2653
  frequent_item_sets?: AggregationsFrequentItemSetsAggregation;
2654
+ frequent_items?: AggregationsFrequentItemSetsAggregation;
2585
2655
  filter?: QueryDslQueryContainer;
2586
2656
  filters?: AggregationsFiltersAggregation;
2587
2657
  geo_bounds?: AggregationsGeoBoundsAggregation;
@@ -2644,7 +2714,7 @@ export interface AggregationsAggregationRange {
2644
2714
  to?: double | null;
2645
2715
  }
2646
2716
  export interface AggregationsArrayPercentilesItem {
2647
- key: string;
2717
+ key: double;
2648
2718
  value: double | null;
2649
2719
  value_as_string?: string;
2650
2720
  }
@@ -2739,6 +2809,17 @@ export interface AggregationsCardinalityAggregation extends AggregationsMetricAg
2739
2809
  execution_hint?: AggregationsCardinalityExecutionMode;
2740
2810
  }
2741
2811
  export type AggregationsCardinalityExecutionMode = 'global_ordinals' | 'segment_ordinals' | 'direct' | 'save_memory_heuristic' | 'save_time_heuristic';
2812
+ export interface AggregationsCartesianBoundsAggregate extends AggregationsAggregateBase {
2813
+ bounds?: TopLeftBottomRightGeoBounds;
2814
+ }
2815
+ export interface AggregationsCartesianBoundsAggregation extends AggregationsMetricAggregationBase {
2816
+ }
2817
+ export interface AggregationsCartesianCentroidAggregate extends AggregationsAggregateBase {
2818
+ count: long;
2819
+ location?: CartesianPoint;
2820
+ }
2821
+ export interface AggregationsCartesianCentroidAggregation extends AggregationsMetricAggregationBase {
2822
+ }
2742
2823
  export interface AggregationsCategorizeTextAggregation {
2743
2824
  field: Field;
2744
2825
  max_unique_tokens?: integer;
@@ -2752,6 +2833,28 @@ export interface AggregationsCategorizeTextAggregation {
2752
2833
  shard_min_doc_count?: integer;
2753
2834
  }
2754
2835
  export type AggregationsCategorizeTextAnalyzer = string | AggregationsCustomCategorizeTextAnalyzer;
2836
+ export interface AggregationsChangePointAggregate extends AggregationsAggregateBase {
2837
+ type: AggregationsChangeType;
2838
+ bucket?: AggregationsChangePointBucket;
2839
+ }
2840
+ export interface AggregationsChangePointAggregation extends AggregationsPipelineAggregationBase {
2841
+ }
2842
+ export interface AggregationsChangePointBucketKeys extends AggregationsMultiBucketBase {
2843
+ key: FieldValue;
2844
+ }
2845
+ export type AggregationsChangePointBucket = AggregationsChangePointBucketKeys & {
2846
+ [property: string]: AggregationsAggregate | FieldValue | long;
2847
+ };
2848
+ export interface AggregationsChangeType {
2849
+ dip?: AggregationsDip;
2850
+ distribution_change?: AggregationsDistributionChange;
2851
+ indeterminable?: AggregationsIndeterminable;
2852
+ non_stationary?: AggregationsNonStationary;
2853
+ spike?: AggregationsSpike;
2854
+ stationary?: AggregationsStationary;
2855
+ step_change?: AggregationsStepChange;
2856
+ trend_change?: AggregationsTrendChange;
2857
+ }
2755
2858
  export interface AggregationsChiSquareHeuristic {
2756
2859
  background_is_superset: boolean;
2757
2860
  include_negatives: boolean;
@@ -2869,6 +2972,10 @@ export interface AggregationsDerivativeAggregate extends AggregationsSingleMetri
2869
2972
  }
2870
2973
  export interface AggregationsDerivativeAggregation extends AggregationsPipelineAggregationBase {
2871
2974
  }
2975
+ export interface AggregationsDip extends AggregationsAbstractChangePoint {
2976
+ }
2977
+ export interface AggregationsDistributionChange extends AggregationsAbstractChangePoint {
2978
+ }
2872
2979
  export interface AggregationsDiversifiedSamplerAggregation extends AggregationsBucketAggregationBase {
2873
2980
  execution_hint?: AggregationsSamplerAggregationExecutionHint;
2874
2981
  max_docs_per_value?: integer;
@@ -2920,7 +3027,7 @@ export interface AggregationsExtendedStatsBucketAggregate extends AggregationsEx
2920
3027
  export interface AggregationsExtendedStatsBucketAggregation extends AggregationsPipelineAggregationBase {
2921
3028
  sigma?: double;
2922
3029
  }
2923
- export type AggregationsFieldDateMath = DateMath | double;
3030
+ export type AggregationsFieldDateMath = DateMath | long;
2924
3031
  export interface AggregationsFilterAggregateKeys extends AggregationsSingleBucketAggregateBase {
2925
3032
  }
2926
3033
  export type AggregationsFilterAggregate = AggregationsFilterAggregateKeys & {
@@ -3021,7 +3128,7 @@ export interface AggregationsGeoLineAggregate extends AggregationsAggregateBase
3021
3128
  }
3022
3129
  export interface AggregationsGeoLineAggregation {
3023
3130
  point: AggregationsGeoLinePoint;
3024
- sort: AggregationsGeoLineSort;
3131
+ sort?: AggregationsGeoLineSort;
3025
3132
  include_sort?: boolean;
3026
3133
  sort_order?: SortOrder;
3027
3134
  size?: integer;
@@ -3114,6 +3221,9 @@ export interface AggregationsHoltWintersMovingAverageAggregation extends Aggrega
3114
3221
  settings: AggregationsHoltWintersModelSettings;
3115
3222
  }
3116
3223
  export type AggregationsHoltWintersType = 'add' | 'mult';
3224
+ export interface AggregationsIndeterminable {
3225
+ reason: string;
3226
+ }
3117
3227
  export interface AggregationsInferenceAggregateKeys extends AggregationsAggregateBase {
3118
3228
  value?: FieldValue;
3119
3229
  feature_importance?: AggregationsInferenceFeatureImportance[];
@@ -3183,7 +3293,7 @@ export interface AggregationsIpRangeBucketKeys extends AggregationsMultiBucketBa
3183
3293
  export type AggregationsIpRangeBucket = AggregationsIpRangeBucketKeys & {
3184
3294
  [property: string]: AggregationsAggregate | string | long;
3185
3295
  };
3186
- export type AggregationsKeyedPercentiles = Record<string, string | long | null>;
3296
+ export type AggregationsKeyedPercentiles = Record<string, string | double | null>;
3187
3297
  export interface AggregationsLinearMovingAverageAggregation extends AggregationsMovingAverageAggregationBase {
3188
3298
  model: 'linear';
3189
3299
  settings: EmptyObject;
@@ -3285,7 +3395,8 @@ export interface AggregationsMultiBucketBase {
3285
3395
  doc_count: long;
3286
3396
  }
3287
3397
  export interface AggregationsMultiTermLookup {
3288
- field: Field;
3398
+ field?: Field;
3399
+ script?: Script | string;
3289
3400
  missing?: AggregationsMissing;
3290
3401
  }
3291
3402
  export interface AggregationsMultiTermsAggregate extends AggregationsTermsAggregateBase<AggregationsMultiTermsBucket> {
@@ -3320,10 +3431,19 @@ export type AggregationsNestedAggregate = AggregationsNestedAggregateKeys & {
3320
3431
  export interface AggregationsNestedAggregation extends AggregationsBucketAggregationBase {
3321
3432
  path?: Field;
3322
3433
  }
3434
+ export interface AggregationsNonStationary {
3435
+ p_value: double;
3436
+ r_value: double;
3437
+ trend: string;
3438
+ }
3323
3439
  export interface AggregationsNormalizeAggregation extends AggregationsPipelineAggregationBase {
3324
3440
  method?: AggregationsNormalizeMethod;
3325
3441
  }
3326
3442
  export type AggregationsNormalizeMethod = 'rescale_0_1' | 'rescale_0_100' | 'percent_of_sum' | 'mean' | 'z-score' | 'softmax';
3443
+ export interface AggregationsPValueHeuristic {
3444
+ background_is_superset?: boolean;
3445
+ normalize_above?: long;
3446
+ }
3327
3447
  export interface AggregationsParentAggregateKeys extends AggregationsSingleBucketAggregateBase {
3328
3448
  }
3329
3449
  export type AggregationsParentAggregate = AggregationsParentAggregateKeys & {
@@ -3346,7 +3466,7 @@ export interface AggregationsPercentilesAggregateBase extends AggregationsAggreg
3346
3466
  }
3347
3467
  export interface AggregationsPercentilesAggregation extends AggregationsFormatMetricAggregationBase {
3348
3468
  keyed?: boolean;
3349
- percents?: double[];
3469
+ percents?: double | double[];
3350
3470
  hdr?: AggregationsHdrMethod;
3351
3471
  tdigest?: AggregationsTDigest;
3352
3472
  }
@@ -3469,6 +3589,7 @@ export interface AggregationsSignificantTermsAggregation extends AggregationsBuc
3469
3589
  mutual_information?: AggregationsMutualInformationHeuristic;
3470
3590
  percentage?: AggregationsPercentageScoreHeuristic;
3471
3591
  script_heuristic?: AggregationsScriptedHeuristic;
3592
+ p_value?: AggregationsPValueHeuristic;
3472
3593
  shard_min_doc_count?: long;
3473
3594
  shard_size?: integer;
3474
3595
  size?: integer;
@@ -3509,6 +3630,8 @@ export interface AggregationsSingleMetricAggregateBase extends AggregationsAggre
3509
3630
  value: double | null;
3510
3631
  value_as_string?: string;
3511
3632
  }
3633
+ export interface AggregationsSpike extends AggregationsAbstractChangePoint {
3634
+ }
3512
3635
  export interface AggregationsStandardDeviationBounds {
3513
3636
  upper: double | null;
3514
3637
  lower: double | null;
@@ -3525,6 +3648,8 @@ export interface AggregationsStandardDeviationBoundsAsString {
3525
3648
  upper_sampling: string;
3526
3649
  lower_sampling: string;
3527
3650
  }
3651
+ export interface AggregationsStationary {
3652
+ }
3528
3653
  export interface AggregationsStatsAggregate extends AggregationsAggregateBase {
3529
3654
  count: long;
3530
3655
  min: double | null;
@@ -3542,6 +3667,8 @@ export interface AggregationsStatsBucketAggregate extends AggregationsStatsAggre
3542
3667
  }
3543
3668
  export interface AggregationsStatsBucketAggregation extends AggregationsPipelineAggregationBase {
3544
3669
  }
3670
+ export interface AggregationsStepChange extends AggregationsAbstractChangePoint {
3671
+ }
3545
3672
  export interface AggregationsStringRareTermsAggregate extends AggregationsMultiBucketAggregateBase<AggregationsStringRareTermsBucket> {
3546
3673
  }
3547
3674
  export interface AggregationsStringRareTermsBucketKeys extends AggregationsMultiBucketBase {
@@ -3681,6 +3808,11 @@ export interface AggregationsTopMetricsAggregation extends AggregationsMetricAgg
3681
3808
  export interface AggregationsTopMetricsValue {
3682
3809
  field: Field;
3683
3810
  }
3811
+ export interface AggregationsTrendChange {
3812
+ p_value: double;
3813
+ r_value: double;
3814
+ change_point: integer;
3815
+ }
3684
3816
  export interface AggregationsUnmappedRareTermsAggregate extends AggregationsMultiBucketAggregateBase<void> {
3685
3817
  }
3686
3818
  export interface AggregationsUnmappedSamplerAggregateKeys extends AggregationsSingleBucketAggregateBase {
@@ -4126,7 +4258,7 @@ export interface AnalysisKeywordTokenizer extends AnalysisTokenizerBase {
4126
4258
  }
4127
4259
  export interface AnalysisKuromojiAnalyzer {
4128
4260
  type: 'kuromoji';
4129
- mode: AnalysisKuromojiTokenizationMode;
4261
+ mode?: AnalysisKuromojiTokenizationMode;
4130
4262
  user_dictionary?: string;
4131
4263
  }
4132
4264
  export interface AnalysisKuromojiIterationMarkCharFilter extends AnalysisCharFilterBase {
@@ -4713,7 +4845,7 @@ export interface MappingFieldMapping {
4713
4845
  export interface MappingFieldNamesField {
4714
4846
  enabled: boolean;
4715
4847
  }
4716
- 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';
4848
+ 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';
4717
4849
  export interface MappingFlattenedProperty extends MappingPropertyBase {
4718
4850
  boost?: double;
4719
4851
  depth_limit?: integer;
@@ -4955,6 +5087,7 @@ export interface MappingSemanticTextProperty {
4955
5087
  search_inference_id?: Id;
4956
5088
  index_options?: MappingSemanticTextIndexOptions;
4957
5089
  chunking_settings?: MappingChunkingSettings;
5090
+ fields?: Record<PropertyName, MappingProperty>;
4958
5091
  }
4959
5092
  export interface MappingShapeProperty extends MappingDocValuesPropertyBase {
4960
5093
  coerce?: boolean;
@@ -4998,8 +5131,8 @@ export interface MappingSuggestContext {
4998
5131
  export type MappingSyntheticSourceKeepEnum = 'none' | 'arrays' | 'all';
4999
5132
  export type MappingTermVectorOption = 'no' | 'yes' | 'with_offsets' | 'with_positions' | 'with_positions_offsets' | 'with_positions_offsets_payloads' | 'with_positions_payloads';
5000
5133
  export interface MappingTextIndexPrefixes {
5001
- max_chars: integer;
5002
- min_chars: integer;
5134
+ max_chars?: integer;
5135
+ min_chars?: integer;
5003
5136
  }
5004
5137
  export interface MappingTextProperty extends MappingCorePropertyBase {
5005
5138
  analyzer?: string;
@@ -5334,6 +5467,8 @@ export interface QueryDslLikeDocument {
5334
5467
  version?: VersionNumber;
5335
5468
  version_type?: VersionType;
5336
5469
  }
5470
+ export interface QueryDslLongNumberRangeQuery extends QueryDslRangeQueryBase<long> {
5471
+ }
5337
5472
  export interface QueryDslMatchAllQuery extends QueryDslQueryBase {
5338
5473
  }
5339
5474
  export interface QueryDslMatchBoolPrefixQuery extends QueryDslQueryBase {
@@ -5560,7 +5695,7 @@ export interface QueryDslRandomScoreFunction {
5560
5695
  field?: Field;
5561
5696
  seed?: long | string;
5562
5697
  }
5563
- export type QueryDslRangeQuery = QueryDslUntypedRangeQuery | QueryDslDateRangeQuery | QueryDslNumberRangeQuery | QueryDslTermRangeQuery;
5698
+ export type QueryDslRangeQuery = QueryDslUntypedRangeQuery | QueryDslDateRangeQuery | QueryDslNumberRangeQuery | QueryDslLongNumberRangeQuery | QueryDslTermRangeQuery;
5564
5699
  export interface QueryDslRangeQueryBase<T = unknown> extends QueryDslQueryBase {
5565
5700
  relation?: QueryDslRangeRelation;
5566
5701
  gt?: T;
@@ -5793,6 +5928,19 @@ export interface AsyncSearchAsyncSearchResponseBase {
5793
5928
  start_time_in_millis: EpochTime<UnitMillis>;
5794
5929
  completion_time?: DateTime;
5795
5930
  completion_time_in_millis?: EpochTime<UnitMillis>;
5931
+ error?: ErrorCause;
5932
+ }
5933
+ export interface AsyncSearchAsyncSearchResponseException<TDocument = unknown> {
5934
+ is_partial: boolean;
5935
+ is_running: boolean;
5936
+ expiration_time?: DateTime;
5937
+ expiration_time_in_millis: EpochTime<UnitMillis>;
5938
+ start_time?: DateTime;
5939
+ start_time_in_millis: EpochTime<UnitMillis>;
5940
+ completion_time?: DateTime;
5941
+ completion_time_in_millis?: EpochTime<UnitMillis>;
5942
+ error?: ErrorCause;
5943
+ response?: AsyncSearchAsyncSearch<TDocument, Record<AggregateName, AggregationsAggregate>>;
5796
5944
  }
5797
5945
  export interface AsyncSearchDeleteRequest extends RequestBase {
5798
5946
  id: Id;
@@ -5932,12 +6080,22 @@ export interface AutoscalingPutAutoscalingPolicyRequest extends RequestBase {
5932
6080
  policy?: AutoscalingAutoscalingPolicy;
5933
6081
  }
5934
6082
  export type AutoscalingPutAutoscalingPolicyResponse = AcknowledgedResponseBase;
6083
+ 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;
6084
+ export type CatCatAliasesColumns = CatCatAliasesColumn | CatCatAliasesColumn[];
6085
+ 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;
6086
+ export type CatCatAllocationColumns = CatCatAllocationColumn | CatCatAllocationColumn[];
5935
6087
  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';
5936
- export type CatCatAnonalyDetectorColumns = CatCatAnomalyDetectorColumn | CatCatAnomalyDetectorColumn[];
6088
+ export type CatCatAnomalyDetectorColumns = CatCatAnomalyDetectorColumn | CatCatAnomalyDetectorColumn[];
6089
+ export type CatCatComponentColumn = 'name' | 'n' | 'version' | 'v' | 'alias_count' | 'a' | 'mapping_count' | 'm' | 'settings_count' | 's' | 'metadata_count' | 'me' | 'included_in' | 'i' | string;
6090
+ export type CatCatComponentColumns = CatCatComponentColumn | CatCatComponentColumn[];
6091
+ export type CatCatCountColumn = 'epoch' | 't' | 'time' | 'timestamp' | 'ts' | 'hms' | 'hhmmss' | 'count' | 'dc' | 'docs.count' | 'docsCount' | string;
6092
+ export type CatCatCountColumns = CatCatCountColumn | CatCatCountColumn[];
5937
6093
  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';
5938
6094
  export type CatCatDatafeedColumns = CatCatDatafeedColumn | CatCatDatafeedColumn[];
5939
6095
  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';
5940
6096
  export type CatCatDfaColumns = CatCatDfaColumn | CatCatDfaColumn[];
6097
+ export type CatCatFieldDataColumn = 'id' | 'host' | 'h' | 'ip' | 'node' | 'n' | 'field' | 'f' | 'size' | 's' | string;
6098
+ export type CatCatFieldDataColumns = CatCatFieldDataColumn | CatCatFieldDataColumn[];
5941
6099
  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;
5942
6100
  export type CatCatNodeColumns = CatCatNodeColumn | CatCatNodeColumn[];
5943
6101
  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;
@@ -5977,7 +6135,7 @@ export interface CatAliasesAliasesRecord {
5977
6135
  }
5978
6136
  export interface CatAliasesRequest extends CatCatRequestBase {
5979
6137
  name?: Names;
5980
- h?: Names;
6138
+ h?: CatCatAliasesColumns;
5981
6139
  s?: Names;
5982
6140
  expand_wildcards?: ExpandWildcards;
5983
6141
  local?: boolean;
@@ -6020,8 +6178,7 @@ export interface CatAllocationAllocationRecord {
6020
6178
  }
6021
6179
  export interface CatAllocationRequest extends CatCatRequestBase {
6022
6180
  node_id?: NodeIds;
6023
- bytes?: Bytes;
6024
- h?: Names;
6181
+ h?: CatCatAllocationColumns;
6025
6182
  s?: Names;
6026
6183
  local?: boolean;
6027
6184
  master_timeout?: Duration;
@@ -6038,7 +6195,7 @@ export interface CatComponentTemplatesComponentTemplate {
6038
6195
  }
6039
6196
  export interface CatComponentTemplatesRequest extends CatCatRequestBase {
6040
6197
  name?: string;
6041
- h?: Names;
6198
+ h?: CatCatComponentColumns;
6042
6199
  s?: Names;
6043
6200
  local?: boolean;
6044
6201
  master_timeout?: Duration;
@@ -6059,7 +6216,7 @@ export interface CatCountCountRecord {
6059
6216
  }
6060
6217
  export interface CatCountRequest extends CatCatRequestBase {
6061
6218
  index?: Indices;
6062
- h?: Names;
6219
+ h?: CatCatCountColumns;
6063
6220
  s?: Names;
6064
6221
  }
6065
6222
  export type CatCountResponse = CatCountCountRecord[];
@@ -6076,8 +6233,7 @@ export interface CatFielddataFielddataRecord {
6076
6233
  }
6077
6234
  export interface CatFielddataRequest extends CatCatRequestBase {
6078
6235
  fields?: Fields;
6079
- bytes?: Bytes;
6080
- h?: Names;
6236
+ h?: CatCatFieldDataColumns;
6081
6237
  s?: Names;
6082
6238
  }
6083
6239
  export type CatFielddataResponse = CatFielddataFielddataRecord[];
@@ -6134,7 +6290,6 @@ export interface CatHealthHealthRecord {
6134
6290
  activeShardsPercent?: string;
6135
6291
  }
6136
6292
  export interface CatHealthRequest extends CatCatRequestBase {
6137
- time?: TimeUnit;
6138
6293
  ts?: boolean;
6139
6294
  h?: Names;
6140
6295
  s?: Names;
@@ -6436,12 +6591,10 @@ export interface CatIndicesIndicesRecord {
6436
6591
  }
6437
6592
  export interface CatIndicesRequest extends CatCatRequestBase {
6438
6593
  index?: Indices;
6439
- bytes?: Bytes;
6440
6594
  expand_wildcards?: ExpandWildcards;
6441
6595
  health?: HealthStatus;
6442
6596
  include_unloaded_segments?: boolean;
6443
6597
  pri?: boolean;
6444
- time?: TimeUnit;
6445
6598
  master_timeout?: Duration;
6446
6599
  h?: Names;
6447
6600
  s?: Names;
@@ -6508,10 +6661,8 @@ export interface CatMlDataFrameAnalyticsDataFrameAnalyticsRecord {
6508
6661
  export interface CatMlDataFrameAnalyticsRequest extends CatCatRequestBase {
6509
6662
  id?: Id;
6510
6663
  allow_no_match?: boolean;
6511
- bytes?: Bytes;
6512
6664
  h?: CatCatDfaColumns;
6513
6665
  s?: CatCatDfaColumns;
6514
- time?: TimeUnit;
6515
6666
  }
6516
6667
  export type CatMlDataFrameAnalyticsResponse = CatMlDataFrameAnalyticsDataFrameAnalyticsRecord[];
6517
6668
  export interface CatMlDatafeedsDatafeedsRecord {
@@ -6553,7 +6704,6 @@ export interface CatMlDatafeedsRequest extends CatCatRequestBase {
6553
6704
  allow_no_match?: boolean;
6554
6705
  h?: CatCatDatafeedColumns;
6555
6706
  s?: CatCatDatafeedColumns;
6556
- time?: TimeUnit;
6557
6707
  }
6558
6708
  export type CatMlDatafeedsResponse = CatMlDatafeedsDatafeedsRecord[];
6559
6709
  export interface CatMlJobsJobsRecord {
@@ -6735,21 +6885,17 @@ export interface CatMlJobsJobsRecord {
6735
6885
  export interface CatMlJobsRequest extends CatCatRequestBase {
6736
6886
  job_id?: Id;
6737
6887
  allow_no_match?: boolean;
6738
- bytes?: Bytes;
6739
- h?: CatCatAnonalyDetectorColumns;
6740
- s?: CatCatAnonalyDetectorColumns;
6741
- time?: TimeUnit;
6888
+ h?: CatCatAnomalyDetectorColumns;
6889
+ s?: CatCatAnomalyDetectorColumns;
6742
6890
  }
6743
6891
  export type CatMlJobsResponse = CatMlJobsJobsRecord[];
6744
6892
  export interface CatMlTrainedModelsRequest extends CatCatRequestBase {
6745
6893
  model_id?: Id;
6746
6894
  allow_no_match?: boolean;
6747
- bytes?: Bytes;
6748
6895
  h?: CatCatTrainedModelsColumns;
6749
6896
  s?: CatCatTrainedModelsColumns;
6750
6897
  from?: integer;
6751
6898
  size?: integer;
6752
- time?: TimeUnit;
6753
6899
  }
6754
6900
  export type CatMlTrainedModelsResponse = CatMlTrainedModelsTrainedModelsRecord[];
6755
6901
  export interface CatMlTrainedModelsTrainedModelsRecord {
@@ -7089,13 +7235,11 @@ export interface CatNodesNodesRecord {
7089
7235
  bulkAvgSizeInBytes?: string;
7090
7236
  }
7091
7237
  export interface CatNodesRequest extends CatCatRequestBase {
7092
- bytes?: Bytes;
7093
7238
  full_id?: boolean | string;
7094
7239
  include_unloaded_segments?: boolean;
7095
7240
  h?: CatCatNodeColumns;
7096
7241
  s?: Names;
7097
7242
  master_timeout?: Duration;
7098
- time?: TimeUnit;
7099
7243
  }
7100
7244
  export type CatNodesResponse = CatNodesNodesRecord[];
7101
7245
  export interface CatPendingTasksPendingTasksRecord {
@@ -7113,7 +7257,6 @@ export interface CatPendingTasksRequest extends CatCatRequestBase {
7113
7257
  s?: Names;
7114
7258
  local?: boolean;
7115
7259
  master_timeout?: Duration;
7116
- time?: TimeUnit;
7117
7260
  }
7118
7261
  export type CatPendingTasksResponse = CatPendingTasksPendingTasksRecord[];
7119
7262
  export interface CatPluginsPluginsRecord {
@@ -7197,11 +7340,9 @@ export interface CatRecoveryRecoveryRecord {
7197
7340
  export interface CatRecoveryRequest extends CatCatRequestBase {
7198
7341
  index?: Indices;
7199
7342
  active_only?: boolean;
7200
- bytes?: Bytes;
7201
7343
  detailed?: boolean;
7202
7344
  h?: CatCatRecoveryColumns;
7203
7345
  s?: Names;
7204
- time?: TimeUnit;
7205
7346
  }
7206
7347
  export type CatRecoveryResponse = CatRecoveryRecoveryRecord[];
7207
7348
  export interface CatRepositoriesRepositoriesRecord {
@@ -7219,11 +7360,15 @@ export interface CatRepositoriesRequest extends CatCatRequestBase {
7219
7360
  export type CatRepositoriesResponse = CatRepositoriesRepositoriesRecord[];
7220
7361
  export interface CatSegmentsRequest extends CatCatRequestBase {
7221
7362
  index?: Indices;
7222
- bytes?: Bytes;
7223
7363
  h?: CatCatSegmentsColumns;
7224
7364
  s?: Names;
7225
7365
  local?: boolean;
7226
7366
  master_timeout?: Duration;
7367
+ expand_wildcards?: ExpandWildcards;
7368
+ allow_no_indices?: boolean;
7369
+ ignore_throttled?: boolean;
7370
+ ignore_unavailable?: boolean;
7371
+ allow_closed?: boolean;
7227
7372
  }
7228
7373
  export type CatSegmentsResponse = CatSegmentsSegmentsRecord[];
7229
7374
  export interface CatSegmentsSegmentsRecord {
@@ -7269,11 +7414,9 @@ export interface CatSegmentsSegmentsRecord {
7269
7414
  }
7270
7415
  export interface CatShardsRequest extends CatCatRequestBase {
7271
7416
  index?: Indices;
7272
- bytes?: Bytes;
7273
7417
  h?: CatCatShardColumns;
7274
7418
  s?: Names;
7275
7419
  master_timeout?: Duration;
7276
- time?: TimeUnit;
7277
7420
  }
7278
7421
  export type CatShardsResponse = CatShardsShardsRecord[];
7279
7422
  export interface CatShardsShardsRecord {
@@ -7496,7 +7639,6 @@ export interface CatSnapshotsRequest extends CatCatRequestBase {
7496
7639
  h?: CatCatSnapshotsColumns;
7497
7640
  s?: Names;
7498
7641
  master_timeout?: Duration;
7499
- time?: TimeUnit;
7500
7642
  }
7501
7643
  export type CatSnapshotsResponse = CatSnapshotsSnapshotsRecord[];
7502
7644
  export interface CatSnapshotsSnapshotsRecord {
@@ -7539,7 +7681,6 @@ export interface CatTasksRequest extends CatCatRequestBase {
7539
7681
  parent_task_id?: string;
7540
7682
  h?: Names;
7541
7683
  s?: Names;
7542
- time?: TimeUnit;
7543
7684
  timeout?: Duration;
7544
7685
  wait_for_completion?: boolean;
7545
7686
  }
@@ -7603,7 +7744,6 @@ export interface CatThreadPoolRequest extends CatCatRequestBase {
7603
7744
  thread_pool_patterns?: Names;
7604
7745
  h?: CatCatThreadPoolColumns;
7605
7746
  s?: Names;
7606
- time?: TimeUnit;
7607
7747
  local?: boolean;
7608
7748
  master_timeout?: Duration;
7609
7749
  }
@@ -7656,7 +7796,6 @@ export interface CatTransformsRequest extends CatCatRequestBase {
7656
7796
  from?: integer;
7657
7797
  h?: CatCatTransformColumns;
7658
7798
  s?: CatCatTransformColumns;
7659
- time?: TimeUnit;
7660
7799
  size?: integer;
7661
7800
  }
7662
7801
  export type CatTransformsResponse = CatTransformsTransformsRecord[];
@@ -7966,6 +8105,7 @@ export interface ClusterComponentTemplateSummary {
7966
8105
  mappings?: MappingTypeMapping;
7967
8106
  aliases?: Record<string, IndicesAliasDefinition>;
7968
8107
  lifecycle?: IndicesDataStreamLifecycleWithRollover;
8108
+ data_stream_options?: IndicesDataStreamOptions;
7969
8109
  }
7970
8110
  export interface ClusterAllocationExplainAllocationDecision {
7971
8111
  decider: string;
@@ -8006,7 +8146,7 @@ export interface ClusterAllocationExplainDiskUsage {
8006
8146
  used_disk_percent: double;
8007
8147
  }
8008
8148
  export interface ClusterAllocationExplainNodeAllocationExplanation {
8009
- deciders: ClusterAllocationExplainAllocationDecision[];
8149
+ deciders?: ClusterAllocationExplainAllocationDecision[];
8010
8150
  node_attributes: Record<string, string>;
8011
8151
  node_decision: ClusterAllocationExplainDecision;
8012
8152
  node_id: Id;
@@ -8014,7 +8154,7 @@ export interface ClusterAllocationExplainNodeAllocationExplanation {
8014
8154
  roles: NodeRoles;
8015
8155
  store?: ClusterAllocationExplainAllocationStore;
8016
8156
  transport_address: TransportAddress;
8017
- weight_ranking: integer;
8157
+ weight_ranking?: integer;
8018
8158
  }
8019
8159
  export interface ClusterAllocationExplainNodeDiskUsage {
8020
8160
  node_name: Name;
@@ -8207,7 +8347,7 @@ export interface ClusterPutComponentTemplateRequest extends RequestBase {
8207
8347
  create?: boolean;
8208
8348
  cause?: string;
8209
8349
  master_timeout?: Duration;
8210
- template: IndicesIndexState;
8350
+ template: IndicesPutIndexTemplateIndexTemplateMapping;
8211
8351
  version?: VersionNumber;
8212
8352
  _meta?: Metadata;
8213
8353
  deprecated?: boolean;
@@ -8942,6 +9082,32 @@ export interface ConnectorPutResponse {
8942
9082
  result: Result;
8943
9083
  id: Id;
8944
9084
  }
9085
+ export interface ConnectorSecretDeleteRequest extends RequestBase {
9086
+ id: string;
9087
+ }
9088
+ export interface ConnectorSecretDeleteResponse {
9089
+ deleted: boolean;
9090
+ }
9091
+ export interface ConnectorSecretGetRequest extends RequestBase {
9092
+ id: string;
9093
+ }
9094
+ export interface ConnectorSecretGetResponse {
9095
+ id: string;
9096
+ value: string;
9097
+ }
9098
+ export interface ConnectorSecretPostRequest extends RequestBase {
9099
+ value?: string;
9100
+ }
9101
+ export interface ConnectorSecretPostResponse {
9102
+ id: string;
9103
+ }
9104
+ export interface ConnectorSecretPutRequest extends RequestBase {
9105
+ id: string;
9106
+ value: string;
9107
+ }
9108
+ export interface ConnectorSecretPutResponse {
9109
+ result: Result;
9110
+ }
8945
9111
  export interface ConnectorSyncJobCancelRequest extends RequestBase {
8946
9112
  connector_sync_job_id: Id;
8947
9113
  }
@@ -9108,14 +9274,14 @@ export interface ConnectorUpdateStatusResponse {
9108
9274
  }
9109
9275
  export interface DanglingIndicesDeleteDanglingIndexRequest extends RequestBase {
9110
9276
  index_uuid: Uuid;
9111
- accept_data_loss: boolean;
9277
+ accept_data_loss?: boolean;
9112
9278
  master_timeout?: Duration;
9113
9279
  timeout?: Duration;
9114
9280
  }
9115
9281
  export type DanglingIndicesDeleteDanglingIndexResponse = AcknowledgedResponseBase;
9116
9282
  export interface DanglingIndicesImportDanglingIndexRequest extends RequestBase {
9117
9283
  index_uuid: Uuid;
9118
- accept_data_loss: boolean;
9284
+ accept_data_loss?: boolean;
9119
9285
  master_timeout?: Duration;
9120
9286
  timeout?: Duration;
9121
9287
  }
@@ -9282,6 +9448,7 @@ export interface EsqlAsyncEsqlResult extends EsqlEsqlResult {
9282
9448
  id?: string;
9283
9449
  is_running: boolean;
9284
9450
  }
9451
+ export type EsqlESQLParams = EsqlSingleOrMultiValue[] | EsqlNamedValue[];
9285
9452
  export interface EsqlEsqlClusterDetails {
9286
9453
  status: EsqlEsqlClusterStatus;
9287
9454
  indices: string;
@@ -9324,6 +9491,8 @@ export interface EsqlEsqlShardInfo {
9324
9491
  failed?: integer;
9325
9492
  failures?: EsqlEsqlShardFailure[];
9326
9493
  }
9494
+ export type EsqlNamedValue = Partial<Record<string, EsqlSingleOrMultiValue>>;
9495
+ export type EsqlSingleOrMultiValue = FieldValue | FieldValue[];
9327
9496
  export interface EsqlTableValuesContainer {
9328
9497
  integer?: EsqlTableValuesIntegerValue[];
9329
9498
  keyword?: EsqlTableValuesKeywordValue[];
@@ -9342,7 +9511,7 @@ export interface EsqlAsyncQueryRequest extends RequestBase {
9342
9511
  columnar?: boolean;
9343
9512
  filter?: QueryDslQueryContainer;
9344
9513
  locale?: string;
9345
- params?: FieldValue[];
9514
+ params?: EsqlESQLParams;
9346
9515
  profile?: boolean;
9347
9516
  query: string;
9348
9517
  tables?: Record<string, Record<string, EsqlTableValuesContainer>>;
@@ -9378,7 +9547,7 @@ export interface EsqlQueryRequest extends RequestBase {
9378
9547
  columnar?: boolean;
9379
9548
  filter?: QueryDslQueryContainer;
9380
9549
  locale?: string;
9381
- params?: FieldValue[];
9550
+ params?: EsqlESQLParams;
9382
9551
  profile?: boolean;
9383
9552
  query: string;
9384
9553
  tables?: Record<string, Record<string, EsqlTableValuesContainer>>;
@@ -9402,6 +9571,19 @@ export interface FeaturesResetFeaturesResponse {
9402
9571
  features: FeaturesFeature[];
9403
9572
  }
9404
9573
  export type FleetCheckpoint = long;
9574
+ export interface FleetDeleteSecretRequest extends RequestBase {
9575
+ id: string;
9576
+ }
9577
+ export interface FleetDeleteSecretResponse {
9578
+ deleted: boolean;
9579
+ }
9580
+ export interface FleetGetSecretRequest extends RequestBase {
9581
+ id: string;
9582
+ }
9583
+ export interface FleetGetSecretResponse {
9584
+ id: string;
9585
+ value: string;
9586
+ }
9405
9587
  export interface FleetGlobalCheckpointsRequest extends RequestBase {
9406
9588
  index: IndexName | IndexAlias;
9407
9589
  wait_for_advance?: boolean;
@@ -9433,6 +9615,12 @@ export interface FleetMsearchRequest extends RequestBase {
9433
9615
  export interface FleetMsearchResponse<TDocument = unknown> {
9434
9616
  docs: MsearchResponseItem<TDocument>[];
9435
9617
  }
9618
+ export interface FleetPostSecretRequest extends RequestBase {
9619
+ value: string;
9620
+ }
9621
+ export interface FleetPostSecretResponse {
9622
+ id: string;
9623
+ }
9436
9624
  export interface FleetSearchRequest extends RequestBase {
9437
9625
  index: IndexName | IndexAlias;
9438
9626
  allow_no_indices?: boolean;
@@ -9806,11 +9994,20 @@ export interface IndicesDataStream {
9806
9994
  name: DataStreamName;
9807
9995
  replicated?: boolean;
9808
9996
  rollover_on_write: boolean;
9997
+ settings: IndicesIndexSettings;
9809
9998
  status: HealthStatus;
9810
9999
  system?: boolean;
9811
10000
  template: Name;
9812
10001
  timestamp_field: IndicesDataStreamTimestampField;
9813
10002
  }
10003
+ export interface IndicesDataStreamFailureStore {
10004
+ enabled?: boolean;
10005
+ lifecycle?: IndicesFailureStoreLifecycle;
10006
+ }
10007
+ export interface IndicesDataStreamFailureStoreTemplate {
10008
+ enabled?: boolean | null;
10009
+ lifecycle?: IndicesFailureStoreLifecycleTemplate | null;
10010
+ }
9814
10011
  export interface IndicesDataStreamIndex {
9815
10012
  index_name: IndexName;
9816
10013
  index_uuid: Uuid;
@@ -9820,12 +10017,11 @@ export interface IndicesDataStreamIndex {
9820
10017
  }
9821
10018
  export interface IndicesDataStreamLifecycle {
9822
10019
  data_retention?: Duration;
9823
- downsampling?: IndicesDataStreamLifecycleDownsampling;
10020
+ effective_retention?: Duration;
10021
+ retention_determined_by?: IndicesRetentionSource;
10022
+ downsampling?: IndicesDownsamplingRound[];
9824
10023
  enabled?: boolean;
9825
10024
  }
9826
- export interface IndicesDataStreamLifecycleDownsampling {
9827
- rounds: IndicesDownsamplingRound[];
9828
- }
9829
10025
  export interface IndicesDataStreamLifecycleRolloverConditions {
9830
10026
  min_age?: Duration;
9831
10027
  max_age?: string;
@@ -9841,6 +10037,12 @@ export interface IndicesDataStreamLifecycleRolloverConditions {
9841
10037
  export interface IndicesDataStreamLifecycleWithRollover extends IndicesDataStreamLifecycle {
9842
10038
  rollover?: IndicesDataStreamLifecycleRolloverConditions;
9843
10039
  }
10040
+ export interface IndicesDataStreamOptions {
10041
+ failure_store?: IndicesDataStreamFailureStore;
10042
+ }
10043
+ export interface IndicesDataStreamOptionsTemplate {
10044
+ failure_store?: IndicesDataStreamFailureStoreTemplate | null;
10045
+ }
9844
10046
  export interface IndicesDataStreamTimestampField {
9845
10047
  name: Field;
9846
10048
  }
@@ -9860,6 +10062,14 @@ export interface IndicesFailureStore {
9860
10062
  indices: IndicesDataStreamIndex[];
9861
10063
  rollover_on_write: boolean;
9862
10064
  }
10065
+ export interface IndicesFailureStoreLifecycle {
10066
+ data_retention?: Duration;
10067
+ enabled?: boolean;
10068
+ }
10069
+ export interface IndicesFailureStoreLifecycleTemplate {
10070
+ data_retention?: Duration | null;
10071
+ enabled?: boolean;
10072
+ }
9863
10073
  export interface IndicesFielddataFrequencyFilter {
9864
10074
  max: double;
9865
10075
  min: double;
@@ -10017,6 +10227,7 @@ export interface IndicesIndexTemplateSummary {
10017
10227
  mappings?: MappingTypeMapping;
10018
10228
  settings?: IndicesIndexSettings;
10019
10229
  lifecycle?: IndicesDataStreamLifecycleWithRollover;
10230
+ data_stream_options?: IndicesDataStreamOptions;
10020
10231
  }
10021
10232
  export interface IndicesIndexVersioning {
10022
10233
  created?: VersionString;
@@ -10088,6 +10299,7 @@ export interface IndicesQueries {
10088
10299
  export interface IndicesRetentionLease {
10089
10300
  period: Duration;
10090
10301
  }
10302
+ export type IndicesRetentionSource = 'data_stream_configuration' | 'default_global_retention' | 'max_global_retention' | 'default_failures_retention';
10091
10303
  export interface IndicesSearchIdle {
10092
10304
  after?: Duration;
10093
10305
  }
@@ -10405,6 +10617,13 @@ export interface IndicesDeleteDataStreamRequest extends RequestBase {
10405
10617
  expand_wildcards?: ExpandWildcards;
10406
10618
  }
10407
10619
  export type IndicesDeleteDataStreamResponse = AcknowledgedResponseBase;
10620
+ export interface IndicesDeleteDataStreamOptionsRequest extends RequestBase {
10621
+ name: DataStreamNames;
10622
+ expand_wildcards?: ExpandWildcards;
10623
+ master_timeout?: Duration;
10624
+ timeout?: Duration;
10625
+ }
10626
+ export type IndicesDeleteDataStreamOptionsResponse = AcknowledgedResponseBase;
10408
10627
  export interface IndicesDeleteIndexTemplateRequest extends RequestBase {
10409
10628
  name: Names;
10410
10629
  master_timeout?: Duration;
@@ -10598,6 +10817,11 @@ export interface IndicesGetDataLifecycleRequest extends RequestBase {
10598
10817
  }
10599
10818
  export interface IndicesGetDataLifecycleResponse {
10600
10819
  data_streams: IndicesGetDataLifecycleDataStreamWithLifecycle[];
10820
+ global_retention: IndicesGetDataLifecycleGlobalRetention;
10821
+ }
10822
+ export interface IndicesGetDataLifecycleGlobalRetention {
10823
+ max_retention?: Duration;
10824
+ default_retention?: Duration;
10601
10825
  }
10602
10826
  export interface IndicesGetDataLifecycleStatsDataStreamStats {
10603
10827
  backing_indices_in_error: integer;
@@ -10622,6 +10846,30 @@ export interface IndicesGetDataStreamRequest extends RequestBase {
10622
10846
  export interface IndicesGetDataStreamResponse {
10623
10847
  data_streams: IndicesDataStream[];
10624
10848
  }
10849
+ export interface IndicesGetDataStreamOptionsDataStreamWithOptions {
10850
+ name: DataStreamName;
10851
+ options?: IndicesDataStreamOptions;
10852
+ }
10853
+ export interface IndicesGetDataStreamOptionsRequest extends RequestBase {
10854
+ name: DataStreamNames;
10855
+ expand_wildcards?: ExpandWildcards;
10856
+ master_timeout?: Duration;
10857
+ }
10858
+ export interface IndicesGetDataStreamOptionsResponse {
10859
+ data_streams: IndicesGetDataStreamOptionsDataStreamWithOptions[];
10860
+ }
10861
+ export interface IndicesGetDataStreamSettingsDataStreamSettings {
10862
+ name: string;
10863
+ settings: IndicesIndexSettings;
10864
+ effective_settings: IndicesIndexSettings;
10865
+ }
10866
+ export interface IndicesGetDataStreamSettingsRequest extends RequestBase {
10867
+ name: Indices;
10868
+ master_timeout?: Duration;
10869
+ }
10870
+ export interface IndicesGetDataStreamSettingsResponse {
10871
+ data_streams: IndicesGetDataStreamSettingsDataStreamSettings[];
10872
+ }
10625
10873
  export interface IndicesGetFieldMappingRequest extends RequestBase {
10626
10874
  fields: Fields;
10627
10875
  index?: Indices;
@@ -10771,15 +11019,51 @@ export interface IndicesPutDataLifecycleRequest extends RequestBase {
10771
11019
  master_timeout?: Duration;
10772
11020
  timeout?: Duration;
10773
11021
  data_retention?: Duration;
10774
- downsampling?: IndicesDataStreamLifecycleDownsampling;
11022
+ downsampling?: IndicesDownsamplingRound[];
10775
11023
  enabled?: boolean;
10776
11024
  }
10777
11025
  export type IndicesPutDataLifecycleResponse = AcknowledgedResponseBase;
11026
+ export interface IndicesPutDataStreamOptionsRequest extends RequestBase {
11027
+ name: DataStreamNames;
11028
+ expand_wildcards?: ExpandWildcards;
11029
+ master_timeout?: Duration;
11030
+ timeout?: Duration;
11031
+ failure_store?: IndicesDataStreamFailureStore;
11032
+ }
11033
+ export type IndicesPutDataStreamOptionsResponse = AcknowledgedResponseBase;
11034
+ export interface IndicesPutDataStreamSettingsDataStreamSettingsError {
11035
+ index: IndexName;
11036
+ error: string;
11037
+ }
11038
+ export interface IndicesPutDataStreamSettingsIndexSettingResults {
11039
+ applied_to_data_stream_only: string[];
11040
+ applied_to_data_stream_and_backing_indices: string[];
11041
+ errors?: IndicesPutDataStreamSettingsDataStreamSettingsError[];
11042
+ }
11043
+ export interface IndicesPutDataStreamSettingsRequest extends RequestBase {
11044
+ name: Indices;
11045
+ dry_run?: boolean;
11046
+ master_timeout?: Duration;
11047
+ timeout?: Duration;
11048
+ settings?: IndicesIndexSettings;
11049
+ }
11050
+ export interface IndicesPutDataStreamSettingsResponse {
11051
+ data_streams: IndicesPutDataStreamSettingsUpdatedDataStreamSettings[];
11052
+ }
11053
+ export interface IndicesPutDataStreamSettingsUpdatedDataStreamSettings {
11054
+ name: IndexName;
11055
+ applied_to_data_stream: boolean;
11056
+ error?: string;
11057
+ settings: IndicesIndexSettings;
11058
+ effective_settings: IndicesIndexSettings;
11059
+ index_settings_results: IndicesPutDataStreamSettingsIndexSettingResults;
11060
+ }
10778
11061
  export interface IndicesPutIndexTemplateIndexTemplateMapping {
10779
11062
  aliases?: Record<IndexName, IndicesAlias>;
10780
11063
  mappings?: MappingTypeMapping;
10781
11064
  settings?: IndicesIndexSettings;
10782
11065
  lifecycle?: IndicesDataStreamLifecycle;
11066
+ data_stream_options?: IndicesDataStreamOptionsTemplate | null;
10783
11067
  }
10784
11068
  export interface IndicesPutIndexTemplateRequest extends RequestBase {
10785
11069
  name: Name;
@@ -11142,6 +11426,7 @@ export interface IndicesSimulateIndexTemplateRequest extends RequestBase {
11142
11426
  cause?: string;
11143
11427
  master_timeout?: Duration;
11144
11428
  include_defaults?: boolean;
11429
+ index_template?: IndicesIndexTemplate;
11145
11430
  }
11146
11431
  export interface IndicesSimulateIndexTemplateResponse {
11147
11432
  overlapping?: IndicesSimulateTemplateOverlapping[];
@@ -11378,7 +11663,8 @@ export type IndicesUpdateAliasesResponse = AcknowledgedResponseBase;
11378
11663
  export interface IndicesValidateQueryIndicesValidationExplanation {
11379
11664
  error?: string;
11380
11665
  explanation?: string;
11381
- index: IndexName;
11666
+ index?: IndexName;
11667
+ shard?: integer;
11382
11668
  valid: boolean;
11383
11669
  }
11384
11670
  export interface IndicesValidateQueryRequest extends RequestBase {
@@ -11554,6 +11840,7 @@ export interface InferenceCustomResponseParams {
11554
11840
  json_parser: any;
11555
11841
  }
11556
11842
  export interface InferenceCustomServiceSettings {
11843
+ batch_size?: integer;
11557
11844
  headers?: any;
11558
11845
  input_type?: any;
11559
11846
  query_parameters?: any;
@@ -11729,11 +12016,14 @@ export interface InferenceInferenceResult {
11729
12016
  completion?: InferenceCompletionResult[];
11730
12017
  rerank?: InferenceRankedDocument[];
11731
12018
  }
12019
+ export type InferenceJinaAIElementType = 'binary' | 'bit' | 'float';
11732
12020
  export interface InferenceJinaAIServiceSettings {
11733
12021
  api_key: string;
11734
- model_id?: string;
12022
+ model_id: string;
11735
12023
  rate_limit?: InferenceRateLimitSetting;
11736
12024
  similarity?: InferenceJinaAISimilarityType;
12025
+ dimensions?: integer;
12026
+ embedding_type?: InferenceJinaAIElementType;
11737
12027
  }
11738
12028
  export type InferenceJinaAIServiceType = 'jinaai';
11739
12029
  export type InferenceJinaAISimilarityType = 'cosine' | 'dot_product' | 'l2_norm';
@@ -11765,9 +12055,11 @@ export interface InferenceOpenAIServiceSettings {
11765
12055
  model_id: string;
11766
12056
  organization_id?: string;
11767
12057
  rate_limit?: InferenceRateLimitSetting;
12058
+ similarity?: InferenceOpenAISimilarityType;
11768
12059
  url?: string;
11769
12060
  }
11770
12061
  export type InferenceOpenAIServiceType = 'openai';
12062
+ export type InferenceOpenAISimilarityType = 'cosine' | 'dot_product' | 'l2_norm';
11771
12063
  export interface InferenceOpenAITaskSettings {
11772
12064
  user?: string;
11773
12065
  }
@@ -11798,6 +12090,7 @@ export interface InferenceSparseEmbeddingInferenceResult {
11798
12090
  sparse_embedding: InferenceSparseEmbeddingResult[];
11799
12091
  }
11800
12092
  export interface InferenceSparseEmbeddingResult {
12093
+ is_truncated: boolean;
11801
12094
  embedding: InferenceSparseVector;
11802
12095
  }
11803
12096
  export type InferenceSparseVector = Record<string, float>;
@@ -11865,7 +12158,7 @@ export interface InferenceWatsonxServiceSettings {
11865
12158
  url: string;
11866
12159
  }
11867
12160
  export type InferenceWatsonxServiceType = 'watsonxai';
11868
- export type InferenceWatsonxTaskType = 'text_embedding';
12161
+ export type InferenceWatsonxTaskType = 'text_embedding' | 'rerank';
11869
12162
  export interface InferenceChatCompletionUnifiedRequest extends RequestBase {
11870
12163
  inference_id: Id;
11871
12164
  timeout?: Duration;
@@ -12119,6 +12412,7 @@ export interface InferenceTextEmbeddingRequest extends RequestBase {
12119
12412
  inference_id: Id;
12120
12413
  timeout?: Duration;
12121
12414
  input: string | string[];
12415
+ input_type?: string;
12122
12416
  task_settings?: InferenceTaskSettings;
12123
12417
  }
12124
12418
  export type InferenceTextEmbeddingResponse = InferenceTextEmbeddingInferenceResult;
@@ -12130,7 +12424,8 @@ export interface InferenceUpdateRequest extends RequestBase {
12130
12424
  export type InferenceUpdateResponse = InferenceInferenceEndpointInfo;
12131
12425
  export interface IngestAppendProcessor extends IngestProcessorBase {
12132
12426
  field: Field;
12133
- value: any | any[];
12427
+ value?: any | any[];
12428
+ media_type?: string;
12134
12429
  allow_duplicates?: boolean;
12135
12430
  }
12136
12431
  export interface IngestAttachmentProcessor extends IngestProcessorBase {
@@ -12886,13 +13181,13 @@ export interface MlAnalysisConfig {
12886
13181
  }
12887
13182
  export interface MlAnalysisConfigRead {
12888
13183
  bucket_span: Duration;
13184
+ detectors: MlDetectorRead[];
13185
+ influencers: Field[];
12889
13186
  categorization_analyzer?: MlCategorizationAnalyzer;
12890
13187
  categorization_field_name?: Field;
12891
13188
  categorization_filters?: string[];
12892
- detectors: MlDetectorRead[];
12893
- influencers: Field[];
12894
- model_prune_window?: Duration;
12895
13189
  latency?: Duration;
13190
+ model_prune_window?: Duration;
12896
13191
  multivariate_by_fields?: boolean;
12897
13192
  per_partition_categorization?: MlPerPartitionCategorization;
12898
13193
  summary_count_field_name?: Field;
@@ -13370,13 +13665,13 @@ export interface MlDetector {
13370
13665
  use_null?: boolean;
13371
13666
  }
13372
13667
  export interface MlDetectorRead {
13668
+ function: string;
13373
13669
  by_field_name?: Field;
13374
13670
  custom_rules?: MlDetectionRule[];
13375
13671
  detector_description?: string;
13376
13672
  detector_index?: integer;
13377
13673
  exclude_frequent?: MlExcludeFrequent;
13378
13674
  field_name?: Field;
13379
- function: string;
13380
13675
  over_field_name?: Field;
13381
13676
  partition_field_name?: Field;
13382
13677
  use_null?: boolean;
@@ -13417,7 +13712,7 @@ export interface MlFillMaskInferenceOptions {
13417
13712
  num_top_classes?: integer;
13418
13713
  tokenization?: MlTokenizationConfigContainer;
13419
13714
  results_field?: string;
13420
- vocabulary: MlVocabulary;
13715
+ vocabulary?: MlVocabulary;
13421
13716
  }
13422
13717
  export interface MlFillMaskInferenceUpdateOptions {
13423
13718
  num_top_classes?: integer;
@@ -13782,7 +14077,7 @@ export interface MlTextEmbeddingInferenceOptions {
13782
14077
  embedding_size?: integer;
13783
14078
  tokenization?: MlTokenizationConfigContainer;
13784
14079
  results_field?: string;
13785
- vocabulary: MlVocabulary;
14080
+ vocabulary?: MlVocabulary;
13786
14081
  }
13787
14082
  export interface MlTextEmbeddingInferenceUpdateOptions {
13788
14083
  tokenization?: MlNlpTokenizationUpdateOptions;
@@ -13791,7 +14086,7 @@ export interface MlTextEmbeddingInferenceUpdateOptions {
13791
14086
  export interface MlTextExpansionInferenceOptions {
13792
14087
  tokenization?: MlTokenizationConfigContainer;
13793
14088
  results_field?: string;
13794
- vocabulary: MlVocabulary;
14089
+ vocabulary?: MlVocabulary;
13795
14090
  }
13796
14091
  export interface MlTextExpansionInferenceUpdateOptions {
13797
14092
  tokenization?: MlNlpTokenizationUpdateOptions;
@@ -14904,6 +15199,7 @@ export interface MlStopDatafeedResponse {
14904
15199
  }
14905
15200
  export interface MlStopTrainedModelDeploymentRequest extends RequestBase {
14906
15201
  model_id: Id;
15202
+ id?: Id;
14907
15203
  allow_no_match?: boolean;
14908
15204
  force?: boolean;
14909
15205
  }
@@ -15067,7 +15363,6 @@ export interface MlValidateDetectorRequest extends RequestBase {
15067
15363
  }
15068
15364
  export type MlValidateDetectorResponse = AcknowledgedResponseBase;
15069
15365
  export interface MonitoringBulkRequest<TDocument = unknown, TPartialDocument = unknown> extends RequestBase {
15070
- type?: string;
15071
15366
  system_id: string;
15072
15367
  system_api_version: string;
15073
15368
  interval: Duration;
@@ -15895,6 +16190,27 @@ export interface NodesUsageResponseBase extends NodesNodesResponseBase {
15895
16190
  cluster_name: Name;
15896
16191
  nodes: Record<string, NodesUsageNodeUsage>;
15897
16192
  }
16193
+ export interface ProfilingFlamegraphRequest extends RequestBase {
16194
+ conditions?: any;
16195
+ }
16196
+ export type ProfilingFlamegraphResponse = any;
16197
+ export interface ProfilingStacktracesRequest extends RequestBase {
16198
+ conditions?: any;
16199
+ }
16200
+ export type ProfilingStacktracesResponse = any;
16201
+ export type ProfilingStatusProfilingOperationMode = 'RUNNING' | 'STOPPING' | 'STOPPED';
16202
+ export interface ProfilingStatusRequest extends RequestBase {
16203
+ master_timeout?: Duration;
16204
+ timeout?: Duration;
16205
+ wait_for_resources_created?: boolean;
16206
+ }
16207
+ export interface ProfilingStatusResponse {
16208
+ operation_mode: ProfilingStatusProfilingOperationMode;
16209
+ }
16210
+ export interface ProfilingTopnFunctionsRequest extends RequestBase {
16211
+ conditions?: any;
16212
+ }
16213
+ export type ProfilingTopnFunctionsResponse = any;
15898
16214
  export interface QueryRulesQueryRule {
15899
16215
  rule_id: Id;
15900
16216
  type: QueryRulesQueryRuleType;
@@ -15911,7 +16227,7 @@ export interface QueryRulesQueryRuleCriteria {
15911
16227
  metadata?: string;
15912
16228
  values?: any[];
15913
16229
  }
15914
- export type QueryRulesQueryRuleCriteriaType = 'global' | 'exact' | 'exact_fuzzy' | 'fuzzy' | 'prefix' | 'suffix' | 'contains' | 'lt' | 'lte' | 'gt' | 'gte' | 'always';
16230
+ export type QueryRulesQueryRuleCriteriaType = 'global' | 'exact' | 'fuzzy' | 'prefix' | 'suffix' | 'contains' | 'lt' | 'lte' | 'gt' | 'gte' | 'always';
15915
16231
  export type QueryRulesQueryRuleType = 'pinned' | 'exclude';
15916
16232
  export interface QueryRulesQueryRuleset {
15917
16233
  ruleset_id: Id;
@@ -16332,6 +16648,13 @@ export interface SecurityIndicesPrivileges {
16332
16648
  query?: SecurityIndicesPrivilegesQuery;
16333
16649
  allow_restricted_indices?: boolean;
16334
16650
  }
16651
+ export interface SecurityIndicesPrivilegesBase {
16652
+ field_security?: SecurityFieldSecurity;
16653
+ names: IndexName[];
16654
+ privileges: SecurityIndexPrivilege[];
16655
+ query?: SecurityIndicesPrivilegesQuery;
16656
+ allow_restricted_indices?: boolean;
16657
+ }
16335
16658
  export type SecurityIndicesPrivilegesQuery = string | QueryDslQueryContainer | SecurityRoleTemplateQuery;
16336
16659
  export interface SecurityManageUserPrivileges {
16337
16660
  applications: string[];
@@ -16354,12 +16677,12 @@ export interface SecurityRemoteIndicesPrivileges {
16354
16677
  allow_restricted_indices?: boolean;
16355
16678
  }
16356
16679
  export interface SecurityRemoteUserIndicesPrivileges {
16680
+ clusters: string[];
16357
16681
  field_security?: SecurityFieldSecurity[];
16358
- names: IndexName | IndexName[];
16682
+ names: IndexName[];
16359
16683
  privileges: SecurityIndexPrivilege[];
16360
16684
  query?: SecurityIndicesPrivilegesQuery[];
16361
16685
  allow_restricted_indices: boolean;
16362
- clusters: string[];
16363
16686
  }
16364
16687
  export interface SecurityReplicationAccess {
16365
16688
  names: IndexName | IndexName[];
@@ -16451,6 +16774,13 @@ export interface SecurityUserIndicesPrivileges {
16451
16774
  query?: SecurityIndicesPrivilegesQuery[];
16452
16775
  allow_restricted_indices: boolean;
16453
16776
  }
16777
+ export interface SecurityUserIndicesPrivilegesBase {
16778
+ field_security?: SecurityFieldSecurity[];
16779
+ names: IndexName[];
16780
+ privileges: SecurityIndexPrivilege[];
16781
+ query?: SecurityIndicesPrivilegesQuery[];
16782
+ allow_restricted_indices: boolean;
16783
+ }
16454
16784
  export interface SecurityUserProfile {
16455
16785
  uid: SecurityUserProfileId;
16456
16786
  user: SecurityUserProfileUser;
@@ -17276,8 +17606,8 @@ export type SecurityUpdateUserProfileDataResponse = AcknowledgedResponseBase;
17276
17606
  export type ShutdownType = 'restart' | 'remove' | 'replace';
17277
17607
  export interface ShutdownDeleteNodeRequest extends RequestBase {
17278
17608
  node_id: NodeId;
17279
- master_timeout?: TimeUnit;
17280
- timeout?: TimeUnit;
17609
+ master_timeout?: Duration;
17610
+ timeout?: Duration;
17281
17611
  }
17282
17612
  export type ShutdownDeleteNodeResponse = AcknowledgedResponseBase;
17283
17613
  export interface ShutdownGetNodeNodeShutdownStatus {
@@ -17298,7 +17628,7 @@ export interface ShutdownGetNodePluginsStatus {
17298
17628
  }
17299
17629
  export interface ShutdownGetNodeRequest extends RequestBase {
17300
17630
  node_id?: NodeIds;
17301
- master_timeout?: TimeUnit;
17631
+ master_timeout?: Duration;
17302
17632
  }
17303
17633
  export interface ShutdownGetNodeResponse {
17304
17634
  nodes: ShutdownGetNodeNodeShutdownStatus[];
@@ -17310,8 +17640,8 @@ export type ShutdownGetNodeShutdownStatus = 'not_started' | 'in_progress' | 'sta
17310
17640
  export type ShutdownGetNodeShutdownType = 'remove' | 'restart';
17311
17641
  export interface ShutdownPutNodeRequest extends RequestBase {
17312
17642
  node_id: NodeId;
17313
- master_timeout?: TimeUnit;
17314
- timeout?: TimeUnit;
17643
+ master_timeout?: Duration;
17644
+ timeout?: Duration;
17315
17645
  type: ShutdownType;
17316
17646
  reason: string;
17317
17647
  allocation_delay?: string;
@@ -17484,11 +17814,13 @@ export interface SnapshotAzureRepository extends SnapshotRepositoryBase {
17484
17814
  settings: SnapshotAzureRepositorySettings;
17485
17815
  }
17486
17816
  export interface SnapshotAzureRepositorySettings extends SnapshotRepositorySettingsBase {
17817
+ base_path?: string;
17487
17818
  client?: string;
17488
17819
  container?: string;
17489
- base_path?: string;
17490
- readonly?: boolean;
17820
+ delete_objects_max_size?: integer;
17491
17821
  location_mode?: string;
17822
+ max_concurrent_batch_deletes?: integer;
17823
+ readonly?: boolean;
17492
17824
  }
17493
17825
  export interface SnapshotFileCountSnapshotStats {
17494
17826
  file_count: integer;
@@ -17500,10 +17832,10 @@ export interface SnapshotGcsRepository extends SnapshotRepositoryBase {
17500
17832
  }
17501
17833
  export interface SnapshotGcsRepositorySettings extends SnapshotRepositorySettingsBase {
17502
17834
  bucket: string;
17503
- client?: string;
17835
+ application_name?: string;
17504
17836
  base_path?: string;
17837
+ client?: string;
17505
17838
  readonly?: boolean;
17506
- application_name?: string;
17507
17839
  }
17508
17840
  export interface SnapshotIndexDetails {
17509
17841
  shard_count: integer;
@@ -17541,13 +17873,20 @@ export interface SnapshotS3Repository extends SnapshotRepositoryBase {
17541
17873
  }
17542
17874
  export interface SnapshotS3RepositorySettings extends SnapshotRepositorySettingsBase {
17543
17875
  bucket: string;
17544
- client?: string;
17545
17876
  base_path?: string;
17546
- readonly?: boolean;
17547
- server_side_encryption?: boolean;
17548
17877
  buffer_size?: ByteSize;
17549
17878
  canned_acl?: string;
17879
+ client?: string;
17880
+ delete_objects_max_size?: integer;
17881
+ get_register_retry_delay?: Duration;
17882
+ max_multipart_parts?: integer;
17883
+ max_multipart_upload_cleanup_size?: integer;
17884
+ readonly?: boolean;
17885
+ server_side_encryption?: boolean;
17550
17886
  storage_class?: string;
17887
+ 'throttled_delete_retry.delay_increment'?: Duration;
17888
+ 'throttled_delete_retry.maximum_delay'?: Duration;
17889
+ 'throttled_delete_retry.maximum_number_of_retries'?: integer;
17551
17890
  }
17552
17891
  export interface SnapshotShardsStats {
17553
17892
  done: long;
@@ -17671,10 +18010,11 @@ export interface SnapshotCreateRequest extends RequestBase {
17671
18010
  snapshot: Name;
17672
18011
  master_timeout?: Duration;
17673
18012
  wait_for_completion?: boolean;
18013
+ expand_wildcards?: ExpandWildcards;
18014
+ feature_states?: string[];
17674
18015
  ignore_unavailable?: boolean;
17675
18016
  include_global_state?: boolean;
17676
18017
  indices?: Indices;
17677
- feature_states?: string[];
17678
18018
  metadata?: Metadata;
17679
18019
  partial?: boolean;
17680
18020
  }
@@ -17706,25 +18046,26 @@ export type SnapshotDeleteRepositoryResponse = AcknowledgedResponseBase;
17706
18046
  export interface SnapshotGetRequest extends RequestBase {
17707
18047
  repository: Name;
17708
18048
  snapshot: Names;
18049
+ after?: string;
18050
+ from_sort_value?: string;
17709
18051
  ignore_unavailable?: boolean;
17710
- master_timeout?: Duration;
17711
- verbose?: boolean;
17712
18052
  index_details?: boolean;
17713
18053
  index_names?: boolean;
17714
18054
  include_repository?: boolean;
17715
- sort?: SnapshotSnapshotSort;
17716
- size?: integer;
18055
+ master_timeout?: Duration;
17717
18056
  order?: SortOrder;
17718
- after?: string;
17719
18057
  offset?: integer;
17720
- from_sort_value?: string;
18058
+ size?: integer;
17721
18059
  slm_policy_filter?: Name;
18060
+ sort?: SnapshotSnapshotSort;
18061
+ verbose?: boolean;
17722
18062
  }
17723
18063
  export interface SnapshotGetResponse {
18064
+ remaining: integer;
18065
+ total: integer;
18066
+ next?: string;
17724
18067
  responses?: SnapshotGetSnapshotResponseItem[];
17725
18068
  snapshots?: SnapshotSnapshotInfo[];
17726
- total: integer;
17727
- remaining: integer;
17728
18069
  }
17729
18070
  export interface SnapshotGetSnapshotResponseItem {
17730
18071
  repository: Name;
@@ -17837,14 +18178,14 @@ export interface SnapshotRepositoryAnalyzeWriteSummaryInfo {
17837
18178
  }
17838
18179
  export interface SnapshotRepositoryVerifyIntegrityRequest extends RequestBase {
17839
18180
  name: Names;
17840
- meta_thread_pool_concurrency?: integer;
17841
18181
  blob_thread_pool_concurrency?: integer;
17842
- snapshot_verification_concurrency?: integer;
17843
- index_verification_concurrency?: integer;
17844
18182
  index_snapshot_verification_concurrency?: integer;
18183
+ index_verification_concurrency?: integer;
18184
+ max_bytes_per_sec?: string;
17845
18185
  max_failed_shard_snapshots?: integer;
18186
+ meta_thread_pool_concurrency?: integer;
18187
+ snapshot_verification_concurrency?: integer;
17846
18188
  verify_blob_contents?: boolean;
17847
- max_bytes_per_sec?: string;
17848
18189
  }
17849
18190
  export type SnapshotRepositoryVerifyIntegrityResponse = any;
17850
18191
  export interface SnapshotRestoreRequest extends RequestBase {
@@ -17946,7 +18287,7 @@ export interface SqlQueryRequest extends RequestBase {
17946
18287
  keep_alive?: Duration;
17947
18288
  keep_on_completion?: boolean;
17948
18289
  page_timeout?: Duration;
17949
- params?: Record<string, any>;
18290
+ params?: any[];
17950
18291
  query?: string;
17951
18292
  request_timeout?: Duration;
17952
18293
  runtime_mappings?: MappingRuntimeFields;
@@ -17975,6 +18316,7 @@ export interface SqlTranslateResponse {
17975
18316
  fields?: (QueryDslFieldAndFormat | Field)[];
17976
18317
  query?: QueryDslQueryContainer;
17977
18318
  sort?: Sort;
18319
+ track_total_hits?: SearchTrackHits;
17978
18320
  }
17979
18321
  export interface SslCertificatesCertificateInformation {
17980
18322
  alias: string | null;
@@ -17989,6 +18331,25 @@ export interface SslCertificatesCertificateInformation {
17989
18331
  export interface SslCertificatesRequest extends RequestBase {
17990
18332
  }
17991
18333
  export type SslCertificatesResponse = SslCertificatesCertificateInformation[];
18334
+ export interface StreamsLogsDisableRequest extends RequestBase {
18335
+ master_timeout?: Duration;
18336
+ timeout?: Duration;
18337
+ }
18338
+ export type StreamsLogsDisableResponse = AcknowledgedResponseBase;
18339
+ export interface StreamsLogsEnableRequest extends RequestBase {
18340
+ master_timeout?: Duration;
18341
+ timeout?: Duration;
18342
+ }
18343
+ export type StreamsLogsEnableResponse = AcknowledgedResponseBase;
18344
+ export interface StreamsStatusLogsStatus {
18345
+ enabled: boolean;
18346
+ }
18347
+ export interface StreamsStatusRequest extends RequestBase {
18348
+ master_timeout?: Duration;
18349
+ }
18350
+ export interface StreamsStatusResponse {
18351
+ logs: StreamsStatusLogsStatus;
18352
+ }
17992
18353
  export interface SynonymsSynonymRule {
17993
18354
  id?: Id;
17994
18355
  synonyms: SynonymsSynonymString;
@@ -18196,13 +18557,14 @@ export interface TextStructureFindMessageStructureResponse {
18196
18557
  sample_start: string;
18197
18558
  timestamp_field?: Field;
18198
18559
  }
18560
+ export type TextStructureFindStructureFindStructureFormat = 'ndjson' | 'xml' | 'delimited' | 'semi_structured_text';
18199
18561
  export interface TextStructureFindStructureRequest<TJsonDocument = unknown> {
18200
18562
  charset?: string;
18201
18563
  column_names?: string;
18202
18564
  delimiter?: string;
18203
18565
  ecs_compatibility?: string;
18204
18566
  explain?: boolean;
18205
- format?: string;
18567
+ format?: TextStructureFindStructureFindStructureFormat;
18206
18568
  grok_pattern?: GrokPattern;
18207
18569
  has_header_row?: boolean;
18208
18570
  line_merge_size_limit?: uint;
@@ -18287,6 +18649,8 @@ export interface TransformSettings {
18287
18649
  deduce_mappings?: boolean;
18288
18650
  docs_per_second?: float;
18289
18651
  max_page_search_size?: integer;
18652
+ use_point_in_time?: boolean;
18653
+ num_failure_retries?: integer;
18290
18654
  unattended?: boolean;
18291
18655
  }
18292
18656
  export interface TransformSource {
@@ -18308,6 +18672,22 @@ export interface TransformDeleteTransformRequest extends RequestBase {
18308
18672
  timeout?: Duration;
18309
18673
  }
18310
18674
  export type TransformDeleteTransformResponse = AcknowledgedResponseBase;
18675
+ export interface TransformGetNodeStatsRequest extends RequestBase {
18676
+ }
18677
+ export type TransformGetNodeStatsResponse = TransformGetNodeStatsTransformNodeFullStats;
18678
+ export interface TransformGetNodeStatsTransformNodeFullStatsKeys {
18679
+ total: TransformGetNodeStatsTransformNodeStats;
18680
+ }
18681
+ export type TransformGetNodeStatsTransformNodeFullStats = TransformGetNodeStatsTransformNodeFullStatsKeys & {
18682
+ [property: string]: TransformGetNodeStatsTransformNodeStats;
18683
+ };
18684
+ export interface TransformGetNodeStatsTransformNodeStats {
18685
+ scheduler: TransformGetNodeStatsTransformSchedulerStats;
18686
+ }
18687
+ export interface TransformGetNodeStatsTransformSchedulerStats {
18688
+ registered_transform_count: integer;
18689
+ peek_transform?: string;
18690
+ }
18311
18691
  export interface TransformGetTransformRequest extends RequestBase {
18312
18692
  transform_id?: Names;
18313
18693
  allow_no_match?: boolean;
@@ -18455,6 +18835,11 @@ export interface TransformScheduleNowTransformRequest extends RequestBase {
18455
18835
  timeout?: Duration;
18456
18836
  }
18457
18837
  export type TransformScheduleNowTransformResponse = AcknowledgedResponseBase;
18838
+ export interface TransformSetUpgradeModeRequest extends RequestBase {
18839
+ enabled?: boolean;
18840
+ timeout?: Duration;
18841
+ }
18842
+ export type TransformSetUpgradeModeResponse = AcknowledgedResponseBase;
18458
18843
  export interface TransformStartTransformRequest extends RequestBase {
18459
18844
  transform_id: Id;
18460
18845
  timeout?: Duration;
@@ -19543,4 +19928,6 @@ export interface SpecUtilsCommonCatQueryParameters {
19543
19928
  format?: string;
19544
19929
  help?: boolean;
19545
19930
  v?: boolean;
19931
+ bytes?: Bytes;
19932
+ time?: TimeUnit;
19546
19933
  }