@elastic/elasticsearch 8.9.1 → 8.11.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.
- package/README.md +9 -2
- package/catalog-info.yaml +5 -4
- package/lib/api/api/async_search.d.ts +4 -4
- package/lib/api/api/autoscaling.d.ts +4 -4
- package/lib/api/api/bulk.d.ts +1 -1
- package/lib/api/api/cat.d.ts +26 -26
- package/lib/api/api/ccr.d.ts +13 -13
- package/lib/api/api/clear_scroll.d.ts +1 -1
- package/lib/api/api/close_point_in_time.d.ts +1 -1
- package/lib/api/api/cluster.d.ts +16 -16
- package/lib/api/api/cluster.js +1 -1
- package/lib/api/api/cluster.js.map +1 -1
- package/lib/api/api/count.d.ts +1 -1
- package/lib/api/api/create.d.ts +1 -1
- package/lib/api/api/dangling_indices.d.ts +3 -3
- package/lib/api/api/delete.d.ts +1 -1
- package/lib/api/api/delete_by_query.d.ts +1 -1
- package/lib/api/api/delete_by_query_rethrottle.d.ts +1 -1
- package/lib/api/api/delete_script.d.ts +1 -1
- package/lib/api/api/enrich.d.ts +5 -5
- package/lib/api/api/eql.d.ts +4 -4
- package/lib/api/api/exists.d.ts +1 -1
- package/lib/api/api/exists_source.d.ts +1 -1
- package/lib/api/api/explain.d.ts +1 -1
- package/lib/api/api/features.d.ts +2 -2
- package/lib/api/api/field_caps.d.ts +1 -1
- package/lib/api/api/fleet.d.ts +1 -1
- package/lib/api/api/get.d.ts +1 -1
- package/lib/api/api/get_script.d.ts +1 -1
- package/lib/api/api/get_script_context.d.ts +1 -1
- package/lib/api/api/get_script_languages.d.ts +1 -1
- package/lib/api/api/get_source.d.ts +1 -1
- package/lib/api/api/graph.d.ts +1 -1
- package/lib/api/api/health_report.d.ts +1 -1
- package/lib/api/api/ilm.d.ts +11 -11
- package/lib/api/api/index.d.ts +1 -1
- package/lib/api/api/indices.d.ts +62 -62
- package/lib/api/api/indices.js +1 -1
- package/lib/api/api/indices.js.map +1 -1
- package/lib/api/api/info.d.ts +1 -1
- package/lib/api/api/ingest.d.ts +6 -6
- package/lib/api/api/knn_search.d.ts +1 -1
- package/lib/api/api/license.d.ts +7 -7
- package/lib/api/api/logstash.d.ts +3 -3
- package/lib/api/api/mget.d.ts +1 -1
- package/lib/api/api/migration.d.ts +3 -3
- package/lib/api/api/ml.d.ts +73 -73
- package/lib/api/api/ml.js +2 -2
- package/lib/api/api/ml.js.map +1 -1
- package/lib/api/api/monitoring.d.ts +1 -1
- package/lib/api/api/msearch.d.ts +1 -1
- package/lib/api/api/msearch_template.d.ts +1 -1
- package/lib/api/api/mtermvectors.d.ts +1 -1
- package/lib/api/api/nodes.d.ts +7 -7
- package/lib/api/api/open_point_in_time.d.ts +1 -1
- package/lib/api/api/ping.d.ts +1 -1
- package/lib/api/api/put_script.d.ts +1 -1
- package/lib/api/api/query_ruleset.d.ts +39 -0
- package/lib/api/api/query_ruleset.js +116 -0
- package/lib/api/api/query_ruleset.js.map +1 -0
- package/lib/api/api/rank_eval.d.ts +1 -1
- package/lib/api/api/reindex.d.ts +1 -1
- package/lib/api/api/reindex_rethrottle.d.ts +1 -1
- package/lib/api/api/render_search_template.d.ts +1 -1
- package/lib/api/api/rollup.d.ts +8 -8
- package/lib/api/api/scripts_painless_execute.d.ts +1 -1
- package/lib/api/api/scroll.d.ts +1 -1
- package/lib/api/api/search.d.ts +1 -1
- package/lib/api/api/search_application.d.ts +9 -9
- package/lib/api/api/search_mvt.d.ts +1 -1
- package/lib/api/api/search_shards.d.ts +1 -1
- package/lib/api/api/search_template.d.ts +1 -1
- package/lib/api/api/searchable_snapshots.d.ts +4 -4
- package/lib/api/api/security.d.ts +57 -57
- package/lib/api/api/security.js +1 -1
- package/lib/api/api/security.js.map +1 -1
- package/lib/api/api/slm.d.ts +9 -9
- package/lib/api/api/snapshot.d.ts +12 -12
- package/lib/api/api/sql.d.ts +6 -6
- package/lib/api/api/ssl.d.ts +1 -1
- package/lib/api/api/synonyms.d.ts +40 -12
- package/lib/api/api/synonyms.js +108 -11
- package/lib/api/api/synonyms.js.map +1 -1
- package/lib/api/api/tasks.d.ts +3 -3
- package/lib/api/api/terms_enum.d.ts +1 -1
- package/lib/api/api/termvectors.d.ts +1 -1
- package/lib/api/api/text_structure.d.ts +1 -1
- package/lib/api/api/transform.d.ts +11 -11
- package/lib/api/api/update.d.ts +1 -1
- package/lib/api/api/update_by_query.d.ts +1 -1
- package/lib/api/api/update_by_query_rethrottle.d.ts +1 -1
- package/lib/api/api/watcher.d.ts +13 -13
- package/lib/api/api/xpack.d.ts +2 -2
- package/lib/api/index.d.ts +4 -0
- package/lib/api/index.js +14 -2
- package/lib/api/index.js.map +1 -1
- package/lib/api/types.d.ts +293 -114
- package/lib/api/typesWithBodyKey.d.ts +302 -114
- package/lib/client.d.ts +2 -0
- package/lib/client.js +7 -2
- package/lib/client.js.map +1 -1
- package/lib/helpers.js +10 -5
- package/lib/helpers.js.map +1 -1
- package/package.json +5 -9
|
@@ -449,6 +449,7 @@ export interface HealthReportIndicators {
|
|
|
449
449
|
repository_integrity?: HealthReportRepositoryIntegrityIndicator;
|
|
450
450
|
ilm?: HealthReportIlmIndicator;
|
|
451
451
|
slm?: HealthReportSlmIndicator;
|
|
452
|
+
shards_capacity?: HealthReportShardsCapacityIndicator;
|
|
452
453
|
}
|
|
453
454
|
export interface HealthReportMasterIsStableIndicator extends HealthReportBaseIndicator {
|
|
454
455
|
details?: HealthReportMasterIsStableIndicatorDetails;
|
|
@@ -485,6 +486,7 @@ export interface HealthReportRequest extends RequestBase {
|
|
|
485
486
|
export interface HealthReportResponse {
|
|
486
487
|
cluster_name: string;
|
|
487
488
|
indicators: HealthReportIndicators;
|
|
489
|
+
status?: HealthReportIndicatorHealthStatus;
|
|
488
490
|
}
|
|
489
491
|
export interface HealthReportShardsAvailabilityIndicator extends HealthReportBaseIndicator {
|
|
490
492
|
details?: HealthReportShardsAvailabilityIndicatorDetails;
|
|
@@ -500,6 +502,17 @@ export interface HealthReportShardsAvailabilityIndicatorDetails {
|
|
|
500
502
|
unassigned_primaries: long;
|
|
501
503
|
unassigned_replicas: long;
|
|
502
504
|
}
|
|
505
|
+
export interface HealthReportShardsCapacityIndicator extends HealthReportBaseIndicator {
|
|
506
|
+
details?: HealthReportShardsCapacityIndicatorDetails;
|
|
507
|
+
}
|
|
508
|
+
export interface HealthReportShardsCapacityIndicatorDetails {
|
|
509
|
+
data: HealthReportShardsCapacityIndicatorTierDetail;
|
|
510
|
+
frozen: HealthReportShardsCapacityIndicatorTierDetail;
|
|
511
|
+
}
|
|
512
|
+
export interface HealthReportShardsCapacityIndicatorTierDetail {
|
|
513
|
+
max_shards_in_cluster: integer;
|
|
514
|
+
current_used_shards?: integer;
|
|
515
|
+
}
|
|
503
516
|
export interface HealthReportSlmIndicator extends HealthReportBaseIndicator {
|
|
504
517
|
details?: HealthReportSlmIndicatorDetails;
|
|
505
518
|
}
|
|
@@ -603,7 +616,7 @@ export type MgetResponseItem<TDocument = unknown> = GetGetResult<TDocument> | Mg
|
|
|
603
616
|
export interface MsearchMultiSearchItem<TDocument = unknown> extends SearchResponseBody<TDocument> {
|
|
604
617
|
status?: integer;
|
|
605
618
|
}
|
|
606
|
-
export interface MsearchMultiSearchResult<TDocument = unknown
|
|
619
|
+
export interface MsearchMultiSearchResult<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> {
|
|
607
620
|
took: long;
|
|
608
621
|
responses: MsearchResponseItem<TDocument>[];
|
|
609
622
|
}
|
|
@@ -672,7 +685,7 @@ export interface MsearchRequest extends RequestBase {
|
|
|
672
685
|
body?: MsearchRequestItem[];
|
|
673
686
|
}
|
|
674
687
|
export type MsearchRequestItem = MsearchMultisearchHeader | MsearchMultisearchBody;
|
|
675
|
-
export type MsearchResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = MsearchMultiSearchResult<TDocument>;
|
|
688
|
+
export type MsearchResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = MsearchMultiSearchResult<TDocument, TAggregations>;
|
|
676
689
|
export type MsearchResponseItem<TDocument = unknown> = MsearchMultiSearchItem<TDocument> | ErrorResponseBase;
|
|
677
690
|
export interface MsearchTemplateRequest extends RequestBase {
|
|
678
691
|
index?: Indices;
|
|
@@ -685,7 +698,7 @@ export interface MsearchTemplateRequest extends RequestBase {
|
|
|
685
698
|
body?: MsearchTemplateRequestItem[];
|
|
686
699
|
}
|
|
687
700
|
export type MsearchTemplateRequestItem = MsearchMultisearchHeader | MsearchTemplateTemplateConfig;
|
|
688
|
-
export type MsearchTemplateResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = MsearchMultiSearchResult<TDocument>;
|
|
701
|
+
export type MsearchTemplateResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = MsearchMultiSearchResult<TDocument, TAggregations>;
|
|
689
702
|
export interface MsearchTemplateTemplateConfig {
|
|
690
703
|
explain?: boolean;
|
|
691
704
|
id?: Id;
|
|
@@ -1013,6 +1026,7 @@ export interface SearchRequest extends RequestBase {
|
|
|
1013
1026
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
1014
1027
|
body?: {
|
|
1015
1028
|
aggregations?: Record<string, AggregationsAggregationContainer>;
|
|
1029
|
+
/** @alias aggregations */
|
|
1016
1030
|
aggs?: Record<string, AggregationsAggregationContainer>;
|
|
1017
1031
|
collapse?: SearchFieldCollapse;
|
|
1018
1032
|
explain?: boolean;
|
|
@@ -1741,6 +1755,7 @@ export interface SpecUtilsBaseNode {
|
|
|
1741
1755
|
roles?: NodeRoles;
|
|
1742
1756
|
transport_address: TransportAddress;
|
|
1743
1757
|
}
|
|
1758
|
+
export type SpecUtilsPipeSeparatedFlags<T = unknown> = T | string;
|
|
1744
1759
|
export type SpecUtilsStringified<T = unknown> = T | string;
|
|
1745
1760
|
export interface AcknowledgedResponseBase {
|
|
1746
1761
|
acknowledged: boolean;
|
|
@@ -1767,12 +1782,26 @@ export interface BulkStats {
|
|
|
1767
1782
|
export type ByteSize = long | string;
|
|
1768
1783
|
export type Bytes = 'b' | 'kb' | 'mb' | 'gb' | 'tb' | 'pb';
|
|
1769
1784
|
export type CategoryId = string;
|
|
1785
|
+
export type ClusterAlias = string;
|
|
1786
|
+
export interface ClusterDetails {
|
|
1787
|
+
status: ClusterSearchStatus;
|
|
1788
|
+
indices: string;
|
|
1789
|
+
took?: DurationValue<UnitMillis>;
|
|
1790
|
+
timed_out: boolean;
|
|
1791
|
+
_shards?: ShardStatistics;
|
|
1792
|
+
failures?: ShardFailure[];
|
|
1793
|
+
}
|
|
1770
1794
|
export type ClusterInfoTarget = '_all' | 'http' | 'ingest' | 'thread_pool' | 'script';
|
|
1771
1795
|
export type ClusterInfoTargets = ClusterInfoTarget | ClusterInfoTarget[];
|
|
1796
|
+
export type ClusterSearchStatus = 'running' | 'successful' | 'partial' | 'skipped' | 'failed';
|
|
1772
1797
|
export interface ClusterStatistics {
|
|
1773
1798
|
skipped: integer;
|
|
1774
1799
|
successful: integer;
|
|
1775
1800
|
total: integer;
|
|
1801
|
+
running: integer;
|
|
1802
|
+
partial: integer;
|
|
1803
|
+
failed: integer;
|
|
1804
|
+
details?: Record<ClusterAlias, ClusterDetails>;
|
|
1776
1805
|
}
|
|
1777
1806
|
export interface CompletionStats {
|
|
1778
1807
|
size_in_bytes: long;
|
|
@@ -1970,6 +1999,7 @@ export interface KnnQuery {
|
|
|
1970
1999
|
num_candidates: long;
|
|
1971
2000
|
boost?: float;
|
|
1972
2001
|
filter?: QueryDslQueryContainer | QueryDslQueryContainer[];
|
|
2002
|
+
similarity?: float;
|
|
1973
2003
|
}
|
|
1974
2004
|
export interface LatLonGeoLocation {
|
|
1975
2005
|
lat: double;
|
|
@@ -2564,11 +2594,19 @@ export interface AggregationsCompositeAggregation extends AggregationsBucketAggr
|
|
|
2564
2594
|
size?: integer;
|
|
2565
2595
|
sources?: Record<string, AggregationsCompositeAggregationSource>[];
|
|
2566
2596
|
}
|
|
2597
|
+
export interface AggregationsCompositeAggregationBase {
|
|
2598
|
+
field?: Field;
|
|
2599
|
+
missing_bucket?: boolean;
|
|
2600
|
+
missing_order?: AggregationsMissingOrder;
|
|
2601
|
+
script?: Script;
|
|
2602
|
+
value_type?: AggregationsValueType;
|
|
2603
|
+
order?: SortOrder;
|
|
2604
|
+
}
|
|
2567
2605
|
export interface AggregationsCompositeAggregationSource {
|
|
2568
|
-
terms?:
|
|
2569
|
-
histogram?:
|
|
2570
|
-
date_histogram?:
|
|
2571
|
-
geotile_grid?:
|
|
2606
|
+
terms?: AggregationsCompositeTermsAggregation;
|
|
2607
|
+
histogram?: AggregationsCompositeHistogramAggregation;
|
|
2608
|
+
date_histogram?: AggregationsCompositeDateHistogramAggregation;
|
|
2609
|
+
geotile_grid?: AggregationsCompositeGeoTileGridAggregation;
|
|
2572
2610
|
}
|
|
2573
2611
|
export interface AggregationsCompositeBucketKeys extends AggregationsMultiBucketBase {
|
|
2574
2612
|
key: AggregationsCompositeAggregateKey;
|
|
@@ -2576,6 +2614,22 @@ export interface AggregationsCompositeBucketKeys extends AggregationsMultiBucket
|
|
|
2576
2614
|
export type AggregationsCompositeBucket = AggregationsCompositeBucketKeys & {
|
|
2577
2615
|
[property: string]: AggregationsAggregate | AggregationsCompositeAggregateKey | long;
|
|
2578
2616
|
};
|
|
2617
|
+
export interface AggregationsCompositeDateHistogramAggregation extends AggregationsCompositeAggregationBase {
|
|
2618
|
+
format?: string;
|
|
2619
|
+
calendar_interval?: DurationLarge;
|
|
2620
|
+
fixed_interval?: DurationLarge;
|
|
2621
|
+
offset?: Duration;
|
|
2622
|
+
time_zone?: TimeZone;
|
|
2623
|
+
}
|
|
2624
|
+
export interface AggregationsCompositeGeoTileGridAggregation extends AggregationsCompositeAggregationBase {
|
|
2625
|
+
precision?: integer;
|
|
2626
|
+
bounds?: GeoBounds;
|
|
2627
|
+
}
|
|
2628
|
+
export interface AggregationsCompositeHistogramAggregation extends AggregationsCompositeAggregationBase {
|
|
2629
|
+
interval: double;
|
|
2630
|
+
}
|
|
2631
|
+
export interface AggregationsCompositeTermsAggregation extends AggregationsCompositeAggregationBase {
|
|
2632
|
+
}
|
|
2579
2633
|
export interface AggregationsCumulativeCardinalityAggregate extends AggregationsAggregateBase {
|
|
2580
2634
|
value: long;
|
|
2581
2635
|
value_as_string?: string;
|
|
@@ -3554,7 +3608,7 @@ export interface AnalysisElisionTokenFilter extends AnalysisTokenFilterBase {
|
|
|
3554
3608
|
type: 'elision';
|
|
3555
3609
|
articles?: string[];
|
|
3556
3610
|
articles_path?: string;
|
|
3557
|
-
articles_case?: boolean
|
|
3611
|
+
articles_case?: SpecUtilsStringified<boolean>;
|
|
3558
3612
|
}
|
|
3559
3613
|
export interface AnalysisFingerprintAnalyzer {
|
|
3560
3614
|
type: 'fingerprint';
|
|
@@ -3772,11 +3826,11 @@ export interface AnalysisNoriTokenizer extends AnalysisTokenizerBase {
|
|
|
3772
3826
|
export type AnalysisNormalizer = AnalysisLowercaseNormalizer | AnalysisCustomNormalizer;
|
|
3773
3827
|
export interface AnalysisPathHierarchyTokenizer extends AnalysisTokenizerBase {
|
|
3774
3828
|
type: 'path_hierarchy';
|
|
3775
|
-
buffer_size: integer
|
|
3829
|
+
buffer_size: SpecUtilsStringified<integer>;
|
|
3776
3830
|
delimiter: string;
|
|
3777
|
-
replacement
|
|
3778
|
-
reverse: boolean
|
|
3779
|
-
skip: integer
|
|
3831
|
+
replacement?: string;
|
|
3832
|
+
reverse: SpecUtilsStringified<boolean>;
|
|
3833
|
+
skip: SpecUtilsStringified<integer>;
|
|
3780
3834
|
}
|
|
3781
3835
|
export interface AnalysisPatternAnalyzer {
|
|
3782
3836
|
type: 'pattern';
|
|
@@ -3806,9 +3860,9 @@ export interface AnalysisPatternReplaceTokenFilter extends AnalysisTokenFilterBa
|
|
|
3806
3860
|
}
|
|
3807
3861
|
export interface AnalysisPatternTokenizer extends AnalysisTokenizerBase {
|
|
3808
3862
|
type: 'pattern';
|
|
3809
|
-
flags
|
|
3810
|
-
group
|
|
3811
|
-
pattern
|
|
3863
|
+
flags?: string;
|
|
3864
|
+
group?: integer;
|
|
3865
|
+
pattern?: string;
|
|
3812
3866
|
}
|
|
3813
3867
|
export type AnalysisPhoneticEncoder = 'metaphone' | 'double_metaphone' | 'soundex' | 'refined_soundex' | 'caverphone1' | 'caverphone2' | 'cologne' | 'nysiis' | 'koelnerphonetik' | 'haasephonetik' | 'beider_morse' | 'daitch_mokotoff';
|
|
3814
3868
|
export type AnalysisPhoneticLanguage = 'any' | 'common' | 'cyrillic' | 'english' | 'french' | 'german' | 'hebrew' | 'hungarian' | 'polish' | 'romanian' | 'russian' | 'spanish';
|
|
@@ -4130,7 +4184,7 @@ export interface MappingFieldMapping {
|
|
|
4130
4184
|
export interface MappingFieldNamesField {
|
|
4131
4185
|
enabled: boolean;
|
|
4132
4186
|
}
|
|
4133
|
-
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';
|
|
4187
|
+
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' | 'sparse_vector' | 'match_only_text';
|
|
4134
4188
|
export interface MappingFlattenedProperty extends MappingPropertyBase {
|
|
4135
4189
|
boost?: double;
|
|
4136
4190
|
depth_limit?: integer;
|
|
@@ -4262,7 +4316,7 @@ export interface MappingPointProperty extends MappingDocValuesPropertyBase {
|
|
|
4262
4316
|
null_value?: string;
|
|
4263
4317
|
type: 'point';
|
|
4264
4318
|
}
|
|
4265
|
-
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;
|
|
4319
|
+
export type MappingProperty = MappingBinaryProperty | MappingBooleanProperty | MappingDynamicProperty | MappingJoinProperty | MappingKeywordProperty | MappingMatchOnlyTextProperty | MappingPercolatorProperty | MappingRankFeatureProperty | MappingRankFeaturesProperty | MappingSearchAsYouTypeProperty | MappingTextProperty | MappingVersionProperty | MappingWildcardProperty | MappingDateNanosProperty | MappingDateProperty | MappingAggregateMetricDoubleProperty | MappingDenseVectorProperty | MappingSparseVectorProperty | 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;
|
|
4266
4320
|
export interface MappingPropertyBase {
|
|
4267
4321
|
meta?: Record<string, string>;
|
|
4268
4322
|
properties?: Record<PropertyName, MappingProperty>;
|
|
@@ -4339,6 +4393,9 @@ export interface MappingSourceField {
|
|
|
4339
4393
|
mode?: MappingSourceFieldMode;
|
|
4340
4394
|
}
|
|
4341
4395
|
export type MappingSourceFieldMode = 'disabled' | 'stored' | 'synthetic';
|
|
4396
|
+
export interface MappingSparseVectorProperty extends MappingPropertyBase {
|
|
4397
|
+
type: 'sparse_vector';
|
|
4398
|
+
}
|
|
4342
4399
|
export interface MappingSuggestContext {
|
|
4343
4400
|
name: Name;
|
|
4344
4401
|
path?: Field;
|
|
@@ -4541,7 +4598,7 @@ export type QueryDslGeoDecayFunction = QueryDslGeoDecayFunctionKeys & {
|
|
|
4541
4598
|
export interface QueryDslGeoDistanceFeatureQuery extends QueryDslDistanceFeatureQueryBase<GeoLocation, Distance> {
|
|
4542
4599
|
}
|
|
4543
4600
|
export interface QueryDslGeoDistanceQueryKeys extends QueryDslQueryBase {
|
|
4544
|
-
distance
|
|
4601
|
+
distance: Distance;
|
|
4545
4602
|
distance_type?: GeoDistanceType;
|
|
4546
4603
|
validation_method?: QueryDslGeoValidationMethod;
|
|
4547
4604
|
}
|
|
@@ -4839,6 +4896,7 @@ export interface QueryDslQueryContainer {
|
|
|
4839
4896
|
range?: Partial<Record<Field, QueryDslRangeQuery>>;
|
|
4840
4897
|
rank_feature?: QueryDslRankFeatureQuery;
|
|
4841
4898
|
regexp?: Partial<Record<Field, QueryDslRegexpQuery | string>>;
|
|
4899
|
+
rule_query?: QueryDslRuleQuery;
|
|
4842
4900
|
script?: QueryDslScriptQuery;
|
|
4843
4901
|
script_score?: QueryDslScriptScoreQuery;
|
|
4844
4902
|
shape?: QueryDslShapeQuery;
|
|
@@ -4924,6 +4982,11 @@ export interface QueryDslRegexpQuery extends QueryDslQueryBase {
|
|
|
4924
4982
|
rewrite?: MultiTermQueryRewrite;
|
|
4925
4983
|
value: string;
|
|
4926
4984
|
}
|
|
4985
|
+
export interface QueryDslRuleQuery extends QueryDslQueryBase {
|
|
4986
|
+
organic: QueryDslQueryContainer;
|
|
4987
|
+
ruleset_id: Id;
|
|
4988
|
+
match_criteria: any;
|
|
4989
|
+
}
|
|
4927
4990
|
export interface QueryDslScriptQuery extends QueryDslQueryBase {
|
|
4928
4991
|
script: Script;
|
|
4929
4992
|
}
|
|
@@ -4946,8 +5009,8 @@ export interface QueryDslShapeQueryKeys extends QueryDslQueryBase {
|
|
|
4946
5009
|
export type QueryDslShapeQuery = QueryDslShapeQueryKeys & {
|
|
4947
5010
|
[property: string]: QueryDslShapeFieldQuery | boolean | float | string;
|
|
4948
5011
|
};
|
|
4949
|
-
export type QueryDslSimpleQueryStringFlag = 'NONE' | 'AND' | '
|
|
4950
|
-
export type QueryDslSimpleQueryStringFlags = QueryDslSimpleQueryStringFlag
|
|
5012
|
+
export type QueryDslSimpleQueryStringFlag = 'NONE' | 'AND' | 'NOT' | 'OR' | 'PREFIX' | 'PHRASE' | 'PRECEDENCE' | 'ESCAPE' | 'WHITESPACE' | 'FUZZY' | 'NEAR' | 'SLOP' | 'ALL';
|
|
5013
|
+
export type QueryDslSimpleQueryStringFlags = SpecUtilsPipeSeparatedFlags<QueryDslSimpleQueryStringFlag>;
|
|
4951
5014
|
export interface QueryDslSimpleQueryStringQuery extends QueryDslQueryBase {
|
|
4952
5015
|
analyzer?: string;
|
|
4953
5016
|
analyze_wildcard?: boolean;
|
|
@@ -5079,6 +5142,8 @@ export interface AsyncSearchAsyncSearchResponseBase {
|
|
|
5079
5142
|
expiration_time_in_millis: EpochTime<UnitMillis>;
|
|
5080
5143
|
start_time?: DateTime;
|
|
5081
5144
|
start_time_in_millis: EpochTime<UnitMillis>;
|
|
5145
|
+
completion_time?: DateTime;
|
|
5146
|
+
completion_time_in_millis?: EpochTime<UnitMillis>;
|
|
5082
5147
|
}
|
|
5083
5148
|
export interface AsyncSearchDeleteRequest extends RequestBase {
|
|
5084
5149
|
id: Id;
|
|
@@ -5097,6 +5162,7 @@ export interface AsyncSearchStatusRequest extends RequestBase {
|
|
|
5097
5162
|
export type AsyncSearchStatusResponse = AsyncSearchStatusStatusResponseBase;
|
|
5098
5163
|
export interface AsyncSearchStatusStatusResponseBase extends AsyncSearchAsyncSearchResponseBase {
|
|
5099
5164
|
_shards: ShardStatistics;
|
|
5165
|
+
_clusters?: ClusterStatistics;
|
|
5100
5166
|
completion_status?: integer;
|
|
5101
5167
|
}
|
|
5102
5168
|
export interface AsyncSearchSubmitRequest extends RequestBase {
|
|
@@ -5136,6 +5202,7 @@ export interface AsyncSearchSubmitRequest extends RequestBase {
|
|
|
5136
5202
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
5137
5203
|
body?: {
|
|
5138
5204
|
aggregations?: Record<string, AggregationsAggregationContainer>;
|
|
5205
|
+
/** @alias aggregations */
|
|
5139
5206
|
aggs?: Record<string, AggregationsAggregationContainer>;
|
|
5140
5207
|
collapse?: SearchFieldCollapse;
|
|
5141
5208
|
explain?: boolean;
|
|
@@ -6731,7 +6798,7 @@ export interface CatTasksRequest extends CatCatRequestBase {
|
|
|
6731
6798
|
actions?: string[];
|
|
6732
6799
|
detailed?: boolean;
|
|
6733
6800
|
node_id?: string[];
|
|
6734
|
-
|
|
6801
|
+
parent_task_id?: string;
|
|
6735
6802
|
}
|
|
6736
6803
|
export type CatTasksResponse = CatTasksTasksRecord[];
|
|
6737
6804
|
export interface CatTasksTasksRecord {
|
|
@@ -7142,7 +7209,7 @@ export interface ClusterComponentTemplateSummary {
|
|
|
7142
7209
|
settings?: Record<IndexName, IndicesIndexSettings>;
|
|
7143
7210
|
mappings?: MappingTypeMapping;
|
|
7144
7211
|
aliases?: Record<string, IndicesAliasDefinition>;
|
|
7145
|
-
lifecycle?:
|
|
7212
|
+
lifecycle?: IndicesDataStreamLifecycleWithRollover;
|
|
7146
7213
|
}
|
|
7147
7214
|
export interface ClusterAllocationExplainAllocationDecision {
|
|
7148
7215
|
decider: string;
|
|
@@ -7269,9 +7336,9 @@ export type ClusterExistsComponentTemplateResponse = boolean;
|
|
|
7269
7336
|
export interface ClusterGetComponentTemplateRequest extends RequestBase {
|
|
7270
7337
|
name?: Name;
|
|
7271
7338
|
flat_settings?: boolean;
|
|
7339
|
+
include_defaults?: boolean;
|
|
7272
7340
|
local?: boolean;
|
|
7273
7341
|
master_timeout?: Duration;
|
|
7274
|
-
include_defaults?: boolean;
|
|
7275
7342
|
}
|
|
7276
7343
|
export interface ClusterGetComponentTemplateResponse {
|
|
7277
7344
|
component_templates: ClusterComponentTemplate[];
|
|
@@ -7377,10 +7444,10 @@ export interface ClusterPutComponentTemplateRequest extends RequestBase {
|
|
|
7377
7444
|
master_timeout?: Duration;
|
|
7378
7445
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
7379
7446
|
body?: {
|
|
7447
|
+
allow_auto_create?: boolean;
|
|
7380
7448
|
template: IndicesIndexState;
|
|
7381
7449
|
version?: VersionNumber;
|
|
7382
7450
|
_meta?: Metadata;
|
|
7383
|
-
allow_auto_create?: boolean;
|
|
7384
7451
|
};
|
|
7385
7452
|
}
|
|
7386
7453
|
export type ClusterPutComponentTemplateResponse = AcknowledgedResponseBase;
|
|
@@ -7501,14 +7568,14 @@ export interface ClusterStateRequest extends RequestBase {
|
|
|
7501
7568
|
}
|
|
7502
7569
|
export type ClusterStateResponse = any;
|
|
7503
7570
|
export interface ClusterStatsCharFilterTypes {
|
|
7504
|
-
char_filter_types: ClusterStatsFieldTypes[];
|
|
7505
|
-
tokenizer_types: ClusterStatsFieldTypes[];
|
|
7506
|
-
filter_types: ClusterStatsFieldTypes[];
|
|
7507
7571
|
analyzer_types: ClusterStatsFieldTypes[];
|
|
7572
|
+
built_in_analyzers: ClusterStatsFieldTypes[];
|
|
7508
7573
|
built_in_char_filters: ClusterStatsFieldTypes[];
|
|
7509
|
-
built_in_tokenizers: ClusterStatsFieldTypes[];
|
|
7510
7574
|
built_in_filters: ClusterStatsFieldTypes[];
|
|
7511
|
-
|
|
7575
|
+
built_in_tokenizers: ClusterStatsFieldTypes[];
|
|
7576
|
+
char_filter_types: ClusterStatsFieldTypes[];
|
|
7577
|
+
filter_types: ClusterStatsFieldTypes[];
|
|
7578
|
+
tokenizer_types: ClusterStatsFieldTypes[];
|
|
7512
7579
|
}
|
|
7513
7580
|
export interface ClusterStatsClusterFileSystem {
|
|
7514
7581
|
available_in_bytes: long;
|
|
@@ -7516,6 +7583,7 @@ export interface ClusterStatsClusterFileSystem {
|
|
|
7516
7583
|
total_in_bytes: long;
|
|
7517
7584
|
}
|
|
7518
7585
|
export interface ClusterStatsClusterIndices {
|
|
7586
|
+
analysis: ClusterStatsCharFilterTypes;
|
|
7519
7587
|
completion: CompletionStats;
|
|
7520
7588
|
count: long;
|
|
7521
7589
|
docs: DocStats;
|
|
@@ -7525,7 +7593,6 @@ export interface ClusterStatsClusterIndices {
|
|
|
7525
7593
|
shards: ClusterStatsClusterIndicesShards;
|
|
7526
7594
|
store: StoreStats;
|
|
7527
7595
|
mappings: ClusterStatsFieldTypesMappings;
|
|
7528
|
-
analysis: ClusterStatsCharFilterTypes;
|
|
7529
7596
|
versions?: ClusterStatsIndicesVersions[];
|
|
7530
7597
|
}
|
|
7531
7598
|
export interface ClusterStatsClusterIndicesShards {
|
|
@@ -7569,23 +7636,24 @@ export interface ClusterStatsClusterNetworkTypes {
|
|
|
7569
7636
|
export interface ClusterStatsClusterNodeCount {
|
|
7570
7637
|
coordinating_only: integer;
|
|
7571
7638
|
data: integer;
|
|
7572
|
-
ingest: integer;
|
|
7573
|
-
master: integer;
|
|
7574
|
-
total: integer;
|
|
7575
|
-
voting_only: integer;
|
|
7576
7639
|
data_cold: integer;
|
|
7577
|
-
data_frozen?: integer;
|
|
7578
7640
|
data_content: integer;
|
|
7579
|
-
|
|
7641
|
+
data_frozen?: integer;
|
|
7580
7642
|
data_hot: integer;
|
|
7643
|
+
data_warm: integer;
|
|
7644
|
+
ingest: integer;
|
|
7645
|
+
master: integer;
|
|
7581
7646
|
ml: integer;
|
|
7582
7647
|
remote_cluster_client: integer;
|
|
7648
|
+
total: integer;
|
|
7583
7649
|
transform: integer;
|
|
7650
|
+
voting_only: integer;
|
|
7584
7651
|
}
|
|
7585
7652
|
export interface ClusterStatsClusterNodes {
|
|
7586
7653
|
count: ClusterStatsClusterNodeCount;
|
|
7587
7654
|
discovery_types: Record<string, integer>;
|
|
7588
7655
|
fs: ClusterStatsClusterFileSystem;
|
|
7656
|
+
indexing_pressure: ClusterStatsIndexingPressure;
|
|
7589
7657
|
ingest: ClusterStatsClusterIngest;
|
|
7590
7658
|
jvm: ClusterStatsClusterJvm;
|
|
7591
7659
|
network_types: ClusterStatsClusterNetworkTypes;
|
|
@@ -7594,19 +7662,18 @@ export interface ClusterStatsClusterNodes {
|
|
|
7594
7662
|
plugins: PluginStats[];
|
|
7595
7663
|
process: ClusterStatsClusterProcess;
|
|
7596
7664
|
versions: VersionString[];
|
|
7597
|
-
indexing_pressure: ClusterStatsIndexingPressure;
|
|
7598
7665
|
}
|
|
7599
7666
|
export interface ClusterStatsClusterOperatingSystem {
|
|
7600
7667
|
allocated_processors: integer;
|
|
7668
|
+
architectures?: ClusterStatsClusterOperatingSystemArchitecture[];
|
|
7601
7669
|
available_processors: integer;
|
|
7602
7670
|
mem: ClusterStatsOperatingSystemMemoryInfo;
|
|
7603
7671
|
names: ClusterStatsClusterOperatingSystemName[];
|
|
7604
7672
|
pretty_names: ClusterStatsClusterOperatingSystemPrettyName[];
|
|
7605
|
-
architectures?: ClusterStatsClusterOperatingSystemArchitecture[];
|
|
7606
7673
|
}
|
|
7607
7674
|
export interface ClusterStatsClusterOperatingSystemArchitecture {
|
|
7608
|
-
count: integer;
|
|
7609
7675
|
arch: string;
|
|
7676
|
+
count: integer;
|
|
7610
7677
|
}
|
|
7611
7678
|
export interface ClusterStatsClusterOperatingSystemName {
|
|
7612
7679
|
count: integer;
|
|
@@ -7661,8 +7728,8 @@ export interface ClusterStatsIndexingPressure {
|
|
|
7661
7728
|
memory: ClusterStatsIndexingPressureMemory;
|
|
7662
7729
|
}
|
|
7663
7730
|
export interface ClusterStatsIndexingPressureMemory {
|
|
7664
|
-
limit_in_bytes: long;
|
|
7665
7731
|
current: ClusterStatsIndexingPressureMemorySummary;
|
|
7732
|
+
limit_in_bytes: long;
|
|
7666
7733
|
total: ClusterStatsIndexingPressureMemorySummary;
|
|
7667
7734
|
}
|
|
7668
7735
|
export interface ClusterStatsIndexingPressureMemorySummary {
|
|
@@ -7687,12 +7754,12 @@ export interface ClusterStatsNodePackagingType {
|
|
|
7687
7754
|
type: string;
|
|
7688
7755
|
}
|
|
7689
7756
|
export interface ClusterStatsOperatingSystemMemoryInfo {
|
|
7757
|
+
adjusted_total_in_bytes?: long;
|
|
7690
7758
|
free_in_bytes: long;
|
|
7691
7759
|
free_percent: integer;
|
|
7692
7760
|
total_in_bytes: long;
|
|
7693
7761
|
used_in_bytes: long;
|
|
7694
7762
|
used_percent: integer;
|
|
7695
|
-
adjusted_total_in_bytes?: long;
|
|
7696
7763
|
}
|
|
7697
7764
|
export interface ClusterStatsRequest extends RequestBase {
|
|
7698
7765
|
node_id?: NodeIds;
|
|
@@ -7701,20 +7768,20 @@ export interface ClusterStatsRequest extends RequestBase {
|
|
|
7701
7768
|
}
|
|
7702
7769
|
export type ClusterStatsResponse = ClusterStatsStatsResponseBase;
|
|
7703
7770
|
export interface ClusterStatsRuntimeFieldTypes {
|
|
7704
|
-
|
|
7771
|
+
chars_max: integer;
|
|
7772
|
+
chars_total: integer;
|
|
7705
7773
|
count: integer;
|
|
7774
|
+
doc_max: integer;
|
|
7775
|
+
doc_total: integer;
|
|
7706
7776
|
index_count: integer;
|
|
7707
|
-
scriptless_count: integer;
|
|
7708
|
-
shadowed_count: integer;
|
|
7709
7777
|
lang: string[];
|
|
7710
7778
|
lines_max: integer;
|
|
7711
7779
|
lines_total: integer;
|
|
7712
|
-
|
|
7713
|
-
|
|
7780
|
+
name: Name;
|
|
7781
|
+
scriptless_count: integer;
|
|
7782
|
+
shadowed_count: integer;
|
|
7714
7783
|
source_max: integer;
|
|
7715
7784
|
source_total: integer;
|
|
7716
|
-
doc_max: integer;
|
|
7717
|
-
doc_total: integer;
|
|
7718
7785
|
}
|
|
7719
7786
|
export interface ClusterStatsStatsResponseBase extends NodesNodesResponseBase {
|
|
7720
7787
|
cluster_name: Name;
|
|
@@ -7969,6 +8036,7 @@ export interface FleetSearchRequest extends RequestBase {
|
|
|
7969
8036
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
7970
8037
|
body?: {
|
|
7971
8038
|
aggregations?: Record<string, AggregationsAggregationContainer>;
|
|
8039
|
+
/** @alias aggregations */
|
|
7972
8040
|
aggs?: Record<string, AggregationsAggregationContainer>;
|
|
7973
8041
|
collapse?: SearchFieldCollapse;
|
|
7974
8042
|
explain?: boolean;
|
|
@@ -8252,39 +8320,33 @@ export interface IndicesAliasDefinition {
|
|
|
8252
8320
|
export interface IndicesCacheQueries {
|
|
8253
8321
|
enabled: boolean;
|
|
8254
8322
|
}
|
|
8255
|
-
export interface IndicesDataLifecycle {
|
|
8256
|
-
data_retention?: Duration;
|
|
8257
|
-
}
|
|
8258
|
-
export interface IndicesDataLifecycleWithRollover {
|
|
8259
|
-
data_retention?: Duration;
|
|
8260
|
-
rollover?: IndicesDlmRolloverConditions;
|
|
8261
|
-
}
|
|
8262
8323
|
export interface IndicesDataStream {
|
|
8263
|
-
|
|
8264
|
-
|
|
8265
|
-
indices: IndicesDataStreamIndex[];
|
|
8324
|
+
_meta?: Metadata;
|
|
8325
|
+
allow_custom_routing?: boolean;
|
|
8266
8326
|
generation: integer;
|
|
8267
|
-
template: Name;
|
|
8268
8327
|
hidden: boolean;
|
|
8328
|
+
ilm_policy?: Name;
|
|
8329
|
+
indices: IndicesDataStreamIndex[];
|
|
8330
|
+
lifecycle?: IndicesDataStreamLifecycleWithRollover;
|
|
8331
|
+
name: DataStreamName;
|
|
8269
8332
|
replicated?: boolean;
|
|
8270
|
-
system?: boolean;
|
|
8271
8333
|
status: HealthStatus;
|
|
8272
|
-
|
|
8273
|
-
|
|
8274
|
-
|
|
8275
|
-
lifecycle?: IndicesDataLifecycleWithRollover;
|
|
8334
|
+
system?: boolean;
|
|
8335
|
+
template: Name;
|
|
8336
|
+
timestamp_field: IndicesDataStreamTimestampField;
|
|
8276
8337
|
}
|
|
8277
8338
|
export interface IndicesDataStreamIndex {
|
|
8278
8339
|
index_name: IndexName;
|
|
8279
8340
|
index_uuid: Uuid;
|
|
8280
8341
|
}
|
|
8281
|
-
export interface
|
|
8282
|
-
|
|
8342
|
+
export interface IndicesDataStreamLifecycle {
|
|
8343
|
+
data_retention?: Duration;
|
|
8344
|
+
downsampling?: IndicesDataStreamLifecycleDownsampling;
|
|
8283
8345
|
}
|
|
8284
|
-
export interface
|
|
8285
|
-
|
|
8346
|
+
export interface IndicesDataStreamLifecycleDownsampling {
|
|
8347
|
+
rounds: IndicesDownsamplingRound[];
|
|
8286
8348
|
}
|
|
8287
|
-
export interface
|
|
8349
|
+
export interface IndicesDataStreamLifecycleRolloverConditions {
|
|
8288
8350
|
min_age?: Duration;
|
|
8289
8351
|
max_age?: string;
|
|
8290
8352
|
min_docs?: long;
|
|
@@ -8296,9 +8358,24 @@ export interface IndicesDlmRolloverConditions {
|
|
|
8296
8358
|
min_primary_shard_docs?: long;
|
|
8297
8359
|
max_primary_shard_docs?: long;
|
|
8298
8360
|
}
|
|
8361
|
+
export interface IndicesDataStreamLifecycleWithRollover {
|
|
8362
|
+
data_retention?: Duration;
|
|
8363
|
+
downsampling?: IndicesDataStreamLifecycleDownsampling;
|
|
8364
|
+
rollover?: IndicesDataStreamLifecycleRolloverConditions;
|
|
8365
|
+
}
|
|
8366
|
+
export interface IndicesDataStreamTimestampField {
|
|
8367
|
+
name: Field;
|
|
8368
|
+
}
|
|
8369
|
+
export interface IndicesDataStreamVisibility {
|
|
8370
|
+
hidden?: boolean;
|
|
8371
|
+
}
|
|
8299
8372
|
export interface IndicesDownsampleConfig {
|
|
8300
8373
|
fixed_interval: DurationLarge;
|
|
8301
8374
|
}
|
|
8375
|
+
export interface IndicesDownsamplingRound {
|
|
8376
|
+
after: Duration;
|
|
8377
|
+
config: IndicesDownsampleConfig;
|
|
8378
|
+
}
|
|
8302
8379
|
export interface IndicesFielddataFrequencyFilter {
|
|
8303
8380
|
max: double;
|
|
8304
8381
|
min: double;
|
|
@@ -8433,7 +8510,7 @@ export interface IndicesIndexState {
|
|
|
8433
8510
|
settings?: IndicesIndexSettings;
|
|
8434
8511
|
defaults?: IndicesIndexSettings;
|
|
8435
8512
|
data_stream?: DataStreamName;
|
|
8436
|
-
lifecycle?:
|
|
8513
|
+
lifecycle?: IndicesDataStreamLifecycle;
|
|
8437
8514
|
}
|
|
8438
8515
|
export interface IndicesIndexTemplate {
|
|
8439
8516
|
index_patterns: Names;
|
|
@@ -8453,7 +8530,7 @@ export interface IndicesIndexTemplateSummary {
|
|
|
8453
8530
|
aliases?: Record<IndexName, IndicesAlias>;
|
|
8454
8531
|
mappings?: MappingTypeMapping;
|
|
8455
8532
|
settings?: IndicesIndexSettings;
|
|
8456
|
-
lifecycle?:
|
|
8533
|
+
lifecycle?: IndicesDataStreamLifecycleWithRollover;
|
|
8457
8534
|
}
|
|
8458
8535
|
export interface IndicesIndexVersioning {
|
|
8459
8536
|
created?: VersionString;
|
|
@@ -8778,9 +8855,9 @@ export type IndicesCreateDataStreamResponse = AcknowledgedResponseBase;
|
|
|
8778
8855
|
export interface IndicesDataStreamsStatsDataStreamsStatsItem {
|
|
8779
8856
|
backing_indices: integer;
|
|
8780
8857
|
data_stream: Name;
|
|
8858
|
+
maximum_timestamp: EpochTime<UnitMillis>;
|
|
8781
8859
|
store_size?: ByteSize;
|
|
8782
8860
|
store_size_bytes: integer;
|
|
8783
|
-
maximum_timestamp: EpochTime<UnitMillis>;
|
|
8784
8861
|
}
|
|
8785
8862
|
export interface IndicesDataStreamsStatsRequest extends RequestBase {
|
|
8786
8863
|
name?: IndexName;
|
|
@@ -8790,9 +8867,9 @@ export interface IndicesDataStreamsStatsResponse {
|
|
|
8790
8867
|
_shards: ShardStatistics;
|
|
8791
8868
|
backing_indices: integer;
|
|
8792
8869
|
data_stream_count: integer;
|
|
8870
|
+
data_streams: IndicesDataStreamsStatsDataStreamsStatsItem[];
|
|
8793
8871
|
total_store_sizes?: ByteSize;
|
|
8794
8872
|
total_store_size_bytes: integer;
|
|
8795
|
-
data_streams: IndicesDataStreamsStatsDataStreamsStatsItem[];
|
|
8796
8873
|
}
|
|
8797
8874
|
export interface IndicesDeleteRequest extends RequestBase {
|
|
8798
8875
|
index: Indices;
|
|
@@ -8881,14 +8958,14 @@ export interface IndicesExistsTemplateRequest extends RequestBase {
|
|
|
8881
8958
|
master_timeout?: Duration;
|
|
8882
8959
|
}
|
|
8883
8960
|
export type IndicesExistsTemplateResponse = boolean;
|
|
8884
|
-
export interface
|
|
8961
|
+
export interface IndicesExplainDataLifecycleDataStreamLifecycleExplain {
|
|
8885
8962
|
index: IndexName;
|
|
8886
|
-
|
|
8963
|
+
managed_by_lifecycle: boolean;
|
|
8887
8964
|
index_creation_date_millis?: EpochTime<UnitMillis>;
|
|
8888
8965
|
time_since_index_creation?: Duration;
|
|
8889
8966
|
rollover_date_millis?: EpochTime<UnitMillis>;
|
|
8890
8967
|
time_since_rollover?: Duration;
|
|
8891
|
-
lifecycle?:
|
|
8968
|
+
lifecycle?: IndicesDataStreamLifecycleWithRollover;
|
|
8892
8969
|
generation_time?: Duration;
|
|
8893
8970
|
error?: string;
|
|
8894
8971
|
}
|
|
@@ -8898,7 +8975,7 @@ export interface IndicesExplainDataLifecycleRequest extends RequestBase {
|
|
|
8898
8975
|
master_timeout?: Duration;
|
|
8899
8976
|
}
|
|
8900
8977
|
export interface IndicesExplainDataLifecycleResponse {
|
|
8901
|
-
indices: Record<IndexName,
|
|
8978
|
+
indices: Record<IndexName, IndicesExplainDataLifecycleDataStreamLifecycleExplain>;
|
|
8902
8979
|
}
|
|
8903
8980
|
export interface IndicesFieldUsageStatsFieldSummary {
|
|
8904
8981
|
any: uint;
|
|
@@ -8998,9 +9075,9 @@ export interface IndicesGetAliasRequest extends RequestBase {
|
|
|
8998
9075
|
local?: boolean;
|
|
8999
9076
|
}
|
|
9000
9077
|
export type IndicesGetAliasResponse = Record<IndexName, IndicesGetAliasIndexAliases>;
|
|
9001
|
-
export interface
|
|
9078
|
+
export interface IndicesGetDataLifecycleDataStreamWithLifecycle {
|
|
9002
9079
|
name: DataStreamName;
|
|
9003
|
-
lifecycle?:
|
|
9080
|
+
lifecycle?: IndicesDataStreamLifecycle;
|
|
9004
9081
|
}
|
|
9005
9082
|
export interface IndicesGetDataLifecycleRequest extends RequestBase {
|
|
9006
9083
|
name: DataStreamNames;
|
|
@@ -9008,7 +9085,7 @@ export interface IndicesGetDataLifecycleRequest extends RequestBase {
|
|
|
9008
9085
|
include_defaults?: boolean;
|
|
9009
9086
|
}
|
|
9010
9087
|
export interface IndicesGetDataLifecycleResponse {
|
|
9011
|
-
data_streams:
|
|
9088
|
+
data_streams: IndicesGetDataLifecycleDataStreamWithLifecycle[];
|
|
9012
9089
|
}
|
|
9013
9090
|
export interface IndicesGetDataStreamRequest extends RequestBase {
|
|
9014
9091
|
name?: DataStreamNames;
|
|
@@ -9086,8 +9163,8 @@ export interface IndicesModifyDataStreamAction {
|
|
|
9086
9163
|
remove_backing_index?: IndicesModifyDataStreamIndexAndDataStreamAction;
|
|
9087
9164
|
}
|
|
9088
9165
|
export interface IndicesModifyDataStreamIndexAndDataStreamAction {
|
|
9089
|
-
index: IndexName;
|
|
9090
9166
|
data_stream: DataStreamName;
|
|
9167
|
+
index: IndexName;
|
|
9091
9168
|
}
|
|
9092
9169
|
export interface IndicesModifyDataStreamRequest extends RequestBase {
|
|
9093
9170
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
@@ -9136,6 +9213,7 @@ export interface IndicesPutDataLifecycleRequest extends RequestBase {
|
|
|
9136
9213
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
9137
9214
|
body?: {
|
|
9138
9215
|
data_retention?: Duration;
|
|
9216
|
+
downsampling?: IndicesDataStreamLifecycleDownsampling;
|
|
9139
9217
|
};
|
|
9140
9218
|
}
|
|
9141
9219
|
export type IndicesPutDataLifecycleResponse = AcknowledgedResponseBase;
|
|
@@ -9143,7 +9221,7 @@ export interface IndicesPutIndexTemplateIndexTemplateMapping {
|
|
|
9143
9221
|
aliases?: Record<IndexName, IndicesAlias>;
|
|
9144
9222
|
mappings?: MappingTypeMapping;
|
|
9145
9223
|
settings?: IndicesIndexSettings;
|
|
9146
|
-
lifecycle?:
|
|
9224
|
+
lifecycle?: IndicesDataStreamLifecycle;
|
|
9147
9225
|
}
|
|
9148
9226
|
export interface IndicesPutIndexTemplateRequest extends RequestBase {
|
|
9149
9227
|
name: Name;
|
|
@@ -9321,16 +9399,17 @@ export interface IndicesReloadSearchAnalyzersReloadDetails {
|
|
|
9321
9399
|
reloaded_analyzers: string[];
|
|
9322
9400
|
reloaded_node_ids: string[];
|
|
9323
9401
|
}
|
|
9402
|
+
export interface IndicesReloadSearchAnalyzersReloadResult {
|
|
9403
|
+
reload_details: IndicesReloadSearchAnalyzersReloadDetails[];
|
|
9404
|
+
_shards: ShardStatistics;
|
|
9405
|
+
}
|
|
9324
9406
|
export interface IndicesReloadSearchAnalyzersRequest extends RequestBase {
|
|
9325
9407
|
index: Indices;
|
|
9326
9408
|
allow_no_indices?: boolean;
|
|
9327
9409
|
expand_wildcards?: ExpandWildcards;
|
|
9328
9410
|
ignore_unavailable?: boolean;
|
|
9329
9411
|
}
|
|
9330
|
-
export
|
|
9331
|
-
reload_details: IndicesReloadSearchAnalyzersReloadDetails[];
|
|
9332
|
-
_shards: ShardStatistics;
|
|
9333
|
-
}
|
|
9412
|
+
export type IndicesReloadSearchAnalyzersResponse = IndicesReloadSearchAnalyzersReloadResult;
|
|
9334
9413
|
export interface IndicesResolveIndexRequest extends RequestBase {
|
|
9335
9414
|
name: Names;
|
|
9336
9415
|
expand_wildcards?: ExpandWildcards;
|
|
@@ -10803,6 +10882,7 @@ export interface MlDiscoveryNode {
|
|
|
10803
10882
|
}
|
|
10804
10883
|
export type MlExcludeFrequent = 'all' | 'none' | 'by' | 'over';
|
|
10805
10884
|
export interface MlFillMaskInferenceOptions {
|
|
10885
|
+
mask_token?: string;
|
|
10806
10886
|
num_top_classes?: integer;
|
|
10807
10887
|
tokenization?: MlTokenizationConfigContainer;
|
|
10808
10888
|
results_field?: string;
|
|
@@ -12040,6 +12120,7 @@ export interface MlPutDatafeedRequest extends RequestBase {
|
|
|
12040
12120
|
delayed_data_check_config?: MlDelayedDataCheckConfig;
|
|
12041
12121
|
frequency?: Duration;
|
|
12042
12122
|
indices?: Indices;
|
|
12123
|
+
/** @alias indices */
|
|
12043
12124
|
indexes?: Indices;
|
|
12044
12125
|
indices_options?: IndicesOptions;
|
|
12045
12126
|
job_id?: Id;
|
|
@@ -12172,6 +12253,7 @@ export interface MlPutTrainedModelRequest extends RequestBase {
|
|
|
12172
12253
|
metadata?: any;
|
|
12173
12254
|
model_type?: MlTrainedModelType;
|
|
12174
12255
|
model_size_bytes?: long;
|
|
12256
|
+
platform_architecture?: string;
|
|
12175
12257
|
tags?: string[];
|
|
12176
12258
|
};
|
|
12177
12259
|
}
|
|
@@ -12230,6 +12312,7 @@ export interface MlPutTrainedModelVocabularyRequest extends RequestBase {
|
|
|
12230
12312
|
body?: {
|
|
12231
12313
|
vocabulary: string[];
|
|
12232
12314
|
merges?: string[];
|
|
12315
|
+
scores?: double[];
|
|
12233
12316
|
};
|
|
12234
12317
|
}
|
|
12235
12318
|
export type MlPutTrainedModelVocabularyResponse = AcknowledgedResponseBase;
|
|
@@ -12279,6 +12362,7 @@ export interface MlStartDatafeedResponse {
|
|
|
12279
12362
|
export interface MlStartTrainedModelDeploymentRequest extends RequestBase {
|
|
12280
12363
|
model_id: Id;
|
|
12281
12364
|
cache_size?: ByteSize;
|
|
12365
|
+
deployment_id?: string;
|
|
12282
12366
|
number_of_allocations?: integer;
|
|
12283
12367
|
priority?: MlTrainingPriority;
|
|
12284
12368
|
queue_capacity?: integer;
|
|
@@ -12355,6 +12439,7 @@ export interface MlUpdateDatafeedRequest extends RequestBase {
|
|
|
12355
12439
|
delayed_data_check_config?: MlDelayedDataCheckConfig;
|
|
12356
12440
|
frequency?: Duration;
|
|
12357
12441
|
indices?: string[];
|
|
12442
|
+
/** @alias indices */
|
|
12358
12443
|
indexes?: string[];
|
|
12359
12444
|
indices_options?: IndicesOptions;
|
|
12360
12445
|
job_id?: Id;
|
|
@@ -13284,6 +13369,57 @@ export interface NodesUsageResponseBase extends NodesNodesResponseBase {
|
|
|
13284
13369
|
cluster_name: Name;
|
|
13285
13370
|
nodes: Record<string, NodesUsageNodeUsage>;
|
|
13286
13371
|
}
|
|
13372
|
+
export interface QueryRulesetQueryRule {
|
|
13373
|
+
rule_id: Id;
|
|
13374
|
+
type: QueryRulesetQueryRuleType;
|
|
13375
|
+
criteria: QueryRulesetQueryRuleCriteria[];
|
|
13376
|
+
actions: QueryRulesetQueryRuleActions;
|
|
13377
|
+
}
|
|
13378
|
+
export interface QueryRulesetQueryRuleActions {
|
|
13379
|
+
ids?: Id[];
|
|
13380
|
+
docs?: QueryDslPinnedDoc[];
|
|
13381
|
+
}
|
|
13382
|
+
export interface QueryRulesetQueryRuleCriteria {
|
|
13383
|
+
type: QueryRulesetQueryRuleCriteriaType;
|
|
13384
|
+
metadata: string;
|
|
13385
|
+
values?: any[];
|
|
13386
|
+
}
|
|
13387
|
+
export type QueryRulesetQueryRuleCriteriaType = 'global' | 'exact' | 'exact_fuzzy' | 'prefix' | 'suffix' | 'contains' | 'lt' | 'lte' | 'gt' | 'gte';
|
|
13388
|
+
export type QueryRulesetQueryRuleType = 'pinned';
|
|
13389
|
+
export interface QueryRulesetQueryRuleset {
|
|
13390
|
+
ruleset_id: Id;
|
|
13391
|
+
rules: QueryRulesetQueryRule[];
|
|
13392
|
+
}
|
|
13393
|
+
export interface QueryRulesetDeleteRequest extends RequestBase {
|
|
13394
|
+
ruleset_id: Id;
|
|
13395
|
+
}
|
|
13396
|
+
export type QueryRulesetDeleteResponse = AcknowledgedResponseBase;
|
|
13397
|
+
export interface QueryRulesetGetRequest extends RequestBase {
|
|
13398
|
+
ruleset_id: Id;
|
|
13399
|
+
}
|
|
13400
|
+
export type QueryRulesetGetResponse = QueryRulesetQueryRuleset;
|
|
13401
|
+
export interface QueryRulesetListQueryRulesetListItem {
|
|
13402
|
+
ruleset_id: Id;
|
|
13403
|
+
rules_count: integer;
|
|
13404
|
+
}
|
|
13405
|
+
export interface QueryRulesetListRequest extends RequestBase {
|
|
13406
|
+
from?: integer;
|
|
13407
|
+
size?: integer;
|
|
13408
|
+
}
|
|
13409
|
+
export interface QueryRulesetListResponse {
|
|
13410
|
+
count: long;
|
|
13411
|
+
results: QueryRulesetListQueryRulesetListItem[];
|
|
13412
|
+
}
|
|
13413
|
+
export interface QueryRulesetPutRequest extends RequestBase {
|
|
13414
|
+
ruleset_id: Id;
|
|
13415
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
13416
|
+
body?: {
|
|
13417
|
+
rules: QueryRulesetQueryRule[];
|
|
13418
|
+
};
|
|
13419
|
+
}
|
|
13420
|
+
export interface QueryRulesetPutResponse {
|
|
13421
|
+
result: Result;
|
|
13422
|
+
}
|
|
13287
13423
|
export interface RollupDateHistogramGrouping {
|
|
13288
13424
|
delay?: Duration;
|
|
13289
13425
|
field: Field;
|
|
@@ -13416,6 +13552,7 @@ export interface RollupRollupSearchRequest extends RequestBase {
|
|
|
13416
13552
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
13417
13553
|
body?: {
|
|
13418
13554
|
aggregations?: Record<string, AggregationsAggregationContainer>;
|
|
13555
|
+
/** @alias aggregations */
|
|
13419
13556
|
aggs?: Record<string, AggregationsAggregationContainer>;
|
|
13420
13557
|
query?: QueryDslQueryContainer;
|
|
13421
13558
|
size?: integer;
|
|
@@ -13661,7 +13798,7 @@ export interface SecurityRoleMapping {
|
|
|
13661
13798
|
metadata: Metadata;
|
|
13662
13799
|
roles: string[];
|
|
13663
13800
|
rules: SecurityRoleMappingRule;
|
|
13664
|
-
role_templates?:
|
|
13801
|
+
role_templates?: SecurityRoleTemplate[];
|
|
13665
13802
|
}
|
|
13666
13803
|
export interface SecurityRoleMappingRule {
|
|
13667
13804
|
any?: SecurityRoleMappingRule[];
|
|
@@ -13669,6 +13806,10 @@ export interface SecurityRoleMappingRule {
|
|
|
13669
13806
|
field?: SecurityFieldRule;
|
|
13670
13807
|
except?: SecurityRoleMappingRule;
|
|
13671
13808
|
}
|
|
13809
|
+
export interface SecurityRoleTemplate {
|
|
13810
|
+
format?: SecurityTemplateFormat;
|
|
13811
|
+
template: Script;
|
|
13812
|
+
}
|
|
13672
13813
|
export type SecurityRoleTemplateInlineQuery = string | QueryDslQueryContainer;
|
|
13673
13814
|
export interface SecurityRoleTemplateInlineScript extends ScriptBase {
|
|
13674
13815
|
lang?: ScriptLanguage;
|
|
@@ -13679,6 +13820,7 @@ export interface SecurityRoleTemplateQuery {
|
|
|
13679
13820
|
template?: SecurityRoleTemplateScript;
|
|
13680
13821
|
}
|
|
13681
13822
|
export type SecurityRoleTemplateScript = SecurityRoleTemplateInlineScript | SecurityRoleTemplateInlineQuery | StoredScriptId;
|
|
13823
|
+
export type SecurityTemplateFormat = 'string' | 'json';
|
|
13682
13824
|
export interface SecurityTransientMetadataConfig {
|
|
13683
13825
|
enabled: boolean;
|
|
13684
13826
|
}
|
|
@@ -13950,14 +14092,9 @@ export interface SecurityGetRoleRole {
|
|
|
13950
14092
|
run_as: string[];
|
|
13951
14093
|
transient_metadata: SecurityTransientMetadataConfig;
|
|
13952
14094
|
applications: SecurityApplicationPrivileges[];
|
|
13953
|
-
role_templates?:
|
|
14095
|
+
role_templates?: SecurityRoleTemplate[];
|
|
13954
14096
|
global?: Record<string, Record<string, Record<string, string[]>>>;
|
|
13955
14097
|
}
|
|
13956
|
-
export interface SecurityGetRoleRoleTemplate {
|
|
13957
|
-
format?: SecurityGetRoleTemplateFormat;
|
|
13958
|
-
template: Script;
|
|
13959
|
-
}
|
|
13960
|
-
export type SecurityGetRoleTemplateFormat = 'string' | 'json';
|
|
13961
14098
|
export interface SecurityGetRoleMappingRequest extends RequestBase {
|
|
13962
14099
|
name?: Names;
|
|
13963
14100
|
}
|
|
@@ -14194,6 +14331,7 @@ export interface SecurityPutRoleMappingRequest extends RequestBase {
|
|
|
14194
14331
|
enabled?: boolean;
|
|
14195
14332
|
metadata?: Metadata;
|
|
14196
14333
|
roles?: string[];
|
|
14334
|
+
role_templates?: SecurityRoleTemplate[];
|
|
14197
14335
|
rules?: SecurityRoleMappingRule;
|
|
14198
14336
|
run_as?: string[];
|
|
14199
14337
|
};
|
|
@@ -14868,6 +15006,74 @@ export interface SslCertificatesCertificateInformation {
|
|
|
14868
15006
|
export interface SslCertificatesRequest extends RequestBase {
|
|
14869
15007
|
}
|
|
14870
15008
|
export type SslCertificatesResponse = SslCertificatesCertificateInformation[];
|
|
15009
|
+
export interface SynonymsSynonymRule {
|
|
15010
|
+
id?: Id;
|
|
15011
|
+
synonyms: SynonymsSynonymString;
|
|
15012
|
+
}
|
|
15013
|
+
export interface SynonymsSynonymRuleRead {
|
|
15014
|
+
id: Id;
|
|
15015
|
+
synonyms: SynonymsSynonymString;
|
|
15016
|
+
}
|
|
15017
|
+
export type SynonymsSynonymString = string;
|
|
15018
|
+
export interface SynonymsSynonymsUpdateResult {
|
|
15019
|
+
result: Result;
|
|
15020
|
+
reload_analyzers_details: IndicesReloadSearchAnalyzersReloadResult;
|
|
15021
|
+
}
|
|
15022
|
+
export interface SynonymsDeleteSynonymRequest extends RequestBase {
|
|
15023
|
+
id: Id;
|
|
15024
|
+
}
|
|
15025
|
+
export type SynonymsDeleteSynonymResponse = AcknowledgedResponseBase;
|
|
15026
|
+
export interface SynonymsDeleteSynonymRuleRequest extends RequestBase {
|
|
15027
|
+
set_id: Id;
|
|
15028
|
+
rule_id: Id;
|
|
15029
|
+
}
|
|
15030
|
+
export type SynonymsDeleteSynonymRuleResponse = SynonymsSynonymsUpdateResult;
|
|
15031
|
+
export interface SynonymsGetSynonymRequest extends RequestBase {
|
|
15032
|
+
id: Id;
|
|
15033
|
+
from?: integer;
|
|
15034
|
+
size?: integer;
|
|
15035
|
+
}
|
|
15036
|
+
export interface SynonymsGetSynonymResponse {
|
|
15037
|
+
count: integer;
|
|
15038
|
+
synonyms_set: SynonymsSynonymRuleRead[];
|
|
15039
|
+
}
|
|
15040
|
+
export interface SynonymsGetSynonymRuleRequest extends RequestBase {
|
|
15041
|
+
set_id: Id;
|
|
15042
|
+
rule_id: Id;
|
|
15043
|
+
}
|
|
15044
|
+
export type SynonymsGetSynonymRuleResponse = SynonymsSynonymRuleRead;
|
|
15045
|
+
export interface SynonymsGetSynonymsSetsRequest extends RequestBase {
|
|
15046
|
+
from?: integer;
|
|
15047
|
+
size?: integer;
|
|
15048
|
+
}
|
|
15049
|
+
export interface SynonymsGetSynonymsSetsResponse {
|
|
15050
|
+
count: integer;
|
|
15051
|
+
results: SynonymsGetSynonymsSetsSynonymsSetItem[];
|
|
15052
|
+
}
|
|
15053
|
+
export interface SynonymsGetSynonymsSetsSynonymsSetItem {
|
|
15054
|
+
synonyms_set: Id;
|
|
15055
|
+
count: integer;
|
|
15056
|
+
}
|
|
15057
|
+
export interface SynonymsPutSynonymRequest extends RequestBase {
|
|
15058
|
+
id: Id;
|
|
15059
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
15060
|
+
body?: {
|
|
15061
|
+
synonyms_set: SynonymsSynonymRule[];
|
|
15062
|
+
};
|
|
15063
|
+
}
|
|
15064
|
+
export interface SynonymsPutSynonymResponse {
|
|
15065
|
+
result: Result;
|
|
15066
|
+
reload_analyzers_details: IndicesReloadSearchAnalyzersReloadDetails;
|
|
15067
|
+
}
|
|
15068
|
+
export interface SynonymsPutSynonymRuleRequest extends RequestBase {
|
|
15069
|
+
set_id: Id;
|
|
15070
|
+
rule_id: Id;
|
|
15071
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
15072
|
+
body?: {
|
|
15073
|
+
synonyms: SynonymsSynonymString[];
|
|
15074
|
+
};
|
|
15075
|
+
}
|
|
15076
|
+
export type SynonymsPutSynonymRuleResponse = SynonymsSynonymsUpdateResult;
|
|
14871
15077
|
export type TasksGroupBy = 'nodes' | 'parents' | 'none';
|
|
14872
15078
|
export interface TasksNodeTasks {
|
|
14873
15079
|
name?: NodeId;
|
|
@@ -14892,7 +15098,7 @@ export interface TasksTaskInfo {
|
|
|
14892
15098
|
running_time?: Duration;
|
|
14893
15099
|
running_time_in_nanos: DurationValue<UnitNanos>;
|
|
14894
15100
|
start_time_in_millis: EpochTime<UnitMillis>;
|
|
14895
|
-
status?:
|
|
15101
|
+
status?: any;
|
|
14896
15102
|
type: string;
|
|
14897
15103
|
parent_task_id?: TaskId;
|
|
14898
15104
|
}
|
|
@@ -14903,25 +15109,6 @@ export interface TasksTaskListResponseBase {
|
|
|
14903
15109
|
nodes?: Record<string, TasksNodeTasks>;
|
|
14904
15110
|
tasks?: TasksTaskInfos;
|
|
14905
15111
|
}
|
|
14906
|
-
export interface TasksTaskStatus {
|
|
14907
|
-
batches: long;
|
|
14908
|
-
canceled?: string;
|
|
14909
|
-
created: long;
|
|
14910
|
-
deleted: long;
|
|
14911
|
-
noops: long;
|
|
14912
|
-
failures?: string[];
|
|
14913
|
-
requests_per_second: float;
|
|
14914
|
-
retries: Retries;
|
|
14915
|
-
throttled?: Duration;
|
|
14916
|
-
throttled_millis: DurationValue<UnitMillis>;
|
|
14917
|
-
throttled_until?: Duration;
|
|
14918
|
-
throttled_until_millis: DurationValue<UnitMillis>;
|
|
14919
|
-
timed_out?: boolean;
|
|
14920
|
-
took?: DurationValue<UnitMillis>;
|
|
14921
|
-
total: long;
|
|
14922
|
-
updated: long;
|
|
14923
|
-
version_conflicts: long;
|
|
14924
|
-
}
|
|
14925
15112
|
export interface TasksCancelRequest extends RequestBase {
|
|
14926
15113
|
task_id?: TaskId;
|
|
14927
15114
|
actions?: string | string[];
|
|
@@ -14938,7 +15125,7 @@ export interface TasksGetRequest extends RequestBase {
|
|
|
14938
15125
|
export interface TasksGetResponse {
|
|
14939
15126
|
completed: boolean;
|
|
14940
15127
|
task: TasksTaskInfo;
|
|
14941
|
-
response?:
|
|
15128
|
+
response?: any;
|
|
14942
15129
|
error?: ErrorCause;
|
|
14943
15130
|
}
|
|
14944
15131
|
export interface TasksListRequest extends RequestBase {
|
|
@@ -15058,6 +15245,7 @@ export interface TransformTimeSync {
|
|
|
15058
15245
|
export interface TransformDeleteTransformRequest extends RequestBase {
|
|
15059
15246
|
transform_id: Id;
|
|
15060
15247
|
force?: boolean;
|
|
15248
|
+
delete_dest_index?: boolean;
|
|
15061
15249
|
timeout?: Duration;
|
|
15062
15250
|
}
|
|
15063
15251
|
export type TransformDeleteTransformResponse = AcknowledgedResponseBase;
|