@elastic/elasticsearch 8.5.0 → 8.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@
3
3
  * If it's critical for you, please open an issue.
4
4
  * https://github.com/elastic/elasticsearch-js
5
5
  */
6
- export declare type TODO = Record<string, any>;
6
+ export type TODO = Record<string, any>;
7
7
  export interface BulkCreateOperation extends BulkWriteOperation {
8
8
  }
9
9
  export interface BulkDeleteOperation extends BulkOperationBase {
@@ -25,7 +25,7 @@ export interface BulkOperationContainer {
25
25
  update?: BulkUpdateOperation;
26
26
  delete?: BulkDeleteOperation;
27
27
  }
28
- export declare type BulkOperationType = 'index' | 'create' | 'update' | 'delete';
28
+ export type BulkOperationType = 'index' | 'create' | 'update' | 'delete';
29
29
  export interface BulkRequest<TDocument = unknown, TPartialDocument = unknown> extends RequestBase {
30
30
  index?: IndexName;
31
31
  pipeline?: string;
@@ -136,7 +136,7 @@ export interface CreateRequest<TDocument = unknown> extends RequestBase {
136
136
  /** @deprecated The use of the 'body' key has been deprecated, use 'document' instead. */
137
137
  body?: TDocument;
138
138
  }
139
- export declare type CreateResponse = WriteResponseBase;
139
+ export type CreateResponse = WriteResponseBase;
140
140
  export interface DeleteRequest extends RequestBase {
141
141
  id: Id;
142
142
  index: IndexName;
@@ -149,7 +149,7 @@ export interface DeleteRequest extends RequestBase {
149
149
  version_type?: VersionType;
150
150
  wait_for_active_shards?: WaitForActiveShards;
151
151
  }
152
- export declare type DeleteResponse = WriteResponseBase;
152
+ export type DeleteResponse = WriteResponseBase;
153
153
  export interface DeleteByQueryRequest extends RequestBase {
154
154
  index: Indices;
155
155
  allow_no_indices?: boolean;
@@ -209,13 +209,13 @@ export interface DeleteByQueryRethrottleRequest extends RequestBase {
209
209
  task_id: TaskId;
210
210
  requests_per_second?: float;
211
211
  }
212
- export declare type DeleteByQueryRethrottleResponse = TasksTaskListResponseBase;
212
+ export type DeleteByQueryRethrottleResponse = TasksTaskListResponseBase;
213
213
  export interface DeleteScriptRequest extends RequestBase {
214
214
  id: Id;
215
215
  master_timeout?: Duration;
216
216
  timeout?: Duration;
217
217
  }
218
- export declare type DeleteScriptResponse = AcknowledgedResponseBase;
218
+ export type DeleteScriptResponse = AcknowledgedResponseBase;
219
219
  export interface ExistsRequest extends RequestBase {
220
220
  id: Id;
221
221
  index: IndexName;
@@ -230,7 +230,7 @@ export interface ExistsRequest extends RequestBase {
230
230
  version?: VersionNumber;
231
231
  version_type?: VersionType;
232
232
  }
233
- export declare type ExistsResponse = boolean;
233
+ export type ExistsResponse = boolean;
234
234
  export interface ExistsSourceRequest extends RequestBase {
235
235
  id: Id;
236
236
  index: IndexName;
@@ -244,7 +244,7 @@ export interface ExistsSourceRequest extends RequestBase {
244
244
  version?: VersionNumber;
245
245
  version_type?: VersionType;
246
246
  }
247
- export declare type ExistsSourceResponse = boolean;
247
+ export type ExistsSourceResponse = boolean;
248
248
  export interface ExplainExplanation {
249
249
  description: string;
250
250
  details: ExplainExplanationDetail[];
@@ -340,7 +340,7 @@ export interface GetRequest extends RequestBase {
340
340
  version?: VersionNumber;
341
341
  version_type?: VersionType;
342
342
  }
343
- export declare type GetResponse<TDocument = unknown> = GetGetResult<TDocument>;
343
+ export type GetResponse<TDocument = unknown> = GetGetResult<TDocument>;
344
344
  export interface GetScriptRequest extends RequestBase {
345
345
  id: Id;
346
346
  master_timeout?: Duration;
@@ -392,7 +392,7 @@ export interface GetSourceRequest extends RequestBase {
392
392
  version?: VersionNumber;
393
393
  version_type?: VersionType;
394
394
  }
395
- export declare type GetSourceResponse<TDocument = unknown> = TDocument;
395
+ export type GetSourceResponse<TDocument = unknown> = TDocument;
396
396
  export interface IndexRequest<TDocument = unknown> extends RequestBase {
397
397
  id?: Id;
398
398
  index: IndexName;
@@ -410,7 +410,7 @@ export interface IndexRequest<TDocument = unknown> extends RequestBase {
410
410
  /** @deprecated The use of the 'body' key has been deprecated, use 'document' instead. */
411
411
  body?: TDocument;
412
412
  }
413
- export declare type IndexResponse = WriteResponseBase;
413
+ export type IndexResponse = WriteResponseBase;
414
414
  export interface InfoRequest extends RequestBase {
415
415
  }
416
416
  export interface InfoResponse {
@@ -443,11 +443,10 @@ export interface KnnSearchResponse<TDocument = unknown> {
443
443
  }
444
444
  export interface KnnSearchQuery {
445
445
  field: Field;
446
- query_vector: KnnSearchQueryVector;
446
+ query_vector: QueryVector;
447
447
  k: long;
448
448
  num_candidates: long;
449
449
  }
450
- export declare type KnnSearchQueryVector = double[];
451
450
  export interface MgetMultiGetError {
452
451
  error: ErrorCause;
453
452
  _id: Id;
@@ -481,7 +480,7 @@ export interface MgetRequest extends RequestBase {
481
480
  export interface MgetResponse<TDocument = unknown> {
482
481
  docs: MgetResponseItem<TDocument>[];
483
482
  }
484
- export declare type MgetResponseItem<TDocument = unknown> = GetGetResult<TDocument> | MgetMultiGetError;
483
+ export type MgetResponseItem<TDocument = unknown> = GetGetResult<TDocument> | MgetMultiGetError;
485
484
  export interface MsearchMultiSearchItem<TDocument = unknown> extends SearchResponseBody<TDocument> {
486
485
  status?: integer;
487
486
  }
@@ -553,9 +552,9 @@ export interface MsearchRequest extends RequestBase {
553
552
  /** @deprecated The use of the 'body' key has been deprecated, use 'searches' instead. */
554
553
  body?: MsearchRequestItem[];
555
554
  }
556
- export declare type MsearchRequestItem = MsearchMultisearchHeader | MsearchMultisearchBody;
557
- export declare type MsearchResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = MsearchMultiSearchResult<TDocument>;
558
- export declare type MsearchResponseItem<TDocument = unknown> = MsearchMultiSearchItem<TDocument> | ErrorResponseBase;
555
+ export type MsearchRequestItem = MsearchMultisearchHeader | MsearchMultisearchBody;
556
+ export type MsearchResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = MsearchMultiSearchResult<TDocument>;
557
+ export type MsearchResponseItem<TDocument = unknown> = MsearchMultiSearchItem<TDocument> | ErrorResponseBase;
559
558
  export interface MsearchTemplateRequest extends RequestBase {
560
559
  index?: Indices;
561
560
  ccs_minimize_roundtrips?: boolean;
@@ -566,8 +565,8 @@ export interface MsearchTemplateRequest extends RequestBase {
566
565
  /** @deprecated The use of the 'body' key has been deprecated, use 'search_templates' instead. */
567
566
  body?: MsearchTemplateRequestItem[];
568
567
  }
569
- export declare type MsearchTemplateRequestItem = MsearchMultisearchHeader | MsearchTemplateTemplateConfig;
570
- export declare type MsearchTemplateResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = MsearchMultiSearchResult<TDocument>;
568
+ export type MsearchTemplateRequestItem = MsearchMultisearchHeader | MsearchTemplateTemplateConfig;
569
+ export type MsearchTemplateResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = MsearchMultiSearchResult<TDocument>;
571
570
  export interface MsearchTemplateTemplateConfig {
572
571
  explain?: boolean;
573
572
  id?: Id;
@@ -625,13 +624,16 @@ export interface OpenPointInTimeRequest extends RequestBase {
625
624
  index: Indices;
626
625
  keep_alive: Duration;
627
626
  ignore_unavailable?: boolean;
627
+ preference?: string;
628
+ routing?: Routing;
629
+ expand_wildcards?: ExpandWildcards;
628
630
  }
629
631
  export interface OpenPointInTimeResponse {
630
632
  id: Id;
631
633
  }
632
634
  export interface PingRequest extends RequestBase {
633
635
  }
634
- export declare type PingResponse = boolean;
636
+ export type PingResponse = boolean;
635
637
  export interface PutScriptRequest extends RequestBase {
636
638
  id: Id;
637
639
  context?: Name;
@@ -642,7 +644,7 @@ export interface PutScriptRequest extends RequestBase {
642
644
  script: StoredScript;
643
645
  };
644
646
  }
645
- export declare type PutScriptResponse = AcknowledgedResponseBase;
647
+ export type PutScriptResponse = AcknowledgedResponseBase;
646
648
  export interface RankEvalDocumentRating {
647
649
  _id: Id;
648
650
  _index: IndexName;
@@ -857,7 +859,7 @@ export interface ScrollRequest extends RequestBase {
857
859
  scroll_id: ScrollId;
858
860
  };
859
861
  }
860
- export declare type ScrollResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = SearchResponseBody<TDocument, TAggregations>;
862
+ export type ScrollResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = SearchResponseBody<TDocument, TAggregations>;
861
863
  export interface SearchRequest extends RequestBase {
862
864
  index?: Indices;
863
865
  allow_no_indices?: boolean;
@@ -901,7 +903,7 @@ export interface SearchRequest extends RequestBase {
901
903
  track_total_hits?: SearchTrackHits;
902
904
  indices_boost?: Record<IndexName, double>[];
903
905
  docvalue_fields?: (QueryDslFieldAndFormat | Field)[];
904
- knn?: KnnQuery;
906
+ knn?: KnnQuery | KnnQuery[];
905
907
  min_score?: double;
906
908
  post_filter?: QueryDslQueryContainer;
907
909
  profile?: boolean;
@@ -926,7 +928,7 @@ export interface SearchRequest extends RequestBase {
926
928
  stats?: string[];
927
929
  };
928
930
  }
929
- export declare type SearchResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = SearchResponseBody<TDocument, TAggregations>;
931
+ export type SearchResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = SearchResponseBody<TDocument, TAggregations>;
930
932
  export interface SearchResponseBody<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> {
931
933
  took: long;
932
934
  timed_out: boolean;
@@ -1001,7 +1003,7 @@ export interface SearchAggregationProfileDelegateDebugFilter {
1001
1003
  specialized_for?: string;
1002
1004
  segments_counted_in_constant_time?: integer;
1003
1005
  }
1004
- export declare type SearchBoundaryScanner = 'chars' | 'sentence' | 'word';
1006
+ export type SearchBoundaryScanner = 'chars' | 'sentence' | 'word';
1005
1007
  export interface SearchCollector {
1006
1008
  name: string;
1007
1009
  reason: string;
@@ -1033,11 +1035,10 @@ export interface SearchCompletionSuggestOption<TDocument = unknown> {
1033
1035
  export interface SearchCompletionSuggester extends SearchSuggesterBase {
1034
1036
  contexts?: Record<Field, SearchCompletionContext | SearchContext | (SearchCompletionContext | SearchContext)[]>;
1035
1037
  fuzzy?: SearchSuggestFuzziness;
1036
- prefix?: string;
1037
- regex?: string;
1038
+ regex?: SearchRegexOptions;
1038
1039
  skip_duplicates?: boolean;
1039
1040
  }
1040
- export declare type SearchContext = string | GeoLocation;
1041
+ export type SearchContext = string | GeoLocation;
1041
1042
  export interface SearchDirectGenerator {
1042
1043
  field: Field;
1043
1044
  max_edits?: integer;
@@ -1119,11 +1120,11 @@ export interface SearchHighlightField extends SearchHighlightBase {
1119
1120
  matched_fields?: Fields;
1120
1121
  analyzer?: AnalysisAnalyzer;
1121
1122
  }
1122
- export declare type SearchHighlighterEncoder = 'default' | 'html';
1123
- export declare type SearchHighlighterFragmenter = 'simple' | 'span';
1124
- export declare type SearchHighlighterOrder = 'score';
1125
- export declare type SearchHighlighterTagsSchema = 'styled';
1126
- export declare type SearchHighlighterType = 'plain' | 'fvh' | 'unified' | string;
1123
+ export type SearchHighlighterEncoder = 'default' | 'html';
1124
+ export type SearchHighlighterFragmenter = 'simple' | 'span';
1125
+ export type SearchHighlighterOrder = 'score';
1126
+ export type SearchHighlighterTagsSchema = 'styled';
1127
+ export type SearchHighlighterType = 'plain' | 'fvh' | 'unified' | string;
1127
1128
  export interface SearchHit<TDocument = unknown> {
1128
1129
  _index: IndexName;
1129
1130
  _id: Id;
@@ -1255,6 +1256,10 @@ export interface SearchQueryProfile {
1255
1256
  type: string;
1256
1257
  children?: SearchQueryProfile[];
1257
1258
  }
1259
+ export interface SearchRegexOptions {
1260
+ flags?: integer | string;
1261
+ max_determinized_states?: integer;
1262
+ }
1258
1263
  export interface SearchRescore {
1259
1264
  query: SearchRescoreQuery;
1260
1265
  window_size?: integer;
@@ -1265,7 +1270,7 @@ export interface SearchRescoreQuery {
1265
1270
  rescore_query_weight?: double;
1266
1271
  score_mode?: SearchScoreMode;
1267
1272
  }
1268
- export declare type SearchScoreMode = 'avg' | 'max' | 'min' | 'multiply' | 'total';
1273
+ export type SearchScoreMode = 'avg' | 'max' | 'min' | 'multiply' | 'total';
1269
1274
  export interface SearchSearchProfile {
1270
1275
  collector: SearchCollector[];
1271
1276
  query: SearchQueryProfile[];
@@ -1282,19 +1287,19 @@ export interface SearchSmoothingModelContainer {
1282
1287
  linear_interpolation?: SearchLinearInterpolationSmoothingModel;
1283
1288
  stupid_backoff?: SearchStupidBackoffSmoothingModel;
1284
1289
  }
1285
- export declare type SearchSourceConfig = boolean | SearchSourceFilter | Fields;
1286
- export declare type SearchSourceConfigParam = boolean | Fields;
1290
+ export type SearchSourceConfig = boolean | SearchSourceFilter | Fields;
1291
+ export type SearchSourceConfigParam = boolean | Fields;
1287
1292
  export interface SearchSourceFilter {
1288
1293
  excludes?: Fields;
1289
1294
  exclude?: Fields;
1290
1295
  includes?: Fields;
1291
1296
  include?: Fields;
1292
1297
  }
1293
- export declare type SearchStringDistance = 'internal' | 'damerau_levenshtein' | 'levenshtein' | 'jaro_winkler' | 'ngram';
1298
+ export type SearchStringDistance = 'internal' | 'damerau_levenshtein' | 'levenshtein' | 'jaro_winkler' | 'ngram';
1294
1299
  export interface SearchStupidBackoffSmoothingModel {
1295
1300
  discount: double;
1296
1301
  }
1297
- export declare type SearchSuggest<TDocument = unknown> = SearchCompletionSuggest<TDocument> | SearchPhraseSuggest | SearchTermSuggest;
1302
+ export type SearchSuggest<TDocument = unknown> = SearchCompletionSuggest<TDocument> | SearchPhraseSuggest | SearchTermSuggest;
1298
1303
  export interface SearchSuggestBase {
1299
1304
  length: integer;
1300
1305
  offset: integer;
@@ -1307,11 +1312,11 @@ export interface SearchSuggestFuzziness {
1307
1312
  transpositions?: boolean;
1308
1313
  unicode_aware?: boolean;
1309
1314
  }
1310
- export declare type SearchSuggestSort = 'score' | 'frequency';
1315
+ export type SearchSuggestSort = 'score' | 'frequency';
1311
1316
  export interface SearchSuggesterKeys {
1312
1317
  text?: string;
1313
1318
  }
1314
- export declare type SearchSuggester = SearchSuggesterKeys & {
1319
+ export type SearchSuggester = SearchSuggesterKeys & {
1315
1320
  [property: string]: SearchFieldSuggester | string;
1316
1321
  };
1317
1322
  export interface SearchSuggesterBase {
@@ -1347,8 +1352,8 @@ export interface SearchTotalHits {
1347
1352
  relation: SearchTotalHitsRelation;
1348
1353
  value: long;
1349
1354
  }
1350
- export declare type SearchTotalHitsRelation = 'eq' | 'gte';
1351
- export declare type SearchTrackHits = boolean | integer;
1355
+ export type SearchTotalHitsRelation = 'eq' | 'gte';
1356
+ export type SearchTrackHits = boolean | integer;
1352
1357
  export interface SearchMvtRequest extends RequestBase {
1353
1358
  index: Indices;
1354
1359
  field: Field;
@@ -1358,9 +1363,11 @@ export interface SearchMvtRequest extends RequestBase {
1358
1363
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
1359
1364
  body?: {
1360
1365
  aggs?: Record<string, AggregationsAggregationContainer>;
1366
+ buffer?: integer;
1361
1367
  exact_bounds?: boolean;
1362
1368
  extent?: integer;
1363
1369
  fields?: Fields;
1370
+ grid_agg?: SearchMvtGridAggregationType;
1364
1371
  grid_precision?: integer;
1365
1372
  grid_type?: SearchMvtGridType;
1366
1373
  query?: QueryDslQueryContainer;
@@ -1368,12 +1375,14 @@ export interface SearchMvtRequest extends RequestBase {
1368
1375
  size?: integer;
1369
1376
  sort?: Sort;
1370
1377
  track_total_hits?: SearchTrackHits;
1378
+ with_labels?: boolean;
1371
1379
  };
1372
1380
  }
1373
- export declare type SearchMvtResponse = MapboxVectorTiles;
1374
- export declare type SearchMvtCoordinate = integer;
1375
- export declare type SearchMvtGridType = 'grid' | 'point' | 'centroid';
1376
- export declare type SearchMvtZoomLevel = integer;
1381
+ export type SearchMvtResponse = MapboxVectorTiles;
1382
+ export type SearchMvtCoordinate = integer;
1383
+ export type SearchMvtGridAggregationType = 'geotile' | 'geohex';
1384
+ export type SearchMvtGridType = 'grid' | 'point' | 'centroid';
1385
+ export type SearchMvtZoomLevel = integer;
1377
1386
  export interface SearchShardsRequest extends RequestBase {
1378
1387
  index?: Indices;
1379
1388
  allow_no_indices?: boolean;
@@ -1533,7 +1542,7 @@ export interface UpdateRequest<TDocument = unknown, TPartialDocument = unknown>
1533
1542
  upsert?: TDocument;
1534
1543
  };
1535
1544
  }
1536
- export declare type UpdateResponse<TDocument = unknown> = UpdateUpdateWriteResponseBase<TDocument>;
1545
+ export type UpdateResponse<TDocument = unknown> = UpdateUpdateWriteResponseBase<TDocument>;
1537
1546
  export interface UpdateUpdateWriteResponseBase<TDocument = unknown> extends WriteResponseBase {
1538
1547
  get?: InlineGet<TDocument>;
1539
1548
  }
@@ -1612,11 +1621,11 @@ export interface SpecUtilsBaseNode {
1612
1621
  roles?: NodeRoles;
1613
1622
  transport_address: TransportAddress;
1614
1623
  }
1615
- export declare type SpecUtilsStringified<T = unknown> = T | string;
1624
+ export type SpecUtilsStringified<T = unknown> = T | string;
1616
1625
  export interface AcknowledgedResponseBase {
1617
1626
  acknowledged: boolean;
1618
1627
  }
1619
- export declare type AggregateName = string;
1628
+ export type AggregateName = string;
1620
1629
  export interface BulkIndexByScrollFailure {
1621
1630
  cause: ErrorCause;
1622
1631
  id: Id;
@@ -1635,9 +1644,9 @@ export interface BulkStats {
1635
1644
  avg_size?: ByteSize;
1636
1645
  avg_size_in_bytes: long;
1637
1646
  }
1638
- export declare type ByteSize = long | string;
1639
- export declare type Bytes = 'b' | 'kb' | 'mb' | 'gb' | 'tb' | 'pb';
1640
- export declare type CategoryId = string;
1647
+ export type ByteSize = long | string;
1648
+ export type Bytes = 'b' | 'kb' | 'mb' | 'gb' | 'tb' | 'pb';
1649
+ export type CategoryId = string;
1641
1650
  export interface ClusterStatistics {
1642
1651
  skipped: integer;
1643
1652
  successful: integer;
@@ -1648,30 +1657,30 @@ export interface CompletionStats {
1648
1657
  size?: ByteSize;
1649
1658
  fields?: Record<Field, FieldSizeUsage>;
1650
1659
  }
1651
- export declare type Conflicts = 'abort' | 'proceed';
1660
+ export type Conflicts = 'abort' | 'proceed';
1652
1661
  export interface CoordsGeoBounds {
1653
1662
  top: double;
1654
1663
  bottom: double;
1655
1664
  left: double;
1656
1665
  right: double;
1657
1666
  }
1658
- export declare type DFIIndependenceMeasure = 'standardized' | 'saturated' | 'chisquared';
1659
- export declare type DFRAfterEffect = 'no' | 'b' | 'l';
1660
- export declare type DFRBasicModel = 'be' | 'd' | 'g' | 'if' | 'in' | 'ine' | 'p';
1661
- export declare type DataStreamName = string;
1662
- export declare type DataStreamNames = DataStreamName | DataStreamName[];
1663
- export declare type DateFormat = string;
1664
- export declare type DateMath = string;
1665
- export declare type DateTime = string | EpochTime<UnitMillis>;
1666
- export declare type Distance = string;
1667
- export declare type DistanceUnit = 'in' | 'ft' | 'yd' | 'mi' | 'nmi' | 'km' | 'm' | 'cm' | 'mm';
1667
+ export type DFIIndependenceMeasure = 'standardized' | 'saturated' | 'chisquared';
1668
+ export type DFRAfterEffect = 'no' | 'b' | 'l';
1669
+ export type DFRBasicModel = 'be' | 'd' | 'g' | 'if' | 'in' | 'ine' | 'p';
1670
+ export type DataStreamName = string;
1671
+ export type DataStreamNames = DataStreamName | DataStreamName[];
1672
+ export type DateFormat = string;
1673
+ export type DateMath = string;
1674
+ export type DateTime = string | EpochTime<UnitMillis>;
1675
+ export type Distance = string;
1676
+ export type DistanceUnit = 'in' | 'ft' | 'yd' | 'mi' | 'nmi' | 'km' | 'm' | 'cm' | 'mm';
1668
1677
  export interface DocStats {
1669
1678
  count: long;
1670
1679
  deleted?: long;
1671
1680
  }
1672
- export declare type Duration = string | -1 | 0;
1673
- export declare type DurationLarge = string;
1674
- export declare type DurationValue<Unit = unknown> = Unit;
1681
+ export type Duration = string | -1 | 0;
1682
+ export type DurationLarge = string;
1683
+ export type DurationValue<Unit = unknown> = Unit;
1675
1684
  export interface ElasticsearchVersionInfo {
1676
1685
  build_date: DateTime;
1677
1686
  build_flavor: string;
@@ -1685,7 +1694,7 @@ export interface ElasticsearchVersionInfo {
1685
1694
  }
1686
1695
  export interface EmptyObject {
1687
1696
  }
1688
- export declare type EpochTime<Unit = unknown> = Unit;
1697
+ export type EpochTime<Unit = unknown> = Unit;
1689
1698
  export interface ErrorCauseKeys {
1690
1699
  type: string;
1691
1700
  reason?: string;
@@ -1694,16 +1703,16 @@ export interface ErrorCauseKeys {
1694
1703
  root_cause?: ErrorCause[];
1695
1704
  suppressed?: ErrorCause[];
1696
1705
  }
1697
- export declare type ErrorCause = ErrorCauseKeys & {
1706
+ export type ErrorCause = ErrorCauseKeys & {
1698
1707
  [property: string]: any;
1699
1708
  };
1700
1709
  export interface ErrorResponseBase {
1701
1710
  error: ErrorCause;
1702
1711
  status: integer;
1703
1712
  }
1704
- export declare type ExpandWildcard = 'all' | 'open' | 'closed' | 'hidden' | 'none';
1705
- export declare type ExpandWildcards = ExpandWildcard | ExpandWildcard[];
1706
- export declare type Field = string;
1713
+ export type ExpandWildcard = 'all' | 'open' | 'closed' | 'hidden' | 'none';
1714
+ export type ExpandWildcards = ExpandWildcard | ExpandWildcard[];
1715
+ export type Field = string;
1707
1716
  export interface FieldMemoryUsage {
1708
1717
  memory_size?: ByteSize;
1709
1718
  memory_size_in_bytes: long;
@@ -1721,23 +1730,23 @@ export interface FieldSort {
1721
1730
  numeric_type?: FieldSortNumericType;
1722
1731
  format?: string;
1723
1732
  }
1724
- export declare type FieldSortNumericType = 'long' | 'double' | 'date' | 'date_nanos';
1725
- export declare type FieldValue = long | double | string | boolean | null | any;
1733
+ export type FieldSortNumericType = 'long' | 'double' | 'date' | 'date_nanos';
1734
+ export type FieldValue = long | double | string | boolean | null | any;
1726
1735
  export interface FielddataStats {
1727
1736
  evictions?: long;
1728
1737
  memory_size?: ByteSize;
1729
1738
  memory_size_in_bytes: long;
1730
1739
  fields?: Record<Field, FieldMemoryUsage>;
1731
1740
  }
1732
- export declare type Fields = Field | Field[];
1741
+ export type Fields = Field | Field[];
1733
1742
  export interface FlushStats {
1734
1743
  periodic: long;
1735
1744
  total: long;
1736
1745
  total_time?: Duration;
1737
1746
  total_time_in_millis: DurationValue<UnitMillis>;
1738
1747
  }
1739
- export declare type Fuzziness = string | integer;
1740
- export declare type GeoBounds = CoordsGeoBounds | TopLeftBottomRightGeoBounds | TopRightBottomLeftGeoBounds | WktGeoBounds;
1748
+ export type Fuzziness = string | integer;
1749
+ export type GeoBounds = CoordsGeoBounds | TopLeftBottomRightGeoBounds | TopRightBottomLeftGeoBounds | WktGeoBounds;
1741
1750
  export interface GeoDistanceSortKeys {
1742
1751
  mode?: SortMode;
1743
1752
  distance_type?: GeoDistanceType;
@@ -1745,25 +1754,25 @@ export interface GeoDistanceSortKeys {
1745
1754
  order?: SortOrder;
1746
1755
  unit?: DistanceUnit;
1747
1756
  }
1748
- export declare type GeoDistanceSort = GeoDistanceSortKeys & {
1757
+ export type GeoDistanceSort = GeoDistanceSortKeys & {
1749
1758
  [property: string]: GeoLocation | GeoLocation[] | SortMode | GeoDistanceType | boolean | SortOrder | DistanceUnit;
1750
1759
  };
1751
- export declare type GeoDistanceType = 'arc' | 'plane';
1752
- export declare type GeoHash = string;
1760
+ export type GeoDistanceType = 'arc' | 'plane';
1761
+ export type GeoHash = string;
1753
1762
  export interface GeoHashLocation {
1754
1763
  geohash: GeoHash;
1755
1764
  }
1756
- export declare type GeoHashPrecision = number | string;
1757
- export declare type GeoHexCell = string;
1765
+ export type GeoHashPrecision = number | string;
1766
+ export type GeoHexCell = string;
1758
1767
  export interface GeoLine {
1759
1768
  type: string;
1760
1769
  coordinates: double[][];
1761
1770
  }
1762
- export declare type GeoLocation = LatLonGeoLocation | GeoHashLocation | double[] | string;
1763
- export declare type GeoShape = any;
1764
- export declare type GeoShapeRelation = 'intersects' | 'disjoint' | 'within' | 'contains';
1765
- export declare type GeoTile = string;
1766
- export declare type GeoTilePrecision = number;
1771
+ export type GeoLocation = LatLonGeoLocation | GeoHashLocation | double[] | string;
1772
+ export type GeoShape = any;
1773
+ export type GeoShapeRelation = 'intersects' | 'disjoint' | 'within' | 'contains';
1774
+ export type GeoTile = string;
1775
+ export type GeoTilePrecision = number;
1767
1776
  export interface GetStats {
1768
1777
  current: long;
1769
1778
  exists_time?: Duration;
@@ -1776,17 +1785,17 @@ export interface GetStats {
1776
1785
  time_in_millis: DurationValue<UnitMillis>;
1777
1786
  total: long;
1778
1787
  }
1779
- export declare type HealthStatus = 'green' | 'GREEN' | 'yellow' | 'YELLOW' | 'red' | 'RED';
1780
- export declare type Host = string;
1781
- export declare type HttpHeaders = Record<string, string | string[]>;
1782
- export declare type IBDistribution = 'll' | 'spl';
1783
- export declare type IBLambda = 'df' | 'ttf';
1784
- export declare type Id = string;
1785
- export declare type Ids = Id | Id[];
1786
- export declare type IndexAlias = string;
1787
- export declare type IndexName = string;
1788
- export declare type IndexPattern = string;
1789
- export declare type IndexPatterns = IndexPattern[];
1788
+ export type HealthStatus = 'green' | 'GREEN' | 'yellow' | 'YELLOW' | 'red' | 'RED';
1789
+ export type Host = string;
1790
+ export type HttpHeaders = Record<string, string | string[]>;
1791
+ export type IBDistribution = 'll' | 'spl';
1792
+ export type IBLambda = 'df' | 'ttf';
1793
+ export type Id = string;
1794
+ export type Ids = Id | Id[];
1795
+ export type IndexAlias = string;
1796
+ export type IndexName = string;
1797
+ export type IndexPattern = string;
1798
+ export type IndexPatterns = IndexPattern[];
1790
1799
  export interface IndexingStats {
1791
1800
  index_current: long;
1792
1801
  delete_current: long;
@@ -1802,8 +1811,9 @@ export interface IndexingStats {
1802
1811
  index_total: long;
1803
1812
  index_failed: long;
1804
1813
  types?: Record<string, IndexingStats>;
1814
+ write_load?: double;
1805
1815
  }
1806
- export declare type Indices = IndexName | IndexName[];
1816
+ export type Indices = IndexName | IndexName[];
1807
1817
  export interface IndicesOptions {
1808
1818
  allow_no_indices?: boolean;
1809
1819
  expand_wildcards?: ExpandWildcards;
@@ -1821,7 +1831,7 @@ export interface InlineGetKeys<TDocument = unknown> {
1821
1831
  _routing?: Routing;
1822
1832
  _source: TDocument;
1823
1833
  }
1824
- export declare type InlineGet<TDocument = unknown> = InlineGetKeys<TDocument> & {
1834
+ export type InlineGet<TDocument = unknown> = InlineGetKeys<TDocument> & {
1825
1835
  [property: string]: any;
1826
1836
  };
1827
1837
  export interface InlineScript extends ScriptBase {
@@ -1829,10 +1839,11 @@ export interface InlineScript extends ScriptBase {
1829
1839
  options?: Record<string, string>;
1830
1840
  source: string;
1831
1841
  }
1832
- export declare type Ip = string;
1842
+ export type Ip = string;
1833
1843
  export interface KnnQuery {
1834
1844
  field: Field;
1835
- query_vector: double[];
1845
+ query_vector?: QueryVector;
1846
+ query_vector_builder?: QueryVectorBuilder;
1836
1847
  k: long;
1837
1848
  num_candidates: long;
1838
1849
  boost?: float;
@@ -1842,9 +1853,9 @@ export interface LatLonGeoLocation {
1842
1853
  lat: double;
1843
1854
  lon: double;
1844
1855
  }
1845
- export declare type Level = 'cluster' | 'indices' | 'shards';
1846
- export declare type LifecycleOperationMode = 'RUNNING' | 'STOPPING' | 'STOPPED';
1847
- export declare type MapboxVectorTiles = ArrayBuffer;
1856
+ export type Level = 'cluster' | 'indices' | 'shards';
1857
+ export type LifecycleOperationMode = 'RUNNING' | 'STOPPING' | 'STOPPED';
1858
+ export type MapboxVectorTiles = ArrayBuffer;
1848
1859
  export interface MergesStats {
1849
1860
  current: long;
1850
1861
  current_docs: long;
@@ -1863,13 +1874,13 @@ export interface MergesStats {
1863
1874
  total_time?: Duration;
1864
1875
  total_time_in_millis: DurationValue<UnitMillis>;
1865
1876
  }
1866
- export declare type Metadata = Record<string, any>;
1867
- export declare type Metrics = string | string[];
1868
- export declare type MinimumShouldMatch = integer | string;
1869
- export declare type MultiTermQueryRewrite = string;
1870
- export declare type Name = string;
1871
- export declare type Names = Name | Name[];
1872
- export declare type Namespace = string;
1877
+ export type Metadata = Record<string, any>;
1878
+ export type Metrics = string | string[];
1879
+ export type MinimumShouldMatch = integer | string;
1880
+ export type MultiTermQueryRewrite = string;
1881
+ export type Name = string;
1882
+ export type Names = Name | Name[];
1883
+ export type Namespace = string;
1873
1884
  export interface NestedSortValue {
1874
1885
  filter?: QueryDslQueryContainer;
1875
1886
  max_children?: integer;
@@ -1883,13 +1894,13 @@ export interface NodeAttributes {
1883
1894
  name: NodeName;
1884
1895
  transport_address: TransportAddress;
1885
1896
  roles?: NodeRoles;
1886
- external_id: string;
1897
+ external_id?: string;
1887
1898
  }
1888
- export declare type NodeId = string;
1889
- export declare type NodeIds = NodeId | NodeId[];
1890
- export declare type NodeName = string;
1891
- export declare type NodeRole = 'master' | 'data' | 'data_cold' | 'data_content' | 'data_frozen' | 'data_hot' | 'data_warm' | 'client' | 'ingest' | 'ml' | 'voting_only' | 'transform' | 'remote_cluster_client' | 'coordinating_only';
1892
- export declare type NodeRoles = NodeRole[];
1899
+ export type NodeId = string;
1900
+ export type NodeIds = NodeId | NodeId[];
1901
+ export type NodeName = string;
1902
+ export type NodeRole = 'master' | 'data' | 'data_cold' | 'data_content' | 'data_frozen' | 'data_hot' | 'data_warm' | 'client' | 'ingest' | 'ml' | 'voting_only' | 'transform' | 'remote_cluster_client' | 'coordinating_only';
1903
+ export type NodeRoles = NodeRole[];
1893
1904
  export interface NodeShard {
1894
1905
  state: IndicesStatsShardRoutingState;
1895
1906
  primary: boolean;
@@ -1900,6 +1911,7 @@ export interface NodeShard {
1900
1911
  recovery_source?: Record<string, Id>;
1901
1912
  unassigned_info?: ClusterAllocationExplainUnassignedInformation;
1902
1913
  relocating_node?: NodeId | null;
1914
+ relocation_failure_info?: RelocationFailureInfo;
1903
1915
  }
1904
1916
  export interface NodeStatistics {
1905
1917
  failures?: ErrorCause[];
@@ -1907,11 +1919,11 @@ export interface NodeStatistics {
1907
1919
  successful: integer;
1908
1920
  failed: integer;
1909
1921
  }
1910
- export declare type Normalization = 'no' | 'h1' | 'h2' | 'h3' | 'z';
1911
- export declare type OpType = 'index' | 'create';
1912
- export declare type Password = string;
1913
- export declare type Percentage = string | float;
1914
- export declare type PipelineName = string;
1922
+ export type Normalization = 'no' | 'h1' | 'h2' | 'h3' | 'z';
1923
+ export type OpType = 'index' | 'create';
1924
+ export type Password = string;
1925
+ export type Percentage = string | float;
1926
+ export type PipelineName = string;
1915
1927
  export interface PluginStats {
1916
1928
  classname: string;
1917
1929
  description: string;
@@ -1922,26 +1934,29 @@ export interface PluginStats {
1922
1934
  name: Name;
1923
1935
  version: VersionString;
1924
1936
  licensed: boolean;
1925
- type: string;
1926
1937
  }
1927
- export declare type PropertyName = string;
1938
+ export type PropertyName = string;
1928
1939
  export interface QueryCacheStats {
1929
1940
  cache_count: integer;
1930
1941
  cache_size: integer;
1931
1942
  evictions: integer;
1932
1943
  hit_count: integer;
1933
1944
  memory_size?: ByteSize;
1934
- memory_size_in_bytes: integer;
1945
+ memory_size_in_bytes: long;
1935
1946
  miss_count: integer;
1936
1947
  total_count: integer;
1937
1948
  }
1949
+ export type QueryVector = float[];
1950
+ export interface QueryVectorBuilder {
1951
+ text_embedding?: TextEmbedding;
1952
+ }
1938
1953
  export interface RecoveryStats {
1939
1954
  current_as_source: long;
1940
1955
  current_as_target: long;
1941
1956
  throttle_time?: Duration;
1942
1957
  throttle_time_in_millis: DurationValue<UnitMillis>;
1943
1958
  }
1944
- export declare type Refresh = boolean | 'true' | 'false' | 'wait_for';
1959
+ export type Refresh = boolean | 'true' | 'false' | 'wait_for';
1945
1960
  export interface RefreshStats {
1946
1961
  external_total: long;
1947
1962
  external_total_time_in_millis: DurationValue<UnitMillis>;
@@ -1950,7 +1965,10 @@ export interface RefreshStats {
1950
1965
  total_time?: Duration;
1951
1966
  total_time_in_millis: DurationValue<UnitMillis>;
1952
1967
  }
1953
- export declare type RelationName = string;
1968
+ export type RelationName = string;
1969
+ export interface RelocationFailureInfo {
1970
+ failed_attempts: integer;
1971
+ }
1954
1972
  export interface RequestBase extends SpecUtilsCommonQueryParameters {
1955
1973
  }
1956
1974
  export interface RequestCacheStats {
@@ -1960,16 +1978,16 @@ export interface RequestCacheStats {
1960
1978
  memory_size_in_bytes: long;
1961
1979
  miss_count: long;
1962
1980
  }
1963
- export declare type Result = 'created' | 'updated' | 'deleted' | 'not_found' | 'noop';
1981
+ export type Result = 'created' | 'updated' | 'deleted' | 'not_found' | 'noop';
1964
1982
  export interface Retries {
1965
1983
  bulk: long;
1966
1984
  search: long;
1967
1985
  }
1968
- export declare type Routing = string;
1986
+ export type Routing = string;
1969
1987
  export interface ScoreSort {
1970
1988
  order?: SortOrder;
1971
1989
  }
1972
- export declare type Script = InlineScript | string | StoredScriptId;
1990
+ export type Script = InlineScript | string | StoredScriptId;
1973
1991
  export interface ScriptBase {
1974
1992
  params?: Record<string, any>;
1975
1993
  }
@@ -1977,7 +1995,7 @@ export interface ScriptField {
1977
1995
  script: Script;
1978
1996
  ignore_failure?: boolean;
1979
1997
  }
1980
- export declare type ScriptLanguage = 'painless' | 'expression' | 'mustache' | 'java' | string;
1998
+ export type ScriptLanguage = 'painless' | 'expression' | 'mustache' | 'java' | string;
1981
1999
  export interface ScriptSort {
1982
2000
  order?: SortOrder;
1983
2001
  script: Script;
@@ -1985,15 +2003,15 @@ export interface ScriptSort {
1985
2003
  mode?: SortMode;
1986
2004
  nested?: NestedSortValue;
1987
2005
  }
1988
- export declare type ScriptSortType = 'string' | 'number' | 'version';
2006
+ export type ScriptSortType = 'string' | 'number' | 'version';
1989
2007
  export interface ScriptTransform {
1990
2008
  lang?: string;
1991
2009
  params?: Record<string, any>;
1992
2010
  source?: string;
1993
2011
  id?: string;
1994
2012
  }
1995
- export declare type ScrollId = string;
1996
- export declare type ScrollIds = ScrollId | ScrollId[];
2013
+ export type ScrollId = string;
2014
+ export type ScrollIds = ScrollId | ScrollId[];
1997
2015
  export interface SearchStats {
1998
2016
  fetch_current: long;
1999
2017
  fetch_time?: Duration;
@@ -2018,35 +2036,35 @@ export interface SearchTransform {
2018
2036
  request: WatcherSearchInputRequestDefinition;
2019
2037
  timeout: Duration;
2020
2038
  }
2021
- export declare type SearchType = 'query_then_fetch' | 'dfs_query_then_fetch';
2039
+ export type SearchType = 'query_then_fetch' | 'dfs_query_then_fetch';
2022
2040
  export interface SegmentsStats {
2023
2041
  count: integer;
2024
2042
  doc_values_memory?: ByteSize;
2025
- doc_values_memory_in_bytes: integer;
2043
+ doc_values_memory_in_bytes: long;
2026
2044
  file_sizes: Record<string, IndicesStatsShardFileSizeInfo>;
2027
2045
  fixed_bit_set?: ByteSize;
2028
- fixed_bit_set_memory_in_bytes: integer;
2046
+ fixed_bit_set_memory_in_bytes: long;
2029
2047
  index_writer_memory?: ByteSize;
2030
- index_writer_max_memory_in_bytes?: integer;
2031
- index_writer_memory_in_bytes: integer;
2048
+ index_writer_max_memory_in_bytes?: long;
2049
+ index_writer_memory_in_bytes: long;
2032
2050
  max_unsafe_auto_id_timestamp: long;
2033
2051
  memory?: ByteSize;
2034
- memory_in_bytes: integer;
2052
+ memory_in_bytes: long;
2035
2053
  norms_memory?: ByteSize;
2036
- norms_memory_in_bytes: integer;
2054
+ norms_memory_in_bytes: long;
2037
2055
  points_memory?: ByteSize;
2038
- points_memory_in_bytes: integer;
2056
+ points_memory_in_bytes: long;
2039
2057
  stored_memory?: ByteSize;
2040
- stored_fields_memory_in_bytes: integer;
2041
- terms_memory_in_bytes: integer;
2058
+ stored_fields_memory_in_bytes: long;
2059
+ terms_memory_in_bytes: long;
2042
2060
  terms_memory?: ByteSize;
2043
2061
  term_vectory_memory?: ByteSize;
2044
- term_vectors_memory_in_bytes: integer;
2062
+ term_vectors_memory_in_bytes: long;
2045
2063
  version_map_memory?: ByteSize;
2046
- version_map_memory_in_bytes: integer;
2064
+ version_map_memory_in_bytes: long;
2047
2065
  }
2048
- export declare type SequenceNumber = long;
2049
- export declare type Service = string;
2066
+ export type SequenceNumber = long;
2067
+ export type Service = string;
2050
2068
  export interface ShardFailure {
2051
2069
  index?: IndexName;
2052
2070
  node?: string;
@@ -2069,29 +2087,29 @@ export interface SlicedScroll {
2069
2087
  id: Id;
2070
2088
  max: integer;
2071
2089
  }
2072
- export declare type Slices = integer | SlicesCalculation;
2073
- export declare type SlicesCalculation = 'auto';
2074
- export declare type Sort = SortCombinations | SortCombinations[];
2075
- export declare type SortCombinations = Field | SortOptions;
2076
- export declare type SortMode = 'min' | 'max' | 'sum' | 'avg' | 'median';
2090
+ export type Slices = integer | SlicesCalculation;
2091
+ export type SlicesCalculation = 'auto';
2092
+ export type Sort = SortCombinations | SortCombinations[];
2093
+ export type SortCombinations = Field | SortOptions;
2094
+ export type SortMode = 'min' | 'max' | 'sum' | 'avg' | 'median';
2077
2095
  export interface SortOptionsKeys {
2078
2096
  _score?: ScoreSort;
2079
2097
  _doc?: ScoreSort;
2080
2098
  _geo_distance?: GeoDistanceSort;
2081
2099
  _script?: ScriptSort;
2082
2100
  }
2083
- export declare type SortOptions = SortOptionsKeys & {
2101
+ export type SortOptions = SortOptionsKeys & {
2084
2102
  [property: string]: FieldSort | SortOrder | ScoreSort | GeoDistanceSort | ScriptSort;
2085
2103
  };
2086
- export declare type SortOrder = 'asc' | 'desc';
2087
- export declare type SortResults = FieldValue[];
2104
+ export type SortOrder = 'asc' | 'desc';
2105
+ export type SortResults = FieldValue[];
2088
2106
  export interface StoreStats {
2089
2107
  size?: ByteSize;
2090
- size_in_bytes: integer;
2108
+ size_in_bytes: long;
2091
2109
  reserved?: ByteSize;
2092
- reserved_in_bytes: integer;
2110
+ reserved_in_bytes: long;
2093
2111
  total_data_set_size?: ByteSize;
2094
- total_data_set_size_in_bytes?: integer;
2112
+ total_data_set_size_in_bytes?: long;
2095
2113
  }
2096
2114
  export interface StoredScript {
2097
2115
  lang: ScriptLanguage;
@@ -2101,19 +2119,23 @@ export interface StoredScript {
2101
2119
  export interface StoredScriptId extends ScriptBase {
2102
2120
  id: Id;
2103
2121
  }
2104
- export declare type SuggestMode = 'missing' | 'popular' | 'always';
2105
- export declare type SuggestionName = string;
2122
+ export type SuggestMode = 'missing' | 'popular' | 'always';
2123
+ export type SuggestionName = string;
2106
2124
  export interface TaskFailure {
2107
2125
  task_id: long;
2108
2126
  node_id: NodeId;
2109
2127
  status: string;
2110
2128
  reason: ErrorCause;
2111
2129
  }
2112
- export declare type TaskId = string | integer;
2113
- export declare type ThreadType = 'cpu' | 'wait' | 'block' | 'gpu' | 'mem';
2114
- export declare type TimeOfDay = string;
2115
- export declare type TimeUnit = 'nanos' | 'micros' | 'ms' | 's' | 'm' | 'h' | 'd';
2116
- export declare type TimeZone = string;
2130
+ export type TaskId = string | integer;
2131
+ export interface TextEmbedding {
2132
+ model_id: string;
2133
+ model_text: string;
2134
+ }
2135
+ export type ThreadType = 'cpu' | 'wait' | 'block' | 'gpu' | 'mem';
2136
+ export type TimeOfDay = string;
2137
+ export type TimeUnit = 'nanos' | 'micros' | 'ms' | 's' | 'm' | 'h' | 'd';
2138
+ export type TimeZone = string;
2117
2139
  export interface TopLeftBottomRightGeoBounds {
2118
2140
  top_left: GeoLocation;
2119
2141
  bottom_right: GeoLocation;
@@ -2136,19 +2158,19 @@ export interface TranslogStats {
2136
2158
  uncommitted_size?: string;
2137
2159
  uncommitted_size_in_bytes: long;
2138
2160
  }
2139
- export declare type TransportAddress = string;
2140
- export declare type UnitFloatMillis = double;
2141
- export declare type UnitMillis = long;
2142
- export declare type UnitNanos = long;
2143
- export declare type UnitSeconds = long;
2144
- export declare type Username = string;
2145
- export declare type Uuid = string;
2146
- export declare type VersionNumber = long;
2147
- export declare type VersionString = string;
2148
- export declare type VersionType = 'internal' | 'external' | 'external_gte' | 'force';
2149
- export declare type WaitForActiveShardOptions = 'all' | 'index-setting';
2150
- export declare type WaitForActiveShards = integer | WaitForActiveShardOptions;
2151
- export declare type WaitForEvents = 'immediate' | 'urgent' | 'high' | 'normal' | 'low' | 'languid';
2161
+ export type TransportAddress = string;
2162
+ export type UnitFloatMillis = double;
2163
+ export type UnitMillis = long;
2164
+ export type UnitNanos = long;
2165
+ export type UnitSeconds = long;
2166
+ export type Username = string;
2167
+ export type Uuid = string;
2168
+ export type VersionNumber = long;
2169
+ export type VersionString = string;
2170
+ export type VersionType = 'internal' | 'external' | 'external_gte' | 'force';
2171
+ export type WaitForActiveShardOptions = 'all' | 'index-setting';
2172
+ export type WaitForActiveShards = integer | WaitForActiveShardOptions;
2173
+ export type WaitForEvents = 'immediate' | 'urgent' | 'high' | 'normal' | 'low' | 'languid';
2152
2174
  export interface WarmerStats {
2153
2175
  current: long;
2154
2176
  total: long;
@@ -2168,14 +2190,14 @@ export interface WriteResponseBase {
2168
2190
  _version: VersionNumber;
2169
2191
  forced_refresh?: boolean;
2170
2192
  }
2171
- export declare type byte = number;
2172
- export declare type double = number;
2173
- export declare type float = number;
2174
- export declare type integer = number;
2175
- export declare type long = number;
2176
- export declare type short = number;
2177
- export declare type uint = number;
2178
- export declare type ulong = number;
2193
+ export type byte = number;
2194
+ export type double = number;
2195
+ export type float = number;
2196
+ export type integer = number;
2197
+ export type long = number;
2198
+ export type short = number;
2199
+ export type uint = number;
2200
+ export type ulong = number;
2179
2201
  export interface AggregationsAdjacencyMatrixAggregate extends AggregationsMultiBucketAggregateBase<AggregationsAdjacencyMatrixBucket> {
2180
2202
  }
2181
2203
  export interface AggregationsAdjacencyMatrixAggregation extends AggregationsBucketAggregationBase {
@@ -2184,14 +2206,14 @@ export interface AggregationsAdjacencyMatrixAggregation extends AggregationsBuck
2184
2206
  export interface AggregationsAdjacencyMatrixBucketKeys extends AggregationsMultiBucketBase {
2185
2207
  key: string;
2186
2208
  }
2187
- export declare type AggregationsAdjacencyMatrixBucket = AggregationsAdjacencyMatrixBucketKeys & {
2209
+ export type AggregationsAdjacencyMatrixBucket = AggregationsAdjacencyMatrixBucketKeys & {
2188
2210
  [property: string]: AggregationsAggregate | string | long;
2189
2211
  };
2190
- export declare 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 | AggregationsScriptedMetricAggregate | AggregationsTopHitsAggregate | AggregationsInferenceAggregate | AggregationsStringStatsAggregate | AggregationsBoxPlotAggregate | AggregationsTopMetricsAggregate | AggregationsTTestAggregate | AggregationsRateAggregate | AggregationsCumulativeCardinalityAggregate | AggregationsMatrixStatsAggregate | AggregationsGeoLineAggregate;
2212
+ 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 | AggregationsScriptedMetricAggregate | AggregationsTopHitsAggregate | AggregationsInferenceAggregate | AggregationsStringStatsAggregate | AggregationsBoxPlotAggregate | AggregationsTopMetricsAggregate | AggregationsTTestAggregate | AggregationsRateAggregate | AggregationsCumulativeCardinalityAggregate | AggregationsMatrixStatsAggregate | AggregationsGeoLineAggregate;
2191
2213
  export interface AggregationsAggregateBase {
2192
2214
  meta?: Metadata;
2193
2215
  }
2194
- export declare type AggregationsAggregateOrder = Partial<Record<Field, SortOrder>> | Partial<Record<Field, SortOrder>>[];
2216
+ export type AggregationsAggregateOrder = Partial<Record<Field, SortOrder>> | Partial<Record<Field, SortOrder>>[];
2195
2217
  export interface AggregationsAggregation {
2196
2218
  meta?: Metadata;
2197
2219
  name?: string;
@@ -2364,9 +2386,9 @@ export interface AggregationsBucketSortAggregation extends AggregationsAggregati
2364
2386
  size?: integer;
2365
2387
  sort?: Sort;
2366
2388
  }
2367
- export declare type AggregationsBuckets<TBucket = unknown> = Record<string, TBucket> | TBucket[];
2368
- export declare type AggregationsBucketsPath = string | string[] | Record<string, string>;
2369
- export declare type AggregationsCalendarInterval = 'second' | '1s' | 'minute' | '1m' | 'hour' | '1h' | 'day' | '1d' | 'week' | '1w' | 'month' | '1M' | 'quarter' | '1q' | 'year' | '1Y';
2389
+ export type AggregationsBuckets<TBucket = unknown> = Record<string, TBucket> | TBucket[];
2390
+ export type AggregationsBucketsPath = string | string[] | Record<string, string>;
2391
+ export type AggregationsCalendarInterval = 'second' | '1s' | 'minute' | '1m' | 'hour' | '1h' | 'day' | '1d' | 'week' | '1w' | 'month' | '1M' | 'quarter' | '1q' | 'year' | '1Y';
2370
2392
  export interface AggregationsCardinalityAggregate extends AggregationsAggregateBase {
2371
2393
  value: long;
2372
2394
  }
@@ -2375,7 +2397,7 @@ export interface AggregationsCardinalityAggregation extends AggregationsMetricAg
2375
2397
  rehash?: boolean;
2376
2398
  execution_hint?: AggregationsCardinalityExecutionMode;
2377
2399
  }
2378
- export declare type AggregationsCardinalityExecutionMode = 'global_ordinals' | 'segment_ordinals' | 'direct' | 'save_memory_heuristic' | 'save_time_heuristic';
2400
+ export type AggregationsCardinalityExecutionMode = 'global_ordinals' | 'segment_ordinals' | 'direct' | 'save_memory_heuristic' | 'save_time_heuristic';
2379
2401
  export interface AggregationsCategorizeTextAggregation extends AggregationsAggregation {
2380
2402
  field: Field;
2381
2403
  max_unique_tokens?: integer;
@@ -2388,14 +2410,14 @@ export interface AggregationsCategorizeTextAggregation extends AggregationsAggre
2388
2410
  min_doc_count?: integer;
2389
2411
  shard_min_doc_count?: integer;
2390
2412
  }
2391
- export declare type AggregationsCategorizeTextAnalyzer = string | AggregationsCustomCategorizeTextAnalyzer;
2413
+ export type AggregationsCategorizeTextAnalyzer = string | AggregationsCustomCategorizeTextAnalyzer;
2392
2414
  export interface AggregationsChiSquareHeuristic {
2393
2415
  background_is_superset: boolean;
2394
2416
  include_negatives: boolean;
2395
2417
  }
2396
2418
  export interface AggregationsChildrenAggregateKeys extends AggregationsSingleBucketAggregateBase {
2397
2419
  }
2398
- export declare type AggregationsChildrenAggregate = AggregationsChildrenAggregateKeys & {
2420
+ export type AggregationsChildrenAggregate = AggregationsChildrenAggregateKeys & {
2399
2421
  [property: string]: AggregationsAggregate | long | Metadata;
2400
2422
  };
2401
2423
  export interface AggregationsChildrenAggregation extends AggregationsBucketAggregationBase {
@@ -2404,7 +2426,7 @@ export interface AggregationsChildrenAggregation extends AggregationsBucketAggre
2404
2426
  export interface AggregationsCompositeAggregate extends AggregationsMultiBucketAggregateBase<AggregationsCompositeBucket> {
2405
2427
  after_key?: AggregationsCompositeAggregateKey;
2406
2428
  }
2407
- export declare type AggregationsCompositeAggregateKey = Record<Field, FieldValue>;
2429
+ export type AggregationsCompositeAggregateKey = Record<Field, FieldValue>;
2408
2430
  export interface AggregationsCompositeAggregation extends AggregationsBucketAggregationBase {
2409
2431
  after?: AggregationsCompositeAggregateKey;
2410
2432
  size?: integer;
@@ -2419,7 +2441,7 @@ export interface AggregationsCompositeAggregationSource {
2419
2441
  export interface AggregationsCompositeBucketKeys extends AggregationsMultiBucketBase {
2420
2442
  key: AggregationsCompositeAggregateKey;
2421
2443
  }
2422
- export declare type AggregationsCompositeBucket = AggregationsCompositeBucketKeys & {
2444
+ export type AggregationsCompositeBucket = AggregationsCompositeBucketKeys & {
2423
2445
  [property: string]: AggregationsAggregate | AggregationsCompositeAggregateKey | long;
2424
2446
  };
2425
2447
  export interface AggregationsCumulativeCardinalityAggregate extends AggregationsAggregateBase {
@@ -2458,7 +2480,7 @@ export interface AggregationsDateHistogramBucketKeys extends AggregationsMultiBu
2458
2480
  key_as_string?: string;
2459
2481
  key: EpochTime<UnitMillis>;
2460
2482
  }
2461
- export declare type AggregationsDateHistogramBucket = AggregationsDateHistogramBucketKeys & {
2483
+ export type AggregationsDateHistogramBucket = AggregationsDateHistogramBucketKeys & {
2462
2484
  [property: string]: AggregationsAggregate | string | EpochTime<UnitMillis> | long;
2463
2485
  };
2464
2486
  export interface AggregationsDateRangeAggregate extends AggregationsRangeAggregate {
@@ -2495,7 +2517,7 @@ export interface AggregationsDoubleTermsBucketKeys extends AggregationsTermsBuck
2495
2517
  key: double;
2496
2518
  key_as_string?: string;
2497
2519
  }
2498
- export declare type AggregationsDoubleTermsBucket = AggregationsDoubleTermsBucketKeys & {
2520
+ export type AggregationsDoubleTermsBucket = AggregationsDoubleTermsBucketKeys & {
2499
2521
  [property: string]: AggregationsAggregate | double | string | long;
2500
2522
  };
2501
2523
  export interface AggregationsEwmaModelSettings {
@@ -2533,10 +2555,10 @@ export interface AggregationsExtendedStatsBucketAggregate extends AggregationsEx
2533
2555
  export interface AggregationsExtendedStatsBucketAggregation extends AggregationsPipelineAggregationBase {
2534
2556
  sigma?: double;
2535
2557
  }
2536
- export declare type AggregationsFieldDateMath = DateMath | double;
2558
+ export type AggregationsFieldDateMath = DateMath | double;
2537
2559
  export interface AggregationsFilterAggregateKeys extends AggregationsSingleBucketAggregateBase {
2538
2560
  }
2539
- export declare type AggregationsFilterAggregate = AggregationsFilterAggregateKeys & {
2561
+ export type AggregationsFilterAggregate = AggregationsFilterAggregateKeys & {
2540
2562
  [property: string]: AggregationsAggregate | long | Metadata;
2541
2563
  };
2542
2564
  export interface AggregationsFiltersAggregate extends AggregationsMultiBucketAggregateBase<AggregationsFiltersBucket> {
@@ -2549,7 +2571,7 @@ export interface AggregationsFiltersAggregation extends AggregationsBucketAggreg
2549
2571
  }
2550
2572
  export interface AggregationsFiltersBucketKeys extends AggregationsMultiBucketBase {
2551
2573
  }
2552
- export declare type AggregationsFiltersBucket = AggregationsFiltersBucketKeys & {
2574
+ export type AggregationsFiltersBucket = AggregationsFiltersBucketKeys & {
2553
2575
  [property: string]: AggregationsAggregate | long;
2554
2576
  };
2555
2577
  export interface AggregationsFormatMetricAggregationBase extends AggregationsMetricAggregationBase {
@@ -2558,7 +2580,7 @@ export interface AggregationsFormatMetricAggregationBase extends AggregationsMet
2558
2580
  export interface AggregationsFormattableMetricAggregation extends AggregationsMetricAggregationBase {
2559
2581
  format?: string;
2560
2582
  }
2561
- export declare type AggregationsGapPolicy = 'skip' | 'insert_zeros' | 'keep_values';
2583
+ export type AggregationsGapPolicy = 'skip' | 'insert_zeros' | 'keep_values';
2562
2584
  export interface AggregationsGeoBoundsAggregate extends AggregationsAggregateBase {
2563
2585
  bounds?: GeoBounds;
2564
2586
  }
@@ -2594,7 +2616,7 @@ export interface AggregationsGeoHashGridAggregation extends AggregationsBucketAg
2594
2616
  export interface AggregationsGeoHashGridBucketKeys extends AggregationsMultiBucketBase {
2595
2617
  key: GeoHash;
2596
2618
  }
2597
- export declare type AggregationsGeoHashGridBucket = AggregationsGeoHashGridBucketKeys & {
2619
+ export type AggregationsGeoHashGridBucket = AggregationsGeoHashGridBucketKeys & {
2598
2620
  [property: string]: AggregationsAggregate | GeoHash | long;
2599
2621
  };
2600
2622
  export interface AggregationsGeoHexGridAggregate extends AggregationsMultiBucketAggregateBase<AggregationsGeoHexGridBucket> {
@@ -2602,7 +2624,7 @@ export interface AggregationsGeoHexGridAggregate extends AggregationsMultiBucket
2602
2624
  export interface AggregationsGeoHexGridBucketKeys extends AggregationsMultiBucketBase {
2603
2625
  key: GeoHexCell;
2604
2626
  }
2605
- export declare type AggregationsGeoHexGridBucket = AggregationsGeoHexGridBucketKeys & {
2627
+ export type AggregationsGeoHexGridBucket = AggregationsGeoHexGridBucketKeys & {
2606
2628
  [property: string]: AggregationsAggregate | GeoHexCell | long;
2607
2629
  };
2608
2630
  export interface AggregationsGeoLineAggregate extends AggregationsAggregateBase {
@@ -2635,7 +2657,7 @@ export interface AggregationsGeoTileGridAggregation extends AggregationsBucketAg
2635
2657
  export interface AggregationsGeoTileGridBucketKeys extends AggregationsMultiBucketBase {
2636
2658
  key: GeoTile;
2637
2659
  }
2638
- export declare type AggregationsGeoTileGridBucket = AggregationsGeoTileGridBucketKeys & {
2660
+ export type AggregationsGeoTileGridBucket = AggregationsGeoTileGridBucketKeys & {
2639
2661
  [property: string]: AggregationsAggregate | GeoTile | long;
2640
2662
  };
2641
2663
  export interface AggregationsGeohexGridAggregation extends AggregationsBucketAggregationBase {
@@ -2647,7 +2669,7 @@ export interface AggregationsGeohexGridAggregation extends AggregationsBucketAgg
2647
2669
  }
2648
2670
  export interface AggregationsGlobalAggregateKeys extends AggregationsSingleBucketAggregateBase {
2649
2671
  }
2650
- export declare type AggregationsGlobalAggregate = AggregationsGlobalAggregateKeys & {
2672
+ export type AggregationsGlobalAggregate = AggregationsGlobalAggregateKeys & {
2651
2673
  [property: string]: AggregationsAggregate | long | Metadata;
2652
2674
  };
2653
2675
  export interface AggregationsGlobalAggregation extends AggregationsBucketAggregationBase {
@@ -2681,7 +2703,7 @@ export interface AggregationsHistogramBucketKeys extends AggregationsMultiBucket
2681
2703
  key_as_string?: string;
2682
2704
  key: double;
2683
2705
  }
2684
- export declare type AggregationsHistogramBucket = AggregationsHistogramBucketKeys & {
2706
+ export type AggregationsHistogramBucket = AggregationsHistogramBucketKeys & {
2685
2707
  [property: string]: AggregationsAggregate | string | double | long;
2686
2708
  };
2687
2709
  export interface AggregationsHoltLinearModelSettings {
@@ -2704,14 +2726,14 @@ export interface AggregationsHoltWintersMovingAverageAggregation extends Aggrega
2704
2726
  model: 'holt_winters';
2705
2727
  settings: AggregationsHoltWintersModelSettings;
2706
2728
  }
2707
- export declare type AggregationsHoltWintersType = 'add' | 'mult';
2729
+ export type AggregationsHoltWintersType = 'add' | 'mult';
2708
2730
  export interface AggregationsInferenceAggregateKeys extends AggregationsAggregateBase {
2709
2731
  value?: FieldValue;
2710
2732
  feature_importance?: AggregationsInferenceFeatureImportance[];
2711
2733
  top_classes?: AggregationsInferenceTopClassEntry[];
2712
2734
  warning?: string;
2713
2735
  }
2714
- export declare type AggregationsInferenceAggregate = AggregationsInferenceAggregateKeys & {
2736
+ export type AggregationsInferenceAggregate = AggregationsInferenceAggregateKeys & {
2715
2737
  [property: string]: any;
2716
2738
  };
2717
2739
  export interface AggregationsInferenceAggregation extends AggregationsPipelineAggregationBase {
@@ -2752,7 +2774,7 @@ export interface AggregationsIpPrefixBucketKeys extends AggregationsMultiBucketB
2752
2774
  prefix_length: integer;
2753
2775
  netmask?: string;
2754
2776
  }
2755
- export declare type AggregationsIpPrefixBucket = AggregationsIpPrefixBucketKeys & {
2777
+ export type AggregationsIpPrefixBucket = AggregationsIpPrefixBucketKeys & {
2756
2778
  [property: string]: AggregationsAggregate | boolean | string | integer | long;
2757
2779
  };
2758
2780
  export interface AggregationsIpRangeAggregate extends AggregationsMultiBucketAggregateBase<AggregationsIpRangeBucket> {
@@ -2771,10 +2793,10 @@ export interface AggregationsIpRangeBucketKeys extends AggregationsMultiBucketBa
2771
2793
  from?: string;
2772
2794
  to?: string;
2773
2795
  }
2774
- export declare type AggregationsIpRangeBucket = AggregationsIpRangeBucketKeys & {
2796
+ export type AggregationsIpRangeBucket = AggregationsIpRangeBucketKeys & {
2775
2797
  [property: string]: AggregationsAggregate | string | long;
2776
2798
  };
2777
- export declare type AggregationsKeyedPercentiles = Record<string, string | long | null>;
2799
+ export type AggregationsKeyedPercentiles = Record<string, string | long | null>;
2778
2800
  export interface AggregationsLinearMovingAverageAggregation extends AggregationsMovingAverageAggregationBase {
2779
2801
  model: 'linear';
2780
2802
  settings: EmptyObject;
@@ -2785,7 +2807,7 @@ export interface AggregationsLongRareTermsBucketKeys extends AggregationsMultiBu
2785
2807
  key: long;
2786
2808
  key_as_string?: string;
2787
2809
  }
2788
- export declare type AggregationsLongRareTermsBucket = AggregationsLongRareTermsBucketKeys & {
2810
+ export type AggregationsLongRareTermsBucket = AggregationsLongRareTermsBucketKeys & {
2789
2811
  [property: string]: AggregationsAggregate | long | string;
2790
2812
  };
2791
2813
  export interface AggregationsLongTermsAggregate extends AggregationsTermsAggregateBase<AggregationsLongTermsBucket> {
@@ -2794,7 +2816,7 @@ export interface AggregationsLongTermsBucketKeys extends AggregationsTermsBucket
2794
2816
  key: long;
2795
2817
  key_as_string?: string;
2796
2818
  }
2797
- export declare type AggregationsLongTermsBucket = AggregationsLongTermsBucketKeys & {
2819
+ export type AggregationsLongTermsBucket = AggregationsLongTermsBucketKeys & {
2798
2820
  [property: string]: AggregationsAggregate | long | string;
2799
2821
  };
2800
2822
  export interface AggregationsMatrixAggregation extends AggregationsAggregation {
@@ -2803,7 +2825,7 @@ export interface AggregationsMatrixAggregation extends AggregationsAggregation {
2803
2825
  }
2804
2826
  export interface AggregationsMatrixStatsAggregate extends AggregationsAggregateBase {
2805
2827
  doc_count: long;
2806
- fields: AggregationsMatrixStatsFields[];
2828
+ fields?: AggregationsMatrixStatsFields[];
2807
2829
  }
2808
2830
  export interface AggregationsMatrixStatsAggregation extends AggregationsMatrixAggregation {
2809
2831
  mode?: SortMode;
@@ -2840,19 +2862,19 @@ export interface AggregationsMinAggregation extends AggregationsFormatMetricAggr
2840
2862
  }
2841
2863
  export interface AggregationsMinBucketAggregation extends AggregationsPipelineAggregationBase {
2842
2864
  }
2843
- export declare type AggregationsMinimumInterval = 'second' | 'minute' | 'hour' | 'day' | 'month' | 'year';
2844
- export declare type AggregationsMissing = string | integer | double | boolean;
2865
+ export type AggregationsMinimumInterval = 'second' | 'minute' | 'hour' | 'day' | 'month' | 'year';
2866
+ export type AggregationsMissing = string | integer | double | boolean;
2845
2867
  export interface AggregationsMissingAggregateKeys extends AggregationsSingleBucketAggregateBase {
2846
2868
  }
2847
- export declare type AggregationsMissingAggregate = AggregationsMissingAggregateKeys & {
2869
+ export type AggregationsMissingAggregate = AggregationsMissingAggregateKeys & {
2848
2870
  [property: string]: AggregationsAggregate | long | Metadata;
2849
2871
  };
2850
2872
  export interface AggregationsMissingAggregation extends AggregationsBucketAggregationBase {
2851
2873
  field?: Field;
2852
2874
  missing?: AggregationsMissing;
2853
2875
  }
2854
- export declare type AggregationsMissingOrder = 'first' | 'last' | 'default';
2855
- export declare type AggregationsMovingAverageAggregation = AggregationsLinearMovingAverageAggregation | AggregationsSimpleMovingAverageAggregation | AggregationsEwmaMovingAverageAggregation | AggregationsHoltMovingAverageAggregation | AggregationsHoltWintersMovingAverageAggregation;
2876
+ export type AggregationsMissingOrder = 'first' | 'last' | 'default';
2877
+ export type AggregationsMovingAverageAggregation = AggregationsLinearMovingAverageAggregation | AggregationsSimpleMovingAverageAggregation | AggregationsEwmaMovingAverageAggregation | AggregationsHoltMovingAverageAggregation | AggregationsHoltWintersMovingAverageAggregation;
2856
2878
  export interface AggregationsMovingAverageAggregationBase extends AggregationsPipelineAggregationBase {
2857
2879
  minimize?: boolean;
2858
2880
  predict?: integer;
@@ -2876,6 +2898,7 @@ export interface AggregationsMultiBucketBase {
2876
2898
  }
2877
2899
  export interface AggregationsMultiTermLookup {
2878
2900
  field: Field;
2901
+ missing?: AggregationsMissing;
2879
2902
  }
2880
2903
  export interface AggregationsMultiTermsAggregate extends AggregationsTermsAggregateBase<AggregationsMultiTermsBucket> {
2881
2904
  }
@@ -2894,7 +2917,7 @@ export interface AggregationsMultiTermsBucketKeys extends AggregationsMultiBucke
2894
2917
  key_as_string?: string;
2895
2918
  doc_count_error_upper_bound?: long;
2896
2919
  }
2897
- export declare type AggregationsMultiTermsBucket = AggregationsMultiTermsBucketKeys & {
2920
+ export type AggregationsMultiTermsBucket = AggregationsMultiTermsBucketKeys & {
2898
2921
  [property: string]: AggregationsAggregate | FieldValue[] | string | long;
2899
2922
  };
2900
2923
  export interface AggregationsMutualInformationHeuristic {
@@ -2903,7 +2926,7 @@ export interface AggregationsMutualInformationHeuristic {
2903
2926
  }
2904
2927
  export interface AggregationsNestedAggregateKeys extends AggregationsSingleBucketAggregateBase {
2905
2928
  }
2906
- export declare type AggregationsNestedAggregate = AggregationsNestedAggregateKeys & {
2929
+ export type AggregationsNestedAggregate = AggregationsNestedAggregateKeys & {
2907
2930
  [property: string]: AggregationsAggregate | long | Metadata;
2908
2931
  };
2909
2932
  export interface AggregationsNestedAggregation extends AggregationsBucketAggregationBase {
@@ -2912,10 +2935,10 @@ export interface AggregationsNestedAggregation extends AggregationsBucketAggrega
2912
2935
  export interface AggregationsNormalizeAggregation extends AggregationsPipelineAggregationBase {
2913
2936
  method?: AggregationsNormalizeMethod;
2914
2937
  }
2915
- export declare type AggregationsNormalizeMethod = 'rescale_0_1' | 'rescale_0_100' | 'percent_of_sum' | 'mean' | 'z-score' | 'softmax';
2938
+ export type AggregationsNormalizeMethod = 'rescale_0_1' | 'rescale_0_100' | 'percent_of_sum' | 'mean' | 'z-score' | 'softmax';
2916
2939
  export interface AggregationsParentAggregateKeys extends AggregationsSingleBucketAggregateBase {
2917
2940
  }
2918
- export declare type AggregationsParentAggregate = AggregationsParentAggregateKeys & {
2941
+ export type AggregationsParentAggregate = AggregationsParentAggregateKeys & {
2919
2942
  [property: string]: AggregationsAggregate | long | Metadata;
2920
2943
  };
2921
2944
  export interface AggregationsParentAggregation extends AggregationsBucketAggregationBase {
@@ -2929,7 +2952,7 @@ export interface AggregationsPercentileRanksAggregation extends AggregationsForm
2929
2952
  hdr?: AggregationsHdrMethod;
2930
2953
  tdigest?: AggregationsTDigest;
2931
2954
  }
2932
- export declare type AggregationsPercentiles = AggregationsKeyedPercentiles | AggregationsArrayPercentilesItem[];
2955
+ export type AggregationsPercentiles = AggregationsKeyedPercentiles | AggregationsArrayPercentilesItem[];
2933
2956
  export interface AggregationsPercentilesAggregateBase extends AggregationsAggregateBase {
2934
2957
  values: AggregationsPercentiles;
2935
2958
  }
@@ -2965,7 +2988,7 @@ export interface AggregationsRangeBucketKeys extends AggregationsMultiBucketBase
2965
2988
  to_as_string?: string;
2966
2989
  key?: string;
2967
2990
  }
2968
- export declare type AggregationsRangeBucket = AggregationsRangeBucketKeys & {
2991
+ export type AggregationsRangeBucket = AggregationsRangeBucketKeys & {
2969
2992
  [property: string]: AggregationsAggregate | double | string | long;
2970
2993
  };
2971
2994
  export interface AggregationsRareTermsAggregation extends AggregationsBucketAggregationBase {
@@ -2985,10 +3008,10 @@ export interface AggregationsRateAggregation extends AggregationsFormatMetricAgg
2985
3008
  unit?: AggregationsCalendarInterval;
2986
3009
  mode?: AggregationsRateMode;
2987
3010
  }
2988
- export declare type AggregationsRateMode = 'sum' | 'value_count';
3011
+ export type AggregationsRateMode = 'sum' | 'value_count';
2989
3012
  export interface AggregationsReverseNestedAggregateKeys extends AggregationsSingleBucketAggregateBase {
2990
3013
  }
2991
- export declare type AggregationsReverseNestedAggregate = AggregationsReverseNestedAggregateKeys & {
3014
+ export type AggregationsReverseNestedAggregate = AggregationsReverseNestedAggregateKeys & {
2992
3015
  [property: string]: AggregationsAggregate | long | Metadata;
2993
3016
  };
2994
3017
  export interface AggregationsReverseNestedAggregation extends AggregationsBucketAggregationBase {
@@ -2996,13 +3019,13 @@ export interface AggregationsReverseNestedAggregation extends AggregationsBucket
2996
3019
  }
2997
3020
  export interface AggregationsSamplerAggregateKeys extends AggregationsSingleBucketAggregateBase {
2998
3021
  }
2999
- export declare type AggregationsSamplerAggregate = AggregationsSamplerAggregateKeys & {
3022
+ export type AggregationsSamplerAggregate = AggregationsSamplerAggregateKeys & {
3000
3023
  [property: string]: AggregationsAggregate | long | Metadata;
3001
3024
  };
3002
3025
  export interface AggregationsSamplerAggregation extends AggregationsBucketAggregationBase {
3003
3026
  shard_size?: integer;
3004
3027
  }
3005
- export declare type AggregationsSamplerAggregationExecutionHint = 'map' | 'global_ordinals' | 'bytes_hash';
3028
+ export type AggregationsSamplerAggregationExecutionHint = 'map' | 'global_ordinals' | 'bytes_hash';
3006
3029
  export interface AggregationsScriptedHeuristic {
3007
3030
  script: Script;
3008
3031
  }
@@ -3025,7 +3048,7 @@ export interface AggregationsSignificantLongTermsBucketKeys extends Aggregations
3025
3048
  key: long;
3026
3049
  key_as_string?: string;
3027
3050
  }
3028
- export declare type AggregationsSignificantLongTermsBucket = AggregationsSignificantLongTermsBucketKeys & {
3051
+ export type AggregationsSignificantLongTermsBucket = AggregationsSignificantLongTermsBucketKeys & {
3029
3052
  [property: string]: AggregationsAggregate | long | string | double;
3030
3053
  };
3031
3054
  export interface AggregationsSignificantStringTermsAggregate extends AggregationsSignificantTermsAggregateBase<AggregationsSignificantStringTermsBucket> {
@@ -3033,7 +3056,7 @@ export interface AggregationsSignificantStringTermsAggregate extends Aggregation
3033
3056
  export interface AggregationsSignificantStringTermsBucketKeys extends AggregationsSignificantTermsBucketBase {
3034
3057
  key: string;
3035
3058
  }
3036
- export declare type AggregationsSignificantStringTermsBucket = AggregationsSignificantStringTermsBucketKeys & {
3059
+ export type AggregationsSignificantStringTermsBucket = AggregationsSignificantStringTermsBucketKeys & {
3037
3060
  [property: string]: AggregationsAggregate | string | double | long;
3038
3061
  };
3039
3062
  export interface AggregationsSignificantTermsAggregateBase<T = unknown> extends AggregationsMultiBucketAggregateBase<T> {
@@ -3131,7 +3154,7 @@ export interface AggregationsStringRareTermsAggregate extends AggregationsMultiB
3131
3154
  export interface AggregationsStringRareTermsBucketKeys extends AggregationsMultiBucketBase {
3132
3155
  key: string;
3133
3156
  }
3134
- export declare type AggregationsStringRareTermsBucket = AggregationsStringRareTermsBucketKeys & {
3157
+ export type AggregationsStringRareTermsBucket = AggregationsStringRareTermsBucketKeys & {
3135
3158
  [property: string]: AggregationsAggregate | string | long;
3136
3159
  };
3137
3160
  export interface AggregationsStringStatsAggregate extends AggregationsAggregateBase {
@@ -3153,7 +3176,7 @@ export interface AggregationsStringTermsAggregate extends AggregationsTermsAggre
3153
3176
  export interface AggregationsStringTermsBucketKeys extends AggregationsTermsBucketBase {
3154
3177
  key: FieldValue;
3155
3178
  }
3156
- export declare type AggregationsStringTermsBucket = AggregationsStringTermsBucketKeys & {
3179
+ export type AggregationsStringTermsBucket = AggregationsStringTermsBucketKeys & {
3157
3180
  [property: string]: AggregationsAggregate | FieldValue | long;
3158
3181
  };
3159
3182
  export interface AggregationsSumAggregate extends AggregationsSingleMetricAggregateBase {
@@ -3178,7 +3201,7 @@ export interface AggregationsTTestAggregation extends AggregationsAggregation {
3178
3201
  b?: AggregationsTestPopulation;
3179
3202
  type?: AggregationsTTestType;
3180
3203
  }
3181
- export declare type AggregationsTTestType = 'paired' | 'homoscedastic' | 'heteroscedastic';
3204
+ export type AggregationsTTestType = 'paired' | 'homoscedastic' | 'heteroscedastic';
3182
3205
  export interface AggregationsTermsAggregateBase<TBucket = unknown> extends AggregationsMultiBucketAggregateBase<TBucket> {
3183
3206
  doc_count_error_upper_bound?: long;
3184
3207
  sum_other_doc_count?: long;
@@ -3201,13 +3224,13 @@ export interface AggregationsTermsAggregation extends AggregationsBucketAggregat
3201
3224
  size?: integer;
3202
3225
  format?: string;
3203
3226
  }
3204
- export declare type AggregationsTermsAggregationCollectMode = 'depth_first' | 'breadth_first';
3205
- export declare type AggregationsTermsAggregationExecutionHint = 'map' | 'global_ordinals' | 'global_ordinals_hash' | 'global_ordinals_low_cardinality';
3227
+ export type AggregationsTermsAggregationCollectMode = 'depth_first' | 'breadth_first';
3228
+ export type AggregationsTermsAggregationExecutionHint = 'map' | 'global_ordinals' | 'global_ordinals_hash' | 'global_ordinals_low_cardinality';
3206
3229
  export interface AggregationsTermsBucketBase extends AggregationsMultiBucketBase {
3207
3230
  doc_count_error?: long;
3208
3231
  }
3209
- export declare type AggregationsTermsExclude = string | string[];
3210
- export declare type AggregationsTermsInclude = string | string[] | AggregationsTermsPartition;
3232
+ export type AggregationsTermsExclude = string | string[];
3233
+ export type AggregationsTermsInclude = string | string[] | AggregationsTermsPartition;
3211
3234
  export interface AggregationsTermsPartition {
3212
3235
  num_partitions: long;
3213
3236
  partition: long;
@@ -3253,7 +3276,7 @@ export interface AggregationsUnmappedRareTermsAggregate extends AggregationsMult
3253
3276
  }
3254
3277
  export interface AggregationsUnmappedSamplerAggregateKeys extends AggregationsSingleBucketAggregateBase {
3255
3278
  }
3256
- export declare type AggregationsUnmappedSamplerAggregate = AggregationsUnmappedSamplerAggregateKeys & {
3279
+ export type AggregationsUnmappedSamplerAggregate = AggregationsUnmappedSamplerAggregateKeys & {
3257
3280
  [property: string]: AggregationsAggregate | long | Metadata;
3258
3281
  };
3259
3282
  export interface AggregationsUnmappedSignificantTermsAggregate extends AggregationsSignificantTermsAggregateBase<void> {
@@ -3264,7 +3287,7 @@ export interface AggregationsValueCountAggregate extends AggregationsSingleMetri
3264
3287
  }
3265
3288
  export interface AggregationsValueCountAggregation extends AggregationsFormattableMetricAggregation {
3266
3289
  }
3267
- export declare type AggregationsValueType = 'string' | 'long' | 'double' | 'number' | 'date' | 'date_nanos' | 'ip' | 'numeric' | 'geo_point' | 'boolean';
3290
+ export type AggregationsValueType = 'string' | 'long' | 'double' | 'number' | 'date' | 'date_nanos' | 'ip' | 'numeric' | 'geo_point' | 'boolean';
3268
3291
  export interface AggregationsVariableWidthHistogramAggregate extends AggregationsMultiBucketAggregateBase<AggregationsVariableWidthHistogramBucket> {
3269
3292
  }
3270
3293
  export interface AggregationsVariableWidthHistogramAggregation {
@@ -3281,7 +3304,7 @@ export interface AggregationsVariableWidthHistogramBucketKeys extends Aggregatio
3281
3304
  key_as_string?: string;
3282
3305
  max_as_string?: string;
3283
3306
  }
3284
- export declare type AggregationsVariableWidthHistogramBucket = AggregationsVariableWidthHistogramBucketKeys & {
3307
+ export type AggregationsVariableWidthHistogramBucket = AggregationsVariableWidthHistogramBucketKeys & {
3285
3308
  [property: string]: AggregationsAggregate | double | string | long;
3286
3309
  };
3287
3310
  export interface AggregationsWeightedAverageAggregation extends AggregationsAggregation {
@@ -3297,16 +3320,16 @@ export interface AggregationsWeightedAverageValue {
3297
3320
  }
3298
3321
  export interface AggregationsWeightedAvgAggregate extends AggregationsSingleMetricAggregateBase {
3299
3322
  }
3300
- export declare type AnalysisAnalyzer = AnalysisCustomAnalyzer | AnalysisFingerprintAnalyzer | AnalysisKeywordAnalyzer | AnalysisLanguageAnalyzer | AnalysisNoriAnalyzer | AnalysisPatternAnalyzer | AnalysisSimpleAnalyzer | AnalysisStandardAnalyzer | AnalysisStopAnalyzer | AnalysisWhitespaceAnalyzer | AnalysisIcuAnalyzer | AnalysisKuromojiAnalyzer | AnalysisSnowballAnalyzer | AnalysisDutchAnalyzer;
3323
+ export type AnalysisAnalyzer = AnalysisCustomAnalyzer | AnalysisFingerprintAnalyzer | AnalysisKeywordAnalyzer | AnalysisLanguageAnalyzer | AnalysisNoriAnalyzer | AnalysisPatternAnalyzer | AnalysisSimpleAnalyzer | AnalysisStandardAnalyzer | AnalysisStopAnalyzer | AnalysisWhitespaceAnalyzer | AnalysisIcuAnalyzer | AnalysisKuromojiAnalyzer | AnalysisSnowballAnalyzer | AnalysisDutchAnalyzer;
3301
3324
  export interface AnalysisAsciiFoldingTokenFilter extends AnalysisTokenFilterBase {
3302
3325
  type: 'asciifolding';
3303
3326
  preserve_original?: boolean;
3304
3327
  }
3305
- export declare type AnalysisCharFilter = string | AnalysisCharFilterDefinition;
3328
+ export type AnalysisCharFilter = string | AnalysisCharFilterDefinition;
3306
3329
  export interface AnalysisCharFilterBase {
3307
3330
  version?: VersionString;
3308
3331
  }
3309
- export declare type AnalysisCharFilterDefinition = AnalysisHtmlStripCharFilter | AnalysisMappingCharFilter | AnalysisPatternReplaceCharFilter | AnalysisIcuNormalizationCharFilter | AnalysisKuromojiIterationMarkCharFilter;
3332
+ export type AnalysisCharFilterDefinition = AnalysisHtmlStripCharFilter | AnalysisMappingCharFilter | AnalysisPatternReplaceCharFilter | AnalysisIcuNormalizationCharFilter | AnalysisKuromojiIterationMarkCharFilter;
3310
3333
  export interface AnalysisCharGroupTokenizer extends AnalysisTokenizerBase {
3311
3334
  type: 'char_group';
3312
3335
  tokenize_on_chars: string[];
@@ -3346,7 +3369,7 @@ export interface AnalysisCustomNormalizer {
3346
3369
  char_filter?: string[];
3347
3370
  filter?: string[];
3348
3371
  }
3349
- export declare type AnalysisDelimitedPayloadEncoding = 'int' | 'float' | 'identity';
3372
+ export type AnalysisDelimitedPayloadEncoding = 'int' | 'float' | 'identity';
3350
3373
  export interface AnalysisDelimitedPayloadTokenFilter extends AnalysisTokenFilterBase {
3351
3374
  type: 'delimited_payload';
3352
3375
  delimiter?: string;
@@ -3359,7 +3382,7 @@ export interface AnalysisDutchAnalyzer {
3359
3382
  type: 'dutch';
3360
3383
  stopwords?: AnalysisStopWords;
3361
3384
  }
3362
- export declare type AnalysisEdgeNGramSide = 'front' | 'back';
3385
+ export type AnalysisEdgeNGramSide = 'front' | 'back';
3363
3386
  export interface AnalysisEdgeNGramTokenFilter extends AnalysisTokenFilterBase {
3364
3387
  type: 'edge_ngram';
3365
3388
  max_gram?: integer;
@@ -3412,10 +3435,10 @@ export interface AnalysisIcuAnalyzer {
3412
3435
  method: AnalysisIcuNormalizationType;
3413
3436
  mode: AnalysisIcuNormalizationMode;
3414
3437
  }
3415
- export declare type AnalysisIcuCollationAlternate = 'shifted' | 'non-ignorable';
3416
- export declare type AnalysisIcuCollationCaseFirst = 'lower' | 'upper';
3417
- export declare type AnalysisIcuCollationDecomposition = 'no' | 'identical';
3418
- export declare type AnalysisIcuCollationStrength = 'primary' | 'secondary' | 'tertiary' | 'quaternary' | 'identical';
3438
+ export type AnalysisIcuCollationAlternate = 'shifted' | 'non-ignorable';
3439
+ export type AnalysisIcuCollationCaseFirst = 'lower' | 'upper';
3440
+ export type AnalysisIcuCollationDecomposition = 'no' | 'identical';
3441
+ export type AnalysisIcuCollationStrength = 'primary' | 'secondary' | 'tertiary' | 'quaternary' | 'identical';
3419
3442
  export interface AnalysisIcuCollationTokenFilter extends AnalysisTokenFilterBase {
3420
3443
  type: 'icu_collation';
3421
3444
  alternate?: AnalysisIcuCollationAlternate;
@@ -3440,17 +3463,17 @@ export interface AnalysisIcuNormalizationCharFilter extends AnalysisCharFilterBa
3440
3463
  mode?: AnalysisIcuNormalizationMode;
3441
3464
  name?: AnalysisIcuNormalizationType;
3442
3465
  }
3443
- export declare type AnalysisIcuNormalizationMode = 'decompose' | 'compose';
3466
+ export type AnalysisIcuNormalizationMode = 'decompose' | 'compose';
3444
3467
  export interface AnalysisIcuNormalizationTokenFilter extends AnalysisTokenFilterBase {
3445
3468
  type: 'icu_normalizer';
3446
3469
  name: AnalysisIcuNormalizationType;
3447
3470
  }
3448
- export declare type AnalysisIcuNormalizationType = 'nfc' | 'nfkc' | 'nfkc_cf';
3471
+ export type AnalysisIcuNormalizationType = 'nfc' | 'nfkc' | 'nfkc_cf';
3449
3472
  export interface AnalysisIcuTokenizer extends AnalysisTokenizerBase {
3450
3473
  type: 'icu_tokenizer';
3451
3474
  rule_files: string;
3452
3475
  }
3453
- export declare type AnalysisIcuTransformDirection = 'forward' | 'reverse';
3476
+ export type AnalysisIcuTransformDirection = 'forward' | 'reverse';
3454
3477
  export interface AnalysisIcuTransformTokenFilter extends AnalysisTokenFilterBase {
3455
3478
  type: 'icu_transform';
3456
3479
  dir?: AnalysisIcuTransformDirection;
@@ -3459,7 +3482,7 @@ export interface AnalysisIcuTransformTokenFilter extends AnalysisTokenFilterBase
3459
3482
  export interface AnalysisKStemTokenFilter extends AnalysisTokenFilterBase {
3460
3483
  type: 'kstem';
3461
3484
  }
3462
- export declare type AnalysisKeepTypesMode = 'include' | 'exclude';
3485
+ export type AnalysisKeepTypesMode = 'include' | 'exclude';
3463
3486
  export interface AnalysisKeepTypesTokenFilter extends AnalysisTokenFilterBase {
3464
3487
  type: 'keep_types';
3465
3488
  mode?: AnalysisKeepTypesMode;
@@ -3508,7 +3531,7 @@ export interface AnalysisKuromojiStemmerTokenFilter extends AnalysisTokenFilterB
3508
3531
  type: 'kuromoji_stemmer';
3509
3532
  minimum_length: integer;
3510
3533
  }
3511
- export declare type AnalysisKuromojiTokenizationMode = 'normal' | 'search' | 'extended';
3534
+ export type AnalysisKuromojiTokenizationMode = 'normal' | 'search' | 'extended';
3512
3535
  export interface AnalysisKuromojiTokenizer extends AnalysisTokenizerBase {
3513
3536
  type: 'kuromoji_tokenizer';
3514
3537
  discard_punctuation?: boolean;
@@ -3519,7 +3542,7 @@ export interface AnalysisKuromojiTokenizer extends AnalysisTokenizerBase {
3519
3542
  user_dictionary_rules?: string[];
3520
3543
  discard_compound_token?: boolean;
3521
3544
  }
3522
- export declare type AnalysisLanguage = 'Arabic' | 'Armenian' | 'Basque' | 'Brazilian' | 'Bulgarian' | 'Catalan' | 'Chinese' | 'Cjk' | 'Czech' | 'Danish' | 'Dutch' | 'English' | 'Estonian' | 'Finnish' | 'French' | 'Galician' | 'German' | 'Greek' | 'Hindi' | 'Hungarian' | 'Indonesian' | 'Irish' | 'Italian' | 'Latvian' | 'Norwegian' | 'Persian' | 'Portuguese' | 'Romanian' | 'Russian' | 'Sorani' | 'Spanish' | 'Swedish' | 'Turkish' | 'Thai';
3545
+ export type AnalysisLanguage = 'Arabic' | 'Armenian' | 'Basque' | 'Brazilian' | 'Bulgarian' | 'Catalan' | 'Chinese' | 'Cjk' | 'Czech' | 'Danish' | 'Dutch' | 'English' | 'Estonian' | 'Finnish' | 'French' | 'Galician' | 'German' | 'Greek' | 'Hindi' | 'Hungarian' | 'Indonesian' | 'Irish' | 'Italian' | 'Latvian' | 'Norwegian' | 'Persian' | 'Portuguese' | 'Romanian' | 'Russian' | 'Sorani' | 'Spanish' | 'Swedish' | 'Turkish' | 'Thai';
3523
3546
  export interface AnalysisLanguageAnalyzer {
3524
3547
  type: 'language';
3525
3548
  version?: VersionString;
@@ -3581,7 +3604,7 @@ export interface AnalysisNoriAnalyzer {
3581
3604
  stoptags?: string[];
3582
3605
  user_dictionary?: string;
3583
3606
  }
3584
- export declare type AnalysisNoriDecompoundMode = 'discard' | 'none' | 'mixed';
3607
+ export type AnalysisNoriDecompoundMode = 'discard' | 'none' | 'mixed';
3585
3608
  export interface AnalysisNoriPartOfSpeechTokenFilter extends AnalysisTokenFilterBase {
3586
3609
  type: 'nori_part_of_speech';
3587
3610
  stoptags?: string[];
@@ -3593,7 +3616,7 @@ export interface AnalysisNoriTokenizer extends AnalysisTokenizerBase {
3593
3616
  user_dictionary?: string;
3594
3617
  user_dictionary_rules?: string[];
3595
3618
  }
3596
- export declare type AnalysisNormalizer = AnalysisLowercaseNormalizer | AnalysisCustomNormalizer;
3619
+ export type AnalysisNormalizer = AnalysisLowercaseNormalizer | AnalysisCustomNormalizer;
3597
3620
  export interface AnalysisPathHierarchyTokenizer extends AnalysisTokenizerBase {
3598
3621
  type: 'path_hierarchy';
3599
3622
  buffer_size: integer;
@@ -3634,10 +3657,10 @@ export interface AnalysisPatternTokenizer extends AnalysisTokenizerBase {
3634
3657
  group: integer;
3635
3658
  pattern: string;
3636
3659
  }
3637
- export declare type AnalysisPhoneticEncoder = 'metaphone' | 'double_metaphone' | 'soundex' | 'refined_soundex' | 'caverphone1' | 'caverphone2' | 'cologne' | 'nysiis' | 'koelnerphonetik' | 'haasephonetik' | 'beider_morse' | 'daitch_mokotoff';
3638
- export declare type AnalysisPhoneticLanguage = 'any' | 'common' | 'cyrillic' | 'english' | 'french' | 'german' | 'hebrew' | 'hungarian' | 'polish' | 'romanian' | 'russian' | 'spanish';
3639
- export declare type AnalysisPhoneticNameType = 'generic' | 'ashkenazi' | 'sephardic';
3640
- export declare type AnalysisPhoneticRuleType = 'approx' | 'exact';
3660
+ export type AnalysisPhoneticEncoder = 'metaphone' | 'double_metaphone' | 'soundex' | 'refined_soundex' | 'caverphone1' | 'caverphone2' | 'cologne' | 'nysiis' | 'koelnerphonetik' | 'haasephonetik' | 'beider_morse' | 'daitch_mokotoff';
3661
+ export type AnalysisPhoneticLanguage = 'any' | 'common' | 'cyrillic' | 'english' | 'french' | 'german' | 'hebrew' | 'hungarian' | 'polish' | 'romanian' | 'russian' | 'spanish';
3662
+ export type AnalysisPhoneticNameType = 'generic' | 'ashkenazi' | 'sephardic';
3663
+ export type AnalysisPhoneticRuleType = 'approx' | 'exact';
3641
3664
  export interface AnalysisPhoneticTokenFilter extends AnalysisTokenFilterBase {
3642
3665
  type: 'phonetic';
3643
3666
  encoder: AnalysisPhoneticEncoder;
@@ -3679,7 +3702,7 @@ export interface AnalysisSnowballAnalyzer {
3679
3702
  language: AnalysisSnowballLanguage;
3680
3703
  stopwords?: AnalysisStopWords;
3681
3704
  }
3682
- export declare type AnalysisSnowballLanguage = 'Armenian' | 'Basque' | 'Catalan' | 'Danish' | 'Dutch' | 'English' | 'Finnish' | 'French' | 'German' | 'German2' | 'Hungarian' | 'Italian' | 'Kp' | 'Lovins' | 'Norwegian' | 'Porter' | 'Portuguese' | 'Romanian' | 'Russian' | 'Spanish' | 'Swedish' | 'Turkish';
3705
+ export type AnalysisSnowballLanguage = 'Armenian' | 'Basque' | 'Catalan' | 'Danish' | 'Dutch' | 'English' | 'Finnish' | 'French' | 'German' | 'German2' | 'Hungarian' | 'Italian' | 'Kp' | 'Lovins' | 'Norwegian' | 'Porter' | 'Portuguese' | 'Romanian' | 'Russian' | 'Spanish' | 'Swedish' | 'Turkish';
3683
3706
  export interface AnalysisSnowballTokenFilter extends AnalysisTokenFilterBase {
3684
3707
  type: 'snowball';
3685
3708
  language: AnalysisSnowballLanguage;
@@ -3715,8 +3738,8 @@ export interface AnalysisStopTokenFilter extends AnalysisTokenFilterBase {
3715
3738
  stopwords?: AnalysisStopWords;
3716
3739
  stopwords_path?: string;
3717
3740
  }
3718
- export declare type AnalysisStopWords = string | string[];
3719
- export declare type AnalysisSynonymFormat = 'solr' | 'wordnet';
3741
+ export type AnalysisStopWords = string | string[];
3742
+ export type AnalysisSynonymFormat = 'solr' | 'wordnet';
3720
3743
  export interface AnalysisSynonymGraphTokenFilter extends AnalysisTokenFilterBase {
3721
3744
  type: 'synonym_graph';
3722
3745
  expand?: boolean;
@@ -3737,17 +3760,17 @@ export interface AnalysisSynonymTokenFilter extends AnalysisTokenFilterBase {
3737
3760
  tokenizer?: string;
3738
3761
  updateable?: boolean;
3739
3762
  }
3740
- export declare type AnalysisTokenChar = 'letter' | 'digit' | 'whitespace' | 'punctuation' | 'symbol' | 'custom';
3741
- export declare type AnalysisTokenFilter = string | AnalysisTokenFilterDefinition;
3763
+ export type AnalysisTokenChar = 'letter' | 'digit' | 'whitespace' | 'punctuation' | 'symbol' | 'custom';
3764
+ export type AnalysisTokenFilter = string | AnalysisTokenFilterDefinition;
3742
3765
  export interface AnalysisTokenFilterBase {
3743
3766
  version?: VersionString;
3744
3767
  }
3745
- export declare type AnalysisTokenFilterDefinition = AnalysisAsciiFoldingTokenFilter | AnalysisCommonGramsTokenFilter | AnalysisConditionTokenFilter | AnalysisDelimitedPayloadTokenFilter | AnalysisEdgeNGramTokenFilter | AnalysisElisionTokenFilter | AnalysisFingerprintTokenFilter | AnalysisHunspellTokenFilter | AnalysisHyphenationDecompounderTokenFilter | AnalysisKeepTypesTokenFilter | AnalysisKeepWordsTokenFilter | AnalysisKeywordMarkerTokenFilter | AnalysisKStemTokenFilter | AnalysisLengthTokenFilter | AnalysisLimitTokenCountTokenFilter | AnalysisLowercaseTokenFilter | AnalysisMultiplexerTokenFilter | AnalysisNGramTokenFilter | AnalysisNoriPartOfSpeechTokenFilter | AnalysisPatternCaptureTokenFilter | AnalysisPatternReplaceTokenFilter | AnalysisPorterStemTokenFilter | AnalysisPredicateTokenFilter | AnalysisRemoveDuplicatesTokenFilter | AnalysisReverseTokenFilter | AnalysisShingleTokenFilter | AnalysisSnowballTokenFilter | AnalysisStemmerOverrideTokenFilter | AnalysisStemmerTokenFilter | AnalysisStopTokenFilter | AnalysisSynonymGraphTokenFilter | AnalysisSynonymTokenFilter | AnalysisTrimTokenFilter | AnalysisTruncateTokenFilter | AnalysisUniqueTokenFilter | AnalysisUppercaseTokenFilter | AnalysisWordDelimiterGraphTokenFilter | AnalysisWordDelimiterTokenFilter | AnalysisKuromojiStemmerTokenFilter | AnalysisKuromojiReadingFormTokenFilter | AnalysisKuromojiPartOfSpeechTokenFilter | AnalysisIcuTokenizer | AnalysisIcuCollationTokenFilter | AnalysisIcuFoldingTokenFilter | AnalysisIcuNormalizationTokenFilter | AnalysisIcuTransformTokenFilter | AnalysisPhoneticTokenFilter | AnalysisDictionaryDecompounderTokenFilter;
3746
- export declare type AnalysisTokenizer = string | AnalysisTokenizerDefinition;
3768
+ export type AnalysisTokenFilterDefinition = AnalysisAsciiFoldingTokenFilter | AnalysisCommonGramsTokenFilter | AnalysisConditionTokenFilter | AnalysisDelimitedPayloadTokenFilter | AnalysisEdgeNGramTokenFilter | AnalysisElisionTokenFilter | AnalysisFingerprintTokenFilter | AnalysisHunspellTokenFilter | AnalysisHyphenationDecompounderTokenFilter | AnalysisKeepTypesTokenFilter | AnalysisKeepWordsTokenFilter | AnalysisKeywordMarkerTokenFilter | AnalysisKStemTokenFilter | AnalysisLengthTokenFilter | AnalysisLimitTokenCountTokenFilter | AnalysisLowercaseTokenFilter | AnalysisMultiplexerTokenFilter | AnalysisNGramTokenFilter | AnalysisNoriPartOfSpeechTokenFilter | AnalysisPatternCaptureTokenFilter | AnalysisPatternReplaceTokenFilter | AnalysisPorterStemTokenFilter | AnalysisPredicateTokenFilter | AnalysisRemoveDuplicatesTokenFilter | AnalysisReverseTokenFilter | AnalysisShingleTokenFilter | AnalysisSnowballTokenFilter | AnalysisStemmerOverrideTokenFilter | AnalysisStemmerTokenFilter | AnalysisStopTokenFilter | AnalysisSynonymGraphTokenFilter | AnalysisSynonymTokenFilter | AnalysisTrimTokenFilter | AnalysisTruncateTokenFilter | AnalysisUniqueTokenFilter | AnalysisUppercaseTokenFilter | AnalysisWordDelimiterGraphTokenFilter | AnalysisWordDelimiterTokenFilter | AnalysisKuromojiStemmerTokenFilter | AnalysisKuromojiReadingFormTokenFilter | AnalysisKuromojiPartOfSpeechTokenFilter | AnalysisIcuTokenizer | AnalysisIcuCollationTokenFilter | AnalysisIcuFoldingTokenFilter | AnalysisIcuNormalizationTokenFilter | AnalysisIcuTransformTokenFilter | AnalysisPhoneticTokenFilter | AnalysisDictionaryDecompounderTokenFilter;
3769
+ export type AnalysisTokenizer = string | AnalysisTokenizerDefinition;
3747
3770
  export interface AnalysisTokenizerBase {
3748
3771
  version?: VersionString;
3749
3772
  }
3750
- export declare type AnalysisTokenizerDefinition = AnalysisCharGroupTokenizer | AnalysisEdgeNGramTokenizer | AnalysisKeywordTokenizer | AnalysisLetterTokenizer | AnalysisLowercaseTokenizer | AnalysisNGramTokenizer | AnalysisNoriTokenizer | AnalysisPathHierarchyTokenizer | AnalysisStandardTokenizer | AnalysisUaxEmailUrlTokenizer | AnalysisWhitespaceTokenizer | AnalysisKuromojiTokenizer | AnalysisPatternTokenizer | AnalysisIcuTokenizer;
3773
+ export type AnalysisTokenizerDefinition = AnalysisCharGroupTokenizer | AnalysisEdgeNGramTokenizer | AnalysisKeywordTokenizer | AnalysisLetterTokenizer | AnalysisLowercaseTokenizer | AnalysisNGramTokenizer | AnalysisNoriTokenizer | AnalysisPathHierarchyTokenizer | AnalysisStandardTokenizer | AnalysisUaxEmailUrlTokenizer | AnalysisWhitespaceTokenizer | AnalysisKuromojiTokenizer | AnalysisPatternTokenizer | AnalysisIcuTokenizer;
3751
3774
  export interface AnalysisTrimTokenFilter extends AnalysisTokenFilterBase {
3752
3775
  type: 'trim';
3753
3776
  }
@@ -3907,7 +3930,7 @@ export interface MappingDoubleNumberProperty extends MappingNumberPropertyBase {
3907
3930
  export interface MappingDoubleRangeProperty extends MappingRangePropertyBase {
3908
3931
  type: 'double_range';
3909
3932
  }
3910
- export declare type MappingDynamicMapping = boolean | 'strict' | 'runtime' | 'true' | 'false';
3933
+ export type MappingDynamicMapping = boolean | 'strict' | 'runtime' | 'true' | 'false';
3911
3934
  export interface MappingDynamicProperty extends MappingDocValuesPropertyBase {
3912
3935
  type: '{dynamic_property}';
3913
3936
  enabled?: boolean;
@@ -3953,7 +3976,7 @@ export interface MappingFieldMapping {
3953
3976
  export interface MappingFieldNamesField {
3954
3977
  enabled: boolean;
3955
3978
  }
3956
- export declare type MappingFieldType = 'none' | 'geo_point' | 'geo_shape' | 'ip' | 'binary' | 'keyword' | 'text' | 'search_as_you_type' | 'date' | 'date_nanos' | 'boolean' | 'completion' | 'nested' | 'object' | 'murmur3' | 'token_count' | 'percolator' | 'integer' | 'long' | 'short' | 'byte' | 'float' | 'half_float' | 'scaled_float' | 'double' | 'integer_range' | 'float_range' | 'long_range' | 'double_range' | 'date_range' | 'ip_range' | 'alias' | 'join' | 'rank_feature' | 'rank_features' | 'flattened' | 'shape' | 'histogram' | 'constant_keyword' | 'aggregate_metric_double' | 'dense_vector' | 'match_only_text';
3979
+ export type MappingFieldType = 'none' | 'geo_point' | 'geo_shape' | 'ip' | 'binary' | 'keyword' | 'text' | 'search_as_you_type' | 'date' | 'date_nanos' | 'boolean' | 'completion' | 'nested' | 'object' | 'murmur3' | 'token_count' | 'percolator' | 'integer' | 'long' | 'short' | 'byte' | 'float' | 'half_float' | 'scaled_float' | 'double' | 'integer_range' | 'float_range' | 'long_range' | 'double_range' | 'date_range' | 'ip_range' | 'alias' | 'join' | 'rank_feature' | 'rank_features' | 'flattened' | 'shape' | 'histogram' | 'constant_keyword' | 'aggregate_metric_double' | 'dense_vector' | 'match_only_text';
3957
3980
  export interface MappingFlattenedProperty extends MappingPropertyBase {
3958
3981
  boost?: double;
3959
3982
  depth_limit?: integer;
@@ -3973,7 +3996,7 @@ export interface MappingFloatNumberProperty extends MappingNumberPropertyBase {
3973
3996
  export interface MappingFloatRangeProperty extends MappingRangePropertyBase {
3974
3997
  type: 'float_range';
3975
3998
  }
3976
- export declare type MappingGeoOrientation = 'right' | 'RIGHT' | 'counterclockwise' | 'ccw' | 'left' | 'LEFT' | 'clockwise' | 'cw';
3999
+ export type MappingGeoOrientation = 'right' | 'RIGHT' | 'counterclockwise' | 'ccw' | 'left' | 'LEFT' | 'clockwise' | 'cw';
3977
4000
  export interface MappingGeoPointProperty extends MappingDocValuesPropertyBase {
3978
4001
  ignore_malformed?: boolean;
3979
4002
  ignore_z_value?: boolean;
@@ -3988,7 +4011,7 @@ export interface MappingGeoShapeProperty extends MappingDocValuesPropertyBase {
3988
4011
  strategy?: MappingGeoStrategy;
3989
4012
  type: 'geo_shape';
3990
4013
  }
3991
- export declare type MappingGeoStrategy = 'recursive' | 'term';
4014
+ export type MappingGeoStrategy = 'recursive' | 'term';
3992
4015
  export interface MappingHalfFloatNumberProperty extends MappingNumberPropertyBase {
3993
4016
  type: 'half_float';
3994
4017
  null_value?: float;
@@ -4000,7 +4023,7 @@ export interface MappingHistogramProperty extends MappingPropertyBase {
4000
4023
  export interface MappingIndexField {
4001
4024
  enabled: boolean;
4002
4025
  }
4003
- export declare type MappingIndexOptions = 'docs' | 'freqs' | 'positions' | 'offsets';
4026
+ export type MappingIndexOptions = 'docs' | 'freqs' | 'positions' | 'offsets';
4004
4027
  export interface MappingIntegerNumberProperty extends MappingNumberPropertyBase {
4005
4028
  type: 'integer';
4006
4029
  null_value?: integer;
@@ -4051,7 +4074,7 @@ export interface MappingMatchOnlyTextProperty {
4051
4074
  meta?: Record<string, string>;
4052
4075
  copy_to?: Fields;
4053
4076
  }
4054
- export declare type MappingMatchType = 'simple' | 'regex';
4077
+ export type MappingMatchType = 'simple' | 'regex';
4055
4078
  export interface MappingMurmur3HashProperty extends MappingDocValuesPropertyBase {
4056
4079
  type: 'murmur3';
4057
4080
  }
@@ -4075,7 +4098,7 @@ export interface MappingObjectProperty extends MappingCorePropertyBase {
4075
4098
  enabled?: boolean;
4076
4099
  type?: 'object';
4077
4100
  }
4078
- export declare type MappingOnScriptError = 'fail' | 'continue';
4101
+ export type MappingOnScriptError = 'fail' | 'continue';
4079
4102
  export interface MappingPercolatorProperty extends MappingPropertyBase {
4080
4103
  type: 'percolator';
4081
4104
  }
@@ -4085,9 +4108,8 @@ export interface MappingPointProperty extends MappingDocValuesPropertyBase {
4085
4108
  null_value?: string;
4086
4109
  type: 'point';
4087
4110
  }
4088
- export declare type MappingProperty = MappingBinaryProperty | MappingBooleanProperty | MappingDynamicProperty | MappingJoinProperty | MappingKeywordProperty | MappingMatchOnlyTextProperty | MappingPercolatorProperty | MappingRankFeatureProperty | MappingRankFeaturesProperty | MappingSearchAsYouTypeProperty | MappingTextProperty | MappingVersionProperty | MappingWildcardProperty | MappingDateNanosProperty | MappingDateProperty | MappingAggregateMetricDoubleProperty | MappingDenseVectorProperty | MappingFlattenedProperty | MappingNestedProperty | MappingObjectProperty | MappingCompletionProperty | MappingConstantKeywordProperty | MappingFieldAliasProperty | MappingHistogramProperty | MappingIpProperty | MappingMurmur3HashProperty | MappingTokenCountProperty | MappingGeoPointProperty | MappingGeoShapeProperty | MappingPointProperty | MappingShapeProperty | MappingByteNumberProperty | MappingDoubleNumberProperty | MappingFloatNumberProperty | MappingHalfFloatNumberProperty | MappingIntegerNumberProperty | MappingLongNumberProperty | MappingScaledFloatNumberProperty | MappingShortNumberProperty | MappingUnsignedLongNumberProperty | MappingDateRangeProperty | MappingDoubleRangeProperty | MappingFloatRangeProperty | MappingIntegerRangeProperty | MappingIpRangeProperty | MappingLongRangeProperty;
4111
+ export type MappingProperty = MappingBinaryProperty | MappingBooleanProperty | MappingDynamicProperty | MappingJoinProperty | MappingKeywordProperty | MappingMatchOnlyTextProperty | MappingPercolatorProperty | MappingRankFeatureProperty | MappingRankFeaturesProperty | MappingSearchAsYouTypeProperty | MappingTextProperty | MappingVersionProperty | MappingWildcardProperty | MappingDateNanosProperty | MappingDateProperty | MappingAggregateMetricDoubleProperty | MappingDenseVectorProperty | MappingFlattenedProperty | MappingNestedProperty | MappingObjectProperty | MappingCompletionProperty | MappingConstantKeywordProperty | MappingFieldAliasProperty | MappingHistogramProperty | MappingIpProperty | MappingMurmur3HashProperty | MappingTokenCountProperty | MappingGeoPointProperty | MappingGeoShapeProperty | MappingPointProperty | MappingShapeProperty | MappingByteNumberProperty | MappingDoubleNumberProperty | MappingFloatNumberProperty | MappingHalfFloatNumberProperty | MappingIntegerNumberProperty | MappingLongNumberProperty | MappingScaledFloatNumberProperty | MappingShortNumberProperty | MappingUnsignedLongNumberProperty | MappingDateRangeProperty | MappingDoubleRangeProperty | MappingFloatRangeProperty | MappingIntegerRangeProperty | MappingIpRangeProperty | MappingLongRangeProperty;
4089
4112
  export interface MappingPropertyBase {
4090
- local_metadata?: Metadata;
4091
4113
  meta?: Record<string, string>;
4092
4114
  properties?: Record<PropertyName, MappingProperty>;
4093
4115
  ignore_above?: integer;
@@ -4110,12 +4132,20 @@ export interface MappingRoutingField {
4110
4132
  required: boolean;
4111
4133
  }
4112
4134
  export interface MappingRuntimeField {
4135
+ fetch_fields?: (MappingRuntimeFieldFetchFields | Field)[];
4113
4136
  format?: string;
4137
+ input_field?: Field;
4138
+ target_field?: Field;
4139
+ target_index?: IndexName;
4114
4140
  script?: Script;
4115
4141
  type: MappingRuntimeFieldType;
4116
4142
  }
4117
- export declare type MappingRuntimeFieldType = 'boolean' | 'date' | 'double' | 'geo_point' | 'ip' | 'keyword' | 'long';
4118
- export declare type MappingRuntimeFields = Record<Field, MappingRuntimeField>;
4143
+ export interface MappingRuntimeFieldFetchFields {
4144
+ field: Field;
4145
+ format?: string;
4146
+ }
4147
+ export type MappingRuntimeFieldType = 'boolean' | 'date' | 'double' | 'geo_point' | 'ip' | 'keyword' | 'long' | 'lookup';
4148
+ export type MappingRuntimeFields = Record<Field, MappingRuntimeField>;
4119
4149
  export interface MappingScaledFloatNumberProperty extends MappingNumberPropertyBase {
4120
4150
  type: 'scaled_float';
4121
4151
  null_value?: double;
@@ -4154,14 +4184,14 @@ export interface MappingSourceField {
4154
4184
  includes?: string[];
4155
4185
  mode?: MappingSourceFieldMode;
4156
4186
  }
4157
- export declare type MappingSourceFieldMode = 'disabled' | 'stored' | 'synthetic';
4187
+ export type MappingSourceFieldMode = 'disabled' | 'stored' | 'synthetic';
4158
4188
  export interface MappingSuggestContext {
4159
4189
  name: Name;
4160
4190
  path?: Field;
4161
4191
  type: string;
4162
4192
  precision?: integer | string;
4163
4193
  }
4164
- export declare type MappingTermVectorOption = 'no' | 'yes' | 'with_offsets' | 'with_positions' | 'with_positions_offsets' | 'with_positions_offsets_payloads' | 'with_positions_payloads';
4194
+ export type MappingTermVectorOption = 'no' | 'yes' | 'with_offsets' | 'with_positions' | 'with_positions_offsets' | 'with_positions_offsets_payloads' | 'with_positions_payloads';
4165
4195
  export interface MappingTextIndexPrefixes {
4166
4196
  max_chars: integer;
4167
4197
  min_chars: integer;
@@ -4183,7 +4213,7 @@ export interface MappingTextProperty extends MappingCorePropertyBase {
4183
4213
  term_vector?: MappingTermVectorOption;
4184
4214
  type: 'text';
4185
4215
  }
4186
- export declare type MappingTimeSeriesMetricType = 'gauge' | 'counter' | 'summary' | 'histogram';
4216
+ export type MappingTimeSeriesMetricType = 'gauge' | 'counter' | 'summary' | 'histogram';
4187
4217
  export interface MappingTokenCountProperty extends MappingDocValuesPropertyBase {
4188
4218
  analyzer?: string;
4189
4219
  boost?: double;
@@ -4197,7 +4227,7 @@ export interface MappingTypeMapping {
4197
4227
  date_detection?: boolean;
4198
4228
  dynamic?: MappingDynamicMapping;
4199
4229
  dynamic_date_formats?: string[];
4200
- dynamic_templates?: Record<string, MappingDynamicTemplate> | Record<string, MappingDynamicTemplate>[];
4230
+ dynamic_templates?: Record<string, MappingDynamicTemplate>[];
4201
4231
  _field_names?: MappingFieldNamesField;
4202
4232
  index_field?: MappingIndexField;
4203
4233
  _meta?: Metadata;
@@ -4233,8 +4263,8 @@ export interface QueryDslBoostingQuery extends QueryDslQueryBase {
4233
4263
  negative: QueryDslQueryContainer;
4234
4264
  positive: QueryDslQueryContainer;
4235
4265
  }
4236
- export declare type QueryDslChildScoreMode = 'none' | 'avg' | 'sum' | 'max' | 'min';
4237
- export declare type QueryDslCombinedFieldsOperator = 'or' | 'and';
4266
+ export type QueryDslChildScoreMode = 'none' | 'avg' | 'sum' | 'max' | 'min';
4267
+ export type QueryDslCombinedFieldsOperator = 'or' | 'and';
4238
4268
  export interface QueryDslCombinedFieldsQuery extends QueryDslQueryBase {
4239
4269
  fields: Field[];
4240
4270
  query: string;
@@ -4243,7 +4273,7 @@ export interface QueryDslCombinedFieldsQuery extends QueryDslQueryBase {
4243
4273
  minimum_should_match?: MinimumShouldMatch;
4244
4274
  zero_terms_query?: QueryDslCombinedFieldsZeroTerms;
4245
4275
  }
4246
- export declare type QueryDslCombinedFieldsZeroTerms = 'none' | 'all';
4276
+ export type QueryDslCombinedFieldsZeroTerms = 'none' | 'all';
4247
4277
  export interface QueryDslCommonTermsQuery extends QueryDslQueryBase {
4248
4278
  analyzer?: string;
4249
4279
  cutoff_frequency?: double;
@@ -4257,7 +4287,7 @@ export interface QueryDslConstantScoreQuery extends QueryDslQueryBase {
4257
4287
  }
4258
4288
  export interface QueryDslDateDecayFunctionKeys extends QueryDslDecayFunctionBase {
4259
4289
  }
4260
- export declare type QueryDslDateDecayFunction = QueryDslDateDecayFunctionKeys & {
4290
+ export type QueryDslDateDecayFunction = QueryDslDateDecayFunctionKeys & {
4261
4291
  [property: string]: QueryDslDecayPlacement<DateMath, Duration> | QueryDslMultiValueMode;
4262
4292
  };
4263
4293
  export interface QueryDslDateDistanceFeatureQuery extends QueryDslDistanceFeatureQueryBase<DateMath, Duration> {
@@ -4272,7 +4302,7 @@ export interface QueryDslDateRangeQuery extends QueryDslRangeQueryBase {
4272
4302
  format?: DateFormat;
4273
4303
  time_zone?: TimeZone;
4274
4304
  }
4275
- export declare type QueryDslDecayFunction = QueryDslDateDecayFunction | QueryDslNumericDecayFunction | QueryDslGeoDecayFunction;
4305
+ export type QueryDslDecayFunction = QueryDslDateDecayFunction | QueryDslNumericDecayFunction | QueryDslGeoDecayFunction;
4276
4306
  export interface QueryDslDecayFunctionBase {
4277
4307
  multi_value_mode?: QueryDslMultiValueMode;
4278
4308
  }
@@ -4286,7 +4316,7 @@ export interface QueryDslDisMaxQuery extends QueryDslQueryBase {
4286
4316
  queries: QueryDslQueryContainer[];
4287
4317
  tie_breaker?: double;
4288
4318
  }
4289
- export declare type QueryDslDistanceFeatureQuery = QueryDslGeoDistanceFeatureQuery | QueryDslDateDistanceFeatureQuery;
4319
+ export type QueryDslDistanceFeatureQuery = QueryDslGeoDistanceFeatureQuery | QueryDslDateDistanceFeatureQuery;
4290
4320
  export interface QueryDslDistanceFeatureQueryBase<TOrigin = unknown, TDistance = unknown> extends QueryDslQueryBase {
4291
4321
  origin: TOrigin;
4292
4322
  pivot: TDistance;
@@ -4306,14 +4336,14 @@ export interface QueryDslFieldLookup {
4306
4336
  path?: Field;
4307
4337
  routing?: Routing;
4308
4338
  }
4309
- export declare type QueryDslFieldValueFactorModifier = 'none' | 'log' | 'log1p' | 'log2p' | 'ln' | 'ln1p' | 'ln2p' | 'square' | 'sqrt' | 'reciprocal';
4339
+ export type QueryDslFieldValueFactorModifier = 'none' | 'log' | 'log1p' | 'log2p' | 'ln' | 'ln1p' | 'ln2p' | 'square' | 'sqrt' | 'reciprocal';
4310
4340
  export interface QueryDslFieldValueFactorScoreFunction {
4311
4341
  field: Field;
4312
4342
  factor?: double;
4313
4343
  missing?: double;
4314
4344
  modifier?: QueryDslFieldValueFactorModifier;
4315
4345
  }
4316
- export declare type QueryDslFunctionBoostMode = 'multiply' | 'replace' | 'sum' | 'avg' | 'max' | 'min';
4346
+ export type QueryDslFunctionBoostMode = 'multiply' | 'replace' | 'sum' | 'avg' | 'max' | 'min';
4317
4347
  export interface QueryDslFunctionScoreContainer {
4318
4348
  exp?: QueryDslDecayFunction;
4319
4349
  gauss?: QueryDslDecayFunction;
@@ -4324,7 +4354,7 @@ export interface QueryDslFunctionScoreContainer {
4324
4354
  filter?: QueryDslQueryContainer;
4325
4355
  weight?: double;
4326
4356
  }
4327
- export declare type QueryDslFunctionScoreMode = 'multiply' | 'sum' | 'avg' | 'first' | 'max' | 'min';
4357
+ export type QueryDslFunctionScoreMode = 'multiply' | 'sum' | 'avg' | 'first' | 'max' | 'min';
4328
4358
  export interface QueryDslFunctionScoreQuery extends QueryDslQueryBase {
4329
4359
  boost_mode?: QueryDslFunctionBoostMode;
4330
4360
  functions?: QueryDslFunctionScoreContainer[];
@@ -4346,12 +4376,12 @@ export interface QueryDslGeoBoundingBoxQueryKeys extends QueryDslQueryBase {
4346
4376
  validation_method?: QueryDslGeoValidationMethod;
4347
4377
  ignore_unmapped?: boolean;
4348
4378
  }
4349
- export declare type QueryDslGeoBoundingBoxQuery = QueryDslGeoBoundingBoxQueryKeys & {
4379
+ export type QueryDslGeoBoundingBoxQuery = QueryDslGeoBoundingBoxQueryKeys & {
4350
4380
  [property: string]: GeoBounds | QueryDslGeoExecution | QueryDslGeoValidationMethod | boolean | float | string;
4351
4381
  };
4352
4382
  export interface QueryDslGeoDecayFunctionKeys extends QueryDslDecayFunctionBase {
4353
4383
  }
4354
- export declare type QueryDslGeoDecayFunction = QueryDslGeoDecayFunctionKeys & {
4384
+ export type QueryDslGeoDecayFunction = QueryDslGeoDecayFunctionKeys & {
4355
4385
  [property: string]: QueryDslDecayPlacement<GeoLocation, Distance> | QueryDslMultiValueMode;
4356
4386
  };
4357
4387
  export interface QueryDslGeoDistanceFeatureQuery extends QueryDslDistanceFeatureQueryBase<GeoLocation, Distance> {
@@ -4361,10 +4391,10 @@ export interface QueryDslGeoDistanceQueryKeys extends QueryDslQueryBase {
4361
4391
  distance_type?: GeoDistanceType;
4362
4392
  validation_method?: QueryDslGeoValidationMethod;
4363
4393
  }
4364
- export declare type QueryDslGeoDistanceQuery = QueryDslGeoDistanceQueryKeys & {
4394
+ export type QueryDslGeoDistanceQuery = QueryDslGeoDistanceQueryKeys & {
4365
4395
  [property: string]: GeoLocation | Distance | GeoDistanceType | QueryDslGeoValidationMethod | float | string;
4366
4396
  };
4367
- export declare type QueryDslGeoExecution = 'memory' | 'indexed';
4397
+ export type QueryDslGeoExecution = 'memory' | 'indexed';
4368
4398
  export interface QueryDslGeoPolygonPoints {
4369
4399
  points: GeoLocation[];
4370
4400
  }
@@ -4372,7 +4402,7 @@ export interface QueryDslGeoPolygonQueryKeys extends QueryDslQueryBase {
4372
4402
  validation_method?: QueryDslGeoValidationMethod;
4373
4403
  ignore_unmapped?: boolean;
4374
4404
  }
4375
- export declare type QueryDslGeoPolygonQuery = QueryDslGeoPolygonQueryKeys & {
4405
+ export type QueryDslGeoPolygonQuery = QueryDslGeoPolygonQueryKeys & {
4376
4406
  [property: string]: QueryDslGeoPolygonPoints | QueryDslGeoValidationMethod | boolean | float | string;
4377
4407
  };
4378
4408
  export interface QueryDslGeoShapeFieldQuery {
@@ -4383,10 +4413,10 @@ export interface QueryDslGeoShapeFieldQuery {
4383
4413
  export interface QueryDslGeoShapeQueryKeys extends QueryDslQueryBase {
4384
4414
  ignore_unmapped?: boolean;
4385
4415
  }
4386
- export declare type QueryDslGeoShapeQuery = QueryDslGeoShapeQueryKeys & {
4416
+ export type QueryDslGeoShapeQuery = QueryDslGeoShapeQueryKeys & {
4387
4417
  [property: string]: QueryDslGeoShapeFieldQuery | boolean | float | string;
4388
4418
  };
4389
- export declare type QueryDslGeoValidationMethod = 'coerce' | 'ignore_malformed' | 'strict';
4419
+ export type QueryDslGeoValidationMethod = 'coerce' | 'ignore_malformed' | 'strict';
4390
4420
  export interface QueryDslHasChildQuery extends QueryDslQueryBase {
4391
4421
  ignore_unmapped?: boolean;
4392
4422
  inner_hits?: SearchInnerHits;
@@ -4469,7 +4499,7 @@ export interface QueryDslIntervalsWildcard {
4469
4499
  pattern: string;
4470
4500
  use_field?: Field;
4471
4501
  }
4472
- export declare type QueryDslLike = string | QueryDslLikeDocument;
4502
+ export type QueryDslLike = string | QueryDslLikeDocument;
4473
4503
  export interface QueryDslLikeDocument {
4474
4504
  doc?: any;
4475
4505
  fields?: Field[];
@@ -4563,7 +4593,7 @@ export interface QueryDslMultiMatchQuery extends QueryDslQueryBase {
4563
4593
  type?: QueryDslTextQueryType;
4564
4594
  zero_terms_query?: QueryDslZeroTermsQuery;
4565
4595
  }
4566
- export declare type QueryDslMultiValueMode = 'min' | 'max' | 'avg' | 'sum';
4596
+ export type QueryDslMultiValueMode = 'min' | 'max' | 'avg' | 'sum';
4567
4597
  export interface QueryDslNestedQuery extends QueryDslQueryBase {
4568
4598
  ignore_unmapped?: boolean;
4569
4599
  inner_hits?: SearchInnerHits;
@@ -4581,10 +4611,10 @@ export interface QueryDslNumberRangeQuery extends QueryDslRangeQueryBase {
4581
4611
  }
4582
4612
  export interface QueryDslNumericDecayFunctionKeys extends QueryDslDecayFunctionBase {
4583
4613
  }
4584
- export declare type QueryDslNumericDecayFunction = QueryDslNumericDecayFunctionKeys & {
4614
+ export type QueryDslNumericDecayFunction = QueryDslNumericDecayFunctionKeys & {
4585
4615
  [property: string]: QueryDslDecayPlacement<double, double> | QueryDslMultiValueMode;
4586
4616
  };
4587
- export declare type QueryDslOperator = 'and' | 'AND' | 'or' | 'OR';
4617
+ export type QueryDslOperator = 'and' | 'AND' | 'or' | 'OR';
4588
4618
  export interface QueryDslParentIdQuery extends QueryDslQueryBase {
4589
4619
  id?: Id;
4590
4620
  ignore_unmapped?: boolean;
@@ -4706,11 +4736,11 @@ export interface QueryDslRandomScoreFunction {
4706
4736
  field?: Field;
4707
4737
  seed?: long | string;
4708
4738
  }
4709
- export declare type QueryDslRangeQuery = QueryDslDateRangeQuery | QueryDslNumberRangeQuery;
4739
+ export type QueryDslRangeQuery = QueryDslDateRangeQuery | QueryDslNumberRangeQuery;
4710
4740
  export interface QueryDslRangeQueryBase extends QueryDslQueryBase {
4711
4741
  relation?: QueryDslRangeRelation;
4712
4742
  }
4713
- export declare type QueryDslRangeRelation = 'within' | 'contains' | 'intersects';
4743
+ export type QueryDslRangeRelation = 'within' | 'contains' | 'intersects';
4714
4744
  export interface QueryDslRankFeatureFunction {
4715
4745
  }
4716
4746
  export interface QueryDslRankFeatureFunctionLinear {
@@ -4758,11 +4788,11 @@ export interface QueryDslShapeFieldQuery {
4758
4788
  export interface QueryDslShapeQueryKeys extends QueryDslQueryBase {
4759
4789
  ignore_unmapped?: boolean;
4760
4790
  }
4761
- export declare type QueryDslShapeQuery = QueryDslShapeQueryKeys & {
4791
+ export type QueryDslShapeQuery = QueryDslShapeQueryKeys & {
4762
4792
  [property: string]: QueryDslShapeFieldQuery | boolean | float | string;
4763
4793
  };
4764
- export declare type QueryDslSimpleQueryStringFlag = 'NONE' | 'AND' | 'OR' | 'NOT' | 'PREFIX' | 'PHRASE' | 'PRECEDENCE' | 'ESCAPE' | 'WHITESPACE' | 'FUZZY' | 'NEAR' | 'SLOP' | 'ALL';
4765
- export declare type QueryDslSimpleQueryStringFlags = QueryDslSimpleQueryStringFlag | string;
4794
+ export type QueryDslSimpleQueryStringFlag = 'NONE' | 'AND' | 'OR' | 'NOT' | 'PREFIX' | 'PHRASE' | 'PRECEDENCE' | 'ESCAPE' | 'WHITESPACE' | 'FUZZY' | 'NEAR' | 'SLOP' | 'ALL';
4795
+ export type QueryDslSimpleQueryStringFlags = QueryDslSimpleQueryStringFlag | string;
4766
4796
  export interface QueryDslSimpleQueryStringQuery extends QueryDslQueryBase {
4767
4797
  analyzer?: string;
4768
4798
  analyze_wildcard?: boolean;
@@ -4790,7 +4820,7 @@ export interface QueryDslSpanFirstQuery extends QueryDslQueryBase {
4790
4820
  end: integer;
4791
4821
  match: QueryDslSpanQuery;
4792
4822
  }
4793
- export declare type QueryDslSpanGapQuery = Partial<Record<Field, integer>>;
4823
+ export type QueryDslSpanGapQuery = Partial<Record<Field, integer>>;
4794
4824
  export interface QueryDslSpanMultiTermQuery extends QueryDslQueryBase {
4795
4825
  match: QueryDslQueryContainer;
4796
4826
  }
@@ -4840,16 +4870,16 @@ export interface QueryDslTermsLookup {
4840
4870
  }
4841
4871
  export interface QueryDslTermsQueryKeys extends QueryDslQueryBase {
4842
4872
  }
4843
- export declare type QueryDslTermsQuery = QueryDslTermsQueryKeys & {
4873
+ export type QueryDslTermsQuery = QueryDslTermsQueryKeys & {
4844
4874
  [property: string]: QueryDslTermsQueryField | float | string;
4845
4875
  };
4846
- export declare type QueryDslTermsQueryField = FieldValue[] | QueryDslTermsLookup;
4876
+ export type QueryDslTermsQueryField = FieldValue[] | QueryDslTermsLookup;
4847
4877
  export interface QueryDslTermsSetQuery extends QueryDslQueryBase {
4848
4878
  minimum_should_match_field?: Field;
4849
4879
  minimum_should_match_script?: Script;
4850
4880
  terms: string[];
4851
4881
  }
4852
- export declare type QueryDslTextQueryType = 'best_fields' | 'most_fields' | 'cross_fields' | 'phrase' | 'phrase_prefix' | 'bool_prefix';
4882
+ export type QueryDslTextQueryType = 'best_fields' | 'most_fields' | 'cross_fields' | 'phrase' | 'phrase_prefix' | 'bool_prefix';
4853
4883
  export interface QueryDslTypeQuery extends QueryDslQueryBase {
4854
4884
  value: string;
4855
4885
  }
@@ -4862,7 +4892,7 @@ export interface QueryDslWildcardQuery extends QueryDslQueryBase {
4862
4892
  export interface QueryDslWrapperQuery extends QueryDslQueryBase {
4863
4893
  query: string;
4864
4894
  }
4865
- export declare type QueryDslZeroTermsQuery = 'all' | 'none';
4895
+ export type QueryDslZeroTermsQuery = 'all' | 'none';
4866
4896
  export interface AsyncSearchAsyncSearch<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> {
4867
4897
  aggregations?: TAggregations;
4868
4898
  _clusters?: ClusterStatistics;
@@ -4894,18 +4924,18 @@ export interface AsyncSearchAsyncSearchResponseBase {
4894
4924
  export interface AsyncSearchDeleteRequest extends RequestBase {
4895
4925
  id: Id;
4896
4926
  }
4897
- export declare type AsyncSearchDeleteResponse = AcknowledgedResponseBase;
4927
+ export type AsyncSearchDeleteResponse = AcknowledgedResponseBase;
4898
4928
  export interface AsyncSearchGetRequest extends RequestBase {
4899
4929
  id: Id;
4900
4930
  keep_alive?: Duration;
4901
4931
  typed_keys?: boolean;
4902
4932
  wait_for_completion_timeout?: Duration;
4903
4933
  }
4904
- export declare type AsyncSearchGetResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = AsyncSearchAsyncSearchDocumentResponseBase<TDocument, TAggregations>;
4934
+ export type AsyncSearchGetResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = AsyncSearchAsyncSearchDocumentResponseBase<TDocument, TAggregations>;
4905
4935
  export interface AsyncSearchStatusRequest extends RequestBase {
4906
4936
  id: Id;
4907
4937
  }
4908
- export declare type AsyncSearchStatusResponse = AsyncSearchStatusStatusResponseBase;
4938
+ export type AsyncSearchStatusResponse = AsyncSearchStatusStatusResponseBase;
4909
4939
  export interface AsyncSearchStatusStatusResponseBase extends AsyncSearchAsyncSearchResponseBase {
4910
4940
  _shards: ShardStatistics;
4911
4941
  completion_status?: integer;
@@ -4981,7 +5011,7 @@ export interface AsyncSearchSubmitRequest extends RequestBase {
4981
5011
  stats?: string[];
4982
5012
  };
4983
5013
  }
4984
- export declare type AsyncSearchSubmitResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = AsyncSearchAsyncSearchDocumentResponseBase<TDocument, TAggregations>;
5014
+ export type AsyncSearchSubmitResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = AsyncSearchAsyncSearchDocumentResponseBase<TDocument, TAggregations>;
4985
5015
  export interface AutoscalingAutoscalingPolicy {
4986
5016
  roles: string[];
4987
5017
  deciders: Record<string, any>;
@@ -4989,7 +5019,7 @@ export interface AutoscalingAutoscalingPolicy {
4989
5019
  export interface AutoscalingDeleteAutoscalingPolicyRequest extends RequestBase {
4990
5020
  name: Name;
4991
5021
  }
4992
- export declare type AutoscalingDeleteAutoscalingPolicyResponse = AcknowledgedResponseBase;
5022
+ export type AutoscalingDeleteAutoscalingPolicyResponse = AcknowledgedResponseBase;
4993
5023
  export interface AutoscalingGetAutoscalingCapacityAutoscalingCapacity {
4994
5024
  node: AutoscalingGetAutoscalingCapacityAutoscalingResources;
4995
5025
  total: AutoscalingGetAutoscalingCapacityAutoscalingResources;
@@ -5020,25 +5050,25 @@ export interface AutoscalingGetAutoscalingCapacityResponse {
5020
5050
  export interface AutoscalingGetAutoscalingPolicyRequest extends RequestBase {
5021
5051
  name: Name;
5022
5052
  }
5023
- export declare type AutoscalingGetAutoscalingPolicyResponse = AutoscalingAutoscalingPolicy;
5053
+ export type AutoscalingGetAutoscalingPolicyResponse = AutoscalingAutoscalingPolicy;
5024
5054
  export interface AutoscalingPutAutoscalingPolicyRequest extends RequestBase {
5025
5055
  name: Name;
5026
5056
  /** @deprecated The use of the 'body' key has been deprecated, use 'policy' instead. */
5027
5057
  body?: AutoscalingAutoscalingPolicy;
5028
5058
  }
5029
- export declare type AutoscalingPutAutoscalingPolicyResponse = AcknowledgedResponseBase;
5030
- export declare type CatCatAnomalyDetectorColumn = 'assignment_explanation' | 'ae' | 'buckets.count' | 'bc' | 'bucketsCount' | 'buckets.time.exp_avg' | 'btea' | 'bucketsTimeExpAvg' | 'buckets.time.exp_avg_hour' | 'bteah' | 'bucketsTimeExpAvgHour' | 'buckets.time.max' | 'btmax' | 'bucketsTimeMax' | 'buckets.time.min' | 'btmin' | 'bucketsTimeMin' | 'buckets.time.total' | 'btt' | 'bucketsTimeTotal' | 'data.buckets' | 'db' | 'dataBuckets' | 'data.earliest_record' | 'der' | 'dataEarliestRecord' | 'data.empty_buckets' | 'deb' | 'dataEmptyBuckets' | 'data.input_bytes' | 'dib' | 'dataInputBytes' | 'data.input_fields' | 'dif' | 'dataInputFields' | 'data.input_records' | 'dir' | 'dataInputRecords' | 'data.invalid_dates' | 'did' | 'dataInvalidDates' | 'data.last' | 'dl' | 'dataLast' | 'data.last_empty_bucket' | 'dleb' | 'dataLastEmptyBucket' | 'data.last_sparse_bucket' | 'dlsb' | 'dataLastSparseBucket' | 'data.latest_record' | 'dlr' | 'dataLatestRecord' | 'data.missing_fields' | 'dmf' | 'dataMissingFields' | 'data.out_of_order_timestamps' | 'doot' | 'dataOutOfOrderTimestamps' | 'data.processed_fields' | 'dpf' | 'dataProcessedFields' | 'data.processed_records' | 'dpr' | 'dataProcessedRecords' | 'data.sparse_buckets' | 'dsb' | 'dataSparseBuckets' | 'forecasts.memory.avg' | 'fmavg' | 'forecastsMemoryAvg' | 'forecasts.memory.max' | 'fmmax' | 'forecastsMemoryMax' | 'forecasts.memory.min' | 'fmmin' | 'forecastsMemoryMin' | 'forecasts.memory.total' | 'fmt' | 'forecastsMemoryTotal' | 'forecasts.records.avg' | 'fravg' | 'forecastsRecordsAvg' | 'forecasts.records.max' | 'frmax' | 'forecastsRecordsMax' | 'forecasts.records.min' | 'frmin' | 'forecastsRecordsMin' | 'forecasts.records.total' | 'frt' | 'forecastsRecordsTotal' | 'forecasts.time.avg' | 'ftavg' | 'forecastsTimeAvg' | 'forecasts.time.max' | 'ftmax' | 'forecastsTimeMax' | 'forecasts.time.min' | 'ftmin' | 'forecastsTimeMin' | 'forecasts.time.total' | 'ftt' | 'forecastsTimeTotal' | 'forecasts.total' | 'ft' | 'forecastsTotal' | 'id' | 'model.bucket_allocation_failures' | 'mbaf' | 'modelBucketAllocationFailures' | 'model.by_fields' | 'mbf' | 'modelByFields' | 'model.bytes' | 'mb' | 'modelBytes' | 'model.bytes_exceeded' | 'mbe' | 'modelBytesExceeded' | 'model.categorization_status' | 'mcs' | 'modelCategorizationStatus' | 'model.categorized_doc_count' | 'mcdc' | 'modelCategorizedDocCount' | 'model.dead_category_count' | 'mdcc' | 'modelDeadCategoryCount' | 'model.failed_category_count' | 'mdcc' | 'modelFailedCategoryCount' | 'model.frequent_category_count' | 'mfcc' | 'modelFrequentCategoryCount' | 'model.log_time' | 'mlt' | 'modelLogTime' | 'model.memory_limit' | 'mml' | 'modelMemoryLimit' | 'model.memory_status' | 'mms' | 'modelMemoryStatus' | 'model.over_fields' | 'mof' | 'modelOverFields' | 'model.partition_fields' | 'mpf' | 'modelPartitionFields' | 'model.rare_category_count' | 'mrcc' | 'modelRareCategoryCount' | 'model.timestamp' | 'mt' | 'modelTimestamp' | 'model.total_category_count' | 'mtcc' | 'modelTotalCategoryCount' | 'node.address' | 'na' | 'nodeAddress' | 'node.ephemeral_id' | 'ne' | 'nodeEphemeralId' | 'node.id' | 'ni' | 'nodeId' | 'node.name' | 'nn' | 'nodeName' | 'opened_time' | 'ot' | 'state' | 's';
5031
- export declare type CatCatAnonalyDetectorColumns = CatCatAnomalyDetectorColumn | CatCatAnomalyDetectorColumn[];
5032
- export declare type CatCatDatafeedColumn = 'ae' | 'assignment_explanation' | 'bc' | 'buckets.count' | 'bucketsCount' | 'id' | 'na' | 'node.address' | 'nodeAddress' | 'ne' | 'node.ephemeral_id' | 'nodeEphemeralId' | 'ni' | 'node.id' | 'nodeId' | 'nn' | 'node.name' | 'nodeName' | 'sba' | 'search.bucket_avg' | 'searchBucketAvg' | 'sc' | 'search.count' | 'searchCount' | 'seah' | 'search.exp_avg_hour' | 'searchExpAvgHour' | 'st' | 'search.time' | 'searchTime' | 's' | 'state';
5033
- export declare type CatCatDatafeedColumns = CatCatDatafeedColumn | CatCatDatafeedColumn[];
5034
- export declare type CatCatDfaColumn = 'assignment_explanation' | 'ae' | 'create_time' | 'ct' | 'createTime' | 'description' | 'd' | 'dest_index' | 'di' | 'destIndex' | 'failure_reason' | 'fr' | 'failureReason' | 'id' | 'model_memory_limit' | 'mml' | 'modelMemoryLimit' | 'node.address' | 'na' | 'nodeAddress' | 'node.ephemeral_id' | 'ne' | 'nodeEphemeralId' | 'node.id' | 'ni' | 'nodeId' | 'node.name' | 'nn' | 'nodeName' | 'progress' | 'p' | 'source_index' | 'si' | 'sourceIndex' | 'state' | 's' | 'type' | 't' | 'version' | 'v';
5035
- export declare type CatCatDfaColumns = CatCatDfaColumn | CatCatDfaColumn[];
5059
+ export type AutoscalingPutAutoscalingPolicyResponse = AcknowledgedResponseBase;
5060
+ export type CatCatAnomalyDetectorColumn = 'assignment_explanation' | 'ae' | 'buckets.count' | 'bc' | 'bucketsCount' | 'buckets.time.exp_avg' | 'btea' | 'bucketsTimeExpAvg' | 'buckets.time.exp_avg_hour' | 'bteah' | 'bucketsTimeExpAvgHour' | 'buckets.time.max' | 'btmax' | 'bucketsTimeMax' | 'buckets.time.min' | 'btmin' | 'bucketsTimeMin' | 'buckets.time.total' | 'btt' | 'bucketsTimeTotal' | 'data.buckets' | 'db' | 'dataBuckets' | 'data.earliest_record' | 'der' | 'dataEarliestRecord' | 'data.empty_buckets' | 'deb' | 'dataEmptyBuckets' | 'data.input_bytes' | 'dib' | 'dataInputBytes' | 'data.input_fields' | 'dif' | 'dataInputFields' | 'data.input_records' | 'dir' | 'dataInputRecords' | 'data.invalid_dates' | 'did' | 'dataInvalidDates' | 'data.last' | 'dl' | 'dataLast' | 'data.last_empty_bucket' | 'dleb' | 'dataLastEmptyBucket' | 'data.last_sparse_bucket' | 'dlsb' | 'dataLastSparseBucket' | 'data.latest_record' | 'dlr' | 'dataLatestRecord' | 'data.missing_fields' | 'dmf' | 'dataMissingFields' | 'data.out_of_order_timestamps' | 'doot' | 'dataOutOfOrderTimestamps' | 'data.processed_fields' | 'dpf' | 'dataProcessedFields' | 'data.processed_records' | 'dpr' | 'dataProcessedRecords' | 'data.sparse_buckets' | 'dsb' | 'dataSparseBuckets' | 'forecasts.memory.avg' | 'fmavg' | 'forecastsMemoryAvg' | 'forecasts.memory.max' | 'fmmax' | 'forecastsMemoryMax' | 'forecasts.memory.min' | 'fmmin' | 'forecastsMemoryMin' | 'forecasts.memory.total' | 'fmt' | 'forecastsMemoryTotal' | 'forecasts.records.avg' | 'fravg' | 'forecastsRecordsAvg' | 'forecasts.records.max' | 'frmax' | 'forecastsRecordsMax' | 'forecasts.records.min' | 'frmin' | 'forecastsRecordsMin' | 'forecasts.records.total' | 'frt' | 'forecastsRecordsTotal' | 'forecasts.time.avg' | 'ftavg' | 'forecastsTimeAvg' | 'forecasts.time.max' | 'ftmax' | 'forecastsTimeMax' | 'forecasts.time.min' | 'ftmin' | 'forecastsTimeMin' | 'forecasts.time.total' | 'ftt' | 'forecastsTimeTotal' | 'forecasts.total' | 'ft' | 'forecastsTotal' | 'id' | 'model.bucket_allocation_failures' | 'mbaf' | 'modelBucketAllocationFailures' | 'model.by_fields' | 'mbf' | 'modelByFields' | 'model.bytes' | 'mb' | 'modelBytes' | 'model.bytes_exceeded' | 'mbe' | 'modelBytesExceeded' | 'model.categorization_status' | 'mcs' | 'modelCategorizationStatus' | 'model.categorized_doc_count' | 'mcdc' | 'modelCategorizedDocCount' | 'model.dead_category_count' | 'mdcc' | 'modelDeadCategoryCount' | 'model.failed_category_count' | 'mdcc' | 'modelFailedCategoryCount' | 'model.frequent_category_count' | 'mfcc' | 'modelFrequentCategoryCount' | 'model.log_time' | 'mlt' | 'modelLogTime' | 'model.memory_limit' | 'mml' | 'modelMemoryLimit' | 'model.memory_status' | 'mms' | 'modelMemoryStatus' | 'model.over_fields' | 'mof' | 'modelOverFields' | 'model.partition_fields' | 'mpf' | 'modelPartitionFields' | 'model.rare_category_count' | 'mrcc' | 'modelRareCategoryCount' | 'model.timestamp' | 'mt' | 'modelTimestamp' | 'model.total_category_count' | 'mtcc' | 'modelTotalCategoryCount' | 'node.address' | 'na' | 'nodeAddress' | 'node.ephemeral_id' | 'ne' | 'nodeEphemeralId' | 'node.id' | 'ni' | 'nodeId' | 'node.name' | 'nn' | 'nodeName' | 'opened_time' | 'ot' | 'state' | 's';
5061
+ export type CatCatAnonalyDetectorColumns = CatCatAnomalyDetectorColumn | CatCatAnomalyDetectorColumn[];
5062
+ export type CatCatDatafeedColumn = 'ae' | 'assignment_explanation' | 'bc' | 'buckets.count' | 'bucketsCount' | 'id' | 'na' | 'node.address' | 'nodeAddress' | 'ne' | 'node.ephemeral_id' | 'nodeEphemeralId' | 'ni' | 'node.id' | 'nodeId' | 'nn' | 'node.name' | 'nodeName' | 'sba' | 'search.bucket_avg' | 'searchBucketAvg' | 'sc' | 'search.count' | 'searchCount' | 'seah' | 'search.exp_avg_hour' | 'searchExpAvgHour' | 'st' | 'search.time' | 'searchTime' | 's' | 'state';
5063
+ export type CatCatDatafeedColumns = CatCatDatafeedColumn | CatCatDatafeedColumn[];
5064
+ export type CatCatDfaColumn = 'assignment_explanation' | 'ae' | 'create_time' | 'ct' | 'createTime' | 'description' | 'd' | 'dest_index' | 'di' | 'destIndex' | 'failure_reason' | 'fr' | 'failureReason' | 'id' | 'model_memory_limit' | 'mml' | 'modelMemoryLimit' | 'node.address' | 'na' | 'nodeAddress' | 'node.ephemeral_id' | 'ne' | 'nodeEphemeralId' | 'node.id' | 'ni' | 'nodeId' | 'node.name' | 'nn' | 'nodeName' | 'progress' | 'p' | 'source_index' | 'si' | 'sourceIndex' | 'state' | 's' | 'type' | 't' | 'version' | 'v';
5065
+ export type CatCatDfaColumns = CatCatDfaColumn | CatCatDfaColumn[];
5036
5066
  export interface CatCatRequestBase extends RequestBase, SpecUtilsCommonCatQueryParameters {
5037
5067
  }
5038
- export declare type CatCatTrainedModelsColumn = 'create_time' | 'ct' | 'created_by' | 'c' | 'createdBy' | 'data_frame_analytics_id' | 'df' | 'dataFrameAnalytics' | 'description' | 'd' | 'heap_size' | 'hs' | 'modelHeapSize' | 'id' | 'ingest.count' | 'ic' | 'ingestCount' | 'ingest.current' | 'icurr' | 'ingestCurrent' | 'ingest.failed' | 'if' | 'ingestFailed' | 'ingest.pipelines' | 'ip' | 'ingestPipelines' | 'ingest.time' | 'it' | 'ingestTime' | 'license' | 'l' | 'operations' | 'o' | 'modelOperations' | 'version' | 'v';
5039
- export declare type CatCatTrainedModelsColumns = CatCatTrainedModelsColumn | CatCatTrainedModelsColumn[];
5040
- export declare type CatCatTransformColumn = 'changes_last_detection_time' | 'cldt' | 'checkpoint' | 'cp' | 'checkpoint_duration_time_exp_avg' | 'cdtea' | 'checkpointTimeExpAvg' | 'checkpoint_progress' | 'c' | 'checkpointProgress' | 'create_time' | 'ct' | 'createTime' | 'delete_time' | 'dtime' | 'description' | 'd' | 'dest_index' | 'di' | 'destIndex' | 'documents_deleted' | 'docd' | 'documents_indexed' | 'doci' | 'docs_per_second' | 'dps' | 'documents_processed' | 'docp' | 'frequency' | 'f' | 'id' | 'index_failure' | 'if' | 'index_time' | 'itime' | 'index_total' | 'it' | 'indexed_documents_exp_avg' | 'idea' | 'last_search_time' | 'lst' | 'lastSearchTime' | 'max_page_search_size' | 'mpsz' | 'pages_processed' | 'pp' | 'pipeline' | 'p' | 'processed_documents_exp_avg' | 'pdea' | 'processing_time' | 'pt' | 'reason' | 'r' | 'search_failure' | 'sf' | 'search_time' | 'stime' | 'search_total' | 'st' | 'source_index' | 'si' | 'sourceIndex' | 'state' | 's' | 'transform_type' | 'tt' | 'trigger_count' | 'tc' | 'version' | 'v';
5041
- export declare type CatCatTransformColumns = CatCatTransformColumn | CatCatTransformColumn[];
5068
+ export type CatCatTrainedModelsColumn = 'create_time' | 'ct' | 'created_by' | 'c' | 'createdBy' | 'data_frame_analytics_id' | 'df' | 'dataFrameAnalytics' | 'dfid' | 'description' | 'd' | 'heap_size' | 'hs' | 'modelHeapSize' | 'id' | 'ingest.count' | 'ic' | 'ingestCount' | 'ingest.current' | 'icurr' | 'ingestCurrent' | 'ingest.failed' | 'if' | 'ingestFailed' | 'ingest.pipelines' | 'ip' | 'ingestPipelines' | 'ingest.time' | 'it' | 'ingestTime' | 'license' | 'l' | 'operations' | 'o' | 'modelOperations' | 'version' | 'v';
5069
+ export type CatCatTrainedModelsColumns = CatCatTrainedModelsColumn | CatCatTrainedModelsColumn[];
5070
+ export type CatCatTransformColumn = 'changes_last_detection_time' | 'cldt' | 'checkpoint' | 'cp' | 'checkpoint_duration_time_exp_avg' | 'cdtea' | 'checkpointTimeExpAvg' | 'checkpoint_progress' | 'c' | 'checkpointProgress' | 'create_time' | 'ct' | 'createTime' | 'delete_time' | 'dtime' | 'description' | 'd' | 'dest_index' | 'di' | 'destIndex' | 'documents_deleted' | 'docd' | 'documents_indexed' | 'doci' | 'docs_per_second' | 'dps' | 'documents_processed' | 'docp' | 'frequency' | 'f' | 'id' | 'index_failure' | 'if' | 'index_time' | 'itime' | 'index_total' | 'it' | 'indexed_documents_exp_avg' | 'idea' | 'last_search_time' | 'lst' | 'lastSearchTime' | 'max_page_search_size' | 'mpsz' | 'pages_processed' | 'pp' | 'pipeline' | 'p' | 'processed_documents_exp_avg' | 'pdea' | 'processing_time' | 'pt' | 'reason' | 'r' | 'search_failure' | 'sf' | 'search_time' | 'stime' | 'search_total' | 'st' | 'source_index' | 'si' | 'sourceIndex' | 'state' | 's' | 'transform_type' | 'tt' | 'trigger_count' | 'tc' | 'version' | 'v';
5071
+ export type CatCatTransformColumns = CatCatTransformColumn | CatCatTransformColumn[];
5042
5072
  export interface CatAliasesAliasesRecord {
5043
5073
  alias?: string;
5044
5074
  a?: string;
@@ -5062,7 +5092,7 @@ export interface CatAliasesRequest extends CatCatRequestBase {
5062
5092
  name?: Names;
5063
5093
  expand_wildcards?: ExpandWildcards;
5064
5094
  }
5065
- export declare type CatAliasesResponse = CatAliasesAliasesRecord[];
5095
+ export type CatAliasesResponse = CatAliasesAliasesRecord[];
5066
5096
  export interface CatAllocationAllocationRecord {
5067
5097
  shards?: string;
5068
5098
  s?: string;
@@ -5091,7 +5121,7 @@ export interface CatAllocationRequest extends CatCatRequestBase {
5091
5121
  node_id?: NodeIds;
5092
5122
  bytes?: Bytes;
5093
5123
  }
5094
- export declare type CatAllocationResponse = CatAllocationAllocationRecord[];
5124
+ export type CatAllocationResponse = CatAllocationAllocationRecord[];
5095
5125
  export interface CatComponentTemplatesComponentTemplate {
5096
5126
  name: string;
5097
5127
  version: string;
@@ -5104,7 +5134,7 @@ export interface CatComponentTemplatesComponentTemplate {
5104
5134
  export interface CatComponentTemplatesRequest extends CatCatRequestBase {
5105
5135
  name?: string;
5106
5136
  }
5107
- export declare type CatComponentTemplatesResponse = CatComponentTemplatesComponentTemplate[];
5137
+ export type CatComponentTemplatesResponse = CatComponentTemplatesComponentTemplate[];
5108
5138
  export interface CatCountCountRecord {
5109
5139
  epoch?: SpecUtilsStringified<EpochTime<UnitSeconds>>;
5110
5140
  t?: SpecUtilsStringified<EpochTime<UnitSeconds>>;
@@ -5121,7 +5151,7 @@ export interface CatCountCountRecord {
5121
5151
  export interface CatCountRequest extends CatCatRequestBase {
5122
5152
  index?: Indices;
5123
5153
  }
5124
- export declare type CatCountResponse = CatCountCountRecord[];
5154
+ export type CatCountResponse = CatCountCountRecord[];
5125
5155
  export interface CatFielddataFielddataRecord {
5126
5156
  id?: string;
5127
5157
  host?: string;
@@ -5137,7 +5167,7 @@ export interface CatFielddataRequest extends CatCatRequestBase {
5137
5167
  fields?: Fields;
5138
5168
  bytes?: Bytes;
5139
5169
  }
5140
- export declare type CatFielddataResponse = CatFielddataFielddataRecord[];
5170
+ export type CatFielddataResponse = CatFielddataFielddataRecord[];
5141
5171
  export interface CatHealthHealthRecord {
5142
5172
  epoch?: SpecUtilsStringified<EpochTime<UnitSeconds>>;
5143
5173
  time?: SpecUtilsStringified<EpochTime<UnitSeconds>>;
@@ -5189,13 +5219,13 @@ export interface CatHealthHealthRecord {
5189
5219
  export interface CatHealthRequest extends CatCatRequestBase {
5190
5220
  ts?: boolean;
5191
5221
  }
5192
- export declare type CatHealthResponse = CatHealthHealthRecord[];
5222
+ export type CatHealthResponse = CatHealthHealthRecord[];
5193
5223
  export interface CatHelpHelpRecord {
5194
5224
  endpoint: string;
5195
5225
  }
5196
5226
  export interface CatHelpRequest extends CatCatRequestBase {
5197
5227
  }
5198
- export declare type CatHelpResponse = CatHelpHelpRecord[];
5228
+ export type CatHelpResponse = CatHelpHelpRecord[];
5199
5229
  export interface CatIndicesIndicesRecord {
5200
5230
  health?: string;
5201
5231
  h?: string;
@@ -5492,8 +5522,9 @@ export interface CatIndicesRequest extends CatCatRequestBase {
5492
5522
  health?: HealthStatus;
5493
5523
  include_unloaded_segments?: boolean;
5494
5524
  pri?: boolean;
5525
+ time?: TimeUnit;
5495
5526
  }
5496
- export declare type CatIndicesResponse = CatIndicesIndicesRecord[];
5527
+ export type CatIndicesResponse = CatIndicesIndicesRecord[];
5497
5528
  export interface CatMasterMasterRecord {
5498
5529
  id?: string;
5499
5530
  host?: string;
@@ -5504,7 +5535,7 @@ export interface CatMasterMasterRecord {
5504
5535
  }
5505
5536
  export interface CatMasterRequest extends CatCatRequestBase {
5506
5537
  }
5507
- export declare type CatMasterResponse = CatMasterMasterRecord[];
5538
+ export type CatMasterResponse = CatMasterMasterRecord[];
5508
5539
  export interface CatMlDataFrameAnalyticsDataFrameAnalyticsRecord {
5509
5540
  id?: Id;
5510
5541
  type?: string;
@@ -5556,7 +5587,7 @@ export interface CatMlDataFrameAnalyticsRequest extends CatCatRequestBase {
5556
5587
  s?: CatCatDfaColumns;
5557
5588
  time?: Duration;
5558
5589
  }
5559
- export declare type CatMlDataFrameAnalyticsResponse = CatMlDataFrameAnalyticsDataFrameAnalyticsRecord[];
5590
+ export type CatMlDataFrameAnalyticsResponse = CatMlDataFrameAnalyticsDataFrameAnalyticsRecord[];
5560
5591
  export interface CatMlDatafeedsDatafeedsRecord {
5561
5592
  id?: string;
5562
5593
  state?: MlDatafeedState;
@@ -5598,7 +5629,7 @@ export interface CatMlDatafeedsRequest extends CatCatRequestBase {
5598
5629
  s?: CatCatDatafeedColumns;
5599
5630
  time?: TimeUnit;
5600
5631
  }
5601
- export declare type CatMlDatafeedsResponse = CatMlDatafeedsDatafeedsRecord[];
5632
+ export type CatMlDatafeedsResponse = CatMlDatafeedsDatafeedsRecord[];
5602
5633
  export interface CatMlJobsJobsRecord {
5603
5634
  id?: Id;
5604
5635
  state?: MlJobState;
@@ -5783,7 +5814,7 @@ export interface CatMlJobsRequest extends CatCatRequestBase {
5783
5814
  s?: CatCatAnonalyDetectorColumns;
5784
5815
  time?: TimeUnit;
5785
5816
  }
5786
- export declare type CatMlJobsResponse = CatMlJobsJobsRecord[];
5817
+ export type CatMlJobsResponse = CatMlJobsJobsRecord[];
5787
5818
  export interface CatMlTrainedModelsRequest extends CatCatRequestBase {
5788
5819
  model_id?: Id;
5789
5820
  allow_no_match?: boolean;
@@ -5793,7 +5824,7 @@ export interface CatMlTrainedModelsRequest extends CatCatRequestBase {
5793
5824
  from?: integer;
5794
5825
  size?: integer;
5795
5826
  }
5796
- export declare type CatMlTrainedModelsResponse = CatMlTrainedModelsTrainedModelsRecord[];
5827
+ export type CatMlTrainedModelsResponse = CatMlTrainedModelsTrainedModelsRecord[];
5797
5828
  export interface CatMlTrainedModelsTrainedModelsRecord {
5798
5829
  id?: Id;
5799
5830
  created_by?: string;
@@ -5856,7 +5887,7 @@ export interface CatNodeattrsNodeAttributesRecord {
5856
5887
  }
5857
5888
  export interface CatNodeattrsRequest extends CatCatRequestBase {
5858
5889
  }
5859
- export declare type CatNodeattrsResponse = CatNodeattrsNodeAttributesRecord[];
5890
+ export type CatNodeattrsResponse = CatNodeattrsNodeAttributesRecord[];
5860
5891
  export interface CatNodesNodesRecord {
5861
5892
  id?: Id;
5862
5893
  nodeId?: Id;
@@ -6130,7 +6161,7 @@ export interface CatNodesRequest extends CatCatRequestBase {
6130
6161
  bytes?: Bytes;
6131
6162
  full_id?: boolean | string;
6132
6163
  }
6133
- export declare type CatNodesResponse = CatNodesNodesRecord[];
6164
+ export type CatNodesResponse = CatNodesNodesRecord[];
6134
6165
  export interface CatPendingTasksPendingTasksRecord {
6135
6166
  insertOrder?: string;
6136
6167
  o?: string;
@@ -6143,7 +6174,7 @@ export interface CatPendingTasksPendingTasksRecord {
6143
6174
  }
6144
6175
  export interface CatPendingTasksRequest extends CatCatRequestBase {
6145
6176
  }
6146
- export declare type CatPendingTasksResponse = CatPendingTasksPendingTasksRecord[];
6177
+ export type CatPendingTasksResponse = CatPendingTasksPendingTasksRecord[];
6147
6178
  export interface CatPluginsPluginsRecord {
6148
6179
  id?: NodeId;
6149
6180
  name?: Name;
@@ -6159,7 +6190,7 @@ export interface CatPluginsPluginsRecord {
6159
6190
  }
6160
6191
  export interface CatPluginsRequest extends CatCatRequestBase {
6161
6192
  }
6162
- export declare type CatPluginsResponse = CatPluginsPluginsRecord[];
6193
+ export type CatPluginsResponse = CatPluginsPluginsRecord[];
6163
6194
  export interface CatRecoveryRecoveryRecord {
6164
6195
  index?: IndexName;
6165
6196
  i?: IndexName;
@@ -6223,7 +6254,7 @@ export interface CatRecoveryRequest extends CatCatRequestBase {
6223
6254
  bytes?: Bytes;
6224
6255
  detailed?: boolean;
6225
6256
  }
6226
- export declare type CatRecoveryResponse = CatRecoveryRecoveryRecord[];
6257
+ export type CatRecoveryResponse = CatRecoveryRecoveryRecord[];
6227
6258
  export interface CatRepositoriesRepositoriesRecord {
6228
6259
  id?: string;
6229
6260
  repoId?: string;
@@ -6232,12 +6263,12 @@ export interface CatRepositoriesRepositoriesRecord {
6232
6263
  }
6233
6264
  export interface CatRepositoriesRequest extends CatCatRequestBase {
6234
6265
  }
6235
- export declare type CatRepositoriesResponse = CatRepositoriesRepositoriesRecord[];
6266
+ export type CatRepositoriesResponse = CatRepositoriesRepositoriesRecord[];
6236
6267
  export interface CatSegmentsRequest extends CatCatRequestBase {
6237
6268
  index?: Indices;
6238
6269
  bytes?: Bytes;
6239
6270
  }
6240
- export declare type CatSegmentsResponse = CatSegmentsSegmentsRecord[];
6271
+ export type CatSegmentsResponse = CatSegmentsSegmentsRecord[];
6241
6272
  export interface CatSegmentsSegmentsRecord {
6242
6273
  index?: IndexName;
6243
6274
  i?: IndexName;
@@ -6283,7 +6314,7 @@ export interface CatShardsRequest extends CatCatRequestBase {
6283
6314
  index?: Indices;
6284
6315
  bytes?: Bytes;
6285
6316
  }
6286
- export declare type CatShardsResponse = CatShardsShardsRecord[];
6317
+ export type CatShardsResponse = CatShardsShardsRecord[];
6287
6318
  export interface CatShardsShardsRecord {
6288
6319
  index?: string;
6289
6320
  i?: string;
@@ -6501,7 +6532,7 @@ export interface CatSnapshotsRequest extends CatCatRequestBase {
6501
6532
  repository?: Names;
6502
6533
  ignore_unavailable?: boolean;
6503
6534
  }
6504
- export declare type CatSnapshotsResponse = CatSnapshotsSnapshotsRecord[];
6535
+ export type CatSnapshotsResponse = CatSnapshotsSnapshotsRecord[];
6505
6536
  export interface CatSnapshotsSnapshotsRecord {
6506
6537
  id?: string;
6507
6538
  snapshot?: string;
@@ -6541,7 +6572,7 @@ export interface CatTasksRequest extends CatCatRequestBase {
6541
6572
  node_id?: string[];
6542
6573
  parent_task?: long;
6543
6574
  }
6544
- export declare type CatTasksResponse = CatTasksTasksRecord[];
6575
+ export type CatTasksResponse = CatTasksTasksRecord[];
6545
6576
  export interface CatTasksTasksRecord {
6546
6577
  id?: Id;
6547
6578
  action?: string;
@@ -6579,7 +6610,7 @@ export interface CatTasksTasksRecord {
6579
6610
  export interface CatTemplatesRequest extends CatCatRequestBase {
6580
6611
  name?: Name;
6581
6612
  }
6582
- export declare type CatTemplatesResponse = CatTemplatesTemplatesRecord[];
6613
+ export type CatTemplatesResponse = CatTemplatesTemplatesRecord[];
6583
6614
  export interface CatTemplatesTemplatesRecord {
6584
6615
  name?: Name;
6585
6616
  n?: Name;
@@ -6597,7 +6628,7 @@ export interface CatThreadPoolRequest extends CatCatRequestBase {
6597
6628
  thread_pool_patterns?: Names;
6598
6629
  time?: TimeUnit;
6599
6630
  }
6600
- export declare type CatThreadPoolResponse = CatThreadPoolThreadPoolRecord[];
6631
+ export type CatThreadPoolResponse = CatThreadPoolThreadPoolRecord[];
6601
6632
  export interface CatThreadPoolThreadPoolRecord {
6602
6633
  node_name?: string;
6603
6634
  nn?: string;
@@ -6649,7 +6680,7 @@ export interface CatTransformsRequest extends CatCatRequestBase {
6649
6680
  time?: TimeUnit;
6650
6681
  size?: integer;
6651
6682
  }
6652
- export declare type CatTransformsResponse = CatTransformsTransformsRecord[];
6683
+ export type CatTransformsResponse = CatTransformsTransformsRecord[];
6653
6684
  export interface CatTransformsTransformsRecord {
6654
6685
  id?: Id;
6655
6686
  state?: string;
@@ -6771,7 +6802,7 @@ export interface CcrShardStats {
6771
6802
  export interface CcrDeleteAutoFollowPatternRequest extends RequestBase {
6772
6803
  name: Name;
6773
6804
  }
6774
- export declare type CcrDeleteAutoFollowPatternResponse = AcknowledgedResponseBase;
6805
+ export type CcrDeleteAutoFollowPatternResponse = AcknowledgedResponseBase;
6775
6806
  export interface CcrFollowRequest extends RequestBase {
6776
6807
  index: IndexName;
6777
6808
  wait_for_active_shards?: WaitForActiveShards;
@@ -6815,7 +6846,7 @@ export interface CcrFollowInfoFollowerIndexParameters {
6815
6846
  max_write_request_size: string;
6816
6847
  read_poll_timeout: Duration;
6817
6848
  }
6818
- export declare type CcrFollowInfoFollowerIndexStatus = 'active' | 'paused';
6849
+ export type CcrFollowInfoFollowerIndexStatus = 'active' | 'paused';
6819
6850
  export interface CcrFollowInfoRequest extends RequestBase {
6820
6851
  index: Indices;
6821
6852
  }
@@ -6862,11 +6893,11 @@ export interface CcrGetAutoFollowPatternResponse {
6862
6893
  export interface CcrPauseAutoFollowPatternRequest extends RequestBase {
6863
6894
  name: Name;
6864
6895
  }
6865
- export declare type CcrPauseAutoFollowPatternResponse = AcknowledgedResponseBase;
6896
+ export type CcrPauseAutoFollowPatternResponse = AcknowledgedResponseBase;
6866
6897
  export interface CcrPauseFollowRequest extends RequestBase {
6867
6898
  index: IndexName;
6868
6899
  }
6869
- export declare type CcrPauseFollowResponse = AcknowledgedResponseBase;
6900
+ export type CcrPauseFollowResponse = AcknowledgedResponseBase;
6870
6901
  export interface CcrPutAutoFollowPatternRequest extends RequestBase {
6871
6902
  name: Name;
6872
6903
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
@@ -6888,11 +6919,11 @@ export interface CcrPutAutoFollowPatternRequest extends RequestBase {
6888
6919
  max_write_request_size?: ByteSize;
6889
6920
  };
6890
6921
  }
6891
- export declare type CcrPutAutoFollowPatternResponse = AcknowledgedResponseBase;
6922
+ export type CcrPutAutoFollowPatternResponse = AcknowledgedResponseBase;
6892
6923
  export interface CcrResumeAutoFollowPatternRequest extends RequestBase {
6893
6924
  name: Name;
6894
6925
  }
6895
- export declare type CcrResumeAutoFollowPatternResponse = AcknowledgedResponseBase;
6926
+ export type CcrResumeAutoFollowPatternResponse = AcknowledgedResponseBase;
6896
6927
  export interface CcrResumeFollowRequest extends RequestBase {
6897
6928
  index: IndexName;
6898
6929
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
@@ -6909,7 +6940,7 @@ export interface CcrResumeFollowRequest extends RequestBase {
6909
6940
  read_poll_timeout?: Duration;
6910
6941
  };
6911
6942
  }
6912
- export declare type CcrResumeFollowResponse = AcknowledgedResponseBase;
6943
+ export type CcrResumeFollowResponse = AcknowledgedResponseBase;
6913
6944
  export interface CcrStatsAutoFollowStats {
6914
6945
  auto_followed_clusters: CcrStatsAutoFollowedCluster[];
6915
6946
  number_of_failed_follow_indices: long;
@@ -6934,7 +6965,7 @@ export interface CcrStatsResponse {
6934
6965
  export interface CcrUnfollowRequest extends RequestBase {
6935
6966
  index: IndexName;
6936
6967
  }
6937
- export declare type CcrUnfollowResponse = AcknowledgedResponseBase;
6968
+ export type CcrUnfollowResponse = AcknowledgedResponseBase;
6938
6969
  export interface ClusterComponentTemplate {
6939
6970
  name: Name;
6940
6971
  component_template: ClusterComponentTemplateNode;
@@ -6956,7 +6987,7 @@ export interface ClusterAllocationExplainAllocationDecision {
6956
6987
  decision: ClusterAllocationExplainAllocationExplainDecision;
6957
6988
  explanation: string;
6958
6989
  }
6959
- export declare type ClusterAllocationExplainAllocationExplainDecision = 'NO' | 'YES' | 'THROTTLE' | 'ALWAYS';
6990
+ export type ClusterAllocationExplainAllocationExplainDecision = 'NO' | 'YES' | 'THROTTLE' | 'ALWAYS';
6960
6991
  export interface ClusterAllocationExplainAllocationStore {
6961
6992
  allocation_id: string;
6962
6993
  found: boolean;
@@ -6979,7 +7010,7 @@ export interface ClusterAllocationExplainCurrentNode {
6979
7010
  transport_address: TransportAddress;
6980
7011
  weight_ranking: integer;
6981
7012
  }
6982
- export declare type ClusterAllocationExplainDecision = 'yes' | 'no' | 'worse_balance' | 'throttled' | 'awaiting_info' | 'allocation_delayed' | 'no_valid_shard_copy' | 'no_attempt';
7013
+ export type ClusterAllocationExplainDecision = 'yes' | 'no' | 'worse_balance' | 'throttled' | 'awaiting_info' | 'allocation_delayed' | 'no_valid_shard_copy' | 'no_attempt';
6983
7014
  export interface ClusterAllocationExplainDiskUsage {
6984
7015
  path: string;
6985
7016
  total_bytes: long;
@@ -7056,23 +7087,23 @@ export interface ClusterAllocationExplainUnassignedInformation {
7056
7087
  delayed?: boolean;
7057
7088
  allocation_status?: string;
7058
7089
  }
7059
- export declare type ClusterAllocationExplainUnassignedInformationReason = 'INDEX_CREATED' | 'CLUSTER_RECOVERED' | 'INDEX_REOPENED' | 'DANGLING_INDEX_IMPORTED' | 'NEW_INDEX_RESTORED' | 'EXISTING_INDEX_RESTORED' | 'REPLICA_ADDED' | 'ALLOCATION_FAILED' | 'NODE_LEFT' | 'REROUTE_CANCELLED' | 'REINITIALIZED' | 'REALLOCATED_REPLICA' | 'PRIMARY_FAILED' | 'FORCED_EMPTY_PRIMARY' | 'MANUAL_ALLOCATION';
7090
+ export type ClusterAllocationExplainUnassignedInformationReason = 'INDEX_CREATED' | 'CLUSTER_RECOVERED' | 'INDEX_REOPENED' | 'DANGLING_INDEX_IMPORTED' | 'NEW_INDEX_RESTORED' | 'EXISTING_INDEX_RESTORED' | 'REPLICA_ADDED' | 'ALLOCATION_FAILED' | 'NODE_LEFT' | 'REROUTE_CANCELLED' | 'REINITIALIZED' | 'REALLOCATED_REPLICA' | 'PRIMARY_FAILED' | 'FORCED_EMPTY_PRIMARY' | 'MANUAL_ALLOCATION';
7060
7091
  export interface ClusterDeleteComponentTemplateRequest extends RequestBase {
7061
7092
  name: Names;
7062
7093
  master_timeout?: Duration;
7063
7094
  timeout?: Duration;
7064
7095
  }
7065
- export declare type ClusterDeleteComponentTemplateResponse = AcknowledgedResponseBase;
7096
+ export type ClusterDeleteComponentTemplateResponse = AcknowledgedResponseBase;
7066
7097
  export interface ClusterDeleteVotingConfigExclusionsRequest extends RequestBase {
7067
7098
  wait_for_removal?: boolean;
7068
7099
  }
7069
- export declare type ClusterDeleteVotingConfigExclusionsResponse = boolean;
7100
+ export type ClusterDeleteVotingConfigExclusionsResponse = boolean;
7070
7101
  export interface ClusterExistsComponentTemplateRequest extends RequestBase {
7071
7102
  name: Names;
7072
7103
  master_timeout?: Duration;
7073
7104
  local?: boolean;
7074
7105
  }
7075
- export declare type ClusterExistsComponentTemplateResponse = boolean;
7106
+ export type ClusterExistsComponentTemplateResponse = boolean;
7076
7107
  export interface ClusterGetComponentTemplateRequest extends RequestBase {
7077
7108
  name?: Name;
7078
7109
  flat_settings?: boolean;
@@ -7165,7 +7196,7 @@ export interface ClusterPostVotingConfigExclusionsRequest extends RequestBase {
7165
7196
  node_ids?: Ids;
7166
7197
  timeout?: Duration;
7167
7198
  }
7168
- export declare type ClusterPostVotingConfigExclusionsResponse = boolean;
7199
+ export type ClusterPostVotingConfigExclusionsResponse = boolean;
7169
7200
  export interface ClusterPutComponentTemplateRequest extends RequestBase {
7170
7201
  name: Name;
7171
7202
  create?: boolean;
@@ -7173,14 +7204,12 @@ export interface ClusterPutComponentTemplateRequest extends RequestBase {
7173
7204
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
7174
7205
  body?: {
7175
7206
  template: IndicesIndexState;
7176
- aliases?: Record<string, IndicesAliasDefinition>;
7177
- mappings?: MappingTypeMapping;
7178
- settings?: IndicesIndexSettings;
7179
7207
  version?: VersionNumber;
7180
7208
  _meta?: Metadata;
7209
+ allow_auto_create?: boolean;
7181
7210
  };
7182
7211
  }
7183
- export declare type ClusterPutComponentTemplateResponse = AcknowledgedResponseBase;
7212
+ export type ClusterPutComponentTemplateResponse = AcknowledgedResponseBase;
7184
7213
  export interface ClusterPutSettingsRequest extends RequestBase {
7185
7214
  flat_settings?: boolean;
7186
7215
  master_timeout?: Duration;
@@ -7196,7 +7225,7 @@ export interface ClusterPutSettingsResponse {
7196
7225
  persistent: Record<string, any>;
7197
7226
  transient: Record<string, any>;
7198
7227
  }
7199
- export declare type ClusterRemoteInfoClusterRemoteInfo = ClusterRemoteInfoClusterRemoteSniffInfo | ClusterRemoteInfoClusterRemoteProxyInfo;
7228
+ export type ClusterRemoteInfoClusterRemoteInfo = ClusterRemoteInfoClusterRemoteSniffInfo | ClusterRemoteInfoClusterRemoteProxyInfo;
7200
7229
  export interface ClusterRemoteInfoClusterRemoteProxyInfo {
7201
7230
  mode: 'proxy';
7202
7231
  connected: boolean;
@@ -7218,7 +7247,7 @@ export interface ClusterRemoteInfoClusterRemoteSniffInfo {
7218
7247
  }
7219
7248
  export interface ClusterRemoteInfoRequest extends RequestBase {
7220
7249
  }
7221
- export declare type ClusterRemoteInfoResponse = Record<string, ClusterRemoteInfoClusterRemoteInfo>;
7250
+ export type ClusterRemoteInfoResponse = Record<string, ClusterRemoteInfoClusterRemoteInfo>;
7222
7251
  export interface ClusterRerouteCommand {
7223
7252
  cancel?: ClusterRerouteCommandCancelAction;
7224
7253
  move?: ClusterRerouteCommandMoveAction;
@@ -7282,7 +7311,7 @@ export interface ClusterRerouteRerouteParameters {
7282
7311
  export interface ClusterRerouteResponse {
7283
7312
  acknowledged: boolean;
7284
7313
  explanations?: ClusterRerouteRerouteExplanation[];
7285
- state: any;
7314
+ state?: any;
7286
7315
  }
7287
7316
  export interface ClusterStateRequest extends RequestBase {
7288
7317
  metric?: Metrics;
@@ -7296,7 +7325,7 @@ export interface ClusterStateRequest extends RequestBase {
7296
7325
  wait_for_metadata_version?: VersionNumber;
7297
7326
  wait_for_timeout?: Duration;
7298
7327
  }
7299
- export declare type ClusterStateResponse = any;
7328
+ export type ClusterStateResponse = any;
7300
7329
  export interface ClusterStatsCharFilterTypes {
7301
7330
  char_filter_types: ClusterStatsFieldTypes[];
7302
7331
  tokenizer_types: ClusterStatsFieldTypes[];
@@ -7441,11 +7470,18 @@ export interface ClusterStatsFieldTypes {
7441
7470
  name: Name;
7442
7471
  count: integer;
7443
7472
  index_count: integer;
7473
+ indexed_vector_count?: long;
7474
+ indexed_vector_dim_max?: long;
7475
+ indexed_vector_dim_min?: long;
7444
7476
  script_count?: integer;
7445
7477
  }
7446
7478
  export interface ClusterStatsFieldTypesMappings {
7447
7479
  field_types: ClusterStatsFieldTypes[];
7448
7480
  runtime_field_types?: ClusterStatsRuntimeFieldTypes[];
7481
+ total_field_count?: integer;
7482
+ total_deduplicated_field_count?: integer;
7483
+ total_deduplicated_mapping_size?: ByteSize;
7484
+ total_deduplicated_mapping_size_in_bytes?: long;
7449
7485
  }
7450
7486
  export interface ClusterStatsIndexingPressure {
7451
7487
  memory: ClusterStatsIndexingPressureMemory;
@@ -7489,7 +7525,7 @@ export interface ClusterStatsRequest extends RequestBase {
7489
7525
  flat_settings?: boolean;
7490
7526
  timeout?: Duration;
7491
7527
  }
7492
- export declare type ClusterStatsResponse = ClusterStatsStatsResponseBase;
7528
+ export type ClusterStatsResponse = ClusterStatsStatsResponseBase;
7493
7529
  export interface ClusterStatsRuntimeFieldTypes {
7494
7530
  name: Name;
7495
7531
  count: integer;
@@ -7520,14 +7556,14 @@ export interface DanglingIndicesDeleteDanglingIndexRequest extends RequestBase {
7520
7556
  master_timeout?: Duration;
7521
7557
  timeout?: Duration;
7522
7558
  }
7523
- export declare type DanglingIndicesDeleteDanglingIndexResponse = AcknowledgedResponseBase;
7559
+ export type DanglingIndicesDeleteDanglingIndexResponse = AcknowledgedResponseBase;
7524
7560
  export interface DanglingIndicesImportDanglingIndexRequest extends RequestBase {
7525
7561
  index_uuid: Uuid;
7526
7562
  accept_data_loss: boolean;
7527
7563
  master_timeout?: Duration;
7528
7564
  timeout?: Duration;
7529
7565
  }
7530
- export declare type DanglingIndicesImportDanglingIndexResponse = AcknowledgedResponseBase;
7566
+ export type DanglingIndicesImportDanglingIndexResponse = AcknowledgedResponseBase;
7531
7567
  export interface DanglingIndicesListDanglingIndicesDanglingIndex {
7532
7568
  index_name: string;
7533
7569
  index_uuid: string;
@@ -7547,15 +7583,15 @@ export interface EnrichPolicy {
7547
7583
  name?: Name;
7548
7584
  elasticsearch_version?: string;
7549
7585
  }
7550
- export declare type EnrichPolicyType = 'geo_match' | 'match' | 'range';
7586
+ export type EnrichPolicyType = 'geo_match' | 'match' | 'range';
7551
7587
  export interface EnrichSummary {
7552
7588
  config: Partial<Record<EnrichPolicyType, EnrichPolicy>>;
7553
7589
  }
7554
7590
  export interface EnrichDeletePolicyRequest extends RequestBase {
7555
7591
  name: Name;
7556
7592
  }
7557
- export declare type EnrichDeletePolicyResponse = AcknowledgedResponseBase;
7558
- export declare type EnrichExecutePolicyEnrichPolicyPhase = 'SCHEDULED' | 'RUNNING' | 'COMPLETE' | 'FAILED';
7593
+ export type EnrichDeletePolicyResponse = AcknowledgedResponseBase;
7594
+ export type EnrichExecutePolicyEnrichPolicyPhase = 'SCHEDULED' | 'RUNNING' | 'COMPLETE' | 'FAILED';
7559
7595
  export interface EnrichExecutePolicyExecuteEnrichPolicyStatus {
7560
7596
  phase: EnrichExecutePolicyEnrichPolicyPhase;
7561
7597
  }
@@ -7582,7 +7618,7 @@ export interface EnrichPutPolicyRequest extends RequestBase {
7582
7618
  range?: EnrichPolicy;
7583
7619
  };
7584
7620
  }
7585
- export declare type EnrichPutPolicyResponse = AcknowledgedResponseBase;
7621
+ export type EnrichPutPolicyResponse = AcknowledgedResponseBase;
7586
7622
  export interface EnrichStatsCacheStats {
7587
7623
  node_id: Id;
7588
7624
  count: integer;
@@ -7634,13 +7670,13 @@ export interface EqlHitsSequence<TEvent = unknown> {
7634
7670
  export interface EqlDeleteRequest extends RequestBase {
7635
7671
  id: Id;
7636
7672
  }
7637
- export declare type EqlDeleteResponse = AcknowledgedResponseBase;
7673
+ export type EqlDeleteResponse = AcknowledgedResponseBase;
7638
7674
  export interface EqlGetRequest extends RequestBase {
7639
7675
  id: Id;
7640
7676
  keep_alive?: Duration;
7641
7677
  wait_for_completion_timeout?: Duration;
7642
7678
  }
7643
- export declare type EqlGetResponse<TEvent = unknown> = EqlEqlSearchResponseBase<TEvent>;
7679
+ export type EqlGetResponse<TEvent = unknown> = EqlEqlSearchResponseBase<TEvent>;
7644
7680
  export interface EqlGetStatusRequest extends RequestBase {
7645
7681
  id: Id;
7646
7682
  }
@@ -7675,8 +7711,8 @@ export interface EqlSearchRequest extends RequestBase {
7675
7711
  runtime_mappings?: MappingRuntimeFields;
7676
7712
  };
7677
7713
  }
7678
- export declare type EqlSearchResponse<TEvent = unknown> = EqlEqlSearchResponseBase<TEvent>;
7679
- export declare type EqlSearchResultPosition = 'tail' | 'head';
7714
+ export type EqlSearchResponse<TEvent = unknown> = EqlEqlSearchResponseBase<TEvent>;
7715
+ export type EqlSearchResultPosition = 'tail' | 'head';
7680
7716
  export interface FeaturesFeature {
7681
7717
  name: string;
7682
7718
  description: string;
@@ -7691,7 +7727,7 @@ export interface FeaturesResetFeaturesRequest extends RequestBase {
7691
7727
  export interface FeaturesResetFeaturesResponse {
7692
7728
  features: FeaturesFeature[];
7693
7729
  }
7694
- export declare type FleetCheckpoint = long;
7730
+ export type FleetCheckpoint = long;
7695
7731
  export interface FleetGlobalCheckpointsRequest extends RequestBase {
7696
7732
  index: IndexName | IndexAlias;
7697
7733
  wait_for_advance?: boolean;
@@ -7866,7 +7902,7 @@ export interface GraphExploreResponse {
7866
7902
  took: long;
7867
7903
  vertices: GraphVertex[];
7868
7904
  }
7869
- export declare type IlmActions = any;
7905
+ export type IlmActions = any;
7870
7906
  export interface IlmConfigurations {
7871
7907
  rollover?: IndicesRolloverRolloverConditions;
7872
7908
  forcemerge?: IlmForceMergeConfiguration;
@@ -7883,6 +7919,7 @@ export interface IlmPhase {
7883
7919
  export interface IlmPhases {
7884
7920
  cold?: IlmPhase;
7885
7921
  delete?: IlmPhase;
7922
+ frozen?: IlmPhase;
7886
7923
  hot?: IlmPhase;
7887
7924
  warm?: IlmPhase;
7888
7925
  }
@@ -7898,8 +7935,8 @@ export interface IlmDeleteLifecycleRequest extends RequestBase {
7898
7935
  master_timeout?: Duration;
7899
7936
  timeout?: Duration;
7900
7937
  }
7901
- export declare type IlmDeleteLifecycleResponse = AcknowledgedResponseBase;
7902
- export declare type IlmExplainLifecycleLifecycleExplain = IlmExplainLifecycleLifecycleExplainManaged | IlmExplainLifecycleLifecycleExplainUnmanaged;
7938
+ export type IlmDeleteLifecycleResponse = AcknowledgedResponseBase;
7939
+ export type IlmExplainLifecycleLifecycleExplain = IlmExplainLifecycleLifecycleExplainManaged | IlmExplainLifecycleLifecycleExplainUnmanaged;
7903
7940
  export interface IlmExplainLifecycleLifecycleExplainManaged {
7904
7941
  action?: Name;
7905
7942
  action_time?: DateTime;
@@ -7954,7 +7991,7 @@ export interface IlmGetLifecycleRequest extends RequestBase {
7954
7991
  master_timeout?: Duration;
7955
7992
  timeout?: Duration;
7956
7993
  }
7957
- export declare type IlmGetLifecycleResponse = Record<string, IlmGetLifecycleLifecycle>;
7994
+ export type IlmGetLifecycleResponse = Record<string, IlmGetLifecycleLifecycle>;
7958
7995
  export interface IlmGetStatusRequest extends RequestBase {
7959
7996
  }
7960
7997
  export interface IlmGetStatusResponse {
@@ -7985,7 +8022,7 @@ export interface IlmMoveToStepRequest extends RequestBase {
7985
8022
  next_step?: IlmMoveToStepStepKey;
7986
8023
  };
7987
8024
  }
7988
- export declare type IlmMoveToStepResponse = AcknowledgedResponseBase;
8025
+ export type IlmMoveToStepResponse = AcknowledgedResponseBase;
7989
8026
  export interface IlmMoveToStepStepKey {
7990
8027
  action: string;
7991
8028
  name: string;
@@ -8000,7 +8037,7 @@ export interface IlmPutLifecycleRequest extends RequestBase {
8000
8037
  policy?: IlmPolicy;
8001
8038
  };
8002
8039
  }
8003
- export declare type IlmPutLifecycleResponse = AcknowledgedResponseBase;
8040
+ export type IlmPutLifecycleResponse = AcknowledgedResponseBase;
8004
8041
  export interface IlmRemovePolicyRequest extends RequestBase {
8005
8042
  index: IndexName;
8006
8043
  }
@@ -8011,17 +8048,17 @@ export interface IlmRemovePolicyResponse {
8011
8048
  export interface IlmRetryRequest extends RequestBase {
8012
8049
  index: IndexName;
8013
8050
  }
8014
- export declare type IlmRetryResponse = AcknowledgedResponseBase;
8051
+ export type IlmRetryResponse = AcknowledgedResponseBase;
8015
8052
  export interface IlmStartRequest extends RequestBase {
8016
8053
  master_timeout?: Duration;
8017
8054
  timeout?: Duration;
8018
8055
  }
8019
- export declare type IlmStartResponse = AcknowledgedResponseBase;
8056
+ export type IlmStartResponse = AcknowledgedResponseBase;
8020
8057
  export interface IlmStopRequest extends RequestBase {
8021
8058
  master_timeout?: Duration;
8022
8059
  timeout?: Duration;
8023
8060
  }
8024
- export declare type IlmStopResponse = AcknowledgedResponseBase;
8061
+ export type IlmStopResponse = AcknowledgedResponseBase;
8025
8062
  export interface IndicesAlias {
8026
8063
  filter?: QueryDslQueryContainer;
8027
8064
  index_routing?: Routing;
@@ -8073,7 +8110,7 @@ export interface IndicesFielddataFrequencyFilter {
8073
8110
  min: double;
8074
8111
  min_segment_size: integer;
8075
8112
  }
8076
- export declare type IndicesIndexCheckOnStartup = boolean | 'true' | 'false' | 'checksum';
8113
+ export type IndicesIndexCheckOnStartup = boolean | 'true' | 'false' | 'checksum';
8077
8114
  export interface IndicesIndexRouting {
8078
8115
  allocation?: IndicesIndexRoutingAllocation;
8079
8116
  rebalance?: IndicesIndexRoutingRebalance;
@@ -8094,11 +8131,11 @@ export interface IndicesIndexRoutingAllocationInclude {
8094
8131
  export interface IndicesIndexRoutingAllocationInitialRecovery {
8095
8132
  _id?: Id;
8096
8133
  }
8097
- export declare type IndicesIndexRoutingAllocationOptions = 'all' | 'primaries' | 'new_primaries' | 'none';
8134
+ export type IndicesIndexRoutingAllocationOptions = 'all' | 'primaries' | 'new_primaries' | 'none';
8098
8135
  export interface IndicesIndexRoutingRebalance {
8099
8136
  enable: IndicesIndexRoutingRebalanceOptions;
8100
8137
  }
8101
- export declare type IndicesIndexRoutingRebalanceOptions = 'all' | 'primaries' | 'replicas' | 'none';
8138
+ export type IndicesIndexRoutingRebalanceOptions = 'all' | 'primaries' | 'replicas' | 'none';
8102
8139
  export interface IndicesIndexSegmentSort {
8103
8140
  field?: Fields;
8104
8141
  order?: IndicesSegmentSortOrder | IndicesSegmentSortOrder[];
@@ -8171,7 +8208,7 @@ export interface IndicesIndexSettingsKeys {
8171
8208
  indexing_pressure?: IndicesIndexingPressure;
8172
8209
  store?: IndicesStorage;
8173
8210
  }
8174
- export declare type IndicesIndexSettings = IndicesIndexSettingsKeys & {
8211
+ export type IndicesIndexSettings = IndicesIndexSettingsKeys & {
8175
8212
  [property: string]: any;
8176
8213
  };
8177
8214
  export interface IndicesIndexSettingsAnalysis {
@@ -8270,7 +8307,7 @@ export interface IndicesMergeScheduler {
8270
8307
  export interface IndicesNumericFielddata {
8271
8308
  format: IndicesNumericFielddataFormat;
8272
8309
  }
8273
- export declare type IndicesNumericFielddataFormat = 'array' | 'disabled';
8310
+ export type IndicesNumericFielddataFormat = 'array' | 'disabled';
8274
8311
  export interface IndicesQueries {
8275
8312
  cache?: IndicesCacheQueries;
8276
8313
  }
@@ -8280,9 +8317,9 @@ export interface IndicesRetentionLease {
8280
8317
  export interface IndicesSearchIdle {
8281
8318
  after?: Duration;
8282
8319
  }
8283
- export declare type IndicesSegmentSortMissing = '_last' | '_first';
8284
- export declare type IndicesSegmentSortMode = 'min' | 'MIN' | 'max' | 'MAX';
8285
- export declare type IndicesSegmentSortOrder = 'asc' | 'ASC' | 'desc' | 'DESC';
8320
+ export type IndicesSegmentSortMissing = '_last' | '_first';
8321
+ export type IndicesSegmentSortMode = 'min' | 'MIN' | 'max' | 'MAX';
8322
+ export type IndicesSegmentSortOrder = 'asc' | 'ASC' | 'desc' | 'DESC';
8286
8323
  export interface IndicesSettingsAnalyze {
8287
8324
  max_token_count?: integer;
8288
8325
  }
@@ -8364,7 +8401,7 @@ export interface IndicesStorage {
8364
8401
  type: IndicesStorageType;
8365
8402
  allow_mmap?: boolean;
8366
8403
  }
8367
- export declare type IndicesStorageType = 'fs' | '' | 'niofs' | 'mmapfs' | 'hybridfs';
8404
+ export type IndicesStorageType = 'fs' | '' | 'niofs' | 'mmapfs' | 'hybridfs' | string;
8368
8405
  export interface IndicesTemplateMapping {
8369
8406
  aliases: Record<IndexName, IndicesAlias>;
8370
8407
  index_patterns: Name[];
@@ -8379,12 +8416,12 @@ export interface IndicesTranslog {
8379
8416
  flush_threshold_size?: ByteSize;
8380
8417
  retention?: IndicesTranslogRetention;
8381
8418
  }
8382
- export declare type IndicesTranslogDurability = 'request' | 'REQUEST' | 'async' | 'ASYNC';
8419
+ export type IndicesTranslogDurability = 'request' | 'REQUEST' | 'async' | 'ASYNC';
8383
8420
  export interface IndicesTranslogRetention {
8384
8421
  size?: ByteSize;
8385
8422
  age?: Duration;
8386
8423
  }
8387
- export declare type IndicesAddBlockIndicesBlockOptions = 'metadata' | 'read' | 'read_only' | 'write';
8424
+ export type IndicesAddBlockIndicesBlockOptions = 'metadata' | 'read' | 'read_only' | 'write';
8388
8425
  export interface IndicesAddBlockIndicesBlockStatus {
8389
8426
  name: IndexName;
8390
8427
  blocked: boolean;
@@ -8437,7 +8474,7 @@ export interface IndicesAnalyzeExplainAnalyzeTokenKeys {
8437
8474
  token: string;
8438
8475
  type: string;
8439
8476
  }
8440
- export declare type IndicesAnalyzeExplainAnalyzeToken = IndicesAnalyzeExplainAnalyzeTokenKeys & {
8477
+ export type IndicesAnalyzeExplainAnalyzeToken = IndicesAnalyzeExplainAnalyzeTokenKeys & {
8441
8478
  [property: string]: any;
8442
8479
  };
8443
8480
  export interface IndicesAnalyzeRequest extends RequestBase {
@@ -8459,7 +8496,7 @@ export interface IndicesAnalyzeResponse {
8459
8496
  detail?: IndicesAnalyzeAnalyzeDetail;
8460
8497
  tokens?: IndicesAnalyzeAnalyzeToken[];
8461
8498
  }
8462
- export declare type IndicesAnalyzeTextToAnalyze = string | string[];
8499
+ export type IndicesAnalyzeTextToAnalyze = string | string[];
8463
8500
  export interface IndicesAnalyzeTokenDetail {
8464
8501
  name: string;
8465
8502
  tokens: IndicesAnalyzeExplainAnalyzeToken[];
@@ -8474,7 +8511,7 @@ export interface IndicesClearCacheRequest extends RequestBase {
8474
8511
  query?: boolean;
8475
8512
  request?: boolean;
8476
8513
  }
8477
- export declare type IndicesClearCacheResponse = ShardsOperationResponseBase;
8514
+ export type IndicesClearCacheResponse = ShardsOperationResponseBase;
8478
8515
  export interface IndicesCloneRequest extends RequestBase {
8479
8516
  index: IndexName;
8480
8517
  target: Name;
@@ -8533,7 +8570,7 @@ export interface IndicesCreateResponse {
8533
8570
  export interface IndicesCreateDataStreamRequest extends RequestBase {
8534
8571
  name: DataStreamName;
8535
8572
  }
8536
- export declare type IndicesCreateDataStreamResponse = AcknowledgedResponseBase;
8573
+ export type IndicesCreateDataStreamResponse = AcknowledgedResponseBase;
8537
8574
  export interface IndicesDataStreamsStatsDataStreamsStatsItem {
8538
8575
  backing_indices: integer;
8539
8576
  data_stream: Name;
@@ -8561,31 +8598,31 @@ export interface IndicesDeleteRequest extends RequestBase {
8561
8598
  master_timeout?: Duration;
8562
8599
  timeout?: Duration;
8563
8600
  }
8564
- export declare type IndicesDeleteResponse = IndicesResponseBase;
8601
+ export type IndicesDeleteResponse = IndicesResponseBase;
8565
8602
  export interface IndicesDeleteAliasRequest extends RequestBase {
8566
8603
  index: Indices;
8567
8604
  name: Names;
8568
8605
  master_timeout?: Duration;
8569
8606
  timeout?: Duration;
8570
8607
  }
8571
- export declare type IndicesDeleteAliasResponse = AcknowledgedResponseBase;
8608
+ export type IndicesDeleteAliasResponse = AcknowledgedResponseBase;
8572
8609
  export interface IndicesDeleteDataStreamRequest extends RequestBase {
8573
8610
  name: DataStreamNames;
8574
8611
  expand_wildcards?: ExpandWildcards;
8575
8612
  }
8576
- export declare type IndicesDeleteDataStreamResponse = AcknowledgedResponseBase;
8613
+ export type IndicesDeleteDataStreamResponse = AcknowledgedResponseBase;
8577
8614
  export interface IndicesDeleteIndexTemplateRequest extends RequestBase {
8578
8615
  name: Names;
8579
8616
  master_timeout?: Duration;
8580
8617
  timeout?: Duration;
8581
8618
  }
8582
- export declare type IndicesDeleteIndexTemplateResponse = AcknowledgedResponseBase;
8619
+ export type IndicesDeleteIndexTemplateResponse = AcknowledgedResponseBase;
8583
8620
  export interface IndicesDeleteTemplateRequest extends RequestBase {
8584
8621
  name: Name;
8585
8622
  master_timeout?: Duration;
8586
8623
  timeout?: Duration;
8587
8624
  }
8588
- export declare type IndicesDeleteTemplateResponse = AcknowledgedResponseBase;
8625
+ export type IndicesDeleteTemplateResponse = AcknowledgedResponseBase;
8589
8626
  export interface IndicesDiskUsageRequest extends RequestBase {
8590
8627
  index: Indices;
8591
8628
  allow_no_indices?: boolean;
@@ -8594,14 +8631,14 @@ export interface IndicesDiskUsageRequest extends RequestBase {
8594
8631
  ignore_unavailable?: boolean;
8595
8632
  run_expensive_tasks?: boolean;
8596
8633
  }
8597
- export declare type IndicesDiskUsageResponse = any;
8634
+ export type IndicesDiskUsageResponse = any;
8598
8635
  export interface IndicesDownsampleRequest extends RequestBase {
8599
8636
  index: IndexName;
8600
8637
  target_index: IndexName;
8601
8638
  /** @deprecated The use of the 'body' key has been deprecated, use 'config' instead. */
8602
8639
  body?: IndicesDownsampleConfig;
8603
8640
  }
8604
- export declare type IndicesDownsampleResponse = any;
8641
+ export type IndicesDownsampleResponse = any;
8605
8642
  export interface IndicesExistsRequest extends RequestBase {
8606
8643
  index: Indices;
8607
8644
  allow_no_indices?: boolean;
@@ -8611,7 +8648,7 @@ export interface IndicesExistsRequest extends RequestBase {
8611
8648
  include_defaults?: boolean;
8612
8649
  local?: boolean;
8613
8650
  }
8614
- export declare type IndicesExistsResponse = boolean;
8651
+ export type IndicesExistsResponse = boolean;
8615
8652
  export interface IndicesExistsAliasRequest extends RequestBase {
8616
8653
  name: Names;
8617
8654
  index?: Indices;
@@ -8620,19 +8657,19 @@ export interface IndicesExistsAliasRequest extends RequestBase {
8620
8657
  ignore_unavailable?: boolean;
8621
8658
  local?: boolean;
8622
8659
  }
8623
- export declare type IndicesExistsAliasResponse = boolean;
8660
+ export type IndicesExistsAliasResponse = boolean;
8624
8661
  export interface IndicesExistsIndexTemplateRequest extends RequestBase {
8625
8662
  name: Name;
8626
8663
  master_timeout?: Duration;
8627
8664
  }
8628
- export declare type IndicesExistsIndexTemplateResponse = boolean;
8665
+ export type IndicesExistsIndexTemplateResponse = boolean;
8629
8666
  export interface IndicesExistsTemplateRequest extends RequestBase {
8630
8667
  name: Names;
8631
8668
  flat_settings?: boolean;
8632
8669
  local?: boolean;
8633
8670
  master_timeout?: Duration;
8634
8671
  }
8635
- export declare type IndicesExistsTemplateResponse = boolean;
8672
+ export type IndicesExistsTemplateResponse = boolean;
8636
8673
  export interface IndicesFieldUsageStatsFieldSummary {
8637
8674
  any: uint;
8638
8675
  stored_fields: uint;
@@ -8646,7 +8683,7 @@ export interface IndicesFieldUsageStatsFieldSummary {
8646
8683
  export interface IndicesFieldUsageStatsFieldsUsageBodyKeys {
8647
8684
  _shards: ShardStatistics;
8648
8685
  }
8649
- export declare type IndicesFieldUsageStatsFieldsUsageBody = IndicesFieldUsageStatsFieldsUsageBodyKeys & {
8686
+ export type IndicesFieldUsageStatsFieldsUsageBody = IndicesFieldUsageStatsFieldsUsageBodyKeys & {
8650
8687
  [property: string]: IndicesFieldUsageStatsUsageStatsIndex | ShardStatistics;
8651
8688
  };
8652
8689
  export interface IndicesFieldUsageStatsInvertedIndex {
@@ -8668,7 +8705,7 @@ export interface IndicesFieldUsageStatsRequest extends RequestBase {
8668
8705
  timeout?: Duration;
8669
8706
  wait_for_active_shards?: WaitForActiveShards;
8670
8707
  }
8671
- export declare type IndicesFieldUsageStatsResponse = IndicesFieldUsageStatsFieldsUsageBody;
8708
+ export type IndicesFieldUsageStatsResponse = IndicesFieldUsageStatsFieldsUsageBody;
8672
8709
  export interface IndicesFieldUsageStatsShardsStats {
8673
8710
  all_fields: IndicesFieldUsageStatsFieldSummary;
8674
8711
  fields: Record<Field, IndicesFieldUsageStatsFieldSummary>;
@@ -8690,7 +8727,7 @@ export interface IndicesFlushRequest extends RequestBase {
8690
8727
  ignore_unavailable?: boolean;
8691
8728
  wait_if_ongoing?: boolean;
8692
8729
  }
8693
- export declare type IndicesFlushResponse = ShardsOperationResponseBase;
8730
+ export type IndicesFlushResponse = ShardsOperationResponseBase;
8694
8731
  export interface IndicesForcemergeRequest extends RequestBase {
8695
8732
  index?: Indices;
8696
8733
  allow_no_indices?: boolean;
@@ -8701,12 +8738,12 @@ export interface IndicesForcemergeRequest extends RequestBase {
8701
8738
  only_expunge_deletes?: boolean;
8702
8739
  wait_for_completion?: boolean;
8703
8740
  }
8704
- export declare type IndicesForcemergeResponse = IndicesForcemergeForceMergeResponseBody;
8741
+ export type IndicesForcemergeResponse = IndicesForcemergeForceMergeResponseBody;
8705
8742
  export interface IndicesForcemergeForceMergeResponseBody extends ShardsOperationResponseBase {
8706
8743
  task?: string;
8707
8744
  }
8708
- export declare type IndicesGetFeature = 'aliases' | 'mappings' | 'settings';
8709
- export declare type IndicesGetFeatures = IndicesGetFeature | IndicesGetFeature[];
8745
+ export type IndicesGetFeature = 'aliases' | 'mappings' | 'settings';
8746
+ export type IndicesGetFeatures = IndicesGetFeature | IndicesGetFeature[];
8710
8747
  export interface IndicesGetRequest extends RequestBase {
8711
8748
  index: Indices;
8712
8749
  allow_no_indices?: boolean;
@@ -8718,7 +8755,7 @@ export interface IndicesGetRequest extends RequestBase {
8718
8755
  master_timeout?: Duration;
8719
8756
  features?: IndicesGetFeatures;
8720
8757
  }
8721
- export declare type IndicesGetResponse = Record<IndexName, IndicesIndexState>;
8758
+ export type IndicesGetResponse = Record<IndexName, IndicesIndexState>;
8722
8759
  export interface IndicesGetAliasIndexAliases {
8723
8760
  aliases: Record<string, IndicesAliasDefinition>;
8724
8761
  }
@@ -8730,7 +8767,7 @@ export interface IndicesGetAliasRequest extends RequestBase {
8730
8767
  ignore_unavailable?: boolean;
8731
8768
  local?: boolean;
8732
8769
  }
8733
- export declare type IndicesGetAliasResponse = Record<IndexName, IndicesGetAliasIndexAliases>;
8770
+ export type IndicesGetAliasResponse = Record<IndexName, IndicesGetAliasIndexAliases>;
8734
8771
  export interface IndicesGetDataStreamRequest extends RequestBase {
8735
8772
  name?: DataStreamNames;
8736
8773
  expand_wildcards?: ExpandWildcards;
@@ -8747,7 +8784,7 @@ export interface IndicesGetFieldMappingRequest extends RequestBase {
8747
8784
  include_defaults?: boolean;
8748
8785
  local?: boolean;
8749
8786
  }
8750
- export declare type IndicesGetFieldMappingResponse = Record<IndexName, IndicesGetFieldMappingTypeFieldMappings>;
8787
+ export type IndicesGetFieldMappingResponse = Record<IndexName, IndicesGetFieldMappingTypeFieldMappings>;
8751
8788
  export interface IndicesGetFieldMappingTypeFieldMappings {
8752
8789
  mappings: Record<Field, MappingFieldMapping>;
8753
8790
  }
@@ -8776,7 +8813,7 @@ export interface IndicesGetMappingRequest extends RequestBase {
8776
8813
  local?: boolean;
8777
8814
  master_timeout?: Duration;
8778
8815
  }
8779
- export declare type IndicesGetMappingResponse = Record<IndexName, IndicesGetMappingIndexMappingRecord>;
8816
+ export type IndicesGetMappingResponse = Record<IndexName, IndicesGetMappingIndexMappingRecord>;
8780
8817
  export interface IndicesGetSettingsRequest extends RequestBase {
8781
8818
  index?: Indices;
8782
8819
  name?: Names;
@@ -8788,18 +8825,18 @@ export interface IndicesGetSettingsRequest extends RequestBase {
8788
8825
  local?: boolean;
8789
8826
  master_timeout?: Duration;
8790
8827
  }
8791
- export declare type IndicesGetSettingsResponse = Record<IndexName, IndicesIndexState>;
8828
+ export type IndicesGetSettingsResponse = Record<IndexName, IndicesIndexState>;
8792
8829
  export interface IndicesGetTemplateRequest extends RequestBase {
8793
8830
  name?: Names;
8794
8831
  flat_settings?: boolean;
8795
8832
  local?: boolean;
8796
8833
  master_timeout?: Duration;
8797
8834
  }
8798
- export declare type IndicesGetTemplateResponse = Record<string, IndicesTemplateMapping>;
8835
+ export type IndicesGetTemplateResponse = Record<string, IndicesTemplateMapping>;
8799
8836
  export interface IndicesMigrateToDataStreamRequest extends RequestBase {
8800
8837
  name: IndexName;
8801
8838
  }
8802
- export declare type IndicesMigrateToDataStreamResponse = AcknowledgedResponseBase;
8839
+ export type IndicesMigrateToDataStreamResponse = AcknowledgedResponseBase;
8803
8840
  export interface IndicesModifyDataStreamAction {
8804
8841
  add_backing_index?: IndicesModifyDataStreamIndexAndDataStreamAction;
8805
8842
  remove_backing_index?: IndicesModifyDataStreamIndexAndDataStreamAction;
@@ -8814,7 +8851,7 @@ export interface IndicesModifyDataStreamRequest extends RequestBase {
8814
8851
  actions: IndicesModifyDataStreamAction[];
8815
8852
  };
8816
8853
  }
8817
- export declare type IndicesModifyDataStreamResponse = AcknowledgedResponseBase;
8854
+ export type IndicesModifyDataStreamResponse = AcknowledgedResponseBase;
8818
8855
  export interface IndicesOpenRequest extends RequestBase {
8819
8856
  index: Indices;
8820
8857
  allow_no_indices?: boolean;
@@ -8831,7 +8868,7 @@ export interface IndicesOpenResponse {
8831
8868
  export interface IndicesPromoteDataStreamRequest extends RequestBase {
8832
8869
  name: IndexName;
8833
8870
  }
8834
- export declare type IndicesPromoteDataStreamResponse = any;
8871
+ export type IndicesPromoteDataStreamResponse = any;
8835
8872
  export interface IndicesPutAliasRequest extends RequestBase {
8836
8873
  index: Indices;
8837
8874
  name: Name;
@@ -8846,7 +8883,7 @@ export interface IndicesPutAliasRequest extends RequestBase {
8846
8883
  search_routing?: Routing;
8847
8884
  };
8848
8885
  }
8849
- export declare type IndicesPutAliasResponse = AcknowledgedResponseBase;
8886
+ export type IndicesPutAliasResponse = AcknowledgedResponseBase;
8850
8887
  export interface IndicesPutIndexTemplateIndexTemplateMapping {
8851
8888
  aliases?: Record<IndexName, IndicesAlias>;
8852
8889
  mappings?: MappingTypeMapping;
@@ -8866,7 +8903,7 @@ export interface IndicesPutIndexTemplateRequest extends RequestBase {
8866
8903
  _meta?: Metadata;
8867
8904
  };
8868
8905
  }
8869
- export declare type IndicesPutIndexTemplateResponse = AcknowledgedResponseBase;
8906
+ export type IndicesPutIndexTemplateResponse = AcknowledgedResponseBase;
8870
8907
  export interface IndicesPutMappingRequest extends RequestBase {
8871
8908
  index: Indices;
8872
8909
  allow_no_indices?: boolean;
@@ -8890,7 +8927,7 @@ export interface IndicesPutMappingRequest extends RequestBase {
8890
8927
  runtime?: MappingRuntimeFields;
8891
8928
  };
8892
8929
  }
8893
- export declare type IndicesPutMappingResponse = IndicesResponseBase;
8930
+ export type IndicesPutMappingResponse = IndicesResponseBase;
8894
8931
  export interface IndicesPutSettingsRequest extends RequestBase {
8895
8932
  index?: Indices;
8896
8933
  allow_no_indices?: boolean;
@@ -8903,7 +8940,7 @@ export interface IndicesPutSettingsRequest extends RequestBase {
8903
8940
  /** @deprecated The use of the 'body' key has been deprecated, use 'settings' instead. */
8904
8941
  body?: IndicesIndexSettings;
8905
8942
  }
8906
- export declare type IndicesPutSettingsResponse = AcknowledgedResponseBase;
8943
+ export type IndicesPutSettingsResponse = AcknowledgedResponseBase;
8907
8944
  export interface IndicesPutTemplateRequest extends RequestBase {
8908
8945
  name: Name;
8909
8946
  create?: boolean;
@@ -8920,7 +8957,7 @@ export interface IndicesPutTemplateRequest extends RequestBase {
8920
8957
  version?: VersionNumber;
8921
8958
  };
8922
8959
  }
8923
- export declare type IndicesPutTemplateResponse = AcknowledgedResponseBase;
8960
+ export type IndicesPutTemplateResponse = AcknowledgedResponseBase;
8924
8961
  export interface IndicesRecoveryFileDetails {
8925
8962
  length: long;
8926
8963
  name: string;
@@ -8983,7 +9020,7 @@ export interface IndicesRecoveryRequest extends RequestBase {
8983
9020
  active_only?: boolean;
8984
9021
  detailed?: boolean;
8985
9022
  }
8986
- export declare type IndicesRecoveryResponse = Record<IndexName, IndicesRecoveryRecoveryStatus>;
9023
+ export type IndicesRecoveryResponse = Record<IndexName, IndicesRecoveryRecoveryStatus>;
8987
9024
  export interface IndicesRecoveryShardRecovery {
8988
9025
  id: long;
8989
9026
  index: IndicesRecoveryRecoveryIndexStatus;
@@ -9022,7 +9059,7 @@ export interface IndicesRefreshRequest extends RequestBase {
9022
9059
  expand_wildcards?: ExpandWildcards;
9023
9060
  ignore_unavailable?: boolean;
9024
9061
  }
9025
- export declare type IndicesRefreshResponse = ShardsOperationResponseBase;
9062
+ export type IndicesRefreshResponse = ShardsOperationResponseBase;
9026
9063
  export interface IndicesReloadSearchAnalyzersReloadDetails {
9027
9064
  index: string;
9028
9065
  reloaded_analyzers: string[];
@@ -9093,10 +9130,13 @@ export interface IndicesRolloverRolloverConditions {
9093
9130
  min_docs?: long;
9094
9131
  max_docs?: long;
9095
9132
  max_size?: ByteSize;
9133
+ max_size_bytes?: long;
9096
9134
  min_size?: ByteSize;
9097
- max_size_bytes?: ByteSize;
9135
+ min_size_bytes?: long;
9098
9136
  max_primary_shard_size?: ByteSize;
9137
+ max_primary_shard_size_bytes?: long;
9099
9138
  min_primary_shard_size?: ByteSize;
9139
+ min_primary_shard_size_bytes?: long;
9100
9140
  max_primary_shard_docs?: long;
9101
9141
  min_primary_shard_docs?: long;
9102
9142
  }
@@ -9120,7 +9160,6 @@ export interface IndicesSegmentsSegment {
9120
9160
  compound: boolean;
9121
9161
  deleted_docs: long;
9122
9162
  generation: integer;
9123
- memory_in_bytes: double;
9124
9163
  search: boolean;
9125
9164
  size_in_bytes: double;
9126
9165
  num_docs: long;
@@ -9150,22 +9189,28 @@ export interface IndicesShardStoresRequest extends RequestBase {
9150
9189
  export interface IndicesShardStoresResponse {
9151
9190
  indices: Record<IndexName, IndicesShardStoresIndicesShardStores>;
9152
9191
  }
9153
- export interface IndicesShardStoresShardStore {
9192
+ export interface IndicesShardStoresShardStoreKeys {
9154
9193
  allocation: IndicesShardStoresShardStoreAllocation;
9155
- allocation_id: Id;
9156
- attributes: Record<string, any>;
9157
- id: Id;
9158
- legacy_version: VersionNumber;
9159
- name: Name;
9160
- store_exception: IndicesShardStoresShardStoreException;
9161
- transport_address: TransportAddress;
9194
+ allocation_id?: Id;
9195
+ store_exception?: IndicesShardStoresShardStoreException;
9162
9196
  }
9163
- export declare type IndicesShardStoresShardStoreAllocation = 'primary' | 'replica' | 'unused';
9197
+ export type IndicesShardStoresShardStore = IndicesShardStoresShardStoreKeys & {
9198
+ [property: string]: IndicesShardStoresShardStoreNode | IndicesShardStoresShardStoreAllocation | Id | IndicesShardStoresShardStoreException;
9199
+ };
9200
+ export type IndicesShardStoresShardStoreAllocation = 'primary' | 'replica' | 'unused';
9164
9201
  export interface IndicesShardStoresShardStoreException {
9165
9202
  reason: string;
9166
9203
  type: string;
9167
9204
  }
9168
- export declare type IndicesShardStoresShardStoreStatus = 'green' | 'yellow' | 'red' | 'all';
9205
+ export interface IndicesShardStoresShardStoreNode {
9206
+ attributes: Record<string, string>;
9207
+ ephemeral_id?: string;
9208
+ external_id?: string;
9209
+ name: Name;
9210
+ roles: string[];
9211
+ transport_address: TransportAddress;
9212
+ }
9213
+ export type IndicesShardStoresShardStoreStatus = 'green' | 'yellow' | 'red' | 'all';
9169
9214
  export interface IndicesShardStoresShardStoreWrapper {
9170
9215
  stores: IndicesShardStoresShardStore[];
9171
9216
  }
@@ -9241,7 +9286,7 @@ export interface IndicesSplitResponse {
9241
9286
  shards_acknowledged: boolean;
9242
9287
  index: IndexName;
9243
9288
  }
9244
- export declare type IndicesStatsIndexMetadataState = 'open' | 'close';
9289
+ export type IndicesStatsIndexMetadataState = 'open' | 'close';
9245
9290
  export interface IndicesStatsIndexStats {
9246
9291
  completion?: CompletionStats;
9247
9292
  docs?: DocStats;
@@ -9271,6 +9316,11 @@ export interface IndicesStatsIndicesStats {
9271
9316
  health?: HealthStatus;
9272
9317
  status?: IndicesStatsIndexMetadataState;
9273
9318
  }
9319
+ export interface IndicesStatsMappingStats {
9320
+ total_count: long;
9321
+ total_estimated_overhead?: ByteSize;
9322
+ total_estimated_overhead_in_bytes: long;
9323
+ }
9274
9324
  export interface IndicesStatsRequest extends RequestBase {
9275
9325
  metric?: Metrics;
9276
9326
  index?: Indices;
@@ -9334,7 +9384,7 @@ export interface IndicesStatsShardRouting {
9334
9384
  relocating_node?: string | null;
9335
9385
  state: IndicesStatsShardRoutingState;
9336
9386
  }
9337
- export declare type IndicesStatsShardRoutingState = 'UNASSIGNED' | 'INITIALIZING' | 'STARTED' | 'RELOCATING';
9387
+ export type IndicesStatsShardRoutingState = 'UNASSIGNED' | 'INITIALIZING' | 'STARTED' | 'RELOCATING';
9338
9388
  export interface IndicesStatsShardSequenceNumber {
9339
9389
  global_checkpoint: long;
9340
9390
  local_checkpoint: long;
@@ -9348,6 +9398,7 @@ export interface IndicesStatsShardStats {
9348
9398
  flush?: FlushStats;
9349
9399
  get?: GetStats;
9350
9400
  indexing?: IndexingStats;
9401
+ mappings?: IndicesStatsMappingStats;
9351
9402
  merges?: MergesStats;
9352
9403
  shard_path?: IndicesStatsShardPath;
9353
9404
  query_cache?: IndicesStatsShardQueryCache;
@@ -9363,7 +9414,7 @@ export interface IndicesStatsShardStats {
9363
9414
  translog?: TranslogStats;
9364
9415
  warmer?: WarmerStats;
9365
9416
  bulk?: BulkStats;
9366
- shards?: IndicesStatsShardsTotalStats;
9417
+ shards?: Record<IndexName, any>;
9367
9418
  shard_stats?: IndicesStatsShardsTotalStats;
9368
9419
  indices?: IndicesStatsIndicesStats;
9369
9420
  }
@@ -9421,7 +9472,7 @@ export interface IndicesUpdateAliasesRequest extends RequestBase {
9421
9472
  actions?: IndicesUpdateAliasesAction[];
9422
9473
  };
9423
9474
  }
9424
- export declare type IndicesUpdateAliasesResponse = AcknowledgedResponseBase;
9475
+ export type IndicesUpdateAliasesResponse = AcknowledgedResponseBase;
9425
9476
  export interface IndicesValidateQueryIndicesValidationExplanation {
9426
9477
  error?: string;
9427
9478
  explanation?: string;
@@ -9485,7 +9536,7 @@ export interface IngestConvertProcessor extends IngestProcessorBase {
9485
9536
  target_field?: Field;
9486
9537
  type: IngestConvertType;
9487
9538
  }
9488
- export declare type IngestConvertType = 'integer' | 'long' | 'float' | 'double' | 'string' | 'boolean' | 'auto';
9539
+ export type IngestConvertType = 'integer' | 'long' | 'float' | 'double' | 'string' | 'boolean' | 'auto';
9489
9540
  export interface IngestCsvProcessor extends IngestProcessorBase {
9490
9541
  empty_value?: any;
9491
9542
  field: Field;
@@ -9595,7 +9646,7 @@ export interface IngestJsonProcessor extends IngestProcessorBase {
9595
9646
  field: Field;
9596
9647
  target_field?: Field;
9597
9648
  }
9598
- export declare type IngestJsonProcessorConflictStrategy = 'replace' | 'merge';
9649
+ export type IngestJsonProcessorConflictStrategy = 'replace' | 'merge';
9599
9650
  export interface IngestKeyValueProcessor extends IngestProcessorBase {
9600
9651
  exclude_keys?: string[];
9601
9652
  field: Field;
@@ -9693,7 +9744,7 @@ export interface IngestSetSecurityUserProcessor extends IngestProcessorBase {
9693
9744
  field: Field;
9694
9745
  properties?: string[];
9695
9746
  }
9696
- export declare type IngestShapeType = 'geo_shape' | 'shape';
9747
+ export type IngestShapeType = 'geo_shape' | 'shape';
9697
9748
  export interface IngestSortProcessor extends IngestProcessorBase {
9698
9749
  field: Field;
9699
9750
  order?: SortOrder;
@@ -9728,13 +9779,13 @@ export interface IngestUserAgentProcessor extends IngestProcessorBase {
9728
9779
  regex_file?: string;
9729
9780
  target_field?: Field;
9730
9781
  }
9731
- export declare type IngestUserAgentProperty = 'NAME' | 'MAJOR' | 'MINOR' | 'PATCH' | 'OS' | 'OS_NAME' | 'OS_MAJOR' | 'OS_MINOR' | 'DEVICE' | 'BUILD';
9782
+ export type IngestUserAgentProperty = 'NAME' | 'MAJOR' | 'MINOR' | 'PATCH' | 'OS' | 'OS_NAME' | 'OS_MAJOR' | 'OS_MINOR' | 'DEVICE' | 'BUILD';
9732
9783
  export interface IngestDeletePipelineRequest extends RequestBase {
9733
9784
  id: Id;
9734
9785
  master_timeout?: Duration;
9735
9786
  timeout?: Duration;
9736
9787
  }
9737
- export declare type IngestDeletePipelineResponse = AcknowledgedResponseBase;
9788
+ export type IngestDeletePipelineResponse = AcknowledgedResponseBase;
9738
9789
  export interface IngestGeoIpStatsGeoIpDownloadStatistics {
9739
9790
  successful_downloads: integer;
9740
9791
  failed_downloads: integer;
@@ -9760,7 +9811,7 @@ export interface IngestGetPipelineRequest extends RequestBase {
9760
9811
  master_timeout?: Duration;
9761
9812
  summary?: boolean;
9762
9813
  }
9763
- export declare type IngestGetPipelineResponse = Record<string, IngestPipeline>;
9814
+ export type IngestGetPipelineResponse = Record<string, IngestPipeline>;
9764
9815
  export interface IngestProcessorGrokRequest extends RequestBase {
9765
9816
  }
9766
9817
  export interface IngestProcessorGrokResponse {
@@ -9780,7 +9831,7 @@ export interface IngestPutPipelineRequest extends RequestBase {
9780
9831
  version?: VersionNumber;
9781
9832
  };
9782
9833
  }
9783
- export declare type IngestPutPipelineResponse = AcknowledgedResponseBase;
9834
+ export type IngestPutPipelineResponse = AcknowledgedResponseBase;
9784
9835
  export interface IngestSimulateDocument {
9785
9836
  _id?: Id;
9786
9837
  _index?: IndexName;
@@ -9795,7 +9846,7 @@ export interface IngestSimulateDocumentSimulationKeys {
9795
9846
  _version?: SpecUtilsStringified<VersionNumber>;
9796
9847
  _version_type?: VersionType;
9797
9848
  }
9798
- export declare type IngestSimulateDocumentSimulation = IngestSimulateDocumentSimulationKeys & {
9849
+ export type IngestSimulateDocumentSimulation = IngestSimulateDocumentSimulationKeys & {
9799
9850
  [property: string]: string | Id | IndexName | IngestSimulateIngest | Record<string, any> | SpecUtilsStringified<VersionNumber> | VersionType;
9800
9851
  };
9801
9852
  export interface IngestSimulateIngest {
@@ -9833,11 +9884,11 @@ export interface LicenseLicense {
9833
9884
  type: LicenseLicenseType;
9834
9885
  uid: string;
9835
9886
  }
9836
- export declare type LicenseLicenseStatus = 'active' | 'valid' | 'invalid' | 'expired';
9837
- export declare type LicenseLicenseType = 'missing' | 'trial' | 'basic' | 'standard' | 'dev' | 'silver' | 'gold' | 'platinum' | 'enterprise';
9887
+ export type LicenseLicenseStatus = 'active' | 'valid' | 'invalid' | 'expired';
9888
+ export type LicenseLicenseType = 'missing' | 'trial' | 'basic' | 'standard' | 'dev' | 'silver' | 'gold' | 'platinum' | 'enterprise';
9838
9889
  export interface LicenseDeleteRequest extends RequestBase {
9839
9890
  }
9840
- export declare type LicenseDeleteResponse = AcknowledgedResponseBase;
9891
+ export type LicenseDeleteResponse = AcknowledgedResponseBase;
9841
9892
  export interface LicenseGetLicenseInformation {
9842
9893
  expiry_date?: DateTime;
9843
9894
  expiry_date_in_millis?: EpochTime<UnitMillis>;
@@ -9930,24 +9981,24 @@ export interface LogstashPipelineSettings {
9930
9981
  export interface LogstashDeletePipelineRequest extends RequestBase {
9931
9982
  id: Id;
9932
9983
  }
9933
- export declare type LogstashDeletePipelineResponse = boolean;
9984
+ export type LogstashDeletePipelineResponse = boolean;
9934
9985
  export interface LogstashGetPipelineRequest extends RequestBase {
9935
9986
  id: Ids;
9936
9987
  }
9937
- export declare type LogstashGetPipelineResponse = Record<Id, LogstashPipeline>;
9988
+ export type LogstashGetPipelineResponse = Record<Id, LogstashPipeline>;
9938
9989
  export interface LogstashPutPipelineRequest extends RequestBase {
9939
9990
  id: Id;
9940
9991
  /** @deprecated The use of the 'body' key has been deprecated, use 'pipeline' instead. */
9941
9992
  body?: LogstashPipeline;
9942
9993
  }
9943
- export declare type LogstashPutPipelineResponse = boolean;
9994
+ export type LogstashPutPipelineResponse = boolean;
9944
9995
  export interface MigrationDeprecationsDeprecation {
9945
9996
  details: string;
9946
9997
  level: MigrationDeprecationsDeprecationLevel;
9947
9998
  message: string;
9948
9999
  url: string;
9949
10000
  }
9950
- export declare type MigrationDeprecationsDeprecationLevel = 'none' | 'info' | 'warning' | 'critical';
10001
+ export type MigrationDeprecationsDeprecationLevel = 'none' | 'info' | 'warning' | 'critical';
9951
10002
  export interface MigrationDeprecationsRequest extends RequestBase {
9952
10003
  index?: IndexName;
9953
10004
  }
@@ -9968,7 +10019,7 @@ export interface MigrationGetFeatureUpgradeStatusMigrationFeatureIndexInfo {
9968
10019
  version: VersionString;
9969
10020
  failure_cause?: ErrorCause;
9970
10021
  }
9971
- export declare type MigrationGetFeatureUpgradeStatusMigrationStatus = 'NO_MIGRATION_NEEDED' | 'MIGRATION_NEEDED' | 'IN_PROGRESS' | 'ERROR';
10022
+ export type MigrationGetFeatureUpgradeStatusMigrationStatus = 'NO_MIGRATION_NEEDED' | 'MIGRATION_NEEDED' | 'IN_PROGRESS' | 'ERROR';
9972
10023
  export interface MigrationGetFeatureUpgradeStatusRequest extends RequestBase {
9973
10024
  }
9974
10025
  export interface MigrationGetFeatureUpgradeStatusResponse {
@@ -9985,7 +10036,7 @@ export interface MigrationPostFeatureUpgradeResponse {
9985
10036
  features: MigrationPostFeatureUpgradeMigrationFeature[];
9986
10037
  }
9987
10038
  export interface MlAnalysisConfig {
9988
- bucket_span: Duration;
10039
+ bucket_span?: Duration;
9989
10040
  categorization_analyzer?: MlCategorizationAnalyzer;
9990
10041
  categorization_field_name?: Field;
9991
10042
  categorization_filters?: string[];
@@ -10019,6 +10070,7 @@ export interface MlAnalysisMemoryLimit {
10019
10070
  }
10020
10071
  export interface MlAnomaly {
10021
10072
  actual?: double[];
10073
+ anomaly_score_explanation?: MlAnomalyExplanation;
10022
10074
  bucket_span: DurationValue<UnitSeconds>;
10023
10075
  by_field_name?: string;
10024
10076
  by_field_value?: string;
@@ -10027,6 +10079,7 @@ export interface MlAnomaly {
10027
10079
  field_name?: string;
10028
10080
  function?: string;
10029
10081
  function_description?: string;
10082
+ geo_results?: MlGeoResults;
10030
10083
  influencers?: MlInfluence[];
10031
10084
  initial_record_score: double;
10032
10085
  is_interim: boolean;
@@ -10057,11 +10110,23 @@ export interface MlAnomalyCause {
10057
10110
  probability: double;
10058
10111
  typical: double[];
10059
10112
  }
10113
+ export interface MlAnomalyExplanation {
10114
+ anomaly_characteristics_impact?: integer;
10115
+ anomaly_length?: integer;
10116
+ anomaly_type?: string;
10117
+ high_variance_penalty?: boolean;
10118
+ incomplete_bucket_penalty?: boolean;
10119
+ lower_confidence_bound?: double;
10120
+ multi_bucket_impact?: integer;
10121
+ single_bucket_impact?: integer;
10122
+ typical_value?: double;
10123
+ upper_confidence_bound?: double;
10124
+ }
10060
10125
  export interface MlApiKeyAuthorization {
10061
10126
  id: string;
10062
10127
  name: string;
10063
10128
  }
10064
- export declare type MlAppliesTo = 'actual' | 'typical' | 'diff_from_typical' | 'time';
10129
+ export type MlAppliesTo = 'actual' | 'typical' | 'diff_from_typical' | 'time';
10065
10130
  export interface MlBucketInfluencer {
10066
10131
  anomaly_score: double;
10067
10132
  bucket_span: DurationValue<UnitSeconds>;
@@ -10095,13 +10160,13 @@ export interface MlCalendarEvent {
10095
10160
  end_time: DateTime;
10096
10161
  start_time: DateTime;
10097
10162
  }
10098
- export declare type MlCategorizationAnalyzer = string | MlCategorizationAnalyzerDefinition;
10163
+ export type MlCategorizationAnalyzer = string | MlCategorizationAnalyzerDefinition;
10099
10164
  export interface MlCategorizationAnalyzerDefinition {
10100
10165
  char_filter?: AnalysisCharFilter[];
10101
10166
  filter?: AnalysisTokenFilter[];
10102
10167
  tokenizer?: AnalysisTokenizer;
10103
10168
  }
10104
- export declare type MlCategorizationStatus = 'ok' | 'warn';
10169
+ export type MlCategorizationStatus = 'ok' | 'warn';
10105
10170
  export interface MlCategory {
10106
10171
  category_id: ulong;
10107
10172
  examples: string[];
@@ -10122,7 +10187,7 @@ export interface MlChunkingConfig {
10122
10187
  mode: MlChunkingMode;
10123
10188
  time_span?: Duration;
10124
10189
  }
10125
- export declare type MlChunkingMode = 'auto' | 'manual' | 'off';
10190
+ export type MlChunkingMode = 'auto' | 'manual' | 'off';
10126
10191
  export interface MlClassificationInferenceOptions {
10127
10192
  num_top_classes?: integer;
10128
10193
  num_top_feature_importance_values?: integer;
@@ -10130,8 +10195,8 @@ export interface MlClassificationInferenceOptions {
10130
10195
  results_field?: string;
10131
10196
  top_classes_results_field?: string;
10132
10197
  }
10133
- export declare type MlConditionOperator = 'gt' | 'gte' | 'lt' | 'lte';
10134
- export declare type MlCustomSettings = any;
10198
+ export type MlConditionOperator = 'gt' | 'gte' | 'lt' | 'lte';
10199
+ export type MlCustomSettings = any;
10135
10200
  export interface MlDataCounts {
10136
10201
  bucket_count: long;
10137
10202
  earliest_record_timestamp?: long;
@@ -10190,12 +10255,12 @@ export interface MlDatafeedConfig {
10190
10255
  datafeed_id?: Id;
10191
10256
  delayed_data_check_config?: MlDelayedDataCheckConfig;
10192
10257
  frequency?: Duration;
10258
+ indices?: string[];
10193
10259
  indexes?: string[];
10194
- indices: string[];
10195
10260
  indices_options?: IndicesOptions;
10196
10261
  job_id?: Id;
10197
10262
  max_empty_searches?: integer;
10198
- query: QueryDslQueryContainer;
10263
+ query?: QueryDslQueryContainer;
10199
10264
  query_delay?: Duration;
10200
10265
  runtime_mappings?: MappingRuntimeFields;
10201
10266
  script_fields?: Record<string, ScriptField>;
@@ -10206,7 +10271,7 @@ export interface MlDatafeedRunningState {
10206
10271
  real_time_running: boolean;
10207
10272
  search_interval?: MlRunningStateSearchInterval;
10208
10273
  }
10209
- export declare type MlDatafeedState = 'started' | 'stopped' | 'starting' | 'stopping';
10274
+ export type MlDatafeedState = 'started' | 'stopped' | 'starting' | 'stopping';
10210
10275
  export interface MlDatafeedStats {
10211
10276
  assignment_explanation?: string;
10212
10277
  datafeed_id: Id;
@@ -10434,14 +10499,14 @@ export interface MlDataframeEvaluationRegressionMetricsHuber {
10434
10499
  export interface MlDataframeEvaluationRegressionMetricsMsle {
10435
10500
  offset?: double;
10436
10501
  }
10437
- export declare type MlDataframeState = 'started' | 'stopped' | 'starting' | 'stopping' | 'failed';
10502
+ export type MlDataframeState = 'started' | 'stopped' | 'starting' | 'stopping' | 'failed';
10438
10503
  export interface MlDelayedDataCheckConfig {
10439
10504
  check_window?: Duration;
10440
10505
  enabled: boolean;
10441
10506
  }
10442
- export declare type MlDeploymentAllocationState = 'started' | 'starting' | 'fully_allocated';
10443
- export declare type MlDeploymentAssignmentState = 'starting' | 'started' | 'stopping' | 'failed';
10444
- export declare type MlDeploymentState = 'started' | 'starting' | 'stopping';
10507
+ export type MlDeploymentAllocationState = 'started' | 'starting' | 'fully_allocated';
10508
+ export type MlDeploymentAssignmentState = 'starting' | 'started' | 'stopping' | 'failed';
10509
+ export type MlDeploymentState = 'started' | 'starting' | 'stopping';
10445
10510
  export interface MlDetectionRule {
10446
10511
  actions?: MlRuleAction[];
10447
10512
  conditions?: MlRuleCondition[];
@@ -10454,7 +10519,7 @@ export interface MlDetector {
10454
10519
  detector_index?: integer;
10455
10520
  exclude_frequent?: MlExcludeFrequent;
10456
10521
  field_name?: Field;
10457
- function: string;
10522
+ function?: string;
10458
10523
  over_field_name?: Field;
10459
10524
  partition_field_name?: Field;
10460
10525
  use_null?: boolean;
@@ -10478,7 +10543,7 @@ export interface MlDiscoveryNode {
10478
10543
  name: Name;
10479
10544
  transport_address: TransportAddress;
10480
10545
  }
10481
- export declare type MlExcludeFrequent = 'all' | 'none' | 'by' | 'over';
10546
+ export type MlExcludeFrequent = 'all' | 'none' | 'by' | 'over';
10482
10547
  export interface MlFillMaskInferenceOptions {
10483
10548
  num_top_classes?: integer;
10484
10549
  tokenization?: MlTokenizationConfigContainer;
@@ -10498,7 +10563,11 @@ export interface MlFilterRef {
10498
10563
  filter_id: Id;
10499
10564
  filter_type?: MlFilterType;
10500
10565
  }
10501
- export declare type MlFilterType = 'include' | 'exclude';
10566
+ export type MlFilterType = 'include' | 'exclude';
10567
+ export interface MlGeoResults {
10568
+ actual_point: string;
10569
+ typical_point: string;
10570
+ }
10502
10571
  export interface MlHyperparameter {
10503
10572
  absolute_importance?: double;
10504
10573
  name: Name;
@@ -10522,7 +10591,7 @@ export interface MlHyperparameters {
10522
10591
  soft_tree_depth_limit?: integer;
10523
10592
  soft_tree_depth_tolerance?: double;
10524
10593
  }
10525
- export declare type MlInclude = 'definition' | 'feature_importance_baseline' | 'hyperparameters' | 'total_feature_importance';
10594
+ export type MlInclude = 'definition' | 'feature_importance_baseline' | 'hyperparameters' | 'total_feature_importance';
10526
10595
  export interface MlInferenceConfigCreateContainer {
10527
10596
  regression?: MlRegressionInferenceOptions;
10528
10597
  classification?: MlClassificationInferenceOptions;
@@ -10602,7 +10671,7 @@ export interface MlJobBlocked {
10602
10671
  reason: MlJobBlockedReason;
10603
10672
  task_id?: TaskId;
10604
10673
  }
10605
- export declare type MlJobBlockedReason = 'delete' | 'reset' | 'revert';
10674
+ export type MlJobBlockedReason = 'delete' | 'reset' | 'revert';
10606
10675
  export interface MlJobConfig {
10607
10676
  allow_lazy_open?: boolean;
10608
10677
  analysis_config: MlAnalysisConfig;
@@ -10630,7 +10699,7 @@ export interface MlJobForecastStatistics {
10630
10699
  total: long;
10631
10700
  forecasted_jobs: integer;
10632
10701
  }
10633
- export declare type MlJobState = 'closing' | 'closed' | 'opened' | 'failed' | 'opening';
10702
+ export type MlJobState = 'closing' | 'closed' | 'opened' | 'failed' | 'opening';
10634
10703
  export interface MlJobStatistics {
10635
10704
  avg: double;
10636
10705
  max: double;
@@ -10659,7 +10728,7 @@ export interface MlJobTimingStats {
10659
10728
  maximum_bucket_processing_time_ms?: DurationValue<UnitFloatMillis>;
10660
10729
  minimum_bucket_processing_time_ms?: DurationValue<UnitFloatMillis>;
10661
10730
  }
10662
- export declare type MlMemoryStatus = 'ok' | 'soft_limit' | 'hard_limit';
10731
+ export type MlMemoryStatus = 'ok' | 'soft_limit' | 'hard_limit';
10663
10732
  export interface MlModelPlotConfig {
10664
10733
  annotations_enabled?: boolean;
10665
10734
  enabled?: boolean;
@@ -10711,6 +10780,7 @@ export interface MlNerInferenceOptions {
10711
10780
  tokenization?: MlTokenizationConfigContainer;
10712
10781
  results_field?: string;
10713
10782
  classification_labels?: string[];
10783
+ vocabulary?: MlVocabulary;
10714
10784
  }
10715
10785
  export interface MlNerInferenceUpdateOptions {
10716
10786
  tokenization?: MlNlpTokenizationUpdateOptions;
@@ -10762,6 +10832,7 @@ export interface MlPage {
10762
10832
  export interface MlPassThroughInferenceOptions {
10763
10833
  tokenization?: MlTokenizationConfigContainer;
10764
10834
  results_field?: string;
10835
+ vocabulary?: MlVocabulary;
10765
10836
  }
10766
10837
  export interface MlPassThroughInferenceUpdateOptions {
10767
10838
  tokenization?: MlNlpTokenizationUpdateOptions;
@@ -10771,7 +10842,7 @@ export interface MlPerPartitionCategorization {
10771
10842
  enabled?: boolean;
10772
10843
  stop_on_warn?: boolean;
10773
10844
  }
10774
- export declare type MlPredictedValue = string | double | boolean | integer;
10845
+ export type MlPredictedValue = string | double | boolean | integer;
10775
10846
  export interface MlQuestionAnsweringInferenceOptions {
10776
10847
  num_top_classes?: integer;
10777
10848
  tokenization?: MlTokenizationConfigContainer;
@@ -10789,8 +10860,8 @@ export interface MlRegressionInferenceOptions {
10789
10860
  results_field?: Field;
10790
10861
  num_top_feature_importance_values?: integer;
10791
10862
  }
10792
- export declare type MlRoutingState = 'failed' | 'started' | 'starting' | 'stopped' | 'stopping';
10793
- export declare type MlRuleAction = 'skip_result' | 'skip_model_update';
10863
+ export type MlRoutingState = 'failed' | 'started' | 'starting' | 'stopped' | 'stopping';
10864
+ export type MlRuleAction = 'skip_result' | 'skip_model_update';
10794
10865
  export interface MlRuleCondition {
10795
10866
  applies_to: MlAppliesTo;
10796
10867
  operator: MlConditionOperator;
@@ -10802,7 +10873,7 @@ export interface MlRunningStateSearchInterval {
10802
10873
  start?: Duration;
10803
10874
  start_ms: DurationValue<UnitMillis>;
10804
10875
  }
10805
- export declare type MlSnapshotUpgradeState = 'loading_old_state' | 'saving_new_state' | 'stopped' | 'failed';
10876
+ export type MlSnapshotUpgradeState = 'loading_old_state' | 'saving_new_state' | 'stopped' | 'failed';
10806
10877
  export interface MlTextClassificationInferenceOptions {
10807
10878
  num_top_classes?: integer;
10808
10879
  tokenization?: MlTokenizationConfigContainer;
@@ -10832,7 +10903,7 @@ export interface MlTokenizationConfigContainer {
10832
10903
  mpnet?: MlNlpBertTokenizationConfig;
10833
10904
  roberta?: MlNlpRobertaTokenizationConfig;
10834
10905
  }
10835
- export declare type MlTokenizationTruncate = 'first' | 'second' | 'none';
10906
+ export type MlTokenizationTruncate = 'first' | 'second' | 'none';
10836
10907
  export interface MlTopClassEntry {
10837
10908
  class_name: string;
10838
10909
  class_probability: double;
@@ -10854,6 +10925,7 @@ export interface MlTotalFeatureImportanceStatistics {
10854
10925
  }
10855
10926
  export interface MlTrainedModelAssignment {
10856
10927
  assignment_state: MlDeploymentAssignmentState;
10928
+ max_assigned_allocations?: integer;
10857
10929
  routing_table: Record<string, MlTrainedModelAssignmentRoutingTable>;
10858
10930
  start_time: DateTime;
10859
10931
  task_parameters: MlTrainedModelAssignmentTaskParameters;
@@ -10869,6 +10941,7 @@ export interface MlTrainedModelAssignmentTaskParameters {
10869
10941
  model_id: Id;
10870
10942
  cache_size: ByteSize;
10871
10943
  number_of_allocations: integer;
10944
+ priority: MlTrainingPriority;
10872
10945
  queue_capacity: integer;
10873
10946
  threads_per_allocation: integer;
10874
10947
  }
@@ -10921,6 +10994,7 @@ export interface MlTrainedModelDeploymentNodesStats {
10921
10994
  }
10922
10995
  export interface MlTrainedModelDeploymentStats {
10923
10996
  allocation_status: MlTrainedModelDeploymentAllocationStatus;
10997
+ cache_size?: ByteSize;
10924
10998
  error_count: integer;
10925
10999
  inference_count: integer;
10926
11000
  model_id: Id;
@@ -10975,7 +11049,8 @@ export interface MlTrainedModelStats {
10975
11049
  model_size_stats: MlTrainedModelSizeStats;
10976
11050
  pipeline_count: integer;
10977
11051
  }
10978
- export declare type MlTrainedModelType = 'tree_ensemble' | 'lang_ident' | 'pytorch';
11052
+ export type MlTrainedModelType = 'tree_ensemble' | 'lang_ident' | 'pytorch';
11053
+ export type MlTrainingPriority = 'normal' | 'low';
10979
11054
  export interface MlTransformAuthorization {
10980
11055
  api_key?: MlApiKeyAuthorization;
10981
11056
  roles?: string[];
@@ -10985,6 +11060,9 @@ export interface MlValidationLoss {
10985
11060
  fold_values: string[];
10986
11061
  loss_type: string;
10987
11062
  }
11063
+ export interface MlVocabulary {
11064
+ index: IndexName;
11065
+ }
10988
11066
  export interface MlZeroShotClassificationInferenceOptions {
10989
11067
  tokenization?: MlTokenizationConfigContainer;
10990
11068
  hypothesis_template?: string;
@@ -11020,12 +11098,12 @@ export interface MlCloseJobResponse {
11020
11098
  export interface MlDeleteCalendarRequest extends RequestBase {
11021
11099
  calendar_id: Id;
11022
11100
  }
11023
- export declare type MlDeleteCalendarResponse = AcknowledgedResponseBase;
11101
+ export type MlDeleteCalendarResponse = AcknowledgedResponseBase;
11024
11102
  export interface MlDeleteCalendarEventRequest extends RequestBase {
11025
11103
  calendar_id: Id;
11026
11104
  event_id: Id;
11027
11105
  }
11028
- export declare type MlDeleteCalendarEventResponse = AcknowledgedResponseBase;
11106
+ export type MlDeleteCalendarEventResponse = AcknowledgedResponseBase;
11029
11107
  export interface MlDeleteCalendarJobRequest extends RequestBase {
11030
11108
  calendar_id: Id;
11031
11109
  job_id: Ids;
@@ -11040,12 +11118,12 @@ export interface MlDeleteDataFrameAnalyticsRequest extends RequestBase {
11040
11118
  force?: boolean;
11041
11119
  timeout?: Duration;
11042
11120
  }
11043
- export declare type MlDeleteDataFrameAnalyticsResponse = AcknowledgedResponseBase;
11121
+ export type MlDeleteDataFrameAnalyticsResponse = AcknowledgedResponseBase;
11044
11122
  export interface MlDeleteDatafeedRequest extends RequestBase {
11045
11123
  datafeed_id: Id;
11046
11124
  force?: boolean;
11047
11125
  }
11048
- export declare type MlDeleteDatafeedResponse = AcknowledgedResponseBase;
11126
+ export type MlDeleteDatafeedResponse = AcknowledgedResponseBase;
11049
11127
  export interface MlDeleteExpiredDataRequest extends RequestBase {
11050
11128
  job_id?: Id;
11051
11129
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
@@ -11060,35 +11138,36 @@ export interface MlDeleteExpiredDataResponse {
11060
11138
  export interface MlDeleteFilterRequest extends RequestBase {
11061
11139
  filter_id: Id;
11062
11140
  }
11063
- export declare type MlDeleteFilterResponse = AcknowledgedResponseBase;
11141
+ export type MlDeleteFilterResponse = AcknowledgedResponseBase;
11064
11142
  export interface MlDeleteForecastRequest extends RequestBase {
11065
11143
  job_id: Id;
11066
11144
  forecast_id?: Id;
11067
11145
  allow_no_forecasts?: boolean;
11068
11146
  timeout?: Duration;
11069
11147
  }
11070
- export declare type MlDeleteForecastResponse = AcknowledgedResponseBase;
11148
+ export type MlDeleteForecastResponse = AcknowledgedResponseBase;
11071
11149
  export interface MlDeleteJobRequest extends RequestBase {
11072
11150
  job_id: Id;
11073
11151
  force?: boolean;
11152
+ delete_user_annotations?: boolean;
11074
11153
  wait_for_completion?: boolean;
11075
11154
  }
11076
- export declare type MlDeleteJobResponse = AcknowledgedResponseBase;
11155
+ export type MlDeleteJobResponse = AcknowledgedResponseBase;
11077
11156
  export interface MlDeleteModelSnapshotRequest extends RequestBase {
11078
11157
  job_id: Id;
11079
11158
  snapshot_id: Id;
11080
11159
  }
11081
- export declare type MlDeleteModelSnapshotResponse = AcknowledgedResponseBase;
11160
+ export type MlDeleteModelSnapshotResponse = AcknowledgedResponseBase;
11082
11161
  export interface MlDeleteTrainedModelRequest extends RequestBase {
11083
11162
  model_id: Id;
11084
11163
  force?: boolean;
11085
11164
  }
11086
- export declare type MlDeleteTrainedModelResponse = AcknowledgedResponseBase;
11165
+ export type MlDeleteTrainedModelResponse = AcknowledgedResponseBase;
11087
11166
  export interface MlDeleteTrainedModelAliasRequest extends RequestBase {
11088
11167
  model_alias: Name;
11089
11168
  model_id: Id;
11090
11169
  }
11091
- export declare type MlDeleteTrainedModelAliasResponse = AcknowledgedResponseBase;
11170
+ export type MlDeleteTrainedModelAliasResponse = AcknowledgedResponseBase;
11092
11171
  export interface MlEstimateModelMemoryRequest extends RequestBase {
11093
11172
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
11094
11173
  body?: {
@@ -11560,6 +11639,7 @@ export interface MlOpenJobRequest extends RequestBase {
11560
11639
  }
11561
11640
  export interface MlOpenJobResponse {
11562
11641
  opened: boolean;
11642
+ node: NodeId;
11563
11643
  }
11564
11644
  export interface MlPostCalendarEventsRequest extends RequestBase {
11565
11645
  calendar_id: Id;
@@ -11614,6 +11694,8 @@ export interface MlPreviewDataFrameAnalyticsResponse {
11614
11694
  }
11615
11695
  export interface MlPreviewDatafeedRequest extends RequestBase {
11616
11696
  datafeed_id?: Id;
11697
+ start?: DateTime;
11698
+ end?: DateTime;
11617
11699
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
11618
11700
  body?: {
11619
11701
  datafeed_config?: MlDatafeedConfig;
@@ -11701,16 +11783,16 @@ export interface MlPutDatafeedRequest extends RequestBase {
11701
11783
  };
11702
11784
  }
11703
11785
  export interface MlPutDatafeedResponse {
11704
- aggregations: Record<string, AggregationsAggregationContainer>;
11786
+ aggregations?: Record<string, AggregationsAggregationContainer>;
11705
11787
  authorization?: MlDatafeedAuthorization;
11706
11788
  chunking_config: MlChunkingConfig;
11707
11789
  delayed_data_check_config?: MlDelayedDataCheckConfig;
11708
11790
  datafeed_id: Id;
11709
- frequency: Duration;
11791
+ frequency?: Duration;
11710
11792
  indices: string[];
11711
11793
  job_id: Id;
11712
11794
  indices_options?: IndicesOptions;
11713
- max_empty_searches: integer;
11795
+ max_empty_searches?: integer;
11714
11796
  query: QueryDslQueryContainer;
11715
11797
  query_delay: Duration;
11716
11798
  runtime_mappings?: MappingRuntimeFields;
@@ -11816,14 +11898,14 @@ export interface MlPutTrainedModelRequest extends RequestBase {
11816
11898
  definition?: MlPutTrainedModelDefinition;
11817
11899
  description?: string;
11818
11900
  inference_config: MlInferenceConfigCreateContainer;
11819
- input: MlPutTrainedModelInput;
11901
+ input?: MlPutTrainedModelInput;
11820
11902
  metadata?: any;
11821
11903
  model_type?: MlTrainedModelType;
11822
11904
  model_size_bytes?: long;
11823
11905
  tags?: string[];
11824
11906
  };
11825
11907
  }
11826
- export declare type MlPutTrainedModelResponse = MlTrainedModelConfig;
11908
+ export type MlPutTrainedModelResponse = MlTrainedModelConfig;
11827
11909
  export interface MlPutTrainedModelTargetMeanEncodingPreprocessor {
11828
11910
  field: string;
11829
11911
  feature_name: string;
@@ -11860,7 +11942,7 @@ export interface MlPutTrainedModelAliasRequest extends RequestBase {
11860
11942
  model_id: Id;
11861
11943
  reassign?: boolean;
11862
11944
  }
11863
- export declare type MlPutTrainedModelAliasResponse = AcknowledgedResponseBase;
11945
+ export type MlPutTrainedModelAliasResponse = AcknowledgedResponseBase;
11864
11946
  export interface MlPutTrainedModelDefinitionPartRequest extends RequestBase {
11865
11947
  model_id: Id;
11866
11948
  part: integer;
@@ -11871,7 +11953,7 @@ export interface MlPutTrainedModelDefinitionPartRequest extends RequestBase {
11871
11953
  total_parts: integer;
11872
11954
  };
11873
11955
  }
11874
- export declare type MlPutTrainedModelDefinitionPartResponse = AcknowledgedResponseBase;
11956
+ export type MlPutTrainedModelDefinitionPartResponse = AcknowledgedResponseBase;
11875
11957
  export interface MlPutTrainedModelVocabularyRequest extends RequestBase {
11876
11958
  model_id: Id;
11877
11959
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
@@ -11880,12 +11962,13 @@ export interface MlPutTrainedModelVocabularyRequest extends RequestBase {
11880
11962
  merges?: string[];
11881
11963
  };
11882
11964
  }
11883
- export declare type MlPutTrainedModelVocabularyResponse = AcknowledgedResponseBase;
11965
+ export type MlPutTrainedModelVocabularyResponse = AcknowledgedResponseBase;
11884
11966
  export interface MlResetJobRequest extends RequestBase {
11885
11967
  job_id: Id;
11886
11968
  wait_for_completion?: boolean;
11969
+ delete_user_annotations?: boolean;
11887
11970
  }
11888
- export declare type MlResetJobResponse = AcknowledgedResponseBase;
11971
+ export type MlResetJobResponse = AcknowledgedResponseBase;
11889
11972
  export interface MlRevertModelSnapshotRequest extends RequestBase {
11890
11973
  job_id: Id;
11891
11974
  snapshot_id: Id;
@@ -11901,7 +11984,7 @@ export interface MlSetUpgradeModeRequest extends RequestBase {
11901
11984
  enabled?: boolean;
11902
11985
  timeout?: Duration;
11903
11986
  }
11904
- export declare type MlSetUpgradeModeResponse = AcknowledgedResponseBase;
11987
+ export type MlSetUpgradeModeResponse = AcknowledgedResponseBase;
11905
11988
  export interface MlStartDataFrameAnalyticsRequest extends RequestBase {
11906
11989
  id: Id;
11907
11990
  timeout?: Duration;
@@ -11927,6 +12010,7 @@ export interface MlStartTrainedModelDeploymentRequest extends RequestBase {
11927
12010
  model_id: Id;
11928
12011
  cache_size?: ByteSize;
11929
12012
  number_of_allocations?: integer;
12013
+ priority?: MlTrainingPriority;
11930
12014
  queue_capacity?: integer;
11931
12015
  threads_per_allocation?: integer;
11932
12016
  timeout?: Duration;
@@ -12003,6 +12087,7 @@ export interface MlUpdateDatafeedRequest extends RequestBase {
12003
12087
  indices?: string[];
12004
12088
  indexes?: string[];
12005
12089
  indices_options?: IndicesOptions;
12090
+ job_id?: Id;
12006
12091
  max_empty_searches?: integer;
12007
12092
  query?: QueryDslQueryContainer;
12008
12093
  query_delay?: Duration;
@@ -12013,15 +12098,15 @@ export interface MlUpdateDatafeedRequest extends RequestBase {
12013
12098
  }
12014
12099
  export interface MlUpdateDatafeedResponse {
12015
12100
  authorization?: MlDatafeedAuthorization;
12016
- aggregations: Record<string, AggregationsAggregationContainer>;
12101
+ aggregations?: Record<string, AggregationsAggregationContainer>;
12017
12102
  chunking_config: MlChunkingConfig;
12018
12103
  delayed_data_check_config?: MlDelayedDataCheckConfig;
12019
12104
  datafeed_id: Id;
12020
- frequency: Duration;
12105
+ frequency?: Duration;
12021
12106
  indices: string[];
12022
12107
  indices_options?: IndicesOptions;
12023
12108
  job_id: Id;
12024
- max_empty_searches: integer;
12109
+ max_empty_searches?: integer;
12025
12110
  query: QueryDslQueryContainer;
12026
12111
  query_delay: Duration;
12027
12112
  runtime_mappings?: MappingRuntimeFields;
@@ -12053,6 +12138,7 @@ export interface MlUpdateJobRequest extends RequestBase {
12053
12138
  categorization_filters?: string[];
12054
12139
  description?: string;
12055
12140
  model_plot_config?: MlModelPlotConfig;
12141
+ model_prune_window?: Duration;
12056
12142
  daily_model_snapshot_retention_after_days?: long;
12057
12143
  model_snapshot_retention_days?: long;
12058
12144
  renormalization_window_days?: long;
@@ -12122,12 +12208,12 @@ export interface MlValidateRequest extends RequestBase {
12122
12208
  results_index_name?: IndexName;
12123
12209
  };
12124
12210
  }
12125
- export declare type MlValidateResponse = AcknowledgedResponseBase;
12211
+ export type MlValidateResponse = AcknowledgedResponseBase;
12126
12212
  export interface MlValidateDetectorRequest extends RequestBase {
12127
12213
  /** @deprecated The use of the 'body' key has been deprecated, use 'detector' instead. */
12128
12214
  body?: MlDetector;
12129
12215
  }
12130
- export declare type MlValidateDetectorResponse = AcknowledgedResponseBase;
12216
+ export type MlValidateDetectorResponse = AcknowledgedResponseBase;
12131
12217
  export interface MonitoringBulkRequest<TDocument = unknown, TPartialDocument = unknown> extends RequestBase {
12132
12218
  type?: string;
12133
12219
  system_id: string;
@@ -12144,9 +12230,9 @@ export interface MonitoringBulkResponse {
12144
12230
  }
12145
12231
  export interface NodesAdaptiveSelection {
12146
12232
  avg_queue_size?: long;
12147
- avg_response_time?: long;
12233
+ avg_response_time?: Duration;
12148
12234
  avg_response_time_ns?: long;
12149
- avg_service_time?: string;
12235
+ avg_service_time?: Duration;
12150
12236
  avg_service_time_ns?: long;
12151
12237
  outgoing_searches?: long;
12152
12238
  rank?: string;
@@ -12298,6 +12384,7 @@ export interface NodesIndexingPressure {
12298
12384
  memory?: NodesIndexingPressureMemory;
12299
12385
  }
12300
12386
  export interface NodesIndexingPressureMemory {
12387
+ limit?: ByteSize;
12301
12388
  limit_in_bytes?: long;
12302
12389
  current?: NodesPressureMemory;
12303
12390
  total?: NodesPressureMemory;
@@ -12380,7 +12467,7 @@ export interface NodesNodeReloadError {
12380
12467
  name: Name;
12381
12468
  reload_exception?: ErrorCause;
12382
12469
  }
12383
- export declare type NodesNodeReloadResult = NodesStats | NodesNodeReloadError;
12470
+ export type NodesNodeReloadResult = NodesStats | NodesNodeReloadError;
12384
12471
  export interface NodesNodesResponseBase {
12385
12472
  _nodes?: NodeStatistics;
12386
12473
  }
@@ -12398,11 +12485,16 @@ export interface NodesPool {
12398
12485
  peak_max_in_bytes?: long;
12399
12486
  }
12400
12487
  export interface NodesPressureMemory {
12488
+ all?: ByteSize;
12489
+ all_in_bytes?: long;
12490
+ combined_coordinating_and_primary?: ByteSize;
12401
12491
  combined_coordinating_and_primary_in_bytes?: long;
12492
+ coordinating?: ByteSize;
12402
12493
  coordinating_in_bytes?: long;
12494
+ primary?: ByteSize;
12403
12495
  primary_in_bytes?: long;
12496
+ replica?: ByteSize;
12404
12497
  replica_in_bytes?: long;
12405
- all_in_bytes?: long;
12406
12498
  coordinating_rejections?: long;
12407
12499
  primary_rejections?: long;
12408
12500
  replica_rejections?: long;
@@ -12469,6 +12561,7 @@ export interface NodesScriptCache {
12469
12561
  export interface NodesScripting {
12470
12562
  cache_evictions?: long;
12471
12563
  compilations?: long;
12564
+ compilations_history?: Record<string, long>;
12472
12565
  compilation_limit_triggered?: long;
12473
12566
  contexts?: NodesContext[];
12474
12567
  }
@@ -12536,7 +12629,7 @@ export interface NodesClearRepositoriesMeteringArchiveRequest extends RequestBas
12536
12629
  node_id: NodeIds;
12537
12630
  max_archive_version: long;
12538
12631
  }
12539
- export declare type NodesClearRepositoriesMeteringArchiveResponse = NodesClearRepositoriesMeteringArchiveResponseBase;
12632
+ export type NodesClearRepositoriesMeteringArchiveResponse = NodesClearRepositoriesMeteringArchiveResponseBase;
12540
12633
  export interface NodesClearRepositoriesMeteringArchiveResponseBase extends NodesNodesResponseBase {
12541
12634
  cluster_name: Name;
12542
12635
  nodes: Record<string, NodesRepositoryMeteringInformation>;
@@ -12544,7 +12637,7 @@ export interface NodesClearRepositoriesMeteringArchiveResponseBase extends Nodes
12544
12637
  export interface NodesGetRepositoriesMeteringInfoRequest extends RequestBase {
12545
12638
  node_id: NodeIds;
12546
12639
  }
12547
- export declare type NodesGetRepositoriesMeteringInfoResponse = NodesGetRepositoriesMeteringInfoResponseBase;
12640
+ export type NodesGetRepositoriesMeteringInfoResponse = NodesGetRepositoriesMeteringInfoResponseBase;
12548
12641
  export interface NodesGetRepositoriesMeteringInfoResponseBase extends NodesNodesResponseBase {
12549
12642
  cluster_name: Name;
12550
12643
  nodes: Record<string, NodesRepositoryMeteringInformation>;
@@ -12830,8 +12923,8 @@ export interface NodesInfoNodeJvmInfo {
12830
12923
  vm_name: Name;
12831
12924
  vm_vendor: string;
12832
12925
  vm_version: VersionString;
12833
- bundled_jdk: boolean;
12834
12926
  using_bundled_jdk: boolean;
12927
+ bundled_jdk: boolean;
12835
12928
  using_compressed_ordinary_object_pointers?: boolean | string;
12836
12929
  input_arguments: string[];
12837
12930
  }
@@ -12867,7 +12960,7 @@ export interface NodesInfoRequest extends RequestBase {
12867
12960
  master_timeout?: Duration;
12868
12961
  timeout?: Duration;
12869
12962
  }
12870
- export declare type NodesInfoResponse = NodesInfoResponseBase;
12963
+ export type NodesInfoResponse = NodesInfoResponseBase;
12871
12964
  export interface NodesInfoResponseBase extends NodesNodesResponseBase {
12872
12965
  cluster_name: Name;
12873
12966
  nodes: Record<string, NodesInfoNodeInfo>;
@@ -12880,7 +12973,7 @@ export interface NodesReloadSecureSettingsRequest extends RequestBase {
12880
12973
  secure_settings_password?: Password;
12881
12974
  };
12882
12975
  }
12883
- export declare type NodesReloadSecureSettingsResponse = NodesReloadSecureSettingsResponseBase;
12976
+ export type NodesReloadSecureSettingsResponse = NodesReloadSecureSettingsResponseBase;
12884
12977
  export interface NodesReloadSecureSettingsResponseBase extends NodesNodesResponseBase {
12885
12978
  cluster_name: Name;
12886
12979
  nodes: Record<string, NodesNodeReloadResult>;
@@ -12900,7 +12993,7 @@ export interface NodesStatsRequest extends RequestBase {
12900
12993
  types?: string[];
12901
12994
  include_unloaded_segments?: boolean;
12902
12995
  }
12903
- export declare type NodesStatsResponse = NodesStatsResponseBase;
12996
+ export type NodesStatsResponse = NodesStatsResponseBase;
12904
12997
  export interface NodesStatsResponseBase extends NodesNodesResponseBase {
12905
12998
  cluster_name?: Name;
12906
12999
  nodes: Record<string, NodesStats>;
@@ -12916,7 +13009,7 @@ export interface NodesUsageRequest extends RequestBase {
12916
13009
  metric?: Metrics;
12917
13010
  timeout?: Duration;
12918
13011
  }
12919
- export declare type NodesUsageResponse = NodesUsageResponseBase;
13012
+ export type NodesUsageResponse = NodesUsageResponseBase;
12920
13013
  export interface NodesUsageResponseBase extends NodesNodesResponseBase {
12921
13014
  cluster_name: Name;
12922
13015
  nodes: Record<string, NodesUsageNodeUsage>;
@@ -12943,7 +13036,7 @@ export interface RollupHistogramGrouping {
12943
13036
  fields: Fields;
12944
13037
  interval: long;
12945
13038
  }
12946
- export declare type RollupMetric = 'min' | 'max' | 'sum' | 'avg' | 'value_count';
13039
+ export type RollupMetric = 'min' | 'max' | 'sum' | 'avg' | 'value_count';
12947
13040
  export interface RollupTermsGrouping {
12948
13041
  fields: Fields;
12949
13042
  }
@@ -12954,7 +13047,7 @@ export interface RollupDeleteJobResponse {
12954
13047
  acknowledged: boolean;
12955
13048
  task_failures?: TaskFailure[];
12956
13049
  }
12957
- export declare type RollupGetJobsIndexingJobState = 'started' | 'indexing' | 'stopping' | 'stopped' | 'aborting';
13050
+ export type RollupGetJobsIndexingJobState = 'started' | 'indexing' | 'stopping' | 'stopped' | 'aborting';
12958
13051
  export interface RollupGetJobsRequest extends RequestBase {
12959
13052
  id?: Id;
12960
13053
  }
@@ -12998,23 +13091,28 @@ export interface RollupGetJobsRollupJobStatus {
12998
13091
  export interface RollupGetRollupCapsRequest extends RequestBase {
12999
13092
  id?: Id;
13000
13093
  }
13001
- export declare type RollupGetRollupCapsResponse = Record<IndexName, RollupGetRollupCapsRollupCapabilities>;
13094
+ export type RollupGetRollupCapsResponse = Record<IndexName, RollupGetRollupCapsRollupCapabilities>;
13002
13095
  export interface RollupGetRollupCapsRollupCapabilities {
13003
13096
  rollup_jobs: RollupGetRollupCapsRollupCapabilitySummary[];
13004
13097
  }
13005
13098
  export interface RollupGetRollupCapsRollupCapabilitySummary {
13006
- fields: Record<Field, Record<string, any>>;
13099
+ fields: Record<Field, RollupGetRollupCapsRollupFieldSummary[]>;
13007
13100
  index_pattern: string;
13008
13101
  job_id: string;
13009
13102
  rollup_index: string;
13010
13103
  }
13104
+ export interface RollupGetRollupCapsRollupFieldSummary {
13105
+ agg: string;
13106
+ calendar_interval?: Duration;
13107
+ time_zone?: TimeZone;
13108
+ }
13011
13109
  export interface RollupGetRollupIndexCapsIndexCapabilities {
13012
13110
  rollup_jobs: RollupGetRollupIndexCapsRollupJobSummary[];
13013
13111
  }
13014
13112
  export interface RollupGetRollupIndexCapsRequest extends RequestBase {
13015
13113
  index: Ids;
13016
13114
  }
13017
- export declare type RollupGetRollupIndexCapsResponse = Record<IndexName, RollupGetRollupIndexCapsIndexCapabilities>;
13115
+ export type RollupGetRollupIndexCapsResponse = Record<IndexName, RollupGetRollupIndexCapsIndexCapabilities>;
13018
13116
  export interface RollupGetRollupIndexCapsRollupJobSummary {
13019
13117
  fields: Record<Field, RollupGetRollupIndexCapsRollupJobSummaryField[]>;
13020
13118
  index_pattern: string;
@@ -13040,7 +13138,7 @@ export interface RollupPutJobRequest extends RequestBase {
13040
13138
  headers?: HttpHeaders;
13041
13139
  };
13042
13140
  }
13043
- export declare type RollupPutJobResponse = AcknowledgedResponseBase;
13141
+ export type RollupPutJobResponse = AcknowledgedResponseBase;
13044
13142
  export interface RollupRollupSearchRequest extends RequestBase {
13045
13143
  index: Indices;
13046
13144
  rest_total_hits_as_int?: boolean;
@@ -13075,7 +13173,7 @@ export interface RollupStopJobRequest extends RequestBase {
13075
13173
  export interface RollupStopJobResponse {
13076
13174
  stopped: boolean;
13077
13175
  }
13078
- export declare type SearchableSnapshotsStatsLevel = 'cluster' | 'indices' | 'shards';
13176
+ export type SearchableSnapshotsStatsLevel = 'cluster' | 'indices' | 'shards';
13079
13177
  export interface SearchableSnapshotsCacheStatsNode {
13080
13178
  shared_cache: SearchableSnapshotsCacheStatsShared;
13081
13179
  }
@@ -13104,7 +13202,7 @@ export interface SearchableSnapshotsClearCacheRequest extends RequestBase {
13104
13202
  pretty?: boolean;
13105
13203
  human?: boolean;
13106
13204
  }
13107
- export declare type SearchableSnapshotsClearCacheResponse = any;
13205
+ export type SearchableSnapshotsClearCacheResponse = any;
13108
13206
  export interface SearchableSnapshotsMountMountedSnapshot {
13109
13207
  snapshot: Name;
13110
13208
  indices: Indices;
@@ -13159,7 +13257,7 @@ export interface SecurityApplicationPrivileges {
13159
13257
  export interface SecurityClusterNode {
13160
13258
  name: Name;
13161
13259
  }
13162
- export declare type SecurityClusterPrivilege = 'all' | 'cancel_task' | 'create_snapshot' | 'grant_api_key' | 'manage' | 'manage_api_key' | 'manage_ccr' | 'manage_enrich' | 'manage_ilm' | 'manage_index_templates' | 'manage_ingest_pipelines' | 'manage_logstash_pipelines' | 'manage_ml' | 'manage_oidc' | 'manage_own_api_key' | 'manage_pipeline' | 'manage_rollup' | 'manage_saml' | 'manage_security' | 'manage_service_account' | 'manage_slm' | 'manage_token' | 'manage_transform' | 'manage_user_profile' | 'manage_watcher' | 'monitor' | 'monitor_ml' | 'monitor_rollup' | 'monitor_snapshot' | 'monitor_text_structure' | 'monitor_transform' | 'monitor_watcher' | 'read_ccr' | 'read_ilm' | 'read_pipeline' | 'read_slm' | 'transport_client';
13260
+ export type SecurityClusterPrivilege = 'all' | 'cancel_task' | 'create_snapshot' | 'grant_api_key' | 'manage' | 'manage_api_key' | 'manage_ccr' | 'manage_enrich' | 'manage_ilm' | 'manage_index_templates' | 'manage_ingest_pipelines' | 'manage_logstash_pipelines' | 'manage_ml' | 'manage_oidc' | 'manage_own_api_key' | 'manage_pipeline' | 'manage_rollup' | 'manage_saml' | 'manage_security' | 'manage_service_account' | 'manage_slm' | 'manage_token' | 'manage_transform' | 'manage_user_profile' | 'manage_watcher' | 'monitor' | 'monitor_ml' | 'monitor_rollup' | 'monitor_snapshot' | 'monitor_text_structure' | 'monitor_transform' | 'monitor_watcher' | 'read_ccr' | 'read_ilm' | 'read_pipeline' | 'read_slm' | 'transport_client';
13163
13261
  export interface SecurityCreatedStatus {
13164
13262
  created: boolean;
13165
13263
  }
@@ -13177,8 +13275,8 @@ export interface SecurityFieldSecurity {
13177
13275
  export interface SecurityGlobalPrivilege {
13178
13276
  application: SecurityApplicationGlobalUserPrivileges;
13179
13277
  }
13180
- export declare type SecurityGrantType = 'password' | 'access_token';
13181
- export declare type SecurityIndexPrivilege = 'none' | 'all' | 'auto_configure' | 'create' | 'create_doc' | 'create_index' | 'delete' | 'delete_index' | 'index' | 'maintenance' | 'manage' | 'manage_follow_index' | 'manage_ilm' | 'manage_leader_index' | 'monitor' | 'read' | 'read_cross_cluster' | 'view_index_metadata' | 'write';
13278
+ export type SecurityGrantType = 'password' | 'access_token';
13279
+ export type SecurityIndexPrivilege = 'none' | 'all' | 'auto_configure' | 'create' | 'create_doc' | 'create_index' | 'delete' | 'delete_index' | 'index' | 'maintenance' | 'manage' | 'manage_follow_index' | 'manage_ilm' | 'manage_leader_index' | 'monitor' | 'read' | 'read_cross_cluster' | 'view_index_metadata' | 'write';
13182
13280
  export interface SecurityIndicesPrivileges {
13183
13281
  field_security?: SecurityFieldSecurity | SecurityFieldSecurity[];
13184
13282
  names: Indices;
@@ -13186,7 +13284,7 @@ export interface SecurityIndicesPrivileges {
13186
13284
  query?: SecurityIndicesPrivilegesQuery;
13187
13285
  allow_restricted_indices?: boolean;
13188
13286
  }
13189
- export declare type SecurityIndicesPrivilegesQuery = string | QueryDslQueryContainer | SecurityRoleTemplateQuery;
13287
+ export type SecurityIndicesPrivilegesQuery = string | QueryDslQueryContainer | SecurityRoleTemplateQuery;
13190
13288
  export interface SecurityManageUserPrivileges {
13191
13289
  applications: string[];
13192
13290
  }
@@ -13230,7 +13328,7 @@ export interface SecurityRoleMappingRule {
13230
13328
  field?: SecurityFieldRule;
13231
13329
  except?: SecurityRoleMappingRule;
13232
13330
  }
13233
- export declare type SecurityRoleTemplateInlineQuery = string | QueryDslQueryContainer;
13331
+ export type SecurityRoleTemplateInlineQuery = string | QueryDslQueryContainer;
13234
13332
  export interface SecurityRoleTemplateInlineScript extends ScriptBase {
13235
13333
  lang?: ScriptLanguage;
13236
13334
  options?: Record<string, string>;
@@ -13239,7 +13337,7 @@ export interface SecurityRoleTemplateInlineScript extends ScriptBase {
13239
13337
  export interface SecurityRoleTemplateQuery {
13240
13338
  template?: SecurityRoleTemplateScript;
13241
13339
  }
13242
- export declare type SecurityRoleTemplateScript = SecurityRoleTemplateInlineScript | SecurityRoleTemplateInlineQuery | StoredScriptId;
13340
+ export type SecurityRoleTemplateScript = SecurityRoleTemplateInlineScript | SecurityRoleTemplateInlineQuery | StoredScriptId;
13243
13341
  export interface SecurityTransientMetadataConfig {
13244
13342
  enabled: boolean;
13245
13343
  }
@@ -13270,7 +13368,7 @@ export interface SecurityUserProfileHitMetadata {
13270
13368
  _primary_term: long;
13271
13369
  _seq_no: SequenceNumber;
13272
13370
  }
13273
- export declare type SecurityUserProfileId = string;
13371
+ export type SecurityUserProfileId = string;
13274
13372
  export interface SecurityUserProfileUser {
13275
13373
  email?: string | null;
13276
13374
  full_name?: Name | null;
@@ -13292,7 +13390,7 @@ export interface SecurityActivateUserProfileRequest extends RequestBase {
13292
13390
  username?: string;
13293
13391
  };
13294
13392
  }
13295
- export declare type SecurityActivateUserProfileResponse = SecurityUserProfileWithMetadata;
13393
+ export type SecurityActivateUserProfileResponse = SecurityUserProfileWithMetadata;
13296
13394
  export interface SecurityAuthenticateRequest extends RequestBase {
13297
13395
  }
13298
13396
  export interface SecurityAuthenticateResponse {
@@ -13405,7 +13503,7 @@ export interface SecurityDeletePrivilegesRequest extends RequestBase {
13405
13503
  name: Names;
13406
13504
  refresh?: Refresh;
13407
13505
  }
13408
- export declare type SecurityDeletePrivilegesResponse = Record<string, Record<string, SecurityDeletePrivilegesFoundStatus>>;
13506
+ export type SecurityDeletePrivilegesResponse = Record<string, Record<string, SecurityDeletePrivilegesFoundStatus>>;
13409
13507
  export interface SecurityDeleteRoleRequest extends RequestBase {
13410
13508
  name: Name;
13411
13509
  refresh?: Refresh;
@@ -13446,7 +13544,7 @@ export interface SecurityDisableUserProfileRequest extends RequestBase {
13446
13544
  uid: SecurityUserProfileId;
13447
13545
  refresh?: Refresh;
13448
13546
  }
13449
- export declare type SecurityDisableUserProfileResponse = AcknowledgedResponseBase;
13547
+ export type SecurityDisableUserProfileResponse = AcknowledgedResponseBase;
13450
13548
  export interface SecurityEnableUserRequest extends RequestBase {
13451
13549
  username: Username;
13452
13550
  refresh?: Refresh;
@@ -13457,7 +13555,7 @@ export interface SecurityEnableUserProfileRequest extends RequestBase {
13457
13555
  uid: SecurityUserProfileId;
13458
13556
  refresh?: Refresh;
13459
13557
  }
13460
- export declare type SecurityEnableUserProfileResponse = AcknowledgedResponseBase;
13558
+ export type SecurityEnableUserProfileResponse = AcknowledgedResponseBase;
13461
13559
  export interface SecurityEnrollKibanaRequest extends RequestBase {
13462
13560
  }
13463
13561
  export interface SecurityEnrollKibanaResponse {
@@ -13499,11 +13597,11 @@ export interface SecurityGetPrivilegesRequest extends RequestBase {
13499
13597
  application?: Name;
13500
13598
  name?: Names;
13501
13599
  }
13502
- export declare type SecurityGetPrivilegesResponse = Record<string, Record<string, SecurityPutPrivilegesActions>>;
13600
+ export type SecurityGetPrivilegesResponse = Record<string, Record<string, SecurityPutPrivilegesActions>>;
13503
13601
  export interface SecurityGetRoleRequest extends RequestBase {
13504
13602
  name?: Names;
13505
13603
  }
13506
- export declare type SecurityGetRoleResponse = Record<string, SecurityGetRoleRole>;
13604
+ export type SecurityGetRoleResponse = Record<string, SecurityGetRoleRole>;
13507
13605
  export interface SecurityGetRoleRole {
13508
13606
  cluster: string[];
13509
13607
  indices: SecurityIndicesPrivileges[];
@@ -13518,16 +13616,16 @@ export interface SecurityGetRoleRoleTemplate {
13518
13616
  format?: SecurityGetRoleTemplateFormat;
13519
13617
  template: Script;
13520
13618
  }
13521
- export declare type SecurityGetRoleTemplateFormat = 'string' | 'json';
13619
+ export type SecurityGetRoleTemplateFormat = 'string' | 'json';
13522
13620
  export interface SecurityGetRoleMappingRequest extends RequestBase {
13523
13621
  name?: Names;
13524
13622
  }
13525
- export declare type SecurityGetRoleMappingResponse = Record<string, SecurityRoleMapping>;
13623
+ export type SecurityGetRoleMappingResponse = Record<string, SecurityRoleMapping>;
13526
13624
  export interface SecurityGetServiceAccountsRequest extends RequestBase {
13527
13625
  namespace?: Namespace;
13528
13626
  service?: Service;
13529
13627
  }
13530
- export declare type SecurityGetServiceAccountsResponse = Record<string, SecurityGetServiceAccountsRoleDescriptorWrapper>;
13628
+ export type SecurityGetServiceAccountsResponse = Record<string, SecurityGetServiceAccountsRoleDescriptorWrapper>;
13531
13629
  export interface SecurityGetServiceAccountsRoleDescriptorWrapper {
13532
13630
  role_descriptor: SecurityRoleDescriptorRead;
13533
13631
  }
@@ -13548,7 +13646,7 @@ export interface SecurityGetServiceCredentialsResponse {
13548
13646
  tokens: Record<string, Metadata>;
13549
13647
  nodes_credentials: SecurityGetServiceCredentialsNodesCredentials;
13550
13648
  }
13551
- export declare type SecurityGetTokenAccessTokenGrantType = 'password' | 'client_credentials' | '_kerberos' | 'refresh_token';
13649
+ export type SecurityGetTokenAccessTokenGrantType = 'password' | 'client_credentials' | '_kerberos' | 'refresh_token';
13552
13650
  export interface SecurityGetTokenAuthenticatedUser extends SecurityUser {
13553
13651
  authentication_realm: SecurityGetTokenUserRealm;
13554
13652
  lookup_realm: SecurityGetTokenUserRealm;
@@ -13587,7 +13685,7 @@ export interface SecurityGetUserRequest extends RequestBase {
13587
13685
  username?: Username | Username[];
13588
13686
  with_profile_uid?: boolean;
13589
13687
  }
13590
- export declare type SecurityGetUserResponse = Record<string, SecurityUser>;
13688
+ export type SecurityGetUserResponse = Record<string, SecurityUser>;
13591
13689
  export interface SecurityGetUserPrivilegesRequest extends RequestBase {
13592
13690
  application?: Name;
13593
13691
  priviledge?: Name;
@@ -13612,7 +13710,7 @@ export interface SecurityGetUserProfileResponse {
13612
13710
  profiles: SecurityUserProfileWithMetadata[];
13613
13711
  errors?: SecurityGetUserProfileGetUserProfileErrors;
13614
13712
  }
13615
- export declare type SecurityGrantApiKeyApiKeyGrantType = 'access_token' | 'password';
13713
+ export type SecurityGrantApiKeyApiKeyGrantType = 'access_token' | 'password';
13616
13714
  export interface SecurityGrantApiKeyGrantApiKey {
13617
13715
  name: Name;
13618
13716
  expiration?: DurationLarge;
@@ -13642,13 +13740,13 @@ export interface SecurityHasPrivilegesApplicationPrivilegesCheck {
13642
13740
  privileges: string[];
13643
13741
  resources: string[];
13644
13742
  }
13645
- export declare type SecurityHasPrivilegesApplicationsPrivileges = Record<Name, SecurityHasPrivilegesResourcePrivileges>;
13743
+ export type SecurityHasPrivilegesApplicationsPrivileges = Record<Name, SecurityHasPrivilegesResourcePrivileges>;
13646
13744
  export interface SecurityHasPrivilegesIndexPrivilegesCheck {
13647
13745
  names: Indices;
13648
13746
  privileges: SecurityIndexPrivilege[];
13649
13747
  allow_restricted_indices?: boolean;
13650
13748
  }
13651
- export declare type SecurityHasPrivilegesPrivileges = Record<string, boolean>;
13749
+ export type SecurityHasPrivilegesPrivileges = Record<string, boolean>;
13652
13750
  export interface SecurityHasPrivilegesRequest extends RequestBase {
13653
13751
  user?: Name;
13654
13752
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
@@ -13658,7 +13756,7 @@ export interface SecurityHasPrivilegesRequest extends RequestBase {
13658
13756
  index?: SecurityHasPrivilegesIndexPrivilegesCheck[];
13659
13757
  };
13660
13758
  }
13661
- export declare type SecurityHasPrivilegesResourcePrivileges = Record<Name, SecurityHasPrivilegesPrivileges>;
13759
+ export type SecurityHasPrivilegesResourcePrivileges = Record<Name, SecurityHasPrivilegesPrivileges>;
13662
13760
  export interface SecurityHasPrivilegesResponse {
13663
13761
  application: SecurityHasPrivilegesApplicationsPrivileges;
13664
13762
  cluster: Record<string, boolean>;
@@ -13729,7 +13827,7 @@ export interface SecurityPutPrivilegesRequest extends RequestBase {
13729
13827
  /** @deprecated The use of the 'body' key has been deprecated, use 'privileges' instead. */
13730
13828
  body?: Record<string, Record<string, SecurityPutPrivilegesActions>>;
13731
13829
  }
13732
- export declare type SecurityPutPrivilegesResponse = Record<string, Record<string, SecurityCreatedStatus>>;
13830
+ export type SecurityPutPrivilegesResponse = Record<string, Record<string, SecurityCreatedStatus>>;
13733
13831
  export interface SecurityPutRoleRequest extends RequestBase {
13734
13832
  name: Name;
13735
13833
  refresh?: Refresh;
@@ -13821,7 +13919,7 @@ export interface SecuritySamlCompleteLogoutRequest extends RequestBase {
13821
13919
  content?: string;
13822
13920
  };
13823
13921
  }
13824
- export declare type SecuritySamlCompleteLogoutResponse = boolean;
13922
+ export type SecuritySamlCompleteLogoutResponse = boolean;
13825
13923
  export interface SecuritySamlInvalidateRequest extends RequestBase {
13826
13924
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
13827
13925
  body?: {
@@ -13908,14 +14006,14 @@ export interface SecurityUpdateUserProfileDataRequest extends RequestBase {
13908
14006
  data?: Record<string, any>;
13909
14007
  };
13910
14008
  }
13911
- export declare type SecurityUpdateUserProfileDataResponse = AcknowledgedResponseBase;
13912
- export declare type ShutdownType = 'restart' | 'remove' | 'replace';
14009
+ export type SecurityUpdateUserProfileDataResponse = AcknowledgedResponseBase;
14010
+ export type ShutdownType = 'restart' | 'remove' | 'replace';
13913
14011
  export interface ShutdownDeleteNodeRequest extends RequestBase {
13914
14012
  node_id: NodeId;
13915
14013
  master_timeout?: TimeUnit;
13916
14014
  timeout?: TimeUnit;
13917
14015
  }
13918
- export declare type ShutdownDeleteNodeResponse = AcknowledgedResponseBase;
14016
+ export type ShutdownDeleteNodeResponse = AcknowledgedResponseBase;
13919
14017
  export interface ShutdownGetNodeNodeShutdownStatus {
13920
14018
  node_id: NodeId;
13921
14019
  type: ShutdownGetNodeShutdownType;
@@ -13943,8 +14041,8 @@ export interface ShutdownGetNodeResponse {
13943
14041
  export interface ShutdownGetNodeShardMigrationStatus {
13944
14042
  status: ShutdownGetNodeShutdownStatus;
13945
14043
  }
13946
- export declare type ShutdownGetNodeShutdownStatus = 'not_started' | 'in_progress' | 'stalled' | 'complete';
13947
- export declare type ShutdownGetNodeShutdownType = 'remove' | 'restart';
14044
+ export type ShutdownGetNodeShutdownStatus = 'not_started' | 'in_progress' | 'stalled' | 'complete';
14045
+ export type ShutdownGetNodeShutdownType = 'remove' | 'restart';
13948
14046
  export interface ShutdownPutNodeRequest extends RequestBase {
13949
14047
  node_id: NodeId;
13950
14048
  master_timeout?: TimeUnit;
@@ -13957,7 +14055,7 @@ export interface ShutdownPutNodeRequest extends RequestBase {
13957
14055
  target_node_name?: string;
13958
14056
  };
13959
14057
  }
13960
- export declare type ShutdownPutNodeResponse = AcknowledgedResponseBase;
14058
+ export type ShutdownPutNodeResponse = AcknowledgedResponseBase;
13961
14059
  export interface SlmConfiguration {
13962
14060
  ignore_unavailable?: boolean;
13963
14061
  indices?: Indices;
@@ -14019,7 +14117,7 @@ export interface SlmStatistics {
14019
14117
  export interface SlmDeleteLifecycleRequest extends RequestBase {
14020
14118
  policy_id: Name;
14021
14119
  }
14022
- export declare type SlmDeleteLifecycleResponse = AcknowledgedResponseBase;
14120
+ export type SlmDeleteLifecycleResponse = AcknowledgedResponseBase;
14023
14121
  export interface SlmExecuteLifecycleRequest extends RequestBase {
14024
14122
  policy_id: Name;
14025
14123
  }
@@ -14028,11 +14126,11 @@ export interface SlmExecuteLifecycleResponse {
14028
14126
  }
14029
14127
  export interface SlmExecuteRetentionRequest extends RequestBase {
14030
14128
  }
14031
- export declare type SlmExecuteRetentionResponse = AcknowledgedResponseBase;
14129
+ export type SlmExecuteRetentionResponse = AcknowledgedResponseBase;
14032
14130
  export interface SlmGetLifecycleRequest extends RequestBase {
14033
14131
  policy_id?: Names;
14034
14132
  }
14035
- export declare type SlmGetLifecycleResponse = Record<Id, SlmSnapshotLifecycle>;
14133
+ export type SlmGetLifecycleResponse = Record<Id, SlmSnapshotLifecycle>;
14036
14134
  export interface SlmGetStatsRequest extends RequestBase {
14037
14135
  }
14038
14136
  export interface SlmGetStatsResponse {
@@ -14065,13 +14163,13 @@ export interface SlmPutLifecycleRequest extends RequestBase {
14065
14163
  schedule?: WatcherCronExpression;
14066
14164
  };
14067
14165
  }
14068
- export declare type SlmPutLifecycleResponse = AcknowledgedResponseBase;
14166
+ export type SlmPutLifecycleResponse = AcknowledgedResponseBase;
14069
14167
  export interface SlmStartRequest extends RequestBase {
14070
14168
  }
14071
- export declare type SlmStartResponse = AcknowledgedResponseBase;
14169
+ export type SlmStartResponse = AcknowledgedResponseBase;
14072
14170
  export interface SlmStopRequest extends RequestBase {
14073
14171
  }
14074
- export declare type SlmStopResponse = AcknowledgedResponseBase;
14172
+ export type SlmStopResponse = AcknowledgedResponseBase;
14075
14173
  export interface SnapshotFileCountSnapshotStats {
14076
14174
  file_count: integer;
14077
14175
  size_in_bytes: long;
@@ -14107,7 +14205,7 @@ export interface SnapshotShardsStats {
14107
14205
  started: long;
14108
14206
  total: long;
14109
14207
  }
14110
- export declare type SnapshotShardsStatsStage = 'DONE' | 'FAILURE' | 'FINALIZE' | 'INIT' | 'STARTED';
14208
+ export type SnapshotShardsStatsStage = 'DONE' | 'FAILURE' | 'FINALIZE' | 'INIT' | 'STARTED';
14111
14209
  export interface SnapshotShardsStatsSummary {
14112
14210
  incremental: SnapshotShardsStatsSummaryItem;
14113
14211
  total: SnapshotShardsStatsSummaryItem;
@@ -14158,7 +14256,7 @@ export interface SnapshotSnapshotShardsStatus {
14158
14256
  stage: SnapshotShardsStatsStage;
14159
14257
  stats: SnapshotShardsStatsSummary;
14160
14258
  }
14161
- export declare type SnapshotSnapshotSort = 'start_time' | 'duration' | 'name' | 'index_count' | 'repository' | 'shard_count' | 'failed_shard_count';
14259
+ export type SnapshotSnapshotSort = 'start_time' | 'duration' | 'name' | 'index_count' | 'repository' | 'shard_count' | 'failed_shard_count';
14162
14260
  export interface SnapshotSnapshotStats {
14163
14261
  incremental: SnapshotFileCountSnapshotStats;
14164
14262
  start_time_in_millis: EpochTime<UnitMillis>;
@@ -14199,7 +14297,7 @@ export interface SnapshotCloneRequest extends RequestBase {
14199
14297
  indices: string;
14200
14298
  };
14201
14299
  }
14202
- export declare type SnapshotCloneResponse = AcknowledgedResponseBase;
14300
+ export type SnapshotCloneResponse = AcknowledgedResponseBase;
14203
14301
  export interface SnapshotCreateRequest extends RequestBase {
14204
14302
  repository: Name;
14205
14303
  snapshot: Name;
@@ -14231,19 +14329,19 @@ export interface SnapshotCreateRepositoryRequest extends RequestBase {
14231
14329
  settings: SnapshotRepositorySettings;
14232
14330
  };
14233
14331
  }
14234
- export declare type SnapshotCreateRepositoryResponse = AcknowledgedResponseBase;
14332
+ export type SnapshotCreateRepositoryResponse = AcknowledgedResponseBase;
14235
14333
  export interface SnapshotDeleteRequest extends RequestBase {
14236
14334
  repository: Name;
14237
14335
  snapshot: Name;
14238
14336
  master_timeout?: Duration;
14239
14337
  }
14240
- export declare type SnapshotDeleteResponse = AcknowledgedResponseBase;
14338
+ export type SnapshotDeleteResponse = AcknowledgedResponseBase;
14241
14339
  export interface SnapshotDeleteRepositoryRequest extends RequestBase {
14242
14340
  name: Names;
14243
14341
  master_timeout?: Duration;
14244
14342
  timeout?: Duration;
14245
14343
  }
14246
- export declare type SnapshotDeleteRepositoryResponse = AcknowledgedResponseBase;
14344
+ export type SnapshotDeleteRepositoryResponse = AcknowledgedResponseBase;
14247
14345
  export interface SnapshotGetRequest extends RequestBase {
14248
14346
  repository: Name;
14249
14347
  snapshot: Names;
@@ -14277,7 +14375,7 @@ export interface SnapshotGetRepositoryRequest extends RequestBase {
14277
14375
  local?: boolean;
14278
14376
  master_timeout?: Duration;
14279
14377
  }
14280
- export declare type SnapshotGetRepositoryResponse = Record<string, SnapshotRepository>;
14378
+ export type SnapshotGetRepositoryResponse = Record<string, SnapshotRepository>;
14281
14379
  export interface SnapshotRestoreRequest extends RequestBase {
14282
14380
  repository: Name;
14283
14381
  snapshot: Name;
@@ -14328,7 +14426,7 @@ export interface SqlColumn {
14328
14426
  name: Name;
14329
14427
  type: string;
14330
14428
  }
14331
- export declare type SqlRow = any[];
14429
+ export type SqlRow = any[];
14332
14430
  export interface SqlClearCursorRequest extends RequestBase {
14333
14431
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
14334
14432
  body?: {
@@ -14341,7 +14439,7 @@ export interface SqlClearCursorResponse {
14341
14439
  export interface SqlDeleteAsyncRequest extends RequestBase {
14342
14440
  id: Id;
14343
14441
  }
14344
- export declare type SqlDeleteAsyncResponse = AcknowledgedResponseBase;
14442
+ export type SqlDeleteAsyncResponse = AcknowledgedResponseBase;
14345
14443
  export interface SqlGetAsyncRequest extends RequestBase {
14346
14444
  id: Id;
14347
14445
  delimiter?: string;
@@ -14427,8 +14525,8 @@ export interface SslCertificatesCertificateInformation {
14427
14525
  }
14428
14526
  export interface SslCertificatesRequest extends RequestBase {
14429
14527
  }
14430
- export declare type SslCertificatesResponse = SslCertificatesCertificateInformation[];
14431
- export declare type TasksGroupBy = 'nodes' | 'parents' | 'none';
14528
+ export type SslCertificatesResponse = SslCertificatesCertificateInformation[];
14529
+ export type TasksGroupBy = 'nodes' | 'parents' | 'none';
14432
14530
  export interface TasksNodeTasks {
14433
14531
  name?: NodeId;
14434
14532
  transport_address?: TransportAddress;
@@ -14456,7 +14554,7 @@ export interface TasksTaskInfo {
14456
14554
  type: string;
14457
14555
  parent_task_id?: TaskId;
14458
14556
  }
14459
- export declare type TasksTaskInfos = TasksTaskInfo[] | Record<string, TasksParentTaskInfo>;
14557
+ export type TasksTaskInfos = TasksTaskInfo[] | Record<string, TasksParentTaskInfo>;
14460
14558
  export interface TasksTaskListResponseBase {
14461
14559
  node_failures?: ErrorCause[];
14462
14560
  task_failures?: TaskFailure[];
@@ -14489,7 +14587,7 @@ export interface TasksCancelRequest extends RequestBase {
14489
14587
  parent_task_id?: string;
14490
14588
  wait_for_completion?: boolean;
14491
14589
  }
14492
- export declare type TasksCancelResponse = TasksTaskListResponseBase;
14590
+ export type TasksCancelResponse = TasksTaskListResponseBase;
14493
14591
  export interface TasksGetRequest extends RequestBase {
14494
14592
  task_id: Id;
14495
14593
  timeout?: Duration;
@@ -14511,7 +14609,7 @@ export interface TasksListRequest extends RequestBase {
14511
14609
  timeout?: Duration;
14512
14610
  wait_for_completion?: boolean;
14513
14611
  }
14514
- export declare type TasksListResponse = TasksTaskListResponseBase;
14612
+ export type TasksListResponse = TasksTaskListResponseBase;
14515
14613
  export interface TextStructureFindStructureFieldStat {
14516
14614
  count: integer;
14517
14615
  cardinality: integer;
@@ -14620,7 +14718,7 @@ export interface TransformDeleteTransformRequest extends RequestBase {
14620
14718
  force?: boolean;
14621
14719
  timeout?: Duration;
14622
14720
  }
14623
- export declare type TransformDeleteTransformResponse = AcknowledgedResponseBase;
14721
+ export type TransformDeleteTransformResponse = AcknowledgedResponseBase;
14624
14722
  export interface TransformGetTransformRequest extends RequestBase {
14625
14723
  transform_id?: Names;
14626
14724
  allow_no_match?: boolean;
@@ -14669,6 +14767,7 @@ export interface TransformGetTransformStatsRequest extends RequestBase {
14669
14767
  allow_no_match?: boolean;
14670
14768
  from?: long;
14671
14769
  size?: long;
14770
+ timeout?: Duration;
14672
14771
  }
14673
14772
  export interface TransformGetTransformStatsResponse {
14674
14773
  count: long;
@@ -14702,12 +14801,16 @@ export interface TransformGetTransformStatsTransformProgress {
14702
14801
  }
14703
14802
  export interface TransformGetTransformStatsTransformStats {
14704
14803
  checkpointing: TransformGetTransformStatsCheckpointing;
14804
+ health?: TransformGetTransformStatsTransformStatsHealth;
14705
14805
  id: Id;
14706
14806
  node?: NodeAttributes;
14707
14807
  reason?: string;
14708
14808
  state: string;
14709
14809
  stats: TransformGetTransformStatsTransformIndexerStats;
14710
14810
  }
14811
+ export interface TransformGetTransformStatsTransformStatsHealth {
14812
+ status: HealthStatus;
14813
+ }
14711
14814
  export interface TransformPreviewTransformRequest extends RequestBase {
14712
14815
  transform_id?: Id;
14713
14816
  timeout?: Duration;
@@ -14746,17 +14849,17 @@ export interface TransformPutTransformRequest extends RequestBase {
14746
14849
  sync?: TransformSyncContainer;
14747
14850
  };
14748
14851
  }
14749
- export declare type TransformPutTransformResponse = AcknowledgedResponseBase;
14852
+ export type TransformPutTransformResponse = AcknowledgedResponseBase;
14750
14853
  export interface TransformResetTransformRequest extends RequestBase {
14751
14854
  transform_id: Id;
14752
14855
  force?: boolean;
14753
14856
  }
14754
- export declare type TransformResetTransformResponse = AcknowledgedResponseBase;
14857
+ export type TransformResetTransformResponse = AcknowledgedResponseBase;
14755
14858
  export interface TransformStartTransformRequest extends RequestBase {
14756
14859
  transform_id: Id;
14757
14860
  timeout?: Duration;
14758
14861
  }
14759
- export declare type TransformStartTransformResponse = AcknowledgedResponseBase;
14862
+ export type TransformStartTransformResponse = AcknowledgedResponseBase;
14760
14863
  export interface TransformStopTransformRequest extends RequestBase {
14761
14864
  transform_id: Name;
14762
14865
  allow_no_match?: boolean;
@@ -14765,7 +14868,7 @@ export interface TransformStopTransformRequest extends RequestBase {
14765
14868
  wait_for_checkpoint?: boolean;
14766
14869
  wait_for_completion?: boolean;
14767
14870
  }
14768
- export declare type TransformStopTransformResponse = AcknowledgedResponseBase;
14871
+ export type TransformStopTransformResponse = AcknowledgedResponseBase;
14769
14872
  export interface TransformUpdateTransformRequest extends RequestBase {
14770
14873
  transform_id: Id;
14771
14874
  defer_validation?: boolean;
@@ -14811,7 +14914,7 @@ export interface WatcherAcknowledgeState {
14811
14914
  state: WatcherAcknowledgementOptions;
14812
14915
  timestamp: DateTime;
14813
14916
  }
14814
- export declare type WatcherAcknowledgementOptions = 'awaits_successful_execution' | 'ackable' | 'acked';
14917
+ export type WatcherAcknowledgementOptions = 'awaits_successful_execution' | 'ackable' | 'acked';
14815
14918
  export interface WatcherAction {
14816
14919
  action_type?: WatcherActionType;
14817
14920
  condition?: WatcherConditionContainer;
@@ -14828,16 +14931,16 @@ export interface WatcherAction {
14828
14931
  slack?: WatcherSlackAction;
14829
14932
  webhook?: WatcherWebhookAction;
14830
14933
  }
14831
- export declare type WatcherActionExecutionMode = 'simulate' | 'force_simulate' | 'execute' | 'force_execute' | 'skip';
14934
+ export type WatcherActionExecutionMode = 'simulate' | 'force_simulate' | 'execute' | 'force_execute' | 'skip';
14832
14935
  export interface WatcherActionStatus {
14833
14936
  ack: WatcherAcknowledgeState;
14834
14937
  last_execution?: WatcherExecutionState;
14835
14938
  last_successful_execution?: WatcherExecutionState;
14836
14939
  last_throttle?: WatcherThrottleState;
14837
14940
  }
14838
- export declare type WatcherActionStatusOptions = 'success' | 'failure' | 'simulated' | 'throttled';
14839
- export declare type WatcherActionType = 'email' | 'webhook' | 'index' | 'logging' | 'slack' | 'pagerduty';
14840
- export declare type WatcherActions = Record<IndexName, WatcherActionStatus>;
14941
+ export type WatcherActionStatusOptions = 'success' | 'failure' | 'simulated' | 'throttled';
14942
+ export type WatcherActionType = 'email' | 'webhook' | 'index' | 'logging' | 'slack' | 'pagerduty';
14943
+ export type WatcherActions = Record<IndexName, WatcherActionStatus>;
14841
14944
  export interface WatcherActivationState {
14842
14945
  active: boolean;
14843
14946
  timestamp: DateTime;
@@ -14852,7 +14955,7 @@ export interface WatcherAlwaysCondition {
14852
14955
  export interface WatcherArrayCompareConditionKeys {
14853
14956
  path: string;
14854
14957
  }
14855
- export declare type WatcherArrayCompareCondition = WatcherArrayCompareConditionKeys & {
14958
+ export type WatcherArrayCompareCondition = WatcherArrayCompareConditionKeys & {
14856
14959
  [property: string]: WatcherArrayCompareOpParams | string;
14857
14960
  };
14858
14961
  export interface WatcherArrayCompareOpParams {
@@ -14869,18 +14972,18 @@ export interface WatcherConditionContainer {
14869
14972
  never?: WatcherNeverCondition;
14870
14973
  script?: WatcherScriptCondition;
14871
14974
  }
14872
- export declare type WatcherConditionOp = 'not_eq' | 'eq' | 'lt' | 'gt' | 'lte' | 'gte';
14873
- export declare type WatcherConditionType = 'always' | 'never' | 'script' | 'compare' | 'array_compare';
14874
- export declare type WatcherConnectionScheme = 'http' | 'https';
14875
- export declare type WatcherCronExpression = string;
14975
+ export type WatcherConditionOp = 'not_eq' | 'eq' | 'lt' | 'gt' | 'lte' | 'gte';
14976
+ export type WatcherConditionType = 'always' | 'never' | 'script' | 'compare' | 'array_compare';
14977
+ export type WatcherConnectionScheme = 'http' | 'https';
14978
+ export type WatcherCronExpression = string;
14876
14979
  export interface WatcherDailySchedule {
14877
14980
  at: WatcherScheduleTimeOfDay[];
14878
14981
  }
14879
- export declare type WatcherDataAttachmentFormat = 'json' | 'yaml';
14982
+ export type WatcherDataAttachmentFormat = 'json' | 'yaml';
14880
14983
  export interface WatcherDataEmailAttachment {
14881
14984
  format?: WatcherDataAttachmentFormat;
14882
14985
  }
14883
- export declare type WatcherDay = 'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday';
14986
+ export type WatcherDay = 'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday';
14884
14987
  export interface WatcherEmail {
14885
14988
  id?: Id;
14886
14989
  bcc?: string[];
@@ -14905,13 +15008,13 @@ export interface WatcherEmailBody {
14905
15008
  html?: string;
14906
15009
  text?: string;
14907
15010
  }
14908
- export declare type WatcherEmailPriority = 'lowest' | 'low' | 'normal' | 'high' | 'highest';
15011
+ export type WatcherEmailPriority = 'lowest' | 'low' | 'normal' | 'high' | 'highest';
14909
15012
  export interface WatcherEmailResult {
14910
15013
  account?: string;
14911
15014
  message: WatcherEmail;
14912
15015
  reason?: string;
14913
15016
  }
14914
- export declare type WatcherExecutionPhase = 'awaits_execution' | 'started' | 'input' | 'condition' | 'actions' | 'watch_transform' | 'aborted' | 'finished';
15017
+ export type WatcherExecutionPhase = 'awaits_execution' | 'started' | 'input' | 'condition' | 'actions' | 'watch_transform' | 'aborted' | 'finished';
14915
15018
  export interface WatcherExecutionResult {
14916
15019
  actions: WatcherExecutionResultAction[];
14917
15020
  condition: WatcherExecutionResultCondition;
@@ -14947,7 +15050,7 @@ export interface WatcherExecutionState {
14947
15050
  timestamp: DateTime;
14948
15051
  reason?: string;
14949
15052
  }
14950
- export declare type WatcherExecutionStatus = 'awaits_execution' | 'checking' | 'execution_not_needed' | 'throttled' | 'executed' | 'failed' | 'deleted_while_queued' | 'not_executed_already_queued';
15053
+ export type WatcherExecutionStatus = 'awaits_execution' | 'checking' | 'execution_not_needed' | 'throttled' | 'executed' | 'failed' | 'deleted_while_queued' | 'not_executed_already_queued';
14951
15054
  export interface WatcherExecutionThreadPool {
14952
15055
  max_size: long;
14953
15056
  queue_size: long;
@@ -14976,7 +15079,7 @@ export interface WatcherHttpInputBasicAuthentication {
14976
15079
  password: Password;
14977
15080
  username: Username;
14978
15081
  }
14979
- export declare type WatcherHttpInputMethod = 'head' | 'get' | 'post' | 'put' | 'delete';
15082
+ export type WatcherHttpInputMethod = 'head' | 'get' | 'post' | 'put' | 'delete';
14980
15083
  export interface WatcherHttpInputProxy {
14981
15084
  host: Host;
14982
15085
  port: uint;
@@ -15027,7 +15130,7 @@ export interface WatcherInputContainer {
15027
15130
  search?: WatcherSearchInput;
15028
15131
  simple?: Record<string, any>;
15029
15132
  }
15030
- export declare type WatcherInputType = 'http' | 'search' | 'simple';
15133
+ export type WatcherInputType = 'http' | 'search' | 'simple';
15031
15134
  export interface WatcherLoggingAction {
15032
15135
  level?: string;
15033
15136
  text: string;
@@ -15036,7 +15139,7 @@ export interface WatcherLoggingAction {
15036
15139
  export interface WatcherLoggingResult {
15037
15140
  logged_text: string;
15038
15141
  }
15039
- export declare type WatcherMonth = 'january' | 'february' | 'march' | 'april' | 'may' | 'june' | 'july' | 'august' | 'september' | 'october' | 'november' | 'december';
15142
+ export type WatcherMonth = 'january' | 'february' | 'march' | 'april' | 'may' | 'june' | 'july' | 'august' | 'september' | 'october' | 'november' | 'december';
15040
15143
  export interface WatcherNeverCondition {
15041
15144
  }
15042
15145
  export interface WatcherPagerDutyAction extends WatcherPagerDutyEvent {
@@ -15046,7 +15149,7 @@ export interface WatcherPagerDutyContext {
15046
15149
  src?: string;
15047
15150
  type: WatcherPagerDutyContextType;
15048
15151
  }
15049
- export declare type WatcherPagerDutyContextType = 'link' | 'image';
15152
+ export type WatcherPagerDutyContextType = 'link' | 'image';
15050
15153
  export interface WatcherPagerDutyEvent {
15051
15154
  account?: string;
15052
15155
  attach_payload: boolean;
@@ -15063,14 +15166,14 @@ export interface WatcherPagerDutyEventProxy {
15063
15166
  host?: Host;
15064
15167
  port?: integer;
15065
15168
  }
15066
- export declare type WatcherPagerDutyEventType = 'trigger' | 'resolve' | 'acknowledge';
15169
+ export type WatcherPagerDutyEventType = 'trigger' | 'resolve' | 'acknowledge';
15067
15170
  export interface WatcherPagerDutyResult {
15068
15171
  event: WatcherPagerDutyEvent;
15069
15172
  reason?: string;
15070
15173
  request?: WatcherHttpInputRequestResult;
15071
15174
  response?: WatcherHttpInputResponseResult;
15072
15175
  }
15073
- export declare type WatcherQuantifier = 'some' | 'all';
15176
+ export type WatcherQuantifier = 'some' | 'all';
15074
15177
  export interface WatcherQueryWatch {
15075
15178
  _id: Id;
15076
15179
  status?: WatcherWatchStatus;
@@ -15085,7 +15188,7 @@ export interface WatcherReportingEmailAttachment {
15085
15188
  interval?: Duration;
15086
15189
  request?: WatcherHttpInputRequestDefinition;
15087
15190
  }
15088
- export declare type WatcherResponseContentType = 'json' | 'yaml' | 'text';
15191
+ export type WatcherResponseContentType = 'json' | 'yaml' | 'text';
15089
15192
  export interface WatcherScheduleContainer {
15090
15193
  cron?: WatcherCronExpression;
15091
15194
  daily?: WatcherDailySchedule;
@@ -15095,7 +15198,7 @@ export interface WatcherScheduleContainer {
15095
15198
  weekly?: WatcherTimeOfWeek | WatcherTimeOfWeek[];
15096
15199
  yearly?: WatcherTimeOfYear | WatcherTimeOfYear[];
15097
15200
  }
15098
- export declare type WatcherScheduleTimeOfDay = string | WatcherHourAndMinute;
15201
+ export type WatcherScheduleTimeOfDay = string | WatcherHourAndMinute;
15099
15202
  export interface WatcherScheduleTriggerEvent {
15100
15203
  scheduled_time: DateTime;
15101
15204
  triggered_time?: DateTime;
@@ -15339,7 +15442,7 @@ export interface WatcherQueryWatchesResponse {
15339
15442
  }
15340
15443
  export interface WatcherStartRequest extends RequestBase {
15341
15444
  }
15342
- export declare type WatcherStartResponse = AcknowledgedResponseBase;
15445
+ export type WatcherStartResponse = AcknowledgedResponseBase;
15343
15446
  export interface WatcherStatsRequest extends RequestBase {
15344
15447
  metric?: WatcherStatsWatcherMetric | WatcherStatsWatcherMetric[];
15345
15448
  emit_stacktraces?: boolean;
@@ -15360,7 +15463,7 @@ export interface WatcherStatsWatchRecordStats extends WatcherStatsWatchRecordQue
15360
15463
  watch_id: Id;
15361
15464
  watch_record_id: Id;
15362
15465
  }
15363
- export declare type WatcherStatsWatcherMetric = '_all' | 'all' | 'queued_watches' | 'current_watches' | 'pending_watches';
15466
+ export type WatcherStatsWatcherMetric = '_all' | 'all' | 'queued_watches' | 'current_watches' | 'pending_watches';
15364
15467
  export interface WatcherStatsWatcherNodeStats {
15365
15468
  current_watches?: WatcherStatsWatchRecordStats[];
15366
15469
  execution_thread_pool: WatcherExecutionThreadPool;
@@ -15369,10 +15472,10 @@ export interface WatcherStatsWatcherNodeStats {
15369
15472
  watcher_state: WatcherStatsWatcherState;
15370
15473
  node_id: Id;
15371
15474
  }
15372
- export declare type WatcherStatsWatcherState = 'stopped' | 'starting' | 'started' | 'stopping';
15475
+ export type WatcherStatsWatcherState = 'stopped' | 'starting' | 'started' | 'stopping';
15373
15476
  export interface WatcherStopRequest extends RequestBase {
15374
15477
  }
15375
- export declare type WatcherStopResponse = AcknowledgedResponseBase;
15478
+ export type WatcherStopResponse = AcknowledgedResponseBase;
15376
15479
  export interface XpackInfoBuildInformation {
15377
15480
  date: DateTime;
15378
15481
  hash: string;
@@ -15541,6 +15644,9 @@ export interface XpackUsageFlattened extends XpackUsageBase {
15541
15644
  export interface XpackUsageFrozenIndices extends XpackUsageBase {
15542
15645
  indices_count: long;
15543
15646
  }
15647
+ export interface XpackUsageHealthStatistics extends XpackUsageBase {
15648
+ invocations: XpackUsageInvocations;
15649
+ }
15544
15650
  export interface XpackUsageIlm {
15545
15651
  policy_count: integer;
15546
15652
  policy_stats: XpackUsageIlmPolicyStatistics[];
@@ -15549,6 +15655,9 @@ export interface XpackUsageIlmPolicyStatistics {
15549
15655
  indices_managed: integer;
15550
15656
  phases: IlmPhases;
15551
15657
  }
15658
+ export interface XpackUsageInvocations {
15659
+ total: long;
15660
+ }
15552
15661
  export interface XpackUsageIpFilter {
15553
15662
  http: boolean;
15554
15663
  transport: boolean;
@@ -15627,6 +15736,7 @@ export interface XpackUsageMlInferenceTrainedModelsCount {
15627
15736
  regression?: long;
15628
15737
  classification?: long;
15629
15738
  ner?: long;
15739
+ text_embedding?: long;
15630
15740
  }
15631
15741
  export interface XpackUsageMlJobForecasts {
15632
15742
  total: long;
@@ -15673,6 +15783,7 @@ export interface XpackUsageResponse {
15673
15783
  flattened?: XpackUsageFlattened;
15674
15784
  frozen_indices: XpackUsageFrozenIndices;
15675
15785
  graph: XpackUsageBase;
15786
+ health_api?: XpackUsageHealthStatistics;
15676
15787
  ilm: XpackUsageIlm;
15677
15788
  logstash: XpackUsageBase;
15678
15789
  ml: XpackUsageMachineLearning;