@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
package/lib/api/types.d.ts
CHANGED
|
@@ -428,6 +428,7 @@ export interface HealthReportIndicators {
|
|
|
428
428
|
repository_integrity?: HealthReportRepositoryIntegrityIndicator;
|
|
429
429
|
ilm?: HealthReportIlmIndicator;
|
|
430
430
|
slm?: HealthReportSlmIndicator;
|
|
431
|
+
shards_capacity?: HealthReportShardsCapacityIndicator;
|
|
431
432
|
}
|
|
432
433
|
export interface HealthReportMasterIsStableIndicator extends HealthReportBaseIndicator {
|
|
433
434
|
details?: HealthReportMasterIsStableIndicatorDetails;
|
|
@@ -464,6 +465,7 @@ export interface HealthReportRequest extends RequestBase {
|
|
|
464
465
|
export interface HealthReportResponse {
|
|
465
466
|
cluster_name: string;
|
|
466
467
|
indicators: HealthReportIndicators;
|
|
468
|
+
status?: HealthReportIndicatorHealthStatus;
|
|
467
469
|
}
|
|
468
470
|
export interface HealthReportShardsAvailabilityIndicator extends HealthReportBaseIndicator {
|
|
469
471
|
details?: HealthReportShardsAvailabilityIndicatorDetails;
|
|
@@ -479,6 +481,17 @@ export interface HealthReportShardsAvailabilityIndicatorDetails {
|
|
|
479
481
|
unassigned_primaries: long;
|
|
480
482
|
unassigned_replicas: long;
|
|
481
483
|
}
|
|
484
|
+
export interface HealthReportShardsCapacityIndicator extends HealthReportBaseIndicator {
|
|
485
|
+
details?: HealthReportShardsCapacityIndicatorDetails;
|
|
486
|
+
}
|
|
487
|
+
export interface HealthReportShardsCapacityIndicatorDetails {
|
|
488
|
+
data: HealthReportShardsCapacityIndicatorTierDetail;
|
|
489
|
+
frozen: HealthReportShardsCapacityIndicatorTierDetail;
|
|
490
|
+
}
|
|
491
|
+
export interface HealthReportShardsCapacityIndicatorTierDetail {
|
|
492
|
+
max_shards_in_cluster: integer;
|
|
493
|
+
current_used_shards?: integer;
|
|
494
|
+
}
|
|
482
495
|
export interface HealthReportSlmIndicator extends HealthReportBaseIndicator {
|
|
483
496
|
details?: HealthReportSlmIndicatorDetails;
|
|
484
497
|
}
|
|
@@ -575,7 +588,7 @@ export type MgetResponseItem<TDocument = unknown> = GetGetResult<TDocument> | Mg
|
|
|
575
588
|
export interface MsearchMultiSearchItem<TDocument = unknown> extends SearchResponseBody<TDocument> {
|
|
576
589
|
status?: integer;
|
|
577
590
|
}
|
|
578
|
-
export interface MsearchMultiSearchResult<TDocument = unknown
|
|
591
|
+
export interface MsearchMultiSearchResult<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> {
|
|
579
592
|
took: long;
|
|
580
593
|
responses: MsearchResponseItem<TDocument>[];
|
|
581
594
|
}
|
|
@@ -643,7 +656,7 @@ export interface MsearchRequest extends RequestBase {
|
|
|
643
656
|
searches?: MsearchRequestItem[];
|
|
644
657
|
}
|
|
645
658
|
export type MsearchRequestItem = MsearchMultisearchHeader | MsearchMultisearchBody;
|
|
646
|
-
export type MsearchResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = MsearchMultiSearchResult<TDocument>;
|
|
659
|
+
export type MsearchResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = MsearchMultiSearchResult<TDocument, TAggregations>;
|
|
647
660
|
export type MsearchResponseItem<TDocument = unknown> = MsearchMultiSearchItem<TDocument> | ErrorResponseBase;
|
|
648
661
|
export interface MsearchTemplateRequest extends RequestBase {
|
|
649
662
|
index?: Indices;
|
|
@@ -655,7 +668,7 @@ export interface MsearchTemplateRequest extends RequestBase {
|
|
|
655
668
|
search_templates?: MsearchTemplateRequestItem[];
|
|
656
669
|
}
|
|
657
670
|
export type MsearchTemplateRequestItem = MsearchMultisearchHeader | MsearchTemplateTemplateConfig;
|
|
658
|
-
export type MsearchTemplateResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = MsearchMultiSearchResult<TDocument>;
|
|
671
|
+
export type MsearchTemplateResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = MsearchMultiSearchResult<TDocument, TAggregations>;
|
|
659
672
|
export interface MsearchTemplateTemplateConfig {
|
|
660
673
|
explain?: boolean;
|
|
661
674
|
id?: Id;
|
|
@@ -959,6 +972,7 @@ export interface SearchRequest extends RequestBase {
|
|
|
959
972
|
_source_includes?: Fields;
|
|
960
973
|
q?: string;
|
|
961
974
|
aggregations?: Record<string, AggregationsAggregationContainer>;
|
|
975
|
+
/** @alias aggregations */
|
|
962
976
|
aggs?: Record<string, AggregationsAggregationContainer>;
|
|
963
977
|
collapse?: SearchFieldCollapse;
|
|
964
978
|
explain?: boolean;
|
|
@@ -1668,6 +1682,7 @@ export interface SpecUtilsBaseNode {
|
|
|
1668
1682
|
roles?: NodeRoles;
|
|
1669
1683
|
transport_address: TransportAddress;
|
|
1670
1684
|
}
|
|
1685
|
+
export type SpecUtilsPipeSeparatedFlags<T = unknown> = T | string;
|
|
1671
1686
|
export type SpecUtilsStringified<T = unknown> = T | string;
|
|
1672
1687
|
export interface AcknowledgedResponseBase {
|
|
1673
1688
|
acknowledged: boolean;
|
|
@@ -1694,12 +1709,26 @@ export interface BulkStats {
|
|
|
1694
1709
|
export type ByteSize = long | string;
|
|
1695
1710
|
export type Bytes = 'b' | 'kb' | 'mb' | 'gb' | 'tb' | 'pb';
|
|
1696
1711
|
export type CategoryId = string;
|
|
1712
|
+
export type ClusterAlias = string;
|
|
1713
|
+
export interface ClusterDetails {
|
|
1714
|
+
status: ClusterSearchStatus;
|
|
1715
|
+
indices: string;
|
|
1716
|
+
took?: DurationValue<UnitMillis>;
|
|
1717
|
+
timed_out: boolean;
|
|
1718
|
+
_shards?: ShardStatistics;
|
|
1719
|
+
failures?: ShardFailure[];
|
|
1720
|
+
}
|
|
1697
1721
|
export type ClusterInfoTarget = '_all' | 'http' | 'ingest' | 'thread_pool' | 'script';
|
|
1698
1722
|
export type ClusterInfoTargets = ClusterInfoTarget | ClusterInfoTarget[];
|
|
1723
|
+
export type ClusterSearchStatus = 'running' | 'successful' | 'partial' | 'skipped' | 'failed';
|
|
1699
1724
|
export interface ClusterStatistics {
|
|
1700
1725
|
skipped: integer;
|
|
1701
1726
|
successful: integer;
|
|
1702
1727
|
total: integer;
|
|
1728
|
+
running: integer;
|
|
1729
|
+
partial: integer;
|
|
1730
|
+
failed: integer;
|
|
1731
|
+
details?: Record<ClusterAlias, ClusterDetails>;
|
|
1703
1732
|
}
|
|
1704
1733
|
export interface CompletionStats {
|
|
1705
1734
|
size_in_bytes: long;
|
|
@@ -1897,6 +1926,7 @@ export interface KnnQuery {
|
|
|
1897
1926
|
num_candidates: long;
|
|
1898
1927
|
boost?: float;
|
|
1899
1928
|
filter?: QueryDslQueryContainer | QueryDslQueryContainer[];
|
|
1929
|
+
similarity?: float;
|
|
1900
1930
|
}
|
|
1901
1931
|
export interface LatLonGeoLocation {
|
|
1902
1932
|
lat: double;
|
|
@@ -2491,11 +2521,19 @@ export interface AggregationsCompositeAggregation extends AggregationsBucketAggr
|
|
|
2491
2521
|
size?: integer;
|
|
2492
2522
|
sources?: Record<string, AggregationsCompositeAggregationSource>[];
|
|
2493
2523
|
}
|
|
2524
|
+
export interface AggregationsCompositeAggregationBase {
|
|
2525
|
+
field?: Field;
|
|
2526
|
+
missing_bucket?: boolean;
|
|
2527
|
+
missing_order?: AggregationsMissingOrder;
|
|
2528
|
+
script?: Script;
|
|
2529
|
+
value_type?: AggregationsValueType;
|
|
2530
|
+
order?: SortOrder;
|
|
2531
|
+
}
|
|
2494
2532
|
export interface AggregationsCompositeAggregationSource {
|
|
2495
|
-
terms?:
|
|
2496
|
-
histogram?:
|
|
2497
|
-
date_histogram?:
|
|
2498
|
-
geotile_grid?:
|
|
2533
|
+
terms?: AggregationsCompositeTermsAggregation;
|
|
2534
|
+
histogram?: AggregationsCompositeHistogramAggregation;
|
|
2535
|
+
date_histogram?: AggregationsCompositeDateHistogramAggregation;
|
|
2536
|
+
geotile_grid?: AggregationsCompositeGeoTileGridAggregation;
|
|
2499
2537
|
}
|
|
2500
2538
|
export interface AggregationsCompositeBucketKeys extends AggregationsMultiBucketBase {
|
|
2501
2539
|
key: AggregationsCompositeAggregateKey;
|
|
@@ -2503,6 +2541,22 @@ export interface AggregationsCompositeBucketKeys extends AggregationsMultiBucket
|
|
|
2503
2541
|
export type AggregationsCompositeBucket = AggregationsCompositeBucketKeys & {
|
|
2504
2542
|
[property: string]: AggregationsAggregate | AggregationsCompositeAggregateKey | long;
|
|
2505
2543
|
};
|
|
2544
|
+
export interface AggregationsCompositeDateHistogramAggregation extends AggregationsCompositeAggregationBase {
|
|
2545
|
+
format?: string;
|
|
2546
|
+
calendar_interval?: DurationLarge;
|
|
2547
|
+
fixed_interval?: DurationLarge;
|
|
2548
|
+
offset?: Duration;
|
|
2549
|
+
time_zone?: TimeZone;
|
|
2550
|
+
}
|
|
2551
|
+
export interface AggregationsCompositeGeoTileGridAggregation extends AggregationsCompositeAggregationBase {
|
|
2552
|
+
precision?: integer;
|
|
2553
|
+
bounds?: GeoBounds;
|
|
2554
|
+
}
|
|
2555
|
+
export interface AggregationsCompositeHistogramAggregation extends AggregationsCompositeAggregationBase {
|
|
2556
|
+
interval: double;
|
|
2557
|
+
}
|
|
2558
|
+
export interface AggregationsCompositeTermsAggregation extends AggregationsCompositeAggregationBase {
|
|
2559
|
+
}
|
|
2506
2560
|
export interface AggregationsCumulativeCardinalityAggregate extends AggregationsAggregateBase {
|
|
2507
2561
|
value: long;
|
|
2508
2562
|
value_as_string?: string;
|
|
@@ -3481,7 +3535,7 @@ export interface AnalysisElisionTokenFilter extends AnalysisTokenFilterBase {
|
|
|
3481
3535
|
type: 'elision';
|
|
3482
3536
|
articles?: string[];
|
|
3483
3537
|
articles_path?: string;
|
|
3484
|
-
articles_case?: boolean
|
|
3538
|
+
articles_case?: SpecUtilsStringified<boolean>;
|
|
3485
3539
|
}
|
|
3486
3540
|
export interface AnalysisFingerprintAnalyzer {
|
|
3487
3541
|
type: 'fingerprint';
|
|
@@ -3699,11 +3753,11 @@ export interface AnalysisNoriTokenizer extends AnalysisTokenizerBase {
|
|
|
3699
3753
|
export type AnalysisNormalizer = AnalysisLowercaseNormalizer | AnalysisCustomNormalizer;
|
|
3700
3754
|
export interface AnalysisPathHierarchyTokenizer extends AnalysisTokenizerBase {
|
|
3701
3755
|
type: 'path_hierarchy';
|
|
3702
|
-
buffer_size: integer
|
|
3756
|
+
buffer_size: SpecUtilsStringified<integer>;
|
|
3703
3757
|
delimiter: string;
|
|
3704
|
-
replacement
|
|
3705
|
-
reverse: boolean
|
|
3706
|
-
skip: integer
|
|
3758
|
+
replacement?: string;
|
|
3759
|
+
reverse: SpecUtilsStringified<boolean>;
|
|
3760
|
+
skip: SpecUtilsStringified<integer>;
|
|
3707
3761
|
}
|
|
3708
3762
|
export interface AnalysisPatternAnalyzer {
|
|
3709
3763
|
type: 'pattern';
|
|
@@ -3733,9 +3787,9 @@ export interface AnalysisPatternReplaceTokenFilter extends AnalysisTokenFilterBa
|
|
|
3733
3787
|
}
|
|
3734
3788
|
export interface AnalysisPatternTokenizer extends AnalysisTokenizerBase {
|
|
3735
3789
|
type: 'pattern';
|
|
3736
|
-
flags
|
|
3737
|
-
group
|
|
3738
|
-
pattern
|
|
3790
|
+
flags?: string;
|
|
3791
|
+
group?: integer;
|
|
3792
|
+
pattern?: string;
|
|
3739
3793
|
}
|
|
3740
3794
|
export type AnalysisPhoneticEncoder = 'metaphone' | 'double_metaphone' | 'soundex' | 'refined_soundex' | 'caverphone1' | 'caverphone2' | 'cologne' | 'nysiis' | 'koelnerphonetik' | 'haasephonetik' | 'beider_morse' | 'daitch_mokotoff';
|
|
3741
3795
|
export type AnalysisPhoneticLanguage = 'any' | 'common' | 'cyrillic' | 'english' | 'french' | 'german' | 'hebrew' | 'hungarian' | 'polish' | 'romanian' | 'russian' | 'spanish';
|
|
@@ -4057,7 +4111,7 @@ export interface MappingFieldMapping {
|
|
|
4057
4111
|
export interface MappingFieldNamesField {
|
|
4058
4112
|
enabled: boolean;
|
|
4059
4113
|
}
|
|
4060
|
-
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';
|
|
4114
|
+
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';
|
|
4061
4115
|
export interface MappingFlattenedProperty extends MappingPropertyBase {
|
|
4062
4116
|
boost?: double;
|
|
4063
4117
|
depth_limit?: integer;
|
|
@@ -4189,7 +4243,7 @@ export interface MappingPointProperty extends MappingDocValuesPropertyBase {
|
|
|
4189
4243
|
null_value?: string;
|
|
4190
4244
|
type: 'point';
|
|
4191
4245
|
}
|
|
4192
|
-
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;
|
|
4246
|
+
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;
|
|
4193
4247
|
export interface MappingPropertyBase {
|
|
4194
4248
|
meta?: Record<string, string>;
|
|
4195
4249
|
properties?: Record<PropertyName, MappingProperty>;
|
|
@@ -4266,6 +4320,9 @@ export interface MappingSourceField {
|
|
|
4266
4320
|
mode?: MappingSourceFieldMode;
|
|
4267
4321
|
}
|
|
4268
4322
|
export type MappingSourceFieldMode = 'disabled' | 'stored' | 'synthetic';
|
|
4323
|
+
export interface MappingSparseVectorProperty extends MappingPropertyBase {
|
|
4324
|
+
type: 'sparse_vector';
|
|
4325
|
+
}
|
|
4269
4326
|
export interface MappingSuggestContext {
|
|
4270
4327
|
name: Name;
|
|
4271
4328
|
path?: Field;
|
|
@@ -4468,7 +4525,7 @@ export type QueryDslGeoDecayFunction = QueryDslGeoDecayFunctionKeys & {
|
|
|
4468
4525
|
export interface QueryDslGeoDistanceFeatureQuery extends QueryDslDistanceFeatureQueryBase<GeoLocation, Distance> {
|
|
4469
4526
|
}
|
|
4470
4527
|
export interface QueryDslGeoDistanceQueryKeys extends QueryDslQueryBase {
|
|
4471
|
-
distance
|
|
4528
|
+
distance: Distance;
|
|
4472
4529
|
distance_type?: GeoDistanceType;
|
|
4473
4530
|
validation_method?: QueryDslGeoValidationMethod;
|
|
4474
4531
|
}
|
|
@@ -4766,6 +4823,7 @@ export interface QueryDslQueryContainer {
|
|
|
4766
4823
|
range?: Partial<Record<Field, QueryDslRangeQuery>>;
|
|
4767
4824
|
rank_feature?: QueryDslRankFeatureQuery;
|
|
4768
4825
|
regexp?: Partial<Record<Field, QueryDslRegexpQuery | string>>;
|
|
4826
|
+
rule_query?: QueryDslRuleQuery;
|
|
4769
4827
|
script?: QueryDslScriptQuery;
|
|
4770
4828
|
script_score?: QueryDslScriptScoreQuery;
|
|
4771
4829
|
shape?: QueryDslShapeQuery;
|
|
@@ -4851,6 +4909,11 @@ export interface QueryDslRegexpQuery extends QueryDslQueryBase {
|
|
|
4851
4909
|
rewrite?: MultiTermQueryRewrite;
|
|
4852
4910
|
value: string;
|
|
4853
4911
|
}
|
|
4912
|
+
export interface QueryDslRuleQuery extends QueryDslQueryBase {
|
|
4913
|
+
organic: QueryDslQueryContainer;
|
|
4914
|
+
ruleset_id: Id;
|
|
4915
|
+
match_criteria: any;
|
|
4916
|
+
}
|
|
4854
4917
|
export interface QueryDslScriptQuery extends QueryDslQueryBase {
|
|
4855
4918
|
script: Script;
|
|
4856
4919
|
}
|
|
@@ -4873,8 +4936,8 @@ export interface QueryDslShapeQueryKeys extends QueryDslQueryBase {
|
|
|
4873
4936
|
export type QueryDslShapeQuery = QueryDslShapeQueryKeys & {
|
|
4874
4937
|
[property: string]: QueryDslShapeFieldQuery | boolean | float | string;
|
|
4875
4938
|
};
|
|
4876
|
-
export type QueryDslSimpleQueryStringFlag = 'NONE' | 'AND' | '
|
|
4877
|
-
export type QueryDslSimpleQueryStringFlags = QueryDslSimpleQueryStringFlag
|
|
4939
|
+
export type QueryDslSimpleQueryStringFlag = 'NONE' | 'AND' | 'NOT' | 'OR' | 'PREFIX' | 'PHRASE' | 'PRECEDENCE' | 'ESCAPE' | 'WHITESPACE' | 'FUZZY' | 'NEAR' | 'SLOP' | 'ALL';
|
|
4940
|
+
export type QueryDslSimpleQueryStringFlags = SpecUtilsPipeSeparatedFlags<QueryDslSimpleQueryStringFlag>;
|
|
4878
4941
|
export interface QueryDslSimpleQueryStringQuery extends QueryDslQueryBase {
|
|
4879
4942
|
analyzer?: string;
|
|
4880
4943
|
analyze_wildcard?: boolean;
|
|
@@ -5006,6 +5069,8 @@ export interface AsyncSearchAsyncSearchResponseBase {
|
|
|
5006
5069
|
expiration_time_in_millis: EpochTime<UnitMillis>;
|
|
5007
5070
|
start_time?: DateTime;
|
|
5008
5071
|
start_time_in_millis: EpochTime<UnitMillis>;
|
|
5072
|
+
completion_time?: DateTime;
|
|
5073
|
+
completion_time_in_millis?: EpochTime<UnitMillis>;
|
|
5009
5074
|
}
|
|
5010
5075
|
export interface AsyncSearchDeleteRequest extends RequestBase {
|
|
5011
5076
|
id: Id;
|
|
@@ -5024,6 +5089,7 @@ export interface AsyncSearchStatusRequest extends RequestBase {
|
|
|
5024
5089
|
export type AsyncSearchStatusResponse = AsyncSearchStatusStatusResponseBase;
|
|
5025
5090
|
export interface AsyncSearchStatusStatusResponseBase extends AsyncSearchAsyncSearchResponseBase {
|
|
5026
5091
|
_shards: ShardStatistics;
|
|
5092
|
+
_clusters?: ClusterStatistics;
|
|
5027
5093
|
completion_status?: integer;
|
|
5028
5094
|
}
|
|
5029
5095
|
export interface AsyncSearchSubmitRequest extends RequestBase {
|
|
@@ -5061,6 +5127,7 @@ export interface AsyncSearchSubmitRequest extends RequestBase {
|
|
|
5061
5127
|
_source_includes?: Fields;
|
|
5062
5128
|
q?: string;
|
|
5063
5129
|
aggregations?: Record<string, AggregationsAggregationContainer>;
|
|
5130
|
+
/** @alias aggregations */
|
|
5064
5131
|
aggs?: Record<string, AggregationsAggregationContainer>;
|
|
5065
5132
|
collapse?: SearchFieldCollapse;
|
|
5066
5133
|
explain?: boolean;
|
|
@@ -6654,7 +6721,7 @@ export interface CatTasksRequest extends CatCatRequestBase {
|
|
|
6654
6721
|
actions?: string[];
|
|
6655
6722
|
detailed?: boolean;
|
|
6656
6723
|
node_id?: string[];
|
|
6657
|
-
|
|
6724
|
+
parent_task_id?: string;
|
|
6658
6725
|
}
|
|
6659
6726
|
export type CatTasksResponse = CatTasksTasksRecord[];
|
|
6660
6727
|
export interface CatTasksTasksRecord {
|
|
@@ -7053,7 +7120,7 @@ export interface ClusterComponentTemplateSummary {
|
|
|
7053
7120
|
settings?: Record<IndexName, IndicesIndexSettings>;
|
|
7054
7121
|
mappings?: MappingTypeMapping;
|
|
7055
7122
|
aliases?: Record<string, IndicesAliasDefinition>;
|
|
7056
|
-
lifecycle?:
|
|
7123
|
+
lifecycle?: IndicesDataStreamLifecycleWithRollover;
|
|
7057
7124
|
}
|
|
7058
7125
|
export interface ClusterAllocationExplainAllocationDecision {
|
|
7059
7126
|
decider: string;
|
|
@@ -7177,9 +7244,9 @@ export type ClusterExistsComponentTemplateResponse = boolean;
|
|
|
7177
7244
|
export interface ClusterGetComponentTemplateRequest extends RequestBase {
|
|
7178
7245
|
name?: Name;
|
|
7179
7246
|
flat_settings?: boolean;
|
|
7247
|
+
include_defaults?: boolean;
|
|
7180
7248
|
local?: boolean;
|
|
7181
7249
|
master_timeout?: Duration;
|
|
7182
|
-
include_defaults?: boolean;
|
|
7183
7250
|
}
|
|
7184
7251
|
export interface ClusterGetComponentTemplateResponse {
|
|
7185
7252
|
component_templates: ClusterComponentTemplate[];
|
|
@@ -7283,10 +7350,10 @@ export interface ClusterPutComponentTemplateRequest extends RequestBase {
|
|
|
7283
7350
|
name: Name;
|
|
7284
7351
|
create?: boolean;
|
|
7285
7352
|
master_timeout?: Duration;
|
|
7353
|
+
allow_auto_create?: boolean;
|
|
7286
7354
|
template: IndicesIndexState;
|
|
7287
7355
|
version?: VersionNumber;
|
|
7288
7356
|
_meta?: Metadata;
|
|
7289
|
-
allow_auto_create?: boolean;
|
|
7290
7357
|
}
|
|
7291
7358
|
export type ClusterPutComponentTemplateResponse = AcknowledgedResponseBase;
|
|
7292
7359
|
export interface ClusterPutSettingsRequest extends RequestBase {
|
|
@@ -7400,14 +7467,14 @@ export interface ClusterStateRequest extends RequestBase {
|
|
|
7400
7467
|
}
|
|
7401
7468
|
export type ClusterStateResponse = any;
|
|
7402
7469
|
export interface ClusterStatsCharFilterTypes {
|
|
7403
|
-
char_filter_types: ClusterStatsFieldTypes[];
|
|
7404
|
-
tokenizer_types: ClusterStatsFieldTypes[];
|
|
7405
|
-
filter_types: ClusterStatsFieldTypes[];
|
|
7406
7470
|
analyzer_types: ClusterStatsFieldTypes[];
|
|
7471
|
+
built_in_analyzers: ClusterStatsFieldTypes[];
|
|
7407
7472
|
built_in_char_filters: ClusterStatsFieldTypes[];
|
|
7408
|
-
built_in_tokenizers: ClusterStatsFieldTypes[];
|
|
7409
7473
|
built_in_filters: ClusterStatsFieldTypes[];
|
|
7410
|
-
|
|
7474
|
+
built_in_tokenizers: ClusterStatsFieldTypes[];
|
|
7475
|
+
char_filter_types: ClusterStatsFieldTypes[];
|
|
7476
|
+
filter_types: ClusterStatsFieldTypes[];
|
|
7477
|
+
tokenizer_types: ClusterStatsFieldTypes[];
|
|
7411
7478
|
}
|
|
7412
7479
|
export interface ClusterStatsClusterFileSystem {
|
|
7413
7480
|
available_in_bytes: long;
|
|
@@ -7415,6 +7482,7 @@ export interface ClusterStatsClusterFileSystem {
|
|
|
7415
7482
|
total_in_bytes: long;
|
|
7416
7483
|
}
|
|
7417
7484
|
export interface ClusterStatsClusterIndices {
|
|
7485
|
+
analysis: ClusterStatsCharFilterTypes;
|
|
7418
7486
|
completion: CompletionStats;
|
|
7419
7487
|
count: long;
|
|
7420
7488
|
docs: DocStats;
|
|
@@ -7424,7 +7492,6 @@ export interface ClusterStatsClusterIndices {
|
|
|
7424
7492
|
shards: ClusterStatsClusterIndicesShards;
|
|
7425
7493
|
store: StoreStats;
|
|
7426
7494
|
mappings: ClusterStatsFieldTypesMappings;
|
|
7427
|
-
analysis: ClusterStatsCharFilterTypes;
|
|
7428
7495
|
versions?: ClusterStatsIndicesVersions[];
|
|
7429
7496
|
}
|
|
7430
7497
|
export interface ClusterStatsClusterIndicesShards {
|
|
@@ -7468,23 +7535,24 @@ export interface ClusterStatsClusterNetworkTypes {
|
|
|
7468
7535
|
export interface ClusterStatsClusterNodeCount {
|
|
7469
7536
|
coordinating_only: integer;
|
|
7470
7537
|
data: integer;
|
|
7471
|
-
ingest: integer;
|
|
7472
|
-
master: integer;
|
|
7473
|
-
total: integer;
|
|
7474
|
-
voting_only: integer;
|
|
7475
7538
|
data_cold: integer;
|
|
7476
|
-
data_frozen?: integer;
|
|
7477
7539
|
data_content: integer;
|
|
7478
|
-
|
|
7540
|
+
data_frozen?: integer;
|
|
7479
7541
|
data_hot: integer;
|
|
7542
|
+
data_warm: integer;
|
|
7543
|
+
ingest: integer;
|
|
7544
|
+
master: integer;
|
|
7480
7545
|
ml: integer;
|
|
7481
7546
|
remote_cluster_client: integer;
|
|
7547
|
+
total: integer;
|
|
7482
7548
|
transform: integer;
|
|
7549
|
+
voting_only: integer;
|
|
7483
7550
|
}
|
|
7484
7551
|
export interface ClusterStatsClusterNodes {
|
|
7485
7552
|
count: ClusterStatsClusterNodeCount;
|
|
7486
7553
|
discovery_types: Record<string, integer>;
|
|
7487
7554
|
fs: ClusterStatsClusterFileSystem;
|
|
7555
|
+
indexing_pressure: ClusterStatsIndexingPressure;
|
|
7488
7556
|
ingest: ClusterStatsClusterIngest;
|
|
7489
7557
|
jvm: ClusterStatsClusterJvm;
|
|
7490
7558
|
network_types: ClusterStatsClusterNetworkTypes;
|
|
@@ -7493,19 +7561,18 @@ export interface ClusterStatsClusterNodes {
|
|
|
7493
7561
|
plugins: PluginStats[];
|
|
7494
7562
|
process: ClusterStatsClusterProcess;
|
|
7495
7563
|
versions: VersionString[];
|
|
7496
|
-
indexing_pressure: ClusterStatsIndexingPressure;
|
|
7497
7564
|
}
|
|
7498
7565
|
export interface ClusterStatsClusterOperatingSystem {
|
|
7499
7566
|
allocated_processors: integer;
|
|
7567
|
+
architectures?: ClusterStatsClusterOperatingSystemArchitecture[];
|
|
7500
7568
|
available_processors: integer;
|
|
7501
7569
|
mem: ClusterStatsOperatingSystemMemoryInfo;
|
|
7502
7570
|
names: ClusterStatsClusterOperatingSystemName[];
|
|
7503
7571
|
pretty_names: ClusterStatsClusterOperatingSystemPrettyName[];
|
|
7504
|
-
architectures?: ClusterStatsClusterOperatingSystemArchitecture[];
|
|
7505
7572
|
}
|
|
7506
7573
|
export interface ClusterStatsClusterOperatingSystemArchitecture {
|
|
7507
|
-
count: integer;
|
|
7508
7574
|
arch: string;
|
|
7575
|
+
count: integer;
|
|
7509
7576
|
}
|
|
7510
7577
|
export interface ClusterStatsClusterOperatingSystemName {
|
|
7511
7578
|
count: integer;
|
|
@@ -7560,8 +7627,8 @@ export interface ClusterStatsIndexingPressure {
|
|
|
7560
7627
|
memory: ClusterStatsIndexingPressureMemory;
|
|
7561
7628
|
}
|
|
7562
7629
|
export interface ClusterStatsIndexingPressureMemory {
|
|
7563
|
-
limit_in_bytes: long;
|
|
7564
7630
|
current: ClusterStatsIndexingPressureMemorySummary;
|
|
7631
|
+
limit_in_bytes: long;
|
|
7565
7632
|
total: ClusterStatsIndexingPressureMemorySummary;
|
|
7566
7633
|
}
|
|
7567
7634
|
export interface ClusterStatsIndexingPressureMemorySummary {
|
|
@@ -7586,12 +7653,12 @@ export interface ClusterStatsNodePackagingType {
|
|
|
7586
7653
|
type: string;
|
|
7587
7654
|
}
|
|
7588
7655
|
export interface ClusterStatsOperatingSystemMemoryInfo {
|
|
7656
|
+
adjusted_total_in_bytes?: long;
|
|
7589
7657
|
free_in_bytes: long;
|
|
7590
7658
|
free_percent: integer;
|
|
7591
7659
|
total_in_bytes: long;
|
|
7592
7660
|
used_in_bytes: long;
|
|
7593
7661
|
used_percent: integer;
|
|
7594
|
-
adjusted_total_in_bytes?: long;
|
|
7595
7662
|
}
|
|
7596
7663
|
export interface ClusterStatsRequest extends RequestBase {
|
|
7597
7664
|
node_id?: NodeIds;
|
|
@@ -7600,20 +7667,20 @@ export interface ClusterStatsRequest extends RequestBase {
|
|
|
7600
7667
|
}
|
|
7601
7668
|
export type ClusterStatsResponse = ClusterStatsStatsResponseBase;
|
|
7602
7669
|
export interface ClusterStatsRuntimeFieldTypes {
|
|
7603
|
-
|
|
7670
|
+
chars_max: integer;
|
|
7671
|
+
chars_total: integer;
|
|
7604
7672
|
count: integer;
|
|
7673
|
+
doc_max: integer;
|
|
7674
|
+
doc_total: integer;
|
|
7605
7675
|
index_count: integer;
|
|
7606
|
-
scriptless_count: integer;
|
|
7607
|
-
shadowed_count: integer;
|
|
7608
7676
|
lang: string[];
|
|
7609
7677
|
lines_max: integer;
|
|
7610
7678
|
lines_total: integer;
|
|
7611
|
-
|
|
7612
|
-
|
|
7679
|
+
name: Name;
|
|
7680
|
+
scriptless_count: integer;
|
|
7681
|
+
shadowed_count: integer;
|
|
7613
7682
|
source_max: integer;
|
|
7614
7683
|
source_total: integer;
|
|
7615
|
-
doc_max: integer;
|
|
7616
|
-
doc_total: integer;
|
|
7617
7684
|
}
|
|
7618
7685
|
export interface ClusterStatsStatsResponseBase extends NodesNodesResponseBase {
|
|
7619
7686
|
cluster_name: Name;
|
|
@@ -7859,6 +7926,7 @@ export interface FleetSearchRequest extends RequestBase {
|
|
|
7859
7926
|
wait_for_checkpoints?: FleetCheckpoint[];
|
|
7860
7927
|
allow_partial_search_results?: boolean;
|
|
7861
7928
|
aggregations?: Record<string, AggregationsAggregationContainer>;
|
|
7929
|
+
/** @alias aggregations */
|
|
7862
7930
|
aggs?: Record<string, AggregationsAggregationContainer>;
|
|
7863
7931
|
collapse?: SearchFieldCollapse;
|
|
7864
7932
|
explain?: boolean;
|
|
@@ -8129,39 +8197,33 @@ export interface IndicesAliasDefinition {
|
|
|
8129
8197
|
export interface IndicesCacheQueries {
|
|
8130
8198
|
enabled: boolean;
|
|
8131
8199
|
}
|
|
8132
|
-
export interface IndicesDataLifecycle {
|
|
8133
|
-
data_retention?: Duration;
|
|
8134
|
-
}
|
|
8135
|
-
export interface IndicesDataLifecycleWithRollover {
|
|
8136
|
-
data_retention?: Duration;
|
|
8137
|
-
rollover?: IndicesDlmRolloverConditions;
|
|
8138
|
-
}
|
|
8139
8200
|
export interface IndicesDataStream {
|
|
8140
|
-
|
|
8141
|
-
|
|
8142
|
-
indices: IndicesDataStreamIndex[];
|
|
8201
|
+
_meta?: Metadata;
|
|
8202
|
+
allow_custom_routing?: boolean;
|
|
8143
8203
|
generation: integer;
|
|
8144
|
-
template: Name;
|
|
8145
8204
|
hidden: boolean;
|
|
8205
|
+
ilm_policy?: Name;
|
|
8206
|
+
indices: IndicesDataStreamIndex[];
|
|
8207
|
+
lifecycle?: IndicesDataStreamLifecycleWithRollover;
|
|
8208
|
+
name: DataStreamName;
|
|
8146
8209
|
replicated?: boolean;
|
|
8147
|
-
system?: boolean;
|
|
8148
8210
|
status: HealthStatus;
|
|
8149
|
-
|
|
8150
|
-
|
|
8151
|
-
|
|
8152
|
-
lifecycle?: IndicesDataLifecycleWithRollover;
|
|
8211
|
+
system?: boolean;
|
|
8212
|
+
template: Name;
|
|
8213
|
+
timestamp_field: IndicesDataStreamTimestampField;
|
|
8153
8214
|
}
|
|
8154
8215
|
export interface IndicesDataStreamIndex {
|
|
8155
8216
|
index_name: IndexName;
|
|
8156
8217
|
index_uuid: Uuid;
|
|
8157
8218
|
}
|
|
8158
|
-
export interface
|
|
8159
|
-
|
|
8219
|
+
export interface IndicesDataStreamLifecycle {
|
|
8220
|
+
data_retention?: Duration;
|
|
8221
|
+
downsampling?: IndicesDataStreamLifecycleDownsampling;
|
|
8160
8222
|
}
|
|
8161
|
-
export interface
|
|
8162
|
-
|
|
8223
|
+
export interface IndicesDataStreamLifecycleDownsampling {
|
|
8224
|
+
rounds: IndicesDownsamplingRound[];
|
|
8163
8225
|
}
|
|
8164
|
-
export interface
|
|
8226
|
+
export interface IndicesDataStreamLifecycleRolloverConditions {
|
|
8165
8227
|
min_age?: Duration;
|
|
8166
8228
|
max_age?: string;
|
|
8167
8229
|
min_docs?: long;
|
|
@@ -8173,9 +8235,24 @@ export interface IndicesDlmRolloverConditions {
|
|
|
8173
8235
|
min_primary_shard_docs?: long;
|
|
8174
8236
|
max_primary_shard_docs?: long;
|
|
8175
8237
|
}
|
|
8238
|
+
export interface IndicesDataStreamLifecycleWithRollover {
|
|
8239
|
+
data_retention?: Duration;
|
|
8240
|
+
downsampling?: IndicesDataStreamLifecycleDownsampling;
|
|
8241
|
+
rollover?: IndicesDataStreamLifecycleRolloverConditions;
|
|
8242
|
+
}
|
|
8243
|
+
export interface IndicesDataStreamTimestampField {
|
|
8244
|
+
name: Field;
|
|
8245
|
+
}
|
|
8246
|
+
export interface IndicesDataStreamVisibility {
|
|
8247
|
+
hidden?: boolean;
|
|
8248
|
+
}
|
|
8176
8249
|
export interface IndicesDownsampleConfig {
|
|
8177
8250
|
fixed_interval: DurationLarge;
|
|
8178
8251
|
}
|
|
8252
|
+
export interface IndicesDownsamplingRound {
|
|
8253
|
+
after: Duration;
|
|
8254
|
+
config: IndicesDownsampleConfig;
|
|
8255
|
+
}
|
|
8179
8256
|
export interface IndicesFielddataFrequencyFilter {
|
|
8180
8257
|
max: double;
|
|
8181
8258
|
min: double;
|
|
@@ -8310,7 +8387,7 @@ export interface IndicesIndexState {
|
|
|
8310
8387
|
settings?: IndicesIndexSettings;
|
|
8311
8388
|
defaults?: IndicesIndexSettings;
|
|
8312
8389
|
data_stream?: DataStreamName;
|
|
8313
|
-
lifecycle?:
|
|
8390
|
+
lifecycle?: IndicesDataStreamLifecycle;
|
|
8314
8391
|
}
|
|
8315
8392
|
export interface IndicesIndexTemplate {
|
|
8316
8393
|
index_patterns: Names;
|
|
@@ -8330,7 +8407,7 @@ export interface IndicesIndexTemplateSummary {
|
|
|
8330
8407
|
aliases?: Record<IndexName, IndicesAlias>;
|
|
8331
8408
|
mappings?: MappingTypeMapping;
|
|
8332
8409
|
settings?: IndicesIndexSettings;
|
|
8333
|
-
lifecycle?:
|
|
8410
|
+
lifecycle?: IndicesDataStreamLifecycleWithRollover;
|
|
8334
8411
|
}
|
|
8335
8412
|
export interface IndicesIndexVersioning {
|
|
8336
8413
|
created?: VersionString;
|
|
@@ -8646,9 +8723,9 @@ export type IndicesCreateDataStreamResponse = AcknowledgedResponseBase;
|
|
|
8646
8723
|
export interface IndicesDataStreamsStatsDataStreamsStatsItem {
|
|
8647
8724
|
backing_indices: integer;
|
|
8648
8725
|
data_stream: Name;
|
|
8726
|
+
maximum_timestamp: EpochTime<UnitMillis>;
|
|
8649
8727
|
store_size?: ByteSize;
|
|
8650
8728
|
store_size_bytes: integer;
|
|
8651
|
-
maximum_timestamp: EpochTime<UnitMillis>;
|
|
8652
8729
|
}
|
|
8653
8730
|
export interface IndicesDataStreamsStatsRequest extends RequestBase {
|
|
8654
8731
|
name?: IndexName;
|
|
@@ -8658,9 +8735,9 @@ export interface IndicesDataStreamsStatsResponse {
|
|
|
8658
8735
|
_shards: ShardStatistics;
|
|
8659
8736
|
backing_indices: integer;
|
|
8660
8737
|
data_stream_count: integer;
|
|
8738
|
+
data_streams: IndicesDataStreamsStatsDataStreamsStatsItem[];
|
|
8661
8739
|
total_store_sizes?: ByteSize;
|
|
8662
8740
|
total_store_size_bytes: integer;
|
|
8663
|
-
data_streams: IndicesDataStreamsStatsDataStreamsStatsItem[];
|
|
8664
8741
|
}
|
|
8665
8742
|
export interface IndicesDeleteRequest extends RequestBase {
|
|
8666
8743
|
index: Indices;
|
|
@@ -8748,14 +8825,14 @@ export interface IndicesExistsTemplateRequest extends RequestBase {
|
|
|
8748
8825
|
master_timeout?: Duration;
|
|
8749
8826
|
}
|
|
8750
8827
|
export type IndicesExistsTemplateResponse = boolean;
|
|
8751
|
-
export interface
|
|
8828
|
+
export interface IndicesExplainDataLifecycleDataStreamLifecycleExplain {
|
|
8752
8829
|
index: IndexName;
|
|
8753
|
-
|
|
8830
|
+
managed_by_lifecycle: boolean;
|
|
8754
8831
|
index_creation_date_millis?: EpochTime<UnitMillis>;
|
|
8755
8832
|
time_since_index_creation?: Duration;
|
|
8756
8833
|
rollover_date_millis?: EpochTime<UnitMillis>;
|
|
8757
8834
|
time_since_rollover?: Duration;
|
|
8758
|
-
lifecycle?:
|
|
8835
|
+
lifecycle?: IndicesDataStreamLifecycleWithRollover;
|
|
8759
8836
|
generation_time?: Duration;
|
|
8760
8837
|
error?: string;
|
|
8761
8838
|
}
|
|
@@ -8765,7 +8842,7 @@ export interface IndicesExplainDataLifecycleRequest extends RequestBase {
|
|
|
8765
8842
|
master_timeout?: Duration;
|
|
8766
8843
|
}
|
|
8767
8844
|
export interface IndicesExplainDataLifecycleResponse {
|
|
8768
|
-
indices: Record<IndexName,
|
|
8845
|
+
indices: Record<IndexName, IndicesExplainDataLifecycleDataStreamLifecycleExplain>;
|
|
8769
8846
|
}
|
|
8770
8847
|
export interface IndicesFieldUsageStatsFieldSummary {
|
|
8771
8848
|
any: uint;
|
|
@@ -8865,9 +8942,9 @@ export interface IndicesGetAliasRequest extends RequestBase {
|
|
|
8865
8942
|
local?: boolean;
|
|
8866
8943
|
}
|
|
8867
8944
|
export type IndicesGetAliasResponse = Record<IndexName, IndicesGetAliasIndexAliases>;
|
|
8868
|
-
export interface
|
|
8945
|
+
export interface IndicesGetDataLifecycleDataStreamWithLifecycle {
|
|
8869
8946
|
name: DataStreamName;
|
|
8870
|
-
lifecycle?:
|
|
8947
|
+
lifecycle?: IndicesDataStreamLifecycle;
|
|
8871
8948
|
}
|
|
8872
8949
|
export interface IndicesGetDataLifecycleRequest extends RequestBase {
|
|
8873
8950
|
name: DataStreamNames;
|
|
@@ -8875,7 +8952,7 @@ export interface IndicesGetDataLifecycleRequest extends RequestBase {
|
|
|
8875
8952
|
include_defaults?: boolean;
|
|
8876
8953
|
}
|
|
8877
8954
|
export interface IndicesGetDataLifecycleResponse {
|
|
8878
|
-
data_streams:
|
|
8955
|
+
data_streams: IndicesGetDataLifecycleDataStreamWithLifecycle[];
|
|
8879
8956
|
}
|
|
8880
8957
|
export interface IndicesGetDataStreamRequest extends RequestBase {
|
|
8881
8958
|
name?: DataStreamNames;
|
|
@@ -8953,8 +9030,8 @@ export interface IndicesModifyDataStreamAction {
|
|
|
8953
9030
|
remove_backing_index?: IndicesModifyDataStreamIndexAndDataStreamAction;
|
|
8954
9031
|
}
|
|
8955
9032
|
export interface IndicesModifyDataStreamIndexAndDataStreamAction {
|
|
8956
|
-
index: IndexName;
|
|
8957
9033
|
data_stream: DataStreamName;
|
|
9034
|
+
index: IndexName;
|
|
8958
9035
|
}
|
|
8959
9036
|
export interface IndicesModifyDataStreamRequest extends RequestBase {
|
|
8960
9037
|
actions: IndicesModifyDataStreamAction[];
|
|
@@ -8995,13 +9072,14 @@ export interface IndicesPutDataLifecycleRequest extends RequestBase {
|
|
|
8995
9072
|
master_timeout?: Duration;
|
|
8996
9073
|
timeout?: Duration;
|
|
8997
9074
|
data_retention?: Duration;
|
|
9075
|
+
downsampling?: IndicesDataStreamLifecycleDownsampling;
|
|
8998
9076
|
}
|
|
8999
9077
|
export type IndicesPutDataLifecycleResponse = AcknowledgedResponseBase;
|
|
9000
9078
|
export interface IndicesPutIndexTemplateIndexTemplateMapping {
|
|
9001
9079
|
aliases?: Record<IndexName, IndicesAlias>;
|
|
9002
9080
|
mappings?: MappingTypeMapping;
|
|
9003
9081
|
settings?: IndicesIndexSettings;
|
|
9004
|
-
lifecycle?:
|
|
9082
|
+
lifecycle?: IndicesDataStreamLifecycle;
|
|
9005
9083
|
}
|
|
9006
9084
|
export interface IndicesPutIndexTemplateRequest extends RequestBase {
|
|
9007
9085
|
name: Name;
|
|
@@ -9169,16 +9247,17 @@ export interface IndicesReloadSearchAnalyzersReloadDetails {
|
|
|
9169
9247
|
reloaded_analyzers: string[];
|
|
9170
9248
|
reloaded_node_ids: string[];
|
|
9171
9249
|
}
|
|
9250
|
+
export interface IndicesReloadSearchAnalyzersReloadResult {
|
|
9251
|
+
reload_details: IndicesReloadSearchAnalyzersReloadDetails[];
|
|
9252
|
+
_shards: ShardStatistics;
|
|
9253
|
+
}
|
|
9172
9254
|
export interface IndicesReloadSearchAnalyzersRequest extends RequestBase {
|
|
9173
9255
|
index: Indices;
|
|
9174
9256
|
allow_no_indices?: boolean;
|
|
9175
9257
|
expand_wildcards?: ExpandWildcards;
|
|
9176
9258
|
ignore_unavailable?: boolean;
|
|
9177
9259
|
}
|
|
9178
|
-
export
|
|
9179
|
-
reload_details: IndicesReloadSearchAnalyzersReloadDetails[];
|
|
9180
|
-
_shards: ShardStatistics;
|
|
9181
|
-
}
|
|
9260
|
+
export type IndicesReloadSearchAnalyzersResponse = IndicesReloadSearchAnalyzersReloadResult;
|
|
9182
9261
|
export interface IndicesResolveIndexRequest extends RequestBase {
|
|
9183
9262
|
name: Names;
|
|
9184
9263
|
expand_wildcards?: ExpandWildcards;
|
|
@@ -10622,6 +10701,7 @@ export interface MlDiscoveryNode {
|
|
|
10622
10701
|
}
|
|
10623
10702
|
export type MlExcludeFrequent = 'all' | 'none' | 'by' | 'over';
|
|
10624
10703
|
export interface MlFillMaskInferenceOptions {
|
|
10704
|
+
mask_token?: string;
|
|
10625
10705
|
num_top_classes?: integer;
|
|
10626
10706
|
tokenization?: MlTokenizationConfigContainer;
|
|
10627
10707
|
results_field?: string;
|
|
@@ -11793,6 +11873,7 @@ export interface MlPutDatafeedRequest extends RequestBase {
|
|
|
11793
11873
|
delayed_data_check_config?: MlDelayedDataCheckConfig;
|
|
11794
11874
|
frequency?: Duration;
|
|
11795
11875
|
indices?: Indices;
|
|
11876
|
+
/** @alias indices */
|
|
11796
11877
|
indexes?: Indices;
|
|
11797
11878
|
indices_options?: IndicesOptions;
|
|
11798
11879
|
job_id?: Id;
|
|
@@ -11916,6 +11997,7 @@ export interface MlPutTrainedModelRequest extends RequestBase {
|
|
|
11916
11997
|
metadata?: any;
|
|
11917
11998
|
model_type?: MlTrainedModelType;
|
|
11918
11999
|
model_size_bytes?: long;
|
|
12000
|
+
platform_architecture?: string;
|
|
11919
12001
|
tags?: string[];
|
|
11920
12002
|
}
|
|
11921
12003
|
export type MlPutTrainedModelResponse = MlTrainedModelConfig;
|
|
@@ -11968,6 +12050,7 @@ export interface MlPutTrainedModelVocabularyRequest extends RequestBase {
|
|
|
11968
12050
|
model_id: Id;
|
|
11969
12051
|
vocabulary: string[];
|
|
11970
12052
|
merges?: string[];
|
|
12053
|
+
scores?: double[];
|
|
11971
12054
|
}
|
|
11972
12055
|
export type MlPutTrainedModelVocabularyResponse = AcknowledgedResponseBase;
|
|
11973
12056
|
export interface MlResetJobRequest extends RequestBase {
|
|
@@ -12010,6 +12093,7 @@ export interface MlStartDatafeedResponse {
|
|
|
12010
12093
|
export interface MlStartTrainedModelDeploymentRequest extends RequestBase {
|
|
12011
12094
|
model_id: Id;
|
|
12012
12095
|
cache_size?: ByteSize;
|
|
12096
|
+
deployment_id?: string;
|
|
12013
12097
|
number_of_allocations?: integer;
|
|
12014
12098
|
priority?: MlTrainingPriority;
|
|
12015
12099
|
queue_capacity?: integer;
|
|
@@ -12078,6 +12162,7 @@ export interface MlUpdateDatafeedRequest extends RequestBase {
|
|
|
12078
12162
|
delayed_data_check_config?: MlDelayedDataCheckConfig;
|
|
12079
12163
|
frequency?: Duration;
|
|
12080
12164
|
indices?: string[];
|
|
12165
|
+
/** @alias indices */
|
|
12081
12166
|
indexes?: string[];
|
|
12082
12167
|
indices_options?: IndicesOptions;
|
|
12083
12168
|
job_id?: Id;
|
|
@@ -12989,6 +13074,54 @@ export interface NodesUsageResponseBase extends NodesNodesResponseBase {
|
|
|
12989
13074
|
cluster_name: Name;
|
|
12990
13075
|
nodes: Record<string, NodesUsageNodeUsage>;
|
|
12991
13076
|
}
|
|
13077
|
+
export interface QueryRulesetQueryRule {
|
|
13078
|
+
rule_id: Id;
|
|
13079
|
+
type: QueryRulesetQueryRuleType;
|
|
13080
|
+
criteria: QueryRulesetQueryRuleCriteria[];
|
|
13081
|
+
actions: QueryRulesetQueryRuleActions;
|
|
13082
|
+
}
|
|
13083
|
+
export interface QueryRulesetQueryRuleActions {
|
|
13084
|
+
ids?: Id[];
|
|
13085
|
+
docs?: QueryDslPinnedDoc[];
|
|
13086
|
+
}
|
|
13087
|
+
export interface QueryRulesetQueryRuleCriteria {
|
|
13088
|
+
type: QueryRulesetQueryRuleCriteriaType;
|
|
13089
|
+
metadata: string;
|
|
13090
|
+
values?: any[];
|
|
13091
|
+
}
|
|
13092
|
+
export type QueryRulesetQueryRuleCriteriaType = 'global' | 'exact' | 'exact_fuzzy' | 'prefix' | 'suffix' | 'contains' | 'lt' | 'lte' | 'gt' | 'gte';
|
|
13093
|
+
export type QueryRulesetQueryRuleType = 'pinned';
|
|
13094
|
+
export interface QueryRulesetQueryRuleset {
|
|
13095
|
+
ruleset_id: Id;
|
|
13096
|
+
rules: QueryRulesetQueryRule[];
|
|
13097
|
+
}
|
|
13098
|
+
export interface QueryRulesetDeleteRequest extends RequestBase {
|
|
13099
|
+
ruleset_id: Id;
|
|
13100
|
+
}
|
|
13101
|
+
export type QueryRulesetDeleteResponse = AcknowledgedResponseBase;
|
|
13102
|
+
export interface QueryRulesetGetRequest extends RequestBase {
|
|
13103
|
+
ruleset_id: Id;
|
|
13104
|
+
}
|
|
13105
|
+
export type QueryRulesetGetResponse = QueryRulesetQueryRuleset;
|
|
13106
|
+
export interface QueryRulesetListQueryRulesetListItem {
|
|
13107
|
+
ruleset_id: Id;
|
|
13108
|
+
rules_count: integer;
|
|
13109
|
+
}
|
|
13110
|
+
export interface QueryRulesetListRequest extends RequestBase {
|
|
13111
|
+
from?: integer;
|
|
13112
|
+
size?: integer;
|
|
13113
|
+
}
|
|
13114
|
+
export interface QueryRulesetListResponse {
|
|
13115
|
+
count: long;
|
|
13116
|
+
results: QueryRulesetListQueryRulesetListItem[];
|
|
13117
|
+
}
|
|
13118
|
+
export interface QueryRulesetPutRequest extends RequestBase {
|
|
13119
|
+
ruleset_id: Id;
|
|
13120
|
+
rules: QueryRulesetQueryRule[];
|
|
13121
|
+
}
|
|
13122
|
+
export interface QueryRulesetPutResponse {
|
|
13123
|
+
result: Result;
|
|
13124
|
+
}
|
|
12992
13125
|
export interface RollupDateHistogramGrouping {
|
|
12993
13126
|
delay?: Duration;
|
|
12994
13127
|
field: Field;
|
|
@@ -13116,6 +13249,7 @@ export interface RollupRollupSearchRequest extends RequestBase {
|
|
|
13116
13249
|
rest_total_hits_as_int?: boolean;
|
|
13117
13250
|
typed_keys?: boolean;
|
|
13118
13251
|
aggregations?: Record<string, AggregationsAggregationContainer>;
|
|
13252
|
+
/** @alias aggregations */
|
|
13119
13253
|
aggs?: Record<string, AggregationsAggregationContainer>;
|
|
13120
13254
|
query?: QueryDslQueryContainer;
|
|
13121
13255
|
size?: integer;
|
|
@@ -13353,7 +13487,7 @@ export interface SecurityRoleMapping {
|
|
|
13353
13487
|
metadata: Metadata;
|
|
13354
13488
|
roles: string[];
|
|
13355
13489
|
rules: SecurityRoleMappingRule;
|
|
13356
|
-
role_templates?:
|
|
13490
|
+
role_templates?: SecurityRoleTemplate[];
|
|
13357
13491
|
}
|
|
13358
13492
|
export interface SecurityRoleMappingRule {
|
|
13359
13493
|
any?: SecurityRoleMappingRule[];
|
|
@@ -13361,6 +13495,10 @@ export interface SecurityRoleMappingRule {
|
|
|
13361
13495
|
field?: SecurityFieldRule;
|
|
13362
13496
|
except?: SecurityRoleMappingRule;
|
|
13363
13497
|
}
|
|
13498
|
+
export interface SecurityRoleTemplate {
|
|
13499
|
+
format?: SecurityTemplateFormat;
|
|
13500
|
+
template: Script;
|
|
13501
|
+
}
|
|
13364
13502
|
export type SecurityRoleTemplateInlineQuery = string | QueryDslQueryContainer;
|
|
13365
13503
|
export interface SecurityRoleTemplateInlineScript extends ScriptBase {
|
|
13366
13504
|
lang?: ScriptLanguage;
|
|
@@ -13371,6 +13509,7 @@ export interface SecurityRoleTemplateQuery {
|
|
|
13371
13509
|
template?: SecurityRoleTemplateScript;
|
|
13372
13510
|
}
|
|
13373
13511
|
export type SecurityRoleTemplateScript = SecurityRoleTemplateInlineScript | SecurityRoleTemplateInlineQuery | StoredScriptId;
|
|
13512
|
+
export type SecurityTemplateFormat = 'string' | 'json';
|
|
13374
13513
|
export interface SecurityTransientMetadataConfig {
|
|
13375
13514
|
enabled: boolean;
|
|
13376
13515
|
}
|
|
@@ -13633,14 +13772,9 @@ export interface SecurityGetRoleRole {
|
|
|
13633
13772
|
run_as: string[];
|
|
13634
13773
|
transient_metadata: SecurityTransientMetadataConfig;
|
|
13635
13774
|
applications: SecurityApplicationPrivileges[];
|
|
13636
|
-
role_templates?:
|
|
13775
|
+
role_templates?: SecurityRoleTemplate[];
|
|
13637
13776
|
global?: Record<string, Record<string, Record<string, string[]>>>;
|
|
13638
13777
|
}
|
|
13639
|
-
export interface SecurityGetRoleRoleTemplate {
|
|
13640
|
-
format?: SecurityGetRoleTemplateFormat;
|
|
13641
|
-
template: Script;
|
|
13642
|
-
}
|
|
13643
|
-
export type SecurityGetRoleTemplateFormat = 'string' | 'json';
|
|
13644
13778
|
export interface SecurityGetRoleMappingRequest extends RequestBase {
|
|
13645
13779
|
name?: Names;
|
|
13646
13780
|
}
|
|
@@ -13853,6 +13987,7 @@ export interface SecurityPutRoleMappingRequest extends RequestBase {
|
|
|
13853
13987
|
enabled?: boolean;
|
|
13854
13988
|
metadata?: Metadata;
|
|
13855
13989
|
roles?: string[];
|
|
13990
|
+
role_templates?: SecurityRoleTemplate[];
|
|
13856
13991
|
rules?: SecurityRoleMappingRule;
|
|
13857
13992
|
run_as?: string[];
|
|
13858
13993
|
}
|
|
@@ -14468,6 +14603,68 @@ export interface SslCertificatesCertificateInformation {
|
|
|
14468
14603
|
export interface SslCertificatesRequest extends RequestBase {
|
|
14469
14604
|
}
|
|
14470
14605
|
export type SslCertificatesResponse = SslCertificatesCertificateInformation[];
|
|
14606
|
+
export interface SynonymsSynonymRule {
|
|
14607
|
+
id?: Id;
|
|
14608
|
+
synonyms: SynonymsSynonymString;
|
|
14609
|
+
}
|
|
14610
|
+
export interface SynonymsSynonymRuleRead {
|
|
14611
|
+
id: Id;
|
|
14612
|
+
synonyms: SynonymsSynonymString;
|
|
14613
|
+
}
|
|
14614
|
+
export type SynonymsSynonymString = string;
|
|
14615
|
+
export interface SynonymsSynonymsUpdateResult {
|
|
14616
|
+
result: Result;
|
|
14617
|
+
reload_analyzers_details: IndicesReloadSearchAnalyzersReloadResult;
|
|
14618
|
+
}
|
|
14619
|
+
export interface SynonymsDeleteSynonymRequest extends RequestBase {
|
|
14620
|
+
id: Id;
|
|
14621
|
+
}
|
|
14622
|
+
export type SynonymsDeleteSynonymResponse = AcknowledgedResponseBase;
|
|
14623
|
+
export interface SynonymsDeleteSynonymRuleRequest extends RequestBase {
|
|
14624
|
+
set_id: Id;
|
|
14625
|
+
rule_id: Id;
|
|
14626
|
+
}
|
|
14627
|
+
export type SynonymsDeleteSynonymRuleResponse = SynonymsSynonymsUpdateResult;
|
|
14628
|
+
export interface SynonymsGetSynonymRequest extends RequestBase {
|
|
14629
|
+
id: Id;
|
|
14630
|
+
from?: integer;
|
|
14631
|
+
size?: integer;
|
|
14632
|
+
}
|
|
14633
|
+
export interface SynonymsGetSynonymResponse {
|
|
14634
|
+
count: integer;
|
|
14635
|
+
synonyms_set: SynonymsSynonymRuleRead[];
|
|
14636
|
+
}
|
|
14637
|
+
export interface SynonymsGetSynonymRuleRequest extends RequestBase {
|
|
14638
|
+
set_id: Id;
|
|
14639
|
+
rule_id: Id;
|
|
14640
|
+
}
|
|
14641
|
+
export type SynonymsGetSynonymRuleResponse = SynonymsSynonymRuleRead;
|
|
14642
|
+
export interface SynonymsGetSynonymsSetsRequest extends RequestBase {
|
|
14643
|
+
from?: integer;
|
|
14644
|
+
size?: integer;
|
|
14645
|
+
}
|
|
14646
|
+
export interface SynonymsGetSynonymsSetsResponse {
|
|
14647
|
+
count: integer;
|
|
14648
|
+
results: SynonymsGetSynonymsSetsSynonymsSetItem[];
|
|
14649
|
+
}
|
|
14650
|
+
export interface SynonymsGetSynonymsSetsSynonymsSetItem {
|
|
14651
|
+
synonyms_set: Id;
|
|
14652
|
+
count: integer;
|
|
14653
|
+
}
|
|
14654
|
+
export interface SynonymsPutSynonymRequest extends RequestBase {
|
|
14655
|
+
id: Id;
|
|
14656
|
+
synonyms_set: SynonymsSynonymRule[];
|
|
14657
|
+
}
|
|
14658
|
+
export interface SynonymsPutSynonymResponse {
|
|
14659
|
+
result: Result;
|
|
14660
|
+
reload_analyzers_details: IndicesReloadSearchAnalyzersReloadDetails;
|
|
14661
|
+
}
|
|
14662
|
+
export interface SynonymsPutSynonymRuleRequest extends RequestBase {
|
|
14663
|
+
set_id: Id;
|
|
14664
|
+
rule_id: Id;
|
|
14665
|
+
synonyms: SynonymsSynonymString[];
|
|
14666
|
+
}
|
|
14667
|
+
export type SynonymsPutSynonymRuleResponse = SynonymsSynonymsUpdateResult;
|
|
14471
14668
|
export type TasksGroupBy = 'nodes' | 'parents' | 'none';
|
|
14472
14669
|
export interface TasksNodeTasks {
|
|
14473
14670
|
name?: NodeId;
|
|
@@ -14492,7 +14689,7 @@ export interface TasksTaskInfo {
|
|
|
14492
14689
|
running_time?: Duration;
|
|
14493
14690
|
running_time_in_nanos: DurationValue<UnitNanos>;
|
|
14494
14691
|
start_time_in_millis: EpochTime<UnitMillis>;
|
|
14495
|
-
status?:
|
|
14692
|
+
status?: any;
|
|
14496
14693
|
type: string;
|
|
14497
14694
|
parent_task_id?: TaskId;
|
|
14498
14695
|
}
|
|
@@ -14503,25 +14700,6 @@ export interface TasksTaskListResponseBase {
|
|
|
14503
14700
|
nodes?: Record<string, TasksNodeTasks>;
|
|
14504
14701
|
tasks?: TasksTaskInfos;
|
|
14505
14702
|
}
|
|
14506
|
-
export interface TasksTaskStatus {
|
|
14507
|
-
batches: long;
|
|
14508
|
-
canceled?: string;
|
|
14509
|
-
created: long;
|
|
14510
|
-
deleted: long;
|
|
14511
|
-
noops: long;
|
|
14512
|
-
failures?: string[];
|
|
14513
|
-
requests_per_second: float;
|
|
14514
|
-
retries: Retries;
|
|
14515
|
-
throttled?: Duration;
|
|
14516
|
-
throttled_millis: DurationValue<UnitMillis>;
|
|
14517
|
-
throttled_until?: Duration;
|
|
14518
|
-
throttled_until_millis: DurationValue<UnitMillis>;
|
|
14519
|
-
timed_out?: boolean;
|
|
14520
|
-
took?: DurationValue<UnitMillis>;
|
|
14521
|
-
total: long;
|
|
14522
|
-
updated: long;
|
|
14523
|
-
version_conflicts: long;
|
|
14524
|
-
}
|
|
14525
14703
|
export interface TasksCancelRequest extends RequestBase {
|
|
14526
14704
|
task_id?: TaskId;
|
|
14527
14705
|
actions?: string | string[];
|
|
@@ -14538,7 +14716,7 @@ export interface TasksGetRequest extends RequestBase {
|
|
|
14538
14716
|
export interface TasksGetResponse {
|
|
14539
14717
|
completed: boolean;
|
|
14540
14718
|
task: TasksTaskInfo;
|
|
14541
|
-
response?:
|
|
14719
|
+
response?: any;
|
|
14542
14720
|
error?: ErrorCause;
|
|
14543
14721
|
}
|
|
14544
14722
|
export interface TasksListRequest extends RequestBase {
|
|
@@ -14657,6 +14835,7 @@ export interface TransformTimeSync {
|
|
|
14657
14835
|
export interface TransformDeleteTransformRequest extends RequestBase {
|
|
14658
14836
|
transform_id: Id;
|
|
14659
14837
|
force?: boolean;
|
|
14838
|
+
delete_dest_index?: boolean;
|
|
14660
14839
|
timeout?: Duration;
|
|
14661
14840
|
}
|
|
14662
14841
|
export type TransformDeleteTransformResponse = AcknowledgedResponseBase;
|