@elastic/elasticsearch 8.6.0 → 8.6.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/.projections.json +7 -0
- package/.tool-versions +1 -0
- package/free-report-junit.xml +0 -0
- package/junit-output/junit-foobar.xml +13947 -0
- package/lib/api/types.d.ts +574 -574
- package/lib/api/typesWithBodyKey.d.ts +574 -574
- package/lib/client.js +4 -1
- package/lib/client.js.map +1 -1
- package/lib/helpers/esql.d.ts +3 -0
- package/lib/helpers/esql.js +31 -0
- package/lib/helpers/esql.js.map +1 -0
- package/lib/helpers.d.ts +2 -2
- package/package.json +3 -3
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* If it's critical for you, please open an issue.
|
|
4
4
|
* https://github.com/elastic/elasticsearch-js
|
|
5
5
|
*/
|
|
6
|
-
export
|
|
6
|
+
export type TODO = Record<string, any>;
|
|
7
7
|
export interface BulkCreateOperation extends BulkWriteOperation {
|
|
8
8
|
}
|
|
9
9
|
export interface BulkDeleteOperation extends BulkOperationBase {
|
|
@@ -25,7 +25,7 @@ export interface BulkOperationContainer {
|
|
|
25
25
|
update?: BulkUpdateOperation;
|
|
26
26
|
delete?: BulkDeleteOperation;
|
|
27
27
|
}
|
|
28
|
-
export
|
|
28
|
+
export type BulkOperationType = 'index' | 'create' | 'update' | 'delete';
|
|
29
29
|
export interface BulkRequest<TDocument = unknown, TPartialDocument = unknown> extends RequestBase {
|
|
30
30
|
index?: IndexName;
|
|
31
31
|
pipeline?: string;
|
|
@@ -136,7 +136,7 @@ export interface CreateRequest<TDocument = unknown> extends RequestBase {
|
|
|
136
136
|
/** @deprecated The use of the 'body' key has been deprecated, use 'document' instead. */
|
|
137
137
|
body?: TDocument;
|
|
138
138
|
}
|
|
139
|
-
export
|
|
139
|
+
export type CreateResponse = WriteResponseBase;
|
|
140
140
|
export interface DeleteRequest extends RequestBase {
|
|
141
141
|
id: Id;
|
|
142
142
|
index: IndexName;
|
|
@@ -149,7 +149,7 @@ export interface DeleteRequest extends RequestBase {
|
|
|
149
149
|
version_type?: VersionType;
|
|
150
150
|
wait_for_active_shards?: WaitForActiveShards;
|
|
151
151
|
}
|
|
152
|
-
export
|
|
152
|
+
export type DeleteResponse = WriteResponseBase;
|
|
153
153
|
export interface DeleteByQueryRequest extends RequestBase {
|
|
154
154
|
index: Indices;
|
|
155
155
|
allow_no_indices?: boolean;
|
|
@@ -209,13 +209,13 @@ export interface DeleteByQueryRethrottleRequest extends RequestBase {
|
|
|
209
209
|
task_id: Id;
|
|
210
210
|
requests_per_second?: float;
|
|
211
211
|
}
|
|
212
|
-
export
|
|
212
|
+
export type DeleteByQueryRethrottleResponse = TasksTaskListResponseBase;
|
|
213
213
|
export interface DeleteScriptRequest extends RequestBase {
|
|
214
214
|
id: Id;
|
|
215
215
|
master_timeout?: Duration;
|
|
216
216
|
timeout?: Duration;
|
|
217
217
|
}
|
|
218
|
-
export
|
|
218
|
+
export type DeleteScriptResponse = AcknowledgedResponseBase;
|
|
219
219
|
export interface ExistsRequest extends RequestBase {
|
|
220
220
|
id: Id;
|
|
221
221
|
index: IndexName;
|
|
@@ -230,7 +230,7 @@ export interface ExistsRequest extends RequestBase {
|
|
|
230
230
|
version?: VersionNumber;
|
|
231
231
|
version_type?: VersionType;
|
|
232
232
|
}
|
|
233
|
-
export
|
|
233
|
+
export type ExistsResponse = boolean;
|
|
234
234
|
export interface ExistsSourceRequest extends RequestBase {
|
|
235
235
|
id: Id;
|
|
236
236
|
index: IndexName;
|
|
@@ -244,7 +244,7 @@ export interface ExistsSourceRequest extends RequestBase {
|
|
|
244
244
|
version?: VersionNumber;
|
|
245
245
|
version_type?: VersionType;
|
|
246
246
|
}
|
|
247
|
-
export
|
|
247
|
+
export type ExistsSourceResponse = boolean;
|
|
248
248
|
export interface ExplainExplanation {
|
|
249
249
|
description: string;
|
|
250
250
|
details: ExplainExplanationDetail[];
|
|
@@ -340,7 +340,7 @@ export interface GetRequest extends RequestBase {
|
|
|
340
340
|
version?: VersionNumber;
|
|
341
341
|
version_type?: VersionType;
|
|
342
342
|
}
|
|
343
|
-
export
|
|
343
|
+
export type GetResponse<TDocument = unknown> = GetGetResult<TDocument>;
|
|
344
344
|
export interface GetScriptRequest extends RequestBase {
|
|
345
345
|
id: Id;
|
|
346
346
|
master_timeout?: Duration;
|
|
@@ -392,7 +392,7 @@ export interface GetSourceRequest extends RequestBase {
|
|
|
392
392
|
version?: VersionNumber;
|
|
393
393
|
version_type?: VersionType;
|
|
394
394
|
}
|
|
395
|
-
export
|
|
395
|
+
export type GetSourceResponse<TDocument = unknown> = TDocument;
|
|
396
396
|
export interface IndexRequest<TDocument = unknown> extends RequestBase {
|
|
397
397
|
id?: Id;
|
|
398
398
|
index: IndexName;
|
|
@@ -410,7 +410,7 @@ export interface IndexRequest<TDocument = unknown> extends RequestBase {
|
|
|
410
410
|
/** @deprecated The use of the 'body' key has been deprecated, use 'document' instead. */
|
|
411
411
|
body?: TDocument;
|
|
412
412
|
}
|
|
413
|
-
export
|
|
413
|
+
export type IndexResponse = WriteResponseBase;
|
|
414
414
|
export interface InfoRequest extends RequestBase {
|
|
415
415
|
}
|
|
416
416
|
export interface InfoResponse {
|
|
@@ -447,7 +447,7 @@ export interface KnnSearchQuery {
|
|
|
447
447
|
k: long;
|
|
448
448
|
num_candidates: long;
|
|
449
449
|
}
|
|
450
|
-
export
|
|
450
|
+
export type KnnSearchQueryVector = double[];
|
|
451
451
|
export interface MgetMultiGetError {
|
|
452
452
|
error: ErrorCause;
|
|
453
453
|
_id: Id;
|
|
@@ -481,7 +481,7 @@ export interface MgetRequest extends RequestBase {
|
|
|
481
481
|
export interface MgetResponse<TDocument = unknown> {
|
|
482
482
|
docs: MgetResponseItem<TDocument>[];
|
|
483
483
|
}
|
|
484
|
-
export
|
|
484
|
+
export type MgetResponseItem<TDocument = unknown> = GetGetResult<TDocument> | MgetMultiGetError;
|
|
485
485
|
export interface MsearchMultiSearchItem<TDocument = unknown> extends SearchResponseBody<TDocument> {
|
|
486
486
|
status?: integer;
|
|
487
487
|
}
|
|
@@ -553,9 +553,9 @@ export interface MsearchRequest extends RequestBase {
|
|
|
553
553
|
/** @deprecated The use of the 'body' key has been deprecated, use 'searches' instead. */
|
|
554
554
|
body?: MsearchRequestItem[];
|
|
555
555
|
}
|
|
556
|
-
export
|
|
557
|
-
export
|
|
558
|
-
export
|
|
556
|
+
export type MsearchRequestItem = MsearchMultisearchHeader | MsearchMultisearchBody;
|
|
557
|
+
export type MsearchResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = MsearchMultiSearchResult<TDocument>;
|
|
558
|
+
export type MsearchResponseItem<TDocument = unknown> = MsearchMultiSearchItem<TDocument> | ErrorResponseBase;
|
|
559
559
|
export interface MsearchTemplateRequest extends RequestBase {
|
|
560
560
|
index?: Indices;
|
|
561
561
|
ccs_minimize_roundtrips?: boolean;
|
|
@@ -566,8 +566,8 @@ export interface MsearchTemplateRequest extends RequestBase {
|
|
|
566
566
|
/** @deprecated The use of the 'body' key has been deprecated, use 'search_templates' instead. */
|
|
567
567
|
body?: MsearchTemplateRequestItem[];
|
|
568
568
|
}
|
|
569
|
-
export
|
|
570
|
-
export
|
|
569
|
+
export type MsearchTemplateRequestItem = MsearchMultisearchHeader | MsearchTemplateTemplateConfig;
|
|
570
|
+
export type MsearchTemplateResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = MsearchMultiSearchResult<TDocument>;
|
|
571
571
|
export interface MsearchTemplateTemplateConfig {
|
|
572
572
|
explain?: boolean;
|
|
573
573
|
id?: Id;
|
|
@@ -631,7 +631,7 @@ export interface OpenPointInTimeResponse {
|
|
|
631
631
|
}
|
|
632
632
|
export interface PingRequest extends RequestBase {
|
|
633
633
|
}
|
|
634
|
-
export
|
|
634
|
+
export type PingResponse = boolean;
|
|
635
635
|
export interface PutScriptRequest extends RequestBase {
|
|
636
636
|
id: Id;
|
|
637
637
|
context?: Name;
|
|
@@ -642,7 +642,7 @@ export interface PutScriptRequest extends RequestBase {
|
|
|
642
642
|
script: StoredScript;
|
|
643
643
|
};
|
|
644
644
|
}
|
|
645
|
-
export
|
|
645
|
+
export type PutScriptResponse = AcknowledgedResponseBase;
|
|
646
646
|
export interface RankEvalDocumentRating {
|
|
647
647
|
_id: Id;
|
|
648
648
|
_index: IndexName;
|
|
@@ -857,7 +857,7 @@ export interface ScrollRequest extends RequestBase {
|
|
|
857
857
|
scroll_id: ScrollId;
|
|
858
858
|
};
|
|
859
859
|
}
|
|
860
|
-
export
|
|
860
|
+
export type ScrollResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = SearchResponseBody<TDocument, TAggregations>;
|
|
861
861
|
export interface SearchRequest extends RequestBase {
|
|
862
862
|
index?: Indices;
|
|
863
863
|
allow_no_indices?: boolean;
|
|
@@ -926,7 +926,7 @@ export interface SearchRequest extends RequestBase {
|
|
|
926
926
|
stats?: string[];
|
|
927
927
|
};
|
|
928
928
|
}
|
|
929
|
-
export
|
|
929
|
+
export type SearchResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = SearchResponseBody<TDocument, TAggregations>;
|
|
930
930
|
export interface SearchResponseBody<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> {
|
|
931
931
|
took: long;
|
|
932
932
|
timed_out: boolean;
|
|
@@ -999,7 +999,7 @@ export interface SearchAggregationProfileDelegateDebugFilter {
|
|
|
999
999
|
query?: string;
|
|
1000
1000
|
specialized_for?: string;
|
|
1001
1001
|
}
|
|
1002
|
-
export
|
|
1002
|
+
export type SearchBoundaryScanner = 'chars' | 'sentence' | 'word';
|
|
1003
1003
|
export interface SearchCollector {
|
|
1004
1004
|
name: string;
|
|
1005
1005
|
reason: string;
|
|
@@ -1035,7 +1035,7 @@ export interface SearchCompletionSuggester extends SearchSuggesterBase {
|
|
|
1035
1035
|
regex?: string;
|
|
1036
1036
|
skip_duplicates?: boolean;
|
|
1037
1037
|
}
|
|
1038
|
-
export
|
|
1038
|
+
export type SearchContext = string | GeoLocation;
|
|
1039
1039
|
export interface SearchDirectGenerator {
|
|
1040
1040
|
field: Field;
|
|
1041
1041
|
max_edits?: integer;
|
|
@@ -1114,11 +1114,11 @@ export interface SearchHighlightField extends SearchHighlightBase {
|
|
|
1114
1114
|
fragment_offset?: integer;
|
|
1115
1115
|
matched_fields?: Fields;
|
|
1116
1116
|
}
|
|
1117
|
-
export
|
|
1118
|
-
export
|
|
1119
|
-
export
|
|
1120
|
-
export
|
|
1121
|
-
export
|
|
1117
|
+
export type SearchHighlighterEncoder = 'default' | 'html';
|
|
1118
|
+
export type SearchHighlighterFragmenter = 'simple' | 'span';
|
|
1119
|
+
export type SearchHighlighterOrder = 'score';
|
|
1120
|
+
export type SearchHighlighterTagsSchema = 'styled';
|
|
1121
|
+
export type SearchHighlighterType = 'plain' | 'fvh' | 'unified' | string;
|
|
1122
1122
|
export interface SearchHit<TDocument = unknown> {
|
|
1123
1123
|
_index: IndexName;
|
|
1124
1124
|
_id: Id;
|
|
@@ -1259,7 +1259,7 @@ export interface SearchRescoreQuery {
|
|
|
1259
1259
|
rescore_query_weight?: double;
|
|
1260
1260
|
score_mode?: SearchScoreMode;
|
|
1261
1261
|
}
|
|
1262
|
-
export
|
|
1262
|
+
export type SearchScoreMode = 'avg' | 'max' | 'min' | 'multiply' | 'total';
|
|
1263
1263
|
export interface SearchSearchProfile {
|
|
1264
1264
|
collector: SearchCollector[];
|
|
1265
1265
|
query: SearchQueryProfile[];
|
|
@@ -1276,19 +1276,19 @@ export interface SearchSmoothingModelContainer {
|
|
|
1276
1276
|
linear_interpolation?: SearchLinearInterpolationSmoothingModel;
|
|
1277
1277
|
stupid_backoff?: SearchStupidBackoffSmoothingModel;
|
|
1278
1278
|
}
|
|
1279
|
-
export
|
|
1280
|
-
export
|
|
1279
|
+
export type SearchSourceConfig = boolean | SearchSourceFilter | Fields;
|
|
1280
|
+
export type SearchSourceConfigParam = boolean | Fields;
|
|
1281
1281
|
export interface SearchSourceFilter {
|
|
1282
1282
|
excludes?: Fields;
|
|
1283
1283
|
exclude?: Fields;
|
|
1284
1284
|
includes?: Fields;
|
|
1285
1285
|
include?: Fields;
|
|
1286
1286
|
}
|
|
1287
|
-
export
|
|
1287
|
+
export type SearchStringDistance = 'internal' | 'damerau_levenshtein' | 'levenshtein' | 'jaro_winkler' | 'ngram';
|
|
1288
1288
|
export interface SearchStupidBackoffSmoothingModel {
|
|
1289
1289
|
discount: double;
|
|
1290
1290
|
}
|
|
1291
|
-
export
|
|
1291
|
+
export type SearchSuggest<TDocument = unknown> = SearchCompletionSuggest<TDocument> | SearchPhraseSuggest | SearchTermSuggest;
|
|
1292
1292
|
export interface SearchSuggestBase {
|
|
1293
1293
|
length: integer;
|
|
1294
1294
|
offset: integer;
|
|
@@ -1301,11 +1301,11 @@ export interface SearchSuggestFuzziness {
|
|
|
1301
1301
|
transpositions?: boolean;
|
|
1302
1302
|
unicode_aware?: boolean;
|
|
1303
1303
|
}
|
|
1304
|
-
export
|
|
1304
|
+
export type SearchSuggestSort = 'score' | 'frequency';
|
|
1305
1305
|
export interface SearchSuggesterKeys {
|
|
1306
1306
|
text?: string;
|
|
1307
1307
|
}
|
|
1308
|
-
export
|
|
1308
|
+
export type SearchSuggester = SearchSuggesterKeys & {
|
|
1309
1309
|
[property: string]: SearchFieldSuggester | string;
|
|
1310
1310
|
};
|
|
1311
1311
|
export interface SearchSuggesterBase {
|
|
@@ -1339,8 +1339,8 @@ export interface SearchTotalHits {
|
|
|
1339
1339
|
relation: SearchTotalHitsRelation;
|
|
1340
1340
|
value: long;
|
|
1341
1341
|
}
|
|
1342
|
-
export
|
|
1343
|
-
export
|
|
1342
|
+
export type SearchTotalHitsRelation = 'eq' | 'gte';
|
|
1343
|
+
export type SearchTrackHits = boolean | integer;
|
|
1344
1344
|
export interface SearchMvtRequest extends RequestBase {
|
|
1345
1345
|
index: Indices;
|
|
1346
1346
|
field: Field;
|
|
@@ -1362,10 +1362,10 @@ export interface SearchMvtRequest extends RequestBase {
|
|
|
1362
1362
|
track_total_hits?: SearchTrackHits;
|
|
1363
1363
|
};
|
|
1364
1364
|
}
|
|
1365
|
-
export
|
|
1366
|
-
export
|
|
1367
|
-
export
|
|
1368
|
-
export
|
|
1365
|
+
export type SearchMvtResponse = MapboxVectorTiles;
|
|
1366
|
+
export type SearchMvtCoordinate = integer;
|
|
1367
|
+
export type SearchMvtGridType = 'grid' | 'point' | 'centroid';
|
|
1368
|
+
export type SearchMvtZoomLevel = integer;
|
|
1369
1369
|
export interface SearchShardsRequest extends RequestBase {
|
|
1370
1370
|
index?: Indices;
|
|
1371
1371
|
allow_no_indices?: boolean;
|
|
@@ -1525,7 +1525,7 @@ export interface UpdateRequest<TDocument = unknown, TPartialDocument = unknown>
|
|
|
1525
1525
|
upsert?: TDocument;
|
|
1526
1526
|
};
|
|
1527
1527
|
}
|
|
1528
|
-
export
|
|
1528
|
+
export type UpdateResponse<TDocument = unknown> = UpdateUpdateWriteResponseBase<TDocument>;
|
|
1529
1529
|
export interface UpdateUpdateWriteResponseBase<TDocument = unknown> extends WriteResponseBase {
|
|
1530
1530
|
get?: InlineGet<TDocument>;
|
|
1531
1531
|
}
|
|
@@ -1604,11 +1604,11 @@ export interface SpecUtilsBaseNode {
|
|
|
1604
1604
|
roles?: NodeRoles;
|
|
1605
1605
|
transport_address: TransportAddress;
|
|
1606
1606
|
}
|
|
1607
|
-
export
|
|
1607
|
+
export type SpecUtilsStringified<T = unknown> = T | string;
|
|
1608
1608
|
export interface AcknowledgedResponseBase {
|
|
1609
1609
|
acknowledged: boolean;
|
|
1610
1610
|
}
|
|
1611
|
-
export
|
|
1611
|
+
export type AggregateName = string;
|
|
1612
1612
|
export interface BulkIndexByScrollFailure {
|
|
1613
1613
|
cause: ErrorCause;
|
|
1614
1614
|
id: Id;
|
|
@@ -1627,9 +1627,9 @@ export interface BulkStats {
|
|
|
1627
1627
|
avg_size?: ByteSize;
|
|
1628
1628
|
avg_size_in_bytes: long;
|
|
1629
1629
|
}
|
|
1630
|
-
export
|
|
1631
|
-
export
|
|
1632
|
-
export
|
|
1630
|
+
export type ByteSize = long | string;
|
|
1631
|
+
export type Bytes = 'b' | 'kb' | 'mb' | 'gb' | 'tb' | 'pb';
|
|
1632
|
+
export type CategoryId = string;
|
|
1633
1633
|
export interface ClusterStatistics {
|
|
1634
1634
|
skipped: integer;
|
|
1635
1635
|
successful: integer;
|
|
@@ -1640,30 +1640,30 @@ export interface CompletionStats {
|
|
|
1640
1640
|
size?: ByteSize;
|
|
1641
1641
|
fields?: Record<Field, FieldSizeUsage>;
|
|
1642
1642
|
}
|
|
1643
|
-
export
|
|
1643
|
+
export type Conflicts = 'abort' | 'proceed';
|
|
1644
1644
|
export interface CoordsGeoBounds {
|
|
1645
1645
|
top: double;
|
|
1646
1646
|
bottom: double;
|
|
1647
1647
|
left: double;
|
|
1648
1648
|
right: double;
|
|
1649
1649
|
}
|
|
1650
|
-
export
|
|
1651
|
-
export
|
|
1652
|
-
export
|
|
1653
|
-
export
|
|
1654
|
-
export
|
|
1655
|
-
export
|
|
1656
|
-
export
|
|
1657
|
-
export
|
|
1658
|
-
export
|
|
1659
|
-
export
|
|
1650
|
+
export type DFIIndependenceMeasure = 'standardized' | 'saturated' | 'chisquared';
|
|
1651
|
+
export type DFRAfterEffect = 'no' | 'b' | 'l';
|
|
1652
|
+
export type DFRBasicModel = 'be' | 'd' | 'g' | 'if' | 'in' | 'ine' | 'p';
|
|
1653
|
+
export type DataStreamName = string;
|
|
1654
|
+
export type DataStreamNames = DataStreamName | DataStreamName[];
|
|
1655
|
+
export type DateFormat = string;
|
|
1656
|
+
export type DateMath = string;
|
|
1657
|
+
export type DateTime = string | EpochTime<UnitMillis>;
|
|
1658
|
+
export type Distance = string;
|
|
1659
|
+
export type DistanceUnit = 'in' | 'ft' | 'yd' | 'mi' | 'nmi' | 'km' | 'm' | 'cm' | 'mm';
|
|
1660
1660
|
export interface DocStats {
|
|
1661
1661
|
count: long;
|
|
1662
1662
|
deleted?: long;
|
|
1663
1663
|
}
|
|
1664
|
-
export
|
|
1665
|
-
export
|
|
1666
|
-
export
|
|
1664
|
+
export type Duration = string | -1 | 0;
|
|
1665
|
+
export type DurationLarge = string;
|
|
1666
|
+
export type DurationValue<Unit = unknown> = Unit;
|
|
1667
1667
|
export interface ElasticsearchVersionInfo {
|
|
1668
1668
|
build_date: DateTime;
|
|
1669
1669
|
build_flavor: string;
|
|
@@ -1677,7 +1677,7 @@ export interface ElasticsearchVersionInfo {
|
|
|
1677
1677
|
}
|
|
1678
1678
|
export interface EmptyObject {
|
|
1679
1679
|
}
|
|
1680
|
-
export
|
|
1680
|
+
export type EpochTime<Unit = unknown> = Unit;
|
|
1681
1681
|
export interface ErrorCauseKeys {
|
|
1682
1682
|
type: string;
|
|
1683
1683
|
reason?: string;
|
|
@@ -1686,16 +1686,16 @@ export interface ErrorCauseKeys {
|
|
|
1686
1686
|
root_cause?: ErrorCause[];
|
|
1687
1687
|
suppressed?: ErrorCause[];
|
|
1688
1688
|
}
|
|
1689
|
-
export
|
|
1689
|
+
export type ErrorCause = ErrorCauseKeys & {
|
|
1690
1690
|
[property: string]: any;
|
|
1691
1691
|
};
|
|
1692
1692
|
export interface ErrorResponseBase {
|
|
1693
1693
|
error: ErrorCause;
|
|
1694
1694
|
status: integer;
|
|
1695
1695
|
}
|
|
1696
|
-
export
|
|
1697
|
-
export
|
|
1698
|
-
export
|
|
1696
|
+
export type ExpandWildcard = 'all' | 'open' | 'closed' | 'hidden' | 'none';
|
|
1697
|
+
export type ExpandWildcards = ExpandWildcard | ExpandWildcard[];
|
|
1698
|
+
export type Field = string;
|
|
1699
1699
|
export interface FieldMemoryUsage {
|
|
1700
1700
|
memory_size?: ByteSize;
|
|
1701
1701
|
memory_size_in_bytes: long;
|
|
@@ -1713,23 +1713,23 @@ export interface FieldSort {
|
|
|
1713
1713
|
numeric_type?: FieldSortNumericType;
|
|
1714
1714
|
format?: string;
|
|
1715
1715
|
}
|
|
1716
|
-
export
|
|
1717
|
-
export
|
|
1716
|
+
export type FieldSortNumericType = 'long' | 'double' | 'date' | 'date_nanos';
|
|
1717
|
+
export type FieldValue = long | double | string | boolean | any;
|
|
1718
1718
|
export interface FielddataStats {
|
|
1719
1719
|
evictions?: long;
|
|
1720
1720
|
memory_size?: ByteSize;
|
|
1721
1721
|
memory_size_in_bytes: long;
|
|
1722
1722
|
fields?: Record<Field, FieldMemoryUsage>;
|
|
1723
1723
|
}
|
|
1724
|
-
export
|
|
1724
|
+
export type Fields = Field | Field[];
|
|
1725
1725
|
export interface FlushStats {
|
|
1726
1726
|
periodic: long;
|
|
1727
1727
|
total: long;
|
|
1728
1728
|
total_time?: Duration;
|
|
1729
1729
|
total_time_in_millis: DurationValue<UnitMillis>;
|
|
1730
1730
|
}
|
|
1731
|
-
export
|
|
1732
|
-
export
|
|
1731
|
+
export type Fuzziness = string | integer;
|
|
1732
|
+
export type GeoBounds = CoordsGeoBounds | TopLeftBottomRightGeoBounds | TopRightBottomLeftGeoBounds | WktGeoBounds;
|
|
1733
1733
|
export interface GeoDistanceSortKeys {
|
|
1734
1734
|
mode?: SortMode;
|
|
1735
1735
|
distance_type?: GeoDistanceType;
|
|
@@ -1737,24 +1737,24 @@ export interface GeoDistanceSortKeys {
|
|
|
1737
1737
|
order?: SortOrder;
|
|
1738
1738
|
unit?: DistanceUnit;
|
|
1739
1739
|
}
|
|
1740
|
-
export
|
|
1740
|
+
export type GeoDistanceSort = GeoDistanceSortKeys & {
|
|
1741
1741
|
[property: string]: GeoLocation | GeoLocation[] | SortMode | GeoDistanceType | boolean | SortOrder | DistanceUnit;
|
|
1742
1742
|
};
|
|
1743
|
-
export
|
|
1744
|
-
export
|
|
1743
|
+
export type GeoDistanceType = 'arc' | 'plane';
|
|
1744
|
+
export type GeoHash = string;
|
|
1745
1745
|
export interface GeoHashLocation {
|
|
1746
1746
|
geohash: GeoHash;
|
|
1747
1747
|
}
|
|
1748
|
-
export
|
|
1748
|
+
export type GeoHashPrecision = number | string;
|
|
1749
1749
|
export interface GeoLine {
|
|
1750
1750
|
type: string;
|
|
1751
1751
|
coordinates: double[][];
|
|
1752
1752
|
}
|
|
1753
|
-
export
|
|
1754
|
-
export
|
|
1755
|
-
export
|
|
1756
|
-
export
|
|
1757
|
-
export
|
|
1753
|
+
export type GeoLocation = LatLonGeoLocation | GeoHashLocation | double[] | string;
|
|
1754
|
+
export type GeoShape = any;
|
|
1755
|
+
export type GeoShapeRelation = 'intersects' | 'disjoint' | 'within' | 'contains';
|
|
1756
|
+
export type GeoTile = string;
|
|
1757
|
+
export type GeoTilePrecision = number;
|
|
1758
1758
|
export interface GetStats {
|
|
1759
1759
|
current: long;
|
|
1760
1760
|
exists_time?: Duration;
|
|
@@ -1767,17 +1767,17 @@ export interface GetStats {
|
|
|
1767
1767
|
time_in_millis: DurationValue<UnitMillis>;
|
|
1768
1768
|
total: long;
|
|
1769
1769
|
}
|
|
1770
|
-
export
|
|
1771
|
-
export
|
|
1772
|
-
export
|
|
1773
|
-
export
|
|
1774
|
-
export
|
|
1775
|
-
export
|
|
1776
|
-
export
|
|
1777
|
-
export
|
|
1778
|
-
export
|
|
1779
|
-
export
|
|
1780
|
-
export
|
|
1770
|
+
export type HealthStatus = 'green' | 'GREEN' | 'yellow' | 'YELLOW' | 'red' | 'RED';
|
|
1771
|
+
export type Host = string;
|
|
1772
|
+
export type HttpHeaders = Record<string, string | string[]>;
|
|
1773
|
+
export type IBDistribution = 'll' | 'spl';
|
|
1774
|
+
export type IBLambda = 'df' | 'ttf';
|
|
1775
|
+
export type Id = string;
|
|
1776
|
+
export type Ids = Id | Id[];
|
|
1777
|
+
export type IndexAlias = string;
|
|
1778
|
+
export type IndexName = string;
|
|
1779
|
+
export type IndexPattern = string;
|
|
1780
|
+
export type IndexPatterns = IndexPattern[];
|
|
1781
1781
|
export interface IndexingStats {
|
|
1782
1782
|
index_current: long;
|
|
1783
1783
|
delete_current: long;
|
|
@@ -1794,7 +1794,7 @@ export interface IndexingStats {
|
|
|
1794
1794
|
index_failed: long;
|
|
1795
1795
|
types?: Record<string, IndexingStats>;
|
|
1796
1796
|
}
|
|
1797
|
-
export
|
|
1797
|
+
export type Indices = IndexName | IndexName[];
|
|
1798
1798
|
export interface IndicesOptions {
|
|
1799
1799
|
allow_no_indices?: boolean;
|
|
1800
1800
|
expand_wildcards?: ExpandWildcards;
|
|
@@ -1812,7 +1812,7 @@ export interface InlineGetKeys<TDocument = unknown> {
|
|
|
1812
1812
|
_routing?: Routing;
|
|
1813
1813
|
_source: TDocument;
|
|
1814
1814
|
}
|
|
1815
|
-
export
|
|
1815
|
+
export type InlineGet<TDocument = unknown> = InlineGetKeys<TDocument> & {
|
|
1816
1816
|
[property: string]: any;
|
|
1817
1817
|
};
|
|
1818
1818
|
export interface InlineScript extends ScriptBase {
|
|
@@ -1820,7 +1820,7 @@ export interface InlineScript extends ScriptBase {
|
|
|
1820
1820
|
options?: Record<string, string>;
|
|
1821
1821
|
source: string;
|
|
1822
1822
|
}
|
|
1823
|
-
export
|
|
1823
|
+
export type Ip = string;
|
|
1824
1824
|
export interface KnnQuery {
|
|
1825
1825
|
field: Field;
|
|
1826
1826
|
query_vector: double[];
|
|
@@ -1833,9 +1833,9 @@ export interface LatLonGeoLocation {
|
|
|
1833
1833
|
lat: double;
|
|
1834
1834
|
lon: double;
|
|
1835
1835
|
}
|
|
1836
|
-
export
|
|
1837
|
-
export
|
|
1838
|
-
export
|
|
1836
|
+
export type Level = 'cluster' | 'indices' | 'shards';
|
|
1837
|
+
export type LifecycleOperationMode = 'RUNNING' | 'STOPPING' | 'STOPPED';
|
|
1838
|
+
export type MapboxVectorTiles = ArrayBuffer;
|
|
1839
1839
|
export interface MergesStats {
|
|
1840
1840
|
current: long;
|
|
1841
1841
|
current_docs: long;
|
|
@@ -1854,13 +1854,13 @@ export interface MergesStats {
|
|
|
1854
1854
|
total_time?: Duration;
|
|
1855
1855
|
total_time_in_millis: DurationValue<UnitMillis>;
|
|
1856
1856
|
}
|
|
1857
|
-
export
|
|
1858
|
-
export
|
|
1859
|
-
export
|
|
1860
|
-
export
|
|
1861
|
-
export
|
|
1862
|
-
export
|
|
1863
|
-
export
|
|
1857
|
+
export type Metadata = Record<string, any>;
|
|
1858
|
+
export type Metrics = string | string[];
|
|
1859
|
+
export type MinimumShouldMatch = integer | string;
|
|
1860
|
+
export type MultiTermQueryRewrite = string;
|
|
1861
|
+
export type Name = string;
|
|
1862
|
+
export type Names = Name | Name[];
|
|
1863
|
+
export type Namespace = string;
|
|
1864
1864
|
export interface NestedSortValue {
|
|
1865
1865
|
filter?: QueryDslQueryContainer;
|
|
1866
1866
|
max_children?: integer;
|
|
@@ -1875,11 +1875,11 @@ export interface NodeAttributes {
|
|
|
1875
1875
|
transport_address: TransportAddress;
|
|
1876
1876
|
roles?: NodeRoles;
|
|
1877
1877
|
}
|
|
1878
|
-
export
|
|
1879
|
-
export
|
|
1880
|
-
export
|
|
1881
|
-
export
|
|
1882
|
-
export
|
|
1878
|
+
export type NodeId = string;
|
|
1879
|
+
export type NodeIds = NodeId | NodeId[];
|
|
1880
|
+
export type NodeName = string;
|
|
1881
|
+
export type NodeRole = 'master' | 'data' | 'data_cold' | 'data_content' | 'data_frozen' | 'data_hot' | 'data_warm' | 'client' | 'ingest' | 'ml' | 'voting_only' | 'transform' | 'remote_cluster_client' | 'coordinating_only';
|
|
1882
|
+
export type NodeRoles = NodeRole[];
|
|
1883
1883
|
export interface NodeShard {
|
|
1884
1884
|
state: IndicesStatsShardRoutingState;
|
|
1885
1885
|
primary: boolean;
|
|
@@ -1897,11 +1897,11 @@ export interface NodeStatistics {
|
|
|
1897
1897
|
successful: integer;
|
|
1898
1898
|
failed: integer;
|
|
1899
1899
|
}
|
|
1900
|
-
export
|
|
1901
|
-
export
|
|
1902
|
-
export
|
|
1903
|
-
export
|
|
1904
|
-
export
|
|
1900
|
+
export type Normalization = 'no' | 'h1' | 'h2' | 'h3' | 'z';
|
|
1901
|
+
export type OpType = 'index' | 'create';
|
|
1902
|
+
export type Password = string;
|
|
1903
|
+
export type Percentage = string | float;
|
|
1904
|
+
export type PipelineName = string;
|
|
1905
1905
|
export interface PluginStats {
|
|
1906
1906
|
classname: string;
|
|
1907
1907
|
description: string;
|
|
@@ -1914,7 +1914,7 @@ export interface PluginStats {
|
|
|
1914
1914
|
licensed: boolean;
|
|
1915
1915
|
type: string;
|
|
1916
1916
|
}
|
|
1917
|
-
export
|
|
1917
|
+
export type PropertyName = string;
|
|
1918
1918
|
export interface QueryCacheStats {
|
|
1919
1919
|
cache_count: integer;
|
|
1920
1920
|
cache_size: integer;
|
|
@@ -1931,7 +1931,7 @@ export interface RecoveryStats {
|
|
|
1931
1931
|
throttle_time?: Duration;
|
|
1932
1932
|
throttle_time_in_millis: DurationValue<UnitMillis>;
|
|
1933
1933
|
}
|
|
1934
|
-
export
|
|
1934
|
+
export type Refresh = boolean | 'true' | 'false' | 'wait_for';
|
|
1935
1935
|
export interface RefreshStats {
|
|
1936
1936
|
external_total: long;
|
|
1937
1937
|
external_total_time_in_millis: DurationValue<UnitMillis>;
|
|
@@ -1940,7 +1940,7 @@ export interface RefreshStats {
|
|
|
1940
1940
|
total_time?: Duration;
|
|
1941
1941
|
total_time_in_millis: DurationValue<UnitMillis>;
|
|
1942
1942
|
}
|
|
1943
|
-
export
|
|
1943
|
+
export type RelationName = string;
|
|
1944
1944
|
export interface RequestBase extends SpecUtilsCommonQueryParameters {
|
|
1945
1945
|
}
|
|
1946
1946
|
export interface RequestCacheStats {
|
|
@@ -1950,16 +1950,16 @@ export interface RequestCacheStats {
|
|
|
1950
1950
|
memory_size_in_bytes: long;
|
|
1951
1951
|
miss_count: long;
|
|
1952
1952
|
}
|
|
1953
|
-
export
|
|
1953
|
+
export type Result = 'created' | 'updated' | 'deleted' | 'not_found' | 'noop';
|
|
1954
1954
|
export interface Retries {
|
|
1955
1955
|
bulk: long;
|
|
1956
1956
|
search: long;
|
|
1957
1957
|
}
|
|
1958
|
-
export
|
|
1958
|
+
export type Routing = string;
|
|
1959
1959
|
export interface ScoreSort {
|
|
1960
1960
|
order?: SortOrder;
|
|
1961
1961
|
}
|
|
1962
|
-
export
|
|
1962
|
+
export type Script = InlineScript | string | StoredScriptId;
|
|
1963
1963
|
export interface ScriptBase {
|
|
1964
1964
|
params?: Record<string, any>;
|
|
1965
1965
|
}
|
|
@@ -1967,7 +1967,7 @@ export interface ScriptField {
|
|
|
1967
1967
|
script: Script;
|
|
1968
1968
|
ignore_failure?: boolean;
|
|
1969
1969
|
}
|
|
1970
|
-
export
|
|
1970
|
+
export type ScriptLanguage = 'painless' | 'expression' | 'mustache' | 'java' | string;
|
|
1971
1971
|
export interface ScriptSort {
|
|
1972
1972
|
order?: SortOrder;
|
|
1973
1973
|
script: Script;
|
|
@@ -1975,15 +1975,15 @@ export interface ScriptSort {
|
|
|
1975
1975
|
mode?: SortMode;
|
|
1976
1976
|
nested?: NestedSortValue;
|
|
1977
1977
|
}
|
|
1978
|
-
export
|
|
1978
|
+
export type ScriptSortType = 'string' | 'number';
|
|
1979
1979
|
export interface ScriptTransform {
|
|
1980
1980
|
lang?: string;
|
|
1981
1981
|
params?: Record<string, any>;
|
|
1982
1982
|
source?: string;
|
|
1983
1983
|
id?: string;
|
|
1984
1984
|
}
|
|
1985
|
-
export
|
|
1986
|
-
export
|
|
1985
|
+
export type ScrollId = string;
|
|
1986
|
+
export type ScrollIds = ScrollId | ScrollId[];
|
|
1987
1987
|
export interface SearchStats {
|
|
1988
1988
|
fetch_current: long;
|
|
1989
1989
|
fetch_time?: Duration;
|
|
@@ -2008,7 +2008,7 @@ export interface SearchTransform {
|
|
|
2008
2008
|
request: WatcherSearchInputRequestDefinition;
|
|
2009
2009
|
timeout: Duration;
|
|
2010
2010
|
}
|
|
2011
|
-
export
|
|
2011
|
+
export type SearchType = 'query_then_fetch' | 'dfs_query_then_fetch';
|
|
2012
2012
|
export interface SegmentsStats {
|
|
2013
2013
|
count: integer;
|
|
2014
2014
|
doc_values_memory?: ByteSize;
|
|
@@ -2035,8 +2035,8 @@ export interface SegmentsStats {
|
|
|
2035
2035
|
version_map_memory?: ByteSize;
|
|
2036
2036
|
version_map_memory_in_bytes: integer;
|
|
2037
2037
|
}
|
|
2038
|
-
export
|
|
2039
|
-
export
|
|
2038
|
+
export type SequenceNumber = long;
|
|
2039
|
+
export type Service = string;
|
|
2040
2040
|
export interface ShardFailure {
|
|
2041
2041
|
index?: IndexName;
|
|
2042
2042
|
node?: string;
|
|
@@ -2059,22 +2059,22 @@ export interface SlicedScroll {
|
|
|
2059
2059
|
id: integer;
|
|
2060
2060
|
max: integer;
|
|
2061
2061
|
}
|
|
2062
|
-
export
|
|
2063
|
-
export
|
|
2064
|
-
export
|
|
2065
|
-
export
|
|
2066
|
-
export
|
|
2062
|
+
export type Slices = integer | SlicesCalculation;
|
|
2063
|
+
export type SlicesCalculation = 'auto';
|
|
2064
|
+
export type Sort = SortCombinations | SortCombinations[];
|
|
2065
|
+
export type SortCombinations = Field | SortOptions;
|
|
2066
|
+
export type SortMode = 'min' | 'max' | 'sum' | 'avg' | 'median';
|
|
2067
2067
|
export interface SortOptionsKeys {
|
|
2068
2068
|
_score?: ScoreSort;
|
|
2069
2069
|
_doc?: ScoreSort;
|
|
2070
2070
|
_geo_distance?: GeoDistanceSort;
|
|
2071
2071
|
_script?: ScriptSort;
|
|
2072
2072
|
}
|
|
2073
|
-
export
|
|
2073
|
+
export type SortOptions = SortOptionsKeys & {
|
|
2074
2074
|
[property: string]: FieldSort | SortOrder | ScoreSort | GeoDistanceSort | ScriptSort;
|
|
2075
2075
|
};
|
|
2076
|
-
export
|
|
2077
|
-
export
|
|
2076
|
+
export type SortOrder = 'asc' | 'desc';
|
|
2077
|
+
export type SortResults = (long | double | string | null)[];
|
|
2078
2078
|
export interface StoreStats {
|
|
2079
2079
|
size?: ByteSize;
|
|
2080
2080
|
size_in_bytes: integer;
|
|
@@ -2091,19 +2091,19 @@ export interface StoredScript {
|
|
|
2091
2091
|
export interface StoredScriptId extends ScriptBase {
|
|
2092
2092
|
id: Id;
|
|
2093
2093
|
}
|
|
2094
|
-
export
|
|
2095
|
-
export
|
|
2094
|
+
export type SuggestMode = 'missing' | 'popular' | 'always';
|
|
2095
|
+
export type SuggestionName = string;
|
|
2096
2096
|
export interface TaskFailure {
|
|
2097
2097
|
task_id: long;
|
|
2098
2098
|
node_id: NodeId;
|
|
2099
2099
|
status: string;
|
|
2100
2100
|
reason: ErrorCause;
|
|
2101
2101
|
}
|
|
2102
|
-
export
|
|
2103
|
-
export
|
|
2104
|
-
export
|
|
2105
|
-
export
|
|
2106
|
-
export
|
|
2102
|
+
export type TaskId = string | integer;
|
|
2103
|
+
export type ThreadType = 'cpu' | 'wait' | 'block' | 'gpu' | 'mem';
|
|
2104
|
+
export type TimeOfDay = string;
|
|
2105
|
+
export type TimeUnit = 'nanos' | 'micros' | 'ms' | 's' | 'm' | 'h' | 'd';
|
|
2106
|
+
export type TimeZone = string;
|
|
2107
2107
|
export interface TopLeftBottomRightGeoBounds {
|
|
2108
2108
|
top_left: GeoLocation;
|
|
2109
2109
|
bottom_right: GeoLocation;
|
|
@@ -2126,19 +2126,19 @@ export interface TranslogStats {
|
|
|
2126
2126
|
uncommitted_size?: string;
|
|
2127
2127
|
uncommitted_size_in_bytes: long;
|
|
2128
2128
|
}
|
|
2129
|
-
export
|
|
2130
|
-
export
|
|
2131
|
-
export
|
|
2132
|
-
export
|
|
2133
|
-
export
|
|
2134
|
-
export
|
|
2135
|
-
export
|
|
2136
|
-
export
|
|
2137
|
-
export
|
|
2138
|
-
export
|
|
2139
|
-
export
|
|
2140
|
-
export
|
|
2141
|
-
export
|
|
2129
|
+
export type TransportAddress = string;
|
|
2130
|
+
export type UnitFloatMillis = double;
|
|
2131
|
+
export type UnitMillis = long;
|
|
2132
|
+
export type UnitNanos = long;
|
|
2133
|
+
export type UnitSeconds = long;
|
|
2134
|
+
export type Username = string;
|
|
2135
|
+
export type Uuid = string;
|
|
2136
|
+
export type VersionNumber = long;
|
|
2137
|
+
export type VersionString = string;
|
|
2138
|
+
export type VersionType = 'internal' | 'external' | 'external_gte' | 'force';
|
|
2139
|
+
export type WaitForActiveShardOptions = 'all' | 'index-setting';
|
|
2140
|
+
export type WaitForActiveShards = integer | WaitForActiveShardOptions;
|
|
2141
|
+
export type WaitForEvents = 'immediate' | 'urgent' | 'high' | 'normal' | 'low' | 'languid';
|
|
2142
2142
|
export interface WarmerStats {
|
|
2143
2143
|
current: long;
|
|
2144
2144
|
total: long;
|
|
@@ -2158,14 +2158,14 @@ export interface WriteResponseBase {
|
|
|
2158
2158
|
_version: VersionNumber;
|
|
2159
2159
|
forced_refresh?: boolean;
|
|
2160
2160
|
}
|
|
2161
|
-
export
|
|
2162
|
-
export
|
|
2163
|
-
export
|
|
2164
|
-
export
|
|
2165
|
-
export
|
|
2166
|
-
export
|
|
2167
|
-
export
|
|
2168
|
-
export
|
|
2161
|
+
export type byte = number;
|
|
2162
|
+
export type double = number;
|
|
2163
|
+
export type float = number;
|
|
2164
|
+
export type integer = number;
|
|
2165
|
+
export type long = number;
|
|
2166
|
+
export type short = number;
|
|
2167
|
+
export type uint = number;
|
|
2168
|
+
export type ulong = number;
|
|
2169
2169
|
export interface AggregationsAdjacencyMatrixAggregate extends AggregationsMultiBucketAggregateBase<AggregationsAdjacencyMatrixBucket> {
|
|
2170
2170
|
}
|
|
2171
2171
|
export interface AggregationsAdjacencyMatrixAggregation extends AggregationsBucketAggregationBase {
|
|
@@ -2173,14 +2173,14 @@ export interface AggregationsAdjacencyMatrixAggregation extends AggregationsBuck
|
|
|
2173
2173
|
}
|
|
2174
2174
|
export interface AggregationsAdjacencyMatrixBucketKeys extends AggregationsMultiBucketBase {
|
|
2175
2175
|
}
|
|
2176
|
-
export
|
|
2176
|
+
export type AggregationsAdjacencyMatrixBucket = AggregationsAdjacencyMatrixBucketKeys & {
|
|
2177
2177
|
[property: string]: AggregationsAggregate | long;
|
|
2178
2178
|
};
|
|
2179
|
-
export
|
|
2179
|
+
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 | AggregationsRangeAggregate | AggregationsDateRangeAggregate | AggregationsGeoDistanceAggregate | AggregationsIpRangeAggregate | AggregationsFiltersAggregate | AggregationsAdjacencyMatrixAggregate | AggregationsSignificantLongTermsAggregate | AggregationsSignificantStringTermsAggregate | AggregationsUnmappedSignificantTermsAggregate | AggregationsCompositeAggregate | AggregationsScriptedMetricAggregate | AggregationsTopHitsAggregate | AggregationsInferenceAggregate | AggregationsStringStatsAggregate | AggregationsBoxPlotAggregate | AggregationsTopMetricsAggregate | AggregationsTTestAggregate | AggregationsRateAggregate | AggregationsCumulativeCardinalityAggregate | AggregationsMatrixStatsAggregate | AggregationsGeoLineAggregate;
|
|
2180
2180
|
export interface AggregationsAggregateBase {
|
|
2181
2181
|
meta?: Metadata;
|
|
2182
2182
|
}
|
|
2183
|
-
export
|
|
2183
|
+
export type AggregationsAggregateOrder = Partial<Record<Field, SortOrder>> | Partial<Record<Field, SortOrder>>[];
|
|
2184
2184
|
export interface AggregationsAggregation {
|
|
2185
2185
|
meta?: Metadata;
|
|
2186
2186
|
name?: string;
|
|
@@ -2352,9 +2352,9 @@ export interface AggregationsBucketSortAggregation extends AggregationsAggregati
|
|
|
2352
2352
|
size?: integer;
|
|
2353
2353
|
sort?: Sort;
|
|
2354
2354
|
}
|
|
2355
|
-
export
|
|
2356
|
-
export
|
|
2357
|
-
export
|
|
2355
|
+
export type AggregationsBuckets<TBucket = unknown> = Record<string, TBucket> | TBucket[];
|
|
2356
|
+
export type AggregationsBucketsPath = string | string[] | Record<string, string>;
|
|
2357
|
+
export type AggregationsCalendarInterval = 'second' | '1s' | 'minute' | '1m' | 'hour' | '1h' | 'day' | '1d' | 'week' | '1w' | 'month' | '1M' | 'quarter' | '1q' | 'year' | '1Y';
|
|
2358
2358
|
export interface AggregationsCardinalityAggregate extends AggregationsAggregateBase {
|
|
2359
2359
|
value: long;
|
|
2360
2360
|
}
|
|
@@ -2363,7 +2363,7 @@ export interface AggregationsCardinalityAggregation extends AggregationsMetricAg
|
|
|
2363
2363
|
rehash?: boolean;
|
|
2364
2364
|
execution_hint?: AggregationsCardinalityExecutionMode;
|
|
2365
2365
|
}
|
|
2366
|
-
export
|
|
2366
|
+
export type AggregationsCardinalityExecutionMode = 'global_ordinals' | 'segment_ordinals' | 'direct' | 'save_memory_heuristic' | 'save_time_heuristic';
|
|
2367
2367
|
export interface AggregationsCategorizeTextAggregation extends AggregationsAggregation {
|
|
2368
2368
|
field: Field;
|
|
2369
2369
|
max_unique_tokens?: integer;
|
|
@@ -2376,14 +2376,14 @@ export interface AggregationsCategorizeTextAggregation extends AggregationsAggre
|
|
|
2376
2376
|
min_doc_count?: integer;
|
|
2377
2377
|
shard_min_doc_count?: integer;
|
|
2378
2378
|
}
|
|
2379
|
-
export
|
|
2379
|
+
export type AggregationsCategorizeTextAnalyzer = string | AggregationsCustomCategorizeTextAnalyzer;
|
|
2380
2380
|
export interface AggregationsChiSquareHeuristic {
|
|
2381
2381
|
background_is_superset: boolean;
|
|
2382
2382
|
include_negatives: boolean;
|
|
2383
2383
|
}
|
|
2384
2384
|
export interface AggregationsChildrenAggregateKeys extends AggregationsSingleBucketAggregateBase {
|
|
2385
2385
|
}
|
|
2386
|
-
export
|
|
2386
|
+
export type AggregationsChildrenAggregate = AggregationsChildrenAggregateKeys & {
|
|
2387
2387
|
[property: string]: AggregationsAggregate | long | Metadata;
|
|
2388
2388
|
};
|
|
2389
2389
|
export interface AggregationsChildrenAggregation extends AggregationsBucketAggregationBase {
|
|
@@ -2406,7 +2406,7 @@ export interface AggregationsCompositeAggregationSource {
|
|
|
2406
2406
|
export interface AggregationsCompositeBucketKeys extends AggregationsMultiBucketBase {
|
|
2407
2407
|
key: Record<string, any>;
|
|
2408
2408
|
}
|
|
2409
|
-
export
|
|
2409
|
+
export type AggregationsCompositeBucket = AggregationsCompositeBucketKeys & {
|
|
2410
2410
|
[property: string]: AggregationsAggregate | Record<string, any> | long;
|
|
2411
2411
|
};
|
|
2412
2412
|
export interface AggregationsCumulativeCardinalityAggregate extends AggregationsAggregateBase {
|
|
@@ -2445,7 +2445,7 @@ export interface AggregationsDateHistogramBucketKeys extends AggregationsMultiBu
|
|
|
2445
2445
|
key_as_string?: string;
|
|
2446
2446
|
key: EpochTime<UnitMillis>;
|
|
2447
2447
|
}
|
|
2448
|
-
export
|
|
2448
|
+
export type AggregationsDateHistogramBucket = AggregationsDateHistogramBucketKeys & {
|
|
2449
2449
|
[property: string]: AggregationsAggregate | string | EpochTime<UnitMillis> | long;
|
|
2450
2450
|
};
|
|
2451
2451
|
export interface AggregationsDateRangeAggregate extends AggregationsRangeAggregate {
|
|
@@ -2482,7 +2482,7 @@ export interface AggregationsDoubleTermsBucketKeys extends AggregationsTermsBuck
|
|
|
2482
2482
|
key: double;
|
|
2483
2483
|
key_as_string?: string;
|
|
2484
2484
|
}
|
|
2485
|
-
export
|
|
2485
|
+
export type AggregationsDoubleTermsBucket = AggregationsDoubleTermsBucketKeys & {
|
|
2486
2486
|
[property: string]: AggregationsAggregate | double | string | long;
|
|
2487
2487
|
};
|
|
2488
2488
|
export interface AggregationsEwmaModelSettings {
|
|
@@ -2518,10 +2518,10 @@ export interface AggregationsExtendedStatsBucketAggregate extends AggregationsEx
|
|
|
2518
2518
|
export interface AggregationsExtendedStatsBucketAggregation extends AggregationsPipelineAggregationBase {
|
|
2519
2519
|
sigma?: double;
|
|
2520
2520
|
}
|
|
2521
|
-
export
|
|
2521
|
+
export type AggregationsFieldDateMath = DateMath | double;
|
|
2522
2522
|
export interface AggregationsFilterAggregateKeys extends AggregationsSingleBucketAggregateBase {
|
|
2523
2523
|
}
|
|
2524
|
-
export
|
|
2524
|
+
export type AggregationsFilterAggregate = AggregationsFilterAggregateKeys & {
|
|
2525
2525
|
[property: string]: AggregationsAggregate | long | Metadata;
|
|
2526
2526
|
};
|
|
2527
2527
|
export interface AggregationsFiltersAggregate extends AggregationsMultiBucketAggregateBase<AggregationsFiltersBucket> {
|
|
@@ -2534,7 +2534,7 @@ export interface AggregationsFiltersAggregation extends AggregationsBucketAggreg
|
|
|
2534
2534
|
}
|
|
2535
2535
|
export interface AggregationsFiltersBucketKeys extends AggregationsMultiBucketBase {
|
|
2536
2536
|
}
|
|
2537
|
-
export
|
|
2537
|
+
export type AggregationsFiltersBucket = AggregationsFiltersBucketKeys & {
|
|
2538
2538
|
[property: string]: AggregationsAggregate | long;
|
|
2539
2539
|
};
|
|
2540
2540
|
export interface AggregationsFormatMetricAggregationBase extends AggregationsMetricAggregationBase {
|
|
@@ -2543,7 +2543,7 @@ export interface AggregationsFormatMetricAggregationBase extends AggregationsMet
|
|
|
2543
2543
|
export interface AggregationsFormattableMetricAggregation extends AggregationsMetricAggregationBase {
|
|
2544
2544
|
format?: string;
|
|
2545
2545
|
}
|
|
2546
|
-
export
|
|
2546
|
+
export type AggregationsGapPolicy = 'skip' | 'insert_zeros';
|
|
2547
2547
|
export interface AggregationsGeoBoundsAggregate extends AggregationsAggregateBase {
|
|
2548
2548
|
bounds?: GeoBounds;
|
|
2549
2549
|
}
|
|
@@ -2579,7 +2579,7 @@ export interface AggregationsGeoHashGridAggregation extends AggregationsBucketAg
|
|
|
2579
2579
|
export interface AggregationsGeoHashGridBucketKeys extends AggregationsMultiBucketBase {
|
|
2580
2580
|
key: GeoHash;
|
|
2581
2581
|
}
|
|
2582
|
-
export
|
|
2582
|
+
export type AggregationsGeoHashGridBucket = AggregationsGeoHashGridBucketKeys & {
|
|
2583
2583
|
[property: string]: AggregationsAggregate | GeoHash | long;
|
|
2584
2584
|
};
|
|
2585
2585
|
export interface AggregationsGeoLineAggregate extends AggregationsAggregateBase {
|
|
@@ -2611,7 +2611,7 @@ export interface AggregationsGeoTileGridAggregation extends AggregationsBucketAg
|
|
|
2611
2611
|
export interface AggregationsGeoTileGridBucketKeys extends AggregationsMultiBucketBase {
|
|
2612
2612
|
key: GeoTile;
|
|
2613
2613
|
}
|
|
2614
|
-
export
|
|
2614
|
+
export type AggregationsGeoTileGridBucket = AggregationsGeoTileGridBucketKeys & {
|
|
2615
2615
|
[property: string]: AggregationsAggregate | GeoTile | long;
|
|
2616
2616
|
};
|
|
2617
2617
|
export interface AggregationsGeohexGridAggregation extends AggregationsBucketAggregationBase {
|
|
@@ -2623,7 +2623,7 @@ export interface AggregationsGeohexGridAggregation extends AggregationsBucketAgg
|
|
|
2623
2623
|
}
|
|
2624
2624
|
export interface AggregationsGlobalAggregateKeys extends AggregationsSingleBucketAggregateBase {
|
|
2625
2625
|
}
|
|
2626
|
-
export
|
|
2626
|
+
export type AggregationsGlobalAggregate = AggregationsGlobalAggregateKeys & {
|
|
2627
2627
|
[property: string]: AggregationsAggregate | long | Metadata;
|
|
2628
2628
|
};
|
|
2629
2629
|
export interface AggregationsGlobalAggregation extends AggregationsBucketAggregationBase {
|
|
@@ -2657,7 +2657,7 @@ export interface AggregationsHistogramBucketKeys extends AggregationsMultiBucket
|
|
|
2657
2657
|
key_as_string?: string;
|
|
2658
2658
|
key: double;
|
|
2659
2659
|
}
|
|
2660
|
-
export
|
|
2660
|
+
export type AggregationsHistogramBucket = AggregationsHistogramBucketKeys & {
|
|
2661
2661
|
[property: string]: AggregationsAggregate | string | double | long;
|
|
2662
2662
|
};
|
|
2663
2663
|
export interface AggregationsHoltLinearModelSettings {
|
|
@@ -2680,14 +2680,14 @@ export interface AggregationsHoltWintersMovingAverageAggregation extends Aggrega
|
|
|
2680
2680
|
model: 'holt_winters';
|
|
2681
2681
|
settings: AggregationsHoltWintersModelSettings;
|
|
2682
2682
|
}
|
|
2683
|
-
export
|
|
2683
|
+
export type AggregationsHoltWintersType = 'add' | 'mult';
|
|
2684
2684
|
export interface AggregationsInferenceAggregateKeys extends AggregationsAggregateBase {
|
|
2685
2685
|
value?: FieldValue;
|
|
2686
2686
|
feature_importance?: AggregationsInferenceFeatureImportance[];
|
|
2687
2687
|
top_classes?: AggregationsInferenceTopClassEntry[];
|
|
2688
2688
|
warning?: string;
|
|
2689
2689
|
}
|
|
2690
|
-
export
|
|
2690
|
+
export type AggregationsInferenceAggregate = AggregationsInferenceAggregateKeys & {
|
|
2691
2691
|
[property: string]: any;
|
|
2692
2692
|
};
|
|
2693
2693
|
export interface AggregationsInferenceAggregation extends AggregationsPipelineAggregationBase {
|
|
@@ -2727,10 +2727,10 @@ export interface AggregationsIpRangeBucketKeys extends AggregationsMultiBucketBa
|
|
|
2727
2727
|
from?: string;
|
|
2728
2728
|
to?: string;
|
|
2729
2729
|
}
|
|
2730
|
-
export
|
|
2730
|
+
export type AggregationsIpRangeBucket = AggregationsIpRangeBucketKeys & {
|
|
2731
2731
|
[property: string]: AggregationsAggregate | string | long;
|
|
2732
2732
|
};
|
|
2733
|
-
export
|
|
2733
|
+
export type AggregationsKeyedPercentiles = Record<string, string | long | null>;
|
|
2734
2734
|
export interface AggregationsLinearMovingAverageAggregation extends AggregationsMovingAverageAggregationBase {
|
|
2735
2735
|
model: 'linear';
|
|
2736
2736
|
settings: EmptyObject;
|
|
@@ -2741,7 +2741,7 @@ export interface AggregationsLongRareTermsBucketKeys extends AggregationsMultiBu
|
|
|
2741
2741
|
key: long;
|
|
2742
2742
|
key_as_string?: string;
|
|
2743
2743
|
}
|
|
2744
|
-
export
|
|
2744
|
+
export type AggregationsLongRareTermsBucket = AggregationsLongRareTermsBucketKeys & {
|
|
2745
2745
|
[property: string]: AggregationsAggregate | long | string;
|
|
2746
2746
|
};
|
|
2747
2747
|
export interface AggregationsLongTermsAggregate extends AggregationsTermsAggregateBase<AggregationsLongTermsBucket> {
|
|
@@ -2750,7 +2750,7 @@ export interface AggregationsLongTermsBucketKeys extends AggregationsTermsBucket
|
|
|
2750
2750
|
key: long;
|
|
2751
2751
|
key_as_string?: string;
|
|
2752
2752
|
}
|
|
2753
|
-
export
|
|
2753
|
+
export type AggregationsLongTermsBucket = AggregationsLongTermsBucketKeys & {
|
|
2754
2754
|
[property: string]: AggregationsAggregate | long | string;
|
|
2755
2755
|
};
|
|
2756
2756
|
export interface AggregationsMatrixAggregation extends AggregationsAggregation {
|
|
@@ -2796,19 +2796,19 @@ export interface AggregationsMinAggregation extends AggregationsFormatMetricAggr
|
|
|
2796
2796
|
}
|
|
2797
2797
|
export interface AggregationsMinBucketAggregation extends AggregationsPipelineAggregationBase {
|
|
2798
2798
|
}
|
|
2799
|
-
export
|
|
2800
|
-
export
|
|
2799
|
+
export type AggregationsMinimumInterval = 'second' | 'minute' | 'hour' | 'day' | 'month' | 'year';
|
|
2800
|
+
export type AggregationsMissing = string | integer | double | boolean;
|
|
2801
2801
|
export interface AggregationsMissingAggregateKeys extends AggregationsSingleBucketAggregateBase {
|
|
2802
2802
|
}
|
|
2803
|
-
export
|
|
2803
|
+
export type AggregationsMissingAggregate = AggregationsMissingAggregateKeys & {
|
|
2804
2804
|
[property: string]: AggregationsAggregate | long | Metadata;
|
|
2805
2805
|
};
|
|
2806
2806
|
export interface AggregationsMissingAggregation extends AggregationsBucketAggregationBase {
|
|
2807
2807
|
field?: Field;
|
|
2808
2808
|
missing?: AggregationsMissing;
|
|
2809
2809
|
}
|
|
2810
|
-
export
|
|
2811
|
-
export
|
|
2810
|
+
export type AggregationsMissingOrder = 'first' | 'last' | 'default';
|
|
2811
|
+
export type AggregationsMovingAverageAggregation = AggregationsLinearMovingAverageAggregation | AggregationsSimpleMovingAverageAggregation | AggregationsEwmaMovingAverageAggregation | AggregationsHoltMovingAverageAggregation | AggregationsHoltWintersMovingAverageAggregation;
|
|
2812
2812
|
export interface AggregationsMovingAverageAggregationBase extends AggregationsPipelineAggregationBase {
|
|
2813
2813
|
minimize?: boolean;
|
|
2814
2814
|
predict?: integer;
|
|
@@ -2850,7 +2850,7 @@ export interface AggregationsMultiTermsBucketKeys extends AggregationsMultiBucke
|
|
|
2850
2850
|
key_as_string?: string;
|
|
2851
2851
|
doc_count_error_upper_bound?: long;
|
|
2852
2852
|
}
|
|
2853
|
-
export
|
|
2853
|
+
export type AggregationsMultiTermsBucket = AggregationsMultiTermsBucketKeys & {
|
|
2854
2854
|
[property: string]: AggregationsAggregate | (long | double | string)[] | string | long;
|
|
2855
2855
|
};
|
|
2856
2856
|
export interface AggregationsMutualInformationHeuristic {
|
|
@@ -2859,7 +2859,7 @@ export interface AggregationsMutualInformationHeuristic {
|
|
|
2859
2859
|
}
|
|
2860
2860
|
export interface AggregationsNestedAggregateKeys extends AggregationsSingleBucketAggregateBase {
|
|
2861
2861
|
}
|
|
2862
|
-
export
|
|
2862
|
+
export type AggregationsNestedAggregate = AggregationsNestedAggregateKeys & {
|
|
2863
2863
|
[property: string]: AggregationsAggregate | long | Metadata;
|
|
2864
2864
|
};
|
|
2865
2865
|
export interface AggregationsNestedAggregation extends AggregationsBucketAggregationBase {
|
|
@@ -2868,10 +2868,10 @@ export interface AggregationsNestedAggregation extends AggregationsBucketAggrega
|
|
|
2868
2868
|
export interface AggregationsNormalizeAggregation extends AggregationsPipelineAggregationBase {
|
|
2869
2869
|
method?: AggregationsNormalizeMethod;
|
|
2870
2870
|
}
|
|
2871
|
-
export
|
|
2871
|
+
export type AggregationsNormalizeMethod = 'rescale_0_1' | 'rescale_0_100' | 'percent_of_sum' | 'mean' | 'z-score' | 'softmax';
|
|
2872
2872
|
export interface AggregationsParentAggregateKeys extends AggregationsSingleBucketAggregateBase {
|
|
2873
2873
|
}
|
|
2874
|
-
export
|
|
2874
|
+
export type AggregationsParentAggregate = AggregationsParentAggregateKeys & {
|
|
2875
2875
|
[property: string]: AggregationsAggregate | long | Metadata;
|
|
2876
2876
|
};
|
|
2877
2877
|
export interface AggregationsParentAggregation extends AggregationsBucketAggregationBase {
|
|
@@ -2885,7 +2885,7 @@ export interface AggregationsPercentileRanksAggregation extends AggregationsForm
|
|
|
2885
2885
|
hdr?: AggregationsHdrMethod;
|
|
2886
2886
|
tdigest?: AggregationsTDigest;
|
|
2887
2887
|
}
|
|
2888
|
-
export
|
|
2888
|
+
export type AggregationsPercentiles = AggregationsKeyedPercentiles | AggregationsArrayPercentilesItem[];
|
|
2889
2889
|
export interface AggregationsPercentilesAggregateBase extends AggregationsAggregateBase {
|
|
2890
2890
|
values: AggregationsPercentiles;
|
|
2891
2891
|
}
|
|
@@ -2921,7 +2921,7 @@ export interface AggregationsRangeBucketKeys extends AggregationsMultiBucketBase
|
|
|
2921
2921
|
to_as_string?: string;
|
|
2922
2922
|
key?: string;
|
|
2923
2923
|
}
|
|
2924
|
-
export
|
|
2924
|
+
export type AggregationsRangeBucket = AggregationsRangeBucketKeys & {
|
|
2925
2925
|
[property: string]: AggregationsAggregate | double | string | long;
|
|
2926
2926
|
};
|
|
2927
2927
|
export interface AggregationsRareTermsAggregation extends AggregationsBucketAggregationBase {
|
|
@@ -2941,10 +2941,10 @@ export interface AggregationsRateAggregation extends AggregationsFormatMetricAgg
|
|
|
2941
2941
|
unit?: AggregationsCalendarInterval;
|
|
2942
2942
|
mode?: AggregationsRateMode;
|
|
2943
2943
|
}
|
|
2944
|
-
export
|
|
2944
|
+
export type AggregationsRateMode = 'sum' | 'value_count';
|
|
2945
2945
|
export interface AggregationsReverseNestedAggregateKeys extends AggregationsSingleBucketAggregateBase {
|
|
2946
2946
|
}
|
|
2947
|
-
export
|
|
2947
|
+
export type AggregationsReverseNestedAggregate = AggregationsReverseNestedAggregateKeys & {
|
|
2948
2948
|
[property: string]: AggregationsAggregate | long | Metadata;
|
|
2949
2949
|
};
|
|
2950
2950
|
export interface AggregationsReverseNestedAggregation extends AggregationsBucketAggregationBase {
|
|
@@ -2952,13 +2952,13 @@ export interface AggregationsReverseNestedAggregation extends AggregationsBucket
|
|
|
2952
2952
|
}
|
|
2953
2953
|
export interface AggregationsSamplerAggregateKeys extends AggregationsSingleBucketAggregateBase {
|
|
2954
2954
|
}
|
|
2955
|
-
export
|
|
2955
|
+
export type AggregationsSamplerAggregate = AggregationsSamplerAggregateKeys & {
|
|
2956
2956
|
[property: string]: AggregationsAggregate | long | Metadata;
|
|
2957
2957
|
};
|
|
2958
2958
|
export interface AggregationsSamplerAggregation extends AggregationsBucketAggregationBase {
|
|
2959
2959
|
shard_size?: integer;
|
|
2960
2960
|
}
|
|
2961
|
-
export
|
|
2961
|
+
export type AggregationsSamplerAggregationExecutionHint = 'map' | 'global_ordinals' | 'bytes_hash';
|
|
2962
2962
|
export interface AggregationsScriptedHeuristic {
|
|
2963
2963
|
script: Script;
|
|
2964
2964
|
}
|
|
@@ -2981,7 +2981,7 @@ export interface AggregationsSignificantLongTermsBucketKeys extends Aggregations
|
|
|
2981
2981
|
key: long;
|
|
2982
2982
|
key_as_string?: string;
|
|
2983
2983
|
}
|
|
2984
|
-
export
|
|
2984
|
+
export type AggregationsSignificantLongTermsBucket = AggregationsSignificantLongTermsBucketKeys & {
|
|
2985
2985
|
[property: string]: AggregationsAggregate | long | string | double;
|
|
2986
2986
|
};
|
|
2987
2987
|
export interface AggregationsSignificantStringTermsAggregate extends AggregationsMultiBucketAggregateBase<AggregationsSignificantStringTermsBucket> {
|
|
@@ -2989,7 +2989,7 @@ export interface AggregationsSignificantStringTermsAggregate extends Aggregation
|
|
|
2989
2989
|
export interface AggregationsSignificantStringTermsBucketKeys extends AggregationsSignificantTermsBucketBase {
|
|
2990
2990
|
key: string;
|
|
2991
2991
|
}
|
|
2992
|
-
export
|
|
2992
|
+
export type AggregationsSignificantStringTermsBucket = AggregationsSignificantStringTermsBucketKeys & {
|
|
2993
2993
|
[property: string]: AggregationsAggregate | string | double | long;
|
|
2994
2994
|
};
|
|
2995
2995
|
export interface AggregationsSignificantTermsAggregation extends AggregationsBucketAggregationBase {
|
|
@@ -3083,7 +3083,7 @@ export interface AggregationsStringRareTermsAggregate extends AggregationsMultiB
|
|
|
3083
3083
|
export interface AggregationsStringRareTermsBucketKeys extends AggregationsMultiBucketBase {
|
|
3084
3084
|
key: string;
|
|
3085
3085
|
}
|
|
3086
|
-
export
|
|
3086
|
+
export type AggregationsStringRareTermsBucket = AggregationsStringRareTermsBucketKeys & {
|
|
3087
3087
|
[property: string]: AggregationsAggregate | string | long;
|
|
3088
3088
|
};
|
|
3089
3089
|
export interface AggregationsStringStatsAggregate extends AggregationsAggregateBase {
|
|
@@ -3105,7 +3105,7 @@ export interface AggregationsStringTermsAggregate extends AggregationsTermsAggre
|
|
|
3105
3105
|
export interface AggregationsStringTermsBucketKeys extends AggregationsTermsBucketBase {
|
|
3106
3106
|
key: string;
|
|
3107
3107
|
}
|
|
3108
|
-
export
|
|
3108
|
+
export type AggregationsStringTermsBucket = AggregationsStringTermsBucketKeys & {
|
|
3109
3109
|
[property: string]: AggregationsAggregate | string | long;
|
|
3110
3110
|
};
|
|
3111
3111
|
export interface AggregationsSumAggregate extends AggregationsSingleMetricAggregateBase {
|
|
@@ -3130,7 +3130,7 @@ export interface AggregationsTTestAggregation extends AggregationsAggregation {
|
|
|
3130
3130
|
b?: AggregationsTestPopulation;
|
|
3131
3131
|
type?: AggregationsTTestType;
|
|
3132
3132
|
}
|
|
3133
|
-
export
|
|
3133
|
+
export type AggregationsTTestType = 'paired' | 'homoscedastic' | 'heteroscedastic';
|
|
3134
3134
|
export interface AggregationsTermsAggregateBase<TBucket = unknown> extends AggregationsMultiBucketAggregateBase<TBucket> {
|
|
3135
3135
|
doc_count_error_upper_bound?: long;
|
|
3136
3136
|
sum_other_doc_count: long;
|
|
@@ -3153,13 +3153,13 @@ export interface AggregationsTermsAggregation extends AggregationsBucketAggregat
|
|
|
3153
3153
|
size?: integer;
|
|
3154
3154
|
format?: string;
|
|
3155
3155
|
}
|
|
3156
|
-
export
|
|
3157
|
-
export
|
|
3156
|
+
export type AggregationsTermsAggregationCollectMode = 'depth_first' | 'breadth_first';
|
|
3157
|
+
export type AggregationsTermsAggregationExecutionHint = 'map' | 'global_ordinals' | 'global_ordinals_hash' | 'global_ordinals_low_cardinality';
|
|
3158
3158
|
export interface AggregationsTermsBucketBase extends AggregationsMultiBucketBase {
|
|
3159
3159
|
doc_count_error?: long;
|
|
3160
3160
|
}
|
|
3161
|
-
export
|
|
3162
|
-
export
|
|
3161
|
+
export type AggregationsTermsExclude = string | string[];
|
|
3162
|
+
export type AggregationsTermsInclude = string | string[] | AggregationsTermsPartition;
|
|
3163
3163
|
export interface AggregationsTermsPartition {
|
|
3164
3164
|
num_partitions: long;
|
|
3165
3165
|
partition: long;
|
|
@@ -3205,7 +3205,7 @@ export interface AggregationsUnmappedRareTermsAggregate extends AggregationsMult
|
|
|
3205
3205
|
}
|
|
3206
3206
|
export interface AggregationsUnmappedSamplerAggregateKeys extends AggregationsSingleBucketAggregateBase {
|
|
3207
3207
|
}
|
|
3208
|
-
export
|
|
3208
|
+
export type AggregationsUnmappedSamplerAggregate = AggregationsUnmappedSamplerAggregateKeys & {
|
|
3209
3209
|
[property: string]: AggregationsAggregate | long | Metadata;
|
|
3210
3210
|
};
|
|
3211
3211
|
export interface AggregationsUnmappedSignificantTermsAggregate extends AggregationsMultiBucketAggregateBase<void> {
|
|
@@ -3216,7 +3216,7 @@ export interface AggregationsValueCountAggregate extends AggregationsSingleMetri
|
|
|
3216
3216
|
}
|
|
3217
3217
|
export interface AggregationsValueCountAggregation extends AggregationsFormattableMetricAggregation {
|
|
3218
3218
|
}
|
|
3219
|
-
export
|
|
3219
|
+
export type AggregationsValueType = 'string' | 'long' | 'double' | 'number' | 'date' | 'date_nanos' | 'ip' | 'numeric' | 'geo_point' | 'boolean';
|
|
3220
3220
|
export interface AggregationsVariableWidthHistogramAggregate extends AggregationsMultiBucketAggregateBase<AggregationsVariableWidthHistogramBucket> {
|
|
3221
3221
|
}
|
|
3222
3222
|
export interface AggregationsVariableWidthHistogramAggregation {
|
|
@@ -3233,7 +3233,7 @@ export interface AggregationsVariableWidthHistogramBucketKeys extends Aggregatio
|
|
|
3233
3233
|
key_as_string?: string;
|
|
3234
3234
|
max_as_string?: string;
|
|
3235
3235
|
}
|
|
3236
|
-
export
|
|
3236
|
+
export type AggregationsVariableWidthHistogramBucket = AggregationsVariableWidthHistogramBucketKeys & {
|
|
3237
3237
|
[property: string]: AggregationsAggregate | double | string | long;
|
|
3238
3238
|
};
|
|
3239
3239
|
export interface AggregationsWeightedAverageAggregation extends AggregationsAggregation {
|
|
@@ -3249,16 +3249,16 @@ export interface AggregationsWeightedAverageValue {
|
|
|
3249
3249
|
}
|
|
3250
3250
|
export interface AggregationsWeightedAvgAggregate extends AggregationsSingleMetricAggregateBase {
|
|
3251
3251
|
}
|
|
3252
|
-
export
|
|
3252
|
+
export type AnalysisAnalyzer = AnalysisCustomAnalyzer | AnalysisFingerprintAnalyzer | AnalysisKeywordAnalyzer | AnalysisLanguageAnalyzer | AnalysisNoriAnalyzer | AnalysisPatternAnalyzer | AnalysisSimpleAnalyzer | AnalysisStandardAnalyzer | AnalysisStopAnalyzer | AnalysisWhitespaceAnalyzer | AnalysisIcuAnalyzer | AnalysisKuromojiAnalyzer | AnalysisSnowballAnalyzer | AnalysisDutchAnalyzer;
|
|
3253
3253
|
export interface AnalysisAsciiFoldingTokenFilter extends AnalysisTokenFilterBase {
|
|
3254
3254
|
type: 'asciifolding';
|
|
3255
3255
|
preserve_original?: boolean;
|
|
3256
3256
|
}
|
|
3257
|
-
export
|
|
3257
|
+
export type AnalysisCharFilter = string | AnalysisCharFilterDefinition;
|
|
3258
3258
|
export interface AnalysisCharFilterBase {
|
|
3259
3259
|
version?: VersionString;
|
|
3260
3260
|
}
|
|
3261
|
-
export
|
|
3261
|
+
export type AnalysisCharFilterDefinition = AnalysisHtmlStripCharFilter | AnalysisMappingCharFilter | AnalysisPatternReplaceCharFilter | AnalysisIcuNormalizationCharFilter | AnalysisKuromojiIterationMarkCharFilter;
|
|
3262
3262
|
export interface AnalysisCharGroupTokenizer extends AnalysisTokenizerBase {
|
|
3263
3263
|
type: 'char_group';
|
|
3264
3264
|
tokenize_on_chars: string[];
|
|
@@ -3298,7 +3298,7 @@ export interface AnalysisCustomNormalizer {
|
|
|
3298
3298
|
char_filter?: string[];
|
|
3299
3299
|
filter?: string[];
|
|
3300
3300
|
}
|
|
3301
|
-
export
|
|
3301
|
+
export type AnalysisDelimitedPayloadEncoding = 'int' | 'float' | 'identity';
|
|
3302
3302
|
export interface AnalysisDelimitedPayloadTokenFilter extends AnalysisTokenFilterBase {
|
|
3303
3303
|
type: 'delimited_payload';
|
|
3304
3304
|
delimiter?: string;
|
|
@@ -3311,7 +3311,7 @@ export interface AnalysisDutchAnalyzer {
|
|
|
3311
3311
|
type: 'dutch';
|
|
3312
3312
|
stopwords?: AnalysisStopWords;
|
|
3313
3313
|
}
|
|
3314
|
-
export
|
|
3314
|
+
export type AnalysisEdgeNGramSide = 'front' | 'back';
|
|
3315
3315
|
export interface AnalysisEdgeNGramTokenFilter extends AnalysisTokenFilterBase {
|
|
3316
3316
|
type: 'edge_ngram';
|
|
3317
3317
|
max_gram?: integer;
|
|
@@ -3364,10 +3364,10 @@ export interface AnalysisIcuAnalyzer {
|
|
|
3364
3364
|
method: AnalysisIcuNormalizationType;
|
|
3365
3365
|
mode: AnalysisIcuNormalizationMode;
|
|
3366
3366
|
}
|
|
3367
|
-
export
|
|
3368
|
-
export
|
|
3369
|
-
export
|
|
3370
|
-
export
|
|
3367
|
+
export type AnalysisIcuCollationAlternate = 'shifted' | 'non-ignorable';
|
|
3368
|
+
export type AnalysisIcuCollationCaseFirst = 'lower' | 'upper';
|
|
3369
|
+
export type AnalysisIcuCollationDecomposition = 'no' | 'identical';
|
|
3370
|
+
export type AnalysisIcuCollationStrength = 'primary' | 'secondary' | 'tertiary' | 'quaternary' | 'identical';
|
|
3371
3371
|
export interface AnalysisIcuCollationTokenFilter extends AnalysisTokenFilterBase {
|
|
3372
3372
|
type: 'icu_collation';
|
|
3373
3373
|
alternate?: AnalysisIcuCollationAlternate;
|
|
@@ -3392,17 +3392,17 @@ export interface AnalysisIcuNormalizationCharFilter extends AnalysisCharFilterBa
|
|
|
3392
3392
|
mode?: AnalysisIcuNormalizationMode;
|
|
3393
3393
|
name?: AnalysisIcuNormalizationType;
|
|
3394
3394
|
}
|
|
3395
|
-
export
|
|
3395
|
+
export type AnalysisIcuNormalizationMode = 'decompose' | 'compose';
|
|
3396
3396
|
export interface AnalysisIcuNormalizationTokenFilter extends AnalysisTokenFilterBase {
|
|
3397
3397
|
type: 'icu_normalizer';
|
|
3398
3398
|
name: AnalysisIcuNormalizationType;
|
|
3399
3399
|
}
|
|
3400
|
-
export
|
|
3400
|
+
export type AnalysisIcuNormalizationType = 'nfc' | 'nfkc' | 'nfkc_cf';
|
|
3401
3401
|
export interface AnalysisIcuTokenizer extends AnalysisTokenizerBase {
|
|
3402
3402
|
type: 'icu_tokenizer';
|
|
3403
3403
|
rule_files: string;
|
|
3404
3404
|
}
|
|
3405
|
-
export
|
|
3405
|
+
export type AnalysisIcuTransformDirection = 'forward' | 'reverse';
|
|
3406
3406
|
export interface AnalysisIcuTransformTokenFilter extends AnalysisTokenFilterBase {
|
|
3407
3407
|
type: 'icu_transform';
|
|
3408
3408
|
dir?: AnalysisIcuTransformDirection;
|
|
@@ -3411,7 +3411,7 @@ export interface AnalysisIcuTransformTokenFilter extends AnalysisTokenFilterBase
|
|
|
3411
3411
|
export interface AnalysisKStemTokenFilter extends AnalysisTokenFilterBase {
|
|
3412
3412
|
type: 'kstem';
|
|
3413
3413
|
}
|
|
3414
|
-
export
|
|
3414
|
+
export type AnalysisKeepTypesMode = 'include' | 'exclude';
|
|
3415
3415
|
export interface AnalysisKeepTypesTokenFilter extends AnalysisTokenFilterBase {
|
|
3416
3416
|
type: 'keep_types';
|
|
3417
3417
|
mode?: AnalysisKeepTypesMode;
|
|
@@ -3460,7 +3460,7 @@ export interface AnalysisKuromojiStemmerTokenFilter extends AnalysisTokenFilterB
|
|
|
3460
3460
|
type: 'kuromoji_stemmer';
|
|
3461
3461
|
minimum_length: integer;
|
|
3462
3462
|
}
|
|
3463
|
-
export
|
|
3463
|
+
export type AnalysisKuromojiTokenizationMode = 'normal' | 'search' | 'extended';
|
|
3464
3464
|
export interface AnalysisKuromojiTokenizer extends AnalysisTokenizerBase {
|
|
3465
3465
|
type: 'kuromoji_tokenizer';
|
|
3466
3466
|
discard_punctuation?: boolean;
|
|
@@ -3471,7 +3471,7 @@ export interface AnalysisKuromojiTokenizer extends AnalysisTokenizerBase {
|
|
|
3471
3471
|
user_dictionary_rules?: string[];
|
|
3472
3472
|
discard_compound_token?: boolean;
|
|
3473
3473
|
}
|
|
3474
|
-
export
|
|
3474
|
+
export type AnalysisLanguage = 'Arabic' | 'Armenian' | 'Basque' | 'Brazilian' | 'Bulgarian' | 'Catalan' | 'Chinese' | 'Cjk' | 'Czech' | 'Danish' | 'Dutch' | 'English' | 'Estonian' | 'Finnish' | 'French' | 'Galician' | 'German' | 'Greek' | 'Hindi' | 'Hungarian' | 'Indonesian' | 'Irish' | 'Italian' | 'Latvian' | 'Norwegian' | 'Persian' | 'Portuguese' | 'Romanian' | 'Russian' | 'Sorani' | 'Spanish' | 'Swedish' | 'Turkish' | 'Thai';
|
|
3475
3475
|
export interface AnalysisLanguageAnalyzer {
|
|
3476
3476
|
type: 'language';
|
|
3477
3477
|
version?: VersionString;
|
|
@@ -3533,7 +3533,7 @@ export interface AnalysisNoriAnalyzer {
|
|
|
3533
3533
|
stoptags?: string[];
|
|
3534
3534
|
user_dictionary?: string;
|
|
3535
3535
|
}
|
|
3536
|
-
export
|
|
3536
|
+
export type AnalysisNoriDecompoundMode = 'discard' | 'none' | 'mixed';
|
|
3537
3537
|
export interface AnalysisNoriPartOfSpeechTokenFilter extends AnalysisTokenFilterBase {
|
|
3538
3538
|
type: 'nori_part_of_speech';
|
|
3539
3539
|
stoptags?: string[];
|
|
@@ -3545,7 +3545,7 @@ export interface AnalysisNoriTokenizer extends AnalysisTokenizerBase {
|
|
|
3545
3545
|
user_dictionary?: string;
|
|
3546
3546
|
user_dictionary_rules?: string[];
|
|
3547
3547
|
}
|
|
3548
|
-
export
|
|
3548
|
+
export type AnalysisNormalizer = AnalysisLowercaseNormalizer | AnalysisCustomNormalizer;
|
|
3549
3549
|
export interface AnalysisPathHierarchyTokenizer extends AnalysisTokenizerBase {
|
|
3550
3550
|
type: 'path_hierarchy';
|
|
3551
3551
|
buffer_size: integer;
|
|
@@ -3586,10 +3586,10 @@ export interface AnalysisPatternTokenizer extends AnalysisTokenizerBase {
|
|
|
3586
3586
|
group: integer;
|
|
3587
3587
|
pattern: string;
|
|
3588
3588
|
}
|
|
3589
|
-
export
|
|
3590
|
-
export
|
|
3591
|
-
export
|
|
3592
|
-
export
|
|
3589
|
+
export type AnalysisPhoneticEncoder = 'metaphone' | 'double_metaphone' | 'soundex' | 'refined_soundex' | 'caverphone1' | 'caverphone2' | 'cologne' | 'nysiis' | 'koelnerphonetik' | 'haasephonetik' | 'beider_morse' | 'daitch_mokotoff';
|
|
3590
|
+
export type AnalysisPhoneticLanguage = 'any' | 'common' | 'cyrillic' | 'english' | 'french' | 'german' | 'hebrew' | 'hungarian' | 'polish' | 'romanian' | 'russian' | 'spanish';
|
|
3591
|
+
export type AnalysisPhoneticNameType = 'generic' | 'ashkenazi' | 'sephardic';
|
|
3592
|
+
export type AnalysisPhoneticRuleType = 'approx' | 'exact';
|
|
3593
3593
|
export interface AnalysisPhoneticTokenFilter extends AnalysisTokenFilterBase {
|
|
3594
3594
|
type: 'phonetic';
|
|
3595
3595
|
encoder: AnalysisPhoneticEncoder;
|
|
@@ -3631,7 +3631,7 @@ export interface AnalysisSnowballAnalyzer {
|
|
|
3631
3631
|
language: AnalysisSnowballLanguage;
|
|
3632
3632
|
stopwords?: AnalysisStopWords;
|
|
3633
3633
|
}
|
|
3634
|
-
export
|
|
3634
|
+
export type AnalysisSnowballLanguage = 'Armenian' | 'Basque' | 'Catalan' | 'Danish' | 'Dutch' | 'English' | 'Finnish' | 'French' | 'German' | 'German2' | 'Hungarian' | 'Italian' | 'Kp' | 'Lovins' | 'Norwegian' | 'Porter' | 'Portuguese' | 'Romanian' | 'Russian' | 'Spanish' | 'Swedish' | 'Turkish';
|
|
3635
3635
|
export interface AnalysisSnowballTokenFilter extends AnalysisTokenFilterBase {
|
|
3636
3636
|
type: 'snowball';
|
|
3637
3637
|
language: AnalysisSnowballLanguage;
|
|
@@ -3667,8 +3667,8 @@ export interface AnalysisStopTokenFilter extends AnalysisTokenFilterBase {
|
|
|
3667
3667
|
stopwords?: AnalysisStopWords;
|
|
3668
3668
|
stopwords_path?: string;
|
|
3669
3669
|
}
|
|
3670
|
-
export
|
|
3671
|
-
export
|
|
3670
|
+
export type AnalysisStopWords = string | string[];
|
|
3671
|
+
export type AnalysisSynonymFormat = 'solr' | 'wordnet';
|
|
3672
3672
|
export interface AnalysisSynonymGraphTokenFilter extends AnalysisTokenFilterBase {
|
|
3673
3673
|
type: 'synonym_graph';
|
|
3674
3674
|
expand?: boolean;
|
|
@@ -3689,17 +3689,17 @@ export interface AnalysisSynonymTokenFilter extends AnalysisTokenFilterBase {
|
|
|
3689
3689
|
tokenizer?: string;
|
|
3690
3690
|
updateable?: boolean;
|
|
3691
3691
|
}
|
|
3692
|
-
export
|
|
3693
|
-
export
|
|
3692
|
+
export type AnalysisTokenChar = 'letter' | 'digit' | 'whitespace' | 'punctuation' | 'symbol' | 'custom';
|
|
3693
|
+
export type AnalysisTokenFilter = string | AnalysisTokenFilterDefinition;
|
|
3694
3694
|
export interface AnalysisTokenFilterBase {
|
|
3695
3695
|
version?: VersionString;
|
|
3696
3696
|
}
|
|
3697
|
-
export
|
|
3698
|
-
export
|
|
3697
|
+
export type AnalysisTokenFilterDefinition = AnalysisAsciiFoldingTokenFilter | AnalysisCommonGramsTokenFilter | AnalysisConditionTokenFilter | AnalysisDelimitedPayloadTokenFilter | AnalysisEdgeNGramTokenFilter | AnalysisElisionTokenFilter | AnalysisFingerprintTokenFilter | AnalysisHunspellTokenFilter | AnalysisHyphenationDecompounderTokenFilter | AnalysisKeepTypesTokenFilter | AnalysisKeepWordsTokenFilter | AnalysisKeywordMarkerTokenFilter | AnalysisKStemTokenFilter | AnalysisLengthTokenFilter | AnalysisLimitTokenCountTokenFilter | AnalysisLowercaseTokenFilter | AnalysisMultiplexerTokenFilter | AnalysisNGramTokenFilter | AnalysisNoriPartOfSpeechTokenFilter | AnalysisPatternCaptureTokenFilter | AnalysisPatternReplaceTokenFilter | AnalysisPorterStemTokenFilter | AnalysisPredicateTokenFilter | AnalysisRemoveDuplicatesTokenFilter | AnalysisReverseTokenFilter | AnalysisShingleTokenFilter | AnalysisSnowballTokenFilter | AnalysisStemmerOverrideTokenFilter | AnalysisStemmerTokenFilter | AnalysisStopTokenFilter | AnalysisSynonymGraphTokenFilter | AnalysisSynonymTokenFilter | AnalysisTrimTokenFilter | AnalysisTruncateTokenFilter | AnalysisUniqueTokenFilter | AnalysisUppercaseTokenFilter | AnalysisWordDelimiterGraphTokenFilter | AnalysisWordDelimiterTokenFilter | AnalysisKuromojiStemmerTokenFilter | AnalysisKuromojiReadingFormTokenFilter | AnalysisKuromojiPartOfSpeechTokenFilter | AnalysisIcuTokenizer | AnalysisIcuCollationTokenFilter | AnalysisIcuFoldingTokenFilter | AnalysisIcuNormalizationTokenFilter | AnalysisIcuTransformTokenFilter | AnalysisPhoneticTokenFilter | AnalysisDictionaryDecompounderTokenFilter;
|
|
3698
|
+
export type AnalysisTokenizer = string | AnalysisTokenizerDefinition;
|
|
3699
3699
|
export interface AnalysisTokenizerBase {
|
|
3700
3700
|
version?: VersionString;
|
|
3701
3701
|
}
|
|
3702
|
-
export
|
|
3702
|
+
export type AnalysisTokenizerDefinition = AnalysisCharGroupTokenizer | AnalysisEdgeNGramTokenizer | AnalysisKeywordTokenizer | AnalysisLetterTokenizer | AnalysisLowercaseTokenizer | AnalysisNGramTokenizer | AnalysisNoriTokenizer | AnalysisPathHierarchyTokenizer | AnalysisStandardTokenizer | AnalysisUaxEmailUrlTokenizer | AnalysisWhitespaceTokenizer | AnalysisKuromojiTokenizer | AnalysisPatternTokenizer | AnalysisIcuTokenizer;
|
|
3703
3703
|
export interface AnalysisTrimTokenFilter extends AnalysisTokenFilterBase {
|
|
3704
3704
|
type: 'trim';
|
|
3705
3705
|
}
|
|
@@ -3858,7 +3858,7 @@ export interface MappingDoubleNumberProperty extends MappingStandardNumberProper
|
|
|
3858
3858
|
export interface MappingDoubleRangeProperty extends MappingRangePropertyBase {
|
|
3859
3859
|
type: 'double_range';
|
|
3860
3860
|
}
|
|
3861
|
-
export
|
|
3861
|
+
export type MappingDynamicMapping = boolean | 'strict' | 'runtime' | 'true' | 'false';
|
|
3862
3862
|
export interface MappingDynamicProperty extends MappingDocValuesPropertyBase {
|
|
3863
3863
|
type: '{dynamic_property}';
|
|
3864
3864
|
enabled?: boolean;
|
|
@@ -3904,7 +3904,7 @@ export interface MappingFieldMapping {
|
|
|
3904
3904
|
export interface MappingFieldNamesField {
|
|
3905
3905
|
enabled: boolean;
|
|
3906
3906
|
}
|
|
3907
|
-
export
|
|
3907
|
+
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';
|
|
3908
3908
|
export interface MappingFlattenedProperty extends MappingPropertyBase {
|
|
3909
3909
|
boost?: double;
|
|
3910
3910
|
depth_limit?: integer;
|
|
@@ -3924,7 +3924,7 @@ export interface MappingFloatNumberProperty extends MappingStandardNumberPropert
|
|
|
3924
3924
|
export interface MappingFloatRangeProperty extends MappingRangePropertyBase {
|
|
3925
3925
|
type: 'float_range';
|
|
3926
3926
|
}
|
|
3927
|
-
export
|
|
3927
|
+
export type MappingGeoOrientation = 'right' | 'RIGHT' | 'counterclockwise' | 'ccw' | 'left' | 'LEFT' | 'clockwise' | 'cw';
|
|
3928
3928
|
export interface MappingGeoPointProperty extends MappingDocValuesPropertyBase {
|
|
3929
3929
|
ignore_malformed?: boolean;
|
|
3930
3930
|
ignore_z_value?: boolean;
|
|
@@ -3939,7 +3939,7 @@ export interface MappingGeoShapeProperty extends MappingDocValuesPropertyBase {
|
|
|
3939
3939
|
strategy?: MappingGeoStrategy;
|
|
3940
3940
|
type: 'geo_shape';
|
|
3941
3941
|
}
|
|
3942
|
-
export
|
|
3942
|
+
export type MappingGeoStrategy = 'recursive' | 'term';
|
|
3943
3943
|
export interface MappingHalfFloatNumberProperty extends MappingStandardNumberProperty {
|
|
3944
3944
|
type: 'half_float';
|
|
3945
3945
|
null_value?: float;
|
|
@@ -3951,7 +3951,7 @@ export interface MappingHistogramProperty extends MappingPropertyBase {
|
|
|
3951
3951
|
export interface MappingIndexField {
|
|
3952
3952
|
enabled: boolean;
|
|
3953
3953
|
}
|
|
3954
|
-
export
|
|
3954
|
+
export type MappingIndexOptions = 'docs' | 'freqs' | 'positions' | 'offsets';
|
|
3955
3955
|
export interface MappingIntegerNumberProperty extends MappingStandardNumberProperty {
|
|
3956
3956
|
type: 'integer';
|
|
3957
3957
|
null_value?: integer;
|
|
@@ -3998,7 +3998,7 @@ export interface MappingMatchOnlyTextProperty {
|
|
|
3998
3998
|
meta?: Record<string, string>;
|
|
3999
3999
|
copy_to?: Fields;
|
|
4000
4000
|
}
|
|
4001
|
-
export
|
|
4001
|
+
export type MappingMatchType = 'simple' | 'regex';
|
|
4002
4002
|
export interface MappingMurmur3HashProperty extends MappingDocValuesPropertyBase {
|
|
4003
4003
|
type: 'murmur3';
|
|
4004
4004
|
}
|
|
@@ -4017,7 +4017,7 @@ export interface MappingObjectProperty extends MappingCorePropertyBase {
|
|
|
4017
4017
|
enabled?: boolean;
|
|
4018
4018
|
type?: 'object';
|
|
4019
4019
|
}
|
|
4020
|
-
export
|
|
4020
|
+
export type MappingOnScriptError = 'fail' | 'continue';
|
|
4021
4021
|
export interface MappingPercolatorProperty extends MappingPropertyBase {
|
|
4022
4022
|
type: 'percolator';
|
|
4023
4023
|
}
|
|
@@ -4027,7 +4027,7 @@ export interface MappingPointProperty extends MappingDocValuesPropertyBase {
|
|
|
4027
4027
|
null_value?: string;
|
|
4028
4028
|
type: 'point';
|
|
4029
4029
|
}
|
|
4030
|
-
export
|
|
4030
|
+
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;
|
|
4031
4031
|
export interface MappingPropertyBase {
|
|
4032
4032
|
local_metadata?: Metadata;
|
|
4033
4033
|
meta?: Record<string, string>;
|
|
@@ -4056,8 +4056,8 @@ export interface MappingRuntimeField {
|
|
|
4056
4056
|
script?: Script;
|
|
4057
4057
|
type: MappingRuntimeFieldType;
|
|
4058
4058
|
}
|
|
4059
|
-
export
|
|
4060
|
-
export
|
|
4059
|
+
export type MappingRuntimeFieldType = 'boolean' | 'date' | 'double' | 'geo_point' | 'ip' | 'keyword' | 'long';
|
|
4060
|
+
export type MappingRuntimeFields = Record<Field, MappingRuntimeField>;
|
|
4061
4061
|
export interface MappingScaledFloatNumberProperty extends MappingNumberPropertyBase {
|
|
4062
4062
|
type: 'scaled_float';
|
|
4063
4063
|
coerce?: boolean;
|
|
@@ -4107,7 +4107,7 @@ export interface MappingSuggestContext {
|
|
|
4107
4107
|
type: string;
|
|
4108
4108
|
precision?: integer | string;
|
|
4109
4109
|
}
|
|
4110
|
-
export
|
|
4110
|
+
export type MappingTermVectorOption = 'no' | 'yes' | 'with_offsets' | 'with_positions' | 'with_positions_offsets' | 'with_positions_offsets_payloads' | 'with_positions_payloads';
|
|
4111
4111
|
export interface MappingTextIndexPrefixes {
|
|
4112
4112
|
max_chars: integer;
|
|
4113
4113
|
min_chars: integer;
|
|
@@ -4129,7 +4129,7 @@ export interface MappingTextProperty extends MappingCorePropertyBase {
|
|
|
4129
4129
|
term_vector?: MappingTermVectorOption;
|
|
4130
4130
|
type: 'text';
|
|
4131
4131
|
}
|
|
4132
|
-
export
|
|
4132
|
+
export type MappingTimeSeriesMetricType = 'gauge' | 'counter' | 'summary' | 'histogram';
|
|
4133
4133
|
export interface MappingTokenCountProperty extends MappingDocValuesPropertyBase {
|
|
4134
4134
|
analyzer?: string;
|
|
4135
4135
|
boost?: double;
|
|
@@ -4179,8 +4179,8 @@ export interface QueryDslBoostingQuery extends QueryDslQueryBase {
|
|
|
4179
4179
|
negative: QueryDslQueryContainer;
|
|
4180
4180
|
positive: QueryDslQueryContainer;
|
|
4181
4181
|
}
|
|
4182
|
-
export
|
|
4183
|
-
export
|
|
4182
|
+
export type QueryDslChildScoreMode = 'none' | 'avg' | 'sum' | 'max' | 'min';
|
|
4183
|
+
export type QueryDslCombinedFieldsOperator = 'or' | 'and';
|
|
4184
4184
|
export interface QueryDslCombinedFieldsQuery extends QueryDslQueryBase {
|
|
4185
4185
|
fields: Field[];
|
|
4186
4186
|
query: string;
|
|
@@ -4189,7 +4189,7 @@ export interface QueryDslCombinedFieldsQuery extends QueryDslQueryBase {
|
|
|
4189
4189
|
minimum_should_match?: MinimumShouldMatch;
|
|
4190
4190
|
zero_terms_query?: QueryDslCombinedFieldsZeroTerms;
|
|
4191
4191
|
}
|
|
4192
|
-
export
|
|
4192
|
+
export type QueryDslCombinedFieldsZeroTerms = 'none' | 'all';
|
|
4193
4193
|
export interface QueryDslCommonTermsQuery extends QueryDslQueryBase {
|
|
4194
4194
|
analyzer?: string;
|
|
4195
4195
|
cutoff_frequency?: double;
|
|
@@ -4203,7 +4203,7 @@ export interface QueryDslConstantScoreQuery extends QueryDslQueryBase {
|
|
|
4203
4203
|
}
|
|
4204
4204
|
export interface QueryDslDateDecayFunctionKeys extends QueryDslDecayFunctionBase {
|
|
4205
4205
|
}
|
|
4206
|
-
export
|
|
4206
|
+
export type QueryDslDateDecayFunction = QueryDslDateDecayFunctionKeys & {
|
|
4207
4207
|
[property: string]: QueryDslDecayPlacement<DateMath, Duration> | QueryDslMultiValueMode;
|
|
4208
4208
|
};
|
|
4209
4209
|
export interface QueryDslDateDistanceFeatureQuery extends QueryDslDistanceFeatureQueryBase<DateMath, Duration> {
|
|
@@ -4218,7 +4218,7 @@ export interface QueryDslDateRangeQuery extends QueryDslRangeQueryBase {
|
|
|
4218
4218
|
format?: DateFormat;
|
|
4219
4219
|
time_zone?: TimeZone;
|
|
4220
4220
|
}
|
|
4221
|
-
export
|
|
4221
|
+
export type QueryDslDecayFunction = QueryDslDateDecayFunction | QueryDslNumericDecayFunction | QueryDslGeoDecayFunction;
|
|
4222
4222
|
export interface QueryDslDecayFunctionBase {
|
|
4223
4223
|
multi_value_mode?: QueryDslMultiValueMode;
|
|
4224
4224
|
}
|
|
@@ -4232,7 +4232,7 @@ export interface QueryDslDisMaxQuery extends QueryDslQueryBase {
|
|
|
4232
4232
|
queries: QueryDslQueryContainer[];
|
|
4233
4233
|
tie_breaker?: double;
|
|
4234
4234
|
}
|
|
4235
|
-
export
|
|
4235
|
+
export type QueryDslDistanceFeatureQuery = QueryDslGeoDistanceFeatureQuery | QueryDslDateDistanceFeatureQuery;
|
|
4236
4236
|
export interface QueryDslDistanceFeatureQueryBase<TOrigin = unknown, TDistance = unknown> extends QueryDslQueryBase {
|
|
4237
4237
|
origin: TOrigin;
|
|
4238
4238
|
pivot: TDistance;
|
|
@@ -4252,14 +4252,14 @@ export interface QueryDslFieldLookup {
|
|
|
4252
4252
|
path?: Field;
|
|
4253
4253
|
routing?: Routing;
|
|
4254
4254
|
}
|
|
4255
|
-
export
|
|
4255
|
+
export type QueryDslFieldValueFactorModifier = 'none' | 'log' | 'log1p' | 'log2p' | 'ln' | 'ln1p' | 'ln2p' | 'square' | 'sqrt' | 'reciprocal';
|
|
4256
4256
|
export interface QueryDslFieldValueFactorScoreFunction {
|
|
4257
4257
|
field: Field;
|
|
4258
4258
|
factor?: double;
|
|
4259
4259
|
missing?: double;
|
|
4260
4260
|
modifier?: QueryDslFieldValueFactorModifier;
|
|
4261
4261
|
}
|
|
4262
|
-
export
|
|
4262
|
+
export type QueryDslFunctionBoostMode = 'multiply' | 'replace' | 'sum' | 'avg' | 'max' | 'min';
|
|
4263
4263
|
export interface QueryDslFunctionScoreContainer {
|
|
4264
4264
|
exp?: QueryDslDecayFunction;
|
|
4265
4265
|
gauss?: QueryDslDecayFunction;
|
|
@@ -4270,7 +4270,7 @@ export interface QueryDslFunctionScoreContainer {
|
|
|
4270
4270
|
filter?: QueryDslQueryContainer;
|
|
4271
4271
|
weight?: double;
|
|
4272
4272
|
}
|
|
4273
|
-
export
|
|
4273
|
+
export type QueryDslFunctionScoreMode = 'multiply' | 'sum' | 'avg' | 'first' | 'max' | 'min';
|
|
4274
4274
|
export interface QueryDslFunctionScoreQuery extends QueryDslQueryBase {
|
|
4275
4275
|
boost_mode?: QueryDslFunctionBoostMode;
|
|
4276
4276
|
functions?: QueryDslFunctionScoreContainer[];
|
|
@@ -4292,12 +4292,12 @@ export interface QueryDslGeoBoundingBoxQueryKeys extends QueryDslQueryBase {
|
|
|
4292
4292
|
validation_method?: QueryDslGeoValidationMethod;
|
|
4293
4293
|
ignore_unmapped?: boolean;
|
|
4294
4294
|
}
|
|
4295
|
-
export
|
|
4295
|
+
export type QueryDslGeoBoundingBoxQuery = QueryDslGeoBoundingBoxQueryKeys & {
|
|
4296
4296
|
[property: string]: GeoBounds | QueryDslGeoExecution | QueryDslGeoValidationMethod | boolean | float | string;
|
|
4297
4297
|
};
|
|
4298
4298
|
export interface QueryDslGeoDecayFunctionKeys extends QueryDslDecayFunctionBase {
|
|
4299
4299
|
}
|
|
4300
|
-
export
|
|
4300
|
+
export type QueryDslGeoDecayFunction = QueryDslGeoDecayFunctionKeys & {
|
|
4301
4301
|
[property: string]: QueryDslDecayPlacement<GeoLocation, Distance> | QueryDslMultiValueMode;
|
|
4302
4302
|
};
|
|
4303
4303
|
export interface QueryDslGeoDistanceFeatureQuery extends QueryDslDistanceFeatureQueryBase<GeoLocation, Distance> {
|
|
@@ -4307,10 +4307,10 @@ export interface QueryDslGeoDistanceQueryKeys extends QueryDslQueryBase {
|
|
|
4307
4307
|
distance_type?: GeoDistanceType;
|
|
4308
4308
|
validation_method?: QueryDslGeoValidationMethod;
|
|
4309
4309
|
}
|
|
4310
|
-
export
|
|
4310
|
+
export type QueryDslGeoDistanceQuery = QueryDslGeoDistanceQueryKeys & {
|
|
4311
4311
|
[property: string]: GeoLocation | Distance | GeoDistanceType | QueryDslGeoValidationMethod | float | string;
|
|
4312
4312
|
};
|
|
4313
|
-
export
|
|
4313
|
+
export type QueryDslGeoExecution = 'memory' | 'indexed';
|
|
4314
4314
|
export interface QueryDslGeoPolygonPoints {
|
|
4315
4315
|
points: GeoLocation[];
|
|
4316
4316
|
}
|
|
@@ -4318,7 +4318,7 @@ export interface QueryDslGeoPolygonQueryKeys extends QueryDslQueryBase {
|
|
|
4318
4318
|
validation_method?: QueryDslGeoValidationMethod;
|
|
4319
4319
|
ignore_unmapped?: boolean;
|
|
4320
4320
|
}
|
|
4321
|
-
export
|
|
4321
|
+
export type QueryDslGeoPolygonQuery = QueryDslGeoPolygonQueryKeys & {
|
|
4322
4322
|
[property: string]: QueryDslGeoPolygonPoints | QueryDslGeoValidationMethod | boolean | float | string;
|
|
4323
4323
|
};
|
|
4324
4324
|
export interface QueryDslGeoShapeFieldQuery {
|
|
@@ -4329,10 +4329,10 @@ export interface QueryDslGeoShapeFieldQuery {
|
|
|
4329
4329
|
export interface QueryDslGeoShapeQueryKeys extends QueryDslQueryBase {
|
|
4330
4330
|
ignore_unmapped?: boolean;
|
|
4331
4331
|
}
|
|
4332
|
-
export
|
|
4332
|
+
export type QueryDslGeoShapeQuery = QueryDslGeoShapeQueryKeys & {
|
|
4333
4333
|
[property: string]: QueryDslGeoShapeFieldQuery | boolean | float | string;
|
|
4334
4334
|
};
|
|
4335
|
-
export
|
|
4335
|
+
export type QueryDslGeoValidationMethod = 'coerce' | 'ignore_malformed' | 'strict';
|
|
4336
4336
|
export interface QueryDslHasChildQuery extends QueryDslQueryBase {
|
|
4337
4337
|
ignore_unmapped?: boolean;
|
|
4338
4338
|
inner_hits?: SearchInnerHits;
|
|
@@ -4415,7 +4415,7 @@ export interface QueryDslIntervalsWildcard {
|
|
|
4415
4415
|
pattern: string;
|
|
4416
4416
|
use_field?: Field;
|
|
4417
4417
|
}
|
|
4418
|
-
export
|
|
4418
|
+
export type QueryDslLike = string | QueryDslLikeDocument;
|
|
4419
4419
|
export interface QueryDslLikeDocument {
|
|
4420
4420
|
doc?: any;
|
|
4421
4421
|
fields?: Field[];
|
|
@@ -4509,7 +4509,7 @@ export interface QueryDslMultiMatchQuery extends QueryDslQueryBase {
|
|
|
4509
4509
|
type?: QueryDslTextQueryType;
|
|
4510
4510
|
zero_terms_query?: QueryDslZeroTermsQuery;
|
|
4511
4511
|
}
|
|
4512
|
-
export
|
|
4512
|
+
export type QueryDslMultiValueMode = 'min' | 'max' | 'avg' | 'sum';
|
|
4513
4513
|
export interface QueryDslNestedQuery extends QueryDslQueryBase {
|
|
4514
4514
|
ignore_unmapped?: boolean;
|
|
4515
4515
|
inner_hits?: SearchInnerHits;
|
|
@@ -4527,10 +4527,10 @@ export interface QueryDslNumberRangeQuery extends QueryDslRangeQueryBase {
|
|
|
4527
4527
|
}
|
|
4528
4528
|
export interface QueryDslNumericDecayFunctionKeys extends QueryDslDecayFunctionBase {
|
|
4529
4529
|
}
|
|
4530
|
-
export
|
|
4530
|
+
export type QueryDslNumericDecayFunction = QueryDslNumericDecayFunctionKeys & {
|
|
4531
4531
|
[property: string]: QueryDslDecayPlacement<double, double> | QueryDslMultiValueMode;
|
|
4532
4532
|
};
|
|
4533
|
-
export
|
|
4533
|
+
export type QueryDslOperator = 'and' | 'AND' | 'or' | 'OR';
|
|
4534
4534
|
export interface QueryDslParentIdQuery extends QueryDslQueryBase {
|
|
4535
4535
|
id?: Id;
|
|
4536
4536
|
ignore_unmapped?: boolean;
|
|
@@ -4652,11 +4652,11 @@ export interface QueryDslRandomScoreFunction {
|
|
|
4652
4652
|
field?: Field;
|
|
4653
4653
|
seed?: long | string;
|
|
4654
4654
|
}
|
|
4655
|
-
export
|
|
4655
|
+
export type QueryDslRangeQuery = QueryDslDateRangeQuery | QueryDslNumberRangeQuery;
|
|
4656
4656
|
export interface QueryDslRangeQueryBase extends QueryDslQueryBase {
|
|
4657
4657
|
relation?: QueryDslRangeRelation;
|
|
4658
4658
|
}
|
|
4659
|
-
export
|
|
4659
|
+
export type QueryDslRangeRelation = 'within' | 'contains' | 'intersects';
|
|
4660
4660
|
export interface QueryDslRankFeatureFunction {
|
|
4661
4661
|
}
|
|
4662
4662
|
export interface QueryDslRankFeatureFunctionLinear {
|
|
@@ -4704,11 +4704,11 @@ export interface QueryDslShapeFieldQuery {
|
|
|
4704
4704
|
export interface QueryDslShapeQueryKeys extends QueryDslQueryBase {
|
|
4705
4705
|
ignore_unmapped?: boolean;
|
|
4706
4706
|
}
|
|
4707
|
-
export
|
|
4707
|
+
export type QueryDslShapeQuery = QueryDslShapeQueryKeys & {
|
|
4708
4708
|
[property: string]: QueryDslShapeFieldQuery | boolean | float | string;
|
|
4709
4709
|
};
|
|
4710
|
-
export
|
|
4711
|
-
export
|
|
4710
|
+
export type QueryDslSimpleQueryStringFlag = 'NONE' | 'AND' | 'OR' | 'NOT' | 'PREFIX' | 'PHRASE' | 'PRECEDENCE' | 'ESCAPE' | 'WHITESPACE' | 'FUZZY' | 'NEAR' | 'SLOP' | 'ALL';
|
|
4711
|
+
export type QueryDslSimpleQueryStringFlags = QueryDslSimpleQueryStringFlag | string;
|
|
4712
4712
|
export interface QueryDslSimpleQueryStringQuery extends QueryDslQueryBase {
|
|
4713
4713
|
analyzer?: string;
|
|
4714
4714
|
analyze_wildcard?: boolean;
|
|
@@ -4736,7 +4736,7 @@ export interface QueryDslSpanFirstQuery extends QueryDslQueryBase {
|
|
|
4736
4736
|
end: integer;
|
|
4737
4737
|
match: QueryDslSpanQuery;
|
|
4738
4738
|
}
|
|
4739
|
-
export
|
|
4739
|
+
export type QueryDslSpanGapQuery = Partial<Record<Field, integer>>;
|
|
4740
4740
|
export interface QueryDslSpanMultiTermQuery extends QueryDslQueryBase {
|
|
4741
4741
|
match: QueryDslQueryContainer;
|
|
4742
4742
|
}
|
|
@@ -4786,16 +4786,16 @@ export interface QueryDslTermsLookup {
|
|
|
4786
4786
|
}
|
|
4787
4787
|
export interface QueryDslTermsQueryKeys extends QueryDslQueryBase {
|
|
4788
4788
|
}
|
|
4789
|
-
export
|
|
4789
|
+
export type QueryDslTermsQuery = QueryDslTermsQueryKeys & {
|
|
4790
4790
|
[property: string]: QueryDslTermsQueryField | float | string;
|
|
4791
4791
|
};
|
|
4792
|
-
export
|
|
4792
|
+
export type QueryDslTermsQueryField = FieldValue[] | QueryDslTermsLookup;
|
|
4793
4793
|
export interface QueryDslTermsSetQuery extends QueryDslQueryBase {
|
|
4794
4794
|
minimum_should_match_field?: Field;
|
|
4795
4795
|
minimum_should_match_script?: Script;
|
|
4796
4796
|
terms: string[];
|
|
4797
4797
|
}
|
|
4798
|
-
export
|
|
4798
|
+
export type QueryDslTextQueryType = 'best_fields' | 'most_fields' | 'cross_fields' | 'phrase' | 'phrase_prefix' | 'bool_prefix';
|
|
4799
4799
|
export interface QueryDslTypeQuery extends QueryDslQueryBase {
|
|
4800
4800
|
value: string;
|
|
4801
4801
|
}
|
|
@@ -4808,7 +4808,7 @@ export interface QueryDslWildcardQuery extends QueryDslQueryBase {
|
|
|
4808
4808
|
export interface QueryDslWrapperQuery extends QueryDslQueryBase {
|
|
4809
4809
|
query: string;
|
|
4810
4810
|
}
|
|
4811
|
-
export
|
|
4811
|
+
export type QueryDslZeroTermsQuery = 'all' | 'none';
|
|
4812
4812
|
export interface AsyncSearchAsyncSearch<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> {
|
|
4813
4813
|
aggregations?: TAggregations;
|
|
4814
4814
|
_clusters?: ClusterStatistics;
|
|
@@ -4840,18 +4840,18 @@ export interface AsyncSearchAsyncSearchResponseBase {
|
|
|
4840
4840
|
export interface AsyncSearchDeleteRequest extends RequestBase {
|
|
4841
4841
|
id: Id;
|
|
4842
4842
|
}
|
|
4843
|
-
export
|
|
4843
|
+
export type AsyncSearchDeleteResponse = AcknowledgedResponseBase;
|
|
4844
4844
|
export interface AsyncSearchGetRequest extends RequestBase {
|
|
4845
4845
|
id: Id;
|
|
4846
4846
|
keep_alive?: Duration;
|
|
4847
4847
|
typed_keys?: boolean;
|
|
4848
4848
|
wait_for_completion_timeout?: Duration;
|
|
4849
4849
|
}
|
|
4850
|
-
export
|
|
4850
|
+
export type AsyncSearchGetResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = AsyncSearchAsyncSearchDocumentResponseBase<TDocument, TAggregations>;
|
|
4851
4851
|
export interface AsyncSearchStatusRequest extends RequestBase {
|
|
4852
4852
|
id: Id;
|
|
4853
4853
|
}
|
|
4854
|
-
export
|
|
4854
|
+
export type AsyncSearchStatusResponse = AsyncSearchStatusStatusResponseBase;
|
|
4855
4855
|
export interface AsyncSearchStatusStatusResponseBase extends AsyncSearchAsyncSearchResponseBase {
|
|
4856
4856
|
_shards: ShardStatistics;
|
|
4857
4857
|
completion_status?: integer;
|
|
@@ -4927,7 +4927,7 @@ export interface AsyncSearchSubmitRequest extends RequestBase {
|
|
|
4927
4927
|
stats?: string[];
|
|
4928
4928
|
};
|
|
4929
4929
|
}
|
|
4930
|
-
export
|
|
4930
|
+
export type AsyncSearchSubmitResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = AsyncSearchAsyncSearchDocumentResponseBase<TDocument, TAggregations>;
|
|
4931
4931
|
export interface AutoscalingAutoscalingPolicy {
|
|
4932
4932
|
roles: string[];
|
|
4933
4933
|
deciders: Record<string, any>;
|
|
@@ -4935,7 +4935,7 @@ export interface AutoscalingAutoscalingPolicy {
|
|
|
4935
4935
|
export interface AutoscalingDeleteAutoscalingPolicyRequest extends RequestBase {
|
|
4936
4936
|
name: Name;
|
|
4937
4937
|
}
|
|
4938
|
-
export
|
|
4938
|
+
export type AutoscalingDeleteAutoscalingPolicyResponse = AcknowledgedResponseBase;
|
|
4939
4939
|
export interface AutoscalingGetAutoscalingCapacityAutoscalingCapacity {
|
|
4940
4940
|
node: AutoscalingGetAutoscalingCapacityAutoscalingResources;
|
|
4941
4941
|
total: AutoscalingGetAutoscalingCapacityAutoscalingResources;
|
|
@@ -4966,25 +4966,25 @@ export interface AutoscalingGetAutoscalingCapacityResponse {
|
|
|
4966
4966
|
export interface AutoscalingGetAutoscalingPolicyRequest extends RequestBase {
|
|
4967
4967
|
name: Name;
|
|
4968
4968
|
}
|
|
4969
|
-
export
|
|
4969
|
+
export type AutoscalingGetAutoscalingPolicyResponse = AutoscalingAutoscalingPolicy;
|
|
4970
4970
|
export interface AutoscalingPutAutoscalingPolicyRequest extends RequestBase {
|
|
4971
4971
|
name: Name;
|
|
4972
4972
|
/** @deprecated The use of the 'body' key has been deprecated, use 'policy' instead. */
|
|
4973
4973
|
body?: AutoscalingAutoscalingPolicy;
|
|
4974
4974
|
}
|
|
4975
|
-
export
|
|
4976
|
-
export
|
|
4977
|
-
export
|
|
4978
|
-
export
|
|
4979
|
-
export
|
|
4980
|
-
export
|
|
4981
|
-
export
|
|
4975
|
+
export type AutoscalingPutAutoscalingPolicyResponse = AcknowledgedResponseBase;
|
|
4976
|
+
export type CatCatAnomalyDetectorColumn = 'assignment_explanation' | 'ae' | 'buckets.count' | 'bc' | 'bucketsCount' | 'buckets.time.exp_avg' | 'btea' | 'bucketsTimeExpAvg' | 'buckets.time.exp_avg_hour' | 'bteah' | 'bucketsTimeExpAvgHour' | 'buckets.time.max' | 'btmax' | 'bucketsTimeMax' | 'buckets.time.min' | 'btmin' | 'bucketsTimeMin' | 'buckets.time.total' | 'btt' | 'bucketsTimeTotal' | 'data.buckets' | 'db' | 'dataBuckets' | 'data.earliest_record' | 'der' | 'dataEarliestRecord' | 'data.empty_buckets' | 'deb' | 'dataEmptyBuckets' | 'data.input_bytes' | 'dib' | 'dataInputBytes' | 'data.input_fields' | 'dif' | 'dataInputFields' | 'data.input_records' | 'dir' | 'dataInputRecords' | 'data.invalid_dates' | 'did' | 'dataInvalidDates' | 'data.last' | 'dl' | 'dataLast' | 'data.last_empty_bucket' | 'dleb' | 'dataLastEmptyBucket' | 'data.last_sparse_bucket' | 'dlsb' | 'dataLastSparseBucket' | 'data.latest_record' | 'dlr' | 'dataLatestRecord' | 'data.missing_fields' | 'dmf' | 'dataMissingFields' | 'data.out_of_order_timestamps' | 'doot' | 'dataOutOfOrderTimestamps' | 'data.processed_fields' | 'dpf' | 'dataProcessedFields' | 'data.processed_records' | 'dpr' | 'dataProcessedRecords' | 'data.sparse_buckets' | 'dsb' | 'dataSparseBuckets' | 'forecasts.memory.avg' | 'fmavg' | 'forecastsMemoryAvg' | 'forecasts.memory.max' | 'fmmax' | 'forecastsMemoryMax' | 'forecasts.memory.min' | 'fmmin' | 'forecastsMemoryMin' | 'forecasts.memory.total' | 'fmt' | 'forecastsMemoryTotal' | 'forecasts.records.avg' | 'fravg' | 'forecastsRecordsAvg' | 'forecasts.records.max' | 'frmax' | 'forecastsRecordsMax' | 'forecasts.records.min' | 'frmin' | 'forecastsRecordsMin' | 'forecasts.records.total' | 'frt' | 'forecastsRecordsTotal' | 'forecasts.time.avg' | 'ftavg' | 'forecastsTimeAvg' | 'forecasts.time.max' | 'ftmax' | 'forecastsTimeMax' | 'forecasts.time.min' | 'ftmin' | 'forecastsTimeMin' | 'forecasts.time.total' | 'ftt' | 'forecastsTimeTotal' | 'forecasts.total' | 'ft' | 'forecastsTotal' | 'id' | 'model.bucket_allocation_failures' | 'mbaf' | 'modelBucketAllocationFailures' | 'model.by_fields' | 'mbf' | 'modelByFields' | 'model.bytes' | 'mb' | 'modelBytes' | 'model.bytes_exceeded' | 'mbe' | 'modelBytesExceeded' | 'model.categorization_status' | 'mcs' | 'modelCategorizationStatus' | 'model.categorized_doc_count' | 'mcdc' | 'modelCategorizedDocCount' | 'model.dead_category_count' | 'mdcc' | 'modelDeadCategoryCount' | 'model.failed_category_count' | 'mdcc' | 'modelFailedCategoryCount' | 'model.frequent_category_count' | 'mfcc' | 'modelFrequentCategoryCount' | 'model.log_time' | 'mlt' | 'modelLogTime' | 'model.memory_limit' | 'mml' | 'modelMemoryLimit' | 'model.memory_status' | 'mms' | 'modelMemoryStatus' | 'model.over_fields' | 'mof' | 'modelOverFields' | 'model.partition_fields' | 'mpf' | 'modelPartitionFields' | 'model.rare_category_count' | 'mrcc' | 'modelRareCategoryCount' | 'model.timestamp' | 'mt' | 'modelTimestamp' | 'model.total_category_count' | 'mtcc' | 'modelTotalCategoryCount' | 'node.address' | 'na' | 'nodeAddress' | 'node.ephemeral_id' | 'ne' | 'nodeEphemeralId' | 'node.id' | 'ni' | 'nodeId' | 'node.name' | 'nn' | 'nodeName' | 'opened_time' | 'ot' | 'state' | 's';
|
|
4977
|
+
export type CatCatAnonalyDetectorColumns = CatCatAnomalyDetectorColumn | CatCatAnomalyDetectorColumn[];
|
|
4978
|
+
export type CatCatDatafeedColumn = 'ae' | 'assignment_explanation' | 'bc' | 'buckets.count' | 'bucketsCount' | 'id' | 'na' | 'node.address' | 'nodeAddress' | 'ne' | 'node.ephemeral_id' | 'nodeEphemeralId' | 'ni' | 'node.id' | 'nodeId' | 'nn' | 'node.name' | 'nodeName' | 'sba' | 'search.bucket_avg' | 'searchBucketAvg' | 'sc' | 'search.count' | 'searchCount' | 'seah' | 'search.exp_avg_hour' | 'searchExpAvgHour' | 'st' | 'search.time' | 'searchTime' | 's' | 'state';
|
|
4979
|
+
export type CatCatDatafeedColumns = CatCatDatafeedColumn | CatCatDatafeedColumn[];
|
|
4980
|
+
export type CatCatDfaColumn = 'assignment_explanation' | 'ae' | 'create_time' | 'ct' | 'createTime' | 'description' | 'd' | 'dest_index' | 'di' | 'destIndex' | 'failure_reason' | 'fr' | 'failureReason' | 'id' | 'model_memory_limit' | 'mml' | 'modelMemoryLimit' | 'node.address' | 'na' | 'nodeAddress' | 'node.ephemeral_id' | 'ne' | 'nodeEphemeralId' | 'node.id' | 'ni' | 'nodeId' | 'node.name' | 'nn' | 'nodeName' | 'progress' | 'p' | 'source_index' | 'si' | 'sourceIndex' | 'state' | 's' | 'type' | 't' | 'version' | 'v';
|
|
4981
|
+
export type CatCatDfaColumns = CatCatDfaColumn | CatCatDfaColumn[];
|
|
4982
4982
|
export interface CatCatRequestBase extends RequestBase, SpecUtilsCommonCatQueryParameters {
|
|
4983
4983
|
}
|
|
4984
|
-
export
|
|
4985
|
-
export
|
|
4986
|
-
export
|
|
4987
|
-
export
|
|
4984
|
+
export type CatCatTrainedModelsColumn = 'create_time' | 'ct' | 'created_by' | 'c' | 'createdBy' | 'data_frame_analytics_id' | 'df' | 'dataFrameAnalytics' | 'description' | 'd' | 'heap_size' | 'hs' | 'modelHeapSize' | 'id' | 'ingest.count' | 'ic' | 'ingestCount' | 'ingest.current' | 'icurr' | 'ingestCurrent' | 'ingest.failed' | 'if' | 'ingestFailed' | 'ingest.pipelines' | 'ip' | 'ingestPipelines' | 'ingest.time' | 'it' | 'ingestTime' | 'license' | 'l' | 'operations' | 'o' | 'modelOperations' | 'version' | 'v';
|
|
4985
|
+
export type CatCatTrainedModelsColumns = CatCatTrainedModelsColumn | CatCatTrainedModelsColumn[];
|
|
4986
|
+
export type CatCatTransformColumn = 'changes_last_detection_time' | 'cldt' | 'checkpoint' | 'cp' | 'checkpoint_duration_time_exp_avg' | 'cdtea' | 'checkpointTimeExpAvg' | 'checkpoint_progress' | 'c' | 'checkpointProgress' | 'create_time' | 'ct' | 'createTime' | 'delete_time' | 'dtime' | 'description' | 'd' | 'dest_index' | 'di' | 'destIndex' | 'documents_deleted' | 'docd' | 'documents_indexed' | 'doci' | 'docs_per_second' | 'dps' | 'documents_processed' | 'docp' | 'frequency' | 'f' | 'id' | 'index_failure' | 'if' | 'index_time' | 'itime' | 'index_total' | 'it' | 'indexed_documents_exp_avg' | 'idea' | 'last_search_time' | 'lst' | 'lastSearchTime' | 'max_page_search_size' | 'mpsz' | 'pages_processed' | 'pp' | 'pipeline' | 'p' | 'processed_documents_exp_avg' | 'pdea' | 'processing_time' | 'pt' | 'reason' | 'r' | 'search_failure' | 'sf' | 'search_time' | 'stime' | 'search_total' | 'st' | 'source_index' | 'si' | 'sourceIndex' | 'state' | 's' | 'transform_type' | 'tt' | 'trigger_count' | 'tc' | 'version' | 'v';
|
|
4987
|
+
export type CatCatTransformColumns = CatCatTransformColumn | CatCatTransformColumn[];
|
|
4988
4988
|
export interface CatAliasesAliasesRecord {
|
|
4989
4989
|
alias?: string;
|
|
4990
4990
|
a?: string;
|
|
@@ -5008,7 +5008,7 @@ export interface CatAliasesRequest extends CatCatRequestBase {
|
|
|
5008
5008
|
name?: Names;
|
|
5009
5009
|
expand_wildcards?: ExpandWildcards;
|
|
5010
5010
|
}
|
|
5011
|
-
export
|
|
5011
|
+
export type CatAliasesResponse = CatAliasesAliasesRecord[];
|
|
5012
5012
|
export interface CatAllocationAllocationRecord {
|
|
5013
5013
|
shards?: string;
|
|
5014
5014
|
s?: string;
|
|
@@ -5037,7 +5037,7 @@ export interface CatAllocationRequest extends CatCatRequestBase {
|
|
|
5037
5037
|
node_id?: NodeIds;
|
|
5038
5038
|
bytes?: Bytes;
|
|
5039
5039
|
}
|
|
5040
|
-
export
|
|
5040
|
+
export type CatAllocationResponse = CatAllocationAllocationRecord[];
|
|
5041
5041
|
export interface CatComponentTemplatesComponentTemplate {
|
|
5042
5042
|
name: string;
|
|
5043
5043
|
version: string;
|
|
@@ -5050,7 +5050,7 @@ export interface CatComponentTemplatesComponentTemplate {
|
|
|
5050
5050
|
export interface CatComponentTemplatesRequest extends CatCatRequestBase {
|
|
5051
5051
|
name?: string;
|
|
5052
5052
|
}
|
|
5053
|
-
export
|
|
5053
|
+
export type CatComponentTemplatesResponse = CatComponentTemplatesComponentTemplate[];
|
|
5054
5054
|
export interface CatCountCountRecord {
|
|
5055
5055
|
epoch?: SpecUtilsStringified<EpochTime<UnitSeconds>>;
|
|
5056
5056
|
t?: SpecUtilsStringified<EpochTime<UnitSeconds>>;
|
|
@@ -5067,7 +5067,7 @@ export interface CatCountCountRecord {
|
|
|
5067
5067
|
export interface CatCountRequest extends CatCatRequestBase {
|
|
5068
5068
|
index?: Indices;
|
|
5069
5069
|
}
|
|
5070
|
-
export
|
|
5070
|
+
export type CatCountResponse = CatCountCountRecord[];
|
|
5071
5071
|
export interface CatFielddataFielddataRecord {
|
|
5072
5072
|
id?: string;
|
|
5073
5073
|
host?: string;
|
|
@@ -5083,7 +5083,7 @@ export interface CatFielddataRequest extends CatCatRequestBase {
|
|
|
5083
5083
|
fields?: Fields;
|
|
5084
5084
|
bytes?: Bytes;
|
|
5085
5085
|
}
|
|
5086
|
-
export
|
|
5086
|
+
export type CatFielddataResponse = CatFielddataFielddataRecord[];
|
|
5087
5087
|
export interface CatHealthHealthRecord {
|
|
5088
5088
|
epoch?: SpecUtilsStringified<EpochTime<UnitSeconds>>;
|
|
5089
5089
|
time?: SpecUtilsStringified<EpochTime<UnitSeconds>>;
|
|
@@ -5135,13 +5135,13 @@ export interface CatHealthHealthRecord {
|
|
|
5135
5135
|
export interface CatHealthRequest extends CatCatRequestBase {
|
|
5136
5136
|
ts?: boolean;
|
|
5137
5137
|
}
|
|
5138
|
-
export
|
|
5138
|
+
export type CatHealthResponse = CatHealthHealthRecord[];
|
|
5139
5139
|
export interface CatHelpHelpRecord {
|
|
5140
5140
|
endpoint: string;
|
|
5141
5141
|
}
|
|
5142
5142
|
export interface CatHelpRequest extends CatCatRequestBase {
|
|
5143
5143
|
}
|
|
5144
|
-
export
|
|
5144
|
+
export type CatHelpResponse = CatHelpHelpRecord[];
|
|
5145
5145
|
export interface CatIndicesIndicesRecord {
|
|
5146
5146
|
health?: string;
|
|
5147
5147
|
h?: string;
|
|
@@ -5439,7 +5439,7 @@ export interface CatIndicesRequest extends CatCatRequestBase {
|
|
|
5439
5439
|
include_unloaded_segments?: boolean;
|
|
5440
5440
|
pri?: boolean;
|
|
5441
5441
|
}
|
|
5442
|
-
export
|
|
5442
|
+
export type CatIndicesResponse = CatIndicesIndicesRecord[];
|
|
5443
5443
|
export interface CatMasterMasterRecord {
|
|
5444
5444
|
id?: string;
|
|
5445
5445
|
host?: string;
|
|
@@ -5450,7 +5450,7 @@ export interface CatMasterMasterRecord {
|
|
|
5450
5450
|
}
|
|
5451
5451
|
export interface CatMasterRequest extends CatCatRequestBase {
|
|
5452
5452
|
}
|
|
5453
|
-
export
|
|
5453
|
+
export type CatMasterResponse = CatMasterMasterRecord[];
|
|
5454
5454
|
export interface CatMlDataFrameAnalyticsDataFrameAnalyticsRecord {
|
|
5455
5455
|
id?: Id;
|
|
5456
5456
|
type?: string;
|
|
@@ -5502,7 +5502,7 @@ export interface CatMlDataFrameAnalyticsRequest extends CatCatRequestBase {
|
|
|
5502
5502
|
s?: CatCatDfaColumns;
|
|
5503
5503
|
time?: Duration;
|
|
5504
5504
|
}
|
|
5505
|
-
export
|
|
5505
|
+
export type CatMlDataFrameAnalyticsResponse = CatMlDataFrameAnalyticsDataFrameAnalyticsRecord[];
|
|
5506
5506
|
export interface CatMlDatafeedsDatafeedsRecord {
|
|
5507
5507
|
id?: string;
|
|
5508
5508
|
state?: MlDatafeedState;
|
|
@@ -5544,7 +5544,7 @@ export interface CatMlDatafeedsRequest extends CatCatRequestBase {
|
|
|
5544
5544
|
s?: CatCatDatafeedColumns;
|
|
5545
5545
|
time?: TimeUnit;
|
|
5546
5546
|
}
|
|
5547
|
-
export
|
|
5547
|
+
export type CatMlDatafeedsResponse = CatMlDatafeedsDatafeedsRecord[];
|
|
5548
5548
|
export interface CatMlJobsJobsRecord {
|
|
5549
5549
|
id?: Id;
|
|
5550
5550
|
state?: MlJobState;
|
|
@@ -5729,7 +5729,7 @@ export interface CatMlJobsRequest extends CatCatRequestBase {
|
|
|
5729
5729
|
s?: CatCatAnonalyDetectorColumns;
|
|
5730
5730
|
time?: TimeUnit;
|
|
5731
5731
|
}
|
|
5732
|
-
export
|
|
5732
|
+
export type CatMlJobsResponse = CatMlJobsJobsRecord[];
|
|
5733
5733
|
export interface CatMlTrainedModelsRequest extends CatCatRequestBase {
|
|
5734
5734
|
model_id?: Id;
|
|
5735
5735
|
allow_no_match?: boolean;
|
|
@@ -5739,7 +5739,7 @@ export interface CatMlTrainedModelsRequest extends CatCatRequestBase {
|
|
|
5739
5739
|
from?: integer;
|
|
5740
5740
|
size?: integer;
|
|
5741
5741
|
}
|
|
5742
|
-
export
|
|
5742
|
+
export type CatMlTrainedModelsResponse = CatMlTrainedModelsTrainedModelsRecord[];
|
|
5743
5743
|
export interface CatMlTrainedModelsTrainedModelsRecord {
|
|
5744
5744
|
id?: Id;
|
|
5745
5745
|
created_by?: string;
|
|
@@ -5802,7 +5802,7 @@ export interface CatNodeattrsNodeAttributesRecord {
|
|
|
5802
5802
|
}
|
|
5803
5803
|
export interface CatNodeattrsRequest extends CatCatRequestBase {
|
|
5804
5804
|
}
|
|
5805
|
-
export
|
|
5805
|
+
export type CatNodeattrsResponse = CatNodeattrsNodeAttributesRecord[];
|
|
5806
5806
|
export interface CatNodesNodesRecord {
|
|
5807
5807
|
id?: Id;
|
|
5808
5808
|
nodeId?: Id;
|
|
@@ -6076,7 +6076,7 @@ export interface CatNodesRequest extends CatCatRequestBase {
|
|
|
6076
6076
|
bytes?: Bytes;
|
|
6077
6077
|
full_id?: boolean | string;
|
|
6078
6078
|
}
|
|
6079
|
-
export
|
|
6079
|
+
export type CatNodesResponse = CatNodesNodesRecord[];
|
|
6080
6080
|
export interface CatPendingTasksPendingTasksRecord {
|
|
6081
6081
|
insertOrder?: string;
|
|
6082
6082
|
o?: string;
|
|
@@ -6089,7 +6089,7 @@ export interface CatPendingTasksPendingTasksRecord {
|
|
|
6089
6089
|
}
|
|
6090
6090
|
export interface CatPendingTasksRequest extends CatCatRequestBase {
|
|
6091
6091
|
}
|
|
6092
|
-
export
|
|
6092
|
+
export type CatPendingTasksResponse = CatPendingTasksPendingTasksRecord[];
|
|
6093
6093
|
export interface CatPluginsPluginsRecord {
|
|
6094
6094
|
id?: NodeId;
|
|
6095
6095
|
name?: Name;
|
|
@@ -6105,7 +6105,7 @@ export interface CatPluginsPluginsRecord {
|
|
|
6105
6105
|
}
|
|
6106
6106
|
export interface CatPluginsRequest extends CatCatRequestBase {
|
|
6107
6107
|
}
|
|
6108
|
-
export
|
|
6108
|
+
export type CatPluginsResponse = CatPluginsPluginsRecord[];
|
|
6109
6109
|
export interface CatRecoveryRecoveryRecord {
|
|
6110
6110
|
index?: IndexName;
|
|
6111
6111
|
i?: IndexName;
|
|
@@ -6169,7 +6169,7 @@ export interface CatRecoveryRequest extends CatCatRequestBase {
|
|
|
6169
6169
|
bytes?: Bytes;
|
|
6170
6170
|
detailed?: boolean;
|
|
6171
6171
|
}
|
|
6172
|
-
export
|
|
6172
|
+
export type CatRecoveryResponse = CatRecoveryRecoveryRecord[];
|
|
6173
6173
|
export interface CatRepositoriesRepositoriesRecord {
|
|
6174
6174
|
id?: string;
|
|
6175
6175
|
repoId?: string;
|
|
@@ -6178,12 +6178,12 @@ export interface CatRepositoriesRepositoriesRecord {
|
|
|
6178
6178
|
}
|
|
6179
6179
|
export interface CatRepositoriesRequest extends CatCatRequestBase {
|
|
6180
6180
|
}
|
|
6181
|
-
export
|
|
6181
|
+
export type CatRepositoriesResponse = CatRepositoriesRepositoriesRecord[];
|
|
6182
6182
|
export interface CatSegmentsRequest extends CatCatRequestBase {
|
|
6183
6183
|
index?: Indices;
|
|
6184
6184
|
bytes?: Bytes;
|
|
6185
6185
|
}
|
|
6186
|
-
export
|
|
6186
|
+
export type CatSegmentsResponse = CatSegmentsSegmentsRecord[];
|
|
6187
6187
|
export interface CatSegmentsSegmentsRecord {
|
|
6188
6188
|
index?: IndexName;
|
|
6189
6189
|
i?: IndexName;
|
|
@@ -6229,7 +6229,7 @@ export interface CatShardsRequest extends CatCatRequestBase {
|
|
|
6229
6229
|
index?: Indices;
|
|
6230
6230
|
bytes?: Bytes;
|
|
6231
6231
|
}
|
|
6232
|
-
export
|
|
6232
|
+
export type CatShardsResponse = CatShardsShardsRecord[];
|
|
6233
6233
|
export interface CatShardsShardsRecord {
|
|
6234
6234
|
index?: string;
|
|
6235
6235
|
i?: string;
|
|
@@ -6447,7 +6447,7 @@ export interface CatSnapshotsRequest extends CatCatRequestBase {
|
|
|
6447
6447
|
repository?: Names;
|
|
6448
6448
|
ignore_unavailable?: boolean;
|
|
6449
6449
|
}
|
|
6450
|
-
export
|
|
6450
|
+
export type CatSnapshotsResponse = CatSnapshotsSnapshotsRecord[];
|
|
6451
6451
|
export interface CatSnapshotsSnapshotsRecord {
|
|
6452
6452
|
id?: string;
|
|
6453
6453
|
snapshot?: string;
|
|
@@ -6487,7 +6487,7 @@ export interface CatTasksRequest extends CatCatRequestBase {
|
|
|
6487
6487
|
node_id?: string[];
|
|
6488
6488
|
parent_task?: long;
|
|
6489
6489
|
}
|
|
6490
|
-
export
|
|
6490
|
+
export type CatTasksResponse = CatTasksTasksRecord[];
|
|
6491
6491
|
export interface CatTasksTasksRecord {
|
|
6492
6492
|
id?: Id;
|
|
6493
6493
|
action?: string;
|
|
@@ -6525,7 +6525,7 @@ export interface CatTasksTasksRecord {
|
|
|
6525
6525
|
export interface CatTemplatesRequest extends CatCatRequestBase {
|
|
6526
6526
|
name?: Name;
|
|
6527
6527
|
}
|
|
6528
|
-
export
|
|
6528
|
+
export type CatTemplatesResponse = CatTemplatesTemplatesRecord[];
|
|
6529
6529
|
export interface CatTemplatesTemplatesRecord {
|
|
6530
6530
|
name?: Name;
|
|
6531
6531
|
n?: Name;
|
|
@@ -6543,7 +6543,7 @@ export interface CatThreadPoolRequest extends CatCatRequestBase {
|
|
|
6543
6543
|
thread_pool_patterns?: Names;
|
|
6544
6544
|
time?: TimeUnit;
|
|
6545
6545
|
}
|
|
6546
|
-
export
|
|
6546
|
+
export type CatThreadPoolResponse = CatThreadPoolThreadPoolRecord[];
|
|
6547
6547
|
export interface CatThreadPoolThreadPoolRecord {
|
|
6548
6548
|
node_name?: string;
|
|
6549
6549
|
nn?: string;
|
|
@@ -6595,7 +6595,7 @@ export interface CatTransformsRequest extends CatCatRequestBase {
|
|
|
6595
6595
|
time?: TimeUnit;
|
|
6596
6596
|
size?: integer;
|
|
6597
6597
|
}
|
|
6598
|
-
export
|
|
6598
|
+
export type CatTransformsResponse = CatTransformsTransformsRecord[];
|
|
6599
6599
|
export interface CatTransformsTransformsRecord {
|
|
6600
6600
|
id?: Id;
|
|
6601
6601
|
state?: string;
|
|
@@ -6717,7 +6717,7 @@ export interface CcrShardStats {
|
|
|
6717
6717
|
export interface CcrDeleteAutoFollowPatternRequest extends RequestBase {
|
|
6718
6718
|
name: Name;
|
|
6719
6719
|
}
|
|
6720
|
-
export
|
|
6720
|
+
export type CcrDeleteAutoFollowPatternResponse = AcknowledgedResponseBase;
|
|
6721
6721
|
export interface CcrFollowRequest extends RequestBase {
|
|
6722
6722
|
index: IndexName;
|
|
6723
6723
|
wait_for_active_shards?: WaitForActiveShards;
|
|
@@ -6761,7 +6761,7 @@ export interface CcrFollowInfoFollowerIndexParameters {
|
|
|
6761
6761
|
max_write_request_size: string;
|
|
6762
6762
|
read_poll_timeout: Duration;
|
|
6763
6763
|
}
|
|
6764
|
-
export
|
|
6764
|
+
export type CcrFollowInfoFollowerIndexStatus = 'active' | 'paused';
|
|
6765
6765
|
export interface CcrFollowInfoRequest extends RequestBase {
|
|
6766
6766
|
index: Indices;
|
|
6767
6767
|
}
|
|
@@ -6808,11 +6808,11 @@ export interface CcrGetAutoFollowPatternResponse {
|
|
|
6808
6808
|
export interface CcrPauseAutoFollowPatternRequest extends RequestBase {
|
|
6809
6809
|
name: Name;
|
|
6810
6810
|
}
|
|
6811
|
-
export
|
|
6811
|
+
export type CcrPauseAutoFollowPatternResponse = AcknowledgedResponseBase;
|
|
6812
6812
|
export interface CcrPauseFollowRequest extends RequestBase {
|
|
6813
6813
|
index: IndexName;
|
|
6814
6814
|
}
|
|
6815
|
-
export
|
|
6815
|
+
export type CcrPauseFollowResponse = AcknowledgedResponseBase;
|
|
6816
6816
|
export interface CcrPutAutoFollowPatternRequest extends RequestBase {
|
|
6817
6817
|
name: Name;
|
|
6818
6818
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
@@ -6834,11 +6834,11 @@ export interface CcrPutAutoFollowPatternRequest extends RequestBase {
|
|
|
6834
6834
|
max_write_request_size?: ByteSize;
|
|
6835
6835
|
};
|
|
6836
6836
|
}
|
|
6837
|
-
export
|
|
6837
|
+
export type CcrPutAutoFollowPatternResponse = AcknowledgedResponseBase;
|
|
6838
6838
|
export interface CcrResumeAutoFollowPatternRequest extends RequestBase {
|
|
6839
6839
|
name: Name;
|
|
6840
6840
|
}
|
|
6841
|
-
export
|
|
6841
|
+
export type CcrResumeAutoFollowPatternResponse = AcknowledgedResponseBase;
|
|
6842
6842
|
export interface CcrResumeFollowRequest extends RequestBase {
|
|
6843
6843
|
index: IndexName;
|
|
6844
6844
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
@@ -6855,7 +6855,7 @@ export interface CcrResumeFollowRequest extends RequestBase {
|
|
|
6855
6855
|
read_poll_timeout?: Duration;
|
|
6856
6856
|
};
|
|
6857
6857
|
}
|
|
6858
|
-
export
|
|
6858
|
+
export type CcrResumeFollowResponse = AcknowledgedResponseBase;
|
|
6859
6859
|
export interface CcrStatsAutoFollowStats {
|
|
6860
6860
|
auto_followed_clusters: CcrStatsAutoFollowedCluster[];
|
|
6861
6861
|
number_of_failed_follow_indices: long;
|
|
@@ -6880,7 +6880,7 @@ export interface CcrStatsResponse {
|
|
|
6880
6880
|
export interface CcrUnfollowRequest extends RequestBase {
|
|
6881
6881
|
index: IndexName;
|
|
6882
6882
|
}
|
|
6883
|
-
export
|
|
6883
|
+
export type CcrUnfollowResponse = AcknowledgedResponseBase;
|
|
6884
6884
|
export interface ClusterComponentTemplate {
|
|
6885
6885
|
name: Name;
|
|
6886
6886
|
component_template: ClusterComponentTemplateNode;
|
|
@@ -6902,7 +6902,7 @@ export interface ClusterAllocationExplainAllocationDecision {
|
|
|
6902
6902
|
decision: ClusterAllocationExplainAllocationExplainDecision;
|
|
6903
6903
|
explanation: string;
|
|
6904
6904
|
}
|
|
6905
|
-
export
|
|
6905
|
+
export type ClusterAllocationExplainAllocationExplainDecision = 'NO' | 'YES' | 'THROTTLE' | 'ALWAYS';
|
|
6906
6906
|
export interface ClusterAllocationExplainAllocationStore {
|
|
6907
6907
|
allocation_id: string;
|
|
6908
6908
|
found: boolean;
|
|
@@ -6925,7 +6925,7 @@ export interface ClusterAllocationExplainCurrentNode {
|
|
|
6925
6925
|
transport_address: TransportAddress;
|
|
6926
6926
|
weight_ranking: integer;
|
|
6927
6927
|
}
|
|
6928
|
-
export
|
|
6928
|
+
export type ClusterAllocationExplainDecision = 'yes' | 'no' | 'worse_balance' | 'throttled' | 'awaiting_info' | 'allocation_delayed' | 'no_valid_shard_copy' | 'no_attempt';
|
|
6929
6929
|
export interface ClusterAllocationExplainDiskUsage {
|
|
6930
6930
|
path: string;
|
|
6931
6931
|
total_bytes: long;
|
|
@@ -7002,23 +7002,23 @@ export interface ClusterAllocationExplainUnassignedInformation {
|
|
|
7002
7002
|
delayed?: boolean;
|
|
7003
7003
|
allocation_status?: string;
|
|
7004
7004
|
}
|
|
7005
|
-
export
|
|
7005
|
+
export type ClusterAllocationExplainUnassignedInformationReason = 'INDEX_CREATED' | 'CLUSTER_RECOVERED' | 'INDEX_REOPENED' | 'DANGLING_INDEX_IMPORTED' | 'NEW_INDEX_RESTORED' | 'EXISTING_INDEX_RESTORED' | 'REPLICA_ADDED' | 'ALLOCATION_FAILED' | 'NODE_LEFT' | 'REROUTE_CANCELLED' | 'REINITIALIZED' | 'REALLOCATED_REPLICA' | 'PRIMARY_FAILED' | 'FORCED_EMPTY_PRIMARY' | 'MANUAL_ALLOCATION';
|
|
7006
7006
|
export interface ClusterDeleteComponentTemplateRequest extends RequestBase {
|
|
7007
7007
|
name: Names;
|
|
7008
7008
|
master_timeout?: Duration;
|
|
7009
7009
|
timeout?: Duration;
|
|
7010
7010
|
}
|
|
7011
|
-
export
|
|
7011
|
+
export type ClusterDeleteComponentTemplateResponse = AcknowledgedResponseBase;
|
|
7012
7012
|
export interface ClusterDeleteVotingConfigExclusionsRequest extends RequestBase {
|
|
7013
7013
|
wait_for_removal?: boolean;
|
|
7014
7014
|
}
|
|
7015
|
-
export
|
|
7015
|
+
export type ClusterDeleteVotingConfigExclusionsResponse = boolean;
|
|
7016
7016
|
export interface ClusterExistsComponentTemplateRequest extends RequestBase {
|
|
7017
7017
|
name: Names;
|
|
7018
7018
|
master_timeout?: Duration;
|
|
7019
7019
|
local?: boolean;
|
|
7020
7020
|
}
|
|
7021
|
-
export
|
|
7021
|
+
export type ClusterExistsComponentTemplateResponse = boolean;
|
|
7022
7022
|
export interface ClusterGetComponentTemplateRequest extends RequestBase {
|
|
7023
7023
|
name?: Name;
|
|
7024
7024
|
flat_settings?: boolean;
|
|
@@ -7111,7 +7111,7 @@ export interface ClusterPostVotingConfigExclusionsRequest extends RequestBase {
|
|
|
7111
7111
|
node_ids?: Ids;
|
|
7112
7112
|
timeout?: Duration;
|
|
7113
7113
|
}
|
|
7114
|
-
export
|
|
7114
|
+
export type ClusterPostVotingConfigExclusionsResponse = boolean;
|
|
7115
7115
|
export interface ClusterPutComponentTemplateRequest extends RequestBase {
|
|
7116
7116
|
name: Name;
|
|
7117
7117
|
create?: boolean;
|
|
@@ -7126,7 +7126,7 @@ export interface ClusterPutComponentTemplateRequest extends RequestBase {
|
|
|
7126
7126
|
_meta?: Metadata;
|
|
7127
7127
|
};
|
|
7128
7128
|
}
|
|
7129
|
-
export
|
|
7129
|
+
export type ClusterPutComponentTemplateResponse = AcknowledgedResponseBase;
|
|
7130
7130
|
export interface ClusterPutSettingsRequest extends RequestBase {
|
|
7131
7131
|
flat_settings?: boolean;
|
|
7132
7132
|
master_timeout?: Duration;
|
|
@@ -7142,7 +7142,7 @@ export interface ClusterPutSettingsResponse {
|
|
|
7142
7142
|
persistent: Record<string, any>;
|
|
7143
7143
|
transient: Record<string, any>;
|
|
7144
7144
|
}
|
|
7145
|
-
export
|
|
7145
|
+
export type ClusterRemoteInfoClusterRemoteInfo = ClusterRemoteInfoClusterRemoteSniffInfo | ClusterRemoteInfoClusterRemoteProxyInfo;
|
|
7146
7146
|
export interface ClusterRemoteInfoClusterRemoteProxyInfo {
|
|
7147
7147
|
mode: 'proxy';
|
|
7148
7148
|
connected: boolean;
|
|
@@ -7164,7 +7164,7 @@ export interface ClusterRemoteInfoClusterRemoteSniffInfo {
|
|
|
7164
7164
|
}
|
|
7165
7165
|
export interface ClusterRemoteInfoRequest extends RequestBase {
|
|
7166
7166
|
}
|
|
7167
|
-
export
|
|
7167
|
+
export type ClusterRemoteInfoResponse = Record<string, ClusterRemoteInfoClusterRemoteInfo>;
|
|
7168
7168
|
export interface ClusterRerouteCommand {
|
|
7169
7169
|
cancel?: ClusterRerouteCommandCancelAction;
|
|
7170
7170
|
move?: ClusterRerouteCommandMoveAction;
|
|
@@ -7242,7 +7242,7 @@ export interface ClusterStateRequest extends RequestBase {
|
|
|
7242
7242
|
wait_for_metadata_version?: VersionNumber;
|
|
7243
7243
|
wait_for_timeout?: Duration;
|
|
7244
7244
|
}
|
|
7245
|
-
export
|
|
7245
|
+
export type ClusterStateResponse = any;
|
|
7246
7246
|
export interface ClusterStatsCharFilterTypes {
|
|
7247
7247
|
char_filter_types: ClusterStatsFieldTypes[];
|
|
7248
7248
|
tokenizer_types: ClusterStatsFieldTypes[];
|
|
@@ -7435,7 +7435,7 @@ export interface ClusterStatsRequest extends RequestBase {
|
|
|
7435
7435
|
flat_settings?: boolean;
|
|
7436
7436
|
timeout?: Duration;
|
|
7437
7437
|
}
|
|
7438
|
-
export
|
|
7438
|
+
export type ClusterStatsResponse = ClusterStatsStatsResponseBase;
|
|
7439
7439
|
export interface ClusterStatsRuntimeFieldTypes {
|
|
7440
7440
|
name: Name;
|
|
7441
7441
|
count: integer;
|
|
@@ -7466,14 +7466,14 @@ export interface DanglingIndicesDeleteDanglingIndexRequest extends RequestBase {
|
|
|
7466
7466
|
master_timeout?: Duration;
|
|
7467
7467
|
timeout?: Duration;
|
|
7468
7468
|
}
|
|
7469
|
-
export
|
|
7469
|
+
export type DanglingIndicesDeleteDanglingIndexResponse = AcknowledgedResponseBase;
|
|
7470
7470
|
export interface DanglingIndicesImportDanglingIndexRequest extends RequestBase {
|
|
7471
7471
|
index_uuid: Uuid;
|
|
7472
7472
|
accept_data_loss: boolean;
|
|
7473
7473
|
master_timeout?: Duration;
|
|
7474
7474
|
timeout?: Duration;
|
|
7475
7475
|
}
|
|
7476
|
-
export
|
|
7476
|
+
export type DanglingIndicesImportDanglingIndexResponse = AcknowledgedResponseBase;
|
|
7477
7477
|
export interface DanglingIndicesListDanglingIndicesDanglingIndex {
|
|
7478
7478
|
index_name: string;
|
|
7479
7479
|
index_uuid: string;
|
|
@@ -7503,8 +7503,8 @@ export interface EnrichSummary {
|
|
|
7503
7503
|
export interface EnrichDeletePolicyRequest extends RequestBase {
|
|
7504
7504
|
name: Name;
|
|
7505
7505
|
}
|
|
7506
|
-
export
|
|
7507
|
-
export
|
|
7506
|
+
export type EnrichDeletePolicyResponse = AcknowledgedResponseBase;
|
|
7507
|
+
export type EnrichExecutePolicyEnrichPolicyPhase = 'SCHEDULED' | 'RUNNING' | 'COMPLETE' | 'FAILED';
|
|
7508
7508
|
export interface EnrichExecutePolicyExecuteEnrichPolicyStatus {
|
|
7509
7509
|
phase: EnrichExecutePolicyEnrichPolicyPhase;
|
|
7510
7510
|
}
|
|
@@ -7531,7 +7531,7 @@ export interface EnrichPutPolicyRequest extends RequestBase {
|
|
|
7531
7531
|
range?: EnrichPolicy;
|
|
7532
7532
|
};
|
|
7533
7533
|
}
|
|
7534
|
-
export
|
|
7534
|
+
export type EnrichPutPolicyResponse = AcknowledgedResponseBase;
|
|
7535
7535
|
export interface EnrichStatsCacheStats {
|
|
7536
7536
|
node_id: Id;
|
|
7537
7537
|
count: integer;
|
|
@@ -7583,13 +7583,13 @@ export interface EqlHitsSequence<TEvent = unknown> {
|
|
|
7583
7583
|
export interface EqlDeleteRequest extends RequestBase {
|
|
7584
7584
|
id: Id;
|
|
7585
7585
|
}
|
|
7586
|
-
export
|
|
7586
|
+
export type EqlDeleteResponse = AcknowledgedResponseBase;
|
|
7587
7587
|
export interface EqlGetRequest extends RequestBase {
|
|
7588
7588
|
id: Id;
|
|
7589
7589
|
keep_alive?: Duration;
|
|
7590
7590
|
wait_for_completion_timeout?: Duration;
|
|
7591
7591
|
}
|
|
7592
|
-
export
|
|
7592
|
+
export type EqlGetResponse<TEvent = unknown> = EqlEqlSearchResponseBase<TEvent>;
|
|
7593
7593
|
export interface EqlGetStatusRequest extends RequestBase {
|
|
7594
7594
|
id: Id;
|
|
7595
7595
|
}
|
|
@@ -7624,8 +7624,8 @@ export interface EqlSearchRequest extends RequestBase {
|
|
|
7624
7624
|
runtime_mappings?: MappingRuntimeFields;
|
|
7625
7625
|
};
|
|
7626
7626
|
}
|
|
7627
|
-
export
|
|
7628
|
-
export
|
|
7627
|
+
export type EqlSearchResponse<TEvent = unknown> = EqlEqlSearchResponseBase<TEvent>;
|
|
7628
|
+
export type EqlSearchResultPosition = 'tail' | 'head';
|
|
7629
7629
|
export interface FeaturesFeature {
|
|
7630
7630
|
name: string;
|
|
7631
7631
|
description: string;
|
|
@@ -7640,7 +7640,7 @@ export interface FeaturesResetFeaturesRequest extends RequestBase {
|
|
|
7640
7640
|
export interface FeaturesResetFeaturesResponse {
|
|
7641
7641
|
features: FeaturesFeature[];
|
|
7642
7642
|
}
|
|
7643
|
-
export
|
|
7643
|
+
export type FleetCheckpoint = long;
|
|
7644
7644
|
export interface FleetGlobalCheckpointsRequest extends RequestBase {
|
|
7645
7645
|
index: IndexName | IndexAlias;
|
|
7646
7646
|
wait_for_advance?: boolean;
|
|
@@ -7815,7 +7815,7 @@ export interface GraphExploreResponse {
|
|
|
7815
7815
|
took: long;
|
|
7816
7816
|
vertices: GraphVertex[];
|
|
7817
7817
|
}
|
|
7818
|
-
export
|
|
7818
|
+
export type IlmActions = any;
|
|
7819
7819
|
export interface IlmConfigurations {
|
|
7820
7820
|
rollover?: IndicesRolloverRolloverConditions;
|
|
7821
7821
|
forcemerge?: IlmForceMergeConfiguration;
|
|
@@ -7847,8 +7847,8 @@ export interface IlmDeleteLifecycleRequest extends RequestBase {
|
|
|
7847
7847
|
master_timeout?: Duration;
|
|
7848
7848
|
timeout?: Duration;
|
|
7849
7849
|
}
|
|
7850
|
-
export
|
|
7851
|
-
export
|
|
7850
|
+
export type IlmDeleteLifecycleResponse = AcknowledgedResponseBase;
|
|
7851
|
+
export type IlmExplainLifecycleLifecycleExplain = IlmExplainLifecycleLifecycleExplainManaged | IlmExplainLifecycleLifecycleExplainUnmanaged;
|
|
7852
7852
|
export interface IlmExplainLifecycleLifecycleExplainManaged {
|
|
7853
7853
|
action?: Name;
|
|
7854
7854
|
action_time?: DateTime;
|
|
@@ -7903,7 +7903,7 @@ export interface IlmGetLifecycleRequest extends RequestBase {
|
|
|
7903
7903
|
master_timeout?: Duration;
|
|
7904
7904
|
timeout?: Duration;
|
|
7905
7905
|
}
|
|
7906
|
-
export
|
|
7906
|
+
export type IlmGetLifecycleResponse = Record<string, IlmGetLifecycleLifecycle>;
|
|
7907
7907
|
export interface IlmGetStatusRequest extends RequestBase {
|
|
7908
7908
|
}
|
|
7909
7909
|
export interface IlmGetStatusResponse {
|
|
@@ -7934,7 +7934,7 @@ export interface IlmMoveToStepRequest extends RequestBase {
|
|
|
7934
7934
|
next_step?: IlmMoveToStepStepKey;
|
|
7935
7935
|
};
|
|
7936
7936
|
}
|
|
7937
|
-
export
|
|
7937
|
+
export type IlmMoveToStepResponse = AcknowledgedResponseBase;
|
|
7938
7938
|
export interface IlmMoveToStepStepKey {
|
|
7939
7939
|
action: string;
|
|
7940
7940
|
name: string;
|
|
@@ -7949,7 +7949,7 @@ export interface IlmPutLifecycleRequest extends RequestBase {
|
|
|
7949
7949
|
policy?: IlmPolicy;
|
|
7950
7950
|
};
|
|
7951
7951
|
}
|
|
7952
|
-
export
|
|
7952
|
+
export type IlmPutLifecycleResponse = AcknowledgedResponseBase;
|
|
7953
7953
|
export interface IlmRemovePolicyRequest extends RequestBase {
|
|
7954
7954
|
index: IndexName;
|
|
7955
7955
|
}
|
|
@@ -7960,17 +7960,17 @@ export interface IlmRemovePolicyResponse {
|
|
|
7960
7960
|
export interface IlmRetryRequest extends RequestBase {
|
|
7961
7961
|
index: IndexName;
|
|
7962
7962
|
}
|
|
7963
|
-
export
|
|
7963
|
+
export type IlmRetryResponse = AcknowledgedResponseBase;
|
|
7964
7964
|
export interface IlmStartRequest extends RequestBase {
|
|
7965
7965
|
master_timeout?: Duration;
|
|
7966
7966
|
timeout?: Duration;
|
|
7967
7967
|
}
|
|
7968
|
-
export
|
|
7968
|
+
export type IlmStartResponse = AcknowledgedResponseBase;
|
|
7969
7969
|
export interface IlmStopRequest extends RequestBase {
|
|
7970
7970
|
master_timeout?: Duration;
|
|
7971
7971
|
timeout?: Duration;
|
|
7972
7972
|
}
|
|
7973
|
-
export
|
|
7973
|
+
export type IlmStopResponse = AcknowledgedResponseBase;
|
|
7974
7974
|
export interface IndicesAlias {
|
|
7975
7975
|
filter?: QueryDslQueryContainer;
|
|
7976
7976
|
index_routing?: Routing;
|
|
@@ -8019,7 +8019,7 @@ export interface IndicesFielddataFrequencyFilter {
|
|
|
8019
8019
|
min: double;
|
|
8020
8020
|
min_segment_size: integer;
|
|
8021
8021
|
}
|
|
8022
|
-
export
|
|
8022
|
+
export type IndicesIndexCheckOnStartup = boolean | 'true' | 'false' | 'checksum';
|
|
8023
8023
|
export interface IndicesIndexRouting {
|
|
8024
8024
|
allocation?: IndicesIndexRoutingAllocation;
|
|
8025
8025
|
rebalance?: IndicesIndexRoutingRebalance;
|
|
@@ -8040,11 +8040,11 @@ export interface IndicesIndexRoutingAllocationInclude {
|
|
|
8040
8040
|
export interface IndicesIndexRoutingAllocationInitialRecovery {
|
|
8041
8041
|
_id?: Id;
|
|
8042
8042
|
}
|
|
8043
|
-
export
|
|
8043
|
+
export type IndicesIndexRoutingAllocationOptions = 'all' | 'primaries' | 'new_primaries' | 'none';
|
|
8044
8044
|
export interface IndicesIndexRoutingRebalance {
|
|
8045
8045
|
enable: IndicesIndexRoutingRebalanceOptions;
|
|
8046
8046
|
}
|
|
8047
|
-
export
|
|
8047
|
+
export type IndicesIndexRoutingRebalanceOptions = 'all' | 'primaries' | 'replicas' | 'none';
|
|
8048
8048
|
export interface IndicesIndexSegmentSort {
|
|
8049
8049
|
field?: Fields;
|
|
8050
8050
|
order?: IndicesSegmentSortOrder | IndicesSegmentSortOrder[];
|
|
@@ -8117,7 +8117,7 @@ export interface IndicesIndexSettingsKeys {
|
|
|
8117
8117
|
indexing_pressure?: IndicesIndexingPressure;
|
|
8118
8118
|
store?: IndicesStorage;
|
|
8119
8119
|
}
|
|
8120
|
-
export
|
|
8120
|
+
export type IndicesIndexSettings = IndicesIndexSettingsKeys & {
|
|
8121
8121
|
[property: string]: any;
|
|
8122
8122
|
};
|
|
8123
8123
|
export interface IndicesIndexSettingsAnalysis {
|
|
@@ -8214,7 +8214,7 @@ export interface IndicesMergeScheduler {
|
|
|
8214
8214
|
export interface IndicesNumericFielddata {
|
|
8215
8215
|
format: IndicesNumericFielddataFormat;
|
|
8216
8216
|
}
|
|
8217
|
-
export
|
|
8217
|
+
export type IndicesNumericFielddataFormat = 'array' | 'disabled';
|
|
8218
8218
|
export interface IndicesQueries {
|
|
8219
8219
|
cache?: IndicesCacheQueries;
|
|
8220
8220
|
}
|
|
@@ -8224,9 +8224,9 @@ export interface IndicesRetentionLease {
|
|
|
8224
8224
|
export interface IndicesSearchIdle {
|
|
8225
8225
|
after?: Duration;
|
|
8226
8226
|
}
|
|
8227
|
-
export
|
|
8228
|
-
export
|
|
8229
|
-
export
|
|
8227
|
+
export type IndicesSegmentSortMissing = '_last' | '_first';
|
|
8228
|
+
export type IndicesSegmentSortMode = 'min' | 'MIN' | 'max' | 'MAX';
|
|
8229
|
+
export type IndicesSegmentSortOrder = 'asc' | 'ASC' | 'desc' | 'DESC';
|
|
8230
8230
|
export interface IndicesSettingsAnalyze {
|
|
8231
8231
|
max_token_count?: integer;
|
|
8232
8232
|
}
|
|
@@ -8308,7 +8308,7 @@ export interface IndicesStorage {
|
|
|
8308
8308
|
type: IndicesStorageType;
|
|
8309
8309
|
allow_mmap?: boolean;
|
|
8310
8310
|
}
|
|
8311
|
-
export
|
|
8311
|
+
export type IndicesStorageType = 'fs' | '' | 'niofs' | 'mmapfs' | 'hybridfs';
|
|
8312
8312
|
export interface IndicesTemplateMapping {
|
|
8313
8313
|
aliases: Record<IndexName, IndicesAlias>;
|
|
8314
8314
|
index_patterns: Name[];
|
|
@@ -8323,12 +8323,12 @@ export interface IndicesTranslog {
|
|
|
8323
8323
|
flush_threshold_size?: ByteSize;
|
|
8324
8324
|
retention?: IndicesTranslogRetention;
|
|
8325
8325
|
}
|
|
8326
|
-
export
|
|
8326
|
+
export type IndicesTranslogDurability = 'request' | 'REQUEST' | 'async' | 'ASYNC';
|
|
8327
8327
|
export interface IndicesTranslogRetention {
|
|
8328
8328
|
size?: ByteSize;
|
|
8329
8329
|
age?: Duration;
|
|
8330
8330
|
}
|
|
8331
|
-
export
|
|
8331
|
+
export type IndicesAddBlockIndicesBlockOptions = 'metadata' | 'read' | 'read_only' | 'write';
|
|
8332
8332
|
export interface IndicesAddBlockIndicesBlockStatus {
|
|
8333
8333
|
name: IndexName;
|
|
8334
8334
|
blocked: boolean;
|
|
@@ -8381,7 +8381,7 @@ export interface IndicesAnalyzeExplainAnalyzeTokenKeys {
|
|
|
8381
8381
|
token: string;
|
|
8382
8382
|
type: string;
|
|
8383
8383
|
}
|
|
8384
|
-
export
|
|
8384
|
+
export type IndicesAnalyzeExplainAnalyzeToken = IndicesAnalyzeExplainAnalyzeTokenKeys & {
|
|
8385
8385
|
[property: string]: any;
|
|
8386
8386
|
};
|
|
8387
8387
|
export interface IndicesAnalyzeRequest extends RequestBase {
|
|
@@ -8403,7 +8403,7 @@ export interface IndicesAnalyzeResponse {
|
|
|
8403
8403
|
detail?: IndicesAnalyzeAnalyzeDetail;
|
|
8404
8404
|
tokens?: IndicesAnalyzeAnalyzeToken[];
|
|
8405
8405
|
}
|
|
8406
|
-
export
|
|
8406
|
+
export type IndicesAnalyzeTextToAnalyze = string | string[];
|
|
8407
8407
|
export interface IndicesAnalyzeTokenDetail {
|
|
8408
8408
|
name: string;
|
|
8409
8409
|
tokens: IndicesAnalyzeExplainAnalyzeToken[];
|
|
@@ -8418,7 +8418,7 @@ export interface IndicesClearCacheRequest extends RequestBase {
|
|
|
8418
8418
|
query?: boolean;
|
|
8419
8419
|
request?: boolean;
|
|
8420
8420
|
}
|
|
8421
|
-
export
|
|
8421
|
+
export type IndicesClearCacheResponse = ShardsOperationResponseBase;
|
|
8422
8422
|
export interface IndicesCloneRequest extends RequestBase {
|
|
8423
8423
|
index: IndexName;
|
|
8424
8424
|
target: Name;
|
|
@@ -8477,7 +8477,7 @@ export interface IndicesCreateResponse {
|
|
|
8477
8477
|
export interface IndicesCreateDataStreamRequest extends RequestBase {
|
|
8478
8478
|
name: DataStreamName;
|
|
8479
8479
|
}
|
|
8480
|
-
export
|
|
8480
|
+
export type IndicesCreateDataStreamResponse = AcknowledgedResponseBase;
|
|
8481
8481
|
export interface IndicesDataStreamsStatsDataStreamsStatsItem {
|
|
8482
8482
|
backing_indices: integer;
|
|
8483
8483
|
data_stream: Name;
|
|
@@ -8505,31 +8505,31 @@ export interface IndicesDeleteRequest extends RequestBase {
|
|
|
8505
8505
|
master_timeout?: Duration;
|
|
8506
8506
|
timeout?: Duration;
|
|
8507
8507
|
}
|
|
8508
|
-
export
|
|
8508
|
+
export type IndicesDeleteResponse = IndicesResponseBase;
|
|
8509
8509
|
export interface IndicesDeleteAliasRequest extends RequestBase {
|
|
8510
8510
|
index: Indices;
|
|
8511
8511
|
name: Names;
|
|
8512
8512
|
master_timeout?: Duration;
|
|
8513
8513
|
timeout?: Duration;
|
|
8514
8514
|
}
|
|
8515
|
-
export
|
|
8515
|
+
export type IndicesDeleteAliasResponse = AcknowledgedResponseBase;
|
|
8516
8516
|
export interface IndicesDeleteDataStreamRequest extends RequestBase {
|
|
8517
8517
|
name: DataStreamNames;
|
|
8518
8518
|
expand_wildcards?: ExpandWildcards;
|
|
8519
8519
|
}
|
|
8520
|
-
export
|
|
8520
|
+
export type IndicesDeleteDataStreamResponse = AcknowledgedResponseBase;
|
|
8521
8521
|
export interface IndicesDeleteIndexTemplateRequest extends RequestBase {
|
|
8522
8522
|
name: Names;
|
|
8523
8523
|
master_timeout?: Duration;
|
|
8524
8524
|
timeout?: Duration;
|
|
8525
8525
|
}
|
|
8526
|
-
export
|
|
8526
|
+
export type IndicesDeleteIndexTemplateResponse = AcknowledgedResponseBase;
|
|
8527
8527
|
export interface IndicesDeleteTemplateRequest extends RequestBase {
|
|
8528
8528
|
name: Name;
|
|
8529
8529
|
master_timeout?: Duration;
|
|
8530
8530
|
timeout?: Duration;
|
|
8531
8531
|
}
|
|
8532
|
-
export
|
|
8532
|
+
export type IndicesDeleteTemplateResponse = AcknowledgedResponseBase;
|
|
8533
8533
|
export interface IndicesDiskUsageRequest extends RequestBase {
|
|
8534
8534
|
index: Indices;
|
|
8535
8535
|
allow_no_indices?: boolean;
|
|
@@ -8538,14 +8538,14 @@ export interface IndicesDiskUsageRequest extends RequestBase {
|
|
|
8538
8538
|
ignore_unavailable?: boolean;
|
|
8539
8539
|
run_expensive_tasks?: boolean;
|
|
8540
8540
|
}
|
|
8541
|
-
export
|
|
8541
|
+
export type IndicesDiskUsageResponse = any;
|
|
8542
8542
|
export interface IndicesDownsampleRequest extends RequestBase {
|
|
8543
8543
|
index: IndexName;
|
|
8544
8544
|
target_index: IndexName;
|
|
8545
8545
|
/** @deprecated The use of the 'body' key has been deprecated, use 'config' instead. */
|
|
8546
8546
|
body?: any;
|
|
8547
8547
|
}
|
|
8548
|
-
export
|
|
8548
|
+
export type IndicesDownsampleResponse = any;
|
|
8549
8549
|
export interface IndicesExistsRequest extends RequestBase {
|
|
8550
8550
|
index: Indices;
|
|
8551
8551
|
allow_no_indices?: boolean;
|
|
@@ -8555,7 +8555,7 @@ export interface IndicesExistsRequest extends RequestBase {
|
|
|
8555
8555
|
include_defaults?: boolean;
|
|
8556
8556
|
local?: boolean;
|
|
8557
8557
|
}
|
|
8558
|
-
export
|
|
8558
|
+
export type IndicesExistsResponse = boolean;
|
|
8559
8559
|
export interface IndicesExistsAliasRequest extends RequestBase {
|
|
8560
8560
|
name: Names;
|
|
8561
8561
|
index?: Indices;
|
|
@@ -8564,19 +8564,19 @@ export interface IndicesExistsAliasRequest extends RequestBase {
|
|
|
8564
8564
|
ignore_unavailable?: boolean;
|
|
8565
8565
|
local?: boolean;
|
|
8566
8566
|
}
|
|
8567
|
-
export
|
|
8567
|
+
export type IndicesExistsAliasResponse = boolean;
|
|
8568
8568
|
export interface IndicesExistsIndexTemplateRequest extends RequestBase {
|
|
8569
8569
|
name: Name;
|
|
8570
8570
|
master_timeout?: Duration;
|
|
8571
8571
|
}
|
|
8572
|
-
export
|
|
8572
|
+
export type IndicesExistsIndexTemplateResponse = boolean;
|
|
8573
8573
|
export interface IndicesExistsTemplateRequest extends RequestBase {
|
|
8574
8574
|
name: Names;
|
|
8575
8575
|
flat_settings?: boolean;
|
|
8576
8576
|
local?: boolean;
|
|
8577
8577
|
master_timeout?: Duration;
|
|
8578
8578
|
}
|
|
8579
|
-
export
|
|
8579
|
+
export type IndicesExistsTemplateResponse = boolean;
|
|
8580
8580
|
export interface IndicesFieldUsageStatsFieldSummary {
|
|
8581
8581
|
any: uint;
|
|
8582
8582
|
stored_fields: uint;
|
|
@@ -8590,7 +8590,7 @@ export interface IndicesFieldUsageStatsFieldSummary {
|
|
|
8590
8590
|
export interface IndicesFieldUsageStatsFieldsUsageBodyKeys {
|
|
8591
8591
|
_shards: ShardStatistics;
|
|
8592
8592
|
}
|
|
8593
|
-
export
|
|
8593
|
+
export type IndicesFieldUsageStatsFieldsUsageBody = IndicesFieldUsageStatsFieldsUsageBodyKeys & {
|
|
8594
8594
|
[property: string]: IndicesFieldUsageStatsUsageStatsIndex | ShardStatistics;
|
|
8595
8595
|
};
|
|
8596
8596
|
export interface IndicesFieldUsageStatsInvertedIndex {
|
|
@@ -8612,7 +8612,7 @@ export interface IndicesFieldUsageStatsRequest extends RequestBase {
|
|
|
8612
8612
|
timeout?: Duration;
|
|
8613
8613
|
wait_for_active_shards?: WaitForActiveShards;
|
|
8614
8614
|
}
|
|
8615
|
-
export
|
|
8615
|
+
export type IndicesFieldUsageStatsResponse = IndicesFieldUsageStatsFieldsUsageBody;
|
|
8616
8616
|
export interface IndicesFieldUsageStatsShardsStats {
|
|
8617
8617
|
all_fields: IndicesFieldUsageStatsFieldSummary;
|
|
8618
8618
|
fields: Record<Field, IndicesFieldUsageStatsFieldSummary>;
|
|
@@ -8634,7 +8634,7 @@ export interface IndicesFlushRequest extends RequestBase {
|
|
|
8634
8634
|
ignore_unavailable?: boolean;
|
|
8635
8635
|
wait_if_ongoing?: boolean;
|
|
8636
8636
|
}
|
|
8637
|
-
export
|
|
8637
|
+
export type IndicesFlushResponse = ShardsOperationResponseBase;
|
|
8638
8638
|
export interface IndicesForcemergeRequest extends RequestBase {
|
|
8639
8639
|
index?: Indices;
|
|
8640
8640
|
allow_no_indices?: boolean;
|
|
@@ -8645,9 +8645,9 @@ export interface IndicesForcemergeRequest extends RequestBase {
|
|
|
8645
8645
|
only_expunge_deletes?: boolean;
|
|
8646
8646
|
wait_for_completion?: boolean;
|
|
8647
8647
|
}
|
|
8648
|
-
export
|
|
8649
|
-
export
|
|
8650
|
-
export
|
|
8648
|
+
export type IndicesForcemergeResponse = ShardsOperationResponseBase;
|
|
8649
|
+
export type IndicesGetFeature = 'aliases' | 'mappings' | 'settings';
|
|
8650
|
+
export type IndicesGetFeatures = IndicesGetFeature | IndicesGetFeature[];
|
|
8651
8651
|
export interface IndicesGetRequest extends RequestBase {
|
|
8652
8652
|
index: Indices;
|
|
8653
8653
|
allow_no_indices?: boolean;
|
|
@@ -8659,7 +8659,7 @@ export interface IndicesGetRequest extends RequestBase {
|
|
|
8659
8659
|
master_timeout?: Duration;
|
|
8660
8660
|
features?: IndicesGetFeatures;
|
|
8661
8661
|
}
|
|
8662
|
-
export
|
|
8662
|
+
export type IndicesGetResponse = Record<IndexName, IndicesIndexState>;
|
|
8663
8663
|
export interface IndicesGetAliasIndexAliases {
|
|
8664
8664
|
aliases: Record<string, IndicesAliasDefinition>;
|
|
8665
8665
|
}
|
|
@@ -8671,7 +8671,7 @@ export interface IndicesGetAliasRequest extends RequestBase {
|
|
|
8671
8671
|
ignore_unavailable?: boolean;
|
|
8672
8672
|
local?: boolean;
|
|
8673
8673
|
}
|
|
8674
|
-
export
|
|
8674
|
+
export type IndicesGetAliasResponse = Record<IndexName, IndicesGetAliasIndexAliases>;
|
|
8675
8675
|
export interface IndicesGetDataStreamRequest extends RequestBase {
|
|
8676
8676
|
name?: DataStreamNames;
|
|
8677
8677
|
expand_wildcards?: ExpandWildcards;
|
|
@@ -8688,7 +8688,7 @@ export interface IndicesGetFieldMappingRequest extends RequestBase {
|
|
|
8688
8688
|
include_defaults?: boolean;
|
|
8689
8689
|
local?: boolean;
|
|
8690
8690
|
}
|
|
8691
|
-
export
|
|
8691
|
+
export type IndicesGetFieldMappingResponse = Record<IndexName, IndicesGetFieldMappingTypeFieldMappings>;
|
|
8692
8692
|
export interface IndicesGetFieldMappingTypeFieldMappings {
|
|
8693
8693
|
mappings: Record<Field, MappingFieldMapping>;
|
|
8694
8694
|
}
|
|
@@ -8717,7 +8717,7 @@ export interface IndicesGetMappingRequest extends RequestBase {
|
|
|
8717
8717
|
local?: boolean;
|
|
8718
8718
|
master_timeout?: Duration;
|
|
8719
8719
|
}
|
|
8720
|
-
export
|
|
8720
|
+
export type IndicesGetMappingResponse = Record<IndexName, IndicesGetMappingIndexMappingRecord>;
|
|
8721
8721
|
export interface IndicesGetSettingsRequest extends RequestBase {
|
|
8722
8722
|
index?: Indices;
|
|
8723
8723
|
name?: Names;
|
|
@@ -8729,18 +8729,18 @@ export interface IndicesGetSettingsRequest extends RequestBase {
|
|
|
8729
8729
|
local?: boolean;
|
|
8730
8730
|
master_timeout?: Duration;
|
|
8731
8731
|
}
|
|
8732
|
-
export
|
|
8732
|
+
export type IndicesGetSettingsResponse = Record<IndexName, IndicesIndexState>;
|
|
8733
8733
|
export interface IndicesGetTemplateRequest extends RequestBase {
|
|
8734
8734
|
name?: Names;
|
|
8735
8735
|
flat_settings?: boolean;
|
|
8736
8736
|
local?: boolean;
|
|
8737
8737
|
master_timeout?: Duration;
|
|
8738
8738
|
}
|
|
8739
|
-
export
|
|
8739
|
+
export type IndicesGetTemplateResponse = Record<string, IndicesTemplateMapping>;
|
|
8740
8740
|
export interface IndicesMigrateToDataStreamRequest extends RequestBase {
|
|
8741
8741
|
name: IndexName;
|
|
8742
8742
|
}
|
|
8743
|
-
export
|
|
8743
|
+
export type IndicesMigrateToDataStreamResponse = AcknowledgedResponseBase;
|
|
8744
8744
|
export interface IndicesModifyDataStreamAction {
|
|
8745
8745
|
add_backing_index?: IndicesModifyDataStreamIndexAndDataStreamAction;
|
|
8746
8746
|
remove_backing_index?: IndicesModifyDataStreamIndexAndDataStreamAction;
|
|
@@ -8755,7 +8755,7 @@ export interface IndicesModifyDataStreamRequest extends RequestBase {
|
|
|
8755
8755
|
actions: IndicesModifyDataStreamAction[];
|
|
8756
8756
|
};
|
|
8757
8757
|
}
|
|
8758
|
-
export
|
|
8758
|
+
export type IndicesModifyDataStreamResponse = AcknowledgedResponseBase;
|
|
8759
8759
|
export interface IndicesOpenRequest extends RequestBase {
|
|
8760
8760
|
index: Indices;
|
|
8761
8761
|
allow_no_indices?: boolean;
|
|
@@ -8772,7 +8772,7 @@ export interface IndicesOpenResponse {
|
|
|
8772
8772
|
export interface IndicesPromoteDataStreamRequest extends RequestBase {
|
|
8773
8773
|
name: IndexName;
|
|
8774
8774
|
}
|
|
8775
|
-
export
|
|
8775
|
+
export type IndicesPromoteDataStreamResponse = any;
|
|
8776
8776
|
export interface IndicesPutAliasRequest extends RequestBase {
|
|
8777
8777
|
index: Indices;
|
|
8778
8778
|
name: Name;
|
|
@@ -8787,7 +8787,7 @@ export interface IndicesPutAliasRequest extends RequestBase {
|
|
|
8787
8787
|
search_routing?: Routing;
|
|
8788
8788
|
};
|
|
8789
8789
|
}
|
|
8790
|
-
export
|
|
8790
|
+
export type IndicesPutAliasResponse = AcknowledgedResponseBase;
|
|
8791
8791
|
export interface IndicesPutIndexTemplateIndexTemplateMapping {
|
|
8792
8792
|
aliases?: Record<IndexName, IndicesAlias>;
|
|
8793
8793
|
mappings?: MappingTypeMapping;
|
|
@@ -8807,7 +8807,7 @@ export interface IndicesPutIndexTemplateRequest extends RequestBase {
|
|
|
8807
8807
|
_meta?: Metadata;
|
|
8808
8808
|
};
|
|
8809
8809
|
}
|
|
8810
|
-
export
|
|
8810
|
+
export type IndicesPutIndexTemplateResponse = AcknowledgedResponseBase;
|
|
8811
8811
|
export interface IndicesPutMappingRequest extends RequestBase {
|
|
8812
8812
|
index: Indices;
|
|
8813
8813
|
allow_no_indices?: boolean;
|
|
@@ -8831,7 +8831,7 @@ export interface IndicesPutMappingRequest extends RequestBase {
|
|
|
8831
8831
|
runtime?: MappingRuntimeFields;
|
|
8832
8832
|
};
|
|
8833
8833
|
}
|
|
8834
|
-
export
|
|
8834
|
+
export type IndicesPutMappingResponse = IndicesResponseBase;
|
|
8835
8835
|
export interface IndicesPutSettingsRequest extends RequestBase {
|
|
8836
8836
|
index?: Indices;
|
|
8837
8837
|
allow_no_indices?: boolean;
|
|
@@ -8844,7 +8844,7 @@ export interface IndicesPutSettingsRequest extends RequestBase {
|
|
|
8844
8844
|
/** @deprecated The use of the 'body' key has been deprecated, use 'settings' instead. */
|
|
8845
8845
|
body?: IndicesIndexSettings;
|
|
8846
8846
|
}
|
|
8847
|
-
export
|
|
8847
|
+
export type IndicesPutSettingsResponse = AcknowledgedResponseBase;
|
|
8848
8848
|
export interface IndicesPutTemplateRequest extends RequestBase {
|
|
8849
8849
|
name: Name;
|
|
8850
8850
|
create?: boolean;
|
|
@@ -8861,7 +8861,7 @@ export interface IndicesPutTemplateRequest extends RequestBase {
|
|
|
8861
8861
|
version?: VersionNumber;
|
|
8862
8862
|
};
|
|
8863
8863
|
}
|
|
8864
|
-
export
|
|
8864
|
+
export type IndicesPutTemplateResponse = AcknowledgedResponseBase;
|
|
8865
8865
|
export interface IndicesRecoveryFileDetails {
|
|
8866
8866
|
length: long;
|
|
8867
8867
|
name: string;
|
|
@@ -8924,7 +8924,7 @@ export interface IndicesRecoveryRequest extends RequestBase {
|
|
|
8924
8924
|
active_only?: boolean;
|
|
8925
8925
|
detailed?: boolean;
|
|
8926
8926
|
}
|
|
8927
|
-
export
|
|
8927
|
+
export type IndicesRecoveryResponse = Record<IndexName, IndicesRecoveryRecoveryStatus>;
|
|
8928
8928
|
export interface IndicesRecoveryShardRecovery {
|
|
8929
8929
|
id: long;
|
|
8930
8930
|
index: IndicesRecoveryRecoveryIndexStatus;
|
|
@@ -8963,7 +8963,7 @@ export interface IndicesRefreshRequest extends RequestBase {
|
|
|
8963
8963
|
expand_wildcards?: ExpandWildcards;
|
|
8964
8964
|
ignore_unavailable?: boolean;
|
|
8965
8965
|
}
|
|
8966
|
-
export
|
|
8966
|
+
export type IndicesRefreshResponse = ShardsOperationResponseBase;
|
|
8967
8967
|
export interface IndicesReloadSearchAnalyzersReloadDetails {
|
|
8968
8968
|
index: string;
|
|
8969
8969
|
reloaded_analyzers: string[];
|
|
@@ -9096,12 +9096,12 @@ export interface IndicesShardStoresShardStore {
|
|
|
9096
9096
|
store_exception: IndicesShardStoresShardStoreException;
|
|
9097
9097
|
transport_address: TransportAddress;
|
|
9098
9098
|
}
|
|
9099
|
-
export
|
|
9099
|
+
export type IndicesShardStoresShardStoreAllocation = 'primary' | 'replica' | 'unused';
|
|
9100
9100
|
export interface IndicesShardStoresShardStoreException {
|
|
9101
9101
|
reason: string;
|
|
9102
9102
|
type: string;
|
|
9103
9103
|
}
|
|
9104
|
-
export
|
|
9104
|
+
export type IndicesShardStoresShardStoreStatus = 'green' | 'yellow' | 'red' | 'all';
|
|
9105
9105
|
export interface IndicesShardStoresShardStoreWrapper {
|
|
9106
9106
|
stores: IndicesShardStoresShardStore[];
|
|
9107
9107
|
}
|
|
@@ -9177,7 +9177,7 @@ export interface IndicesSplitResponse {
|
|
|
9177
9177
|
shards_acknowledged: boolean;
|
|
9178
9178
|
index: IndexName;
|
|
9179
9179
|
}
|
|
9180
|
-
export
|
|
9180
|
+
export type IndicesStatsIndexMetadataState = 'open' | 'close';
|
|
9181
9181
|
export interface IndicesStatsIndexStats {
|
|
9182
9182
|
completion?: CompletionStats;
|
|
9183
9183
|
docs?: DocStats;
|
|
@@ -9270,7 +9270,7 @@ export interface IndicesStatsShardRouting {
|
|
|
9270
9270
|
relocating_node?: string | null;
|
|
9271
9271
|
state: IndicesStatsShardRoutingState;
|
|
9272
9272
|
}
|
|
9273
|
-
export
|
|
9273
|
+
export type IndicesStatsShardRoutingState = 'UNASSIGNED' | 'INITIALIZING' | 'STARTED' | 'RELOCATING';
|
|
9274
9274
|
export interface IndicesStatsShardSequenceNumber {
|
|
9275
9275
|
global_checkpoint: long;
|
|
9276
9276
|
local_checkpoint: long;
|
|
@@ -9357,7 +9357,7 @@ export interface IndicesUpdateAliasesRequest extends RequestBase {
|
|
|
9357
9357
|
actions?: IndicesUpdateAliasesAction[];
|
|
9358
9358
|
};
|
|
9359
9359
|
}
|
|
9360
|
-
export
|
|
9360
|
+
export type IndicesUpdateAliasesResponse = AcknowledgedResponseBase;
|
|
9361
9361
|
export interface IndicesValidateQueryIndicesValidationExplanation {
|
|
9362
9362
|
error?: string;
|
|
9363
9363
|
explanation?: string;
|
|
@@ -9421,7 +9421,7 @@ export interface IngestConvertProcessor extends IngestProcessorBase {
|
|
|
9421
9421
|
target_field: Field;
|
|
9422
9422
|
type: IngestConvertType;
|
|
9423
9423
|
}
|
|
9424
|
-
export
|
|
9424
|
+
export type IngestConvertType = 'integer' | 'long' | 'float' | 'double' | 'string' | 'boolean' | 'auto';
|
|
9425
9425
|
export interface IngestCsvProcessor extends IngestProcessorBase {
|
|
9426
9426
|
empty_value: any;
|
|
9427
9427
|
description?: string;
|
|
@@ -9622,7 +9622,7 @@ export interface IngestSetSecurityUserProcessor extends IngestProcessorBase {
|
|
|
9622
9622
|
field: Field;
|
|
9623
9623
|
properties?: string[];
|
|
9624
9624
|
}
|
|
9625
|
-
export
|
|
9625
|
+
export type IngestShapeType = 'geo_shape' | 'shape';
|
|
9626
9626
|
export interface IngestSortProcessor extends IngestProcessorBase {
|
|
9627
9627
|
field: Field;
|
|
9628
9628
|
order: SortOrder;
|
|
@@ -9657,13 +9657,13 @@ export interface IngestUserAgentProcessor extends IngestProcessorBase {
|
|
|
9657
9657
|
regex_file: string;
|
|
9658
9658
|
target_field: Field;
|
|
9659
9659
|
}
|
|
9660
|
-
export
|
|
9660
|
+
export type IngestUserAgentProperty = 'NAME' | 'MAJOR' | 'MINOR' | 'PATCH' | 'OS' | 'OS_NAME' | 'OS_MAJOR' | 'OS_MINOR' | 'DEVICE' | 'BUILD';
|
|
9661
9661
|
export interface IngestDeletePipelineRequest extends RequestBase {
|
|
9662
9662
|
id: Id;
|
|
9663
9663
|
master_timeout?: Duration;
|
|
9664
9664
|
timeout?: Duration;
|
|
9665
9665
|
}
|
|
9666
|
-
export
|
|
9666
|
+
export type IngestDeletePipelineResponse = AcknowledgedResponseBase;
|
|
9667
9667
|
export interface IngestGeoIpStatsGeoIpDownloadStatistics {
|
|
9668
9668
|
successful_downloads: integer;
|
|
9669
9669
|
failed_downloads: integer;
|
|
@@ -9689,7 +9689,7 @@ export interface IngestGetPipelineRequest extends RequestBase {
|
|
|
9689
9689
|
master_timeout?: Duration;
|
|
9690
9690
|
summary?: boolean;
|
|
9691
9691
|
}
|
|
9692
|
-
export
|
|
9692
|
+
export type IngestGetPipelineResponse = Record<string, IngestPipeline>;
|
|
9693
9693
|
export interface IngestProcessorGrokRequest extends RequestBase {
|
|
9694
9694
|
}
|
|
9695
9695
|
export interface IngestProcessorGrokResponse {
|
|
@@ -9709,7 +9709,7 @@ export interface IngestPutPipelineRequest extends RequestBase {
|
|
|
9709
9709
|
version?: VersionNumber;
|
|
9710
9710
|
};
|
|
9711
9711
|
}
|
|
9712
|
-
export
|
|
9712
|
+
export type IngestPutPipelineResponse = AcknowledgedResponseBase;
|
|
9713
9713
|
export interface IngestSimulateDocument {
|
|
9714
9714
|
_id?: Id;
|
|
9715
9715
|
_index?: IndexName;
|
|
@@ -9758,11 +9758,11 @@ export interface LicenseLicense {
|
|
|
9758
9758
|
type: LicenseLicenseType;
|
|
9759
9759
|
uid: string;
|
|
9760
9760
|
}
|
|
9761
|
-
export
|
|
9762
|
-
export
|
|
9761
|
+
export type LicenseLicenseStatus = 'active' | 'valid' | 'invalid' | 'expired';
|
|
9762
|
+
export type LicenseLicenseType = 'missing' | 'trial' | 'basic' | 'standard' | 'dev' | 'silver' | 'gold' | 'platinum' | 'enterprise';
|
|
9763
9763
|
export interface LicenseDeleteRequest extends RequestBase {
|
|
9764
9764
|
}
|
|
9765
|
-
export
|
|
9765
|
+
export type LicenseDeleteResponse = AcknowledgedResponseBase;
|
|
9766
9766
|
export interface LicenseGetLicenseInformation {
|
|
9767
9767
|
expiry_date?: DateTime;
|
|
9768
9768
|
expiry_date_in_millis?: EpochTime<UnitMillis>;
|
|
@@ -9855,24 +9855,24 @@ export interface LogstashPipelineSettings {
|
|
|
9855
9855
|
export interface LogstashDeletePipelineRequest extends RequestBase {
|
|
9856
9856
|
id: Id;
|
|
9857
9857
|
}
|
|
9858
|
-
export
|
|
9858
|
+
export type LogstashDeletePipelineResponse = boolean;
|
|
9859
9859
|
export interface LogstashGetPipelineRequest extends RequestBase {
|
|
9860
9860
|
id: Ids;
|
|
9861
9861
|
}
|
|
9862
|
-
export
|
|
9862
|
+
export type LogstashGetPipelineResponse = Record<Id, LogstashPipeline>;
|
|
9863
9863
|
export interface LogstashPutPipelineRequest extends RequestBase {
|
|
9864
9864
|
id: Id;
|
|
9865
9865
|
/** @deprecated The use of the 'body' key has been deprecated, use 'pipeline' instead. */
|
|
9866
9866
|
body?: LogstashPipeline;
|
|
9867
9867
|
}
|
|
9868
|
-
export
|
|
9868
|
+
export type LogstashPutPipelineResponse = boolean;
|
|
9869
9869
|
export interface MigrationDeprecationsDeprecation {
|
|
9870
9870
|
details: string;
|
|
9871
9871
|
level: MigrationDeprecationsDeprecationLevel;
|
|
9872
9872
|
message: string;
|
|
9873
9873
|
url: string;
|
|
9874
9874
|
}
|
|
9875
|
-
export
|
|
9875
|
+
export type MigrationDeprecationsDeprecationLevel = 'none' | 'info' | 'warning' | 'critical';
|
|
9876
9876
|
export interface MigrationDeprecationsRequest extends RequestBase {
|
|
9877
9877
|
index?: IndexName;
|
|
9878
9878
|
}
|
|
@@ -9893,7 +9893,7 @@ export interface MigrationGetFeatureUpgradeStatusMigrationFeatureIndexInfo {
|
|
|
9893
9893
|
version: VersionString;
|
|
9894
9894
|
failure_cause?: ErrorCause;
|
|
9895
9895
|
}
|
|
9896
|
-
export
|
|
9896
|
+
export type MigrationGetFeatureUpgradeStatusMigrationStatus = 'NO_MIGRATION_NEEDED' | 'MIGRATION_NEEDED' | 'IN_PROGRESS' | 'ERROR';
|
|
9897
9897
|
export interface MigrationGetFeatureUpgradeStatusRequest extends RequestBase {
|
|
9898
9898
|
}
|
|
9899
9899
|
export interface MigrationGetFeatureUpgradeStatusResponse {
|
|
@@ -9986,7 +9986,7 @@ export interface MlApiKeyAuthorization {
|
|
|
9986
9986
|
id: string;
|
|
9987
9987
|
name: string;
|
|
9988
9988
|
}
|
|
9989
|
-
export
|
|
9989
|
+
export type MlAppliesTo = 'actual' | 'typical' | 'diff_from_typical' | 'time';
|
|
9990
9990
|
export interface MlBucketInfluencer {
|
|
9991
9991
|
anomaly_score: double;
|
|
9992
9992
|
bucket_span: DurationValue<UnitSeconds>;
|
|
@@ -10020,13 +10020,13 @@ export interface MlCalendarEvent {
|
|
|
10020
10020
|
end_time: DateTime;
|
|
10021
10021
|
start_time: DateTime;
|
|
10022
10022
|
}
|
|
10023
|
-
export
|
|
10023
|
+
export type MlCategorizationAnalyzer = string | MlCategorizationAnalyzerDefinition;
|
|
10024
10024
|
export interface MlCategorizationAnalyzerDefinition {
|
|
10025
10025
|
char_filter?: AnalysisCharFilter[];
|
|
10026
10026
|
filter?: AnalysisTokenFilter[];
|
|
10027
10027
|
tokenizer?: AnalysisTokenizer;
|
|
10028
10028
|
}
|
|
10029
|
-
export
|
|
10029
|
+
export type MlCategorizationStatus = 'ok' | 'warn';
|
|
10030
10030
|
export interface MlCategory {
|
|
10031
10031
|
category_id: ulong;
|
|
10032
10032
|
examples: string[];
|
|
@@ -10047,7 +10047,7 @@ export interface MlChunkingConfig {
|
|
|
10047
10047
|
mode: MlChunkingMode;
|
|
10048
10048
|
time_span?: Duration;
|
|
10049
10049
|
}
|
|
10050
|
-
export
|
|
10050
|
+
export type MlChunkingMode = 'auto' | 'manual' | 'off';
|
|
10051
10051
|
export interface MlClassificationInferenceOptions {
|
|
10052
10052
|
num_top_classes?: integer;
|
|
10053
10053
|
num_top_feature_importance_values?: integer;
|
|
@@ -10055,8 +10055,8 @@ export interface MlClassificationInferenceOptions {
|
|
|
10055
10055
|
results_field?: string;
|
|
10056
10056
|
top_classes_results_field?: string;
|
|
10057
10057
|
}
|
|
10058
|
-
export
|
|
10059
|
-
export
|
|
10058
|
+
export type MlConditionOperator = 'gt' | 'gte' | 'lt' | 'lte';
|
|
10059
|
+
export type MlCustomSettings = any;
|
|
10060
10060
|
export interface MlDataCounts {
|
|
10061
10061
|
bucket_count: long;
|
|
10062
10062
|
earliest_record_timestamp?: long;
|
|
@@ -10131,7 +10131,7 @@ export interface MlDatafeedRunningState {
|
|
|
10131
10131
|
real_time_running: boolean;
|
|
10132
10132
|
search_interval?: MlRunningStateSearchInterval;
|
|
10133
10133
|
}
|
|
10134
|
-
export
|
|
10134
|
+
export type MlDatafeedState = 'started' | 'stopped' | 'starting' | 'stopping';
|
|
10135
10135
|
export interface MlDatafeedStats {
|
|
10136
10136
|
assignment_explanation?: string;
|
|
10137
10137
|
datafeed_id: Id;
|
|
@@ -10359,14 +10359,14 @@ export interface MlDataframeEvaluationRegressionMetricsHuber {
|
|
|
10359
10359
|
export interface MlDataframeEvaluationRegressionMetricsMsle {
|
|
10360
10360
|
offset?: double;
|
|
10361
10361
|
}
|
|
10362
|
-
export
|
|
10362
|
+
export type MlDataframeState = 'started' | 'stopped' | 'starting' | 'stopping' | 'failed';
|
|
10363
10363
|
export interface MlDelayedDataCheckConfig {
|
|
10364
10364
|
check_window?: Duration;
|
|
10365
10365
|
enabled: boolean;
|
|
10366
10366
|
}
|
|
10367
|
-
export
|
|
10368
|
-
export
|
|
10369
|
-
export
|
|
10367
|
+
export type MlDeploymentAllocationState = 'started' | 'starting' | 'fully_allocated';
|
|
10368
|
+
export type MlDeploymentAssignmentState = 'starting' | 'started' | 'stopping' | 'failed';
|
|
10369
|
+
export type MlDeploymentState = 'started' | 'starting' | 'stopping';
|
|
10370
10370
|
export interface MlDetectionRule {
|
|
10371
10371
|
actions?: MlRuleAction[];
|
|
10372
10372
|
conditions?: MlRuleCondition[];
|
|
@@ -10403,7 +10403,7 @@ export interface MlDiscoveryNode {
|
|
|
10403
10403
|
name: Name;
|
|
10404
10404
|
transport_address: TransportAddress;
|
|
10405
10405
|
}
|
|
10406
|
-
export
|
|
10406
|
+
export type MlExcludeFrequent = 'all' | 'none' | 'by' | 'over';
|
|
10407
10407
|
export interface MlFillMaskInferenceOptions {
|
|
10408
10408
|
num_top_classes?: integer;
|
|
10409
10409
|
tokenization?: MlTokenizationConfigContainer;
|
|
@@ -10423,7 +10423,7 @@ export interface MlFilterRef {
|
|
|
10423
10423
|
filter_id: Id;
|
|
10424
10424
|
filter_type?: MlFilterType;
|
|
10425
10425
|
}
|
|
10426
|
-
export
|
|
10426
|
+
export type MlFilterType = 'include' | 'exclude';
|
|
10427
10427
|
export interface MlHyperparameter {
|
|
10428
10428
|
absolute_importance?: double;
|
|
10429
10429
|
name: Name;
|
|
@@ -10447,7 +10447,7 @@ export interface MlHyperparameters {
|
|
|
10447
10447
|
soft_tree_depth_limit?: integer;
|
|
10448
10448
|
soft_tree_depth_tolerance?: double;
|
|
10449
10449
|
}
|
|
10450
|
-
export
|
|
10450
|
+
export type MlInclude = 'definition' | 'feature_importance_baseline' | 'hyperparameters' | 'total_feature_importance';
|
|
10451
10451
|
export interface MlInferenceConfigCreateContainer {
|
|
10452
10452
|
regression?: MlRegressionInferenceOptions;
|
|
10453
10453
|
classification?: MlClassificationInferenceOptions;
|
|
@@ -10527,7 +10527,7 @@ export interface MlJobBlocked {
|
|
|
10527
10527
|
reason: MlJobBlockedReason;
|
|
10528
10528
|
task_id?: TaskId;
|
|
10529
10529
|
}
|
|
10530
|
-
export
|
|
10530
|
+
export type MlJobBlockedReason = 'delete' | 'reset' | 'revert';
|
|
10531
10531
|
export interface MlJobConfig {
|
|
10532
10532
|
allow_lazy_open?: boolean;
|
|
10533
10533
|
analysis_config: MlAnalysisConfig;
|
|
@@ -10555,7 +10555,7 @@ export interface MlJobForecastStatistics {
|
|
|
10555
10555
|
total: long;
|
|
10556
10556
|
forecasted_jobs: integer;
|
|
10557
10557
|
}
|
|
10558
|
-
export
|
|
10558
|
+
export type MlJobState = 'closing' | 'closed' | 'opened' | 'failed' | 'opening';
|
|
10559
10559
|
export interface MlJobStatistics {
|
|
10560
10560
|
avg: double;
|
|
10561
10561
|
max: double;
|
|
@@ -10584,7 +10584,7 @@ export interface MlJobTimingStats {
|
|
|
10584
10584
|
maximum_bucket_processing_time_ms?: DurationValue<UnitFloatMillis>;
|
|
10585
10585
|
minimum_bucket_processing_time_ms?: DurationValue<UnitFloatMillis>;
|
|
10586
10586
|
}
|
|
10587
|
-
export
|
|
10587
|
+
export type MlMemoryStatus = 'ok' | 'soft_limit' | 'hard_limit';
|
|
10588
10588
|
export interface MlModelPlotConfig {
|
|
10589
10589
|
annotations_enabled?: boolean;
|
|
10590
10590
|
enabled?: boolean;
|
|
@@ -10696,7 +10696,7 @@ export interface MlPerPartitionCategorization {
|
|
|
10696
10696
|
enabled?: boolean;
|
|
10697
10697
|
stop_on_warn?: boolean;
|
|
10698
10698
|
}
|
|
10699
|
-
export
|
|
10699
|
+
export type MlPredictedValue = string | double | boolean | integer;
|
|
10700
10700
|
export interface MlQuestionAnsweringInferenceOptions {
|
|
10701
10701
|
num_top_classes?: integer;
|
|
10702
10702
|
tokenization?: MlTokenizationConfigContainer;
|
|
@@ -10714,8 +10714,8 @@ export interface MlRegressionInferenceOptions {
|
|
|
10714
10714
|
results_field?: Field;
|
|
10715
10715
|
num_top_feature_importance_values?: integer;
|
|
10716
10716
|
}
|
|
10717
|
-
export
|
|
10718
|
-
export
|
|
10717
|
+
export type MlRoutingState = 'failed' | 'started' | 'starting' | 'stopped' | 'stopping';
|
|
10718
|
+
export type MlRuleAction = 'skip_result' | 'skip_model_update';
|
|
10719
10719
|
export interface MlRuleCondition {
|
|
10720
10720
|
applies_to: MlAppliesTo;
|
|
10721
10721
|
operator: MlConditionOperator;
|
|
@@ -10727,7 +10727,7 @@ export interface MlRunningStateSearchInterval {
|
|
|
10727
10727
|
start?: Duration;
|
|
10728
10728
|
start_ms: DurationValue<UnitMillis>;
|
|
10729
10729
|
}
|
|
10730
|
-
export
|
|
10730
|
+
export type MlSnapshotUpgradeState = 'loading_old_state' | 'saving_new_state' | 'stopped' | 'failed';
|
|
10731
10731
|
export interface MlTextClassificationInferenceOptions {
|
|
10732
10732
|
num_top_classes?: integer;
|
|
10733
10733
|
tokenization?: MlTokenizationConfigContainer;
|
|
@@ -10757,7 +10757,7 @@ export interface MlTokenizationConfigContainer {
|
|
|
10757
10757
|
mpnet?: MlNlpBertTokenizationConfig;
|
|
10758
10758
|
roberta?: MlNlpRobertaTokenizationConfig;
|
|
10759
10759
|
}
|
|
10760
|
-
export
|
|
10760
|
+
export type MlTokenizationTruncate = 'first' | 'second' | 'none';
|
|
10761
10761
|
export interface MlTopClassEntry {
|
|
10762
10762
|
class_name: string;
|
|
10763
10763
|
class_probability: double;
|
|
@@ -10900,7 +10900,7 @@ export interface MlTrainedModelStats {
|
|
|
10900
10900
|
model_size_stats: MlTrainedModelSizeStats;
|
|
10901
10901
|
pipeline_count: integer;
|
|
10902
10902
|
}
|
|
10903
|
-
export
|
|
10903
|
+
export type MlTrainedModelType = 'tree_ensemble' | 'lang_ident' | 'pytorch';
|
|
10904
10904
|
export interface MlTransformAuthorization {
|
|
10905
10905
|
api_key?: MlApiKeyAuthorization;
|
|
10906
10906
|
roles?: string[];
|
|
@@ -10939,12 +10939,12 @@ export interface MlCloseJobResponse {
|
|
|
10939
10939
|
export interface MlDeleteCalendarRequest extends RequestBase {
|
|
10940
10940
|
calendar_id: Id;
|
|
10941
10941
|
}
|
|
10942
|
-
export
|
|
10942
|
+
export type MlDeleteCalendarResponse = AcknowledgedResponseBase;
|
|
10943
10943
|
export interface MlDeleteCalendarEventRequest extends RequestBase {
|
|
10944
10944
|
calendar_id: Id;
|
|
10945
10945
|
event_id: Id;
|
|
10946
10946
|
}
|
|
10947
|
-
export
|
|
10947
|
+
export type MlDeleteCalendarEventResponse = AcknowledgedResponseBase;
|
|
10948
10948
|
export interface MlDeleteCalendarJobRequest extends RequestBase {
|
|
10949
10949
|
calendar_id: Id;
|
|
10950
10950
|
job_id: Ids;
|
|
@@ -10959,12 +10959,12 @@ export interface MlDeleteDataFrameAnalyticsRequest extends RequestBase {
|
|
|
10959
10959
|
force?: boolean;
|
|
10960
10960
|
timeout?: Duration;
|
|
10961
10961
|
}
|
|
10962
|
-
export
|
|
10962
|
+
export type MlDeleteDataFrameAnalyticsResponse = AcknowledgedResponseBase;
|
|
10963
10963
|
export interface MlDeleteDatafeedRequest extends RequestBase {
|
|
10964
10964
|
datafeed_id: Id;
|
|
10965
10965
|
force?: boolean;
|
|
10966
10966
|
}
|
|
10967
|
-
export
|
|
10967
|
+
export type MlDeleteDatafeedResponse = AcknowledgedResponseBase;
|
|
10968
10968
|
export interface MlDeleteExpiredDataRequest extends RequestBase {
|
|
10969
10969
|
job_id?: Id;
|
|
10970
10970
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
@@ -10979,35 +10979,35 @@ export interface MlDeleteExpiredDataResponse {
|
|
|
10979
10979
|
export interface MlDeleteFilterRequest extends RequestBase {
|
|
10980
10980
|
filter_id: Id;
|
|
10981
10981
|
}
|
|
10982
|
-
export
|
|
10982
|
+
export type MlDeleteFilterResponse = AcknowledgedResponseBase;
|
|
10983
10983
|
export interface MlDeleteForecastRequest extends RequestBase {
|
|
10984
10984
|
job_id: Id;
|
|
10985
10985
|
forecast_id?: Id;
|
|
10986
10986
|
allow_no_forecasts?: boolean;
|
|
10987
10987
|
timeout?: Duration;
|
|
10988
10988
|
}
|
|
10989
|
-
export
|
|
10989
|
+
export type MlDeleteForecastResponse = AcknowledgedResponseBase;
|
|
10990
10990
|
export interface MlDeleteJobRequest extends RequestBase {
|
|
10991
10991
|
job_id: Id;
|
|
10992
10992
|
force?: boolean;
|
|
10993
10993
|
wait_for_completion?: boolean;
|
|
10994
10994
|
}
|
|
10995
|
-
export
|
|
10995
|
+
export type MlDeleteJobResponse = AcknowledgedResponseBase;
|
|
10996
10996
|
export interface MlDeleteModelSnapshotRequest extends RequestBase {
|
|
10997
10997
|
job_id: Id;
|
|
10998
10998
|
snapshot_id: Id;
|
|
10999
10999
|
}
|
|
11000
|
-
export
|
|
11000
|
+
export type MlDeleteModelSnapshotResponse = AcknowledgedResponseBase;
|
|
11001
11001
|
export interface MlDeleteTrainedModelRequest extends RequestBase {
|
|
11002
11002
|
model_id: Id;
|
|
11003
11003
|
force?: boolean;
|
|
11004
11004
|
}
|
|
11005
|
-
export
|
|
11005
|
+
export type MlDeleteTrainedModelResponse = AcknowledgedResponseBase;
|
|
11006
11006
|
export interface MlDeleteTrainedModelAliasRequest extends RequestBase {
|
|
11007
11007
|
model_alias: Name;
|
|
11008
11008
|
model_id: Id;
|
|
11009
11009
|
}
|
|
11010
|
-
export
|
|
11010
|
+
export type MlDeleteTrainedModelAliasResponse = AcknowledgedResponseBase;
|
|
11011
11011
|
export interface MlEstimateModelMemoryRequest extends RequestBase {
|
|
11012
11012
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
11013
11013
|
body?: {
|
|
@@ -11742,7 +11742,7 @@ export interface MlPutTrainedModelRequest extends RequestBase {
|
|
|
11742
11742
|
tags?: string[];
|
|
11743
11743
|
};
|
|
11744
11744
|
}
|
|
11745
|
-
export
|
|
11745
|
+
export type MlPutTrainedModelResponse = MlTrainedModelConfig;
|
|
11746
11746
|
export interface MlPutTrainedModelTargetMeanEncodingPreprocessor {
|
|
11747
11747
|
field: string;
|
|
11748
11748
|
feature_name: string;
|
|
@@ -11779,7 +11779,7 @@ export interface MlPutTrainedModelAliasRequest extends RequestBase {
|
|
|
11779
11779
|
model_id: Id;
|
|
11780
11780
|
reassign?: boolean;
|
|
11781
11781
|
}
|
|
11782
|
-
export
|
|
11782
|
+
export type MlPutTrainedModelAliasResponse = AcknowledgedResponseBase;
|
|
11783
11783
|
export interface MlPutTrainedModelDefinitionPartRequest extends RequestBase {
|
|
11784
11784
|
model_id: Id;
|
|
11785
11785
|
part: integer;
|
|
@@ -11790,7 +11790,7 @@ export interface MlPutTrainedModelDefinitionPartRequest extends RequestBase {
|
|
|
11790
11790
|
total_parts: integer;
|
|
11791
11791
|
};
|
|
11792
11792
|
}
|
|
11793
|
-
export
|
|
11793
|
+
export type MlPutTrainedModelDefinitionPartResponse = AcknowledgedResponseBase;
|
|
11794
11794
|
export interface MlPutTrainedModelVocabularyRequest extends RequestBase {
|
|
11795
11795
|
model_id: Id;
|
|
11796
11796
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
@@ -11799,12 +11799,12 @@ export interface MlPutTrainedModelVocabularyRequest extends RequestBase {
|
|
|
11799
11799
|
merges?: string[];
|
|
11800
11800
|
};
|
|
11801
11801
|
}
|
|
11802
|
-
export
|
|
11802
|
+
export type MlPutTrainedModelVocabularyResponse = AcknowledgedResponseBase;
|
|
11803
11803
|
export interface MlResetJobRequest extends RequestBase {
|
|
11804
11804
|
job_id: Id;
|
|
11805
11805
|
wait_for_completion?: boolean;
|
|
11806
11806
|
}
|
|
11807
|
-
export
|
|
11807
|
+
export type MlResetJobResponse = AcknowledgedResponseBase;
|
|
11808
11808
|
export interface MlRevertModelSnapshotRequest extends RequestBase {
|
|
11809
11809
|
job_id: Id;
|
|
11810
11810
|
snapshot_id: Id;
|
|
@@ -11820,7 +11820,7 @@ export interface MlSetUpgradeModeRequest extends RequestBase {
|
|
|
11820
11820
|
enabled?: boolean;
|
|
11821
11821
|
timeout?: Duration;
|
|
11822
11822
|
}
|
|
11823
|
-
export
|
|
11823
|
+
export type MlSetUpgradeModeResponse = AcknowledgedResponseBase;
|
|
11824
11824
|
export interface MlStartDataFrameAnalyticsRequest extends RequestBase {
|
|
11825
11825
|
id: Id;
|
|
11826
11826
|
timeout?: Duration;
|
|
@@ -12041,12 +12041,12 @@ export interface MlValidateRequest extends RequestBase {
|
|
|
12041
12041
|
results_index_name?: IndexName;
|
|
12042
12042
|
};
|
|
12043
12043
|
}
|
|
12044
|
-
export
|
|
12044
|
+
export type MlValidateResponse = AcknowledgedResponseBase;
|
|
12045
12045
|
export interface MlValidateDetectorRequest extends RequestBase {
|
|
12046
12046
|
/** @deprecated The use of the 'body' key has been deprecated, use 'detector' instead. */
|
|
12047
12047
|
body?: MlDetector;
|
|
12048
12048
|
}
|
|
12049
|
-
export
|
|
12049
|
+
export type MlValidateDetectorResponse = AcknowledgedResponseBase;
|
|
12050
12050
|
export interface MonitoringBulkRequest<TDocument = unknown, TPartialDocument = unknown> extends RequestBase {
|
|
12051
12051
|
type?: string;
|
|
12052
12052
|
system_id: string;
|
|
@@ -12299,7 +12299,7 @@ export interface NodesNodeReloadError {
|
|
|
12299
12299
|
name: Name;
|
|
12300
12300
|
reload_exception?: ErrorCause;
|
|
12301
12301
|
}
|
|
12302
|
-
export
|
|
12302
|
+
export type NodesNodeReloadResult = NodesStats | NodesNodeReloadError;
|
|
12303
12303
|
export interface NodesNodesResponseBase {
|
|
12304
12304
|
_nodes?: NodeStatistics;
|
|
12305
12305
|
}
|
|
@@ -12455,7 +12455,7 @@ export interface NodesClearRepositoriesMeteringArchiveRequest extends RequestBas
|
|
|
12455
12455
|
node_id: NodeIds;
|
|
12456
12456
|
max_archive_version: long;
|
|
12457
12457
|
}
|
|
12458
|
-
export
|
|
12458
|
+
export type NodesClearRepositoriesMeteringArchiveResponse = NodesClearRepositoriesMeteringArchiveResponseBase;
|
|
12459
12459
|
export interface NodesClearRepositoriesMeteringArchiveResponseBase extends NodesNodesResponseBase {
|
|
12460
12460
|
cluster_name: Name;
|
|
12461
12461
|
nodes: Record<string, NodesRepositoryMeteringInformation>;
|
|
@@ -12463,7 +12463,7 @@ export interface NodesClearRepositoriesMeteringArchiveResponseBase extends Nodes
|
|
|
12463
12463
|
export interface NodesGetRepositoriesMeteringInfoRequest extends RequestBase {
|
|
12464
12464
|
node_id: NodeIds;
|
|
12465
12465
|
}
|
|
12466
|
-
export
|
|
12466
|
+
export type NodesGetRepositoriesMeteringInfoResponse = NodesGetRepositoriesMeteringInfoResponseBase;
|
|
12467
12467
|
export interface NodesGetRepositoriesMeteringInfoResponseBase extends NodesNodesResponseBase {
|
|
12468
12468
|
cluster_name: Name;
|
|
12469
12469
|
nodes: Record<string, NodesRepositoryMeteringInformation>;
|
|
@@ -12786,7 +12786,7 @@ export interface NodesInfoRequest extends RequestBase {
|
|
|
12786
12786
|
master_timeout?: Duration;
|
|
12787
12787
|
timeout?: Duration;
|
|
12788
12788
|
}
|
|
12789
|
-
export
|
|
12789
|
+
export type NodesInfoResponse = NodesInfoResponseBase;
|
|
12790
12790
|
export interface NodesInfoResponseBase extends NodesNodesResponseBase {
|
|
12791
12791
|
cluster_name: Name;
|
|
12792
12792
|
nodes: Record<string, NodesInfoNodeInfo>;
|
|
@@ -12799,7 +12799,7 @@ export interface NodesReloadSecureSettingsRequest extends RequestBase {
|
|
|
12799
12799
|
secure_settings_password?: Password;
|
|
12800
12800
|
};
|
|
12801
12801
|
}
|
|
12802
|
-
export
|
|
12802
|
+
export type NodesReloadSecureSettingsResponse = NodesReloadSecureSettingsResponseBase;
|
|
12803
12803
|
export interface NodesReloadSecureSettingsResponseBase extends NodesNodesResponseBase {
|
|
12804
12804
|
cluster_name: Name;
|
|
12805
12805
|
nodes: Record<string, NodesNodeReloadResult>;
|
|
@@ -12819,7 +12819,7 @@ export interface NodesStatsRequest extends RequestBase {
|
|
|
12819
12819
|
types?: string[];
|
|
12820
12820
|
include_unloaded_segments?: boolean;
|
|
12821
12821
|
}
|
|
12822
|
-
export
|
|
12822
|
+
export type NodesStatsResponse = NodesStatsResponseBase;
|
|
12823
12823
|
export interface NodesStatsResponseBase extends NodesNodesResponseBase {
|
|
12824
12824
|
cluster_name?: Name;
|
|
12825
12825
|
nodes: Record<string, NodesStats>;
|
|
@@ -12835,7 +12835,7 @@ export interface NodesUsageRequest extends RequestBase {
|
|
|
12835
12835
|
metric?: Metrics;
|
|
12836
12836
|
timeout?: Duration;
|
|
12837
12837
|
}
|
|
12838
|
-
export
|
|
12838
|
+
export type NodesUsageResponse = NodesUsageResponseBase;
|
|
12839
12839
|
export interface NodesUsageResponseBase extends NodesNodesResponseBase {
|
|
12840
12840
|
cluster_name: Name;
|
|
12841
12841
|
nodes: Record<string, NodesUsageNodeUsage>;
|
|
@@ -12862,7 +12862,7 @@ export interface RollupHistogramGrouping {
|
|
|
12862
12862
|
fields: Fields;
|
|
12863
12863
|
interval: long;
|
|
12864
12864
|
}
|
|
12865
|
-
export
|
|
12865
|
+
export type RollupMetric = 'min' | 'max' | 'sum' | 'avg' | 'value_count';
|
|
12866
12866
|
export interface RollupTermsGrouping {
|
|
12867
12867
|
fields: Fields;
|
|
12868
12868
|
}
|
|
@@ -12873,7 +12873,7 @@ export interface RollupDeleteJobResponse {
|
|
|
12873
12873
|
acknowledged: boolean;
|
|
12874
12874
|
task_failures?: TaskFailure[];
|
|
12875
12875
|
}
|
|
12876
|
-
export
|
|
12876
|
+
export type RollupGetJobsIndexingJobState = 'started' | 'indexing' | 'stopping' | 'stopped' | 'aborting';
|
|
12877
12877
|
export interface RollupGetJobsRequest extends RequestBase {
|
|
12878
12878
|
id?: Id;
|
|
12879
12879
|
}
|
|
@@ -12917,7 +12917,7 @@ export interface RollupGetJobsRollupJobStatus {
|
|
|
12917
12917
|
export interface RollupGetRollupCapsRequest extends RequestBase {
|
|
12918
12918
|
id?: Id;
|
|
12919
12919
|
}
|
|
12920
|
-
export
|
|
12920
|
+
export type RollupGetRollupCapsResponse = Record<IndexName, RollupGetRollupCapsRollupCapabilities>;
|
|
12921
12921
|
export interface RollupGetRollupCapsRollupCapabilities {
|
|
12922
12922
|
rollup_jobs: RollupGetRollupCapsRollupCapabilitySummary[];
|
|
12923
12923
|
}
|
|
@@ -12933,7 +12933,7 @@ export interface RollupGetRollupIndexCapsIndexCapabilities {
|
|
|
12933
12933
|
export interface RollupGetRollupIndexCapsRequest extends RequestBase {
|
|
12934
12934
|
index: Ids;
|
|
12935
12935
|
}
|
|
12936
|
-
export
|
|
12936
|
+
export type RollupGetRollupIndexCapsResponse = Record<IndexName, RollupGetRollupIndexCapsIndexCapabilities>;
|
|
12937
12937
|
export interface RollupGetRollupIndexCapsRollupJobSummary {
|
|
12938
12938
|
fields: Record<Field, RollupGetRollupIndexCapsRollupJobSummaryField[]>;
|
|
12939
12939
|
index_pattern: string;
|
|
@@ -12959,7 +12959,7 @@ export interface RollupPutJobRequest extends RequestBase {
|
|
|
12959
12959
|
headers?: HttpHeaders;
|
|
12960
12960
|
};
|
|
12961
12961
|
}
|
|
12962
|
-
export
|
|
12962
|
+
export type RollupPutJobResponse = AcknowledgedResponseBase;
|
|
12963
12963
|
export interface RollupRollupSearchRequest extends RequestBase {
|
|
12964
12964
|
index: Indices;
|
|
12965
12965
|
rest_total_hits_as_int?: boolean;
|
|
@@ -12994,7 +12994,7 @@ export interface RollupStopJobRequest extends RequestBase {
|
|
|
12994
12994
|
export interface RollupStopJobResponse {
|
|
12995
12995
|
stopped: boolean;
|
|
12996
12996
|
}
|
|
12997
|
-
export
|
|
12997
|
+
export type SearchableSnapshotsStatsLevel = 'cluster' | 'indices' | 'shards';
|
|
12998
12998
|
export interface SearchableSnapshotsCacheStatsNode {
|
|
12999
12999
|
shared_cache: SearchableSnapshotsCacheStatsShared;
|
|
13000
13000
|
}
|
|
@@ -13023,7 +13023,7 @@ export interface SearchableSnapshotsClearCacheRequest extends RequestBase {
|
|
|
13023
13023
|
pretty?: boolean;
|
|
13024
13024
|
human?: boolean;
|
|
13025
13025
|
}
|
|
13026
|
-
export
|
|
13026
|
+
export type SearchableSnapshotsClearCacheResponse = any;
|
|
13027
13027
|
export interface SearchableSnapshotsMountMountedSnapshot {
|
|
13028
13028
|
snapshot: Name;
|
|
13029
13029
|
indices: Indices;
|
|
@@ -13078,7 +13078,7 @@ export interface SecurityApplicationPrivileges {
|
|
|
13078
13078
|
export interface SecurityClusterNode {
|
|
13079
13079
|
name: Name;
|
|
13080
13080
|
}
|
|
13081
|
-
export
|
|
13081
|
+
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';
|
|
13082
13082
|
export interface SecurityCreatedStatus {
|
|
13083
13083
|
created: boolean;
|
|
13084
13084
|
}
|
|
@@ -13096,8 +13096,8 @@ export interface SecurityFieldSecurity {
|
|
|
13096
13096
|
export interface SecurityGlobalPrivilege {
|
|
13097
13097
|
application: SecurityApplicationGlobalUserPrivileges;
|
|
13098
13098
|
}
|
|
13099
|
-
export
|
|
13100
|
-
export
|
|
13099
|
+
export type SecurityGrantType = 'password' | 'access_token';
|
|
13100
|
+
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';
|
|
13101
13101
|
export interface SecurityIndicesPrivileges {
|
|
13102
13102
|
field_security?: SecurityFieldSecurity | SecurityFieldSecurity[];
|
|
13103
13103
|
names: Indices;
|
|
@@ -13105,7 +13105,7 @@ export interface SecurityIndicesPrivileges {
|
|
|
13105
13105
|
query?: SecurityIndicesPrivilegesQuery;
|
|
13106
13106
|
allow_restricted_indices?: boolean;
|
|
13107
13107
|
}
|
|
13108
|
-
export
|
|
13108
|
+
export type SecurityIndicesPrivilegesQuery = string | QueryDslQueryContainer | SecurityRoleTemplateQuery;
|
|
13109
13109
|
export interface SecurityManageUserPrivileges {
|
|
13110
13110
|
applications: string[];
|
|
13111
13111
|
}
|
|
@@ -13157,7 +13157,7 @@ export interface SecurityRoleTemplateInlineScript extends ScriptBase {
|
|
|
13157
13157
|
export interface SecurityRoleTemplateQuery {
|
|
13158
13158
|
template?: SecurityRoleTemplateScript;
|
|
13159
13159
|
}
|
|
13160
|
-
export
|
|
13160
|
+
export type SecurityRoleTemplateScript = SecurityRoleTemplateInlineScript | string | QueryDslQueryContainer | StoredScriptId;
|
|
13161
13161
|
export interface SecurityTransientMetadataConfig {
|
|
13162
13162
|
enabled: boolean;
|
|
13163
13163
|
}
|
|
@@ -13181,7 +13181,7 @@ export interface SecurityUserProfileHitMetadata {
|
|
|
13181
13181
|
_primary_term: long;
|
|
13182
13182
|
_seq_no: SequenceNumber;
|
|
13183
13183
|
}
|
|
13184
|
-
export
|
|
13184
|
+
export type SecurityUserProfileId = string;
|
|
13185
13185
|
export interface SecurityUserProfileUser {
|
|
13186
13186
|
email?: string | null;
|
|
13187
13187
|
full_name?: Name | null;
|
|
@@ -13203,7 +13203,7 @@ export interface SecurityActivateUserProfileRequest extends RequestBase {
|
|
|
13203
13203
|
username?: string;
|
|
13204
13204
|
};
|
|
13205
13205
|
}
|
|
13206
|
-
export
|
|
13206
|
+
export type SecurityActivateUserProfileResponse = SecurityUserProfileWithMetadata;
|
|
13207
13207
|
export interface SecurityAuthenticateRequest extends RequestBase {
|
|
13208
13208
|
}
|
|
13209
13209
|
export interface SecurityAuthenticateResponse {
|
|
@@ -13316,7 +13316,7 @@ export interface SecurityDeletePrivilegesRequest extends RequestBase {
|
|
|
13316
13316
|
name: Names;
|
|
13317
13317
|
refresh?: Refresh;
|
|
13318
13318
|
}
|
|
13319
|
-
export
|
|
13319
|
+
export type SecurityDeletePrivilegesResponse = Record<string, Record<string, SecurityDeletePrivilegesFoundStatus>>;
|
|
13320
13320
|
export interface SecurityDeleteRoleRequest extends RequestBase {
|
|
13321
13321
|
name: Name;
|
|
13322
13322
|
refresh?: Refresh;
|
|
@@ -13357,7 +13357,7 @@ export interface SecurityDisableUserProfileRequest extends RequestBase {
|
|
|
13357
13357
|
uid: SecurityUserProfileId;
|
|
13358
13358
|
refresh?: Refresh;
|
|
13359
13359
|
}
|
|
13360
|
-
export
|
|
13360
|
+
export type SecurityDisableUserProfileResponse = AcknowledgedResponseBase;
|
|
13361
13361
|
export interface SecurityEnableUserRequest extends RequestBase {
|
|
13362
13362
|
username: Username;
|
|
13363
13363
|
refresh?: Refresh;
|
|
@@ -13368,7 +13368,7 @@ export interface SecurityEnableUserProfileRequest extends RequestBase {
|
|
|
13368
13368
|
uid: SecurityUserProfileId;
|
|
13369
13369
|
refresh?: Refresh;
|
|
13370
13370
|
}
|
|
13371
|
-
export
|
|
13371
|
+
export type SecurityEnableUserProfileResponse = AcknowledgedResponseBase;
|
|
13372
13372
|
export interface SecurityEnrollKibanaRequest extends RequestBase {
|
|
13373
13373
|
}
|
|
13374
13374
|
export interface SecurityEnrollKibanaResponse {
|
|
@@ -13410,11 +13410,11 @@ export interface SecurityGetPrivilegesRequest extends RequestBase {
|
|
|
13410
13410
|
application?: Name;
|
|
13411
13411
|
name?: Names;
|
|
13412
13412
|
}
|
|
13413
|
-
export
|
|
13413
|
+
export type SecurityGetPrivilegesResponse = Record<string, Record<string, SecurityPutPrivilegesActions>>;
|
|
13414
13414
|
export interface SecurityGetRoleRequest extends RequestBase {
|
|
13415
13415
|
name?: Names;
|
|
13416
13416
|
}
|
|
13417
|
-
export
|
|
13417
|
+
export type SecurityGetRoleResponse = Record<string, SecurityGetRoleRole>;
|
|
13418
13418
|
export interface SecurityGetRoleRole {
|
|
13419
13419
|
cluster: string[];
|
|
13420
13420
|
indices: SecurityIndicesPrivileges[];
|
|
@@ -13429,16 +13429,16 @@ export interface SecurityGetRoleRoleTemplate {
|
|
|
13429
13429
|
format?: SecurityGetRoleTemplateFormat;
|
|
13430
13430
|
template: Script;
|
|
13431
13431
|
}
|
|
13432
|
-
export
|
|
13432
|
+
export type SecurityGetRoleTemplateFormat = 'string' | 'json';
|
|
13433
13433
|
export interface SecurityGetRoleMappingRequest extends RequestBase {
|
|
13434
13434
|
name?: Names;
|
|
13435
13435
|
}
|
|
13436
|
-
export
|
|
13436
|
+
export type SecurityGetRoleMappingResponse = Record<string, SecurityRoleMapping>;
|
|
13437
13437
|
export interface SecurityGetServiceAccountsRequest extends RequestBase {
|
|
13438
13438
|
namespace?: Namespace;
|
|
13439
13439
|
service?: Service;
|
|
13440
13440
|
}
|
|
13441
|
-
export
|
|
13441
|
+
export type SecurityGetServiceAccountsResponse = Record<string, SecurityGetServiceAccountsRoleDescriptorWrapper>;
|
|
13442
13442
|
export interface SecurityGetServiceAccountsRoleDescriptorWrapper {
|
|
13443
13443
|
role_descriptor: SecurityRoleDescriptorRead;
|
|
13444
13444
|
}
|
|
@@ -13459,7 +13459,7 @@ export interface SecurityGetServiceCredentialsResponse {
|
|
|
13459
13459
|
tokens: Record<string, Metadata>;
|
|
13460
13460
|
nodes_credentials: SecurityGetServiceCredentialsNodesCredentials;
|
|
13461
13461
|
}
|
|
13462
|
-
export
|
|
13462
|
+
export type SecurityGetTokenAccessTokenGrantType = 'password' | 'client_credentials' | '_kerberos' | 'refresh_token';
|
|
13463
13463
|
export interface SecurityGetTokenAuthenticatedUser extends SecurityUser {
|
|
13464
13464
|
authentication_realm: SecurityGetTokenUserRealm;
|
|
13465
13465
|
lookup_realm: SecurityGetTokenUserRealm;
|
|
@@ -13498,7 +13498,7 @@ export interface SecurityGetUserRequest extends RequestBase {
|
|
|
13498
13498
|
username?: Username | Username[];
|
|
13499
13499
|
with_profile_uid?: boolean;
|
|
13500
13500
|
}
|
|
13501
|
-
export
|
|
13501
|
+
export type SecurityGetUserResponse = Record<string, SecurityUser>;
|
|
13502
13502
|
export interface SecurityGetUserPrivilegesRequest extends RequestBase {
|
|
13503
13503
|
application?: Name;
|
|
13504
13504
|
priviledge?: Name;
|
|
@@ -13523,7 +13523,7 @@ export interface SecurityGetUserProfileResponse {
|
|
|
13523
13523
|
profiles: SecurityUserProfileWithMetadata[];
|
|
13524
13524
|
errors?: SecurityGetUserProfileGetUserProfileErrors;
|
|
13525
13525
|
}
|
|
13526
|
-
export
|
|
13526
|
+
export type SecurityGrantApiKeyApiKeyGrantType = 'access_token' | 'password';
|
|
13527
13527
|
export interface SecurityGrantApiKeyGrantApiKey {
|
|
13528
13528
|
name: Name;
|
|
13529
13529
|
expiration?: DurationLarge;
|
|
@@ -13553,13 +13553,13 @@ export interface SecurityHasPrivilegesApplicationPrivilegesCheck {
|
|
|
13553
13553
|
privileges: string[];
|
|
13554
13554
|
resources: string[];
|
|
13555
13555
|
}
|
|
13556
|
-
export
|
|
13556
|
+
export type SecurityHasPrivilegesApplicationsPrivileges = Record<Name, SecurityHasPrivilegesResourcePrivileges>;
|
|
13557
13557
|
export interface SecurityHasPrivilegesIndexPrivilegesCheck {
|
|
13558
13558
|
names: Indices;
|
|
13559
13559
|
privileges: SecurityIndexPrivilege[];
|
|
13560
13560
|
allow_restricted_indices?: boolean;
|
|
13561
13561
|
}
|
|
13562
|
-
export
|
|
13562
|
+
export type SecurityHasPrivilegesPrivileges = Record<string, boolean>;
|
|
13563
13563
|
export interface SecurityHasPrivilegesRequest extends RequestBase {
|
|
13564
13564
|
user?: Name;
|
|
13565
13565
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
@@ -13569,7 +13569,7 @@ export interface SecurityHasPrivilegesRequest extends RequestBase {
|
|
|
13569
13569
|
index?: SecurityHasPrivilegesIndexPrivilegesCheck[];
|
|
13570
13570
|
};
|
|
13571
13571
|
}
|
|
13572
|
-
export
|
|
13572
|
+
export type SecurityHasPrivilegesResourcePrivileges = Record<Name, SecurityHasPrivilegesPrivileges>;
|
|
13573
13573
|
export interface SecurityHasPrivilegesResponse {
|
|
13574
13574
|
application: SecurityHasPrivilegesApplicationsPrivileges;
|
|
13575
13575
|
cluster: Record<string, boolean>;
|
|
@@ -13640,7 +13640,7 @@ export interface SecurityPutPrivilegesRequest extends RequestBase {
|
|
|
13640
13640
|
/** @deprecated The use of the 'body' key has been deprecated, use 'privileges' instead. */
|
|
13641
13641
|
body?: Record<string, Record<string, SecurityPutPrivilegesActions>>;
|
|
13642
13642
|
}
|
|
13643
|
-
export
|
|
13643
|
+
export type SecurityPutPrivilegesResponse = Record<string, Record<string, SecurityCreatedStatus>>;
|
|
13644
13644
|
export interface SecurityPutRoleRequest extends RequestBase {
|
|
13645
13645
|
name: Name;
|
|
13646
13646
|
refresh?: Refresh;
|
|
@@ -13732,7 +13732,7 @@ export interface SecuritySamlCompleteLogoutRequest extends RequestBase {
|
|
|
13732
13732
|
content?: string;
|
|
13733
13733
|
};
|
|
13734
13734
|
}
|
|
13735
|
-
export
|
|
13735
|
+
export type SecuritySamlCompleteLogoutResponse = boolean;
|
|
13736
13736
|
export interface SecuritySamlInvalidateRequest extends RequestBase {
|
|
13737
13737
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
13738
13738
|
body?: {
|
|
@@ -13819,14 +13819,14 @@ export interface SecurityUpdateUserProfileDataRequest extends RequestBase {
|
|
|
13819
13819
|
data?: Record<string, any>;
|
|
13820
13820
|
};
|
|
13821
13821
|
}
|
|
13822
|
-
export
|
|
13823
|
-
export
|
|
13822
|
+
export type SecurityUpdateUserProfileDataResponse = AcknowledgedResponseBase;
|
|
13823
|
+
export type ShutdownType = 'restart' | 'remove' | 'replace';
|
|
13824
13824
|
export interface ShutdownDeleteNodeRequest extends RequestBase {
|
|
13825
13825
|
node_id: NodeId;
|
|
13826
13826
|
master_timeout?: TimeUnit;
|
|
13827
13827
|
timeout?: TimeUnit;
|
|
13828
13828
|
}
|
|
13829
|
-
export
|
|
13829
|
+
export type ShutdownDeleteNodeResponse = AcknowledgedResponseBase;
|
|
13830
13830
|
export interface ShutdownGetNodeNodeShutdownStatus {
|
|
13831
13831
|
node_id: NodeId;
|
|
13832
13832
|
type: ShutdownGetNodeShutdownType;
|
|
@@ -13854,8 +13854,8 @@ export interface ShutdownGetNodeResponse {
|
|
|
13854
13854
|
export interface ShutdownGetNodeShardMigrationStatus {
|
|
13855
13855
|
status: ShutdownGetNodeShutdownStatus;
|
|
13856
13856
|
}
|
|
13857
|
-
export
|
|
13858
|
-
export
|
|
13857
|
+
export type ShutdownGetNodeShutdownStatus = 'not_started' | 'in_progress' | 'stalled' | 'complete';
|
|
13858
|
+
export type ShutdownGetNodeShutdownType = 'remove' | 'restart';
|
|
13859
13859
|
export interface ShutdownPutNodeRequest extends RequestBase {
|
|
13860
13860
|
node_id: NodeId;
|
|
13861
13861
|
master_timeout?: TimeUnit;
|
|
@@ -13868,7 +13868,7 @@ export interface ShutdownPutNodeRequest extends RequestBase {
|
|
|
13868
13868
|
target_node_name?: string;
|
|
13869
13869
|
};
|
|
13870
13870
|
}
|
|
13871
|
-
export
|
|
13871
|
+
export type ShutdownPutNodeResponse = AcknowledgedResponseBase;
|
|
13872
13872
|
export interface SlmConfiguration {
|
|
13873
13873
|
ignore_unavailable?: boolean;
|
|
13874
13874
|
indices: Indices;
|
|
@@ -13930,7 +13930,7 @@ export interface SlmStatistics {
|
|
|
13930
13930
|
export interface SlmDeleteLifecycleRequest extends RequestBase {
|
|
13931
13931
|
policy_id: Name;
|
|
13932
13932
|
}
|
|
13933
|
-
export
|
|
13933
|
+
export type SlmDeleteLifecycleResponse = AcknowledgedResponseBase;
|
|
13934
13934
|
export interface SlmExecuteLifecycleRequest extends RequestBase {
|
|
13935
13935
|
policy_id: Name;
|
|
13936
13936
|
}
|
|
@@ -13939,11 +13939,11 @@ export interface SlmExecuteLifecycleResponse {
|
|
|
13939
13939
|
}
|
|
13940
13940
|
export interface SlmExecuteRetentionRequest extends RequestBase {
|
|
13941
13941
|
}
|
|
13942
|
-
export
|
|
13942
|
+
export type SlmExecuteRetentionResponse = AcknowledgedResponseBase;
|
|
13943
13943
|
export interface SlmGetLifecycleRequest extends RequestBase {
|
|
13944
13944
|
policy_id?: Names;
|
|
13945
13945
|
}
|
|
13946
|
-
export
|
|
13946
|
+
export type SlmGetLifecycleResponse = Record<Id, SlmSnapshotLifecycle>;
|
|
13947
13947
|
export interface SlmGetStatsRequest extends RequestBase {
|
|
13948
13948
|
}
|
|
13949
13949
|
export interface SlmGetStatsResponse {
|
|
@@ -13976,13 +13976,13 @@ export interface SlmPutLifecycleRequest extends RequestBase {
|
|
|
13976
13976
|
schedule?: WatcherCronExpression;
|
|
13977
13977
|
};
|
|
13978
13978
|
}
|
|
13979
|
-
export
|
|
13979
|
+
export type SlmPutLifecycleResponse = AcknowledgedResponseBase;
|
|
13980
13980
|
export interface SlmStartRequest extends RequestBase {
|
|
13981
13981
|
}
|
|
13982
|
-
export
|
|
13982
|
+
export type SlmStartResponse = AcknowledgedResponseBase;
|
|
13983
13983
|
export interface SlmStopRequest extends RequestBase {
|
|
13984
13984
|
}
|
|
13985
|
-
export
|
|
13985
|
+
export type SlmStopResponse = AcknowledgedResponseBase;
|
|
13986
13986
|
export interface SnapshotFileCountSnapshotStats {
|
|
13987
13987
|
file_count: integer;
|
|
13988
13988
|
size_in_bytes: long;
|
|
@@ -14018,7 +14018,7 @@ export interface SnapshotShardsStats {
|
|
|
14018
14018
|
started: long;
|
|
14019
14019
|
total: long;
|
|
14020
14020
|
}
|
|
14021
|
-
export
|
|
14021
|
+
export type SnapshotShardsStatsStage = 'DONE' | 'FAILURE' | 'FINALIZE' | 'INIT' | 'STARTED';
|
|
14022
14022
|
export interface SnapshotShardsStatsSummary {
|
|
14023
14023
|
incremental: SnapshotShardsStatsSummaryItem;
|
|
14024
14024
|
total: SnapshotShardsStatsSummaryItem;
|
|
@@ -14069,7 +14069,7 @@ export interface SnapshotSnapshotShardsStatus {
|
|
|
14069
14069
|
stage: SnapshotShardsStatsStage;
|
|
14070
14070
|
stats: SnapshotShardsStatsSummary;
|
|
14071
14071
|
}
|
|
14072
|
-
export
|
|
14072
|
+
export type SnapshotSnapshotSort = 'start_time' | 'duration' | 'name' | 'index_count' | 'repository' | 'shard_count' | 'failed_shard_count';
|
|
14073
14073
|
export interface SnapshotSnapshotStats {
|
|
14074
14074
|
incremental: SnapshotFileCountSnapshotStats;
|
|
14075
14075
|
start_time_in_millis: EpochTime<UnitMillis>;
|
|
@@ -14110,7 +14110,7 @@ export interface SnapshotCloneRequest extends RequestBase {
|
|
|
14110
14110
|
indices: string;
|
|
14111
14111
|
};
|
|
14112
14112
|
}
|
|
14113
|
-
export
|
|
14113
|
+
export type SnapshotCloneResponse = AcknowledgedResponseBase;
|
|
14114
14114
|
export interface SnapshotCreateRequest extends RequestBase {
|
|
14115
14115
|
repository: Name;
|
|
14116
14116
|
snapshot: Name;
|
|
@@ -14142,19 +14142,19 @@ export interface SnapshotCreateRepositoryRequest extends RequestBase {
|
|
|
14142
14142
|
settings: SnapshotRepositorySettings;
|
|
14143
14143
|
};
|
|
14144
14144
|
}
|
|
14145
|
-
export
|
|
14145
|
+
export type SnapshotCreateRepositoryResponse = AcknowledgedResponseBase;
|
|
14146
14146
|
export interface SnapshotDeleteRequest extends RequestBase {
|
|
14147
14147
|
repository: Name;
|
|
14148
14148
|
snapshot: Name;
|
|
14149
14149
|
master_timeout?: Duration;
|
|
14150
14150
|
}
|
|
14151
|
-
export
|
|
14151
|
+
export type SnapshotDeleteResponse = AcknowledgedResponseBase;
|
|
14152
14152
|
export interface SnapshotDeleteRepositoryRequest extends RequestBase {
|
|
14153
14153
|
name: Names;
|
|
14154
14154
|
master_timeout?: Duration;
|
|
14155
14155
|
timeout?: Duration;
|
|
14156
14156
|
}
|
|
14157
|
-
export
|
|
14157
|
+
export type SnapshotDeleteRepositoryResponse = AcknowledgedResponseBase;
|
|
14158
14158
|
export interface SnapshotGetRequest extends RequestBase {
|
|
14159
14159
|
repository: Name;
|
|
14160
14160
|
snapshot: Names;
|
|
@@ -14188,7 +14188,7 @@ export interface SnapshotGetRepositoryRequest extends RequestBase {
|
|
|
14188
14188
|
local?: boolean;
|
|
14189
14189
|
master_timeout?: Duration;
|
|
14190
14190
|
}
|
|
14191
|
-
export
|
|
14191
|
+
export type SnapshotGetRepositoryResponse = Record<string, SnapshotRepository>;
|
|
14192
14192
|
export interface SnapshotRestoreRequest extends RequestBase {
|
|
14193
14193
|
repository: Name;
|
|
14194
14194
|
snapshot: Name;
|
|
@@ -14239,7 +14239,7 @@ export interface SqlColumn {
|
|
|
14239
14239
|
name: Name;
|
|
14240
14240
|
type: string;
|
|
14241
14241
|
}
|
|
14242
|
-
export
|
|
14242
|
+
export type SqlRow = any[];
|
|
14243
14243
|
export interface SqlClearCursorRequest extends RequestBase {
|
|
14244
14244
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
14245
14245
|
body?: {
|
|
@@ -14252,7 +14252,7 @@ export interface SqlClearCursorResponse {
|
|
|
14252
14252
|
export interface SqlDeleteAsyncRequest extends RequestBase {
|
|
14253
14253
|
id: Id;
|
|
14254
14254
|
}
|
|
14255
|
-
export
|
|
14255
|
+
export type SqlDeleteAsyncResponse = AcknowledgedResponseBase;
|
|
14256
14256
|
export interface SqlGetAsyncRequest extends RequestBase {
|
|
14257
14257
|
id: Id;
|
|
14258
14258
|
delimiter?: string;
|
|
@@ -14337,8 +14337,8 @@ export interface SslCertificatesCertificateInformation {
|
|
|
14337
14337
|
}
|
|
14338
14338
|
export interface SslCertificatesRequest extends RequestBase {
|
|
14339
14339
|
}
|
|
14340
|
-
export
|
|
14341
|
-
export
|
|
14340
|
+
export type SslCertificatesResponse = SslCertificatesCertificateInformation[];
|
|
14341
|
+
export type TasksGroupBy = 'nodes' | 'parents' | 'none';
|
|
14342
14342
|
export interface TasksNodeTasks {
|
|
14343
14343
|
name?: NodeId;
|
|
14344
14344
|
transport_address?: TransportAddress;
|
|
@@ -14366,7 +14366,7 @@ export interface TasksTaskInfo {
|
|
|
14366
14366
|
type: string;
|
|
14367
14367
|
parent_task_id?: TaskId;
|
|
14368
14368
|
}
|
|
14369
|
-
export
|
|
14369
|
+
export type TasksTaskInfos = TasksTaskInfo[] | Record<string, TasksParentTaskInfo>;
|
|
14370
14370
|
export interface TasksTaskListResponseBase {
|
|
14371
14371
|
node_failures?: ErrorCause[];
|
|
14372
14372
|
task_failures?: TaskFailure[];
|
|
@@ -14399,7 +14399,7 @@ export interface TasksCancelRequest extends RequestBase {
|
|
|
14399
14399
|
parent_task_id?: string;
|
|
14400
14400
|
wait_for_completion?: boolean;
|
|
14401
14401
|
}
|
|
14402
|
-
export
|
|
14402
|
+
export type TasksCancelResponse = TasksTaskListResponseBase;
|
|
14403
14403
|
export interface TasksGetRequest extends RequestBase {
|
|
14404
14404
|
task_id: Id;
|
|
14405
14405
|
timeout?: Duration;
|
|
@@ -14421,7 +14421,7 @@ export interface TasksListRequest extends RequestBase {
|
|
|
14421
14421
|
timeout?: Duration;
|
|
14422
14422
|
wait_for_completion?: boolean;
|
|
14423
14423
|
}
|
|
14424
|
-
export
|
|
14424
|
+
export type TasksListResponse = TasksTaskListResponseBase;
|
|
14425
14425
|
export interface TextStructureFindStructureFieldStat {
|
|
14426
14426
|
count: integer;
|
|
14427
14427
|
cardinality: integer;
|
|
@@ -14529,7 +14529,7 @@ export interface TransformDeleteTransformRequest extends RequestBase {
|
|
|
14529
14529
|
force?: boolean;
|
|
14530
14530
|
timeout?: Duration;
|
|
14531
14531
|
}
|
|
14532
|
-
export
|
|
14532
|
+
export type TransformDeleteTransformResponse = AcknowledgedResponseBase;
|
|
14533
14533
|
export interface TransformGetTransformRequest extends RequestBase {
|
|
14534
14534
|
transform_id?: Names;
|
|
14535
14535
|
allow_no_match?: boolean;
|
|
@@ -14655,17 +14655,17 @@ export interface TransformPutTransformRequest extends RequestBase {
|
|
|
14655
14655
|
sync?: TransformSyncContainer;
|
|
14656
14656
|
};
|
|
14657
14657
|
}
|
|
14658
|
-
export
|
|
14658
|
+
export type TransformPutTransformResponse = AcknowledgedResponseBase;
|
|
14659
14659
|
export interface TransformResetTransformRequest extends RequestBase {
|
|
14660
14660
|
transform_id: Id;
|
|
14661
14661
|
force?: boolean;
|
|
14662
14662
|
}
|
|
14663
|
-
export
|
|
14663
|
+
export type TransformResetTransformResponse = AcknowledgedResponseBase;
|
|
14664
14664
|
export interface TransformStartTransformRequest extends RequestBase {
|
|
14665
14665
|
transform_id: Id;
|
|
14666
14666
|
timeout?: Duration;
|
|
14667
14667
|
}
|
|
14668
|
-
export
|
|
14668
|
+
export type TransformStartTransformResponse = AcknowledgedResponseBase;
|
|
14669
14669
|
export interface TransformStopTransformRequest extends RequestBase {
|
|
14670
14670
|
transform_id: Name;
|
|
14671
14671
|
allow_no_match?: boolean;
|
|
@@ -14674,7 +14674,7 @@ export interface TransformStopTransformRequest extends RequestBase {
|
|
|
14674
14674
|
wait_for_checkpoint?: boolean;
|
|
14675
14675
|
wait_for_completion?: boolean;
|
|
14676
14676
|
}
|
|
14677
|
-
export
|
|
14677
|
+
export type TransformStopTransformResponse = AcknowledgedResponseBase;
|
|
14678
14678
|
export interface TransformUpdateTransformRequest extends RequestBase {
|
|
14679
14679
|
transform_id: Id;
|
|
14680
14680
|
defer_validation?: boolean;
|
|
@@ -14720,7 +14720,7 @@ export interface WatcherAcknowledgeState {
|
|
|
14720
14720
|
state: WatcherAcknowledgementOptions;
|
|
14721
14721
|
timestamp: DateTime;
|
|
14722
14722
|
}
|
|
14723
|
-
export
|
|
14723
|
+
export type WatcherAcknowledgementOptions = 'awaits_successful_execution' | 'ackable' | 'acked';
|
|
14724
14724
|
export interface WatcherAction {
|
|
14725
14725
|
action_type?: WatcherActionType;
|
|
14726
14726
|
condition?: WatcherConditionContainer;
|
|
@@ -14737,16 +14737,16 @@ export interface WatcherAction {
|
|
|
14737
14737
|
slack?: WatcherSlackAction;
|
|
14738
14738
|
webhook?: WatcherWebhookAction;
|
|
14739
14739
|
}
|
|
14740
|
-
export
|
|
14740
|
+
export type WatcherActionExecutionMode = 'simulate' | 'force_simulate' | 'execute' | 'force_execute' | 'skip';
|
|
14741
14741
|
export interface WatcherActionStatus {
|
|
14742
14742
|
ack: WatcherAcknowledgeState;
|
|
14743
14743
|
last_execution?: WatcherExecutionState;
|
|
14744
14744
|
last_successful_execution?: WatcherExecutionState;
|
|
14745
14745
|
last_throttle?: WatcherThrottleState;
|
|
14746
14746
|
}
|
|
14747
|
-
export
|
|
14748
|
-
export
|
|
14749
|
-
export
|
|
14747
|
+
export type WatcherActionStatusOptions = 'success' | 'failure' | 'simulated' | 'throttled';
|
|
14748
|
+
export type WatcherActionType = 'email' | 'webhook' | 'index' | 'logging' | 'slack' | 'pagerduty';
|
|
14749
|
+
export type WatcherActions = Record<IndexName, WatcherActionStatus>;
|
|
14750
14750
|
export interface WatcherActivationState {
|
|
14751
14751
|
active: boolean;
|
|
14752
14752
|
timestamp: DateTime;
|
|
@@ -14761,7 +14761,7 @@ export interface WatcherAlwaysCondition {
|
|
|
14761
14761
|
export interface WatcherArrayCompareConditionKeys {
|
|
14762
14762
|
path: string;
|
|
14763
14763
|
}
|
|
14764
|
-
export
|
|
14764
|
+
export type WatcherArrayCompareCondition = WatcherArrayCompareConditionKeys & {
|
|
14765
14765
|
[property: string]: WatcherArrayCompareOpParams | string;
|
|
14766
14766
|
};
|
|
14767
14767
|
export interface WatcherArrayCompareOpParams {
|
|
@@ -14778,18 +14778,18 @@ export interface WatcherConditionContainer {
|
|
|
14778
14778
|
never?: WatcherNeverCondition;
|
|
14779
14779
|
script?: WatcherScriptCondition;
|
|
14780
14780
|
}
|
|
14781
|
-
export
|
|
14782
|
-
export
|
|
14783
|
-
export
|
|
14784
|
-
export
|
|
14781
|
+
export type WatcherConditionOp = 'not_eq' | 'eq' | 'lt' | 'gt' | 'lte' | 'gte';
|
|
14782
|
+
export type WatcherConditionType = 'always' | 'never' | 'script' | 'compare' | 'array_compare';
|
|
14783
|
+
export type WatcherConnectionScheme = 'http' | 'https';
|
|
14784
|
+
export type WatcherCronExpression = string;
|
|
14785
14785
|
export interface WatcherDailySchedule {
|
|
14786
14786
|
at: WatcherScheduleTimeOfDay[];
|
|
14787
14787
|
}
|
|
14788
|
-
export
|
|
14788
|
+
export type WatcherDataAttachmentFormat = 'json' | 'yaml';
|
|
14789
14789
|
export interface WatcherDataEmailAttachment {
|
|
14790
14790
|
format?: WatcherDataAttachmentFormat;
|
|
14791
14791
|
}
|
|
14792
|
-
export
|
|
14792
|
+
export type WatcherDay = 'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday';
|
|
14793
14793
|
export interface WatcherEmail {
|
|
14794
14794
|
id?: Id;
|
|
14795
14795
|
bcc?: string[];
|
|
@@ -14814,13 +14814,13 @@ export interface WatcherEmailBody {
|
|
|
14814
14814
|
html?: string;
|
|
14815
14815
|
text?: string;
|
|
14816
14816
|
}
|
|
14817
|
-
export
|
|
14817
|
+
export type WatcherEmailPriority = 'lowest' | 'low' | 'normal' | 'high' | 'highest';
|
|
14818
14818
|
export interface WatcherEmailResult {
|
|
14819
14819
|
account?: string;
|
|
14820
14820
|
message: WatcherEmail;
|
|
14821
14821
|
reason?: string;
|
|
14822
14822
|
}
|
|
14823
|
-
export
|
|
14823
|
+
export type WatcherExecutionPhase = 'awaits_execution' | 'started' | 'input' | 'condition' | 'actions' | 'watch_transform' | 'aborted' | 'finished';
|
|
14824
14824
|
export interface WatcherExecutionResult {
|
|
14825
14825
|
actions: WatcherExecutionResultAction[];
|
|
14826
14826
|
condition: WatcherExecutionResultCondition;
|
|
@@ -14856,7 +14856,7 @@ export interface WatcherExecutionState {
|
|
|
14856
14856
|
timestamp: DateTime;
|
|
14857
14857
|
reason?: string;
|
|
14858
14858
|
}
|
|
14859
|
-
export
|
|
14859
|
+
export type WatcherExecutionStatus = 'awaits_execution' | 'checking' | 'execution_not_needed' | 'throttled' | 'executed' | 'failed' | 'deleted_while_queued' | 'not_executed_already_queued';
|
|
14860
14860
|
export interface WatcherExecutionThreadPool {
|
|
14861
14861
|
max_size: long;
|
|
14862
14862
|
queue_size: long;
|
|
@@ -14885,7 +14885,7 @@ export interface WatcherHttpInputBasicAuthentication {
|
|
|
14885
14885
|
password: Password;
|
|
14886
14886
|
username: Username;
|
|
14887
14887
|
}
|
|
14888
|
-
export
|
|
14888
|
+
export type WatcherHttpInputMethod = 'head' | 'get' | 'post' | 'put' | 'delete';
|
|
14889
14889
|
export interface WatcherHttpInputProxy {
|
|
14890
14890
|
host: Host;
|
|
14891
14891
|
port: uint;
|
|
@@ -14936,7 +14936,7 @@ export interface WatcherInputContainer {
|
|
|
14936
14936
|
search?: WatcherSearchInput;
|
|
14937
14937
|
simple?: Record<string, any>;
|
|
14938
14938
|
}
|
|
14939
|
-
export
|
|
14939
|
+
export type WatcherInputType = 'http' | 'search' | 'simple';
|
|
14940
14940
|
export interface WatcherLoggingAction {
|
|
14941
14941
|
level?: string;
|
|
14942
14942
|
text: string;
|
|
@@ -14945,7 +14945,7 @@ export interface WatcherLoggingAction {
|
|
|
14945
14945
|
export interface WatcherLoggingResult {
|
|
14946
14946
|
logged_text: string;
|
|
14947
14947
|
}
|
|
14948
|
-
export
|
|
14948
|
+
export type WatcherMonth = 'january' | 'february' | 'march' | 'april' | 'may' | 'june' | 'july' | 'august' | 'september' | 'october' | 'november' | 'december';
|
|
14949
14949
|
export interface WatcherNeverCondition {
|
|
14950
14950
|
}
|
|
14951
14951
|
export interface WatcherPagerDutyAction extends WatcherPagerDutyEvent {
|
|
@@ -14955,7 +14955,7 @@ export interface WatcherPagerDutyContext {
|
|
|
14955
14955
|
src?: string;
|
|
14956
14956
|
type: WatcherPagerDutyContextType;
|
|
14957
14957
|
}
|
|
14958
|
-
export
|
|
14958
|
+
export type WatcherPagerDutyContextType = 'link' | 'image';
|
|
14959
14959
|
export interface WatcherPagerDutyEvent {
|
|
14960
14960
|
account?: string;
|
|
14961
14961
|
attach_payload: boolean;
|
|
@@ -14972,14 +14972,14 @@ export interface WatcherPagerDutyEventProxy {
|
|
|
14972
14972
|
host?: Host;
|
|
14973
14973
|
port?: integer;
|
|
14974
14974
|
}
|
|
14975
|
-
export
|
|
14975
|
+
export type WatcherPagerDutyEventType = 'trigger' | 'resolve' | 'acknowledge';
|
|
14976
14976
|
export interface WatcherPagerDutyResult {
|
|
14977
14977
|
event: WatcherPagerDutyEvent;
|
|
14978
14978
|
reason?: string;
|
|
14979
14979
|
request?: WatcherHttpInputRequestResult;
|
|
14980
14980
|
response?: WatcherHttpInputResponseResult;
|
|
14981
14981
|
}
|
|
14982
|
-
export
|
|
14982
|
+
export type WatcherQuantifier = 'some' | 'all';
|
|
14983
14983
|
export interface WatcherQueryWatch {
|
|
14984
14984
|
_id: Id;
|
|
14985
14985
|
status?: WatcherWatchStatus;
|
|
@@ -14994,7 +14994,7 @@ export interface WatcherReportingEmailAttachment {
|
|
|
14994
14994
|
interval?: Duration;
|
|
14995
14995
|
request?: WatcherHttpInputRequestDefinition;
|
|
14996
14996
|
}
|
|
14997
|
-
export
|
|
14997
|
+
export type WatcherResponseContentType = 'json' | 'yaml' | 'text';
|
|
14998
14998
|
export interface WatcherScheduleContainer {
|
|
14999
14999
|
cron?: WatcherCronExpression;
|
|
15000
15000
|
daily?: WatcherDailySchedule;
|
|
@@ -15004,7 +15004,7 @@ export interface WatcherScheduleContainer {
|
|
|
15004
15004
|
weekly?: WatcherTimeOfWeek | WatcherTimeOfWeek[];
|
|
15005
15005
|
yearly?: WatcherTimeOfYear | WatcherTimeOfYear[];
|
|
15006
15006
|
}
|
|
15007
|
-
export
|
|
15007
|
+
export type WatcherScheduleTimeOfDay = string | WatcherHourAndMinute;
|
|
15008
15008
|
export interface WatcherScheduleTriggerEvent {
|
|
15009
15009
|
scheduled_time: DateTime;
|
|
15010
15010
|
triggered_time?: DateTime;
|
|
@@ -15248,7 +15248,7 @@ export interface WatcherQueryWatchesResponse {
|
|
|
15248
15248
|
}
|
|
15249
15249
|
export interface WatcherStartRequest extends RequestBase {
|
|
15250
15250
|
}
|
|
15251
|
-
export
|
|
15251
|
+
export type WatcherStartResponse = AcknowledgedResponseBase;
|
|
15252
15252
|
export interface WatcherStatsRequest extends RequestBase {
|
|
15253
15253
|
metric?: WatcherStatsWatcherMetric | WatcherStatsWatcherMetric[];
|
|
15254
15254
|
emit_stacktraces?: boolean;
|
|
@@ -15269,7 +15269,7 @@ export interface WatcherStatsWatchRecordStats extends WatcherStatsWatchRecordQue
|
|
|
15269
15269
|
watch_id: Id;
|
|
15270
15270
|
watch_record_id: Id;
|
|
15271
15271
|
}
|
|
15272
|
-
export
|
|
15272
|
+
export type WatcherStatsWatcherMetric = '_all' | 'all' | 'queued_watches' | 'current_watches' | 'pending_watches';
|
|
15273
15273
|
export interface WatcherStatsWatcherNodeStats {
|
|
15274
15274
|
current_watches?: WatcherStatsWatchRecordStats[];
|
|
15275
15275
|
execution_thread_pool: WatcherExecutionThreadPool;
|
|
@@ -15278,10 +15278,10 @@ export interface WatcherStatsWatcherNodeStats {
|
|
|
15278
15278
|
watcher_state: WatcherStatsWatcherState;
|
|
15279
15279
|
node_id: Id;
|
|
15280
15280
|
}
|
|
15281
|
-
export
|
|
15281
|
+
export type WatcherStatsWatcherState = 'stopped' | 'starting' | 'started' | 'stopping';
|
|
15282
15282
|
export interface WatcherStopRequest extends RequestBase {
|
|
15283
15283
|
}
|
|
15284
|
-
export
|
|
15284
|
+
export type WatcherStopResponse = AcknowledgedResponseBase;
|
|
15285
15285
|
export interface XpackInfoBuildInformation {
|
|
15286
15286
|
date: DateTime;
|
|
15287
15287
|
hash: string;
|
|
@@ -15472,7 +15472,7 @@ export interface XpackUsageIpFilter {
|
|
|
15472
15472
|
export interface XpackUsageJobsKeys {
|
|
15473
15473
|
_all?: XpackUsageAllJobs;
|
|
15474
15474
|
}
|
|
15475
|
-
export
|
|
15475
|
+
export type XpackUsageJobs = XpackUsageJobsKeys & {
|
|
15476
15476
|
[property: string]: MlJob | XpackUsageAllJobs;
|
|
15477
15477
|
};
|
|
15478
15478
|
export interface XpackUsageMachineLearning extends XpackUsageBase {
|