@elastic/elasticsearch 8.12.3 → 8.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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/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 +229 -64
- package/lib/api/typesWithBodyKey.d.ts +234 -68
- package/package.json +2 -2
- package/.projections.json +0 -7
- package/.tool-versions +0 -1
- package/free-report-junit.xml +0 -0
- package/junit-output/junit-foobar.xml +0 -13947
- package/lib/helpers/esql.d.ts +0 -3
- package/lib/helpers/esql.js +0 -31
- package/lib/helpers/esql.js.map +0 -1
|
@@ -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;
|
|
@@ -1302,7 +1303,7 @@ export interface SearchInnerHits {
|
|
|
1302
1303
|
fields?: Fields;
|
|
1303
1304
|
sort?: Sort;
|
|
1304
1305
|
_source?: SearchSourceConfig;
|
|
1305
|
-
|
|
1306
|
+
stored_fields?: Fields;
|
|
1306
1307
|
track_scores?: boolean;
|
|
1307
1308
|
version?: boolean;
|
|
1308
1309
|
}
|
|
@@ -1846,6 +1847,12 @@ export interface ElasticsearchVersionInfo {
|
|
|
1846
1847
|
minimum_wire_compatibility_version: VersionString;
|
|
1847
1848
|
number: string;
|
|
1848
1849
|
}
|
|
1850
|
+
export interface ElasticsearchVersionMinInfo {
|
|
1851
|
+
build_flavor: string;
|
|
1852
|
+
minimum_index_compatibility_version: VersionString;
|
|
1853
|
+
minimum_wire_compatibility_version: VersionString;
|
|
1854
|
+
number: string;
|
|
1855
|
+
}
|
|
1849
1856
|
export interface EmptyObject {
|
|
1850
1857
|
}
|
|
1851
1858
|
export type EpochTime<Unit = unknown> = Unit;
|
|
@@ -1984,7 +1991,7 @@ export interface InlineGetKeys<TDocument = unknown> {
|
|
|
1984
1991
|
_seq_no?: SequenceNumber;
|
|
1985
1992
|
_primary_term?: long;
|
|
1986
1993
|
_routing?: Routing;
|
|
1987
|
-
_source
|
|
1994
|
+
_source?: TDocument;
|
|
1988
1995
|
}
|
|
1989
1996
|
export type InlineGet<TDocument = unknown> = InlineGetKeys<TDocument> & {
|
|
1990
1997
|
[property: string]: any;
|
|
@@ -2004,6 +2011,7 @@ export interface KnnQuery {
|
|
|
2004
2011
|
boost?: float;
|
|
2005
2012
|
filter?: QueryDslQueryContainer | QueryDslQueryContainer[];
|
|
2006
2013
|
similarity?: float;
|
|
2014
|
+
inner_hits?: SearchInnerHits;
|
|
2007
2015
|
}
|
|
2008
2016
|
export interface LatLonGeoLocation {
|
|
2009
2017
|
lat: double;
|
|
@@ -3978,7 +3986,7 @@ export type AnalysisTokenFilter = string | AnalysisTokenFilterDefinition;
|
|
|
3978
3986
|
export interface AnalysisTokenFilterBase {
|
|
3979
3987
|
version?: VersionString;
|
|
3980
3988
|
}
|
|
3981
|
-
export type AnalysisTokenFilterDefinition = AnalysisAsciiFoldingTokenFilter | AnalysisCommonGramsTokenFilter | AnalysisConditionTokenFilter | AnalysisDelimitedPayloadTokenFilter | AnalysisEdgeNGramTokenFilter | AnalysisElisionTokenFilter | AnalysisFingerprintTokenFilter | AnalysisHunspellTokenFilter | AnalysisHyphenationDecompounderTokenFilter | AnalysisKeepTypesTokenFilter | AnalysisKeepWordsTokenFilter | AnalysisKeywordMarkerTokenFilter | AnalysisKStemTokenFilter | AnalysisLengthTokenFilter | AnalysisLimitTokenCountTokenFilter | AnalysisLowercaseTokenFilter | AnalysisMultiplexerTokenFilter | AnalysisNGramTokenFilter | AnalysisNoriPartOfSpeechTokenFilter | AnalysisPatternCaptureTokenFilter | AnalysisPatternReplaceTokenFilter | AnalysisPorterStemTokenFilter | AnalysisPredicateTokenFilter | AnalysisRemoveDuplicatesTokenFilter | AnalysisReverseTokenFilter | AnalysisShingleTokenFilter | AnalysisSnowballTokenFilter | AnalysisStemmerOverrideTokenFilter | AnalysisStemmerTokenFilter | AnalysisStopTokenFilter | AnalysisSynonymGraphTokenFilter | AnalysisSynonymTokenFilter | AnalysisTrimTokenFilter | AnalysisTruncateTokenFilter | AnalysisUniqueTokenFilter | AnalysisUppercaseTokenFilter | AnalysisWordDelimiterGraphTokenFilter | AnalysisWordDelimiterTokenFilter | AnalysisKuromojiStemmerTokenFilter | AnalysisKuromojiReadingFormTokenFilter | AnalysisKuromojiPartOfSpeechTokenFilter | AnalysisIcuCollationTokenFilter | AnalysisIcuFoldingTokenFilter | AnalysisIcuNormalizationTokenFilter | AnalysisIcuTransformTokenFilter | AnalysisPhoneticTokenFilter | AnalysisDictionaryDecompounderTokenFilter;
|
|
3989
|
+
export type AnalysisTokenFilterDefinition = AnalysisAsciiFoldingTokenFilter | AnalysisCommonGramsTokenFilter | AnalysisConditionTokenFilter | AnalysisDelimitedPayloadTokenFilter | AnalysisEdgeNGramTokenFilter | AnalysisElisionTokenFilter | AnalysisFingerprintTokenFilter | AnalysisHunspellTokenFilter | AnalysisHyphenationDecompounderTokenFilter | AnalysisKeepTypesTokenFilter | AnalysisKeepWordsTokenFilter | AnalysisKeywordMarkerTokenFilter | AnalysisKStemTokenFilter | AnalysisLengthTokenFilter | AnalysisLimitTokenCountTokenFilter | AnalysisLowercaseTokenFilter | AnalysisMultiplexerTokenFilter | AnalysisNGramTokenFilter | AnalysisNoriPartOfSpeechTokenFilter | AnalysisPatternCaptureTokenFilter | AnalysisPatternReplaceTokenFilter | AnalysisPorterStemTokenFilter | AnalysisPredicateTokenFilter | AnalysisRemoveDuplicatesTokenFilter | AnalysisReverseTokenFilter | AnalysisShingleTokenFilter | AnalysisSnowballTokenFilter | AnalysisStemmerOverrideTokenFilter | AnalysisStemmerTokenFilter | AnalysisStopTokenFilter | AnalysisSynonymGraphTokenFilter | AnalysisSynonymTokenFilter | AnalysisTrimTokenFilter | AnalysisTruncateTokenFilter | AnalysisUniqueTokenFilter | AnalysisUppercaseTokenFilter | AnalysisWordDelimiterGraphTokenFilter | AnalysisWordDelimiterTokenFilter | AnalysisKuromojiStemmerTokenFilter | AnalysisKuromojiReadingFormTokenFilter | AnalysisKuromojiPartOfSpeechTokenFilter | AnalysisIcuTokenizer | AnalysisIcuCollationTokenFilter | AnalysisIcuFoldingTokenFilter | AnalysisIcuNormalizationTokenFilter | AnalysisIcuTransformTokenFilter | AnalysisPhoneticTokenFilter | AnalysisDictionaryDecompounderTokenFilter;
|
|
3982
3990
|
export type AnalysisTokenizer = string | AnalysisTokenizerDefinition;
|
|
3983
3991
|
export interface AnalysisTokenizerBase {
|
|
3984
3992
|
version?: VersionString;
|
|
@@ -4128,7 +4136,7 @@ export interface MappingDenseVectorIndexOptions {
|
|
|
4128
4136
|
}
|
|
4129
4137
|
export interface MappingDenseVectorProperty extends MappingPropertyBase {
|
|
4130
4138
|
type: 'dense_vector';
|
|
4131
|
-
dims
|
|
4139
|
+
dims?: integer;
|
|
4132
4140
|
similarity?: string;
|
|
4133
4141
|
index?: boolean;
|
|
4134
4142
|
index_options?: MappingDenseVectorIndexOptions;
|
|
@@ -4214,6 +4222,9 @@ export interface MappingGeoPointProperty extends MappingDocValuesPropertyBase {
|
|
|
4214
4222
|
ignore_malformed?: boolean;
|
|
4215
4223
|
ignore_z_value?: boolean;
|
|
4216
4224
|
null_value?: GeoLocation;
|
|
4225
|
+
index?: boolean;
|
|
4226
|
+
on_script_error?: MappingOnScriptError;
|
|
4227
|
+
script?: Script;
|
|
4217
4228
|
type: 'geo_point';
|
|
4218
4229
|
}
|
|
4219
4230
|
export interface MappingGeoShapeProperty extends MappingDocValuesPropertyBase {
|
|
@@ -4340,6 +4351,7 @@ export interface MappingRankFeatureProperty extends MappingPropertyBase {
|
|
|
4340
4351
|
type: 'rank_feature';
|
|
4341
4352
|
}
|
|
4342
4353
|
export interface MappingRankFeaturesProperty extends MappingPropertyBase {
|
|
4354
|
+
positive_score_impact?: boolean;
|
|
4343
4355
|
type: 'rank_features';
|
|
4344
4356
|
}
|
|
4345
4357
|
export interface MappingRoutingField {
|
|
@@ -4923,6 +4935,7 @@ export interface QueryDslQueryContainer {
|
|
|
4923
4935
|
terms?: QueryDslTermsQuery;
|
|
4924
4936
|
terms_set?: Partial<Record<Field, QueryDslTermsSetQuery>>;
|
|
4925
4937
|
text_expansion?: Partial<Record<Field, QueryDslTextExpansionQuery>>;
|
|
4938
|
+
weighted_tokens?: Partial<Record<Field, QueryDslWeightedTokensQuery>>;
|
|
4926
4939
|
wildcard?: Partial<Record<Field, QueryDslWildcardQuery | string>>;
|
|
4927
4940
|
wrapper?: QueryDslWrapperQuery;
|
|
4928
4941
|
type?: QueryDslTypeQuery;
|
|
@@ -5109,11 +5122,21 @@ export interface QueryDslTermsSetQuery extends QueryDslQueryBase {
|
|
|
5109
5122
|
export interface QueryDslTextExpansionQuery extends QueryDslQueryBase {
|
|
5110
5123
|
model_id: string;
|
|
5111
5124
|
model_text: string;
|
|
5125
|
+
pruning_config?: QueryDslTokenPruningConfig;
|
|
5112
5126
|
}
|
|
5113
5127
|
export type QueryDslTextQueryType = 'best_fields' | 'most_fields' | 'cross_fields' | 'phrase' | 'phrase_prefix' | 'bool_prefix';
|
|
5128
|
+
export interface QueryDslTokenPruningConfig {
|
|
5129
|
+
tokens_freq_ratio_threshold?: integer;
|
|
5130
|
+
tokens_weight_threshold?: float;
|
|
5131
|
+
only_score_pruned_tokens?: boolean;
|
|
5132
|
+
}
|
|
5114
5133
|
export interface QueryDslTypeQuery extends QueryDslQueryBase {
|
|
5115
5134
|
value: string;
|
|
5116
5135
|
}
|
|
5136
|
+
export interface QueryDslWeightedTokensQuery extends QueryDslQueryBase {
|
|
5137
|
+
tokens: Record<string, float>;
|
|
5138
|
+
pruning_config?: QueryDslTokenPruningConfig;
|
|
5139
|
+
}
|
|
5117
5140
|
export interface QueryDslWildcardQuery extends QueryDslQueryBase {
|
|
5118
5141
|
case_insensitive?: boolean;
|
|
5119
5142
|
rewrite?: MultiTermQueryRewrite;
|
|
@@ -7829,7 +7852,7 @@ export interface EnrichPolicy {
|
|
|
7829
7852
|
enrich_fields: Fields;
|
|
7830
7853
|
indices: Indices;
|
|
7831
7854
|
match_field: Field;
|
|
7832
|
-
query?:
|
|
7855
|
+
query?: QueryDslQueryContainer;
|
|
7833
7856
|
name?: Name;
|
|
7834
7857
|
elasticsearch_version?: string;
|
|
7835
7858
|
}
|
|
@@ -7850,7 +7873,7 @@ export interface EnrichExecutePolicyRequest extends RequestBase {
|
|
|
7850
7873
|
wait_for_completion?: boolean;
|
|
7851
7874
|
}
|
|
7852
7875
|
export interface EnrichExecutePolicyResponse {
|
|
7853
|
-
status
|
|
7876
|
+
status?: EnrichExecutePolicyExecuteEnrichPolicyStatus;
|
|
7854
7877
|
task_id?: TaskId;
|
|
7855
7878
|
}
|
|
7856
7879
|
export interface EnrichGetPolicyRequest extends RequestBase {
|
|
@@ -8499,7 +8522,7 @@ export interface IndicesIndexSettingsKeys {
|
|
|
8499
8522
|
settings?: IndicesIndexSettings;
|
|
8500
8523
|
time_series?: IndicesIndexSettingsTimeSeries;
|
|
8501
8524
|
queries?: IndicesQueries;
|
|
8502
|
-
similarity?: IndicesSettingsSimilarity
|
|
8525
|
+
similarity?: Record<string, IndicesSettingsSimilarity>;
|
|
8503
8526
|
mapping?: IndicesMappingLimitSettings;
|
|
8504
8527
|
'indexing.slowlog'?: IndicesIndexingSlowlogSettings;
|
|
8505
8528
|
indexing_pressure?: IndicesIndexingPressure;
|
|
@@ -8642,48 +8665,44 @@ export interface IndicesSettingsSearch {
|
|
|
8642
8665
|
idle?: IndicesSearchIdle;
|
|
8643
8666
|
slowlog?: IndicesSlowlogSettings;
|
|
8644
8667
|
}
|
|
8645
|
-
export
|
|
8646
|
-
bm25?: IndicesSettingsSimilarityBm25;
|
|
8647
|
-
dfi?: IndicesSettingsSimilarityDfi;
|
|
8648
|
-
dfr?: IndicesSettingsSimilarityDfr;
|
|
8649
|
-
ib?: IndicesSettingsSimilarityIb;
|
|
8650
|
-
lmd?: IndicesSettingsSimilarityLmd;
|
|
8651
|
-
lmj?: IndicesSettingsSimilarityLmj;
|
|
8652
|
-
scripted_tfidf?: IndicesSettingsSimilarityScriptedTfidf;
|
|
8653
|
-
}
|
|
8668
|
+
export type IndicesSettingsSimilarity = IndicesSettingsSimilarityBm25 | IndicesSettingsSimilarityBoolean | IndicesSettingsSimilarityDfi | IndicesSettingsSimilarityDfr | IndicesSettingsSimilarityIb | IndicesSettingsSimilarityLmd | IndicesSettingsSimilarityLmj | IndicesSettingsSimilarityScripted;
|
|
8654
8669
|
export interface IndicesSettingsSimilarityBm25 {
|
|
8655
|
-
b: double;
|
|
8656
|
-
discount_overlaps: boolean;
|
|
8657
|
-
k1: double;
|
|
8658
8670
|
type: 'BM25';
|
|
8671
|
+
b?: double;
|
|
8672
|
+
discount_overlaps?: boolean;
|
|
8673
|
+
k1?: double;
|
|
8674
|
+
}
|
|
8675
|
+
export interface IndicesSettingsSimilarityBoolean {
|
|
8676
|
+
type: 'boolean';
|
|
8659
8677
|
}
|
|
8660
8678
|
export interface IndicesSettingsSimilarityDfi {
|
|
8661
|
-
independence_measure: DFIIndependenceMeasure;
|
|
8662
8679
|
type: 'DFI';
|
|
8680
|
+
independence_measure: DFIIndependenceMeasure;
|
|
8663
8681
|
}
|
|
8664
8682
|
export interface IndicesSettingsSimilarityDfr {
|
|
8683
|
+
type: 'DFR';
|
|
8665
8684
|
after_effect: DFRAfterEffect;
|
|
8666
8685
|
basic_model: DFRBasicModel;
|
|
8667
8686
|
normalization: Normalization;
|
|
8668
|
-
type: 'DFR';
|
|
8669
8687
|
}
|
|
8670
8688
|
export interface IndicesSettingsSimilarityIb {
|
|
8689
|
+
type: 'IB';
|
|
8671
8690
|
distribution: IBDistribution;
|
|
8672
8691
|
lambda: IBLambda;
|
|
8673
8692
|
normalization: Normalization;
|
|
8674
|
-
type: 'IB';
|
|
8675
8693
|
}
|
|
8676
8694
|
export interface IndicesSettingsSimilarityLmd {
|
|
8677
|
-
mu: integer;
|
|
8678
8695
|
type: 'LMDirichlet';
|
|
8696
|
+
mu?: double;
|
|
8679
8697
|
}
|
|
8680
8698
|
export interface IndicesSettingsSimilarityLmj {
|
|
8681
|
-
lambda: double;
|
|
8682
8699
|
type: 'LMJelinekMercer';
|
|
8700
|
+
lambda?: double;
|
|
8683
8701
|
}
|
|
8684
|
-
export interface
|
|
8685
|
-
script: Script;
|
|
8702
|
+
export interface IndicesSettingsSimilarityScripted {
|
|
8686
8703
|
type: 'scripted';
|
|
8704
|
+
script: Script;
|
|
8705
|
+
weight_script?: Script;
|
|
8687
8706
|
}
|
|
8688
8707
|
export interface IndicesSlowlogSettings {
|
|
8689
8708
|
level?: string;
|
|
@@ -8884,7 +8903,7 @@ export interface IndicesDataStreamsStatsDataStreamsStatsItem {
|
|
|
8884
8903
|
data_stream: Name;
|
|
8885
8904
|
maximum_timestamp: EpochTime<UnitMillis>;
|
|
8886
8905
|
store_size?: ByteSize;
|
|
8887
|
-
store_size_bytes:
|
|
8906
|
+
store_size_bytes: long;
|
|
8888
8907
|
}
|
|
8889
8908
|
export interface IndicesDataStreamsStatsRequest extends RequestBase {
|
|
8890
8909
|
name?: IndexName;
|
|
@@ -8896,7 +8915,7 @@ export interface IndicesDataStreamsStatsResponse {
|
|
|
8896
8915
|
data_stream_count: integer;
|
|
8897
8916
|
data_streams: IndicesDataStreamsStatsDataStreamsStatsItem[];
|
|
8898
8917
|
total_store_sizes?: ByteSize;
|
|
8899
|
-
total_store_size_bytes:
|
|
8918
|
+
total_store_size_bytes: long;
|
|
8900
8919
|
}
|
|
8901
8920
|
export interface IndicesDeleteRequest extends RequestBase {
|
|
8902
8921
|
index: Indices;
|
|
@@ -9437,6 +9456,21 @@ export interface IndicesReloadSearchAnalyzersRequest extends RequestBase {
|
|
|
9437
9456
|
ignore_unavailable?: boolean;
|
|
9438
9457
|
}
|
|
9439
9458
|
export type IndicesReloadSearchAnalyzersResponse = IndicesReloadSearchAnalyzersReloadResult;
|
|
9459
|
+
export interface IndicesResolveClusterRequest extends RequestBase {
|
|
9460
|
+
name: Names;
|
|
9461
|
+
allow_no_indices?: boolean;
|
|
9462
|
+
expand_wildcards?: ExpandWildcards;
|
|
9463
|
+
ignore_throttled?: boolean;
|
|
9464
|
+
ignore_unavailable?: boolean;
|
|
9465
|
+
}
|
|
9466
|
+
export interface IndicesResolveClusterResolveClusterInfo {
|
|
9467
|
+
connected: boolean;
|
|
9468
|
+
skip_unavailable: boolean;
|
|
9469
|
+
matching_indices?: boolean;
|
|
9470
|
+
error?: string;
|
|
9471
|
+
version?: ElasticsearchVersionMinInfo;
|
|
9472
|
+
}
|
|
9473
|
+
export type IndicesResolveClusterResponse = Record<ClusterAlias, IndicesResolveClusterResolveClusterInfo>;
|
|
9440
9474
|
export interface IndicesResolveIndexRequest extends RequestBase {
|
|
9441
9475
|
name: Names;
|
|
9442
9476
|
expand_wildcards?: ExpandWildcards;
|
|
@@ -9868,8 +9902,10 @@ export interface IndicesValidateQueryResponse {
|
|
|
9868
9902
|
valid: boolean;
|
|
9869
9903
|
error?: string;
|
|
9870
9904
|
}
|
|
9905
|
+
export type InferenceDenseByteVector = byte[];
|
|
9871
9906
|
export type InferenceDenseVector = float[];
|
|
9872
9907
|
export interface InferenceInferenceResult {
|
|
9908
|
+
text_embedding_bytes?: InferenceTextEmbeddingByteResult[];
|
|
9873
9909
|
text_embedding?: InferenceTextEmbeddingResult[];
|
|
9874
9910
|
sparse_embedding?: InferenceSparseEmbeddingResult[];
|
|
9875
9911
|
}
|
|
@@ -9889,24 +9925,27 @@ export interface InferenceSparseEmbeddingResult {
|
|
|
9889
9925
|
export type InferenceSparseVector = Record<string, float>;
|
|
9890
9926
|
export type InferenceTaskSettings = any;
|
|
9891
9927
|
export type InferenceTaskType = 'sparse_embedding' | 'text_embedding';
|
|
9928
|
+
export interface InferenceTextEmbeddingByteResult {
|
|
9929
|
+
embedding: InferenceDenseByteVector;
|
|
9930
|
+
}
|
|
9892
9931
|
export interface InferenceTextEmbeddingResult {
|
|
9893
9932
|
embedding: InferenceDenseVector;
|
|
9894
9933
|
}
|
|
9895
9934
|
export interface InferenceDeleteModelRequest extends RequestBase {
|
|
9896
|
-
task_type
|
|
9897
|
-
|
|
9935
|
+
task_type?: InferenceTaskType;
|
|
9936
|
+
inference_id: Id;
|
|
9898
9937
|
}
|
|
9899
9938
|
export type InferenceDeleteModelResponse = AcknowledgedResponseBase;
|
|
9900
9939
|
export interface InferenceGetModelRequest extends RequestBase {
|
|
9901
|
-
task_type
|
|
9902
|
-
|
|
9940
|
+
task_type?: InferenceTaskType;
|
|
9941
|
+
inference_id: Id;
|
|
9903
9942
|
}
|
|
9904
9943
|
export interface InferenceGetModelResponse {
|
|
9905
9944
|
models: InferenceModelConfigContainer[];
|
|
9906
9945
|
}
|
|
9907
9946
|
export interface InferenceInferenceRequest extends RequestBase {
|
|
9908
|
-
task_type
|
|
9909
|
-
|
|
9947
|
+
task_type?: InferenceTaskType;
|
|
9948
|
+
inference_id: Id;
|
|
9910
9949
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
9911
9950
|
body?: {
|
|
9912
9951
|
input: string | string[];
|
|
@@ -9915,8 +9954,8 @@ export interface InferenceInferenceRequest extends RequestBase {
|
|
|
9915
9954
|
}
|
|
9916
9955
|
export type InferenceInferenceResponse = InferenceInferenceResult;
|
|
9917
9956
|
export interface InferencePutModelRequest extends RequestBase {
|
|
9918
|
-
task_type
|
|
9919
|
-
|
|
9957
|
+
task_type?: InferenceTaskType;
|
|
9958
|
+
inference_id: Id;
|
|
9920
9959
|
/** @deprecated The use of the 'body' key has been deprecated, use 'model_config' instead. */
|
|
9921
9960
|
body?: InferenceModelConfig;
|
|
9922
9961
|
}
|
|
@@ -9933,6 +9972,7 @@ export interface IngestAttachmentProcessor extends IngestProcessorBase {
|
|
|
9933
9972
|
indexed_chars_field?: Field;
|
|
9934
9973
|
properties?: string[];
|
|
9935
9974
|
target_field?: Field;
|
|
9975
|
+
remove_binary?: boolean;
|
|
9936
9976
|
resource_name?: string;
|
|
9937
9977
|
}
|
|
9938
9978
|
export interface IngestBytesProcessor extends IngestProcessorBase {
|
|
@@ -10127,7 +10167,7 @@ export interface IngestProcessorContainer {
|
|
|
10127
10167
|
remove?: IngestRemoveProcessor;
|
|
10128
10168
|
rename?: IngestRenameProcessor;
|
|
10129
10169
|
reroute?: IngestRerouteProcessor;
|
|
10130
|
-
script?:
|
|
10170
|
+
script?: IngestScriptProcessor;
|
|
10131
10171
|
set?: IngestSetProcessor;
|
|
10132
10172
|
sort?: IngestSortProcessor;
|
|
10133
10173
|
split?: IngestSplitProcessor;
|
|
@@ -10156,6 +10196,12 @@ export interface IngestRerouteProcessor extends IngestProcessorBase {
|
|
|
10156
10196
|
dataset?: string | string[];
|
|
10157
10197
|
namespace?: string | string[];
|
|
10158
10198
|
}
|
|
10199
|
+
export interface IngestScriptProcessor extends IngestProcessorBase {
|
|
10200
|
+
id?: Id;
|
|
10201
|
+
lang?: string;
|
|
10202
|
+
params?: Record<string, any>;
|
|
10203
|
+
source?: string;
|
|
10204
|
+
}
|
|
10159
10205
|
export interface IngestSetProcessor extends IngestProcessorBase {
|
|
10160
10206
|
copy_from?: Field;
|
|
10161
10207
|
field: Field;
|
|
@@ -13152,9 +13198,14 @@ export interface NodesInfoNodeInfoBootstrap {
|
|
|
13152
13198
|
export interface NodesInfoNodeInfoClient {
|
|
13153
13199
|
type: string;
|
|
13154
13200
|
}
|
|
13155
|
-
export interface
|
|
13156
|
-
seed_hosts
|
|
13201
|
+
export interface NodesInfoNodeInfoDiscoverKeys {
|
|
13202
|
+
seed_hosts?: string[];
|
|
13203
|
+
type?: string;
|
|
13204
|
+
seed_providers?: string[];
|
|
13157
13205
|
}
|
|
13206
|
+
export type NodesInfoNodeInfoDiscover = NodesInfoNodeInfoDiscoverKeys & {
|
|
13207
|
+
[property: string]: any;
|
|
13208
|
+
};
|
|
13158
13209
|
export interface NodesInfoNodeInfoHttp {
|
|
13159
13210
|
bound_address: string[];
|
|
13160
13211
|
max_content_length?: ByteSize;
|
|
@@ -13209,9 +13260,9 @@ export interface NodesInfoNodeInfoOSCPU {
|
|
|
13209
13260
|
vendor: string;
|
|
13210
13261
|
}
|
|
13211
13262
|
export interface NodesInfoNodeInfoPath {
|
|
13212
|
-
logs
|
|
13213
|
-
home
|
|
13214
|
-
repo
|
|
13263
|
+
logs?: string;
|
|
13264
|
+
home?: string;
|
|
13265
|
+
repo?: string[];
|
|
13215
13266
|
data?: string[];
|
|
13216
13267
|
}
|
|
13217
13268
|
export interface NodesInfoNodeInfoRepositories {
|
|
@@ -13233,7 +13284,7 @@ export interface NodesInfoNodeInfoSearchRemote {
|
|
|
13233
13284
|
export interface NodesInfoNodeInfoSettings {
|
|
13234
13285
|
cluster: NodesInfoNodeInfoSettingsCluster;
|
|
13235
13286
|
node: NodesInfoNodeInfoSettingsNode;
|
|
13236
|
-
path
|
|
13287
|
+
path?: NodesInfoNodeInfoPath;
|
|
13237
13288
|
repositories?: NodesInfoNodeInfoRepositories;
|
|
13238
13289
|
discovery?: NodesInfoNodeInfoDiscover;
|
|
13239
13290
|
action?: NodesInfoNodeInfoAction;
|
|
@@ -13251,7 +13302,7 @@ export interface NodesInfoNodeInfoSettingsCluster {
|
|
|
13251
13302
|
name: Name;
|
|
13252
13303
|
routing?: IndicesIndexRouting;
|
|
13253
13304
|
election: NodesInfoNodeInfoSettingsClusterElection;
|
|
13254
|
-
initial_master_nodes?: string;
|
|
13305
|
+
initial_master_nodes?: string[];
|
|
13255
13306
|
deprecation_indexing?: NodesInfoDeprecationIndexing;
|
|
13256
13307
|
}
|
|
13257
13308
|
export interface NodesInfoNodeInfoSettingsClusterElection {
|
|
@@ -13870,7 +13921,7 @@ export interface SecurityRoleDescriptor {
|
|
|
13870
13921
|
applications?: SecurityApplicationPrivileges[];
|
|
13871
13922
|
metadata?: Metadata;
|
|
13872
13923
|
run_as?: string[];
|
|
13873
|
-
transient_metadata?:
|
|
13924
|
+
transient_metadata?: Record<string, any>;
|
|
13874
13925
|
}
|
|
13875
13926
|
export interface SecurityRoleDescriptorRead {
|
|
13876
13927
|
cluster: string[];
|
|
@@ -13880,7 +13931,7 @@ export interface SecurityRoleDescriptorRead {
|
|
|
13880
13931
|
applications?: SecurityApplicationPrivileges[];
|
|
13881
13932
|
metadata?: Metadata;
|
|
13882
13933
|
run_as?: string[];
|
|
13883
|
-
transient_metadata?:
|
|
13934
|
+
transient_metadata?: Record<string, any>;
|
|
13884
13935
|
}
|
|
13885
13936
|
export interface SecurityRoleMapping {
|
|
13886
13937
|
enabled: boolean;
|
|
@@ -13910,9 +13961,6 @@ export interface SecurityRoleTemplateQuery {
|
|
|
13910
13961
|
}
|
|
13911
13962
|
export type SecurityRoleTemplateScript = SecurityRoleTemplateInlineScript | SecurityRoleTemplateInlineQuery | StoredScriptId;
|
|
13912
13963
|
export type SecurityTemplateFormat = 'string' | 'json';
|
|
13913
|
-
export interface SecurityTransientMetadataConfig {
|
|
13914
|
-
enabled: boolean;
|
|
13915
|
-
}
|
|
13916
13964
|
export interface SecurityUser {
|
|
13917
13965
|
email?: string | null;
|
|
13918
13966
|
full_name?: Name | null;
|
|
@@ -14180,7 +14228,7 @@ export interface SecurityGetRoleRole {
|
|
|
14180
14228
|
indices: SecurityIndicesPrivileges[];
|
|
14181
14229
|
metadata: Metadata;
|
|
14182
14230
|
run_as: string[];
|
|
14183
|
-
transient_metadata
|
|
14231
|
+
transient_metadata?: Record<string, any>;
|
|
14184
14232
|
applications: SecurityApplicationPrivileges[];
|
|
14185
14233
|
role_templates?: SecurityRoleTemplate[];
|
|
14186
14234
|
global?: Record<string, Record<string, Record<string, string[]>>>;
|
|
@@ -14407,7 +14455,7 @@ export interface SecurityPutRoleRequest extends RequestBase {
|
|
|
14407
14455
|
indices?: SecurityIndicesPrivileges[];
|
|
14408
14456
|
metadata?: Metadata;
|
|
14409
14457
|
run_as?: string[];
|
|
14410
|
-
transient_metadata?:
|
|
14458
|
+
transient_metadata?: Record<string, any>;
|
|
14411
14459
|
};
|
|
14412
14460
|
}
|
|
14413
14461
|
export interface SecurityPutRoleResponse {
|
|
@@ -14448,11 +14496,49 @@ export interface SecurityPutUserRequest extends RequestBase {
|
|
|
14448
14496
|
export interface SecurityPutUserResponse {
|
|
14449
14497
|
created: boolean;
|
|
14450
14498
|
}
|
|
14499
|
+
export type SecurityQueryApiKeysApiKeyAggregate = AggregationsCardinalityAggregate | AggregationsValueCountAggregate | AggregationsStringTermsAggregate | AggregationsLongTermsAggregate | AggregationsDoubleTermsAggregate | AggregationsUnmappedTermsAggregate | AggregationsMultiTermsAggregate | AggregationsMissingAggregate | AggregationsFilterAggregate | AggregationsFiltersAggregate | AggregationsRangeAggregate | AggregationsDateRangeAggregate | AggregationsCompositeAggregate;
|
|
14500
|
+
export interface SecurityQueryApiKeysApiKeyAggregationContainer {
|
|
14501
|
+
aggregations?: Record<string, SecurityQueryApiKeysApiKeyAggregationContainer>;
|
|
14502
|
+
aggs?: Record<string, SecurityQueryApiKeysApiKeyAggregationContainer>;
|
|
14503
|
+
meta?: Metadata;
|
|
14504
|
+
cardinality?: AggregationsCardinalityAggregation;
|
|
14505
|
+
composite?: AggregationsCompositeAggregation;
|
|
14506
|
+
date_range?: AggregationsDateRangeAggregation;
|
|
14507
|
+
filter?: SecurityQueryApiKeysApiKeyQueryContainer;
|
|
14508
|
+
filters?: SecurityQueryApiKeysApiKeyFiltersAggregation;
|
|
14509
|
+
missing?: AggregationsMissingAggregation;
|
|
14510
|
+
range?: AggregationsRangeAggregation;
|
|
14511
|
+
terms?: AggregationsTermsAggregation;
|
|
14512
|
+
value_count?: AggregationsValueCountAggregation;
|
|
14513
|
+
}
|
|
14514
|
+
export interface SecurityQueryApiKeysApiKeyFiltersAggregation extends AggregationsBucketAggregationBase {
|
|
14515
|
+
filters?: AggregationsBuckets<SecurityQueryApiKeysApiKeyQueryContainer>;
|
|
14516
|
+
other_bucket?: boolean;
|
|
14517
|
+
other_bucket_key?: string;
|
|
14518
|
+
keyed?: boolean;
|
|
14519
|
+
}
|
|
14520
|
+
export interface SecurityQueryApiKeysApiKeyQueryContainer {
|
|
14521
|
+
bool?: QueryDslBoolQuery;
|
|
14522
|
+
exists?: QueryDslExistsQuery;
|
|
14523
|
+
ids?: QueryDslIdsQuery;
|
|
14524
|
+
match?: Partial<Record<Field, QueryDslMatchQuery | string | float | boolean>>;
|
|
14525
|
+
match_all?: QueryDslMatchAllQuery;
|
|
14526
|
+
prefix?: Partial<Record<Field, QueryDslPrefixQuery | string>>;
|
|
14527
|
+
range?: Partial<Record<Field, QueryDslRangeQuery>>;
|
|
14528
|
+
simple_query_string?: QueryDslSimpleQueryStringQuery;
|
|
14529
|
+
term?: Partial<Record<Field, QueryDslTermQuery | FieldValue>>;
|
|
14530
|
+
terms?: QueryDslTermsQuery;
|
|
14531
|
+
wildcard?: Partial<Record<Field, QueryDslWildcardQuery | string>>;
|
|
14532
|
+
}
|
|
14451
14533
|
export interface SecurityQueryApiKeysRequest extends RequestBase {
|
|
14452
14534
|
with_limited_by?: boolean;
|
|
14535
|
+
typed_keys?: boolean;
|
|
14453
14536
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
14454
14537
|
body?: {
|
|
14455
|
-
|
|
14538
|
+
aggregations?: Record<string, SecurityQueryApiKeysApiKeyAggregationContainer>;
|
|
14539
|
+
/** @alias aggregations */
|
|
14540
|
+
aggs?: Record<string, SecurityQueryApiKeysApiKeyAggregationContainer>;
|
|
14541
|
+
query?: SecurityQueryApiKeysApiKeyQueryContainer;
|
|
14456
14542
|
from?: integer;
|
|
14457
14543
|
sort?: Sort;
|
|
14458
14544
|
size?: integer;
|
|
@@ -14463,6 +14549,7 @@ export interface SecurityQueryApiKeysResponse {
|
|
|
14463
14549
|
total: integer;
|
|
14464
14550
|
count: integer;
|
|
14465
14551
|
api_keys: SecurityApiKey[];
|
|
14552
|
+
aggregations?: Record<AggregateName, SecurityQueryApiKeysApiKeyAggregate>;
|
|
14466
14553
|
}
|
|
14467
14554
|
export interface SecuritySamlAuthenticateRequest extends RequestBase {
|
|
14468
14555
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
@@ -14740,10 +14827,32 @@ export type SlmStartResponse = AcknowledgedResponseBase;
|
|
|
14740
14827
|
export interface SlmStopRequest extends RequestBase {
|
|
14741
14828
|
}
|
|
14742
14829
|
export type SlmStopResponse = AcknowledgedResponseBase;
|
|
14830
|
+
export interface SnapshotAzureRepository extends SnapshotRepositoryBase {
|
|
14831
|
+
type: 'azure';
|
|
14832
|
+
settings: SnapshotAzureRepositorySettings;
|
|
14833
|
+
}
|
|
14834
|
+
export interface SnapshotAzureRepositorySettings extends SnapshotRepositorySettingsBase {
|
|
14835
|
+
client?: string;
|
|
14836
|
+
container?: string;
|
|
14837
|
+
base_path?: string;
|
|
14838
|
+
readonly?: boolean;
|
|
14839
|
+
location_mode?: string;
|
|
14840
|
+
}
|
|
14743
14841
|
export interface SnapshotFileCountSnapshotStats {
|
|
14744
14842
|
file_count: integer;
|
|
14745
14843
|
size_in_bytes: long;
|
|
14746
14844
|
}
|
|
14845
|
+
export interface SnapshotGcsRepository extends SnapshotRepositoryBase {
|
|
14846
|
+
type: 'gcs';
|
|
14847
|
+
settings: SnapshotGcsRepositorySettings;
|
|
14848
|
+
}
|
|
14849
|
+
export interface SnapshotGcsRepositorySettings extends SnapshotRepositorySettingsBase {
|
|
14850
|
+
bucket: string;
|
|
14851
|
+
client?: string;
|
|
14852
|
+
base_path?: string;
|
|
14853
|
+
readonly?: boolean;
|
|
14854
|
+
application_name?: string;
|
|
14855
|
+
}
|
|
14747
14856
|
export interface SnapshotIndexDetails {
|
|
14748
14857
|
shard_count: integer;
|
|
14749
14858
|
size?: ByteSize;
|
|
@@ -14754,18 +14863,39 @@ export interface SnapshotInfoFeatureState {
|
|
|
14754
14863
|
feature_name: string;
|
|
14755
14864
|
indices: Indices;
|
|
14756
14865
|
}
|
|
14757
|
-
export interface
|
|
14758
|
-
type:
|
|
14866
|
+
export interface SnapshotReadOnlyUrlRepository extends SnapshotRepositoryBase {
|
|
14867
|
+
type: 'url';
|
|
14868
|
+
settings: SnapshotReadOnlyUrlRepositorySettings;
|
|
14869
|
+
}
|
|
14870
|
+
export interface SnapshotReadOnlyUrlRepositorySettings extends SnapshotRepositorySettingsBase {
|
|
14871
|
+
http_max_retries?: integer;
|
|
14872
|
+
http_socket_timeout?: Duration;
|
|
14873
|
+
max_number_of_snapshots?: integer;
|
|
14874
|
+
url: string;
|
|
14875
|
+
}
|
|
14876
|
+
export type SnapshotRepository = SnapshotAzureRepository | SnapshotGcsRepository | SnapshotS3Repository | SnapshotSharedFileSystemRepository | SnapshotReadOnlyUrlRepository | SnapshotSourceOnlyRepository;
|
|
14877
|
+
export interface SnapshotRepositoryBase {
|
|
14759
14878
|
uuid?: Uuid;
|
|
14760
|
-
settings: SnapshotRepositorySettings;
|
|
14761
14879
|
}
|
|
14762
|
-
export interface
|
|
14763
|
-
chunk_size?:
|
|
14764
|
-
compress?:
|
|
14765
|
-
|
|
14766
|
-
|
|
14767
|
-
|
|
14768
|
-
|
|
14880
|
+
export interface SnapshotRepositorySettingsBase {
|
|
14881
|
+
chunk_size?: ByteSize;
|
|
14882
|
+
compress?: boolean;
|
|
14883
|
+
max_restore_bytes_per_sec?: ByteSize;
|
|
14884
|
+
max_snapshot_bytes_per_sec?: ByteSize;
|
|
14885
|
+
}
|
|
14886
|
+
export interface SnapshotS3Repository extends SnapshotRepositoryBase {
|
|
14887
|
+
type: 's3';
|
|
14888
|
+
settings: SnapshotS3RepositorySettings;
|
|
14889
|
+
}
|
|
14890
|
+
export interface SnapshotS3RepositorySettings extends SnapshotRepositorySettingsBase {
|
|
14891
|
+
bucket: string;
|
|
14892
|
+
client?: string;
|
|
14893
|
+
base_path?: string;
|
|
14894
|
+
readonly?: boolean;
|
|
14895
|
+
server_side_encryption?: boolean;
|
|
14896
|
+
buffer_size?: ByteSize;
|
|
14897
|
+
canned_acl?: string;
|
|
14898
|
+
storage_class?: string;
|
|
14769
14899
|
}
|
|
14770
14900
|
export interface SnapshotShardsStats {
|
|
14771
14901
|
done: long;
|
|
@@ -14787,6 +14917,15 @@ export interface SnapshotShardsStatsSummaryItem {
|
|
|
14787
14917
|
file_count: long;
|
|
14788
14918
|
size_in_bytes: long;
|
|
14789
14919
|
}
|
|
14920
|
+
export interface SnapshotSharedFileSystemRepository extends SnapshotRepositoryBase {
|
|
14921
|
+
type: 'fs';
|
|
14922
|
+
settings: SnapshotSharedFileSystemRepositorySettings;
|
|
14923
|
+
}
|
|
14924
|
+
export interface SnapshotSharedFileSystemRepositorySettings extends SnapshotRepositorySettingsBase {
|
|
14925
|
+
location: string;
|
|
14926
|
+
max_number_of_snapshots?: integer;
|
|
14927
|
+
readonly?: boolean;
|
|
14928
|
+
}
|
|
14790
14929
|
export interface SnapshotSnapshotIndexStats {
|
|
14791
14930
|
shards: Record<string, SnapshotSnapshotShardsStatus>;
|
|
14792
14931
|
shards_stats: SnapshotShardsStats;
|
|
@@ -14834,6 +14973,16 @@ export interface SnapshotSnapshotStats {
|
|
|
14834
14973
|
time_in_millis: DurationValue<UnitMillis>;
|
|
14835
14974
|
total: SnapshotFileCountSnapshotStats;
|
|
14836
14975
|
}
|
|
14976
|
+
export interface SnapshotSourceOnlyRepository extends SnapshotRepositoryBase {
|
|
14977
|
+
type: 'source';
|
|
14978
|
+
settings: SnapshotSourceOnlyRepositorySettings;
|
|
14979
|
+
}
|
|
14980
|
+
export interface SnapshotSourceOnlyRepositorySettings extends SnapshotRepositorySettingsBase {
|
|
14981
|
+
delegate_type?: string;
|
|
14982
|
+
max_number_of_snapshots?: integer;
|
|
14983
|
+
read_only?: boolean;
|
|
14984
|
+
readonly?: boolean;
|
|
14985
|
+
}
|
|
14837
14986
|
export interface SnapshotStatus {
|
|
14838
14987
|
include_global_state: boolean;
|
|
14839
14988
|
indices: Record<string, SnapshotSnapshotIndexStats>;
|
|
@@ -14892,12 +15041,8 @@ export interface SnapshotCreateRepositoryRequest extends RequestBase {
|
|
|
14892
15041
|
master_timeout?: Duration;
|
|
14893
15042
|
timeout?: Duration;
|
|
14894
15043
|
verify?: boolean;
|
|
14895
|
-
/** @deprecated The use of the 'body' key has been deprecated,
|
|
14896
|
-
body?:
|
|
14897
|
-
repository?: SnapshotRepository;
|
|
14898
|
-
type: string;
|
|
14899
|
-
settings: SnapshotRepositorySettings;
|
|
14900
|
-
};
|
|
15044
|
+
/** @deprecated The use of the 'body' key has been deprecated, use 'repository' instead. */
|
|
15045
|
+
body?: SnapshotRepository;
|
|
14901
15046
|
}
|
|
14902
15047
|
export type SnapshotCreateRepositoryResponse = AcknowledgedResponseBase;
|
|
14903
15048
|
export interface SnapshotDeleteRequest extends RequestBase {
|
|
@@ -15245,6 +15390,7 @@ export interface TextStructureFindStructureRequest<TJsonDocument = unknown> {
|
|
|
15245
15390
|
charset?: string;
|
|
15246
15391
|
column_names?: string;
|
|
15247
15392
|
delimiter?: string;
|
|
15393
|
+
ecs_compatibility?: string;
|
|
15248
15394
|
explain?: boolean;
|
|
15249
15395
|
format?: string;
|
|
15250
15396
|
grok_pattern?: string;
|
|
@@ -15287,6 +15433,26 @@ export interface TextStructureFindStructureTopHit {
|
|
|
15287
15433
|
count: long;
|
|
15288
15434
|
value: any;
|
|
15289
15435
|
}
|
|
15436
|
+
export interface TextStructureTestGrokPatternMatchedField {
|
|
15437
|
+
match: string;
|
|
15438
|
+
offset: integer;
|
|
15439
|
+
length: integer;
|
|
15440
|
+
}
|
|
15441
|
+
export interface TextStructureTestGrokPatternMatchedText {
|
|
15442
|
+
matched: boolean;
|
|
15443
|
+
fields?: Record<string, TextStructureTestGrokPatternMatchedField[]>;
|
|
15444
|
+
}
|
|
15445
|
+
export interface TextStructureTestGrokPatternRequest extends RequestBase {
|
|
15446
|
+
ecs_compatibility?: string;
|
|
15447
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
15448
|
+
body?: {
|
|
15449
|
+
grok_pattern: string;
|
|
15450
|
+
text: string[];
|
|
15451
|
+
};
|
|
15452
|
+
}
|
|
15453
|
+
export interface TextStructureTestGrokPatternResponse {
|
|
15454
|
+
matches: TextStructureTestGrokPatternMatchedText[];
|
|
15455
|
+
}
|
|
15290
15456
|
export interface TransformDestination {
|
|
15291
15457
|
index?: IndexName;
|
|
15292
15458
|
pipeline?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elastic/elasticsearch",
|
|
3
|
-
"version": "8.
|
|
4
|
-
"versionCanary": "8.
|
|
3
|
+
"version": "8.13.1",
|
|
4
|
+
"versionCanary": "8.13.1-canary.0",
|
|
5
5
|
"description": "The official Elasticsearch client for Node.js",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"types": "index.d.ts",
|
package/.projections.json
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"test/*": {"make": "npm run test:unit"},
|
|
3
|
-
"src/client.ts": { "alternate": "test/unit/client.test.ts", "type": "test" },
|
|
4
|
-
"test/unit/client.test.ts": { "alternate": "src/client.ts", "type": "src" },
|
|
5
|
-
"src/helpers.ts": { "alternate": "test/unit/helpers/", "type": "test" },
|
|
6
|
-
"test/unit/helpers/*.test.ts": { "alternate": "src/helpers.ts", "type": "src" }
|
|
7
|
-
}
|
package/.tool-versions
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
nodejs 21.7.2
|
package/free-report-junit.xml
DELETED
|
File without changes
|