@opensearch-project/opensearch 3.0.0-beta.1 → 3.0.0-beta.3
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/index.d.ts +0 -4
- package/lib/Transport.d.ts +2 -7
- package/package.json +1 -1
- package/types/Client.d.ts +1229 -1231
- package/types/components/_common.query_dsl.d.ts +1 -1
- package/types/components/search_pipeline._common.d.ts +40 -40
- package/types/components/security._common.d.ts +6 -6
- package/types/functions/bulk.d.ts +10 -6
- package/types/functions/cat.aliases.d.ts +6 -2
- package/types/functions/cat.all_pit_segments.d.ts +6 -2
- package/types/functions/cat.allocation.d.ts +6 -2
- package/types/functions/cat.cluster_manager.d.ts +6 -2
- package/types/functions/cat.count.d.ts +6 -2
- package/types/functions/cat.fielddata.d.ts +6 -2
- package/types/functions/cat.health.d.ts +6 -2
- package/types/functions/cat.help.d.ts +6 -2
- package/types/functions/cat.indices.d.ts +6 -2
- package/types/functions/cat.master.d.ts +6 -2
- package/types/functions/cat.nodeattrs.d.ts +6 -2
- package/types/functions/cat.nodes.d.ts +6 -2
- package/types/functions/cat.pending_tasks.d.ts +6 -2
- package/types/functions/cat.pit_segments.d.ts +10 -6
- package/types/functions/cat.plugins.d.ts +6 -2
- package/types/functions/cat.recovery.d.ts +6 -2
- package/types/functions/cat.repositories.d.ts +6 -2
- package/types/functions/cat.segment_replication.d.ts +6 -2
- package/types/functions/cat.segments.d.ts +6 -2
- package/types/functions/cat.shards.d.ts +6 -2
- package/types/functions/cat.snapshots.d.ts +6 -2
- package/types/functions/cat.tasks.d.ts +6 -2
- package/types/functions/cat.templates.d.ts +6 -2
- package/types/functions/cat.thread_pool.d.ts +6 -2
- package/types/functions/clear_scroll.d.ts +11 -7
- package/types/functions/cluster.allocation_explain.d.ts +14 -10
- package/types/functions/cluster.delete_component_template.d.ts +6 -2
- package/types/functions/cluster.delete_decommission_awareness.d.ts +6 -2
- package/types/functions/cluster.delete_voting_config_exclusions.d.ts +6 -2
- package/types/functions/cluster.delete_weighted_routing.d.ts +6 -2
- package/types/functions/cluster.exists_component_template.d.ts +6 -2
- package/types/functions/cluster.get_component_template.d.ts +6 -2
- package/types/functions/cluster.get_decommission_awareness.d.ts +6 -2
- package/types/functions/cluster.get_settings.d.ts +6 -2
- package/types/functions/cluster.get_weighted_routing.d.ts +6 -2
- package/types/functions/cluster.health.d.ts +6 -2
- package/types/functions/cluster.pending_tasks.d.ts +6 -2
- package/types/functions/cluster.post_voting_config_exclusions.d.ts +6 -2
- package/types/functions/cluster.put_component_template.d.ts +14 -10
- package/types/functions/cluster.put_decommission_awareness.d.ts +6 -2
- package/types/functions/cluster.put_settings.d.ts +13 -9
- package/types/functions/cluster.put_weighted_routing.d.ts +6 -2
- package/types/functions/cluster.remote_info.d.ts +6 -2
- package/types/functions/cluster.reroute.d.ts +11 -7
- package/types/functions/cluster.state.d.ts +6 -2
- package/types/functions/cluster.stats.d.ts +6 -2
- package/types/functions/count.d.ts +11 -7
- package/types/functions/create.d.ts +9 -5
- package/types/functions/create_pit.d.ts +6 -2
- package/types/functions/dangling_indices.delete_dangling_index.d.ts +6 -2
- package/types/functions/dangling_indices.import_dangling_index.d.ts +6 -2
- package/types/functions/dangling_indices.list_dangling_indices.d.ts +6 -2
- package/types/functions/delete.d.ts +6 -2
- package/types/functions/delete_all_pits.d.ts +6 -2
- package/types/functions/delete_by_query.d.ts +14 -10
- package/types/functions/delete_by_query_rethrottle.d.ts +6 -2
- package/types/functions/delete_pit.d.ts +10 -6
- package/types/functions/delete_script.d.ts +6 -2
- package/types/functions/exists.d.ts +6 -2
- package/types/functions/exists_source.d.ts +6 -2
- package/types/functions/explain.d.ts +11 -7
- package/types/functions/field_caps.d.ts +14 -10
- package/types/functions/get.d.ts +6 -2
- package/types/functions/get_all_pits.d.ts +6 -2
- package/types/functions/get_script.d.ts +6 -2
- package/types/functions/get_script_context.d.ts +6 -2
- package/types/functions/get_script_languages.d.ts +6 -2
- package/types/functions/get_source.d.ts +6 -2
- package/types/functions/index.d.ts +9 -5
- package/types/functions/indices.add_block.d.ts +6 -2
- package/types/functions/indices.analyze.d.ts +17 -13
- package/types/functions/indices.clear_cache.d.ts +6 -2
- package/types/functions/indices.clone.d.ts +12 -8
- package/types/functions/indices.close.d.ts +6 -2
- package/types/functions/indices.create.d.ts +14 -10
- package/types/functions/indices.create_data_stream.d.ts +9 -5
- package/types/functions/indices.data_streams_stats.d.ts +6 -2
- package/types/functions/indices.delete.d.ts +6 -2
- package/types/functions/indices.delete_alias.d.ts +6 -2
- package/types/functions/indices.delete_data_stream.d.ts +6 -2
- package/types/functions/indices.delete_index_template.d.ts +6 -2
- package/types/functions/indices.delete_template.d.ts +6 -2
- package/types/functions/indices.exists.d.ts +6 -2
- package/types/functions/indices.exists_alias.d.ts +6 -2
- package/types/functions/indices.exists_index_template.d.ts +6 -2
- package/types/functions/indices.exists_template.d.ts +6 -2
- package/types/functions/indices.flush.d.ts +6 -2
- package/types/functions/indices.forcemerge.d.ts +6 -2
- package/types/functions/indices.get.d.ts +6 -2
- package/types/functions/indices.get_alias.d.ts +6 -2
- package/types/functions/indices.get_data_stream.d.ts +6 -2
- package/types/functions/indices.get_field_mapping.d.ts +6 -2
- package/types/functions/indices.get_index_template.d.ts +6 -2
- package/types/functions/indices.get_mapping.d.ts +6 -2
- package/types/functions/indices.get_settings.d.ts +6 -2
- package/types/functions/indices.get_template.d.ts +6 -2
- package/types/functions/indices.get_upgrade.d.ts +6 -2
- package/types/functions/indices.open.d.ts +6 -2
- package/types/functions/indices.put_alias.d.ts +18 -14
- package/types/functions/indices.put_index_template.d.ts +17 -13
- package/types/functions/indices.put_mapping.d.ts +21 -17
- package/types/functions/indices.put_settings.d.ts +6 -2
- package/types/functions/indices.put_template.d.ts +17 -13
- package/types/functions/indices.recovery.d.ts +6 -2
- package/types/functions/indices.refresh.d.ts +6 -2
- package/types/functions/indices.resolve_index.d.ts +6 -2
- package/types/functions/indices.rollover.d.ts +15 -11
- package/types/functions/indices.segments.d.ts +6 -2
- package/types/functions/indices.shard_stores.d.ts +6 -2
- package/types/functions/indices.shrink.d.ts +12 -8
- package/types/functions/indices.simulate_index_template.d.ts +17 -13
- package/types/functions/indices.simulate_template.d.ts +6 -2
- package/types/functions/indices.split.d.ts +13 -9
- package/types/functions/indices.stats.d.ts +6 -2
- package/types/functions/indices.update_aliases.d.ts +11 -7
- package/types/functions/indices.upgrade.d.ts +6 -2
- package/types/functions/indices.validate_query.d.ts +11 -7
- package/types/functions/info.d.ts +6 -2
- package/types/functions/ingest.delete_pipeline.d.ts +6 -2
- package/types/functions/ingest.get_pipeline.d.ts +6 -2
- package/types/functions/ingest.processor_grok.d.ts +6 -2
- package/types/functions/ingest.put_pipeline.d.ts +15 -11
- package/types/functions/ingest.simulate.d.ts +13 -9
- package/types/functions/knn.delete_model.d.ts +6 -2
- package/types/functions/knn.get_model.d.ts +6 -2
- package/types/functions/knn.search_models.d.ts +9 -5
- package/types/functions/knn.stats.d.ts +6 -2
- package/types/functions/knn.train_model.d.ts +13 -9
- package/types/functions/knn.warmup.d.ts +6 -2
- package/types/functions/mget.d.ts +13 -9
- package/types/functions/ml.delete_model.d.ts +6 -2
- package/types/functions/ml.delete_model_group.d.ts +6 -2
- package/types/functions/ml.get_model_group.d.ts +6 -2
- package/types/functions/ml.get_task.d.ts +6 -2
- package/types/functions/ml.register_model.d.ts +11 -7
- package/types/functions/ml.register_model_group.d.ts +11 -7
- package/types/functions/ml.search_models.d.ts +6 -2
- package/types/functions/msearch.d.ts +10 -6
- package/types/functions/msearch_template.d.ts +10 -6
- package/types/functions/mtermvectors.d.ts +13 -9
- package/types/functions/nodes.hot_threads.d.ts +6 -2
- package/types/functions/nodes.info.d.ts +6 -2
- package/types/functions/nodes.reload_secure_settings.d.ts +11 -7
- package/types/functions/nodes.stats.d.ts +6 -2
- package/types/functions/nodes.usage.d.ts +6 -2
- package/types/functions/notifications.create_config.d.ts +6 -2
- package/types/functions/notifications.delete_config.d.ts +6 -2
- package/types/functions/notifications.delete_configs.d.ts +6 -2
- package/types/functions/notifications.get_config.d.ts +6 -2
- package/types/functions/notifications.get_configs.d.ts +14 -10
- package/types/functions/notifications.list_channels.d.ts +6 -2
- package/types/functions/notifications.list_features.d.ts +6 -2
- package/types/functions/notifications.send_test.d.ts +6 -2
- package/types/functions/notifications.update_config.d.ts +6 -2
- package/types/functions/ping.d.ts +6 -2
- package/types/functions/ppl.explain.d.ts +6 -2
- package/types/functions/ppl.get_stats.d.ts +6 -2
- package/types/functions/ppl.post_stats.d.ts +6 -2
- package/types/functions/ppl.query.d.ts +6 -2
- package/types/functions/put_script.d.ts +11 -7
- package/types/functions/rank_eval.d.ts +12 -8
- package/types/functions/reindex.d.ts +16 -12
- package/types/functions/reindex_rethrottle.d.ts +6 -2
- package/types/functions/remote_store.restore.d.ts +10 -6
- package/types/functions/render_search_template.d.ts +12 -8
- package/types/functions/rollups.delete.d.ts +6 -2
- package/types/functions/rollups.explain.d.ts +6 -2
- package/types/functions/rollups.get.d.ts +6 -2
- package/types/functions/rollups.put.d.ts +6 -2
- package/types/functions/rollups.start.d.ts +6 -2
- package/types/functions/rollups.stop.d.ts +6 -2
- package/types/functions/scripts_painless_execute.d.ts +13 -9
- package/types/functions/scroll.d.ts +12 -8
- package/types/functions/search.d.ts +45 -41
- package/types/functions/search_pipeline.delete.d.ts +6 -2
- package/types/functions/search_pipeline.get.d.ts +6 -2
- package/types/functions/search_pipeline.put.d.ts +6 -2
- package/types/functions/search_shards.d.ts +6 -2
- package/types/functions/search_template.d.ts +15 -11
- package/types/functions/security.authinfo.d.ts +6 -2
- package/types/functions/security.authtoken.d.ts +6 -2
- package/types/functions/security.change_password.d.ts +6 -2
- package/types/functions/security.config_upgrade_check.d.ts +6 -2
- package/types/functions/security.config_upgrade_perform.d.ts +6 -2
- package/types/functions/security.create_action_group.d.ts +6 -2
- package/types/functions/security.create_allowlist.d.ts +6 -2
- package/types/functions/security.create_role.d.ts +6 -2
- package/types/functions/security.create_role_mapping.d.ts +6 -2
- package/types/functions/security.create_tenant.d.ts +6 -2
- package/types/functions/security.create_update_tenancy_config.d.ts +10 -6
- package/types/functions/security.create_user.d.ts +6 -2
- package/types/functions/security.create_user_legacy.d.ts +6 -2
- package/types/functions/security.delete_action_group.d.ts +6 -2
- package/types/functions/security.delete_distinguished_name.d.ts +6 -2
- package/types/functions/security.delete_role.d.ts +6 -2
- package/types/functions/security.delete_role_mapping.d.ts +6 -2
- package/types/functions/security.delete_tenant.d.ts +6 -2
- package/types/functions/security.delete_user.d.ts +6 -2
- package/types/functions/security.delete_user_legacy.d.ts +6 -2
- package/types/functions/security.flush_cache.d.ts +6 -2
- package/types/functions/security.generate_obo_token.d.ts +6 -2
- package/types/functions/security.generate_user_token.d.ts +6 -2
- package/types/functions/security.generate_user_token_legacy.d.ts +6 -2
- package/types/functions/security.get_account_details.d.ts +6 -2
- package/types/functions/security.get_action_group.d.ts +6 -2
- package/types/functions/security.get_action_groups.d.ts +6 -2
- package/types/functions/security.get_allowlist.d.ts +6 -2
- package/types/functions/security.get_audit_configuration.d.ts +6 -2
- package/types/functions/security.get_certificates.d.ts +6 -2
- package/types/functions/security.get_configuration.d.ts +6 -2
- package/types/functions/security.get_dashboards_info.d.ts +6 -2
- package/types/functions/security.get_distinguished_name.d.ts +6 -2
- package/types/functions/security.get_distinguished_names.d.ts +6 -2
- package/types/functions/security.get_permissions_info.d.ts +6 -2
- package/types/functions/security.get_role.d.ts +6 -2
- package/types/functions/security.get_role_mapping.d.ts +6 -2
- package/types/functions/security.get_role_mappings.d.ts +6 -2
- package/types/functions/security.get_roles.d.ts +6 -2
- package/types/functions/security.get_sslinfo.d.ts +6 -2
- package/types/functions/security.get_tenancy_config.d.ts +6 -2
- package/types/functions/security.get_tenant.d.ts +6 -2
- package/types/functions/security.get_tenants.d.ts +6 -2
- package/types/functions/security.get_user.d.ts +6 -2
- package/types/functions/security.get_user_legacy.d.ts +6 -2
- package/types/functions/security.get_users.d.ts +6 -2
- package/types/functions/security.get_users_legacy.d.ts +6 -2
- package/types/functions/security.health.d.ts +6 -2
- package/types/functions/security.migrate.d.ts +6 -2
- package/types/functions/security.patch_action_group.d.ts +10 -6
- package/types/functions/security.patch_action_groups.d.ts +10 -6
- package/types/functions/security.patch_allowlist.d.ts +10 -6
- package/types/functions/security.patch_audit_configuration.d.ts +10 -6
- package/types/functions/security.patch_configuration.d.ts +10 -6
- package/types/functions/security.patch_distinguished_name.d.ts +6 -2
- package/types/functions/security.patch_distinguished_names.d.ts +10 -6
- package/types/functions/security.patch_role.d.ts +10 -6
- package/types/functions/security.patch_role_mapping.d.ts +10 -6
- package/types/functions/security.patch_role_mappings.d.ts +10 -6
- package/types/functions/security.patch_roles.d.ts +10 -6
- package/types/functions/security.patch_tenant.d.ts +10 -6
- package/types/functions/security.patch_tenants.d.ts +10 -6
- package/types/functions/security.patch_user.d.ts +10 -6
- package/types/functions/security.patch_users.d.ts +10 -6
- package/types/functions/security.post_dashboards_info.d.ts +6 -2
- package/types/functions/security.reload_http_certificates.d.ts +6 -2
- package/types/functions/security.reload_transport_certificates.d.ts +6 -2
- package/types/functions/security.tenant_info.d.ts +6 -2
- package/types/functions/security.update_audit_configuration.d.ts +6 -2
- package/types/functions/security.update_configuration.d.ts +6 -2
- package/types/functions/security.update_distinguished_name.d.ts +6 -2
- package/types/functions/security.validate.d.ts +6 -2
- package/types/functions/security.who_am_i.d.ts +6 -2
- package/types/functions/security.who_am_i_protected.d.ts +6 -2
- package/types/functions/snapshot.cleanup_repository.d.ts +6 -2
- package/types/functions/snapshot.clone.d.ts +10 -6
- package/types/functions/snapshot.create.d.ts +16 -12
- package/types/functions/snapshot.create_repository.d.ts +13 -9
- package/types/functions/snapshot.delete.d.ts +6 -2
- package/types/functions/snapshot.delete_repository.d.ts +6 -2
- package/types/functions/snapshot.get.d.ts +6 -2
- package/types/functions/snapshot.get_repository.d.ts +6 -2
- package/types/functions/snapshot.restore.d.ts +20 -16
- package/types/functions/snapshot.status.d.ts +6 -2
- package/types/functions/snapshot.verify_repository.d.ts +6 -2
- package/types/functions/sql.close.d.ts +6 -2
- package/types/functions/sql.explain.d.ts +6 -2
- package/types/functions/sql.get_stats.d.ts +6 -2
- package/types/functions/sql.post_stats.d.ts +6 -2
- package/types/functions/sql.query.d.ts +6 -2
- package/types/functions/sql.settings.d.ts +10 -6
- package/types/functions/tasks.cancel.d.ts +6 -2
- package/types/functions/tasks.get.d.ts +6 -2
- package/types/functions/tasks.list.d.ts +6 -2
- package/types/functions/termvectors.d.ts +13 -9
- package/types/functions/transforms.delete.d.ts +6 -2
- package/types/functions/transforms.explain.d.ts +6 -2
- package/types/functions/transforms.get.d.ts +6 -2
- package/types/functions/transforms.preview.d.ts +6 -2
- package/types/functions/transforms.put.d.ts +6 -2
- package/types/functions/transforms.search.d.ts +6 -2
- package/types/functions/transforms.start.d.ts +6 -2
- package/types/functions/transforms.stop.d.ts +6 -2
- package/types/functions/update.d.ts +17 -13
- package/types/functions/update_by_query.d.ts +15 -11
- package/types/functions/update_by_query_rethrottle.d.ts +6 -2
|
@@ -13,11 +13,12 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Common from '../components/_common'
|
|
18
19
|
import * as Cat_Shards from '../components/cat.shards'
|
|
19
20
|
|
|
20
|
-
export interface
|
|
21
|
+
export interface Cat_Shards_Request extends Global.Params {
|
|
21
22
|
bytes?: Common.Bytes;
|
|
22
23
|
cluster_manager_timeout?: Common.Duration;
|
|
23
24
|
format?: string;
|
|
@@ -31,5 +32,8 @@ export interface Request extends Global.Params {
|
|
|
31
32
|
v?: boolean;
|
|
32
33
|
}
|
|
33
34
|
|
|
34
|
-
export type
|
|
35
|
+
export type Cat_Shards_ResponseBody = Cat_Shards.ShardsRecord[]
|
|
35
36
|
|
|
37
|
+
export interface Cat_Shards_Response extends ApiResponse {
|
|
38
|
+
body: Cat_Shards_ResponseBody
|
|
39
|
+
}
|
|
@@ -13,11 +13,12 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Common from '../components/_common'
|
|
18
19
|
import * as Cat_Snapshots from '../components/cat.snapshots'
|
|
19
20
|
|
|
20
|
-
export interface
|
|
21
|
+
export interface Cat_Snapshots_Request extends Global.Params {
|
|
21
22
|
cluster_manager_timeout?: Common.Duration;
|
|
22
23
|
format?: string;
|
|
23
24
|
h?: string[];
|
|
@@ -30,5 +31,8 @@ export interface Request extends Global.Params {
|
|
|
30
31
|
v?: boolean;
|
|
31
32
|
}
|
|
32
33
|
|
|
33
|
-
export type
|
|
34
|
+
export type Cat_Snapshots_ResponseBody = Cat_Snapshots.SnapshotsRecord[]
|
|
34
35
|
|
|
36
|
+
export interface Cat_Snapshots_Response extends ApiResponse {
|
|
37
|
+
body: Cat_Snapshots_ResponseBody
|
|
38
|
+
}
|
|
@@ -13,11 +13,12 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Common from '../components/_common'
|
|
18
19
|
import * as Cat_Tasks from '../components/cat.tasks'
|
|
19
20
|
|
|
20
|
-
export interface
|
|
21
|
+
export interface Cat_Tasks_Request extends Global.Params {
|
|
21
22
|
actions?: string[];
|
|
22
23
|
detailed?: boolean;
|
|
23
24
|
format?: string;
|
|
@@ -30,5 +31,8 @@ export interface Request extends Global.Params {
|
|
|
30
31
|
v?: boolean;
|
|
31
32
|
}
|
|
32
33
|
|
|
33
|
-
export type
|
|
34
|
+
export type Cat_Tasks_ResponseBody = Cat_Tasks.TasksRecord[]
|
|
34
35
|
|
|
36
|
+
export interface Cat_Tasks_Response extends ApiResponse {
|
|
37
|
+
body: Cat_Tasks_ResponseBody
|
|
38
|
+
}
|
|
@@ -13,11 +13,12 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Common from '../components/_common'
|
|
18
19
|
import * as Cat_Templates from '../components/cat.templates'
|
|
19
20
|
|
|
20
|
-
export interface
|
|
21
|
+
export interface Cat_Templates_Request extends Global.Params {
|
|
21
22
|
cluster_manager_timeout?: Common.Duration;
|
|
22
23
|
format?: string;
|
|
23
24
|
h?: string[];
|
|
@@ -29,5 +30,8 @@ export interface Request extends Global.Params {
|
|
|
29
30
|
v?: boolean;
|
|
30
31
|
}
|
|
31
32
|
|
|
32
|
-
export type
|
|
33
|
+
export type Cat_Templates_ResponseBody = Cat_Templates.TemplatesRecord[]
|
|
33
34
|
|
|
35
|
+
export interface Cat_Templates_Response extends ApiResponse {
|
|
36
|
+
body: Cat_Templates_ResponseBody
|
|
37
|
+
}
|
|
@@ -13,11 +13,12 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Common from '../components/_common'
|
|
18
19
|
import * as Cat_ThreadPool from '../components/cat.thread_pool'
|
|
19
20
|
|
|
20
|
-
export interface
|
|
21
|
+
export interface Cat_ThreadPool_Request extends Global.Params {
|
|
21
22
|
cluster_manager_timeout?: Common.Duration;
|
|
22
23
|
format?: string;
|
|
23
24
|
h?: string[];
|
|
@@ -30,5 +31,8 @@ export interface Request extends Global.Params {
|
|
|
30
31
|
v?: boolean;
|
|
31
32
|
}
|
|
32
33
|
|
|
33
|
-
export type
|
|
34
|
+
export type Cat_ThreadPool_ResponseBody = Cat_ThreadPool.ThreadPoolRecord[]
|
|
34
35
|
|
|
36
|
+
export interface Cat_ThreadPool_Response extends ApiResponse {
|
|
37
|
+
body: Cat_ThreadPool_ResponseBody
|
|
38
|
+
}
|
|
@@ -13,20 +13,24 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
-
import
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
17
17
|
import * as Common from '../components/_common'
|
|
18
|
+
import * as Global from '../components/_global'
|
|
18
19
|
|
|
19
|
-
export interface
|
|
20
|
-
body?: RequestBody;
|
|
20
|
+
export interface ClearScroll_RequestBody {
|
|
21
21
|
scroll_id?: Common.ScrollIds;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
export interface
|
|
24
|
+
export interface ClearScroll_Request extends Global.Params {
|
|
25
|
+
body?: ClearScroll_RequestBody;
|
|
26
|
+
scroll_id?: Common.ScrollIds;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export interface ClearScroll_ResponseBody {
|
|
25
30
|
num_freed: number;
|
|
26
31
|
succeeded: boolean;
|
|
27
32
|
}
|
|
28
33
|
|
|
29
|
-
export interface
|
|
30
|
-
|
|
34
|
+
export interface ClearScroll_Response extends ApiResponse {
|
|
35
|
+
body: ClearScroll_ResponseBody
|
|
31
36
|
}
|
|
32
|
-
|
|
@@ -13,17 +13,25 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
-
import
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
17
17
|
import * as Common from '../components/_common'
|
|
18
|
+
import * as Global from '../components/_global'
|
|
18
19
|
import * as Cluster_AllocationExplain from '../components/cluster.allocation_explain'
|
|
19
20
|
|
|
20
|
-
export interface
|
|
21
|
-
|
|
21
|
+
export interface Cluster_AllocationExplain_RequestBody {
|
|
22
|
+
current_node?: string;
|
|
23
|
+
index?: Common.IndexName;
|
|
24
|
+
primary?: boolean;
|
|
25
|
+
shard?: number;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export interface Cluster_AllocationExplain_Request extends Global.Params {
|
|
29
|
+
body?: Cluster_AllocationExplain_RequestBody;
|
|
22
30
|
include_disk_info?: boolean;
|
|
23
31
|
include_yes_decisions?: boolean;
|
|
24
32
|
}
|
|
25
33
|
|
|
26
|
-
export interface
|
|
34
|
+
export interface Cluster_AllocationExplain_ResponseBody {
|
|
27
35
|
allocate_explanation?: string;
|
|
28
36
|
allocation_delay?: Common.Duration;
|
|
29
37
|
allocation_delay_in_millis?: Common.DurationValueUnitMillis;
|
|
@@ -51,10 +59,6 @@ export interface Response {
|
|
|
51
59
|
unassigned_info?: Cluster_AllocationExplain.UnassignedInformation;
|
|
52
60
|
}
|
|
53
61
|
|
|
54
|
-
export interface
|
|
55
|
-
|
|
56
|
-
index?: Common.IndexName;
|
|
57
|
-
primary?: boolean;
|
|
58
|
-
shard?: number;
|
|
62
|
+
export interface Cluster_AllocationExplain_Response extends ApiResponse {
|
|
63
|
+
body: Cluster_AllocationExplain_ResponseBody
|
|
59
64
|
}
|
|
60
|
-
|
|
@@ -13,15 +13,19 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Common from '../components/_common'
|
|
18
19
|
|
|
19
|
-
export interface
|
|
20
|
+
export interface Cluster_DeleteComponentTemplate_Request extends Global.Params {
|
|
20
21
|
cluster_manager_timeout?: Common.Duration;
|
|
21
22
|
master_timeout?: Common.Duration;
|
|
22
23
|
name: Common.Name;
|
|
23
24
|
timeout?: Common.Duration;
|
|
24
25
|
}
|
|
25
26
|
|
|
26
|
-
export type
|
|
27
|
+
export type Cluster_DeleteComponentTemplate_ResponseBody = Common.AcknowledgedResponseBase
|
|
27
28
|
|
|
29
|
+
export interface Cluster_DeleteComponentTemplate_Response extends ApiResponse {
|
|
30
|
+
body: Cluster_DeleteComponentTemplate_ResponseBody
|
|
31
|
+
}
|
|
@@ -13,9 +13,13 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
|
|
18
|
-
export type
|
|
19
|
+
export type Cluster_DeleteDecommissionAwareness_Request = Global.Params & Record<string, any>
|
|
19
20
|
|
|
20
|
-
export type
|
|
21
|
+
export type Cluster_DeleteDecommissionAwareness_ResponseBody = Record<string, any>
|
|
21
22
|
|
|
23
|
+
export interface Cluster_DeleteDecommissionAwareness_Response extends ApiResponse {
|
|
24
|
+
body: Cluster_DeleteDecommissionAwareness_ResponseBody
|
|
25
|
+
}
|
|
@@ -13,11 +13,15 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
|
|
18
|
-
export interface
|
|
19
|
+
export interface Cluster_DeleteVotingConfigExclusions_Request extends Global.Params {
|
|
19
20
|
wait_for_removal?: boolean;
|
|
20
21
|
}
|
|
21
22
|
|
|
22
|
-
export type
|
|
23
|
+
export type Cluster_DeleteVotingConfigExclusions_ResponseBody = Record<string, any>
|
|
23
24
|
|
|
25
|
+
export interface Cluster_DeleteVotingConfigExclusions_Response extends ApiResponse {
|
|
26
|
+
body: Cluster_DeleteVotingConfigExclusions_ResponseBody
|
|
27
|
+
}
|
|
@@ -13,9 +13,13 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
|
|
18
|
-
export type
|
|
19
|
+
export type Cluster_DeleteWeightedRouting_Request = Global.Params & Record<string, any>
|
|
19
20
|
|
|
20
|
-
export type
|
|
21
|
+
export type Cluster_DeleteWeightedRouting_ResponseBody = Record<string, any>
|
|
21
22
|
|
|
23
|
+
export interface Cluster_DeleteWeightedRouting_Response extends ApiResponse {
|
|
24
|
+
body: Cluster_DeleteWeightedRouting_ResponseBody
|
|
25
|
+
}
|
|
@@ -13,15 +13,19 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Common from '../components/_common'
|
|
18
19
|
|
|
19
|
-
export interface
|
|
20
|
+
export interface Cluster_ExistsComponentTemplate_Request extends Global.Params {
|
|
20
21
|
cluster_manager_timeout?: Common.Duration;
|
|
21
22
|
local?: boolean;
|
|
22
23
|
master_timeout?: Common.Duration;
|
|
23
24
|
name: Common.Name;
|
|
24
25
|
}
|
|
25
26
|
|
|
26
|
-
export type
|
|
27
|
+
export type Cluster_ExistsComponentTemplate_ResponseBody = Record<string, any>
|
|
27
28
|
|
|
29
|
+
export interface Cluster_ExistsComponentTemplate_Response extends ApiResponse {
|
|
30
|
+
body: Cluster_ExistsComponentTemplate_ResponseBody
|
|
31
|
+
}
|
|
@@ -13,18 +13,22 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Common from '../components/_common'
|
|
18
19
|
import * as Cluster_Common from '../components/cluster._common'
|
|
19
20
|
|
|
20
|
-
export interface
|
|
21
|
+
export interface Cluster_GetComponentTemplate_Request extends Global.Params {
|
|
21
22
|
cluster_manager_timeout?: Common.Duration;
|
|
22
23
|
local?: boolean;
|
|
23
24
|
master_timeout?: Common.Duration;
|
|
24
25
|
name?: Common.Name;
|
|
25
26
|
}
|
|
26
27
|
|
|
27
|
-
export interface
|
|
28
|
+
export interface Cluster_GetComponentTemplate_ResponseBody {
|
|
28
29
|
component_templates: Cluster_Common.ComponentTemplate[];
|
|
29
30
|
}
|
|
30
31
|
|
|
32
|
+
export interface Cluster_GetComponentTemplate_Response extends ApiResponse {
|
|
33
|
+
body: Cluster_GetComponentTemplate_ResponseBody
|
|
34
|
+
}
|
|
@@ -13,11 +13,15 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
|
|
18
|
-
export interface
|
|
19
|
+
export interface Cluster_GetDecommissionAwareness_Request extends Global.Params {
|
|
19
20
|
awareness_attribute_name: string;
|
|
20
21
|
}
|
|
21
22
|
|
|
22
|
-
export type
|
|
23
|
+
export type Cluster_GetDecommissionAwareness_ResponseBody = Record<string, any>
|
|
23
24
|
|
|
25
|
+
export interface Cluster_GetDecommissionAwareness_Response extends ApiResponse {
|
|
26
|
+
body: Cluster_GetDecommissionAwareness_ResponseBody
|
|
27
|
+
}
|
|
@@ -13,10 +13,11 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Common from '../components/_common'
|
|
18
19
|
|
|
19
|
-
export interface
|
|
20
|
+
export interface Cluster_GetSettings_Request extends Global.Params {
|
|
20
21
|
cluster_manager_timeout?: Common.Duration;
|
|
21
22
|
flat_settings?: boolean;
|
|
22
23
|
include_defaults?: boolean;
|
|
@@ -24,9 +25,12 @@ export interface Request extends Global.Params {
|
|
|
24
25
|
timeout?: Common.Duration;
|
|
25
26
|
}
|
|
26
27
|
|
|
27
|
-
export interface
|
|
28
|
+
export interface Cluster_GetSettings_ResponseBody {
|
|
28
29
|
defaults?: Record<string, Record<string, any>>;
|
|
29
30
|
persistent: Record<string, Record<string, any>>;
|
|
30
31
|
transient: Record<string, Record<string, any>>;
|
|
31
32
|
}
|
|
32
33
|
|
|
34
|
+
export interface Cluster_GetSettings_Response extends ApiResponse {
|
|
35
|
+
body: Cluster_GetSettings_ResponseBody
|
|
36
|
+
}
|
|
@@ -13,11 +13,15 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
|
|
18
|
-
export interface
|
|
19
|
+
export interface Cluster_GetWeightedRouting_Request extends Global.Params {
|
|
19
20
|
attribute: string;
|
|
20
21
|
}
|
|
21
22
|
|
|
22
|
-
export type
|
|
23
|
+
export type Cluster_GetWeightedRouting_ResponseBody = Record<string, any>
|
|
23
24
|
|
|
25
|
+
export interface Cluster_GetWeightedRouting_Response extends ApiResponse {
|
|
26
|
+
body: Cluster_GetWeightedRouting_ResponseBody
|
|
27
|
+
}
|
|
@@ -13,11 +13,12 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Common from '../components/_common'
|
|
18
19
|
import * as Cluster_Health from '../components/cluster.health'
|
|
19
20
|
|
|
20
|
-
export interface
|
|
21
|
+
export interface Cluster_Health_Request extends Global.Params {
|
|
21
22
|
awareness_attribute?: string;
|
|
22
23
|
cluster_manager_timeout?: Common.Duration;
|
|
23
24
|
expand_wildcards?: Common.ExpandWildcards;
|
|
@@ -34,5 +35,8 @@ export interface Request extends Global.Params {
|
|
|
34
35
|
wait_for_status?: Common.HealthStatus;
|
|
35
36
|
}
|
|
36
37
|
|
|
37
|
-
export type
|
|
38
|
+
export type Cluster_Health_ResponseBody = Cluster_Health.HealthResponseBody
|
|
38
39
|
|
|
40
|
+
export interface Cluster_Health_Response extends ApiResponse {
|
|
41
|
+
body: Cluster_Health_ResponseBody
|
|
42
|
+
}
|
|
@@ -13,17 +13,21 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Common from '../components/_common'
|
|
18
19
|
import * as Cluster_PendingTasks from '../components/cluster.pending_tasks'
|
|
19
20
|
|
|
20
|
-
export interface
|
|
21
|
+
export interface Cluster_PendingTasks_Request extends Global.Params {
|
|
21
22
|
cluster_manager_timeout?: Common.Duration;
|
|
22
23
|
local?: boolean;
|
|
23
24
|
master_timeout?: Common.Duration;
|
|
24
25
|
}
|
|
25
26
|
|
|
26
|
-
export interface
|
|
27
|
+
export interface Cluster_PendingTasks_ResponseBody {
|
|
27
28
|
tasks: Cluster_PendingTasks.PendingTask[];
|
|
28
29
|
}
|
|
29
30
|
|
|
31
|
+
export interface Cluster_PendingTasks_Response extends ApiResponse {
|
|
32
|
+
body: Cluster_PendingTasks_ResponseBody
|
|
33
|
+
}
|
|
@@ -13,14 +13,18 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Common from '../components/_common'
|
|
18
19
|
|
|
19
|
-
export interface
|
|
20
|
+
export interface Cluster_PostVotingConfigExclusions_Request extends Global.Params {
|
|
20
21
|
node_ids?: Common.Ids;
|
|
21
22
|
node_names?: Common.Names;
|
|
22
23
|
timeout?: Common.Duration;
|
|
23
24
|
}
|
|
24
25
|
|
|
25
|
-
export type
|
|
26
|
+
export type Cluster_PostVotingConfigExclusions_ResponseBody = Record<string, any>
|
|
26
27
|
|
|
28
|
+
export interface Cluster_PostVotingConfigExclusions_Response extends ApiResponse {
|
|
29
|
+
body: Cluster_PostVotingConfigExclusions_ResponseBody
|
|
30
|
+
}
|
|
@@ -13,12 +13,20 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
-
import
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
17
17
|
import * as Common from '../components/_common'
|
|
18
18
|
import * as Indices_Common from '../components/indices._common'
|
|
19
|
+
import * as Global from '../components/_global'
|
|
19
20
|
|
|
20
|
-
export interface
|
|
21
|
-
|
|
21
|
+
export interface Cluster_PutComponentTemplate_RequestBody {
|
|
22
|
+
_meta?: Common.Metadata;
|
|
23
|
+
allow_auto_create?: boolean;
|
|
24
|
+
template: Indices_Common.IndexState;
|
|
25
|
+
version?: Common.VersionNumber;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export interface Cluster_PutComponentTemplate_Request extends Global.Params {
|
|
29
|
+
body: Cluster_PutComponentTemplate_RequestBody;
|
|
22
30
|
cluster_manager_timeout?: Common.Duration;
|
|
23
31
|
create?: boolean;
|
|
24
32
|
master_timeout?: Common.Duration;
|
|
@@ -26,12 +34,8 @@ export interface Request extends Global.Params {
|
|
|
26
34
|
timeout?: Common.Duration;
|
|
27
35
|
}
|
|
28
36
|
|
|
29
|
-
export type
|
|
37
|
+
export type Cluster_PutComponentTemplate_ResponseBody = Common.AcknowledgedResponseBase
|
|
30
38
|
|
|
31
|
-
export interface
|
|
32
|
-
|
|
33
|
-
allow_auto_create?: boolean;
|
|
34
|
-
template: Indices_Common.IndexState;
|
|
35
|
-
version?: Common.VersionNumber;
|
|
39
|
+
export interface Cluster_PutComponentTemplate_Response extends ApiResponse {
|
|
40
|
+
body: Cluster_PutComponentTemplate_ResponseBody
|
|
36
41
|
}
|
|
37
|
-
|
|
@@ -13,12 +13,16 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
|
|
18
|
-
export interface
|
|
19
|
+
export interface Cluster_PutDecommissionAwareness_Request extends Global.Params {
|
|
19
20
|
awareness_attribute_name: string;
|
|
20
21
|
awareness_attribute_value: string;
|
|
21
22
|
}
|
|
22
23
|
|
|
23
|
-
export type
|
|
24
|
+
export type Cluster_PutDecommissionAwareness_ResponseBody = Record<string, any>
|
|
24
25
|
|
|
26
|
+
export interface Cluster_PutDecommissionAwareness_Response extends ApiResponse {
|
|
27
|
+
body: Cluster_PutDecommissionAwareness_ResponseBody
|
|
28
|
+
}
|
|
@@ -13,18 +13,26 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Common from '../components/_common'
|
|
18
19
|
|
|
19
|
-
export interface
|
|
20
|
-
|
|
20
|
+
export interface Cluster_PutSettings_RequestBody {
|
|
21
|
+
persistent?: {
|
|
22
|
+
};
|
|
23
|
+
transient?: {
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export interface Cluster_PutSettings_Request extends Global.Params {
|
|
28
|
+
body: Cluster_PutSettings_RequestBody;
|
|
21
29
|
cluster_manager_timeout?: Common.Duration;
|
|
22
30
|
flat_settings?: boolean;
|
|
23
31
|
master_timeout?: Common.Duration;
|
|
24
32
|
timeout?: Common.Duration;
|
|
25
33
|
}
|
|
26
34
|
|
|
27
|
-
export interface
|
|
35
|
+
export interface Cluster_PutSettings_ResponseBody {
|
|
28
36
|
acknowledged: boolean;
|
|
29
37
|
persistent: {
|
|
30
38
|
};
|
|
@@ -32,10 +40,6 @@ export interface Response {
|
|
|
32
40
|
};
|
|
33
41
|
}
|
|
34
42
|
|
|
35
|
-
export interface
|
|
36
|
-
|
|
37
|
-
};
|
|
38
|
-
transient?: {
|
|
39
|
-
};
|
|
43
|
+
export interface Cluster_PutSettings_Response extends ApiResponse {
|
|
44
|
+
body: Cluster_PutSettings_ResponseBody
|
|
40
45
|
}
|
|
41
|
-
|
|
@@ -13,11 +13,15 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
|
|
18
|
-
export interface
|
|
19
|
+
export interface Cluster_PutWeightedRouting_Request extends Global.Params {
|
|
19
20
|
attribute: string;
|
|
20
21
|
}
|
|
21
22
|
|
|
22
|
-
export type
|
|
23
|
+
export type Cluster_PutWeightedRouting_ResponseBody = Record<string, any>
|
|
23
24
|
|
|
25
|
+
export interface Cluster_PutWeightedRouting_Response extends ApiResponse {
|
|
26
|
+
body: Cluster_PutWeightedRouting_ResponseBody
|
|
27
|
+
}
|
|
@@ -13,10 +13,14 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Cluster_RemoteInfo from '../components/cluster.remote_info'
|
|
18
19
|
|
|
19
|
-
export type
|
|
20
|
+
export type Cluster_RemoteInfo_Request = Global.Params & Record<string, any>
|
|
20
21
|
|
|
21
|
-
export type
|
|
22
|
+
export type Cluster_RemoteInfo_ResponseBody = Record<string, Cluster_RemoteInfo.ClusterRemoteInfo>
|
|
22
23
|
|
|
24
|
+
export interface Cluster_RemoteInfo_Response extends ApiResponse {
|
|
25
|
+
body: Cluster_RemoteInfo_ResponseBody
|
|
26
|
+
}
|
|
@@ -13,12 +13,17 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
17
|
+
import * as Cluster_Reroute from '../components/cluster.reroute'
|
|
16
18
|
import * as Global from '../components/_global'
|
|
17
19
|
import * as Common from '../components/_common'
|
|
18
|
-
import * as Cluster_Reroute from '../components/cluster.reroute'
|
|
19
20
|
|
|
20
|
-
export interface
|
|
21
|
-
|
|
21
|
+
export interface Cluster_Reroute_RequestBody {
|
|
22
|
+
commands?: Cluster_Reroute.Command[];
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export interface Cluster_Reroute_Request extends Global.Params {
|
|
26
|
+
body?: Cluster_Reroute_RequestBody;
|
|
22
27
|
cluster_manager_timeout?: Common.Duration;
|
|
23
28
|
dry_run?: boolean;
|
|
24
29
|
explain?: boolean;
|
|
@@ -28,13 +33,12 @@ export interface Request extends Global.Params {
|
|
|
28
33
|
timeout?: Common.Duration;
|
|
29
34
|
}
|
|
30
35
|
|
|
31
|
-
export interface
|
|
36
|
+
export interface Cluster_Reroute_ResponseBody {
|
|
32
37
|
acknowledged: boolean;
|
|
33
38
|
explanations?: Cluster_Reroute.RerouteExplanation[];
|
|
34
39
|
state?: Record<string, any>;
|
|
35
40
|
}
|
|
36
41
|
|
|
37
|
-
export interface
|
|
38
|
-
|
|
42
|
+
export interface Cluster_Reroute_Response extends ApiResponse {
|
|
43
|
+
body: Cluster_Reroute_ResponseBody
|
|
39
44
|
}
|
|
40
|
-
|
|
@@ -13,11 +13,12 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Common from '../components/_common'
|
|
18
19
|
import * as Cluster_State from '../components/cluster.state'
|
|
19
20
|
|
|
20
|
-
export interface
|
|
21
|
+
export interface Cluster_State_Request extends Global.Params {
|
|
21
22
|
allow_no_indices?: boolean;
|
|
22
23
|
cluster_manager_timeout?: Common.Duration;
|
|
23
24
|
expand_wildcards?: Common.ExpandWildcards;
|
|
@@ -31,5 +32,8 @@ export interface Request extends Global.Params {
|
|
|
31
32
|
wait_for_timeout?: Common.Duration;
|
|
32
33
|
}
|
|
33
34
|
|
|
34
|
-
export type
|
|
35
|
+
export type Cluster_State_ResponseBody = Record<string, any>
|
|
35
36
|
|
|
37
|
+
export interface Cluster_State_Response extends ApiResponse {
|
|
38
|
+
body: Cluster_State_ResponseBody
|
|
39
|
+
}
|