@opensearch-project/opensearch 3.0.0-beta.2 → 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/package.json +1 -1
- package/types/Client.d.ts +1195 -1195
- 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 +8 -8
- package/types/functions/cat.aliases.d.ts +4 -4
- package/types/functions/cat.all_pit_segments.d.ts +4 -4
- package/types/functions/cat.allocation.d.ts +4 -4
- package/types/functions/cat.cluster_manager.d.ts +4 -4
- package/types/functions/cat.count.d.ts +4 -4
- package/types/functions/cat.fielddata.d.ts +4 -4
- package/types/functions/cat.health.d.ts +4 -4
- package/types/functions/cat.help.d.ts +4 -4
- package/types/functions/cat.indices.d.ts +4 -4
- package/types/functions/cat.master.d.ts +4 -4
- package/types/functions/cat.nodeattrs.d.ts +4 -4
- package/types/functions/cat.nodes.d.ts +4 -4
- package/types/functions/cat.pending_tasks.d.ts +4 -4
- package/types/functions/cat.pit_segments.d.ts +9 -9
- package/types/functions/cat.plugins.d.ts +4 -4
- package/types/functions/cat.recovery.d.ts +4 -4
- package/types/functions/cat.repositories.d.ts +4 -4
- package/types/functions/cat.segment_replication.d.ts +4 -4
- package/types/functions/cat.segments.d.ts +4 -4
- package/types/functions/cat.shards.d.ts +4 -4
- package/types/functions/cat.snapshots.d.ts +4 -4
- package/types/functions/cat.tasks.d.ts +4 -4
- package/types/functions/cat.templates.d.ts +4 -4
- package/types/functions/cat.thread_pool.d.ts +4 -4
- package/types/functions/clear_scroll.d.ts +10 -10
- package/types/functions/cluster.allocation_explain.d.ts +13 -13
- package/types/functions/cluster.delete_component_template.d.ts +4 -4
- package/types/functions/cluster.delete_decommission_awareness.d.ts +4 -4
- package/types/functions/cluster.delete_voting_config_exclusions.d.ts +4 -4
- package/types/functions/cluster.delete_weighted_routing.d.ts +4 -4
- package/types/functions/cluster.exists_component_template.d.ts +4 -4
- package/types/functions/cluster.get_component_template.d.ts +4 -4
- package/types/functions/cluster.get_decommission_awareness.d.ts +4 -4
- package/types/functions/cluster.get_settings.d.ts +4 -4
- package/types/functions/cluster.get_weighted_routing.d.ts +4 -4
- package/types/functions/cluster.health.d.ts +4 -4
- package/types/functions/cluster.pending_tasks.d.ts +4 -4
- package/types/functions/cluster.post_voting_config_exclusions.d.ts +4 -4
- package/types/functions/cluster.put_component_template.d.ts +13 -13
- package/types/functions/cluster.put_decommission_awareness.d.ts +4 -4
- package/types/functions/cluster.put_settings.d.ts +12 -12
- package/types/functions/cluster.put_weighted_routing.d.ts +4 -4
- package/types/functions/cluster.remote_info.d.ts +4 -4
- package/types/functions/cluster.reroute.d.ts +10 -10
- package/types/functions/cluster.state.d.ts +4 -4
- package/types/functions/cluster.stats.d.ts +4 -4
- package/types/functions/count.d.ts +10 -10
- package/types/functions/create.d.ts +7 -7
- package/types/functions/create_pit.d.ts +4 -4
- package/types/functions/dangling_indices.delete_dangling_index.d.ts +4 -4
- package/types/functions/dangling_indices.import_dangling_index.d.ts +4 -4
- package/types/functions/dangling_indices.list_dangling_indices.d.ts +4 -4
- package/types/functions/delete.d.ts +4 -4
- package/types/functions/delete_all_pits.d.ts +4 -4
- package/types/functions/delete_by_query.d.ts +13 -13
- package/types/functions/delete_by_query_rethrottle.d.ts +4 -4
- package/types/functions/delete_pit.d.ts +8 -8
- package/types/functions/delete_script.d.ts +4 -4
- package/types/functions/exists.d.ts +4 -4
- package/types/functions/exists_source.d.ts +4 -4
- package/types/functions/explain.d.ts +10 -10
- package/types/functions/field_caps.d.ts +13 -13
- package/types/functions/get.d.ts +4 -4
- package/types/functions/get_all_pits.d.ts +4 -4
- package/types/functions/get_script.d.ts +4 -4
- package/types/functions/get_script_context.d.ts +4 -4
- package/types/functions/get_script_languages.d.ts +4 -4
- package/types/functions/get_source.d.ts +4 -4
- package/types/functions/index.d.ts +7 -7
- package/types/functions/indices.add_block.d.ts +4 -4
- package/types/functions/indices.analyze.d.ts +15 -15
- package/types/functions/indices.clear_cache.d.ts +4 -4
- package/types/functions/indices.clone.d.ts +11 -11
- package/types/functions/indices.close.d.ts +4 -4
- package/types/functions/indices.create.d.ts +13 -13
- package/types/functions/indices.create_data_stream.d.ts +7 -7
- package/types/functions/indices.data_streams_stats.d.ts +4 -4
- package/types/functions/indices.delete.d.ts +4 -4
- package/types/functions/indices.delete_alias.d.ts +4 -4
- package/types/functions/indices.delete_data_stream.d.ts +4 -4
- package/types/functions/indices.delete_index_template.d.ts +4 -4
- package/types/functions/indices.delete_template.d.ts +4 -4
- package/types/functions/indices.exists.d.ts +4 -4
- package/types/functions/indices.exists_alias.d.ts +4 -4
- package/types/functions/indices.exists_index_template.d.ts +4 -4
- package/types/functions/indices.exists_template.d.ts +4 -4
- package/types/functions/indices.flush.d.ts +4 -4
- package/types/functions/indices.forcemerge.d.ts +4 -4
- package/types/functions/indices.get.d.ts +4 -4
- package/types/functions/indices.get_alias.d.ts +4 -4
- package/types/functions/indices.get_data_stream.d.ts +4 -4
- package/types/functions/indices.get_field_mapping.d.ts +4 -4
- package/types/functions/indices.get_index_template.d.ts +4 -4
- package/types/functions/indices.get_mapping.d.ts +4 -4
- package/types/functions/indices.get_settings.d.ts +4 -4
- package/types/functions/indices.get_template.d.ts +4 -4
- package/types/functions/indices.get_upgrade.d.ts +4 -4
- package/types/functions/indices.open.d.ts +4 -4
- package/types/functions/indices.put_alias.d.ts +16 -16
- package/types/functions/indices.put_index_template.d.ts +15 -15
- package/types/functions/indices.put_mapping.d.ts +19 -19
- package/types/functions/indices.put_settings.d.ts +4 -4
- package/types/functions/indices.put_template.d.ts +16 -16
- package/types/functions/indices.recovery.d.ts +4 -4
- package/types/functions/indices.refresh.d.ts +4 -4
- package/types/functions/indices.resolve_index.d.ts +4 -4
- package/types/functions/indices.rollover.d.ts +14 -14
- package/types/functions/indices.segments.d.ts +4 -4
- package/types/functions/indices.shard_stores.d.ts +4 -4
- package/types/functions/indices.shrink.d.ts +11 -11
- package/types/functions/indices.simulate_index_template.d.ts +15 -15
- package/types/functions/indices.simulate_template.d.ts +4 -4
- package/types/functions/indices.split.d.ts +12 -12
- package/types/functions/indices.stats.d.ts +4 -4
- package/types/functions/indices.update_aliases.d.ts +10 -10
- package/types/functions/indices.upgrade.d.ts +4 -4
- package/types/functions/indices.validate_query.d.ts +10 -10
- package/types/functions/info.d.ts +4 -4
- package/types/functions/ingest.delete_pipeline.d.ts +4 -4
- package/types/functions/ingest.get_pipeline.d.ts +4 -4
- package/types/functions/ingest.processor_grok.d.ts +4 -4
- package/types/functions/ingest.put_pipeline.d.ts +14 -14
- package/types/functions/ingest.simulate.d.ts +12 -12
- package/types/functions/knn.delete_model.d.ts +4 -4
- package/types/functions/knn.get_model.d.ts +4 -4
- package/types/functions/knn.search_models.d.ts +7 -7
- package/types/functions/knn.stats.d.ts +4 -4
- package/types/functions/knn.train_model.d.ts +11 -11
- package/types/functions/knn.warmup.d.ts +4 -4
- package/types/functions/mget.d.ts +12 -12
- package/types/functions/ml.delete_model.d.ts +4 -4
- package/types/functions/ml.delete_model_group.d.ts +4 -4
- package/types/functions/ml.get_model_group.d.ts +4 -4
- package/types/functions/ml.get_task.d.ts +4 -4
- package/types/functions/ml.register_model.d.ts +9 -9
- package/types/functions/ml.register_model_group.d.ts +9 -9
- package/types/functions/ml.search_models.d.ts +4 -4
- package/types/functions/msearch.d.ts +8 -8
- package/types/functions/msearch_template.d.ts +8 -8
- package/types/functions/mtermvectors.d.ts +12 -12
- package/types/functions/nodes.hot_threads.d.ts +4 -4
- package/types/functions/nodes.info.d.ts +4 -4
- package/types/functions/nodes.reload_secure_settings.d.ts +10 -10
- package/types/functions/nodes.stats.d.ts +4 -4
- package/types/functions/nodes.usage.d.ts +4 -4
- package/types/functions/notifications.create_config.d.ts +4 -4
- package/types/functions/notifications.delete_config.d.ts +4 -4
- package/types/functions/notifications.delete_configs.d.ts +4 -4
- package/types/functions/notifications.get_config.d.ts +4 -4
- package/types/functions/notifications.get_configs.d.ts +13 -13
- package/types/functions/notifications.list_channels.d.ts +4 -4
- package/types/functions/notifications.list_features.d.ts +4 -4
- package/types/functions/notifications.send_test.d.ts +4 -4
- package/types/functions/notifications.update_config.d.ts +4 -4
- package/types/functions/ping.d.ts +4 -4
- package/types/functions/ppl.explain.d.ts +4 -4
- package/types/functions/ppl.get_stats.d.ts +4 -4
- package/types/functions/ppl.post_stats.d.ts +4 -4
- package/types/functions/ppl.query.d.ts +4 -4
- package/types/functions/put_script.d.ts +10 -10
- package/types/functions/rank_eval.d.ts +11 -11
- package/types/functions/reindex.d.ts +15 -15
- package/types/functions/reindex_rethrottle.d.ts +4 -4
- package/types/functions/remote_store.restore.d.ts +9 -9
- package/types/functions/render_search_template.d.ts +11 -11
- package/types/functions/rollups.delete.d.ts +4 -4
- package/types/functions/rollups.explain.d.ts +4 -4
- package/types/functions/rollups.get.d.ts +4 -4
- package/types/functions/rollups.put.d.ts +4 -4
- package/types/functions/rollups.start.d.ts +4 -4
- package/types/functions/rollups.stop.d.ts +4 -4
- package/types/functions/scripts_painless_execute.d.ts +11 -11
- package/types/functions/scroll.d.ts +11 -11
- package/types/functions/search.d.ts +44 -44
- package/types/functions/search_pipeline.delete.d.ts +4 -4
- package/types/functions/search_pipeline.get.d.ts +4 -4
- package/types/functions/search_pipeline.put.d.ts +4 -4
- package/types/functions/search_shards.d.ts +4 -4
- package/types/functions/search_template.d.ts +14 -14
- package/types/functions/security.authinfo.d.ts +4 -4
- package/types/functions/security.authtoken.d.ts +4 -4
- package/types/functions/security.change_password.d.ts +4 -4
- package/types/functions/security.config_upgrade_check.d.ts +4 -4
- package/types/functions/security.config_upgrade_perform.d.ts +4 -4
- package/types/functions/security.create_action_group.d.ts +4 -4
- package/types/functions/security.create_allowlist.d.ts +4 -4
- package/types/functions/security.create_role.d.ts +4 -4
- package/types/functions/security.create_role_mapping.d.ts +4 -4
- package/types/functions/security.create_tenant.d.ts +4 -4
- package/types/functions/security.create_update_tenancy_config.d.ts +8 -8
- package/types/functions/security.create_user.d.ts +4 -4
- package/types/functions/security.create_user_legacy.d.ts +4 -4
- package/types/functions/security.delete_action_group.d.ts +4 -4
- package/types/functions/security.delete_distinguished_name.d.ts +4 -4
- package/types/functions/security.delete_role.d.ts +4 -4
- package/types/functions/security.delete_role_mapping.d.ts +4 -4
- package/types/functions/security.delete_tenant.d.ts +4 -4
- package/types/functions/security.delete_user.d.ts +4 -4
- package/types/functions/security.delete_user_legacy.d.ts +4 -4
- package/types/functions/security.flush_cache.d.ts +4 -4
- package/types/functions/security.generate_obo_token.d.ts +4 -4
- package/types/functions/security.generate_user_token.d.ts +4 -4
- package/types/functions/security.generate_user_token_legacy.d.ts +4 -4
- package/types/functions/security.get_account_details.d.ts +4 -4
- package/types/functions/security.get_action_group.d.ts +4 -4
- package/types/functions/security.get_action_groups.d.ts +4 -4
- package/types/functions/security.get_allowlist.d.ts +4 -4
- package/types/functions/security.get_audit_configuration.d.ts +4 -4
- package/types/functions/security.get_certificates.d.ts +4 -4
- package/types/functions/security.get_configuration.d.ts +4 -4
- package/types/functions/security.get_dashboards_info.d.ts +4 -4
- package/types/functions/security.get_distinguished_name.d.ts +4 -4
- package/types/functions/security.get_distinguished_names.d.ts +4 -4
- package/types/functions/security.get_permissions_info.d.ts +4 -4
- package/types/functions/security.get_role.d.ts +4 -4
- package/types/functions/security.get_role_mapping.d.ts +4 -4
- package/types/functions/security.get_role_mappings.d.ts +4 -4
- package/types/functions/security.get_roles.d.ts +4 -4
- package/types/functions/security.get_sslinfo.d.ts +4 -4
- package/types/functions/security.get_tenancy_config.d.ts +4 -4
- package/types/functions/security.get_tenant.d.ts +4 -4
- package/types/functions/security.get_tenants.d.ts +4 -4
- package/types/functions/security.get_user.d.ts +4 -4
- package/types/functions/security.get_user_legacy.d.ts +4 -4
- package/types/functions/security.get_users.d.ts +4 -4
- package/types/functions/security.get_users_legacy.d.ts +4 -4
- package/types/functions/security.health.d.ts +4 -4
- package/types/functions/security.migrate.d.ts +4 -4
- package/types/functions/security.patch_action_group.d.ts +8 -8
- package/types/functions/security.patch_action_groups.d.ts +8 -8
- package/types/functions/security.patch_allowlist.d.ts +8 -8
- package/types/functions/security.patch_audit_configuration.d.ts +8 -8
- package/types/functions/security.patch_configuration.d.ts +8 -8
- package/types/functions/security.patch_distinguished_name.d.ts +4 -4
- package/types/functions/security.patch_distinguished_names.d.ts +8 -8
- package/types/functions/security.patch_role.d.ts +8 -8
- package/types/functions/security.patch_role_mapping.d.ts +8 -8
- package/types/functions/security.patch_role_mappings.d.ts +8 -8
- package/types/functions/security.patch_roles.d.ts +8 -8
- package/types/functions/security.patch_tenant.d.ts +8 -8
- package/types/functions/security.patch_tenants.d.ts +8 -8
- package/types/functions/security.patch_user.d.ts +8 -8
- package/types/functions/security.patch_users.d.ts +8 -8
- package/types/functions/security.post_dashboards_info.d.ts +4 -4
- package/types/functions/security.reload_http_certificates.d.ts +4 -4
- package/types/functions/security.reload_transport_certificates.d.ts +4 -4
- package/types/functions/security.tenant_info.d.ts +4 -4
- package/types/functions/security.update_audit_configuration.d.ts +4 -4
- package/types/functions/security.update_configuration.d.ts +4 -4
- package/types/functions/security.update_distinguished_name.d.ts +4 -4
- package/types/functions/security.validate.d.ts +4 -4
- package/types/functions/security.who_am_i.d.ts +4 -4
- package/types/functions/security.who_am_i_protected.d.ts +4 -4
- package/types/functions/snapshot.cleanup_repository.d.ts +4 -4
- package/types/functions/snapshot.clone.d.ts +9 -9
- package/types/functions/snapshot.create.d.ts +15 -15
- package/types/functions/snapshot.create_repository.d.ts +12 -12
- package/types/functions/snapshot.delete.d.ts +4 -4
- package/types/functions/snapshot.delete_repository.d.ts +4 -4
- package/types/functions/snapshot.get.d.ts +4 -4
- package/types/functions/snapshot.get_repository.d.ts +4 -4
- package/types/functions/snapshot.restore.d.ts +18 -18
- package/types/functions/snapshot.status.d.ts +4 -4
- package/types/functions/snapshot.verify_repository.d.ts +4 -4
- package/types/functions/sql.close.d.ts +4 -4
- package/types/functions/sql.explain.d.ts +4 -4
- package/types/functions/sql.get_stats.d.ts +4 -4
- package/types/functions/sql.post_stats.d.ts +4 -4
- package/types/functions/sql.query.d.ts +4 -4
- package/types/functions/sql.settings.d.ts +8 -8
- package/types/functions/tasks.cancel.d.ts +4 -4
- package/types/functions/tasks.get.d.ts +4 -4
- package/types/functions/tasks.list.d.ts +4 -4
- package/types/functions/termvectors.d.ts +12 -12
- package/types/functions/transforms.delete.d.ts +4 -4
- package/types/functions/transforms.explain.d.ts +4 -4
- package/types/functions/transforms.get.d.ts +4 -4
- package/types/functions/transforms.preview.d.ts +4 -4
- package/types/functions/transforms.put.d.ts +4 -4
- package/types/functions/transforms.search.d.ts +4 -4
- package/types/functions/transforms.start.d.ts +4 -4
- package/types/functions/transforms.stop.d.ts +4 -4
- package/types/functions/update.d.ts +16 -16
- package/types/functions/update_by_query.d.ts +14 -14
- package/types/functions/update_by_query_rethrottle.d.ts +4 -4
|
@@ -14,22 +14,11 @@
|
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
import { ApiResponse } from '../../lib/Transport'
|
|
17
|
-
import * as Global from '../components/_global'
|
|
18
|
-
import * as Common from '../components/_common'
|
|
19
17
|
import * as Common_QueryDsl from '../components/_common.query_dsl'
|
|
18
|
+
import * as Common from '../components/_common'
|
|
19
|
+
import * as Global from '../components/_global'
|
|
20
20
|
|
|
21
|
-
export interface
|
|
22
|
-
body?: RequestBody;
|
|
23
|
-
cluster_manager_timeout?: Common.Duration;
|
|
24
|
-
index?: Common.Indices;
|
|
25
|
-
master_timeout?: Common.Duration;
|
|
26
|
-
name?: Common.Name;
|
|
27
|
-
timeout?: Common.Duration;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export type ResponseBody = Common.AcknowledgedResponseBase
|
|
31
|
-
|
|
32
|
-
export interface RequestBody {
|
|
21
|
+
export interface Indices_PutAlias_RequestBody {
|
|
33
22
|
alias?: string;
|
|
34
23
|
filter?: Common_QueryDsl.QueryContainer;
|
|
35
24
|
index?: string;
|
|
@@ -40,6 +29,17 @@ export interface RequestBody {
|
|
|
40
29
|
search_routing?: Common.Routing;
|
|
41
30
|
}
|
|
42
31
|
|
|
43
|
-
export interface
|
|
44
|
-
body
|
|
32
|
+
export interface Indices_PutAlias_Request extends Global.Params {
|
|
33
|
+
body?: Indices_PutAlias_RequestBody;
|
|
34
|
+
cluster_manager_timeout?: Common.Duration;
|
|
35
|
+
index?: Common.Indices;
|
|
36
|
+
master_timeout?: Common.Duration;
|
|
37
|
+
name?: Common.Name;
|
|
38
|
+
timeout?: Common.Duration;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export type Indices_PutAlias_ResponseBody = Common.AcknowledgedResponseBase
|
|
42
|
+
|
|
43
|
+
export interface Indices_PutAlias_Response extends ApiResponse {
|
|
44
|
+
body: Indices_PutAlias_ResponseBody
|
|
45
45
|
}
|
|
@@ -14,23 +14,12 @@
|
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
import { ApiResponse } from '../../lib/Transport'
|
|
17
|
-
import * as Global from '../components/_global'
|
|
18
17
|
import * as Common from '../components/_common'
|
|
19
18
|
import * as Indices_Common from '../components/indices._common'
|
|
20
19
|
import * as Indices_PutIndexTemplate from '../components/indices.put_index_template'
|
|
20
|
+
import * as Global from '../components/_global'
|
|
21
21
|
|
|
22
|
-
export interface
|
|
23
|
-
body: RequestBody;
|
|
24
|
-
cause?: string;
|
|
25
|
-
cluster_manager_timeout?: Common.Duration;
|
|
26
|
-
create?: boolean;
|
|
27
|
-
master_timeout?: Common.Duration;
|
|
28
|
-
name: Common.Name;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export type ResponseBody = Common.AcknowledgedResponseBase
|
|
32
|
-
|
|
33
|
-
export interface RequestBody {
|
|
22
|
+
export interface Indices_PutIndexTemplate_RequestBody {
|
|
34
23
|
_meta?: Common.Metadata;
|
|
35
24
|
composed_of?: Common.Name[];
|
|
36
25
|
data_stream?: Indices_Common.IndexTemplateDataStreamConfiguration;
|
|
@@ -40,6 +29,17 @@ export interface RequestBody {
|
|
|
40
29
|
version?: Common.VersionNumber;
|
|
41
30
|
}
|
|
42
31
|
|
|
43
|
-
export interface
|
|
44
|
-
body:
|
|
32
|
+
export interface Indices_PutIndexTemplate_Request extends Global.Params {
|
|
33
|
+
body: Indices_PutIndexTemplate_RequestBody;
|
|
34
|
+
cause?: string;
|
|
35
|
+
cluster_manager_timeout?: Common.Duration;
|
|
36
|
+
create?: boolean;
|
|
37
|
+
master_timeout?: Common.Duration;
|
|
38
|
+
name: Common.Name;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export type Indices_PutIndexTemplate_ResponseBody = Common.AcknowledgedResponseBase
|
|
42
|
+
|
|
43
|
+
export interface Indices_PutIndexTemplate_Response extends ApiResponse {
|
|
44
|
+
body: Indices_PutIndexTemplate_ResponseBody
|
|
45
45
|
}
|
|
@@ -14,25 +14,11 @@
|
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
import { ApiResponse } from '../../lib/Transport'
|
|
17
|
-
import * as Global from '../components/_global'
|
|
18
|
-
import * as Common from '../components/_common'
|
|
19
17
|
import * as Common_Mapping from '../components/_common.mapping'
|
|
18
|
+
import * as Common from '../components/_common'
|
|
19
|
+
import * as Global from '../components/_global'
|
|
20
20
|
|
|
21
|
-
export interface
|
|
22
|
-
allow_no_indices?: boolean;
|
|
23
|
-
body: RequestBody;
|
|
24
|
-
cluster_manager_timeout?: Common.Duration;
|
|
25
|
-
expand_wildcards?: Common.ExpandWildcards;
|
|
26
|
-
ignore_unavailable?: boolean;
|
|
27
|
-
index: Common.Indices;
|
|
28
|
-
master_timeout?: Common.Duration;
|
|
29
|
-
timeout?: Common.Duration;
|
|
30
|
-
write_index_only?: boolean;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export type ResponseBody = Common.IndicesResponseBase
|
|
34
|
-
|
|
35
|
-
export interface RequestBody {
|
|
21
|
+
export interface Indices_PutMapping_RequestBody {
|
|
36
22
|
_field_names?: Common_Mapping.FieldNamesField;
|
|
37
23
|
_meta?: Common.Metadata;
|
|
38
24
|
_routing?: Common_Mapping.RoutingField;
|
|
@@ -46,6 +32,20 @@ export interface RequestBody {
|
|
|
46
32
|
runtime?: Common_Mapping.RuntimeFields;
|
|
47
33
|
}
|
|
48
34
|
|
|
49
|
-
export interface
|
|
50
|
-
|
|
35
|
+
export interface Indices_PutMapping_Request extends Global.Params {
|
|
36
|
+
allow_no_indices?: boolean;
|
|
37
|
+
body: Indices_PutMapping_RequestBody;
|
|
38
|
+
cluster_manager_timeout?: Common.Duration;
|
|
39
|
+
expand_wildcards?: Common.ExpandWildcards;
|
|
40
|
+
ignore_unavailable?: boolean;
|
|
41
|
+
index: Common.Indices;
|
|
42
|
+
master_timeout?: Common.Duration;
|
|
43
|
+
timeout?: Common.Duration;
|
|
44
|
+
write_index_only?: boolean;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export type Indices_PutMapping_ResponseBody = Common.IndicesResponseBase
|
|
48
|
+
|
|
49
|
+
export interface Indices_PutMapping_Response extends ApiResponse {
|
|
50
|
+
body: Indices_PutMapping_ResponseBody
|
|
51
51
|
}
|
|
@@ -18,7 +18,7 @@ import * as Global from '../components/_global'
|
|
|
18
18
|
import * as Indices_Common from '../components/indices._common'
|
|
19
19
|
import * as Common from '../components/_common'
|
|
20
20
|
|
|
21
|
-
export interface
|
|
21
|
+
export interface Indices_PutSettings_Request extends Global.Params {
|
|
22
22
|
allow_no_indices?: boolean;
|
|
23
23
|
body: Indices_Common.IndexSettings;
|
|
24
24
|
cluster_manager_timeout?: Common.Duration;
|
|
@@ -31,8 +31,8 @@ export interface Request extends Global.Params {
|
|
|
31
31
|
timeout?: Common.Duration;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
export type
|
|
34
|
+
export type Indices_PutSettings_ResponseBody = Common.AcknowledgedResponseBase
|
|
35
35
|
|
|
36
|
-
export interface
|
|
37
|
-
body:
|
|
36
|
+
export interface Indices_PutSettings_Response extends ApiResponse {
|
|
37
|
+
body: Indices_PutSettings_ResponseBody
|
|
38
38
|
}
|
|
@@ -14,23 +14,12 @@
|
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
import { ApiResponse } from '../../lib/Transport'
|
|
17
|
-
import * as Global from '../components/_global'
|
|
18
|
-
import * as Common from '../components/_common'
|
|
19
17
|
import * as Indices_Common from '../components/indices._common'
|
|
20
18
|
import * as Common_Mapping from '../components/_common.mapping'
|
|
19
|
+
import * as Common from '../components/_common'
|
|
20
|
+
import * as Global from '../components/_global'
|
|
21
21
|
|
|
22
|
-
export interface
|
|
23
|
-
body: RequestBody;
|
|
24
|
-
cluster_manager_timeout?: Common.Duration;
|
|
25
|
-
create?: boolean;
|
|
26
|
-
master_timeout?: Common.Duration;
|
|
27
|
-
name: Common.Name;
|
|
28
|
-
order?: number;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export type ResponseBody = Common.AcknowledgedResponseBase
|
|
32
|
-
|
|
33
|
-
export interface RequestBody {
|
|
22
|
+
export interface Indices_PutTemplate_RequestBody {
|
|
34
23
|
aliases?: Record<string, Indices_Common.Alias>;
|
|
35
24
|
index_patterns?: string | string[];
|
|
36
25
|
mappings?: Common_Mapping.TypeMapping;
|
|
@@ -39,6 +28,17 @@ export interface RequestBody {
|
|
|
39
28
|
version?: Common.VersionNumber;
|
|
40
29
|
}
|
|
41
30
|
|
|
42
|
-
export interface
|
|
43
|
-
body:
|
|
31
|
+
export interface Indices_PutTemplate_Request extends Global.Params {
|
|
32
|
+
body: Indices_PutTemplate_RequestBody;
|
|
33
|
+
cluster_manager_timeout?: Common.Duration;
|
|
34
|
+
create?: boolean;
|
|
35
|
+
master_timeout?: Common.Duration;
|
|
36
|
+
name: Common.Name;
|
|
37
|
+
order?: number;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export type Indices_PutTemplate_ResponseBody = Common.AcknowledgedResponseBase
|
|
41
|
+
|
|
42
|
+
export interface Indices_PutTemplate_Response extends ApiResponse {
|
|
43
|
+
body: Indices_PutTemplate_ResponseBody
|
|
44
44
|
}
|
|
@@ -18,14 +18,14 @@ import * as Global from '../components/_global'
|
|
|
18
18
|
import * as Common from '../components/_common'
|
|
19
19
|
import * as Indices_Recovery from '../components/indices.recovery'
|
|
20
20
|
|
|
21
|
-
export interface
|
|
21
|
+
export interface Indices_Recovery_Request extends Global.Params {
|
|
22
22
|
active_only?: boolean;
|
|
23
23
|
detailed?: boolean;
|
|
24
24
|
index?: Common.Indices;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
export type
|
|
27
|
+
export type Indices_Recovery_ResponseBody = Record<string, Indices_Recovery.RecoveryStatus>
|
|
28
28
|
|
|
29
|
-
export interface
|
|
30
|
-
body:
|
|
29
|
+
export interface Indices_Recovery_Response extends ApiResponse {
|
|
30
|
+
body: Indices_Recovery_ResponseBody
|
|
31
31
|
}
|
|
@@ -17,15 +17,15 @@ import { ApiResponse } from '../../lib/Transport'
|
|
|
17
17
|
import * as Global from '../components/_global'
|
|
18
18
|
import * as Common from '../components/_common'
|
|
19
19
|
|
|
20
|
-
export interface
|
|
20
|
+
export interface Indices_Refresh_Request extends Global.Params {
|
|
21
21
|
allow_no_indices?: boolean;
|
|
22
22
|
expand_wildcards?: Common.ExpandWildcards;
|
|
23
23
|
ignore_unavailable?: boolean;
|
|
24
24
|
index?: Common.Indices;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
export type
|
|
27
|
+
export type Indices_Refresh_ResponseBody = Common.ShardsOperationResponseBase
|
|
28
28
|
|
|
29
|
-
export interface
|
|
30
|
-
body:
|
|
29
|
+
export interface Indices_Refresh_Response extends ApiResponse {
|
|
30
|
+
body: Indices_Refresh_ResponseBody
|
|
31
31
|
}
|
|
@@ -18,17 +18,17 @@ import * as Global from '../components/_global'
|
|
|
18
18
|
import * as Common from '../components/_common'
|
|
19
19
|
import * as Indices_ResolveIndex from '../components/indices.resolve_index'
|
|
20
20
|
|
|
21
|
-
export interface
|
|
21
|
+
export interface Indices_ResolveIndex_Request extends Global.Params {
|
|
22
22
|
expand_wildcards?: Common.ExpandWildcards;
|
|
23
23
|
name: Common.Names;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export interface
|
|
26
|
+
export interface Indices_ResolveIndex_ResponseBody {
|
|
27
27
|
aliases: Indices_ResolveIndex.ResolveIndexAliasItem[];
|
|
28
28
|
data_streams: Indices_ResolveIndex.ResolveIndexDataStreamsItem[];
|
|
29
29
|
indices: Indices_ResolveIndex.ResolveIndexItem[];
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export interface
|
|
33
|
-
body:
|
|
32
|
+
export interface Indices_ResolveIndex_Response extends ApiResponse {
|
|
33
|
+
body: Indices_ResolveIndex_ResponseBody
|
|
34
34
|
}
|
|
@@ -14,15 +14,22 @@
|
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
import { ApiResponse } from '../../lib/Transport'
|
|
17
|
-
import * as Global from '../components/_global'
|
|
18
|
-
import * as Common from '../components/_common'
|
|
19
17
|
import * as Indices_Common from '../components/indices._common'
|
|
20
18
|
import * as Indices_Rollover from '../components/indices.rollover'
|
|
21
19
|
import * as Common_Mapping from '../components/_common.mapping'
|
|
20
|
+
import * as Global from '../components/_global'
|
|
21
|
+
import * as Common from '../components/_common'
|
|
22
|
+
|
|
23
|
+
export interface Indices_Rollover_RequestBody {
|
|
24
|
+
aliases?: Record<string, Indices_Common.Alias>;
|
|
25
|
+
conditions?: Indices_Rollover.RolloverConditions;
|
|
26
|
+
mappings?: Common_Mapping.TypeMapping;
|
|
27
|
+
settings?: Record<string, Record<string, any>>;
|
|
28
|
+
}
|
|
22
29
|
|
|
23
|
-
export interface
|
|
30
|
+
export interface Indices_Rollover_Request extends Global.Params {
|
|
24
31
|
alias: Common.IndexAlias;
|
|
25
|
-
body?:
|
|
32
|
+
body?: Indices_Rollover_RequestBody;
|
|
26
33
|
cluster_manager_timeout?: Common.Duration;
|
|
27
34
|
dry_run?: boolean;
|
|
28
35
|
master_timeout?: Common.Duration;
|
|
@@ -31,7 +38,7 @@ export interface Request extends Global.Params {
|
|
|
31
38
|
wait_for_active_shards?: Common.WaitForActiveShards;
|
|
32
39
|
}
|
|
33
40
|
|
|
34
|
-
export interface
|
|
41
|
+
export interface Indices_Rollover_ResponseBody {
|
|
35
42
|
acknowledged: boolean;
|
|
36
43
|
conditions: Record<string, boolean>;
|
|
37
44
|
dry_run: boolean;
|
|
@@ -41,13 +48,6 @@ export interface ResponseBody {
|
|
|
41
48
|
shards_acknowledged: boolean;
|
|
42
49
|
}
|
|
43
50
|
|
|
44
|
-
export interface
|
|
45
|
-
|
|
46
|
-
conditions?: Indices_Rollover.RolloverConditions;
|
|
47
|
-
mappings?: Common_Mapping.TypeMapping;
|
|
48
|
-
settings?: Record<string, Record<string, any>>;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export interface Response extends ApiResponse {
|
|
52
|
-
body: ResponseBody
|
|
51
|
+
export interface Indices_Rollover_Response extends ApiResponse {
|
|
52
|
+
body: Indices_Rollover_ResponseBody
|
|
53
53
|
}
|
|
@@ -18,7 +18,7 @@ import * as Global from '../components/_global'
|
|
|
18
18
|
import * as Common from '../components/_common'
|
|
19
19
|
import * as Indices_Segments from '../components/indices.segments'
|
|
20
20
|
|
|
21
|
-
export interface
|
|
21
|
+
export interface Indices_Segments_Request extends Global.Params {
|
|
22
22
|
allow_no_indices?: boolean;
|
|
23
23
|
expand_wildcards?: Common.ExpandWildcards;
|
|
24
24
|
ignore_unavailable?: boolean;
|
|
@@ -26,11 +26,11 @@ export interface Request extends Global.Params {
|
|
|
26
26
|
verbose?: boolean;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
export interface
|
|
29
|
+
export interface Indices_Segments_ResponseBody {
|
|
30
30
|
_shards: Common.ShardStatistics;
|
|
31
31
|
indices: Record<string, Indices_Segments.IndexSegment>;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
export interface
|
|
35
|
-
body:
|
|
34
|
+
export interface Indices_Segments_Response extends ApiResponse {
|
|
35
|
+
body: Indices_Segments_ResponseBody
|
|
36
36
|
}
|
|
@@ -18,7 +18,7 @@ import * as Global from '../components/_global'
|
|
|
18
18
|
import * as Common from '../components/_common'
|
|
19
19
|
import * as Indices_ShardStores from '../components/indices.shard_stores'
|
|
20
20
|
|
|
21
|
-
export interface
|
|
21
|
+
export interface Indices_ShardStores_Request extends Global.Params {
|
|
22
22
|
allow_no_indices?: boolean;
|
|
23
23
|
expand_wildcards?: Common.ExpandWildcards;
|
|
24
24
|
ignore_unavailable?: boolean;
|
|
@@ -26,10 +26,10 @@ export interface Request extends Global.Params {
|
|
|
26
26
|
status?: Indices_ShardStores.ShardStoreStatus | Indices_ShardStores.ShardStoreStatus[];
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
export interface
|
|
29
|
+
export interface Indices_ShardStores_ResponseBody {
|
|
30
30
|
indices: Record<string, Indices_ShardStores.IndicesShardStores>;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
export interface
|
|
34
|
-
body:
|
|
33
|
+
export interface Indices_ShardStores_Response extends ApiResponse {
|
|
34
|
+
body: Indices_ShardStores_ResponseBody
|
|
35
35
|
}
|
|
@@ -14,12 +14,17 @@
|
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
import { ApiResponse } from '../../lib/Transport'
|
|
17
|
+
import * as Indices_Common from '../components/indices._common'
|
|
17
18
|
import * as Global from '../components/_global'
|
|
18
19
|
import * as Common from '../components/_common'
|
|
19
|
-
import * as Indices_Common from '../components/indices._common'
|
|
20
20
|
|
|
21
|
-
export interface
|
|
22
|
-
|
|
21
|
+
export interface Indices_Shrink_RequestBody {
|
|
22
|
+
aliases?: Record<string, Indices_Common.Alias>;
|
|
23
|
+
settings?: Record<string, Record<string, any>>;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export interface Indices_Shrink_Request extends Global.Params {
|
|
27
|
+
body?: Indices_Shrink_RequestBody;
|
|
23
28
|
cluster_manager_timeout?: Common.Duration;
|
|
24
29
|
copy_settings?: boolean;
|
|
25
30
|
index: Common.IndexName;
|
|
@@ -31,17 +36,12 @@ export interface Request extends Global.Params {
|
|
|
31
36
|
wait_for_completion?: boolean;
|
|
32
37
|
}
|
|
33
38
|
|
|
34
|
-
export interface
|
|
39
|
+
export interface Indices_Shrink_ResponseBody {
|
|
35
40
|
acknowledged: boolean;
|
|
36
41
|
index: Common.IndexName;
|
|
37
42
|
shards_acknowledged: boolean;
|
|
38
43
|
}
|
|
39
44
|
|
|
40
|
-
export interface
|
|
41
|
-
|
|
42
|
-
settings?: Record<string, Record<string, any>>;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export interface Response extends ApiResponse {
|
|
46
|
-
body: ResponseBody
|
|
45
|
+
export interface Indices_Shrink_Response extends ApiResponse {
|
|
46
|
+
body: Indices_Shrink_ResponseBody
|
|
47
47
|
}
|
|
@@ -14,23 +14,12 @@
|
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
import { ApiResponse } from '../../lib/Transport'
|
|
17
|
-
import * as Global from '../components/_global'
|
|
18
17
|
import * as Common from '../components/_common'
|
|
19
18
|
import * as Indices_Common from '../components/indices._common'
|
|
20
19
|
import * as Indices_PutIndexTemplate from '../components/indices.put_index_template'
|
|
20
|
+
import * as Global from '../components/_global'
|
|
21
21
|
|
|
22
|
-
export interface
|
|
23
|
-
body?: RequestBody;
|
|
24
|
-
cause?: string;
|
|
25
|
-
cluster_manager_timeout?: Common.Duration;
|
|
26
|
-
create?: boolean;
|
|
27
|
-
master_timeout?: Common.Duration;
|
|
28
|
-
name: Common.Name;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export type ResponseBody = Record<string, any>
|
|
32
|
-
|
|
33
|
-
export interface RequestBody {
|
|
22
|
+
export interface Indices_SimulateIndexTemplate_RequestBody {
|
|
34
23
|
_meta?: Common.Metadata;
|
|
35
24
|
allow_auto_create?: boolean;
|
|
36
25
|
composed_of?: Common.Name[];
|
|
@@ -41,6 +30,17 @@ export interface RequestBody {
|
|
|
41
30
|
version?: Common.VersionNumber;
|
|
42
31
|
}
|
|
43
32
|
|
|
44
|
-
export interface
|
|
45
|
-
body
|
|
33
|
+
export interface Indices_SimulateIndexTemplate_Request extends Global.Params {
|
|
34
|
+
body?: Indices_SimulateIndexTemplate_RequestBody;
|
|
35
|
+
cause?: string;
|
|
36
|
+
cluster_manager_timeout?: Common.Duration;
|
|
37
|
+
create?: boolean;
|
|
38
|
+
master_timeout?: Common.Duration;
|
|
39
|
+
name: Common.Name;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export type Indices_SimulateIndexTemplate_ResponseBody = Record<string, any>
|
|
43
|
+
|
|
44
|
+
export interface Indices_SimulateIndexTemplate_Response extends ApiResponse {
|
|
45
|
+
body: Indices_SimulateIndexTemplate_ResponseBody
|
|
46
46
|
}
|
|
@@ -19,7 +19,7 @@ import * as Indices_Common from '../components/indices._common'
|
|
|
19
19
|
import * as Common from '../components/_common'
|
|
20
20
|
import * as Indices_SimulateTemplate from '../components/indices.simulate_template'
|
|
21
21
|
|
|
22
|
-
export interface
|
|
22
|
+
export interface Indices_SimulateTemplate_Request extends Global.Params {
|
|
23
23
|
body?: Indices_Common.IndexTemplate;
|
|
24
24
|
cause?: string;
|
|
25
25
|
cluster_manager_timeout?: Common.Duration;
|
|
@@ -28,11 +28,11 @@ export interface Request extends Global.Params {
|
|
|
28
28
|
name?: Common.Name;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
export interface
|
|
31
|
+
export interface Indices_SimulateTemplate_ResponseBody {
|
|
32
32
|
overlapping?: Indices_SimulateTemplate.Overlapping[];
|
|
33
33
|
template: Indices_SimulateTemplate.Template;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
export interface
|
|
37
|
-
body:
|
|
36
|
+
export interface Indices_SimulateTemplate_Response extends ApiResponse {
|
|
37
|
+
body: Indices_SimulateTemplate_ResponseBody
|
|
38
38
|
}
|
|
@@ -14,12 +14,18 @@
|
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
import { ApiResponse } from '../../lib/Transport'
|
|
17
|
+
import * as Indices_Common from '../components/indices._common'
|
|
17
18
|
import * as Global from '../components/_global'
|
|
18
19
|
import * as Common from '../components/_common'
|
|
19
|
-
import * as Indices_Common from '../components/indices._common'
|
|
20
20
|
|
|
21
|
-
export interface
|
|
22
|
-
|
|
21
|
+
export interface Indices_Split_RequestBody {
|
|
22
|
+
aliases?: Record<string, Indices_Common.Alias>;
|
|
23
|
+
settings?: {
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export interface Indices_Split_Request extends Global.Params {
|
|
28
|
+
body?: Indices_Split_RequestBody;
|
|
23
29
|
cluster_manager_timeout?: Common.Duration;
|
|
24
30
|
copy_settings?: boolean;
|
|
25
31
|
index: Common.IndexName;
|
|
@@ -31,18 +37,12 @@ export interface Request extends Global.Params {
|
|
|
31
37
|
wait_for_completion?: boolean;
|
|
32
38
|
}
|
|
33
39
|
|
|
34
|
-
export interface
|
|
40
|
+
export interface Indices_Split_ResponseBody {
|
|
35
41
|
acknowledged: boolean;
|
|
36
42
|
index: Common.IndexName;
|
|
37
43
|
shards_acknowledged: boolean;
|
|
38
44
|
}
|
|
39
45
|
|
|
40
|
-
export interface
|
|
41
|
-
|
|
42
|
-
settings?: {
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
export interface Response extends ApiResponse {
|
|
47
|
-
body: ResponseBody
|
|
46
|
+
export interface Indices_Split_Response extends ApiResponse {
|
|
47
|
+
body: Indices_Split_ResponseBody
|
|
48
48
|
}
|
|
@@ -18,7 +18,7 @@ import * as Global from '../components/_global'
|
|
|
18
18
|
import * as Common from '../components/_common'
|
|
19
19
|
import * as Indices_Stats from '../components/indices.stats'
|
|
20
20
|
|
|
21
|
-
export interface
|
|
21
|
+
export interface Indices_Stats_Request extends Global.Params {
|
|
22
22
|
completion_fields?: Common.Fields;
|
|
23
23
|
expand_wildcards?: Common.ExpandWildcards;
|
|
24
24
|
fielddata_fields?: Common.Fields;
|
|
@@ -32,12 +32,12 @@ export interface Request extends Global.Params {
|
|
|
32
32
|
metric?: Common.Metrics;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
export interface
|
|
35
|
+
export interface Indices_Stats_ResponseBody {
|
|
36
36
|
_all: Indices_Stats.IndicesStats;
|
|
37
37
|
_shards: Common.ShardStatistics;
|
|
38
38
|
indices?: Record<string, Indices_Stats.IndicesStats>;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
export interface
|
|
42
|
-
body:
|
|
41
|
+
export interface Indices_Stats_Response extends ApiResponse {
|
|
42
|
+
body: Indices_Stats_ResponseBody
|
|
43
43
|
}
|
|
@@ -14,23 +14,23 @@
|
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
import { ApiResponse } from '../../lib/Transport'
|
|
17
|
+
import * as Indices_UpdateAliases from '../components/indices.update_aliases'
|
|
17
18
|
import * as Global from '../components/_global'
|
|
18
19
|
import * as Common from '../components/_common'
|
|
19
|
-
import * as Indices_UpdateAliases from '../components/indices.update_aliases'
|
|
20
20
|
|
|
21
|
-
export interface
|
|
22
|
-
|
|
21
|
+
export interface Indices_UpdateAliases_RequestBody {
|
|
22
|
+
actions?: Indices_UpdateAliases.Action[];
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export interface Indices_UpdateAliases_Request extends Global.Params {
|
|
26
|
+
body: Indices_UpdateAliases_RequestBody;
|
|
23
27
|
cluster_manager_timeout?: Common.Duration;
|
|
24
28
|
master_timeout?: Common.Duration;
|
|
25
29
|
timeout?: Common.Duration;
|
|
26
30
|
}
|
|
27
31
|
|
|
28
|
-
export type
|
|
29
|
-
|
|
30
|
-
export interface RequestBody {
|
|
31
|
-
actions?: Indices_UpdateAliases.Action[];
|
|
32
|
-
}
|
|
32
|
+
export type Indices_UpdateAliases_ResponseBody = Common.AcknowledgedResponseBase
|
|
33
33
|
|
|
34
|
-
export interface
|
|
35
|
-
body:
|
|
34
|
+
export interface Indices_UpdateAliases_Response extends ApiResponse {
|
|
35
|
+
body: Indices_UpdateAliases_ResponseBody
|
|
36
36
|
}
|
|
@@ -17,7 +17,7 @@ import { ApiResponse } from '../../lib/Transport'
|
|
|
17
17
|
import * as Global from '../components/_global'
|
|
18
18
|
import * as Common from '../components/_common'
|
|
19
19
|
|
|
20
|
-
export interface
|
|
20
|
+
export interface Indices_Upgrade_Request extends Global.Params {
|
|
21
21
|
allow_no_indices?: boolean;
|
|
22
22
|
expand_wildcards?: Common.ExpandWildcards;
|
|
23
23
|
ignore_unavailable?: boolean;
|
|
@@ -26,8 +26,8 @@ export interface Request extends Global.Params {
|
|
|
26
26
|
wait_for_completion?: boolean;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
export type
|
|
29
|
+
export type Indices_Upgrade_ResponseBody = Record<string, any>
|
|
30
30
|
|
|
31
|
-
export interface
|
|
32
|
-
body:
|
|
31
|
+
export interface Indices_Upgrade_Response extends ApiResponse {
|
|
32
|
+
body: Indices_Upgrade_ResponseBody
|
|
33
33
|
}
|
|
@@ -14,17 +14,21 @@
|
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
import { ApiResponse } from '../../lib/Transport'
|
|
17
|
-
import * as Global from '../components/_global'
|
|
18
17
|
import * as Common_QueryDsl from '../components/_common.query_dsl'
|
|
18
|
+
import * as Global from '../components/_global'
|
|
19
19
|
import * as Common from '../components/_common'
|
|
20
20
|
import * as Indices_ValidateQuery from '../components/indices.validate_query'
|
|
21
21
|
|
|
22
|
-
export interface
|
|
22
|
+
export interface Indices_ValidateQuery_RequestBody {
|
|
23
|
+
query?: Common_QueryDsl.QueryContainer;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export interface Indices_ValidateQuery_Request extends Global.Params {
|
|
23
27
|
all_shards?: boolean;
|
|
24
28
|
allow_no_indices?: boolean;
|
|
25
29
|
analyze_wildcard?: boolean;
|
|
26
30
|
analyzer?: string;
|
|
27
|
-
body?:
|
|
31
|
+
body?: Indices_ValidateQuery_RequestBody;
|
|
28
32
|
default_operator?: Common_QueryDsl.Operator;
|
|
29
33
|
df?: string;
|
|
30
34
|
expand_wildcards?: Common.ExpandWildcards;
|
|
@@ -36,17 +40,13 @@ export interface Request extends Global.Params {
|
|
|
36
40
|
rewrite?: boolean;
|
|
37
41
|
}
|
|
38
42
|
|
|
39
|
-
export interface
|
|
43
|
+
export interface Indices_ValidateQuery_ResponseBody {
|
|
40
44
|
_shards?: Common.ShardStatistics;
|
|
41
45
|
error?: string;
|
|
42
46
|
explanations?: Indices_ValidateQuery.IndicesValidationExplanation[];
|
|
43
47
|
valid: boolean;
|
|
44
48
|
}
|
|
45
49
|
|
|
46
|
-
export interface
|
|
47
|
-
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export interface Response extends ApiResponse {
|
|
51
|
-
body: ResponseBody
|
|
50
|
+
export interface Indices_ValidateQuery_Response extends ApiResponse {
|
|
51
|
+
body: Indices_ValidateQuery_ResponseBody
|
|
52
52
|
}
|