@elastic/elasticsearch 8.12.2 → 8.13.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/README.md +19 -0
- package/catalog-info.yaml +4 -4
- package/lib/api/api/async_search.d.ts +4 -4
- package/lib/api/api/autoscaling.d.ts +4 -4
- package/lib/api/api/bulk.d.ts +1 -1
- package/lib/api/api/cat.d.ts +26 -26
- package/lib/api/api/ccr.d.ts +13 -13
- package/lib/api/api/clear_scroll.d.ts +1 -1
- package/lib/api/api/close_point_in_time.d.ts +1 -1
- package/lib/api/api/cluster.d.ts +16 -16
- package/lib/api/api/count.d.ts +1 -1
- package/lib/api/api/create.d.ts +1 -1
- package/lib/api/api/dangling_indices.d.ts +3 -3
- package/lib/api/api/delete.d.ts +1 -1
- package/lib/api/api/delete_by_query.d.ts +1 -1
- package/lib/api/api/delete_by_query_rethrottle.d.ts +1 -1
- package/lib/api/api/delete_script.d.ts +1 -1
- package/lib/api/api/enrich.d.ts +5 -5
- package/lib/api/api/eql.d.ts +4 -4
- package/lib/api/api/esql.d.ts +1 -1
- package/lib/api/api/exists.d.ts +1 -1
- package/lib/api/api/exists_source.d.ts +1 -1
- package/lib/api/api/explain.d.ts +1 -1
- package/lib/api/api/features.d.ts +2 -2
- package/lib/api/api/field_caps.d.ts +1 -1
- package/lib/api/api/fleet.d.ts +1 -1
- package/lib/api/api/get.d.ts +1 -1
- package/lib/api/api/get_script.d.ts +1 -1
- package/lib/api/api/get_script_context.d.ts +1 -1
- package/lib/api/api/get_script_languages.d.ts +1 -1
- package/lib/api/api/get_source.d.ts +1 -1
- package/lib/api/api/graph.d.ts +1 -1
- package/lib/api/api/health_report.d.ts +1 -1
- package/lib/api/api/ilm.d.ts +11 -11
- package/lib/api/api/index.d.ts +1 -1
- package/lib/api/api/indices.d.ts +65 -58
- package/lib/api/api/indices.js +17 -0
- package/lib/api/api/indices.js.map +1 -1
- package/lib/api/api/inference.d.ts +4 -4
- package/lib/api/api/inference.js +44 -12
- package/lib/api/api/inference.js.map +1 -1
- package/lib/api/api/info.d.ts +1 -1
- package/lib/api/api/ingest.d.ts +6 -6
- package/lib/api/api/knn_search.d.ts +1 -1
- package/lib/api/api/license.d.ts +7 -7
- package/lib/api/api/logstash.d.ts +3 -3
- package/lib/api/api/mget.d.ts +1 -1
- package/lib/api/api/migration.d.ts +3 -3
- package/lib/api/api/ml.d.ts +73 -73
- package/lib/api/api/ml.js +1 -1
- package/lib/api/api/ml.js.map +1 -1
- package/lib/api/api/monitoring.d.ts +1 -1
- package/lib/api/api/msearch.d.ts +1 -1
- package/lib/api/api/msearch_template.d.ts +1 -1
- package/lib/api/api/mtermvectors.d.ts +1 -1
- package/lib/api/api/nodes.d.ts +7 -7
- package/lib/api/api/open_point_in_time.d.ts +1 -1
- package/lib/api/api/ping.d.ts +1 -1
- package/lib/api/api/put_script.d.ts +1 -1
- package/lib/api/api/query_ruleset.d.ts +4 -4
- package/lib/api/api/rank_eval.d.ts +1 -1
- package/lib/api/api/reindex.d.ts +1 -1
- package/lib/api/api/reindex_rethrottle.d.ts +1 -1
- package/lib/api/api/render_search_template.d.ts +1 -1
- package/lib/api/api/rollup.d.ts +8 -8
- package/lib/api/api/scripts_painless_execute.d.ts +1 -1
- package/lib/api/api/scroll.d.ts +1 -1
- package/lib/api/api/search.d.ts +1 -1
- package/lib/api/api/search_application.d.ts +9 -9
- package/lib/api/api/search_mvt.d.ts +1 -1
- package/lib/api/api/search_shards.d.ts +1 -1
- package/lib/api/api/search_template.d.ts +1 -1
- package/lib/api/api/searchable_snapshots.d.ts +4 -4
- package/lib/api/api/security.d.ts +59 -59
- package/lib/api/api/security.js +1 -1
- package/lib/api/api/security.js.map +1 -1
- package/lib/api/api/slm.d.ts +9 -9
- package/lib/api/api/snapshot.d.ts +12 -12
- package/lib/api/api/snapshot.js +4 -11
- package/lib/api/api/snapshot.js.map +1 -1
- package/lib/api/api/sql.d.ts +6 -6
- package/lib/api/api/ssl.d.ts +1 -1
- package/lib/api/api/synonyms.d.ts +7 -7
- package/lib/api/api/tasks.d.ts +3 -3
- package/lib/api/api/terms_enum.d.ts +1 -1
- package/lib/api/api/termvectors.d.ts +1 -1
- package/lib/api/api/text_structure.d.ts +8 -1
- package/lib/api/api/text_structure.js +31 -0
- package/lib/api/api/text_structure.js.map +1 -1
- package/lib/api/api/transform.d.ts +11 -11
- package/lib/api/api/update.d.ts +1 -1
- package/lib/api/api/update_by_query.d.ts +2 -2
- package/lib/api/api/update_by_query_rethrottle.d.ts +1 -1
- package/lib/api/api/watcher.d.ts +13 -13
- package/lib/api/api/xpack.d.ts +2 -2
- package/lib/api/types.d.ts +238 -65
- package/lib/api/typesWithBodyKey.d.ts +243 -69
- package/lib/client.js +27 -2
- package/lib/client.js.map +1 -1
- package/package.json +4 -4
|
@@ -304,6 +304,7 @@ export interface FieldCapsRequest extends RequestBase {
|
|
|
304
304
|
include_unmapped?: boolean;
|
|
305
305
|
filters?: string;
|
|
306
306
|
types?: string[];
|
|
307
|
+
include_empty_fields?: boolean;
|
|
307
308
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
308
309
|
body?: {
|
|
309
310
|
fields?: Fields;
|
|
@@ -1299,7 +1300,7 @@ export interface SearchInnerHits {
|
|
|
1299
1300
|
fields?: Fields;
|
|
1300
1301
|
sort?: Sort;
|
|
1301
1302
|
_source?: SearchSourceConfig;
|
|
1302
|
-
|
|
1303
|
+
stored_fields?: Fields;
|
|
1303
1304
|
track_scores?: boolean;
|
|
1304
1305
|
version?: boolean;
|
|
1305
1306
|
}
|
|
@@ -1843,6 +1844,12 @@ export interface ElasticsearchVersionInfo {
|
|
|
1843
1844
|
minimum_wire_compatibility_version: VersionString;
|
|
1844
1845
|
number: string;
|
|
1845
1846
|
}
|
|
1847
|
+
export interface ElasticsearchVersionMinInfo {
|
|
1848
|
+
build_flavor: string;
|
|
1849
|
+
minimum_index_compatibility_version: VersionString;
|
|
1850
|
+
minimum_wire_compatibility_version: VersionString;
|
|
1851
|
+
number: string;
|
|
1852
|
+
}
|
|
1846
1853
|
export interface EmptyObject {
|
|
1847
1854
|
}
|
|
1848
1855
|
export type EpochTime<Unit = unknown> = Unit;
|
|
@@ -1981,7 +1988,7 @@ export interface InlineGetKeys<TDocument = unknown> {
|
|
|
1981
1988
|
_seq_no?: SequenceNumber;
|
|
1982
1989
|
_primary_term?: long;
|
|
1983
1990
|
_routing?: Routing;
|
|
1984
|
-
_source
|
|
1991
|
+
_source?: TDocument;
|
|
1985
1992
|
}
|
|
1986
1993
|
export type InlineGet<TDocument = unknown> = InlineGetKeys<TDocument> & {
|
|
1987
1994
|
[property: string]: any;
|
|
@@ -2001,6 +2008,7 @@ export interface KnnQuery {
|
|
|
2001
2008
|
boost?: float;
|
|
2002
2009
|
filter?: QueryDslQueryContainer | QueryDslQueryContainer[];
|
|
2003
2010
|
similarity?: float;
|
|
2011
|
+
inner_hits?: SearchInnerHits;
|
|
2004
2012
|
}
|
|
2005
2013
|
export interface LatLonGeoLocation {
|
|
2006
2014
|
lat: double;
|
|
@@ -4125,7 +4133,7 @@ export interface MappingDenseVectorIndexOptions {
|
|
|
4125
4133
|
}
|
|
4126
4134
|
export interface MappingDenseVectorProperty extends MappingPropertyBase {
|
|
4127
4135
|
type: 'dense_vector';
|
|
4128
|
-
dims
|
|
4136
|
+
dims?: integer;
|
|
4129
4137
|
similarity?: string;
|
|
4130
4138
|
index?: boolean;
|
|
4131
4139
|
index_options?: MappingDenseVectorIndexOptions;
|
|
@@ -4211,6 +4219,9 @@ export interface MappingGeoPointProperty extends MappingDocValuesPropertyBase {
|
|
|
4211
4219
|
ignore_malformed?: boolean;
|
|
4212
4220
|
ignore_z_value?: boolean;
|
|
4213
4221
|
null_value?: GeoLocation;
|
|
4222
|
+
index?: boolean;
|
|
4223
|
+
on_script_error?: MappingOnScriptError;
|
|
4224
|
+
script?: Script;
|
|
4214
4225
|
type: 'geo_point';
|
|
4215
4226
|
}
|
|
4216
4227
|
export interface MappingGeoShapeProperty extends MappingDocValuesPropertyBase {
|
|
@@ -4306,6 +4317,7 @@ export interface MappingNumberPropertyBase extends MappingDocValuesPropertyBase
|
|
|
4306
4317
|
}
|
|
4307
4318
|
export interface MappingObjectProperty extends MappingCorePropertyBase {
|
|
4308
4319
|
enabled?: boolean;
|
|
4320
|
+
subobjects?: boolean;
|
|
4309
4321
|
type?: 'object';
|
|
4310
4322
|
}
|
|
4311
4323
|
export type MappingOnScriptError = 'fail' | 'continue';
|
|
@@ -4336,6 +4348,7 @@ export interface MappingRankFeatureProperty extends MappingPropertyBase {
|
|
|
4336
4348
|
type: 'rank_feature';
|
|
4337
4349
|
}
|
|
4338
4350
|
export interface MappingRankFeaturesProperty extends MappingPropertyBase {
|
|
4351
|
+
positive_score_impact?: boolean;
|
|
4339
4352
|
type: 'rank_features';
|
|
4340
4353
|
}
|
|
4341
4354
|
export interface MappingRoutingField {
|
|
@@ -4451,6 +4464,7 @@ export interface MappingTypeMapping {
|
|
|
4451
4464
|
_source?: MappingSourceField;
|
|
4452
4465
|
runtime?: Record<string, MappingRuntimeField>;
|
|
4453
4466
|
enabled?: boolean;
|
|
4467
|
+
subobjects?: boolean;
|
|
4454
4468
|
_data_stream_timestamp?: MappingDataStreamTimestamp;
|
|
4455
4469
|
}
|
|
4456
4470
|
export interface MappingUnsignedLongNumberProperty extends MappingNumberPropertyBase {
|
|
@@ -4882,6 +4896,7 @@ export interface QueryDslQueryContainer {
|
|
|
4882
4896
|
has_parent?: QueryDslHasParentQuery;
|
|
4883
4897
|
ids?: QueryDslIdsQuery;
|
|
4884
4898
|
intervals?: Partial<Record<Field, QueryDslIntervalsQuery>>;
|
|
4899
|
+
knn?: KnnQuery;
|
|
4885
4900
|
match?: Partial<Record<Field, QueryDslMatchQuery | string | float | boolean>>;
|
|
4886
4901
|
match_all?: QueryDslMatchAllQuery;
|
|
4887
4902
|
match_bool_prefix?: Partial<Record<Field, QueryDslMatchBoolPrefixQuery | string>>;
|
|
@@ -4917,6 +4932,7 @@ export interface QueryDslQueryContainer {
|
|
|
4917
4932
|
terms?: QueryDslTermsQuery;
|
|
4918
4933
|
terms_set?: Partial<Record<Field, QueryDslTermsSetQuery>>;
|
|
4919
4934
|
text_expansion?: Partial<Record<Field, QueryDslTextExpansionQuery>>;
|
|
4935
|
+
weighted_tokens?: Partial<Record<Field, QueryDslWeightedTokensQuery>>;
|
|
4920
4936
|
wildcard?: Partial<Record<Field, QueryDslWildcardQuery | string>>;
|
|
4921
4937
|
wrapper?: QueryDslWrapperQuery;
|
|
4922
4938
|
type?: QueryDslTypeQuery;
|
|
@@ -5103,11 +5119,21 @@ export interface QueryDslTermsSetQuery extends QueryDslQueryBase {
|
|
|
5103
5119
|
export interface QueryDslTextExpansionQuery extends QueryDslQueryBase {
|
|
5104
5120
|
model_id: string;
|
|
5105
5121
|
model_text: string;
|
|
5122
|
+
pruning_config?: QueryDslTokenPruningConfig;
|
|
5106
5123
|
}
|
|
5107
5124
|
export type QueryDslTextQueryType = 'best_fields' | 'most_fields' | 'cross_fields' | 'phrase' | 'phrase_prefix' | 'bool_prefix';
|
|
5125
|
+
export interface QueryDslTokenPruningConfig {
|
|
5126
|
+
tokens_freq_ratio_threshold?: integer;
|
|
5127
|
+
tokens_weight_threshold?: float;
|
|
5128
|
+
only_score_pruned_tokens?: boolean;
|
|
5129
|
+
}
|
|
5108
5130
|
export interface QueryDslTypeQuery extends QueryDslQueryBase {
|
|
5109
5131
|
value: string;
|
|
5110
5132
|
}
|
|
5133
|
+
export interface QueryDslWeightedTokensQuery extends QueryDslQueryBase {
|
|
5134
|
+
tokens: Record<string, float>;
|
|
5135
|
+
pruning_config?: QueryDslTokenPruningConfig;
|
|
5136
|
+
}
|
|
5111
5137
|
export interface QueryDslWildcardQuery extends QueryDslQueryBase {
|
|
5112
5138
|
case_insensitive?: boolean;
|
|
5113
5139
|
rewrite?: MultiTermQueryRewrite;
|
|
@@ -7823,7 +7849,7 @@ export interface EnrichPolicy {
|
|
|
7823
7849
|
enrich_fields: Fields;
|
|
7824
7850
|
indices: Indices;
|
|
7825
7851
|
match_field: Field;
|
|
7826
|
-
query?:
|
|
7852
|
+
query?: QueryDslQueryContainer;
|
|
7827
7853
|
name?: Name;
|
|
7828
7854
|
elasticsearch_version?: string;
|
|
7829
7855
|
}
|
|
@@ -7844,7 +7870,7 @@ export interface EnrichExecutePolicyRequest extends RequestBase {
|
|
|
7844
7870
|
wait_for_completion?: boolean;
|
|
7845
7871
|
}
|
|
7846
7872
|
export interface EnrichExecutePolicyResponse {
|
|
7847
|
-
status
|
|
7873
|
+
status?: EnrichExecutePolicyExecuteEnrichPolicyStatus;
|
|
7848
7874
|
task_id?: TaskId;
|
|
7849
7875
|
}
|
|
7850
7876
|
export interface EnrichGetPolicyRequest extends RequestBase {
|
|
@@ -8493,7 +8519,7 @@ export interface IndicesIndexSettingsKeys {
|
|
|
8493
8519
|
settings?: IndicesIndexSettings;
|
|
8494
8520
|
time_series?: IndicesIndexSettingsTimeSeries;
|
|
8495
8521
|
queries?: IndicesQueries;
|
|
8496
|
-
similarity?: IndicesSettingsSimilarity
|
|
8522
|
+
similarity?: Record<string, IndicesSettingsSimilarity>;
|
|
8497
8523
|
mapping?: IndicesMappingLimitSettings;
|
|
8498
8524
|
'indexing.slowlog'?: IndicesIndexingSlowlogSettings;
|
|
8499
8525
|
indexing_pressure?: IndicesIndexingPressure;
|
|
@@ -8636,48 +8662,44 @@ export interface IndicesSettingsSearch {
|
|
|
8636
8662
|
idle?: IndicesSearchIdle;
|
|
8637
8663
|
slowlog?: IndicesSlowlogSettings;
|
|
8638
8664
|
}
|
|
8639
|
-
export
|
|
8640
|
-
bm25?: IndicesSettingsSimilarityBm25;
|
|
8641
|
-
dfi?: IndicesSettingsSimilarityDfi;
|
|
8642
|
-
dfr?: IndicesSettingsSimilarityDfr;
|
|
8643
|
-
ib?: IndicesSettingsSimilarityIb;
|
|
8644
|
-
lmd?: IndicesSettingsSimilarityLmd;
|
|
8645
|
-
lmj?: IndicesSettingsSimilarityLmj;
|
|
8646
|
-
scripted_tfidf?: IndicesSettingsSimilarityScriptedTfidf;
|
|
8647
|
-
}
|
|
8665
|
+
export type IndicesSettingsSimilarity = IndicesSettingsSimilarityBm25 | IndicesSettingsSimilarityBoolean | IndicesSettingsSimilarityDfi | IndicesSettingsSimilarityDfr | IndicesSettingsSimilarityIb | IndicesSettingsSimilarityLmd | IndicesSettingsSimilarityLmj | IndicesSettingsSimilarityScripted;
|
|
8648
8666
|
export interface IndicesSettingsSimilarityBm25 {
|
|
8649
|
-
b: double;
|
|
8650
|
-
discount_overlaps: boolean;
|
|
8651
|
-
k1: double;
|
|
8652
8667
|
type: 'BM25';
|
|
8668
|
+
b?: double;
|
|
8669
|
+
discount_overlaps?: boolean;
|
|
8670
|
+
k1?: double;
|
|
8671
|
+
}
|
|
8672
|
+
export interface IndicesSettingsSimilarityBoolean {
|
|
8673
|
+
type: 'boolean';
|
|
8653
8674
|
}
|
|
8654
8675
|
export interface IndicesSettingsSimilarityDfi {
|
|
8655
|
-
independence_measure: DFIIndependenceMeasure;
|
|
8656
8676
|
type: 'DFI';
|
|
8677
|
+
independence_measure: DFIIndependenceMeasure;
|
|
8657
8678
|
}
|
|
8658
8679
|
export interface IndicesSettingsSimilarityDfr {
|
|
8680
|
+
type: 'DFR';
|
|
8659
8681
|
after_effect: DFRAfterEffect;
|
|
8660
8682
|
basic_model: DFRBasicModel;
|
|
8661
8683
|
normalization: Normalization;
|
|
8662
|
-
type: 'DFR';
|
|
8663
8684
|
}
|
|
8664
8685
|
export interface IndicesSettingsSimilarityIb {
|
|
8686
|
+
type: 'IB';
|
|
8665
8687
|
distribution: IBDistribution;
|
|
8666
8688
|
lambda: IBLambda;
|
|
8667
8689
|
normalization: Normalization;
|
|
8668
|
-
type: 'IB';
|
|
8669
8690
|
}
|
|
8670
8691
|
export interface IndicesSettingsSimilarityLmd {
|
|
8671
|
-
mu: integer;
|
|
8672
8692
|
type: 'LMDirichlet';
|
|
8693
|
+
mu?: double;
|
|
8673
8694
|
}
|
|
8674
8695
|
export interface IndicesSettingsSimilarityLmj {
|
|
8675
|
-
lambda: double;
|
|
8676
8696
|
type: 'LMJelinekMercer';
|
|
8697
|
+
lambda?: double;
|
|
8677
8698
|
}
|
|
8678
|
-
export interface
|
|
8679
|
-
script: Script;
|
|
8699
|
+
export interface IndicesSettingsSimilarityScripted {
|
|
8680
8700
|
type: 'scripted';
|
|
8701
|
+
script: Script;
|
|
8702
|
+
weight_script?: Script;
|
|
8681
8703
|
}
|
|
8682
8704
|
export interface IndicesSlowlogSettings {
|
|
8683
8705
|
level?: string;
|
|
@@ -8878,7 +8900,7 @@ export interface IndicesDataStreamsStatsDataStreamsStatsItem {
|
|
|
8878
8900
|
data_stream: Name;
|
|
8879
8901
|
maximum_timestamp: EpochTime<UnitMillis>;
|
|
8880
8902
|
store_size?: ByteSize;
|
|
8881
|
-
store_size_bytes:
|
|
8903
|
+
store_size_bytes: long;
|
|
8882
8904
|
}
|
|
8883
8905
|
export interface IndicesDataStreamsStatsRequest extends RequestBase {
|
|
8884
8906
|
name?: IndexName;
|
|
@@ -8890,7 +8912,7 @@ export interface IndicesDataStreamsStatsResponse {
|
|
|
8890
8912
|
data_stream_count: integer;
|
|
8891
8913
|
data_streams: IndicesDataStreamsStatsDataStreamsStatsItem[];
|
|
8892
8914
|
total_store_sizes?: ByteSize;
|
|
8893
|
-
total_store_size_bytes:
|
|
8915
|
+
total_store_size_bytes: long;
|
|
8894
8916
|
}
|
|
8895
8917
|
export interface IndicesDeleteRequest extends RequestBase {
|
|
8896
8918
|
index: Indices;
|
|
@@ -9431,6 +9453,21 @@ export interface IndicesReloadSearchAnalyzersRequest extends RequestBase {
|
|
|
9431
9453
|
ignore_unavailable?: boolean;
|
|
9432
9454
|
}
|
|
9433
9455
|
export type IndicesReloadSearchAnalyzersResponse = IndicesReloadSearchAnalyzersReloadResult;
|
|
9456
|
+
export interface IndicesResolveClusterRequest extends RequestBase {
|
|
9457
|
+
name: Names;
|
|
9458
|
+
allow_no_indices?: boolean;
|
|
9459
|
+
expand_wildcards?: ExpandWildcards;
|
|
9460
|
+
ignore_throttled?: boolean;
|
|
9461
|
+
ignore_unavailable?: boolean;
|
|
9462
|
+
}
|
|
9463
|
+
export interface IndicesResolveClusterResolveClusterInfo {
|
|
9464
|
+
connected: boolean;
|
|
9465
|
+
skip_unavailable: boolean;
|
|
9466
|
+
matching_indices?: boolean;
|
|
9467
|
+
error?: string;
|
|
9468
|
+
version?: ElasticsearchVersionMinInfo;
|
|
9469
|
+
}
|
|
9470
|
+
export type IndicesResolveClusterResponse = Record<ClusterAlias, IndicesResolveClusterResolveClusterInfo>;
|
|
9434
9471
|
export interface IndicesResolveIndexRequest extends RequestBase {
|
|
9435
9472
|
name: Names;
|
|
9436
9473
|
expand_wildcards?: ExpandWildcards;
|
|
@@ -9862,8 +9899,10 @@ export interface IndicesValidateQueryResponse {
|
|
|
9862
9899
|
valid: boolean;
|
|
9863
9900
|
error?: string;
|
|
9864
9901
|
}
|
|
9902
|
+
export type InferenceDenseByteVector = byte[];
|
|
9865
9903
|
export type InferenceDenseVector = float[];
|
|
9866
9904
|
export interface InferenceInferenceResult {
|
|
9905
|
+
text_embedding_bytes?: InferenceTextEmbeddingByteResult[];
|
|
9867
9906
|
text_embedding?: InferenceTextEmbeddingResult[];
|
|
9868
9907
|
sparse_embedding?: InferenceSparseEmbeddingResult[];
|
|
9869
9908
|
}
|
|
@@ -9883,24 +9922,27 @@ export interface InferenceSparseEmbeddingResult {
|
|
|
9883
9922
|
export type InferenceSparseVector = Record<string, float>;
|
|
9884
9923
|
export type InferenceTaskSettings = any;
|
|
9885
9924
|
export type InferenceTaskType = 'sparse_embedding' | 'text_embedding';
|
|
9925
|
+
export interface InferenceTextEmbeddingByteResult {
|
|
9926
|
+
embedding: InferenceDenseByteVector;
|
|
9927
|
+
}
|
|
9886
9928
|
export interface InferenceTextEmbeddingResult {
|
|
9887
9929
|
embedding: InferenceDenseVector;
|
|
9888
9930
|
}
|
|
9889
9931
|
export interface InferenceDeleteModelRequest extends RequestBase {
|
|
9890
|
-
task_type
|
|
9891
|
-
|
|
9932
|
+
task_type?: InferenceTaskType;
|
|
9933
|
+
inference_id: Id;
|
|
9892
9934
|
}
|
|
9893
9935
|
export type InferenceDeleteModelResponse = AcknowledgedResponseBase;
|
|
9894
9936
|
export interface InferenceGetModelRequest extends RequestBase {
|
|
9895
|
-
task_type
|
|
9896
|
-
|
|
9937
|
+
task_type?: InferenceTaskType;
|
|
9938
|
+
inference_id: Id;
|
|
9897
9939
|
}
|
|
9898
9940
|
export interface InferenceGetModelResponse {
|
|
9899
9941
|
models: InferenceModelConfigContainer[];
|
|
9900
9942
|
}
|
|
9901
9943
|
export interface InferenceInferenceRequest extends RequestBase {
|
|
9902
|
-
task_type
|
|
9903
|
-
|
|
9944
|
+
task_type?: InferenceTaskType;
|
|
9945
|
+
inference_id: Id;
|
|
9904
9946
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
9905
9947
|
body?: {
|
|
9906
9948
|
input: string | string[];
|
|
@@ -9909,8 +9951,8 @@ export interface InferenceInferenceRequest extends RequestBase {
|
|
|
9909
9951
|
}
|
|
9910
9952
|
export type InferenceInferenceResponse = InferenceInferenceResult;
|
|
9911
9953
|
export interface InferencePutModelRequest extends RequestBase {
|
|
9912
|
-
task_type
|
|
9913
|
-
|
|
9954
|
+
task_type?: InferenceTaskType;
|
|
9955
|
+
inference_id: Id;
|
|
9914
9956
|
/** @deprecated The use of the 'body' key has been deprecated, use 'model_config' instead. */
|
|
9915
9957
|
body?: InferenceModelConfig;
|
|
9916
9958
|
}
|
|
@@ -9927,6 +9969,7 @@ export interface IngestAttachmentProcessor extends IngestProcessorBase {
|
|
|
9927
9969
|
indexed_chars_field?: Field;
|
|
9928
9970
|
properties?: string[];
|
|
9929
9971
|
target_field?: Field;
|
|
9972
|
+
remove_binary?: boolean;
|
|
9930
9973
|
resource_name?: string;
|
|
9931
9974
|
}
|
|
9932
9975
|
export interface IngestBytesProcessor extends IngestProcessorBase {
|
|
@@ -10081,7 +10124,7 @@ export interface IngestPipeline {
|
|
|
10081
10124
|
on_failure?: IngestProcessorContainer[];
|
|
10082
10125
|
processors?: IngestProcessorContainer[];
|
|
10083
10126
|
version?: VersionNumber;
|
|
10084
|
-
_meta
|
|
10127
|
+
_meta?: Metadata;
|
|
10085
10128
|
}
|
|
10086
10129
|
export interface IngestPipelineConfig {
|
|
10087
10130
|
description?: string;
|
|
@@ -10121,7 +10164,7 @@ export interface IngestProcessorContainer {
|
|
|
10121
10164
|
remove?: IngestRemoveProcessor;
|
|
10122
10165
|
rename?: IngestRenameProcessor;
|
|
10123
10166
|
reroute?: IngestRerouteProcessor;
|
|
10124
|
-
script?:
|
|
10167
|
+
script?: IngestScriptProcessor;
|
|
10125
10168
|
set?: IngestSetProcessor;
|
|
10126
10169
|
sort?: IngestSortProcessor;
|
|
10127
10170
|
split?: IngestSplitProcessor;
|
|
@@ -10150,6 +10193,12 @@ export interface IngestRerouteProcessor extends IngestProcessorBase {
|
|
|
10150
10193
|
dataset?: string | string[];
|
|
10151
10194
|
namespace?: string | string[];
|
|
10152
10195
|
}
|
|
10196
|
+
export interface IngestScriptProcessor extends IngestProcessorBase {
|
|
10197
|
+
id?: Id;
|
|
10198
|
+
lang?: string;
|
|
10199
|
+
params?: Record<string, any>;
|
|
10200
|
+
source?: string;
|
|
10201
|
+
}
|
|
10153
10202
|
export interface IngestSetProcessor extends IngestProcessorBase {
|
|
10154
10203
|
copy_from?: Field;
|
|
10155
10204
|
field: Field;
|
|
@@ -11395,6 +11444,7 @@ export interface MlTrainedModelConfig {
|
|
|
11395
11444
|
metadata?: MlTrainedModelConfigMetadata;
|
|
11396
11445
|
model_size_bytes?: ByteSize;
|
|
11397
11446
|
location?: MlTrainedModelLocation;
|
|
11447
|
+
prefix_strings?: MlTrainedModelPrefixStrings;
|
|
11398
11448
|
}
|
|
11399
11449
|
export interface MlTrainedModelConfigInput {
|
|
11400
11450
|
field_names: Field[];
|
|
@@ -11470,6 +11520,10 @@ export interface MlTrainedModelLocation {
|
|
|
11470
11520
|
export interface MlTrainedModelLocationIndex {
|
|
11471
11521
|
name: IndexName;
|
|
11472
11522
|
}
|
|
11523
|
+
export interface MlTrainedModelPrefixStrings {
|
|
11524
|
+
ingest?: string;
|
|
11525
|
+
search?: string;
|
|
11526
|
+
}
|
|
11473
11527
|
export interface MlTrainedModelSizeStats {
|
|
11474
11528
|
model_size_bytes: ByteSize;
|
|
11475
11529
|
required_native_memory_bytes: integer;
|
|
@@ -12336,6 +12390,7 @@ export interface MlPutTrainedModelRequest extends RequestBase {
|
|
|
12336
12390
|
model_size_bytes?: long;
|
|
12337
12391
|
platform_architecture?: string;
|
|
12338
12392
|
tags?: string[];
|
|
12393
|
+
prefix_strings?: MlTrainedModelPrefixStrings;
|
|
12339
12394
|
};
|
|
12340
12395
|
}
|
|
12341
12396
|
export type MlPutTrainedModelResponse = MlTrainedModelConfig;
|
|
@@ -13139,9 +13194,14 @@ export interface NodesInfoNodeInfoBootstrap {
|
|
|
13139
13194
|
export interface NodesInfoNodeInfoClient {
|
|
13140
13195
|
type: string;
|
|
13141
13196
|
}
|
|
13142
|
-
export interface
|
|
13143
|
-
seed_hosts
|
|
13197
|
+
export interface NodesInfoNodeInfoDiscoverKeys {
|
|
13198
|
+
seed_hosts?: string[];
|
|
13199
|
+
type?: string;
|
|
13200
|
+
seed_providers?: string[];
|
|
13144
13201
|
}
|
|
13202
|
+
export type NodesInfoNodeInfoDiscover = NodesInfoNodeInfoDiscoverKeys & {
|
|
13203
|
+
[property: string]: any;
|
|
13204
|
+
};
|
|
13145
13205
|
export interface NodesInfoNodeInfoHttp {
|
|
13146
13206
|
bound_address: string[];
|
|
13147
13207
|
max_content_length?: ByteSize;
|
|
@@ -13196,9 +13256,9 @@ export interface NodesInfoNodeInfoOSCPU {
|
|
|
13196
13256
|
vendor: string;
|
|
13197
13257
|
}
|
|
13198
13258
|
export interface NodesInfoNodeInfoPath {
|
|
13199
|
-
logs
|
|
13200
|
-
home
|
|
13201
|
-
repo
|
|
13259
|
+
logs?: string;
|
|
13260
|
+
home?: string;
|
|
13261
|
+
repo?: string[];
|
|
13202
13262
|
data?: string[];
|
|
13203
13263
|
}
|
|
13204
13264
|
export interface NodesInfoNodeInfoRepositories {
|
|
@@ -13220,7 +13280,7 @@ export interface NodesInfoNodeInfoSearchRemote {
|
|
|
13220
13280
|
export interface NodesInfoNodeInfoSettings {
|
|
13221
13281
|
cluster: NodesInfoNodeInfoSettingsCluster;
|
|
13222
13282
|
node: NodesInfoNodeInfoSettingsNode;
|
|
13223
|
-
path
|
|
13283
|
+
path?: NodesInfoNodeInfoPath;
|
|
13224
13284
|
repositories?: NodesInfoNodeInfoRepositories;
|
|
13225
13285
|
discovery?: NodesInfoNodeInfoDiscover;
|
|
13226
13286
|
action?: NodesInfoNodeInfoAction;
|
|
@@ -13238,7 +13298,7 @@ export interface NodesInfoNodeInfoSettingsCluster {
|
|
|
13238
13298
|
name: Name;
|
|
13239
13299
|
routing?: IndicesIndexRouting;
|
|
13240
13300
|
election: NodesInfoNodeInfoSettingsClusterElection;
|
|
13241
|
-
initial_master_nodes?: string;
|
|
13301
|
+
initial_master_nodes?: string[];
|
|
13242
13302
|
deprecation_indexing?: NodesInfoDeprecationIndexing;
|
|
13243
13303
|
}
|
|
13244
13304
|
export interface NodesInfoNodeInfoSettingsClusterElection {
|
|
@@ -13857,7 +13917,7 @@ export interface SecurityRoleDescriptor {
|
|
|
13857
13917
|
applications?: SecurityApplicationPrivileges[];
|
|
13858
13918
|
metadata?: Metadata;
|
|
13859
13919
|
run_as?: string[];
|
|
13860
|
-
transient_metadata?:
|
|
13920
|
+
transient_metadata?: Record<string, any>;
|
|
13861
13921
|
}
|
|
13862
13922
|
export interface SecurityRoleDescriptorRead {
|
|
13863
13923
|
cluster: string[];
|
|
@@ -13867,7 +13927,7 @@ export interface SecurityRoleDescriptorRead {
|
|
|
13867
13927
|
applications?: SecurityApplicationPrivileges[];
|
|
13868
13928
|
metadata?: Metadata;
|
|
13869
13929
|
run_as?: string[];
|
|
13870
|
-
transient_metadata?:
|
|
13930
|
+
transient_metadata?: Record<string, any>;
|
|
13871
13931
|
}
|
|
13872
13932
|
export interface SecurityRoleMapping {
|
|
13873
13933
|
enabled: boolean;
|
|
@@ -13897,9 +13957,6 @@ export interface SecurityRoleTemplateQuery {
|
|
|
13897
13957
|
}
|
|
13898
13958
|
export type SecurityRoleTemplateScript = SecurityRoleTemplateInlineScript | SecurityRoleTemplateInlineQuery | StoredScriptId;
|
|
13899
13959
|
export type SecurityTemplateFormat = 'string' | 'json';
|
|
13900
|
-
export interface SecurityTransientMetadataConfig {
|
|
13901
|
-
enabled: boolean;
|
|
13902
|
-
}
|
|
13903
13960
|
export interface SecurityUser {
|
|
13904
13961
|
email?: string | null;
|
|
13905
13962
|
full_name?: Name | null;
|
|
@@ -14167,7 +14224,7 @@ export interface SecurityGetRoleRole {
|
|
|
14167
14224
|
indices: SecurityIndicesPrivileges[];
|
|
14168
14225
|
metadata: Metadata;
|
|
14169
14226
|
run_as: string[];
|
|
14170
|
-
transient_metadata
|
|
14227
|
+
transient_metadata?: Record<string, any>;
|
|
14171
14228
|
applications: SecurityApplicationPrivileges[];
|
|
14172
14229
|
role_templates?: SecurityRoleTemplate[];
|
|
14173
14230
|
global?: Record<string, Record<string, Record<string, string[]>>>;
|
|
@@ -14394,7 +14451,7 @@ export interface SecurityPutRoleRequest extends RequestBase {
|
|
|
14394
14451
|
indices?: SecurityIndicesPrivileges[];
|
|
14395
14452
|
metadata?: Metadata;
|
|
14396
14453
|
run_as?: string[];
|
|
14397
|
-
transient_metadata?:
|
|
14454
|
+
transient_metadata?: Record<string, any>;
|
|
14398
14455
|
};
|
|
14399
14456
|
}
|
|
14400
14457
|
export interface SecurityPutRoleResponse {
|
|
@@ -14435,11 +14492,48 @@ export interface SecurityPutUserRequest extends RequestBase {
|
|
|
14435
14492
|
export interface SecurityPutUserResponse {
|
|
14436
14493
|
created: boolean;
|
|
14437
14494
|
}
|
|
14495
|
+
export type SecurityQueryApiKeysAPIKeyAggregate = AggregationsCardinalityAggregate | AggregationsValueCountAggregate | AggregationsStringTermsAggregate | AggregationsLongTermsAggregate | AggregationsDoubleTermsAggregate | AggregationsUnmappedTermsAggregate | AggregationsMultiTermsAggregate | AggregationsMissingAggregate | AggregationsFilterAggregate | AggregationsFiltersAggregate | AggregationsRangeAggregate | AggregationsDateRangeAggregate | AggregationsCompositeAggregate;
|
|
14496
|
+
export interface SecurityQueryApiKeysAPIKeyAggregationContainer {
|
|
14497
|
+
aggregations?: Record<string, SecurityQueryApiKeysAPIKeyAggregationContainer>;
|
|
14498
|
+
aggs?: Record<string, SecurityQueryApiKeysAPIKeyAggregationContainer>;
|
|
14499
|
+
meta?: Metadata;
|
|
14500
|
+
cardinality?: AggregationsCardinalityAggregation;
|
|
14501
|
+
composite?: AggregationsCompositeAggregation;
|
|
14502
|
+
date_range?: AggregationsDateRangeAggregation;
|
|
14503
|
+
filter?: SecurityQueryApiKeysAPIKeyQueryContainer;
|
|
14504
|
+
filters?: SecurityQueryApiKeysAPIKeyFiltersAggregation;
|
|
14505
|
+
missing?: AggregationsMissingAggregation;
|
|
14506
|
+
range?: AggregationsRangeAggregation;
|
|
14507
|
+
terms?: AggregationsTermsAggregation;
|
|
14508
|
+
value_count?: AggregationsValueCountAggregation;
|
|
14509
|
+
}
|
|
14510
|
+
export interface SecurityQueryApiKeysAPIKeyFiltersAggregation extends AggregationsBucketAggregationBase {
|
|
14511
|
+
filters?: AggregationsBuckets<SecurityQueryApiKeysAPIKeyQueryContainer>;
|
|
14512
|
+
other_bucket?: boolean;
|
|
14513
|
+
other_bucket_key?: string;
|
|
14514
|
+
keyed?: boolean;
|
|
14515
|
+
}
|
|
14516
|
+
export interface SecurityQueryApiKeysAPIKeyQueryContainer {
|
|
14517
|
+
bool?: QueryDslBoolQuery;
|
|
14518
|
+
exists?: QueryDslExistsQuery;
|
|
14519
|
+
ids?: QueryDslIdsQuery;
|
|
14520
|
+
match?: Partial<Record<Field, QueryDslMatchQuery | string | float | boolean>>;
|
|
14521
|
+
match_all?: QueryDslMatchAllQuery;
|
|
14522
|
+
prefix?: Partial<Record<Field, QueryDslPrefixQuery | string>>;
|
|
14523
|
+
range?: Partial<Record<Field, QueryDslRangeQuery>>;
|
|
14524
|
+
simple_query_string?: QueryDslSimpleQueryStringQuery;
|
|
14525
|
+
term?: Partial<Record<Field, QueryDslTermQuery | FieldValue>>;
|
|
14526
|
+
terms?: QueryDslTermsQuery;
|
|
14527
|
+
wildcard?: Partial<Record<Field, QueryDslWildcardQuery | string>>;
|
|
14528
|
+
}
|
|
14438
14529
|
export interface SecurityQueryApiKeysRequest extends RequestBase {
|
|
14439
14530
|
with_limited_by?: boolean;
|
|
14440
14531
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
14441
14532
|
body?: {
|
|
14442
|
-
|
|
14533
|
+
aggregations?: Record<string, SecurityQueryApiKeysAPIKeyAggregationContainer>;
|
|
14534
|
+
/** @alias aggregations */
|
|
14535
|
+
aggs?: Record<string, SecurityQueryApiKeysAPIKeyAggregationContainer>;
|
|
14536
|
+
query?: SecurityQueryApiKeysAPIKeyQueryContainer;
|
|
14443
14537
|
from?: integer;
|
|
14444
14538
|
sort?: Sort;
|
|
14445
14539
|
size?: integer;
|
|
@@ -14450,6 +14544,7 @@ export interface SecurityQueryApiKeysResponse {
|
|
|
14450
14544
|
total: integer;
|
|
14451
14545
|
count: integer;
|
|
14452
14546
|
api_keys: SecurityApiKey[];
|
|
14547
|
+
aggregations?: Record<AggregateName, SecurityQueryApiKeysAPIKeyAggregate>;
|
|
14453
14548
|
}
|
|
14454
14549
|
export interface SecuritySamlAuthenticateRequest extends RequestBase {
|
|
14455
14550
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
@@ -14727,10 +14822,32 @@ export type SlmStartResponse = AcknowledgedResponseBase;
|
|
|
14727
14822
|
export interface SlmStopRequest extends RequestBase {
|
|
14728
14823
|
}
|
|
14729
14824
|
export type SlmStopResponse = AcknowledgedResponseBase;
|
|
14825
|
+
export interface SnapshotAzureRepository extends SnapshotRepositoryBase {
|
|
14826
|
+
type: 'azure';
|
|
14827
|
+
settings: SnapshotAzureRepositorySettings;
|
|
14828
|
+
}
|
|
14829
|
+
export interface SnapshotAzureRepositorySettings extends SnapshotRepositorySettingsBase {
|
|
14830
|
+
client?: string;
|
|
14831
|
+
container?: string;
|
|
14832
|
+
base_path?: string;
|
|
14833
|
+
readonly?: boolean;
|
|
14834
|
+
location_mode?: string;
|
|
14835
|
+
}
|
|
14730
14836
|
export interface SnapshotFileCountSnapshotStats {
|
|
14731
14837
|
file_count: integer;
|
|
14732
14838
|
size_in_bytes: long;
|
|
14733
14839
|
}
|
|
14840
|
+
export interface SnapshotGcsRepository extends SnapshotRepositoryBase {
|
|
14841
|
+
type: 'gcs';
|
|
14842
|
+
settings: SnapshotGcsRepositorySettings;
|
|
14843
|
+
}
|
|
14844
|
+
export interface SnapshotGcsRepositorySettings extends SnapshotRepositorySettingsBase {
|
|
14845
|
+
bucket: string;
|
|
14846
|
+
client?: string;
|
|
14847
|
+
base_path?: string;
|
|
14848
|
+
readonly?: boolean;
|
|
14849
|
+
application_name?: string;
|
|
14850
|
+
}
|
|
14734
14851
|
export interface SnapshotIndexDetails {
|
|
14735
14852
|
shard_count: integer;
|
|
14736
14853
|
size?: ByteSize;
|
|
@@ -14741,18 +14858,39 @@ export interface SnapshotInfoFeatureState {
|
|
|
14741
14858
|
feature_name: string;
|
|
14742
14859
|
indices: Indices;
|
|
14743
14860
|
}
|
|
14744
|
-
export interface
|
|
14745
|
-
type:
|
|
14861
|
+
export interface SnapshotReadOnlyUrlRepository extends SnapshotRepositoryBase {
|
|
14862
|
+
type: 'url';
|
|
14863
|
+
settings: SnapshotReadOnlyUrlRepositorySettings;
|
|
14864
|
+
}
|
|
14865
|
+
export interface SnapshotReadOnlyUrlRepositorySettings extends SnapshotRepositorySettingsBase {
|
|
14866
|
+
http_max_retries?: integer;
|
|
14867
|
+
http_socket_timeout?: Duration;
|
|
14868
|
+
max_number_of_snapshots?: integer;
|
|
14869
|
+
url: string;
|
|
14870
|
+
}
|
|
14871
|
+
export type SnapshotRepository = SnapshotAzureRepository | SnapshotGcsRepository | SnapshotS3Repository | SnapshotSharedFileSystemRepository | SnapshotReadOnlyUrlRepository | SnapshotSourceOnlyRepository;
|
|
14872
|
+
export interface SnapshotRepositoryBase {
|
|
14746
14873
|
uuid?: Uuid;
|
|
14747
|
-
settings: SnapshotRepositorySettings;
|
|
14748
14874
|
}
|
|
14749
|
-
export interface
|
|
14750
|
-
chunk_size?:
|
|
14751
|
-
compress?:
|
|
14752
|
-
|
|
14753
|
-
|
|
14754
|
-
|
|
14755
|
-
|
|
14875
|
+
export interface SnapshotRepositorySettingsBase {
|
|
14876
|
+
chunk_size?: ByteSize;
|
|
14877
|
+
compress?: boolean;
|
|
14878
|
+
max_restore_bytes_per_sec?: ByteSize;
|
|
14879
|
+
max_snapshot_bytes_per_sec?: ByteSize;
|
|
14880
|
+
}
|
|
14881
|
+
export interface SnapshotS3Repository extends SnapshotRepositoryBase {
|
|
14882
|
+
type: 's3';
|
|
14883
|
+
settings: SnapshotS3RepositorySettings;
|
|
14884
|
+
}
|
|
14885
|
+
export interface SnapshotS3RepositorySettings extends SnapshotRepositorySettingsBase {
|
|
14886
|
+
bucket: string;
|
|
14887
|
+
client?: string;
|
|
14888
|
+
base_path?: string;
|
|
14889
|
+
readonly?: boolean;
|
|
14890
|
+
server_side_encryption?: boolean;
|
|
14891
|
+
buffer_size?: ByteSize;
|
|
14892
|
+
canned_acl?: string;
|
|
14893
|
+
storage_class?: string;
|
|
14756
14894
|
}
|
|
14757
14895
|
export interface SnapshotShardsStats {
|
|
14758
14896
|
done: long;
|
|
@@ -14774,6 +14912,15 @@ export interface SnapshotShardsStatsSummaryItem {
|
|
|
14774
14912
|
file_count: long;
|
|
14775
14913
|
size_in_bytes: long;
|
|
14776
14914
|
}
|
|
14915
|
+
export interface SnapshotSharedFileSystemRepository extends SnapshotRepositoryBase {
|
|
14916
|
+
type: 'fs';
|
|
14917
|
+
settings: SnapshotSharedFileSystemRepositorySettings;
|
|
14918
|
+
}
|
|
14919
|
+
export interface SnapshotSharedFileSystemRepositorySettings extends SnapshotRepositorySettingsBase {
|
|
14920
|
+
location: string;
|
|
14921
|
+
max_number_of_snapshots?: integer;
|
|
14922
|
+
readonly?: boolean;
|
|
14923
|
+
}
|
|
14777
14924
|
export interface SnapshotSnapshotIndexStats {
|
|
14778
14925
|
shards: Record<string, SnapshotSnapshotShardsStatus>;
|
|
14779
14926
|
shards_stats: SnapshotShardsStats;
|
|
@@ -14821,6 +14968,16 @@ export interface SnapshotSnapshotStats {
|
|
|
14821
14968
|
time_in_millis: DurationValue<UnitMillis>;
|
|
14822
14969
|
total: SnapshotFileCountSnapshotStats;
|
|
14823
14970
|
}
|
|
14971
|
+
export interface SnapshotSourceOnlyRepository extends SnapshotRepositoryBase {
|
|
14972
|
+
type: 'source';
|
|
14973
|
+
settings: SnapshotSourceOnlyRepositorySettings;
|
|
14974
|
+
}
|
|
14975
|
+
export interface SnapshotSourceOnlyRepositorySettings extends SnapshotRepositorySettingsBase {
|
|
14976
|
+
delegate_type?: string;
|
|
14977
|
+
max_number_of_snapshots?: integer;
|
|
14978
|
+
read_only?: boolean;
|
|
14979
|
+
readonly?: boolean;
|
|
14980
|
+
}
|
|
14824
14981
|
export interface SnapshotStatus {
|
|
14825
14982
|
include_global_state: boolean;
|
|
14826
14983
|
indices: Record<string, SnapshotSnapshotIndexStats>;
|
|
@@ -14879,12 +15036,8 @@ export interface SnapshotCreateRepositoryRequest extends RequestBase {
|
|
|
14879
15036
|
master_timeout?: Duration;
|
|
14880
15037
|
timeout?: Duration;
|
|
14881
15038
|
verify?: boolean;
|
|
14882
|
-
/** @deprecated The use of the 'body' key has been deprecated,
|
|
14883
|
-
body?:
|
|
14884
|
-
repository?: SnapshotRepository;
|
|
14885
|
-
type: string;
|
|
14886
|
-
settings: SnapshotRepositorySettings;
|
|
14887
|
-
};
|
|
15039
|
+
/** @deprecated The use of the 'body' key has been deprecated, use 'repository' instead. */
|
|
15040
|
+
body?: SnapshotRepository;
|
|
14888
15041
|
}
|
|
14889
15042
|
export type SnapshotCreateRepositoryResponse = AcknowledgedResponseBase;
|
|
14890
15043
|
export interface SnapshotDeleteRequest extends RequestBase {
|
|
@@ -15148,7 +15301,7 @@ export interface SynonymsPutSynonymRuleRequest extends RequestBase {
|
|
|
15148
15301
|
rule_id: Id;
|
|
15149
15302
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
15150
15303
|
body?: {
|
|
15151
|
-
synonyms: SynonymsSynonymString
|
|
15304
|
+
synonyms: SynonymsSynonymString;
|
|
15152
15305
|
};
|
|
15153
15306
|
}
|
|
15154
15307
|
export type SynonymsPutSynonymRuleResponse = SynonymsSynonymsUpdateResult;
|
|
@@ -15232,6 +15385,7 @@ export interface TextStructureFindStructureRequest<TJsonDocument = unknown> {
|
|
|
15232
15385
|
charset?: string;
|
|
15233
15386
|
column_names?: string;
|
|
15234
15387
|
delimiter?: string;
|
|
15388
|
+
ecs_compatibility?: string;
|
|
15235
15389
|
explain?: boolean;
|
|
15236
15390
|
format?: string;
|
|
15237
15391
|
grok_pattern?: string;
|
|
@@ -15274,6 +15428,26 @@ export interface TextStructureFindStructureTopHit {
|
|
|
15274
15428
|
count: long;
|
|
15275
15429
|
value: any;
|
|
15276
15430
|
}
|
|
15431
|
+
export interface TextStructureTestGrokPatternMatchedField {
|
|
15432
|
+
match: string;
|
|
15433
|
+
offset: integer;
|
|
15434
|
+
length: integer;
|
|
15435
|
+
}
|
|
15436
|
+
export interface TextStructureTestGrokPatternMatchedText {
|
|
15437
|
+
matched: boolean;
|
|
15438
|
+
fields?: Record<string, TextStructureTestGrokPatternMatchedField[]>;
|
|
15439
|
+
}
|
|
15440
|
+
export interface TextStructureTestGrokPatternRequest extends RequestBase {
|
|
15441
|
+
ecs_compatibility?: string;
|
|
15442
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
15443
|
+
body?: {
|
|
15444
|
+
grok_pattern: string;
|
|
15445
|
+
text: string[];
|
|
15446
|
+
};
|
|
15447
|
+
}
|
|
15448
|
+
export interface TextStructureTestGrokPatternResponse {
|
|
15449
|
+
matches: TextStructureTestGrokPatternMatchedText[];
|
|
15450
|
+
}
|
|
15277
15451
|
export interface TransformDestination {
|
|
15278
15452
|
index?: IndexName;
|
|
15279
15453
|
pipeline?: string;
|