@elastic/elasticsearch 7.13.0 → 7.14.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.
@@ -897,6 +897,11 @@ export interface IlmGetLifecycle extends Generic {
897
897
  export interface IlmGetStatus extends Generic {
898
898
  }
899
899
 
900
+ export interface IlmMigrateToDataTiers<T = RequestBody> extends Generic {
901
+ dry_run?: boolean;
902
+ body?: T;
903
+ }
904
+
900
905
  export interface IlmMoveToStep<T = RequestBody> extends Generic {
901
906
  index: string;
902
907
  body?: T;
@@ -1856,6 +1861,11 @@ export interface MlPutTrainedModelAlias extends Generic {
1856
1861
  reassign?: boolean;
1857
1862
  }
1858
1863
 
1864
+ export interface MlResetJob extends Generic {
1865
+ job_id: string;
1866
+ wait_for_completion?: boolean;
1867
+ }
1868
+
1859
1869
  export interface MlRevertModelSnapshot<T = RequestBody> extends Generic {
1860
1870
  job_id: string;
1861
1871
  snapshot_id: string;
@@ -1955,7 +1965,7 @@ export interface MonitoringBulk<T = RequestNDBody> extends Generic {
1955
1965
  export interface Msearch<T = RequestNDBody> extends Generic {
1956
1966
  index?: string | string[];
1957
1967
  type?: string | string[];
1958
- search_type?: 'query_then_fetch' | 'query_and_fetch' | 'dfs_query_then_fetch' | 'dfs_query_and_fetch';
1968
+ search_type?: 'query_then_fetch' | 'dfs_query_then_fetch';
1959
1969
  max_concurrent_searches?: number;
1960
1970
  typed_keys?: boolean;
1961
1971
  pre_filter_shard_size?: number;
@@ -1968,7 +1978,7 @@ export interface Msearch<T = RequestNDBody> extends Generic {
1968
1978
  export interface MsearchTemplate<T = RequestNDBody> extends Generic {
1969
1979
  index?: string | string[];
1970
1980
  type?: string | string[];
1971
- search_type?: 'query_then_fetch' | 'query_and_fetch' | 'dfs_query_then_fetch' | 'dfs_query_and_fetch';
1981
+ search_type?: 'query_then_fetch' | 'dfs_query_then_fetch';
1972
1982
  typed_keys?: boolean;
1973
1983
  max_concurrent_searches?: number;
1974
1984
  rest_total_hits_as_int?: boolean;
@@ -2216,7 +2226,7 @@ export interface SearchTemplate<T = RequestBody> extends Generic {
2216
2226
  preference?: string;
2217
2227
  routing?: string | string[];
2218
2228
  scroll?: string;
2219
- search_type?: 'query_then_fetch' | 'query_and_fetch' | 'dfs_query_then_fetch' | 'dfs_query_and_fetch';
2229
+ search_type?: 'query_then_fetch' | 'dfs_query_then_fetch';
2220
2230
  explain?: boolean;
2221
2231
  profile?: boolean;
2222
2232
  typed_keys?: boolean;
@@ -2422,6 +2432,30 @@ export interface SecurityPutUser<T = RequestBody> extends Generic {
2422
2432
  body: T;
2423
2433
  }
2424
2434
 
2435
+ export interface SecuritySamlAuthenticate<T = RequestBody> extends Generic {
2436
+ body: T;
2437
+ }
2438
+
2439
+ export interface SecuritySamlCompleteLogout<T = RequestBody> extends Generic {
2440
+ body: T;
2441
+ }
2442
+
2443
+ export interface SecuritySamlInvalidate<T = RequestBody> extends Generic {
2444
+ body: T;
2445
+ }
2446
+
2447
+ export interface SecuritySamlLogout<T = RequestBody> extends Generic {
2448
+ body: T;
2449
+ }
2450
+
2451
+ export interface SecuritySamlPrepareAuthentication<T = RequestBody> extends Generic {
2452
+ body: T;
2453
+ }
2454
+
2455
+ export interface SecuritySamlServiceProviderMetadata extends Generic {
2456
+ realm_name: string;
2457
+ }
2458
+
2425
2459
  export interface ShutdownDeleteNode extends Generic {
2426
2460
  node_id: string;
2427
2461
  }
@@ -2515,6 +2549,7 @@ export interface SnapshotGet extends Generic {
2515
2549
  master_timeout?: string;
2516
2550
  ignore_unavailable?: boolean;
2517
2551
  index_details?: boolean;
2552
+ include_repository?: boolean;
2518
2553
  verbose?: boolean;
2519
2554
  }
2520
2555
 
@@ -2524,6 +2559,21 @@ export interface SnapshotGetRepository extends Generic {
2524
2559
  local?: boolean;
2525
2560
  }
2526
2561
 
2562
+ export interface SnapshotRepositoryAnalyze extends Generic {
2563
+ repository: string;
2564
+ blob_count?: number;
2565
+ concurrency?: number;
2566
+ read_node_count?: number;
2567
+ early_read_node_count?: number;
2568
+ seed?: number;
2569
+ rare_action_probability?: number;
2570
+ max_blob_size?: string;
2571
+ max_total_data_size?: string;
2572
+ timeout?: string;
2573
+ detailed?: boolean;
2574
+ rarely_abort_writes?: boolean;
2575
+ }
2576
+
2527
2577
  export interface SnapshotRestore<T = RequestBody> extends Generic {
2528
2578
  repository: string;
2529
2579
  snapshot: string;
@@ -2549,6 +2599,22 @@ export interface SqlClearCursor<T = RequestBody> extends Generic {
2549
2599
  body: T;
2550
2600
  }
2551
2601
 
2602
+ export interface SqlDeleteAsync extends Generic {
2603
+ id: string;
2604
+ }
2605
+
2606
+ export interface SqlGetAsync extends Generic {
2607
+ id: string;
2608
+ delimiter?: string;
2609
+ format?: string;
2610
+ keep_alive?: string;
2611
+ wait_for_completion_timeout?: string;
2612
+ }
2613
+
2614
+ export interface SqlGetAsyncStatus extends Generic {
2615
+ id: string;
2616
+ }
2617
+
2552
2618
  export interface SqlQuery<T = RequestBody> extends Generic {
2553
2619
  format?: string;
2554
2620
  body: T;
@@ -2585,6 +2651,11 @@ export interface TasksList extends Generic {
2585
2651
  timeout?: string;
2586
2652
  }
2587
2653
 
2654
+ export interface TermsEnum<T = RequestBody> extends Generic {
2655
+ index: string | string[];
2656
+ body?: T;
2657
+ }
2658
+
2588
2659
  export interface Termvectors<T = RequestBody> extends Generic {
2589
2660
  index: string;
2590
2661
  id?: string;