@elastic/elasticsearch 8.13.0 → 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.
@@ -309,6 +309,7 @@ export interface GetGetResult<TDocument = unknown> {
309
309
  export interface GetRequest extends RequestBase {
310
310
  id: Id;
311
311
  index: IndexName;
312
+ force_synthetic_source?: boolean;
312
313
  preference?: string;
313
314
  realtime?: boolean;
314
315
  refresh?: boolean;
@@ -571,6 +572,7 @@ export interface MgetOperation {
571
572
  }
572
573
  export interface MgetRequest extends RequestBase {
573
574
  index?: IndexName;
575
+ force_synthetic_source?: boolean;
574
576
  preference?: string;
575
577
  realtime?: boolean;
576
578
  refresh?: boolean;
@@ -972,6 +974,7 @@ export interface SearchRequest extends RequestBase {
972
974
  _source_excludes?: Fields;
973
975
  _source_includes?: Fields;
974
976
  q?: string;
977
+ force_synthetic_source?: boolean;
975
978
  aggregations?: Record<string, AggregationsAggregationContainer>;
976
979
  /** @alias aggregations */
977
980
  aggs?: Record<string, AggregationsAggregationContainer>;
@@ -12117,6 +12120,7 @@ export interface MlPutTrainedModelPreprocessor {
12117
12120
  export interface MlPutTrainedModelRequest extends RequestBase {
12118
12121
  model_id: Id;
12119
12122
  defer_definition_decompression?: boolean;
12123
+ wait_for_completion?: boolean;
12120
12124
  compressed_definition?: string;
12121
12125
  definition?: MlPutTrainedModelDefinition;
12122
12126
  description?: string;
@@ -14136,28 +14140,28 @@ export interface SecurityPutUserRequest extends RequestBase {
14136
14140
  export interface SecurityPutUserResponse {
14137
14141
  created: boolean;
14138
14142
  }
14139
- export type SecurityQueryApiKeysAPIKeyAggregate = AggregationsCardinalityAggregate | AggregationsValueCountAggregate | AggregationsStringTermsAggregate | AggregationsLongTermsAggregate | AggregationsDoubleTermsAggregate | AggregationsUnmappedTermsAggregate | AggregationsMultiTermsAggregate | AggregationsMissingAggregate | AggregationsFilterAggregate | AggregationsFiltersAggregate | AggregationsRangeAggregate | AggregationsDateRangeAggregate | AggregationsCompositeAggregate;
14140
- export interface SecurityQueryApiKeysAPIKeyAggregationContainer {
14141
- aggregations?: Record<string, SecurityQueryApiKeysAPIKeyAggregationContainer>;
14142
- aggs?: Record<string, SecurityQueryApiKeysAPIKeyAggregationContainer>;
14143
+ export type SecurityQueryApiKeysApiKeyAggregate = AggregationsCardinalityAggregate | AggregationsValueCountAggregate | AggregationsStringTermsAggregate | AggregationsLongTermsAggregate | AggregationsDoubleTermsAggregate | AggregationsUnmappedTermsAggregate | AggregationsMultiTermsAggregate | AggregationsMissingAggregate | AggregationsFilterAggregate | AggregationsFiltersAggregate | AggregationsRangeAggregate | AggregationsDateRangeAggregate | AggregationsCompositeAggregate;
14144
+ export interface SecurityQueryApiKeysApiKeyAggregationContainer {
14145
+ aggregations?: Record<string, SecurityQueryApiKeysApiKeyAggregationContainer>;
14146
+ aggs?: Record<string, SecurityQueryApiKeysApiKeyAggregationContainer>;
14143
14147
  meta?: Metadata;
14144
14148
  cardinality?: AggregationsCardinalityAggregation;
14145
14149
  composite?: AggregationsCompositeAggregation;
14146
14150
  date_range?: AggregationsDateRangeAggregation;
14147
- filter?: SecurityQueryApiKeysAPIKeyQueryContainer;
14148
- filters?: SecurityQueryApiKeysAPIKeyFiltersAggregation;
14151
+ filter?: SecurityQueryApiKeysApiKeyQueryContainer;
14152
+ filters?: SecurityQueryApiKeysApiKeyFiltersAggregation;
14149
14153
  missing?: AggregationsMissingAggregation;
14150
14154
  range?: AggregationsRangeAggregation;
14151
14155
  terms?: AggregationsTermsAggregation;
14152
14156
  value_count?: AggregationsValueCountAggregation;
14153
14157
  }
14154
- export interface SecurityQueryApiKeysAPIKeyFiltersAggregation extends AggregationsBucketAggregationBase {
14155
- filters?: AggregationsBuckets<SecurityQueryApiKeysAPIKeyQueryContainer>;
14158
+ export interface SecurityQueryApiKeysApiKeyFiltersAggregation extends AggregationsBucketAggregationBase {
14159
+ filters?: AggregationsBuckets<SecurityQueryApiKeysApiKeyQueryContainer>;
14156
14160
  other_bucket?: boolean;
14157
14161
  other_bucket_key?: string;
14158
14162
  keyed?: boolean;
14159
14163
  }
14160
- export interface SecurityQueryApiKeysAPIKeyQueryContainer {
14164
+ export interface SecurityQueryApiKeysApiKeyQueryContainer {
14161
14165
  bool?: QueryDslBoolQuery;
14162
14166
  exists?: QueryDslExistsQuery;
14163
14167
  ids?: QueryDslIdsQuery;
@@ -14172,10 +14176,11 @@ export interface SecurityQueryApiKeysAPIKeyQueryContainer {
14172
14176
  }
14173
14177
  export interface SecurityQueryApiKeysRequest extends RequestBase {
14174
14178
  with_limited_by?: boolean;
14175
- aggregations?: Record<string, SecurityQueryApiKeysAPIKeyAggregationContainer>;
14179
+ typed_keys?: boolean;
14180
+ aggregations?: Record<string, SecurityQueryApiKeysApiKeyAggregationContainer>;
14176
14181
  /** @alias aggregations */
14177
- aggs?: Record<string, SecurityQueryApiKeysAPIKeyAggregationContainer>;
14178
- query?: SecurityQueryApiKeysAPIKeyQueryContainer;
14182
+ aggs?: Record<string, SecurityQueryApiKeysApiKeyAggregationContainer>;
14183
+ query?: SecurityQueryApiKeysApiKeyQueryContainer;
14179
14184
  from?: integer;
14180
14185
  sort?: Sort;
14181
14186
  size?: integer;
@@ -14185,7 +14190,7 @@ export interface SecurityQueryApiKeysResponse {
14185
14190
  total: integer;
14186
14191
  count: integer;
14187
14192
  api_keys: SecurityApiKey[];
14188
- aggregations?: Record<AggregateName, SecurityQueryApiKeysAPIKeyAggregate>;
14193
+ aggregations?: Record<AggregateName, SecurityQueryApiKeysApiKeyAggregate>;
14189
14194
  }
14190
14195
  export interface SecuritySamlAuthenticateRequest extends RequestBase {
14191
14196
  content: string;
@@ -330,6 +330,7 @@ export interface GetGetResult<TDocument = unknown> {
330
330
  export interface GetRequest extends RequestBase {
331
331
  id: Id;
332
332
  index: IndexName;
333
+ force_synthetic_source?: boolean;
333
334
  preference?: string;
334
335
  realtime?: boolean;
335
336
  refresh?: boolean;
@@ -596,6 +597,7 @@ export interface MgetOperation {
596
597
  }
597
598
  export interface MgetRequest extends RequestBase {
598
599
  index?: IndexName;
600
+ force_synthetic_source?: boolean;
599
601
  preference?: string;
600
602
  realtime?: boolean;
601
603
  refresh?: boolean;
@@ -1024,6 +1026,7 @@ export interface SearchRequest extends RequestBase {
1024
1026
  _source_excludes?: Fields;
1025
1027
  _source_includes?: Fields;
1026
1028
  q?: string;
1029
+ force_synthetic_source?: boolean;
1027
1030
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
1028
1031
  body?: {
1029
1032
  aggregations?: Record<string, AggregationsAggregationContainer>;
@@ -12378,6 +12381,7 @@ export interface MlPutTrainedModelPreprocessor {
12378
12381
  export interface MlPutTrainedModelRequest extends RequestBase {
12379
12382
  model_id: Id;
12380
12383
  defer_definition_decompression?: boolean;
12384
+ wait_for_completion?: boolean;
12381
12385
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
12382
12386
  body?: {
12383
12387
  compressed_definition?: string;
@@ -14492,28 +14496,28 @@ export interface SecurityPutUserRequest extends RequestBase {
14492
14496
  export interface SecurityPutUserResponse {
14493
14497
  created: boolean;
14494
14498
  }
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
+ 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>;
14499
14503
  meta?: Metadata;
14500
14504
  cardinality?: AggregationsCardinalityAggregation;
14501
14505
  composite?: AggregationsCompositeAggregation;
14502
14506
  date_range?: AggregationsDateRangeAggregation;
14503
- filter?: SecurityQueryApiKeysAPIKeyQueryContainer;
14504
- filters?: SecurityQueryApiKeysAPIKeyFiltersAggregation;
14507
+ filter?: SecurityQueryApiKeysApiKeyQueryContainer;
14508
+ filters?: SecurityQueryApiKeysApiKeyFiltersAggregation;
14505
14509
  missing?: AggregationsMissingAggregation;
14506
14510
  range?: AggregationsRangeAggregation;
14507
14511
  terms?: AggregationsTermsAggregation;
14508
14512
  value_count?: AggregationsValueCountAggregation;
14509
14513
  }
14510
- export interface SecurityQueryApiKeysAPIKeyFiltersAggregation extends AggregationsBucketAggregationBase {
14511
- filters?: AggregationsBuckets<SecurityQueryApiKeysAPIKeyQueryContainer>;
14514
+ export interface SecurityQueryApiKeysApiKeyFiltersAggregation extends AggregationsBucketAggregationBase {
14515
+ filters?: AggregationsBuckets<SecurityQueryApiKeysApiKeyQueryContainer>;
14512
14516
  other_bucket?: boolean;
14513
14517
  other_bucket_key?: string;
14514
14518
  keyed?: boolean;
14515
14519
  }
14516
- export interface SecurityQueryApiKeysAPIKeyQueryContainer {
14520
+ export interface SecurityQueryApiKeysApiKeyQueryContainer {
14517
14521
  bool?: QueryDslBoolQuery;
14518
14522
  exists?: QueryDslExistsQuery;
14519
14523
  ids?: QueryDslIdsQuery;
@@ -14528,12 +14532,13 @@ export interface SecurityQueryApiKeysAPIKeyQueryContainer {
14528
14532
  }
14529
14533
  export interface SecurityQueryApiKeysRequest extends RequestBase {
14530
14534
  with_limited_by?: boolean;
14535
+ typed_keys?: boolean;
14531
14536
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
14532
14537
  body?: {
14533
- aggregations?: Record<string, SecurityQueryApiKeysAPIKeyAggregationContainer>;
14538
+ aggregations?: Record<string, SecurityQueryApiKeysApiKeyAggregationContainer>;
14534
14539
  /** @alias aggregations */
14535
- aggs?: Record<string, SecurityQueryApiKeysAPIKeyAggregationContainer>;
14536
- query?: SecurityQueryApiKeysAPIKeyQueryContainer;
14540
+ aggs?: Record<string, SecurityQueryApiKeysApiKeyAggregationContainer>;
14541
+ query?: SecurityQueryApiKeysApiKeyQueryContainer;
14537
14542
  from?: integer;
14538
14543
  sort?: Sort;
14539
14544
  size?: integer;
@@ -14544,7 +14549,7 @@ export interface SecurityQueryApiKeysResponse {
14544
14549
  total: integer;
14545
14550
  count: integer;
14546
14551
  api_keys: SecurityApiKey[];
14547
- aggregations?: Record<AggregateName, SecurityQueryApiKeysAPIKeyAggregate>;
14552
+ aggregations?: Record<AggregateName, SecurityQueryApiKeysApiKeyAggregate>;
14548
14553
  }
14549
14554
  export interface SecuritySamlAuthenticateRequest extends RequestBase {
14550
14555
  /** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@elastic/elasticsearch",
3
- "version": "8.13.0",
4
- "versionCanary": "8.13.0-canary.0",
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",
@@ -83,7 +83,7 @@
83
83
  "zx": "^7.2.2"
84
84
  },
85
85
  "dependencies": {
86
- "@elastic/transport": "^8.4.0",
86
+ "@elastic/transport": "~8.4.1",
87
87
  "tslib": "^2.4.0"
88
88
  },
89
89
  "tap": {
@@ -93,4 +93,4 @@
93
93
  "coverage": false,
94
94
  "check-coverage": false
95
95
  }
96
- }
96
+ }