@elastic/elasticsearch 7.9.0 → 7.9.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/api/api/async_search.js +114 -0
- package/api/api/autoscaling.js +147 -0
- package/api/api/bulk.js +55 -98
- package/api/api/cat.js +648 -0
- package/api/api/ccr.js +403 -0
- package/api/api/clear_scroll.js +42 -69
- package/api/api/cluster.js +420 -0
- package/api/api/count.js +49 -98
- package/api/api/create.js +54 -92
- package/api/api/dangling_indices.js +115 -0
- package/api/api/delete.js +50 -89
- package/api/api/delete_by_query.js +55 -135
- package/api/api/delete_by_query_rethrottle.js +45 -74
- package/api/api/delete_script.js +41 -71
- package/api/api/enrich.js +173 -0
- package/api/api/eql.js +119 -0
- package/api/api/exists.js +50 -95
- package/api/api/exists_source.js +58 -101
- package/api/api/explain.js +50 -98
- package/api/api/field_caps.js +42 -78
- package/api/api/get.js +50 -95
- package/api/api/get_script.js +41 -70
- package/api/api/get_script_context.js +37 -64
- package/api/api/get_script_languages.js +37 -64
- package/api/api/get_source.js +50 -93
- package/api/api/graph.js +72 -0
- package/api/api/ilm.js +295 -0
- package/api/api/index.js +56 -98
- package/api/api/indices.js +1656 -0
- package/api/api/info.js +37 -64
- package/api/api/ingest.js +178 -0
- package/api/api/license.js +188 -0
- package/api/api/mget.js +55 -97
- package/api/api/migration.js +60 -0
- package/api/api/ml.js +1842 -0
- package/api/api/monitoring.js +66 -0
- package/api/api/msearch.js +55 -96
- package/api/api/msearch_template.js +55 -92
- package/api/api/mtermvectors.js +49 -91
- package/api/api/nodes.js +202 -0
- package/api/api/ping.js +37 -64
- package/api/api/put_script.js +55 -86
- package/api/api/rank_eval.js +46 -81
- package/api/api/reindex.js +41 -82
- package/api/api/reindex_rethrottle.js +45 -74
- package/api/api/render_search_template.js +42 -69
- package/api/api/rollup.js +278 -0
- package/api/api/scripts_painless_execute.js +37 -64
- package/api/api/scroll.js +42 -74
- package/api/api/search.js +49 -149
- package/api/api/search_shards.js +42 -78
- package/api/api/search_template.js +55 -103
- package/api/api/searchable_snapshots.js +159 -0
- package/api/api/security.js +805 -0
- package/api/api/slm.js +256 -0
- package/api/api/snapshot.js +363 -0
- package/api/api/sql.js +119 -0
- package/api/api/ssl.js +55 -0
- package/api/api/tasks.js +108 -0
- package/api/api/termvectors.js +52 -93
- package/api/api/transform.js +268 -0
- package/api/api/update.js +54 -102
- package/api/api/update_by_query.js +51 -135
- package/api/api/update_by_query_rethrottle.js +45 -74
- package/api/api/watcher.js +311 -0
- package/api/api/xpack.js +76 -0
- package/api/index.js +408 -685
- package/api/requestParams.d.ts +813 -813
- package/api/utils.js +58 -0
- package/index.js +49 -48
- package/lib/Connection.d.ts +1 -1
- package/lib/Connection.js +1 -0
- package/lib/Helpers.js +4 -3
- package/lib/Transport.js +31 -25
- package/package.json +1 -1
- package/api/api/async_search.delete.js +0 -78
- package/api/api/async_search.get.js +0 -82
- package/api/api/async_search.submit.js +0 -147
- package/api/api/autoscaling.delete_autoscaling_policy.js +0 -78
- package/api/api/autoscaling.get_autoscaling_decision.js +0 -72
- package/api/api/autoscaling.get_autoscaling_policy.js +0 -78
- package/api/api/autoscaling.put_autoscaling_policy.js +0 -82
- package/api/api/cat.aliases.js +0 -90
- package/api/api/cat.allocation.js +0 -91
- package/api/api/cat.count.js +0 -87
- package/api/api/cat.fielddata.js +0 -89
- package/api/api/cat.health.js +0 -84
- package/api/api/cat.help.js +0 -79
- package/api/api/cat.indices.js +0 -98
- package/api/api/cat.master.js +0 -85
- package/api/api/cat.ml_data_frame_analytics.js +0 -85
- package/api/api/cat.ml_datafeeds.js +0 -84
- package/api/api/cat.ml_jobs.js +0 -85
- package/api/api/cat.ml_trained_models.js +0 -87
- package/api/api/cat.nodeattrs.js +0 -85
- package/api/api/cat.nodes.js +0 -89
- package/api/api/cat.pending_tasks.js +0 -86
- package/api/api/cat.plugins.js +0 -85
- package/api/api/cat.recovery.js +0 -93
- package/api/api/cat.repositories.js +0 -85
- package/api/api/cat.segments.js +0 -88
- package/api/api/cat.shards.js +0 -92
- package/api/api/cat.snapshots.js +0 -92
- package/api/api/cat.tasks.js +0 -89
- package/api/api/cat.templates.js +0 -90
- package/api/api/cat.thread_pool.js +0 -92
- package/api/api/cat.transforms.js +0 -86
- package/api/api/ccr.delete_auto_follow_pattern.js +0 -78
- package/api/api/ccr.follow.js +0 -82
- package/api/api/ccr.follow_info.js +0 -78
- package/api/api/ccr.follow_stats.js +0 -78
- package/api/api/ccr.forget_follower.js +0 -82
- package/api/api/ccr.get_auto_follow_pattern.js +0 -77
- package/api/api/ccr.pause_auto_follow_pattern.js +0 -78
- package/api/api/ccr.pause_follow.js +0 -78
- package/api/api/ccr.put_auto_follow_pattern.js +0 -82
- package/api/api/ccr.resume_auto_follow_pattern.js +0 -78
- package/api/api/ccr.resume_follow.js +0 -78
- package/api/api/ccr.stats.js +0 -72
- package/api/api/ccr.unfollow.js +0 -78
- package/api/api/cluster.allocation_explain.js +0 -81
- package/api/api/cluster.delete_component_template.js +0 -86
- package/api/api/cluster.delete_voting_config_exclusions.js +0 -79
- package/api/api/cluster.exists_component_template.js +0 -86
- package/api/api/cluster.get_component_template.js +0 -85
- package/api/api/cluster.get_settings.js +0 -84
- package/api/api/cluster.health.js +0 -101
- package/api/api/cluster.pending_tasks.js +0 -81
- package/api/api/cluster.post_voting_config_exclusions.js +0 -82
- package/api/api/cluster.put_component_template.js +0 -91
- package/api/api/cluster.put_settings.js +0 -88
- package/api/api/cluster.remote_info.js +0 -77
- package/api/api/cluster.reroute.js +0 -86
- package/api/api/cluster.state.js +0 -106
- package/api/api/cluster.stats.js +0 -85
- package/api/api/dangling_indices.delete_dangling_index.js +0 -88
- package/api/api/dangling_indices.import_dangling_index.js +0 -88
- package/api/api/dangling_indices.list_dangling_indices.js +0 -77
- package/api/api/enrich.delete_policy.js +0 -78
- package/api/api/enrich.execute_policy.js +0 -78
- package/api/api/enrich.get_policy.js +0 -77
- package/api/api/enrich.put_policy.js +0 -82
- package/api/api/enrich.stats.js +0 -72
- package/api/api/eql.delete.js +0 -78
- package/api/api/eql.get.js +0 -80
- package/api/api/eql.search.js +0 -86
- package/api/api/graph.explore.js +0 -90
- package/api/api/ilm.delete_lifecycle.js +0 -78
- package/api/api/ilm.explain_lifecycle.js +0 -80
- package/api/api/ilm.get_lifecycle.js +0 -77
- package/api/api/ilm.get_status.js +0 -72
- package/api/api/ilm.move_to_step.js +0 -78
- package/api/api/ilm.put_lifecycle.js +0 -78
- package/api/api/ilm.remove_policy.js +0 -78
- package/api/api/ilm.retry.js +0 -78
- package/api/api/ilm.start.js +0 -72
- package/api/api/ilm.stop.js +0 -72
- package/api/api/indices.add_block.js +0 -102
- package/api/api/indices.analyze.js +0 -83
- package/api/api/indices.clear_cache.js +0 -93
- package/api/api/indices.clone.js +0 -98
- package/api/api/indices.close.js +0 -94
- package/api/api/indices.create.js +0 -90
- package/api/api/indices.create_data_stream.js +0 -78
- package/api/api/indices.data_streams_stats.js +0 -77
- package/api/api/indices.delete.js +0 -92
- package/api/api/indices.delete_alias.js +0 -101
- package/api/api/indices.delete_data_stream.js +0 -78
- package/api/api/indices.delete_index_template.js +0 -86
- package/api/api/indices.delete_template.js +0 -86
- package/api/api/indices.exists.js +0 -94
- package/api/api/indices.exists_alias.js +0 -95
- package/api/api/indices.exists_index_template.js +0 -88
- package/api/api/indices.exists_template.js +0 -88
- package/api/api/indices.exists_type.js +0 -100
- package/api/api/indices.flush.js +0 -91
- package/api/api/indices.flush_synced.js +0 -88
- package/api/api/indices.forcemerge.js +0 -93
- package/api/api/indices.freeze.js +0 -87
- package/api/api/indices.get.js +0 -98
- package/api/api/indices.get_alias.js +0 -95
- package/api/api/indices.get_data_stream.js +0 -77
- package/api/api/indices.get_field_mapping.js +0 -105
- package/api/api/indices.get_index_template.js +0 -87
- package/api/api/indices.get_mapping.js +0 -99
- package/api/api/indices.get_settings.js +0 -101
- package/api/api/indices.get_template.js +0 -89
- package/api/api/indices.get_upgrade.js +0 -88
- package/api/api/indices.open.js +0 -94
- package/api/api/indices.put_alias.js +0 -101
- package/api/api/indices.put_index_template.js +0 -91
- package/api/api/indices.put_mapping.js +0 -119
- package/api/api/indices.put_settings.js +0 -101
- package/api/api/indices.put_template.js +0 -93
- package/api/api/indices.recovery.js +0 -85
- package/api/api/indices.refresh.js +0 -88
- package/api/api/indices.reload_search_analyzers.js +0 -82
- package/api/api/indices.resolve_index.js +0 -85
- package/api/api/indices.rollover.js +0 -104
- package/api/api/indices.segments.js +0 -89
- package/api/api/indices.shard_stores.js +0 -89
- package/api/api/indices.shrink.js +0 -100
- package/api/api/indices.simulate_index_template.js +0 -87
- package/api/api/indices.simulate_template.js +0 -86
- package/api/api/indices.split.js +0 -100
- package/api/api/indices.stats.js +0 -104
- package/api/api/indices.unfreeze.js +0 -87
- package/api/api/indices.update_aliases.js +0 -86
- package/api/api/indices.upgrade.js +0 -92
- package/api/api/indices.validate_query.js +0 -109
- package/api/api/ingest.delete_pipeline.js +0 -86
- package/api/api/ingest.get_pipeline.js +0 -84
- package/api/api/ingest.processor_grok.js +0 -77
- package/api/api/ingest.put_pipeline.js +0 -90
- package/api/api/ingest.simulate.js +0 -89
- package/api/api/license.delete.js +0 -72
- package/api/api/license.get.js +0 -73
- package/api/api/license.get_basic_status.js +0 -72
- package/api/api/license.get_trial_status.js +0 -72
- package/api/api/license.post.js +0 -72
- package/api/api/license.post_start_basic.js +0 -72
- package/api/api/license.post_start_trial.js +0 -73
- package/api/api/migration.deprecations.js +0 -77
- package/api/api/ml.close_job.js +0 -81
- package/api/api/ml.delete_calendar.js +0 -78
- package/api/api/ml.delete_calendar_event.js +0 -88
- package/api/api/ml.delete_calendar_job.js +0 -88
- package/api/api/ml.delete_data_frame_analytics.js +0 -79
- package/api/api/ml.delete_datafeed.js +0 -78
- package/api/api/ml.delete_expired_data.js +0 -79
- package/api/api/ml.delete_filter.js +0 -78
- package/api/api/ml.delete_forecast.js +0 -91
- package/api/api/ml.delete_job.js +0 -79
- package/api/api/ml.delete_model_snapshot.js +0 -88
- package/api/api/ml.delete_trained_model.js +0 -78
- package/api/api/ml.estimate_model_memory.js +0 -78
- package/api/api/ml.evaluate_data_frame.js +0 -78
- package/api/api/ml.explain_data_frame_analytics.js +0 -77
- package/api/api/ml.find_file_structure.js +0 -99
- package/api/api/ml.flush_job.js +0 -84
- package/api/api/ml.forecast.js +0 -81
- package/api/api/ml.get_buckets.js +0 -99
- package/api/api/ml.get_calendar_events.js +0 -83
- package/api/api/ml.get_calendars.js +0 -78
- package/api/api/ml.get_categories.js +0 -91
- package/api/api/ml.get_data_frame_analytics.js +0 -80
- package/api/api/ml.get_data_frame_analytics_stats.js +0 -80
- package/api/api/ml.get_datafeed_stats.js +0 -77
- package/api/api/ml.get_datafeeds.js +0 -77
- package/api/api/ml.get_filters.js +0 -78
- package/api/api/ml.get_influencers.js +0 -87
- package/api/api/ml.get_job_stats.js +0 -77
- package/api/api/ml.get_jobs.js +0 -77
- package/api/api/ml.get_model_snapshots.js +0 -94
- package/api/api/ml.get_overall_buckets.js +0 -88
- package/api/api/ml.get_records.js +0 -87
- package/api/api/ml.get_trained_models.js +0 -86
- package/api/api/ml.get_trained_models_stats.js +0 -80
- package/api/api/ml.info.js +0 -72
- package/api/api/ml.open_job.js +0 -78
- package/api/api/ml.post_calendar_events.js +0 -82
- package/api/api/ml.post_data.js +0 -84
- package/api/api/ml.preview_datafeed.js +0 -78
- package/api/api/ml.put_calendar.js +0 -78
- package/api/api/ml.put_calendar_job.js +0 -88
- package/api/api/ml.put_data_frame_analytics.js +0 -82
- package/api/api/ml.put_datafeed.js +0 -88
- package/api/api/ml.put_filter.js +0 -82
- package/api/api/ml.put_job.js +0 -82
- package/api/api/ml.put_trained_model.js +0 -82
- package/api/api/ml.revert_model_snapshot.js +0 -88
- package/api/api/ml.set_upgrade_mode.js +0 -73
- package/api/api/ml.start_data_frame_analytics.js +0 -78
- package/api/api/ml.start_datafeed.js +0 -80
- package/api/api/ml.stop_data_frame_analytics.js +0 -81
- package/api/api/ml.stop_datafeed.js +0 -81
- package/api/api/ml.update_data_frame_analytics.js +0 -82
- package/api/api/ml.update_datafeed.js +0 -88
- package/api/api/ml.update_filter.js +0 -82
- package/api/api/ml.update_job.js +0 -82
- package/api/api/ml.update_model_snapshot.js +0 -92
- package/api/api/ml.validate.js +0 -78
- package/api/api/ml.validate_detector.js +0 -78
- package/api/api/monitoring.bulk.js +0 -87
- package/api/api/nodes.hot_threads.js +0 -98
- package/api/api/nodes.info.js +0 -91
- package/api/api/nodes.reload_secure_settings.js +0 -83
- package/api/api/nodes.stats.js +0 -105
- package/api/api/nodes.usage.js +0 -89
- package/api/api/rollup.delete_job.js +0 -78
- package/api/api/rollup.get_jobs.js +0 -77
- package/api/api/rollup.get_rollup_caps.js +0 -77
- package/api/api/rollup.get_rollup_index_caps.js +0 -78
- package/api/api/rollup.put_job.js +0 -82
- package/api/api/rollup.rollup_search.js +0 -95
- package/api/api/rollup.start_job.js +0 -78
- package/api/api/rollup.stop_job.js +0 -80
- package/api/api/searchable_snapshots.clear_cache.js +0 -83
- package/api/api/searchable_snapshots.mount.js +0 -94
- package/api/api/searchable_snapshots.repository_stats.js +0 -78
- package/api/api/searchable_snapshots.stats.js +0 -77
- package/api/api/security.authenticate.js +0 -72
- package/api/api/security.change_password.js +0 -83
- package/api/api/security.clear_cached_privileges.js +0 -78
- package/api/api/security.clear_cached_realms.js +0 -78
- package/api/api/security.clear_cached_roles.js +0 -78
- package/api/api/security.create_api_key.js +0 -78
- package/api/api/security.delete_privileges.js +0 -88
- package/api/api/security.delete_role.js +0 -78
- package/api/api/security.delete_role_mapping.js +0 -78
- package/api/api/security.delete_user.js +0 -78
- package/api/api/security.disable_user.js +0 -78
- package/api/api/security.enable_user.js +0 -78
- package/api/api/security.get_api_key.js +0 -77
- package/api/api/security.get_builtin_privileges.js +0 -72
- package/api/api/security.get_privileges.js +0 -86
- package/api/api/security.get_role.js +0 -77
- package/api/api/security.get_role_mapping.js +0 -77
- package/api/api/security.get_token.js +0 -78
- package/api/api/security.get_user.js +0 -77
- package/api/api/security.get_user_privileges.js +0 -72
- package/api/api/security.has_privileges.js +0 -83
- package/api/api/security.invalidate_api_key.js +0 -78
- package/api/api/security.invalidate_token.js +0 -78
- package/api/api/security.put_privileges.js +0 -78
- package/api/api/security.put_role.js +0 -82
- package/api/api/security.put_role_mapping.js +0 -82
- package/api/api/security.put_user.js +0 -82
- package/api/api/slm.delete_lifecycle.js +0 -78
- package/api/api/slm.execute_lifecycle.js +0 -78
- package/api/api/slm.execute_retention.js +0 -72
- package/api/api/slm.get_lifecycle.js +0 -77
- package/api/api/slm.get_stats.js +0 -72
- package/api/api/slm.get_status.js +0 -72
- package/api/api/slm.put_lifecycle.js +0 -78
- package/api/api/slm.start.js +0 -72
- package/api/api/slm.stop.js +0 -72
- package/api/api/snapshot.cleanup_repository.js +0 -86
- package/api/api/snapshot.create.js +0 -97
- package/api/api/snapshot.create_repository.js +0 -91
- package/api/api/snapshot.delete.js +0 -95
- package/api/api/snapshot.delete_repository.js +0 -86
- package/api/api/snapshot.get.js +0 -98
- package/api/api/snapshot.get_repository.js +0 -85
- package/api/api/snapshot.restore.js +0 -97
- package/api/api/snapshot.status.js +0 -95
- package/api/api/snapshot.verify_repository.js +0 -86
- package/api/api/sql.clear_cursor.js +0 -78
- package/api/api/sql.query.js +0 -78
- package/api/api/sql.translate.js +0 -78
- package/api/api/ssl.certificates.js +0 -72
- package/api/api/tasks.cancel.js +0 -88
- package/api/api/tasks.get.js +0 -86
- package/api/api/tasks.list.js +0 -87
- package/api/api/transform.delete_transform.js +0 -78
- package/api/api/transform.get_transform.js +0 -79
- package/api/api/transform.get_transform_stats.js +0 -80
- package/api/api/transform.preview_transform.js +0 -78
- package/api/api/transform.put_transform.js +0 -82
- package/api/api/transform.start_transform.js +0 -78
- package/api/api/transform.stop_transform.js +0 -84
- package/api/api/transform.update_transform.js +0 -82
- package/api/api/watcher.ack_watch.js +0 -89
- package/api/api/watcher.activate_watch.js +0 -78
- package/api/api/watcher.deactivate_watch.js +0 -78
- package/api/api/watcher.delete_watch.js +0 -78
- package/api/api/watcher.execute_watch.js +0 -77
- package/api/api/watcher.get_watch.js +0 -78
- package/api/api/watcher.put_watch.js +0 -82
- package/api/api/watcher.start.js +0 -72
- package/api/api/watcher.stats.js +0 -78
- package/api/api/watcher.stop.js +0 -72
- package/api/api/xpack.info.js +0 -73
- package/api/api/xpack.usage.js +0 -72
package/api/requestParams.d.ts
CHANGED
|
@@ -13,6 +13,81 @@ export interface Generic {
|
|
|
13
13
|
source?: string;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
export interface AsyncSearchDelete extends Generic {
|
|
17
|
+
id: string;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export interface AsyncSearchGet extends Generic {
|
|
21
|
+
id: string;
|
|
22
|
+
wait_for_completion_timeout?: string;
|
|
23
|
+
keep_alive?: string;
|
|
24
|
+
typed_keys?: boolean;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export interface AsyncSearchSubmit<T = RequestBody> extends Generic {
|
|
28
|
+
index?: string | string[];
|
|
29
|
+
_source_exclude?: string | string[];
|
|
30
|
+
_source_include?: string | string[];
|
|
31
|
+
wait_for_completion_timeout?: string;
|
|
32
|
+
keep_on_completion?: boolean;
|
|
33
|
+
keep_alive?: string;
|
|
34
|
+
batched_reduce_size?: number;
|
|
35
|
+
request_cache?: boolean;
|
|
36
|
+
analyzer?: string;
|
|
37
|
+
analyze_wildcard?: boolean;
|
|
38
|
+
default_operator?: 'AND' | 'OR';
|
|
39
|
+
df?: string;
|
|
40
|
+
explain?: boolean;
|
|
41
|
+
stored_fields?: string | string[];
|
|
42
|
+
docvalue_fields?: string | string[];
|
|
43
|
+
from?: number;
|
|
44
|
+
ignore_unavailable?: boolean;
|
|
45
|
+
ignore_throttled?: boolean;
|
|
46
|
+
allow_no_indices?: boolean;
|
|
47
|
+
expand_wildcards?: 'open' | 'closed' | 'hidden' | 'none' | 'all';
|
|
48
|
+
lenient?: boolean;
|
|
49
|
+
preference?: string;
|
|
50
|
+
q?: string;
|
|
51
|
+
routing?: string | string[];
|
|
52
|
+
search_type?: 'query_then_fetch' | 'dfs_query_then_fetch';
|
|
53
|
+
size?: number;
|
|
54
|
+
sort?: string | string[];
|
|
55
|
+
_source?: string | string[];
|
|
56
|
+
_source_excludes?: string | string[];
|
|
57
|
+
_source_includes?: string | string[];
|
|
58
|
+
terminate_after?: number;
|
|
59
|
+
stats?: string | string[];
|
|
60
|
+
suggest_field?: string;
|
|
61
|
+
suggest_mode?: 'missing' | 'popular' | 'always';
|
|
62
|
+
suggest_size?: number;
|
|
63
|
+
suggest_text?: string;
|
|
64
|
+
timeout?: string;
|
|
65
|
+
track_scores?: boolean;
|
|
66
|
+
track_total_hits?: boolean;
|
|
67
|
+
allow_partial_search_results?: boolean;
|
|
68
|
+
typed_keys?: boolean;
|
|
69
|
+
version?: boolean;
|
|
70
|
+
seq_no_primary_term?: boolean;
|
|
71
|
+
max_concurrent_shard_requests?: number;
|
|
72
|
+
body?: T;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export interface AutoscalingDeleteAutoscalingPolicy extends Generic {
|
|
76
|
+
name: string;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export interface AutoscalingGetAutoscalingDecision extends Generic {
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export interface AutoscalingGetAutoscalingPolicy extends Generic {
|
|
83
|
+
name: string;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export interface AutoscalingPutAutoscalingPolicy<T = RequestBody> extends Generic {
|
|
87
|
+
name: string;
|
|
88
|
+
body: T;
|
|
89
|
+
}
|
|
90
|
+
|
|
16
91
|
export interface Bulk<T = RequestNDBody> extends Generic {
|
|
17
92
|
index?: string;
|
|
18
93
|
type?: string;
|
|
@@ -113,6 +188,55 @@ export interface CatMaster extends Generic {
|
|
|
113
188
|
v?: boolean;
|
|
114
189
|
}
|
|
115
190
|
|
|
191
|
+
export interface CatMlDataFrameAnalytics extends Generic {
|
|
192
|
+
id?: string;
|
|
193
|
+
allow_no_match?: boolean;
|
|
194
|
+
bytes?: 'b' | 'k' | 'kb' | 'm' | 'mb' | 'g' | 'gb' | 't' | 'tb' | 'p' | 'pb';
|
|
195
|
+
format?: string;
|
|
196
|
+
h?: string | string[];
|
|
197
|
+
help?: boolean;
|
|
198
|
+
s?: string | string[];
|
|
199
|
+
time?: 'd' | 'h' | 'm' | 's' | 'ms' | 'micros' | 'nanos';
|
|
200
|
+
v?: boolean;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
export interface CatMlDatafeeds extends Generic {
|
|
204
|
+
datafeed_id?: string;
|
|
205
|
+
allow_no_datafeeds?: boolean;
|
|
206
|
+
format?: string;
|
|
207
|
+
h?: string | string[];
|
|
208
|
+
help?: boolean;
|
|
209
|
+
s?: string | string[];
|
|
210
|
+
time?: 'd' | 'h' | 'm' | 's' | 'ms' | 'micros' | 'nanos';
|
|
211
|
+
v?: boolean;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
export interface CatMlJobs extends Generic {
|
|
215
|
+
job_id?: string;
|
|
216
|
+
allow_no_jobs?: boolean;
|
|
217
|
+
bytes?: 'b' | 'k' | 'kb' | 'm' | 'mb' | 'g' | 'gb' | 't' | 'tb' | 'p' | 'pb';
|
|
218
|
+
format?: string;
|
|
219
|
+
h?: string | string[];
|
|
220
|
+
help?: boolean;
|
|
221
|
+
s?: string | string[];
|
|
222
|
+
time?: 'd' | 'h' | 'm' | 's' | 'ms' | 'micros' | 'nanos';
|
|
223
|
+
v?: boolean;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
export interface CatMlTrainedModels extends Generic {
|
|
227
|
+
model_id?: string;
|
|
228
|
+
allow_no_match?: boolean;
|
|
229
|
+
from?: number;
|
|
230
|
+
size?: number;
|
|
231
|
+
bytes?: 'b' | 'k' | 'kb' | 'm' | 'mb' | 'g' | 'gb' | 't' | 'tb' | 'p' | 'pb';
|
|
232
|
+
format?: string;
|
|
233
|
+
h?: string | string[];
|
|
234
|
+
help?: boolean;
|
|
235
|
+
s?: string | string[];
|
|
236
|
+
time?: 'd' | 'h' | 'm' | 's' | 'ms' | 'micros' | 'nanos';
|
|
237
|
+
v?: boolean;
|
|
238
|
+
}
|
|
239
|
+
|
|
116
240
|
export interface CatNodeattrs extends Generic {
|
|
117
241
|
format?: string;
|
|
118
242
|
local?: boolean;
|
|
@@ -251,6 +375,75 @@ export interface CatThreadPool extends Generic {
|
|
|
251
375
|
v?: boolean;
|
|
252
376
|
}
|
|
253
377
|
|
|
378
|
+
export interface CatTransforms extends Generic {
|
|
379
|
+
transform_id?: string;
|
|
380
|
+
from?: number;
|
|
381
|
+
size?: number;
|
|
382
|
+
allow_no_match?: boolean;
|
|
383
|
+
format?: string;
|
|
384
|
+
h?: string | string[];
|
|
385
|
+
help?: boolean;
|
|
386
|
+
s?: string | string[];
|
|
387
|
+
time?: 'd' | 'h' | 'm' | 's' | 'ms' | 'micros' | 'nanos';
|
|
388
|
+
v?: boolean;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
export interface CcrDeleteAutoFollowPattern extends Generic {
|
|
392
|
+
name: string;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
export interface CcrFollow<T = RequestBody> extends Generic {
|
|
396
|
+
index: string;
|
|
397
|
+
wait_for_active_shards?: string;
|
|
398
|
+
body: T;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
export interface CcrFollowInfo extends Generic {
|
|
402
|
+
index: string | string[];
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
export interface CcrFollowStats extends Generic {
|
|
406
|
+
index: string | string[];
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
export interface CcrForgetFollower<T = RequestBody> extends Generic {
|
|
410
|
+
index: string;
|
|
411
|
+
body: T;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
export interface CcrGetAutoFollowPattern extends Generic {
|
|
415
|
+
name?: string;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
export interface CcrPauseAutoFollowPattern extends Generic {
|
|
419
|
+
name: string;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
export interface CcrPauseFollow extends Generic {
|
|
423
|
+
index: string;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
export interface CcrPutAutoFollowPattern<T = RequestBody> extends Generic {
|
|
427
|
+
name: string;
|
|
428
|
+
body: T;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
export interface CcrResumeAutoFollowPattern extends Generic {
|
|
432
|
+
name: string;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
export interface CcrResumeFollow<T = RequestBody> extends Generic {
|
|
436
|
+
index: string;
|
|
437
|
+
body?: T;
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
export interface CcrStats extends Generic {
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
export interface CcrUnfollow extends Generic {
|
|
444
|
+
index: string;
|
|
445
|
+
}
|
|
446
|
+
|
|
254
447
|
export interface ClearScroll<T = RequestBody> extends Generic {
|
|
255
448
|
scroll_id?: string | string[];
|
|
256
449
|
body?: T;
|
|
@@ -346,8 +539,8 @@ export interface ClusterReroute<T = RequestBody> extends Generic {
|
|
|
346
539
|
}
|
|
347
540
|
|
|
348
541
|
export interface ClusterState extends Generic {
|
|
349
|
-
index?: string | string[];
|
|
350
542
|
metric?: string | string[];
|
|
543
|
+
index?: string | string[];
|
|
351
544
|
local?: boolean;
|
|
352
545
|
master_timeout?: string;
|
|
353
546
|
flat_settings?: boolean;
|
|
@@ -481,6 +674,45 @@ export interface DeleteScript extends Generic {
|
|
|
481
674
|
master_timeout?: string;
|
|
482
675
|
}
|
|
483
676
|
|
|
677
|
+
export interface EnrichDeletePolicy extends Generic {
|
|
678
|
+
name: string;
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
export interface EnrichExecutePolicy extends Generic {
|
|
682
|
+
name: string;
|
|
683
|
+
wait_for_completion?: boolean;
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
export interface EnrichGetPolicy extends Generic {
|
|
687
|
+
name?: string | string[];
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
export interface EnrichPutPolicy<T = RequestBody> extends Generic {
|
|
691
|
+
name: string;
|
|
692
|
+
body: T;
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
export interface EnrichStats extends Generic {
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
export interface EqlDelete extends Generic {
|
|
699
|
+
id: string;
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
export interface EqlGet extends Generic {
|
|
703
|
+
id: string;
|
|
704
|
+
wait_for_completion_timeout?: string;
|
|
705
|
+
keep_alive?: string;
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
export interface EqlSearch<T = RequestBody> extends Generic {
|
|
709
|
+
index: string;
|
|
710
|
+
wait_for_completion_timeout?: string;
|
|
711
|
+
keep_on_completion?: boolean;
|
|
712
|
+
keep_alive?: string;
|
|
713
|
+
body: T;
|
|
714
|
+
}
|
|
715
|
+
|
|
484
716
|
export interface Exists extends Generic {
|
|
485
717
|
id: string;
|
|
486
718
|
index: string;
|
|
@@ -593,28 +825,77 @@ export interface GetSource extends Generic {
|
|
|
593
825
|
version_type?: 'internal' | 'external' | 'external_gte' | 'force';
|
|
594
826
|
}
|
|
595
827
|
|
|
596
|
-
export interface
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
type?: string;
|
|
600
|
-
wait_for_active_shards?: string;
|
|
601
|
-
op_type?: 'index' | 'create';
|
|
602
|
-
refresh?: 'wait_for' | boolean;
|
|
828
|
+
export interface GraphExplore<T = RequestBody> extends Generic {
|
|
829
|
+
index: string | string[];
|
|
830
|
+
type?: string | string[];
|
|
603
831
|
routing?: string;
|
|
604
832
|
timeout?: string;
|
|
605
|
-
|
|
606
|
-
version_type?: 'internal' | 'external' | 'external_gte';
|
|
607
|
-
if_seq_no?: number;
|
|
608
|
-
if_primary_term?: number;
|
|
609
|
-
pipeline?: string;
|
|
610
|
-
body: T;
|
|
833
|
+
body?: T;
|
|
611
834
|
}
|
|
612
835
|
|
|
613
|
-
export interface
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
836
|
+
export interface IlmDeleteLifecycle extends Generic {
|
|
837
|
+
policy: string;
|
|
838
|
+
}
|
|
839
|
+
|
|
840
|
+
export interface IlmExplainLifecycle extends Generic {
|
|
841
|
+
index: string;
|
|
842
|
+
only_managed?: boolean;
|
|
843
|
+
only_errors?: boolean;
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
export interface IlmGetLifecycle extends Generic {
|
|
847
|
+
policy?: string;
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
export interface IlmGetStatus extends Generic {
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
export interface IlmMoveToStep<T = RequestBody> extends Generic {
|
|
854
|
+
index: string;
|
|
855
|
+
body?: T;
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
export interface IlmPutLifecycle<T = RequestBody> extends Generic {
|
|
859
|
+
policy: string;
|
|
860
|
+
body?: T;
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
export interface IlmRemovePolicy extends Generic {
|
|
864
|
+
index: string;
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
export interface IlmRetry extends Generic {
|
|
868
|
+
index: string;
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
export interface IlmStart extends Generic {
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
export interface IlmStop extends Generic {
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
export interface Index<T = RequestBody> extends Generic {
|
|
878
|
+
id?: string;
|
|
879
|
+
index: string;
|
|
880
|
+
type?: string;
|
|
881
|
+
wait_for_active_shards?: string;
|
|
882
|
+
op_type?: 'index' | 'create';
|
|
883
|
+
refresh?: 'wait_for' | boolean;
|
|
884
|
+
routing?: string;
|
|
885
|
+
timeout?: string;
|
|
886
|
+
version?: number;
|
|
887
|
+
version_type?: 'internal' | 'external' | 'external_gte';
|
|
888
|
+
if_seq_no?: number;
|
|
889
|
+
if_primary_term?: number;
|
|
890
|
+
pipeline?: string;
|
|
891
|
+
body: T;
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
export interface IndicesAddBlock extends Generic {
|
|
895
|
+
index: string | string[];
|
|
896
|
+
block: string;
|
|
897
|
+
timeout?: string;
|
|
898
|
+
master_timeout?: string;
|
|
618
899
|
ignore_unavailable?: boolean;
|
|
619
900
|
allow_no_indices?: boolean;
|
|
620
901
|
expand_wildcards?: 'open' | 'closed' | 'hidden' | 'none' | 'all';
|
|
@@ -664,6 +945,14 @@ export interface IndicesCreate<T = RequestBody> extends Generic {
|
|
|
664
945
|
body?: T;
|
|
665
946
|
}
|
|
666
947
|
|
|
948
|
+
export interface IndicesCreateDataStream extends Generic {
|
|
949
|
+
name: string;
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
export interface IndicesDataStreamsStats extends Generic {
|
|
953
|
+
name?: string | string[];
|
|
954
|
+
}
|
|
955
|
+
|
|
667
956
|
export interface IndicesDelete extends Generic {
|
|
668
957
|
index: string | string[];
|
|
669
958
|
timeout?: string;
|
|
@@ -680,6 +969,10 @@ export interface IndicesDeleteAlias extends Generic {
|
|
|
680
969
|
master_timeout?: string;
|
|
681
970
|
}
|
|
682
971
|
|
|
972
|
+
export interface IndicesDeleteDataStream extends Generic {
|
|
973
|
+
name: string | string[];
|
|
974
|
+
}
|
|
975
|
+
|
|
683
976
|
export interface IndicesDeleteIndexTemplate extends Generic {
|
|
684
977
|
name: string;
|
|
685
978
|
timeout?: string;
|
|
@@ -760,6 +1053,16 @@ export interface IndicesForcemerge extends Generic {
|
|
|
760
1053
|
only_expunge_deletes?: boolean;
|
|
761
1054
|
}
|
|
762
1055
|
|
|
1056
|
+
export interface IndicesFreeze extends Generic {
|
|
1057
|
+
index: string;
|
|
1058
|
+
timeout?: string;
|
|
1059
|
+
master_timeout?: string;
|
|
1060
|
+
ignore_unavailable?: boolean;
|
|
1061
|
+
allow_no_indices?: boolean;
|
|
1062
|
+
expand_wildcards?: 'open' | 'closed' | 'hidden' | 'none' | 'all';
|
|
1063
|
+
wait_for_active_shards?: string;
|
|
1064
|
+
}
|
|
1065
|
+
|
|
763
1066
|
export interface IndicesGet extends Generic {
|
|
764
1067
|
index: string | string[];
|
|
765
1068
|
include_type_name?: boolean;
|
|
@@ -781,6 +1084,10 @@ export interface IndicesGetAlias extends Generic {
|
|
|
781
1084
|
local?: boolean;
|
|
782
1085
|
}
|
|
783
1086
|
|
|
1087
|
+
export interface IndicesGetDataStream extends Generic {
|
|
1088
|
+
name?: string | string[];
|
|
1089
|
+
}
|
|
1090
|
+
|
|
784
1091
|
export interface IndicesGetFieldMapping extends Generic {
|
|
785
1092
|
fields: string | string[];
|
|
786
1093
|
index?: string | string[];
|
|
@@ -911,6 +1218,13 @@ export interface IndicesRefresh extends Generic {
|
|
|
911
1218
|
expand_wildcards?: 'open' | 'closed' | 'hidden' | 'none' | 'all';
|
|
912
1219
|
}
|
|
913
1220
|
|
|
1221
|
+
export interface IndicesReloadSearchAnalyzers extends Generic {
|
|
1222
|
+
index: string | string[];
|
|
1223
|
+
ignore_unavailable?: boolean;
|
|
1224
|
+
allow_no_indices?: boolean;
|
|
1225
|
+
expand_wildcards?: 'open' | 'closed' | 'hidden' | 'none' | 'all';
|
|
1226
|
+
}
|
|
1227
|
+
|
|
914
1228
|
export interface IndicesResolveIndex extends Generic {
|
|
915
1229
|
name: string | string[];
|
|
916
1230
|
expand_wildcards?: 'open' | 'closed' | 'hidden' | 'none' | 'all';
|
|
@@ -994,6 +1308,16 @@ export interface IndicesStats extends Generic {
|
|
|
994
1308
|
forbid_closed_indices?: boolean;
|
|
995
1309
|
}
|
|
996
1310
|
|
|
1311
|
+
export interface IndicesUnfreeze extends Generic {
|
|
1312
|
+
index: string;
|
|
1313
|
+
timeout?: string;
|
|
1314
|
+
master_timeout?: string;
|
|
1315
|
+
ignore_unavailable?: boolean;
|
|
1316
|
+
allow_no_indices?: boolean;
|
|
1317
|
+
expand_wildcards?: 'open' | 'closed' | 'hidden' | 'none' | 'all';
|
|
1318
|
+
wait_for_active_shards?: string;
|
|
1319
|
+
}
|
|
1320
|
+
|
|
997
1321
|
export interface IndicesUpdateAliases<T = RequestBody> extends Generic {
|
|
998
1322
|
timeout?: string;
|
|
999
1323
|
master_timeout?: string;
|
|
@@ -1057,6 +1381,34 @@ export interface IngestSimulate<T = RequestBody> extends Generic {
|
|
|
1057
1381
|
body: T;
|
|
1058
1382
|
}
|
|
1059
1383
|
|
|
1384
|
+
export interface LicenseDelete extends Generic {
|
|
1385
|
+
}
|
|
1386
|
+
|
|
1387
|
+
export interface LicenseGet extends Generic {
|
|
1388
|
+
local?: boolean;
|
|
1389
|
+
accept_enterprise?: boolean;
|
|
1390
|
+
}
|
|
1391
|
+
|
|
1392
|
+
export interface LicenseGetBasicStatus extends Generic {
|
|
1393
|
+
}
|
|
1394
|
+
|
|
1395
|
+
export interface LicenseGetTrialStatus extends Generic {
|
|
1396
|
+
}
|
|
1397
|
+
|
|
1398
|
+
export interface LicensePost<T = RequestBody> extends Generic {
|
|
1399
|
+
acknowledge?: boolean;
|
|
1400
|
+
body?: T;
|
|
1401
|
+
}
|
|
1402
|
+
|
|
1403
|
+
export interface LicensePostStartBasic extends Generic {
|
|
1404
|
+
acknowledge?: boolean;
|
|
1405
|
+
}
|
|
1406
|
+
|
|
1407
|
+
export interface LicensePostStartTrial extends Generic {
|
|
1408
|
+
type?: string;
|
|
1409
|
+
acknowledge?: boolean;
|
|
1410
|
+
}
|
|
1411
|
+
|
|
1060
1412
|
export interface Mget<T = RequestBody> extends Generic {
|
|
1061
1413
|
index?: string;
|
|
1062
1414
|
type?: string;
|
|
@@ -1073,806 +1425,58 @@ export interface Mget<T = RequestBody> extends Generic {
|
|
|
1073
1425
|
body: T;
|
|
1074
1426
|
}
|
|
1075
1427
|
|
|
1076
|
-
export interface
|
|
1077
|
-
index?: string | string[];
|
|
1078
|
-
type?: string | string[];
|
|
1079
|
-
search_type?: 'query_then_fetch' | 'query_and_fetch' | 'dfs_query_then_fetch' | 'dfs_query_and_fetch';
|
|
1080
|
-
max_concurrent_searches?: number;
|
|
1081
|
-
typed_keys?: boolean;
|
|
1082
|
-
pre_filter_shard_size?: number;
|
|
1083
|
-
max_concurrent_shard_requests?: number;
|
|
1084
|
-
rest_total_hits_as_int?: boolean;
|
|
1085
|
-
ccs_minimize_roundtrips?: boolean;
|
|
1086
|
-
body: T;
|
|
1087
|
-
}
|
|
1088
|
-
|
|
1089
|
-
export interface MsearchTemplate<T = RequestNDBody> extends Generic {
|
|
1090
|
-
index?: string | string[];
|
|
1091
|
-
type?: string | string[];
|
|
1092
|
-
search_type?: 'query_then_fetch' | 'query_and_fetch' | 'dfs_query_then_fetch' | 'dfs_query_and_fetch';
|
|
1093
|
-
typed_keys?: boolean;
|
|
1094
|
-
max_concurrent_searches?: number;
|
|
1095
|
-
rest_total_hits_as_int?: boolean;
|
|
1096
|
-
ccs_minimize_roundtrips?: boolean;
|
|
1097
|
-
body: T;
|
|
1098
|
-
}
|
|
1099
|
-
|
|
1100
|
-
export interface Mtermvectors<T = RequestBody> extends Generic {
|
|
1428
|
+
export interface MigrationDeprecations extends Generic {
|
|
1101
1429
|
index?: string;
|
|
1102
|
-
type?: string;
|
|
1103
|
-
ids?: string | string[];
|
|
1104
|
-
term_statistics?: boolean;
|
|
1105
|
-
field_statistics?: boolean;
|
|
1106
|
-
fields?: string | string[];
|
|
1107
|
-
offsets?: boolean;
|
|
1108
|
-
positions?: boolean;
|
|
1109
|
-
payloads?: boolean;
|
|
1110
|
-
preference?: string;
|
|
1111
|
-
routing?: string;
|
|
1112
|
-
realtime?: boolean;
|
|
1113
|
-
version?: number;
|
|
1114
|
-
version_type?: 'internal' | 'external' | 'external_gte' | 'force';
|
|
1115
|
-
body?: T;
|
|
1116
1430
|
}
|
|
1117
1431
|
|
|
1118
|
-
export interface
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
threads?: number;
|
|
1123
|
-
ignore_idle_threads?: boolean;
|
|
1124
|
-
type?: 'cpu' | 'wait' | 'block';
|
|
1432
|
+
export interface MlCloseJob<T = RequestBody> extends Generic {
|
|
1433
|
+
job_id: string;
|
|
1434
|
+
allow_no_jobs?: boolean;
|
|
1435
|
+
force?: boolean;
|
|
1125
1436
|
timeout?: string;
|
|
1437
|
+
body?: T;
|
|
1126
1438
|
}
|
|
1127
1439
|
|
|
1128
|
-
export interface
|
|
1129
|
-
|
|
1130
|
-
metric?: string | string[];
|
|
1131
|
-
flat_settings?: boolean;
|
|
1132
|
-
timeout?: string;
|
|
1440
|
+
export interface MlDeleteCalendar extends Generic {
|
|
1441
|
+
calendar_id: string;
|
|
1133
1442
|
}
|
|
1134
1443
|
|
|
1135
|
-
export interface
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
body?: T;
|
|
1444
|
+
export interface MlDeleteCalendarEvent extends Generic {
|
|
1445
|
+
calendar_id: string;
|
|
1446
|
+
event_id: string;
|
|
1139
1447
|
}
|
|
1140
1448
|
|
|
1141
|
-
export interface
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
index_metric?: string | string[];
|
|
1145
|
-
completion_fields?: string | string[];
|
|
1146
|
-
fielddata_fields?: string | string[];
|
|
1147
|
-
fields?: string | string[];
|
|
1148
|
-
groups?: boolean;
|
|
1149
|
-
level?: 'indices' | 'node' | 'shards';
|
|
1150
|
-
types?: string | string[];
|
|
1151
|
-
timeout?: string;
|
|
1152
|
-
include_segment_file_sizes?: boolean;
|
|
1449
|
+
export interface MlDeleteCalendarJob extends Generic {
|
|
1450
|
+
calendar_id: string;
|
|
1451
|
+
job_id: string;
|
|
1153
1452
|
}
|
|
1154
1453
|
|
|
1155
|
-
export interface
|
|
1156
|
-
|
|
1157
|
-
|
|
1454
|
+
export interface MlDeleteDataFrameAnalytics extends Generic {
|
|
1455
|
+
id: string;
|
|
1456
|
+
force?: boolean;
|
|
1158
1457
|
timeout?: string;
|
|
1159
1458
|
}
|
|
1160
1459
|
|
|
1161
|
-
export interface
|
|
1460
|
+
export interface MlDeleteDatafeed extends Generic {
|
|
1461
|
+
datafeed_id: string;
|
|
1462
|
+
force?: boolean;
|
|
1162
1463
|
}
|
|
1163
1464
|
|
|
1164
|
-
export interface
|
|
1165
|
-
|
|
1166
|
-
|
|
1465
|
+
export interface MlDeleteExpiredData<T = RequestBody> extends Generic {
|
|
1466
|
+
job_id?: string;
|
|
1467
|
+
requests_per_second?: number;
|
|
1167
1468
|
timeout?: string;
|
|
1168
|
-
|
|
1169
|
-
body: T;
|
|
1469
|
+
body?: T;
|
|
1170
1470
|
}
|
|
1171
1471
|
|
|
1172
|
-
export interface
|
|
1173
|
-
|
|
1174
|
-
ignore_unavailable?: boolean;
|
|
1175
|
-
allow_no_indices?: boolean;
|
|
1176
|
-
expand_wildcards?: 'open' | 'closed' | 'hidden' | 'none' | 'all';
|
|
1177
|
-
search_type?: 'query_then_fetch' | 'dfs_query_then_fetch';
|
|
1178
|
-
body: T;
|
|
1472
|
+
export interface MlDeleteFilter extends Generic {
|
|
1473
|
+
filter_id: string;
|
|
1179
1474
|
}
|
|
1180
1475
|
|
|
1181
|
-
export interface
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
wait_for_completion?: boolean;
|
|
1186
|
-
requests_per_second?: number;
|
|
1187
|
-
scroll?: string;
|
|
1188
|
-
slices?: number|string;
|
|
1189
|
-
max_docs?: number;
|
|
1190
|
-
body: T;
|
|
1191
|
-
}
|
|
1192
|
-
|
|
1193
|
-
export interface ReindexRethrottle extends Generic {
|
|
1194
|
-
task_id: string;
|
|
1195
|
-
requests_per_second: number;
|
|
1196
|
-
}
|
|
1197
|
-
|
|
1198
|
-
export interface RenderSearchTemplate<T = RequestBody> extends Generic {
|
|
1199
|
-
id?: string;
|
|
1200
|
-
body?: T;
|
|
1201
|
-
}
|
|
1202
|
-
|
|
1203
|
-
export interface ScriptsPainlessExecute<T = RequestBody> extends Generic {
|
|
1204
|
-
body?: T;
|
|
1205
|
-
}
|
|
1206
|
-
|
|
1207
|
-
export interface Scroll<T = RequestBody> extends Generic {
|
|
1208
|
-
scroll_id?: string;
|
|
1209
|
-
scroll?: string;
|
|
1210
|
-
rest_total_hits_as_int?: boolean;
|
|
1211
|
-
body?: T;
|
|
1212
|
-
}
|
|
1213
|
-
|
|
1214
|
-
export interface Search<T = RequestBody> extends Generic {
|
|
1215
|
-
index?: string | string[];
|
|
1216
|
-
type?: string | string[];
|
|
1217
|
-
_source_exclude?: string | string[];
|
|
1218
|
-
_source_include?: string | string[];
|
|
1219
|
-
analyzer?: string;
|
|
1220
|
-
analyze_wildcard?: boolean;
|
|
1221
|
-
ccs_minimize_roundtrips?: boolean;
|
|
1222
|
-
default_operator?: 'AND' | 'OR';
|
|
1223
|
-
df?: string;
|
|
1224
|
-
explain?: boolean;
|
|
1225
|
-
stored_fields?: string | string[];
|
|
1226
|
-
docvalue_fields?: string | string[];
|
|
1227
|
-
from?: number;
|
|
1228
|
-
ignore_unavailable?: boolean;
|
|
1229
|
-
ignore_throttled?: boolean;
|
|
1230
|
-
allow_no_indices?: boolean;
|
|
1231
|
-
expand_wildcards?: 'open' | 'closed' | 'hidden' | 'none' | 'all';
|
|
1232
|
-
lenient?: boolean;
|
|
1233
|
-
preference?: string;
|
|
1234
|
-
q?: string;
|
|
1235
|
-
routing?: string | string[];
|
|
1236
|
-
scroll?: string;
|
|
1237
|
-
search_type?: 'query_then_fetch' | 'dfs_query_then_fetch';
|
|
1238
|
-
size?: number;
|
|
1239
|
-
sort?: string | string[];
|
|
1240
|
-
_source?: string | string[];
|
|
1241
|
-
_source_excludes?: string | string[];
|
|
1242
|
-
_source_includes?: string | string[];
|
|
1243
|
-
terminate_after?: number;
|
|
1244
|
-
stats?: string | string[];
|
|
1245
|
-
suggest_field?: string;
|
|
1246
|
-
suggest_mode?: 'missing' | 'popular' | 'always';
|
|
1247
|
-
suggest_size?: number;
|
|
1248
|
-
suggest_text?: string;
|
|
1249
|
-
timeout?: string;
|
|
1250
|
-
track_scores?: boolean;
|
|
1251
|
-
track_total_hits?: boolean;
|
|
1252
|
-
allow_partial_search_results?: boolean;
|
|
1253
|
-
typed_keys?: boolean;
|
|
1254
|
-
version?: boolean;
|
|
1255
|
-
seq_no_primary_term?: boolean;
|
|
1256
|
-
request_cache?: boolean;
|
|
1257
|
-
batched_reduce_size?: number;
|
|
1258
|
-
max_concurrent_shard_requests?: number;
|
|
1259
|
-
pre_filter_shard_size?: number;
|
|
1260
|
-
rest_total_hits_as_int?: boolean;
|
|
1261
|
-
body?: T;
|
|
1262
|
-
}
|
|
1263
|
-
|
|
1264
|
-
export interface SearchShards extends Generic {
|
|
1265
|
-
index?: string | string[];
|
|
1266
|
-
preference?: string;
|
|
1267
|
-
routing?: string;
|
|
1268
|
-
local?: boolean;
|
|
1269
|
-
ignore_unavailable?: boolean;
|
|
1270
|
-
allow_no_indices?: boolean;
|
|
1271
|
-
expand_wildcards?: 'open' | 'closed' | 'hidden' | 'none' | 'all';
|
|
1272
|
-
}
|
|
1273
|
-
|
|
1274
|
-
export interface SearchTemplate<T = RequestBody> extends Generic {
|
|
1275
|
-
index?: string | string[];
|
|
1276
|
-
type?: string | string[];
|
|
1277
|
-
ignore_unavailable?: boolean;
|
|
1278
|
-
ignore_throttled?: boolean;
|
|
1279
|
-
allow_no_indices?: boolean;
|
|
1280
|
-
expand_wildcards?: 'open' | 'closed' | 'hidden' | 'none' | 'all';
|
|
1281
|
-
preference?: string;
|
|
1282
|
-
routing?: string | string[];
|
|
1283
|
-
scroll?: string;
|
|
1284
|
-
search_type?: 'query_then_fetch' | 'query_and_fetch' | 'dfs_query_then_fetch' | 'dfs_query_and_fetch';
|
|
1285
|
-
explain?: boolean;
|
|
1286
|
-
profile?: boolean;
|
|
1287
|
-
typed_keys?: boolean;
|
|
1288
|
-
rest_total_hits_as_int?: boolean;
|
|
1289
|
-
ccs_minimize_roundtrips?: boolean;
|
|
1290
|
-
body: T;
|
|
1291
|
-
}
|
|
1292
|
-
|
|
1293
|
-
export interface SnapshotCleanupRepository extends Generic {
|
|
1294
|
-
repository: string;
|
|
1295
|
-
master_timeout?: string;
|
|
1296
|
-
timeout?: string;
|
|
1297
|
-
}
|
|
1298
|
-
|
|
1299
|
-
export interface SnapshotCreate<T = RequestBody> extends Generic {
|
|
1300
|
-
repository: string;
|
|
1301
|
-
snapshot: string;
|
|
1302
|
-
master_timeout?: string;
|
|
1303
|
-
wait_for_completion?: boolean;
|
|
1304
|
-
body?: T;
|
|
1305
|
-
}
|
|
1306
|
-
|
|
1307
|
-
export interface SnapshotCreateRepository<T = RequestBody> extends Generic {
|
|
1308
|
-
repository: string;
|
|
1309
|
-
master_timeout?: string;
|
|
1310
|
-
timeout?: string;
|
|
1311
|
-
verify?: boolean;
|
|
1312
|
-
body: T;
|
|
1313
|
-
}
|
|
1314
|
-
|
|
1315
|
-
export interface SnapshotDelete extends Generic {
|
|
1316
|
-
repository: string;
|
|
1317
|
-
snapshot: string;
|
|
1318
|
-
master_timeout?: string;
|
|
1319
|
-
}
|
|
1320
|
-
|
|
1321
|
-
export interface SnapshotDeleteRepository extends Generic {
|
|
1322
|
-
repository: string | string[];
|
|
1323
|
-
master_timeout?: string;
|
|
1324
|
-
timeout?: string;
|
|
1325
|
-
}
|
|
1326
|
-
|
|
1327
|
-
export interface SnapshotGet extends Generic {
|
|
1328
|
-
repository: string;
|
|
1329
|
-
snapshot: string | string[];
|
|
1330
|
-
master_timeout?: string;
|
|
1331
|
-
ignore_unavailable?: boolean;
|
|
1332
|
-
verbose?: boolean;
|
|
1333
|
-
}
|
|
1334
|
-
|
|
1335
|
-
export interface SnapshotGetRepository extends Generic {
|
|
1336
|
-
repository?: string | string[];
|
|
1337
|
-
master_timeout?: string;
|
|
1338
|
-
local?: boolean;
|
|
1339
|
-
}
|
|
1340
|
-
|
|
1341
|
-
export interface SnapshotRestore<T = RequestBody> extends Generic {
|
|
1342
|
-
repository: string;
|
|
1343
|
-
snapshot: string;
|
|
1344
|
-
master_timeout?: string;
|
|
1345
|
-
wait_for_completion?: boolean;
|
|
1346
|
-
body?: T;
|
|
1347
|
-
}
|
|
1348
|
-
|
|
1349
|
-
export interface SnapshotStatus extends Generic {
|
|
1350
|
-
repository?: string;
|
|
1351
|
-
snapshot?: string | string[];
|
|
1352
|
-
master_timeout?: string;
|
|
1353
|
-
ignore_unavailable?: boolean;
|
|
1354
|
-
}
|
|
1355
|
-
|
|
1356
|
-
export interface SnapshotVerifyRepository extends Generic {
|
|
1357
|
-
repository: string;
|
|
1358
|
-
master_timeout?: string;
|
|
1359
|
-
timeout?: string;
|
|
1360
|
-
}
|
|
1361
|
-
|
|
1362
|
-
export interface TasksCancel extends Generic {
|
|
1363
|
-
task_id?: string;
|
|
1364
|
-
nodes?: string | string[];
|
|
1365
|
-
actions?: string | string[];
|
|
1366
|
-
parent_task_id?: string;
|
|
1367
|
-
wait_for_completion?: boolean;
|
|
1368
|
-
}
|
|
1369
|
-
|
|
1370
|
-
export interface TasksGet extends Generic {
|
|
1371
|
-
task_id: string;
|
|
1372
|
-
wait_for_completion?: boolean;
|
|
1373
|
-
timeout?: string;
|
|
1374
|
-
}
|
|
1375
|
-
|
|
1376
|
-
export interface TasksList extends Generic {
|
|
1377
|
-
nodes?: string | string[];
|
|
1378
|
-
actions?: string | string[];
|
|
1379
|
-
detailed?: boolean;
|
|
1380
|
-
parent_task_id?: string;
|
|
1381
|
-
wait_for_completion?: boolean;
|
|
1382
|
-
group_by?: 'nodes' | 'parents' | 'none';
|
|
1383
|
-
timeout?: string;
|
|
1384
|
-
}
|
|
1385
|
-
|
|
1386
|
-
export interface Termvectors<T = RequestBody> extends Generic {
|
|
1387
|
-
index: string;
|
|
1388
|
-
id?: string;
|
|
1389
|
-
type?: string;
|
|
1390
|
-
term_statistics?: boolean;
|
|
1391
|
-
field_statistics?: boolean;
|
|
1392
|
-
fields?: string | string[];
|
|
1393
|
-
offsets?: boolean;
|
|
1394
|
-
positions?: boolean;
|
|
1395
|
-
payloads?: boolean;
|
|
1396
|
-
preference?: string;
|
|
1397
|
-
routing?: string;
|
|
1398
|
-
realtime?: boolean;
|
|
1399
|
-
version?: number;
|
|
1400
|
-
version_type?: 'internal' | 'external' | 'external_gte' | 'force';
|
|
1401
|
-
body?: T;
|
|
1402
|
-
}
|
|
1403
|
-
|
|
1404
|
-
export interface Update<T = RequestBody> extends Generic {
|
|
1405
|
-
id: string;
|
|
1406
|
-
index: string;
|
|
1407
|
-
type?: string;
|
|
1408
|
-
_source_exclude?: string | string[];
|
|
1409
|
-
_source_include?: string | string[];
|
|
1410
|
-
wait_for_active_shards?: string;
|
|
1411
|
-
_source?: string | string[];
|
|
1412
|
-
_source_excludes?: string | string[];
|
|
1413
|
-
_source_includes?: string | string[];
|
|
1414
|
-
lang?: string;
|
|
1415
|
-
refresh?: 'wait_for' | boolean;
|
|
1416
|
-
retry_on_conflict?: number;
|
|
1417
|
-
routing?: string;
|
|
1418
|
-
timeout?: string;
|
|
1419
|
-
if_seq_no?: number;
|
|
1420
|
-
if_primary_term?: number;
|
|
1421
|
-
body: T;
|
|
1422
|
-
}
|
|
1423
|
-
|
|
1424
|
-
export interface UpdateByQuery<T = RequestBody> extends Generic {
|
|
1425
|
-
index: string | string[];
|
|
1426
|
-
type?: string | string[];
|
|
1427
|
-
_source_exclude?: string | string[];
|
|
1428
|
-
_source_include?: string | string[];
|
|
1429
|
-
analyzer?: string;
|
|
1430
|
-
analyze_wildcard?: boolean;
|
|
1431
|
-
default_operator?: 'AND' | 'OR';
|
|
1432
|
-
df?: string;
|
|
1433
|
-
from?: number;
|
|
1434
|
-
ignore_unavailable?: boolean;
|
|
1435
|
-
allow_no_indices?: boolean;
|
|
1436
|
-
conflicts?: 'abort' | 'proceed';
|
|
1437
|
-
expand_wildcards?: 'open' | 'closed' | 'hidden' | 'none' | 'all';
|
|
1438
|
-
lenient?: boolean;
|
|
1439
|
-
pipeline?: string;
|
|
1440
|
-
preference?: string;
|
|
1441
|
-
q?: string;
|
|
1442
|
-
routing?: string | string[];
|
|
1443
|
-
scroll?: string;
|
|
1444
|
-
search_type?: 'query_then_fetch' | 'dfs_query_then_fetch';
|
|
1445
|
-
search_timeout?: string;
|
|
1446
|
-
size?: number;
|
|
1447
|
-
max_docs?: number;
|
|
1448
|
-
sort?: string | string[];
|
|
1449
|
-
_source?: string | string[];
|
|
1450
|
-
_source_excludes?: string | string[];
|
|
1451
|
-
_source_includes?: string | string[];
|
|
1452
|
-
terminate_after?: number;
|
|
1453
|
-
stats?: string | string[];
|
|
1454
|
-
version?: boolean;
|
|
1455
|
-
version_type?: boolean;
|
|
1456
|
-
request_cache?: boolean;
|
|
1457
|
-
refresh?: boolean;
|
|
1458
|
-
timeout?: string;
|
|
1459
|
-
wait_for_active_shards?: string;
|
|
1460
|
-
scroll_size?: number;
|
|
1461
|
-
wait_for_completion?: boolean;
|
|
1462
|
-
requests_per_second?: number;
|
|
1463
|
-
slices?: number|string;
|
|
1464
|
-
body?: T;
|
|
1465
|
-
}
|
|
1466
|
-
|
|
1467
|
-
export interface UpdateByQueryRethrottle extends Generic {
|
|
1468
|
-
task_id: string;
|
|
1469
|
-
requests_per_second: number;
|
|
1470
|
-
}
|
|
1471
|
-
|
|
1472
|
-
export interface AsyncSearchDelete extends Generic {
|
|
1473
|
-
id: string;
|
|
1474
|
-
}
|
|
1475
|
-
|
|
1476
|
-
export interface AsyncSearchGet extends Generic {
|
|
1477
|
-
id: string;
|
|
1478
|
-
wait_for_completion_timeout?: string;
|
|
1479
|
-
keep_alive?: string;
|
|
1480
|
-
typed_keys?: boolean;
|
|
1481
|
-
}
|
|
1482
|
-
|
|
1483
|
-
export interface AsyncSearchSubmit<T = RequestBody> extends Generic {
|
|
1484
|
-
index?: string | string[];
|
|
1485
|
-
_source_exclude?: string | string[];
|
|
1486
|
-
_source_include?: string | string[];
|
|
1487
|
-
wait_for_completion_timeout?: string;
|
|
1488
|
-
keep_on_completion?: boolean;
|
|
1489
|
-
keep_alive?: string;
|
|
1490
|
-
batched_reduce_size?: number;
|
|
1491
|
-
request_cache?: boolean;
|
|
1492
|
-
analyzer?: string;
|
|
1493
|
-
analyze_wildcard?: boolean;
|
|
1494
|
-
default_operator?: 'AND' | 'OR';
|
|
1495
|
-
df?: string;
|
|
1496
|
-
explain?: boolean;
|
|
1497
|
-
stored_fields?: string | string[];
|
|
1498
|
-
docvalue_fields?: string | string[];
|
|
1499
|
-
from?: number;
|
|
1500
|
-
ignore_unavailable?: boolean;
|
|
1501
|
-
ignore_throttled?: boolean;
|
|
1502
|
-
allow_no_indices?: boolean;
|
|
1503
|
-
expand_wildcards?: 'open' | 'closed' | 'hidden' | 'none' | 'all';
|
|
1504
|
-
lenient?: boolean;
|
|
1505
|
-
preference?: string;
|
|
1506
|
-
q?: string;
|
|
1507
|
-
routing?: string | string[];
|
|
1508
|
-
search_type?: 'query_then_fetch' | 'dfs_query_then_fetch';
|
|
1509
|
-
size?: number;
|
|
1510
|
-
sort?: string | string[];
|
|
1511
|
-
_source?: string | string[];
|
|
1512
|
-
_source_excludes?: string | string[];
|
|
1513
|
-
_source_includes?: string | string[];
|
|
1514
|
-
terminate_after?: number;
|
|
1515
|
-
stats?: string | string[];
|
|
1516
|
-
suggest_field?: string;
|
|
1517
|
-
suggest_mode?: 'missing' | 'popular' | 'always';
|
|
1518
|
-
suggest_size?: number;
|
|
1519
|
-
suggest_text?: string;
|
|
1520
|
-
timeout?: string;
|
|
1521
|
-
track_scores?: boolean;
|
|
1522
|
-
track_total_hits?: boolean;
|
|
1523
|
-
allow_partial_search_results?: boolean;
|
|
1524
|
-
typed_keys?: boolean;
|
|
1525
|
-
version?: boolean;
|
|
1526
|
-
seq_no_primary_term?: boolean;
|
|
1527
|
-
max_concurrent_shard_requests?: number;
|
|
1528
|
-
body?: T;
|
|
1529
|
-
}
|
|
1530
|
-
|
|
1531
|
-
export interface AutoscalingDeleteAutoscalingPolicy extends Generic {
|
|
1532
|
-
name: string;
|
|
1533
|
-
}
|
|
1534
|
-
|
|
1535
|
-
export interface AutoscalingGetAutoscalingDecision extends Generic {
|
|
1536
|
-
}
|
|
1537
|
-
|
|
1538
|
-
export interface AutoscalingGetAutoscalingPolicy extends Generic {
|
|
1539
|
-
name: string;
|
|
1540
|
-
}
|
|
1541
|
-
|
|
1542
|
-
export interface AutoscalingPutAutoscalingPolicy<T = RequestBody> extends Generic {
|
|
1543
|
-
name: string;
|
|
1544
|
-
body: T;
|
|
1545
|
-
}
|
|
1546
|
-
|
|
1547
|
-
export interface CatMlDataFrameAnalytics extends Generic {
|
|
1548
|
-
id?: string;
|
|
1549
|
-
allow_no_match?: boolean;
|
|
1550
|
-
bytes?: 'b' | 'k' | 'kb' | 'm' | 'mb' | 'g' | 'gb' | 't' | 'tb' | 'p' | 'pb';
|
|
1551
|
-
format?: string;
|
|
1552
|
-
h?: string | string[];
|
|
1553
|
-
help?: boolean;
|
|
1554
|
-
s?: string | string[];
|
|
1555
|
-
time?: 'd' | 'h' | 'm' | 's' | 'ms' | 'micros' | 'nanos';
|
|
1556
|
-
v?: boolean;
|
|
1557
|
-
}
|
|
1558
|
-
|
|
1559
|
-
export interface CatMlDatafeeds extends Generic {
|
|
1560
|
-
datafeed_id?: string;
|
|
1561
|
-
allow_no_datafeeds?: boolean;
|
|
1562
|
-
format?: string;
|
|
1563
|
-
h?: string | string[];
|
|
1564
|
-
help?: boolean;
|
|
1565
|
-
s?: string | string[];
|
|
1566
|
-
time?: 'd' | 'h' | 'm' | 's' | 'ms' | 'micros' | 'nanos';
|
|
1567
|
-
v?: boolean;
|
|
1568
|
-
}
|
|
1569
|
-
|
|
1570
|
-
export interface CatMlJobs extends Generic {
|
|
1571
|
-
job_id?: string;
|
|
1572
|
-
allow_no_jobs?: boolean;
|
|
1573
|
-
bytes?: 'b' | 'k' | 'kb' | 'm' | 'mb' | 'g' | 'gb' | 't' | 'tb' | 'p' | 'pb';
|
|
1574
|
-
format?: string;
|
|
1575
|
-
h?: string | string[];
|
|
1576
|
-
help?: boolean;
|
|
1577
|
-
s?: string | string[];
|
|
1578
|
-
time?: 'd' | 'h' | 'm' | 's' | 'ms' | 'micros' | 'nanos';
|
|
1579
|
-
v?: boolean;
|
|
1580
|
-
}
|
|
1581
|
-
|
|
1582
|
-
export interface CatMlTrainedModels extends Generic {
|
|
1583
|
-
model_id?: string;
|
|
1584
|
-
allow_no_match?: boolean;
|
|
1585
|
-
from?: number;
|
|
1586
|
-
size?: number;
|
|
1587
|
-
bytes?: 'b' | 'k' | 'kb' | 'm' | 'mb' | 'g' | 'gb' | 't' | 'tb' | 'p' | 'pb';
|
|
1588
|
-
format?: string;
|
|
1589
|
-
h?: string | string[];
|
|
1590
|
-
help?: boolean;
|
|
1591
|
-
s?: string | string[];
|
|
1592
|
-
time?: 'd' | 'h' | 'm' | 's' | 'ms' | 'micros' | 'nanos';
|
|
1593
|
-
v?: boolean;
|
|
1594
|
-
}
|
|
1595
|
-
|
|
1596
|
-
export interface CatTransforms extends Generic {
|
|
1597
|
-
transform_id?: string;
|
|
1598
|
-
from?: number;
|
|
1599
|
-
size?: number;
|
|
1600
|
-
allow_no_match?: boolean;
|
|
1601
|
-
format?: string;
|
|
1602
|
-
h?: string | string[];
|
|
1603
|
-
help?: boolean;
|
|
1604
|
-
s?: string | string[];
|
|
1605
|
-
time?: 'd' | 'h' | 'm' | 's' | 'ms' | 'micros' | 'nanos';
|
|
1606
|
-
v?: boolean;
|
|
1607
|
-
}
|
|
1608
|
-
|
|
1609
|
-
export interface CcrDeleteAutoFollowPattern extends Generic {
|
|
1610
|
-
name: string;
|
|
1611
|
-
}
|
|
1612
|
-
|
|
1613
|
-
export interface CcrFollow<T = RequestBody> extends Generic {
|
|
1614
|
-
index: string;
|
|
1615
|
-
wait_for_active_shards?: string;
|
|
1616
|
-
body: T;
|
|
1617
|
-
}
|
|
1618
|
-
|
|
1619
|
-
export interface CcrFollowInfo extends Generic {
|
|
1620
|
-
index: string | string[];
|
|
1621
|
-
}
|
|
1622
|
-
|
|
1623
|
-
export interface CcrFollowStats extends Generic {
|
|
1624
|
-
index: string | string[];
|
|
1625
|
-
}
|
|
1626
|
-
|
|
1627
|
-
export interface CcrForgetFollower<T = RequestBody> extends Generic {
|
|
1628
|
-
index: string;
|
|
1629
|
-
body: T;
|
|
1630
|
-
}
|
|
1631
|
-
|
|
1632
|
-
export interface CcrGetAutoFollowPattern extends Generic {
|
|
1633
|
-
name?: string;
|
|
1634
|
-
}
|
|
1635
|
-
|
|
1636
|
-
export interface CcrPauseAutoFollowPattern extends Generic {
|
|
1637
|
-
name: string;
|
|
1638
|
-
}
|
|
1639
|
-
|
|
1640
|
-
export interface CcrPauseFollow extends Generic {
|
|
1641
|
-
index: string;
|
|
1642
|
-
}
|
|
1643
|
-
|
|
1644
|
-
export interface CcrPutAutoFollowPattern<T = RequestBody> extends Generic {
|
|
1645
|
-
name: string;
|
|
1646
|
-
body: T;
|
|
1647
|
-
}
|
|
1648
|
-
|
|
1649
|
-
export interface CcrResumeAutoFollowPattern extends Generic {
|
|
1650
|
-
name: string;
|
|
1651
|
-
}
|
|
1652
|
-
|
|
1653
|
-
export interface CcrResumeFollow<T = RequestBody> extends Generic {
|
|
1654
|
-
index: string;
|
|
1655
|
-
body?: T;
|
|
1656
|
-
}
|
|
1657
|
-
|
|
1658
|
-
export interface CcrStats extends Generic {
|
|
1659
|
-
}
|
|
1660
|
-
|
|
1661
|
-
export interface CcrUnfollow extends Generic {
|
|
1662
|
-
index: string;
|
|
1663
|
-
}
|
|
1664
|
-
|
|
1665
|
-
export interface EnrichDeletePolicy extends Generic {
|
|
1666
|
-
name: string;
|
|
1667
|
-
}
|
|
1668
|
-
|
|
1669
|
-
export interface EnrichExecutePolicy extends Generic {
|
|
1670
|
-
name: string;
|
|
1671
|
-
wait_for_completion?: boolean;
|
|
1672
|
-
}
|
|
1673
|
-
|
|
1674
|
-
export interface EnrichGetPolicy extends Generic {
|
|
1675
|
-
name?: string | string[];
|
|
1676
|
-
}
|
|
1677
|
-
|
|
1678
|
-
export interface EnrichPutPolicy<T = RequestBody> extends Generic {
|
|
1679
|
-
name: string;
|
|
1680
|
-
body: T;
|
|
1681
|
-
}
|
|
1682
|
-
|
|
1683
|
-
export interface EnrichStats extends Generic {
|
|
1684
|
-
}
|
|
1685
|
-
|
|
1686
|
-
export interface EqlDelete extends Generic {
|
|
1687
|
-
id: string;
|
|
1688
|
-
}
|
|
1689
|
-
|
|
1690
|
-
export interface EqlGet extends Generic {
|
|
1691
|
-
id: string;
|
|
1692
|
-
wait_for_completion_timeout?: string;
|
|
1693
|
-
keep_alive?: string;
|
|
1694
|
-
}
|
|
1695
|
-
|
|
1696
|
-
export interface EqlSearch<T = RequestBody> extends Generic {
|
|
1697
|
-
index: string;
|
|
1698
|
-
wait_for_completion_timeout?: string;
|
|
1699
|
-
keep_on_completion?: boolean;
|
|
1700
|
-
keep_alive?: string;
|
|
1701
|
-
body: T;
|
|
1702
|
-
}
|
|
1703
|
-
|
|
1704
|
-
export interface GraphExplore<T = RequestBody> extends Generic {
|
|
1705
|
-
index: string | string[];
|
|
1706
|
-
type?: string | string[];
|
|
1707
|
-
routing?: string;
|
|
1708
|
-
timeout?: string;
|
|
1709
|
-
body?: T;
|
|
1710
|
-
}
|
|
1711
|
-
|
|
1712
|
-
export interface IlmDeleteLifecycle extends Generic {
|
|
1713
|
-
policy: string;
|
|
1714
|
-
}
|
|
1715
|
-
|
|
1716
|
-
export interface IlmExplainLifecycle extends Generic {
|
|
1717
|
-
index: string;
|
|
1718
|
-
only_managed?: boolean;
|
|
1719
|
-
only_errors?: boolean;
|
|
1720
|
-
}
|
|
1721
|
-
|
|
1722
|
-
export interface IlmGetLifecycle extends Generic {
|
|
1723
|
-
policy?: string;
|
|
1724
|
-
}
|
|
1725
|
-
|
|
1726
|
-
export interface IlmGetStatus extends Generic {
|
|
1727
|
-
}
|
|
1728
|
-
|
|
1729
|
-
export interface IlmMoveToStep<T = RequestBody> extends Generic {
|
|
1730
|
-
index: string;
|
|
1731
|
-
body?: T;
|
|
1732
|
-
}
|
|
1733
|
-
|
|
1734
|
-
export interface IlmPutLifecycle<T = RequestBody> extends Generic {
|
|
1735
|
-
policy: string;
|
|
1736
|
-
body?: T;
|
|
1737
|
-
}
|
|
1738
|
-
|
|
1739
|
-
export interface IlmRemovePolicy extends Generic {
|
|
1740
|
-
index: string;
|
|
1741
|
-
}
|
|
1742
|
-
|
|
1743
|
-
export interface IlmRetry extends Generic {
|
|
1744
|
-
index: string;
|
|
1745
|
-
}
|
|
1746
|
-
|
|
1747
|
-
export interface IlmStart extends Generic {
|
|
1748
|
-
}
|
|
1749
|
-
|
|
1750
|
-
export interface IlmStop extends Generic {
|
|
1751
|
-
}
|
|
1752
|
-
|
|
1753
|
-
export interface IndicesCreateDataStream extends Generic {
|
|
1754
|
-
name: string;
|
|
1755
|
-
}
|
|
1756
|
-
|
|
1757
|
-
export interface IndicesDataStreamsStats extends Generic {
|
|
1758
|
-
name?: string | string[];
|
|
1759
|
-
}
|
|
1760
|
-
|
|
1761
|
-
export interface IndicesDeleteDataStream extends Generic {
|
|
1762
|
-
name: string | string[];
|
|
1763
|
-
}
|
|
1764
|
-
|
|
1765
|
-
export interface IndicesFreeze extends Generic {
|
|
1766
|
-
index: string;
|
|
1767
|
-
timeout?: string;
|
|
1768
|
-
master_timeout?: string;
|
|
1769
|
-
ignore_unavailable?: boolean;
|
|
1770
|
-
allow_no_indices?: boolean;
|
|
1771
|
-
expand_wildcards?: 'open' | 'closed' | 'hidden' | 'none' | 'all';
|
|
1772
|
-
wait_for_active_shards?: string;
|
|
1773
|
-
}
|
|
1774
|
-
|
|
1775
|
-
export interface IndicesGetDataStream extends Generic {
|
|
1776
|
-
name?: string | string[];
|
|
1777
|
-
}
|
|
1778
|
-
|
|
1779
|
-
export interface IndicesReloadSearchAnalyzers extends Generic {
|
|
1780
|
-
index: string | string[];
|
|
1781
|
-
ignore_unavailable?: boolean;
|
|
1782
|
-
allow_no_indices?: boolean;
|
|
1783
|
-
expand_wildcards?: 'open' | 'closed' | 'hidden' | 'none' | 'all';
|
|
1784
|
-
}
|
|
1785
|
-
|
|
1786
|
-
export interface IndicesUnfreeze extends Generic {
|
|
1787
|
-
index: string;
|
|
1788
|
-
timeout?: string;
|
|
1789
|
-
master_timeout?: string;
|
|
1790
|
-
ignore_unavailable?: boolean;
|
|
1791
|
-
allow_no_indices?: boolean;
|
|
1792
|
-
expand_wildcards?: 'open' | 'closed' | 'hidden' | 'none' | 'all';
|
|
1793
|
-
wait_for_active_shards?: string;
|
|
1794
|
-
}
|
|
1795
|
-
|
|
1796
|
-
export interface LicenseDelete extends Generic {
|
|
1797
|
-
}
|
|
1798
|
-
|
|
1799
|
-
export interface LicenseGet extends Generic {
|
|
1800
|
-
local?: boolean;
|
|
1801
|
-
accept_enterprise?: boolean;
|
|
1802
|
-
}
|
|
1803
|
-
|
|
1804
|
-
export interface LicenseGetBasicStatus extends Generic {
|
|
1805
|
-
}
|
|
1806
|
-
|
|
1807
|
-
export interface LicenseGetTrialStatus extends Generic {
|
|
1808
|
-
}
|
|
1809
|
-
|
|
1810
|
-
export interface LicensePost<T = RequestBody> extends Generic {
|
|
1811
|
-
acknowledge?: boolean;
|
|
1812
|
-
body?: T;
|
|
1813
|
-
}
|
|
1814
|
-
|
|
1815
|
-
export interface LicensePostStartBasic extends Generic {
|
|
1816
|
-
acknowledge?: boolean;
|
|
1817
|
-
}
|
|
1818
|
-
|
|
1819
|
-
export interface LicensePostStartTrial extends Generic {
|
|
1820
|
-
type?: string;
|
|
1821
|
-
acknowledge?: boolean;
|
|
1822
|
-
}
|
|
1823
|
-
|
|
1824
|
-
export interface MigrationDeprecations extends Generic {
|
|
1825
|
-
index?: string;
|
|
1826
|
-
}
|
|
1827
|
-
|
|
1828
|
-
export interface MlCloseJob<T = RequestBody> extends Generic {
|
|
1829
|
-
job_id: string;
|
|
1830
|
-
allow_no_jobs?: boolean;
|
|
1831
|
-
force?: boolean;
|
|
1832
|
-
timeout?: string;
|
|
1833
|
-
body?: T;
|
|
1834
|
-
}
|
|
1835
|
-
|
|
1836
|
-
export interface MlDeleteCalendar extends Generic {
|
|
1837
|
-
calendar_id: string;
|
|
1838
|
-
}
|
|
1839
|
-
|
|
1840
|
-
export interface MlDeleteCalendarEvent extends Generic {
|
|
1841
|
-
calendar_id: string;
|
|
1842
|
-
event_id: string;
|
|
1843
|
-
}
|
|
1844
|
-
|
|
1845
|
-
export interface MlDeleteCalendarJob extends Generic {
|
|
1846
|
-
calendar_id: string;
|
|
1847
|
-
job_id: string;
|
|
1848
|
-
}
|
|
1849
|
-
|
|
1850
|
-
export interface MlDeleteDataFrameAnalytics extends Generic {
|
|
1851
|
-
id: string;
|
|
1852
|
-
force?: boolean;
|
|
1853
|
-
timeout?: string;
|
|
1854
|
-
}
|
|
1855
|
-
|
|
1856
|
-
export interface MlDeleteDatafeed extends Generic {
|
|
1857
|
-
datafeed_id: string;
|
|
1858
|
-
force?: boolean;
|
|
1859
|
-
}
|
|
1860
|
-
|
|
1861
|
-
export interface MlDeleteExpiredData<T = RequestBody> extends Generic {
|
|
1862
|
-
job_id?: string;
|
|
1863
|
-
requests_per_second?: number;
|
|
1864
|
-
timeout?: string;
|
|
1865
|
-
body?: T;
|
|
1866
|
-
}
|
|
1867
|
-
|
|
1868
|
-
export interface MlDeleteFilter extends Generic {
|
|
1869
|
-
filter_id: string;
|
|
1870
|
-
}
|
|
1871
|
-
|
|
1872
|
-
export interface MlDeleteForecast extends Generic {
|
|
1873
|
-
job_id: string;
|
|
1874
|
-
forecast_id?: string;
|
|
1875
|
-
allow_no_forecasts?: boolean;
|
|
1476
|
+
export interface MlDeleteForecast extends Generic {
|
|
1477
|
+
job_id: string;
|
|
1478
|
+
forecast_id?: string;
|
|
1479
|
+
allow_no_forecasts?: boolean;
|
|
1876
1480
|
timeout?: string;
|
|
1877
1481
|
}
|
|
1878
1482
|
|
|
@@ -2236,6 +1840,133 @@ export interface MonitoringBulk<T = RequestNDBody> extends Generic {
|
|
|
2236
1840
|
body: T;
|
|
2237
1841
|
}
|
|
2238
1842
|
|
|
1843
|
+
export interface Msearch<T = RequestNDBody> extends Generic {
|
|
1844
|
+
index?: string | string[];
|
|
1845
|
+
type?: string | string[];
|
|
1846
|
+
search_type?: 'query_then_fetch' | 'query_and_fetch' | 'dfs_query_then_fetch' | 'dfs_query_and_fetch';
|
|
1847
|
+
max_concurrent_searches?: number;
|
|
1848
|
+
typed_keys?: boolean;
|
|
1849
|
+
pre_filter_shard_size?: number;
|
|
1850
|
+
max_concurrent_shard_requests?: number;
|
|
1851
|
+
rest_total_hits_as_int?: boolean;
|
|
1852
|
+
ccs_minimize_roundtrips?: boolean;
|
|
1853
|
+
body: T;
|
|
1854
|
+
}
|
|
1855
|
+
|
|
1856
|
+
export interface MsearchTemplate<T = RequestNDBody> extends Generic {
|
|
1857
|
+
index?: string | string[];
|
|
1858
|
+
type?: string | string[];
|
|
1859
|
+
search_type?: 'query_then_fetch' | 'query_and_fetch' | 'dfs_query_then_fetch' | 'dfs_query_and_fetch';
|
|
1860
|
+
typed_keys?: boolean;
|
|
1861
|
+
max_concurrent_searches?: number;
|
|
1862
|
+
rest_total_hits_as_int?: boolean;
|
|
1863
|
+
ccs_minimize_roundtrips?: boolean;
|
|
1864
|
+
body: T;
|
|
1865
|
+
}
|
|
1866
|
+
|
|
1867
|
+
export interface Mtermvectors<T = RequestBody> extends Generic {
|
|
1868
|
+
index?: string;
|
|
1869
|
+
type?: string;
|
|
1870
|
+
ids?: string | string[];
|
|
1871
|
+
term_statistics?: boolean;
|
|
1872
|
+
field_statistics?: boolean;
|
|
1873
|
+
fields?: string | string[];
|
|
1874
|
+
offsets?: boolean;
|
|
1875
|
+
positions?: boolean;
|
|
1876
|
+
payloads?: boolean;
|
|
1877
|
+
preference?: string;
|
|
1878
|
+
routing?: string;
|
|
1879
|
+
realtime?: boolean;
|
|
1880
|
+
version?: number;
|
|
1881
|
+
version_type?: 'internal' | 'external' | 'external_gte' | 'force';
|
|
1882
|
+
body?: T;
|
|
1883
|
+
}
|
|
1884
|
+
|
|
1885
|
+
export interface NodesHotThreads extends Generic {
|
|
1886
|
+
node_id?: string | string[];
|
|
1887
|
+
interval?: string;
|
|
1888
|
+
snapshots?: number;
|
|
1889
|
+
threads?: number;
|
|
1890
|
+
ignore_idle_threads?: boolean;
|
|
1891
|
+
type?: 'cpu' | 'wait' | 'block';
|
|
1892
|
+
timeout?: string;
|
|
1893
|
+
}
|
|
1894
|
+
|
|
1895
|
+
export interface NodesInfo extends Generic {
|
|
1896
|
+
node_id?: string | string[];
|
|
1897
|
+
metric?: string | string[];
|
|
1898
|
+
flat_settings?: boolean;
|
|
1899
|
+
timeout?: string;
|
|
1900
|
+
}
|
|
1901
|
+
|
|
1902
|
+
export interface NodesReloadSecureSettings<T = RequestBody> extends Generic {
|
|
1903
|
+
node_id?: string | string[];
|
|
1904
|
+
timeout?: string;
|
|
1905
|
+
body?: T;
|
|
1906
|
+
}
|
|
1907
|
+
|
|
1908
|
+
export interface NodesStats extends Generic {
|
|
1909
|
+
node_id?: string | string[];
|
|
1910
|
+
metric?: string | string[];
|
|
1911
|
+
index_metric?: string | string[];
|
|
1912
|
+
completion_fields?: string | string[];
|
|
1913
|
+
fielddata_fields?: string | string[];
|
|
1914
|
+
fields?: string | string[];
|
|
1915
|
+
groups?: boolean;
|
|
1916
|
+
level?: 'indices' | 'node' | 'shards';
|
|
1917
|
+
types?: string | string[];
|
|
1918
|
+
timeout?: string;
|
|
1919
|
+
include_segment_file_sizes?: boolean;
|
|
1920
|
+
}
|
|
1921
|
+
|
|
1922
|
+
export interface NodesUsage extends Generic {
|
|
1923
|
+
node_id?: string | string[];
|
|
1924
|
+
metric?: string | string[];
|
|
1925
|
+
timeout?: string;
|
|
1926
|
+
}
|
|
1927
|
+
|
|
1928
|
+
export interface Ping extends Generic {
|
|
1929
|
+
}
|
|
1930
|
+
|
|
1931
|
+
export interface PutScript<T = RequestBody> extends Generic {
|
|
1932
|
+
id: string;
|
|
1933
|
+
context?: string;
|
|
1934
|
+
timeout?: string;
|
|
1935
|
+
master_timeout?: string;
|
|
1936
|
+
body: T;
|
|
1937
|
+
}
|
|
1938
|
+
|
|
1939
|
+
export interface RankEval<T = RequestBody> extends Generic {
|
|
1940
|
+
index?: string | string[];
|
|
1941
|
+
ignore_unavailable?: boolean;
|
|
1942
|
+
allow_no_indices?: boolean;
|
|
1943
|
+
expand_wildcards?: 'open' | 'closed' | 'hidden' | 'none' | 'all';
|
|
1944
|
+
search_type?: 'query_then_fetch' | 'dfs_query_then_fetch';
|
|
1945
|
+
body: T;
|
|
1946
|
+
}
|
|
1947
|
+
|
|
1948
|
+
export interface Reindex<T = RequestBody> extends Generic {
|
|
1949
|
+
refresh?: boolean;
|
|
1950
|
+
timeout?: string;
|
|
1951
|
+
wait_for_active_shards?: string;
|
|
1952
|
+
wait_for_completion?: boolean;
|
|
1953
|
+
requests_per_second?: number;
|
|
1954
|
+
scroll?: string;
|
|
1955
|
+
slices?: number|string;
|
|
1956
|
+
max_docs?: number;
|
|
1957
|
+
body: T;
|
|
1958
|
+
}
|
|
1959
|
+
|
|
1960
|
+
export interface ReindexRethrottle extends Generic {
|
|
1961
|
+
task_id: string;
|
|
1962
|
+
requests_per_second: number;
|
|
1963
|
+
}
|
|
1964
|
+
|
|
1965
|
+
export interface RenderSearchTemplate<T = RequestBody> extends Generic {
|
|
1966
|
+
id?: string;
|
|
1967
|
+
body?: T;
|
|
1968
|
+
}
|
|
1969
|
+
|
|
2239
1970
|
export interface RollupDeleteJob extends Generic {
|
|
2240
1971
|
id: string;
|
|
2241
1972
|
}
|
|
@@ -2252,29 +1983,119 @@ export interface RollupGetRollupIndexCaps extends Generic {
|
|
|
2252
1983
|
index: string;
|
|
2253
1984
|
}
|
|
2254
1985
|
|
|
2255
|
-
export interface RollupPutJob<T = RequestBody> extends Generic {
|
|
2256
|
-
id: string;
|
|
2257
|
-
body: T;
|
|
1986
|
+
export interface RollupPutJob<T = RequestBody> extends Generic {
|
|
1987
|
+
id: string;
|
|
1988
|
+
body: T;
|
|
1989
|
+
}
|
|
1990
|
+
|
|
1991
|
+
export interface RollupRollupSearch<T = RequestBody> extends Generic {
|
|
1992
|
+
index: string | string[];
|
|
1993
|
+
type?: string;
|
|
1994
|
+
typed_keys?: boolean;
|
|
1995
|
+
rest_total_hits_as_int?: boolean;
|
|
1996
|
+
body: T;
|
|
1997
|
+
}
|
|
1998
|
+
|
|
1999
|
+
export interface RollupStartJob extends Generic {
|
|
2000
|
+
id: string;
|
|
2001
|
+
}
|
|
2002
|
+
|
|
2003
|
+
export interface RollupStopJob extends Generic {
|
|
2004
|
+
id: string;
|
|
2005
|
+
wait_for_completion?: boolean;
|
|
2006
|
+
timeout?: string;
|
|
2007
|
+
}
|
|
2008
|
+
|
|
2009
|
+
export interface ScriptsPainlessExecute<T = RequestBody> extends Generic {
|
|
2010
|
+
body?: T;
|
|
2011
|
+
}
|
|
2012
|
+
|
|
2013
|
+
export interface Scroll<T = RequestBody> extends Generic {
|
|
2014
|
+
scroll_id?: string;
|
|
2015
|
+
scroll?: string;
|
|
2016
|
+
rest_total_hits_as_int?: boolean;
|
|
2017
|
+
body?: T;
|
|
2018
|
+
}
|
|
2019
|
+
|
|
2020
|
+
export interface Search<T = RequestBody> extends Generic {
|
|
2021
|
+
index?: string | string[];
|
|
2022
|
+
type?: string | string[];
|
|
2023
|
+
_source_exclude?: string | string[];
|
|
2024
|
+
_source_include?: string | string[];
|
|
2025
|
+
analyzer?: string;
|
|
2026
|
+
analyze_wildcard?: boolean;
|
|
2027
|
+
ccs_minimize_roundtrips?: boolean;
|
|
2028
|
+
default_operator?: 'AND' | 'OR';
|
|
2029
|
+
df?: string;
|
|
2030
|
+
explain?: boolean;
|
|
2031
|
+
stored_fields?: string | string[];
|
|
2032
|
+
docvalue_fields?: string | string[];
|
|
2033
|
+
from?: number;
|
|
2034
|
+
ignore_unavailable?: boolean;
|
|
2035
|
+
ignore_throttled?: boolean;
|
|
2036
|
+
allow_no_indices?: boolean;
|
|
2037
|
+
expand_wildcards?: 'open' | 'closed' | 'hidden' | 'none' | 'all';
|
|
2038
|
+
lenient?: boolean;
|
|
2039
|
+
preference?: string;
|
|
2040
|
+
q?: string;
|
|
2041
|
+
routing?: string | string[];
|
|
2042
|
+
scroll?: string;
|
|
2043
|
+
search_type?: 'query_then_fetch' | 'dfs_query_then_fetch';
|
|
2044
|
+
size?: number;
|
|
2045
|
+
sort?: string | string[];
|
|
2046
|
+
_source?: string | string[];
|
|
2047
|
+
_source_excludes?: string | string[];
|
|
2048
|
+
_source_includes?: string | string[];
|
|
2049
|
+
terminate_after?: number;
|
|
2050
|
+
stats?: string | string[];
|
|
2051
|
+
suggest_field?: string;
|
|
2052
|
+
suggest_mode?: 'missing' | 'popular' | 'always';
|
|
2053
|
+
suggest_size?: number;
|
|
2054
|
+
suggest_text?: string;
|
|
2055
|
+
timeout?: string;
|
|
2056
|
+
track_scores?: boolean;
|
|
2057
|
+
track_total_hits?: boolean;
|
|
2058
|
+
allow_partial_search_results?: boolean;
|
|
2059
|
+
typed_keys?: boolean;
|
|
2060
|
+
version?: boolean;
|
|
2061
|
+
seq_no_primary_term?: boolean;
|
|
2062
|
+
request_cache?: boolean;
|
|
2063
|
+
batched_reduce_size?: number;
|
|
2064
|
+
max_concurrent_shard_requests?: number;
|
|
2065
|
+
pre_filter_shard_size?: number;
|
|
2066
|
+
rest_total_hits_as_int?: boolean;
|
|
2067
|
+
body?: T;
|
|
2068
|
+
}
|
|
2069
|
+
|
|
2070
|
+
export interface SearchShards extends Generic {
|
|
2071
|
+
index?: string | string[];
|
|
2072
|
+
preference?: string;
|
|
2073
|
+
routing?: string;
|
|
2074
|
+
local?: boolean;
|
|
2075
|
+
ignore_unavailable?: boolean;
|
|
2076
|
+
allow_no_indices?: boolean;
|
|
2077
|
+
expand_wildcards?: 'open' | 'closed' | 'hidden' | 'none' | 'all';
|
|
2258
2078
|
}
|
|
2259
2079
|
|
|
2260
|
-
export interface
|
|
2261
|
-
index
|
|
2262
|
-
type?: string;
|
|
2080
|
+
export interface SearchTemplate<T = RequestBody> extends Generic {
|
|
2081
|
+
index?: string | string[];
|
|
2082
|
+
type?: string | string[];
|
|
2083
|
+
ignore_unavailable?: boolean;
|
|
2084
|
+
ignore_throttled?: boolean;
|
|
2085
|
+
allow_no_indices?: boolean;
|
|
2086
|
+
expand_wildcards?: 'open' | 'closed' | 'hidden' | 'none' | 'all';
|
|
2087
|
+
preference?: string;
|
|
2088
|
+
routing?: string | string[];
|
|
2089
|
+
scroll?: string;
|
|
2090
|
+
search_type?: 'query_then_fetch' | 'query_and_fetch' | 'dfs_query_then_fetch' | 'dfs_query_and_fetch';
|
|
2091
|
+
explain?: boolean;
|
|
2092
|
+
profile?: boolean;
|
|
2263
2093
|
typed_keys?: boolean;
|
|
2264
2094
|
rest_total_hits_as_int?: boolean;
|
|
2095
|
+
ccs_minimize_roundtrips?: boolean;
|
|
2265
2096
|
body: T;
|
|
2266
2097
|
}
|
|
2267
2098
|
|
|
2268
|
-
export interface RollupStartJob extends Generic {
|
|
2269
|
-
id: string;
|
|
2270
|
-
}
|
|
2271
|
-
|
|
2272
|
-
export interface RollupStopJob extends Generic {
|
|
2273
|
-
id: string;
|
|
2274
|
-
wait_for_completion?: boolean;
|
|
2275
|
-
timeout?: string;
|
|
2276
|
-
}
|
|
2277
|
-
|
|
2278
2099
|
export interface SearchableSnapshotsClearCache extends Generic {
|
|
2279
2100
|
index?: string | string[];
|
|
2280
2101
|
ignore_unavailable?: boolean;
|
|
@@ -2459,6 +2280,75 @@ export interface SlmStart extends Generic {
|
|
|
2459
2280
|
export interface SlmStop extends Generic {
|
|
2460
2281
|
}
|
|
2461
2282
|
|
|
2283
|
+
export interface SnapshotCleanupRepository extends Generic {
|
|
2284
|
+
repository: string;
|
|
2285
|
+
master_timeout?: string;
|
|
2286
|
+
timeout?: string;
|
|
2287
|
+
}
|
|
2288
|
+
|
|
2289
|
+
export interface SnapshotCreate<T = RequestBody> extends Generic {
|
|
2290
|
+
repository: string;
|
|
2291
|
+
snapshot: string;
|
|
2292
|
+
master_timeout?: string;
|
|
2293
|
+
wait_for_completion?: boolean;
|
|
2294
|
+
body?: T;
|
|
2295
|
+
}
|
|
2296
|
+
|
|
2297
|
+
export interface SnapshotCreateRepository<T = RequestBody> extends Generic {
|
|
2298
|
+
repository: string;
|
|
2299
|
+
master_timeout?: string;
|
|
2300
|
+
timeout?: string;
|
|
2301
|
+
verify?: boolean;
|
|
2302
|
+
body: T;
|
|
2303
|
+
}
|
|
2304
|
+
|
|
2305
|
+
export interface SnapshotDelete extends Generic {
|
|
2306
|
+
repository: string;
|
|
2307
|
+
snapshot: string;
|
|
2308
|
+
master_timeout?: string;
|
|
2309
|
+
}
|
|
2310
|
+
|
|
2311
|
+
export interface SnapshotDeleteRepository extends Generic {
|
|
2312
|
+
repository: string | string[];
|
|
2313
|
+
master_timeout?: string;
|
|
2314
|
+
timeout?: string;
|
|
2315
|
+
}
|
|
2316
|
+
|
|
2317
|
+
export interface SnapshotGet extends Generic {
|
|
2318
|
+
repository: string;
|
|
2319
|
+
snapshot: string | string[];
|
|
2320
|
+
master_timeout?: string;
|
|
2321
|
+
ignore_unavailable?: boolean;
|
|
2322
|
+
verbose?: boolean;
|
|
2323
|
+
}
|
|
2324
|
+
|
|
2325
|
+
export interface SnapshotGetRepository extends Generic {
|
|
2326
|
+
repository?: string | string[];
|
|
2327
|
+
master_timeout?: string;
|
|
2328
|
+
local?: boolean;
|
|
2329
|
+
}
|
|
2330
|
+
|
|
2331
|
+
export interface SnapshotRestore<T = RequestBody> extends Generic {
|
|
2332
|
+
repository: string;
|
|
2333
|
+
snapshot: string;
|
|
2334
|
+
master_timeout?: string;
|
|
2335
|
+
wait_for_completion?: boolean;
|
|
2336
|
+
body?: T;
|
|
2337
|
+
}
|
|
2338
|
+
|
|
2339
|
+
export interface SnapshotStatus extends Generic {
|
|
2340
|
+
repository?: string;
|
|
2341
|
+
snapshot?: string | string[];
|
|
2342
|
+
master_timeout?: string;
|
|
2343
|
+
ignore_unavailable?: boolean;
|
|
2344
|
+
}
|
|
2345
|
+
|
|
2346
|
+
export interface SnapshotVerifyRepository extends Generic {
|
|
2347
|
+
repository: string;
|
|
2348
|
+
master_timeout?: string;
|
|
2349
|
+
timeout?: string;
|
|
2350
|
+
}
|
|
2351
|
+
|
|
2462
2352
|
export interface SqlClearCursor<T = RequestBody> extends Generic {
|
|
2463
2353
|
body: T;
|
|
2464
2354
|
}
|
|
@@ -2475,6 +2365,48 @@ export interface SqlTranslate<T = RequestBody> extends Generic {
|
|
|
2475
2365
|
export interface SslCertificates extends Generic {
|
|
2476
2366
|
}
|
|
2477
2367
|
|
|
2368
|
+
export interface TasksCancel extends Generic {
|
|
2369
|
+
task_id?: string;
|
|
2370
|
+
nodes?: string | string[];
|
|
2371
|
+
actions?: string | string[];
|
|
2372
|
+
parent_task_id?: string;
|
|
2373
|
+
wait_for_completion?: boolean;
|
|
2374
|
+
}
|
|
2375
|
+
|
|
2376
|
+
export interface TasksGet extends Generic {
|
|
2377
|
+
task_id: string;
|
|
2378
|
+
wait_for_completion?: boolean;
|
|
2379
|
+
timeout?: string;
|
|
2380
|
+
}
|
|
2381
|
+
|
|
2382
|
+
export interface TasksList extends Generic {
|
|
2383
|
+
nodes?: string | string[];
|
|
2384
|
+
actions?: string | string[];
|
|
2385
|
+
detailed?: boolean;
|
|
2386
|
+
parent_task_id?: string;
|
|
2387
|
+
wait_for_completion?: boolean;
|
|
2388
|
+
group_by?: 'nodes' | 'parents' | 'none';
|
|
2389
|
+
timeout?: string;
|
|
2390
|
+
}
|
|
2391
|
+
|
|
2392
|
+
export interface Termvectors<T = RequestBody> extends Generic {
|
|
2393
|
+
index: string;
|
|
2394
|
+
id?: string;
|
|
2395
|
+
type?: string;
|
|
2396
|
+
term_statistics?: boolean;
|
|
2397
|
+
field_statistics?: boolean;
|
|
2398
|
+
fields?: string | string[];
|
|
2399
|
+
offsets?: boolean;
|
|
2400
|
+
positions?: boolean;
|
|
2401
|
+
payloads?: boolean;
|
|
2402
|
+
preference?: string;
|
|
2403
|
+
routing?: string;
|
|
2404
|
+
realtime?: boolean;
|
|
2405
|
+
version?: number;
|
|
2406
|
+
version_type?: 'internal' | 'external' | 'external_gte' | 'force';
|
|
2407
|
+
body?: T;
|
|
2408
|
+
}
|
|
2409
|
+
|
|
2478
2410
|
export interface TransformDeleteTransform extends Generic {
|
|
2479
2411
|
transform_id: string;
|
|
2480
2412
|
force?: boolean;
|
|
@@ -2524,6 +2456,74 @@ export interface TransformUpdateTransform<T = RequestBody> extends Generic {
|
|
|
2524
2456
|
body: T;
|
|
2525
2457
|
}
|
|
2526
2458
|
|
|
2459
|
+
export interface Update<T = RequestBody> extends Generic {
|
|
2460
|
+
id: string;
|
|
2461
|
+
index: string;
|
|
2462
|
+
type?: string;
|
|
2463
|
+
_source_exclude?: string | string[];
|
|
2464
|
+
_source_include?: string | string[];
|
|
2465
|
+
wait_for_active_shards?: string;
|
|
2466
|
+
_source?: string | string[];
|
|
2467
|
+
_source_excludes?: string | string[];
|
|
2468
|
+
_source_includes?: string | string[];
|
|
2469
|
+
lang?: string;
|
|
2470
|
+
refresh?: 'wait_for' | boolean;
|
|
2471
|
+
retry_on_conflict?: number;
|
|
2472
|
+
routing?: string;
|
|
2473
|
+
timeout?: string;
|
|
2474
|
+
if_seq_no?: number;
|
|
2475
|
+
if_primary_term?: number;
|
|
2476
|
+
body: T;
|
|
2477
|
+
}
|
|
2478
|
+
|
|
2479
|
+
export interface UpdateByQuery<T = RequestBody> extends Generic {
|
|
2480
|
+
index: string | string[];
|
|
2481
|
+
type?: string | string[];
|
|
2482
|
+
_source_exclude?: string | string[];
|
|
2483
|
+
_source_include?: string | string[];
|
|
2484
|
+
analyzer?: string;
|
|
2485
|
+
analyze_wildcard?: boolean;
|
|
2486
|
+
default_operator?: 'AND' | 'OR';
|
|
2487
|
+
df?: string;
|
|
2488
|
+
from?: number;
|
|
2489
|
+
ignore_unavailable?: boolean;
|
|
2490
|
+
allow_no_indices?: boolean;
|
|
2491
|
+
conflicts?: 'abort' | 'proceed';
|
|
2492
|
+
expand_wildcards?: 'open' | 'closed' | 'hidden' | 'none' | 'all';
|
|
2493
|
+
lenient?: boolean;
|
|
2494
|
+
pipeline?: string;
|
|
2495
|
+
preference?: string;
|
|
2496
|
+
q?: string;
|
|
2497
|
+
routing?: string | string[];
|
|
2498
|
+
scroll?: string;
|
|
2499
|
+
search_type?: 'query_then_fetch' | 'dfs_query_then_fetch';
|
|
2500
|
+
search_timeout?: string;
|
|
2501
|
+
size?: number;
|
|
2502
|
+
max_docs?: number;
|
|
2503
|
+
sort?: string | string[];
|
|
2504
|
+
_source?: string | string[];
|
|
2505
|
+
_source_excludes?: string | string[];
|
|
2506
|
+
_source_includes?: string | string[];
|
|
2507
|
+
terminate_after?: number;
|
|
2508
|
+
stats?: string | string[];
|
|
2509
|
+
version?: boolean;
|
|
2510
|
+
version_type?: boolean;
|
|
2511
|
+
request_cache?: boolean;
|
|
2512
|
+
refresh?: boolean;
|
|
2513
|
+
timeout?: string;
|
|
2514
|
+
wait_for_active_shards?: string;
|
|
2515
|
+
scroll_size?: number;
|
|
2516
|
+
wait_for_completion?: boolean;
|
|
2517
|
+
requests_per_second?: number;
|
|
2518
|
+
slices?: number|string;
|
|
2519
|
+
body?: T;
|
|
2520
|
+
}
|
|
2521
|
+
|
|
2522
|
+
export interface UpdateByQueryRethrottle extends Generic {
|
|
2523
|
+
task_id: string;
|
|
2524
|
+
requests_per_second: number;
|
|
2525
|
+
}
|
|
2526
|
+
|
|
2527
2527
|
export interface WatcherAckWatch extends Generic {
|
|
2528
2528
|
watch_id: string;
|
|
2529
2529
|
action_id?: string | string[];
|