@elastic/elasticsearch 8.4.0 → 8.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api/api/field_caps.d.ts +3 -3
- package/lib/api/api/field_caps.js +2 -1
- package/lib/api/api/field_caps.js.map +1 -1
- package/lib/api/api/indices.d.ts +3 -0
- package/lib/api/api/indices.js +24 -0
- package/lib/api/api/indices.js.map +1 -1
- package/lib/api/api/license.d.ts +3 -3
- package/lib/api/api/license.js +1 -0
- package/lib/api/api/license.js.map +1 -1
- package/lib/api/api/ml.d.ts +3 -0
- package/lib/api/api/ml.js +17 -0
- package/lib/api/api/ml.js.map +1 -1
- package/lib/api/api/rollup.d.ts +0 -3
- package/lib/api/api/rollup.js +0 -24
- package/lib/api/api/rollup.js.map +1 -1
- package/lib/api/api/security.d.ts +3 -0
- package/lib/api/api/security.js +18 -1
- package/lib/api/api/security.js.map +1 -1
- package/lib/api/types.d.ts +239 -138
- package/lib/api/typesWithBodyKey.d.ts +240 -139
- package/lib/client.d.ts +1 -0
- package/lib/helpers.d.ts +1 -0
- package/lib/helpers.js +0 -1
- package/lib/helpers.js.map +1 -1
- package/package.json +3 -3
- package/ye.sh +9 -0
- package/ye2.sh +12 -0
package/lib/api/types.d.ts
CHANGED
|
@@ -191,7 +191,7 @@ export interface DeleteByQueryResponse {
|
|
|
191
191
|
version_conflicts?: long;
|
|
192
192
|
}
|
|
193
193
|
export interface DeleteByQueryRethrottleRequest extends RequestBase {
|
|
194
|
-
task_id:
|
|
194
|
+
task_id: TaskId;
|
|
195
195
|
requests_per_second?: float;
|
|
196
196
|
}
|
|
197
197
|
export declare type DeleteByQueryRethrottleResponse = TasksTaskListResponseBase;
|
|
@@ -282,11 +282,11 @@ export interface FieldCapsRequest extends RequestBase {
|
|
|
282
282
|
index?: Indices;
|
|
283
283
|
allow_no_indices?: boolean;
|
|
284
284
|
expand_wildcards?: ExpandWildcards;
|
|
285
|
-
fields: Fields;
|
|
286
285
|
ignore_unavailable?: boolean;
|
|
287
286
|
include_unmapped?: boolean;
|
|
288
287
|
filters?: string;
|
|
289
288
|
types?: string[];
|
|
289
|
+
fields?: Fields;
|
|
290
290
|
index_filter?: QueryDslQueryContainer;
|
|
291
291
|
runtime_mappings?: MappingRuntimeFields;
|
|
292
292
|
}
|
|
@@ -357,7 +357,7 @@ export interface GetScriptLanguagesResponse {
|
|
|
357
357
|
language_contexts: GetScriptLanguagesLanguageContext[];
|
|
358
358
|
types_allowed: string[];
|
|
359
359
|
}
|
|
360
|
-
export interface GetSourceRequest {
|
|
360
|
+
export interface GetSourceRequest extends RequestBase {
|
|
361
361
|
id: Id;
|
|
362
362
|
index: IndexName;
|
|
363
363
|
preference?: string;
|
|
@@ -665,7 +665,7 @@ export interface RankEvalRankEvalRequestItem {
|
|
|
665
665
|
params?: Record<string, any>;
|
|
666
666
|
}
|
|
667
667
|
export interface RankEvalRequest extends RequestBase {
|
|
668
|
-
index
|
|
668
|
+
index?: Indices;
|
|
669
669
|
allow_no_indices?: boolean;
|
|
670
670
|
expand_wildcards?: ExpandWildcards;
|
|
671
671
|
ignore_unavailable?: boolean;
|
|
@@ -938,11 +938,13 @@ export interface SearchAggregationProfileDebug {
|
|
|
938
938
|
filters?: SearchAggregationProfileDelegateDebugFilter[];
|
|
939
939
|
segments_counted?: integer;
|
|
940
940
|
segments_collected?: integer;
|
|
941
|
+
map_reducer?: string;
|
|
941
942
|
}
|
|
942
943
|
export interface SearchAggregationProfileDelegateDebugFilter {
|
|
943
944
|
results_from_metadata?: integer;
|
|
944
945
|
query?: string;
|
|
945
946
|
specialized_for?: string;
|
|
947
|
+
segments_counted_in_constant_time?: integer;
|
|
946
948
|
}
|
|
947
949
|
export declare type SearchBoundaryScanner = 'chars' | 'sentence' | 'word';
|
|
948
950
|
export interface SearchCollector {
|
|
@@ -1003,6 +1005,8 @@ export interface SearchFetchProfile {
|
|
|
1003
1005
|
children?: SearchFetchProfile[];
|
|
1004
1006
|
}
|
|
1005
1007
|
export interface SearchFetchProfileBreakdown {
|
|
1008
|
+
load_source?: integer;
|
|
1009
|
+
load_source_count?: integer;
|
|
1006
1010
|
load_stored_fields?: integer;
|
|
1007
1011
|
load_stored_fields_count?: integer;
|
|
1008
1012
|
next_reader?: integer;
|
|
@@ -1058,6 +1062,7 @@ export interface SearchHighlightBase {
|
|
|
1058
1062
|
export interface SearchHighlightField extends SearchHighlightBase {
|
|
1059
1063
|
fragment_offset?: integer;
|
|
1060
1064
|
matched_fields?: Fields;
|
|
1065
|
+
analyzer?: AnalysisAnalyzer;
|
|
1061
1066
|
}
|
|
1062
1067
|
export declare type SearchHighlighterEncoder = 'default' | 'html';
|
|
1063
1068
|
export declare type SearchHighlighterFragmenter = 'simple' | 'span';
|
|
@@ -1142,8 +1147,9 @@ export interface SearchPhraseSuggestHighlight {
|
|
|
1142
1147
|
}
|
|
1143
1148
|
export interface SearchPhraseSuggestOption {
|
|
1144
1149
|
text: string;
|
|
1145
|
-
highlighted: string;
|
|
1146
1150
|
score: double;
|
|
1151
|
+
highlighted?: string;
|
|
1152
|
+
collate_match?: boolean;
|
|
1147
1153
|
}
|
|
1148
1154
|
export interface SearchPhraseSuggester extends SearchSuggesterBase {
|
|
1149
1155
|
collate?: SearchPhraseSuggestCollate;
|
|
@@ -1263,8 +1269,10 @@ export interface SearchTermSuggest extends SearchSuggestBase {
|
|
|
1263
1269
|
}
|
|
1264
1270
|
export interface SearchTermSuggestOption {
|
|
1265
1271
|
text: string;
|
|
1266
|
-
freq: long;
|
|
1267
1272
|
score: double;
|
|
1273
|
+
freq: long;
|
|
1274
|
+
highlighted?: string;
|
|
1275
|
+
collate_match?: boolean;
|
|
1268
1276
|
}
|
|
1269
1277
|
export interface SearchTermSuggester extends SearchSuggesterBase {
|
|
1270
1278
|
lowercase_terms?: boolean;
|
|
@@ -1641,7 +1649,7 @@ export interface FieldSort {
|
|
|
1641
1649
|
format?: string;
|
|
1642
1650
|
}
|
|
1643
1651
|
export declare type FieldSortNumericType = 'long' | 'double' | 'date' | 'date_nanos';
|
|
1644
|
-
export declare type FieldValue = long | double | string | boolean;
|
|
1652
|
+
export declare type FieldValue = long | double | string | boolean | null | any;
|
|
1645
1653
|
export interface FielddataStats {
|
|
1646
1654
|
evictions?: long;
|
|
1647
1655
|
memory_size?: ByteSize;
|
|
@@ -1673,6 +1681,7 @@ export interface GeoHashLocation {
|
|
|
1673
1681
|
geohash: GeoHash;
|
|
1674
1682
|
}
|
|
1675
1683
|
export declare type GeoHashPrecision = number | string;
|
|
1684
|
+
export declare type GeoHexCell = string;
|
|
1676
1685
|
export interface GeoLine {
|
|
1677
1686
|
type: string;
|
|
1678
1687
|
coordinates: double[][];
|
|
@@ -1797,10 +1806,11 @@ export interface NestedSortValue {
|
|
|
1797
1806
|
export interface NodeAttributes {
|
|
1798
1807
|
attributes: Record<string, string>;
|
|
1799
1808
|
ephemeral_id: Id;
|
|
1800
|
-
id?:
|
|
1809
|
+
id?: NodeId;
|
|
1801
1810
|
name: NodeName;
|
|
1802
1811
|
transport_address: TransportAddress;
|
|
1803
1812
|
roles?: NodeRoles;
|
|
1813
|
+
external_id: string;
|
|
1804
1814
|
}
|
|
1805
1815
|
export declare type NodeId = string;
|
|
1806
1816
|
export declare type NodeIds = NodeId | NodeId[];
|
|
@@ -1902,7 +1912,7 @@ export interface ScriptSort {
|
|
|
1902
1912
|
mode?: SortMode;
|
|
1903
1913
|
nested?: NestedSortValue;
|
|
1904
1914
|
}
|
|
1905
|
-
export declare type ScriptSortType = 'string' | 'number';
|
|
1915
|
+
export declare type ScriptSortType = 'string' | 'number' | 'version';
|
|
1906
1916
|
export interface ScriptTransform {
|
|
1907
1917
|
lang?: string;
|
|
1908
1918
|
params?: Record<string, any>;
|
|
@@ -1983,7 +1993,7 @@ export interface ShardsOperationResponseBase {
|
|
|
1983
1993
|
}
|
|
1984
1994
|
export interface SlicedScroll {
|
|
1985
1995
|
field?: Field;
|
|
1986
|
-
id:
|
|
1996
|
+
id: Id;
|
|
1987
1997
|
max: integer;
|
|
1988
1998
|
}
|
|
1989
1999
|
export declare type Slices = integer | SlicesCalculation;
|
|
@@ -2001,7 +2011,7 @@ export declare type SortOptions = SortOptionsKeys & {
|
|
|
2001
2011
|
[property: string]: FieldSort | SortOrder | ScoreSort | GeoDistanceSort | ScriptSort;
|
|
2002
2012
|
};
|
|
2003
2013
|
export declare type SortOrder = 'asc' | 'desc';
|
|
2004
|
-
export declare type SortResults =
|
|
2014
|
+
export declare type SortResults = FieldValue[];
|
|
2005
2015
|
export interface StoreStats {
|
|
2006
2016
|
size?: ByteSize;
|
|
2007
2017
|
size_in_bytes: integer;
|
|
@@ -2099,11 +2109,12 @@ export interface AggregationsAdjacencyMatrixAggregation extends AggregationsBuck
|
|
|
2099
2109
|
filters?: Record<string, QueryDslQueryContainer>;
|
|
2100
2110
|
}
|
|
2101
2111
|
export interface AggregationsAdjacencyMatrixBucketKeys extends AggregationsMultiBucketBase {
|
|
2112
|
+
key: string;
|
|
2102
2113
|
}
|
|
2103
2114
|
export declare type AggregationsAdjacencyMatrixBucket = AggregationsAdjacencyMatrixBucketKeys & {
|
|
2104
|
-
[property: string]: AggregationsAggregate | long;
|
|
2115
|
+
[property: string]: AggregationsAggregate | string | long;
|
|
2105
2116
|
};
|
|
2106
|
-
export declare 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;
|
|
2117
|
+
export declare type AggregationsAggregate = AggregationsCardinalityAggregate | AggregationsHdrPercentilesAggregate | AggregationsHdrPercentileRanksAggregate | AggregationsTDigestPercentilesAggregate | AggregationsTDigestPercentileRanksAggregate | AggregationsPercentilesBucketAggregate | AggregationsMedianAbsoluteDeviationAggregate | AggregationsMinAggregate | AggregationsMaxAggregate | AggregationsSumAggregate | AggregationsAvgAggregate | AggregationsWeightedAvgAggregate | AggregationsValueCountAggregate | AggregationsSimpleValueAggregate | AggregationsDerivativeAggregate | AggregationsBucketMetricValueAggregate | AggregationsStatsAggregate | AggregationsStatsBucketAggregate | AggregationsExtendedStatsAggregate | AggregationsExtendedStatsBucketAggregate | AggregationsGeoBoundsAggregate | AggregationsGeoCentroidAggregate | AggregationsHistogramAggregate | AggregationsDateHistogramAggregate | AggregationsAutoDateHistogramAggregate | AggregationsVariableWidthHistogramAggregate | AggregationsStringTermsAggregate | AggregationsLongTermsAggregate | AggregationsDoubleTermsAggregate | AggregationsUnmappedTermsAggregate | AggregationsLongRareTermsAggregate | AggregationsStringRareTermsAggregate | AggregationsUnmappedRareTermsAggregate | AggregationsMultiTermsAggregate | AggregationsMissingAggregate | AggregationsNestedAggregate | AggregationsReverseNestedAggregate | AggregationsGlobalAggregate | AggregationsFilterAggregate | AggregationsChildrenAggregate | AggregationsParentAggregate | AggregationsSamplerAggregate | AggregationsUnmappedSamplerAggregate | AggregationsGeoHashGridAggregate | AggregationsGeoTileGridAggregate | AggregationsGeoHexGridAggregate | AggregationsRangeAggregate | AggregationsDateRangeAggregate | AggregationsGeoDistanceAggregate | AggregationsIpRangeAggregate | AggregationsIpPrefixAggregate | AggregationsFiltersAggregate | AggregationsAdjacencyMatrixAggregate | AggregationsSignificantLongTermsAggregate | AggregationsSignificantStringTermsAggregate | AggregationsUnmappedSignificantTermsAggregate | AggregationsCompositeAggregate | AggregationsScriptedMetricAggregate | AggregationsTopHitsAggregate | AggregationsInferenceAggregate | AggregationsStringStatsAggregate | AggregationsBoxPlotAggregate | AggregationsTopMetricsAggregate | AggregationsTTestAggregate | AggregationsRateAggregate | AggregationsCumulativeCardinalityAggregate | AggregationsMatrixStatsAggregate | AggregationsGeoLineAggregate;
|
|
2107
2118
|
export interface AggregationsAggregateBase {
|
|
2108
2119
|
meta?: Metadata;
|
|
2109
2120
|
}
|
|
@@ -2150,6 +2161,7 @@ export interface AggregationsAggregationContainer {
|
|
|
2150
2161
|
global?: AggregationsGlobalAggregation;
|
|
2151
2162
|
histogram?: AggregationsHistogramAggregation;
|
|
2152
2163
|
ip_range?: AggregationsIpRangeAggregation;
|
|
2164
|
+
ip_prefix?: AggregationsIpPrefixAggregation;
|
|
2153
2165
|
inference?: AggregationsInferenceAggregation;
|
|
2154
2166
|
line?: AggregationsGeoLineAggregation;
|
|
2155
2167
|
matrix_stats?: AggregationsMatrixStatsAggregation;
|
|
@@ -2317,10 +2329,11 @@ export interface AggregationsChildrenAggregation extends AggregationsBucketAggre
|
|
|
2317
2329
|
type?: RelationName;
|
|
2318
2330
|
}
|
|
2319
2331
|
export interface AggregationsCompositeAggregate extends AggregationsMultiBucketAggregateBase<AggregationsCompositeBucket> {
|
|
2320
|
-
after_key?:
|
|
2332
|
+
after_key?: AggregationsCompositeAggregateKey;
|
|
2321
2333
|
}
|
|
2334
|
+
export declare type AggregationsCompositeAggregateKey = Record<Field, FieldValue>;
|
|
2322
2335
|
export interface AggregationsCompositeAggregation extends AggregationsBucketAggregationBase {
|
|
2323
|
-
after?:
|
|
2336
|
+
after?: AggregationsCompositeAggregateKey;
|
|
2324
2337
|
size?: integer;
|
|
2325
2338
|
sources?: Record<string, AggregationsCompositeAggregationSource>[];
|
|
2326
2339
|
}
|
|
@@ -2331,10 +2344,10 @@ export interface AggregationsCompositeAggregationSource {
|
|
|
2331
2344
|
geotile_grid?: AggregationsGeoTileGridAggregation;
|
|
2332
2345
|
}
|
|
2333
2346
|
export interface AggregationsCompositeBucketKeys extends AggregationsMultiBucketBase {
|
|
2334
|
-
key:
|
|
2347
|
+
key: AggregationsCompositeAggregateKey;
|
|
2335
2348
|
}
|
|
2336
2349
|
export declare type AggregationsCompositeBucket = AggregationsCompositeBucketKeys & {
|
|
2337
|
-
[property: string]: AggregationsAggregate |
|
|
2350
|
+
[property: string]: AggregationsAggregate | AggregationsCompositeAggregateKey | long;
|
|
2338
2351
|
};
|
|
2339
2352
|
export interface AggregationsCumulativeCardinalityAggregate extends AggregationsAggregateBase {
|
|
2340
2353
|
value: long;
|
|
@@ -2429,6 +2442,8 @@ export interface AggregationsExtendedStatsAggregate extends AggregationsStatsAgg
|
|
|
2429
2442
|
variance_population: double | null;
|
|
2430
2443
|
variance_sampling: double | null;
|
|
2431
2444
|
std_deviation: double | null;
|
|
2445
|
+
std_deviation_population: double | null;
|
|
2446
|
+
std_deviation_sampling: double | null;
|
|
2432
2447
|
std_deviation_bounds?: AggregationsStandardDeviationBounds;
|
|
2433
2448
|
sum_of_squares_as_string?: string;
|
|
2434
2449
|
variance_as_string?: string;
|
|
@@ -2470,7 +2485,7 @@ export interface AggregationsFormatMetricAggregationBase extends AggregationsMet
|
|
|
2470
2485
|
export interface AggregationsFormattableMetricAggregation extends AggregationsMetricAggregationBase {
|
|
2471
2486
|
format?: string;
|
|
2472
2487
|
}
|
|
2473
|
-
export declare type AggregationsGapPolicy = 'skip' | 'insert_zeros';
|
|
2488
|
+
export declare type AggregationsGapPolicy = 'skip' | 'insert_zeros' | 'keep_values';
|
|
2474
2489
|
export interface AggregationsGeoBoundsAggregate extends AggregationsAggregateBase {
|
|
2475
2490
|
bounds?: GeoBounds;
|
|
2476
2491
|
}
|
|
@@ -2509,9 +2524,18 @@ export interface AggregationsGeoHashGridBucketKeys extends AggregationsMultiBuck
|
|
|
2509
2524
|
export declare type AggregationsGeoHashGridBucket = AggregationsGeoHashGridBucketKeys & {
|
|
2510
2525
|
[property: string]: AggregationsAggregate | GeoHash | long;
|
|
2511
2526
|
};
|
|
2527
|
+
export interface AggregationsGeoHexGridAggregate extends AggregationsMultiBucketAggregateBase<AggregationsGeoHexGridBucket> {
|
|
2528
|
+
}
|
|
2529
|
+
export interface AggregationsGeoHexGridBucketKeys extends AggregationsMultiBucketBase {
|
|
2530
|
+
key: GeoHexCell;
|
|
2531
|
+
}
|
|
2532
|
+
export declare type AggregationsGeoHexGridBucket = AggregationsGeoHexGridBucketKeys & {
|
|
2533
|
+
[property: string]: AggregationsAggregate | GeoHexCell | long;
|
|
2534
|
+
};
|
|
2512
2535
|
export interface AggregationsGeoLineAggregate extends AggregationsAggregateBase {
|
|
2513
2536
|
type: string;
|
|
2514
2537
|
geometry: GeoLine;
|
|
2538
|
+
properties: any;
|
|
2515
2539
|
}
|
|
2516
2540
|
export interface AggregationsGeoLineAggregation {
|
|
2517
2541
|
point: AggregationsGeoLinePoint;
|
|
@@ -2639,6 +2663,25 @@ export interface AggregationsInferenceTopClassEntry {
|
|
|
2639
2663
|
class_probability: double;
|
|
2640
2664
|
class_score: double;
|
|
2641
2665
|
}
|
|
2666
|
+
export interface AggregationsIpPrefixAggregate extends AggregationsMultiBucketAggregateBase<AggregationsIpPrefixBucket> {
|
|
2667
|
+
}
|
|
2668
|
+
export interface AggregationsIpPrefixAggregation extends AggregationsBucketAggregationBase {
|
|
2669
|
+
field: Field;
|
|
2670
|
+
prefix_length: integer;
|
|
2671
|
+
is_ipv6?: boolean;
|
|
2672
|
+
append_prefix_length?: boolean;
|
|
2673
|
+
keyed?: boolean;
|
|
2674
|
+
min_doc_count?: long;
|
|
2675
|
+
}
|
|
2676
|
+
export interface AggregationsIpPrefixBucketKeys extends AggregationsMultiBucketBase {
|
|
2677
|
+
is_ipv6: boolean;
|
|
2678
|
+
key: string;
|
|
2679
|
+
prefix_length: integer;
|
|
2680
|
+
netmask?: string;
|
|
2681
|
+
}
|
|
2682
|
+
export declare type AggregationsIpPrefixBucket = AggregationsIpPrefixBucketKeys & {
|
|
2683
|
+
[property: string]: AggregationsAggregate | boolean | string | integer | long;
|
|
2684
|
+
};
|
|
2642
2685
|
export interface AggregationsIpRangeAggregate extends AggregationsMultiBucketAggregateBase<AggregationsIpRangeBucket> {
|
|
2643
2686
|
}
|
|
2644
2687
|
export interface AggregationsIpRangeAggregation extends AggregationsBucketAggregationBase {
|
|
@@ -2651,6 +2694,7 @@ export interface AggregationsIpRangeAggregationRange {
|
|
|
2651
2694
|
to?: string | null;
|
|
2652
2695
|
}
|
|
2653
2696
|
export interface AggregationsIpRangeBucketKeys extends AggregationsMultiBucketBase {
|
|
2697
|
+
key?: string;
|
|
2654
2698
|
from?: string;
|
|
2655
2699
|
to?: string;
|
|
2656
2700
|
}
|
|
@@ -2773,12 +2817,12 @@ export interface AggregationsMultiTermsAggregation extends AggregationsBucketAgg
|
|
|
2773
2817
|
terms: AggregationsMultiTermLookup[];
|
|
2774
2818
|
}
|
|
2775
2819
|
export interface AggregationsMultiTermsBucketKeys extends AggregationsMultiBucketBase {
|
|
2776
|
-
key:
|
|
2820
|
+
key: FieldValue[];
|
|
2777
2821
|
key_as_string?: string;
|
|
2778
2822
|
doc_count_error_upper_bound?: long;
|
|
2779
2823
|
}
|
|
2780
2824
|
export declare type AggregationsMultiTermsBucket = AggregationsMultiTermsBucketKeys & {
|
|
2781
|
-
[property: string]: AggregationsAggregate |
|
|
2825
|
+
[property: string]: AggregationsAggregate | FieldValue[] | string | long;
|
|
2782
2826
|
};
|
|
2783
2827
|
export interface AggregationsMutualInformationHeuristic {
|
|
2784
2828
|
background_is_superset?: boolean;
|
|
@@ -2902,7 +2946,7 @@ export interface AggregationsScriptedMetricAggregation extends AggregationsMetri
|
|
|
2902
2946
|
export interface AggregationsSerialDifferencingAggregation extends AggregationsPipelineAggregationBase {
|
|
2903
2947
|
lag?: integer;
|
|
2904
2948
|
}
|
|
2905
|
-
export interface AggregationsSignificantLongTermsAggregate extends
|
|
2949
|
+
export interface AggregationsSignificantLongTermsAggregate extends AggregationsSignificantTermsAggregateBase<AggregationsSignificantLongTermsBucket> {
|
|
2906
2950
|
}
|
|
2907
2951
|
export interface AggregationsSignificantLongTermsBucketKeys extends AggregationsSignificantTermsBucketBase {
|
|
2908
2952
|
key: long;
|
|
@@ -2911,7 +2955,7 @@ export interface AggregationsSignificantLongTermsBucketKeys extends Aggregations
|
|
|
2911
2955
|
export declare type AggregationsSignificantLongTermsBucket = AggregationsSignificantLongTermsBucketKeys & {
|
|
2912
2956
|
[property: string]: AggregationsAggregate | long | string | double;
|
|
2913
2957
|
};
|
|
2914
|
-
export interface AggregationsSignificantStringTermsAggregate extends
|
|
2958
|
+
export interface AggregationsSignificantStringTermsAggregate extends AggregationsSignificantTermsAggregateBase<AggregationsSignificantStringTermsBucket> {
|
|
2915
2959
|
}
|
|
2916
2960
|
export interface AggregationsSignificantStringTermsBucketKeys extends AggregationsSignificantTermsBucketBase {
|
|
2917
2961
|
key: string;
|
|
@@ -2919,6 +2963,10 @@ export interface AggregationsSignificantStringTermsBucketKeys extends Aggregatio
|
|
|
2919
2963
|
export declare type AggregationsSignificantStringTermsBucket = AggregationsSignificantStringTermsBucketKeys & {
|
|
2920
2964
|
[property: string]: AggregationsAggregate | string | double | long;
|
|
2921
2965
|
};
|
|
2966
|
+
export interface AggregationsSignificantTermsAggregateBase<T = unknown> extends AggregationsMultiBucketAggregateBase<T> {
|
|
2967
|
+
bg_count?: long;
|
|
2968
|
+
doc_count?: long;
|
|
2969
|
+
}
|
|
2922
2970
|
export interface AggregationsSignificantTermsAggregation extends AggregationsBucketAggregationBase {
|
|
2923
2971
|
background_filter?: QueryDslQueryContainer;
|
|
2924
2972
|
chi_square?: AggregationsChiSquareHeuristic;
|
|
@@ -3030,10 +3078,10 @@ export interface AggregationsStringStatsAggregation extends AggregationsMetricAg
|
|
|
3030
3078
|
export interface AggregationsStringTermsAggregate extends AggregationsTermsAggregateBase<AggregationsStringTermsBucket> {
|
|
3031
3079
|
}
|
|
3032
3080
|
export interface AggregationsStringTermsBucketKeys extends AggregationsTermsBucketBase {
|
|
3033
|
-
key:
|
|
3081
|
+
key: FieldValue;
|
|
3034
3082
|
}
|
|
3035
3083
|
export declare type AggregationsStringTermsBucket = AggregationsStringTermsBucketKeys & {
|
|
3036
|
-
[property: string]: AggregationsAggregate |
|
|
3084
|
+
[property: string]: AggregationsAggregate | FieldValue | long;
|
|
3037
3085
|
};
|
|
3038
3086
|
export interface AggregationsSumAggregate extends AggregationsSingleMetricAggregateBase {
|
|
3039
3087
|
}
|
|
@@ -3060,7 +3108,7 @@ export interface AggregationsTTestAggregation extends AggregationsAggregation {
|
|
|
3060
3108
|
export declare type AggregationsTTestType = 'paired' | 'homoscedastic' | 'heteroscedastic';
|
|
3061
3109
|
export interface AggregationsTermsAggregateBase<TBucket = unknown> extends AggregationsMultiBucketAggregateBase<TBucket> {
|
|
3062
3110
|
doc_count_error_upper_bound?: long;
|
|
3063
|
-
sum_other_doc_count
|
|
3111
|
+
sum_other_doc_count?: long;
|
|
3064
3112
|
}
|
|
3065
3113
|
export interface AggregationsTermsAggregation extends AggregationsBucketAggregationBase {
|
|
3066
3114
|
collect_mode?: AggregationsTermsAggregationCollectMode;
|
|
@@ -3135,7 +3183,7 @@ export interface AggregationsUnmappedSamplerAggregateKeys extends AggregationsSi
|
|
|
3135
3183
|
export declare type AggregationsUnmappedSamplerAggregate = AggregationsUnmappedSamplerAggregateKeys & {
|
|
3136
3184
|
[property: string]: AggregationsAggregate | long | Metadata;
|
|
3137
3185
|
};
|
|
3138
|
-
export interface AggregationsUnmappedSignificantTermsAggregate extends
|
|
3186
|
+
export interface AggregationsUnmappedSignificantTermsAggregate extends AggregationsSignificantTermsAggregateBase<void> {
|
|
3139
3187
|
}
|
|
3140
3188
|
export interface AggregationsUnmappedTermsAggregate extends AggregationsTermsAggregateBase<void> {
|
|
3141
3189
|
}
|
|
@@ -3332,7 +3380,7 @@ export interface AnalysisIcuTokenizer extends AnalysisTokenizerBase {
|
|
|
3332
3380
|
export declare type AnalysisIcuTransformDirection = 'forward' | 'reverse';
|
|
3333
3381
|
export interface AnalysisIcuTransformTokenFilter extends AnalysisTokenFilterBase {
|
|
3334
3382
|
type: 'icu_transform';
|
|
3335
|
-
dir
|
|
3383
|
+
dir?: AnalysisIcuTransformDirection;
|
|
3336
3384
|
id: string;
|
|
3337
3385
|
}
|
|
3338
3386
|
export interface AnalysisKStemTokenFilter extends AnalysisTokenFilterBase {
|
|
@@ -3691,6 +3739,7 @@ export interface MappingAggregateMetricDoubleProperty extends MappingPropertyBas
|
|
|
3691
3739
|
type: 'aggregate_metric_double';
|
|
3692
3740
|
default_metric: string;
|
|
3693
3741
|
metrics: string[];
|
|
3742
|
+
time_series_metric?: MappingTimeSeriesMetricType;
|
|
3694
3743
|
}
|
|
3695
3744
|
export interface MappingAllField {
|
|
3696
3745
|
analyzer: string;
|
|
@@ -3714,7 +3763,7 @@ export interface MappingBooleanProperty extends MappingDocValuesPropertyBase {
|
|
|
3714
3763
|
null_value?: boolean;
|
|
3715
3764
|
type: 'boolean';
|
|
3716
3765
|
}
|
|
3717
|
-
export interface MappingByteNumberProperty extends
|
|
3766
|
+
export interface MappingByteNumberProperty extends MappingNumberPropertyBase {
|
|
3718
3767
|
type: 'byte';
|
|
3719
3768
|
null_value?: byte;
|
|
3720
3769
|
}
|
|
@@ -3778,7 +3827,7 @@ export interface MappingDenseVectorProperty extends MappingPropertyBase {
|
|
|
3778
3827
|
export interface MappingDocValuesPropertyBase extends MappingCorePropertyBase {
|
|
3779
3828
|
doc_values?: boolean;
|
|
3780
3829
|
}
|
|
3781
|
-
export interface MappingDoubleNumberProperty extends
|
|
3830
|
+
export interface MappingDoubleNumberProperty extends MappingNumberPropertyBase {
|
|
3782
3831
|
type: 'double';
|
|
3783
3832
|
null_value?: double;
|
|
3784
3833
|
}
|
|
@@ -3844,7 +3893,7 @@ export interface MappingFlattenedProperty extends MappingPropertyBase {
|
|
|
3844
3893
|
split_queries_on_whitespace?: boolean;
|
|
3845
3894
|
type: 'flattened';
|
|
3846
3895
|
}
|
|
3847
|
-
export interface MappingFloatNumberProperty extends
|
|
3896
|
+
export interface MappingFloatNumberProperty extends MappingNumberPropertyBase {
|
|
3848
3897
|
type: 'float';
|
|
3849
3898
|
null_value?: float;
|
|
3850
3899
|
}
|
|
@@ -3867,7 +3916,7 @@ export interface MappingGeoShapeProperty extends MappingDocValuesPropertyBase {
|
|
|
3867
3916
|
type: 'geo_shape';
|
|
3868
3917
|
}
|
|
3869
3918
|
export declare type MappingGeoStrategy = 'recursive' | 'term';
|
|
3870
|
-
export interface MappingHalfFloatNumberProperty extends
|
|
3919
|
+
export interface MappingHalfFloatNumberProperty extends MappingNumberPropertyBase {
|
|
3871
3920
|
type: 'half_float';
|
|
3872
3921
|
null_value?: float;
|
|
3873
3922
|
}
|
|
@@ -3879,7 +3928,7 @@ export interface MappingIndexField {
|
|
|
3879
3928
|
enabled: boolean;
|
|
3880
3929
|
}
|
|
3881
3930
|
export declare type MappingIndexOptions = 'docs' | 'freqs' | 'positions' | 'offsets';
|
|
3882
|
-
export interface MappingIntegerNumberProperty extends
|
|
3931
|
+
export interface MappingIntegerNumberProperty extends MappingNumberPropertyBase {
|
|
3883
3932
|
type: 'integer';
|
|
3884
3933
|
null_value?: integer;
|
|
3885
3934
|
}
|
|
@@ -3889,8 +3938,11 @@ export interface MappingIntegerRangeProperty extends MappingRangePropertyBase {
|
|
|
3889
3938
|
export interface MappingIpProperty extends MappingDocValuesPropertyBase {
|
|
3890
3939
|
boost?: double;
|
|
3891
3940
|
index?: boolean;
|
|
3892
|
-
null_value?: string;
|
|
3893
3941
|
ignore_malformed?: boolean;
|
|
3942
|
+
null_value?: string;
|
|
3943
|
+
on_script_error?: MappingOnScriptError;
|
|
3944
|
+
script?: Script;
|
|
3945
|
+
time_series_dimension?: boolean;
|
|
3894
3946
|
type: 'ip';
|
|
3895
3947
|
}
|
|
3896
3948
|
export interface MappingIpRangeProperty extends MappingRangePropertyBase {
|
|
@@ -3898,6 +3950,7 @@ export interface MappingIpRangeProperty extends MappingRangePropertyBase {
|
|
|
3898
3950
|
}
|
|
3899
3951
|
export interface MappingJoinProperty extends MappingPropertyBase {
|
|
3900
3952
|
relations?: Record<RelationName, RelationName | RelationName[]>;
|
|
3953
|
+
eager_global_ordinals?: boolean;
|
|
3901
3954
|
type: 'join';
|
|
3902
3955
|
}
|
|
3903
3956
|
export interface MappingKeywordProperty extends MappingDocValuesPropertyBase {
|
|
@@ -3912,7 +3965,7 @@ export interface MappingKeywordProperty extends MappingDocValuesPropertyBase {
|
|
|
3912
3965
|
time_series_dimension?: boolean;
|
|
3913
3966
|
type: 'keyword';
|
|
3914
3967
|
}
|
|
3915
|
-
export interface MappingLongNumberProperty extends
|
|
3968
|
+
export interface MappingLongNumberProperty extends MappingNumberPropertyBase {
|
|
3916
3969
|
type: 'long';
|
|
3917
3970
|
null_value?: long;
|
|
3918
3971
|
}
|
|
@@ -3936,9 +3989,14 @@ export interface MappingNestedProperty extends MappingCorePropertyBase {
|
|
|
3936
3989
|
type: 'nested';
|
|
3937
3990
|
}
|
|
3938
3991
|
export interface MappingNumberPropertyBase extends MappingDocValuesPropertyBase {
|
|
3939
|
-
|
|
3992
|
+
boost?: double;
|
|
3993
|
+
coerce?: boolean;
|
|
3940
3994
|
ignore_malformed?: boolean;
|
|
3995
|
+
index?: boolean;
|
|
3996
|
+
on_script_error?: MappingOnScriptError;
|
|
3997
|
+
script?: Script;
|
|
3941
3998
|
time_series_metric?: MappingTimeSeriesMetricType;
|
|
3999
|
+
time_series_dimension?: boolean;
|
|
3942
4000
|
}
|
|
3943
4001
|
export interface MappingObjectProperty extends MappingCorePropertyBase {
|
|
3944
4002
|
enabled?: boolean;
|
|
@@ -3987,7 +4045,6 @@ export declare type MappingRuntimeFieldType = 'boolean' | 'date' | 'double' | 'g
|
|
|
3987
4045
|
export declare type MappingRuntimeFields = Record<Field, MappingRuntimeField>;
|
|
3988
4046
|
export interface MappingScaledFloatNumberProperty extends MappingNumberPropertyBase {
|
|
3989
4047
|
type: 'scaled_float';
|
|
3990
|
-
coerce?: boolean;
|
|
3991
4048
|
null_value?: double;
|
|
3992
4049
|
scaling_factor?: double;
|
|
3993
4050
|
}
|
|
@@ -4009,7 +4066,7 @@ export interface MappingShapeProperty extends MappingDocValuesPropertyBase {
|
|
|
4009
4066
|
orientation?: MappingGeoOrientation;
|
|
4010
4067
|
type: 'shape';
|
|
4011
4068
|
}
|
|
4012
|
-
export interface MappingShortNumberProperty extends
|
|
4069
|
+
export interface MappingShortNumberProperty extends MappingNumberPropertyBase {
|
|
4013
4070
|
type: 'short';
|
|
4014
4071
|
null_value?: short;
|
|
4015
4072
|
}
|
|
@@ -4022,12 +4079,9 @@ export interface MappingSourceField {
|
|
|
4022
4079
|
enabled?: boolean;
|
|
4023
4080
|
excludes?: string[];
|
|
4024
4081
|
includes?: string[];
|
|
4082
|
+
mode?: MappingSourceFieldMode;
|
|
4025
4083
|
}
|
|
4026
|
-
export
|
|
4027
|
-
coerce?: boolean;
|
|
4028
|
-
script?: Script;
|
|
4029
|
-
on_script_error?: MappingOnScriptError;
|
|
4030
|
-
}
|
|
4084
|
+
export declare type MappingSourceFieldMode = 'disabled' | 'stored' | 'synthetic';
|
|
4031
4085
|
export interface MappingSuggestContext {
|
|
4032
4086
|
name: Name;
|
|
4033
4087
|
path?: Field;
|
|
@@ -7384,20 +7438,17 @@ export interface DanglingIndicesListDanglingIndicesRequest extends RequestBase {
|
|
|
7384
7438
|
export interface DanglingIndicesListDanglingIndicesResponse {
|
|
7385
7439
|
dangling_indices: DanglingIndicesListDanglingIndicesDanglingIndex[];
|
|
7386
7440
|
}
|
|
7387
|
-
export interface EnrichConfiguration {
|
|
7388
|
-
geo_match?: EnrichPolicy;
|
|
7389
|
-
match: EnrichPolicy;
|
|
7390
|
-
range: EnrichPolicy;
|
|
7391
|
-
}
|
|
7392
7441
|
export interface EnrichPolicy {
|
|
7393
7442
|
enrich_fields: Fields;
|
|
7394
7443
|
indices: Indices;
|
|
7395
7444
|
match_field: Field;
|
|
7396
7445
|
query?: string;
|
|
7397
7446
|
name?: Name;
|
|
7447
|
+
elasticsearch_version?: string;
|
|
7398
7448
|
}
|
|
7449
|
+
export declare type EnrichPolicyType = 'geo_match' | 'match' | 'range';
|
|
7399
7450
|
export interface EnrichSummary {
|
|
7400
|
-
config:
|
|
7451
|
+
config: Partial<Record<EnrichPolicyType, EnrichPolicy>>;
|
|
7401
7452
|
}
|
|
7402
7453
|
export interface EnrichDeletePolicyRequest extends RequestBase {
|
|
7403
7454
|
name: Name;
|
|
@@ -7546,7 +7597,7 @@ export interface FleetGlobalCheckpointsResponse {
|
|
|
7546
7597
|
timed_out: boolean;
|
|
7547
7598
|
}
|
|
7548
7599
|
export interface FleetMsearchRequest extends RequestBase {
|
|
7549
|
-
index
|
|
7600
|
+
index?: IndexName | IndexAlias;
|
|
7550
7601
|
allow_no_indices?: boolean;
|
|
7551
7602
|
ccs_minimize_roundtrips?: boolean;
|
|
7552
7603
|
expand_wildcards?: ExpandWildcards;
|
|
@@ -7891,6 +7942,9 @@ export interface IndicesDataStreamTimestampField {
|
|
|
7891
7942
|
export interface IndicesDataStreamVisibility {
|
|
7892
7943
|
hidden?: boolean;
|
|
7893
7944
|
}
|
|
7945
|
+
export interface IndicesDownsampleConfig {
|
|
7946
|
+
fixed_interval: DurationLarge;
|
|
7947
|
+
}
|
|
7894
7948
|
export interface IndicesFielddataFrequencyFilter {
|
|
7895
7949
|
max: double;
|
|
7896
7950
|
min: double;
|
|
@@ -8047,6 +8101,7 @@ export interface IndicesIndexTemplateSummary {
|
|
|
8047
8101
|
}
|
|
8048
8102
|
export interface IndicesIndexVersioning {
|
|
8049
8103
|
created?: VersionString;
|
|
8104
|
+
created_string?: string;
|
|
8050
8105
|
}
|
|
8051
8106
|
export interface IndicesIndexingPressure {
|
|
8052
8107
|
memory: IndicesIndexingPressureMemory;
|
|
@@ -8055,6 +8110,7 @@ export interface IndicesIndexingPressureMemory {
|
|
|
8055
8110
|
limit?: integer;
|
|
8056
8111
|
}
|
|
8057
8112
|
export interface IndicesMappingLimitSettings {
|
|
8113
|
+
coerce?: boolean;
|
|
8058
8114
|
total_fields?: IndicesMappingLimitSettingsTotalFields;
|
|
8059
8115
|
depth?: IndicesMappingLimitSettingsDepth;
|
|
8060
8116
|
nested_fields?: IndicesMappingLimitSettingsNestedFields;
|
|
@@ -8127,7 +8183,7 @@ export interface IndicesSettingsSimilarity {
|
|
|
8127
8183
|
scripted_tfidf?: IndicesSettingsSimilarityScriptedTfidf;
|
|
8128
8184
|
}
|
|
8129
8185
|
export interface IndicesSettingsSimilarityBm25 {
|
|
8130
|
-
b:
|
|
8186
|
+
b: double;
|
|
8131
8187
|
discount_overlaps: boolean;
|
|
8132
8188
|
k1: double;
|
|
8133
8189
|
type: 'BM25';
|
|
@@ -8234,7 +8290,7 @@ export interface IndicesAnalyzeAnalyzeDetail {
|
|
|
8234
8290
|
export interface IndicesAnalyzeAnalyzeToken {
|
|
8235
8291
|
end_offset: long;
|
|
8236
8292
|
position: long;
|
|
8237
|
-
|
|
8293
|
+
positionLength?: long;
|
|
8238
8294
|
start_offset: long;
|
|
8239
8295
|
token: string;
|
|
8240
8296
|
type: string;
|
|
@@ -8407,6 +8463,12 @@ export interface IndicesDiskUsageRequest extends RequestBase {
|
|
|
8407
8463
|
run_expensive_tasks?: boolean;
|
|
8408
8464
|
}
|
|
8409
8465
|
export declare type IndicesDiskUsageResponse = any;
|
|
8466
|
+
export interface IndicesDownsampleRequest extends RequestBase {
|
|
8467
|
+
index: IndexName;
|
|
8468
|
+
target_index: IndexName;
|
|
8469
|
+
config?: IndicesDownsampleConfig;
|
|
8470
|
+
}
|
|
8471
|
+
export declare type IndicesDownsampleResponse = any;
|
|
8410
8472
|
export interface IndicesExistsRequest extends RequestBase {
|
|
8411
8473
|
index: Indices;
|
|
8412
8474
|
allow_no_indices?: boolean;
|
|
@@ -8506,7 +8568,10 @@ export interface IndicesForcemergeRequest extends RequestBase {
|
|
|
8506
8568
|
only_expunge_deletes?: boolean;
|
|
8507
8569
|
wait_for_completion?: boolean;
|
|
8508
8570
|
}
|
|
8509
|
-
export declare type IndicesForcemergeResponse =
|
|
8571
|
+
export declare type IndicesForcemergeResponse = IndicesForcemergeForceMergeResponseBody;
|
|
8572
|
+
export interface IndicesForcemergeForceMergeResponseBody extends ShardsOperationResponseBase {
|
|
8573
|
+
task?: string;
|
|
8574
|
+
}
|
|
8510
8575
|
export declare type IndicesGetFeature = 'aliases' | 'mappings' | 'settings';
|
|
8511
8576
|
export declare type IndicesGetFeatures = IndicesGetFeature | IndicesGetFeature[];
|
|
8512
8577
|
export interface IndicesGetRequest extends RequestBase {
|
|
@@ -8870,13 +8935,18 @@ export interface IndicesRolloverResponse {
|
|
|
8870
8935
|
shards_acknowledged: boolean;
|
|
8871
8936
|
}
|
|
8872
8937
|
export interface IndicesRolloverRolloverConditions {
|
|
8938
|
+
min_age?: Duration;
|
|
8873
8939
|
max_age?: Duration;
|
|
8874
8940
|
max_age_millis?: DurationValue<UnitMillis>;
|
|
8941
|
+
min_docs?: long;
|
|
8875
8942
|
max_docs?: long;
|
|
8876
|
-
max_size?:
|
|
8943
|
+
max_size?: ByteSize;
|
|
8944
|
+
min_size?: ByteSize;
|
|
8877
8945
|
max_size_bytes?: ByteSize;
|
|
8878
8946
|
max_primary_shard_size?: ByteSize;
|
|
8879
|
-
|
|
8947
|
+
min_primary_shard_size?: ByteSize;
|
|
8948
|
+
max_primary_shard_docs?: long;
|
|
8949
|
+
min_primary_shard_docs?: long;
|
|
8880
8950
|
}
|
|
8881
8951
|
export interface IndicesSegmentsIndexSegment {
|
|
8882
8952
|
shards: Record<string, IndicesSegmentsShardsSegment | IndicesSegmentsShardsSegment[]>;
|
|
@@ -9237,35 +9307,34 @@ export interface IngestBytesProcessor extends IngestProcessorBase {
|
|
|
9237
9307
|
export interface IngestCircleProcessor extends IngestProcessorBase {
|
|
9238
9308
|
error_distance: double;
|
|
9239
9309
|
field: Field;
|
|
9240
|
-
ignore_missing
|
|
9310
|
+
ignore_missing?: boolean;
|
|
9241
9311
|
shape_type: IngestShapeType;
|
|
9242
|
-
target_field
|
|
9312
|
+
target_field?: Field;
|
|
9243
9313
|
}
|
|
9244
9314
|
export interface IngestConvertProcessor extends IngestProcessorBase {
|
|
9245
9315
|
field: Field;
|
|
9246
9316
|
ignore_missing?: boolean;
|
|
9247
|
-
target_field
|
|
9317
|
+
target_field?: Field;
|
|
9248
9318
|
type: IngestConvertType;
|
|
9249
9319
|
}
|
|
9250
9320
|
export declare type IngestConvertType = 'integer' | 'long' | 'float' | 'double' | 'string' | 'boolean' | 'auto';
|
|
9251
9321
|
export interface IngestCsvProcessor extends IngestProcessorBase {
|
|
9252
|
-
empty_value
|
|
9253
|
-
description?: string;
|
|
9322
|
+
empty_value?: any;
|
|
9254
9323
|
field: Field;
|
|
9255
9324
|
ignore_missing?: boolean;
|
|
9256
9325
|
quote?: string;
|
|
9257
9326
|
separator?: string;
|
|
9258
9327
|
target_fields: Fields;
|
|
9259
|
-
trim
|
|
9328
|
+
trim?: boolean;
|
|
9260
9329
|
}
|
|
9261
9330
|
export interface IngestDateIndexNameProcessor extends IngestProcessorBase {
|
|
9262
9331
|
date_formats: string[];
|
|
9263
9332
|
date_rounding: string;
|
|
9264
9333
|
field: Field;
|
|
9265
|
-
index_name_format
|
|
9266
|
-
index_name_prefix
|
|
9267
|
-
locale
|
|
9268
|
-
timezone
|
|
9334
|
+
index_name_format?: string;
|
|
9335
|
+
index_name_prefix?: string;
|
|
9336
|
+
locale?: string;
|
|
9337
|
+
timezone?: string;
|
|
9269
9338
|
}
|
|
9270
9339
|
export interface IngestDateProcessor extends IngestProcessorBase {
|
|
9271
9340
|
field: Field;
|
|
@@ -9275,9 +9344,9 @@ export interface IngestDateProcessor extends IngestProcessorBase {
|
|
|
9275
9344
|
timezone?: string;
|
|
9276
9345
|
}
|
|
9277
9346
|
export interface IngestDissectProcessor extends IngestProcessorBase {
|
|
9278
|
-
append_separator
|
|
9347
|
+
append_separator?: string;
|
|
9279
9348
|
field: Field;
|
|
9280
|
-
ignore_missing
|
|
9349
|
+
ignore_missing?: boolean;
|
|
9281
9350
|
pattern: string;
|
|
9282
9351
|
}
|
|
9283
9352
|
export interface IngestDotExpanderProcessor extends IngestProcessorBase {
|
|
@@ -9304,17 +9373,17 @@ export interface IngestForeachProcessor extends IngestProcessorBase {
|
|
|
9304
9373
|
processor: IngestProcessorContainer;
|
|
9305
9374
|
}
|
|
9306
9375
|
export interface IngestGeoIpProcessor extends IngestProcessorBase {
|
|
9307
|
-
database_file
|
|
9376
|
+
database_file?: string;
|
|
9308
9377
|
field: Field;
|
|
9309
|
-
first_only
|
|
9310
|
-
ignore_missing
|
|
9311
|
-
properties
|
|
9312
|
-
target_field
|
|
9378
|
+
first_only?: boolean;
|
|
9379
|
+
ignore_missing?: boolean;
|
|
9380
|
+
properties?: string[];
|
|
9381
|
+
target_field?: Field;
|
|
9313
9382
|
}
|
|
9314
9383
|
export interface IngestGrokProcessor extends IngestProcessorBase {
|
|
9315
9384
|
field: Field;
|
|
9316
9385
|
ignore_missing?: boolean;
|
|
9317
|
-
pattern_definitions
|
|
9386
|
+
pattern_definitions?: Record<string, string>;
|
|
9318
9387
|
patterns: string[];
|
|
9319
9388
|
trace_match?: boolean;
|
|
9320
9389
|
}
|
|
@@ -9342,7 +9411,7 @@ export interface IngestInferenceConfigRegression {
|
|
|
9342
9411
|
}
|
|
9343
9412
|
export interface IngestInferenceProcessor extends IngestProcessorBase {
|
|
9344
9413
|
model_id: Id;
|
|
9345
|
-
target_field
|
|
9414
|
+
target_field?: Field;
|
|
9346
9415
|
field_map?: Record<Field, any>;
|
|
9347
9416
|
inference_config?: IngestInferenceConfig;
|
|
9348
9417
|
}
|
|
@@ -9352,10 +9421,13 @@ export interface IngestJoinProcessor extends IngestProcessorBase {
|
|
|
9352
9421
|
target_field?: Field;
|
|
9353
9422
|
}
|
|
9354
9423
|
export interface IngestJsonProcessor extends IngestProcessorBase {
|
|
9355
|
-
add_to_root
|
|
9424
|
+
add_to_root?: boolean;
|
|
9425
|
+
add_to_root_conflict_strategy?: IngestJsonProcessorConflictStrategy;
|
|
9426
|
+
allow_duplicate_keys?: boolean;
|
|
9356
9427
|
field: Field;
|
|
9357
|
-
target_field
|
|
9428
|
+
target_field?: Field;
|
|
9358
9429
|
}
|
|
9430
|
+
export declare type IngestJsonProcessorConflictStrategy = 'replace' | 'merge';
|
|
9359
9431
|
export interface IngestKeyValueProcessor extends IngestProcessorBase {
|
|
9360
9432
|
exclude_keys?: string[];
|
|
9361
9433
|
field: Field;
|
|
@@ -9387,8 +9459,10 @@ export interface IngestPipelineConfig {
|
|
|
9387
9459
|
}
|
|
9388
9460
|
export interface IngestPipelineProcessor extends IngestProcessorBase {
|
|
9389
9461
|
name: Name;
|
|
9462
|
+
ignore_missing_pipeline?: boolean;
|
|
9390
9463
|
}
|
|
9391
9464
|
export interface IngestProcessorBase {
|
|
9465
|
+
description?: string;
|
|
9392
9466
|
if?: string;
|
|
9393
9467
|
ignore_failure?: boolean;
|
|
9394
9468
|
on_failure?: IngestProcessorContainer[];
|
|
@@ -9440,9 +9514,12 @@ export interface IngestRenameProcessor extends IngestProcessorBase {
|
|
|
9440
9514
|
target_field: Field;
|
|
9441
9515
|
}
|
|
9442
9516
|
export interface IngestSetProcessor extends IngestProcessorBase {
|
|
9517
|
+
copy_from?: Field;
|
|
9443
9518
|
field: Field;
|
|
9519
|
+
ignore_empty_value?: boolean;
|
|
9520
|
+
media_type?: string;
|
|
9444
9521
|
override?: boolean;
|
|
9445
|
-
value
|
|
9522
|
+
value?: any;
|
|
9446
9523
|
}
|
|
9447
9524
|
export interface IngestSetSecurityUserProcessor extends IngestProcessorBase {
|
|
9448
9525
|
field: Field;
|
|
@@ -9451,8 +9528,8 @@ export interface IngestSetSecurityUserProcessor extends IngestProcessorBase {
|
|
|
9451
9528
|
export declare type IngestShapeType = 'geo_shape' | 'shape';
|
|
9452
9529
|
export interface IngestSortProcessor extends IngestProcessorBase {
|
|
9453
9530
|
field: Field;
|
|
9454
|
-
order
|
|
9455
|
-
target_field
|
|
9531
|
+
order?: SortOrder;
|
|
9532
|
+
target_field?: Field;
|
|
9456
9533
|
}
|
|
9457
9534
|
export interface IngestSplitProcessor extends IngestProcessorBase {
|
|
9458
9535
|
field: Field;
|
|
@@ -9478,10 +9555,10 @@ export interface IngestUrlDecodeProcessor extends IngestProcessorBase {
|
|
|
9478
9555
|
}
|
|
9479
9556
|
export interface IngestUserAgentProcessor extends IngestProcessorBase {
|
|
9480
9557
|
field: Field;
|
|
9481
|
-
ignore_missing
|
|
9482
|
-
options
|
|
9483
|
-
regex_file
|
|
9484
|
-
target_field
|
|
9558
|
+
ignore_missing?: boolean;
|
|
9559
|
+
options?: IngestUserAgentProperty[];
|
|
9560
|
+
regex_file?: string;
|
|
9561
|
+
target_field?: Field;
|
|
9485
9562
|
}
|
|
9486
9563
|
export declare type IngestUserAgentProperty = 'NAME' | 'MAJOR' | 'MINOR' | 'PATCH' | 'OS' | 'OS_NAME' | 'OS_MAJOR' | 'OS_MINOR' | 'DEVICE' | 'BUILD';
|
|
9487
9564
|
export interface IngestDeletePipelineRequest extends RequestBase {
|
|
@@ -9538,14 +9615,18 @@ export interface IngestSimulateDocument {
|
|
|
9538
9615
|
_index?: IndexName;
|
|
9539
9616
|
_source: any;
|
|
9540
9617
|
}
|
|
9541
|
-
export interface
|
|
9618
|
+
export interface IngestSimulateDocumentSimulationKeys {
|
|
9542
9619
|
_id: Id;
|
|
9543
9620
|
_index: IndexName;
|
|
9544
9621
|
_ingest: IngestSimulateIngest;
|
|
9545
|
-
_parent?: string;
|
|
9546
9622
|
_routing?: string;
|
|
9547
9623
|
_source: Record<string, any>;
|
|
9624
|
+
_version?: SpecUtilsStringified<VersionNumber>;
|
|
9625
|
+
_version_type?: VersionType;
|
|
9548
9626
|
}
|
|
9627
|
+
export declare type IngestSimulateDocumentSimulation = IngestSimulateDocumentSimulationKeys & {
|
|
9628
|
+
[property: string]: string | Id | IndexName | IngestSimulateIngest | Record<string, any> | SpecUtilsStringified<VersionNumber> | VersionType;
|
|
9629
|
+
};
|
|
9549
9630
|
export interface IngestSimulateIngest {
|
|
9550
9631
|
timestamp: DateTime;
|
|
9551
9632
|
pipeline?: Name;
|
|
@@ -9621,7 +9702,7 @@ export interface LicensePostAcknowledgement {
|
|
|
9621
9702
|
export interface LicensePostRequest extends RequestBase {
|
|
9622
9703
|
acknowledge?: boolean;
|
|
9623
9704
|
license?: LicenseLicense;
|
|
9624
|
-
licenses
|
|
9705
|
+
licenses?: LicenseLicense[];
|
|
9625
9706
|
}
|
|
9626
9707
|
export interface LicensePostResponse {
|
|
9627
9708
|
acknowledge?: LicensePostAcknowledgement;
|
|
@@ -10740,6 +10821,12 @@ export interface MlZeroShotClassificationInferenceUpdateOptions {
|
|
|
10740
10821
|
multi_label?: boolean;
|
|
10741
10822
|
labels: string[];
|
|
10742
10823
|
}
|
|
10824
|
+
export interface MlClearTrainedModelDeploymentCacheRequest extends RequestBase {
|
|
10825
|
+
model_id: Id;
|
|
10826
|
+
}
|
|
10827
|
+
export interface MlClearTrainedModelDeploymentCacheResponse {
|
|
10828
|
+
cleared: boolean;
|
|
10829
|
+
}
|
|
10743
10830
|
export interface MlCloseJobRequest extends RequestBase {
|
|
10744
10831
|
job_id: Id;
|
|
10745
10832
|
allow_no_match?: boolean;
|
|
@@ -12659,12 +12746,6 @@ export interface RollupPutJobRequest extends RequestBase {
|
|
|
12659
12746
|
headers?: HttpHeaders;
|
|
12660
12747
|
}
|
|
12661
12748
|
export declare type RollupPutJobResponse = AcknowledgedResponseBase;
|
|
12662
|
-
export interface RollupRollupRequest extends RequestBase {
|
|
12663
|
-
index: IndexName;
|
|
12664
|
-
rollup_index: IndexName;
|
|
12665
|
-
config?: any;
|
|
12666
|
-
}
|
|
12667
|
-
export declare type RollupRollupResponse = any;
|
|
12668
12749
|
export interface RollupRollupSearchRequest extends RequestBase {
|
|
12669
12750
|
index: Indices;
|
|
12670
12751
|
rest_total_hits_as_int?: boolean;
|
|
@@ -12762,6 +12843,9 @@ export interface SecurityApiKey {
|
|
|
12762
12843
|
realm?: string;
|
|
12763
12844
|
username?: Username;
|
|
12764
12845
|
metadata?: Metadata;
|
|
12846
|
+
role_descriptors?: Record<string, SecurityRoleDescriptor>;
|
|
12847
|
+
limited_by?: Record<string, SecurityRoleDescriptor>[];
|
|
12848
|
+
_sort?: SortResults;
|
|
12765
12849
|
}
|
|
12766
12850
|
export interface SecurityApplicationGlobalUserPrivileges {
|
|
12767
12851
|
manage: SecurityManageUserPrivileges;
|
|
@@ -12787,7 +12871,7 @@ export interface SecurityFieldRule {
|
|
|
12787
12871
|
}
|
|
12788
12872
|
export interface SecurityFieldSecurity {
|
|
12789
12873
|
except?: Fields;
|
|
12790
|
-
grant
|
|
12874
|
+
grant?: Fields;
|
|
12791
12875
|
}
|
|
12792
12876
|
export interface SecurityGlobalPrivilege {
|
|
12793
12877
|
application: SecurityApplicationGlobalUserPrivileges;
|
|
@@ -12845,15 +12929,16 @@ export interface SecurityRoleMappingRule {
|
|
|
12845
12929
|
field?: SecurityFieldRule;
|
|
12846
12930
|
except?: SecurityRoleMappingRule;
|
|
12847
12931
|
}
|
|
12932
|
+
export declare type SecurityRoleTemplateInlineQuery = string | QueryDslQueryContainer;
|
|
12848
12933
|
export interface SecurityRoleTemplateInlineScript extends ScriptBase {
|
|
12849
12934
|
lang?: ScriptLanguage;
|
|
12850
12935
|
options?: Record<string, string>;
|
|
12851
|
-
source:
|
|
12936
|
+
source: SecurityRoleTemplateInlineQuery;
|
|
12852
12937
|
}
|
|
12853
12938
|
export interface SecurityRoleTemplateQuery {
|
|
12854
12939
|
template?: SecurityRoleTemplateScript;
|
|
12855
12940
|
}
|
|
12856
|
-
export declare type SecurityRoleTemplateScript = SecurityRoleTemplateInlineScript |
|
|
12941
|
+
export declare type SecurityRoleTemplateScript = SecurityRoleTemplateInlineScript | SecurityRoleTemplateInlineQuery | StoredScriptId;
|
|
12857
12942
|
export interface SecurityTransientMetadataConfig {
|
|
12858
12943
|
enabled: boolean;
|
|
12859
12944
|
}
|
|
@@ -12864,6 +12949,14 @@ export interface SecurityUser {
|
|
|
12864
12949
|
roles: string[];
|
|
12865
12950
|
username: Username;
|
|
12866
12951
|
enabled: boolean;
|
|
12952
|
+
profile_uid?: SecurityUserProfileId;
|
|
12953
|
+
}
|
|
12954
|
+
export interface SecurityUserIndicesPrivileges {
|
|
12955
|
+
field_security?: SecurityFieldSecurity[];
|
|
12956
|
+
names: Indices;
|
|
12957
|
+
privileges: SecurityIndexPrivilege[];
|
|
12958
|
+
query?: SecurityIndicesPrivilegesQuery[];
|
|
12959
|
+
allow_restricted_indices: boolean;
|
|
12867
12960
|
}
|
|
12868
12961
|
export interface SecurityUserProfile {
|
|
12869
12962
|
uid: SecurityUserProfileId;
|
|
@@ -13081,6 +13174,7 @@ export interface SecurityGetApiKeyRequest extends RequestBase {
|
|
|
13081
13174
|
owner?: boolean;
|
|
13082
13175
|
realm_name?: Name;
|
|
13083
13176
|
username?: Username;
|
|
13177
|
+
with_limited_by?: boolean;
|
|
13084
13178
|
}
|
|
13085
13179
|
export interface SecurityGetApiKeyResponse {
|
|
13086
13180
|
api_keys: SecurityApiKey[];
|
|
@@ -13178,6 +13272,7 @@ export interface SecurityGetTokenUserRealm {
|
|
|
13178
13272
|
}
|
|
13179
13273
|
export interface SecurityGetUserRequest extends RequestBase {
|
|
13180
13274
|
username?: Username | Username[];
|
|
13275
|
+
with_profile_uid?: boolean;
|
|
13181
13276
|
}
|
|
13182
13277
|
export declare type SecurityGetUserResponse = Record<string, SecurityUser>;
|
|
13183
13278
|
export interface SecurityGetUserPrivilegesRequest extends RequestBase {
|
|
@@ -13189,19 +13284,27 @@ export interface SecurityGetUserPrivilegesResponse {
|
|
|
13189
13284
|
applications: SecurityApplicationPrivileges[];
|
|
13190
13285
|
cluster: string[];
|
|
13191
13286
|
global: SecurityGlobalPrivilege[];
|
|
13192
|
-
indices:
|
|
13287
|
+
indices: SecurityUserIndicesPrivileges[];
|
|
13193
13288
|
run_as: string[];
|
|
13194
13289
|
}
|
|
13290
|
+
export interface SecurityGetUserProfileGetUserProfileErrors {
|
|
13291
|
+
count: long;
|
|
13292
|
+
details: Record<SecurityUserProfileId, ErrorCause>;
|
|
13293
|
+
}
|
|
13195
13294
|
export interface SecurityGetUserProfileRequest extends RequestBase {
|
|
13196
|
-
uid: SecurityUserProfileId;
|
|
13295
|
+
uid: SecurityUserProfileId | SecurityUserProfileId[];
|
|
13197
13296
|
data?: string | string[];
|
|
13198
13297
|
}
|
|
13199
|
-
export
|
|
13298
|
+
export interface SecurityGetUserProfileResponse {
|
|
13299
|
+
profiles: SecurityUserProfileWithMetadata[];
|
|
13300
|
+
errors?: SecurityGetUserProfileGetUserProfileErrors;
|
|
13301
|
+
}
|
|
13200
13302
|
export declare type SecurityGrantApiKeyApiKeyGrantType = 'access_token' | 'password';
|
|
13201
13303
|
export interface SecurityGrantApiKeyGrantApiKey {
|
|
13202
13304
|
name: Name;
|
|
13203
|
-
expiration?:
|
|
13204
|
-
role_descriptors?: Record<string,
|
|
13305
|
+
expiration?: DurationLarge;
|
|
13306
|
+
role_descriptors?: Record<string, SecurityRoleDescriptor> | Record<string, SecurityRoleDescriptor>[];
|
|
13307
|
+
metadata?: Metadata;
|
|
13205
13308
|
}
|
|
13206
13309
|
export interface SecurityGrantApiKeyRequest extends RequestBase {
|
|
13207
13310
|
api_key: SecurityGrantApiKeyGrantApiKey;
|
|
@@ -13209,12 +13312,14 @@ export interface SecurityGrantApiKeyRequest extends RequestBase {
|
|
|
13209
13312
|
access_token?: string;
|
|
13210
13313
|
username?: Username;
|
|
13211
13314
|
password?: Password;
|
|
13315
|
+
run_as?: Username;
|
|
13212
13316
|
}
|
|
13213
13317
|
export interface SecurityGrantApiKeyResponse {
|
|
13214
13318
|
api_key: string;
|
|
13215
13319
|
id: Id;
|
|
13216
13320
|
name: Name;
|
|
13217
13321
|
expiration?: EpochTime<UnitMillis>;
|
|
13322
|
+
encoded: string;
|
|
13218
13323
|
}
|
|
13219
13324
|
export interface SecurityHasPrivilegesApplicationPrivilegesCheck {
|
|
13220
13325
|
application: string;
|
|
@@ -13242,6 +13347,10 @@ export interface SecurityHasPrivilegesResponse {
|
|
|
13242
13347
|
index: Record<IndexName, SecurityHasPrivilegesPrivileges>;
|
|
13243
13348
|
username: Username;
|
|
13244
13349
|
}
|
|
13350
|
+
export interface SecurityHasPrivilegesUserProfileHasPrivilegesUserProfileErrors {
|
|
13351
|
+
count: long;
|
|
13352
|
+
details: Record<SecurityUserProfileId, ErrorCause>;
|
|
13353
|
+
}
|
|
13245
13354
|
export interface SecurityHasPrivilegesUserProfilePrivilegesCheck {
|
|
13246
13355
|
application?: SecurityHasPrivilegesApplicationPrivilegesCheck[];
|
|
13247
13356
|
cluster?: SecurityClusterPrivilege[];
|
|
@@ -13253,7 +13362,7 @@ export interface SecurityHasPrivilegesUserProfileRequest extends RequestBase {
|
|
|
13253
13362
|
}
|
|
13254
13363
|
export interface SecurityHasPrivilegesUserProfileResponse {
|
|
13255
13364
|
has_privilege_uids: SecurityUserProfileId[];
|
|
13256
|
-
|
|
13365
|
+
errors?: SecurityHasPrivilegesUserProfileHasPrivilegesUserProfileErrors;
|
|
13257
13366
|
}
|
|
13258
13367
|
export interface SecurityInvalidateApiKeyRequest extends RequestBase {
|
|
13259
13368
|
id?: Id;
|
|
@@ -13334,6 +13443,7 @@ export interface SecurityPutUserResponse {
|
|
|
13334
13443
|
created: boolean;
|
|
13335
13444
|
}
|
|
13336
13445
|
export interface SecurityQueryApiKeysRequest extends RequestBase {
|
|
13446
|
+
with_limited_by?: boolean;
|
|
13337
13447
|
query?: QueryDslQueryContainer;
|
|
13338
13448
|
from?: integer;
|
|
13339
13449
|
sort?: Sort;
|
|
@@ -13481,7 +13591,7 @@ export interface ShutdownPutNodeRequest extends RequestBase {
|
|
|
13481
13591
|
export declare type ShutdownPutNodeResponse = AcknowledgedResponseBase;
|
|
13482
13592
|
export interface SlmConfiguration {
|
|
13483
13593
|
ignore_unavailable?: boolean;
|
|
13484
|
-
indices
|
|
13594
|
+
indices?: Indices;
|
|
13485
13595
|
include_global_state?: boolean;
|
|
13486
13596
|
feature_states?: string[];
|
|
13487
13597
|
metadata?: Metadata;
|
|
@@ -13498,10 +13608,10 @@ export interface SlmInvocation {
|
|
|
13498
13608
|
time: DateTime;
|
|
13499
13609
|
}
|
|
13500
13610
|
export interface SlmPolicy {
|
|
13501
|
-
config
|
|
13611
|
+
config?: SlmConfiguration;
|
|
13502
13612
|
name: Name;
|
|
13503
13613
|
repository: string;
|
|
13504
|
-
retention
|
|
13614
|
+
retention?: SlmRetention;
|
|
13505
13615
|
schedule: WatcherCronExpression;
|
|
13506
13616
|
}
|
|
13507
13617
|
export interface SlmRetention {
|
|
@@ -13917,6 +14027,7 @@ export interface SslCertificatesCertificateInformation {
|
|
|
13917
14027
|
expiry: DateTime;
|
|
13918
14028
|
format: string;
|
|
13919
14029
|
has_private_key: boolean;
|
|
14030
|
+
issuer?: string;
|
|
13920
14031
|
path: string;
|
|
13921
14032
|
serial_number: string;
|
|
13922
14033
|
subject_dn: string;
|
|
@@ -13939,6 +14050,7 @@ export interface TasksParentTaskInfo extends TasksTaskInfo {
|
|
|
13939
14050
|
}
|
|
13940
14051
|
export interface TasksTaskInfo {
|
|
13941
14052
|
action: string;
|
|
14053
|
+
cancelled?: boolean;
|
|
13942
14054
|
cancellable: boolean;
|
|
13943
14055
|
description?: string;
|
|
13944
14056
|
headers: Record<string, string>;
|
|
@@ -14095,6 +14207,7 @@ export interface TransformSettings {
|
|
|
14095
14207
|
deduce_mappings?: boolean;
|
|
14096
14208
|
docs_per_second?: float;
|
|
14097
14209
|
max_page_search_size?: integer;
|
|
14210
|
+
unattended?: boolean;
|
|
14098
14211
|
}
|
|
14099
14212
|
export interface TransformSource {
|
|
14100
14213
|
index: Indices;
|
|
@@ -14333,37 +14446,27 @@ export interface WatcherActivationStatus {
|
|
|
14333
14446
|
}
|
|
14334
14447
|
export interface WatcherAlwaysCondition {
|
|
14335
14448
|
}
|
|
14336
|
-
export interface
|
|
14337
|
-
array_path: string;
|
|
14338
|
-
comparison: string;
|
|
14449
|
+
export interface WatcherArrayCompareConditionKeys {
|
|
14339
14450
|
path: string;
|
|
14451
|
+
}
|
|
14452
|
+
export declare type WatcherArrayCompareCondition = WatcherArrayCompareConditionKeys & {
|
|
14453
|
+
[property: string]: WatcherArrayCompareOpParams | string;
|
|
14454
|
+
};
|
|
14455
|
+
export interface WatcherArrayCompareOpParams {
|
|
14340
14456
|
quantifier: WatcherQuantifier;
|
|
14341
|
-
value:
|
|
14457
|
+
value: FieldValue;
|
|
14342
14458
|
}
|
|
14343
14459
|
export interface WatcherChainInput {
|
|
14344
|
-
inputs: WatcherInputContainer[];
|
|
14345
|
-
}
|
|
14346
|
-
export interface WatcherCompareCondition {
|
|
14347
|
-
comparison?: string;
|
|
14348
|
-
path?: string;
|
|
14349
|
-
value?: any;
|
|
14350
|
-
'ctx.payload.match'?: WatcherCompareContextPayloadCondition;
|
|
14351
|
-
'ctx.payload.value'?: WatcherCompareContextPayloadCondition;
|
|
14352
|
-
}
|
|
14353
|
-
export interface WatcherCompareContextPayloadCondition {
|
|
14354
|
-
eq?: any;
|
|
14355
|
-
lt?: any;
|
|
14356
|
-
gt?: any;
|
|
14357
|
-
lte?: any;
|
|
14358
|
-
gte?: any;
|
|
14460
|
+
inputs: Partial<Record<string, WatcherInputContainer>>[];
|
|
14359
14461
|
}
|
|
14360
14462
|
export interface WatcherConditionContainer {
|
|
14361
14463
|
always?: WatcherAlwaysCondition;
|
|
14362
|
-
array_compare?: WatcherArrayCompareCondition
|
|
14363
|
-
compare?:
|
|
14464
|
+
array_compare?: Partial<Record<string, WatcherArrayCompareCondition>>;
|
|
14465
|
+
compare?: Partial<Record<string, Partial<Record<WatcherConditionOp, FieldValue>>>>;
|
|
14364
14466
|
never?: WatcherNeverCondition;
|
|
14365
14467
|
script?: WatcherScriptCondition;
|
|
14366
14468
|
}
|
|
14469
|
+
export declare type WatcherConditionOp = 'not_eq' | 'eq' | 'lt' | 'gt' | 'lte' | 'gte';
|
|
14367
14470
|
export declare type WatcherConditionType = 'always' | 'never' | 'script' | 'compare' | 'array_compare';
|
|
14368
14471
|
export declare type WatcherConnectionScheme = 'http' | 'https';
|
|
14369
14472
|
export declare type WatcherCronExpression = string;
|
|
@@ -14459,7 +14562,6 @@ export interface WatcherHttpEmailAttachment {
|
|
|
14459
14562
|
request?: WatcherHttpInputRequestDefinition;
|
|
14460
14563
|
}
|
|
14461
14564
|
export interface WatcherHttpInput {
|
|
14462
|
-
http?: WatcherHttpInput;
|
|
14463
14565
|
extract?: string[];
|
|
14464
14566
|
request?: WatcherHttpInputRequestDefinition;
|
|
14465
14567
|
response_content_type?: WatcherResponseContentType;
|
|
@@ -14921,13 +15023,6 @@ export interface XpackInfoResponse {
|
|
|
14921
15023
|
license: XpackInfoMinimalLicenseInformation;
|
|
14922
15024
|
tagline: string;
|
|
14923
15025
|
}
|
|
14924
|
-
export interface XpackUsageAllJobs {
|
|
14925
|
-
count: integer;
|
|
14926
|
-
detectors: Record<string, integer>;
|
|
14927
|
-
created_by: Record<string, string | integer>;
|
|
14928
|
-
model_size: Record<string, integer>;
|
|
14929
|
-
forecasts: Record<string, integer>;
|
|
14930
|
-
}
|
|
14931
15026
|
export interface XpackUsageAnalytics extends XpackUsageBase {
|
|
14932
15027
|
stats: XpackUsageAnalyticsStatistics;
|
|
14933
15028
|
}
|
|
@@ -15046,15 +15141,16 @@ export interface XpackUsageIpFilter {
|
|
|
15046
15141
|
http: boolean;
|
|
15047
15142
|
transport: boolean;
|
|
15048
15143
|
}
|
|
15049
|
-
export interface
|
|
15050
|
-
|
|
15144
|
+
export interface XpackUsageJobUsage {
|
|
15145
|
+
count: integer;
|
|
15146
|
+
created_by: Record<string, long>;
|
|
15147
|
+
detectors: MlJobStatistics;
|
|
15148
|
+
forecasts: XpackUsageMlJobForecasts;
|
|
15149
|
+
model_size: MlJobStatistics;
|
|
15051
15150
|
}
|
|
15052
|
-
export declare type XpackUsageJobs = XpackUsageJobsKeys & {
|
|
15053
|
-
[property: string]: MlJob | XpackUsageAllJobs;
|
|
15054
|
-
};
|
|
15055
15151
|
export interface XpackUsageMachineLearning extends XpackUsageBase {
|
|
15056
15152
|
datafeeds: Record<string, XpackUsageDatafeed>;
|
|
15057
|
-
jobs:
|
|
15153
|
+
jobs: Record<string, XpackUsageJobUsage>;
|
|
15058
15154
|
node_count: integer;
|
|
15059
15155
|
data_frame_analytics_jobs: XpackUsageMlDataFrameAnalyticsJobs;
|
|
15060
15156
|
inference: XpackUsageMlInference;
|
|
@@ -15115,10 +15211,15 @@ export interface XpackUsageMlInferenceTrainedModelsCount {
|
|
|
15115
15211
|
total: long;
|
|
15116
15212
|
prepackaged: long;
|
|
15117
15213
|
other: long;
|
|
15214
|
+
pass_through?: long;
|
|
15118
15215
|
regression?: long;
|
|
15119
15216
|
classification?: long;
|
|
15120
15217
|
ner?: long;
|
|
15121
15218
|
}
|
|
15219
|
+
export interface XpackUsageMlJobForecasts {
|
|
15220
|
+
total: long;
|
|
15221
|
+
forecasted_jobs: long;
|
|
15222
|
+
}
|
|
15122
15223
|
export interface XpackUsageMonitoring extends XpackUsageBase {
|
|
15123
15224
|
collection_enabled: boolean;
|
|
15124
15225
|
enabled_exporters: Record<string, long>;
|