@elastic/elasticsearch 8.1.0 → 8.2.0-patch.1

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.
@@ -208,7 +208,7 @@ export interface DeleteByQueryRethrottleRequest extends RequestBase {
208
208
  task_id: Id;
209
209
  requests_per_second?: long;
210
210
  }
211
- export declare type DeleteByQueryRethrottleResponse = TasksListResponse;
211
+ export declare type DeleteByQueryRethrottleResponse = TasksTaskListResponseBase;
212
212
  export interface DeleteScriptRequest extends RequestBase {
213
213
  id: Id;
214
214
  master_timeout?: Time;
@@ -302,6 +302,8 @@ export interface FieldCapsRequest extends RequestBase {
302
302
  fields: Fields;
303
303
  ignore_unavailable?: boolean;
304
304
  include_unmapped?: boolean;
305
+ filters?: string;
306
+ types?: string[];
305
307
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
306
308
  body?: {
307
309
  index_filter?: QueryDslQueryContainer;
@@ -426,6 +428,7 @@ export interface KnnSearchRequest extends RequestBase {
426
428
  docvalue_fields?: (QueryDslFieldAndFormat | Field)[];
427
429
  stored_fields?: Fields;
428
430
  fields?: Fields;
431
+ filter?: QueryDslQueryContainer | QueryDslQueryContainer[];
429
432
  knn: KnnSearchQuery;
430
433
  };
431
434
  }
@@ -593,6 +596,7 @@ export interface MtermvectorsTermVectorsResult {
593
596
  export interface OpenPointInTimeRequest extends RequestBase {
594
597
  index: Indices;
595
598
  keep_alive: Time;
599
+ ignore_unavailable?: boolean;
596
600
  }
597
601
  export interface OpenPointInTimeResponse {
598
602
  id: Id;
@@ -998,12 +1002,13 @@ export interface SearchCompletionSuggestOption<TDocument = unknown> {
998
1002
  collate_match?: boolean;
999
1003
  contexts?: Record<string, SearchContext[]>;
1000
1004
  fields?: Record<string, any>;
1001
- _id: string;
1002
- _index: IndexName;
1005
+ _id?: string;
1006
+ _index?: IndexName;
1003
1007
  _routing?: Routing;
1004
1008
  _score?: double;
1005
1009
  _source?: TDocument;
1006
1010
  text: string;
1011
+ score?: double;
1007
1012
  }
1008
1013
  export interface SearchCompletionSuggester extends SearchSuggesterBase {
1009
1014
  contexts?: Record<Field, SearchCompletionContext | SearchContext | (SearchCompletionContext | SearchContext)[]>;
@@ -1055,9 +1060,9 @@ export interface SearchFieldCollapse {
1055
1060
  export interface SearchFieldSuggester {
1056
1061
  completion?: SearchCompletionSuggester;
1057
1062
  phrase?: SearchPhraseSuggester;
1063
+ term?: SearchTermSuggester;
1058
1064
  prefix?: string;
1059
1065
  regex?: string;
1060
- term?: SearchTermSuggester;
1061
1066
  text?: string;
1062
1067
  }
1063
1068
  export interface SearchHighlight {
@@ -2198,6 +2203,7 @@ export interface AggregationsAggregationContainer {
2198
2203
  geohash_grid?: AggregationsGeoHashGridAggregation;
2199
2204
  geo_line?: AggregationsGeoLineAggregation;
2200
2205
  geotile_grid?: AggregationsGeoTileGridAggregation;
2206
+ geohex_grid?: AggregationsGeohexGridAggregation;
2201
2207
  global?: AggregationsGlobalAggregation;
2202
2208
  histogram?: AggregationsHistogramAggregation;
2203
2209
  ip_range?: AggregationsIpRangeAggregation;
@@ -2365,13 +2371,6 @@ export declare type AggregationsChildrenAggregate = AggregationsChildrenAggregat
2365
2371
  export interface AggregationsChildrenAggregation extends AggregationsBucketAggregationBase {
2366
2372
  type?: RelationName;
2367
2373
  }
2368
- export interface AggregationsClassificationInferenceOptions {
2369
- num_top_classes?: integer;
2370
- num_top_feature_importance_values?: integer;
2371
- prediction_field_type?: string;
2372
- results_field?: string;
2373
- top_classes_results_field?: string;
2374
- }
2375
2374
  export interface AggregationsCompositeAggregate extends AggregationsMultiBucketAggregateBase<AggregationsCompositeBucket> {
2376
2375
  after_key?: Record<string, any>;
2377
2376
  }
@@ -2597,6 +2596,13 @@ export interface AggregationsGeoTileGridBucketKeys extends AggregationsMultiBuck
2597
2596
  export declare type AggregationsGeoTileGridBucket = AggregationsGeoTileGridBucketKeys & {
2598
2597
  [property: string]: AggregationsAggregate | GeoTile | long;
2599
2598
  };
2599
+ export interface AggregationsGeohexGridAggregation extends AggregationsBucketAggregationBase {
2600
+ field: Field;
2601
+ precision?: integer;
2602
+ bounds?: GeoBounds;
2603
+ size?: integer;
2604
+ shard_size?: integer;
2605
+ }
2600
2606
  export interface AggregationsGlobalAggregateKeys extends AggregationsSingleBucketAggregateBase {
2601
2607
  }
2602
2608
  export declare type AggregationsGlobalAggregate = AggregationsGlobalAggregateKeys & {
@@ -2679,8 +2685,8 @@ export interface AggregationsInferenceClassImportance {
2679
2685
  importance: double;
2680
2686
  }
2681
2687
  export interface AggregationsInferenceConfigContainer {
2682
- regression?: AggregationsRegressionInferenceOptions;
2683
- classification?: AggregationsClassificationInferenceOptions;
2688
+ regression?: MlRegressionInferenceOptions;
2689
+ classification?: MlClassificationInferenceOptions;
2684
2690
  }
2685
2691
  export interface AggregationsInferenceFeatureImportance {
2686
2692
  feature_name: string;
@@ -2915,10 +2921,6 @@ export interface AggregationsRateAggregation extends AggregationsFormatMetricAgg
2915
2921
  mode?: AggregationsRateMode;
2916
2922
  }
2917
2923
  export declare type AggregationsRateMode = 'sum' | 'value_count';
2918
- export interface AggregationsRegressionInferenceOptions {
2919
- results_field?: Field;
2920
- num_top_feature_importance_values?: integer;
2921
- }
2922
2924
  export interface AggregationsReverseNestedAggregateKeys extends AggregationsSingleBucketAggregateBase {
2923
2925
  }
2924
2926
  export declare type AggregationsReverseNestedAggregate = AggregationsReverseNestedAggregateKeys & {
@@ -2976,7 +2978,8 @@ export interface AggregationsSignificantTermsAggregation extends AggregationsBuc
2976
2978
  execution_hint?: AggregationsTermsAggregationExecutionHint;
2977
2979
  field?: Field;
2978
2980
  gnd?: AggregationsGoogleNormalizedDistanceHeuristic;
2979
- include?: string | string[];
2981
+ include?: AggregationsTermsInclude;
2982
+ jlh?: EmptyObject;
2980
2983
  min_doc_count?: long;
2981
2984
  mutual_information?: AggregationsMutualInformationHeuristic;
2982
2985
  percentage?: AggregationsPercentageScoreHeuristic;
@@ -2998,6 +3001,7 @@ export interface AggregationsSignificantTextAggregation extends AggregationsBuck
2998
3001
  filter_duplicate_text?: boolean;
2999
3002
  gnd?: AggregationsGoogleNormalizedDistanceHeuristic;
3000
3003
  include?: string | string[];
3004
+ jlh?: EmptyObject;
3001
3005
  min_doc_count?: long;
3002
3006
  mutual_information?: AggregationsMutualInformationHeuristic;
3003
3007
  percentage?: AggregationsPercentageScoreHeuristic;
@@ -3777,7 +3781,7 @@ export interface MappingConstantKeywordProperty extends MappingPropertyBase {
3777
3781
  value?: any;
3778
3782
  type: 'constant_keyword';
3779
3783
  }
3780
- export declare type MappingCoreProperty = MappingObjectProperty | MappingNestedProperty | MappingSearchAsYouTypeProperty | MappingTextProperty | MappingDocValuesProperty;
3784
+ export declare type MappingCoreProperty = MappingObjectProperty | MappingNestedProperty | MappingSearchAsYouTypeProperty | MappingTextProperty | MappingDocValuesProperty | MappingMatchOnlyTextProperty;
3781
3785
  export interface MappingCorePropertyBase extends MappingPropertyBase {
3782
3786
  copy_to?: Fields;
3783
3787
  similarity?: string;
@@ -3822,7 +3826,7 @@ export interface MappingDenseVectorProperty extends MappingPropertyBase {
3822
3826
  index?: boolean;
3823
3827
  index_options?: MappingDenseVectorIndexOptions;
3824
3828
  }
3825
- export declare type MappingDocValuesProperty = MappingBinaryProperty | MappingBooleanProperty | MappingDateProperty | MappingDateNanosProperty | MappingKeywordProperty | MappingNumberProperty | MappingRangeProperty | MappingGeoPointProperty | MappingGeoShapeProperty | MappingCompletionProperty | MappingGenericProperty | MappingIpProperty | MappingMurmur3HashProperty | MappingShapeProperty | MappingTokenCountProperty | MappingVersionProperty | MappingWildcardProperty | MappingPointProperty;
3829
+ export declare type MappingDocValuesProperty = MappingBinaryProperty | MappingBooleanProperty | MappingDateProperty | MappingDateNanosProperty | MappingKeywordProperty | MappingNumberProperty | MappingRangeProperty | MappingGeoPointProperty | MappingGeoShapeProperty | MappingCompletionProperty | MappingIpProperty | MappingMurmur3HashProperty | MappingShapeProperty | MappingTokenCountProperty | MappingVersionProperty | MappingWildcardProperty | MappingPointProperty;
3826
3830
  export interface MappingDocValuesPropertyBase extends MappingCorePropertyBase {
3827
3831
  doc_values?: boolean;
3828
3832
  }
@@ -3854,7 +3858,7 @@ export interface MappingFieldMapping {
3854
3858
  export interface MappingFieldNamesField {
3855
3859
  enabled: boolean;
3856
3860
  }
3857
- 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';
3861
+ 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';
3858
3862
  export interface MappingFlattenedProperty extends MappingPropertyBase {
3859
3863
  boost?: double;
3860
3864
  depth_limit?: integer;
@@ -3874,20 +3878,6 @@ export interface MappingFloatNumberProperty extends MappingStandardNumberPropert
3874
3878
  export interface MappingFloatRangeProperty extends MappingRangePropertyBase {
3875
3879
  type: 'float_range';
3876
3880
  }
3877
- export interface MappingGenericProperty extends MappingDocValuesPropertyBase {
3878
- analyzer: string;
3879
- boost: double;
3880
- fielddata: IndicesStringFielddata;
3881
- ignore_malformed: boolean;
3882
- index: boolean;
3883
- index_options: MappingIndexOptions;
3884
- norms: boolean;
3885
- null_value: string;
3886
- position_increment_gap: integer;
3887
- search_analyzer: string;
3888
- term_vector: MappingTermVectorOption;
3889
- type: string;
3890
- }
3891
3881
  export declare type MappingGeoOrientation = 'right' | 'RIGHT' | 'counterclockwise' | 'ccw' | 'left' | 'LEFT' | 'clockwise' | 'cw';
3892
3882
  export interface MappingGeoPointProperty extends MappingDocValuesPropertyBase {
3893
3883
  ignore_malformed?: boolean;
@@ -3956,6 +3946,12 @@ export interface MappingLongNumberProperty extends MappingStandardNumberProperty
3956
3946
  export interface MappingLongRangeProperty extends MappingRangePropertyBase {
3957
3947
  type: 'long_range';
3958
3948
  }
3949
+ export interface MappingMatchOnlyTextProperty {
3950
+ type: 'match_only_text';
3951
+ fields?: Record<PropertyName, MappingProperty>;
3952
+ meta?: Record<string, string>;
3953
+ copy_to?: Fields;
3954
+ }
3959
3955
  export declare type MappingMatchType = 'simple' | 'regex';
3960
3956
  export interface MappingMurmur3HashProperty extends MappingDocValuesPropertyBase {
3961
3957
  type: 'murmur3';
@@ -4165,7 +4161,7 @@ export interface QueryDslConstantScoreQuery extends QueryDslQueryBase {
4165
4161
  export interface QueryDslDateDecayFunctionKeys extends QueryDslDecayFunctionBase {
4166
4162
  }
4167
4163
  export declare type QueryDslDateDecayFunction = QueryDslDateDecayFunctionKeys & {
4168
- [property: string]: QueryDslDecayPlacement<DateMath, Time> | QueryDslMultiValueMode | QueryDslQueryContainer | double;
4164
+ [property: string]: QueryDslDecayPlacement<DateMath, Time> | QueryDslMultiValueMode;
4169
4165
  };
4170
4166
  export interface QueryDslDateDistanceFeatureQuery extends QueryDslDistanceFeatureQueryBase<DateMath, Time> {
4171
4167
  }
@@ -4180,7 +4176,7 @@ export interface QueryDslDateRangeQuery extends QueryDslRangeQueryBase {
4180
4176
  time_zone?: TimeZone;
4181
4177
  }
4182
4178
  export declare type QueryDslDecayFunction = QueryDslDateDecayFunction | QueryDslNumericDecayFunction | QueryDslGeoDecayFunction;
4183
- export interface QueryDslDecayFunctionBase extends QueryDslScoreFunctionBase {
4179
+ export interface QueryDslDecayFunctionBase {
4184
4180
  multi_value_mode?: QueryDslMultiValueMode;
4185
4181
  }
4186
4182
  export interface QueryDslDecayPlacement<TOrigin = unknown, TScale = unknown> {
@@ -4214,7 +4210,7 @@ export interface QueryDslFieldLookup {
4214
4210
  routing?: Routing;
4215
4211
  }
4216
4212
  export declare type QueryDslFieldValueFactorModifier = 'none' | 'log' | 'log1p' | 'log2p' | 'ln' | 'ln1p' | 'ln2p' | 'square' | 'sqrt' | 'reciprocal';
4217
- export interface QueryDslFieldValueFactorScoreFunction extends QueryDslScoreFunctionBase {
4213
+ export interface QueryDslFieldValueFactorScoreFunction {
4218
4214
  field: Field;
4219
4215
  factor?: double;
4220
4216
  missing?: double;
@@ -4259,7 +4255,7 @@ export declare type QueryDslGeoBoundingBoxQuery = QueryDslGeoBoundingBoxQueryKey
4259
4255
  export interface QueryDslGeoDecayFunctionKeys extends QueryDslDecayFunctionBase {
4260
4256
  }
4261
4257
  export declare type QueryDslGeoDecayFunction = QueryDslGeoDecayFunctionKeys & {
4262
- [property: string]: QueryDslDecayPlacement<GeoLocation, Distance> | QueryDslMultiValueMode | QueryDslQueryContainer | double;
4258
+ [property: string]: QueryDslDecayPlacement<GeoLocation, Distance> | QueryDslMultiValueMode;
4263
4259
  };
4264
4260
  export interface QueryDslGeoDistanceFeatureQuery extends QueryDslDistanceFeatureQueryBase<GeoLocation, Distance> {
4265
4261
  }
@@ -4494,7 +4490,7 @@ export interface QueryDslNumberRangeQuery extends QueryDslRangeQueryBase {
4494
4490
  export interface QueryDslNumericDecayFunctionKeys extends QueryDslDecayFunctionBase {
4495
4491
  }
4496
4492
  export declare type QueryDslNumericDecayFunction = QueryDslNumericDecayFunctionKeys & {
4497
- [property: string]: QueryDslDecayPlacement<double, double> | QueryDslMultiValueMode | QueryDslQueryContainer | double;
4493
+ [property: string]: QueryDslDecayPlacement<double, double> | QueryDslMultiValueMode;
4498
4494
  };
4499
4495
  export declare type QueryDslOperator = 'and' | 'AND' | 'or' | 'OR';
4500
4496
  export interface QueryDslParentIdQuery extends QueryDslQueryBase {
@@ -4615,7 +4611,7 @@ export interface QueryDslQueryStringQuery extends QueryDslQueryBase {
4615
4611
  time_zone?: TimeZone;
4616
4612
  type?: QueryDslTextQueryType;
4617
4613
  }
4618
- export interface QueryDslRandomScoreFunction extends QueryDslScoreFunctionBase {
4614
+ export interface QueryDslRandomScoreFunction {
4619
4615
  field?: Field;
4620
4616
  seed?: long | string;
4621
4617
  }
@@ -4652,14 +4648,10 @@ export interface QueryDslRegexpQuery extends QueryDslQueryBase {
4652
4648
  rewrite?: MultiTermQueryRewrite;
4653
4649
  value: string;
4654
4650
  }
4655
- export interface QueryDslScoreFunctionBase {
4656
- filter?: QueryDslQueryContainer;
4657
- weight?: double;
4658
- }
4659
4651
  export interface QueryDslScriptQuery extends QueryDslQueryBase {
4660
4652
  script: Script;
4661
4653
  }
4662
- export interface QueryDslScriptScoreFunction extends QueryDslScoreFunctionBase {
4654
+ export interface QueryDslScriptScoreFunction {
4663
4655
  script: Script;
4664
4656
  }
4665
4657
  export interface QueryDslScriptScoreQuery extends QueryDslQueryBase {
@@ -4816,8 +4808,7 @@ export interface AsyncSearchGetRequest extends RequestBase {
4816
4808
  typed_keys?: boolean;
4817
4809
  wait_for_completion_timeout?: Time;
4818
4810
  }
4819
- export interface AsyncSearchGetResponse<TDocument = unknown> extends AsyncSearchAsyncSearchDocumentResponseBase<TDocument> {
4820
- }
4811
+ export declare type AsyncSearchGetResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = AsyncSearchAsyncSearchDocumentResponseBase<TDocument, TAggregations>;
4821
4812
  export interface AsyncSearchStatusRequest extends RequestBase {
4822
4813
  id: Id;
4823
4814
  }
@@ -4909,8 +4900,7 @@ export interface AsyncSearchSubmitRequest extends RequestBase {
4909
4900
  stats?: string[];
4910
4901
  };
4911
4902
  }
4912
- export interface AsyncSearchSubmitResponse<TDocument = unknown> extends AsyncSearchAsyncSearchDocumentResponseBase<TDocument> {
4913
- }
4903
+ export declare type AsyncSearchSubmitResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = AsyncSearchAsyncSearchDocumentResponseBase<TDocument, TAggregations>;
4914
4904
  export interface AutoscalingAutoscalingPolicy {
4915
4905
  roles: string[];
4916
4906
  deciders: Record<string, any>;
@@ -7551,8 +7541,7 @@ export interface EqlGetRequest extends RequestBase {
7551
7541
  keep_alive?: Time;
7552
7542
  wait_for_completion_timeout?: Time;
7553
7543
  }
7554
- export interface EqlGetResponse<TEvent = unknown> extends EqlEqlSearchResponseBase<TEvent> {
7555
- }
7544
+ export declare type EqlGetResponse<TEvent = unknown> = EqlEqlSearchResponseBase<TEvent>;
7556
7545
  export interface EqlGetStatusRequest extends RequestBase {
7557
7546
  id: Id;
7558
7547
  }
@@ -7590,8 +7579,7 @@ export interface EqlSearchRequest extends RequestBase {
7590
7579
  runtime_mappings?: MappingRuntimeFields;
7591
7580
  };
7592
7581
  }
7593
- export interface EqlSearchResponse<TEvent = unknown> extends EqlEqlSearchResponseBase<TEvent> {
7594
- }
7582
+ export declare type EqlSearchResponse<TEvent = unknown> = EqlEqlSearchResponseBase<TEvent>;
7595
7583
  export declare type EqlSearchResultPosition = 'tail' | 'head';
7596
7584
  export interface FeaturesFeature {
7597
7585
  name: string;
@@ -8087,6 +8075,10 @@ export interface IndicesIndexSettings {
8087
8075
  shards?: integer;
8088
8076
  queries?: IndicesQueries;
8089
8077
  similarity?: IndicesSettingsSimilarity;
8078
+ mappings?: IndicesMappingLimitSettings;
8079
+ 'indexing.slowlog'?: IndicesSlowlogSettings;
8080
+ indexing_pressure?: IndicesIndexingPressure;
8081
+ store?: IndicesStorage;
8090
8082
  }
8091
8083
  export interface IndicesIndexSettingsAnalysis {
8092
8084
  analyzer?: Record<string, AnalysisAnalyzer>;
@@ -8097,6 +8089,14 @@ export interface IndicesIndexSettingsAnalysis {
8097
8089
  }
8098
8090
  export interface IndicesIndexSettingsLifecycle {
8099
8091
  name: Name;
8092
+ indexing_complete?: boolean;
8093
+ origination_date?: long;
8094
+ parse_origination_date?: boolean;
8095
+ step?: IndicesIndexSettingsLifecycleStep;
8096
+ rollover_alias?: string;
8097
+ }
8098
+ export interface IndicesIndexSettingsLifecycleStep {
8099
+ wait_time_threshold?: Time;
8100
8100
  }
8101
8101
  export interface IndicesIndexSettingsTimeSeries {
8102
8102
  end_time?: DateOrEpochMillis;
@@ -8132,6 +8132,39 @@ export interface IndicesIndexVersioning {
8132
8132
  created: VersionString;
8133
8133
  created_string?: VersionString;
8134
8134
  }
8135
+ export interface IndicesIndexingPressure {
8136
+ memory: IndicesIndexingPressureMemory;
8137
+ }
8138
+ export interface IndicesIndexingPressureMemory {
8139
+ limit?: integer;
8140
+ }
8141
+ export interface IndicesMappingLimitSettings {
8142
+ total_fields?: IndicesMappingLimitSettingsTotalFields;
8143
+ depth?: IndicesMappingLimitSettingsDepth;
8144
+ nested_fields?: IndicesMappingLimitSettingsNestedFields;
8145
+ nested_objects?: IndicesMappingLimitSettingsNestedObjects;
8146
+ field_name_length?: IndicesMappingLimitSettingsFieldNameLength;
8147
+ dimension_fields?: IndicesMappingLimitSettingsDimensionFields;
8148
+ ignore_malformed?: boolean;
8149
+ }
8150
+ export interface IndicesMappingLimitSettingsDepth {
8151
+ limit?: integer;
8152
+ }
8153
+ export interface IndicesMappingLimitSettingsDimensionFields {
8154
+ limit?: integer;
8155
+ }
8156
+ export interface IndicesMappingLimitSettingsFieldNameLength {
8157
+ limit?: long;
8158
+ }
8159
+ export interface IndicesMappingLimitSettingsNestedFields {
8160
+ limit?: integer;
8161
+ }
8162
+ export interface IndicesMappingLimitSettingsNestedObjects {
8163
+ limit?: integer;
8164
+ }
8165
+ export interface IndicesMappingLimitSettingsTotalFields {
8166
+ limit?: integer;
8167
+ }
8135
8168
  export interface IndicesMerge {
8136
8169
  scheduler?: IndicesMergeScheduler;
8137
8170
  }
@@ -8165,7 +8198,8 @@ export interface IndicesSettingsQueryString {
8165
8198
  lenient: boolean;
8166
8199
  }
8167
8200
  export interface IndicesSettingsSearch {
8168
- idle: IndicesSearchIdle;
8201
+ idle?: IndicesSearchIdle;
8202
+ slowlog?: IndicesSlowlogSettings;
8169
8203
  }
8170
8204
  export interface IndicesSettingsSimilarity {
8171
8205
  bm25?: IndicesSettingsSimilarityBm25;
@@ -8210,14 +8244,32 @@ export interface IndicesSettingsSimilarityScriptedTfidf {
8210
8244
  script: Script;
8211
8245
  type: 'scripted';
8212
8246
  }
8247
+ export interface IndicesSlowlogSettings {
8248
+ level?: string;
8249
+ source?: integer;
8250
+ reformat?: boolean;
8251
+ threshold?: IndicesSlowlogTresholds;
8252
+ }
8253
+ export interface IndicesSlowlogTresholdLevels {
8254
+ warn?: Time;
8255
+ info?: Time;
8256
+ debug?: Time;
8257
+ trace?: Time;
8258
+ }
8259
+ export interface IndicesSlowlogTresholds {
8260
+ query?: IndicesSlowlogTresholdLevels;
8261
+ fetch?: IndicesSlowlogTresholdLevels;
8262
+ index?: IndicesSlowlogTresholdLevels;
8263
+ }
8213
8264
  export interface IndicesSoftDeletes {
8214
- enabled: boolean;
8265
+ enabled?: boolean;
8215
8266
  retention_lease?: IndicesRetentionLease;
8216
8267
  }
8217
- export interface IndicesStringFielddata {
8218
- format: IndicesStringFielddataFormat;
8268
+ export interface IndicesStorage {
8269
+ type: IndicesStorageType;
8270
+ allow_mmap?: boolean;
8219
8271
  }
8220
- export declare type IndicesStringFielddataFormat = 'paged_bytes' | 'disabled';
8272
+ export declare type IndicesStorageType = 'fs' | '' | 'niofs' | 'mmapfs' | 'hybridfs';
8221
8273
  export interface IndicesTemplateMapping {
8222
8274
  aliases: Record<IndexName, IndicesAlias>;
8223
8275
  index_patterns: Name[];
@@ -8227,12 +8279,15 @@ export interface IndicesTemplateMapping {
8227
8279
  version?: VersionNumber;
8228
8280
  }
8229
8281
  export interface IndicesTranslog {
8230
- durability?: string;
8231
- flush_threshold_size?: string;
8282
+ sync_interval?: Time;
8283
+ durability?: IndicesTranslogDurability;
8284
+ flush_threshold_size?: ByteSize;
8232
8285
  retention?: IndicesTranslogRetention;
8233
8286
  }
8287
+ export declare type IndicesTranslogDurability = 'request' | 'REQUEST' | 'async' | 'ASYNC';
8234
8288
  export interface IndicesTranslogRetention {
8235
- size: ByteSize;
8289
+ size?: ByteSize;
8290
+ age?: Time;
8236
8291
  }
8237
8292
  export declare type IndicesAddBlockIndicesBlockOptions = 'metadata' | 'read' | 'read_only' | 'write';
8238
8293
  export interface IndicesAddBlockIndicesBlockStatus {
@@ -8375,7 +8430,7 @@ export interface IndicesCreateRequest extends RequestBase {
8375
8430
  export interface IndicesCreateResponse {
8376
8431
  index: IndexName;
8377
8432
  shards_acknowledged: boolean;
8378
- acknowledged?: boolean;
8433
+ acknowledged: boolean;
8379
8434
  }
8380
8435
  export interface IndicesCreateDataStreamRequest extends RequestBase {
8381
8436
  name: DataStreamName;
@@ -8545,6 +8600,8 @@ export interface IndicesForcemergeRequest extends RequestBase {
8545
8600
  wait_for_completion?: boolean;
8546
8601
  }
8547
8602
  export declare type IndicesForcemergeResponse = ShardsOperationResponseBase;
8603
+ export declare type IndicesGetFeature = 'aliases' | 'mappings' | 'settings';
8604
+ export declare type IndicesGetFeatures = IndicesGetFeature | IndicesGetFeature[];
8548
8605
  export interface IndicesGetRequest extends RequestBase {
8549
8606
  index: Indices;
8550
8607
  allow_no_indices?: boolean;
@@ -8554,6 +8611,7 @@ export interface IndicesGetRequest extends RequestBase {
8554
8611
  include_defaults?: boolean;
8555
8612
  local?: boolean;
8556
8613
  master_timeout?: Time;
8614
+ features?: IndicesGetFeatures;
8557
8615
  }
8558
8616
  export declare type IndicesGetResponse = Record<IndexName, IndicesIndexState>;
8559
8617
  export interface IndicesGetAliasIndexAliases {
@@ -8637,6 +8695,21 @@ export interface IndicesMigrateToDataStreamRequest extends RequestBase {
8637
8695
  name: IndexName;
8638
8696
  }
8639
8697
  export declare type IndicesMigrateToDataStreamResponse = AcknowledgedResponseBase;
8698
+ export interface IndicesModifyDataStreamAction {
8699
+ add_backing_index?: IndicesModifyDataStreamIndexAndDataStreamAction;
8700
+ remove_backing_index?: IndicesModifyDataStreamIndexAndDataStreamAction;
8701
+ }
8702
+ export interface IndicesModifyDataStreamIndexAndDataStreamAction {
8703
+ index: IndexName;
8704
+ data_stream: DataStreamName;
8705
+ }
8706
+ export interface IndicesModifyDataStreamRequest extends RequestBase {
8707
+ /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
8708
+ body?: {
8709
+ actions: IndicesModifyDataStreamAction[];
8710
+ };
8711
+ }
8712
+ export declare type IndicesModifyDataStreamResponse = AcknowledgedResponseBase;
8640
8713
  export interface IndicesOpenRequest extends RequestBase {
8641
8714
  index: Indices;
8642
8715
  allow_no_indices?: boolean;
@@ -9381,9 +9454,18 @@ export interface IngestGsubProcessor extends IngestProcessorBase {
9381
9454
  }
9382
9455
  export interface IngestInferenceConfig {
9383
9456
  regression?: IngestInferenceConfigRegression;
9457
+ classification?: IngestInferenceConfigClassification;
9458
+ }
9459
+ export interface IngestInferenceConfigClassification {
9460
+ num_top_classes?: integer;
9461
+ num_top_feature_importance_values?: integer;
9462
+ results_field?: Field;
9463
+ top_classes_results_field?: Field;
9464
+ prediction_field_type?: string;
9384
9465
  }
9385
9466
  export interface IngestInferenceConfigRegression {
9386
- results_field: string;
9467
+ results_field?: Field;
9468
+ num_top_feature_importance_values?: integer;
9387
9469
  }
9388
9470
  export interface IngestInferenceProcessor extends IngestProcessorBase {
9389
9471
  model_id: Id;
@@ -9752,6 +9834,33 @@ export interface MigrationDeprecationsResponse {
9752
9834
  node_settings: MigrationDeprecationsDeprecation[];
9753
9835
  ml_settings: MigrationDeprecationsDeprecation[];
9754
9836
  }
9837
+ export interface MigrationGetFeatureUpgradeStatusMigrationFeature {
9838
+ feature_name: string;
9839
+ minimum_index_version: VersionString;
9840
+ migration_status: MigrationGetFeatureUpgradeStatusMigrationStatus;
9841
+ indices: MigrationGetFeatureUpgradeStatusMigrationFeatureIndexInfo[];
9842
+ }
9843
+ export interface MigrationGetFeatureUpgradeStatusMigrationFeatureIndexInfo {
9844
+ index: IndexName;
9845
+ version: VersionString;
9846
+ failure_cause?: ErrorCause;
9847
+ }
9848
+ export declare type MigrationGetFeatureUpgradeStatusMigrationStatus = 'NO_MIGRATION_NEEDED' | 'MIGRATION_NEEDED' | 'IN_PROGRESS' | 'ERROR';
9849
+ export interface MigrationGetFeatureUpgradeStatusRequest extends RequestBase {
9850
+ }
9851
+ export interface MigrationGetFeatureUpgradeStatusResponse {
9852
+ features: MigrationGetFeatureUpgradeStatusMigrationFeature[];
9853
+ migration_status: MigrationGetFeatureUpgradeStatusMigrationStatus;
9854
+ }
9855
+ export interface MigrationPostFeatureUpgradeMigrationFeature {
9856
+ feature_name: string;
9857
+ }
9858
+ export interface MigrationPostFeatureUpgradeRequest extends RequestBase {
9859
+ }
9860
+ export interface MigrationPostFeatureUpgradeResponse {
9861
+ accepted: boolean;
9862
+ features: MigrationPostFeatureUpgradeMigrationFeature[];
9863
+ }
9755
9864
  export interface MlAnalysisConfig {
9756
9865
  bucket_span: TimeSpan;
9757
9866
  categorization_analyzer?: MlCategorizationAnalyzer;
@@ -9885,6 +9994,13 @@ export interface MlChunkingConfig {
9885
9994
  time_span?: Time;
9886
9995
  }
9887
9996
  export declare type MlChunkingMode = 'auto' | 'manual' | 'off';
9997
+ export interface MlClassificationInferenceOptions {
9998
+ num_top_classes?: integer;
9999
+ num_top_feature_importance_values?: integer;
10000
+ prediction_field_type?: string;
10001
+ results_field?: string;
10002
+ top_classes_results_field?: string;
10003
+ }
9888
10004
  export declare type MlConditionOperator = 'gt' | 'gte' | 'lt' | 'lte';
9889
10005
  export declare type MlCustomSettings = any;
9890
10006
  export interface MlDataCounts {
@@ -10221,6 +10337,16 @@ export interface MlDiscoveryNode {
10221
10337
  transport_address: TransportAddress;
10222
10338
  }
10223
10339
  export declare type MlExcludeFrequent = 'all' | 'none' | 'by' | 'over';
10340
+ export interface MlFillMaskInferenceOptions {
10341
+ num_top_classes?: integer;
10342
+ tokenization?: MlTokenizationConfigContainer;
10343
+ results_field?: string;
10344
+ }
10345
+ export interface MlFillMaskInferenceUpdateOptions {
10346
+ num_top_classes?: integer;
10347
+ tokenization?: MlNlpTokenizationUpdateOptions;
10348
+ results_field?: string;
10349
+ }
10224
10350
  export interface MlFilter {
10225
10351
  description?: string;
10226
10352
  filter_id: Id;
@@ -10255,6 +10381,16 @@ export interface MlHyperparameters {
10255
10381
  soft_tree_depth_tolerance?: double;
10256
10382
  }
10257
10383
  export declare type MlInclude = 'definition' | 'feature_importance_baseline' | 'hyperparameters' | 'total_feature_importance';
10384
+ export interface MlInferenceConfigCreateContainer {
10385
+ regression?: MlRegressionInferenceOptions;
10386
+ classification?: MlClassificationInferenceOptions;
10387
+ text_classification?: MlTextClassificationInferenceOptions;
10388
+ zero_shot_classification?: MlZeroShotClassificationInferenceOptions;
10389
+ fill_mask?: MlFillMaskInferenceOptions;
10390
+ ner?: MlNerInferenceOptions;
10391
+ pass_through?: MlPassThroughInferenceOptions;
10392
+ text_embedding?: MlTextEmbeddingInferenceOptions;
10393
+ }
10258
10394
  export interface MlInfluence {
10259
10395
  influencer_field_name: string;
10260
10396
  influencer_field_values: string[];
@@ -10399,6 +10535,41 @@ export interface MlModelSnapshot {
10399
10535
  snapshot_id: Id;
10400
10536
  timestamp: long;
10401
10537
  }
10538
+ export interface MlNerInferenceOptions {
10539
+ tokenization?: MlTokenizationConfigContainer;
10540
+ results_field?: string;
10541
+ classification_labels?: string[];
10542
+ }
10543
+ export interface MlNerInferenceUpdateOptions {
10544
+ tokenization?: MlNlpTokenizationUpdateOptions;
10545
+ results_field?: string;
10546
+ }
10547
+ export interface MlNlpBertTokenizationConfig {
10548
+ do_lower_case?: boolean;
10549
+ with_special_tokens?: boolean;
10550
+ max_sequence_length?: integer;
10551
+ truncate?: MlTokenizationTruncate;
10552
+ span?: integer;
10553
+ }
10554
+ export interface MlNlpInferenceConfigUpdateContainer {
10555
+ text_classification?: MlTextClassificationInferenceUpdateOptions;
10556
+ zero_shot_classification?: MlZeroShotClassificationInferenceUpdateOptions;
10557
+ fill_mask?: MlFillMaskInferenceUpdateOptions;
10558
+ ner?: MlNerInferenceUpdateOptions;
10559
+ pass_through?: MlPassThroughInferenceUpdateOptions;
10560
+ text_embedding?: MlTextEmbeddingInferenceUpdateOptions;
10561
+ }
10562
+ export interface MlNlpRobertaTokenizationConfig {
10563
+ add_prefix_space?: boolean;
10564
+ with_special_tokens?: boolean;
10565
+ max_sequence_length?: integer;
10566
+ truncate?: MlTokenizationTruncate;
10567
+ span?: integer;
10568
+ }
10569
+ export interface MlNlpTokenizationUpdateOptions {
10570
+ truncate?: MlTokenizationTruncate;
10571
+ span?: integer;
10572
+ }
10402
10573
  export interface MlOutlierDetectionParameters {
10403
10574
  compute_feature_influence?: boolean;
10404
10575
  feature_influence_threshold?: double;
@@ -10423,11 +10594,23 @@ export interface MlPage {
10423
10594
  from?: integer;
10424
10595
  size?: integer;
10425
10596
  }
10597
+ export interface MlPassThroughInferenceOptions {
10598
+ tokenization?: MlTokenizationConfigContainer;
10599
+ results_field?: string;
10600
+ }
10601
+ export interface MlPassThroughInferenceUpdateOptions {
10602
+ tokenization?: MlNlpTokenizationUpdateOptions;
10603
+ results_field?: string;
10604
+ }
10426
10605
  export interface MlPerPartitionCategorization {
10427
10606
  enabled?: boolean;
10428
10607
  stop_on_warn?: boolean;
10429
10608
  }
10430
10609
  export declare type MlPredictedValue = string | double;
10610
+ export interface MlRegressionInferenceOptions {
10611
+ results_field?: Field;
10612
+ num_top_feature_importance_values?: integer;
10613
+ }
10431
10614
  export declare type MlRoutingState = 'failed' | 'started' | 'starting' | 'stopped' | 'stopping';
10432
10615
  export declare type MlRuleAction = 'skip_result' | 'skip_model_update';
10433
10616
  export interface MlRuleCondition {
@@ -10439,10 +10622,36 @@ export interface MlRunningStateSearchInterval {
10439
10622
  end_ms: long;
10440
10623
  start_ms: long;
10441
10624
  }
10625
+ export interface MlTextClassificationInferenceOptions {
10626
+ num_top_classes?: integer;
10627
+ tokenization?: MlTokenizationConfigContainer;
10628
+ results_field?: string;
10629
+ classification_labels?: string[];
10630
+ }
10631
+ export interface MlTextClassificationInferenceUpdateOptions {
10632
+ num_top_classes?: integer;
10633
+ tokenization?: MlNlpTokenizationUpdateOptions;
10634
+ results_field?: string;
10635
+ classification_labels?: string[];
10636
+ }
10637
+ export interface MlTextEmbeddingInferenceOptions {
10638
+ tokenization?: MlTokenizationConfigContainer;
10639
+ results_field?: string;
10640
+ }
10641
+ export interface MlTextEmbeddingInferenceUpdateOptions {
10642
+ tokenization?: MlNlpTokenizationUpdateOptions;
10643
+ results_field?: string;
10644
+ }
10442
10645
  export interface MlTimingStats {
10443
10646
  elapsed_time: integer;
10444
10647
  iteration_time?: integer;
10445
10648
  }
10649
+ export interface MlTokenizationConfigContainer {
10650
+ bert?: MlNlpBertTokenizationConfig;
10651
+ mpnet?: MlNlpBertTokenizationConfig;
10652
+ roberta?: MlNlpRobertaTokenizationConfig;
10653
+ }
10654
+ export declare type MlTokenizationTruncate = 'first' | 'second' | 'none';
10446
10655
  export interface MlTopClassEntry {
10447
10656
  class_name: string;
10448
10657
  class_probability: double;
@@ -10488,7 +10697,7 @@ export interface MlTrainedModelConfig {
10488
10697
  description?: string;
10489
10698
  estimated_heap_memory_usage_bytes?: integer;
10490
10699
  estimated_operations?: integer;
10491
- inference_config: AggregationsInferenceConfigContainer;
10700
+ inference_config: MlInferenceConfigCreateContainer;
10492
10701
  input: MlTrainedModelConfigInput;
10493
10702
  license_level?: string;
10494
10703
  metadata?: MlTrainedModelConfigMetadata;
@@ -10575,6 +10784,20 @@ export interface MlValidationLoss {
10575
10784
  fold_values: string[];
10576
10785
  loss_type: string;
10577
10786
  }
10787
+ export interface MlZeroShotClassificationInferenceOptions {
10788
+ tokenization?: MlTokenizationConfigContainer;
10789
+ hypothesis_template?: string;
10790
+ classification_labels: string[];
10791
+ results_field?: string;
10792
+ multi_label?: boolean;
10793
+ labels?: string[];
10794
+ }
10795
+ export interface MlZeroShotClassificationInferenceUpdateOptions {
10796
+ tokenization?: MlNlpTokenizationUpdateOptions;
10797
+ results_field?: string;
10798
+ multi_label?: boolean;
10799
+ labels: string[];
10800
+ }
10578
10801
  export interface MlCloseJobRequest extends RequestBase {
10579
10802
  job_id: Id;
10580
10803
  allow_no_match?: boolean;
@@ -10964,6 +11187,53 @@ export interface MlGetJobsResponse {
10964
11187
  count: long;
10965
11188
  jobs: MlJob[];
10966
11189
  }
11190
+ export interface MlGetMemoryStatsJvmStats {
11191
+ heap_max?: ByteSize;
11192
+ heap_max_in_bytes: integer;
11193
+ java_inference?: ByteSize;
11194
+ java_inference_in_bytes: integer;
11195
+ java_inference_max?: ByteSize;
11196
+ java_inference_max_in_bytes: integer;
11197
+ }
11198
+ export interface MlGetMemoryStatsMemMlStats {
11199
+ anomaly_detectors?: ByteSize;
11200
+ anomaly_detectors_in_bytes: integer;
11201
+ data_frame_analytics?: ByteSize;
11202
+ data_frame_analytics_in_bytes: integer;
11203
+ max?: ByteSize;
11204
+ max_in_bytes: integer;
11205
+ native_code_overhead?: ByteSize;
11206
+ native_code_overhead_in_bytes: integer;
11207
+ native_inference?: ByteSize;
11208
+ native_inference_in_bytes: integer;
11209
+ }
11210
+ export interface MlGetMemoryStatsMemStats {
11211
+ adjusted_total?: ByteSize;
11212
+ adjusted_total_in_bytes: integer;
11213
+ total?: ByteSize;
11214
+ total_in_bytes: integer;
11215
+ ml: MlGetMemoryStatsMemMlStats;
11216
+ }
11217
+ export interface MlGetMemoryStatsMemory {
11218
+ attributes: Record<string, string>;
11219
+ jvm: MlGetMemoryStatsJvmStats;
11220
+ mem: MlGetMemoryStatsMemStats;
11221
+ name: Name;
11222
+ roles: string[];
11223
+ transport_address: TransportAddress;
11224
+ ephemeral_id: Id;
11225
+ }
11226
+ export interface MlGetMemoryStatsRequest extends RequestBase {
11227
+ node_id?: Id;
11228
+ human?: boolean;
11229
+ master_timeout?: Time;
11230
+ timeout?: Time;
11231
+ }
11232
+ export interface MlGetMemoryStatsResponse {
11233
+ _nodes: NodeStatistics;
11234
+ cluster_name: Name;
11235
+ nodes: Record<Id, MlGetMemoryStatsMemory>;
11236
+ }
10967
11237
  export interface MlGetModelSnapshotsRequest extends RequestBase {
10968
11238
  job_id: Id;
10969
11239
  snapshot_id?: Id;
@@ -11065,6 +11335,7 @@ export interface MlInferTrainedModelDeploymentRequest extends RequestBase {
11065
11335
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
11066
11336
  body?: {
11067
11337
  docs: Record<string, string>[];
11338
+ inference_config?: MlNlpInferenceConfigUpdateContainer;
11068
11339
  };
11069
11340
  }
11070
11341
  export interface MlInferTrainedModelDeploymentResponse {
@@ -11370,7 +11641,7 @@ export interface MlPutTrainedModelRequest extends RequestBase {
11370
11641
  compressed_definition?: string;
11371
11642
  definition?: MlPutTrainedModelDefinition;
11372
11643
  description?: string;
11373
- inference_config: AggregationsInferenceConfigContainer;
11644
+ inference_config: MlInferenceConfigCreateContainer;
11374
11645
  input: MlPutTrainedModelInput;
11375
11646
  metadata?: any;
11376
11647
  model_type?: MlTrainedModelType;
@@ -11432,6 +11703,7 @@ export interface MlPutTrainedModelVocabularyRequest extends RequestBase {
11432
11703
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
11433
11704
  body?: {
11434
11705
  vocabulary: string[];
11706
+ merges?: string[];
11435
11707
  };
11436
11708
  }
11437
11709
  export declare type MlPutTrainedModelVocabularyResponse = AcknowledgedResponseBase;
@@ -12739,6 +13011,7 @@ export interface SecurityFieldSecurity {
12739
13011
  export interface SecurityGlobalPrivilege {
12740
13012
  application: SecurityApplicationGlobalUserPrivileges;
12741
13013
  }
13014
+ export declare type SecurityGrantType = 'password' | 'access_token';
12742
13015
  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';
12743
13016
  export interface SecurityIndicesPrivileges {
12744
13017
  field_security?: SecurityFieldSecurity | SecurityFieldSecurity[];
@@ -12790,6 +13063,38 @@ export interface SecurityUser {
12790
13063
  username: Username;
12791
13064
  enabled: boolean;
12792
13065
  }
13066
+ export interface SecurityUserProfile {
13067
+ uid: string;
13068
+ user: SecurityUserProfileUser;
13069
+ data?: Record<string, any>;
13070
+ labels?: Record<string, any>;
13071
+ enabled?: boolean;
13072
+ }
13073
+ export interface SecurityUserProfileHitMetadata {
13074
+ _primary_term: long;
13075
+ _seq_no: SequenceNumber;
13076
+ }
13077
+ export interface SecurityUserProfileUser {
13078
+ email?: string | null;
13079
+ full_name?: Name | null;
13080
+ metadata: Metadata;
13081
+ roles: string[];
13082
+ username: Username;
13083
+ }
13084
+ export interface SecurityUserProfileWithMetadata extends SecurityUserProfile {
13085
+ last_synchronized: long;
13086
+ _doc?: SecurityUserProfileHitMetadata;
13087
+ }
13088
+ export interface SecurityActivateUserProfileRequest extends RequestBase {
13089
+ /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
13090
+ body?: {
13091
+ access_token?: string;
13092
+ grant_type: SecurityGrantType;
13093
+ password?: string;
13094
+ username?: string;
13095
+ };
13096
+ }
13097
+ export declare type SecurityActivateUserProfileResponse = SecurityUserProfileWithMetadata;
12793
13098
  export interface SecurityAuthenticateRequest extends RequestBase {
12794
13099
  }
12795
13100
  export interface SecurityAuthenticateResponse {
@@ -12947,12 +13252,22 @@ export interface SecurityDisableUserRequest extends RequestBase {
12947
13252
  }
12948
13253
  export interface SecurityDisableUserResponse {
12949
13254
  }
13255
+ export interface SecurityDisableUserProfileRequest extends RequestBase {
13256
+ uid: string;
13257
+ refresh?: Refresh;
13258
+ }
13259
+ export declare type SecurityDisableUserProfileResponse = AcknowledgedResponseBase;
12950
13260
  export interface SecurityEnableUserRequest extends RequestBase {
12951
13261
  username: Username;
12952
13262
  refresh?: Refresh;
12953
13263
  }
12954
13264
  export interface SecurityEnableUserResponse {
12955
13265
  }
13266
+ export interface SecurityEnableUserProfileRequest extends RequestBase {
13267
+ uid: string;
13268
+ refresh?: Refresh;
13269
+ }
13270
+ export declare type SecurityEnableUserProfileResponse = AcknowledgedResponseBase;
12956
13271
  export interface SecurityEnrollKibanaRequest extends RequestBase {
12957
13272
  }
12958
13273
  export interface SecurityEnrollKibanaResponse {
@@ -13102,6 +13417,11 @@ export interface SecurityGetUserPrivilegesResponse {
13102
13417
  indices: SecurityIndicesPrivileges[];
13103
13418
  run_as: string[];
13104
13419
  }
13420
+ export interface SecurityGetUserProfileRequest extends RequestBase {
13421
+ uid: string;
13422
+ data?: string | string[];
13423
+ }
13424
+ export declare type SecurityGetUserProfileResponse = Record<string, SecurityUserProfileWithMetadata>;
13105
13425
  export declare type SecurityGrantApiKeyApiKeyGrantType = 'access_token' | 'password';
13106
13426
  export interface SecurityGrantApiKeyGrantApiKey {
13107
13427
  name: Name;
@@ -13330,6 +13650,35 @@ export interface SecuritySamlServiceProviderMetadataRequest extends RequestBase
13330
13650
  export interface SecuritySamlServiceProviderMetadataResponse {
13331
13651
  metadata: string;
13332
13652
  }
13653
+ export interface SecuritySuggestUserProfilesRequest extends RequestBase {
13654
+ data?: string | string[];
13655
+ /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
13656
+ body?: {
13657
+ name?: string;
13658
+ size?: long;
13659
+ };
13660
+ }
13661
+ export interface SecuritySuggestUserProfilesResponse {
13662
+ total: SecuritySuggestUserProfilesTotalUserProfiles;
13663
+ took: long;
13664
+ profiles: SecurityUserProfile[];
13665
+ }
13666
+ export interface SecuritySuggestUserProfilesTotalUserProfiles {
13667
+ value: long;
13668
+ relation: RelationName;
13669
+ }
13670
+ export interface SecurityUpdateUserProfileDataRequest extends RequestBase {
13671
+ uid: string;
13672
+ if_seq_no?: SequenceNumber;
13673
+ if_primary_term?: long;
13674
+ refresh?: Refresh;
13675
+ /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
13676
+ body?: {
13677
+ access?: Record<string, any>;
13678
+ data?: Record<string, any>;
13679
+ };
13680
+ }
13681
+ export declare type SecurityUpdateUserProfileDataResponse = AcknowledgedResponseBase;
13333
13682
  export interface ShutdownDeleteNodeRequest extends RequestBase {
13334
13683
  node_id: NodeId;
13335
13684
  }
@@ -13694,7 +14043,7 @@ export interface SnapshotRestoreRequest extends RequestBase {
13694
14043
  ignore_unavailable?: boolean;
13695
14044
  include_aliases?: boolean;
13696
14045
  include_global_state?: boolean;
13697
- index_settings?: IndicesPutSettingsRequest;
14046
+ index_settings?: IndicesIndexSettings;
13698
14047
  indices?: Indices;
13699
14048
  partial?: boolean;
13700
14049
  rename_pattern?: string;
@@ -14177,7 +14526,7 @@ export interface TransformUpdateTransformRequest extends RequestBase {
14177
14526
  source?: TransformSource;
14178
14527
  settings?: TransformSettings;
14179
14528
  sync?: TransformSyncContainer;
14180
- retention_policy?: TransformRetentionPolicyContainer;
14529
+ retention_policy?: TransformRetentionPolicyContainer | null;
14181
14530
  };
14182
14531
  }
14183
14532
  export interface TransformUpdateTransformResponse {
@@ -14526,9 +14875,16 @@ export interface WatcherSearchInputRequestDefinition {
14526
14875
  indices?: IndexName[];
14527
14876
  indices_options?: IndicesOptions;
14528
14877
  search_type?: SearchType;
14529
- template?: SearchTemplateRequest;
14878
+ template?: WatcherSearchTemplateRequestBody;
14530
14879
  rest_total_hits_as_int?: boolean;
14531
14880
  }
14881
+ export interface WatcherSearchTemplateRequestBody {
14882
+ explain?: boolean;
14883
+ id?: Id;
14884
+ params?: Record<string, any>;
14885
+ profile?: boolean;
14886
+ source?: string;
14887
+ }
14532
14888
  export interface WatcherSimulatedActions {
14533
14889
  actions: string[];
14534
14890
  all: WatcherSimulatedActions;
@@ -14812,6 +15168,7 @@ export interface XpackInfoFeatures {
14812
15168
  vectors?: XpackInfoFeature;
14813
15169
  voting_only: XpackInfoFeature;
14814
15170
  watcher: XpackInfoFeature;
15171
+ archive: XpackInfoFeature;
14815
15172
  }
14816
15173
  export interface XpackInfoMinimalLicenseInformation {
14817
15174
  expiry_date_in_millis: EpochMillis;
@@ -14827,6 +15184,7 @@ export interface XpackInfoNativeCodeInformation {
14827
15184
  export interface XpackInfoRequest extends RequestBase {
14828
15185
  categories?: string[];
14829
15186
  accept_enterprise?: boolean;
15187
+ human?: boolean;
14830
15188
  }
14831
15189
  export interface XpackInfoResponse {
14832
15190
  build: XpackInfoBuildInformation;
@@ -14855,6 +15213,9 @@ export interface XpackUsageAnalyticsStatistics {
14855
15213
  rate_usage: long;
14856
15214
  multi_terms_usage?: long;
14857
15215
  }
15216
+ export interface XpackUsageArchive extends XpackUsageBase {
15217
+ indices_count: long;
15218
+ }
14858
15219
  export interface XpackUsageAudit extends XpackUsageFeatureToggle {
14859
15220
  outputs?: string[];
14860
15221
  }
@@ -15058,6 +15419,7 @@ export interface XpackUsageRequest extends RequestBase {
15058
15419
  export interface XpackUsageResponse {
15059
15420
  aggregate_metric: XpackUsageBase;
15060
15421
  analytics: XpackUsageAnalytics;
15422
+ archive: XpackUsageArchive;
15061
15423
  watcher: XpackUsageWatcher;
15062
15424
  ccr: XpackUsageCcr;
15063
15425
  data_frame?: XpackUsageBase;