@elastic/elasticsearch 8.9.1 → 8.10.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/.tool-versions +1 -0
- 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 +58 -58
- 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/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/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 +235 -78
- package/lib/api/typesWithBodyKey.d.ts +244 -78
- package/package.json +3 -7
|
@@ -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
|
}
|
|
@@ -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,23 @@ 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
|
+
details?: Record<ClusterAlias, ClusterDetails>;
|
|
1776
1802
|
}
|
|
1777
1803
|
export interface CompletionStats {
|
|
1778
1804
|
size_in_bytes: long;
|
|
@@ -2564,11 +2590,19 @@ export interface AggregationsCompositeAggregation extends AggregationsBucketAggr
|
|
|
2564
2590
|
size?: integer;
|
|
2565
2591
|
sources?: Record<string, AggregationsCompositeAggregationSource>[];
|
|
2566
2592
|
}
|
|
2593
|
+
export interface AggregationsCompositeAggregationBase {
|
|
2594
|
+
field?: Field;
|
|
2595
|
+
missing_bucket?: boolean;
|
|
2596
|
+
missing_order?: AggregationsMissingOrder;
|
|
2597
|
+
script?: Script;
|
|
2598
|
+
value_type?: AggregationsValueType;
|
|
2599
|
+
order?: SortOrder;
|
|
2600
|
+
}
|
|
2567
2601
|
export interface AggregationsCompositeAggregationSource {
|
|
2568
|
-
terms?:
|
|
2569
|
-
histogram?:
|
|
2570
|
-
date_histogram?:
|
|
2571
|
-
geotile_grid?:
|
|
2602
|
+
terms?: AggregationsCompositeTermsAggregation;
|
|
2603
|
+
histogram?: AggregationsCompositeHistogramAggregation;
|
|
2604
|
+
date_histogram?: AggregationsCompositeDateHistogramAggregation;
|
|
2605
|
+
geotile_grid?: AggregationsCompositeGeoTileGridAggregation;
|
|
2572
2606
|
}
|
|
2573
2607
|
export interface AggregationsCompositeBucketKeys extends AggregationsMultiBucketBase {
|
|
2574
2608
|
key: AggregationsCompositeAggregateKey;
|
|
@@ -2576,6 +2610,22 @@ export interface AggregationsCompositeBucketKeys extends AggregationsMultiBucket
|
|
|
2576
2610
|
export type AggregationsCompositeBucket = AggregationsCompositeBucketKeys & {
|
|
2577
2611
|
[property: string]: AggregationsAggregate | AggregationsCompositeAggregateKey | long;
|
|
2578
2612
|
};
|
|
2613
|
+
export interface AggregationsCompositeDateHistogramAggregation extends AggregationsCompositeAggregationBase {
|
|
2614
|
+
format?: string;
|
|
2615
|
+
calendar_interval?: DurationLarge;
|
|
2616
|
+
fixed_interval?: DurationLarge;
|
|
2617
|
+
offset?: Duration;
|
|
2618
|
+
time_zone?: TimeZone;
|
|
2619
|
+
}
|
|
2620
|
+
export interface AggregationsCompositeGeoTileGridAggregation extends AggregationsCompositeAggregationBase {
|
|
2621
|
+
precision?: integer;
|
|
2622
|
+
bounds?: GeoBounds;
|
|
2623
|
+
}
|
|
2624
|
+
export interface AggregationsCompositeHistogramAggregation extends AggregationsCompositeAggregationBase {
|
|
2625
|
+
interval: double;
|
|
2626
|
+
}
|
|
2627
|
+
export interface AggregationsCompositeTermsAggregation extends AggregationsCompositeAggregationBase {
|
|
2628
|
+
}
|
|
2579
2629
|
export interface AggregationsCumulativeCardinalityAggregate extends AggregationsAggregateBase {
|
|
2580
2630
|
value: long;
|
|
2581
2631
|
value_as_string?: string;
|
|
@@ -3554,7 +3604,7 @@ export interface AnalysisElisionTokenFilter extends AnalysisTokenFilterBase {
|
|
|
3554
3604
|
type: 'elision';
|
|
3555
3605
|
articles?: string[];
|
|
3556
3606
|
articles_path?: string;
|
|
3557
|
-
articles_case?: boolean
|
|
3607
|
+
articles_case?: SpecUtilsStringified<boolean>;
|
|
3558
3608
|
}
|
|
3559
3609
|
export interface AnalysisFingerprintAnalyzer {
|
|
3560
3610
|
type: 'fingerprint';
|
|
@@ -3772,11 +3822,11 @@ export interface AnalysisNoriTokenizer extends AnalysisTokenizerBase {
|
|
|
3772
3822
|
export type AnalysisNormalizer = AnalysisLowercaseNormalizer | AnalysisCustomNormalizer;
|
|
3773
3823
|
export interface AnalysisPathHierarchyTokenizer extends AnalysisTokenizerBase {
|
|
3774
3824
|
type: 'path_hierarchy';
|
|
3775
|
-
buffer_size: integer
|
|
3825
|
+
buffer_size: SpecUtilsStringified<integer>;
|
|
3776
3826
|
delimiter: string;
|
|
3777
3827
|
replacement: string;
|
|
3778
|
-
reverse: boolean
|
|
3779
|
-
skip: integer
|
|
3828
|
+
reverse: SpecUtilsStringified<boolean>;
|
|
3829
|
+
skip: SpecUtilsStringified<integer>;
|
|
3780
3830
|
}
|
|
3781
3831
|
export interface AnalysisPatternAnalyzer {
|
|
3782
3832
|
type: 'pattern';
|
|
@@ -3806,9 +3856,9 @@ export interface AnalysisPatternReplaceTokenFilter extends AnalysisTokenFilterBa
|
|
|
3806
3856
|
}
|
|
3807
3857
|
export interface AnalysisPatternTokenizer extends AnalysisTokenizerBase {
|
|
3808
3858
|
type: 'pattern';
|
|
3809
|
-
flags
|
|
3810
|
-
group
|
|
3811
|
-
pattern
|
|
3859
|
+
flags?: string;
|
|
3860
|
+
group?: integer;
|
|
3861
|
+
pattern?: string;
|
|
3812
3862
|
}
|
|
3813
3863
|
export type AnalysisPhoneticEncoder = 'metaphone' | 'double_metaphone' | 'soundex' | 'refined_soundex' | 'caverphone1' | 'caverphone2' | 'cologne' | 'nysiis' | 'koelnerphonetik' | 'haasephonetik' | 'beider_morse' | 'daitch_mokotoff';
|
|
3814
3864
|
export type AnalysisPhoneticLanguage = 'any' | 'common' | 'cyrillic' | 'english' | 'french' | 'german' | 'hebrew' | 'hungarian' | 'polish' | 'romanian' | 'russian' | 'spanish';
|
|
@@ -4541,7 +4591,7 @@ export type QueryDslGeoDecayFunction = QueryDslGeoDecayFunctionKeys & {
|
|
|
4541
4591
|
export interface QueryDslGeoDistanceFeatureQuery extends QueryDslDistanceFeatureQueryBase<GeoLocation, Distance> {
|
|
4542
4592
|
}
|
|
4543
4593
|
export interface QueryDslGeoDistanceQueryKeys extends QueryDslQueryBase {
|
|
4544
|
-
distance
|
|
4594
|
+
distance: Distance;
|
|
4545
4595
|
distance_type?: GeoDistanceType;
|
|
4546
4596
|
validation_method?: QueryDslGeoValidationMethod;
|
|
4547
4597
|
}
|
|
@@ -4839,6 +4889,7 @@ export interface QueryDslQueryContainer {
|
|
|
4839
4889
|
range?: Partial<Record<Field, QueryDslRangeQuery>>;
|
|
4840
4890
|
rank_feature?: QueryDslRankFeatureQuery;
|
|
4841
4891
|
regexp?: Partial<Record<Field, QueryDslRegexpQuery | string>>;
|
|
4892
|
+
rule_query?: QueryDslRuleQuery;
|
|
4842
4893
|
script?: QueryDslScriptQuery;
|
|
4843
4894
|
script_score?: QueryDslScriptScoreQuery;
|
|
4844
4895
|
shape?: QueryDslShapeQuery;
|
|
@@ -4924,6 +4975,11 @@ export interface QueryDslRegexpQuery extends QueryDslQueryBase {
|
|
|
4924
4975
|
rewrite?: MultiTermQueryRewrite;
|
|
4925
4976
|
value: string;
|
|
4926
4977
|
}
|
|
4978
|
+
export interface QueryDslRuleQuery extends QueryDslQueryBase {
|
|
4979
|
+
organic: QueryDslQueryContainer;
|
|
4980
|
+
ruleset_id: Id;
|
|
4981
|
+
match_criteria: any;
|
|
4982
|
+
}
|
|
4927
4983
|
export interface QueryDslScriptQuery extends QueryDslQueryBase {
|
|
4928
4984
|
script: Script;
|
|
4929
4985
|
}
|
|
@@ -4946,8 +5002,8 @@ export interface QueryDslShapeQueryKeys extends QueryDslQueryBase {
|
|
|
4946
5002
|
export type QueryDslShapeQuery = QueryDslShapeQueryKeys & {
|
|
4947
5003
|
[property: string]: QueryDslShapeFieldQuery | boolean | float | string;
|
|
4948
5004
|
};
|
|
4949
|
-
export type QueryDslSimpleQueryStringFlag = 'NONE' | 'AND' | '
|
|
4950
|
-
export type QueryDslSimpleQueryStringFlags = QueryDslSimpleQueryStringFlag
|
|
5005
|
+
export type QueryDslSimpleQueryStringFlag = 'NONE' | 'AND' | 'NOT' | 'OR' | 'PREFIX' | 'PHRASE' | 'PRECEDENCE' | 'ESCAPE' | 'WHITESPACE' | 'FUZZY' | 'NEAR' | 'SLOP' | 'ALL';
|
|
5006
|
+
export type QueryDslSimpleQueryStringFlags = SpecUtilsPipeSeparatedFlags<QueryDslSimpleQueryStringFlag>;
|
|
4951
5007
|
export interface QueryDslSimpleQueryStringQuery extends QueryDslQueryBase {
|
|
4952
5008
|
analyzer?: string;
|
|
4953
5009
|
analyze_wildcard?: boolean;
|
|
@@ -5079,6 +5135,8 @@ export interface AsyncSearchAsyncSearchResponseBase {
|
|
|
5079
5135
|
expiration_time_in_millis: EpochTime<UnitMillis>;
|
|
5080
5136
|
start_time?: DateTime;
|
|
5081
5137
|
start_time_in_millis: EpochTime<UnitMillis>;
|
|
5138
|
+
completion_time?: DateTime;
|
|
5139
|
+
completion_time_in_millis?: EpochTime<UnitMillis>;
|
|
5082
5140
|
}
|
|
5083
5141
|
export interface AsyncSearchDeleteRequest extends RequestBase {
|
|
5084
5142
|
id: Id;
|
|
@@ -5097,6 +5155,7 @@ export interface AsyncSearchStatusRequest extends RequestBase {
|
|
|
5097
5155
|
export type AsyncSearchStatusResponse = AsyncSearchStatusStatusResponseBase;
|
|
5098
5156
|
export interface AsyncSearchStatusStatusResponseBase extends AsyncSearchAsyncSearchResponseBase {
|
|
5099
5157
|
_shards: ShardStatistics;
|
|
5158
|
+
_clusters?: ClusterStatistics;
|
|
5100
5159
|
completion_status?: integer;
|
|
5101
5160
|
}
|
|
5102
5161
|
export interface AsyncSearchSubmitRequest extends RequestBase {
|
|
@@ -5136,6 +5195,7 @@ export interface AsyncSearchSubmitRequest extends RequestBase {
|
|
|
5136
5195
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
5137
5196
|
body?: {
|
|
5138
5197
|
aggregations?: Record<string, AggregationsAggregationContainer>;
|
|
5198
|
+
/** @alias aggregations */
|
|
5139
5199
|
aggs?: Record<string, AggregationsAggregationContainer>;
|
|
5140
5200
|
collapse?: SearchFieldCollapse;
|
|
5141
5201
|
explain?: boolean;
|
|
@@ -6731,7 +6791,7 @@ export interface CatTasksRequest extends CatCatRequestBase {
|
|
|
6731
6791
|
actions?: string[];
|
|
6732
6792
|
detailed?: boolean;
|
|
6733
6793
|
node_id?: string[];
|
|
6734
|
-
|
|
6794
|
+
parent_task_id?: string;
|
|
6735
6795
|
}
|
|
6736
6796
|
export type CatTasksResponse = CatTasksTasksRecord[];
|
|
6737
6797
|
export interface CatTasksTasksRecord {
|
|
@@ -7269,9 +7329,9 @@ export type ClusterExistsComponentTemplateResponse = boolean;
|
|
|
7269
7329
|
export interface ClusterGetComponentTemplateRequest extends RequestBase {
|
|
7270
7330
|
name?: Name;
|
|
7271
7331
|
flat_settings?: boolean;
|
|
7332
|
+
include_defaults?: boolean;
|
|
7272
7333
|
local?: boolean;
|
|
7273
7334
|
master_timeout?: Duration;
|
|
7274
|
-
include_defaults?: boolean;
|
|
7275
7335
|
}
|
|
7276
7336
|
export interface ClusterGetComponentTemplateResponse {
|
|
7277
7337
|
component_templates: ClusterComponentTemplate[];
|
|
@@ -7377,10 +7437,10 @@ export interface ClusterPutComponentTemplateRequest extends RequestBase {
|
|
|
7377
7437
|
master_timeout?: Duration;
|
|
7378
7438
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
7379
7439
|
body?: {
|
|
7440
|
+
allow_auto_create?: boolean;
|
|
7380
7441
|
template: IndicesIndexState;
|
|
7381
7442
|
version?: VersionNumber;
|
|
7382
7443
|
_meta?: Metadata;
|
|
7383
|
-
allow_auto_create?: boolean;
|
|
7384
7444
|
};
|
|
7385
7445
|
}
|
|
7386
7446
|
export type ClusterPutComponentTemplateResponse = AcknowledgedResponseBase;
|
|
@@ -7501,14 +7561,14 @@ export interface ClusterStateRequest extends RequestBase {
|
|
|
7501
7561
|
}
|
|
7502
7562
|
export type ClusterStateResponse = any;
|
|
7503
7563
|
export interface ClusterStatsCharFilterTypes {
|
|
7504
|
-
char_filter_types: ClusterStatsFieldTypes[];
|
|
7505
|
-
tokenizer_types: ClusterStatsFieldTypes[];
|
|
7506
|
-
filter_types: ClusterStatsFieldTypes[];
|
|
7507
7564
|
analyzer_types: ClusterStatsFieldTypes[];
|
|
7565
|
+
built_in_analyzers: ClusterStatsFieldTypes[];
|
|
7508
7566
|
built_in_char_filters: ClusterStatsFieldTypes[];
|
|
7509
|
-
built_in_tokenizers: ClusterStatsFieldTypes[];
|
|
7510
7567
|
built_in_filters: ClusterStatsFieldTypes[];
|
|
7511
|
-
|
|
7568
|
+
built_in_tokenizers: ClusterStatsFieldTypes[];
|
|
7569
|
+
char_filter_types: ClusterStatsFieldTypes[];
|
|
7570
|
+
filter_types: ClusterStatsFieldTypes[];
|
|
7571
|
+
tokenizer_types: ClusterStatsFieldTypes[];
|
|
7512
7572
|
}
|
|
7513
7573
|
export interface ClusterStatsClusterFileSystem {
|
|
7514
7574
|
available_in_bytes: long;
|
|
@@ -7516,6 +7576,7 @@ export interface ClusterStatsClusterFileSystem {
|
|
|
7516
7576
|
total_in_bytes: long;
|
|
7517
7577
|
}
|
|
7518
7578
|
export interface ClusterStatsClusterIndices {
|
|
7579
|
+
analysis: ClusterStatsCharFilterTypes;
|
|
7519
7580
|
completion: CompletionStats;
|
|
7520
7581
|
count: long;
|
|
7521
7582
|
docs: DocStats;
|
|
@@ -7525,7 +7586,6 @@ export interface ClusterStatsClusterIndices {
|
|
|
7525
7586
|
shards: ClusterStatsClusterIndicesShards;
|
|
7526
7587
|
store: StoreStats;
|
|
7527
7588
|
mappings: ClusterStatsFieldTypesMappings;
|
|
7528
|
-
analysis: ClusterStatsCharFilterTypes;
|
|
7529
7589
|
versions?: ClusterStatsIndicesVersions[];
|
|
7530
7590
|
}
|
|
7531
7591
|
export interface ClusterStatsClusterIndicesShards {
|
|
@@ -7569,23 +7629,24 @@ export interface ClusterStatsClusterNetworkTypes {
|
|
|
7569
7629
|
export interface ClusterStatsClusterNodeCount {
|
|
7570
7630
|
coordinating_only: integer;
|
|
7571
7631
|
data: integer;
|
|
7572
|
-
ingest: integer;
|
|
7573
|
-
master: integer;
|
|
7574
|
-
total: integer;
|
|
7575
|
-
voting_only: integer;
|
|
7576
7632
|
data_cold: integer;
|
|
7577
|
-
data_frozen?: integer;
|
|
7578
7633
|
data_content: integer;
|
|
7579
|
-
|
|
7634
|
+
data_frozen?: integer;
|
|
7580
7635
|
data_hot: integer;
|
|
7636
|
+
data_warm: integer;
|
|
7637
|
+
ingest: integer;
|
|
7638
|
+
master: integer;
|
|
7581
7639
|
ml: integer;
|
|
7582
7640
|
remote_cluster_client: integer;
|
|
7641
|
+
total: integer;
|
|
7583
7642
|
transform: integer;
|
|
7643
|
+
voting_only: integer;
|
|
7584
7644
|
}
|
|
7585
7645
|
export interface ClusterStatsClusterNodes {
|
|
7586
7646
|
count: ClusterStatsClusterNodeCount;
|
|
7587
7647
|
discovery_types: Record<string, integer>;
|
|
7588
7648
|
fs: ClusterStatsClusterFileSystem;
|
|
7649
|
+
indexing_pressure: ClusterStatsIndexingPressure;
|
|
7589
7650
|
ingest: ClusterStatsClusterIngest;
|
|
7590
7651
|
jvm: ClusterStatsClusterJvm;
|
|
7591
7652
|
network_types: ClusterStatsClusterNetworkTypes;
|
|
@@ -7594,19 +7655,18 @@ export interface ClusterStatsClusterNodes {
|
|
|
7594
7655
|
plugins: PluginStats[];
|
|
7595
7656
|
process: ClusterStatsClusterProcess;
|
|
7596
7657
|
versions: VersionString[];
|
|
7597
|
-
indexing_pressure: ClusterStatsIndexingPressure;
|
|
7598
7658
|
}
|
|
7599
7659
|
export interface ClusterStatsClusterOperatingSystem {
|
|
7600
7660
|
allocated_processors: integer;
|
|
7661
|
+
architectures?: ClusterStatsClusterOperatingSystemArchitecture[];
|
|
7601
7662
|
available_processors: integer;
|
|
7602
7663
|
mem: ClusterStatsOperatingSystemMemoryInfo;
|
|
7603
7664
|
names: ClusterStatsClusterOperatingSystemName[];
|
|
7604
7665
|
pretty_names: ClusterStatsClusterOperatingSystemPrettyName[];
|
|
7605
|
-
architectures?: ClusterStatsClusterOperatingSystemArchitecture[];
|
|
7606
7666
|
}
|
|
7607
7667
|
export interface ClusterStatsClusterOperatingSystemArchitecture {
|
|
7608
|
-
count: integer;
|
|
7609
7668
|
arch: string;
|
|
7669
|
+
count: integer;
|
|
7610
7670
|
}
|
|
7611
7671
|
export interface ClusterStatsClusterOperatingSystemName {
|
|
7612
7672
|
count: integer;
|
|
@@ -7661,8 +7721,8 @@ export interface ClusterStatsIndexingPressure {
|
|
|
7661
7721
|
memory: ClusterStatsIndexingPressureMemory;
|
|
7662
7722
|
}
|
|
7663
7723
|
export interface ClusterStatsIndexingPressureMemory {
|
|
7664
|
-
limit_in_bytes: long;
|
|
7665
7724
|
current: ClusterStatsIndexingPressureMemorySummary;
|
|
7725
|
+
limit_in_bytes: long;
|
|
7666
7726
|
total: ClusterStatsIndexingPressureMemorySummary;
|
|
7667
7727
|
}
|
|
7668
7728
|
export interface ClusterStatsIndexingPressureMemorySummary {
|
|
@@ -7687,12 +7747,12 @@ export interface ClusterStatsNodePackagingType {
|
|
|
7687
7747
|
type: string;
|
|
7688
7748
|
}
|
|
7689
7749
|
export interface ClusterStatsOperatingSystemMemoryInfo {
|
|
7750
|
+
adjusted_total_in_bytes?: long;
|
|
7690
7751
|
free_in_bytes: long;
|
|
7691
7752
|
free_percent: integer;
|
|
7692
7753
|
total_in_bytes: long;
|
|
7693
7754
|
used_in_bytes: long;
|
|
7694
7755
|
used_percent: integer;
|
|
7695
|
-
adjusted_total_in_bytes?: long;
|
|
7696
7756
|
}
|
|
7697
7757
|
export interface ClusterStatsRequest extends RequestBase {
|
|
7698
7758
|
node_id?: NodeIds;
|
|
@@ -7701,20 +7761,20 @@ export interface ClusterStatsRequest extends RequestBase {
|
|
|
7701
7761
|
}
|
|
7702
7762
|
export type ClusterStatsResponse = ClusterStatsStatsResponseBase;
|
|
7703
7763
|
export interface ClusterStatsRuntimeFieldTypes {
|
|
7704
|
-
|
|
7764
|
+
chars_max: integer;
|
|
7765
|
+
chars_total: integer;
|
|
7705
7766
|
count: integer;
|
|
7767
|
+
doc_max: integer;
|
|
7768
|
+
doc_total: integer;
|
|
7706
7769
|
index_count: integer;
|
|
7707
|
-
scriptless_count: integer;
|
|
7708
|
-
shadowed_count: integer;
|
|
7709
7770
|
lang: string[];
|
|
7710
7771
|
lines_max: integer;
|
|
7711
7772
|
lines_total: integer;
|
|
7712
|
-
|
|
7713
|
-
|
|
7773
|
+
name: Name;
|
|
7774
|
+
scriptless_count: integer;
|
|
7775
|
+
shadowed_count: integer;
|
|
7714
7776
|
source_max: integer;
|
|
7715
7777
|
source_total: integer;
|
|
7716
|
-
doc_max: integer;
|
|
7717
|
-
doc_total: integer;
|
|
7718
7778
|
}
|
|
7719
7779
|
export interface ClusterStatsStatsResponseBase extends NodesNodesResponseBase {
|
|
7720
7780
|
cluster_name: Name;
|
|
@@ -7969,6 +8029,7 @@ export interface FleetSearchRequest extends RequestBase {
|
|
|
7969
8029
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
7970
8030
|
body?: {
|
|
7971
8031
|
aggregations?: Record<string, AggregationsAggregationContainer>;
|
|
8032
|
+
/** @alias aggregations */
|
|
7972
8033
|
aggs?: Record<string, AggregationsAggregationContainer>;
|
|
7973
8034
|
collapse?: SearchFieldCollapse;
|
|
7974
8035
|
explain?: boolean;
|
|
@@ -8260,19 +8321,19 @@ export interface IndicesDataLifecycleWithRollover {
|
|
|
8260
8321
|
rollover?: IndicesDlmRolloverConditions;
|
|
8261
8322
|
}
|
|
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;
|
|
8269
|
-
replicated?: boolean;
|
|
8270
|
-
system?: boolean;
|
|
8271
|
-
status: HealthStatus;
|
|
8272
8328
|
ilm_policy?: Name;
|
|
8273
|
-
|
|
8274
|
-
allow_custom_routing?: boolean;
|
|
8329
|
+
indices: IndicesDataStreamIndex[];
|
|
8275
8330
|
lifecycle?: IndicesDataLifecycleWithRollover;
|
|
8331
|
+
name: DataStreamName;
|
|
8332
|
+
replicated?: boolean;
|
|
8333
|
+
status: HealthStatus;
|
|
8334
|
+
system?: boolean;
|
|
8335
|
+
template: Name;
|
|
8336
|
+
timestamp_field: IndicesDataStreamTimestampField;
|
|
8276
8337
|
}
|
|
8277
8338
|
export interface IndicesDataStreamIndex {
|
|
8278
8339
|
index_name: IndexName;
|
|
@@ -8778,9 +8839,9 @@ export type IndicesCreateDataStreamResponse = AcknowledgedResponseBase;
|
|
|
8778
8839
|
export interface IndicesDataStreamsStatsDataStreamsStatsItem {
|
|
8779
8840
|
backing_indices: integer;
|
|
8780
8841
|
data_stream: Name;
|
|
8842
|
+
maximum_timestamp: EpochTime<UnitMillis>;
|
|
8781
8843
|
store_size?: ByteSize;
|
|
8782
8844
|
store_size_bytes: integer;
|
|
8783
|
-
maximum_timestamp: EpochTime<UnitMillis>;
|
|
8784
8845
|
}
|
|
8785
8846
|
export interface IndicesDataStreamsStatsRequest extends RequestBase {
|
|
8786
8847
|
name?: IndexName;
|
|
@@ -8790,9 +8851,9 @@ export interface IndicesDataStreamsStatsResponse {
|
|
|
8790
8851
|
_shards: ShardStatistics;
|
|
8791
8852
|
backing_indices: integer;
|
|
8792
8853
|
data_stream_count: integer;
|
|
8854
|
+
data_streams: IndicesDataStreamsStatsDataStreamsStatsItem[];
|
|
8793
8855
|
total_store_sizes?: ByteSize;
|
|
8794
8856
|
total_store_size_bytes: integer;
|
|
8795
|
-
data_streams: IndicesDataStreamsStatsDataStreamsStatsItem[];
|
|
8796
8857
|
}
|
|
8797
8858
|
export interface IndicesDeleteRequest extends RequestBase {
|
|
8798
8859
|
index: Indices;
|
|
@@ -9086,8 +9147,8 @@ export interface IndicesModifyDataStreamAction {
|
|
|
9086
9147
|
remove_backing_index?: IndicesModifyDataStreamIndexAndDataStreamAction;
|
|
9087
9148
|
}
|
|
9088
9149
|
export interface IndicesModifyDataStreamIndexAndDataStreamAction {
|
|
9089
|
-
index: IndexName;
|
|
9090
9150
|
data_stream: DataStreamName;
|
|
9151
|
+
index: IndexName;
|
|
9091
9152
|
}
|
|
9092
9153
|
export interface IndicesModifyDataStreamRequest extends RequestBase {
|
|
9093
9154
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
@@ -9321,16 +9382,17 @@ export interface IndicesReloadSearchAnalyzersReloadDetails {
|
|
|
9321
9382
|
reloaded_analyzers: string[];
|
|
9322
9383
|
reloaded_node_ids: string[];
|
|
9323
9384
|
}
|
|
9385
|
+
export interface IndicesReloadSearchAnalyzersReloadResult {
|
|
9386
|
+
reload_details: IndicesReloadSearchAnalyzersReloadDetails[];
|
|
9387
|
+
_shards: ShardStatistics;
|
|
9388
|
+
}
|
|
9324
9389
|
export interface IndicesReloadSearchAnalyzersRequest extends RequestBase {
|
|
9325
9390
|
index: Indices;
|
|
9326
9391
|
allow_no_indices?: boolean;
|
|
9327
9392
|
expand_wildcards?: ExpandWildcards;
|
|
9328
9393
|
ignore_unavailable?: boolean;
|
|
9329
9394
|
}
|
|
9330
|
-
export
|
|
9331
|
-
reload_details: IndicesReloadSearchAnalyzersReloadDetails[];
|
|
9332
|
-
_shards: ShardStatistics;
|
|
9333
|
-
}
|
|
9395
|
+
export type IndicesReloadSearchAnalyzersResponse = IndicesReloadSearchAnalyzersReloadResult;
|
|
9334
9396
|
export interface IndicesResolveIndexRequest extends RequestBase {
|
|
9335
9397
|
name: Names;
|
|
9336
9398
|
expand_wildcards?: ExpandWildcards;
|
|
@@ -10803,6 +10865,7 @@ export interface MlDiscoveryNode {
|
|
|
10803
10865
|
}
|
|
10804
10866
|
export type MlExcludeFrequent = 'all' | 'none' | 'by' | 'over';
|
|
10805
10867
|
export interface MlFillMaskInferenceOptions {
|
|
10868
|
+
mask_token?: string;
|
|
10806
10869
|
num_top_classes?: integer;
|
|
10807
10870
|
tokenization?: MlTokenizationConfigContainer;
|
|
10808
10871
|
results_field?: string;
|
|
@@ -12040,6 +12103,7 @@ export interface MlPutDatafeedRequest extends RequestBase {
|
|
|
12040
12103
|
delayed_data_check_config?: MlDelayedDataCheckConfig;
|
|
12041
12104
|
frequency?: Duration;
|
|
12042
12105
|
indices?: Indices;
|
|
12106
|
+
/** @alias indices */
|
|
12043
12107
|
indexes?: Indices;
|
|
12044
12108
|
indices_options?: IndicesOptions;
|
|
12045
12109
|
job_id?: Id;
|
|
@@ -12355,6 +12419,7 @@ export interface MlUpdateDatafeedRequest extends RequestBase {
|
|
|
12355
12419
|
delayed_data_check_config?: MlDelayedDataCheckConfig;
|
|
12356
12420
|
frequency?: Duration;
|
|
12357
12421
|
indices?: string[];
|
|
12422
|
+
/** @alias indices */
|
|
12358
12423
|
indexes?: string[];
|
|
12359
12424
|
indices_options?: IndicesOptions;
|
|
12360
12425
|
job_id?: Id;
|
|
@@ -13284,6 +13349,57 @@ export interface NodesUsageResponseBase extends NodesNodesResponseBase {
|
|
|
13284
13349
|
cluster_name: Name;
|
|
13285
13350
|
nodes: Record<string, NodesUsageNodeUsage>;
|
|
13286
13351
|
}
|
|
13352
|
+
export interface QueryRulesetQueryRule {
|
|
13353
|
+
rule_id: Id;
|
|
13354
|
+
type: QueryRulesetQueryRuleType;
|
|
13355
|
+
criteria: QueryRulesetQueryRuleCriteria[];
|
|
13356
|
+
actions: QueryRulesetQueryRuleActions;
|
|
13357
|
+
}
|
|
13358
|
+
export interface QueryRulesetQueryRuleActions {
|
|
13359
|
+
ids?: Id[];
|
|
13360
|
+
docs?: QueryDslPinnedDoc[];
|
|
13361
|
+
}
|
|
13362
|
+
export interface QueryRulesetQueryRuleCriteria {
|
|
13363
|
+
type: QueryRulesetQueryRuleCriteriaType;
|
|
13364
|
+
metadata: string;
|
|
13365
|
+
values?: any[];
|
|
13366
|
+
}
|
|
13367
|
+
export type QueryRulesetQueryRuleCriteriaType = 'global' | 'exact' | 'exact_fuzzy' | 'prefix' | 'suffix' | 'contains' | 'lt' | 'lte' | 'gt' | 'gte';
|
|
13368
|
+
export type QueryRulesetQueryRuleType = 'pinned';
|
|
13369
|
+
export interface QueryRulesetQueryRuleset {
|
|
13370
|
+
ruleset_id: Id;
|
|
13371
|
+
rules: QueryRulesetQueryRule[];
|
|
13372
|
+
}
|
|
13373
|
+
export interface QueryRulesetDeleteRequest extends RequestBase {
|
|
13374
|
+
ruleset_id: Id;
|
|
13375
|
+
}
|
|
13376
|
+
export type QueryRulesetDeleteResponse = AcknowledgedResponseBase;
|
|
13377
|
+
export interface QueryRulesetGetRequest extends RequestBase {
|
|
13378
|
+
ruleset_id: Id;
|
|
13379
|
+
}
|
|
13380
|
+
export type QueryRulesetGetResponse = QueryRulesetQueryRuleset;
|
|
13381
|
+
export interface QueryRulesetListQueryRulesetListItem {
|
|
13382
|
+
ruleset_id: Id;
|
|
13383
|
+
rules_count: integer;
|
|
13384
|
+
}
|
|
13385
|
+
export interface QueryRulesetListRequest extends RequestBase {
|
|
13386
|
+
from?: integer;
|
|
13387
|
+
size?: integer;
|
|
13388
|
+
}
|
|
13389
|
+
export interface QueryRulesetListResponse {
|
|
13390
|
+
count: long;
|
|
13391
|
+
results: QueryRulesetListQueryRulesetListItem[];
|
|
13392
|
+
}
|
|
13393
|
+
export interface QueryRulesetPutRequest extends RequestBase {
|
|
13394
|
+
ruleset_id: Id;
|
|
13395
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
13396
|
+
body?: {
|
|
13397
|
+
rules: QueryRulesetQueryRule[];
|
|
13398
|
+
};
|
|
13399
|
+
}
|
|
13400
|
+
export interface QueryRulesetPutResponse {
|
|
13401
|
+
result: Result;
|
|
13402
|
+
}
|
|
13287
13403
|
export interface RollupDateHistogramGrouping {
|
|
13288
13404
|
delay?: Duration;
|
|
13289
13405
|
field: Field;
|
|
@@ -13416,6 +13532,7 @@ export interface RollupRollupSearchRequest extends RequestBase {
|
|
|
13416
13532
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
13417
13533
|
body?: {
|
|
13418
13534
|
aggregations?: Record<string, AggregationsAggregationContainer>;
|
|
13535
|
+
/** @alias aggregations */
|
|
13419
13536
|
aggs?: Record<string, AggregationsAggregationContainer>;
|
|
13420
13537
|
query?: QueryDslQueryContainer;
|
|
13421
13538
|
size?: integer;
|
|
@@ -14868,6 +14985,74 @@ export interface SslCertificatesCertificateInformation {
|
|
|
14868
14985
|
export interface SslCertificatesRequest extends RequestBase {
|
|
14869
14986
|
}
|
|
14870
14987
|
export type SslCertificatesResponse = SslCertificatesCertificateInformation[];
|
|
14988
|
+
export interface SynonymsSynonymRule {
|
|
14989
|
+
id?: Id;
|
|
14990
|
+
synonyms: SynonymsSynonymString;
|
|
14991
|
+
}
|
|
14992
|
+
export interface SynonymsSynonymRuleRead {
|
|
14993
|
+
id: Id;
|
|
14994
|
+
synonyms: SynonymsSynonymString;
|
|
14995
|
+
}
|
|
14996
|
+
export type SynonymsSynonymString = string;
|
|
14997
|
+
export interface SynonymsSynonymsUpdateResult {
|
|
14998
|
+
result: Result;
|
|
14999
|
+
reload_analyzers_details: IndicesReloadSearchAnalyzersReloadResult;
|
|
15000
|
+
}
|
|
15001
|
+
export interface SynonymsDeleteSynonymRequest extends RequestBase {
|
|
15002
|
+
id: Id;
|
|
15003
|
+
}
|
|
15004
|
+
export type SynonymsDeleteSynonymResponse = AcknowledgedResponseBase;
|
|
15005
|
+
export interface SynonymsDeleteSynonymRuleRequest extends RequestBase {
|
|
15006
|
+
set_id: Id;
|
|
15007
|
+
rule_id: Id;
|
|
15008
|
+
}
|
|
15009
|
+
export type SynonymsDeleteSynonymRuleResponse = SynonymsSynonymsUpdateResult;
|
|
15010
|
+
export interface SynonymsGetSynonymRequest extends RequestBase {
|
|
15011
|
+
id: Id;
|
|
15012
|
+
from?: integer;
|
|
15013
|
+
size?: integer;
|
|
15014
|
+
}
|
|
15015
|
+
export interface SynonymsGetSynonymResponse {
|
|
15016
|
+
count: integer;
|
|
15017
|
+
synonyms_set: SynonymsSynonymRuleRead[];
|
|
15018
|
+
}
|
|
15019
|
+
export interface SynonymsGetSynonymRuleRequest extends RequestBase {
|
|
15020
|
+
set_id: Id;
|
|
15021
|
+
rule_id: Id;
|
|
15022
|
+
}
|
|
15023
|
+
export type SynonymsGetSynonymRuleResponse = SynonymsSynonymRuleRead;
|
|
15024
|
+
export interface SynonymsGetSynonymsSetsRequest extends RequestBase {
|
|
15025
|
+
from?: integer;
|
|
15026
|
+
size?: integer;
|
|
15027
|
+
}
|
|
15028
|
+
export interface SynonymsGetSynonymsSetsResponse {
|
|
15029
|
+
count: integer;
|
|
15030
|
+
results: SynonymsGetSynonymsSetsSynonymsSetItem[];
|
|
15031
|
+
}
|
|
15032
|
+
export interface SynonymsGetSynonymsSetsSynonymsSetItem {
|
|
15033
|
+
synonyms_set: Id;
|
|
15034
|
+
count: integer;
|
|
15035
|
+
}
|
|
15036
|
+
export interface SynonymsPutSynonymRequest extends RequestBase {
|
|
15037
|
+
id: Id;
|
|
15038
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
15039
|
+
body?: {
|
|
15040
|
+
synonyms_set: SynonymsSynonymRule[];
|
|
15041
|
+
};
|
|
15042
|
+
}
|
|
15043
|
+
export interface SynonymsPutSynonymResponse {
|
|
15044
|
+
result: Result;
|
|
15045
|
+
reload_analyzers_details: IndicesReloadSearchAnalyzersReloadDetails;
|
|
15046
|
+
}
|
|
15047
|
+
export interface SynonymsPutSynonymRuleRequest extends RequestBase {
|
|
15048
|
+
set_id: Id;
|
|
15049
|
+
rule_id: Id;
|
|
15050
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
15051
|
+
body?: {
|
|
15052
|
+
synonyms: SynonymsSynonymString[];
|
|
15053
|
+
};
|
|
15054
|
+
}
|
|
15055
|
+
export type SynonymsPutSynonymRuleResponse = SynonymsSynonymsUpdateResult;
|
|
14871
15056
|
export type TasksGroupBy = 'nodes' | 'parents' | 'none';
|
|
14872
15057
|
export interface TasksNodeTasks {
|
|
14873
15058
|
name?: NodeId;
|
|
@@ -14892,7 +15077,7 @@ export interface TasksTaskInfo {
|
|
|
14892
15077
|
running_time?: Duration;
|
|
14893
15078
|
running_time_in_nanos: DurationValue<UnitNanos>;
|
|
14894
15079
|
start_time_in_millis: EpochTime<UnitMillis>;
|
|
14895
|
-
status?:
|
|
15080
|
+
status?: any;
|
|
14896
15081
|
type: string;
|
|
14897
15082
|
parent_task_id?: TaskId;
|
|
14898
15083
|
}
|
|
@@ -14903,25 +15088,6 @@ export interface TasksTaskListResponseBase {
|
|
|
14903
15088
|
nodes?: Record<string, TasksNodeTasks>;
|
|
14904
15089
|
tasks?: TasksTaskInfos;
|
|
14905
15090
|
}
|
|
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
15091
|
export interface TasksCancelRequest extends RequestBase {
|
|
14926
15092
|
task_id?: TaskId;
|
|
14927
15093
|
actions?: string | string[];
|
|
@@ -14938,7 +15104,7 @@ export interface TasksGetRequest extends RequestBase {
|
|
|
14938
15104
|
export interface TasksGetResponse {
|
|
14939
15105
|
completed: boolean;
|
|
14940
15106
|
task: TasksTaskInfo;
|
|
14941
|
-
response?:
|
|
15107
|
+
response?: any;
|
|
14942
15108
|
error?: ErrorCause;
|
|
14943
15109
|
}
|
|
14944
15110
|
export interface TasksListRequest extends RequestBase {
|