@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
package/lib/api/types.d.ts
CHANGED
|
@@ -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;
|
|
@@ -124,7 +124,7 @@ export interface CreateRequest<TDocument = unknown> extends RequestBase {
|
|
|
124
124
|
wait_for_active_shards?: WaitForActiveShards;
|
|
125
125
|
document?: TDocument;
|
|
126
126
|
}
|
|
127
|
-
export
|
|
127
|
+
export type CreateResponse = WriteResponseBase;
|
|
128
128
|
export interface DeleteRequest extends RequestBase {
|
|
129
129
|
id: Id;
|
|
130
130
|
index: IndexName;
|
|
@@ -137,7 +137,7 @@ export interface DeleteRequest extends RequestBase {
|
|
|
137
137
|
version_type?: VersionType;
|
|
138
138
|
wait_for_active_shards?: WaitForActiveShards;
|
|
139
139
|
}
|
|
140
|
-
export
|
|
140
|
+
export type DeleteResponse = WriteResponseBase;
|
|
141
141
|
export interface DeleteByQueryRequest extends RequestBase {
|
|
142
142
|
index: Indices;
|
|
143
143
|
allow_no_indices?: boolean;
|
|
@@ -194,13 +194,13 @@ export interface DeleteByQueryRethrottleRequest extends RequestBase {
|
|
|
194
194
|
task_id: Id;
|
|
195
195
|
requests_per_second?: float;
|
|
196
196
|
}
|
|
197
|
-
export
|
|
197
|
+
export type DeleteByQueryRethrottleResponse = TasksTaskListResponseBase;
|
|
198
198
|
export interface DeleteScriptRequest extends RequestBase {
|
|
199
199
|
id: Id;
|
|
200
200
|
master_timeout?: Duration;
|
|
201
201
|
timeout?: Duration;
|
|
202
202
|
}
|
|
203
|
-
export
|
|
203
|
+
export type DeleteScriptResponse = AcknowledgedResponseBase;
|
|
204
204
|
export interface ExistsRequest extends RequestBase {
|
|
205
205
|
id: Id;
|
|
206
206
|
index: IndexName;
|
|
@@ -215,7 +215,7 @@ export interface ExistsRequest extends RequestBase {
|
|
|
215
215
|
version?: VersionNumber;
|
|
216
216
|
version_type?: VersionType;
|
|
217
217
|
}
|
|
218
|
-
export
|
|
218
|
+
export type ExistsResponse = boolean;
|
|
219
219
|
export interface ExistsSourceRequest extends RequestBase {
|
|
220
220
|
id: Id;
|
|
221
221
|
index: IndexName;
|
|
@@ -229,7 +229,7 @@ export interface ExistsSourceRequest extends RequestBase {
|
|
|
229
229
|
version?: VersionNumber;
|
|
230
230
|
version_type?: VersionType;
|
|
231
231
|
}
|
|
232
|
-
export
|
|
232
|
+
export type ExistsSourceResponse = boolean;
|
|
233
233
|
export interface ExplainExplanation {
|
|
234
234
|
description: string;
|
|
235
235
|
details: ExplainExplanationDetail[];
|
|
@@ -319,7 +319,7 @@ export interface GetRequest extends RequestBase {
|
|
|
319
319
|
version?: VersionNumber;
|
|
320
320
|
version_type?: VersionType;
|
|
321
321
|
}
|
|
322
|
-
export
|
|
322
|
+
export type GetResponse<TDocument = unknown> = GetGetResult<TDocument>;
|
|
323
323
|
export interface GetScriptRequest extends RequestBase {
|
|
324
324
|
id: Id;
|
|
325
325
|
master_timeout?: Duration;
|
|
@@ -371,7 +371,7 @@ export interface GetSourceRequest extends RequestBase {
|
|
|
371
371
|
version?: VersionNumber;
|
|
372
372
|
version_type?: VersionType;
|
|
373
373
|
}
|
|
374
|
-
export
|
|
374
|
+
export type GetSourceResponse<TDocument = unknown> = TDocument;
|
|
375
375
|
export interface IndexRequest<TDocument = unknown> extends RequestBase {
|
|
376
376
|
id?: Id;
|
|
377
377
|
index: IndexName;
|
|
@@ -388,7 +388,7 @@ export interface IndexRequest<TDocument = unknown> extends RequestBase {
|
|
|
388
388
|
require_alias?: boolean;
|
|
389
389
|
document?: TDocument;
|
|
390
390
|
}
|
|
391
|
-
export
|
|
391
|
+
export type IndexResponse = WriteResponseBase;
|
|
392
392
|
export interface InfoRequest extends RequestBase {
|
|
393
393
|
}
|
|
394
394
|
export interface InfoResponse {
|
|
@@ -422,7 +422,7 @@ export interface KnnSearchQuery {
|
|
|
422
422
|
k: long;
|
|
423
423
|
num_candidates: long;
|
|
424
424
|
}
|
|
425
|
-
export
|
|
425
|
+
export type KnnSearchQueryVector = double[];
|
|
426
426
|
export interface MgetMultiGetError {
|
|
427
427
|
error: ErrorCause;
|
|
428
428
|
_id: Id;
|
|
@@ -453,7 +453,7 @@ export interface MgetRequest extends RequestBase {
|
|
|
453
453
|
export interface MgetResponse<TDocument = unknown> {
|
|
454
454
|
docs: MgetResponseItem<TDocument>[];
|
|
455
455
|
}
|
|
456
|
-
export
|
|
456
|
+
export type MgetResponseItem<TDocument = unknown> = GetGetResult<TDocument> | MgetMultiGetError;
|
|
457
457
|
export interface MsearchMultiSearchItem<TDocument = unknown> extends SearchResponseBody<TDocument> {
|
|
458
458
|
status?: integer;
|
|
459
459
|
}
|
|
@@ -524,9 +524,9 @@ export interface MsearchRequest extends RequestBase {
|
|
|
524
524
|
typed_keys?: boolean;
|
|
525
525
|
searches?: MsearchRequestItem[];
|
|
526
526
|
}
|
|
527
|
-
export
|
|
528
|
-
export
|
|
529
|
-
export
|
|
527
|
+
export type MsearchRequestItem = MsearchMultisearchHeader | MsearchMultisearchBody;
|
|
528
|
+
export type MsearchResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = MsearchMultiSearchResult<TDocument>;
|
|
529
|
+
export type MsearchResponseItem<TDocument = unknown> = MsearchMultiSearchItem<TDocument> | ErrorResponseBase;
|
|
530
530
|
export interface MsearchTemplateRequest extends RequestBase {
|
|
531
531
|
index?: Indices;
|
|
532
532
|
ccs_minimize_roundtrips?: boolean;
|
|
@@ -536,8 +536,8 @@ export interface MsearchTemplateRequest extends RequestBase {
|
|
|
536
536
|
typed_keys?: boolean;
|
|
537
537
|
search_templates?: MsearchTemplateRequestItem[];
|
|
538
538
|
}
|
|
539
|
-
export
|
|
540
|
-
export
|
|
539
|
+
export type MsearchTemplateRequestItem = MsearchMultisearchHeader | MsearchTemplateTemplateConfig;
|
|
540
|
+
export type MsearchTemplateResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = MsearchMultiSearchResult<TDocument>;
|
|
541
541
|
export interface MsearchTemplateTemplateConfig {
|
|
542
542
|
explain?: boolean;
|
|
543
543
|
id?: Id;
|
|
@@ -598,7 +598,7 @@ export interface OpenPointInTimeResponse {
|
|
|
598
598
|
}
|
|
599
599
|
export interface PingRequest extends RequestBase {
|
|
600
600
|
}
|
|
601
|
-
export
|
|
601
|
+
export type PingResponse = boolean;
|
|
602
602
|
export interface PutScriptRequest extends RequestBase {
|
|
603
603
|
id: Id;
|
|
604
604
|
context?: Name;
|
|
@@ -606,7 +606,7 @@ export interface PutScriptRequest extends RequestBase {
|
|
|
606
606
|
timeout?: Duration;
|
|
607
607
|
script: StoredScript;
|
|
608
608
|
}
|
|
609
|
-
export
|
|
609
|
+
export type PutScriptResponse = AcknowledgedResponseBase;
|
|
610
610
|
export interface RankEvalDocumentRating {
|
|
611
611
|
_id: Id;
|
|
612
612
|
_index: IndexName;
|
|
@@ -805,7 +805,7 @@ export interface ScrollRequest extends RequestBase {
|
|
|
805
805
|
rest_total_hits_as_int?: boolean;
|
|
806
806
|
scroll?: Duration;
|
|
807
807
|
}
|
|
808
|
-
export
|
|
808
|
+
export type ScrollResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = SearchResponseBody<TDocument, TAggregations>;
|
|
809
809
|
export interface SearchRequest extends RequestBase {
|
|
810
810
|
index?: Indices;
|
|
811
811
|
allow_no_indices?: boolean;
|
|
@@ -871,7 +871,7 @@ export interface SearchRequest extends RequestBase {
|
|
|
871
871
|
runtime_mappings?: MappingRuntimeFields;
|
|
872
872
|
stats?: string[];
|
|
873
873
|
}
|
|
874
|
-
export
|
|
874
|
+
export type SearchResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = SearchResponseBody<TDocument, TAggregations>;
|
|
875
875
|
export interface SearchResponseBody<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> {
|
|
876
876
|
took: long;
|
|
877
877
|
timed_out: boolean;
|
|
@@ -944,7 +944,7 @@ export interface SearchAggregationProfileDelegateDebugFilter {
|
|
|
944
944
|
query?: string;
|
|
945
945
|
specialized_for?: string;
|
|
946
946
|
}
|
|
947
|
-
export
|
|
947
|
+
export type SearchBoundaryScanner = 'chars' | 'sentence' | 'word';
|
|
948
948
|
export interface SearchCollector {
|
|
949
949
|
name: string;
|
|
950
950
|
reason: string;
|
|
@@ -980,7 +980,7 @@ export interface SearchCompletionSuggester extends SearchSuggesterBase {
|
|
|
980
980
|
regex?: string;
|
|
981
981
|
skip_duplicates?: boolean;
|
|
982
982
|
}
|
|
983
|
-
export
|
|
983
|
+
export type SearchContext = string | GeoLocation;
|
|
984
984
|
export interface SearchDirectGenerator {
|
|
985
985
|
field: Field;
|
|
986
986
|
max_edits?: integer;
|
|
@@ -1059,11 +1059,11 @@ export interface SearchHighlightField extends SearchHighlightBase {
|
|
|
1059
1059
|
fragment_offset?: integer;
|
|
1060
1060
|
matched_fields?: Fields;
|
|
1061
1061
|
}
|
|
1062
|
-
export
|
|
1063
|
-
export
|
|
1064
|
-
export
|
|
1065
|
-
export
|
|
1066
|
-
export
|
|
1062
|
+
export type SearchHighlighterEncoder = 'default' | 'html';
|
|
1063
|
+
export type SearchHighlighterFragmenter = 'simple' | 'span';
|
|
1064
|
+
export type SearchHighlighterOrder = 'score';
|
|
1065
|
+
export type SearchHighlighterTagsSchema = 'styled';
|
|
1066
|
+
export type SearchHighlighterType = 'plain' | 'fvh' | 'unified' | string;
|
|
1067
1067
|
export interface SearchHit<TDocument = unknown> {
|
|
1068
1068
|
_index: IndexName;
|
|
1069
1069
|
_id: Id;
|
|
@@ -1204,7 +1204,7 @@ export interface SearchRescoreQuery {
|
|
|
1204
1204
|
rescore_query_weight?: double;
|
|
1205
1205
|
score_mode?: SearchScoreMode;
|
|
1206
1206
|
}
|
|
1207
|
-
export
|
|
1207
|
+
export type SearchScoreMode = 'avg' | 'max' | 'min' | 'multiply' | 'total';
|
|
1208
1208
|
export interface SearchSearchProfile {
|
|
1209
1209
|
collector: SearchCollector[];
|
|
1210
1210
|
query: SearchQueryProfile[];
|
|
@@ -1221,19 +1221,19 @@ export interface SearchSmoothingModelContainer {
|
|
|
1221
1221
|
linear_interpolation?: SearchLinearInterpolationSmoothingModel;
|
|
1222
1222
|
stupid_backoff?: SearchStupidBackoffSmoothingModel;
|
|
1223
1223
|
}
|
|
1224
|
-
export
|
|
1225
|
-
export
|
|
1224
|
+
export type SearchSourceConfig = boolean | SearchSourceFilter | Fields;
|
|
1225
|
+
export type SearchSourceConfigParam = boolean | Fields;
|
|
1226
1226
|
export interface SearchSourceFilter {
|
|
1227
1227
|
excludes?: Fields;
|
|
1228
1228
|
exclude?: Fields;
|
|
1229
1229
|
includes?: Fields;
|
|
1230
1230
|
include?: Fields;
|
|
1231
1231
|
}
|
|
1232
|
-
export
|
|
1232
|
+
export type SearchStringDistance = 'internal' | 'damerau_levenshtein' | 'levenshtein' | 'jaro_winkler' | 'ngram';
|
|
1233
1233
|
export interface SearchStupidBackoffSmoothingModel {
|
|
1234
1234
|
discount: double;
|
|
1235
1235
|
}
|
|
1236
|
-
export
|
|
1236
|
+
export type SearchSuggest<TDocument = unknown> = SearchCompletionSuggest<TDocument> | SearchPhraseSuggest | SearchTermSuggest;
|
|
1237
1237
|
export interface SearchSuggestBase {
|
|
1238
1238
|
length: integer;
|
|
1239
1239
|
offset: integer;
|
|
@@ -1246,11 +1246,11 @@ export interface SearchSuggestFuzziness {
|
|
|
1246
1246
|
transpositions?: boolean;
|
|
1247
1247
|
unicode_aware?: boolean;
|
|
1248
1248
|
}
|
|
1249
|
-
export
|
|
1249
|
+
export type SearchSuggestSort = 'score' | 'frequency';
|
|
1250
1250
|
export interface SearchSuggesterKeys {
|
|
1251
1251
|
text?: string;
|
|
1252
1252
|
}
|
|
1253
|
-
export
|
|
1253
|
+
export type SearchSuggester = SearchSuggesterKeys & {
|
|
1254
1254
|
[property: string]: SearchFieldSuggester | string;
|
|
1255
1255
|
};
|
|
1256
1256
|
export interface SearchSuggesterBase {
|
|
@@ -1284,8 +1284,8 @@ export interface SearchTotalHits {
|
|
|
1284
1284
|
relation: SearchTotalHitsRelation;
|
|
1285
1285
|
value: long;
|
|
1286
1286
|
}
|
|
1287
|
-
export
|
|
1288
|
-
export
|
|
1287
|
+
export type SearchTotalHitsRelation = 'eq' | 'gte';
|
|
1288
|
+
export type SearchTrackHits = boolean | integer;
|
|
1289
1289
|
export interface SearchMvtRequest extends RequestBase {
|
|
1290
1290
|
index: Indices;
|
|
1291
1291
|
field: Field;
|
|
@@ -1304,10 +1304,10 @@ export interface SearchMvtRequest extends RequestBase {
|
|
|
1304
1304
|
sort?: Sort;
|
|
1305
1305
|
track_total_hits?: SearchTrackHits;
|
|
1306
1306
|
}
|
|
1307
|
-
export
|
|
1308
|
-
export
|
|
1309
|
-
export
|
|
1310
|
-
export
|
|
1307
|
+
export type SearchMvtResponse = MapboxVectorTiles;
|
|
1308
|
+
export type SearchMvtCoordinate = integer;
|
|
1309
|
+
export type SearchMvtGridType = 'grid' | 'point' | 'centroid';
|
|
1310
|
+
export type SearchMvtZoomLevel = integer;
|
|
1311
1311
|
export interface SearchShardsRequest extends RequestBase {
|
|
1312
1312
|
index?: Indices;
|
|
1313
1313
|
allow_no_indices?: boolean;
|
|
@@ -1455,7 +1455,7 @@ export interface UpdateRequest<TDocument = unknown, TPartialDocument = unknown>
|
|
|
1455
1455
|
_source?: SearchSourceConfig;
|
|
1456
1456
|
upsert?: TDocument;
|
|
1457
1457
|
}
|
|
1458
|
-
export
|
|
1458
|
+
export type UpdateResponse<TDocument = unknown> = UpdateUpdateWriteResponseBase<TDocument>;
|
|
1459
1459
|
export interface UpdateUpdateWriteResponseBase<TDocument = unknown> extends WriteResponseBase {
|
|
1460
1460
|
get?: InlineGet<TDocument>;
|
|
1461
1461
|
}
|
|
@@ -1531,11 +1531,11 @@ export interface SpecUtilsBaseNode {
|
|
|
1531
1531
|
roles?: NodeRoles;
|
|
1532
1532
|
transport_address: TransportAddress;
|
|
1533
1533
|
}
|
|
1534
|
-
export
|
|
1534
|
+
export type SpecUtilsStringified<T = unknown> = T | string;
|
|
1535
1535
|
export interface AcknowledgedResponseBase {
|
|
1536
1536
|
acknowledged: boolean;
|
|
1537
1537
|
}
|
|
1538
|
-
export
|
|
1538
|
+
export type AggregateName = string;
|
|
1539
1539
|
export interface BulkIndexByScrollFailure {
|
|
1540
1540
|
cause: ErrorCause;
|
|
1541
1541
|
id: Id;
|
|
@@ -1554,9 +1554,9 @@ export interface BulkStats {
|
|
|
1554
1554
|
avg_size?: ByteSize;
|
|
1555
1555
|
avg_size_in_bytes: long;
|
|
1556
1556
|
}
|
|
1557
|
-
export
|
|
1558
|
-
export
|
|
1559
|
-
export
|
|
1557
|
+
export type ByteSize = long | string;
|
|
1558
|
+
export type Bytes = 'b' | 'kb' | 'mb' | 'gb' | 'tb' | 'pb';
|
|
1559
|
+
export type CategoryId = string;
|
|
1560
1560
|
export interface ClusterStatistics {
|
|
1561
1561
|
skipped: integer;
|
|
1562
1562
|
successful: integer;
|
|
@@ -1567,30 +1567,30 @@ export interface CompletionStats {
|
|
|
1567
1567
|
size?: ByteSize;
|
|
1568
1568
|
fields?: Record<Field, FieldSizeUsage>;
|
|
1569
1569
|
}
|
|
1570
|
-
export
|
|
1570
|
+
export type Conflicts = 'abort' | 'proceed';
|
|
1571
1571
|
export interface CoordsGeoBounds {
|
|
1572
1572
|
top: double;
|
|
1573
1573
|
bottom: double;
|
|
1574
1574
|
left: double;
|
|
1575
1575
|
right: double;
|
|
1576
1576
|
}
|
|
1577
|
-
export
|
|
1578
|
-
export
|
|
1579
|
-
export
|
|
1580
|
-
export
|
|
1581
|
-
export
|
|
1582
|
-
export
|
|
1583
|
-
export
|
|
1584
|
-
export
|
|
1585
|
-
export
|
|
1586
|
-
export
|
|
1577
|
+
export type DFIIndependenceMeasure = 'standardized' | 'saturated' | 'chisquared';
|
|
1578
|
+
export type DFRAfterEffect = 'no' | 'b' | 'l';
|
|
1579
|
+
export type DFRBasicModel = 'be' | 'd' | 'g' | 'if' | 'in' | 'ine' | 'p';
|
|
1580
|
+
export type DataStreamName = string;
|
|
1581
|
+
export type DataStreamNames = DataStreamName | DataStreamName[];
|
|
1582
|
+
export type DateFormat = string;
|
|
1583
|
+
export type DateMath = string;
|
|
1584
|
+
export type DateTime = string | EpochTime<UnitMillis>;
|
|
1585
|
+
export type Distance = string;
|
|
1586
|
+
export type DistanceUnit = 'in' | 'ft' | 'yd' | 'mi' | 'nmi' | 'km' | 'm' | 'cm' | 'mm';
|
|
1587
1587
|
export interface DocStats {
|
|
1588
1588
|
count: long;
|
|
1589
1589
|
deleted?: long;
|
|
1590
1590
|
}
|
|
1591
|
-
export
|
|
1592
|
-
export
|
|
1593
|
-
export
|
|
1591
|
+
export type Duration = string | -1 | 0;
|
|
1592
|
+
export type DurationLarge = string;
|
|
1593
|
+
export type DurationValue<Unit = unknown> = Unit;
|
|
1594
1594
|
export interface ElasticsearchVersionInfo {
|
|
1595
1595
|
build_date: DateTime;
|
|
1596
1596
|
build_flavor: string;
|
|
@@ -1604,7 +1604,7 @@ export interface ElasticsearchVersionInfo {
|
|
|
1604
1604
|
}
|
|
1605
1605
|
export interface EmptyObject {
|
|
1606
1606
|
}
|
|
1607
|
-
export
|
|
1607
|
+
export type EpochTime<Unit = unknown> = Unit;
|
|
1608
1608
|
export interface ErrorCauseKeys {
|
|
1609
1609
|
type: string;
|
|
1610
1610
|
reason?: string;
|
|
@@ -1613,16 +1613,16 @@ export interface ErrorCauseKeys {
|
|
|
1613
1613
|
root_cause?: ErrorCause[];
|
|
1614
1614
|
suppressed?: ErrorCause[];
|
|
1615
1615
|
}
|
|
1616
|
-
export
|
|
1616
|
+
export type ErrorCause = ErrorCauseKeys & {
|
|
1617
1617
|
[property: string]: any;
|
|
1618
1618
|
};
|
|
1619
1619
|
export interface ErrorResponseBase {
|
|
1620
1620
|
error: ErrorCause;
|
|
1621
1621
|
status: integer;
|
|
1622
1622
|
}
|
|
1623
|
-
export
|
|
1624
|
-
export
|
|
1625
|
-
export
|
|
1623
|
+
export type ExpandWildcard = 'all' | 'open' | 'closed' | 'hidden' | 'none';
|
|
1624
|
+
export type ExpandWildcards = ExpandWildcard | ExpandWildcard[];
|
|
1625
|
+
export type Field = string;
|
|
1626
1626
|
export interface FieldMemoryUsage {
|
|
1627
1627
|
memory_size?: ByteSize;
|
|
1628
1628
|
memory_size_in_bytes: long;
|
|
@@ -1640,23 +1640,23 @@ export interface FieldSort {
|
|
|
1640
1640
|
numeric_type?: FieldSortNumericType;
|
|
1641
1641
|
format?: string;
|
|
1642
1642
|
}
|
|
1643
|
-
export
|
|
1644
|
-
export
|
|
1643
|
+
export type FieldSortNumericType = 'long' | 'double' | 'date' | 'date_nanos';
|
|
1644
|
+
export type FieldValue = long | double | string | boolean | any;
|
|
1645
1645
|
export interface FielddataStats {
|
|
1646
1646
|
evictions?: long;
|
|
1647
1647
|
memory_size?: ByteSize;
|
|
1648
1648
|
memory_size_in_bytes: long;
|
|
1649
1649
|
fields?: Record<Field, FieldMemoryUsage>;
|
|
1650
1650
|
}
|
|
1651
|
-
export
|
|
1651
|
+
export type Fields = Field | Field[];
|
|
1652
1652
|
export interface FlushStats {
|
|
1653
1653
|
periodic: long;
|
|
1654
1654
|
total: long;
|
|
1655
1655
|
total_time?: Duration;
|
|
1656
1656
|
total_time_in_millis: DurationValue<UnitMillis>;
|
|
1657
1657
|
}
|
|
1658
|
-
export
|
|
1659
|
-
export
|
|
1658
|
+
export type Fuzziness = string | integer;
|
|
1659
|
+
export type GeoBounds = CoordsGeoBounds | TopLeftBottomRightGeoBounds | TopRightBottomLeftGeoBounds | WktGeoBounds;
|
|
1660
1660
|
export interface GeoDistanceSortKeys {
|
|
1661
1661
|
mode?: SortMode;
|
|
1662
1662
|
distance_type?: GeoDistanceType;
|
|
@@ -1664,24 +1664,24 @@ export interface GeoDistanceSortKeys {
|
|
|
1664
1664
|
order?: SortOrder;
|
|
1665
1665
|
unit?: DistanceUnit;
|
|
1666
1666
|
}
|
|
1667
|
-
export
|
|
1667
|
+
export type GeoDistanceSort = GeoDistanceSortKeys & {
|
|
1668
1668
|
[property: string]: GeoLocation | GeoLocation[] | SortMode | GeoDistanceType | boolean | SortOrder | DistanceUnit;
|
|
1669
1669
|
};
|
|
1670
|
-
export
|
|
1671
|
-
export
|
|
1670
|
+
export type GeoDistanceType = 'arc' | 'plane';
|
|
1671
|
+
export type GeoHash = string;
|
|
1672
1672
|
export interface GeoHashLocation {
|
|
1673
1673
|
geohash: GeoHash;
|
|
1674
1674
|
}
|
|
1675
|
-
export
|
|
1675
|
+
export type GeoHashPrecision = number | string;
|
|
1676
1676
|
export interface GeoLine {
|
|
1677
1677
|
type: string;
|
|
1678
1678
|
coordinates: double[][];
|
|
1679
1679
|
}
|
|
1680
|
-
export
|
|
1681
|
-
export
|
|
1682
|
-
export
|
|
1683
|
-
export
|
|
1684
|
-
export
|
|
1680
|
+
export type GeoLocation = LatLonGeoLocation | GeoHashLocation | double[] | string;
|
|
1681
|
+
export type GeoShape = any;
|
|
1682
|
+
export type GeoShapeRelation = 'intersects' | 'disjoint' | 'within' | 'contains';
|
|
1683
|
+
export type GeoTile = string;
|
|
1684
|
+
export type GeoTilePrecision = number;
|
|
1685
1685
|
export interface GetStats {
|
|
1686
1686
|
current: long;
|
|
1687
1687
|
exists_time?: Duration;
|
|
@@ -1694,17 +1694,17 @@ export interface GetStats {
|
|
|
1694
1694
|
time_in_millis: DurationValue<UnitMillis>;
|
|
1695
1695
|
total: long;
|
|
1696
1696
|
}
|
|
1697
|
-
export
|
|
1698
|
-
export
|
|
1699
|
-
export
|
|
1700
|
-
export
|
|
1701
|
-
export
|
|
1702
|
-
export
|
|
1703
|
-
export
|
|
1704
|
-
export
|
|
1705
|
-
export
|
|
1706
|
-
export
|
|
1707
|
-
export
|
|
1697
|
+
export type HealthStatus = 'green' | 'GREEN' | 'yellow' | 'YELLOW' | 'red' | 'RED';
|
|
1698
|
+
export type Host = string;
|
|
1699
|
+
export type HttpHeaders = Record<string, string | string[]>;
|
|
1700
|
+
export type IBDistribution = 'll' | 'spl';
|
|
1701
|
+
export type IBLambda = 'df' | 'ttf';
|
|
1702
|
+
export type Id = string;
|
|
1703
|
+
export type Ids = Id | Id[];
|
|
1704
|
+
export type IndexAlias = string;
|
|
1705
|
+
export type IndexName = string;
|
|
1706
|
+
export type IndexPattern = string;
|
|
1707
|
+
export type IndexPatterns = IndexPattern[];
|
|
1708
1708
|
export interface IndexingStats {
|
|
1709
1709
|
index_current: long;
|
|
1710
1710
|
delete_current: long;
|
|
@@ -1721,7 +1721,7 @@ export interface IndexingStats {
|
|
|
1721
1721
|
index_failed: long;
|
|
1722
1722
|
types?: Record<string, IndexingStats>;
|
|
1723
1723
|
}
|
|
1724
|
-
export
|
|
1724
|
+
export type Indices = IndexName | IndexName[];
|
|
1725
1725
|
export interface IndicesOptions {
|
|
1726
1726
|
allow_no_indices?: boolean;
|
|
1727
1727
|
expand_wildcards?: ExpandWildcards;
|
|
@@ -1739,7 +1739,7 @@ export interface InlineGetKeys<TDocument = unknown> {
|
|
|
1739
1739
|
_routing?: Routing;
|
|
1740
1740
|
_source: TDocument;
|
|
1741
1741
|
}
|
|
1742
|
-
export
|
|
1742
|
+
export type InlineGet<TDocument = unknown> = InlineGetKeys<TDocument> & {
|
|
1743
1743
|
[property: string]: any;
|
|
1744
1744
|
};
|
|
1745
1745
|
export interface InlineScript extends ScriptBase {
|
|
@@ -1747,7 +1747,7 @@ export interface InlineScript extends ScriptBase {
|
|
|
1747
1747
|
options?: Record<string, string>;
|
|
1748
1748
|
source: string;
|
|
1749
1749
|
}
|
|
1750
|
-
export
|
|
1750
|
+
export type Ip = string;
|
|
1751
1751
|
export interface KnnQuery {
|
|
1752
1752
|
field: Field;
|
|
1753
1753
|
query_vector: double[];
|
|
@@ -1760,9 +1760,9 @@ export interface LatLonGeoLocation {
|
|
|
1760
1760
|
lat: double;
|
|
1761
1761
|
lon: double;
|
|
1762
1762
|
}
|
|
1763
|
-
export
|
|
1764
|
-
export
|
|
1765
|
-
export
|
|
1763
|
+
export type Level = 'cluster' | 'indices' | 'shards';
|
|
1764
|
+
export type LifecycleOperationMode = 'RUNNING' | 'STOPPING' | 'STOPPED';
|
|
1765
|
+
export type MapboxVectorTiles = ArrayBuffer;
|
|
1766
1766
|
export interface MergesStats {
|
|
1767
1767
|
current: long;
|
|
1768
1768
|
current_docs: long;
|
|
@@ -1781,13 +1781,13 @@ export interface MergesStats {
|
|
|
1781
1781
|
total_time?: Duration;
|
|
1782
1782
|
total_time_in_millis: DurationValue<UnitMillis>;
|
|
1783
1783
|
}
|
|
1784
|
-
export
|
|
1785
|
-
export
|
|
1786
|
-
export
|
|
1787
|
-
export
|
|
1788
|
-
export
|
|
1789
|
-
export
|
|
1790
|
-
export
|
|
1784
|
+
export type Metadata = Record<string, any>;
|
|
1785
|
+
export type Metrics = string | string[];
|
|
1786
|
+
export type MinimumShouldMatch = integer | string;
|
|
1787
|
+
export type MultiTermQueryRewrite = string;
|
|
1788
|
+
export type Name = string;
|
|
1789
|
+
export type Names = Name | Name[];
|
|
1790
|
+
export type Namespace = string;
|
|
1791
1791
|
export interface NestedSortValue {
|
|
1792
1792
|
filter?: QueryDslQueryContainer;
|
|
1793
1793
|
max_children?: integer;
|
|
@@ -1802,11 +1802,11 @@ export interface NodeAttributes {
|
|
|
1802
1802
|
transport_address: TransportAddress;
|
|
1803
1803
|
roles?: NodeRoles;
|
|
1804
1804
|
}
|
|
1805
|
-
export
|
|
1806
|
-
export
|
|
1807
|
-
export
|
|
1808
|
-
export
|
|
1809
|
-
export
|
|
1805
|
+
export type NodeId = string;
|
|
1806
|
+
export type NodeIds = NodeId | NodeId[];
|
|
1807
|
+
export type NodeName = string;
|
|
1808
|
+
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';
|
|
1809
|
+
export type NodeRoles = NodeRole[];
|
|
1810
1810
|
export interface NodeShard {
|
|
1811
1811
|
state: IndicesStatsShardRoutingState;
|
|
1812
1812
|
primary: boolean;
|
|
@@ -1824,11 +1824,11 @@ export interface NodeStatistics {
|
|
|
1824
1824
|
successful: integer;
|
|
1825
1825
|
failed: integer;
|
|
1826
1826
|
}
|
|
1827
|
-
export
|
|
1828
|
-
export
|
|
1829
|
-
export
|
|
1830
|
-
export
|
|
1831
|
-
export
|
|
1827
|
+
export type Normalization = 'no' | 'h1' | 'h2' | 'h3' | 'z';
|
|
1828
|
+
export type OpType = 'index' | 'create';
|
|
1829
|
+
export type Password = string;
|
|
1830
|
+
export type Percentage = string | float;
|
|
1831
|
+
export type PipelineName = string;
|
|
1832
1832
|
export interface PluginStats {
|
|
1833
1833
|
classname: string;
|
|
1834
1834
|
description: string;
|
|
@@ -1841,7 +1841,7 @@ export interface PluginStats {
|
|
|
1841
1841
|
licensed: boolean;
|
|
1842
1842
|
type: string;
|
|
1843
1843
|
}
|
|
1844
|
-
export
|
|
1844
|
+
export type PropertyName = string;
|
|
1845
1845
|
export interface QueryCacheStats {
|
|
1846
1846
|
cache_count: integer;
|
|
1847
1847
|
cache_size: integer;
|
|
@@ -1858,7 +1858,7 @@ export interface RecoveryStats {
|
|
|
1858
1858
|
throttle_time?: Duration;
|
|
1859
1859
|
throttle_time_in_millis: DurationValue<UnitMillis>;
|
|
1860
1860
|
}
|
|
1861
|
-
export
|
|
1861
|
+
export type Refresh = boolean | 'true' | 'false' | 'wait_for';
|
|
1862
1862
|
export interface RefreshStats {
|
|
1863
1863
|
external_total: long;
|
|
1864
1864
|
external_total_time_in_millis: DurationValue<UnitMillis>;
|
|
@@ -1867,7 +1867,7 @@ export interface RefreshStats {
|
|
|
1867
1867
|
total_time?: Duration;
|
|
1868
1868
|
total_time_in_millis: DurationValue<UnitMillis>;
|
|
1869
1869
|
}
|
|
1870
|
-
export
|
|
1870
|
+
export type RelationName = string;
|
|
1871
1871
|
export interface RequestBase extends SpecUtilsCommonQueryParameters {
|
|
1872
1872
|
}
|
|
1873
1873
|
export interface RequestCacheStats {
|
|
@@ -1877,16 +1877,16 @@ export interface RequestCacheStats {
|
|
|
1877
1877
|
memory_size_in_bytes: long;
|
|
1878
1878
|
miss_count: long;
|
|
1879
1879
|
}
|
|
1880
|
-
export
|
|
1880
|
+
export type Result = 'created' | 'updated' | 'deleted' | 'not_found' | 'noop';
|
|
1881
1881
|
export interface Retries {
|
|
1882
1882
|
bulk: long;
|
|
1883
1883
|
search: long;
|
|
1884
1884
|
}
|
|
1885
|
-
export
|
|
1885
|
+
export type Routing = string;
|
|
1886
1886
|
export interface ScoreSort {
|
|
1887
1887
|
order?: SortOrder;
|
|
1888
1888
|
}
|
|
1889
|
-
export
|
|
1889
|
+
export type Script = InlineScript | string | StoredScriptId;
|
|
1890
1890
|
export interface ScriptBase {
|
|
1891
1891
|
params?: Record<string, any>;
|
|
1892
1892
|
}
|
|
@@ -1894,7 +1894,7 @@ export interface ScriptField {
|
|
|
1894
1894
|
script: Script;
|
|
1895
1895
|
ignore_failure?: boolean;
|
|
1896
1896
|
}
|
|
1897
|
-
export
|
|
1897
|
+
export type ScriptLanguage = 'painless' | 'expression' | 'mustache' | 'java' | string;
|
|
1898
1898
|
export interface ScriptSort {
|
|
1899
1899
|
order?: SortOrder;
|
|
1900
1900
|
script: Script;
|
|
@@ -1902,15 +1902,15 @@ export interface ScriptSort {
|
|
|
1902
1902
|
mode?: SortMode;
|
|
1903
1903
|
nested?: NestedSortValue;
|
|
1904
1904
|
}
|
|
1905
|
-
export
|
|
1905
|
+
export type ScriptSortType = 'string' | 'number';
|
|
1906
1906
|
export interface ScriptTransform {
|
|
1907
1907
|
lang?: string;
|
|
1908
1908
|
params?: Record<string, any>;
|
|
1909
1909
|
source?: string;
|
|
1910
1910
|
id?: string;
|
|
1911
1911
|
}
|
|
1912
|
-
export
|
|
1913
|
-
export
|
|
1912
|
+
export type ScrollId = string;
|
|
1913
|
+
export type ScrollIds = ScrollId | ScrollId[];
|
|
1914
1914
|
export interface SearchStats {
|
|
1915
1915
|
fetch_current: long;
|
|
1916
1916
|
fetch_time?: Duration;
|
|
@@ -1935,7 +1935,7 @@ export interface SearchTransform {
|
|
|
1935
1935
|
request: WatcherSearchInputRequestDefinition;
|
|
1936
1936
|
timeout: Duration;
|
|
1937
1937
|
}
|
|
1938
|
-
export
|
|
1938
|
+
export type SearchType = 'query_then_fetch' | 'dfs_query_then_fetch';
|
|
1939
1939
|
export interface SegmentsStats {
|
|
1940
1940
|
count: integer;
|
|
1941
1941
|
doc_values_memory?: ByteSize;
|
|
@@ -1962,8 +1962,8 @@ export interface SegmentsStats {
|
|
|
1962
1962
|
version_map_memory?: ByteSize;
|
|
1963
1963
|
version_map_memory_in_bytes: integer;
|
|
1964
1964
|
}
|
|
1965
|
-
export
|
|
1966
|
-
export
|
|
1965
|
+
export type SequenceNumber = long;
|
|
1966
|
+
export type Service = string;
|
|
1967
1967
|
export interface ShardFailure {
|
|
1968
1968
|
index?: IndexName;
|
|
1969
1969
|
node?: string;
|
|
@@ -1986,22 +1986,22 @@ export interface SlicedScroll {
|
|
|
1986
1986
|
id: integer;
|
|
1987
1987
|
max: integer;
|
|
1988
1988
|
}
|
|
1989
|
-
export
|
|
1990
|
-
export
|
|
1991
|
-
export
|
|
1992
|
-
export
|
|
1993
|
-
export
|
|
1989
|
+
export type Slices = integer | SlicesCalculation;
|
|
1990
|
+
export type SlicesCalculation = 'auto';
|
|
1991
|
+
export type Sort = SortCombinations | SortCombinations[];
|
|
1992
|
+
export type SortCombinations = Field | SortOptions;
|
|
1993
|
+
export type SortMode = 'min' | 'max' | 'sum' | 'avg' | 'median';
|
|
1994
1994
|
export interface SortOptionsKeys {
|
|
1995
1995
|
_score?: ScoreSort;
|
|
1996
1996
|
_doc?: ScoreSort;
|
|
1997
1997
|
_geo_distance?: GeoDistanceSort;
|
|
1998
1998
|
_script?: ScriptSort;
|
|
1999
1999
|
}
|
|
2000
|
-
export
|
|
2000
|
+
export type SortOptions = SortOptionsKeys & {
|
|
2001
2001
|
[property: string]: FieldSort | SortOrder | ScoreSort | GeoDistanceSort | ScriptSort;
|
|
2002
2002
|
};
|
|
2003
|
-
export
|
|
2004
|
-
export
|
|
2003
|
+
export type SortOrder = 'asc' | 'desc';
|
|
2004
|
+
export type SortResults = (long | double | string | null)[];
|
|
2005
2005
|
export interface StoreStats {
|
|
2006
2006
|
size?: ByteSize;
|
|
2007
2007
|
size_in_bytes: integer;
|
|
@@ -2018,19 +2018,19 @@ export interface StoredScript {
|
|
|
2018
2018
|
export interface StoredScriptId extends ScriptBase {
|
|
2019
2019
|
id: Id;
|
|
2020
2020
|
}
|
|
2021
|
-
export
|
|
2022
|
-
export
|
|
2021
|
+
export type SuggestMode = 'missing' | 'popular' | 'always';
|
|
2022
|
+
export type SuggestionName = string;
|
|
2023
2023
|
export interface TaskFailure {
|
|
2024
2024
|
task_id: long;
|
|
2025
2025
|
node_id: NodeId;
|
|
2026
2026
|
status: string;
|
|
2027
2027
|
reason: ErrorCause;
|
|
2028
2028
|
}
|
|
2029
|
-
export
|
|
2030
|
-
export
|
|
2031
|
-
export
|
|
2032
|
-
export
|
|
2033
|
-
export
|
|
2029
|
+
export type TaskId = string | integer;
|
|
2030
|
+
export type ThreadType = 'cpu' | 'wait' | 'block' | 'gpu' | 'mem';
|
|
2031
|
+
export type TimeOfDay = string;
|
|
2032
|
+
export type TimeUnit = 'nanos' | 'micros' | 'ms' | 's' | 'm' | 'h' | 'd';
|
|
2033
|
+
export type TimeZone = string;
|
|
2034
2034
|
export interface TopLeftBottomRightGeoBounds {
|
|
2035
2035
|
top_left: GeoLocation;
|
|
2036
2036
|
bottom_right: GeoLocation;
|
|
@@ -2053,19 +2053,19 @@ export interface TranslogStats {
|
|
|
2053
2053
|
uncommitted_size?: string;
|
|
2054
2054
|
uncommitted_size_in_bytes: long;
|
|
2055
2055
|
}
|
|
2056
|
-
export
|
|
2057
|
-
export
|
|
2058
|
-
export
|
|
2059
|
-
export
|
|
2060
|
-
export
|
|
2061
|
-
export
|
|
2062
|
-
export
|
|
2063
|
-
export
|
|
2064
|
-
export
|
|
2065
|
-
export
|
|
2066
|
-
export
|
|
2067
|
-
export
|
|
2068
|
-
export
|
|
2056
|
+
export type TransportAddress = string;
|
|
2057
|
+
export type UnitFloatMillis = double;
|
|
2058
|
+
export type UnitMillis = long;
|
|
2059
|
+
export type UnitNanos = long;
|
|
2060
|
+
export type UnitSeconds = long;
|
|
2061
|
+
export type Username = string;
|
|
2062
|
+
export type Uuid = string;
|
|
2063
|
+
export type VersionNumber = long;
|
|
2064
|
+
export type VersionString = string;
|
|
2065
|
+
export type VersionType = 'internal' | 'external' | 'external_gte' | 'force';
|
|
2066
|
+
export type WaitForActiveShardOptions = 'all' | 'index-setting';
|
|
2067
|
+
export type WaitForActiveShards = integer | WaitForActiveShardOptions;
|
|
2068
|
+
export type WaitForEvents = 'immediate' | 'urgent' | 'high' | 'normal' | 'low' | 'languid';
|
|
2069
2069
|
export interface WarmerStats {
|
|
2070
2070
|
current: long;
|
|
2071
2071
|
total: long;
|
|
@@ -2085,14 +2085,14 @@ export interface WriteResponseBase {
|
|
|
2085
2085
|
_version: VersionNumber;
|
|
2086
2086
|
forced_refresh?: boolean;
|
|
2087
2087
|
}
|
|
2088
|
-
export
|
|
2089
|
-
export
|
|
2090
|
-
export
|
|
2091
|
-
export
|
|
2092
|
-
export
|
|
2093
|
-
export
|
|
2094
|
-
export
|
|
2095
|
-
export
|
|
2088
|
+
export type byte = number;
|
|
2089
|
+
export type double = number;
|
|
2090
|
+
export type float = number;
|
|
2091
|
+
export type integer = number;
|
|
2092
|
+
export type long = number;
|
|
2093
|
+
export type short = number;
|
|
2094
|
+
export type uint = number;
|
|
2095
|
+
export type ulong = number;
|
|
2096
2096
|
export interface AggregationsAdjacencyMatrixAggregate extends AggregationsMultiBucketAggregateBase<AggregationsAdjacencyMatrixBucket> {
|
|
2097
2097
|
}
|
|
2098
2098
|
export interface AggregationsAdjacencyMatrixAggregation extends AggregationsBucketAggregationBase {
|
|
@@ -2100,14 +2100,14 @@ export interface AggregationsAdjacencyMatrixAggregation extends AggregationsBuck
|
|
|
2100
2100
|
}
|
|
2101
2101
|
export interface AggregationsAdjacencyMatrixBucketKeys extends AggregationsMultiBucketBase {
|
|
2102
2102
|
}
|
|
2103
|
-
export
|
|
2103
|
+
export type AggregationsAdjacencyMatrixBucket = AggregationsAdjacencyMatrixBucketKeys & {
|
|
2104
2104
|
[property: string]: AggregationsAggregate | long;
|
|
2105
2105
|
};
|
|
2106
|
-
export
|
|
2106
|
+
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;
|
|
2107
2107
|
export interface AggregationsAggregateBase {
|
|
2108
2108
|
meta?: Metadata;
|
|
2109
2109
|
}
|
|
2110
|
-
export
|
|
2110
|
+
export type AggregationsAggregateOrder = Partial<Record<Field, SortOrder>> | Partial<Record<Field, SortOrder>>[];
|
|
2111
2111
|
export interface AggregationsAggregation {
|
|
2112
2112
|
meta?: Metadata;
|
|
2113
2113
|
name?: string;
|
|
@@ -2279,9 +2279,9 @@ export interface AggregationsBucketSortAggregation extends AggregationsAggregati
|
|
|
2279
2279
|
size?: integer;
|
|
2280
2280
|
sort?: Sort;
|
|
2281
2281
|
}
|
|
2282
|
-
export
|
|
2283
|
-
export
|
|
2284
|
-
export
|
|
2282
|
+
export type AggregationsBuckets<TBucket = unknown> = Record<string, TBucket> | TBucket[];
|
|
2283
|
+
export type AggregationsBucketsPath = string | string[] | Record<string, string>;
|
|
2284
|
+
export type AggregationsCalendarInterval = 'second' | '1s' | 'minute' | '1m' | 'hour' | '1h' | 'day' | '1d' | 'week' | '1w' | 'month' | '1M' | 'quarter' | '1q' | 'year' | '1Y';
|
|
2285
2285
|
export interface AggregationsCardinalityAggregate extends AggregationsAggregateBase {
|
|
2286
2286
|
value: long;
|
|
2287
2287
|
}
|
|
@@ -2290,7 +2290,7 @@ export interface AggregationsCardinalityAggregation extends AggregationsMetricAg
|
|
|
2290
2290
|
rehash?: boolean;
|
|
2291
2291
|
execution_hint?: AggregationsCardinalityExecutionMode;
|
|
2292
2292
|
}
|
|
2293
|
-
export
|
|
2293
|
+
export type AggregationsCardinalityExecutionMode = 'global_ordinals' | 'segment_ordinals' | 'direct' | 'save_memory_heuristic' | 'save_time_heuristic';
|
|
2294
2294
|
export interface AggregationsCategorizeTextAggregation extends AggregationsAggregation {
|
|
2295
2295
|
field: Field;
|
|
2296
2296
|
max_unique_tokens?: integer;
|
|
@@ -2303,14 +2303,14 @@ export interface AggregationsCategorizeTextAggregation extends AggregationsAggre
|
|
|
2303
2303
|
min_doc_count?: integer;
|
|
2304
2304
|
shard_min_doc_count?: integer;
|
|
2305
2305
|
}
|
|
2306
|
-
export
|
|
2306
|
+
export type AggregationsCategorizeTextAnalyzer = string | AggregationsCustomCategorizeTextAnalyzer;
|
|
2307
2307
|
export interface AggregationsChiSquareHeuristic {
|
|
2308
2308
|
background_is_superset: boolean;
|
|
2309
2309
|
include_negatives: boolean;
|
|
2310
2310
|
}
|
|
2311
2311
|
export interface AggregationsChildrenAggregateKeys extends AggregationsSingleBucketAggregateBase {
|
|
2312
2312
|
}
|
|
2313
|
-
export
|
|
2313
|
+
export type AggregationsChildrenAggregate = AggregationsChildrenAggregateKeys & {
|
|
2314
2314
|
[property: string]: AggregationsAggregate | long | Metadata;
|
|
2315
2315
|
};
|
|
2316
2316
|
export interface AggregationsChildrenAggregation extends AggregationsBucketAggregationBase {
|
|
@@ -2333,7 +2333,7 @@ export interface AggregationsCompositeAggregationSource {
|
|
|
2333
2333
|
export interface AggregationsCompositeBucketKeys extends AggregationsMultiBucketBase {
|
|
2334
2334
|
key: Record<string, any>;
|
|
2335
2335
|
}
|
|
2336
|
-
export
|
|
2336
|
+
export type AggregationsCompositeBucket = AggregationsCompositeBucketKeys & {
|
|
2337
2337
|
[property: string]: AggregationsAggregate | Record<string, any> | long;
|
|
2338
2338
|
};
|
|
2339
2339
|
export interface AggregationsCumulativeCardinalityAggregate extends AggregationsAggregateBase {
|
|
@@ -2372,7 +2372,7 @@ export interface AggregationsDateHistogramBucketKeys extends AggregationsMultiBu
|
|
|
2372
2372
|
key_as_string?: string;
|
|
2373
2373
|
key: EpochTime<UnitMillis>;
|
|
2374
2374
|
}
|
|
2375
|
-
export
|
|
2375
|
+
export type AggregationsDateHistogramBucket = AggregationsDateHistogramBucketKeys & {
|
|
2376
2376
|
[property: string]: AggregationsAggregate | string | EpochTime<UnitMillis> | long;
|
|
2377
2377
|
};
|
|
2378
2378
|
export interface AggregationsDateRangeAggregate extends AggregationsRangeAggregate {
|
|
@@ -2409,7 +2409,7 @@ export interface AggregationsDoubleTermsBucketKeys extends AggregationsTermsBuck
|
|
|
2409
2409
|
key: double;
|
|
2410
2410
|
key_as_string?: string;
|
|
2411
2411
|
}
|
|
2412
|
-
export
|
|
2412
|
+
export type AggregationsDoubleTermsBucket = AggregationsDoubleTermsBucketKeys & {
|
|
2413
2413
|
[property: string]: AggregationsAggregate | double | string | long;
|
|
2414
2414
|
};
|
|
2415
2415
|
export interface AggregationsEwmaModelSettings {
|
|
@@ -2445,10 +2445,10 @@ export interface AggregationsExtendedStatsBucketAggregate extends AggregationsEx
|
|
|
2445
2445
|
export interface AggregationsExtendedStatsBucketAggregation extends AggregationsPipelineAggregationBase {
|
|
2446
2446
|
sigma?: double;
|
|
2447
2447
|
}
|
|
2448
|
-
export
|
|
2448
|
+
export type AggregationsFieldDateMath = DateMath | double;
|
|
2449
2449
|
export interface AggregationsFilterAggregateKeys extends AggregationsSingleBucketAggregateBase {
|
|
2450
2450
|
}
|
|
2451
|
-
export
|
|
2451
|
+
export type AggregationsFilterAggregate = AggregationsFilterAggregateKeys & {
|
|
2452
2452
|
[property: string]: AggregationsAggregate | long | Metadata;
|
|
2453
2453
|
};
|
|
2454
2454
|
export interface AggregationsFiltersAggregate extends AggregationsMultiBucketAggregateBase<AggregationsFiltersBucket> {
|
|
@@ -2461,7 +2461,7 @@ export interface AggregationsFiltersAggregation extends AggregationsBucketAggreg
|
|
|
2461
2461
|
}
|
|
2462
2462
|
export interface AggregationsFiltersBucketKeys extends AggregationsMultiBucketBase {
|
|
2463
2463
|
}
|
|
2464
|
-
export
|
|
2464
|
+
export type AggregationsFiltersBucket = AggregationsFiltersBucketKeys & {
|
|
2465
2465
|
[property: string]: AggregationsAggregate | long;
|
|
2466
2466
|
};
|
|
2467
2467
|
export interface AggregationsFormatMetricAggregationBase extends AggregationsMetricAggregationBase {
|
|
@@ -2470,7 +2470,7 @@ export interface AggregationsFormatMetricAggregationBase extends AggregationsMet
|
|
|
2470
2470
|
export interface AggregationsFormattableMetricAggregation extends AggregationsMetricAggregationBase {
|
|
2471
2471
|
format?: string;
|
|
2472
2472
|
}
|
|
2473
|
-
export
|
|
2473
|
+
export type AggregationsGapPolicy = 'skip' | 'insert_zeros';
|
|
2474
2474
|
export interface AggregationsGeoBoundsAggregate extends AggregationsAggregateBase {
|
|
2475
2475
|
bounds?: GeoBounds;
|
|
2476
2476
|
}
|
|
@@ -2506,7 +2506,7 @@ export interface AggregationsGeoHashGridAggregation extends AggregationsBucketAg
|
|
|
2506
2506
|
export interface AggregationsGeoHashGridBucketKeys extends AggregationsMultiBucketBase {
|
|
2507
2507
|
key: GeoHash;
|
|
2508
2508
|
}
|
|
2509
|
-
export
|
|
2509
|
+
export type AggregationsGeoHashGridBucket = AggregationsGeoHashGridBucketKeys & {
|
|
2510
2510
|
[property: string]: AggregationsAggregate | GeoHash | long;
|
|
2511
2511
|
};
|
|
2512
2512
|
export interface AggregationsGeoLineAggregate extends AggregationsAggregateBase {
|
|
@@ -2538,7 +2538,7 @@ export interface AggregationsGeoTileGridAggregation extends AggregationsBucketAg
|
|
|
2538
2538
|
export interface AggregationsGeoTileGridBucketKeys extends AggregationsMultiBucketBase {
|
|
2539
2539
|
key: GeoTile;
|
|
2540
2540
|
}
|
|
2541
|
-
export
|
|
2541
|
+
export type AggregationsGeoTileGridBucket = AggregationsGeoTileGridBucketKeys & {
|
|
2542
2542
|
[property: string]: AggregationsAggregate | GeoTile | long;
|
|
2543
2543
|
};
|
|
2544
2544
|
export interface AggregationsGeohexGridAggregation extends AggregationsBucketAggregationBase {
|
|
@@ -2550,7 +2550,7 @@ export interface AggregationsGeohexGridAggregation extends AggregationsBucketAgg
|
|
|
2550
2550
|
}
|
|
2551
2551
|
export interface AggregationsGlobalAggregateKeys extends AggregationsSingleBucketAggregateBase {
|
|
2552
2552
|
}
|
|
2553
|
-
export
|
|
2553
|
+
export type AggregationsGlobalAggregate = AggregationsGlobalAggregateKeys & {
|
|
2554
2554
|
[property: string]: AggregationsAggregate | long | Metadata;
|
|
2555
2555
|
};
|
|
2556
2556
|
export interface AggregationsGlobalAggregation extends AggregationsBucketAggregationBase {
|
|
@@ -2584,7 +2584,7 @@ export interface AggregationsHistogramBucketKeys extends AggregationsMultiBucket
|
|
|
2584
2584
|
key_as_string?: string;
|
|
2585
2585
|
key: double;
|
|
2586
2586
|
}
|
|
2587
|
-
export
|
|
2587
|
+
export type AggregationsHistogramBucket = AggregationsHistogramBucketKeys & {
|
|
2588
2588
|
[property: string]: AggregationsAggregate | string | double | long;
|
|
2589
2589
|
};
|
|
2590
2590
|
export interface AggregationsHoltLinearModelSettings {
|
|
@@ -2607,14 +2607,14 @@ export interface AggregationsHoltWintersMovingAverageAggregation extends Aggrega
|
|
|
2607
2607
|
model: 'holt_winters';
|
|
2608
2608
|
settings: AggregationsHoltWintersModelSettings;
|
|
2609
2609
|
}
|
|
2610
|
-
export
|
|
2610
|
+
export type AggregationsHoltWintersType = 'add' | 'mult';
|
|
2611
2611
|
export interface AggregationsInferenceAggregateKeys extends AggregationsAggregateBase {
|
|
2612
2612
|
value?: FieldValue;
|
|
2613
2613
|
feature_importance?: AggregationsInferenceFeatureImportance[];
|
|
2614
2614
|
top_classes?: AggregationsInferenceTopClassEntry[];
|
|
2615
2615
|
warning?: string;
|
|
2616
2616
|
}
|
|
2617
|
-
export
|
|
2617
|
+
export type AggregationsInferenceAggregate = AggregationsInferenceAggregateKeys & {
|
|
2618
2618
|
[property: string]: any;
|
|
2619
2619
|
};
|
|
2620
2620
|
export interface AggregationsInferenceAggregation extends AggregationsPipelineAggregationBase {
|
|
@@ -2654,10 +2654,10 @@ export interface AggregationsIpRangeBucketKeys extends AggregationsMultiBucketBa
|
|
|
2654
2654
|
from?: string;
|
|
2655
2655
|
to?: string;
|
|
2656
2656
|
}
|
|
2657
|
-
export
|
|
2657
|
+
export type AggregationsIpRangeBucket = AggregationsIpRangeBucketKeys & {
|
|
2658
2658
|
[property: string]: AggregationsAggregate | string | long;
|
|
2659
2659
|
};
|
|
2660
|
-
export
|
|
2660
|
+
export type AggregationsKeyedPercentiles = Record<string, string | long | null>;
|
|
2661
2661
|
export interface AggregationsLinearMovingAverageAggregation extends AggregationsMovingAverageAggregationBase {
|
|
2662
2662
|
model: 'linear';
|
|
2663
2663
|
settings: EmptyObject;
|
|
@@ -2668,7 +2668,7 @@ export interface AggregationsLongRareTermsBucketKeys extends AggregationsMultiBu
|
|
|
2668
2668
|
key: long;
|
|
2669
2669
|
key_as_string?: string;
|
|
2670
2670
|
}
|
|
2671
|
-
export
|
|
2671
|
+
export type AggregationsLongRareTermsBucket = AggregationsLongRareTermsBucketKeys & {
|
|
2672
2672
|
[property: string]: AggregationsAggregate | long | string;
|
|
2673
2673
|
};
|
|
2674
2674
|
export interface AggregationsLongTermsAggregate extends AggregationsTermsAggregateBase<AggregationsLongTermsBucket> {
|
|
@@ -2677,7 +2677,7 @@ export interface AggregationsLongTermsBucketKeys extends AggregationsTermsBucket
|
|
|
2677
2677
|
key: long;
|
|
2678
2678
|
key_as_string?: string;
|
|
2679
2679
|
}
|
|
2680
|
-
export
|
|
2680
|
+
export type AggregationsLongTermsBucket = AggregationsLongTermsBucketKeys & {
|
|
2681
2681
|
[property: string]: AggregationsAggregate | long | string;
|
|
2682
2682
|
};
|
|
2683
2683
|
export interface AggregationsMatrixAggregation extends AggregationsAggregation {
|
|
@@ -2723,19 +2723,19 @@ export interface AggregationsMinAggregation extends AggregationsFormatMetricAggr
|
|
|
2723
2723
|
}
|
|
2724
2724
|
export interface AggregationsMinBucketAggregation extends AggregationsPipelineAggregationBase {
|
|
2725
2725
|
}
|
|
2726
|
-
export
|
|
2727
|
-
export
|
|
2726
|
+
export type AggregationsMinimumInterval = 'second' | 'minute' | 'hour' | 'day' | 'month' | 'year';
|
|
2727
|
+
export type AggregationsMissing = string | integer | double | boolean;
|
|
2728
2728
|
export interface AggregationsMissingAggregateKeys extends AggregationsSingleBucketAggregateBase {
|
|
2729
2729
|
}
|
|
2730
|
-
export
|
|
2730
|
+
export type AggregationsMissingAggregate = AggregationsMissingAggregateKeys & {
|
|
2731
2731
|
[property: string]: AggregationsAggregate | long | Metadata;
|
|
2732
2732
|
};
|
|
2733
2733
|
export interface AggregationsMissingAggregation extends AggregationsBucketAggregationBase {
|
|
2734
2734
|
field?: Field;
|
|
2735
2735
|
missing?: AggregationsMissing;
|
|
2736
2736
|
}
|
|
2737
|
-
export
|
|
2738
|
-
export
|
|
2737
|
+
export type AggregationsMissingOrder = 'first' | 'last' | 'default';
|
|
2738
|
+
export type AggregationsMovingAverageAggregation = AggregationsLinearMovingAverageAggregation | AggregationsSimpleMovingAverageAggregation | AggregationsEwmaMovingAverageAggregation | AggregationsHoltMovingAverageAggregation | AggregationsHoltWintersMovingAverageAggregation;
|
|
2739
2739
|
export interface AggregationsMovingAverageAggregationBase extends AggregationsPipelineAggregationBase {
|
|
2740
2740
|
minimize?: boolean;
|
|
2741
2741
|
predict?: integer;
|
|
@@ -2777,7 +2777,7 @@ export interface AggregationsMultiTermsBucketKeys extends AggregationsMultiBucke
|
|
|
2777
2777
|
key_as_string?: string;
|
|
2778
2778
|
doc_count_error_upper_bound?: long;
|
|
2779
2779
|
}
|
|
2780
|
-
export
|
|
2780
|
+
export type AggregationsMultiTermsBucket = AggregationsMultiTermsBucketKeys & {
|
|
2781
2781
|
[property: string]: AggregationsAggregate | (long | double | string)[] | string | long;
|
|
2782
2782
|
};
|
|
2783
2783
|
export interface AggregationsMutualInformationHeuristic {
|
|
@@ -2786,7 +2786,7 @@ export interface AggregationsMutualInformationHeuristic {
|
|
|
2786
2786
|
}
|
|
2787
2787
|
export interface AggregationsNestedAggregateKeys extends AggregationsSingleBucketAggregateBase {
|
|
2788
2788
|
}
|
|
2789
|
-
export
|
|
2789
|
+
export type AggregationsNestedAggregate = AggregationsNestedAggregateKeys & {
|
|
2790
2790
|
[property: string]: AggregationsAggregate | long | Metadata;
|
|
2791
2791
|
};
|
|
2792
2792
|
export interface AggregationsNestedAggregation extends AggregationsBucketAggregationBase {
|
|
@@ -2795,10 +2795,10 @@ export interface AggregationsNestedAggregation extends AggregationsBucketAggrega
|
|
|
2795
2795
|
export interface AggregationsNormalizeAggregation extends AggregationsPipelineAggregationBase {
|
|
2796
2796
|
method?: AggregationsNormalizeMethod;
|
|
2797
2797
|
}
|
|
2798
|
-
export
|
|
2798
|
+
export type AggregationsNormalizeMethod = 'rescale_0_1' | 'rescale_0_100' | 'percent_of_sum' | 'mean' | 'z-score' | 'softmax';
|
|
2799
2799
|
export interface AggregationsParentAggregateKeys extends AggregationsSingleBucketAggregateBase {
|
|
2800
2800
|
}
|
|
2801
|
-
export
|
|
2801
|
+
export type AggregationsParentAggregate = AggregationsParentAggregateKeys & {
|
|
2802
2802
|
[property: string]: AggregationsAggregate | long | Metadata;
|
|
2803
2803
|
};
|
|
2804
2804
|
export interface AggregationsParentAggregation extends AggregationsBucketAggregationBase {
|
|
@@ -2812,7 +2812,7 @@ export interface AggregationsPercentileRanksAggregation extends AggregationsForm
|
|
|
2812
2812
|
hdr?: AggregationsHdrMethod;
|
|
2813
2813
|
tdigest?: AggregationsTDigest;
|
|
2814
2814
|
}
|
|
2815
|
-
export
|
|
2815
|
+
export type AggregationsPercentiles = AggregationsKeyedPercentiles | AggregationsArrayPercentilesItem[];
|
|
2816
2816
|
export interface AggregationsPercentilesAggregateBase extends AggregationsAggregateBase {
|
|
2817
2817
|
values: AggregationsPercentiles;
|
|
2818
2818
|
}
|
|
@@ -2848,7 +2848,7 @@ export interface AggregationsRangeBucketKeys extends AggregationsMultiBucketBase
|
|
|
2848
2848
|
to_as_string?: string;
|
|
2849
2849
|
key?: string;
|
|
2850
2850
|
}
|
|
2851
|
-
export
|
|
2851
|
+
export type AggregationsRangeBucket = AggregationsRangeBucketKeys & {
|
|
2852
2852
|
[property: string]: AggregationsAggregate | double | string | long;
|
|
2853
2853
|
};
|
|
2854
2854
|
export interface AggregationsRareTermsAggregation extends AggregationsBucketAggregationBase {
|
|
@@ -2868,10 +2868,10 @@ export interface AggregationsRateAggregation extends AggregationsFormatMetricAgg
|
|
|
2868
2868
|
unit?: AggregationsCalendarInterval;
|
|
2869
2869
|
mode?: AggregationsRateMode;
|
|
2870
2870
|
}
|
|
2871
|
-
export
|
|
2871
|
+
export type AggregationsRateMode = 'sum' | 'value_count';
|
|
2872
2872
|
export interface AggregationsReverseNestedAggregateKeys extends AggregationsSingleBucketAggregateBase {
|
|
2873
2873
|
}
|
|
2874
|
-
export
|
|
2874
|
+
export type AggregationsReverseNestedAggregate = AggregationsReverseNestedAggregateKeys & {
|
|
2875
2875
|
[property: string]: AggregationsAggregate | long | Metadata;
|
|
2876
2876
|
};
|
|
2877
2877
|
export interface AggregationsReverseNestedAggregation extends AggregationsBucketAggregationBase {
|
|
@@ -2879,13 +2879,13 @@ export interface AggregationsReverseNestedAggregation extends AggregationsBucket
|
|
|
2879
2879
|
}
|
|
2880
2880
|
export interface AggregationsSamplerAggregateKeys extends AggregationsSingleBucketAggregateBase {
|
|
2881
2881
|
}
|
|
2882
|
-
export
|
|
2882
|
+
export type AggregationsSamplerAggregate = AggregationsSamplerAggregateKeys & {
|
|
2883
2883
|
[property: string]: AggregationsAggregate | long | Metadata;
|
|
2884
2884
|
};
|
|
2885
2885
|
export interface AggregationsSamplerAggregation extends AggregationsBucketAggregationBase {
|
|
2886
2886
|
shard_size?: integer;
|
|
2887
2887
|
}
|
|
2888
|
-
export
|
|
2888
|
+
export type AggregationsSamplerAggregationExecutionHint = 'map' | 'global_ordinals' | 'bytes_hash';
|
|
2889
2889
|
export interface AggregationsScriptedHeuristic {
|
|
2890
2890
|
script: Script;
|
|
2891
2891
|
}
|
|
@@ -2908,7 +2908,7 @@ export interface AggregationsSignificantLongTermsBucketKeys extends Aggregations
|
|
|
2908
2908
|
key: long;
|
|
2909
2909
|
key_as_string?: string;
|
|
2910
2910
|
}
|
|
2911
|
-
export
|
|
2911
|
+
export type AggregationsSignificantLongTermsBucket = AggregationsSignificantLongTermsBucketKeys & {
|
|
2912
2912
|
[property: string]: AggregationsAggregate | long | string | double;
|
|
2913
2913
|
};
|
|
2914
2914
|
export interface AggregationsSignificantStringTermsAggregate extends AggregationsMultiBucketAggregateBase<AggregationsSignificantStringTermsBucket> {
|
|
@@ -2916,7 +2916,7 @@ export interface AggregationsSignificantStringTermsAggregate extends Aggregation
|
|
|
2916
2916
|
export interface AggregationsSignificantStringTermsBucketKeys extends AggregationsSignificantTermsBucketBase {
|
|
2917
2917
|
key: string;
|
|
2918
2918
|
}
|
|
2919
|
-
export
|
|
2919
|
+
export type AggregationsSignificantStringTermsBucket = AggregationsSignificantStringTermsBucketKeys & {
|
|
2920
2920
|
[property: string]: AggregationsAggregate | string | double | long;
|
|
2921
2921
|
};
|
|
2922
2922
|
export interface AggregationsSignificantTermsAggregation extends AggregationsBucketAggregationBase {
|
|
@@ -3010,7 +3010,7 @@ export interface AggregationsStringRareTermsAggregate extends AggregationsMultiB
|
|
|
3010
3010
|
export interface AggregationsStringRareTermsBucketKeys extends AggregationsMultiBucketBase {
|
|
3011
3011
|
key: string;
|
|
3012
3012
|
}
|
|
3013
|
-
export
|
|
3013
|
+
export type AggregationsStringRareTermsBucket = AggregationsStringRareTermsBucketKeys & {
|
|
3014
3014
|
[property: string]: AggregationsAggregate | string | long;
|
|
3015
3015
|
};
|
|
3016
3016
|
export interface AggregationsStringStatsAggregate extends AggregationsAggregateBase {
|
|
@@ -3032,7 +3032,7 @@ export interface AggregationsStringTermsAggregate extends AggregationsTermsAggre
|
|
|
3032
3032
|
export interface AggregationsStringTermsBucketKeys extends AggregationsTermsBucketBase {
|
|
3033
3033
|
key: string;
|
|
3034
3034
|
}
|
|
3035
|
-
export
|
|
3035
|
+
export type AggregationsStringTermsBucket = AggregationsStringTermsBucketKeys & {
|
|
3036
3036
|
[property: string]: AggregationsAggregate | string | long;
|
|
3037
3037
|
};
|
|
3038
3038
|
export interface AggregationsSumAggregate extends AggregationsSingleMetricAggregateBase {
|
|
@@ -3057,7 +3057,7 @@ export interface AggregationsTTestAggregation extends AggregationsAggregation {
|
|
|
3057
3057
|
b?: AggregationsTestPopulation;
|
|
3058
3058
|
type?: AggregationsTTestType;
|
|
3059
3059
|
}
|
|
3060
|
-
export
|
|
3060
|
+
export type AggregationsTTestType = 'paired' | 'homoscedastic' | 'heteroscedastic';
|
|
3061
3061
|
export interface AggregationsTermsAggregateBase<TBucket = unknown> extends AggregationsMultiBucketAggregateBase<TBucket> {
|
|
3062
3062
|
doc_count_error_upper_bound?: long;
|
|
3063
3063
|
sum_other_doc_count: long;
|
|
@@ -3080,13 +3080,13 @@ export interface AggregationsTermsAggregation extends AggregationsBucketAggregat
|
|
|
3080
3080
|
size?: integer;
|
|
3081
3081
|
format?: string;
|
|
3082
3082
|
}
|
|
3083
|
-
export
|
|
3084
|
-
export
|
|
3083
|
+
export type AggregationsTermsAggregationCollectMode = 'depth_first' | 'breadth_first';
|
|
3084
|
+
export type AggregationsTermsAggregationExecutionHint = 'map' | 'global_ordinals' | 'global_ordinals_hash' | 'global_ordinals_low_cardinality';
|
|
3085
3085
|
export interface AggregationsTermsBucketBase extends AggregationsMultiBucketBase {
|
|
3086
3086
|
doc_count_error?: long;
|
|
3087
3087
|
}
|
|
3088
|
-
export
|
|
3089
|
-
export
|
|
3088
|
+
export type AggregationsTermsExclude = string | string[];
|
|
3089
|
+
export type AggregationsTermsInclude = string | string[] | AggregationsTermsPartition;
|
|
3090
3090
|
export interface AggregationsTermsPartition {
|
|
3091
3091
|
num_partitions: long;
|
|
3092
3092
|
partition: long;
|
|
@@ -3132,7 +3132,7 @@ export interface AggregationsUnmappedRareTermsAggregate extends AggregationsMult
|
|
|
3132
3132
|
}
|
|
3133
3133
|
export interface AggregationsUnmappedSamplerAggregateKeys extends AggregationsSingleBucketAggregateBase {
|
|
3134
3134
|
}
|
|
3135
|
-
export
|
|
3135
|
+
export type AggregationsUnmappedSamplerAggregate = AggregationsUnmappedSamplerAggregateKeys & {
|
|
3136
3136
|
[property: string]: AggregationsAggregate | long | Metadata;
|
|
3137
3137
|
};
|
|
3138
3138
|
export interface AggregationsUnmappedSignificantTermsAggregate extends AggregationsMultiBucketAggregateBase<void> {
|
|
@@ -3143,7 +3143,7 @@ export interface AggregationsValueCountAggregate extends AggregationsSingleMetri
|
|
|
3143
3143
|
}
|
|
3144
3144
|
export interface AggregationsValueCountAggregation extends AggregationsFormattableMetricAggregation {
|
|
3145
3145
|
}
|
|
3146
|
-
export
|
|
3146
|
+
export type AggregationsValueType = 'string' | 'long' | 'double' | 'number' | 'date' | 'date_nanos' | 'ip' | 'numeric' | 'geo_point' | 'boolean';
|
|
3147
3147
|
export interface AggregationsVariableWidthHistogramAggregate extends AggregationsMultiBucketAggregateBase<AggregationsVariableWidthHistogramBucket> {
|
|
3148
3148
|
}
|
|
3149
3149
|
export interface AggregationsVariableWidthHistogramAggregation {
|
|
@@ -3160,7 +3160,7 @@ export interface AggregationsVariableWidthHistogramBucketKeys extends Aggregatio
|
|
|
3160
3160
|
key_as_string?: string;
|
|
3161
3161
|
max_as_string?: string;
|
|
3162
3162
|
}
|
|
3163
|
-
export
|
|
3163
|
+
export type AggregationsVariableWidthHistogramBucket = AggregationsVariableWidthHistogramBucketKeys & {
|
|
3164
3164
|
[property: string]: AggregationsAggregate | double | string | long;
|
|
3165
3165
|
};
|
|
3166
3166
|
export interface AggregationsWeightedAverageAggregation extends AggregationsAggregation {
|
|
@@ -3176,16 +3176,16 @@ export interface AggregationsWeightedAverageValue {
|
|
|
3176
3176
|
}
|
|
3177
3177
|
export interface AggregationsWeightedAvgAggregate extends AggregationsSingleMetricAggregateBase {
|
|
3178
3178
|
}
|
|
3179
|
-
export
|
|
3179
|
+
export type AnalysisAnalyzer = AnalysisCustomAnalyzer | AnalysisFingerprintAnalyzer | AnalysisKeywordAnalyzer | AnalysisLanguageAnalyzer | AnalysisNoriAnalyzer | AnalysisPatternAnalyzer | AnalysisSimpleAnalyzer | AnalysisStandardAnalyzer | AnalysisStopAnalyzer | AnalysisWhitespaceAnalyzer | AnalysisIcuAnalyzer | AnalysisKuromojiAnalyzer | AnalysisSnowballAnalyzer | AnalysisDutchAnalyzer;
|
|
3180
3180
|
export interface AnalysisAsciiFoldingTokenFilter extends AnalysisTokenFilterBase {
|
|
3181
3181
|
type: 'asciifolding';
|
|
3182
3182
|
preserve_original?: boolean;
|
|
3183
3183
|
}
|
|
3184
|
-
export
|
|
3184
|
+
export type AnalysisCharFilter = string | AnalysisCharFilterDefinition;
|
|
3185
3185
|
export interface AnalysisCharFilterBase {
|
|
3186
3186
|
version?: VersionString;
|
|
3187
3187
|
}
|
|
3188
|
-
export
|
|
3188
|
+
export type AnalysisCharFilterDefinition = AnalysisHtmlStripCharFilter | AnalysisMappingCharFilter | AnalysisPatternReplaceCharFilter | AnalysisIcuNormalizationCharFilter | AnalysisKuromojiIterationMarkCharFilter;
|
|
3189
3189
|
export interface AnalysisCharGroupTokenizer extends AnalysisTokenizerBase {
|
|
3190
3190
|
type: 'char_group';
|
|
3191
3191
|
tokenize_on_chars: string[];
|
|
@@ -3225,7 +3225,7 @@ export interface AnalysisCustomNormalizer {
|
|
|
3225
3225
|
char_filter?: string[];
|
|
3226
3226
|
filter?: string[];
|
|
3227
3227
|
}
|
|
3228
|
-
export
|
|
3228
|
+
export type AnalysisDelimitedPayloadEncoding = 'int' | 'float' | 'identity';
|
|
3229
3229
|
export interface AnalysisDelimitedPayloadTokenFilter extends AnalysisTokenFilterBase {
|
|
3230
3230
|
type: 'delimited_payload';
|
|
3231
3231
|
delimiter?: string;
|
|
@@ -3238,7 +3238,7 @@ export interface AnalysisDutchAnalyzer {
|
|
|
3238
3238
|
type: 'dutch';
|
|
3239
3239
|
stopwords?: AnalysisStopWords;
|
|
3240
3240
|
}
|
|
3241
|
-
export
|
|
3241
|
+
export type AnalysisEdgeNGramSide = 'front' | 'back';
|
|
3242
3242
|
export interface AnalysisEdgeNGramTokenFilter extends AnalysisTokenFilterBase {
|
|
3243
3243
|
type: 'edge_ngram';
|
|
3244
3244
|
max_gram?: integer;
|
|
@@ -3291,10 +3291,10 @@ export interface AnalysisIcuAnalyzer {
|
|
|
3291
3291
|
method: AnalysisIcuNormalizationType;
|
|
3292
3292
|
mode: AnalysisIcuNormalizationMode;
|
|
3293
3293
|
}
|
|
3294
|
-
export
|
|
3295
|
-
export
|
|
3296
|
-
export
|
|
3297
|
-
export
|
|
3294
|
+
export type AnalysisIcuCollationAlternate = 'shifted' | 'non-ignorable';
|
|
3295
|
+
export type AnalysisIcuCollationCaseFirst = 'lower' | 'upper';
|
|
3296
|
+
export type AnalysisIcuCollationDecomposition = 'no' | 'identical';
|
|
3297
|
+
export type AnalysisIcuCollationStrength = 'primary' | 'secondary' | 'tertiary' | 'quaternary' | 'identical';
|
|
3298
3298
|
export interface AnalysisIcuCollationTokenFilter extends AnalysisTokenFilterBase {
|
|
3299
3299
|
type: 'icu_collation';
|
|
3300
3300
|
alternate?: AnalysisIcuCollationAlternate;
|
|
@@ -3319,17 +3319,17 @@ export interface AnalysisIcuNormalizationCharFilter extends AnalysisCharFilterBa
|
|
|
3319
3319
|
mode?: AnalysisIcuNormalizationMode;
|
|
3320
3320
|
name?: AnalysisIcuNormalizationType;
|
|
3321
3321
|
}
|
|
3322
|
-
export
|
|
3322
|
+
export type AnalysisIcuNormalizationMode = 'decompose' | 'compose';
|
|
3323
3323
|
export interface AnalysisIcuNormalizationTokenFilter extends AnalysisTokenFilterBase {
|
|
3324
3324
|
type: 'icu_normalizer';
|
|
3325
3325
|
name: AnalysisIcuNormalizationType;
|
|
3326
3326
|
}
|
|
3327
|
-
export
|
|
3327
|
+
export type AnalysisIcuNormalizationType = 'nfc' | 'nfkc' | 'nfkc_cf';
|
|
3328
3328
|
export interface AnalysisIcuTokenizer extends AnalysisTokenizerBase {
|
|
3329
3329
|
type: 'icu_tokenizer';
|
|
3330
3330
|
rule_files: string;
|
|
3331
3331
|
}
|
|
3332
|
-
export
|
|
3332
|
+
export type AnalysisIcuTransformDirection = 'forward' | 'reverse';
|
|
3333
3333
|
export interface AnalysisIcuTransformTokenFilter extends AnalysisTokenFilterBase {
|
|
3334
3334
|
type: 'icu_transform';
|
|
3335
3335
|
dir?: AnalysisIcuTransformDirection;
|
|
@@ -3338,7 +3338,7 @@ export interface AnalysisIcuTransformTokenFilter extends AnalysisTokenFilterBase
|
|
|
3338
3338
|
export interface AnalysisKStemTokenFilter extends AnalysisTokenFilterBase {
|
|
3339
3339
|
type: 'kstem';
|
|
3340
3340
|
}
|
|
3341
|
-
export
|
|
3341
|
+
export type AnalysisKeepTypesMode = 'include' | 'exclude';
|
|
3342
3342
|
export interface AnalysisKeepTypesTokenFilter extends AnalysisTokenFilterBase {
|
|
3343
3343
|
type: 'keep_types';
|
|
3344
3344
|
mode?: AnalysisKeepTypesMode;
|
|
@@ -3387,7 +3387,7 @@ export interface AnalysisKuromojiStemmerTokenFilter extends AnalysisTokenFilterB
|
|
|
3387
3387
|
type: 'kuromoji_stemmer';
|
|
3388
3388
|
minimum_length: integer;
|
|
3389
3389
|
}
|
|
3390
|
-
export
|
|
3390
|
+
export type AnalysisKuromojiTokenizationMode = 'normal' | 'search' | 'extended';
|
|
3391
3391
|
export interface AnalysisKuromojiTokenizer extends AnalysisTokenizerBase {
|
|
3392
3392
|
type: 'kuromoji_tokenizer';
|
|
3393
3393
|
discard_punctuation?: boolean;
|
|
@@ -3398,7 +3398,7 @@ export interface AnalysisKuromojiTokenizer extends AnalysisTokenizerBase {
|
|
|
3398
3398
|
user_dictionary_rules?: string[];
|
|
3399
3399
|
discard_compound_token?: boolean;
|
|
3400
3400
|
}
|
|
3401
|
-
export
|
|
3401
|
+
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';
|
|
3402
3402
|
export interface AnalysisLanguageAnalyzer {
|
|
3403
3403
|
type: 'language';
|
|
3404
3404
|
version?: VersionString;
|
|
@@ -3460,7 +3460,7 @@ export interface AnalysisNoriAnalyzer {
|
|
|
3460
3460
|
stoptags?: string[];
|
|
3461
3461
|
user_dictionary?: string;
|
|
3462
3462
|
}
|
|
3463
|
-
export
|
|
3463
|
+
export type AnalysisNoriDecompoundMode = 'discard' | 'none' | 'mixed';
|
|
3464
3464
|
export interface AnalysisNoriPartOfSpeechTokenFilter extends AnalysisTokenFilterBase {
|
|
3465
3465
|
type: 'nori_part_of_speech';
|
|
3466
3466
|
stoptags?: string[];
|
|
@@ -3472,7 +3472,7 @@ export interface AnalysisNoriTokenizer extends AnalysisTokenizerBase {
|
|
|
3472
3472
|
user_dictionary?: string;
|
|
3473
3473
|
user_dictionary_rules?: string[];
|
|
3474
3474
|
}
|
|
3475
|
-
export
|
|
3475
|
+
export type AnalysisNormalizer = AnalysisLowercaseNormalizer | AnalysisCustomNormalizer;
|
|
3476
3476
|
export interface AnalysisPathHierarchyTokenizer extends AnalysisTokenizerBase {
|
|
3477
3477
|
type: 'path_hierarchy';
|
|
3478
3478
|
buffer_size: integer;
|
|
@@ -3513,10 +3513,10 @@ export interface AnalysisPatternTokenizer extends AnalysisTokenizerBase {
|
|
|
3513
3513
|
group: integer;
|
|
3514
3514
|
pattern: string;
|
|
3515
3515
|
}
|
|
3516
|
-
export
|
|
3517
|
-
export
|
|
3518
|
-
export
|
|
3519
|
-
export
|
|
3516
|
+
export type AnalysisPhoneticEncoder = 'metaphone' | 'double_metaphone' | 'soundex' | 'refined_soundex' | 'caverphone1' | 'caverphone2' | 'cologne' | 'nysiis' | 'koelnerphonetik' | 'haasephonetik' | 'beider_morse' | 'daitch_mokotoff';
|
|
3517
|
+
export type AnalysisPhoneticLanguage = 'any' | 'common' | 'cyrillic' | 'english' | 'french' | 'german' | 'hebrew' | 'hungarian' | 'polish' | 'romanian' | 'russian' | 'spanish';
|
|
3518
|
+
export type AnalysisPhoneticNameType = 'generic' | 'ashkenazi' | 'sephardic';
|
|
3519
|
+
export type AnalysisPhoneticRuleType = 'approx' | 'exact';
|
|
3520
3520
|
export interface AnalysisPhoneticTokenFilter extends AnalysisTokenFilterBase {
|
|
3521
3521
|
type: 'phonetic';
|
|
3522
3522
|
encoder: AnalysisPhoneticEncoder;
|
|
@@ -3558,7 +3558,7 @@ export interface AnalysisSnowballAnalyzer {
|
|
|
3558
3558
|
language: AnalysisSnowballLanguage;
|
|
3559
3559
|
stopwords?: AnalysisStopWords;
|
|
3560
3560
|
}
|
|
3561
|
-
export
|
|
3561
|
+
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';
|
|
3562
3562
|
export interface AnalysisSnowballTokenFilter extends AnalysisTokenFilterBase {
|
|
3563
3563
|
type: 'snowball';
|
|
3564
3564
|
language: AnalysisSnowballLanguage;
|
|
@@ -3594,8 +3594,8 @@ export interface AnalysisStopTokenFilter extends AnalysisTokenFilterBase {
|
|
|
3594
3594
|
stopwords?: AnalysisStopWords;
|
|
3595
3595
|
stopwords_path?: string;
|
|
3596
3596
|
}
|
|
3597
|
-
export
|
|
3598
|
-
export
|
|
3597
|
+
export type AnalysisStopWords = string | string[];
|
|
3598
|
+
export type AnalysisSynonymFormat = 'solr' | 'wordnet';
|
|
3599
3599
|
export interface AnalysisSynonymGraphTokenFilter extends AnalysisTokenFilterBase {
|
|
3600
3600
|
type: 'synonym_graph';
|
|
3601
3601
|
expand?: boolean;
|
|
@@ -3616,17 +3616,17 @@ export interface AnalysisSynonymTokenFilter extends AnalysisTokenFilterBase {
|
|
|
3616
3616
|
tokenizer?: string;
|
|
3617
3617
|
updateable?: boolean;
|
|
3618
3618
|
}
|
|
3619
|
-
export
|
|
3620
|
-
export
|
|
3619
|
+
export type AnalysisTokenChar = 'letter' | 'digit' | 'whitespace' | 'punctuation' | 'symbol' | 'custom';
|
|
3620
|
+
export type AnalysisTokenFilter = string | AnalysisTokenFilterDefinition;
|
|
3621
3621
|
export interface AnalysisTokenFilterBase {
|
|
3622
3622
|
version?: VersionString;
|
|
3623
3623
|
}
|
|
3624
|
-
export
|
|
3625
|
-
export
|
|
3624
|
+
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;
|
|
3625
|
+
export type AnalysisTokenizer = string | AnalysisTokenizerDefinition;
|
|
3626
3626
|
export interface AnalysisTokenizerBase {
|
|
3627
3627
|
version?: VersionString;
|
|
3628
3628
|
}
|
|
3629
|
-
export
|
|
3629
|
+
export type AnalysisTokenizerDefinition = AnalysisCharGroupTokenizer | AnalysisEdgeNGramTokenizer | AnalysisKeywordTokenizer | AnalysisLetterTokenizer | AnalysisLowercaseTokenizer | AnalysisNGramTokenizer | AnalysisNoriTokenizer | AnalysisPathHierarchyTokenizer | AnalysisStandardTokenizer | AnalysisUaxEmailUrlTokenizer | AnalysisWhitespaceTokenizer | AnalysisKuromojiTokenizer | AnalysisPatternTokenizer | AnalysisIcuTokenizer;
|
|
3630
3630
|
export interface AnalysisTrimTokenFilter extends AnalysisTokenFilterBase {
|
|
3631
3631
|
type: 'trim';
|
|
3632
3632
|
}
|
|
@@ -3785,7 +3785,7 @@ export interface MappingDoubleNumberProperty extends MappingStandardNumberProper
|
|
|
3785
3785
|
export interface MappingDoubleRangeProperty extends MappingRangePropertyBase {
|
|
3786
3786
|
type: 'double_range';
|
|
3787
3787
|
}
|
|
3788
|
-
export
|
|
3788
|
+
export type MappingDynamicMapping = boolean | 'strict' | 'runtime' | 'true' | 'false';
|
|
3789
3789
|
export interface MappingDynamicProperty extends MappingDocValuesPropertyBase {
|
|
3790
3790
|
type: '{dynamic_property}';
|
|
3791
3791
|
enabled?: boolean;
|
|
@@ -3831,7 +3831,7 @@ export interface MappingFieldMapping {
|
|
|
3831
3831
|
export interface MappingFieldNamesField {
|
|
3832
3832
|
enabled: boolean;
|
|
3833
3833
|
}
|
|
3834
|
-
export
|
|
3834
|
+
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';
|
|
3835
3835
|
export interface MappingFlattenedProperty extends MappingPropertyBase {
|
|
3836
3836
|
boost?: double;
|
|
3837
3837
|
depth_limit?: integer;
|
|
@@ -3851,7 +3851,7 @@ export interface MappingFloatNumberProperty extends MappingStandardNumberPropert
|
|
|
3851
3851
|
export interface MappingFloatRangeProperty extends MappingRangePropertyBase {
|
|
3852
3852
|
type: 'float_range';
|
|
3853
3853
|
}
|
|
3854
|
-
export
|
|
3854
|
+
export type MappingGeoOrientation = 'right' | 'RIGHT' | 'counterclockwise' | 'ccw' | 'left' | 'LEFT' | 'clockwise' | 'cw';
|
|
3855
3855
|
export interface MappingGeoPointProperty extends MappingDocValuesPropertyBase {
|
|
3856
3856
|
ignore_malformed?: boolean;
|
|
3857
3857
|
ignore_z_value?: boolean;
|
|
@@ -3866,7 +3866,7 @@ export interface MappingGeoShapeProperty extends MappingDocValuesPropertyBase {
|
|
|
3866
3866
|
strategy?: MappingGeoStrategy;
|
|
3867
3867
|
type: 'geo_shape';
|
|
3868
3868
|
}
|
|
3869
|
-
export
|
|
3869
|
+
export type MappingGeoStrategy = 'recursive' | 'term';
|
|
3870
3870
|
export interface MappingHalfFloatNumberProperty extends MappingStandardNumberProperty {
|
|
3871
3871
|
type: 'half_float';
|
|
3872
3872
|
null_value?: float;
|
|
@@ -3878,7 +3878,7 @@ export interface MappingHistogramProperty extends MappingPropertyBase {
|
|
|
3878
3878
|
export interface MappingIndexField {
|
|
3879
3879
|
enabled: boolean;
|
|
3880
3880
|
}
|
|
3881
|
-
export
|
|
3881
|
+
export type MappingIndexOptions = 'docs' | 'freqs' | 'positions' | 'offsets';
|
|
3882
3882
|
export interface MappingIntegerNumberProperty extends MappingStandardNumberProperty {
|
|
3883
3883
|
type: 'integer';
|
|
3884
3884
|
null_value?: integer;
|
|
@@ -3925,7 +3925,7 @@ export interface MappingMatchOnlyTextProperty {
|
|
|
3925
3925
|
meta?: Record<string, string>;
|
|
3926
3926
|
copy_to?: Fields;
|
|
3927
3927
|
}
|
|
3928
|
-
export
|
|
3928
|
+
export type MappingMatchType = 'simple' | 'regex';
|
|
3929
3929
|
export interface MappingMurmur3HashProperty extends MappingDocValuesPropertyBase {
|
|
3930
3930
|
type: 'murmur3';
|
|
3931
3931
|
}
|
|
@@ -3944,7 +3944,7 @@ export interface MappingObjectProperty extends MappingCorePropertyBase {
|
|
|
3944
3944
|
enabled?: boolean;
|
|
3945
3945
|
type?: 'object';
|
|
3946
3946
|
}
|
|
3947
|
-
export
|
|
3947
|
+
export type MappingOnScriptError = 'fail' | 'continue';
|
|
3948
3948
|
export interface MappingPercolatorProperty extends MappingPropertyBase {
|
|
3949
3949
|
type: 'percolator';
|
|
3950
3950
|
}
|
|
@@ -3954,7 +3954,7 @@ export interface MappingPointProperty extends MappingDocValuesPropertyBase {
|
|
|
3954
3954
|
null_value?: string;
|
|
3955
3955
|
type: 'point';
|
|
3956
3956
|
}
|
|
3957
|
-
export
|
|
3957
|
+
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;
|
|
3958
3958
|
export interface MappingPropertyBase {
|
|
3959
3959
|
local_metadata?: Metadata;
|
|
3960
3960
|
meta?: Record<string, string>;
|
|
@@ -3983,8 +3983,8 @@ export interface MappingRuntimeField {
|
|
|
3983
3983
|
script?: Script;
|
|
3984
3984
|
type: MappingRuntimeFieldType;
|
|
3985
3985
|
}
|
|
3986
|
-
export
|
|
3987
|
-
export
|
|
3986
|
+
export type MappingRuntimeFieldType = 'boolean' | 'date' | 'double' | 'geo_point' | 'ip' | 'keyword' | 'long';
|
|
3987
|
+
export type MappingRuntimeFields = Record<Field, MappingRuntimeField>;
|
|
3988
3988
|
export interface MappingScaledFloatNumberProperty extends MappingNumberPropertyBase {
|
|
3989
3989
|
type: 'scaled_float';
|
|
3990
3990
|
coerce?: boolean;
|
|
@@ -4034,7 +4034,7 @@ export interface MappingSuggestContext {
|
|
|
4034
4034
|
type: string;
|
|
4035
4035
|
precision?: integer | string;
|
|
4036
4036
|
}
|
|
4037
|
-
export
|
|
4037
|
+
export type MappingTermVectorOption = 'no' | 'yes' | 'with_offsets' | 'with_positions' | 'with_positions_offsets' | 'with_positions_offsets_payloads' | 'with_positions_payloads';
|
|
4038
4038
|
export interface MappingTextIndexPrefixes {
|
|
4039
4039
|
max_chars: integer;
|
|
4040
4040
|
min_chars: integer;
|
|
@@ -4056,7 +4056,7 @@ export interface MappingTextProperty extends MappingCorePropertyBase {
|
|
|
4056
4056
|
term_vector?: MappingTermVectorOption;
|
|
4057
4057
|
type: 'text';
|
|
4058
4058
|
}
|
|
4059
|
-
export
|
|
4059
|
+
export type MappingTimeSeriesMetricType = 'gauge' | 'counter' | 'summary' | 'histogram';
|
|
4060
4060
|
export interface MappingTokenCountProperty extends MappingDocValuesPropertyBase {
|
|
4061
4061
|
analyzer?: string;
|
|
4062
4062
|
boost?: double;
|
|
@@ -4106,8 +4106,8 @@ export interface QueryDslBoostingQuery extends QueryDslQueryBase {
|
|
|
4106
4106
|
negative: QueryDslQueryContainer;
|
|
4107
4107
|
positive: QueryDslQueryContainer;
|
|
4108
4108
|
}
|
|
4109
|
-
export
|
|
4110
|
-
export
|
|
4109
|
+
export type QueryDslChildScoreMode = 'none' | 'avg' | 'sum' | 'max' | 'min';
|
|
4110
|
+
export type QueryDslCombinedFieldsOperator = 'or' | 'and';
|
|
4111
4111
|
export interface QueryDslCombinedFieldsQuery extends QueryDslQueryBase {
|
|
4112
4112
|
fields: Field[];
|
|
4113
4113
|
query: string;
|
|
@@ -4116,7 +4116,7 @@ export interface QueryDslCombinedFieldsQuery extends QueryDslQueryBase {
|
|
|
4116
4116
|
minimum_should_match?: MinimumShouldMatch;
|
|
4117
4117
|
zero_terms_query?: QueryDslCombinedFieldsZeroTerms;
|
|
4118
4118
|
}
|
|
4119
|
-
export
|
|
4119
|
+
export type QueryDslCombinedFieldsZeroTerms = 'none' | 'all';
|
|
4120
4120
|
export interface QueryDslCommonTermsQuery extends QueryDslQueryBase {
|
|
4121
4121
|
analyzer?: string;
|
|
4122
4122
|
cutoff_frequency?: double;
|
|
@@ -4130,7 +4130,7 @@ export interface QueryDslConstantScoreQuery extends QueryDslQueryBase {
|
|
|
4130
4130
|
}
|
|
4131
4131
|
export interface QueryDslDateDecayFunctionKeys extends QueryDslDecayFunctionBase {
|
|
4132
4132
|
}
|
|
4133
|
-
export
|
|
4133
|
+
export type QueryDslDateDecayFunction = QueryDslDateDecayFunctionKeys & {
|
|
4134
4134
|
[property: string]: QueryDslDecayPlacement<DateMath, Duration> | QueryDslMultiValueMode;
|
|
4135
4135
|
};
|
|
4136
4136
|
export interface QueryDslDateDistanceFeatureQuery extends QueryDslDistanceFeatureQueryBase<DateMath, Duration> {
|
|
@@ -4145,7 +4145,7 @@ export interface QueryDslDateRangeQuery extends QueryDslRangeQueryBase {
|
|
|
4145
4145
|
format?: DateFormat;
|
|
4146
4146
|
time_zone?: TimeZone;
|
|
4147
4147
|
}
|
|
4148
|
-
export
|
|
4148
|
+
export type QueryDslDecayFunction = QueryDslDateDecayFunction | QueryDslNumericDecayFunction | QueryDslGeoDecayFunction;
|
|
4149
4149
|
export interface QueryDslDecayFunctionBase {
|
|
4150
4150
|
multi_value_mode?: QueryDslMultiValueMode;
|
|
4151
4151
|
}
|
|
@@ -4159,7 +4159,7 @@ export interface QueryDslDisMaxQuery extends QueryDslQueryBase {
|
|
|
4159
4159
|
queries: QueryDslQueryContainer[];
|
|
4160
4160
|
tie_breaker?: double;
|
|
4161
4161
|
}
|
|
4162
|
-
export
|
|
4162
|
+
export type QueryDslDistanceFeatureQuery = QueryDslGeoDistanceFeatureQuery | QueryDslDateDistanceFeatureQuery;
|
|
4163
4163
|
export interface QueryDslDistanceFeatureQueryBase<TOrigin = unknown, TDistance = unknown> extends QueryDslQueryBase {
|
|
4164
4164
|
origin: TOrigin;
|
|
4165
4165
|
pivot: TDistance;
|
|
@@ -4179,14 +4179,14 @@ export interface QueryDslFieldLookup {
|
|
|
4179
4179
|
path?: Field;
|
|
4180
4180
|
routing?: Routing;
|
|
4181
4181
|
}
|
|
4182
|
-
export
|
|
4182
|
+
export type QueryDslFieldValueFactorModifier = 'none' | 'log' | 'log1p' | 'log2p' | 'ln' | 'ln1p' | 'ln2p' | 'square' | 'sqrt' | 'reciprocal';
|
|
4183
4183
|
export interface QueryDslFieldValueFactorScoreFunction {
|
|
4184
4184
|
field: Field;
|
|
4185
4185
|
factor?: double;
|
|
4186
4186
|
missing?: double;
|
|
4187
4187
|
modifier?: QueryDslFieldValueFactorModifier;
|
|
4188
4188
|
}
|
|
4189
|
-
export
|
|
4189
|
+
export type QueryDslFunctionBoostMode = 'multiply' | 'replace' | 'sum' | 'avg' | 'max' | 'min';
|
|
4190
4190
|
export interface QueryDslFunctionScoreContainer {
|
|
4191
4191
|
exp?: QueryDslDecayFunction;
|
|
4192
4192
|
gauss?: QueryDslDecayFunction;
|
|
@@ -4197,7 +4197,7 @@ export interface QueryDslFunctionScoreContainer {
|
|
|
4197
4197
|
filter?: QueryDslQueryContainer;
|
|
4198
4198
|
weight?: double;
|
|
4199
4199
|
}
|
|
4200
|
-
export
|
|
4200
|
+
export type QueryDslFunctionScoreMode = 'multiply' | 'sum' | 'avg' | 'first' | 'max' | 'min';
|
|
4201
4201
|
export interface QueryDslFunctionScoreQuery extends QueryDslQueryBase {
|
|
4202
4202
|
boost_mode?: QueryDslFunctionBoostMode;
|
|
4203
4203
|
functions?: QueryDslFunctionScoreContainer[];
|
|
@@ -4219,12 +4219,12 @@ export interface QueryDslGeoBoundingBoxQueryKeys extends QueryDslQueryBase {
|
|
|
4219
4219
|
validation_method?: QueryDslGeoValidationMethod;
|
|
4220
4220
|
ignore_unmapped?: boolean;
|
|
4221
4221
|
}
|
|
4222
|
-
export
|
|
4222
|
+
export type QueryDslGeoBoundingBoxQuery = QueryDslGeoBoundingBoxQueryKeys & {
|
|
4223
4223
|
[property: string]: GeoBounds | QueryDslGeoExecution | QueryDslGeoValidationMethod | boolean | float | string;
|
|
4224
4224
|
};
|
|
4225
4225
|
export interface QueryDslGeoDecayFunctionKeys extends QueryDslDecayFunctionBase {
|
|
4226
4226
|
}
|
|
4227
|
-
export
|
|
4227
|
+
export type QueryDslGeoDecayFunction = QueryDslGeoDecayFunctionKeys & {
|
|
4228
4228
|
[property: string]: QueryDslDecayPlacement<GeoLocation, Distance> | QueryDslMultiValueMode;
|
|
4229
4229
|
};
|
|
4230
4230
|
export interface QueryDslGeoDistanceFeatureQuery extends QueryDslDistanceFeatureQueryBase<GeoLocation, Distance> {
|
|
@@ -4234,10 +4234,10 @@ export interface QueryDslGeoDistanceQueryKeys extends QueryDslQueryBase {
|
|
|
4234
4234
|
distance_type?: GeoDistanceType;
|
|
4235
4235
|
validation_method?: QueryDslGeoValidationMethod;
|
|
4236
4236
|
}
|
|
4237
|
-
export
|
|
4237
|
+
export type QueryDslGeoDistanceQuery = QueryDslGeoDistanceQueryKeys & {
|
|
4238
4238
|
[property: string]: GeoLocation | Distance | GeoDistanceType | QueryDslGeoValidationMethod | float | string;
|
|
4239
4239
|
};
|
|
4240
|
-
export
|
|
4240
|
+
export type QueryDslGeoExecution = 'memory' | 'indexed';
|
|
4241
4241
|
export interface QueryDslGeoPolygonPoints {
|
|
4242
4242
|
points: GeoLocation[];
|
|
4243
4243
|
}
|
|
@@ -4245,7 +4245,7 @@ export interface QueryDslGeoPolygonQueryKeys extends QueryDslQueryBase {
|
|
|
4245
4245
|
validation_method?: QueryDslGeoValidationMethod;
|
|
4246
4246
|
ignore_unmapped?: boolean;
|
|
4247
4247
|
}
|
|
4248
|
-
export
|
|
4248
|
+
export type QueryDslGeoPolygonQuery = QueryDslGeoPolygonQueryKeys & {
|
|
4249
4249
|
[property: string]: QueryDslGeoPolygonPoints | QueryDslGeoValidationMethod | boolean | float | string;
|
|
4250
4250
|
};
|
|
4251
4251
|
export interface QueryDslGeoShapeFieldQuery {
|
|
@@ -4256,10 +4256,10 @@ export interface QueryDslGeoShapeFieldQuery {
|
|
|
4256
4256
|
export interface QueryDslGeoShapeQueryKeys extends QueryDslQueryBase {
|
|
4257
4257
|
ignore_unmapped?: boolean;
|
|
4258
4258
|
}
|
|
4259
|
-
export
|
|
4259
|
+
export type QueryDslGeoShapeQuery = QueryDslGeoShapeQueryKeys & {
|
|
4260
4260
|
[property: string]: QueryDslGeoShapeFieldQuery | boolean | float | string;
|
|
4261
4261
|
};
|
|
4262
|
-
export
|
|
4262
|
+
export type QueryDslGeoValidationMethod = 'coerce' | 'ignore_malformed' | 'strict';
|
|
4263
4263
|
export interface QueryDslHasChildQuery extends QueryDslQueryBase {
|
|
4264
4264
|
ignore_unmapped?: boolean;
|
|
4265
4265
|
inner_hits?: SearchInnerHits;
|
|
@@ -4342,7 +4342,7 @@ export interface QueryDslIntervalsWildcard {
|
|
|
4342
4342
|
pattern: string;
|
|
4343
4343
|
use_field?: Field;
|
|
4344
4344
|
}
|
|
4345
|
-
export
|
|
4345
|
+
export type QueryDslLike = string | QueryDslLikeDocument;
|
|
4346
4346
|
export interface QueryDslLikeDocument {
|
|
4347
4347
|
doc?: any;
|
|
4348
4348
|
fields?: Field[];
|
|
@@ -4436,7 +4436,7 @@ export interface QueryDslMultiMatchQuery extends QueryDslQueryBase {
|
|
|
4436
4436
|
type?: QueryDslTextQueryType;
|
|
4437
4437
|
zero_terms_query?: QueryDslZeroTermsQuery;
|
|
4438
4438
|
}
|
|
4439
|
-
export
|
|
4439
|
+
export type QueryDslMultiValueMode = 'min' | 'max' | 'avg' | 'sum';
|
|
4440
4440
|
export interface QueryDslNestedQuery extends QueryDslQueryBase {
|
|
4441
4441
|
ignore_unmapped?: boolean;
|
|
4442
4442
|
inner_hits?: SearchInnerHits;
|
|
@@ -4454,10 +4454,10 @@ export interface QueryDslNumberRangeQuery extends QueryDslRangeQueryBase {
|
|
|
4454
4454
|
}
|
|
4455
4455
|
export interface QueryDslNumericDecayFunctionKeys extends QueryDslDecayFunctionBase {
|
|
4456
4456
|
}
|
|
4457
|
-
export
|
|
4457
|
+
export type QueryDslNumericDecayFunction = QueryDslNumericDecayFunctionKeys & {
|
|
4458
4458
|
[property: string]: QueryDslDecayPlacement<double, double> | QueryDslMultiValueMode;
|
|
4459
4459
|
};
|
|
4460
|
-
export
|
|
4460
|
+
export type QueryDslOperator = 'and' | 'AND' | 'or' | 'OR';
|
|
4461
4461
|
export interface QueryDslParentIdQuery extends QueryDslQueryBase {
|
|
4462
4462
|
id?: Id;
|
|
4463
4463
|
ignore_unmapped?: boolean;
|
|
@@ -4579,11 +4579,11 @@ export interface QueryDslRandomScoreFunction {
|
|
|
4579
4579
|
field?: Field;
|
|
4580
4580
|
seed?: long | string;
|
|
4581
4581
|
}
|
|
4582
|
-
export
|
|
4582
|
+
export type QueryDslRangeQuery = QueryDslDateRangeQuery | QueryDslNumberRangeQuery;
|
|
4583
4583
|
export interface QueryDslRangeQueryBase extends QueryDslQueryBase {
|
|
4584
4584
|
relation?: QueryDslRangeRelation;
|
|
4585
4585
|
}
|
|
4586
|
-
export
|
|
4586
|
+
export type QueryDslRangeRelation = 'within' | 'contains' | 'intersects';
|
|
4587
4587
|
export interface QueryDslRankFeatureFunction {
|
|
4588
4588
|
}
|
|
4589
4589
|
export interface QueryDslRankFeatureFunctionLinear {
|
|
@@ -4631,11 +4631,11 @@ export interface QueryDslShapeFieldQuery {
|
|
|
4631
4631
|
export interface QueryDslShapeQueryKeys extends QueryDslQueryBase {
|
|
4632
4632
|
ignore_unmapped?: boolean;
|
|
4633
4633
|
}
|
|
4634
|
-
export
|
|
4634
|
+
export type QueryDslShapeQuery = QueryDslShapeQueryKeys & {
|
|
4635
4635
|
[property: string]: QueryDslShapeFieldQuery | boolean | float | string;
|
|
4636
4636
|
};
|
|
4637
|
-
export
|
|
4638
|
-
export
|
|
4637
|
+
export type QueryDslSimpleQueryStringFlag = 'NONE' | 'AND' | 'OR' | 'NOT' | 'PREFIX' | 'PHRASE' | 'PRECEDENCE' | 'ESCAPE' | 'WHITESPACE' | 'FUZZY' | 'NEAR' | 'SLOP' | 'ALL';
|
|
4638
|
+
export type QueryDslSimpleQueryStringFlags = QueryDslSimpleQueryStringFlag | string;
|
|
4639
4639
|
export interface QueryDslSimpleQueryStringQuery extends QueryDslQueryBase {
|
|
4640
4640
|
analyzer?: string;
|
|
4641
4641
|
analyze_wildcard?: boolean;
|
|
@@ -4663,7 +4663,7 @@ export interface QueryDslSpanFirstQuery extends QueryDslQueryBase {
|
|
|
4663
4663
|
end: integer;
|
|
4664
4664
|
match: QueryDslSpanQuery;
|
|
4665
4665
|
}
|
|
4666
|
-
export
|
|
4666
|
+
export type QueryDslSpanGapQuery = Partial<Record<Field, integer>>;
|
|
4667
4667
|
export interface QueryDslSpanMultiTermQuery extends QueryDslQueryBase {
|
|
4668
4668
|
match: QueryDslQueryContainer;
|
|
4669
4669
|
}
|
|
@@ -4713,16 +4713,16 @@ export interface QueryDslTermsLookup {
|
|
|
4713
4713
|
}
|
|
4714
4714
|
export interface QueryDslTermsQueryKeys extends QueryDslQueryBase {
|
|
4715
4715
|
}
|
|
4716
|
-
export
|
|
4716
|
+
export type QueryDslTermsQuery = QueryDslTermsQueryKeys & {
|
|
4717
4717
|
[property: string]: QueryDslTermsQueryField | float | string;
|
|
4718
4718
|
};
|
|
4719
|
-
export
|
|
4719
|
+
export type QueryDslTermsQueryField = FieldValue[] | QueryDslTermsLookup;
|
|
4720
4720
|
export interface QueryDslTermsSetQuery extends QueryDslQueryBase {
|
|
4721
4721
|
minimum_should_match_field?: Field;
|
|
4722
4722
|
minimum_should_match_script?: Script;
|
|
4723
4723
|
terms: string[];
|
|
4724
4724
|
}
|
|
4725
|
-
export
|
|
4725
|
+
export type QueryDslTextQueryType = 'best_fields' | 'most_fields' | 'cross_fields' | 'phrase' | 'phrase_prefix' | 'bool_prefix';
|
|
4726
4726
|
export interface QueryDslTypeQuery extends QueryDslQueryBase {
|
|
4727
4727
|
value: string;
|
|
4728
4728
|
}
|
|
@@ -4735,7 +4735,7 @@ export interface QueryDslWildcardQuery extends QueryDslQueryBase {
|
|
|
4735
4735
|
export interface QueryDslWrapperQuery extends QueryDslQueryBase {
|
|
4736
4736
|
query: string;
|
|
4737
4737
|
}
|
|
4738
|
-
export
|
|
4738
|
+
export type QueryDslZeroTermsQuery = 'all' | 'none';
|
|
4739
4739
|
export interface AsyncSearchAsyncSearch<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> {
|
|
4740
4740
|
aggregations?: TAggregations;
|
|
4741
4741
|
_clusters?: ClusterStatistics;
|
|
@@ -4767,18 +4767,18 @@ export interface AsyncSearchAsyncSearchResponseBase {
|
|
|
4767
4767
|
export interface AsyncSearchDeleteRequest extends RequestBase {
|
|
4768
4768
|
id: Id;
|
|
4769
4769
|
}
|
|
4770
|
-
export
|
|
4770
|
+
export type AsyncSearchDeleteResponse = AcknowledgedResponseBase;
|
|
4771
4771
|
export interface AsyncSearchGetRequest extends RequestBase {
|
|
4772
4772
|
id: Id;
|
|
4773
4773
|
keep_alive?: Duration;
|
|
4774
4774
|
typed_keys?: boolean;
|
|
4775
4775
|
wait_for_completion_timeout?: Duration;
|
|
4776
4776
|
}
|
|
4777
|
-
export
|
|
4777
|
+
export type AsyncSearchGetResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = AsyncSearchAsyncSearchDocumentResponseBase<TDocument, TAggregations>;
|
|
4778
4778
|
export interface AsyncSearchStatusRequest extends RequestBase {
|
|
4779
4779
|
id: Id;
|
|
4780
4780
|
}
|
|
4781
|
-
export
|
|
4781
|
+
export type AsyncSearchStatusResponse = AsyncSearchStatusStatusResponseBase;
|
|
4782
4782
|
export interface AsyncSearchStatusStatusResponseBase extends AsyncSearchAsyncSearchResponseBase {
|
|
4783
4783
|
_shards: ShardStatistics;
|
|
4784
4784
|
completion_status?: integer;
|
|
@@ -4851,7 +4851,7 @@ export interface AsyncSearchSubmitRequest extends RequestBase {
|
|
|
4851
4851
|
runtime_mappings?: MappingRuntimeFields;
|
|
4852
4852
|
stats?: string[];
|
|
4853
4853
|
}
|
|
4854
|
-
export
|
|
4854
|
+
export type AsyncSearchSubmitResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = AsyncSearchAsyncSearchDocumentResponseBase<TDocument, TAggregations>;
|
|
4855
4855
|
export interface AutoscalingAutoscalingPolicy {
|
|
4856
4856
|
roles: string[];
|
|
4857
4857
|
deciders: Record<string, any>;
|
|
@@ -4859,7 +4859,7 @@ export interface AutoscalingAutoscalingPolicy {
|
|
|
4859
4859
|
export interface AutoscalingDeleteAutoscalingPolicyRequest extends RequestBase {
|
|
4860
4860
|
name: Name;
|
|
4861
4861
|
}
|
|
4862
|
-
export
|
|
4862
|
+
export type AutoscalingDeleteAutoscalingPolicyResponse = AcknowledgedResponseBase;
|
|
4863
4863
|
export interface AutoscalingGetAutoscalingCapacityAutoscalingCapacity {
|
|
4864
4864
|
node: AutoscalingGetAutoscalingCapacityAutoscalingResources;
|
|
4865
4865
|
total: AutoscalingGetAutoscalingCapacityAutoscalingResources;
|
|
@@ -4890,24 +4890,24 @@ export interface AutoscalingGetAutoscalingCapacityResponse {
|
|
|
4890
4890
|
export interface AutoscalingGetAutoscalingPolicyRequest extends RequestBase {
|
|
4891
4891
|
name: Name;
|
|
4892
4892
|
}
|
|
4893
|
-
export
|
|
4893
|
+
export type AutoscalingGetAutoscalingPolicyResponse = AutoscalingAutoscalingPolicy;
|
|
4894
4894
|
export interface AutoscalingPutAutoscalingPolicyRequest extends RequestBase {
|
|
4895
4895
|
name: Name;
|
|
4896
4896
|
policy?: AutoscalingAutoscalingPolicy;
|
|
4897
4897
|
}
|
|
4898
|
-
export
|
|
4899
|
-
export
|
|
4900
|
-
export
|
|
4901
|
-
export
|
|
4902
|
-
export
|
|
4903
|
-
export
|
|
4904
|
-
export
|
|
4898
|
+
export type AutoscalingPutAutoscalingPolicyResponse = AcknowledgedResponseBase;
|
|
4899
|
+
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';
|
|
4900
|
+
export type CatCatAnonalyDetectorColumns = CatCatAnomalyDetectorColumn | CatCatAnomalyDetectorColumn[];
|
|
4901
|
+
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';
|
|
4902
|
+
export type CatCatDatafeedColumns = CatCatDatafeedColumn | CatCatDatafeedColumn[];
|
|
4903
|
+
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';
|
|
4904
|
+
export type CatCatDfaColumns = CatCatDfaColumn | CatCatDfaColumn[];
|
|
4905
4905
|
export interface CatCatRequestBase extends RequestBase, SpecUtilsCommonCatQueryParameters {
|
|
4906
4906
|
}
|
|
4907
|
-
export
|
|
4908
|
-
export
|
|
4909
|
-
export
|
|
4910
|
-
export
|
|
4907
|
+
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';
|
|
4908
|
+
export type CatCatTrainedModelsColumns = CatCatTrainedModelsColumn | CatCatTrainedModelsColumn[];
|
|
4909
|
+
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';
|
|
4910
|
+
export type CatCatTransformColumns = CatCatTransformColumn | CatCatTransformColumn[];
|
|
4911
4911
|
export interface CatAliasesAliasesRecord {
|
|
4912
4912
|
alias?: string;
|
|
4913
4913
|
a?: string;
|
|
@@ -4931,7 +4931,7 @@ export interface CatAliasesRequest extends CatCatRequestBase {
|
|
|
4931
4931
|
name?: Names;
|
|
4932
4932
|
expand_wildcards?: ExpandWildcards;
|
|
4933
4933
|
}
|
|
4934
|
-
export
|
|
4934
|
+
export type CatAliasesResponse = CatAliasesAliasesRecord[];
|
|
4935
4935
|
export interface CatAllocationAllocationRecord {
|
|
4936
4936
|
shards?: string;
|
|
4937
4937
|
s?: string;
|
|
@@ -4960,7 +4960,7 @@ export interface CatAllocationRequest extends CatCatRequestBase {
|
|
|
4960
4960
|
node_id?: NodeIds;
|
|
4961
4961
|
bytes?: Bytes;
|
|
4962
4962
|
}
|
|
4963
|
-
export
|
|
4963
|
+
export type CatAllocationResponse = CatAllocationAllocationRecord[];
|
|
4964
4964
|
export interface CatComponentTemplatesComponentTemplate {
|
|
4965
4965
|
name: string;
|
|
4966
4966
|
version: string;
|
|
@@ -4973,7 +4973,7 @@ export interface CatComponentTemplatesComponentTemplate {
|
|
|
4973
4973
|
export interface CatComponentTemplatesRequest extends CatCatRequestBase {
|
|
4974
4974
|
name?: string;
|
|
4975
4975
|
}
|
|
4976
|
-
export
|
|
4976
|
+
export type CatComponentTemplatesResponse = CatComponentTemplatesComponentTemplate[];
|
|
4977
4977
|
export interface CatCountCountRecord {
|
|
4978
4978
|
epoch?: SpecUtilsStringified<EpochTime<UnitSeconds>>;
|
|
4979
4979
|
t?: SpecUtilsStringified<EpochTime<UnitSeconds>>;
|
|
@@ -4990,7 +4990,7 @@ export interface CatCountCountRecord {
|
|
|
4990
4990
|
export interface CatCountRequest extends CatCatRequestBase {
|
|
4991
4991
|
index?: Indices;
|
|
4992
4992
|
}
|
|
4993
|
-
export
|
|
4993
|
+
export type CatCountResponse = CatCountCountRecord[];
|
|
4994
4994
|
export interface CatFielddataFielddataRecord {
|
|
4995
4995
|
id?: string;
|
|
4996
4996
|
host?: string;
|
|
@@ -5006,7 +5006,7 @@ export interface CatFielddataRequest extends CatCatRequestBase {
|
|
|
5006
5006
|
fields?: Fields;
|
|
5007
5007
|
bytes?: Bytes;
|
|
5008
5008
|
}
|
|
5009
|
-
export
|
|
5009
|
+
export type CatFielddataResponse = CatFielddataFielddataRecord[];
|
|
5010
5010
|
export interface CatHealthHealthRecord {
|
|
5011
5011
|
epoch?: SpecUtilsStringified<EpochTime<UnitSeconds>>;
|
|
5012
5012
|
time?: SpecUtilsStringified<EpochTime<UnitSeconds>>;
|
|
@@ -5058,13 +5058,13 @@ export interface CatHealthHealthRecord {
|
|
|
5058
5058
|
export interface CatHealthRequest extends CatCatRequestBase {
|
|
5059
5059
|
ts?: boolean;
|
|
5060
5060
|
}
|
|
5061
|
-
export
|
|
5061
|
+
export type CatHealthResponse = CatHealthHealthRecord[];
|
|
5062
5062
|
export interface CatHelpHelpRecord {
|
|
5063
5063
|
endpoint: string;
|
|
5064
5064
|
}
|
|
5065
5065
|
export interface CatHelpRequest extends CatCatRequestBase {
|
|
5066
5066
|
}
|
|
5067
|
-
export
|
|
5067
|
+
export type CatHelpResponse = CatHelpHelpRecord[];
|
|
5068
5068
|
export interface CatIndicesIndicesRecord {
|
|
5069
5069
|
health?: string;
|
|
5070
5070
|
h?: string;
|
|
@@ -5362,7 +5362,7 @@ export interface CatIndicesRequest extends CatCatRequestBase {
|
|
|
5362
5362
|
include_unloaded_segments?: boolean;
|
|
5363
5363
|
pri?: boolean;
|
|
5364
5364
|
}
|
|
5365
|
-
export
|
|
5365
|
+
export type CatIndicesResponse = CatIndicesIndicesRecord[];
|
|
5366
5366
|
export interface CatMasterMasterRecord {
|
|
5367
5367
|
id?: string;
|
|
5368
5368
|
host?: string;
|
|
@@ -5373,7 +5373,7 @@ export interface CatMasterMasterRecord {
|
|
|
5373
5373
|
}
|
|
5374
5374
|
export interface CatMasterRequest extends CatCatRequestBase {
|
|
5375
5375
|
}
|
|
5376
|
-
export
|
|
5376
|
+
export type CatMasterResponse = CatMasterMasterRecord[];
|
|
5377
5377
|
export interface CatMlDataFrameAnalyticsDataFrameAnalyticsRecord {
|
|
5378
5378
|
id?: Id;
|
|
5379
5379
|
type?: string;
|
|
@@ -5425,7 +5425,7 @@ export interface CatMlDataFrameAnalyticsRequest extends CatCatRequestBase {
|
|
|
5425
5425
|
s?: CatCatDfaColumns;
|
|
5426
5426
|
time?: Duration;
|
|
5427
5427
|
}
|
|
5428
|
-
export
|
|
5428
|
+
export type CatMlDataFrameAnalyticsResponse = CatMlDataFrameAnalyticsDataFrameAnalyticsRecord[];
|
|
5429
5429
|
export interface CatMlDatafeedsDatafeedsRecord {
|
|
5430
5430
|
id?: string;
|
|
5431
5431
|
state?: MlDatafeedState;
|
|
@@ -5467,7 +5467,7 @@ export interface CatMlDatafeedsRequest extends CatCatRequestBase {
|
|
|
5467
5467
|
s?: CatCatDatafeedColumns;
|
|
5468
5468
|
time?: TimeUnit;
|
|
5469
5469
|
}
|
|
5470
|
-
export
|
|
5470
|
+
export type CatMlDatafeedsResponse = CatMlDatafeedsDatafeedsRecord[];
|
|
5471
5471
|
export interface CatMlJobsJobsRecord {
|
|
5472
5472
|
id?: Id;
|
|
5473
5473
|
state?: MlJobState;
|
|
@@ -5652,7 +5652,7 @@ export interface CatMlJobsRequest extends CatCatRequestBase {
|
|
|
5652
5652
|
s?: CatCatAnonalyDetectorColumns;
|
|
5653
5653
|
time?: TimeUnit;
|
|
5654
5654
|
}
|
|
5655
|
-
export
|
|
5655
|
+
export type CatMlJobsResponse = CatMlJobsJobsRecord[];
|
|
5656
5656
|
export interface CatMlTrainedModelsRequest extends CatCatRequestBase {
|
|
5657
5657
|
model_id?: Id;
|
|
5658
5658
|
allow_no_match?: boolean;
|
|
@@ -5662,7 +5662,7 @@ export interface CatMlTrainedModelsRequest extends CatCatRequestBase {
|
|
|
5662
5662
|
from?: integer;
|
|
5663
5663
|
size?: integer;
|
|
5664
5664
|
}
|
|
5665
|
-
export
|
|
5665
|
+
export type CatMlTrainedModelsResponse = CatMlTrainedModelsTrainedModelsRecord[];
|
|
5666
5666
|
export interface CatMlTrainedModelsTrainedModelsRecord {
|
|
5667
5667
|
id?: Id;
|
|
5668
5668
|
created_by?: string;
|
|
@@ -5725,7 +5725,7 @@ export interface CatNodeattrsNodeAttributesRecord {
|
|
|
5725
5725
|
}
|
|
5726
5726
|
export interface CatNodeattrsRequest extends CatCatRequestBase {
|
|
5727
5727
|
}
|
|
5728
|
-
export
|
|
5728
|
+
export type CatNodeattrsResponse = CatNodeattrsNodeAttributesRecord[];
|
|
5729
5729
|
export interface CatNodesNodesRecord {
|
|
5730
5730
|
id?: Id;
|
|
5731
5731
|
nodeId?: Id;
|
|
@@ -5999,7 +5999,7 @@ export interface CatNodesRequest extends CatCatRequestBase {
|
|
|
5999
5999
|
bytes?: Bytes;
|
|
6000
6000
|
full_id?: boolean | string;
|
|
6001
6001
|
}
|
|
6002
|
-
export
|
|
6002
|
+
export type CatNodesResponse = CatNodesNodesRecord[];
|
|
6003
6003
|
export interface CatPendingTasksPendingTasksRecord {
|
|
6004
6004
|
insertOrder?: string;
|
|
6005
6005
|
o?: string;
|
|
@@ -6012,7 +6012,7 @@ export interface CatPendingTasksPendingTasksRecord {
|
|
|
6012
6012
|
}
|
|
6013
6013
|
export interface CatPendingTasksRequest extends CatCatRequestBase {
|
|
6014
6014
|
}
|
|
6015
|
-
export
|
|
6015
|
+
export type CatPendingTasksResponse = CatPendingTasksPendingTasksRecord[];
|
|
6016
6016
|
export interface CatPluginsPluginsRecord {
|
|
6017
6017
|
id?: NodeId;
|
|
6018
6018
|
name?: Name;
|
|
@@ -6028,7 +6028,7 @@ export interface CatPluginsPluginsRecord {
|
|
|
6028
6028
|
}
|
|
6029
6029
|
export interface CatPluginsRequest extends CatCatRequestBase {
|
|
6030
6030
|
}
|
|
6031
|
-
export
|
|
6031
|
+
export type CatPluginsResponse = CatPluginsPluginsRecord[];
|
|
6032
6032
|
export interface CatRecoveryRecoveryRecord {
|
|
6033
6033
|
index?: IndexName;
|
|
6034
6034
|
i?: IndexName;
|
|
@@ -6092,7 +6092,7 @@ export interface CatRecoveryRequest extends CatCatRequestBase {
|
|
|
6092
6092
|
bytes?: Bytes;
|
|
6093
6093
|
detailed?: boolean;
|
|
6094
6094
|
}
|
|
6095
|
-
export
|
|
6095
|
+
export type CatRecoveryResponse = CatRecoveryRecoveryRecord[];
|
|
6096
6096
|
export interface CatRepositoriesRepositoriesRecord {
|
|
6097
6097
|
id?: string;
|
|
6098
6098
|
repoId?: string;
|
|
@@ -6101,12 +6101,12 @@ export interface CatRepositoriesRepositoriesRecord {
|
|
|
6101
6101
|
}
|
|
6102
6102
|
export interface CatRepositoriesRequest extends CatCatRequestBase {
|
|
6103
6103
|
}
|
|
6104
|
-
export
|
|
6104
|
+
export type CatRepositoriesResponse = CatRepositoriesRepositoriesRecord[];
|
|
6105
6105
|
export interface CatSegmentsRequest extends CatCatRequestBase {
|
|
6106
6106
|
index?: Indices;
|
|
6107
6107
|
bytes?: Bytes;
|
|
6108
6108
|
}
|
|
6109
|
-
export
|
|
6109
|
+
export type CatSegmentsResponse = CatSegmentsSegmentsRecord[];
|
|
6110
6110
|
export interface CatSegmentsSegmentsRecord {
|
|
6111
6111
|
index?: IndexName;
|
|
6112
6112
|
i?: IndexName;
|
|
@@ -6152,7 +6152,7 @@ export interface CatShardsRequest extends CatCatRequestBase {
|
|
|
6152
6152
|
index?: Indices;
|
|
6153
6153
|
bytes?: Bytes;
|
|
6154
6154
|
}
|
|
6155
|
-
export
|
|
6155
|
+
export type CatShardsResponse = CatShardsShardsRecord[];
|
|
6156
6156
|
export interface CatShardsShardsRecord {
|
|
6157
6157
|
index?: string;
|
|
6158
6158
|
i?: string;
|
|
@@ -6370,7 +6370,7 @@ export interface CatSnapshotsRequest extends CatCatRequestBase {
|
|
|
6370
6370
|
repository?: Names;
|
|
6371
6371
|
ignore_unavailable?: boolean;
|
|
6372
6372
|
}
|
|
6373
|
-
export
|
|
6373
|
+
export type CatSnapshotsResponse = CatSnapshotsSnapshotsRecord[];
|
|
6374
6374
|
export interface CatSnapshotsSnapshotsRecord {
|
|
6375
6375
|
id?: string;
|
|
6376
6376
|
snapshot?: string;
|
|
@@ -6410,7 +6410,7 @@ export interface CatTasksRequest extends CatCatRequestBase {
|
|
|
6410
6410
|
node_id?: string[];
|
|
6411
6411
|
parent_task?: long;
|
|
6412
6412
|
}
|
|
6413
|
-
export
|
|
6413
|
+
export type CatTasksResponse = CatTasksTasksRecord[];
|
|
6414
6414
|
export interface CatTasksTasksRecord {
|
|
6415
6415
|
id?: Id;
|
|
6416
6416
|
action?: string;
|
|
@@ -6448,7 +6448,7 @@ export interface CatTasksTasksRecord {
|
|
|
6448
6448
|
export interface CatTemplatesRequest extends CatCatRequestBase {
|
|
6449
6449
|
name?: Name;
|
|
6450
6450
|
}
|
|
6451
|
-
export
|
|
6451
|
+
export type CatTemplatesResponse = CatTemplatesTemplatesRecord[];
|
|
6452
6452
|
export interface CatTemplatesTemplatesRecord {
|
|
6453
6453
|
name?: Name;
|
|
6454
6454
|
n?: Name;
|
|
@@ -6466,7 +6466,7 @@ export interface CatThreadPoolRequest extends CatCatRequestBase {
|
|
|
6466
6466
|
thread_pool_patterns?: Names;
|
|
6467
6467
|
time?: TimeUnit;
|
|
6468
6468
|
}
|
|
6469
|
-
export
|
|
6469
|
+
export type CatThreadPoolResponse = CatThreadPoolThreadPoolRecord[];
|
|
6470
6470
|
export interface CatThreadPoolThreadPoolRecord {
|
|
6471
6471
|
node_name?: string;
|
|
6472
6472
|
nn?: string;
|
|
@@ -6518,7 +6518,7 @@ export interface CatTransformsRequest extends CatCatRequestBase {
|
|
|
6518
6518
|
time?: TimeUnit;
|
|
6519
6519
|
size?: integer;
|
|
6520
6520
|
}
|
|
6521
|
-
export
|
|
6521
|
+
export type CatTransformsResponse = CatTransformsTransformsRecord[];
|
|
6522
6522
|
export interface CatTransformsTransformsRecord {
|
|
6523
6523
|
id?: Id;
|
|
6524
6524
|
state?: string;
|
|
@@ -6640,7 +6640,7 @@ export interface CcrShardStats {
|
|
|
6640
6640
|
export interface CcrDeleteAutoFollowPatternRequest extends RequestBase {
|
|
6641
6641
|
name: Name;
|
|
6642
6642
|
}
|
|
6643
|
-
export
|
|
6643
|
+
export type CcrDeleteAutoFollowPatternResponse = AcknowledgedResponseBase;
|
|
6644
6644
|
export interface CcrFollowRequest extends RequestBase {
|
|
6645
6645
|
index: IndexName;
|
|
6646
6646
|
wait_for_active_shards?: WaitForActiveShards;
|
|
@@ -6681,7 +6681,7 @@ export interface CcrFollowInfoFollowerIndexParameters {
|
|
|
6681
6681
|
max_write_request_size: string;
|
|
6682
6682
|
read_poll_timeout: Duration;
|
|
6683
6683
|
}
|
|
6684
|
-
export
|
|
6684
|
+
export type CcrFollowInfoFollowerIndexStatus = 'active' | 'paused';
|
|
6685
6685
|
export interface CcrFollowInfoRequest extends RequestBase {
|
|
6686
6686
|
index: Indices;
|
|
6687
6687
|
}
|
|
@@ -6725,11 +6725,11 @@ export interface CcrGetAutoFollowPatternResponse {
|
|
|
6725
6725
|
export interface CcrPauseAutoFollowPatternRequest extends RequestBase {
|
|
6726
6726
|
name: Name;
|
|
6727
6727
|
}
|
|
6728
|
-
export
|
|
6728
|
+
export type CcrPauseAutoFollowPatternResponse = AcknowledgedResponseBase;
|
|
6729
6729
|
export interface CcrPauseFollowRequest extends RequestBase {
|
|
6730
6730
|
index: IndexName;
|
|
6731
6731
|
}
|
|
6732
|
-
export
|
|
6732
|
+
export type CcrPauseFollowResponse = AcknowledgedResponseBase;
|
|
6733
6733
|
export interface CcrPutAutoFollowPatternRequest extends RequestBase {
|
|
6734
6734
|
name: Name;
|
|
6735
6735
|
remote_cluster: string;
|
|
@@ -6748,11 +6748,11 @@ export interface CcrPutAutoFollowPatternRequest extends RequestBase {
|
|
|
6748
6748
|
max_write_request_operation_count?: integer;
|
|
6749
6749
|
max_write_request_size?: ByteSize;
|
|
6750
6750
|
}
|
|
6751
|
-
export
|
|
6751
|
+
export type CcrPutAutoFollowPatternResponse = AcknowledgedResponseBase;
|
|
6752
6752
|
export interface CcrResumeAutoFollowPatternRequest extends RequestBase {
|
|
6753
6753
|
name: Name;
|
|
6754
6754
|
}
|
|
6755
|
-
export
|
|
6755
|
+
export type CcrResumeAutoFollowPatternResponse = AcknowledgedResponseBase;
|
|
6756
6756
|
export interface CcrResumeFollowRequest extends RequestBase {
|
|
6757
6757
|
index: IndexName;
|
|
6758
6758
|
max_outstanding_read_requests?: long;
|
|
@@ -6766,7 +6766,7 @@ export interface CcrResumeFollowRequest extends RequestBase {
|
|
|
6766
6766
|
max_write_request_size?: string;
|
|
6767
6767
|
read_poll_timeout?: Duration;
|
|
6768
6768
|
}
|
|
6769
|
-
export
|
|
6769
|
+
export type CcrResumeFollowResponse = AcknowledgedResponseBase;
|
|
6770
6770
|
export interface CcrStatsAutoFollowStats {
|
|
6771
6771
|
auto_followed_clusters: CcrStatsAutoFollowedCluster[];
|
|
6772
6772
|
number_of_failed_follow_indices: long;
|
|
@@ -6791,7 +6791,7 @@ export interface CcrStatsResponse {
|
|
|
6791
6791
|
export interface CcrUnfollowRequest extends RequestBase {
|
|
6792
6792
|
index: IndexName;
|
|
6793
6793
|
}
|
|
6794
|
-
export
|
|
6794
|
+
export type CcrUnfollowResponse = AcknowledgedResponseBase;
|
|
6795
6795
|
export interface ClusterComponentTemplate {
|
|
6796
6796
|
name: Name;
|
|
6797
6797
|
component_template: ClusterComponentTemplateNode;
|
|
@@ -6813,7 +6813,7 @@ export interface ClusterAllocationExplainAllocationDecision {
|
|
|
6813
6813
|
decision: ClusterAllocationExplainAllocationExplainDecision;
|
|
6814
6814
|
explanation: string;
|
|
6815
6815
|
}
|
|
6816
|
-
export
|
|
6816
|
+
export type ClusterAllocationExplainAllocationExplainDecision = 'NO' | 'YES' | 'THROTTLE' | 'ALWAYS';
|
|
6817
6817
|
export interface ClusterAllocationExplainAllocationStore {
|
|
6818
6818
|
allocation_id: string;
|
|
6819
6819
|
found: boolean;
|
|
@@ -6836,7 +6836,7 @@ export interface ClusterAllocationExplainCurrentNode {
|
|
|
6836
6836
|
transport_address: TransportAddress;
|
|
6837
6837
|
weight_ranking: integer;
|
|
6838
6838
|
}
|
|
6839
|
-
export
|
|
6839
|
+
export type ClusterAllocationExplainDecision = 'yes' | 'no' | 'worse_balance' | 'throttled' | 'awaiting_info' | 'allocation_delayed' | 'no_valid_shard_copy' | 'no_attempt';
|
|
6840
6840
|
export interface ClusterAllocationExplainDiskUsage {
|
|
6841
6841
|
path: string;
|
|
6842
6842
|
total_bytes: long;
|
|
@@ -6910,23 +6910,23 @@ export interface ClusterAllocationExplainUnassignedInformation {
|
|
|
6910
6910
|
delayed?: boolean;
|
|
6911
6911
|
allocation_status?: string;
|
|
6912
6912
|
}
|
|
6913
|
-
export
|
|
6913
|
+
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';
|
|
6914
6914
|
export interface ClusterDeleteComponentTemplateRequest extends RequestBase {
|
|
6915
6915
|
name: Names;
|
|
6916
6916
|
master_timeout?: Duration;
|
|
6917
6917
|
timeout?: Duration;
|
|
6918
6918
|
}
|
|
6919
|
-
export
|
|
6919
|
+
export type ClusterDeleteComponentTemplateResponse = AcknowledgedResponseBase;
|
|
6920
6920
|
export interface ClusterDeleteVotingConfigExclusionsRequest extends RequestBase {
|
|
6921
6921
|
wait_for_removal?: boolean;
|
|
6922
6922
|
}
|
|
6923
|
-
export
|
|
6923
|
+
export type ClusterDeleteVotingConfigExclusionsResponse = boolean;
|
|
6924
6924
|
export interface ClusterExistsComponentTemplateRequest extends RequestBase {
|
|
6925
6925
|
name: Names;
|
|
6926
6926
|
master_timeout?: Duration;
|
|
6927
6927
|
local?: boolean;
|
|
6928
6928
|
}
|
|
6929
|
-
export
|
|
6929
|
+
export type ClusterExistsComponentTemplateResponse = boolean;
|
|
6930
6930
|
export interface ClusterGetComponentTemplateRequest extends RequestBase {
|
|
6931
6931
|
name?: Name;
|
|
6932
6932
|
flat_settings?: boolean;
|
|
@@ -7019,7 +7019,7 @@ export interface ClusterPostVotingConfigExclusionsRequest extends RequestBase {
|
|
|
7019
7019
|
node_ids?: Ids;
|
|
7020
7020
|
timeout?: Duration;
|
|
7021
7021
|
}
|
|
7022
|
-
export
|
|
7022
|
+
export type ClusterPostVotingConfigExclusionsResponse = boolean;
|
|
7023
7023
|
export interface ClusterPutComponentTemplateRequest extends RequestBase {
|
|
7024
7024
|
name: Name;
|
|
7025
7025
|
create?: boolean;
|
|
@@ -7031,7 +7031,7 @@ export interface ClusterPutComponentTemplateRequest extends RequestBase {
|
|
|
7031
7031
|
version?: VersionNumber;
|
|
7032
7032
|
_meta?: Metadata;
|
|
7033
7033
|
}
|
|
7034
|
-
export
|
|
7034
|
+
export type ClusterPutComponentTemplateResponse = AcknowledgedResponseBase;
|
|
7035
7035
|
export interface ClusterPutSettingsRequest extends RequestBase {
|
|
7036
7036
|
flat_settings?: boolean;
|
|
7037
7037
|
master_timeout?: Duration;
|
|
@@ -7044,7 +7044,7 @@ export interface ClusterPutSettingsResponse {
|
|
|
7044
7044
|
persistent: Record<string, any>;
|
|
7045
7045
|
transient: Record<string, any>;
|
|
7046
7046
|
}
|
|
7047
|
-
export
|
|
7047
|
+
export type ClusterRemoteInfoClusterRemoteInfo = ClusterRemoteInfoClusterRemoteSniffInfo | ClusterRemoteInfoClusterRemoteProxyInfo;
|
|
7048
7048
|
export interface ClusterRemoteInfoClusterRemoteProxyInfo {
|
|
7049
7049
|
mode: 'proxy';
|
|
7050
7050
|
connected: boolean;
|
|
@@ -7066,7 +7066,7 @@ export interface ClusterRemoteInfoClusterRemoteSniffInfo {
|
|
|
7066
7066
|
}
|
|
7067
7067
|
export interface ClusterRemoteInfoRequest extends RequestBase {
|
|
7068
7068
|
}
|
|
7069
|
-
export
|
|
7069
|
+
export type ClusterRemoteInfoResponse = Record<string, ClusterRemoteInfoClusterRemoteInfo>;
|
|
7070
7070
|
export interface ClusterRerouteCommand {
|
|
7071
7071
|
cancel?: ClusterRerouteCommandCancelAction;
|
|
7072
7072
|
move?: ClusterRerouteCommandMoveAction;
|
|
@@ -7141,7 +7141,7 @@ export interface ClusterStateRequest extends RequestBase {
|
|
|
7141
7141
|
wait_for_metadata_version?: VersionNumber;
|
|
7142
7142
|
wait_for_timeout?: Duration;
|
|
7143
7143
|
}
|
|
7144
|
-
export
|
|
7144
|
+
export type ClusterStateResponse = any;
|
|
7145
7145
|
export interface ClusterStatsCharFilterTypes {
|
|
7146
7146
|
char_filter_types: ClusterStatsFieldTypes[];
|
|
7147
7147
|
tokenizer_types: ClusterStatsFieldTypes[];
|
|
@@ -7334,7 +7334,7 @@ export interface ClusterStatsRequest extends RequestBase {
|
|
|
7334
7334
|
flat_settings?: boolean;
|
|
7335
7335
|
timeout?: Duration;
|
|
7336
7336
|
}
|
|
7337
|
-
export
|
|
7337
|
+
export type ClusterStatsResponse = ClusterStatsStatsResponseBase;
|
|
7338
7338
|
export interface ClusterStatsRuntimeFieldTypes {
|
|
7339
7339
|
name: Name;
|
|
7340
7340
|
count: integer;
|
|
@@ -7365,14 +7365,14 @@ export interface DanglingIndicesDeleteDanglingIndexRequest extends RequestBase {
|
|
|
7365
7365
|
master_timeout?: Duration;
|
|
7366
7366
|
timeout?: Duration;
|
|
7367
7367
|
}
|
|
7368
|
-
export
|
|
7368
|
+
export type DanglingIndicesDeleteDanglingIndexResponse = AcknowledgedResponseBase;
|
|
7369
7369
|
export interface DanglingIndicesImportDanglingIndexRequest extends RequestBase {
|
|
7370
7370
|
index_uuid: Uuid;
|
|
7371
7371
|
accept_data_loss: boolean;
|
|
7372
7372
|
master_timeout?: Duration;
|
|
7373
7373
|
timeout?: Duration;
|
|
7374
7374
|
}
|
|
7375
|
-
export
|
|
7375
|
+
export type DanglingIndicesImportDanglingIndexResponse = AcknowledgedResponseBase;
|
|
7376
7376
|
export interface DanglingIndicesListDanglingIndicesDanglingIndex {
|
|
7377
7377
|
index_name: string;
|
|
7378
7378
|
index_uuid: string;
|
|
@@ -7402,8 +7402,8 @@ export interface EnrichSummary {
|
|
|
7402
7402
|
export interface EnrichDeletePolicyRequest extends RequestBase {
|
|
7403
7403
|
name: Name;
|
|
7404
7404
|
}
|
|
7405
|
-
export
|
|
7406
|
-
export
|
|
7405
|
+
export type EnrichDeletePolicyResponse = AcknowledgedResponseBase;
|
|
7406
|
+
export type EnrichExecutePolicyEnrichPolicyPhase = 'SCHEDULED' | 'RUNNING' | 'COMPLETE' | 'FAILED';
|
|
7407
7407
|
export interface EnrichExecutePolicyExecuteEnrichPolicyStatus {
|
|
7408
7408
|
phase: EnrichExecutePolicyEnrichPolicyPhase;
|
|
7409
7409
|
}
|
|
@@ -7427,7 +7427,7 @@ export interface EnrichPutPolicyRequest extends RequestBase {
|
|
|
7427
7427
|
match?: EnrichPolicy;
|
|
7428
7428
|
range?: EnrichPolicy;
|
|
7429
7429
|
}
|
|
7430
|
-
export
|
|
7430
|
+
export type EnrichPutPolicyResponse = AcknowledgedResponseBase;
|
|
7431
7431
|
export interface EnrichStatsCacheStats {
|
|
7432
7432
|
node_id: Id;
|
|
7433
7433
|
count: integer;
|
|
@@ -7479,13 +7479,13 @@ export interface EqlHitsSequence<TEvent = unknown> {
|
|
|
7479
7479
|
export interface EqlDeleteRequest extends RequestBase {
|
|
7480
7480
|
id: Id;
|
|
7481
7481
|
}
|
|
7482
|
-
export
|
|
7482
|
+
export type EqlDeleteResponse = AcknowledgedResponseBase;
|
|
7483
7483
|
export interface EqlGetRequest extends RequestBase {
|
|
7484
7484
|
id: Id;
|
|
7485
7485
|
keep_alive?: Duration;
|
|
7486
7486
|
wait_for_completion_timeout?: Duration;
|
|
7487
7487
|
}
|
|
7488
|
-
export
|
|
7488
|
+
export type EqlGetResponse<TEvent = unknown> = EqlEqlSearchResponseBase<TEvent>;
|
|
7489
7489
|
export interface EqlGetStatusRequest extends RequestBase {
|
|
7490
7490
|
id: Id;
|
|
7491
7491
|
}
|
|
@@ -7517,8 +7517,8 @@ export interface EqlSearchRequest extends RequestBase {
|
|
|
7517
7517
|
result_position?: EqlSearchResultPosition;
|
|
7518
7518
|
runtime_mappings?: MappingRuntimeFields;
|
|
7519
7519
|
}
|
|
7520
|
-
export
|
|
7521
|
-
export
|
|
7520
|
+
export type EqlSearchResponse<TEvent = unknown> = EqlEqlSearchResponseBase<TEvent>;
|
|
7521
|
+
export type EqlSearchResultPosition = 'tail' | 'head';
|
|
7522
7522
|
export interface FeaturesFeature {
|
|
7523
7523
|
name: string;
|
|
7524
7524
|
description: string;
|
|
@@ -7533,7 +7533,7 @@ export interface FeaturesResetFeaturesRequest extends RequestBase {
|
|
|
7533
7533
|
export interface FeaturesResetFeaturesResponse {
|
|
7534
7534
|
features: FeaturesFeature[];
|
|
7535
7535
|
}
|
|
7536
|
-
export
|
|
7536
|
+
export type FleetCheckpoint = long;
|
|
7537
7537
|
export interface FleetGlobalCheckpointsRequest extends RequestBase {
|
|
7538
7538
|
index: IndexName | IndexAlias;
|
|
7539
7539
|
wait_for_advance?: boolean;
|
|
@@ -7701,7 +7701,7 @@ export interface GraphExploreResponse {
|
|
|
7701
7701
|
took: long;
|
|
7702
7702
|
vertices: GraphVertex[];
|
|
7703
7703
|
}
|
|
7704
|
-
export
|
|
7704
|
+
export type IlmActions = any;
|
|
7705
7705
|
export interface IlmConfigurations {
|
|
7706
7706
|
rollover?: IndicesRolloverRolloverConditions;
|
|
7707
7707
|
forcemerge?: IlmForceMergeConfiguration;
|
|
@@ -7733,8 +7733,8 @@ export interface IlmDeleteLifecycleRequest extends RequestBase {
|
|
|
7733
7733
|
master_timeout?: Duration;
|
|
7734
7734
|
timeout?: Duration;
|
|
7735
7735
|
}
|
|
7736
|
-
export
|
|
7737
|
-
export
|
|
7736
|
+
export type IlmDeleteLifecycleResponse = AcknowledgedResponseBase;
|
|
7737
|
+
export type IlmExplainLifecycleLifecycleExplain = IlmExplainLifecycleLifecycleExplainManaged | IlmExplainLifecycleLifecycleExplainUnmanaged;
|
|
7738
7738
|
export interface IlmExplainLifecycleLifecycleExplainManaged {
|
|
7739
7739
|
action?: Name;
|
|
7740
7740
|
action_time?: DateTime;
|
|
@@ -7789,7 +7789,7 @@ export interface IlmGetLifecycleRequest extends RequestBase {
|
|
|
7789
7789
|
master_timeout?: Duration;
|
|
7790
7790
|
timeout?: Duration;
|
|
7791
7791
|
}
|
|
7792
|
-
export
|
|
7792
|
+
export type IlmGetLifecycleResponse = Record<string, IlmGetLifecycleLifecycle>;
|
|
7793
7793
|
export interface IlmGetStatusRequest extends RequestBase {
|
|
7794
7794
|
}
|
|
7795
7795
|
export interface IlmGetStatusResponse {
|
|
@@ -7814,7 +7814,7 @@ export interface IlmMoveToStepRequest extends RequestBase {
|
|
|
7814
7814
|
current_step?: IlmMoveToStepStepKey;
|
|
7815
7815
|
next_step?: IlmMoveToStepStepKey;
|
|
7816
7816
|
}
|
|
7817
|
-
export
|
|
7817
|
+
export type IlmMoveToStepResponse = AcknowledgedResponseBase;
|
|
7818
7818
|
export interface IlmMoveToStepStepKey {
|
|
7819
7819
|
action: string;
|
|
7820
7820
|
name: string;
|
|
@@ -7826,7 +7826,7 @@ export interface IlmPutLifecycleRequest extends RequestBase {
|
|
|
7826
7826
|
timeout?: Duration;
|
|
7827
7827
|
policy?: IlmPolicy;
|
|
7828
7828
|
}
|
|
7829
|
-
export
|
|
7829
|
+
export type IlmPutLifecycleResponse = AcknowledgedResponseBase;
|
|
7830
7830
|
export interface IlmRemovePolicyRequest extends RequestBase {
|
|
7831
7831
|
index: IndexName;
|
|
7832
7832
|
}
|
|
@@ -7837,17 +7837,17 @@ export interface IlmRemovePolicyResponse {
|
|
|
7837
7837
|
export interface IlmRetryRequest extends RequestBase {
|
|
7838
7838
|
index: IndexName;
|
|
7839
7839
|
}
|
|
7840
|
-
export
|
|
7840
|
+
export type IlmRetryResponse = AcknowledgedResponseBase;
|
|
7841
7841
|
export interface IlmStartRequest extends RequestBase {
|
|
7842
7842
|
master_timeout?: Duration;
|
|
7843
7843
|
timeout?: Duration;
|
|
7844
7844
|
}
|
|
7845
|
-
export
|
|
7845
|
+
export type IlmStartResponse = AcknowledgedResponseBase;
|
|
7846
7846
|
export interface IlmStopRequest extends RequestBase {
|
|
7847
7847
|
master_timeout?: Duration;
|
|
7848
7848
|
timeout?: Duration;
|
|
7849
7849
|
}
|
|
7850
|
-
export
|
|
7850
|
+
export type IlmStopResponse = AcknowledgedResponseBase;
|
|
7851
7851
|
export interface IndicesAlias {
|
|
7852
7852
|
filter?: QueryDslQueryContainer;
|
|
7853
7853
|
index_routing?: Routing;
|
|
@@ -7896,7 +7896,7 @@ export interface IndicesFielddataFrequencyFilter {
|
|
|
7896
7896
|
min: double;
|
|
7897
7897
|
min_segment_size: integer;
|
|
7898
7898
|
}
|
|
7899
|
-
export
|
|
7899
|
+
export type IndicesIndexCheckOnStartup = boolean | 'true' | 'false' | 'checksum';
|
|
7900
7900
|
export interface IndicesIndexRouting {
|
|
7901
7901
|
allocation?: IndicesIndexRoutingAllocation;
|
|
7902
7902
|
rebalance?: IndicesIndexRoutingRebalance;
|
|
@@ -7917,11 +7917,11 @@ export interface IndicesIndexRoutingAllocationInclude {
|
|
|
7917
7917
|
export interface IndicesIndexRoutingAllocationInitialRecovery {
|
|
7918
7918
|
_id?: Id;
|
|
7919
7919
|
}
|
|
7920
|
-
export
|
|
7920
|
+
export type IndicesIndexRoutingAllocationOptions = 'all' | 'primaries' | 'new_primaries' | 'none';
|
|
7921
7921
|
export interface IndicesIndexRoutingRebalance {
|
|
7922
7922
|
enable: IndicesIndexRoutingRebalanceOptions;
|
|
7923
7923
|
}
|
|
7924
|
-
export
|
|
7924
|
+
export type IndicesIndexRoutingRebalanceOptions = 'all' | 'primaries' | 'replicas' | 'none';
|
|
7925
7925
|
export interface IndicesIndexSegmentSort {
|
|
7926
7926
|
field?: Fields;
|
|
7927
7927
|
order?: IndicesSegmentSortOrder | IndicesSegmentSortOrder[];
|
|
@@ -7994,7 +7994,7 @@ export interface IndicesIndexSettingsKeys {
|
|
|
7994
7994
|
indexing_pressure?: IndicesIndexingPressure;
|
|
7995
7995
|
store?: IndicesStorage;
|
|
7996
7996
|
}
|
|
7997
|
-
export
|
|
7997
|
+
export type IndicesIndexSettings = IndicesIndexSettingsKeys & {
|
|
7998
7998
|
[property: string]: any;
|
|
7999
7999
|
};
|
|
8000
8000
|
export interface IndicesIndexSettingsAnalysis {
|
|
@@ -8091,7 +8091,7 @@ export interface IndicesMergeScheduler {
|
|
|
8091
8091
|
export interface IndicesNumericFielddata {
|
|
8092
8092
|
format: IndicesNumericFielddataFormat;
|
|
8093
8093
|
}
|
|
8094
|
-
export
|
|
8094
|
+
export type IndicesNumericFielddataFormat = 'array' | 'disabled';
|
|
8095
8095
|
export interface IndicesQueries {
|
|
8096
8096
|
cache?: IndicesCacheQueries;
|
|
8097
8097
|
}
|
|
@@ -8101,9 +8101,9 @@ export interface IndicesRetentionLease {
|
|
|
8101
8101
|
export interface IndicesSearchIdle {
|
|
8102
8102
|
after?: Duration;
|
|
8103
8103
|
}
|
|
8104
|
-
export
|
|
8105
|
-
export
|
|
8106
|
-
export
|
|
8104
|
+
export type IndicesSegmentSortMissing = '_last' | '_first';
|
|
8105
|
+
export type IndicesSegmentSortMode = 'min' | 'MIN' | 'max' | 'MAX';
|
|
8106
|
+
export type IndicesSegmentSortOrder = 'asc' | 'ASC' | 'desc' | 'DESC';
|
|
8107
8107
|
export interface IndicesSettingsAnalyze {
|
|
8108
8108
|
max_token_count?: integer;
|
|
8109
8109
|
}
|
|
@@ -8185,7 +8185,7 @@ export interface IndicesStorage {
|
|
|
8185
8185
|
type: IndicesStorageType;
|
|
8186
8186
|
allow_mmap?: boolean;
|
|
8187
8187
|
}
|
|
8188
|
-
export
|
|
8188
|
+
export type IndicesStorageType = 'fs' | '' | 'niofs' | 'mmapfs' | 'hybridfs';
|
|
8189
8189
|
export interface IndicesTemplateMapping {
|
|
8190
8190
|
aliases: Record<IndexName, IndicesAlias>;
|
|
8191
8191
|
index_patterns: Name[];
|
|
@@ -8200,12 +8200,12 @@ export interface IndicesTranslog {
|
|
|
8200
8200
|
flush_threshold_size?: ByteSize;
|
|
8201
8201
|
retention?: IndicesTranslogRetention;
|
|
8202
8202
|
}
|
|
8203
|
-
export
|
|
8203
|
+
export type IndicesTranslogDurability = 'request' | 'REQUEST' | 'async' | 'ASYNC';
|
|
8204
8204
|
export interface IndicesTranslogRetention {
|
|
8205
8205
|
size?: ByteSize;
|
|
8206
8206
|
age?: Duration;
|
|
8207
8207
|
}
|
|
8208
|
-
export
|
|
8208
|
+
export type IndicesAddBlockIndicesBlockOptions = 'metadata' | 'read' | 'read_only' | 'write';
|
|
8209
8209
|
export interface IndicesAddBlockIndicesBlockStatus {
|
|
8210
8210
|
name: IndexName;
|
|
8211
8211
|
blocked: boolean;
|
|
@@ -8258,7 +8258,7 @@ export interface IndicesAnalyzeExplainAnalyzeTokenKeys {
|
|
|
8258
8258
|
token: string;
|
|
8259
8259
|
type: string;
|
|
8260
8260
|
}
|
|
8261
|
-
export
|
|
8261
|
+
export type IndicesAnalyzeExplainAnalyzeToken = IndicesAnalyzeExplainAnalyzeTokenKeys & {
|
|
8262
8262
|
[property: string]: any;
|
|
8263
8263
|
};
|
|
8264
8264
|
export interface IndicesAnalyzeRequest extends RequestBase {
|
|
@@ -8277,7 +8277,7 @@ export interface IndicesAnalyzeResponse {
|
|
|
8277
8277
|
detail?: IndicesAnalyzeAnalyzeDetail;
|
|
8278
8278
|
tokens?: IndicesAnalyzeAnalyzeToken[];
|
|
8279
8279
|
}
|
|
8280
|
-
export
|
|
8280
|
+
export type IndicesAnalyzeTextToAnalyze = string | string[];
|
|
8281
8281
|
export interface IndicesAnalyzeTokenDetail {
|
|
8282
8282
|
name: string;
|
|
8283
8283
|
tokens: IndicesAnalyzeExplainAnalyzeToken[];
|
|
@@ -8292,7 +8292,7 @@ export interface IndicesClearCacheRequest extends RequestBase {
|
|
|
8292
8292
|
query?: boolean;
|
|
8293
8293
|
request?: boolean;
|
|
8294
8294
|
}
|
|
8295
|
-
export
|
|
8295
|
+
export type IndicesClearCacheResponse = ShardsOperationResponseBase;
|
|
8296
8296
|
export interface IndicesCloneRequest extends RequestBase {
|
|
8297
8297
|
index: IndexName;
|
|
8298
8298
|
target: Name;
|
|
@@ -8345,7 +8345,7 @@ export interface IndicesCreateResponse {
|
|
|
8345
8345
|
export interface IndicesCreateDataStreamRequest extends RequestBase {
|
|
8346
8346
|
name: DataStreamName;
|
|
8347
8347
|
}
|
|
8348
|
-
export
|
|
8348
|
+
export type IndicesCreateDataStreamResponse = AcknowledgedResponseBase;
|
|
8349
8349
|
export interface IndicesDataStreamsStatsDataStreamsStatsItem {
|
|
8350
8350
|
backing_indices: integer;
|
|
8351
8351
|
data_stream: Name;
|
|
@@ -8373,31 +8373,31 @@ export interface IndicesDeleteRequest extends RequestBase {
|
|
|
8373
8373
|
master_timeout?: Duration;
|
|
8374
8374
|
timeout?: Duration;
|
|
8375
8375
|
}
|
|
8376
|
-
export
|
|
8376
|
+
export type IndicesDeleteResponse = IndicesResponseBase;
|
|
8377
8377
|
export interface IndicesDeleteAliasRequest extends RequestBase {
|
|
8378
8378
|
index: Indices;
|
|
8379
8379
|
name: Names;
|
|
8380
8380
|
master_timeout?: Duration;
|
|
8381
8381
|
timeout?: Duration;
|
|
8382
8382
|
}
|
|
8383
|
-
export
|
|
8383
|
+
export type IndicesDeleteAliasResponse = AcknowledgedResponseBase;
|
|
8384
8384
|
export interface IndicesDeleteDataStreamRequest extends RequestBase {
|
|
8385
8385
|
name: DataStreamNames;
|
|
8386
8386
|
expand_wildcards?: ExpandWildcards;
|
|
8387
8387
|
}
|
|
8388
|
-
export
|
|
8388
|
+
export type IndicesDeleteDataStreamResponse = AcknowledgedResponseBase;
|
|
8389
8389
|
export interface IndicesDeleteIndexTemplateRequest extends RequestBase {
|
|
8390
8390
|
name: Names;
|
|
8391
8391
|
master_timeout?: Duration;
|
|
8392
8392
|
timeout?: Duration;
|
|
8393
8393
|
}
|
|
8394
|
-
export
|
|
8394
|
+
export type IndicesDeleteIndexTemplateResponse = AcknowledgedResponseBase;
|
|
8395
8395
|
export interface IndicesDeleteTemplateRequest extends RequestBase {
|
|
8396
8396
|
name: Name;
|
|
8397
8397
|
master_timeout?: Duration;
|
|
8398
8398
|
timeout?: Duration;
|
|
8399
8399
|
}
|
|
8400
|
-
export
|
|
8400
|
+
export type IndicesDeleteTemplateResponse = AcknowledgedResponseBase;
|
|
8401
8401
|
export interface IndicesDiskUsageRequest extends RequestBase {
|
|
8402
8402
|
index: Indices;
|
|
8403
8403
|
allow_no_indices?: boolean;
|
|
@@ -8406,13 +8406,13 @@ export interface IndicesDiskUsageRequest extends RequestBase {
|
|
|
8406
8406
|
ignore_unavailable?: boolean;
|
|
8407
8407
|
run_expensive_tasks?: boolean;
|
|
8408
8408
|
}
|
|
8409
|
-
export
|
|
8409
|
+
export type IndicesDiskUsageResponse = any;
|
|
8410
8410
|
export interface IndicesDownsampleRequest extends RequestBase {
|
|
8411
8411
|
index: IndexName;
|
|
8412
8412
|
target_index: IndexName;
|
|
8413
8413
|
config?: any;
|
|
8414
8414
|
}
|
|
8415
|
-
export
|
|
8415
|
+
export type IndicesDownsampleResponse = any;
|
|
8416
8416
|
export interface IndicesExistsRequest extends RequestBase {
|
|
8417
8417
|
index: Indices;
|
|
8418
8418
|
allow_no_indices?: boolean;
|
|
@@ -8422,7 +8422,7 @@ export interface IndicesExistsRequest extends RequestBase {
|
|
|
8422
8422
|
include_defaults?: boolean;
|
|
8423
8423
|
local?: boolean;
|
|
8424
8424
|
}
|
|
8425
|
-
export
|
|
8425
|
+
export type IndicesExistsResponse = boolean;
|
|
8426
8426
|
export interface IndicesExistsAliasRequest extends RequestBase {
|
|
8427
8427
|
name: Names;
|
|
8428
8428
|
index?: Indices;
|
|
@@ -8431,19 +8431,19 @@ export interface IndicesExistsAliasRequest extends RequestBase {
|
|
|
8431
8431
|
ignore_unavailable?: boolean;
|
|
8432
8432
|
local?: boolean;
|
|
8433
8433
|
}
|
|
8434
|
-
export
|
|
8434
|
+
export type IndicesExistsAliasResponse = boolean;
|
|
8435
8435
|
export interface IndicesExistsIndexTemplateRequest extends RequestBase {
|
|
8436
8436
|
name: Name;
|
|
8437
8437
|
master_timeout?: Duration;
|
|
8438
8438
|
}
|
|
8439
|
-
export
|
|
8439
|
+
export type IndicesExistsIndexTemplateResponse = boolean;
|
|
8440
8440
|
export interface IndicesExistsTemplateRequest extends RequestBase {
|
|
8441
8441
|
name: Names;
|
|
8442
8442
|
flat_settings?: boolean;
|
|
8443
8443
|
local?: boolean;
|
|
8444
8444
|
master_timeout?: Duration;
|
|
8445
8445
|
}
|
|
8446
|
-
export
|
|
8446
|
+
export type IndicesExistsTemplateResponse = boolean;
|
|
8447
8447
|
export interface IndicesFieldUsageStatsFieldSummary {
|
|
8448
8448
|
any: uint;
|
|
8449
8449
|
stored_fields: uint;
|
|
@@ -8457,7 +8457,7 @@ export interface IndicesFieldUsageStatsFieldSummary {
|
|
|
8457
8457
|
export interface IndicesFieldUsageStatsFieldsUsageBodyKeys {
|
|
8458
8458
|
_shards: ShardStatistics;
|
|
8459
8459
|
}
|
|
8460
|
-
export
|
|
8460
|
+
export type IndicesFieldUsageStatsFieldsUsageBody = IndicesFieldUsageStatsFieldsUsageBodyKeys & {
|
|
8461
8461
|
[property: string]: IndicesFieldUsageStatsUsageStatsIndex | ShardStatistics;
|
|
8462
8462
|
};
|
|
8463
8463
|
export interface IndicesFieldUsageStatsInvertedIndex {
|
|
@@ -8479,7 +8479,7 @@ export interface IndicesFieldUsageStatsRequest extends RequestBase {
|
|
|
8479
8479
|
timeout?: Duration;
|
|
8480
8480
|
wait_for_active_shards?: WaitForActiveShards;
|
|
8481
8481
|
}
|
|
8482
|
-
export
|
|
8482
|
+
export type IndicesFieldUsageStatsResponse = IndicesFieldUsageStatsFieldsUsageBody;
|
|
8483
8483
|
export interface IndicesFieldUsageStatsShardsStats {
|
|
8484
8484
|
all_fields: IndicesFieldUsageStatsFieldSummary;
|
|
8485
8485
|
fields: Record<Field, IndicesFieldUsageStatsFieldSummary>;
|
|
@@ -8501,7 +8501,7 @@ export interface IndicesFlushRequest extends RequestBase {
|
|
|
8501
8501
|
ignore_unavailable?: boolean;
|
|
8502
8502
|
wait_if_ongoing?: boolean;
|
|
8503
8503
|
}
|
|
8504
|
-
export
|
|
8504
|
+
export type IndicesFlushResponse = ShardsOperationResponseBase;
|
|
8505
8505
|
export interface IndicesForcemergeRequest extends RequestBase {
|
|
8506
8506
|
index?: Indices;
|
|
8507
8507
|
allow_no_indices?: boolean;
|
|
@@ -8512,9 +8512,9 @@ export interface IndicesForcemergeRequest extends RequestBase {
|
|
|
8512
8512
|
only_expunge_deletes?: boolean;
|
|
8513
8513
|
wait_for_completion?: boolean;
|
|
8514
8514
|
}
|
|
8515
|
-
export
|
|
8516
|
-
export
|
|
8517
|
-
export
|
|
8515
|
+
export type IndicesForcemergeResponse = ShardsOperationResponseBase;
|
|
8516
|
+
export type IndicesGetFeature = 'aliases' | 'mappings' | 'settings';
|
|
8517
|
+
export type IndicesGetFeatures = IndicesGetFeature | IndicesGetFeature[];
|
|
8518
8518
|
export interface IndicesGetRequest extends RequestBase {
|
|
8519
8519
|
index: Indices;
|
|
8520
8520
|
allow_no_indices?: boolean;
|
|
@@ -8526,7 +8526,7 @@ export interface IndicesGetRequest extends RequestBase {
|
|
|
8526
8526
|
master_timeout?: Duration;
|
|
8527
8527
|
features?: IndicesGetFeatures;
|
|
8528
8528
|
}
|
|
8529
|
-
export
|
|
8529
|
+
export type IndicesGetResponse = Record<IndexName, IndicesIndexState>;
|
|
8530
8530
|
export interface IndicesGetAliasIndexAliases {
|
|
8531
8531
|
aliases: Record<string, IndicesAliasDefinition>;
|
|
8532
8532
|
}
|
|
@@ -8538,7 +8538,7 @@ export interface IndicesGetAliasRequest extends RequestBase {
|
|
|
8538
8538
|
ignore_unavailable?: boolean;
|
|
8539
8539
|
local?: boolean;
|
|
8540
8540
|
}
|
|
8541
|
-
export
|
|
8541
|
+
export type IndicesGetAliasResponse = Record<IndexName, IndicesGetAliasIndexAliases>;
|
|
8542
8542
|
export interface IndicesGetDataStreamRequest extends RequestBase {
|
|
8543
8543
|
name?: DataStreamNames;
|
|
8544
8544
|
expand_wildcards?: ExpandWildcards;
|
|
@@ -8555,7 +8555,7 @@ export interface IndicesGetFieldMappingRequest extends RequestBase {
|
|
|
8555
8555
|
include_defaults?: boolean;
|
|
8556
8556
|
local?: boolean;
|
|
8557
8557
|
}
|
|
8558
|
-
export
|
|
8558
|
+
export type IndicesGetFieldMappingResponse = Record<IndexName, IndicesGetFieldMappingTypeFieldMappings>;
|
|
8559
8559
|
export interface IndicesGetFieldMappingTypeFieldMappings {
|
|
8560
8560
|
mappings: Record<Field, MappingFieldMapping>;
|
|
8561
8561
|
}
|
|
@@ -8584,7 +8584,7 @@ export interface IndicesGetMappingRequest extends RequestBase {
|
|
|
8584
8584
|
local?: boolean;
|
|
8585
8585
|
master_timeout?: Duration;
|
|
8586
8586
|
}
|
|
8587
|
-
export
|
|
8587
|
+
export type IndicesGetMappingResponse = Record<IndexName, IndicesGetMappingIndexMappingRecord>;
|
|
8588
8588
|
export interface IndicesGetSettingsRequest extends RequestBase {
|
|
8589
8589
|
index?: Indices;
|
|
8590
8590
|
name?: Names;
|
|
@@ -8596,18 +8596,18 @@ export interface IndicesGetSettingsRequest extends RequestBase {
|
|
|
8596
8596
|
local?: boolean;
|
|
8597
8597
|
master_timeout?: Duration;
|
|
8598
8598
|
}
|
|
8599
|
-
export
|
|
8599
|
+
export type IndicesGetSettingsResponse = Record<IndexName, IndicesIndexState>;
|
|
8600
8600
|
export interface IndicesGetTemplateRequest extends RequestBase {
|
|
8601
8601
|
name?: Names;
|
|
8602
8602
|
flat_settings?: boolean;
|
|
8603
8603
|
local?: boolean;
|
|
8604
8604
|
master_timeout?: Duration;
|
|
8605
8605
|
}
|
|
8606
|
-
export
|
|
8606
|
+
export type IndicesGetTemplateResponse = Record<string, IndicesTemplateMapping>;
|
|
8607
8607
|
export interface IndicesMigrateToDataStreamRequest extends RequestBase {
|
|
8608
8608
|
name: IndexName;
|
|
8609
8609
|
}
|
|
8610
|
-
export
|
|
8610
|
+
export type IndicesMigrateToDataStreamResponse = AcknowledgedResponseBase;
|
|
8611
8611
|
export interface IndicesModifyDataStreamAction {
|
|
8612
8612
|
add_backing_index?: IndicesModifyDataStreamIndexAndDataStreamAction;
|
|
8613
8613
|
remove_backing_index?: IndicesModifyDataStreamIndexAndDataStreamAction;
|
|
@@ -8619,7 +8619,7 @@ export interface IndicesModifyDataStreamIndexAndDataStreamAction {
|
|
|
8619
8619
|
export interface IndicesModifyDataStreamRequest extends RequestBase {
|
|
8620
8620
|
actions: IndicesModifyDataStreamAction[];
|
|
8621
8621
|
}
|
|
8622
|
-
export
|
|
8622
|
+
export type IndicesModifyDataStreamResponse = AcknowledgedResponseBase;
|
|
8623
8623
|
export interface IndicesOpenRequest extends RequestBase {
|
|
8624
8624
|
index: Indices;
|
|
8625
8625
|
allow_no_indices?: boolean;
|
|
@@ -8636,7 +8636,7 @@ export interface IndicesOpenResponse {
|
|
|
8636
8636
|
export interface IndicesPromoteDataStreamRequest extends RequestBase {
|
|
8637
8637
|
name: IndexName;
|
|
8638
8638
|
}
|
|
8639
|
-
export
|
|
8639
|
+
export type IndicesPromoteDataStreamResponse = any;
|
|
8640
8640
|
export interface IndicesPutAliasRequest extends RequestBase {
|
|
8641
8641
|
index: Indices;
|
|
8642
8642
|
name: Name;
|
|
@@ -8648,7 +8648,7 @@ export interface IndicesPutAliasRequest extends RequestBase {
|
|
|
8648
8648
|
routing?: Routing;
|
|
8649
8649
|
search_routing?: Routing;
|
|
8650
8650
|
}
|
|
8651
|
-
export
|
|
8651
|
+
export type IndicesPutAliasResponse = AcknowledgedResponseBase;
|
|
8652
8652
|
export interface IndicesPutIndexTemplateIndexTemplateMapping {
|
|
8653
8653
|
aliases?: Record<IndexName, IndicesAlias>;
|
|
8654
8654
|
mappings?: MappingTypeMapping;
|
|
@@ -8665,7 +8665,7 @@ export interface IndicesPutIndexTemplateRequest extends RequestBase {
|
|
|
8665
8665
|
version?: VersionNumber;
|
|
8666
8666
|
_meta?: Metadata;
|
|
8667
8667
|
}
|
|
8668
|
-
export
|
|
8668
|
+
export type IndicesPutIndexTemplateResponse = AcknowledgedResponseBase;
|
|
8669
8669
|
export interface IndicesPutMappingRequest extends RequestBase {
|
|
8670
8670
|
index: Indices;
|
|
8671
8671
|
allow_no_indices?: boolean;
|
|
@@ -8686,7 +8686,7 @@ export interface IndicesPutMappingRequest extends RequestBase {
|
|
|
8686
8686
|
_source?: MappingSourceField;
|
|
8687
8687
|
runtime?: MappingRuntimeFields;
|
|
8688
8688
|
}
|
|
8689
|
-
export
|
|
8689
|
+
export type IndicesPutMappingResponse = IndicesResponseBase;
|
|
8690
8690
|
export interface IndicesPutSettingsRequest extends RequestBase {
|
|
8691
8691
|
index?: Indices;
|
|
8692
8692
|
allow_no_indices?: boolean;
|
|
@@ -8698,7 +8698,7 @@ export interface IndicesPutSettingsRequest extends RequestBase {
|
|
|
8698
8698
|
timeout?: Duration;
|
|
8699
8699
|
settings?: IndicesIndexSettings;
|
|
8700
8700
|
}
|
|
8701
|
-
export
|
|
8701
|
+
export type IndicesPutSettingsResponse = AcknowledgedResponseBase;
|
|
8702
8702
|
export interface IndicesPutTemplateRequest extends RequestBase {
|
|
8703
8703
|
name: Name;
|
|
8704
8704
|
create?: boolean;
|
|
@@ -8712,7 +8712,7 @@ export interface IndicesPutTemplateRequest extends RequestBase {
|
|
|
8712
8712
|
settings?: Record<string, any>;
|
|
8713
8713
|
version?: VersionNumber;
|
|
8714
8714
|
}
|
|
8715
|
-
export
|
|
8715
|
+
export type IndicesPutTemplateResponse = AcknowledgedResponseBase;
|
|
8716
8716
|
export interface IndicesRecoveryFileDetails {
|
|
8717
8717
|
length: long;
|
|
8718
8718
|
name: string;
|
|
@@ -8775,7 +8775,7 @@ export interface IndicesRecoveryRequest extends RequestBase {
|
|
|
8775
8775
|
active_only?: boolean;
|
|
8776
8776
|
detailed?: boolean;
|
|
8777
8777
|
}
|
|
8778
|
-
export
|
|
8778
|
+
export type IndicesRecoveryResponse = Record<IndexName, IndicesRecoveryRecoveryStatus>;
|
|
8779
8779
|
export interface IndicesRecoveryShardRecovery {
|
|
8780
8780
|
id: long;
|
|
8781
8781
|
index: IndicesRecoveryRecoveryIndexStatus;
|
|
@@ -8814,7 +8814,7 @@ export interface IndicesRefreshRequest extends RequestBase {
|
|
|
8814
8814
|
expand_wildcards?: ExpandWildcards;
|
|
8815
8815
|
ignore_unavailable?: boolean;
|
|
8816
8816
|
}
|
|
8817
|
-
export
|
|
8817
|
+
export type IndicesRefreshResponse = ShardsOperationResponseBase;
|
|
8818
8818
|
export interface IndicesReloadSearchAnalyzersReloadDetails {
|
|
8819
8819
|
index: string;
|
|
8820
8820
|
reloaded_analyzers: string[];
|
|
@@ -8944,12 +8944,12 @@ export interface IndicesShardStoresShardStore {
|
|
|
8944
8944
|
store_exception: IndicesShardStoresShardStoreException;
|
|
8945
8945
|
transport_address: TransportAddress;
|
|
8946
8946
|
}
|
|
8947
|
-
export
|
|
8947
|
+
export type IndicesShardStoresShardStoreAllocation = 'primary' | 'replica' | 'unused';
|
|
8948
8948
|
export interface IndicesShardStoresShardStoreException {
|
|
8949
8949
|
reason: string;
|
|
8950
8950
|
type: string;
|
|
8951
8951
|
}
|
|
8952
|
-
export
|
|
8952
|
+
export type IndicesShardStoresShardStoreStatus = 'green' | 'yellow' | 'red' | 'all';
|
|
8953
8953
|
export interface IndicesShardStoresShardStoreWrapper {
|
|
8954
8954
|
stores: IndicesShardStoresShardStore[];
|
|
8955
8955
|
}
|
|
@@ -9015,7 +9015,7 @@ export interface IndicesSplitResponse {
|
|
|
9015
9015
|
shards_acknowledged: boolean;
|
|
9016
9016
|
index: IndexName;
|
|
9017
9017
|
}
|
|
9018
|
-
export
|
|
9018
|
+
export type IndicesStatsIndexMetadataState = 'open' | 'close';
|
|
9019
9019
|
export interface IndicesStatsIndexStats {
|
|
9020
9020
|
completion?: CompletionStats;
|
|
9021
9021
|
docs?: DocStats;
|
|
@@ -9108,7 +9108,7 @@ export interface IndicesStatsShardRouting {
|
|
|
9108
9108
|
relocating_node?: string | null;
|
|
9109
9109
|
state: IndicesStatsShardRoutingState;
|
|
9110
9110
|
}
|
|
9111
|
-
export
|
|
9111
|
+
export type IndicesStatsShardRoutingState = 'UNASSIGNED' | 'INITIALIZING' | 'STARTED' | 'RELOCATING';
|
|
9112
9112
|
export interface IndicesStatsShardSequenceNumber {
|
|
9113
9113
|
global_checkpoint: long;
|
|
9114
9114
|
local_checkpoint: long;
|
|
@@ -9192,7 +9192,7 @@ export interface IndicesUpdateAliasesRequest extends RequestBase {
|
|
|
9192
9192
|
timeout?: Duration;
|
|
9193
9193
|
actions?: IndicesUpdateAliasesAction[];
|
|
9194
9194
|
}
|
|
9195
|
-
export
|
|
9195
|
+
export type IndicesUpdateAliasesResponse = AcknowledgedResponseBase;
|
|
9196
9196
|
export interface IndicesValidateQueryIndicesValidationExplanation {
|
|
9197
9197
|
error?: string;
|
|
9198
9198
|
explanation?: string;
|
|
@@ -9253,7 +9253,7 @@ export interface IngestConvertProcessor extends IngestProcessorBase {
|
|
|
9253
9253
|
target_field: Field;
|
|
9254
9254
|
type: IngestConvertType;
|
|
9255
9255
|
}
|
|
9256
|
-
export
|
|
9256
|
+
export type IngestConvertType = 'integer' | 'long' | 'float' | 'double' | 'string' | 'boolean' | 'auto';
|
|
9257
9257
|
export interface IngestCsvProcessor extends IngestProcessorBase {
|
|
9258
9258
|
empty_value: any;
|
|
9259
9259
|
description?: string;
|
|
@@ -9454,7 +9454,7 @@ export interface IngestSetSecurityUserProcessor extends IngestProcessorBase {
|
|
|
9454
9454
|
field: Field;
|
|
9455
9455
|
properties?: string[];
|
|
9456
9456
|
}
|
|
9457
|
-
export
|
|
9457
|
+
export type IngestShapeType = 'geo_shape' | 'shape';
|
|
9458
9458
|
export interface IngestSortProcessor extends IngestProcessorBase {
|
|
9459
9459
|
field: Field;
|
|
9460
9460
|
order: SortOrder;
|
|
@@ -9489,13 +9489,13 @@ export interface IngestUserAgentProcessor extends IngestProcessorBase {
|
|
|
9489
9489
|
regex_file: string;
|
|
9490
9490
|
target_field: Field;
|
|
9491
9491
|
}
|
|
9492
|
-
export
|
|
9492
|
+
export type IngestUserAgentProperty = 'NAME' | 'MAJOR' | 'MINOR' | 'PATCH' | 'OS' | 'OS_NAME' | 'OS_MAJOR' | 'OS_MINOR' | 'DEVICE' | 'BUILD';
|
|
9493
9493
|
export interface IngestDeletePipelineRequest extends RequestBase {
|
|
9494
9494
|
id: Id;
|
|
9495
9495
|
master_timeout?: Duration;
|
|
9496
9496
|
timeout?: Duration;
|
|
9497
9497
|
}
|
|
9498
|
-
export
|
|
9498
|
+
export type IngestDeletePipelineResponse = AcknowledgedResponseBase;
|
|
9499
9499
|
export interface IngestGeoIpStatsGeoIpDownloadStatistics {
|
|
9500
9500
|
successful_downloads: integer;
|
|
9501
9501
|
failed_downloads: integer;
|
|
@@ -9521,7 +9521,7 @@ export interface IngestGetPipelineRequest extends RequestBase {
|
|
|
9521
9521
|
master_timeout?: Duration;
|
|
9522
9522
|
summary?: boolean;
|
|
9523
9523
|
}
|
|
9524
|
-
export
|
|
9524
|
+
export type IngestGetPipelineResponse = Record<string, IngestPipeline>;
|
|
9525
9525
|
export interface IngestProcessorGrokRequest extends RequestBase {
|
|
9526
9526
|
}
|
|
9527
9527
|
export interface IngestProcessorGrokResponse {
|
|
@@ -9538,7 +9538,7 @@ export interface IngestPutPipelineRequest extends RequestBase {
|
|
|
9538
9538
|
processors?: IngestProcessorContainer[];
|
|
9539
9539
|
version?: VersionNumber;
|
|
9540
9540
|
}
|
|
9541
|
-
export
|
|
9541
|
+
export type IngestPutPipelineResponse = AcknowledgedResponseBase;
|
|
9542
9542
|
export interface IngestSimulateDocument {
|
|
9543
9543
|
_id?: Id;
|
|
9544
9544
|
_index?: IndexName;
|
|
@@ -9584,11 +9584,11 @@ export interface LicenseLicense {
|
|
|
9584
9584
|
type: LicenseLicenseType;
|
|
9585
9585
|
uid: string;
|
|
9586
9586
|
}
|
|
9587
|
-
export
|
|
9588
|
-
export
|
|
9587
|
+
export type LicenseLicenseStatus = 'active' | 'valid' | 'invalid' | 'expired';
|
|
9588
|
+
export type LicenseLicenseType = 'missing' | 'trial' | 'basic' | 'standard' | 'dev' | 'silver' | 'gold' | 'platinum' | 'enterprise';
|
|
9589
9589
|
export interface LicenseDeleteRequest extends RequestBase {
|
|
9590
9590
|
}
|
|
9591
|
-
export
|
|
9591
|
+
export type LicenseDeleteResponse = AcknowledgedResponseBase;
|
|
9592
9592
|
export interface LicenseGetLicenseInformation {
|
|
9593
9593
|
expiry_date?: DateTime;
|
|
9594
9594
|
expiry_date_in_millis?: EpochTime<UnitMillis>;
|
|
@@ -9678,23 +9678,23 @@ export interface LogstashPipelineSettings {
|
|
|
9678
9678
|
export interface LogstashDeletePipelineRequest extends RequestBase {
|
|
9679
9679
|
id: Id;
|
|
9680
9680
|
}
|
|
9681
|
-
export
|
|
9681
|
+
export type LogstashDeletePipelineResponse = boolean;
|
|
9682
9682
|
export interface LogstashGetPipelineRequest extends RequestBase {
|
|
9683
9683
|
id: Ids;
|
|
9684
9684
|
}
|
|
9685
|
-
export
|
|
9685
|
+
export type LogstashGetPipelineResponse = Record<Id, LogstashPipeline>;
|
|
9686
9686
|
export interface LogstashPutPipelineRequest extends RequestBase {
|
|
9687
9687
|
id: Id;
|
|
9688
9688
|
pipeline?: LogstashPipeline;
|
|
9689
9689
|
}
|
|
9690
|
-
export
|
|
9690
|
+
export type LogstashPutPipelineResponse = boolean;
|
|
9691
9691
|
export interface MigrationDeprecationsDeprecation {
|
|
9692
9692
|
details: string;
|
|
9693
9693
|
level: MigrationDeprecationsDeprecationLevel;
|
|
9694
9694
|
message: string;
|
|
9695
9695
|
url: string;
|
|
9696
9696
|
}
|
|
9697
|
-
export
|
|
9697
|
+
export type MigrationDeprecationsDeprecationLevel = 'none' | 'info' | 'warning' | 'critical';
|
|
9698
9698
|
export interface MigrationDeprecationsRequest extends RequestBase {
|
|
9699
9699
|
index?: IndexName;
|
|
9700
9700
|
}
|
|
@@ -9715,7 +9715,7 @@ export interface MigrationGetFeatureUpgradeStatusMigrationFeatureIndexInfo {
|
|
|
9715
9715
|
version: VersionString;
|
|
9716
9716
|
failure_cause?: ErrorCause;
|
|
9717
9717
|
}
|
|
9718
|
-
export
|
|
9718
|
+
export type MigrationGetFeatureUpgradeStatusMigrationStatus = 'NO_MIGRATION_NEEDED' | 'MIGRATION_NEEDED' | 'IN_PROGRESS' | 'ERROR';
|
|
9719
9719
|
export interface MigrationGetFeatureUpgradeStatusRequest extends RequestBase {
|
|
9720
9720
|
}
|
|
9721
9721
|
export interface MigrationGetFeatureUpgradeStatusResponse {
|
|
@@ -9808,7 +9808,7 @@ export interface MlApiKeyAuthorization {
|
|
|
9808
9808
|
id: string;
|
|
9809
9809
|
name: string;
|
|
9810
9810
|
}
|
|
9811
|
-
export
|
|
9811
|
+
export type MlAppliesTo = 'actual' | 'typical' | 'diff_from_typical' | 'time';
|
|
9812
9812
|
export interface MlBucketInfluencer {
|
|
9813
9813
|
anomaly_score: double;
|
|
9814
9814
|
bucket_span: DurationValue<UnitSeconds>;
|
|
@@ -9842,13 +9842,13 @@ export interface MlCalendarEvent {
|
|
|
9842
9842
|
end_time: DateTime;
|
|
9843
9843
|
start_time: DateTime;
|
|
9844
9844
|
}
|
|
9845
|
-
export
|
|
9845
|
+
export type MlCategorizationAnalyzer = string | MlCategorizationAnalyzerDefinition;
|
|
9846
9846
|
export interface MlCategorizationAnalyzerDefinition {
|
|
9847
9847
|
char_filter?: AnalysisCharFilter[];
|
|
9848
9848
|
filter?: AnalysisTokenFilter[];
|
|
9849
9849
|
tokenizer?: AnalysisTokenizer;
|
|
9850
9850
|
}
|
|
9851
|
-
export
|
|
9851
|
+
export type MlCategorizationStatus = 'ok' | 'warn';
|
|
9852
9852
|
export interface MlCategory {
|
|
9853
9853
|
category_id: ulong;
|
|
9854
9854
|
examples: string[];
|
|
@@ -9869,7 +9869,7 @@ export interface MlChunkingConfig {
|
|
|
9869
9869
|
mode: MlChunkingMode;
|
|
9870
9870
|
time_span?: Duration;
|
|
9871
9871
|
}
|
|
9872
|
-
export
|
|
9872
|
+
export type MlChunkingMode = 'auto' | 'manual' | 'off';
|
|
9873
9873
|
export interface MlClassificationInferenceOptions {
|
|
9874
9874
|
num_top_classes?: integer;
|
|
9875
9875
|
num_top_feature_importance_values?: integer;
|
|
@@ -9877,8 +9877,8 @@ export interface MlClassificationInferenceOptions {
|
|
|
9877
9877
|
results_field?: string;
|
|
9878
9878
|
top_classes_results_field?: string;
|
|
9879
9879
|
}
|
|
9880
|
-
export
|
|
9881
|
-
export
|
|
9880
|
+
export type MlConditionOperator = 'gt' | 'gte' | 'lt' | 'lte';
|
|
9881
|
+
export type MlCustomSettings = any;
|
|
9882
9882
|
export interface MlDataCounts {
|
|
9883
9883
|
bucket_count: long;
|
|
9884
9884
|
earliest_record_timestamp?: long;
|
|
@@ -9953,7 +9953,7 @@ export interface MlDatafeedRunningState {
|
|
|
9953
9953
|
real_time_running: boolean;
|
|
9954
9954
|
search_interval?: MlRunningStateSearchInterval;
|
|
9955
9955
|
}
|
|
9956
|
-
export
|
|
9956
|
+
export type MlDatafeedState = 'started' | 'stopped' | 'starting' | 'stopping';
|
|
9957
9957
|
export interface MlDatafeedStats {
|
|
9958
9958
|
assignment_explanation?: string;
|
|
9959
9959
|
datafeed_id: Id;
|
|
@@ -10181,14 +10181,14 @@ export interface MlDataframeEvaluationRegressionMetricsHuber {
|
|
|
10181
10181
|
export interface MlDataframeEvaluationRegressionMetricsMsle {
|
|
10182
10182
|
offset?: double;
|
|
10183
10183
|
}
|
|
10184
|
-
export
|
|
10184
|
+
export type MlDataframeState = 'started' | 'stopped' | 'starting' | 'stopping' | 'failed';
|
|
10185
10185
|
export interface MlDelayedDataCheckConfig {
|
|
10186
10186
|
check_window?: Duration;
|
|
10187
10187
|
enabled: boolean;
|
|
10188
10188
|
}
|
|
10189
|
-
export
|
|
10190
|
-
export
|
|
10191
|
-
export
|
|
10189
|
+
export type MlDeploymentAllocationState = 'started' | 'starting' | 'fully_allocated';
|
|
10190
|
+
export type MlDeploymentAssignmentState = 'starting' | 'started' | 'stopping' | 'failed';
|
|
10191
|
+
export type MlDeploymentState = 'started' | 'starting' | 'stopping';
|
|
10192
10192
|
export interface MlDetectionRule {
|
|
10193
10193
|
actions?: MlRuleAction[];
|
|
10194
10194
|
conditions?: MlRuleCondition[];
|
|
@@ -10225,7 +10225,7 @@ export interface MlDiscoveryNode {
|
|
|
10225
10225
|
name: Name;
|
|
10226
10226
|
transport_address: TransportAddress;
|
|
10227
10227
|
}
|
|
10228
|
-
export
|
|
10228
|
+
export type MlExcludeFrequent = 'all' | 'none' | 'by' | 'over';
|
|
10229
10229
|
export interface MlFillMaskInferenceOptions {
|
|
10230
10230
|
num_top_classes?: integer;
|
|
10231
10231
|
tokenization?: MlTokenizationConfigContainer;
|
|
@@ -10245,7 +10245,7 @@ export interface MlFilterRef {
|
|
|
10245
10245
|
filter_id: Id;
|
|
10246
10246
|
filter_type?: MlFilterType;
|
|
10247
10247
|
}
|
|
10248
|
-
export
|
|
10248
|
+
export type MlFilterType = 'include' | 'exclude';
|
|
10249
10249
|
export interface MlHyperparameter {
|
|
10250
10250
|
absolute_importance?: double;
|
|
10251
10251
|
name: Name;
|
|
@@ -10269,7 +10269,7 @@ export interface MlHyperparameters {
|
|
|
10269
10269
|
soft_tree_depth_limit?: integer;
|
|
10270
10270
|
soft_tree_depth_tolerance?: double;
|
|
10271
10271
|
}
|
|
10272
|
-
export
|
|
10272
|
+
export type MlInclude = 'definition' | 'feature_importance_baseline' | 'hyperparameters' | 'total_feature_importance';
|
|
10273
10273
|
export interface MlInferenceConfigCreateContainer {
|
|
10274
10274
|
regression?: MlRegressionInferenceOptions;
|
|
10275
10275
|
classification?: MlClassificationInferenceOptions;
|
|
@@ -10349,7 +10349,7 @@ export interface MlJobBlocked {
|
|
|
10349
10349
|
reason: MlJobBlockedReason;
|
|
10350
10350
|
task_id?: TaskId;
|
|
10351
10351
|
}
|
|
10352
|
-
export
|
|
10352
|
+
export type MlJobBlockedReason = 'delete' | 'reset' | 'revert';
|
|
10353
10353
|
export interface MlJobConfig {
|
|
10354
10354
|
allow_lazy_open?: boolean;
|
|
10355
10355
|
analysis_config: MlAnalysisConfig;
|
|
@@ -10377,7 +10377,7 @@ export interface MlJobForecastStatistics {
|
|
|
10377
10377
|
total: long;
|
|
10378
10378
|
forecasted_jobs: integer;
|
|
10379
10379
|
}
|
|
10380
|
-
export
|
|
10380
|
+
export type MlJobState = 'closing' | 'closed' | 'opened' | 'failed' | 'opening';
|
|
10381
10381
|
export interface MlJobStatistics {
|
|
10382
10382
|
avg: double;
|
|
10383
10383
|
max: double;
|
|
@@ -10406,7 +10406,7 @@ export interface MlJobTimingStats {
|
|
|
10406
10406
|
maximum_bucket_processing_time_ms?: DurationValue<UnitFloatMillis>;
|
|
10407
10407
|
minimum_bucket_processing_time_ms?: DurationValue<UnitFloatMillis>;
|
|
10408
10408
|
}
|
|
10409
|
-
export
|
|
10409
|
+
export type MlMemoryStatus = 'ok' | 'soft_limit' | 'hard_limit';
|
|
10410
10410
|
export interface MlModelPlotConfig {
|
|
10411
10411
|
annotations_enabled?: boolean;
|
|
10412
10412
|
enabled?: boolean;
|
|
@@ -10518,7 +10518,7 @@ export interface MlPerPartitionCategorization {
|
|
|
10518
10518
|
enabled?: boolean;
|
|
10519
10519
|
stop_on_warn?: boolean;
|
|
10520
10520
|
}
|
|
10521
|
-
export
|
|
10521
|
+
export type MlPredictedValue = string | double | boolean | integer;
|
|
10522
10522
|
export interface MlQuestionAnsweringInferenceOptions {
|
|
10523
10523
|
num_top_classes?: integer;
|
|
10524
10524
|
tokenization?: MlTokenizationConfigContainer;
|
|
@@ -10536,8 +10536,8 @@ export interface MlRegressionInferenceOptions {
|
|
|
10536
10536
|
results_field?: Field;
|
|
10537
10537
|
num_top_feature_importance_values?: integer;
|
|
10538
10538
|
}
|
|
10539
|
-
export
|
|
10540
|
-
export
|
|
10539
|
+
export type MlRoutingState = 'failed' | 'started' | 'starting' | 'stopped' | 'stopping';
|
|
10540
|
+
export type MlRuleAction = 'skip_result' | 'skip_model_update';
|
|
10541
10541
|
export interface MlRuleCondition {
|
|
10542
10542
|
applies_to: MlAppliesTo;
|
|
10543
10543
|
operator: MlConditionOperator;
|
|
@@ -10549,7 +10549,7 @@ export interface MlRunningStateSearchInterval {
|
|
|
10549
10549
|
start?: Duration;
|
|
10550
10550
|
start_ms: DurationValue<UnitMillis>;
|
|
10551
10551
|
}
|
|
10552
|
-
export
|
|
10552
|
+
export type MlSnapshotUpgradeState = 'loading_old_state' | 'saving_new_state' | 'stopped' | 'failed';
|
|
10553
10553
|
export interface MlTextClassificationInferenceOptions {
|
|
10554
10554
|
num_top_classes?: integer;
|
|
10555
10555
|
tokenization?: MlTokenizationConfigContainer;
|
|
@@ -10579,7 +10579,7 @@ export interface MlTokenizationConfigContainer {
|
|
|
10579
10579
|
mpnet?: MlNlpBertTokenizationConfig;
|
|
10580
10580
|
roberta?: MlNlpRobertaTokenizationConfig;
|
|
10581
10581
|
}
|
|
10582
|
-
export
|
|
10582
|
+
export type MlTokenizationTruncate = 'first' | 'second' | 'none';
|
|
10583
10583
|
export interface MlTopClassEntry {
|
|
10584
10584
|
class_name: string;
|
|
10585
10585
|
class_probability: double;
|
|
@@ -10722,7 +10722,7 @@ export interface MlTrainedModelStats {
|
|
|
10722
10722
|
model_size_stats: MlTrainedModelSizeStats;
|
|
10723
10723
|
pipeline_count: integer;
|
|
10724
10724
|
}
|
|
10725
|
-
export
|
|
10725
|
+
export type MlTrainedModelType = 'tree_ensemble' | 'lang_ident' | 'pytorch';
|
|
10726
10726
|
export interface MlTransformAuthorization {
|
|
10727
10727
|
api_key?: MlApiKeyAuthorization;
|
|
10728
10728
|
roles?: string[];
|
|
@@ -10758,12 +10758,12 @@ export interface MlCloseJobResponse {
|
|
|
10758
10758
|
export interface MlDeleteCalendarRequest extends RequestBase {
|
|
10759
10759
|
calendar_id: Id;
|
|
10760
10760
|
}
|
|
10761
|
-
export
|
|
10761
|
+
export type MlDeleteCalendarResponse = AcknowledgedResponseBase;
|
|
10762
10762
|
export interface MlDeleteCalendarEventRequest extends RequestBase {
|
|
10763
10763
|
calendar_id: Id;
|
|
10764
10764
|
event_id: Id;
|
|
10765
10765
|
}
|
|
10766
|
-
export
|
|
10766
|
+
export type MlDeleteCalendarEventResponse = AcknowledgedResponseBase;
|
|
10767
10767
|
export interface MlDeleteCalendarJobRequest extends RequestBase {
|
|
10768
10768
|
calendar_id: Id;
|
|
10769
10769
|
job_id: Ids;
|
|
@@ -10778,12 +10778,12 @@ export interface MlDeleteDataFrameAnalyticsRequest extends RequestBase {
|
|
|
10778
10778
|
force?: boolean;
|
|
10779
10779
|
timeout?: Duration;
|
|
10780
10780
|
}
|
|
10781
|
-
export
|
|
10781
|
+
export type MlDeleteDataFrameAnalyticsResponse = AcknowledgedResponseBase;
|
|
10782
10782
|
export interface MlDeleteDatafeedRequest extends RequestBase {
|
|
10783
10783
|
datafeed_id: Id;
|
|
10784
10784
|
force?: boolean;
|
|
10785
10785
|
}
|
|
10786
|
-
export
|
|
10786
|
+
export type MlDeleteDatafeedResponse = AcknowledgedResponseBase;
|
|
10787
10787
|
export interface MlDeleteExpiredDataRequest extends RequestBase {
|
|
10788
10788
|
job_id?: Id;
|
|
10789
10789
|
requests_per_second?: float;
|
|
@@ -10795,35 +10795,35 @@ export interface MlDeleteExpiredDataResponse {
|
|
|
10795
10795
|
export interface MlDeleteFilterRequest extends RequestBase {
|
|
10796
10796
|
filter_id: Id;
|
|
10797
10797
|
}
|
|
10798
|
-
export
|
|
10798
|
+
export type MlDeleteFilterResponse = AcknowledgedResponseBase;
|
|
10799
10799
|
export interface MlDeleteForecastRequest extends RequestBase {
|
|
10800
10800
|
job_id: Id;
|
|
10801
10801
|
forecast_id?: Id;
|
|
10802
10802
|
allow_no_forecasts?: boolean;
|
|
10803
10803
|
timeout?: Duration;
|
|
10804
10804
|
}
|
|
10805
|
-
export
|
|
10805
|
+
export type MlDeleteForecastResponse = AcknowledgedResponseBase;
|
|
10806
10806
|
export interface MlDeleteJobRequest extends RequestBase {
|
|
10807
10807
|
job_id: Id;
|
|
10808
10808
|
force?: boolean;
|
|
10809
10809
|
wait_for_completion?: boolean;
|
|
10810
10810
|
}
|
|
10811
|
-
export
|
|
10811
|
+
export type MlDeleteJobResponse = AcknowledgedResponseBase;
|
|
10812
10812
|
export interface MlDeleteModelSnapshotRequest extends RequestBase {
|
|
10813
10813
|
job_id: Id;
|
|
10814
10814
|
snapshot_id: Id;
|
|
10815
10815
|
}
|
|
10816
|
-
export
|
|
10816
|
+
export type MlDeleteModelSnapshotResponse = AcknowledgedResponseBase;
|
|
10817
10817
|
export interface MlDeleteTrainedModelRequest extends RequestBase {
|
|
10818
10818
|
model_id: Id;
|
|
10819
10819
|
force?: boolean;
|
|
10820
10820
|
}
|
|
10821
|
-
export
|
|
10821
|
+
export type MlDeleteTrainedModelResponse = AcknowledgedResponseBase;
|
|
10822
10822
|
export interface MlDeleteTrainedModelAliasRequest extends RequestBase {
|
|
10823
10823
|
model_alias: Name;
|
|
10824
10824
|
model_id: Id;
|
|
10825
10825
|
}
|
|
10826
|
-
export
|
|
10826
|
+
export type MlDeleteTrainedModelAliasResponse = AcknowledgedResponseBase;
|
|
10827
10827
|
export interface MlEstimateModelMemoryRequest extends RequestBase {
|
|
10828
10828
|
analysis_config?: MlAnalysisConfig;
|
|
10829
10829
|
max_bucket_cardinality?: Record<Field, long>;
|
|
@@ -11488,7 +11488,7 @@ export interface MlPutTrainedModelRequest extends RequestBase {
|
|
|
11488
11488
|
model_size_bytes?: long;
|
|
11489
11489
|
tags?: string[];
|
|
11490
11490
|
}
|
|
11491
|
-
export
|
|
11491
|
+
export type MlPutTrainedModelResponse = MlTrainedModelConfig;
|
|
11492
11492
|
export interface MlPutTrainedModelTargetMeanEncodingPreprocessor {
|
|
11493
11493
|
field: string;
|
|
11494
11494
|
feature_name: string;
|
|
@@ -11525,7 +11525,7 @@ export interface MlPutTrainedModelAliasRequest extends RequestBase {
|
|
|
11525
11525
|
model_id: Id;
|
|
11526
11526
|
reassign?: boolean;
|
|
11527
11527
|
}
|
|
11528
|
-
export
|
|
11528
|
+
export type MlPutTrainedModelAliasResponse = AcknowledgedResponseBase;
|
|
11529
11529
|
export interface MlPutTrainedModelDefinitionPartRequest extends RequestBase {
|
|
11530
11530
|
model_id: Id;
|
|
11531
11531
|
part: integer;
|
|
@@ -11533,18 +11533,18 @@ export interface MlPutTrainedModelDefinitionPartRequest extends RequestBase {
|
|
|
11533
11533
|
total_definition_length: long;
|
|
11534
11534
|
total_parts: integer;
|
|
11535
11535
|
}
|
|
11536
|
-
export
|
|
11536
|
+
export type MlPutTrainedModelDefinitionPartResponse = AcknowledgedResponseBase;
|
|
11537
11537
|
export interface MlPutTrainedModelVocabularyRequest extends RequestBase {
|
|
11538
11538
|
model_id: Id;
|
|
11539
11539
|
vocabulary: string[];
|
|
11540
11540
|
merges?: string[];
|
|
11541
11541
|
}
|
|
11542
|
-
export
|
|
11542
|
+
export type MlPutTrainedModelVocabularyResponse = AcknowledgedResponseBase;
|
|
11543
11543
|
export interface MlResetJobRequest extends RequestBase {
|
|
11544
11544
|
job_id: Id;
|
|
11545
11545
|
wait_for_completion?: boolean;
|
|
11546
11546
|
}
|
|
11547
|
-
export
|
|
11547
|
+
export type MlResetJobResponse = AcknowledgedResponseBase;
|
|
11548
11548
|
export interface MlRevertModelSnapshotRequest extends RequestBase {
|
|
11549
11549
|
job_id: Id;
|
|
11550
11550
|
snapshot_id: Id;
|
|
@@ -11557,7 +11557,7 @@ export interface MlSetUpgradeModeRequest extends RequestBase {
|
|
|
11557
11557
|
enabled?: boolean;
|
|
11558
11558
|
timeout?: Duration;
|
|
11559
11559
|
}
|
|
11560
|
-
export
|
|
11560
|
+
export type MlSetUpgradeModeResponse = AcknowledgedResponseBase;
|
|
11561
11561
|
export interface MlStartDataFrameAnalyticsRequest extends RequestBase {
|
|
11562
11562
|
id: Id;
|
|
11563
11563
|
timeout?: Duration;
|
|
@@ -11754,11 +11754,11 @@ export interface MlValidateRequest extends RequestBase {
|
|
|
11754
11754
|
model_snapshot_retention_days?: long;
|
|
11755
11755
|
results_index_name?: IndexName;
|
|
11756
11756
|
}
|
|
11757
|
-
export
|
|
11757
|
+
export type MlValidateResponse = AcknowledgedResponseBase;
|
|
11758
11758
|
export interface MlValidateDetectorRequest extends RequestBase {
|
|
11759
11759
|
detector?: MlDetector;
|
|
11760
11760
|
}
|
|
11761
|
-
export
|
|
11761
|
+
export type MlValidateDetectorResponse = AcknowledgedResponseBase;
|
|
11762
11762
|
export interface MonitoringBulkRequest<TDocument = unknown, TPartialDocument = unknown> extends RequestBase {
|
|
11763
11763
|
type?: string;
|
|
11764
11764
|
system_id: string;
|
|
@@ -12010,7 +12010,7 @@ export interface NodesNodeReloadError {
|
|
|
12010
12010
|
name: Name;
|
|
12011
12011
|
reload_exception?: ErrorCause;
|
|
12012
12012
|
}
|
|
12013
|
-
export
|
|
12013
|
+
export type NodesNodeReloadResult = NodesStats | NodesNodeReloadError;
|
|
12014
12014
|
export interface NodesNodesResponseBase {
|
|
12015
12015
|
_nodes?: NodeStatistics;
|
|
12016
12016
|
}
|
|
@@ -12166,7 +12166,7 @@ export interface NodesClearRepositoriesMeteringArchiveRequest extends RequestBas
|
|
|
12166
12166
|
node_id: NodeIds;
|
|
12167
12167
|
max_archive_version: long;
|
|
12168
12168
|
}
|
|
12169
|
-
export
|
|
12169
|
+
export type NodesClearRepositoriesMeteringArchiveResponse = NodesClearRepositoriesMeteringArchiveResponseBase;
|
|
12170
12170
|
export interface NodesClearRepositoriesMeteringArchiveResponseBase extends NodesNodesResponseBase {
|
|
12171
12171
|
cluster_name: Name;
|
|
12172
12172
|
nodes: Record<string, NodesRepositoryMeteringInformation>;
|
|
@@ -12174,7 +12174,7 @@ export interface NodesClearRepositoriesMeteringArchiveResponseBase extends Nodes
|
|
|
12174
12174
|
export interface NodesGetRepositoriesMeteringInfoRequest extends RequestBase {
|
|
12175
12175
|
node_id: NodeIds;
|
|
12176
12176
|
}
|
|
12177
|
-
export
|
|
12177
|
+
export type NodesGetRepositoriesMeteringInfoResponse = NodesGetRepositoriesMeteringInfoResponseBase;
|
|
12178
12178
|
export interface NodesGetRepositoriesMeteringInfoResponseBase extends NodesNodesResponseBase {
|
|
12179
12179
|
cluster_name: Name;
|
|
12180
12180
|
nodes: Record<string, NodesRepositoryMeteringInformation>;
|
|
@@ -12497,7 +12497,7 @@ export interface NodesInfoRequest extends RequestBase {
|
|
|
12497
12497
|
master_timeout?: Duration;
|
|
12498
12498
|
timeout?: Duration;
|
|
12499
12499
|
}
|
|
12500
|
-
export
|
|
12500
|
+
export type NodesInfoResponse = NodesInfoResponseBase;
|
|
12501
12501
|
export interface NodesInfoResponseBase extends NodesNodesResponseBase {
|
|
12502
12502
|
cluster_name: Name;
|
|
12503
12503
|
nodes: Record<string, NodesInfoNodeInfo>;
|
|
@@ -12507,7 +12507,7 @@ export interface NodesReloadSecureSettingsRequest extends RequestBase {
|
|
|
12507
12507
|
timeout?: Duration;
|
|
12508
12508
|
secure_settings_password?: Password;
|
|
12509
12509
|
}
|
|
12510
|
-
export
|
|
12510
|
+
export type NodesReloadSecureSettingsResponse = NodesReloadSecureSettingsResponseBase;
|
|
12511
12511
|
export interface NodesReloadSecureSettingsResponseBase extends NodesNodesResponseBase {
|
|
12512
12512
|
cluster_name: Name;
|
|
12513
12513
|
nodes: Record<string, NodesNodeReloadResult>;
|
|
@@ -12527,7 +12527,7 @@ export interface NodesStatsRequest extends RequestBase {
|
|
|
12527
12527
|
types?: string[];
|
|
12528
12528
|
include_unloaded_segments?: boolean;
|
|
12529
12529
|
}
|
|
12530
|
-
export
|
|
12530
|
+
export type NodesStatsResponse = NodesStatsResponseBase;
|
|
12531
12531
|
export interface NodesStatsResponseBase extends NodesNodesResponseBase {
|
|
12532
12532
|
cluster_name?: Name;
|
|
12533
12533
|
nodes: Record<string, NodesStats>;
|
|
@@ -12543,7 +12543,7 @@ export interface NodesUsageRequest extends RequestBase {
|
|
|
12543
12543
|
metric?: Metrics;
|
|
12544
12544
|
timeout?: Duration;
|
|
12545
12545
|
}
|
|
12546
|
-
export
|
|
12546
|
+
export type NodesUsageResponse = NodesUsageResponseBase;
|
|
12547
12547
|
export interface NodesUsageResponseBase extends NodesNodesResponseBase {
|
|
12548
12548
|
cluster_name: Name;
|
|
12549
12549
|
nodes: Record<string, NodesUsageNodeUsage>;
|
|
@@ -12570,7 +12570,7 @@ export interface RollupHistogramGrouping {
|
|
|
12570
12570
|
fields: Fields;
|
|
12571
12571
|
interval: long;
|
|
12572
12572
|
}
|
|
12573
|
-
export
|
|
12573
|
+
export type RollupMetric = 'min' | 'max' | 'sum' | 'avg' | 'value_count';
|
|
12574
12574
|
export interface RollupTermsGrouping {
|
|
12575
12575
|
fields: Fields;
|
|
12576
12576
|
}
|
|
@@ -12581,7 +12581,7 @@ export interface RollupDeleteJobResponse {
|
|
|
12581
12581
|
acknowledged: boolean;
|
|
12582
12582
|
task_failures?: TaskFailure[];
|
|
12583
12583
|
}
|
|
12584
|
-
export
|
|
12584
|
+
export type RollupGetJobsIndexingJobState = 'started' | 'indexing' | 'stopping' | 'stopped' | 'aborting';
|
|
12585
12585
|
export interface RollupGetJobsRequest extends RequestBase {
|
|
12586
12586
|
id?: Id;
|
|
12587
12587
|
}
|
|
@@ -12625,7 +12625,7 @@ export interface RollupGetJobsRollupJobStatus {
|
|
|
12625
12625
|
export interface RollupGetRollupCapsRequest extends RequestBase {
|
|
12626
12626
|
id?: Id;
|
|
12627
12627
|
}
|
|
12628
|
-
export
|
|
12628
|
+
export type RollupGetRollupCapsResponse = Record<IndexName, RollupGetRollupCapsRollupCapabilities>;
|
|
12629
12629
|
export interface RollupGetRollupCapsRollupCapabilities {
|
|
12630
12630
|
rollup_jobs: RollupGetRollupCapsRollupCapabilitySummary[];
|
|
12631
12631
|
}
|
|
@@ -12641,7 +12641,7 @@ export interface RollupGetRollupIndexCapsIndexCapabilities {
|
|
|
12641
12641
|
export interface RollupGetRollupIndexCapsRequest extends RequestBase {
|
|
12642
12642
|
index: Ids;
|
|
12643
12643
|
}
|
|
12644
|
-
export
|
|
12644
|
+
export type RollupGetRollupIndexCapsResponse = Record<IndexName, RollupGetRollupIndexCapsIndexCapabilities>;
|
|
12645
12645
|
export interface RollupGetRollupIndexCapsRollupJobSummary {
|
|
12646
12646
|
fields: Record<Field, RollupGetRollupIndexCapsRollupJobSummaryField[]>;
|
|
12647
12647
|
index_pattern: string;
|
|
@@ -12664,7 +12664,7 @@ export interface RollupPutJobRequest extends RequestBase {
|
|
|
12664
12664
|
timeout?: Duration;
|
|
12665
12665
|
headers?: HttpHeaders;
|
|
12666
12666
|
}
|
|
12667
|
-
export
|
|
12667
|
+
export type RollupPutJobResponse = AcknowledgedResponseBase;
|
|
12668
12668
|
export interface RollupRollupSearchRequest extends RequestBase {
|
|
12669
12669
|
index: Indices;
|
|
12670
12670
|
rest_total_hits_as_int?: boolean;
|
|
@@ -12696,7 +12696,7 @@ export interface RollupStopJobRequest extends RequestBase {
|
|
|
12696
12696
|
export interface RollupStopJobResponse {
|
|
12697
12697
|
stopped: boolean;
|
|
12698
12698
|
}
|
|
12699
|
-
export
|
|
12699
|
+
export type SearchableSnapshotsStatsLevel = 'cluster' | 'indices' | 'shards';
|
|
12700
12700
|
export interface SearchableSnapshotsCacheStatsNode {
|
|
12701
12701
|
shared_cache: SearchableSnapshotsCacheStatsShared;
|
|
12702
12702
|
}
|
|
@@ -12725,7 +12725,7 @@ export interface SearchableSnapshotsClearCacheRequest extends RequestBase {
|
|
|
12725
12725
|
pretty?: boolean;
|
|
12726
12726
|
human?: boolean;
|
|
12727
12727
|
}
|
|
12728
|
-
export
|
|
12728
|
+
export type SearchableSnapshotsClearCacheResponse = any;
|
|
12729
12729
|
export interface SearchableSnapshotsMountMountedSnapshot {
|
|
12730
12730
|
snapshot: Name;
|
|
12731
12731
|
indices: Indices;
|
|
@@ -12777,7 +12777,7 @@ export interface SecurityApplicationPrivileges {
|
|
|
12777
12777
|
export interface SecurityClusterNode {
|
|
12778
12778
|
name: Name;
|
|
12779
12779
|
}
|
|
12780
|
-
export
|
|
12780
|
+
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';
|
|
12781
12781
|
export interface SecurityCreatedStatus {
|
|
12782
12782
|
created: boolean;
|
|
12783
12783
|
}
|
|
@@ -12795,8 +12795,8 @@ export interface SecurityFieldSecurity {
|
|
|
12795
12795
|
export interface SecurityGlobalPrivilege {
|
|
12796
12796
|
application: SecurityApplicationGlobalUserPrivileges;
|
|
12797
12797
|
}
|
|
12798
|
-
export
|
|
12799
|
-
export
|
|
12798
|
+
export type SecurityGrantType = 'password' | 'access_token';
|
|
12799
|
+
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';
|
|
12800
12800
|
export interface SecurityIndicesPrivileges {
|
|
12801
12801
|
field_security?: SecurityFieldSecurity | SecurityFieldSecurity[];
|
|
12802
12802
|
names: Indices;
|
|
@@ -12804,7 +12804,7 @@ export interface SecurityIndicesPrivileges {
|
|
|
12804
12804
|
query?: SecurityIndicesPrivilegesQuery;
|
|
12805
12805
|
allow_restricted_indices?: boolean;
|
|
12806
12806
|
}
|
|
12807
|
-
export
|
|
12807
|
+
export type SecurityIndicesPrivilegesQuery = string | QueryDslQueryContainer | SecurityRoleTemplateQuery;
|
|
12808
12808
|
export interface SecurityManageUserPrivileges {
|
|
12809
12809
|
applications: string[];
|
|
12810
12810
|
}
|
|
@@ -12856,7 +12856,7 @@ export interface SecurityRoleTemplateInlineScript extends ScriptBase {
|
|
|
12856
12856
|
export interface SecurityRoleTemplateQuery {
|
|
12857
12857
|
template?: SecurityRoleTemplateScript;
|
|
12858
12858
|
}
|
|
12859
|
-
export
|
|
12859
|
+
export type SecurityRoleTemplateScript = SecurityRoleTemplateInlineScript | string | QueryDslQueryContainer | StoredScriptId;
|
|
12860
12860
|
export interface SecurityTransientMetadataConfig {
|
|
12861
12861
|
enabled: boolean;
|
|
12862
12862
|
}
|
|
@@ -12880,7 +12880,7 @@ export interface SecurityUserProfileHitMetadata {
|
|
|
12880
12880
|
_primary_term: long;
|
|
12881
12881
|
_seq_no: SequenceNumber;
|
|
12882
12882
|
}
|
|
12883
|
-
export
|
|
12883
|
+
export type SecurityUserProfileId = string;
|
|
12884
12884
|
export interface SecurityUserProfileUser {
|
|
12885
12885
|
email?: string | null;
|
|
12886
12886
|
full_name?: Name | null;
|
|
@@ -12899,7 +12899,7 @@ export interface SecurityActivateUserProfileRequest extends RequestBase {
|
|
|
12899
12899
|
password?: string;
|
|
12900
12900
|
username?: string;
|
|
12901
12901
|
}
|
|
12902
|
-
export
|
|
12902
|
+
export type SecurityActivateUserProfileResponse = SecurityUserProfileWithMetadata;
|
|
12903
12903
|
export interface SecurityAuthenticateRequest extends RequestBase {
|
|
12904
12904
|
}
|
|
12905
12905
|
export interface SecurityAuthenticateResponse {
|
|
@@ -13006,7 +13006,7 @@ export interface SecurityDeletePrivilegesRequest extends RequestBase {
|
|
|
13006
13006
|
name: Names;
|
|
13007
13007
|
refresh?: Refresh;
|
|
13008
13008
|
}
|
|
13009
|
-
export
|
|
13009
|
+
export type SecurityDeletePrivilegesResponse = Record<string, Record<string, SecurityDeletePrivilegesFoundStatus>>;
|
|
13010
13010
|
export interface SecurityDeleteRoleRequest extends RequestBase {
|
|
13011
13011
|
name: Name;
|
|
13012
13012
|
refresh?: Refresh;
|
|
@@ -13047,7 +13047,7 @@ export interface SecurityDisableUserProfileRequest extends RequestBase {
|
|
|
13047
13047
|
uid: SecurityUserProfileId;
|
|
13048
13048
|
refresh?: Refresh;
|
|
13049
13049
|
}
|
|
13050
|
-
export
|
|
13050
|
+
export type SecurityDisableUserProfileResponse = AcknowledgedResponseBase;
|
|
13051
13051
|
export interface SecurityEnableUserRequest extends RequestBase {
|
|
13052
13052
|
username: Username;
|
|
13053
13053
|
refresh?: Refresh;
|
|
@@ -13058,7 +13058,7 @@ export interface SecurityEnableUserProfileRequest extends RequestBase {
|
|
|
13058
13058
|
uid: SecurityUserProfileId;
|
|
13059
13059
|
refresh?: Refresh;
|
|
13060
13060
|
}
|
|
13061
|
-
export
|
|
13061
|
+
export type SecurityEnableUserProfileResponse = AcknowledgedResponseBase;
|
|
13062
13062
|
export interface SecurityEnrollKibanaRequest extends RequestBase {
|
|
13063
13063
|
}
|
|
13064
13064
|
export interface SecurityEnrollKibanaResponse {
|
|
@@ -13100,11 +13100,11 @@ export interface SecurityGetPrivilegesRequest extends RequestBase {
|
|
|
13100
13100
|
application?: Name;
|
|
13101
13101
|
name?: Names;
|
|
13102
13102
|
}
|
|
13103
|
-
export
|
|
13103
|
+
export type SecurityGetPrivilegesResponse = Record<string, Record<string, SecurityPutPrivilegesActions>>;
|
|
13104
13104
|
export interface SecurityGetRoleRequest extends RequestBase {
|
|
13105
13105
|
name?: Names;
|
|
13106
13106
|
}
|
|
13107
|
-
export
|
|
13107
|
+
export type SecurityGetRoleResponse = Record<string, SecurityGetRoleRole>;
|
|
13108
13108
|
export interface SecurityGetRoleRole {
|
|
13109
13109
|
cluster: string[];
|
|
13110
13110
|
indices: SecurityIndicesPrivileges[];
|
|
@@ -13119,16 +13119,16 @@ export interface SecurityGetRoleRoleTemplate {
|
|
|
13119
13119
|
format?: SecurityGetRoleTemplateFormat;
|
|
13120
13120
|
template: Script;
|
|
13121
13121
|
}
|
|
13122
|
-
export
|
|
13122
|
+
export type SecurityGetRoleTemplateFormat = 'string' | 'json';
|
|
13123
13123
|
export interface SecurityGetRoleMappingRequest extends RequestBase {
|
|
13124
13124
|
name?: Names;
|
|
13125
13125
|
}
|
|
13126
|
-
export
|
|
13126
|
+
export type SecurityGetRoleMappingResponse = Record<string, SecurityRoleMapping>;
|
|
13127
13127
|
export interface SecurityGetServiceAccountsRequest extends RequestBase {
|
|
13128
13128
|
namespace?: Namespace;
|
|
13129
13129
|
service?: Service;
|
|
13130
13130
|
}
|
|
13131
|
-
export
|
|
13131
|
+
export type SecurityGetServiceAccountsResponse = Record<string, SecurityGetServiceAccountsRoleDescriptorWrapper>;
|
|
13132
13132
|
export interface SecurityGetServiceAccountsRoleDescriptorWrapper {
|
|
13133
13133
|
role_descriptor: SecurityRoleDescriptorRead;
|
|
13134
13134
|
}
|
|
@@ -13149,7 +13149,7 @@ export interface SecurityGetServiceCredentialsResponse {
|
|
|
13149
13149
|
tokens: Record<string, Metadata>;
|
|
13150
13150
|
nodes_credentials: SecurityGetServiceCredentialsNodesCredentials;
|
|
13151
13151
|
}
|
|
13152
|
-
export
|
|
13152
|
+
export type SecurityGetTokenAccessTokenGrantType = 'password' | 'client_credentials' | '_kerberos' | 'refresh_token';
|
|
13153
13153
|
export interface SecurityGetTokenAuthenticatedUser extends SecurityUser {
|
|
13154
13154
|
authentication_realm: SecurityGetTokenUserRealm;
|
|
13155
13155
|
lookup_realm: SecurityGetTokenUserRealm;
|
|
@@ -13185,7 +13185,7 @@ export interface SecurityGetUserRequest extends RequestBase {
|
|
|
13185
13185
|
username?: Username | Username[];
|
|
13186
13186
|
with_profile_uid?: boolean;
|
|
13187
13187
|
}
|
|
13188
|
-
export
|
|
13188
|
+
export type SecurityGetUserResponse = Record<string, SecurityUser>;
|
|
13189
13189
|
export interface SecurityGetUserPrivilegesRequest extends RequestBase {
|
|
13190
13190
|
application?: Name;
|
|
13191
13191
|
priviledge?: Name;
|
|
@@ -13210,7 +13210,7 @@ export interface SecurityGetUserProfileResponse {
|
|
|
13210
13210
|
profiles: SecurityUserProfileWithMetadata[];
|
|
13211
13211
|
errors?: SecurityGetUserProfileGetUserProfileErrors;
|
|
13212
13212
|
}
|
|
13213
|
-
export
|
|
13213
|
+
export type SecurityGrantApiKeyApiKeyGrantType = 'access_token' | 'password';
|
|
13214
13214
|
export interface SecurityGrantApiKeyGrantApiKey {
|
|
13215
13215
|
name: Name;
|
|
13216
13216
|
expiration?: DurationLarge;
|
|
@@ -13237,20 +13237,20 @@ export interface SecurityHasPrivilegesApplicationPrivilegesCheck {
|
|
|
13237
13237
|
privileges: string[];
|
|
13238
13238
|
resources: string[];
|
|
13239
13239
|
}
|
|
13240
|
-
export
|
|
13240
|
+
export type SecurityHasPrivilegesApplicationsPrivileges = Record<Name, SecurityHasPrivilegesResourcePrivileges>;
|
|
13241
13241
|
export interface SecurityHasPrivilegesIndexPrivilegesCheck {
|
|
13242
13242
|
names: Indices;
|
|
13243
13243
|
privileges: SecurityIndexPrivilege[];
|
|
13244
13244
|
allow_restricted_indices?: boolean;
|
|
13245
13245
|
}
|
|
13246
|
-
export
|
|
13246
|
+
export type SecurityHasPrivilegesPrivileges = Record<string, boolean>;
|
|
13247
13247
|
export interface SecurityHasPrivilegesRequest extends RequestBase {
|
|
13248
13248
|
user?: Name;
|
|
13249
13249
|
application?: SecurityHasPrivilegesApplicationPrivilegesCheck[];
|
|
13250
13250
|
cluster?: SecurityClusterPrivilege[];
|
|
13251
13251
|
index?: SecurityHasPrivilegesIndexPrivilegesCheck[];
|
|
13252
13252
|
}
|
|
13253
|
-
export
|
|
13253
|
+
export type SecurityHasPrivilegesResourcePrivileges = Record<Name, SecurityHasPrivilegesPrivileges>;
|
|
13254
13254
|
export interface SecurityHasPrivilegesResponse {
|
|
13255
13255
|
application: SecurityHasPrivilegesApplicationsPrivileges;
|
|
13256
13256
|
cluster: Record<string, boolean>;
|
|
@@ -13311,7 +13311,7 @@ export interface SecurityPutPrivilegesRequest extends RequestBase {
|
|
|
13311
13311
|
refresh?: Refresh;
|
|
13312
13312
|
privileges?: Record<string, Record<string, SecurityPutPrivilegesActions>>;
|
|
13313
13313
|
}
|
|
13314
|
-
export
|
|
13314
|
+
export type SecurityPutPrivilegesResponse = Record<string, Record<string, SecurityCreatedStatus>>;
|
|
13315
13315
|
export interface SecurityPutRoleRequest extends RequestBase {
|
|
13316
13316
|
name: Name;
|
|
13317
13317
|
refresh?: Refresh;
|
|
@@ -13384,7 +13384,7 @@ export interface SecuritySamlCompleteLogoutRequest extends RequestBase {
|
|
|
13384
13384
|
query_string?: string;
|
|
13385
13385
|
content?: string;
|
|
13386
13386
|
}
|
|
13387
|
-
export
|
|
13387
|
+
export type SecuritySamlCompleteLogoutResponse = boolean;
|
|
13388
13388
|
export interface SecuritySamlInvalidateRequest extends RequestBase {
|
|
13389
13389
|
acs?: string;
|
|
13390
13390
|
query_string: string;
|
|
@@ -13453,14 +13453,14 @@ export interface SecurityUpdateUserProfileDataRequest extends RequestBase {
|
|
|
13453
13453
|
labels?: Record<string, any>;
|
|
13454
13454
|
data?: Record<string, any>;
|
|
13455
13455
|
}
|
|
13456
|
-
export
|
|
13457
|
-
export
|
|
13456
|
+
export type SecurityUpdateUserProfileDataResponse = AcknowledgedResponseBase;
|
|
13457
|
+
export type ShutdownType = 'restart' | 'remove' | 'replace';
|
|
13458
13458
|
export interface ShutdownDeleteNodeRequest extends RequestBase {
|
|
13459
13459
|
node_id: NodeId;
|
|
13460
13460
|
master_timeout?: TimeUnit;
|
|
13461
13461
|
timeout?: TimeUnit;
|
|
13462
13462
|
}
|
|
13463
|
-
export
|
|
13463
|
+
export type ShutdownDeleteNodeResponse = AcknowledgedResponseBase;
|
|
13464
13464
|
export interface ShutdownGetNodeNodeShutdownStatus {
|
|
13465
13465
|
node_id: NodeId;
|
|
13466
13466
|
type: ShutdownGetNodeShutdownType;
|
|
@@ -13488,8 +13488,8 @@ export interface ShutdownGetNodeResponse {
|
|
|
13488
13488
|
export interface ShutdownGetNodeShardMigrationStatus {
|
|
13489
13489
|
status: ShutdownGetNodeShutdownStatus;
|
|
13490
13490
|
}
|
|
13491
|
-
export
|
|
13492
|
-
export
|
|
13491
|
+
export type ShutdownGetNodeShutdownStatus = 'not_started' | 'in_progress' | 'stalled' | 'complete';
|
|
13492
|
+
export type ShutdownGetNodeShutdownType = 'remove' | 'restart';
|
|
13493
13493
|
export interface ShutdownPutNodeRequest extends RequestBase {
|
|
13494
13494
|
node_id: NodeId;
|
|
13495
13495
|
master_timeout?: TimeUnit;
|
|
@@ -13499,7 +13499,7 @@ export interface ShutdownPutNodeRequest extends RequestBase {
|
|
|
13499
13499
|
allocation_delay?: string;
|
|
13500
13500
|
target_node_name?: string;
|
|
13501
13501
|
}
|
|
13502
|
-
export
|
|
13502
|
+
export type ShutdownPutNodeResponse = AcknowledgedResponseBase;
|
|
13503
13503
|
export interface SlmConfiguration {
|
|
13504
13504
|
ignore_unavailable?: boolean;
|
|
13505
13505
|
indices: Indices;
|
|
@@ -13561,7 +13561,7 @@ export interface SlmStatistics {
|
|
|
13561
13561
|
export interface SlmDeleteLifecycleRequest extends RequestBase {
|
|
13562
13562
|
policy_id: Name;
|
|
13563
13563
|
}
|
|
13564
|
-
export
|
|
13564
|
+
export type SlmDeleteLifecycleResponse = AcknowledgedResponseBase;
|
|
13565
13565
|
export interface SlmExecuteLifecycleRequest extends RequestBase {
|
|
13566
13566
|
policy_id: Name;
|
|
13567
13567
|
}
|
|
@@ -13570,11 +13570,11 @@ export interface SlmExecuteLifecycleResponse {
|
|
|
13570
13570
|
}
|
|
13571
13571
|
export interface SlmExecuteRetentionRequest extends RequestBase {
|
|
13572
13572
|
}
|
|
13573
|
-
export
|
|
13573
|
+
export type SlmExecuteRetentionResponse = AcknowledgedResponseBase;
|
|
13574
13574
|
export interface SlmGetLifecycleRequest extends RequestBase {
|
|
13575
13575
|
policy_id?: Names;
|
|
13576
13576
|
}
|
|
13577
|
-
export
|
|
13577
|
+
export type SlmGetLifecycleResponse = Record<Id, SlmSnapshotLifecycle>;
|
|
13578
13578
|
export interface SlmGetStatsRequest extends RequestBase {
|
|
13579
13579
|
}
|
|
13580
13580
|
export interface SlmGetStatsResponse {
|
|
@@ -13604,13 +13604,13 @@ export interface SlmPutLifecycleRequest extends RequestBase {
|
|
|
13604
13604
|
retention?: SlmRetention;
|
|
13605
13605
|
schedule?: WatcherCronExpression;
|
|
13606
13606
|
}
|
|
13607
|
-
export
|
|
13607
|
+
export type SlmPutLifecycleResponse = AcknowledgedResponseBase;
|
|
13608
13608
|
export interface SlmStartRequest extends RequestBase {
|
|
13609
13609
|
}
|
|
13610
|
-
export
|
|
13610
|
+
export type SlmStartResponse = AcknowledgedResponseBase;
|
|
13611
13611
|
export interface SlmStopRequest extends RequestBase {
|
|
13612
13612
|
}
|
|
13613
|
-
export
|
|
13613
|
+
export type SlmStopResponse = AcknowledgedResponseBase;
|
|
13614
13614
|
export interface SnapshotFileCountSnapshotStats {
|
|
13615
13615
|
file_count: integer;
|
|
13616
13616
|
size_in_bytes: long;
|
|
@@ -13646,7 +13646,7 @@ export interface SnapshotShardsStats {
|
|
|
13646
13646
|
started: long;
|
|
13647
13647
|
total: long;
|
|
13648
13648
|
}
|
|
13649
|
-
export
|
|
13649
|
+
export type SnapshotShardsStatsStage = 'DONE' | 'FAILURE' | 'FINALIZE' | 'INIT' | 'STARTED';
|
|
13650
13650
|
export interface SnapshotShardsStatsSummary {
|
|
13651
13651
|
incremental: SnapshotShardsStatsSummaryItem;
|
|
13652
13652
|
total: SnapshotShardsStatsSummaryItem;
|
|
@@ -13697,7 +13697,7 @@ export interface SnapshotSnapshotShardsStatus {
|
|
|
13697
13697
|
stage: SnapshotShardsStatsStage;
|
|
13698
13698
|
stats: SnapshotShardsStatsSummary;
|
|
13699
13699
|
}
|
|
13700
|
-
export
|
|
13700
|
+
export type SnapshotSnapshotSort = 'start_time' | 'duration' | 'name' | 'index_count' | 'repository' | 'shard_count' | 'failed_shard_count';
|
|
13701
13701
|
export interface SnapshotSnapshotStats {
|
|
13702
13702
|
incremental: SnapshotFileCountSnapshotStats;
|
|
13703
13703
|
start_time_in_millis: EpochTime<UnitMillis>;
|
|
@@ -13735,7 +13735,7 @@ export interface SnapshotCloneRequest extends RequestBase {
|
|
|
13735
13735
|
timeout?: Duration;
|
|
13736
13736
|
indices: string;
|
|
13737
13737
|
}
|
|
13738
|
-
export
|
|
13738
|
+
export type SnapshotCloneResponse = AcknowledgedResponseBase;
|
|
13739
13739
|
export interface SnapshotCreateRequest extends RequestBase {
|
|
13740
13740
|
repository: Name;
|
|
13741
13741
|
snapshot: Name;
|
|
@@ -13761,19 +13761,19 @@ export interface SnapshotCreateRepositoryRequest extends RequestBase {
|
|
|
13761
13761
|
type: string;
|
|
13762
13762
|
settings: SnapshotRepositorySettings;
|
|
13763
13763
|
}
|
|
13764
|
-
export
|
|
13764
|
+
export type SnapshotCreateRepositoryResponse = AcknowledgedResponseBase;
|
|
13765
13765
|
export interface SnapshotDeleteRequest extends RequestBase {
|
|
13766
13766
|
repository: Name;
|
|
13767
13767
|
snapshot: Name;
|
|
13768
13768
|
master_timeout?: Duration;
|
|
13769
13769
|
}
|
|
13770
|
-
export
|
|
13770
|
+
export type SnapshotDeleteResponse = AcknowledgedResponseBase;
|
|
13771
13771
|
export interface SnapshotDeleteRepositoryRequest extends RequestBase {
|
|
13772
13772
|
name: Names;
|
|
13773
13773
|
master_timeout?: Duration;
|
|
13774
13774
|
timeout?: Duration;
|
|
13775
13775
|
}
|
|
13776
|
-
export
|
|
13776
|
+
export type SnapshotDeleteRepositoryResponse = AcknowledgedResponseBase;
|
|
13777
13777
|
export interface SnapshotGetRequest extends RequestBase {
|
|
13778
13778
|
repository: Name;
|
|
13779
13779
|
snapshot: Names;
|
|
@@ -13807,7 +13807,7 @@ export interface SnapshotGetRepositoryRequest extends RequestBase {
|
|
|
13807
13807
|
local?: boolean;
|
|
13808
13808
|
master_timeout?: Duration;
|
|
13809
13809
|
}
|
|
13810
|
-
export
|
|
13810
|
+
export type SnapshotGetRepositoryResponse = Record<string, SnapshotRepository>;
|
|
13811
13811
|
export interface SnapshotRestoreRequest extends RequestBase {
|
|
13812
13812
|
repository: Name;
|
|
13813
13813
|
snapshot: Name;
|
|
@@ -13855,7 +13855,7 @@ export interface SqlColumn {
|
|
|
13855
13855
|
name: Name;
|
|
13856
13856
|
type: string;
|
|
13857
13857
|
}
|
|
13858
|
-
export
|
|
13858
|
+
export type SqlRow = any[];
|
|
13859
13859
|
export interface SqlClearCursorRequest extends RequestBase {
|
|
13860
13860
|
cursor: string;
|
|
13861
13861
|
}
|
|
@@ -13865,7 +13865,7 @@ export interface SqlClearCursorResponse {
|
|
|
13865
13865
|
export interface SqlDeleteAsyncRequest extends RequestBase {
|
|
13866
13866
|
id: Id;
|
|
13867
13867
|
}
|
|
13868
|
-
export
|
|
13868
|
+
export type SqlDeleteAsyncResponse = AcknowledgedResponseBase;
|
|
13869
13869
|
export interface SqlGetAsyncRequest extends RequestBase {
|
|
13870
13870
|
id: Id;
|
|
13871
13871
|
delimiter?: string;
|
|
@@ -13944,8 +13944,8 @@ export interface SslCertificatesCertificateInformation {
|
|
|
13944
13944
|
}
|
|
13945
13945
|
export interface SslCertificatesRequest extends RequestBase {
|
|
13946
13946
|
}
|
|
13947
|
-
export
|
|
13948
|
-
export
|
|
13947
|
+
export type SslCertificatesResponse = SslCertificatesCertificateInformation[];
|
|
13948
|
+
export type TasksGroupBy = 'nodes' | 'parents' | 'none';
|
|
13949
13949
|
export interface TasksNodeTasks {
|
|
13950
13950
|
name?: NodeId;
|
|
13951
13951
|
transport_address?: TransportAddress;
|
|
@@ -13973,7 +13973,7 @@ export interface TasksTaskInfo {
|
|
|
13973
13973
|
type: string;
|
|
13974
13974
|
parent_task_id?: TaskId;
|
|
13975
13975
|
}
|
|
13976
|
-
export
|
|
13976
|
+
export type TasksTaskInfos = TasksTaskInfo[] | Record<string, TasksParentTaskInfo>;
|
|
13977
13977
|
export interface TasksTaskListResponseBase {
|
|
13978
13978
|
node_failures?: ErrorCause[];
|
|
13979
13979
|
task_failures?: TaskFailure[];
|
|
@@ -14006,7 +14006,7 @@ export interface TasksCancelRequest extends RequestBase {
|
|
|
14006
14006
|
parent_task_id?: string;
|
|
14007
14007
|
wait_for_completion?: boolean;
|
|
14008
14008
|
}
|
|
14009
|
-
export
|
|
14009
|
+
export type TasksCancelResponse = TasksTaskListResponseBase;
|
|
14010
14010
|
export interface TasksGetRequest extends RequestBase {
|
|
14011
14011
|
task_id: Id;
|
|
14012
14012
|
timeout?: Duration;
|
|
@@ -14028,7 +14028,7 @@ export interface TasksListRequest extends RequestBase {
|
|
|
14028
14028
|
timeout?: Duration;
|
|
14029
14029
|
wait_for_completion?: boolean;
|
|
14030
14030
|
}
|
|
14031
|
-
export
|
|
14031
|
+
export type TasksListResponse = TasksTaskListResponseBase;
|
|
14032
14032
|
export interface TextStructureFindStructureFieldStat {
|
|
14033
14033
|
count: integer;
|
|
14034
14034
|
cardinality: integer;
|
|
@@ -14135,7 +14135,7 @@ export interface TransformDeleteTransformRequest extends RequestBase {
|
|
|
14135
14135
|
force?: boolean;
|
|
14136
14136
|
timeout?: Duration;
|
|
14137
14137
|
}
|
|
14138
|
-
export
|
|
14138
|
+
export type TransformDeleteTransformResponse = AcknowledgedResponseBase;
|
|
14139
14139
|
export interface TransformGetTransformRequest extends RequestBase {
|
|
14140
14140
|
transform_id?: Names;
|
|
14141
14141
|
allow_no_match?: boolean;
|
|
@@ -14255,17 +14255,17 @@ export interface TransformPutTransformRequest extends RequestBase {
|
|
|
14255
14255
|
source: TransformSource;
|
|
14256
14256
|
sync?: TransformSyncContainer;
|
|
14257
14257
|
}
|
|
14258
|
-
export
|
|
14258
|
+
export type TransformPutTransformResponse = AcknowledgedResponseBase;
|
|
14259
14259
|
export interface TransformResetTransformRequest extends RequestBase {
|
|
14260
14260
|
transform_id: Id;
|
|
14261
14261
|
force?: boolean;
|
|
14262
14262
|
}
|
|
14263
|
-
export
|
|
14263
|
+
export type TransformResetTransformResponse = AcknowledgedResponseBase;
|
|
14264
14264
|
export interface TransformStartTransformRequest extends RequestBase {
|
|
14265
14265
|
transform_id: Id;
|
|
14266
14266
|
timeout?: Duration;
|
|
14267
14267
|
}
|
|
14268
|
-
export
|
|
14268
|
+
export type TransformStartTransformResponse = AcknowledgedResponseBase;
|
|
14269
14269
|
export interface TransformStopTransformRequest extends RequestBase {
|
|
14270
14270
|
transform_id: Name;
|
|
14271
14271
|
allow_no_match?: boolean;
|
|
@@ -14274,7 +14274,7 @@ export interface TransformStopTransformRequest extends RequestBase {
|
|
|
14274
14274
|
wait_for_checkpoint?: boolean;
|
|
14275
14275
|
wait_for_completion?: boolean;
|
|
14276
14276
|
}
|
|
14277
|
-
export
|
|
14277
|
+
export type TransformStopTransformResponse = AcknowledgedResponseBase;
|
|
14278
14278
|
export interface TransformUpdateTransformRequest extends RequestBase {
|
|
14279
14279
|
transform_id: Id;
|
|
14280
14280
|
defer_validation?: boolean;
|
|
@@ -14317,7 +14317,7 @@ export interface WatcherAcknowledgeState {
|
|
|
14317
14317
|
state: WatcherAcknowledgementOptions;
|
|
14318
14318
|
timestamp: DateTime;
|
|
14319
14319
|
}
|
|
14320
|
-
export
|
|
14320
|
+
export type WatcherAcknowledgementOptions = 'awaits_successful_execution' | 'ackable' | 'acked';
|
|
14321
14321
|
export interface WatcherAction {
|
|
14322
14322
|
action_type?: WatcherActionType;
|
|
14323
14323
|
condition?: WatcherConditionContainer;
|
|
@@ -14334,16 +14334,16 @@ export interface WatcherAction {
|
|
|
14334
14334
|
slack?: WatcherSlackAction;
|
|
14335
14335
|
webhook?: WatcherWebhookAction;
|
|
14336
14336
|
}
|
|
14337
|
-
export
|
|
14337
|
+
export type WatcherActionExecutionMode = 'simulate' | 'force_simulate' | 'execute' | 'force_execute' | 'skip';
|
|
14338
14338
|
export interface WatcherActionStatus {
|
|
14339
14339
|
ack: WatcherAcknowledgeState;
|
|
14340
14340
|
last_execution?: WatcherExecutionState;
|
|
14341
14341
|
last_successful_execution?: WatcherExecutionState;
|
|
14342
14342
|
last_throttle?: WatcherThrottleState;
|
|
14343
14343
|
}
|
|
14344
|
-
export
|
|
14345
|
-
export
|
|
14346
|
-
export
|
|
14344
|
+
export type WatcherActionStatusOptions = 'success' | 'failure' | 'simulated' | 'throttled';
|
|
14345
|
+
export type WatcherActionType = 'email' | 'webhook' | 'index' | 'logging' | 'slack' | 'pagerduty';
|
|
14346
|
+
export type WatcherActions = Record<IndexName, WatcherActionStatus>;
|
|
14347
14347
|
export interface WatcherActivationState {
|
|
14348
14348
|
active: boolean;
|
|
14349
14349
|
timestamp: DateTime;
|
|
@@ -14358,7 +14358,7 @@ export interface WatcherAlwaysCondition {
|
|
|
14358
14358
|
export interface WatcherArrayCompareConditionKeys {
|
|
14359
14359
|
path: string;
|
|
14360
14360
|
}
|
|
14361
|
-
export
|
|
14361
|
+
export type WatcherArrayCompareCondition = WatcherArrayCompareConditionKeys & {
|
|
14362
14362
|
[property: string]: WatcherArrayCompareOpParams | string;
|
|
14363
14363
|
};
|
|
14364
14364
|
export interface WatcherArrayCompareOpParams {
|
|
@@ -14375,18 +14375,18 @@ export interface WatcherConditionContainer {
|
|
|
14375
14375
|
never?: WatcherNeverCondition;
|
|
14376
14376
|
script?: WatcherScriptCondition;
|
|
14377
14377
|
}
|
|
14378
|
-
export
|
|
14379
|
-
export
|
|
14380
|
-
export
|
|
14381
|
-
export
|
|
14378
|
+
export type WatcherConditionOp = 'not_eq' | 'eq' | 'lt' | 'gt' | 'lte' | 'gte';
|
|
14379
|
+
export type WatcherConditionType = 'always' | 'never' | 'script' | 'compare' | 'array_compare';
|
|
14380
|
+
export type WatcherConnectionScheme = 'http' | 'https';
|
|
14381
|
+
export type WatcherCronExpression = string;
|
|
14382
14382
|
export interface WatcherDailySchedule {
|
|
14383
14383
|
at: WatcherScheduleTimeOfDay[];
|
|
14384
14384
|
}
|
|
14385
|
-
export
|
|
14385
|
+
export type WatcherDataAttachmentFormat = 'json' | 'yaml';
|
|
14386
14386
|
export interface WatcherDataEmailAttachment {
|
|
14387
14387
|
format?: WatcherDataAttachmentFormat;
|
|
14388
14388
|
}
|
|
14389
|
-
export
|
|
14389
|
+
export type WatcherDay = 'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday';
|
|
14390
14390
|
export interface WatcherEmail {
|
|
14391
14391
|
id?: Id;
|
|
14392
14392
|
bcc?: string[];
|
|
@@ -14411,13 +14411,13 @@ export interface WatcherEmailBody {
|
|
|
14411
14411
|
html?: string;
|
|
14412
14412
|
text?: string;
|
|
14413
14413
|
}
|
|
14414
|
-
export
|
|
14414
|
+
export type WatcherEmailPriority = 'lowest' | 'low' | 'normal' | 'high' | 'highest';
|
|
14415
14415
|
export interface WatcherEmailResult {
|
|
14416
14416
|
account?: string;
|
|
14417
14417
|
message: WatcherEmail;
|
|
14418
14418
|
reason?: string;
|
|
14419
14419
|
}
|
|
14420
|
-
export
|
|
14420
|
+
export type WatcherExecutionPhase = 'awaits_execution' | 'started' | 'input' | 'condition' | 'actions' | 'watch_transform' | 'aborted' | 'finished';
|
|
14421
14421
|
export interface WatcherExecutionResult {
|
|
14422
14422
|
actions: WatcherExecutionResultAction[];
|
|
14423
14423
|
condition: WatcherExecutionResultCondition;
|
|
@@ -14453,7 +14453,7 @@ export interface WatcherExecutionState {
|
|
|
14453
14453
|
timestamp: DateTime;
|
|
14454
14454
|
reason?: string;
|
|
14455
14455
|
}
|
|
14456
|
-
export
|
|
14456
|
+
export type WatcherExecutionStatus = 'awaits_execution' | 'checking' | 'execution_not_needed' | 'throttled' | 'executed' | 'failed' | 'deleted_while_queued' | 'not_executed_already_queued';
|
|
14457
14457
|
export interface WatcherExecutionThreadPool {
|
|
14458
14458
|
max_size: long;
|
|
14459
14459
|
queue_size: long;
|
|
@@ -14482,7 +14482,7 @@ export interface WatcherHttpInputBasicAuthentication {
|
|
|
14482
14482
|
password: Password;
|
|
14483
14483
|
username: Username;
|
|
14484
14484
|
}
|
|
14485
|
-
export
|
|
14485
|
+
export type WatcherHttpInputMethod = 'head' | 'get' | 'post' | 'put' | 'delete';
|
|
14486
14486
|
export interface WatcherHttpInputProxy {
|
|
14487
14487
|
host: Host;
|
|
14488
14488
|
port: uint;
|
|
@@ -14533,7 +14533,7 @@ export interface WatcherInputContainer {
|
|
|
14533
14533
|
search?: WatcherSearchInput;
|
|
14534
14534
|
simple?: Record<string, any>;
|
|
14535
14535
|
}
|
|
14536
|
-
export
|
|
14536
|
+
export type WatcherInputType = 'http' | 'search' | 'simple';
|
|
14537
14537
|
export interface WatcherLoggingAction {
|
|
14538
14538
|
level?: string;
|
|
14539
14539
|
text: string;
|
|
@@ -14542,7 +14542,7 @@ export interface WatcherLoggingAction {
|
|
|
14542
14542
|
export interface WatcherLoggingResult {
|
|
14543
14543
|
logged_text: string;
|
|
14544
14544
|
}
|
|
14545
|
-
export
|
|
14545
|
+
export type WatcherMonth = 'january' | 'february' | 'march' | 'april' | 'may' | 'june' | 'july' | 'august' | 'september' | 'october' | 'november' | 'december';
|
|
14546
14546
|
export interface WatcherNeverCondition {
|
|
14547
14547
|
}
|
|
14548
14548
|
export interface WatcherPagerDutyAction extends WatcherPagerDutyEvent {
|
|
@@ -14552,7 +14552,7 @@ export interface WatcherPagerDutyContext {
|
|
|
14552
14552
|
src?: string;
|
|
14553
14553
|
type: WatcherPagerDutyContextType;
|
|
14554
14554
|
}
|
|
14555
|
-
export
|
|
14555
|
+
export type WatcherPagerDutyContextType = 'link' | 'image';
|
|
14556
14556
|
export interface WatcherPagerDutyEvent {
|
|
14557
14557
|
account?: string;
|
|
14558
14558
|
attach_payload: boolean;
|
|
@@ -14569,14 +14569,14 @@ export interface WatcherPagerDutyEventProxy {
|
|
|
14569
14569
|
host?: Host;
|
|
14570
14570
|
port?: integer;
|
|
14571
14571
|
}
|
|
14572
|
-
export
|
|
14572
|
+
export type WatcherPagerDutyEventType = 'trigger' | 'resolve' | 'acknowledge';
|
|
14573
14573
|
export interface WatcherPagerDutyResult {
|
|
14574
14574
|
event: WatcherPagerDutyEvent;
|
|
14575
14575
|
reason?: string;
|
|
14576
14576
|
request?: WatcherHttpInputRequestResult;
|
|
14577
14577
|
response?: WatcherHttpInputResponseResult;
|
|
14578
14578
|
}
|
|
14579
|
-
export
|
|
14579
|
+
export type WatcherQuantifier = 'some' | 'all';
|
|
14580
14580
|
export interface WatcherQueryWatch {
|
|
14581
14581
|
_id: Id;
|
|
14582
14582
|
status?: WatcherWatchStatus;
|
|
@@ -14591,7 +14591,7 @@ export interface WatcherReportingEmailAttachment {
|
|
|
14591
14591
|
interval?: Duration;
|
|
14592
14592
|
request?: WatcherHttpInputRequestDefinition;
|
|
14593
14593
|
}
|
|
14594
|
-
export
|
|
14594
|
+
export type WatcherResponseContentType = 'json' | 'yaml' | 'text';
|
|
14595
14595
|
export interface WatcherScheduleContainer {
|
|
14596
14596
|
cron?: WatcherCronExpression;
|
|
14597
14597
|
daily?: WatcherDailySchedule;
|
|
@@ -14601,7 +14601,7 @@ export interface WatcherScheduleContainer {
|
|
|
14601
14601
|
weekly?: WatcherTimeOfWeek | WatcherTimeOfWeek[];
|
|
14602
14602
|
yearly?: WatcherTimeOfYear | WatcherTimeOfYear[];
|
|
14603
14603
|
}
|
|
14604
|
-
export
|
|
14604
|
+
export type WatcherScheduleTimeOfDay = string | WatcherHourAndMinute;
|
|
14605
14605
|
export interface WatcherScheduleTriggerEvent {
|
|
14606
14606
|
scheduled_time: DateTime;
|
|
14607
14607
|
triggered_time?: DateTime;
|
|
@@ -14836,7 +14836,7 @@ export interface WatcherQueryWatchesResponse {
|
|
|
14836
14836
|
}
|
|
14837
14837
|
export interface WatcherStartRequest extends RequestBase {
|
|
14838
14838
|
}
|
|
14839
|
-
export
|
|
14839
|
+
export type WatcherStartResponse = AcknowledgedResponseBase;
|
|
14840
14840
|
export interface WatcherStatsRequest extends RequestBase {
|
|
14841
14841
|
metric?: WatcherStatsWatcherMetric | WatcherStatsWatcherMetric[];
|
|
14842
14842
|
emit_stacktraces?: boolean;
|
|
@@ -14857,7 +14857,7 @@ export interface WatcherStatsWatchRecordStats extends WatcherStatsWatchRecordQue
|
|
|
14857
14857
|
watch_id: Id;
|
|
14858
14858
|
watch_record_id: Id;
|
|
14859
14859
|
}
|
|
14860
|
-
export
|
|
14860
|
+
export type WatcherStatsWatcherMetric = '_all' | 'all' | 'queued_watches' | 'current_watches' | 'pending_watches';
|
|
14861
14861
|
export interface WatcherStatsWatcherNodeStats {
|
|
14862
14862
|
current_watches?: WatcherStatsWatchRecordStats[];
|
|
14863
14863
|
execution_thread_pool: WatcherExecutionThreadPool;
|
|
@@ -14866,10 +14866,10 @@ export interface WatcherStatsWatcherNodeStats {
|
|
|
14866
14866
|
watcher_state: WatcherStatsWatcherState;
|
|
14867
14867
|
node_id: Id;
|
|
14868
14868
|
}
|
|
14869
|
-
export
|
|
14869
|
+
export type WatcherStatsWatcherState = 'stopped' | 'starting' | 'started' | 'stopping';
|
|
14870
14870
|
export interface WatcherStopRequest extends RequestBase {
|
|
14871
14871
|
}
|
|
14872
|
-
export
|
|
14872
|
+
export type WatcherStopResponse = AcknowledgedResponseBase;
|
|
14873
14873
|
export interface XpackInfoBuildInformation {
|
|
14874
14874
|
date: DateTime;
|
|
14875
14875
|
hash: string;
|
|
@@ -15060,7 +15060,7 @@ export interface XpackUsageIpFilter {
|
|
|
15060
15060
|
export interface XpackUsageJobsKeys {
|
|
15061
15061
|
_all?: XpackUsageAllJobs;
|
|
15062
15062
|
}
|
|
15063
|
-
export
|
|
15063
|
+
export type XpackUsageJobs = XpackUsageJobsKeys & {
|
|
15064
15064
|
[property: string]: MlJob | XpackUsageAllJobs;
|
|
15065
15065
|
};
|
|
15066
15066
|
export interface XpackUsageMachineLearning extends XpackUsageBase {
|