@elastic/elasticsearch 8.7.0 → 8.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.buildkite/Dockerfile +14 -0
- package/.buildkite/functions/cleanup.sh +67 -0
- package/.buildkite/functions/imports.sh +60 -0
- package/.buildkite/functions/wait-for-container.sh +36 -0
- package/.buildkite/pipeline.yml +30 -0
- package/.buildkite/run-client.sh +31 -0
- package/.buildkite/run-elasticsearch.sh +152 -0
- package/.buildkite/run-tests.sh +16 -0
- package/catalog-info.yaml +49 -0
- package/free-report-junit.xml +3 -5388
- package/index.d.ts +1 -1
- package/lib/api/api/health_report.d.ts +3 -3
- package/lib/api/api/health_report.js +1 -0
- package/lib/api/api/health_report.js.map +1 -1
- package/lib/api/api/indices.d.ts +12 -0
- package/lib/api/api/indices.js +82 -0
- package/lib/api/api/indices.js.map +1 -1
- package/lib/api/api/logstash.js +10 -2
- package/lib/api/api/logstash.js.map +1 -1
- package/lib/api/api/ml.js +1 -1
- package/lib/api/api/ml.js.map +1 -1
- package/lib/api/api/rollup.js +2 -2
- package/lib/api/api/rollup.js.map +1 -1
- package/lib/api/api/search.js +1 -1
- package/lib/api/api/search.js.map +1 -1
- package/lib/api/api/search_application.d.ts +38 -0
- package/lib/api/api/search_application.js +217 -0
- package/lib/api/api/search_application.js.map +1 -0
- package/lib/api/api/security.js +1 -1
- package/lib/api/api/security.js.map +1 -1
- package/lib/api/api/snapshot.js +1 -1
- package/lib/api/api/snapshot.js.map +1 -1
- package/lib/api/api/transform.d.ts +3 -3
- package/lib/api/api/transform.js +1 -1
- package/lib/api/api/transform.js.map +1 -1
- package/lib/api/api/watcher.d.ts +6 -0
- package/lib/api/api/watcher.js +34 -0
- package/lib/api/api/watcher.js.map +1 -1
- 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 +363 -43
- package/lib/api/typesWithBodyKey.d.ts +370 -43
- package/lib/client.js +4 -1
- package/lib/client.js.map +1 -1
- package/lib/helpers.js +2 -1
- package/lib/helpers.js.map +1 -1
- package/package.json +3 -3
- package/platinum-report-junit.xml +7 -2502
package/lib/api/types.d.ts
CHANGED
|
@@ -372,6 +372,125 @@ export interface GetSourceRequest extends RequestBase {
|
|
|
372
372
|
version_type?: VersionType;
|
|
373
373
|
}
|
|
374
374
|
export type GetSourceResponse<TDocument = unknown> = TDocument;
|
|
375
|
+
export interface HealthReportBaseIndicator {
|
|
376
|
+
status: HealthReportIndicatorHealthStatus;
|
|
377
|
+
symptom: string;
|
|
378
|
+
impacts?: HealthReportImpact[];
|
|
379
|
+
diagnosis?: HealthReportDiagnosis[];
|
|
380
|
+
}
|
|
381
|
+
export interface HealthReportDiagnosis {
|
|
382
|
+
id: string;
|
|
383
|
+
action: string;
|
|
384
|
+
affected_resources: HealthReportDiagnosisAffectedResources;
|
|
385
|
+
cause: string;
|
|
386
|
+
help_url: string;
|
|
387
|
+
}
|
|
388
|
+
export interface HealthReportDiagnosisAffectedResources {
|
|
389
|
+
indices?: Indices;
|
|
390
|
+
nodes?: HealthReportIndicatorNode[];
|
|
391
|
+
slm_policies?: string[];
|
|
392
|
+
feature_states?: string[];
|
|
393
|
+
snapshot_repositories?: string[];
|
|
394
|
+
}
|
|
395
|
+
export interface HealthReportDiskIndicator extends HealthReportBaseIndicator {
|
|
396
|
+
details?: HealthReportDiskIndicatorDetails;
|
|
397
|
+
}
|
|
398
|
+
export interface HealthReportDiskIndicatorDetails {
|
|
399
|
+
indices_with_readonly_block: long;
|
|
400
|
+
nodes_with_enough_disk_space: long;
|
|
401
|
+
nodes_over_high_watermark: long;
|
|
402
|
+
nodes_over_flood_stage_watermark: long;
|
|
403
|
+
nodes_with_unknown_disk_status: long;
|
|
404
|
+
}
|
|
405
|
+
export interface HealthReportIlmIndicator extends HealthReportBaseIndicator {
|
|
406
|
+
details?: HealthReportIlmIndicatorDetails;
|
|
407
|
+
}
|
|
408
|
+
export interface HealthReportIlmIndicatorDetails {
|
|
409
|
+
ilm_status: LifecycleOperationMode;
|
|
410
|
+
policies: long;
|
|
411
|
+
}
|
|
412
|
+
export interface HealthReportImpact {
|
|
413
|
+
description: string;
|
|
414
|
+
id: string;
|
|
415
|
+
impact_areas: HealthReportImpactArea[];
|
|
416
|
+
severity: integer;
|
|
417
|
+
}
|
|
418
|
+
export type HealthReportImpactArea = 'search' | 'ingest' | 'backup' | 'deployment_management';
|
|
419
|
+
export type HealthReportIndicatorHealthStatus = 'green' | 'yellow' | 'red' | 'unknown';
|
|
420
|
+
export interface HealthReportIndicatorNode {
|
|
421
|
+
name: string | null;
|
|
422
|
+
node_id: string | null;
|
|
423
|
+
}
|
|
424
|
+
export interface HealthReportIndicators {
|
|
425
|
+
master_is_stable?: HealthReportMasterIsStableIndicator;
|
|
426
|
+
shards_availability?: HealthReportShardsAvailabilityIndicator;
|
|
427
|
+
disk?: HealthReportDiskIndicator;
|
|
428
|
+
repository_integrity?: HealthReportRepositoryIntegrityIndicator;
|
|
429
|
+
ilm?: HealthReportIlmIndicator;
|
|
430
|
+
slm?: HealthReportSlmIndicator;
|
|
431
|
+
}
|
|
432
|
+
export interface HealthReportMasterIsStableIndicator extends HealthReportBaseIndicator {
|
|
433
|
+
details?: HealthReportMasterIsStableIndicatorDetails;
|
|
434
|
+
}
|
|
435
|
+
export interface HealthReportMasterIsStableIndicatorClusterFormationNode {
|
|
436
|
+
name?: string;
|
|
437
|
+
node_id: string;
|
|
438
|
+
cluster_formation_message: string;
|
|
439
|
+
}
|
|
440
|
+
export interface HealthReportMasterIsStableIndicatorDetails {
|
|
441
|
+
current_master: HealthReportIndicatorNode;
|
|
442
|
+
recent_masters: HealthReportIndicatorNode[];
|
|
443
|
+
exception_fetching_history?: HealthReportMasterIsStableIndicatorExceptionFetchingHistory;
|
|
444
|
+
cluster_formation?: HealthReportMasterIsStableIndicatorClusterFormationNode[];
|
|
445
|
+
}
|
|
446
|
+
export interface HealthReportMasterIsStableIndicatorExceptionFetchingHistory {
|
|
447
|
+
message: string;
|
|
448
|
+
stack_trace: string;
|
|
449
|
+
}
|
|
450
|
+
export interface HealthReportRepositoryIntegrityIndicator extends HealthReportBaseIndicator {
|
|
451
|
+
details?: HealthReportRepositoryIntegrityIndicatorDetails;
|
|
452
|
+
}
|
|
453
|
+
export interface HealthReportRepositoryIntegrityIndicatorDetails {
|
|
454
|
+
total_repositories?: long;
|
|
455
|
+
corrupted_repositories?: long;
|
|
456
|
+
corrupted?: string[];
|
|
457
|
+
}
|
|
458
|
+
export interface HealthReportRequest extends RequestBase {
|
|
459
|
+
feature?: string | string[];
|
|
460
|
+
timeout?: Duration;
|
|
461
|
+
verbose?: boolean;
|
|
462
|
+
size?: integer;
|
|
463
|
+
}
|
|
464
|
+
export interface HealthReportResponse {
|
|
465
|
+
cluster_name: string;
|
|
466
|
+
indicators: HealthReportIndicators;
|
|
467
|
+
}
|
|
468
|
+
export interface HealthReportShardsAvailabilityIndicator extends HealthReportBaseIndicator {
|
|
469
|
+
details?: HealthReportShardsAvailabilityIndicatorDetails;
|
|
470
|
+
}
|
|
471
|
+
export interface HealthReportShardsAvailabilityIndicatorDetails {
|
|
472
|
+
creating_primaries: long;
|
|
473
|
+
initializing_primaries: long;
|
|
474
|
+
initializing_replicas: long;
|
|
475
|
+
restarting_primaries: long;
|
|
476
|
+
restarting_replicas: long;
|
|
477
|
+
started_primaries: long;
|
|
478
|
+
started_replicas: long;
|
|
479
|
+
unassigned_primaries: long;
|
|
480
|
+
unassigned_replicas: long;
|
|
481
|
+
}
|
|
482
|
+
export interface HealthReportSlmIndicator extends HealthReportBaseIndicator {
|
|
483
|
+
details?: HealthReportSlmIndicatorDetails;
|
|
484
|
+
}
|
|
485
|
+
export interface HealthReportSlmIndicatorDetails {
|
|
486
|
+
slm_status: LifecycleOperationMode;
|
|
487
|
+
policies: long;
|
|
488
|
+
unhealthy_policies: HealthReportSlmIndicatorUnhealthyPolicies;
|
|
489
|
+
}
|
|
490
|
+
export interface HealthReportSlmIndicatorUnhealthyPolicies {
|
|
491
|
+
count: long;
|
|
492
|
+
invocations_since_last_success?: Record<string, long>;
|
|
493
|
+
}
|
|
375
494
|
export interface IndexRequest<TDocument = unknown> extends RequestBase {
|
|
376
495
|
id?: Id;
|
|
377
496
|
index: IndexName;
|
|
@@ -469,7 +588,7 @@ export interface MsearchMultisearchBody {
|
|
|
469
588
|
ext?: Record<string, any>;
|
|
470
589
|
stored_fields?: Fields;
|
|
471
590
|
docvalue_fields?: (QueryDslFieldAndFormat | Field)[];
|
|
472
|
-
knn?: KnnQuery;
|
|
591
|
+
knn?: KnnQuery | KnnQuery[];
|
|
473
592
|
from?: integer;
|
|
474
593
|
highlight?: SearchHighlight;
|
|
475
594
|
indices_boost?: Record<IndexName, double>[];
|
|
@@ -850,6 +969,7 @@ export interface SearchRequest extends RequestBase {
|
|
|
850
969
|
indices_boost?: Record<IndexName, double>[];
|
|
851
970
|
docvalue_fields?: (QueryDslFieldAndFormat | Field)[];
|
|
852
971
|
knn?: KnnQuery | KnnQuery[];
|
|
972
|
+
rank?: RankContainer;
|
|
853
973
|
min_score?: double;
|
|
854
974
|
post_filter?: QueryDslQueryContainer;
|
|
855
975
|
profile?: boolean;
|
|
@@ -1877,6 +1997,11 @@ export type QueryVector = float[];
|
|
|
1877
1997
|
export interface QueryVectorBuilder {
|
|
1878
1998
|
text_embedding?: TextEmbedding;
|
|
1879
1999
|
}
|
|
2000
|
+
export interface RankBase {
|
|
2001
|
+
}
|
|
2002
|
+
export interface RankContainer {
|
|
2003
|
+
rrf?: RrfRank;
|
|
2004
|
+
}
|
|
1880
2005
|
export interface RecoveryStats {
|
|
1881
2006
|
current_as_source: long;
|
|
1882
2007
|
current_as_target: long;
|
|
@@ -1911,6 +2036,10 @@ export interface Retries {
|
|
|
1911
2036
|
search: long;
|
|
1912
2037
|
}
|
|
1913
2038
|
export type Routing = string;
|
|
2039
|
+
export interface RrfRank {
|
|
2040
|
+
rank_constant?: long;
|
|
2041
|
+
window_size?: long;
|
|
2042
|
+
}
|
|
1914
2043
|
export interface ScoreSort {
|
|
1915
2044
|
order?: SortOrder;
|
|
1916
2045
|
}
|
|
@@ -2136,7 +2265,7 @@ export interface AggregationsAdjacencyMatrixBucketKeys extends AggregationsMulti
|
|
|
2136
2265
|
export type AggregationsAdjacencyMatrixBucket = AggregationsAdjacencyMatrixBucketKeys & {
|
|
2137
2266
|
[property: string]: AggregationsAggregate | string | long;
|
|
2138
2267
|
};
|
|
2139
|
-
export type AggregationsAggregate = AggregationsCardinalityAggregate | AggregationsHdrPercentilesAggregate | AggregationsHdrPercentileRanksAggregate | AggregationsTDigestPercentilesAggregate | AggregationsTDigestPercentileRanksAggregate | AggregationsPercentilesBucketAggregate | AggregationsMedianAbsoluteDeviationAggregate | AggregationsMinAggregate | AggregationsMaxAggregate | AggregationsSumAggregate | AggregationsAvgAggregate | AggregationsWeightedAvgAggregate | AggregationsValueCountAggregate | AggregationsSimpleValueAggregate | AggregationsDerivativeAggregate | AggregationsBucketMetricValueAggregate | AggregationsStatsAggregate | AggregationsStatsBucketAggregate | AggregationsExtendedStatsAggregate | AggregationsExtendedStatsBucketAggregate | AggregationsGeoBoundsAggregate | AggregationsGeoCentroidAggregate | AggregationsHistogramAggregate | AggregationsDateHistogramAggregate | AggregationsAutoDateHistogramAggregate | AggregationsVariableWidthHistogramAggregate | AggregationsStringTermsAggregate | AggregationsLongTermsAggregate | AggregationsDoubleTermsAggregate | AggregationsUnmappedTermsAggregate | AggregationsLongRareTermsAggregate | AggregationsStringRareTermsAggregate | AggregationsUnmappedRareTermsAggregate | AggregationsMultiTermsAggregate | AggregationsMissingAggregate | AggregationsNestedAggregate | AggregationsReverseNestedAggregate | AggregationsGlobalAggregate | AggregationsFilterAggregate | AggregationsChildrenAggregate | AggregationsParentAggregate | AggregationsSamplerAggregate | AggregationsUnmappedSamplerAggregate | AggregationsGeoHashGridAggregate | AggregationsGeoTileGridAggregate | AggregationsGeoHexGridAggregate | AggregationsRangeAggregate | AggregationsDateRangeAggregate | AggregationsGeoDistanceAggregate | AggregationsIpRangeAggregate | AggregationsIpPrefixAggregate | AggregationsFiltersAggregate | AggregationsAdjacencyMatrixAggregate | AggregationsSignificantLongTermsAggregate | AggregationsSignificantStringTermsAggregate | AggregationsUnmappedSignificantTermsAggregate | AggregationsCompositeAggregate | AggregationsScriptedMetricAggregate | AggregationsTopHitsAggregate | AggregationsInferenceAggregate | AggregationsStringStatsAggregate | AggregationsBoxPlotAggregate | AggregationsTopMetricsAggregate | AggregationsTTestAggregate | AggregationsRateAggregate | AggregationsCumulativeCardinalityAggregate | AggregationsMatrixStatsAggregate | AggregationsGeoLineAggregate;
|
|
2268
|
+
export type AggregationsAggregate = AggregationsCardinalityAggregate | AggregationsHdrPercentilesAggregate | AggregationsHdrPercentileRanksAggregate | AggregationsTDigestPercentilesAggregate | AggregationsTDigestPercentileRanksAggregate | AggregationsPercentilesBucketAggregate | AggregationsMedianAbsoluteDeviationAggregate | AggregationsMinAggregate | AggregationsMaxAggregate | AggregationsSumAggregate | AggregationsAvgAggregate | AggregationsWeightedAvgAggregate | AggregationsValueCountAggregate | AggregationsSimpleValueAggregate | AggregationsDerivativeAggregate | AggregationsBucketMetricValueAggregate | AggregationsStatsAggregate | AggregationsStatsBucketAggregate | AggregationsExtendedStatsAggregate | AggregationsExtendedStatsBucketAggregate | AggregationsGeoBoundsAggregate | AggregationsGeoCentroidAggregate | AggregationsHistogramAggregate | AggregationsDateHistogramAggregate | AggregationsAutoDateHistogramAggregate | AggregationsVariableWidthHistogramAggregate | AggregationsStringTermsAggregate | AggregationsLongTermsAggregate | AggregationsDoubleTermsAggregate | AggregationsUnmappedTermsAggregate | AggregationsLongRareTermsAggregate | AggregationsStringRareTermsAggregate | AggregationsUnmappedRareTermsAggregate | AggregationsMultiTermsAggregate | AggregationsMissingAggregate | AggregationsNestedAggregate | AggregationsReverseNestedAggregate | AggregationsGlobalAggregate | AggregationsFilterAggregate | AggregationsChildrenAggregate | AggregationsParentAggregate | AggregationsSamplerAggregate | AggregationsUnmappedSamplerAggregate | AggregationsGeoHashGridAggregate | AggregationsGeoTileGridAggregate | AggregationsGeoHexGridAggregate | AggregationsRangeAggregate | AggregationsDateRangeAggregate | AggregationsGeoDistanceAggregate | AggregationsIpRangeAggregate | AggregationsIpPrefixAggregate | AggregationsFiltersAggregate | AggregationsAdjacencyMatrixAggregate | AggregationsSignificantLongTermsAggregate | AggregationsSignificantStringTermsAggregate | AggregationsUnmappedSignificantTermsAggregate | AggregationsCompositeAggregate | AggregationsFrequentItemSetsAggregate | AggregationsScriptedMetricAggregate | AggregationsTopHitsAggregate | AggregationsInferenceAggregate | AggregationsStringStatsAggregate | AggregationsBoxPlotAggregate | AggregationsTopMetricsAggregate | AggregationsTTestAggregate | AggregationsRateAggregate | AggregationsCumulativeCardinalityAggregate | AggregationsMatrixStatsAggregate | AggregationsGeoLineAggregate;
|
|
2140
2269
|
export interface AggregationsAggregateBase {
|
|
2141
2270
|
meta?: Metadata;
|
|
2142
2271
|
}
|
|
@@ -2171,6 +2300,7 @@ export interface AggregationsAggregationContainer {
|
|
|
2171
2300
|
diversified_sampler?: AggregationsDiversifiedSamplerAggregation;
|
|
2172
2301
|
extended_stats?: AggregationsExtendedStatsAggregation;
|
|
2173
2302
|
extended_stats_bucket?: AggregationsExtendedStatsBucketAggregation;
|
|
2303
|
+
frequent_item_sets?: AggregationsFrequentItemSetsAggregation;
|
|
2174
2304
|
filter?: QueryDslQueryContainer;
|
|
2175
2305
|
filters?: AggregationsFiltersAggregation;
|
|
2176
2306
|
geo_bounds?: AggregationsGeoBoundsAggregation;
|
|
@@ -2507,6 +2637,27 @@ export interface AggregationsFormatMetricAggregationBase extends AggregationsMet
|
|
|
2507
2637
|
export interface AggregationsFormattableMetricAggregation extends AggregationsMetricAggregationBase {
|
|
2508
2638
|
format?: string;
|
|
2509
2639
|
}
|
|
2640
|
+
export interface AggregationsFrequentItemSetsAggregate extends AggregationsMultiBucketAggregateBase<AggregationsFrequentItemSetsBucket> {
|
|
2641
|
+
}
|
|
2642
|
+
export interface AggregationsFrequentItemSetsAggregation {
|
|
2643
|
+
fields: AggregationsFrequentItemSetsField[];
|
|
2644
|
+
minimum_set_size?: integer;
|
|
2645
|
+
minimum_support?: double;
|
|
2646
|
+
size?: integer;
|
|
2647
|
+
filter?: QueryDslQueryContainer;
|
|
2648
|
+
}
|
|
2649
|
+
export interface AggregationsFrequentItemSetsBucketKeys extends AggregationsMultiBucketBase {
|
|
2650
|
+
key: Record<Field, string[]>;
|
|
2651
|
+
support: double;
|
|
2652
|
+
}
|
|
2653
|
+
export type AggregationsFrequentItemSetsBucket = AggregationsFrequentItemSetsBucketKeys & {
|
|
2654
|
+
[property: string]: AggregationsAggregate | Record<Field, string[]> | double | long;
|
|
2655
|
+
};
|
|
2656
|
+
export interface AggregationsFrequentItemSetsField {
|
|
2657
|
+
field: Field;
|
|
2658
|
+
exclude?: string | string[];
|
|
2659
|
+
include?: string | string[];
|
|
2660
|
+
}
|
|
2510
2661
|
export type AggregationsGapPolicy = 'skip' | 'insert_zeros' | 'keep_values';
|
|
2511
2662
|
export interface AggregationsGeoBoundsAggregate extends AggregationsAggregateBase {
|
|
2512
2663
|
bounds?: GeoBounds;
|
|
@@ -3489,7 +3640,7 @@ export interface AnalysisLetterTokenizer extends AnalysisTokenizerBase {
|
|
|
3489
3640
|
export interface AnalysisLimitTokenCountTokenFilter extends AnalysisTokenFilterBase {
|
|
3490
3641
|
type: 'limit';
|
|
3491
3642
|
consume_all_tokens?: boolean;
|
|
3492
|
-
max_token_count?: integer
|
|
3643
|
+
max_token_count?: SpecUtilsStringified<integer>;
|
|
3493
3644
|
}
|
|
3494
3645
|
export interface AnalysisLowercaseNormalizer {
|
|
3495
3646
|
type: 'lowercase';
|
|
@@ -3650,7 +3801,8 @@ export interface AnalysisStemmerOverrideTokenFilter extends AnalysisTokenFilterB
|
|
|
3650
3801
|
}
|
|
3651
3802
|
export interface AnalysisStemmerTokenFilter extends AnalysisTokenFilterBase {
|
|
3652
3803
|
type: 'stemmer';
|
|
3653
|
-
language
|
|
3804
|
+
language?: string;
|
|
3805
|
+
name?: string;
|
|
3654
3806
|
}
|
|
3655
3807
|
export interface AnalysisStopAnalyzer {
|
|
3656
3808
|
type: 'stop';
|
|
@@ -4628,6 +4780,7 @@ export interface QueryDslQueryContainer {
|
|
|
4628
4780
|
term?: Partial<Record<Field, QueryDslTermQuery | FieldValue>>;
|
|
4629
4781
|
terms?: QueryDslTermsQuery;
|
|
4630
4782
|
terms_set?: Partial<Record<Field, QueryDslTermsSetQuery>>;
|
|
4783
|
+
text_expansion?: QueryDslTextExpansionQuery | Field;
|
|
4631
4784
|
wildcard?: Partial<Record<Field, QueryDslWildcardQuery | string>>;
|
|
4632
4785
|
wrapper?: QueryDslWrapperQuery;
|
|
4633
4786
|
type?: QueryDslTypeQuery;
|
|
@@ -4806,6 +4959,11 @@ export interface QueryDslTermsSetQuery extends QueryDslQueryBase {
|
|
|
4806
4959
|
minimum_should_match_script?: Script;
|
|
4807
4960
|
terms: string[];
|
|
4808
4961
|
}
|
|
4962
|
+
export interface QueryDslTextExpansionQuery extends QueryDslQueryBase {
|
|
4963
|
+
value: Field;
|
|
4964
|
+
model_id: string;
|
|
4965
|
+
model_text: string;
|
|
4966
|
+
}
|
|
4809
4967
|
export type QueryDslTextQueryType = 'best_fields' | 'most_fields' | 'cross_fields' | 'phrase' | 'phrase_prefix' | 'bool_prefix';
|
|
4810
4968
|
export interface QueryDslTypeQuery extends QueryDslQueryBase {
|
|
4811
4969
|
value: string;
|
|
@@ -4911,7 +5069,7 @@ export interface AsyncSearchSubmitRequest extends RequestBase {
|
|
|
4911
5069
|
track_total_hits?: SearchTrackHits;
|
|
4912
5070
|
indices_boost?: Record<IndexName, double>[];
|
|
4913
5071
|
docvalue_fields?: (QueryDslFieldAndFormat | Field)[];
|
|
4914
|
-
knn?: KnnQuery;
|
|
5072
|
+
knn?: KnnQuery | KnnQuery[];
|
|
4915
5073
|
min_score?: double;
|
|
4916
5074
|
post_filter?: QueryDslQueryContainer;
|
|
4917
5075
|
profile?: boolean;
|
|
@@ -6892,6 +7050,7 @@ export interface ClusterComponentTemplateSummary {
|
|
|
6892
7050
|
settings?: Record<IndexName, IndicesIndexSettings>;
|
|
6893
7051
|
mappings?: MappingTypeMapping;
|
|
6894
7052
|
aliases?: Record<string, IndicesAliasDefinition>;
|
|
7053
|
+
lifecycle?: IndicesDataLifecycleWithRollover;
|
|
6895
7054
|
}
|
|
6896
7055
|
export interface ClusterAllocationExplainAllocationDecision {
|
|
6897
7056
|
decider: string;
|
|
@@ -7017,6 +7176,7 @@ export interface ClusterGetComponentTemplateRequest extends RequestBase {
|
|
|
7017
7176
|
flat_settings?: boolean;
|
|
7018
7177
|
local?: boolean;
|
|
7019
7178
|
master_timeout?: Duration;
|
|
7179
|
+
include_defaults?: boolean;
|
|
7020
7180
|
}
|
|
7021
7181
|
export interface ClusterGetComponentTemplateResponse {
|
|
7022
7182
|
component_templates: ClusterComponentTemplate[];
|
|
@@ -7032,6 +7192,25 @@ export interface ClusterGetSettingsResponse {
|
|
|
7032
7192
|
transient: Record<string, any>;
|
|
7033
7193
|
defaults?: Record<string, any>;
|
|
7034
7194
|
}
|
|
7195
|
+
export interface ClusterHealthHealthResponseBody {
|
|
7196
|
+
active_primary_shards: integer;
|
|
7197
|
+
active_shards: integer;
|
|
7198
|
+
active_shards_percent_as_number: Percentage;
|
|
7199
|
+
cluster_name: Name;
|
|
7200
|
+
delayed_unassigned_shards: integer;
|
|
7201
|
+
indices?: Record<IndexName, ClusterHealthIndexHealthStats>;
|
|
7202
|
+
initializing_shards: integer;
|
|
7203
|
+
number_of_data_nodes: integer;
|
|
7204
|
+
number_of_in_flight_fetch: integer;
|
|
7205
|
+
number_of_nodes: integer;
|
|
7206
|
+
number_of_pending_tasks: integer;
|
|
7207
|
+
relocating_shards: integer;
|
|
7208
|
+
status: HealthStatus;
|
|
7209
|
+
task_max_waiting_in_queue?: Duration;
|
|
7210
|
+
task_max_waiting_in_queue_millis: DurationValue<UnitMillis>;
|
|
7211
|
+
timed_out: boolean;
|
|
7212
|
+
unassigned_shards: integer;
|
|
7213
|
+
}
|
|
7035
7214
|
export interface ClusterHealthIndexHealthStats {
|
|
7036
7215
|
active_primary_shards: integer;
|
|
7037
7216
|
active_shards: integer;
|
|
@@ -7057,25 +7236,7 @@ export interface ClusterHealthRequest extends RequestBase {
|
|
|
7057
7236
|
wait_for_no_relocating_shards?: boolean;
|
|
7058
7237
|
wait_for_status?: HealthStatus;
|
|
7059
7238
|
}
|
|
7060
|
-
export
|
|
7061
|
-
active_primary_shards: integer;
|
|
7062
|
-
active_shards: integer;
|
|
7063
|
-
active_shards_percent_as_number: Percentage;
|
|
7064
|
-
cluster_name: Name;
|
|
7065
|
-
delayed_unassigned_shards: integer;
|
|
7066
|
-
indices?: Record<IndexName, ClusterHealthIndexHealthStats>;
|
|
7067
|
-
initializing_shards: integer;
|
|
7068
|
-
number_of_data_nodes: integer;
|
|
7069
|
-
number_of_in_flight_fetch: integer;
|
|
7070
|
-
number_of_nodes: integer;
|
|
7071
|
-
number_of_pending_tasks: integer;
|
|
7072
|
-
relocating_shards: integer;
|
|
7073
|
-
status: HealthStatus;
|
|
7074
|
-
task_max_waiting_in_queue?: Duration;
|
|
7075
|
-
task_max_waiting_in_queue_millis: DurationValue<UnitMillis>;
|
|
7076
|
-
timed_out: boolean;
|
|
7077
|
-
unassigned_shards: integer;
|
|
7078
|
-
}
|
|
7239
|
+
export type ClusterHealthResponse = ClusterHealthHealthResponseBody;
|
|
7079
7240
|
export interface ClusterHealthShardHealthStats {
|
|
7080
7241
|
active_shards: integer;
|
|
7081
7242
|
initializing_shards: integer;
|
|
@@ -7955,6 +8116,13 @@ export interface IndicesAliasDefinition {
|
|
|
7955
8116
|
export interface IndicesCacheQueries {
|
|
7956
8117
|
enabled: boolean;
|
|
7957
8118
|
}
|
|
8119
|
+
export interface IndicesDataLifecycle {
|
|
8120
|
+
data_retention?: Duration;
|
|
8121
|
+
}
|
|
8122
|
+
export interface IndicesDataLifecycleWithRollover {
|
|
8123
|
+
data_retention?: Duration;
|
|
8124
|
+
rollover?: IndicesDlmRolloverConditions;
|
|
8125
|
+
}
|
|
7958
8126
|
export interface IndicesDataStream {
|
|
7959
8127
|
name: DataStreamName;
|
|
7960
8128
|
timestamp_field: IndicesDataStreamTimestampField;
|
|
@@ -7968,6 +8136,7 @@ export interface IndicesDataStream {
|
|
|
7968
8136
|
ilm_policy?: Name;
|
|
7969
8137
|
_meta?: Metadata;
|
|
7970
8138
|
allow_custom_routing?: boolean;
|
|
8139
|
+
lifecycle?: IndicesDataLifecycleWithRollover;
|
|
7971
8140
|
}
|
|
7972
8141
|
export interface IndicesDataStreamIndex {
|
|
7973
8142
|
index_name: IndexName;
|
|
@@ -7979,6 +8148,18 @@ export interface IndicesDataStreamTimestampField {
|
|
|
7979
8148
|
export interface IndicesDataStreamVisibility {
|
|
7980
8149
|
hidden?: boolean;
|
|
7981
8150
|
}
|
|
8151
|
+
export interface IndicesDlmRolloverConditions {
|
|
8152
|
+
min_age?: Duration;
|
|
8153
|
+
max_age?: string;
|
|
8154
|
+
min_docs?: long;
|
|
8155
|
+
max_docs?: long;
|
|
8156
|
+
min_size?: ByteSize;
|
|
8157
|
+
max_size?: ByteSize;
|
|
8158
|
+
min_primary_shard_size?: ByteSize;
|
|
8159
|
+
max_primary_shard_size?: ByteSize;
|
|
8160
|
+
min_primary_shard_docs?: long;
|
|
8161
|
+
max_primary_shard_docs?: long;
|
|
8162
|
+
}
|
|
7982
8163
|
export interface IndicesDownsampleConfig {
|
|
7983
8164
|
fixed_interval: DurationLarge;
|
|
7984
8165
|
}
|
|
@@ -8020,11 +8201,11 @@ export interface IndicesIndexSegmentSort {
|
|
|
8020
8201
|
missing?: IndicesSegmentSortMissing | IndicesSegmentSortMissing[];
|
|
8021
8202
|
}
|
|
8022
8203
|
export interface IndicesIndexSettingBlocks {
|
|
8023
|
-
read_only?: boolean
|
|
8024
|
-
read_only_allow_delete?: boolean
|
|
8025
|
-
read?: boolean
|
|
8026
|
-
write?: boolean
|
|
8027
|
-
metadata?: boolean
|
|
8204
|
+
read_only?: SpecUtilsStringified<boolean>;
|
|
8205
|
+
read_only_allow_delete?: SpecUtilsStringified<boolean>;
|
|
8206
|
+
read?: SpecUtilsStringified<boolean>;
|
|
8207
|
+
write?: SpecUtilsStringified<boolean>;
|
|
8208
|
+
metadata?: SpecUtilsStringified<boolean>;
|
|
8028
8209
|
}
|
|
8029
8210
|
export interface IndicesIndexSettingsKeys {
|
|
8030
8211
|
index?: IndicesIndexSettings;
|
|
@@ -8037,7 +8218,7 @@ export interface IndicesIndexSettingsKeys {
|
|
|
8037
8218
|
number_of_routing_shards?: integer;
|
|
8038
8219
|
check_on_startup?: IndicesIndexCheckOnStartup;
|
|
8039
8220
|
codec?: string;
|
|
8040
|
-
routing_partition_size?: integer
|
|
8221
|
+
routing_partition_size?: SpecUtilsStringified<integer>;
|
|
8041
8222
|
load_fixed_bitset_filters_eagerly?: boolean;
|
|
8042
8223
|
hidden?: boolean | string;
|
|
8043
8224
|
auto_expand_replicas?: string;
|
|
@@ -8116,6 +8297,7 @@ export interface IndicesIndexState {
|
|
|
8116
8297
|
settings?: IndicesIndexSettings;
|
|
8117
8298
|
defaults?: IndicesIndexSettings;
|
|
8118
8299
|
data_stream?: DataStreamName;
|
|
8300
|
+
lifecycle?: IndicesDataLifecycle;
|
|
8119
8301
|
}
|
|
8120
8302
|
export interface IndicesIndexTemplate {
|
|
8121
8303
|
index_patterns: Names;
|
|
@@ -8135,6 +8317,7 @@ export interface IndicesIndexTemplateSummary {
|
|
|
8135
8317
|
aliases?: Record<IndexName, IndicesAlias>;
|
|
8136
8318
|
mappings?: MappingTypeMapping;
|
|
8137
8319
|
settings?: IndicesIndexSettings;
|
|
8320
|
+
lifecycle?: IndicesDataLifecycleWithRollover;
|
|
8138
8321
|
}
|
|
8139
8322
|
export interface IndicesIndexVersioning {
|
|
8140
8323
|
created?: VersionString;
|
|
@@ -8178,8 +8361,8 @@ export interface IndicesMerge {
|
|
|
8178
8361
|
scheduler?: IndicesMergeScheduler;
|
|
8179
8362
|
}
|
|
8180
8363
|
export interface IndicesMergeScheduler {
|
|
8181
|
-
max_thread_count?: integer
|
|
8182
|
-
max_merge_count?: integer
|
|
8364
|
+
max_thread_count?: SpecUtilsStringified<integer>;
|
|
8365
|
+
max_merge_count?: SpecUtilsStringified<integer>;
|
|
8183
8366
|
}
|
|
8184
8367
|
export interface IndicesNumericFielddata {
|
|
8185
8368
|
format: IndicesNumericFielddataFormat;
|
|
@@ -8198,13 +8381,13 @@ export type IndicesSegmentSortMissing = '_last' | '_first';
|
|
|
8198
8381
|
export type IndicesSegmentSortMode = 'min' | 'MIN' | 'max' | 'MAX';
|
|
8199
8382
|
export type IndicesSegmentSortOrder = 'asc' | 'ASC' | 'desc' | 'DESC';
|
|
8200
8383
|
export interface IndicesSettingsAnalyze {
|
|
8201
|
-
max_token_count?: integer
|
|
8384
|
+
max_token_count?: SpecUtilsStringified<integer>;
|
|
8202
8385
|
}
|
|
8203
8386
|
export interface IndicesSettingsHighlight {
|
|
8204
8387
|
max_analyzed_offset?: integer;
|
|
8205
8388
|
}
|
|
8206
8389
|
export interface IndicesSettingsQueryString {
|
|
8207
|
-
lenient: boolean
|
|
8390
|
+
lenient: SpecUtilsStringified<boolean>;
|
|
8208
8391
|
}
|
|
8209
8392
|
export interface IndicesSettingsSearch {
|
|
8210
8393
|
idle?: IndicesSearchIdle;
|
|
@@ -8474,6 +8657,13 @@ export interface IndicesDeleteAliasRequest extends RequestBase {
|
|
|
8474
8657
|
timeout?: Duration;
|
|
8475
8658
|
}
|
|
8476
8659
|
export type IndicesDeleteAliasResponse = AcknowledgedResponseBase;
|
|
8660
|
+
export interface IndicesDeleteDataLifecycleRequest extends RequestBase {
|
|
8661
|
+
name: DataStreamNames;
|
|
8662
|
+
expand_wildcards?: ExpandWildcards;
|
|
8663
|
+
master_timeout?: Duration;
|
|
8664
|
+
timeout?: Duration;
|
|
8665
|
+
}
|
|
8666
|
+
export type IndicesDeleteDataLifecycleResponse = AcknowledgedResponseBase;
|
|
8477
8667
|
export interface IndicesDeleteDataStreamRequest extends RequestBase {
|
|
8478
8668
|
name: DataStreamNames;
|
|
8479
8669
|
expand_wildcards?: ExpandWildcards;
|
|
@@ -8537,6 +8727,25 @@ export interface IndicesExistsTemplateRequest extends RequestBase {
|
|
|
8537
8727
|
master_timeout?: Duration;
|
|
8538
8728
|
}
|
|
8539
8729
|
export type IndicesExistsTemplateResponse = boolean;
|
|
8730
|
+
export interface IndicesExplainDataLifecycleDataLifecycleExplain {
|
|
8731
|
+
index: IndexName;
|
|
8732
|
+
managed_by_dlm: boolean;
|
|
8733
|
+
index_creation_date_millis?: EpochTime<UnitMillis>;
|
|
8734
|
+
time_since_index_creation?: Duration;
|
|
8735
|
+
rollover_date_millis?: EpochTime<UnitMillis>;
|
|
8736
|
+
time_since_rollover?: Duration;
|
|
8737
|
+
lifecycle?: IndicesDataLifecycleWithRollover;
|
|
8738
|
+
generation_time?: Duration;
|
|
8739
|
+
error?: string;
|
|
8740
|
+
}
|
|
8741
|
+
export interface IndicesExplainDataLifecycleRequest extends RequestBase {
|
|
8742
|
+
index: Indices;
|
|
8743
|
+
include_defaults?: boolean;
|
|
8744
|
+
master_timeout?: Duration;
|
|
8745
|
+
}
|
|
8746
|
+
export interface IndicesExplainDataLifecycleResponse {
|
|
8747
|
+
indices: Record<IndexName, IndicesExplainDataLifecycleDataLifecycleExplain>;
|
|
8748
|
+
}
|
|
8540
8749
|
export interface IndicesFieldUsageStatsFieldSummary {
|
|
8541
8750
|
any: uint;
|
|
8542
8751
|
stored_fields: uint;
|
|
@@ -8635,9 +8844,22 @@ export interface IndicesGetAliasRequest extends RequestBase {
|
|
|
8635
8844
|
local?: boolean;
|
|
8636
8845
|
}
|
|
8637
8846
|
export type IndicesGetAliasResponse = Record<IndexName, IndicesGetAliasIndexAliases>;
|
|
8847
|
+
export interface IndicesGetDataLifecycleDataStreamLifecycle {
|
|
8848
|
+
name: DataStreamName;
|
|
8849
|
+
lifecycle?: IndicesDataLifecycle;
|
|
8850
|
+
}
|
|
8851
|
+
export interface IndicesGetDataLifecycleRequest extends RequestBase {
|
|
8852
|
+
name: DataStreamNames;
|
|
8853
|
+
expand_wildcards?: ExpandWildcards;
|
|
8854
|
+
include_defaults?: boolean;
|
|
8855
|
+
}
|
|
8856
|
+
export interface IndicesGetDataLifecycleResponse {
|
|
8857
|
+
data_streams: IndicesGetDataLifecycleDataStreamLifecycle[];
|
|
8858
|
+
}
|
|
8638
8859
|
export interface IndicesGetDataStreamRequest extends RequestBase {
|
|
8639
8860
|
name?: DataStreamNames;
|
|
8640
8861
|
expand_wildcards?: ExpandWildcards;
|
|
8862
|
+
include_defaults?: boolean;
|
|
8641
8863
|
}
|
|
8642
8864
|
export interface IndicesGetDataStreamResponse {
|
|
8643
8865
|
data_streams: IndicesDataStream[];
|
|
@@ -8664,6 +8886,7 @@ export interface IndicesGetIndexTemplateRequest extends RequestBase {
|
|
|
8664
8886
|
local?: boolean;
|
|
8665
8887
|
flat_settings?: boolean;
|
|
8666
8888
|
master_timeout?: Duration;
|
|
8889
|
+
include_defaults?: boolean;
|
|
8667
8890
|
}
|
|
8668
8891
|
export interface IndicesGetIndexTemplateResponse {
|
|
8669
8892
|
index_templates: IndicesGetIndexTemplateIndexTemplateItem[];
|
|
@@ -8745,10 +8968,19 @@ export interface IndicesPutAliasRequest extends RequestBase {
|
|
|
8745
8968
|
search_routing?: Routing;
|
|
8746
8969
|
}
|
|
8747
8970
|
export type IndicesPutAliasResponse = AcknowledgedResponseBase;
|
|
8971
|
+
export interface IndicesPutDataLifecycleRequest extends RequestBase {
|
|
8972
|
+
name: DataStreamNames;
|
|
8973
|
+
expand_wildcards?: ExpandWildcards;
|
|
8974
|
+
master_timeout?: Duration;
|
|
8975
|
+
timeout?: Duration;
|
|
8976
|
+
data_retention?: Duration;
|
|
8977
|
+
}
|
|
8978
|
+
export type IndicesPutDataLifecycleResponse = AcknowledgedResponseBase;
|
|
8748
8979
|
export interface IndicesPutIndexTemplateIndexTemplateMapping {
|
|
8749
8980
|
aliases?: Record<IndexName, IndicesAlias>;
|
|
8750
8981
|
mappings?: MappingTypeMapping;
|
|
8751
8982
|
settings?: IndicesIndexSettings;
|
|
8983
|
+
lifecycle?: IndicesDataLifecycle;
|
|
8752
8984
|
}
|
|
8753
8985
|
export interface IndicesPutIndexTemplateRequest extends RequestBase {
|
|
8754
8986
|
name: Name;
|
|
@@ -9080,6 +9312,7 @@ export interface IndicesSimulateIndexTemplateRequest extends RequestBase {
|
|
|
9080
9312
|
name: Name;
|
|
9081
9313
|
create?: boolean;
|
|
9082
9314
|
master_timeout?: Duration;
|
|
9315
|
+
include_defaults?: boolean;
|
|
9083
9316
|
allow_auto_create?: boolean;
|
|
9084
9317
|
index_patterns?: Indices;
|
|
9085
9318
|
composed_of?: Name[];
|
|
@@ -9099,6 +9332,7 @@ export interface IndicesSimulateTemplateRequest extends RequestBase {
|
|
|
9099
9332
|
name?: Name;
|
|
9100
9333
|
create?: boolean;
|
|
9101
9334
|
master_timeout?: Duration;
|
|
9335
|
+
include_defaults?: boolean;
|
|
9102
9336
|
template?: IndicesIndexTemplate;
|
|
9103
9337
|
}
|
|
9104
9338
|
export interface IndicesSimulateTemplateResponse {
|
|
@@ -10413,7 +10647,7 @@ export interface MlHyperparameters {
|
|
|
10413
10647
|
soft_tree_depth_limit?: integer;
|
|
10414
10648
|
soft_tree_depth_tolerance?: double;
|
|
10415
10649
|
}
|
|
10416
|
-
export type MlInclude = 'definition' | 'feature_importance_baseline' | 'hyperparameters' | 'total_feature_importance';
|
|
10650
|
+
export type MlInclude = 'definition' | 'feature_importance_baseline' | 'hyperparameters' | 'total_feature_importance' | 'definition_status';
|
|
10417
10651
|
export interface MlInferenceConfigCreateContainer {
|
|
10418
10652
|
regression?: MlRegressionInferenceOptions;
|
|
10419
10653
|
classification?: MlClassificationInferenceOptions;
|
|
@@ -10423,6 +10657,7 @@ export interface MlInferenceConfigCreateContainer {
|
|
|
10423
10657
|
ner?: MlNerInferenceOptions;
|
|
10424
10658
|
pass_through?: MlPassThroughInferenceOptions;
|
|
10425
10659
|
text_embedding?: MlTextEmbeddingInferenceOptions;
|
|
10660
|
+
text_expansion?: MlTextExpansionInferenceOptions;
|
|
10426
10661
|
question_answering?: MlQuestionAnsweringInferenceOptions;
|
|
10427
10662
|
}
|
|
10428
10663
|
export interface MlInferenceConfigUpdateContainer {
|
|
@@ -10434,6 +10669,7 @@ export interface MlInferenceConfigUpdateContainer {
|
|
|
10434
10669
|
ner?: MlNerInferenceUpdateOptions;
|
|
10435
10670
|
pass_through?: MlPassThroughInferenceUpdateOptions;
|
|
10436
10671
|
text_embedding?: MlTextEmbeddingInferenceUpdateOptions;
|
|
10672
|
+
text_expansion?: MlTextExpansionInferenceUpdateOptions;
|
|
10437
10673
|
question_answering?: MlQuestionAnsweringInferenceUpdateOptions;
|
|
10438
10674
|
}
|
|
10439
10675
|
export interface MlInferenceResponseResult {
|
|
@@ -10709,6 +10945,7 @@ export interface MlTextClassificationInferenceUpdateOptions {
|
|
|
10709
10945
|
classification_labels?: string[];
|
|
10710
10946
|
}
|
|
10711
10947
|
export interface MlTextEmbeddingInferenceOptions {
|
|
10948
|
+
embedding_size?: integer;
|
|
10712
10949
|
tokenization?: MlTokenizationConfigContainer;
|
|
10713
10950
|
results_field?: string;
|
|
10714
10951
|
}
|
|
@@ -10716,6 +10953,14 @@ export interface MlTextEmbeddingInferenceUpdateOptions {
|
|
|
10716
10953
|
tokenization?: MlNlpTokenizationUpdateOptions;
|
|
10717
10954
|
results_field?: string;
|
|
10718
10955
|
}
|
|
10956
|
+
export interface MlTextExpansionInferenceOptions {
|
|
10957
|
+
tokenization?: MlTokenizationConfigContainer;
|
|
10958
|
+
results_field?: string;
|
|
10959
|
+
}
|
|
10960
|
+
export interface MlTextExpansionInferenceUpdateOptions {
|
|
10961
|
+
tokenization?: MlNlpTokenizationUpdateOptions;
|
|
10962
|
+
results_field?: string;
|
|
10963
|
+
}
|
|
10719
10964
|
export interface MlTimingStats {
|
|
10720
10965
|
elapsed_time: DurationValue<UnitMillis>;
|
|
10721
10966
|
iteration_time?: DurationValue<UnitMillis>;
|
|
@@ -10761,6 +11006,7 @@ export interface MlTrainedModelAssignmentRoutingTable {
|
|
|
10761
11006
|
export interface MlTrainedModelAssignmentTaskParameters {
|
|
10762
11007
|
model_bytes: integer;
|
|
10763
11008
|
model_id: Id;
|
|
11009
|
+
deployment_id: Id;
|
|
10764
11010
|
cache_size: ByteSize;
|
|
10765
11011
|
number_of_allocations: integer;
|
|
10766
11012
|
priority: MlTrainingPriority;
|
|
@@ -10779,7 +11025,8 @@ export interface MlTrainedModelConfig {
|
|
|
10779
11025
|
description?: string;
|
|
10780
11026
|
estimated_heap_memory_usage_bytes?: integer;
|
|
10781
11027
|
estimated_operations?: integer;
|
|
10782
|
-
|
|
11028
|
+
fully_defined?: boolean;
|
|
11029
|
+
inference_config?: MlInferenceConfigCreateContainer;
|
|
10783
11030
|
input: MlTrainedModelConfigInput;
|
|
10784
11031
|
license_level?: string;
|
|
10785
11032
|
metadata?: MlTrainedModelConfigMetadata;
|
|
@@ -10817,6 +11064,7 @@ export interface MlTrainedModelDeploymentNodesStats {
|
|
|
10817
11064
|
export interface MlTrainedModelDeploymentStats {
|
|
10818
11065
|
allocation_status: MlTrainedModelDeploymentAllocationStatus;
|
|
10819
11066
|
cache_size?: ByteSize;
|
|
11067
|
+
deployment_id: Id;
|
|
10820
11068
|
error_count: integer;
|
|
10821
11069
|
inference_count: integer;
|
|
10822
11070
|
model_id: Id;
|
|
@@ -11466,9 +11714,7 @@ export interface MlPreviewDatafeedRequest extends RequestBase {
|
|
|
11466
11714
|
datafeed_config?: MlDatafeedConfig;
|
|
11467
11715
|
job_config?: MlJobConfig;
|
|
11468
11716
|
}
|
|
11469
|
-
export
|
|
11470
|
-
data: TDocument[];
|
|
11471
|
-
}
|
|
11717
|
+
export type MlPreviewDatafeedResponse<TDocument = unknown> = TDocument[];
|
|
11472
11718
|
export interface MlPutCalendarRequest extends RequestBase {
|
|
11473
11719
|
calendar_id: Id;
|
|
11474
11720
|
job_ids?: Id[];
|
|
@@ -12875,6 +13121,73 @@ export interface RollupStopJobRequest extends RequestBase {
|
|
|
12875
13121
|
export interface RollupStopJobResponse {
|
|
12876
13122
|
stopped: boolean;
|
|
12877
13123
|
}
|
|
13124
|
+
export interface SearchApplicationAnalyticsCollection {
|
|
13125
|
+
event_data_stream: SearchApplicationEventDataStream;
|
|
13126
|
+
}
|
|
13127
|
+
export interface SearchApplicationEventDataStream {
|
|
13128
|
+
name: IndexName;
|
|
13129
|
+
}
|
|
13130
|
+
export interface SearchApplicationSearchApplication {
|
|
13131
|
+
name: Name;
|
|
13132
|
+
indices: IndexName[];
|
|
13133
|
+
updated_at_millis: EpochTime<UnitMillis>;
|
|
13134
|
+
analytics_collection_name?: Name;
|
|
13135
|
+
template?: SearchApplicationSearchApplicationTemplate;
|
|
13136
|
+
}
|
|
13137
|
+
export interface SearchApplicationSearchApplicationTemplate {
|
|
13138
|
+
script: InlineScript | string;
|
|
13139
|
+
}
|
|
13140
|
+
export interface SearchApplicationDeleteRequest extends RequestBase {
|
|
13141
|
+
name: Name;
|
|
13142
|
+
}
|
|
13143
|
+
export type SearchApplicationDeleteResponse = AcknowledgedResponseBase;
|
|
13144
|
+
export interface SearchApplicationDeleteBehavioralAnalyticsRequest extends RequestBase {
|
|
13145
|
+
name: Name;
|
|
13146
|
+
}
|
|
13147
|
+
export type SearchApplicationDeleteBehavioralAnalyticsResponse = AcknowledgedResponseBase;
|
|
13148
|
+
export interface SearchApplicationGetRequest extends RequestBase {
|
|
13149
|
+
name: Name;
|
|
13150
|
+
}
|
|
13151
|
+
export type SearchApplicationGetResponse = SearchApplicationSearchApplication;
|
|
13152
|
+
export interface SearchApplicationGetBehavioralAnalyticsRequest extends RequestBase {
|
|
13153
|
+
name?: Name[];
|
|
13154
|
+
}
|
|
13155
|
+
export type SearchApplicationGetBehavioralAnalyticsResponse = Record<Name, SearchApplicationAnalyticsCollection>;
|
|
13156
|
+
export interface SearchApplicationListRequest extends RequestBase {
|
|
13157
|
+
q?: string;
|
|
13158
|
+
from?: integer;
|
|
13159
|
+
size?: integer;
|
|
13160
|
+
}
|
|
13161
|
+
export interface SearchApplicationListResponse {
|
|
13162
|
+
count: long;
|
|
13163
|
+
results: SearchApplicationListSearchApplicationListItem[];
|
|
13164
|
+
}
|
|
13165
|
+
export interface SearchApplicationListSearchApplicationListItem {
|
|
13166
|
+
name: Name;
|
|
13167
|
+
indices: IndexName[];
|
|
13168
|
+
updated_at_millis: EpochTime<UnitMillis>;
|
|
13169
|
+
analytics_collection_name?: Name;
|
|
13170
|
+
}
|
|
13171
|
+
export interface SearchApplicationPutRequest extends RequestBase {
|
|
13172
|
+
name: Name;
|
|
13173
|
+
create?: boolean;
|
|
13174
|
+
search_application?: SearchApplicationSearchApplication;
|
|
13175
|
+
}
|
|
13176
|
+
export interface SearchApplicationPutResponse {
|
|
13177
|
+
result: Result;
|
|
13178
|
+
}
|
|
13179
|
+
export interface SearchApplicationPutBehavioralAnalyticsAnalyticsAcknowledgeResponseBase extends AcknowledgedResponseBase {
|
|
13180
|
+
name: Name;
|
|
13181
|
+
}
|
|
13182
|
+
export interface SearchApplicationPutBehavioralAnalyticsRequest extends RequestBase {
|
|
13183
|
+
name: Name;
|
|
13184
|
+
}
|
|
13185
|
+
export type SearchApplicationPutBehavioralAnalyticsResponse = SearchApplicationPutBehavioralAnalyticsAnalyticsAcknowledgeResponseBase;
|
|
13186
|
+
export interface SearchApplicationSearchRequest extends RequestBase {
|
|
13187
|
+
name: Name;
|
|
13188
|
+
params?: Record<string, any>;
|
|
13189
|
+
}
|
|
13190
|
+
export type SearchApplicationSearchResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = SearchResponseBody<TDocument, TAggregations>;
|
|
12878
13191
|
export type SearchableSnapshotsStatsLevel = 'cluster' | 'indices' | 'shards';
|
|
12879
13192
|
export interface SearchableSnapshotsCacheStatsNode {
|
|
12880
13193
|
shared_cache: SearchableSnapshotsCacheStatsShared;
|
|
@@ -12956,7 +13269,7 @@ export interface SecurityApplicationPrivileges {
|
|
|
12956
13269
|
export interface SecurityClusterNode {
|
|
12957
13270
|
name: Name;
|
|
12958
13271
|
}
|
|
12959
|
-
export type SecurityClusterPrivilege = 'all' | 'cancel_task' | 'create_snapshot' | 'grant_api_key' | 'manage' | 'manage_api_key' | 'manage_ccr' | 'manage_enrich' | 'manage_ilm' | 'manage_index_templates' | 'manage_ingest_pipelines' | 'manage_logstash_pipelines' | 'manage_ml' | 'manage_oidc' | 'manage_own_api_key' | 'manage_pipeline' | 'manage_rollup' | 'manage_saml' | 'manage_security' | 'manage_service_account' | 'manage_slm' | 'manage_token' | 'manage_transform' | 'manage_user_profile' | 'manage_watcher' | 'monitor' | 'monitor_ml' | 'monitor_rollup' | 'monitor_snapshot' | 'monitor_text_structure' | 'monitor_transform' | 'monitor_watcher' | 'read_ccr' | 'read_ilm' | 'read_pipeline' | 'read_slm' | 'transport_client';
|
|
13272
|
+
export type SecurityClusterPrivilege = 'all' | 'cancel_task' | 'create_snapshot' | 'grant_api_key' | 'manage' | 'manage_api_key' | 'manage_ccr' | 'manage_enrich' | 'manage_ilm' | 'manage_index_templates' | 'manage_ingest_pipelines' | 'manage_logstash_pipelines' | 'manage_ml' | 'manage_oidc' | 'manage_own_api_key' | 'manage_pipeline' | 'manage_rollup' | 'manage_saml' | 'manage_security' | 'manage_service_account' | 'manage_slm' | 'manage_token' | 'manage_transform' | 'manage_user_profile' | 'manage_watcher' | 'monitor' | 'monitor_ml' | 'monitor_rollup' | 'monitor_snapshot' | 'monitor_text_structure' | 'monitor_transform' | 'monitor_watcher' | 'read_ccr' | 'read_ilm' | 'read_pipeline' | 'read_slm' | 'transport_client' | string;
|
|
12960
13273
|
export interface SecurityCreatedStatus {
|
|
12961
13274
|
created: boolean;
|
|
12962
13275
|
}
|
|
@@ -12975,9 +13288,9 @@ export interface SecurityGlobalPrivilege {
|
|
|
12975
13288
|
application: SecurityApplicationGlobalUserPrivileges;
|
|
12976
13289
|
}
|
|
12977
13290
|
export type SecurityGrantType = 'password' | 'access_token';
|
|
12978
|
-
export type SecurityIndexPrivilege = 'none' | 'all' | 'auto_configure' | 'create' | 'create_doc' | 'create_index' | 'delete' | 'delete_index' | 'index' | 'maintenance' | 'manage' | 'manage_follow_index' | 'manage_ilm' | 'manage_leader_index' | 'monitor' | 'read' | 'read_cross_cluster' | 'view_index_metadata' | 'write';
|
|
13291
|
+
export type SecurityIndexPrivilege = 'none' | 'all' | 'auto_configure' | 'create' | 'create_doc' | 'create_index' | 'delete' | 'delete_index' | 'index' | 'maintenance' | 'manage' | 'manage_follow_index' | 'manage_ilm' | 'manage_leader_index' | 'monitor' | 'read' | 'read_cross_cluster' | 'view_index_metadata' | 'write' | string;
|
|
12979
13292
|
export interface SecurityIndicesPrivileges {
|
|
12980
|
-
field_security?: SecurityFieldSecurity
|
|
13293
|
+
field_security?: SecurityFieldSecurity;
|
|
12981
13294
|
names: Indices;
|
|
12982
13295
|
privileges: SecurityIndexPrivilege[];
|
|
12983
13296
|
query?: SecurityIndicesPrivilegesQuery;
|
|
@@ -13875,7 +14188,7 @@ export interface SnapshotSnapshotInfo {
|
|
|
13875
14188
|
}
|
|
13876
14189
|
export interface SnapshotSnapshotShardFailure {
|
|
13877
14190
|
index: IndexName;
|
|
13878
|
-
node_id
|
|
14191
|
+
node_id?: Id;
|
|
13879
14192
|
reason: string;
|
|
13880
14193
|
shard_id: Id;
|
|
13881
14194
|
status: string;
|
|
@@ -14000,6 +14313,7 @@ export interface SnapshotRestoreRequest extends RequestBase {
|
|
|
14000
14313
|
snapshot: Name;
|
|
14001
14314
|
master_timeout?: Duration;
|
|
14002
14315
|
wait_for_completion?: boolean;
|
|
14316
|
+
feature_states?: string[];
|
|
14003
14317
|
ignore_index_settings?: string[];
|
|
14004
14318
|
ignore_unavailable?: boolean;
|
|
14005
14319
|
include_aliases?: boolean;
|
|
@@ -14455,9 +14769,15 @@ export interface TransformResetTransformRequest extends RequestBase {
|
|
|
14455
14769
|
force?: boolean;
|
|
14456
14770
|
}
|
|
14457
14771
|
export type TransformResetTransformResponse = AcknowledgedResponseBase;
|
|
14772
|
+
export interface TransformScheduleNowTransformRequest extends RequestBase {
|
|
14773
|
+
transform_id: Id;
|
|
14774
|
+
timeout?: Duration;
|
|
14775
|
+
}
|
|
14776
|
+
export type TransformScheduleNowTransformResponse = AcknowledgedResponseBase;
|
|
14458
14777
|
export interface TransformStartTransformRequest extends RequestBase {
|
|
14459
14778
|
transform_id: Id;
|
|
14460
14779
|
timeout?: Duration;
|
|
14780
|
+
from?: string;
|
|
14461
14781
|
}
|
|
14462
14782
|
export type TransformStartTransformResponse = AcknowledgedResponseBase;
|
|
14463
14783
|
export interface TransformStopTransformRequest extends RequestBase {
|