@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
@@ -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
  }
@@ -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;
@@ -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;
@@ -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[];
@@ -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;
@@ -6030,7 +6178,6 @@ export interface CatAllocationAllocationRecord {
6030
6178
  }
6031
6179
  export interface CatAllocationRequest extends CatCatRequestBase {
6032
6180
  node_id?: NodeIds;
6033
- bytes?: Bytes;
6034
6181
  h?: CatCatAllocationColumns;
6035
6182
  s?: Names;
6036
6183
  local?: boolean;
@@ -6086,7 +6233,6 @@ export interface CatFielddataFielddataRecord {
6086
6233
  }
6087
6234
  export interface CatFielddataRequest extends CatCatRequestBase {
6088
6235
  fields?: Fields;
6089
- bytes?: Bytes;
6090
6236
  h?: CatCatFieldDataColumns;
6091
6237
  s?: Names;
6092
6238
  }
@@ -6144,7 +6290,6 @@ export interface CatHealthHealthRecord {
6144
6290
  activeShardsPercent?: string;
6145
6291
  }
6146
6292
  export interface CatHealthRequest extends CatCatRequestBase {
6147
- time?: TimeUnit;
6148
6293
  ts?: boolean;
6149
6294
  h?: Names;
6150
6295
  s?: Names;
@@ -6446,12 +6591,10 @@ export interface CatIndicesIndicesRecord {
6446
6591
  }
6447
6592
  export interface CatIndicesRequest extends CatCatRequestBase {
6448
6593
  index?: Indices;
6449
- bytes?: Bytes;
6450
6594
  expand_wildcards?: ExpandWildcards;
6451
6595
  health?: HealthStatus;
6452
6596
  include_unloaded_segments?: boolean;
6453
6597
  pri?: boolean;
6454
- time?: TimeUnit;
6455
6598
  master_timeout?: Duration;
6456
6599
  h?: Names;
6457
6600
  s?: Names;
@@ -6518,10 +6661,8 @@ export interface CatMlDataFrameAnalyticsDataFrameAnalyticsRecord {
6518
6661
  export interface CatMlDataFrameAnalyticsRequest extends CatCatRequestBase {
6519
6662
  id?: Id;
6520
6663
  allow_no_match?: boolean;
6521
- bytes?: Bytes;
6522
6664
  h?: CatCatDfaColumns;
6523
6665
  s?: CatCatDfaColumns;
6524
- time?: TimeUnit;
6525
6666
  }
6526
6667
  export type CatMlDataFrameAnalyticsResponse = CatMlDataFrameAnalyticsDataFrameAnalyticsRecord[];
6527
6668
  export interface CatMlDatafeedsDatafeedsRecord {
@@ -6563,7 +6704,6 @@ export interface CatMlDatafeedsRequest extends CatCatRequestBase {
6563
6704
  allow_no_match?: boolean;
6564
6705
  h?: CatCatDatafeedColumns;
6565
6706
  s?: CatCatDatafeedColumns;
6566
- time?: TimeUnit;
6567
6707
  }
6568
6708
  export type CatMlDatafeedsResponse = CatMlDatafeedsDatafeedsRecord[];
6569
6709
  export interface CatMlJobsJobsRecord {
@@ -6745,21 +6885,17 @@ export interface CatMlJobsJobsRecord {
6745
6885
  export interface CatMlJobsRequest extends CatCatRequestBase {
6746
6886
  job_id?: Id;
6747
6887
  allow_no_match?: boolean;
6748
- bytes?: Bytes;
6749
6888
  h?: CatCatAnomalyDetectorColumns;
6750
6889
  s?: CatCatAnomalyDetectorColumns;
6751
- time?: TimeUnit;
6752
6890
  }
6753
6891
  export type CatMlJobsResponse = CatMlJobsJobsRecord[];
6754
6892
  export interface CatMlTrainedModelsRequest extends CatCatRequestBase {
6755
6893
  model_id?: Id;
6756
6894
  allow_no_match?: boolean;
6757
- bytes?: Bytes;
6758
6895
  h?: CatCatTrainedModelsColumns;
6759
6896
  s?: CatCatTrainedModelsColumns;
6760
6897
  from?: integer;
6761
6898
  size?: integer;
6762
- time?: TimeUnit;
6763
6899
  }
6764
6900
  export type CatMlTrainedModelsResponse = CatMlTrainedModelsTrainedModelsRecord[];
6765
6901
  export interface CatMlTrainedModelsTrainedModelsRecord {
@@ -7099,13 +7235,11 @@ export interface CatNodesNodesRecord {
7099
7235
  bulkAvgSizeInBytes?: string;
7100
7236
  }
7101
7237
  export interface CatNodesRequest extends CatCatRequestBase {
7102
- bytes?: Bytes;
7103
7238
  full_id?: boolean | string;
7104
7239
  include_unloaded_segments?: boolean;
7105
7240
  h?: CatCatNodeColumns;
7106
7241
  s?: Names;
7107
7242
  master_timeout?: Duration;
7108
- time?: TimeUnit;
7109
7243
  }
7110
7244
  export type CatNodesResponse = CatNodesNodesRecord[];
7111
7245
  export interface CatPendingTasksPendingTasksRecord {
@@ -7123,7 +7257,6 @@ export interface CatPendingTasksRequest extends CatCatRequestBase {
7123
7257
  s?: Names;
7124
7258
  local?: boolean;
7125
7259
  master_timeout?: Duration;
7126
- time?: TimeUnit;
7127
7260
  }
7128
7261
  export type CatPendingTasksResponse = CatPendingTasksPendingTasksRecord[];
7129
7262
  export interface CatPluginsPluginsRecord {
@@ -7207,11 +7340,9 @@ export interface CatRecoveryRecoveryRecord {
7207
7340
  export interface CatRecoveryRequest extends CatCatRequestBase {
7208
7341
  index?: Indices;
7209
7342
  active_only?: boolean;
7210
- bytes?: Bytes;
7211
7343
  detailed?: boolean;
7212
7344
  h?: CatCatRecoveryColumns;
7213
7345
  s?: Names;
7214
- time?: TimeUnit;
7215
7346
  }
7216
7347
  export type CatRecoveryResponse = CatRecoveryRecoveryRecord[];
7217
7348
  export interface CatRepositoriesRepositoriesRecord {
@@ -7229,11 +7360,15 @@ export interface CatRepositoriesRequest extends CatCatRequestBase {
7229
7360
  export type CatRepositoriesResponse = CatRepositoriesRepositoriesRecord[];
7230
7361
  export interface CatSegmentsRequest extends CatCatRequestBase {
7231
7362
  index?: Indices;
7232
- bytes?: Bytes;
7233
7363
  h?: CatCatSegmentsColumns;
7234
7364
  s?: Names;
7235
7365
  local?: boolean;
7236
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;
7237
7372
  }
7238
7373
  export type CatSegmentsResponse = CatSegmentsSegmentsRecord[];
7239
7374
  export interface CatSegmentsSegmentsRecord {
@@ -7279,11 +7414,9 @@ export interface CatSegmentsSegmentsRecord {
7279
7414
  }
7280
7415
  export interface CatShardsRequest extends CatCatRequestBase {
7281
7416
  index?: Indices;
7282
- bytes?: Bytes;
7283
7417
  h?: CatCatShardColumns;
7284
7418
  s?: Names;
7285
7419
  master_timeout?: Duration;
7286
- time?: TimeUnit;
7287
7420
  }
7288
7421
  export type CatShardsResponse = CatShardsShardsRecord[];
7289
7422
  export interface CatShardsShardsRecord {
@@ -7506,7 +7639,6 @@ export interface CatSnapshotsRequest extends CatCatRequestBase {
7506
7639
  h?: CatCatSnapshotsColumns;
7507
7640
  s?: Names;
7508
7641
  master_timeout?: Duration;
7509
- time?: TimeUnit;
7510
7642
  }
7511
7643
  export type CatSnapshotsResponse = CatSnapshotsSnapshotsRecord[];
7512
7644
  export interface CatSnapshotsSnapshotsRecord {
@@ -7549,7 +7681,6 @@ export interface CatTasksRequest extends CatCatRequestBase {
7549
7681
  parent_task_id?: string;
7550
7682
  h?: Names;
7551
7683
  s?: Names;
7552
- time?: TimeUnit;
7553
7684
  timeout?: Duration;
7554
7685
  wait_for_completion?: boolean;
7555
7686
  }
@@ -7613,7 +7744,6 @@ export interface CatThreadPoolRequest extends CatCatRequestBase {
7613
7744
  thread_pool_patterns?: Names;
7614
7745
  h?: CatCatThreadPoolColumns;
7615
7746
  s?: Names;
7616
- time?: TimeUnit;
7617
7747
  local?: boolean;
7618
7748
  master_timeout?: Duration;
7619
7749
  }
@@ -7666,7 +7796,6 @@ export interface CatTransformsRequest extends CatCatRequestBase {
7666
7796
  from?: integer;
7667
7797
  h?: CatCatTransformColumns;
7668
7798
  s?: CatCatTransformColumns;
7669
- time?: TimeUnit;
7670
7799
  size?: integer;
7671
7800
  }
7672
7801
  export type CatTransformsResponse = CatTransformsTransformsRecord[];
@@ -7976,6 +8105,7 @@ export interface ClusterComponentTemplateSummary {
7976
8105
  mappings?: MappingTypeMapping;
7977
8106
  aliases?: Record<string, IndicesAliasDefinition>;
7978
8107
  lifecycle?: IndicesDataStreamLifecycleWithRollover;
8108
+ data_stream_options?: IndicesDataStreamOptions;
7979
8109
  }
7980
8110
  export interface ClusterAllocationExplainAllocationDecision {
7981
8111
  decider: string;
@@ -8016,7 +8146,7 @@ export interface ClusterAllocationExplainDiskUsage {
8016
8146
  used_disk_percent: double;
8017
8147
  }
8018
8148
  export interface ClusterAllocationExplainNodeAllocationExplanation {
8019
- deciders: ClusterAllocationExplainAllocationDecision[];
8149
+ deciders?: ClusterAllocationExplainAllocationDecision[];
8020
8150
  node_attributes: Record<string, string>;
8021
8151
  node_decision: ClusterAllocationExplainDecision;
8022
8152
  node_id: Id;
@@ -8024,7 +8154,7 @@ export interface ClusterAllocationExplainNodeAllocationExplanation {
8024
8154
  roles: NodeRoles;
8025
8155
  store?: ClusterAllocationExplainAllocationStore;
8026
8156
  transport_address: TransportAddress;
8027
- weight_ranking: integer;
8157
+ weight_ranking?: integer;
8028
8158
  }
8029
8159
  export interface ClusterAllocationExplainNodeDiskUsage {
8030
8160
  node_name: Name;
@@ -8217,7 +8347,7 @@ export interface ClusterPutComponentTemplateRequest extends RequestBase {
8217
8347
  create?: boolean;
8218
8348
  cause?: string;
8219
8349
  master_timeout?: Duration;
8220
- template: IndicesIndexState;
8350
+ template: IndicesPutIndexTemplateIndexTemplateMapping;
8221
8351
  version?: VersionNumber;
8222
8352
  _meta?: Metadata;
8223
8353
  deprecated?: boolean;
@@ -8952,6 +9082,32 @@ export interface ConnectorPutResponse {
8952
9082
  result: Result;
8953
9083
  id: Id;
8954
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
+ }
8955
9111
  export interface ConnectorSyncJobCancelRequest extends RequestBase {
8956
9112
  connector_sync_job_id: Id;
8957
9113
  }
@@ -9118,14 +9274,14 @@ export interface ConnectorUpdateStatusResponse {
9118
9274
  }
9119
9275
  export interface DanglingIndicesDeleteDanglingIndexRequest extends RequestBase {
9120
9276
  index_uuid: Uuid;
9121
- accept_data_loss: boolean;
9277
+ accept_data_loss?: boolean;
9122
9278
  master_timeout?: Duration;
9123
9279
  timeout?: Duration;
9124
9280
  }
9125
9281
  export type DanglingIndicesDeleteDanglingIndexResponse = AcknowledgedResponseBase;
9126
9282
  export interface DanglingIndicesImportDanglingIndexRequest extends RequestBase {
9127
9283
  index_uuid: Uuid;
9128
- accept_data_loss: boolean;
9284
+ accept_data_loss?: boolean;
9129
9285
  master_timeout?: Duration;
9130
9286
  timeout?: Duration;
9131
9287
  }
@@ -9292,6 +9448,7 @@ export interface EsqlAsyncEsqlResult extends EsqlEsqlResult {
9292
9448
  id?: string;
9293
9449
  is_running: boolean;
9294
9450
  }
9451
+ export type EsqlESQLParams = EsqlSingleOrMultiValue[] | EsqlNamedValue[];
9295
9452
  export interface EsqlEsqlClusterDetails {
9296
9453
  status: EsqlEsqlClusterStatus;
9297
9454
  indices: string;
@@ -9334,6 +9491,8 @@ export interface EsqlEsqlShardInfo {
9334
9491
  failed?: integer;
9335
9492
  failures?: EsqlEsqlShardFailure[];
9336
9493
  }
9494
+ export type EsqlNamedValue = Partial<Record<string, EsqlSingleOrMultiValue>>;
9495
+ export type EsqlSingleOrMultiValue = FieldValue | FieldValue[];
9337
9496
  export interface EsqlTableValuesContainer {
9338
9497
  integer?: EsqlTableValuesIntegerValue[];
9339
9498
  keyword?: EsqlTableValuesKeywordValue[];
@@ -9352,7 +9511,7 @@ export interface EsqlAsyncQueryRequest extends RequestBase {
9352
9511
  columnar?: boolean;
9353
9512
  filter?: QueryDslQueryContainer;
9354
9513
  locale?: string;
9355
- params?: FieldValue[];
9514
+ params?: EsqlESQLParams;
9356
9515
  profile?: boolean;
9357
9516
  query: string;
9358
9517
  tables?: Record<string, Record<string, EsqlTableValuesContainer>>;
@@ -9388,7 +9547,7 @@ export interface EsqlQueryRequest extends RequestBase {
9388
9547
  columnar?: boolean;
9389
9548
  filter?: QueryDslQueryContainer;
9390
9549
  locale?: string;
9391
- params?: FieldValue[];
9550
+ params?: EsqlESQLParams;
9392
9551
  profile?: boolean;
9393
9552
  query: string;
9394
9553
  tables?: Record<string, Record<string, EsqlTableValuesContainer>>;
@@ -9412,6 +9571,19 @@ export interface FeaturesResetFeaturesResponse {
9412
9571
  features: FeaturesFeature[];
9413
9572
  }
9414
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
+ }
9415
9587
  export interface FleetGlobalCheckpointsRequest extends RequestBase {
9416
9588
  index: IndexName | IndexAlias;
9417
9589
  wait_for_advance?: boolean;
@@ -9443,6 +9615,12 @@ export interface FleetMsearchRequest extends RequestBase {
9443
9615
  export interface FleetMsearchResponse<TDocument = unknown> {
9444
9616
  docs: MsearchResponseItem<TDocument>[];
9445
9617
  }
9618
+ export interface FleetPostSecretRequest extends RequestBase {
9619
+ value: string;
9620
+ }
9621
+ export interface FleetPostSecretResponse {
9622
+ id: string;
9623
+ }
9446
9624
  export interface FleetSearchRequest extends RequestBase {
9447
9625
  index: IndexName | IndexAlias;
9448
9626
  allow_no_indices?: boolean;
@@ -9816,11 +9994,20 @@ export interface IndicesDataStream {
9816
9994
  name: DataStreamName;
9817
9995
  replicated?: boolean;
9818
9996
  rollover_on_write: boolean;
9997
+ settings: IndicesIndexSettings;
9819
9998
  status: HealthStatus;
9820
9999
  system?: boolean;
9821
10000
  template: Name;
9822
10001
  timestamp_field: IndicesDataStreamTimestampField;
9823
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
+ }
9824
10011
  export interface IndicesDataStreamIndex {
9825
10012
  index_name: IndexName;
9826
10013
  index_uuid: Uuid;
@@ -9830,12 +10017,11 @@ export interface IndicesDataStreamIndex {
9830
10017
  }
9831
10018
  export interface IndicesDataStreamLifecycle {
9832
10019
  data_retention?: Duration;
9833
- downsampling?: IndicesDataStreamLifecycleDownsampling;
10020
+ effective_retention?: Duration;
10021
+ retention_determined_by?: IndicesRetentionSource;
10022
+ downsampling?: IndicesDownsamplingRound[];
9834
10023
  enabled?: boolean;
9835
10024
  }
9836
- export interface IndicesDataStreamLifecycleDownsampling {
9837
- rounds: IndicesDownsamplingRound[];
9838
- }
9839
10025
  export interface IndicesDataStreamLifecycleRolloverConditions {
9840
10026
  min_age?: Duration;
9841
10027
  max_age?: string;
@@ -9851,6 +10037,12 @@ export interface IndicesDataStreamLifecycleRolloverConditions {
9851
10037
  export interface IndicesDataStreamLifecycleWithRollover extends IndicesDataStreamLifecycle {
9852
10038
  rollover?: IndicesDataStreamLifecycleRolloverConditions;
9853
10039
  }
10040
+ export interface IndicesDataStreamOptions {
10041
+ failure_store?: IndicesDataStreamFailureStore;
10042
+ }
10043
+ export interface IndicesDataStreamOptionsTemplate {
10044
+ failure_store?: IndicesDataStreamFailureStoreTemplate | null;
10045
+ }
9854
10046
  export interface IndicesDataStreamTimestampField {
9855
10047
  name: Field;
9856
10048
  }
@@ -9870,6 +10062,14 @@ export interface IndicesFailureStore {
9870
10062
  indices: IndicesDataStreamIndex[];
9871
10063
  rollover_on_write: boolean;
9872
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
+ }
9873
10073
  export interface IndicesFielddataFrequencyFilter {
9874
10074
  max: double;
9875
10075
  min: double;
@@ -10027,6 +10227,7 @@ export interface IndicesIndexTemplateSummary {
10027
10227
  mappings?: MappingTypeMapping;
10028
10228
  settings?: IndicesIndexSettings;
10029
10229
  lifecycle?: IndicesDataStreamLifecycleWithRollover;
10230
+ data_stream_options?: IndicesDataStreamOptions;
10030
10231
  }
10031
10232
  export interface IndicesIndexVersioning {
10032
10233
  created?: VersionString;
@@ -10098,6 +10299,7 @@ export interface IndicesQueries {
10098
10299
  export interface IndicesRetentionLease {
10099
10300
  period: Duration;
10100
10301
  }
10302
+ export type IndicesRetentionSource = 'data_stream_configuration' | 'default_global_retention' | 'max_global_retention' | 'default_failures_retention';
10101
10303
  export interface IndicesSearchIdle {
10102
10304
  after?: Duration;
10103
10305
  }
@@ -10415,6 +10617,13 @@ export interface IndicesDeleteDataStreamRequest extends RequestBase {
10415
10617
  expand_wildcards?: ExpandWildcards;
10416
10618
  }
10417
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;
10418
10627
  export interface IndicesDeleteIndexTemplateRequest extends RequestBase {
10419
10628
  name: Names;
10420
10629
  master_timeout?: Duration;
@@ -10608,6 +10817,11 @@ export interface IndicesGetDataLifecycleRequest extends RequestBase {
10608
10817
  }
10609
10818
  export interface IndicesGetDataLifecycleResponse {
10610
10819
  data_streams: IndicesGetDataLifecycleDataStreamWithLifecycle[];
10820
+ global_retention: IndicesGetDataLifecycleGlobalRetention;
10821
+ }
10822
+ export interface IndicesGetDataLifecycleGlobalRetention {
10823
+ max_retention?: Duration;
10824
+ default_retention?: Duration;
10611
10825
  }
10612
10826
  export interface IndicesGetDataLifecycleStatsDataStreamStats {
10613
10827
  backing_indices_in_error: integer;
@@ -10632,6 +10846,30 @@ export interface IndicesGetDataStreamRequest extends RequestBase {
10632
10846
  export interface IndicesGetDataStreamResponse {
10633
10847
  data_streams: IndicesDataStream[];
10634
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
+ }
10635
10873
  export interface IndicesGetFieldMappingRequest extends RequestBase {
10636
10874
  fields: Fields;
10637
10875
  index?: Indices;
@@ -10781,15 +11019,51 @@ export interface IndicesPutDataLifecycleRequest extends RequestBase {
10781
11019
  master_timeout?: Duration;
10782
11020
  timeout?: Duration;
10783
11021
  data_retention?: Duration;
10784
- downsampling?: IndicesDataStreamLifecycleDownsampling;
11022
+ downsampling?: IndicesDownsamplingRound[];
10785
11023
  enabled?: boolean;
10786
11024
  }
10787
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
+ }
10788
11061
  export interface IndicesPutIndexTemplateIndexTemplateMapping {
10789
11062
  aliases?: Record<IndexName, IndicesAlias>;
10790
11063
  mappings?: MappingTypeMapping;
10791
11064
  settings?: IndicesIndexSettings;
10792
11065
  lifecycle?: IndicesDataStreamLifecycle;
11066
+ data_stream_options?: IndicesDataStreamOptionsTemplate | null;
10793
11067
  }
10794
11068
  export interface IndicesPutIndexTemplateRequest extends RequestBase {
10795
11069
  name: Name;
@@ -11152,6 +11426,7 @@ export interface IndicesSimulateIndexTemplateRequest extends RequestBase {
11152
11426
  cause?: string;
11153
11427
  master_timeout?: Duration;
11154
11428
  include_defaults?: boolean;
11429
+ index_template?: IndicesIndexTemplate;
11155
11430
  }
11156
11431
  export interface IndicesSimulateIndexTemplateResponse {
11157
11432
  overlapping?: IndicesSimulateTemplateOverlapping[];
@@ -11388,7 +11663,8 @@ export type IndicesUpdateAliasesResponse = AcknowledgedResponseBase;
11388
11663
  export interface IndicesValidateQueryIndicesValidationExplanation {
11389
11664
  error?: string;
11390
11665
  explanation?: string;
11391
- index: IndexName;
11666
+ index?: IndexName;
11667
+ shard?: integer;
11392
11668
  valid: boolean;
11393
11669
  }
11394
11670
  export interface IndicesValidateQueryRequest extends RequestBase {
@@ -11564,6 +11840,7 @@ export interface InferenceCustomResponseParams {
11564
11840
  json_parser: any;
11565
11841
  }
11566
11842
  export interface InferenceCustomServiceSettings {
11843
+ batch_size?: integer;
11567
11844
  headers?: any;
11568
11845
  input_type?: any;
11569
11846
  query_parameters?: any;
@@ -11739,11 +12016,14 @@ export interface InferenceInferenceResult {
11739
12016
  completion?: InferenceCompletionResult[];
11740
12017
  rerank?: InferenceRankedDocument[];
11741
12018
  }
12019
+ export type InferenceJinaAIElementType = 'binary' | 'bit' | 'float';
11742
12020
  export interface InferenceJinaAIServiceSettings {
11743
12021
  api_key: string;
11744
- model_id?: string;
12022
+ model_id: string;
11745
12023
  rate_limit?: InferenceRateLimitSetting;
11746
12024
  similarity?: InferenceJinaAISimilarityType;
12025
+ dimensions?: integer;
12026
+ embedding_type?: InferenceJinaAIElementType;
11747
12027
  }
11748
12028
  export type InferenceJinaAIServiceType = 'jinaai';
11749
12029
  export type InferenceJinaAISimilarityType = 'cosine' | 'dot_product' | 'l2_norm';
@@ -11775,9 +12055,11 @@ export interface InferenceOpenAIServiceSettings {
11775
12055
  model_id: string;
11776
12056
  organization_id?: string;
11777
12057
  rate_limit?: InferenceRateLimitSetting;
12058
+ similarity?: InferenceOpenAISimilarityType;
11778
12059
  url?: string;
11779
12060
  }
11780
12061
  export type InferenceOpenAIServiceType = 'openai';
12062
+ export type InferenceOpenAISimilarityType = 'cosine' | 'dot_product' | 'l2_norm';
11781
12063
  export interface InferenceOpenAITaskSettings {
11782
12064
  user?: string;
11783
12065
  }
@@ -11808,6 +12090,7 @@ export interface InferenceSparseEmbeddingInferenceResult {
11808
12090
  sparse_embedding: InferenceSparseEmbeddingResult[];
11809
12091
  }
11810
12092
  export interface InferenceSparseEmbeddingResult {
12093
+ is_truncated: boolean;
11811
12094
  embedding: InferenceSparseVector;
11812
12095
  }
11813
12096
  export type InferenceSparseVector = Record<string, float>;
@@ -11875,7 +12158,7 @@ export interface InferenceWatsonxServiceSettings {
11875
12158
  url: string;
11876
12159
  }
11877
12160
  export type InferenceWatsonxServiceType = 'watsonxai';
11878
- export type InferenceWatsonxTaskType = 'text_embedding';
12161
+ export type InferenceWatsonxTaskType = 'text_embedding' | 'rerank';
11879
12162
  export interface InferenceChatCompletionUnifiedRequest extends RequestBase {
11880
12163
  inference_id: Id;
11881
12164
  timeout?: Duration;
@@ -12129,6 +12412,7 @@ export interface InferenceTextEmbeddingRequest extends RequestBase {
12129
12412
  inference_id: Id;
12130
12413
  timeout?: Duration;
12131
12414
  input: string | string[];
12415
+ input_type?: string;
12132
12416
  task_settings?: InferenceTaskSettings;
12133
12417
  }
12134
12418
  export type InferenceTextEmbeddingResponse = InferenceTextEmbeddingInferenceResult;
@@ -12140,7 +12424,8 @@ export interface InferenceUpdateRequest extends RequestBase {
12140
12424
  export type InferenceUpdateResponse = InferenceInferenceEndpointInfo;
12141
12425
  export interface IngestAppendProcessor extends IngestProcessorBase {
12142
12426
  field: Field;
12143
- value: any | any[];
12427
+ value?: any | any[];
12428
+ media_type?: string;
12144
12429
  allow_duplicates?: boolean;
12145
12430
  }
12146
12431
  export interface IngestAttachmentProcessor extends IngestProcessorBase {
@@ -12896,13 +13181,13 @@ export interface MlAnalysisConfig {
12896
13181
  }
12897
13182
  export interface MlAnalysisConfigRead {
12898
13183
  bucket_span: Duration;
13184
+ detectors: MlDetectorRead[];
13185
+ influencers: Field[];
12899
13186
  categorization_analyzer?: MlCategorizationAnalyzer;
12900
13187
  categorization_field_name?: Field;
12901
13188
  categorization_filters?: string[];
12902
- detectors: MlDetectorRead[];
12903
- influencers: Field[];
12904
- model_prune_window?: Duration;
12905
13189
  latency?: Duration;
13190
+ model_prune_window?: Duration;
12906
13191
  multivariate_by_fields?: boolean;
12907
13192
  per_partition_categorization?: MlPerPartitionCategorization;
12908
13193
  summary_count_field_name?: Field;
@@ -13380,13 +13665,13 @@ export interface MlDetector {
13380
13665
  use_null?: boolean;
13381
13666
  }
13382
13667
  export interface MlDetectorRead {
13668
+ function: string;
13383
13669
  by_field_name?: Field;
13384
13670
  custom_rules?: MlDetectionRule[];
13385
13671
  detector_description?: string;
13386
13672
  detector_index?: integer;
13387
13673
  exclude_frequent?: MlExcludeFrequent;
13388
13674
  field_name?: Field;
13389
- function: string;
13390
13675
  over_field_name?: Field;
13391
13676
  partition_field_name?: Field;
13392
13677
  use_null?: boolean;
@@ -13427,7 +13712,7 @@ export interface MlFillMaskInferenceOptions {
13427
13712
  num_top_classes?: integer;
13428
13713
  tokenization?: MlTokenizationConfigContainer;
13429
13714
  results_field?: string;
13430
- vocabulary: MlVocabulary;
13715
+ vocabulary?: MlVocabulary;
13431
13716
  }
13432
13717
  export interface MlFillMaskInferenceUpdateOptions {
13433
13718
  num_top_classes?: integer;
@@ -13792,7 +14077,7 @@ export interface MlTextEmbeddingInferenceOptions {
13792
14077
  embedding_size?: integer;
13793
14078
  tokenization?: MlTokenizationConfigContainer;
13794
14079
  results_field?: string;
13795
- vocabulary: MlVocabulary;
14080
+ vocabulary?: MlVocabulary;
13796
14081
  }
13797
14082
  export interface MlTextEmbeddingInferenceUpdateOptions {
13798
14083
  tokenization?: MlNlpTokenizationUpdateOptions;
@@ -13801,7 +14086,7 @@ export interface MlTextEmbeddingInferenceUpdateOptions {
13801
14086
  export interface MlTextExpansionInferenceOptions {
13802
14087
  tokenization?: MlTokenizationConfigContainer;
13803
14088
  results_field?: string;
13804
- vocabulary: MlVocabulary;
14089
+ vocabulary?: MlVocabulary;
13805
14090
  }
13806
14091
  export interface MlTextExpansionInferenceUpdateOptions {
13807
14092
  tokenization?: MlNlpTokenizationUpdateOptions;
@@ -14914,6 +15199,7 @@ export interface MlStopDatafeedResponse {
14914
15199
  }
14915
15200
  export interface MlStopTrainedModelDeploymentRequest extends RequestBase {
14916
15201
  model_id: Id;
15202
+ id?: Id;
14917
15203
  allow_no_match?: boolean;
14918
15204
  force?: boolean;
14919
15205
  }
@@ -15077,7 +15363,6 @@ export interface MlValidateDetectorRequest extends RequestBase {
15077
15363
  }
15078
15364
  export type MlValidateDetectorResponse = AcknowledgedResponseBase;
15079
15365
  export interface MonitoringBulkRequest<TDocument = unknown, TPartialDocument = unknown> extends RequestBase {
15080
- type?: string;
15081
15366
  system_id: string;
15082
15367
  system_api_version: string;
15083
15368
  interval: Duration;
@@ -15905,6 +16190,27 @@ export interface NodesUsageResponseBase extends NodesNodesResponseBase {
15905
16190
  cluster_name: Name;
15906
16191
  nodes: Record<string, NodesUsageNodeUsage>;
15907
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;
15908
16214
  export interface QueryRulesQueryRule {
15909
16215
  rule_id: Id;
15910
16216
  type: QueryRulesQueryRuleType;
@@ -15921,7 +16227,7 @@ export interface QueryRulesQueryRuleCriteria {
15921
16227
  metadata?: string;
15922
16228
  values?: any[];
15923
16229
  }
15924
- 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';
15925
16231
  export type QueryRulesQueryRuleType = 'pinned' | 'exclude';
15926
16232
  export interface QueryRulesQueryRuleset {
15927
16233
  ruleset_id: Id;
@@ -16342,6 +16648,13 @@ export interface SecurityIndicesPrivileges {
16342
16648
  query?: SecurityIndicesPrivilegesQuery;
16343
16649
  allow_restricted_indices?: boolean;
16344
16650
  }
16651
+ export interface SecurityIndicesPrivilegesBase {
16652
+ field_security?: SecurityFieldSecurity;
16653
+ names: IndexName[];
16654
+ privileges: SecurityIndexPrivilege[];
16655
+ query?: SecurityIndicesPrivilegesQuery;
16656
+ allow_restricted_indices?: boolean;
16657
+ }
16345
16658
  export type SecurityIndicesPrivilegesQuery = string | QueryDslQueryContainer | SecurityRoleTemplateQuery;
16346
16659
  export interface SecurityManageUserPrivileges {
16347
16660
  applications: string[];
@@ -16364,12 +16677,12 @@ export interface SecurityRemoteIndicesPrivileges {
16364
16677
  allow_restricted_indices?: boolean;
16365
16678
  }
16366
16679
  export interface SecurityRemoteUserIndicesPrivileges {
16680
+ clusters: string[];
16367
16681
  field_security?: SecurityFieldSecurity[];
16368
- names: IndexName | IndexName[];
16682
+ names: IndexName[];
16369
16683
  privileges: SecurityIndexPrivilege[];
16370
16684
  query?: SecurityIndicesPrivilegesQuery[];
16371
16685
  allow_restricted_indices: boolean;
16372
- clusters: string[];
16373
16686
  }
16374
16687
  export interface SecurityReplicationAccess {
16375
16688
  names: IndexName | IndexName[];
@@ -16461,6 +16774,13 @@ export interface SecurityUserIndicesPrivileges {
16461
16774
  query?: SecurityIndicesPrivilegesQuery[];
16462
16775
  allow_restricted_indices: boolean;
16463
16776
  }
16777
+ export interface SecurityUserIndicesPrivilegesBase {
16778
+ field_security?: SecurityFieldSecurity[];
16779
+ names: IndexName[];
16780
+ privileges: SecurityIndexPrivilege[];
16781
+ query?: SecurityIndicesPrivilegesQuery[];
16782
+ allow_restricted_indices: boolean;
16783
+ }
16464
16784
  export interface SecurityUserProfile {
16465
16785
  uid: SecurityUserProfileId;
16466
16786
  user: SecurityUserProfileUser;
@@ -17286,8 +17606,8 @@ export type SecurityUpdateUserProfileDataResponse = AcknowledgedResponseBase;
17286
17606
  export type ShutdownType = 'restart' | 'remove' | 'replace';
17287
17607
  export interface ShutdownDeleteNodeRequest extends RequestBase {
17288
17608
  node_id: NodeId;
17289
- master_timeout?: TimeUnit;
17290
- timeout?: TimeUnit;
17609
+ master_timeout?: Duration;
17610
+ timeout?: Duration;
17291
17611
  }
17292
17612
  export type ShutdownDeleteNodeResponse = AcknowledgedResponseBase;
17293
17613
  export interface ShutdownGetNodeNodeShutdownStatus {
@@ -17308,7 +17628,7 @@ export interface ShutdownGetNodePluginsStatus {
17308
17628
  }
17309
17629
  export interface ShutdownGetNodeRequest extends RequestBase {
17310
17630
  node_id?: NodeIds;
17311
- master_timeout?: TimeUnit;
17631
+ master_timeout?: Duration;
17312
17632
  }
17313
17633
  export interface ShutdownGetNodeResponse {
17314
17634
  nodes: ShutdownGetNodeNodeShutdownStatus[];
@@ -17320,8 +17640,8 @@ export type ShutdownGetNodeShutdownStatus = 'not_started' | 'in_progress' | 'sta
17320
17640
  export type ShutdownGetNodeShutdownType = 'remove' | 'restart';
17321
17641
  export interface ShutdownPutNodeRequest extends RequestBase {
17322
17642
  node_id: NodeId;
17323
- master_timeout?: TimeUnit;
17324
- timeout?: TimeUnit;
17643
+ master_timeout?: Duration;
17644
+ timeout?: Duration;
17325
17645
  type: ShutdownType;
17326
17646
  reason: string;
17327
17647
  allocation_delay?: string;
@@ -17494,11 +17814,13 @@ export interface SnapshotAzureRepository extends SnapshotRepositoryBase {
17494
17814
  settings: SnapshotAzureRepositorySettings;
17495
17815
  }
17496
17816
  export interface SnapshotAzureRepositorySettings extends SnapshotRepositorySettingsBase {
17817
+ base_path?: string;
17497
17818
  client?: string;
17498
17819
  container?: string;
17499
- base_path?: string;
17500
- readonly?: boolean;
17820
+ delete_objects_max_size?: integer;
17501
17821
  location_mode?: string;
17822
+ max_concurrent_batch_deletes?: integer;
17823
+ readonly?: boolean;
17502
17824
  }
17503
17825
  export interface SnapshotFileCountSnapshotStats {
17504
17826
  file_count: integer;
@@ -17510,10 +17832,10 @@ export interface SnapshotGcsRepository extends SnapshotRepositoryBase {
17510
17832
  }
17511
17833
  export interface SnapshotGcsRepositorySettings extends SnapshotRepositorySettingsBase {
17512
17834
  bucket: string;
17513
- client?: string;
17835
+ application_name?: string;
17514
17836
  base_path?: string;
17837
+ client?: string;
17515
17838
  readonly?: boolean;
17516
- application_name?: string;
17517
17839
  }
17518
17840
  export interface SnapshotIndexDetails {
17519
17841
  shard_count: integer;
@@ -17551,13 +17873,20 @@ export interface SnapshotS3Repository extends SnapshotRepositoryBase {
17551
17873
  }
17552
17874
  export interface SnapshotS3RepositorySettings extends SnapshotRepositorySettingsBase {
17553
17875
  bucket: string;
17554
- client?: string;
17555
17876
  base_path?: string;
17556
- readonly?: boolean;
17557
- server_side_encryption?: boolean;
17558
17877
  buffer_size?: ByteSize;
17559
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;
17560
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;
17561
17890
  }
17562
17891
  export interface SnapshotShardsStats {
17563
17892
  done: long;
@@ -17681,10 +18010,11 @@ export interface SnapshotCreateRequest extends RequestBase {
17681
18010
  snapshot: Name;
17682
18011
  master_timeout?: Duration;
17683
18012
  wait_for_completion?: boolean;
18013
+ expand_wildcards?: ExpandWildcards;
18014
+ feature_states?: string[];
17684
18015
  ignore_unavailable?: boolean;
17685
18016
  include_global_state?: boolean;
17686
18017
  indices?: Indices;
17687
- feature_states?: string[];
17688
18018
  metadata?: Metadata;
17689
18019
  partial?: boolean;
17690
18020
  }
@@ -17716,25 +18046,26 @@ export type SnapshotDeleteRepositoryResponse = AcknowledgedResponseBase;
17716
18046
  export interface SnapshotGetRequest extends RequestBase {
17717
18047
  repository: Name;
17718
18048
  snapshot: Names;
18049
+ after?: string;
18050
+ from_sort_value?: string;
17719
18051
  ignore_unavailable?: boolean;
17720
- master_timeout?: Duration;
17721
- verbose?: boolean;
17722
18052
  index_details?: boolean;
17723
18053
  index_names?: boolean;
17724
18054
  include_repository?: boolean;
17725
- sort?: SnapshotSnapshotSort;
17726
- size?: integer;
18055
+ master_timeout?: Duration;
17727
18056
  order?: SortOrder;
17728
- after?: string;
17729
18057
  offset?: integer;
17730
- from_sort_value?: string;
18058
+ size?: integer;
17731
18059
  slm_policy_filter?: Name;
18060
+ sort?: SnapshotSnapshotSort;
18061
+ verbose?: boolean;
17732
18062
  }
17733
18063
  export interface SnapshotGetResponse {
18064
+ remaining: integer;
18065
+ total: integer;
18066
+ next?: string;
17734
18067
  responses?: SnapshotGetSnapshotResponseItem[];
17735
18068
  snapshots?: SnapshotSnapshotInfo[];
17736
- total: integer;
17737
- remaining: integer;
17738
18069
  }
17739
18070
  export interface SnapshotGetSnapshotResponseItem {
17740
18071
  repository: Name;
@@ -17847,14 +18178,14 @@ export interface SnapshotRepositoryAnalyzeWriteSummaryInfo {
17847
18178
  }
17848
18179
  export interface SnapshotRepositoryVerifyIntegrityRequest extends RequestBase {
17849
18180
  name: Names;
17850
- meta_thread_pool_concurrency?: integer;
17851
18181
  blob_thread_pool_concurrency?: integer;
17852
- snapshot_verification_concurrency?: integer;
17853
- index_verification_concurrency?: integer;
17854
18182
  index_snapshot_verification_concurrency?: integer;
18183
+ index_verification_concurrency?: integer;
18184
+ max_bytes_per_sec?: string;
17855
18185
  max_failed_shard_snapshots?: integer;
18186
+ meta_thread_pool_concurrency?: integer;
18187
+ snapshot_verification_concurrency?: integer;
17856
18188
  verify_blob_contents?: boolean;
17857
- max_bytes_per_sec?: string;
17858
18189
  }
17859
18190
  export type SnapshotRepositoryVerifyIntegrityResponse = any;
17860
18191
  export interface SnapshotRestoreRequest extends RequestBase {
@@ -17985,6 +18316,7 @@ export interface SqlTranslateResponse {
17985
18316
  fields?: (QueryDslFieldAndFormat | Field)[];
17986
18317
  query?: QueryDslQueryContainer;
17987
18318
  sort?: Sort;
18319
+ track_total_hits?: SearchTrackHits;
17988
18320
  }
17989
18321
  export interface SslCertificatesCertificateInformation {
17990
18322
  alias: string | null;
@@ -17999,6 +18331,25 @@ export interface SslCertificatesCertificateInformation {
17999
18331
  export interface SslCertificatesRequest extends RequestBase {
18000
18332
  }
18001
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
+ }
18002
18353
  export interface SynonymsSynonymRule {
18003
18354
  id?: Id;
18004
18355
  synonyms: SynonymsSynonymString;
@@ -18206,13 +18557,14 @@ export interface TextStructureFindMessageStructureResponse {
18206
18557
  sample_start: string;
18207
18558
  timestamp_field?: Field;
18208
18559
  }
18560
+ export type TextStructureFindStructureFindStructureFormat = 'ndjson' | 'xml' | 'delimited' | 'semi_structured_text';
18209
18561
  export interface TextStructureFindStructureRequest<TJsonDocument = unknown> {
18210
18562
  charset?: string;
18211
18563
  column_names?: string;
18212
18564
  delimiter?: string;
18213
18565
  ecs_compatibility?: string;
18214
18566
  explain?: boolean;
18215
- format?: string;
18567
+ format?: TextStructureFindStructureFindStructureFormat;
18216
18568
  grok_pattern?: GrokPattern;
18217
18569
  has_header_row?: boolean;
18218
18570
  line_merge_size_limit?: uint;
@@ -18297,6 +18649,8 @@ export interface TransformSettings {
18297
18649
  deduce_mappings?: boolean;
18298
18650
  docs_per_second?: float;
18299
18651
  max_page_search_size?: integer;
18652
+ use_point_in_time?: boolean;
18653
+ num_failure_retries?: integer;
18300
18654
  unattended?: boolean;
18301
18655
  }
18302
18656
  export interface TransformSource {
@@ -18318,6 +18672,22 @@ export interface TransformDeleteTransformRequest extends RequestBase {
18318
18672
  timeout?: Duration;
18319
18673
  }
18320
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
+ }
18321
18691
  export interface TransformGetTransformRequest extends RequestBase {
18322
18692
  transform_id?: Names;
18323
18693
  allow_no_match?: boolean;
@@ -19558,4 +19928,6 @@ export interface SpecUtilsCommonCatQueryParameters {
19558
19928
  format?: string;
19559
19929
  help?: boolean;
19560
19930
  v?: boolean;
19931
+ bytes?: Bytes;
19932
+ time?: TimeUnit;
19561
19933
  }