@elastic/elasticsearch 8.19.1 → 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 (40) 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/fleet.d.ts +9 -9
  9. package/lib/api/api/fleet.js +19 -5
  10. package/lib/api/api/fleet.js.map +1 -1
  11. package/lib/api/api/indices.d.ts +27 -27
  12. package/lib/api/api/indices.js +39 -11
  13. package/lib/api/api/indices.js.map +1 -1
  14. package/lib/api/api/inference.d.ts +2 -2
  15. package/lib/api/api/inference.js +5 -1
  16. package/lib/api/api/inference.js.map +1 -1
  17. package/lib/api/api/ml.js +51 -9
  18. package/lib/api/api/ml.js.map +1 -1
  19. package/lib/api/api/monitoring.js +2 -5
  20. package/lib/api/api/monitoring.js.map +1 -1
  21. package/lib/api/api/profiling.d.ts +13 -13
  22. package/lib/api/api/profiling.js +31 -9
  23. package/lib/api/api/profiling.js.map +1 -1
  24. package/lib/api/api/reindex.js +1 -1
  25. package/lib/api/api/reindex.js.map +1 -1
  26. package/lib/api/api/snapshot.d.ts +5 -5
  27. package/lib/api/api/snapshot.js +1 -1
  28. package/lib/api/api/snapshot.js.map +1 -1
  29. package/lib/api/api/streams.d.ts +15 -15
  30. package/lib/api/api/streams.js +3 -0
  31. package/lib/api/api/streams.js.map +1 -1
  32. package/lib/api/api/transform.d.ts +4 -5
  33. package/lib/api/api/transform.js +1 -0
  34. package/lib/api/api/transform.js.map +1 -1
  35. package/lib/api/types.d.ts +469 -97
  36. package/lib/api/typesWithBodyKey.d.ts +504 -103
  37. package/lib/client.d.ts +1 -1
  38. package/lib/client.js +6 -1
  39. package/lib/client.js.map +1 -1
  40. package/package.json +4 -4
@@ -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. */
@@ -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;
@@ -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;
@@ -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[];
@@ -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;
@@ -6111,7 +6260,6 @@ export interface CatAllocationAllocationRecord {
6111
6260
  }
6112
6261
  export interface CatAllocationRequest extends CatCatRequestBase {
6113
6262
  node_id?: NodeIds;
6114
- bytes?: Bytes;
6115
6263
  h?: CatCatAllocationColumns;
6116
6264
  s?: Names;
6117
6265
  local?: boolean;
@@ -6167,7 +6315,6 @@ export interface CatFielddataFielddataRecord {
6167
6315
  }
6168
6316
  export interface CatFielddataRequest extends CatCatRequestBase {
6169
6317
  fields?: Fields;
6170
- bytes?: Bytes;
6171
6318
  h?: CatCatFieldDataColumns;
6172
6319
  s?: Names;
6173
6320
  }
@@ -6225,7 +6372,6 @@ export interface CatHealthHealthRecord {
6225
6372
  activeShardsPercent?: string;
6226
6373
  }
6227
6374
  export interface CatHealthRequest extends CatCatRequestBase {
6228
- time?: TimeUnit;
6229
6375
  ts?: boolean;
6230
6376
  h?: Names;
6231
6377
  s?: Names;
@@ -6527,12 +6673,10 @@ export interface CatIndicesIndicesRecord {
6527
6673
  }
6528
6674
  export interface CatIndicesRequest extends CatCatRequestBase {
6529
6675
  index?: Indices;
6530
- bytes?: Bytes;
6531
6676
  expand_wildcards?: ExpandWildcards;
6532
6677
  health?: HealthStatus;
6533
6678
  include_unloaded_segments?: boolean;
6534
6679
  pri?: boolean;
6535
- time?: TimeUnit;
6536
6680
  master_timeout?: Duration;
6537
6681
  h?: Names;
6538
6682
  s?: Names;
@@ -6599,10 +6743,8 @@ export interface CatMlDataFrameAnalyticsDataFrameAnalyticsRecord {
6599
6743
  export interface CatMlDataFrameAnalyticsRequest extends CatCatRequestBase {
6600
6744
  id?: Id;
6601
6745
  allow_no_match?: boolean;
6602
- bytes?: Bytes;
6603
6746
  h?: CatCatDfaColumns;
6604
6747
  s?: CatCatDfaColumns;
6605
- time?: TimeUnit;
6606
6748
  }
6607
6749
  export type CatMlDataFrameAnalyticsResponse = CatMlDataFrameAnalyticsDataFrameAnalyticsRecord[];
6608
6750
  export interface CatMlDatafeedsDatafeedsRecord {
@@ -6644,7 +6786,6 @@ export interface CatMlDatafeedsRequest extends CatCatRequestBase {
6644
6786
  allow_no_match?: boolean;
6645
6787
  h?: CatCatDatafeedColumns;
6646
6788
  s?: CatCatDatafeedColumns;
6647
- time?: TimeUnit;
6648
6789
  }
6649
6790
  export type CatMlDatafeedsResponse = CatMlDatafeedsDatafeedsRecord[];
6650
6791
  export interface CatMlJobsJobsRecord {
@@ -6826,21 +6967,17 @@ export interface CatMlJobsJobsRecord {
6826
6967
  export interface CatMlJobsRequest extends CatCatRequestBase {
6827
6968
  job_id?: Id;
6828
6969
  allow_no_match?: boolean;
6829
- bytes?: Bytes;
6830
6970
  h?: CatCatAnomalyDetectorColumns;
6831
6971
  s?: CatCatAnomalyDetectorColumns;
6832
- time?: TimeUnit;
6833
6972
  }
6834
6973
  export type CatMlJobsResponse = CatMlJobsJobsRecord[];
6835
6974
  export interface CatMlTrainedModelsRequest extends CatCatRequestBase {
6836
6975
  model_id?: Id;
6837
6976
  allow_no_match?: boolean;
6838
- bytes?: Bytes;
6839
6977
  h?: CatCatTrainedModelsColumns;
6840
6978
  s?: CatCatTrainedModelsColumns;
6841
6979
  from?: integer;
6842
6980
  size?: integer;
6843
- time?: TimeUnit;
6844
6981
  }
6845
6982
  export type CatMlTrainedModelsResponse = CatMlTrainedModelsTrainedModelsRecord[];
6846
6983
  export interface CatMlTrainedModelsTrainedModelsRecord {
@@ -7180,13 +7317,11 @@ export interface CatNodesNodesRecord {
7180
7317
  bulkAvgSizeInBytes?: string;
7181
7318
  }
7182
7319
  export interface CatNodesRequest extends CatCatRequestBase {
7183
- bytes?: Bytes;
7184
7320
  full_id?: boolean | string;
7185
7321
  include_unloaded_segments?: boolean;
7186
7322
  h?: CatCatNodeColumns;
7187
7323
  s?: Names;
7188
7324
  master_timeout?: Duration;
7189
- time?: TimeUnit;
7190
7325
  }
7191
7326
  export type CatNodesResponse = CatNodesNodesRecord[];
7192
7327
  export interface CatPendingTasksPendingTasksRecord {
@@ -7204,7 +7339,6 @@ export interface CatPendingTasksRequest extends CatCatRequestBase {
7204
7339
  s?: Names;
7205
7340
  local?: boolean;
7206
7341
  master_timeout?: Duration;
7207
- time?: TimeUnit;
7208
7342
  }
7209
7343
  export type CatPendingTasksResponse = CatPendingTasksPendingTasksRecord[];
7210
7344
  export interface CatPluginsPluginsRecord {
@@ -7288,11 +7422,9 @@ export interface CatRecoveryRecoveryRecord {
7288
7422
  export interface CatRecoveryRequest extends CatCatRequestBase {
7289
7423
  index?: Indices;
7290
7424
  active_only?: boolean;
7291
- bytes?: Bytes;
7292
7425
  detailed?: boolean;
7293
7426
  h?: CatCatRecoveryColumns;
7294
7427
  s?: Names;
7295
- time?: TimeUnit;
7296
7428
  }
7297
7429
  export type CatRecoveryResponse = CatRecoveryRecoveryRecord[];
7298
7430
  export interface CatRepositoriesRepositoriesRecord {
@@ -7310,11 +7442,15 @@ export interface CatRepositoriesRequest extends CatCatRequestBase {
7310
7442
  export type CatRepositoriesResponse = CatRepositoriesRepositoriesRecord[];
7311
7443
  export interface CatSegmentsRequest extends CatCatRequestBase {
7312
7444
  index?: Indices;
7313
- bytes?: Bytes;
7314
7445
  h?: CatCatSegmentsColumns;
7315
7446
  s?: Names;
7316
7447
  local?: boolean;
7317
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;
7318
7454
  }
7319
7455
  export type CatSegmentsResponse = CatSegmentsSegmentsRecord[];
7320
7456
  export interface CatSegmentsSegmentsRecord {
@@ -7360,11 +7496,9 @@ export interface CatSegmentsSegmentsRecord {
7360
7496
  }
7361
7497
  export interface CatShardsRequest extends CatCatRequestBase {
7362
7498
  index?: Indices;
7363
- bytes?: Bytes;
7364
7499
  h?: CatCatShardColumns;
7365
7500
  s?: Names;
7366
7501
  master_timeout?: Duration;
7367
- time?: TimeUnit;
7368
7502
  }
7369
7503
  export type CatShardsResponse = CatShardsShardsRecord[];
7370
7504
  export interface CatShardsShardsRecord {
@@ -7587,7 +7721,6 @@ export interface CatSnapshotsRequest extends CatCatRequestBase {
7587
7721
  h?: CatCatSnapshotsColumns;
7588
7722
  s?: Names;
7589
7723
  master_timeout?: Duration;
7590
- time?: TimeUnit;
7591
7724
  }
7592
7725
  export type CatSnapshotsResponse = CatSnapshotsSnapshotsRecord[];
7593
7726
  export interface CatSnapshotsSnapshotsRecord {
@@ -7630,7 +7763,6 @@ export interface CatTasksRequest extends CatCatRequestBase {
7630
7763
  parent_task_id?: string;
7631
7764
  h?: Names;
7632
7765
  s?: Names;
7633
- time?: TimeUnit;
7634
7766
  timeout?: Duration;
7635
7767
  wait_for_completion?: boolean;
7636
7768
  }
@@ -7694,7 +7826,6 @@ export interface CatThreadPoolRequest extends CatCatRequestBase {
7694
7826
  thread_pool_patterns?: Names;
7695
7827
  h?: CatCatThreadPoolColumns;
7696
7828
  s?: Names;
7697
- time?: TimeUnit;
7698
7829
  local?: boolean;
7699
7830
  master_timeout?: Duration;
7700
7831
  }
@@ -7747,7 +7878,6 @@ export interface CatTransformsRequest extends CatCatRequestBase {
7747
7878
  from?: integer;
7748
7879
  h?: CatCatTransformColumns;
7749
7880
  s?: CatCatTransformColumns;
7750
- time?: TimeUnit;
7751
7881
  size?: integer;
7752
7882
  }
7753
7883
  export type CatTransformsResponse = CatTransformsTransformsRecord[];
@@ -8069,6 +8199,7 @@ export interface ClusterComponentTemplateSummary {
8069
8199
  mappings?: MappingTypeMapping;
8070
8200
  aliases?: Record<string, IndicesAliasDefinition>;
8071
8201
  lifecycle?: IndicesDataStreamLifecycleWithRollover;
8202
+ data_stream_options?: IndicesDataStreamOptions;
8072
8203
  }
8073
8204
  export interface ClusterAllocationExplainAllocationDecision {
8074
8205
  decider: string;
@@ -8109,7 +8240,7 @@ export interface ClusterAllocationExplainDiskUsage {
8109
8240
  used_disk_percent: double;
8110
8241
  }
8111
8242
  export interface ClusterAllocationExplainNodeAllocationExplanation {
8112
- deciders: ClusterAllocationExplainAllocationDecision[];
8243
+ deciders?: ClusterAllocationExplainAllocationDecision[];
8113
8244
  node_attributes: Record<string, string>;
8114
8245
  node_decision: ClusterAllocationExplainDecision;
8115
8246
  node_id: Id;
@@ -8117,7 +8248,7 @@ export interface ClusterAllocationExplainNodeAllocationExplanation {
8117
8248
  roles: NodeRoles;
8118
8249
  store?: ClusterAllocationExplainAllocationStore;
8119
8250
  transport_address: TransportAddress;
8120
- weight_ranking: integer;
8251
+ weight_ranking?: integer;
8121
8252
  }
8122
8253
  export interface ClusterAllocationExplainNodeDiskUsage {
8123
8254
  node_name: Name;
@@ -8315,7 +8446,7 @@ export interface ClusterPutComponentTemplateRequest extends RequestBase {
8315
8446
  master_timeout?: Duration;
8316
8447
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
8317
8448
  body?: {
8318
- template: IndicesIndexState;
8449
+ template: IndicesPutIndexTemplateIndexTemplateMapping;
8319
8450
  version?: VersionNumber;
8320
8451
  _meta?: Metadata;
8321
8452
  deprecated?: boolean;
@@ -9066,6 +9197,38 @@ export interface ConnectorPutResponse {
9066
9197
  result: Result;
9067
9198
  id: Id;
9068
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
+ }
9069
9232
  export interface ConnectorSyncJobCancelRequest extends RequestBase {
9070
9233
  connector_sync_job_id: Id;
9071
9234
  }
@@ -9283,14 +9446,14 @@ export interface ConnectorUpdateStatusResponse {
9283
9446
  }
9284
9447
  export interface DanglingIndicesDeleteDanglingIndexRequest extends RequestBase {
9285
9448
  index_uuid: Uuid;
9286
- accept_data_loss: boolean;
9449
+ accept_data_loss?: boolean;
9287
9450
  master_timeout?: Duration;
9288
9451
  timeout?: Duration;
9289
9452
  }
9290
9453
  export type DanglingIndicesDeleteDanglingIndexResponse = AcknowledgedResponseBase;
9291
9454
  export interface DanglingIndicesImportDanglingIndexRequest extends RequestBase {
9292
9455
  index_uuid: Uuid;
9293
- accept_data_loss: boolean;
9456
+ accept_data_loss?: boolean;
9294
9457
  master_timeout?: Duration;
9295
9458
  timeout?: Duration;
9296
9459
  }
@@ -9463,6 +9626,7 @@ export interface EsqlAsyncEsqlResult extends EsqlEsqlResult {
9463
9626
  id?: string;
9464
9627
  is_running: boolean;
9465
9628
  }
9629
+ export type EsqlESQLParams = EsqlSingleOrMultiValue[] | EsqlNamedValue[];
9466
9630
  export interface EsqlEsqlClusterDetails {
9467
9631
  status: EsqlEsqlClusterStatus;
9468
9632
  indices: string;
@@ -9505,6 +9669,8 @@ export interface EsqlEsqlShardInfo {
9505
9669
  failed?: integer;
9506
9670
  failures?: EsqlEsqlShardFailure[];
9507
9671
  }
9672
+ export type EsqlNamedValue = Partial<Record<string, EsqlSingleOrMultiValue>>;
9673
+ export type EsqlSingleOrMultiValue = FieldValue | FieldValue[];
9508
9674
  export interface EsqlTableValuesContainer {
9509
9675
  integer?: EsqlTableValuesIntegerValue[];
9510
9676
  keyword?: EsqlTableValuesKeywordValue[];
@@ -9525,7 +9691,7 @@ export interface EsqlAsyncQueryRequest extends RequestBase {
9525
9691
  columnar?: boolean;
9526
9692
  filter?: QueryDslQueryContainer;
9527
9693
  locale?: string;
9528
- params?: FieldValue[];
9694
+ params?: EsqlESQLParams;
9529
9695
  profile?: boolean;
9530
9696
  query: string;
9531
9697
  tables?: Record<string, Record<string, EsqlTableValuesContainer>>;
@@ -9564,7 +9730,7 @@ export interface EsqlQueryRequest extends RequestBase {
9564
9730
  columnar?: boolean;
9565
9731
  filter?: QueryDslQueryContainer;
9566
9732
  locale?: string;
9567
- params?: FieldValue[];
9733
+ params?: EsqlESQLParams;
9568
9734
  profile?: boolean;
9569
9735
  query: string;
9570
9736
  tables?: Record<string, Record<string, EsqlTableValuesContainer>>;
@@ -9589,6 +9755,19 @@ export interface FeaturesResetFeaturesResponse {
9589
9755
  features: FeaturesFeature[];
9590
9756
  }
9591
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
+ }
9592
9771
  export interface FleetGlobalCheckpointsRequest extends RequestBase {
9593
9772
  index: IndexName | IndexAlias;
9594
9773
  wait_for_advance?: boolean;
@@ -9621,6 +9800,15 @@ export interface FleetMsearchRequest extends RequestBase {
9621
9800
  export interface FleetMsearchResponse<TDocument = unknown> {
9622
9801
  docs: MsearchResponseItem<TDocument>[];
9623
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
+ }
9624
9812
  export interface FleetSearchRequest extends RequestBase {
9625
9813
  index: IndexName | IndexAlias;
9626
9814
  allow_no_indices?: boolean;
@@ -10009,11 +10197,20 @@ export interface IndicesDataStream {
10009
10197
  name: DataStreamName;
10010
10198
  replicated?: boolean;
10011
10199
  rollover_on_write: boolean;
10200
+ settings: IndicesIndexSettings;
10012
10201
  status: HealthStatus;
10013
10202
  system?: boolean;
10014
10203
  template: Name;
10015
10204
  timestamp_field: IndicesDataStreamTimestampField;
10016
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
+ }
10017
10214
  export interface IndicesDataStreamIndex {
10018
10215
  index_name: IndexName;
10019
10216
  index_uuid: Uuid;
@@ -10023,12 +10220,11 @@ export interface IndicesDataStreamIndex {
10023
10220
  }
10024
10221
  export interface IndicesDataStreamLifecycle {
10025
10222
  data_retention?: Duration;
10026
- downsampling?: IndicesDataStreamLifecycleDownsampling;
10223
+ effective_retention?: Duration;
10224
+ retention_determined_by?: IndicesRetentionSource;
10225
+ downsampling?: IndicesDownsamplingRound[];
10027
10226
  enabled?: boolean;
10028
10227
  }
10029
- export interface IndicesDataStreamLifecycleDownsampling {
10030
- rounds: IndicesDownsamplingRound[];
10031
- }
10032
10228
  export interface IndicesDataStreamLifecycleRolloverConditions {
10033
10229
  min_age?: Duration;
10034
10230
  max_age?: string;
@@ -10044,6 +10240,12 @@ export interface IndicesDataStreamLifecycleRolloverConditions {
10044
10240
  export interface IndicesDataStreamLifecycleWithRollover extends IndicesDataStreamLifecycle {
10045
10241
  rollover?: IndicesDataStreamLifecycleRolloverConditions;
10046
10242
  }
10243
+ export interface IndicesDataStreamOptions {
10244
+ failure_store?: IndicesDataStreamFailureStore;
10245
+ }
10246
+ export interface IndicesDataStreamOptionsTemplate {
10247
+ failure_store?: IndicesDataStreamFailureStoreTemplate | null;
10248
+ }
10047
10249
  export interface IndicesDataStreamTimestampField {
10048
10250
  name: Field;
10049
10251
  }
@@ -10063,6 +10265,14 @@ export interface IndicesFailureStore {
10063
10265
  indices: IndicesDataStreamIndex[];
10064
10266
  rollover_on_write: boolean;
10065
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
+ }
10066
10276
  export interface IndicesFielddataFrequencyFilter {
10067
10277
  max: double;
10068
10278
  min: double;
@@ -10220,6 +10430,7 @@ export interface IndicesIndexTemplateSummary {
10220
10430
  mappings?: MappingTypeMapping;
10221
10431
  settings?: IndicesIndexSettings;
10222
10432
  lifecycle?: IndicesDataStreamLifecycleWithRollover;
10433
+ data_stream_options?: IndicesDataStreamOptions;
10223
10434
  }
10224
10435
  export interface IndicesIndexVersioning {
10225
10436
  created?: VersionString;
@@ -10291,6 +10502,7 @@ export interface IndicesQueries {
10291
10502
  export interface IndicesRetentionLease {
10292
10503
  period: Duration;
10293
10504
  }
10505
+ export type IndicesRetentionSource = 'data_stream_configuration' | 'default_global_retention' | 'max_global_retention' | 'default_failures_retention';
10294
10506
  export interface IndicesSearchIdle {
10295
10507
  after?: Duration;
10296
10508
  }
@@ -10618,6 +10830,13 @@ export interface IndicesDeleteDataStreamRequest extends RequestBase {
10618
10830
  expand_wildcards?: ExpandWildcards;
10619
10831
  }
10620
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;
10621
10840
  export interface IndicesDeleteIndexTemplateRequest extends RequestBase {
10622
10841
  name: Names;
10623
10842
  master_timeout?: Duration;
@@ -10812,6 +11031,11 @@ export interface IndicesGetDataLifecycleRequest extends RequestBase {
10812
11031
  }
10813
11032
  export interface IndicesGetDataLifecycleResponse {
10814
11033
  data_streams: IndicesGetDataLifecycleDataStreamWithLifecycle[];
11034
+ global_retention: IndicesGetDataLifecycleGlobalRetention;
11035
+ }
11036
+ export interface IndicesGetDataLifecycleGlobalRetention {
11037
+ max_retention?: Duration;
11038
+ default_retention?: Duration;
10815
11039
  }
10816
11040
  export interface IndicesGetDataLifecycleStatsDataStreamStats {
10817
11041
  backing_indices_in_error: integer;
@@ -10836,6 +11060,30 @@ export interface IndicesGetDataStreamRequest extends RequestBase {
10836
11060
  export interface IndicesGetDataStreamResponse {
10837
11061
  data_streams: IndicesDataStream[];
10838
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
+ }
10839
11087
  export interface IndicesGetFieldMappingRequest extends RequestBase {
10840
11088
  fields: Fields;
10841
11089
  index?: Indices;
@@ -10994,16 +11242,56 @@ export interface IndicesPutDataLifecycleRequest extends RequestBase {
10994
11242
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
10995
11243
  body?: {
10996
11244
  data_retention?: Duration;
10997
- downsampling?: IndicesDataStreamLifecycleDownsampling;
11245
+ downsampling?: IndicesDownsamplingRound[];
10998
11246
  enabled?: boolean;
10999
11247
  };
11000
11248
  }
11001
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
+ }
11002
11289
  export interface IndicesPutIndexTemplateIndexTemplateMapping {
11003
11290
  aliases?: Record<IndexName, IndicesAlias>;
11004
11291
  mappings?: MappingTypeMapping;
11005
11292
  settings?: IndicesIndexSettings;
11006
11293
  lifecycle?: IndicesDataStreamLifecycle;
11294
+ data_stream_options?: IndicesDataStreamOptionsTemplate | null;
11007
11295
  }
11008
11296
  export interface IndicesPutIndexTemplateRequest extends RequestBase {
11009
11297
  name: Name;
@@ -11382,6 +11670,8 @@ export interface IndicesSimulateIndexTemplateRequest extends RequestBase {
11382
11670
  cause?: string;
11383
11671
  master_timeout?: Duration;
11384
11672
  include_defaults?: boolean;
11673
+ /** @deprecated The use of the 'body' key has been deprecated, use 'index_template' instead. */
11674
+ body?: IndicesIndexTemplate;
11385
11675
  }
11386
11676
  export interface IndicesSimulateIndexTemplateResponse {
11387
11677
  overlapping?: IndicesSimulateTemplateOverlapping[];
@@ -11627,7 +11917,8 @@ export type IndicesUpdateAliasesResponse = AcknowledgedResponseBase;
11627
11917
  export interface IndicesValidateQueryIndicesValidationExplanation {
11628
11918
  error?: string;
11629
11919
  explanation?: string;
11630
- index: IndexName;
11920
+ index?: IndexName;
11921
+ shard?: integer;
11631
11922
  valid: boolean;
11632
11923
  }
11633
11924
  export interface IndicesValidateQueryRequest extends RequestBase {
@@ -11806,6 +12097,7 @@ export interface InferenceCustomResponseParams {
11806
12097
  json_parser: any;
11807
12098
  }
11808
12099
  export interface InferenceCustomServiceSettings {
12100
+ batch_size?: integer;
11809
12101
  headers?: any;
11810
12102
  input_type?: any;
11811
12103
  query_parameters?: any;
@@ -11981,11 +12273,14 @@ export interface InferenceInferenceResult {
11981
12273
  completion?: InferenceCompletionResult[];
11982
12274
  rerank?: InferenceRankedDocument[];
11983
12275
  }
12276
+ export type InferenceJinaAIElementType = 'binary' | 'bit' | 'float';
11984
12277
  export interface InferenceJinaAIServiceSettings {
11985
12278
  api_key: string;
11986
- model_id?: string;
12279
+ model_id: string;
11987
12280
  rate_limit?: InferenceRateLimitSetting;
11988
12281
  similarity?: InferenceJinaAISimilarityType;
12282
+ dimensions?: integer;
12283
+ embedding_type?: InferenceJinaAIElementType;
11989
12284
  }
11990
12285
  export type InferenceJinaAIServiceType = 'jinaai';
11991
12286
  export type InferenceJinaAISimilarityType = 'cosine' | 'dot_product' | 'l2_norm';
@@ -12017,9 +12312,11 @@ export interface InferenceOpenAIServiceSettings {
12017
12312
  model_id: string;
12018
12313
  organization_id?: string;
12019
12314
  rate_limit?: InferenceRateLimitSetting;
12315
+ similarity?: InferenceOpenAISimilarityType;
12020
12316
  url?: string;
12021
12317
  }
12022
12318
  export type InferenceOpenAIServiceType = 'openai';
12319
+ export type InferenceOpenAISimilarityType = 'cosine' | 'dot_product' | 'l2_norm';
12023
12320
  export interface InferenceOpenAITaskSettings {
12024
12321
  user?: string;
12025
12322
  }
@@ -12050,6 +12347,7 @@ export interface InferenceSparseEmbeddingInferenceResult {
12050
12347
  sparse_embedding: InferenceSparseEmbeddingResult[];
12051
12348
  }
12052
12349
  export interface InferenceSparseEmbeddingResult {
12350
+ is_truncated: boolean;
12053
12351
  embedding: InferenceSparseVector;
12054
12352
  }
12055
12353
  export type InferenceSparseVector = Record<string, float>;
@@ -12117,7 +12415,7 @@ export interface InferenceWatsonxServiceSettings {
12117
12415
  url: string;
12118
12416
  }
12119
12417
  export type InferenceWatsonxServiceType = 'watsonxai';
12120
- export type InferenceWatsonxTaskType = 'text_embedding';
12418
+ export type InferenceWatsonxTaskType = 'text_embedding' | 'rerank';
12121
12419
  export interface InferenceChatCompletionUnifiedRequest extends RequestBase {
12122
12420
  inference_id: Id;
12123
12421
  timeout?: Duration;
@@ -12447,6 +12745,7 @@ export interface InferenceTextEmbeddingRequest extends RequestBase {
12447
12745
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
12448
12746
  body?: {
12449
12747
  input: string | string[];
12748
+ input_type?: string;
12450
12749
  task_settings?: InferenceTaskSettings;
12451
12750
  };
12452
12751
  }
@@ -12460,7 +12759,8 @@ export interface InferenceUpdateRequest extends RequestBase {
12460
12759
  export type InferenceUpdateResponse = InferenceInferenceEndpointInfo;
12461
12760
  export interface IngestAppendProcessor extends IngestProcessorBase {
12462
12761
  field: Field;
12463
- value: any | any[];
12762
+ value?: any | any[];
12763
+ media_type?: string;
12464
12764
  allow_duplicates?: boolean;
12465
12765
  }
12466
12766
  export interface IngestAttachmentProcessor extends IngestProcessorBase {
@@ -13230,13 +13530,13 @@ export interface MlAnalysisConfig {
13230
13530
  }
13231
13531
  export interface MlAnalysisConfigRead {
13232
13532
  bucket_span: Duration;
13533
+ detectors: MlDetectorRead[];
13534
+ influencers: Field[];
13233
13535
  categorization_analyzer?: MlCategorizationAnalyzer;
13234
13536
  categorization_field_name?: Field;
13235
13537
  categorization_filters?: string[];
13236
- detectors: MlDetectorRead[];
13237
- influencers: Field[];
13238
- model_prune_window?: Duration;
13239
13538
  latency?: Duration;
13539
+ model_prune_window?: Duration;
13240
13540
  multivariate_by_fields?: boolean;
13241
13541
  per_partition_categorization?: MlPerPartitionCategorization;
13242
13542
  summary_count_field_name?: Field;
@@ -13714,13 +14014,13 @@ export interface MlDetector {
13714
14014
  use_null?: boolean;
13715
14015
  }
13716
14016
  export interface MlDetectorRead {
14017
+ function: string;
13717
14018
  by_field_name?: Field;
13718
14019
  custom_rules?: MlDetectionRule[];
13719
14020
  detector_description?: string;
13720
14021
  detector_index?: integer;
13721
14022
  exclude_frequent?: MlExcludeFrequent;
13722
14023
  field_name?: Field;
13723
- function: string;
13724
14024
  over_field_name?: Field;
13725
14025
  partition_field_name?: Field;
13726
14026
  use_null?: boolean;
@@ -13761,7 +14061,7 @@ export interface MlFillMaskInferenceOptions {
13761
14061
  num_top_classes?: integer;
13762
14062
  tokenization?: MlTokenizationConfigContainer;
13763
14063
  results_field?: string;
13764
- vocabulary: MlVocabulary;
14064
+ vocabulary?: MlVocabulary;
13765
14065
  }
13766
14066
  export interface MlFillMaskInferenceUpdateOptions {
13767
14067
  num_top_classes?: integer;
@@ -14126,7 +14426,7 @@ export interface MlTextEmbeddingInferenceOptions {
14126
14426
  embedding_size?: integer;
14127
14427
  tokenization?: MlTokenizationConfigContainer;
14128
14428
  results_field?: string;
14129
- vocabulary: MlVocabulary;
14429
+ vocabulary?: MlVocabulary;
14130
14430
  }
14131
14431
  export interface MlTextEmbeddingInferenceUpdateOptions {
14132
14432
  tokenization?: MlNlpTokenizationUpdateOptions;
@@ -14135,7 +14435,7 @@ export interface MlTextEmbeddingInferenceUpdateOptions {
14135
14435
  export interface MlTextExpansionInferenceOptions {
14136
14436
  tokenization?: MlTokenizationConfigContainer;
14137
14437
  results_field?: string;
14138
- vocabulary: MlVocabulary;
14438
+ vocabulary?: MlVocabulary;
14139
14439
  }
14140
14440
  export interface MlTextExpansionInferenceUpdateOptions {
14141
14441
  tokenization?: MlNlpTokenizationUpdateOptions;
@@ -15283,7 +15583,11 @@ export interface MlSetUpgradeModeRequest extends RequestBase {
15283
15583
  export type MlSetUpgradeModeResponse = AcknowledgedResponseBase;
15284
15584
  export interface MlStartDataFrameAnalyticsRequest extends RequestBase {
15285
15585
  id: Id;
15286
- 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
+ };
15287
15591
  }
15288
15592
  export interface MlStartDataFrameAnalyticsResponse {
15289
15593
  acknowledged: boolean;
@@ -15322,9 +15626,13 @@ export interface MlStartTrainedModelDeploymentResponse {
15322
15626
  }
15323
15627
  export interface MlStopDataFrameAnalyticsRequest extends RequestBase {
15324
15628
  id: Id;
15325
- allow_no_match?: boolean;
15326
- force?: boolean;
15327
- 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
+ };
15328
15636
  }
15329
15637
  export interface MlStopDataFrameAnalyticsResponse {
15330
15638
  stopped: boolean;
@@ -15343,8 +15651,12 @@ export interface MlStopDatafeedResponse {
15343
15651
  }
15344
15652
  export interface MlStopTrainedModelDeploymentRequest extends RequestBase {
15345
15653
  model_id: Id;
15346
- allow_no_match?: boolean;
15347
- 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
+ };
15348
15660
  }
15349
15661
  export interface MlStopTrainedModelDeploymentResponse {
15350
15662
  stopped: boolean;
@@ -15528,7 +15840,6 @@ export interface MlValidateDetectorRequest extends RequestBase {
15528
15840
  }
15529
15841
  export type MlValidateDetectorResponse = AcknowledgedResponseBase;
15530
15842
  export interface MonitoringBulkRequest<TDocument = unknown, TPartialDocument = unknown> extends RequestBase {
15531
- type?: string;
15532
15843
  system_id: string;
15533
15844
  system_api_version: string;
15534
15845
  interval: Duration;
@@ -16360,6 +16671,30 @@ export interface NodesUsageResponseBase extends NodesNodesResponseBase {
16360
16671
  cluster_name: Name;
16361
16672
  nodes: Record<string, NodesUsageNodeUsage>;
16362
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;
16363
16698
  export interface QueryRulesQueryRule {
16364
16699
  rule_id: Id;
16365
16700
  type: QueryRulesQueryRuleType;
@@ -16376,7 +16711,7 @@ export interface QueryRulesQueryRuleCriteria {
16376
16711
  metadata?: string;
16377
16712
  values?: any[];
16378
16713
  }
16379
- 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';
16380
16715
  export type QueryRulesQueryRuleType = 'pinned' | 'exclude';
16381
16716
  export interface QueryRulesQueryRuleset {
16382
16717
  ruleset_id: Id;
@@ -16823,6 +17158,13 @@ export interface SecurityIndicesPrivileges {
16823
17158
  query?: SecurityIndicesPrivilegesQuery;
16824
17159
  allow_restricted_indices?: boolean;
16825
17160
  }
17161
+ export interface SecurityIndicesPrivilegesBase {
17162
+ field_security?: SecurityFieldSecurity;
17163
+ names: IndexName[];
17164
+ privileges: SecurityIndexPrivilege[];
17165
+ query?: SecurityIndicesPrivilegesQuery;
17166
+ allow_restricted_indices?: boolean;
17167
+ }
16826
17168
  export type SecurityIndicesPrivilegesQuery = string | QueryDslQueryContainer | SecurityRoleTemplateQuery;
16827
17169
  export interface SecurityManageUserPrivileges {
16828
17170
  applications: string[];
@@ -16845,12 +17187,12 @@ export interface SecurityRemoteIndicesPrivileges {
16845
17187
  allow_restricted_indices?: boolean;
16846
17188
  }
16847
17189
  export interface SecurityRemoteUserIndicesPrivileges {
17190
+ clusters: string[];
16848
17191
  field_security?: SecurityFieldSecurity[];
16849
- names: IndexName | IndexName[];
17192
+ names: IndexName[];
16850
17193
  privileges: SecurityIndexPrivilege[];
16851
17194
  query?: SecurityIndicesPrivilegesQuery[];
16852
17195
  allow_restricted_indices: boolean;
16853
- clusters: string[];
16854
17196
  }
16855
17197
  export interface SecurityReplicationAccess {
16856
17198
  names: IndexName | IndexName[];
@@ -16942,6 +17284,13 @@ export interface SecurityUserIndicesPrivileges {
16942
17284
  query?: SecurityIndicesPrivilegesQuery[];
16943
17285
  allow_restricted_indices: boolean;
16944
17286
  }
17287
+ export interface SecurityUserIndicesPrivilegesBase {
17288
+ field_security?: SecurityFieldSecurity[];
17289
+ names: IndexName[];
17290
+ privileges: SecurityIndexPrivilege[];
17291
+ query?: SecurityIndicesPrivilegesQuery[];
17292
+ allow_restricted_indices: boolean;
17293
+ }
16945
17294
  export interface SecurityUserProfile {
16946
17295
  uid: SecurityUserProfileId;
16947
17296
  user: SecurityUserProfileUser;
@@ -17868,8 +18217,8 @@ export type SecurityUpdateUserProfileDataResponse = AcknowledgedResponseBase;
17868
18217
  export type ShutdownType = 'restart' | 'remove' | 'replace';
17869
18218
  export interface ShutdownDeleteNodeRequest extends RequestBase {
17870
18219
  node_id: NodeId;
17871
- master_timeout?: TimeUnit;
17872
- timeout?: TimeUnit;
18220
+ master_timeout?: Duration;
18221
+ timeout?: Duration;
17873
18222
  }
17874
18223
  export type ShutdownDeleteNodeResponse = AcknowledgedResponseBase;
17875
18224
  export interface ShutdownGetNodeNodeShutdownStatus {
@@ -17890,7 +18239,7 @@ export interface ShutdownGetNodePluginsStatus {
17890
18239
  }
17891
18240
  export interface ShutdownGetNodeRequest extends RequestBase {
17892
18241
  node_id?: NodeIds;
17893
- master_timeout?: TimeUnit;
18242
+ master_timeout?: Duration;
17894
18243
  }
17895
18244
  export interface ShutdownGetNodeResponse {
17896
18245
  nodes: ShutdownGetNodeNodeShutdownStatus[];
@@ -17902,8 +18251,8 @@ export type ShutdownGetNodeShutdownStatus = 'not_started' | 'in_progress' | 'sta
17902
18251
  export type ShutdownGetNodeShutdownType = 'remove' | 'restart';
17903
18252
  export interface ShutdownPutNodeRequest extends RequestBase {
17904
18253
  node_id: NodeId;
17905
- master_timeout?: TimeUnit;
17906
- timeout?: TimeUnit;
18254
+ master_timeout?: Duration;
18255
+ timeout?: Duration;
17907
18256
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
17908
18257
  body?: {
17909
18258
  type: ShutdownType;
@@ -18085,11 +18434,13 @@ export interface SnapshotAzureRepository extends SnapshotRepositoryBase {
18085
18434
  settings: SnapshotAzureRepositorySettings;
18086
18435
  }
18087
18436
  export interface SnapshotAzureRepositorySettings extends SnapshotRepositorySettingsBase {
18437
+ base_path?: string;
18088
18438
  client?: string;
18089
18439
  container?: string;
18090
- base_path?: string;
18091
- readonly?: boolean;
18440
+ delete_objects_max_size?: integer;
18092
18441
  location_mode?: string;
18442
+ max_concurrent_batch_deletes?: integer;
18443
+ readonly?: boolean;
18093
18444
  }
18094
18445
  export interface SnapshotFileCountSnapshotStats {
18095
18446
  file_count: integer;
@@ -18101,10 +18452,10 @@ export interface SnapshotGcsRepository extends SnapshotRepositoryBase {
18101
18452
  }
18102
18453
  export interface SnapshotGcsRepositorySettings extends SnapshotRepositorySettingsBase {
18103
18454
  bucket: string;
18104
- client?: string;
18455
+ application_name?: string;
18105
18456
  base_path?: string;
18457
+ client?: string;
18106
18458
  readonly?: boolean;
18107
- application_name?: string;
18108
18459
  }
18109
18460
  export interface SnapshotIndexDetails {
18110
18461
  shard_count: integer;
@@ -18142,13 +18493,20 @@ export interface SnapshotS3Repository extends SnapshotRepositoryBase {
18142
18493
  }
18143
18494
  export interface SnapshotS3RepositorySettings extends SnapshotRepositorySettingsBase {
18144
18495
  bucket: string;
18145
- client?: string;
18146
18496
  base_path?: string;
18147
- readonly?: boolean;
18148
- server_side_encryption?: boolean;
18149
18497
  buffer_size?: ByteSize;
18150
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;
18151
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;
18152
18510
  }
18153
18511
  export interface SnapshotShardsStats {
18154
18512
  done: long;
@@ -18277,10 +18635,11 @@ export interface SnapshotCreateRequest extends RequestBase {
18277
18635
  wait_for_completion?: boolean;
18278
18636
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
18279
18637
  body?: {
18638
+ expand_wildcards?: ExpandWildcards;
18639
+ feature_states?: string[];
18280
18640
  ignore_unavailable?: boolean;
18281
18641
  include_global_state?: boolean;
18282
18642
  indices?: Indices;
18283
- feature_states?: string[];
18284
18643
  metadata?: Metadata;
18285
18644
  partial?: boolean;
18286
18645
  };
@@ -18314,25 +18673,26 @@ export type SnapshotDeleteRepositoryResponse = AcknowledgedResponseBase;
18314
18673
  export interface SnapshotGetRequest extends RequestBase {
18315
18674
  repository: Name;
18316
18675
  snapshot: Names;
18676
+ after?: string;
18677
+ from_sort_value?: string;
18317
18678
  ignore_unavailable?: boolean;
18318
- master_timeout?: Duration;
18319
- verbose?: boolean;
18320
18679
  index_details?: boolean;
18321
18680
  index_names?: boolean;
18322
18681
  include_repository?: boolean;
18323
- sort?: SnapshotSnapshotSort;
18324
- size?: integer;
18682
+ master_timeout?: Duration;
18325
18683
  order?: SortOrder;
18326
- after?: string;
18327
18684
  offset?: integer;
18328
- from_sort_value?: string;
18685
+ size?: integer;
18329
18686
  slm_policy_filter?: Name;
18687
+ sort?: SnapshotSnapshotSort;
18688
+ verbose?: boolean;
18330
18689
  }
18331
18690
  export interface SnapshotGetResponse {
18691
+ remaining: integer;
18692
+ total: integer;
18693
+ next?: string;
18332
18694
  responses?: SnapshotGetSnapshotResponseItem[];
18333
18695
  snapshots?: SnapshotSnapshotInfo[];
18334
- total: integer;
18335
- remaining: integer;
18336
18696
  }
18337
18697
  export interface SnapshotGetSnapshotResponseItem {
18338
18698
  repository: Name;
@@ -18445,14 +18805,14 @@ export interface SnapshotRepositoryAnalyzeWriteSummaryInfo {
18445
18805
  }
18446
18806
  export interface SnapshotRepositoryVerifyIntegrityRequest extends RequestBase {
18447
18807
  name: Names;
18448
- meta_thread_pool_concurrency?: integer;
18449
18808
  blob_thread_pool_concurrency?: integer;
18450
- snapshot_verification_concurrency?: integer;
18451
- index_verification_concurrency?: integer;
18452
18809
  index_snapshot_verification_concurrency?: integer;
18810
+ index_verification_concurrency?: integer;
18811
+ max_bytes_per_sec?: string;
18453
18812
  max_failed_shard_snapshots?: integer;
18813
+ meta_thread_pool_concurrency?: integer;
18814
+ snapshot_verification_concurrency?: integer;
18454
18815
  verify_blob_contents?: boolean;
18455
- max_bytes_per_sec?: string;
18456
18816
  }
18457
18817
  export type SnapshotRepositoryVerifyIntegrityResponse = any;
18458
18818
  export interface SnapshotRestoreRequest extends RequestBase {
@@ -18595,6 +18955,7 @@ export interface SqlTranslateResponse {
18595
18955
  fields?: (QueryDslFieldAndFormat | Field)[];
18596
18956
  query?: QueryDslQueryContainer;
18597
18957
  sort?: Sort;
18958
+ track_total_hits?: SearchTrackHits;
18598
18959
  }
18599
18960
  export interface SslCertificatesCertificateInformation {
18600
18961
  alias: string | null;
@@ -18609,6 +18970,25 @@ export interface SslCertificatesCertificateInformation {
18609
18970
  export interface SslCertificatesRequest extends RequestBase {
18610
18971
  }
18611
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
+ }
18612
18992
  export interface SynonymsSynonymRule {
18613
18993
  id?: Id;
18614
18994
  synonyms: SynonymsSynonymString;
@@ -18825,13 +19205,14 @@ export interface TextStructureFindMessageStructureResponse {
18825
19205
  sample_start: string;
18826
19206
  timestamp_field?: Field;
18827
19207
  }
19208
+ export type TextStructureFindStructureFindStructureFormat = 'ndjson' | 'xml' | 'delimited' | 'semi_structured_text';
18828
19209
  export interface TextStructureFindStructureRequest<TJsonDocument = unknown> {
18829
19210
  charset?: string;
18830
19211
  column_names?: string;
18831
19212
  delimiter?: string;
18832
19213
  ecs_compatibility?: string;
18833
19214
  explain?: boolean;
18834
- format?: string;
19215
+ format?: TextStructureFindStructureFindStructureFormat;
18835
19216
  grok_pattern?: GrokPattern;
18836
19217
  has_header_row?: boolean;
18837
19218
  line_merge_size_limit?: uint;
@@ -18920,6 +19301,8 @@ export interface TransformSettings {
18920
19301
  deduce_mappings?: boolean;
18921
19302
  docs_per_second?: float;
18922
19303
  max_page_search_size?: integer;
19304
+ use_point_in_time?: boolean;
19305
+ num_failure_retries?: integer;
18923
19306
  unattended?: boolean;
18924
19307
  }
18925
19308
  export interface TransformSource {
@@ -18941,6 +19324,22 @@ export interface TransformDeleteTransformRequest extends RequestBase {
18941
19324
  timeout?: Duration;
18942
19325
  }
18943
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
+ }
18944
19343
  export interface TransformGetTransformRequest extends RequestBase {
18945
19344
  transform_id?: Names;
18946
19345
  allow_no_match?: boolean;
@@ -20202,4 +20601,6 @@ export interface SpecUtilsCommonCatQueryParameters {
20202
20601
  format?: string;
20203
20602
  help?: boolean;
20204
20603
  v?: boolean;
20604
+ bytes?: Bytes;
20605
+ time?: TimeUnit;
20205
20606
  }