@elastic/elasticsearch 7.11.0 → 7.14.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/README.md +4 -2
- package/api/api/async_search.js +11 -11
- package/api/api/autoscaling.js +12 -12
- package/api/api/bulk.js +4 -4
- package/api/api/cat.js +127 -127
- package/api/api/ccr.js +40 -40
- package/api/api/clear_scroll.js +2 -2
- package/api/api/close_point_in_time.js +2 -2
- package/api/api/cluster.js +36 -36
- package/api/api/count.js +3 -3
- package/api/api/create.js +5 -5
- package/api/api/dangling_indices.js +8 -8
- package/api/api/delete.js +4 -4
- package/api/api/delete_by_query.js +5 -5
- package/api/api/delete_by_query_rethrottle.js +4 -4
- package/api/api/delete_script.js +3 -3
- package/api/api/enrich.js +14 -14
- package/api/api/eql.js +41 -10
- package/api/api/exists.js +4 -4
- package/api/api/exists_source.js +6 -6
- package/api/api/explain.js +4 -4
- package/api/api/features.js +81 -0
- package/api/api/field_caps.js +2 -2
- package/api/api/fleet.js +65 -0
- package/api/api/get.js +4 -4
- package/api/api/get_script.js +3 -3
- package/api/api/get_script_context.js +2 -2
- package/api/api/get_script_languages.js +2 -2
- package/api/api/get_source.js +4 -4
- package/api/api/graph.js +4 -4
- package/api/api/ilm.js +50 -28
- package/api/api/index.js +4 -4
- package/api/api/indices.js +381 -381
- package/api/api/info.js +2 -2
- package/api/api/ingest.js +37 -15
- package/api/api/license.js +14 -14
- package/api/api/logstash.js +125 -0
- package/api/api/mget.js +4 -4
- package/api/api/migration.js +2 -2
- package/api/api/ml.js +338 -208
- package/api/api/monitoring.js +3 -3
- package/api/api/msearch.js +4 -4
- package/api/api/msearch_template.js +4 -4
- package/api/api/mtermvectors.js +3 -3
- package/api/api/nodes.js +12 -12
- package/api/api/open_point_in_time.js +2 -2
- package/api/api/ping.js +2 -2
- package/api/api/put_script.js +5 -5
- package/api/api/rank_eval.js +3 -3
- package/api/api/reindex.js +3 -3
- package/api/api/reindex_rethrottle.js +4 -4
- package/api/api/render_search_template.js +2 -2
- package/api/api/rollup.js +31 -31
- package/api/api/scripts_painless_execute.js +2 -2
- package/api/api/scroll.js +2 -2
- package/api/api/search.js +5 -5
- package/api/api/search_shards.js +2 -2
- package/api/api/search_template.js +4 -4
- package/api/api/searchable_snapshots.js +42 -15
- package/api/api/security.js +464 -86
- package/api/api/shutdown.js +124 -0
- package/api/api/slm.js +21 -21
- package/api/api/snapshot.js +76 -48
- package/api/api/sql.js +96 -12
- package/api/api/ssl.js +2 -2
- package/api/api/tasks.js +7 -7
- package/api/api/terms_enum.js +56 -0
- package/api/api/termvectors.js +3 -3
- package/api/api/text_structure.js +65 -0
- package/api/api/transform.js +25 -25
- package/api/api/update.js +5 -5
- package/api/api/update_by_query.js +4 -4
- package/api/api/update_by_query_rethrottle.js +4 -4
- package/api/api/watcher.js +29 -29
- package/api/api/xpack.js +4 -4
- package/api/index.js +179 -120
- package/api/new.d.ts +1584 -0
- package/api/requestParams.d.ts +203 -7
- package/api/types.d.ts +15455 -0
- package/api/utils.js +4 -4
- package/free-report-junit.xml +3410 -0
- package/index.d.ts +326 -23
- package/index.js +28 -36
- package/lib/Connection.js +6 -4
- package/lib/Helpers.d.ts +4 -2
- package/lib/Helpers.js +31 -17
- package/lib/Serializer.d.ts +5 -0
- package/lib/Serializer.js +17 -6
- package/lib/Transport.d.ts +4 -2
- package/lib/Transport.js +194 -79
- package/lib/errors.d.ts +7 -0
- package/lib/errors.js +26 -2
- package/lib/pool/BaseConnectionPool.js +3 -3
- package/lib/pool/ConnectionPool.js +4 -5
- package/lib/pool/index.d.ts +5 -0
- package/package.json +26 -26
- package/api/kibana.d.ts +0 -485
package/api/requestParams.d.ts
CHANGED
|
@@ -280,6 +280,7 @@ export interface CatNodes extends Generic {
|
|
|
280
280
|
s?: string | string[];
|
|
281
281
|
time?: 'd' | 'h' | 'm' | 's' | 'ms' | 'micros' | 'nanos';
|
|
282
282
|
v?: boolean;
|
|
283
|
+
include_unloaded_segments?: boolean;
|
|
283
284
|
}
|
|
284
285
|
|
|
285
286
|
export interface CatPendingTasks extends Generic {
|
|
@@ -299,6 +300,7 @@ export interface CatPlugins extends Generic {
|
|
|
299
300
|
master_timeout?: string;
|
|
300
301
|
h?: string | string[];
|
|
301
302
|
help?: boolean;
|
|
303
|
+
include_bootstrap?: boolean;
|
|
302
304
|
s?: string | string[];
|
|
303
305
|
v?: boolean;
|
|
304
306
|
}
|
|
@@ -565,8 +567,8 @@ export interface ClusterReroute<T = RequestBody> extends Generic {
|
|
|
565
567
|
}
|
|
566
568
|
|
|
567
569
|
export interface ClusterState extends Generic {
|
|
568
|
-
metric?: string | string[];
|
|
569
570
|
index?: string | string[];
|
|
571
|
+
metric?: string | string[];
|
|
570
572
|
local?: boolean;
|
|
571
573
|
master_timeout?: string;
|
|
572
574
|
flat_settings?: boolean;
|
|
@@ -731,6 +733,10 @@ export interface EqlGet extends Generic {
|
|
|
731
733
|
keep_alive?: string;
|
|
732
734
|
}
|
|
733
735
|
|
|
736
|
+
export interface EqlGetStatus extends Generic {
|
|
737
|
+
id: string;
|
|
738
|
+
}
|
|
739
|
+
|
|
734
740
|
export interface EqlSearch<T = RequestBody> extends Generic {
|
|
735
741
|
index: string;
|
|
736
742
|
wait_for_completion_timeout?: string;
|
|
@@ -795,6 +801,13 @@ export interface Explain<T = RequestBody> extends Generic {
|
|
|
795
801
|
body?: T;
|
|
796
802
|
}
|
|
797
803
|
|
|
804
|
+
export interface FeaturesGetFeatures extends Generic {
|
|
805
|
+
master_timeout?: string;
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
export interface FeaturesResetFeatures extends Generic {
|
|
809
|
+
}
|
|
810
|
+
|
|
798
811
|
export interface FieldCaps<T = RequestBody> extends Generic {
|
|
799
812
|
index?: string | string[];
|
|
800
813
|
fields?: string | string[];
|
|
@@ -805,6 +818,14 @@ export interface FieldCaps<T = RequestBody> extends Generic {
|
|
|
805
818
|
body?: T;
|
|
806
819
|
}
|
|
807
820
|
|
|
821
|
+
export interface FleetGlobalCheckpoints extends Generic {
|
|
822
|
+
index: string;
|
|
823
|
+
wait_for_advance?: boolean;
|
|
824
|
+
wait_for_index?: boolean;
|
|
825
|
+
checkpoints?: string | string[];
|
|
826
|
+
timeout?: string;
|
|
827
|
+
}
|
|
828
|
+
|
|
808
829
|
export interface Get extends Generic {
|
|
809
830
|
id: string;
|
|
810
831
|
index: string;
|
|
@@ -876,6 +897,11 @@ export interface IlmGetLifecycle extends Generic {
|
|
|
876
897
|
export interface IlmGetStatus extends Generic {
|
|
877
898
|
}
|
|
878
899
|
|
|
900
|
+
export interface IlmMigrateToDataTiers<T = RequestBody> extends Generic {
|
|
901
|
+
dry_run?: boolean;
|
|
902
|
+
body?: T;
|
|
903
|
+
}
|
|
904
|
+
|
|
879
905
|
export interface IlmMoveToStep<T = RequestBody> extends Generic {
|
|
880
906
|
index: string;
|
|
881
907
|
body?: T;
|
|
@@ -1397,8 +1423,12 @@ export interface IngestDeletePipeline extends Generic {
|
|
|
1397
1423
|
timeout?: string;
|
|
1398
1424
|
}
|
|
1399
1425
|
|
|
1426
|
+
export interface IngestGeoIpStats extends Generic {
|
|
1427
|
+
}
|
|
1428
|
+
|
|
1400
1429
|
export interface IngestGetPipeline extends Generic {
|
|
1401
1430
|
id?: string;
|
|
1431
|
+
summary?: boolean;
|
|
1402
1432
|
master_timeout?: string;
|
|
1403
1433
|
}
|
|
1404
1434
|
|
|
@@ -1446,6 +1476,19 @@ export interface LicensePostStartTrial extends Generic {
|
|
|
1446
1476
|
acknowledge?: boolean;
|
|
1447
1477
|
}
|
|
1448
1478
|
|
|
1479
|
+
export interface LogstashDeletePipeline extends Generic {
|
|
1480
|
+
id: string;
|
|
1481
|
+
}
|
|
1482
|
+
|
|
1483
|
+
export interface LogstashGetPipeline extends Generic {
|
|
1484
|
+
id: string;
|
|
1485
|
+
}
|
|
1486
|
+
|
|
1487
|
+
export interface LogstashPutPipeline<T = RequestBody> extends Generic {
|
|
1488
|
+
id: string;
|
|
1489
|
+
body: T;
|
|
1490
|
+
}
|
|
1491
|
+
|
|
1449
1492
|
export interface Mget<T = RequestBody> extends Generic {
|
|
1450
1493
|
index?: string;
|
|
1451
1494
|
type?: string;
|
|
@@ -1533,6 +1576,11 @@ export interface MlDeleteTrainedModel extends Generic {
|
|
|
1533
1576
|
model_id: string;
|
|
1534
1577
|
}
|
|
1535
1578
|
|
|
1579
|
+
export interface MlDeleteTrainedModelAlias extends Generic {
|
|
1580
|
+
model_alias: string;
|
|
1581
|
+
model_id: string;
|
|
1582
|
+
}
|
|
1583
|
+
|
|
1536
1584
|
export interface MlEstimateModelMemory<T = RequestBody> extends Generic {
|
|
1537
1585
|
body: T;
|
|
1538
1586
|
}
|
|
@@ -1751,15 +1799,21 @@ export interface MlPostCalendarEvents<T = RequestBody> extends Generic {
|
|
|
1751
1799
|
body: T;
|
|
1752
1800
|
}
|
|
1753
1801
|
|
|
1754
|
-
export interface MlPostData<T =
|
|
1802
|
+
export interface MlPostData<T = RequestNDBody> extends Generic {
|
|
1755
1803
|
job_id: string;
|
|
1756
1804
|
reset_start?: string;
|
|
1757
1805
|
reset_end?: string;
|
|
1758
1806
|
body: T;
|
|
1759
1807
|
}
|
|
1760
1808
|
|
|
1761
|
-
export interface
|
|
1762
|
-
|
|
1809
|
+
export interface MlPreviewDataFrameAnalytics<T = RequestBody> extends Generic {
|
|
1810
|
+
id?: string;
|
|
1811
|
+
body?: T;
|
|
1812
|
+
}
|
|
1813
|
+
|
|
1814
|
+
export interface MlPreviewDatafeed<T = RequestBody> extends Generic {
|
|
1815
|
+
datafeed_id?: string;
|
|
1816
|
+
body?: T;
|
|
1763
1817
|
}
|
|
1764
1818
|
|
|
1765
1819
|
export interface MlPutCalendar<T = RequestBody> extends Generic {
|
|
@@ -1801,6 +1855,17 @@ export interface MlPutTrainedModel<T = RequestBody> extends Generic {
|
|
|
1801
1855
|
body: T;
|
|
1802
1856
|
}
|
|
1803
1857
|
|
|
1858
|
+
export interface MlPutTrainedModelAlias extends Generic {
|
|
1859
|
+
model_alias: string;
|
|
1860
|
+
model_id: string;
|
|
1861
|
+
reassign?: boolean;
|
|
1862
|
+
}
|
|
1863
|
+
|
|
1864
|
+
export interface MlResetJob extends Generic {
|
|
1865
|
+
job_id: string;
|
|
1866
|
+
wait_for_completion?: boolean;
|
|
1867
|
+
}
|
|
1868
|
+
|
|
1804
1869
|
export interface MlRevertModelSnapshot<T = RequestBody> extends Generic {
|
|
1805
1870
|
job_id: string;
|
|
1806
1871
|
snapshot_id: string;
|
|
@@ -1900,7 +1965,7 @@ export interface MonitoringBulk<T = RequestNDBody> extends Generic {
|
|
|
1900
1965
|
export interface Msearch<T = RequestNDBody> extends Generic {
|
|
1901
1966
|
index?: string | string[];
|
|
1902
1967
|
type?: string | string[];
|
|
1903
|
-
search_type?: 'query_then_fetch' | '
|
|
1968
|
+
search_type?: 'query_then_fetch' | 'dfs_query_then_fetch';
|
|
1904
1969
|
max_concurrent_searches?: number;
|
|
1905
1970
|
typed_keys?: boolean;
|
|
1906
1971
|
pre_filter_shard_size?: number;
|
|
@@ -1913,7 +1978,7 @@ export interface Msearch<T = RequestNDBody> extends Generic {
|
|
|
1913
1978
|
export interface MsearchTemplate<T = RequestNDBody> extends Generic {
|
|
1914
1979
|
index?: string | string[];
|
|
1915
1980
|
type?: string | string[];
|
|
1916
|
-
search_type?: 'query_then_fetch' | '
|
|
1981
|
+
search_type?: 'query_then_fetch' | 'dfs_query_then_fetch';
|
|
1917
1982
|
typed_keys?: boolean;
|
|
1918
1983
|
max_concurrent_searches?: number;
|
|
1919
1984
|
rest_total_hits_as_int?: boolean;
|
|
@@ -1974,6 +2039,7 @@ export interface NodesStats extends Generic {
|
|
|
1974
2039
|
types?: string | string[];
|
|
1975
2040
|
timeout?: string;
|
|
1976
2041
|
include_segment_file_sizes?: boolean;
|
|
2042
|
+
include_unloaded_segments?: boolean;
|
|
1977
2043
|
}
|
|
1978
2044
|
|
|
1979
2045
|
export interface NodesUsage extends Generic {
|
|
@@ -2136,6 +2202,7 @@ export interface Search<T = RequestBody> extends Generic {
|
|
|
2136
2202
|
max_concurrent_shard_requests?: number;
|
|
2137
2203
|
pre_filter_shard_size?: number;
|
|
2138
2204
|
rest_total_hits_as_int?: boolean;
|
|
2205
|
+
min_compatible_shard_node?: string;
|
|
2139
2206
|
body?: T;
|
|
2140
2207
|
}
|
|
2141
2208
|
|
|
@@ -2159,7 +2226,7 @@ export interface SearchTemplate<T = RequestBody> extends Generic {
|
|
|
2159
2226
|
preference?: string;
|
|
2160
2227
|
routing?: string | string[];
|
|
2161
2228
|
scroll?: string;
|
|
2162
|
-
search_type?: 'query_then_fetch' | '
|
|
2229
|
+
search_type?: 'query_then_fetch' | 'dfs_query_then_fetch';
|
|
2163
2230
|
explain?: boolean;
|
|
2164
2231
|
profile?: boolean;
|
|
2165
2232
|
typed_keys?: boolean;
|
|
@@ -2168,6 +2235,10 @@ export interface SearchTemplate<T = RequestBody> extends Generic {
|
|
|
2168
2235
|
body: T;
|
|
2169
2236
|
}
|
|
2170
2237
|
|
|
2238
|
+
export interface SearchableSnapshotsCacheStats extends Generic {
|
|
2239
|
+
node_id?: string | string[];
|
|
2240
|
+
}
|
|
2241
|
+
|
|
2171
2242
|
export interface SearchableSnapshotsClearCache extends Generic {
|
|
2172
2243
|
index?: string | string[];
|
|
2173
2244
|
ignore_unavailable?: boolean;
|
|
@@ -2180,6 +2251,7 @@ export interface SearchableSnapshotsMount<T = RequestBody> extends Generic {
|
|
|
2180
2251
|
snapshot: string;
|
|
2181
2252
|
master_timeout?: string;
|
|
2182
2253
|
wait_for_completion?: boolean;
|
|
2254
|
+
storage?: string;
|
|
2183
2255
|
body: T;
|
|
2184
2256
|
}
|
|
2185
2257
|
|
|
@@ -2189,6 +2261,7 @@ export interface SearchableSnapshotsRepositoryStats extends Generic {
|
|
|
2189
2261
|
|
|
2190
2262
|
export interface SearchableSnapshotsStats extends Generic {
|
|
2191
2263
|
index?: string | string[];
|
|
2264
|
+
level?: 'cluster' | 'indices' | 'shards';
|
|
2192
2265
|
}
|
|
2193
2266
|
|
|
2194
2267
|
export interface SecurityAuthenticate extends Generic {
|
|
@@ -2217,11 +2290,24 @@ export interface SecurityClearCachedRoles extends Generic {
|
|
|
2217
2290
|
name: string | string[];
|
|
2218
2291
|
}
|
|
2219
2292
|
|
|
2293
|
+
export interface SecurityClearCachedServiceTokens extends Generic {
|
|
2294
|
+
namespace: string;
|
|
2295
|
+
service: string;
|
|
2296
|
+
name: string | string[];
|
|
2297
|
+
}
|
|
2298
|
+
|
|
2220
2299
|
export interface SecurityCreateApiKey<T = RequestBody> extends Generic {
|
|
2221
2300
|
refresh?: 'wait_for' | boolean;
|
|
2222
2301
|
body: T;
|
|
2223
2302
|
}
|
|
2224
2303
|
|
|
2304
|
+
export interface SecurityCreateServiceToken extends Generic {
|
|
2305
|
+
namespace: string;
|
|
2306
|
+
service: string;
|
|
2307
|
+
name?: string;
|
|
2308
|
+
refresh?: 'wait_for' | boolean;
|
|
2309
|
+
}
|
|
2310
|
+
|
|
2225
2311
|
export interface SecurityDeletePrivileges extends Generic {
|
|
2226
2312
|
application: string;
|
|
2227
2313
|
name: string;
|
|
@@ -2238,6 +2324,13 @@ export interface SecurityDeleteRoleMapping extends Generic {
|
|
|
2238
2324
|
refresh?: 'wait_for' | boolean;
|
|
2239
2325
|
}
|
|
2240
2326
|
|
|
2327
|
+
export interface SecurityDeleteServiceToken extends Generic {
|
|
2328
|
+
namespace: string;
|
|
2329
|
+
service: string;
|
|
2330
|
+
name: string;
|
|
2331
|
+
refresh?: 'wait_for' | boolean;
|
|
2332
|
+
}
|
|
2333
|
+
|
|
2241
2334
|
export interface SecurityDeleteUser extends Generic {
|
|
2242
2335
|
username: string;
|
|
2243
2336
|
refresh?: 'wait_for' | boolean;
|
|
@@ -2277,6 +2370,16 @@ export interface SecurityGetRoleMapping extends Generic {
|
|
|
2277
2370
|
name?: string | string[];
|
|
2278
2371
|
}
|
|
2279
2372
|
|
|
2373
|
+
export interface SecurityGetServiceAccounts extends Generic {
|
|
2374
|
+
namespace?: string;
|
|
2375
|
+
service?: string;
|
|
2376
|
+
}
|
|
2377
|
+
|
|
2378
|
+
export interface SecurityGetServiceCredentials extends Generic {
|
|
2379
|
+
namespace: string;
|
|
2380
|
+
service: string;
|
|
2381
|
+
}
|
|
2382
|
+
|
|
2280
2383
|
export interface SecurityGetToken<T = RequestBody> extends Generic {
|
|
2281
2384
|
body: T;
|
|
2282
2385
|
}
|
|
@@ -2329,6 +2432,43 @@ export interface SecurityPutUser<T = RequestBody> extends Generic {
|
|
|
2329
2432
|
body: T;
|
|
2330
2433
|
}
|
|
2331
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
|
+
|
|
2459
|
+
export interface ShutdownDeleteNode extends Generic {
|
|
2460
|
+
node_id: string;
|
|
2461
|
+
}
|
|
2462
|
+
|
|
2463
|
+
export interface ShutdownGetNode extends Generic {
|
|
2464
|
+
node_id?: string;
|
|
2465
|
+
}
|
|
2466
|
+
|
|
2467
|
+
export interface ShutdownPutNode<T = RequestBody> extends Generic {
|
|
2468
|
+
node_id: string;
|
|
2469
|
+
body: T;
|
|
2470
|
+
}
|
|
2471
|
+
|
|
2332
2472
|
export interface SlmDeleteLifecycle extends Generic {
|
|
2333
2473
|
policy_id: string;
|
|
2334
2474
|
}
|
|
@@ -2408,6 +2548,8 @@ export interface SnapshotGet extends Generic {
|
|
|
2408
2548
|
snapshot: string | string[];
|
|
2409
2549
|
master_timeout?: string;
|
|
2410
2550
|
ignore_unavailable?: boolean;
|
|
2551
|
+
index_details?: boolean;
|
|
2552
|
+
include_repository?: boolean;
|
|
2411
2553
|
verbose?: boolean;
|
|
2412
2554
|
}
|
|
2413
2555
|
|
|
@@ -2417,6 +2559,21 @@ export interface SnapshotGetRepository extends Generic {
|
|
|
2417
2559
|
local?: boolean;
|
|
2418
2560
|
}
|
|
2419
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
|
+
|
|
2420
2577
|
export interface SnapshotRestore<T = RequestBody> extends Generic {
|
|
2421
2578
|
repository: string;
|
|
2422
2579
|
snapshot: string;
|
|
@@ -2442,6 +2599,22 @@ export interface SqlClearCursor<T = RequestBody> extends Generic {
|
|
|
2442
2599
|
body: T;
|
|
2443
2600
|
}
|
|
2444
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
|
+
|
|
2445
2618
|
export interface SqlQuery<T = RequestBody> extends Generic {
|
|
2446
2619
|
format?: string;
|
|
2447
2620
|
body: T;
|
|
@@ -2478,6 +2651,11 @@ export interface TasksList extends Generic {
|
|
|
2478
2651
|
timeout?: string;
|
|
2479
2652
|
}
|
|
2480
2653
|
|
|
2654
|
+
export interface TermsEnum<T = RequestBody> extends Generic {
|
|
2655
|
+
index: string | string[];
|
|
2656
|
+
body?: T;
|
|
2657
|
+
}
|
|
2658
|
+
|
|
2481
2659
|
export interface Termvectors<T = RequestBody> extends Generic {
|
|
2482
2660
|
index: string;
|
|
2483
2661
|
id?: string;
|
|
@@ -2496,6 +2674,24 @@ export interface Termvectors<T = RequestBody> extends Generic {
|
|
|
2496
2674
|
body?: T;
|
|
2497
2675
|
}
|
|
2498
2676
|
|
|
2677
|
+
export interface TextStructureFindStructure<T = RequestNDBody> extends Generic {
|
|
2678
|
+
lines_to_sample?: number;
|
|
2679
|
+
line_merge_size_limit?: number;
|
|
2680
|
+
timeout?: string;
|
|
2681
|
+
charset?: string;
|
|
2682
|
+
format?: 'ndjson' | 'xml' | 'delimited' | 'semi_structured_text';
|
|
2683
|
+
has_header_row?: boolean;
|
|
2684
|
+
column_names?: string | string[];
|
|
2685
|
+
delimiter?: string;
|
|
2686
|
+
quote?: string;
|
|
2687
|
+
should_trim_fields?: boolean;
|
|
2688
|
+
grok_pattern?: string;
|
|
2689
|
+
timestamp_field?: string;
|
|
2690
|
+
timestamp_format?: string;
|
|
2691
|
+
explain?: boolean;
|
|
2692
|
+
body: T;
|
|
2693
|
+
}
|
|
2694
|
+
|
|
2499
2695
|
export interface TransformDeleteTransform extends Generic {
|
|
2500
2696
|
transform_id: string;
|
|
2501
2697
|
force?: boolean;
|