@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
|
@@ -17,8 +17,10 @@ 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
|
|
21
|
-
|
|
20
|
+
export type Create_RequestBody = Record<string, any>
|
|
21
|
+
|
|
22
|
+
export interface Create_Request extends Global.Params {
|
|
23
|
+
body: Create_RequestBody;
|
|
22
24
|
id: Common.Id;
|
|
23
25
|
index: Common.IndexName;
|
|
24
26
|
pipeline?: string;
|
|
@@ -30,10 +32,8 @@ export interface Request extends Global.Params {
|
|
|
30
32
|
wait_for_active_shards?: Common.WaitForActiveShards;
|
|
31
33
|
}
|
|
32
34
|
|
|
33
|
-
export type
|
|
34
|
-
|
|
35
|
-
export type RequestBody = Record<string, any>
|
|
35
|
+
export type Create_ResponseBody = Common.WriteResponseBase
|
|
36
36
|
|
|
37
|
-
export interface
|
|
38
|
-
body:
|
|
37
|
+
export interface Create_Response extends ApiResponse {
|
|
38
|
+
body: Create_ResponseBody
|
|
39
39
|
}
|
|
@@ -18,7 +18,7 @@ import * as Global from '../components/_global'
|
|
|
18
18
|
import * as Common from '../components/_common'
|
|
19
19
|
import * as Core_Common from '../components/_core._common'
|
|
20
20
|
|
|
21
|
-
export interface
|
|
21
|
+
export interface CreatePit_Request extends Global.Params {
|
|
22
22
|
allow_partial_pit_creation?: boolean;
|
|
23
23
|
expand_wildcards?: Common.ExpandWildcards;
|
|
24
24
|
index: string[];
|
|
@@ -27,12 +27,12 @@ export interface Request extends Global.Params {
|
|
|
27
27
|
routing?: string[];
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
export interface
|
|
30
|
+
export interface CreatePit_ResponseBody {
|
|
31
31
|
_shards?: Core_Common.ShardStatistics;
|
|
32
32
|
creation_time?: number;
|
|
33
33
|
pit_id?: string;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
export interface
|
|
37
|
-
body:
|
|
36
|
+
export interface CreatePit_Response extends ApiResponse {
|
|
37
|
+
body: CreatePit_ResponseBody
|
|
38
38
|
}
|
|
@@ -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 DanglingIndices_DeleteDanglingIndex_Request extends Global.Params {
|
|
21
21
|
accept_data_loss: boolean;
|
|
22
22
|
cluster_manager_timeout?: Common.Duration;
|
|
23
23
|
index_uuid: Common.Uuid;
|
|
@@ -25,8 +25,8 @@ export interface Request extends Global.Params {
|
|
|
25
25
|
timeout?: Common.Duration;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
export type
|
|
28
|
+
export type DanglingIndices_DeleteDanglingIndex_ResponseBody = Common.AcknowledgedResponseBase
|
|
29
29
|
|
|
30
|
-
export interface
|
|
31
|
-
body:
|
|
30
|
+
export interface DanglingIndices_DeleteDanglingIndex_Response extends ApiResponse {
|
|
31
|
+
body: DanglingIndices_DeleteDanglingIndex_ResponseBody
|
|
32
32
|
}
|
|
@@ -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 DanglingIndices_ImportDanglingIndex_Request extends Global.Params {
|
|
21
21
|
accept_data_loss: boolean;
|
|
22
22
|
cluster_manager_timeout?: Common.Duration;
|
|
23
23
|
index_uuid: Common.Uuid;
|
|
@@ -25,8 +25,8 @@ export interface Request extends Global.Params {
|
|
|
25
25
|
timeout?: Common.Duration;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
export type
|
|
28
|
+
export type DanglingIndices_ImportDanglingIndex_ResponseBody = Common.AcknowledgedResponseBase
|
|
29
29
|
|
|
30
|
-
export interface
|
|
31
|
-
body:
|
|
30
|
+
export interface DanglingIndices_ImportDanglingIndex_Response extends ApiResponse {
|
|
31
|
+
body: DanglingIndices_ImportDanglingIndex_ResponseBody
|
|
32
32
|
}
|
|
@@ -18,14 +18,14 @@ import * as Global from '../components/_global'
|
|
|
18
18
|
import * as Common from '../components/_common'
|
|
19
19
|
import * as DanglingIndices_ListDanglingIndices from '../components/dangling_indices.list_dangling_indices'
|
|
20
20
|
|
|
21
|
-
export type
|
|
21
|
+
export type DanglingIndices_ListDanglingIndices_Request = Global.Params & Record<string, any>
|
|
22
22
|
|
|
23
|
-
export interface
|
|
23
|
+
export interface DanglingIndices_ListDanglingIndices_ResponseBody {
|
|
24
24
|
_nodes?: Common.NodeStatistics;
|
|
25
25
|
cluster_name?: Common.Name;
|
|
26
26
|
dangling_indices: DanglingIndices_ListDanglingIndices.DanglingIndex[];
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
export interface
|
|
30
|
-
body:
|
|
29
|
+
export interface DanglingIndices_ListDanglingIndices_Response extends ApiResponse {
|
|
30
|
+
body: DanglingIndices_ListDanglingIndices_ResponseBody
|
|
31
31
|
}
|
|
@@ -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 Delete_Request extends Global.Params {
|
|
21
21
|
id: Common.Id;
|
|
22
22
|
if_primary_term?: number;
|
|
23
23
|
if_seq_no?: Common.SequenceNumber;
|
|
@@ -30,8 +30,8 @@ export interface Request extends Global.Params {
|
|
|
30
30
|
wait_for_active_shards?: Common.WaitForActiveShards;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
export type
|
|
33
|
+
export type Delete_ResponseBody = Common.WriteResponseBase
|
|
34
34
|
|
|
35
|
-
export interface
|
|
36
|
-
body:
|
|
35
|
+
export interface Delete_Response extends ApiResponse {
|
|
36
|
+
body: Delete_ResponseBody
|
|
37
37
|
}
|
|
@@ -17,12 +17,12 @@ import { ApiResponse } from '../../lib/Transport'
|
|
|
17
17
|
import * as Global from '../components/_global'
|
|
18
18
|
import * as Core_Common from '../components/_core._common'
|
|
19
19
|
|
|
20
|
-
export type
|
|
20
|
+
export type DeleteAllPits_Request = Global.Params & Record<string, any>
|
|
21
21
|
|
|
22
|
-
export interface
|
|
22
|
+
export interface DeleteAllPits_ResponseBody {
|
|
23
23
|
pits?: Core_Common.PitsDetailsDeleteAll[];
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export interface
|
|
27
|
-
body:
|
|
26
|
+
export interface DeleteAllPits_Response extends ApiResponse {
|
|
27
|
+
body: DeleteAllPits_ResponseBody
|
|
28
28
|
}
|
|
@@ -14,18 +14,24 @@
|
|
|
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
|
+
|
|
21
|
+
export interface DeleteByQuery_RequestBody {
|
|
22
|
+
max_docs?: number;
|
|
23
|
+
query?: Common_QueryDsl.QueryContainer;
|
|
24
|
+
slice?: Common.SlicedScroll;
|
|
25
|
+
}
|
|
20
26
|
|
|
21
|
-
export interface
|
|
27
|
+
export interface DeleteByQuery_Request extends Global.Params {
|
|
22
28
|
_source?: string[];
|
|
23
29
|
_source_excludes?: string[];
|
|
24
30
|
_source_includes?: string[];
|
|
25
31
|
allow_no_indices?: boolean;
|
|
26
32
|
analyze_wildcard?: boolean;
|
|
27
33
|
analyzer?: string;
|
|
28
|
-
body:
|
|
34
|
+
body: DeleteByQuery_RequestBody;
|
|
29
35
|
conflicts?: Common.Conflicts;
|
|
30
36
|
default_operator?: Common_QueryDsl.Operator;
|
|
31
37
|
df?: string;
|
|
@@ -56,7 +62,7 @@ export interface Request extends Global.Params {
|
|
|
56
62
|
wait_for_completion?: boolean;
|
|
57
63
|
}
|
|
58
64
|
|
|
59
|
-
export interface
|
|
65
|
+
export interface DeleteByQuery_ResponseBody {
|
|
60
66
|
batches?: number;
|
|
61
67
|
deleted?: number;
|
|
62
68
|
failures?: Common.BulkIndexByScrollFailure[];
|
|
@@ -75,12 +81,6 @@ export interface ResponseBody {
|
|
|
75
81
|
version_conflicts?: number;
|
|
76
82
|
}
|
|
77
83
|
|
|
78
|
-
export interface
|
|
79
|
-
|
|
80
|
-
query?: Common_QueryDsl.QueryContainer;
|
|
81
|
-
slice?: Common.SlicedScroll;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
export interface Response extends ApiResponse {
|
|
85
|
-
body: ResponseBody
|
|
84
|
+
export interface DeleteByQuery_Response extends ApiResponse {
|
|
85
|
+
body: DeleteByQuery_ResponseBody
|
|
86
86
|
}
|
|
@@ -18,13 +18,13 @@ import * as Global from '../components/_global'
|
|
|
18
18
|
import * as Common from '../components/_common'
|
|
19
19
|
import * as Tasks_Common from '../components/tasks._common'
|
|
20
20
|
|
|
21
|
-
export interface
|
|
21
|
+
export interface DeleteByQueryRethrottle_Request extends Global.Params {
|
|
22
22
|
requests_per_second?: number;
|
|
23
23
|
task_id: Common.TaskId;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export type
|
|
26
|
+
export type DeleteByQueryRethrottle_ResponseBody = Tasks_Common.TaskListResponseBase
|
|
27
27
|
|
|
28
|
-
export interface
|
|
29
|
-
body:
|
|
28
|
+
export interface DeleteByQueryRethrottle_Response extends ApiResponse {
|
|
29
|
+
body: DeleteByQueryRethrottle_ResponseBody
|
|
30
30
|
}
|
|
@@ -17,18 +17,18 @@ import { ApiResponse } from '../../lib/Transport'
|
|
|
17
17
|
import * as Global from '../components/_global'
|
|
18
18
|
import * as Core_Common from '../components/_core._common'
|
|
19
19
|
|
|
20
|
-
export interface
|
|
21
|
-
|
|
20
|
+
export interface DeletePit_RequestBody {
|
|
21
|
+
pit_id: string[];
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
export interface
|
|
25
|
-
|
|
24
|
+
export interface DeletePit_Request extends Global.Params {
|
|
25
|
+
body?: DeletePit_RequestBody;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
export interface
|
|
29
|
-
|
|
28
|
+
export interface DeletePit_ResponseBody {
|
|
29
|
+
pits?: Core_Common.DeletedPit[];
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export interface
|
|
33
|
-
body:
|
|
32
|
+
export interface DeletePit_Response extends ApiResponse {
|
|
33
|
+
body: DeletePit_ResponseBody
|
|
34
34
|
}
|
|
@@ -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 DeleteScript_Request extends Global.Params {
|
|
21
21
|
cluster_manager_timeout?: Common.Duration;
|
|
22
22
|
id: Common.Id;
|
|
23
23
|
master_timeout?: Common.Duration;
|
|
24
24
|
timeout?: Common.Duration;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
export type
|
|
27
|
+
export type DeleteScript_ResponseBody = Common.AcknowledgedResponseBase
|
|
28
28
|
|
|
29
|
-
export interface
|
|
30
|
-
body:
|
|
29
|
+
export interface DeleteScript_Response extends ApiResponse {
|
|
30
|
+
body: DeleteScript_ResponseBody
|
|
31
31
|
}
|
|
@@ -18,7 +18,7 @@ import * as Global from '../components/_global'
|
|
|
18
18
|
import * as Core_Search from '../components/_core.search'
|
|
19
19
|
import * as Common from '../components/_common'
|
|
20
20
|
|
|
21
|
-
export interface
|
|
21
|
+
export interface Exists_Request extends Global.Params {
|
|
22
22
|
_source?: Core_Search.SourceConfigParam;
|
|
23
23
|
_source_excludes?: Common.Fields;
|
|
24
24
|
_source_includes?: Common.Fields;
|
|
@@ -33,8 +33,8 @@ export interface Request extends Global.Params {
|
|
|
33
33
|
version_type?: Common.VersionType;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
export type
|
|
36
|
+
export type Exists_ResponseBody = Record<string, any>
|
|
37
37
|
|
|
38
|
-
export interface
|
|
39
|
-
body:
|
|
38
|
+
export interface Exists_Response extends ApiResponse {
|
|
39
|
+
body: Exists_ResponseBody
|
|
40
40
|
}
|
|
@@ -18,7 +18,7 @@ import * as Global from '../components/_global'
|
|
|
18
18
|
import * as Core_Search from '../components/_core.search'
|
|
19
19
|
import * as Common from '../components/_common'
|
|
20
20
|
|
|
21
|
-
export interface
|
|
21
|
+
export interface ExistsSource_Request extends Global.Params {
|
|
22
22
|
_source?: Core_Search.SourceConfigParam;
|
|
23
23
|
_source_excludes?: Common.Fields;
|
|
24
24
|
_source_includes?: Common.Fields;
|
|
@@ -32,8 +32,8 @@ export interface Request extends Global.Params {
|
|
|
32
32
|
version_type?: Common.VersionType;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
export type
|
|
35
|
+
export type ExistsSource_ResponseBody = Record<string, any>
|
|
36
36
|
|
|
37
|
-
export interface
|
|
38
|
-
body:
|
|
37
|
+
export interface ExistsSource_Response extends ApiResponse {
|
|
38
|
+
body: ExistsSource_ResponseBody
|
|
39
39
|
}
|
|
@@ -14,19 +14,23 @@
|
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
import { ApiResponse } from '../../lib/Transport'
|
|
17
|
+
import * as Common_QueryDsl from '../components/_common.query_dsl'
|
|
17
18
|
import * as Global from '../components/_global'
|
|
18
19
|
import * as Core_Search from '../components/_core.search'
|
|
19
20
|
import * as Common from '../components/_common'
|
|
20
|
-
import * as Common_QueryDsl from '../components/_common.query_dsl'
|
|
21
21
|
import * as Core_Explain from '../components/_core.explain'
|
|
22
22
|
|
|
23
|
-
export interface
|
|
23
|
+
export interface Explain_RequestBody {
|
|
24
|
+
query?: Common_QueryDsl.QueryContainer;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export interface Explain_Request extends Global.Params {
|
|
24
28
|
_source?: Core_Search.SourceConfigParam;
|
|
25
29
|
_source_excludes?: Common.Fields;
|
|
26
30
|
_source_includes?: Common.Fields;
|
|
27
31
|
analyze_wildcard?: boolean;
|
|
28
32
|
analyzer?: string;
|
|
29
|
-
body?:
|
|
33
|
+
body?: Explain_RequestBody;
|
|
30
34
|
default_operator?: Common_QueryDsl.Operator;
|
|
31
35
|
df?: string;
|
|
32
36
|
id: Common.Id;
|
|
@@ -38,7 +42,7 @@ export interface Request extends Global.Params {
|
|
|
38
42
|
stored_fields?: Common.Fields;
|
|
39
43
|
}
|
|
40
44
|
|
|
41
|
-
export interface
|
|
45
|
+
export interface Explain_ResponseBody {
|
|
42
46
|
_id: Common.Id;
|
|
43
47
|
_index: Common.IndexName;
|
|
44
48
|
explanation?: Core_Explain.ExplanationDetail;
|
|
@@ -46,10 +50,6 @@ export interface ResponseBody {
|
|
|
46
50
|
matched: boolean;
|
|
47
51
|
}
|
|
48
52
|
|
|
49
|
-
export interface
|
|
50
|
-
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
export interface Response extends ApiResponse {
|
|
54
|
-
body: ResponseBody
|
|
53
|
+
export interface Explain_Response extends ApiResponse {
|
|
54
|
+
body: Explain_ResponseBody
|
|
55
55
|
}
|
|
@@ -14,15 +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 from '../components/_common'
|
|
19
|
-
import * as Core_FieldCaps from '../components/_core.field_caps'
|
|
20
18
|
import * as Common_QueryDsl from '../components/_common.query_dsl'
|
|
21
19
|
import * as Common_Mapping from '../components/_common.mapping'
|
|
20
|
+
import * as Global from '../components/_global'
|
|
21
|
+
import * as Core_FieldCaps from '../components/_core.field_caps'
|
|
22
|
+
|
|
23
|
+
export interface FieldCaps_RequestBody {
|
|
24
|
+
fields?: Common.Fields;
|
|
25
|
+
index_filter?: Common_QueryDsl.QueryContainer;
|
|
26
|
+
runtime_mappings?: Common_Mapping.RuntimeFields;
|
|
27
|
+
}
|
|
22
28
|
|
|
23
|
-
export interface
|
|
29
|
+
export interface FieldCaps_Request extends Global.Params {
|
|
24
30
|
allow_no_indices?: boolean;
|
|
25
|
-
body?:
|
|
31
|
+
body?: FieldCaps_RequestBody;
|
|
26
32
|
expand_wildcards?: Common.ExpandWildcards;
|
|
27
33
|
fields?: Common.Fields;
|
|
28
34
|
ignore_unavailable?: boolean;
|
|
@@ -30,17 +36,11 @@ export interface Request extends Global.Params {
|
|
|
30
36
|
index?: Common.Indices;
|
|
31
37
|
}
|
|
32
38
|
|
|
33
|
-
export interface
|
|
39
|
+
export interface FieldCaps_ResponseBody {
|
|
34
40
|
fields: Record<string, Record<string, Core_FieldCaps.FieldCapability>>;
|
|
35
41
|
indices: Common.Indices;
|
|
36
42
|
}
|
|
37
43
|
|
|
38
|
-
export interface
|
|
39
|
-
|
|
40
|
-
index_filter?: Common_QueryDsl.QueryContainer;
|
|
41
|
-
runtime_mappings?: Common_Mapping.RuntimeFields;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export interface Response extends ApiResponse {
|
|
45
|
-
body: ResponseBody
|
|
44
|
+
export interface FieldCaps_Response extends ApiResponse {
|
|
45
|
+
body: FieldCaps_ResponseBody
|
|
46
46
|
}
|
package/types/functions/get.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ import * as Core_Search from '../components/_core.search'
|
|
|
19
19
|
import * as Common from '../components/_common'
|
|
20
20
|
import * as Core_Get from '../components/_core.get'
|
|
21
21
|
|
|
22
|
-
export interface
|
|
22
|
+
export interface Get_Request extends Global.Params {
|
|
23
23
|
_source?: Core_Search.SourceConfigParam;
|
|
24
24
|
_source_excludes?: Common.Fields;
|
|
25
25
|
_source_includes?: Common.Fields;
|
|
@@ -34,8 +34,8 @@ export interface Request extends Global.Params {
|
|
|
34
34
|
version_type?: Common.VersionType;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
export type
|
|
37
|
+
export type Get_ResponseBody = Core_Get.GetResult
|
|
38
38
|
|
|
39
|
-
export interface
|
|
40
|
-
body:
|
|
39
|
+
export interface Get_Response extends ApiResponse {
|
|
40
|
+
body: Get_ResponseBody
|
|
41
41
|
}
|
|
@@ -17,12 +17,12 @@ import { ApiResponse } from '../../lib/Transport'
|
|
|
17
17
|
import * as Global from '../components/_global'
|
|
18
18
|
import * as Core_Common from '../components/_core._common'
|
|
19
19
|
|
|
20
|
-
export type
|
|
20
|
+
export type GetAllPits_Request = Global.Params & Record<string, any>
|
|
21
21
|
|
|
22
|
-
export interface
|
|
22
|
+
export interface GetAllPits_ResponseBody {
|
|
23
23
|
pits?: Core_Common.PitDetail[];
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export interface
|
|
27
|
-
body:
|
|
26
|
+
export interface GetAllPits_Response extends ApiResponse {
|
|
27
|
+
body: GetAllPits_ResponseBody
|
|
28
28
|
}
|
|
@@ -17,18 +17,18 @@ 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 GetScript_Request extends Global.Params {
|
|
21
21
|
cluster_manager_timeout?: Common.Duration;
|
|
22
22
|
id: Common.Id;
|
|
23
23
|
master_timeout?: Common.Duration;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export interface
|
|
26
|
+
export interface GetScript_ResponseBody {
|
|
27
27
|
_id: Common.Id;
|
|
28
28
|
found: boolean;
|
|
29
29
|
script?: Common.StoredScript;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export interface
|
|
33
|
-
body:
|
|
32
|
+
export interface GetScript_Response extends ApiResponse {
|
|
33
|
+
body: GetScript_ResponseBody
|
|
34
34
|
}
|
|
@@ -17,12 +17,12 @@ import { ApiResponse } from '../../lib/Transport'
|
|
|
17
17
|
import * as Global from '../components/_global'
|
|
18
18
|
import * as Core_GetScriptContext from '../components/_core.get_script_context'
|
|
19
19
|
|
|
20
|
-
export type
|
|
20
|
+
export type GetScriptContext_Request = Global.Params & Record<string, any>
|
|
21
21
|
|
|
22
|
-
export interface
|
|
22
|
+
export interface GetScriptContext_ResponseBody {
|
|
23
23
|
contexts: Core_GetScriptContext.Context[];
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export interface
|
|
27
|
-
body:
|
|
26
|
+
export interface GetScriptContext_Response extends ApiResponse {
|
|
27
|
+
body: GetScriptContext_ResponseBody
|
|
28
28
|
}
|
|
@@ -17,13 +17,13 @@ import { ApiResponse } from '../../lib/Transport'
|
|
|
17
17
|
import * as Global from '../components/_global'
|
|
18
18
|
import * as Core_GetScriptLanguages from '../components/_core.get_script_languages'
|
|
19
19
|
|
|
20
|
-
export type
|
|
20
|
+
export type GetScriptLanguages_Request = Global.Params & Record<string, any>
|
|
21
21
|
|
|
22
|
-
export interface
|
|
22
|
+
export interface GetScriptLanguages_ResponseBody {
|
|
23
23
|
language_contexts: Core_GetScriptLanguages.LanguageContext[];
|
|
24
24
|
types_allowed: string[];
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
export interface
|
|
28
|
-
body:
|
|
27
|
+
export interface GetScriptLanguages_Response extends ApiResponse {
|
|
28
|
+
body: GetScriptLanguages_ResponseBody
|
|
29
29
|
}
|
|
@@ -18,7 +18,7 @@ import * as Global from '../components/_global'
|
|
|
18
18
|
import * as Core_Search from '../components/_core.search'
|
|
19
19
|
import * as Common from '../components/_common'
|
|
20
20
|
|
|
21
|
-
export interface
|
|
21
|
+
export interface GetSource_Request extends Global.Params {
|
|
22
22
|
_source?: Core_Search.SourceConfigParam;
|
|
23
23
|
_source_excludes?: Common.Fields;
|
|
24
24
|
_source_includes?: Common.Fields;
|
|
@@ -32,8 +32,8 @@ export interface Request extends Global.Params {
|
|
|
32
32
|
version_type?: Common.VersionType;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
export type
|
|
35
|
+
export type GetSource_ResponseBody = Record<string, any>
|
|
36
36
|
|
|
37
|
-
export interface
|
|
38
|
-
body:
|
|
37
|
+
export interface GetSource_Response extends ApiResponse {
|
|
38
|
+
body: GetSource_ResponseBody
|
|
39
39
|
}
|
|
@@ -17,8 +17,10 @@ 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
|
|
21
|
-
|
|
20
|
+
export type Index_RequestBody = Record<string, any>
|
|
21
|
+
|
|
22
|
+
export interface Index_Request extends Global.Params {
|
|
23
|
+
body: Index_RequestBody;
|
|
22
24
|
id?: Common.Id;
|
|
23
25
|
if_primary_term?: number;
|
|
24
26
|
if_seq_no?: Common.SequenceNumber;
|
|
@@ -34,10 +36,8 @@ export interface Request extends Global.Params {
|
|
|
34
36
|
wait_for_active_shards?: Common.WaitForActiveShards;
|
|
35
37
|
}
|
|
36
38
|
|
|
37
|
-
export type
|
|
38
|
-
|
|
39
|
-
export type RequestBody = Record<string, any>
|
|
39
|
+
export type Index_ResponseBody = Common.WriteResponseBase
|
|
40
40
|
|
|
41
|
-
export interface
|
|
42
|
-
body:
|
|
41
|
+
export interface Index_Response extends ApiResponse {
|
|
42
|
+
body: Index_ResponseBody
|
|
43
43
|
}
|
|
@@ -18,7 +18,7 @@ import * as Global from '../components/_global'
|
|
|
18
18
|
import * as Indices_AddBlock from '../components/indices.add_block'
|
|
19
19
|
import * as Common from '../components/_common'
|
|
20
20
|
|
|
21
|
-
export interface
|
|
21
|
+
export interface Indices_AddBlock_Request extends Global.Params {
|
|
22
22
|
allow_no_indices?: boolean;
|
|
23
23
|
block: Indices_AddBlock.IndicesBlockOptions;
|
|
24
24
|
cluster_manager_timeout?: Common.Duration;
|
|
@@ -29,12 +29,12 @@ export interface Request extends Global.Params {
|
|
|
29
29
|
timeout?: Common.Duration;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export interface
|
|
32
|
+
export interface Indices_AddBlock_ResponseBody {
|
|
33
33
|
acknowledged: boolean;
|
|
34
34
|
indices: Indices_AddBlock.IndicesBlockStatus[];
|
|
35
35
|
shards_acknowledged: boolean;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
export interface
|
|
39
|
-
body:
|
|
38
|
+
export interface Indices_AddBlock_Response extends ApiResponse {
|
|
39
|
+
body: Indices_AddBlock_ResponseBody
|
|
40
40
|
}
|
|
@@ -14,22 +14,12 @@
|
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
import { ApiResponse } from '../../lib/Transport'
|
|
17
|
-
import * as
|
|
17
|
+
import * as Common_Analysis from '../components/_common.analysis'
|
|
18
18
|
import * as Common from '../components/_common'
|
|
19
19
|
import * as Indices_Analyze from '../components/indices.analyze'
|
|
20
|
-
import * as
|
|
21
|
-
|
|
22
|
-
export interface Request extends Global.Params {
|
|
23
|
-
body?: RequestBody;
|
|
24
|
-
index?: Common.IndexName;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export interface ResponseBody {
|
|
28
|
-
detail?: Indices_Analyze.AnalyzeDetail;
|
|
29
|
-
tokens?: Indices_Analyze.AnalyzeToken[];
|
|
30
|
-
}
|
|
20
|
+
import * as Global from '../components/_global'
|
|
31
21
|
|
|
32
|
-
export interface
|
|
22
|
+
export interface Indices_Analyze_RequestBody {
|
|
33
23
|
analyzer?: string;
|
|
34
24
|
attributes?: string[];
|
|
35
25
|
char_filter?: Common_Analysis.CharFilter[];
|
|
@@ -41,6 +31,16 @@ export interface RequestBody {
|
|
|
41
31
|
tokenizer?: Common_Analysis.Tokenizer;
|
|
42
32
|
}
|
|
43
33
|
|
|
44
|
-
export interface
|
|
45
|
-
body
|
|
34
|
+
export interface Indices_Analyze_Request extends Global.Params {
|
|
35
|
+
body?: Indices_Analyze_RequestBody;
|
|
36
|
+
index?: Common.IndexName;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export interface Indices_Analyze_ResponseBody {
|
|
40
|
+
detail?: Indices_Analyze.AnalyzeDetail;
|
|
41
|
+
tokens?: Indices_Analyze.AnalyzeToken[];
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export interface Indices_Analyze_Response extends ApiResponse {
|
|
45
|
+
body: Indices_Analyze_ResponseBody
|
|
46
46
|
}
|
|
@@ -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_ClearCache_Request extends Global.Params {
|
|
21
21
|
allow_no_indices?: boolean;
|
|
22
22
|
expand_wildcards?: Common.ExpandWildcards;
|
|
23
23
|
fielddata?: boolean;
|
|
@@ -29,8 +29,8 @@ export interface Request extends Global.Params {
|
|
|
29
29
|
request?: boolean;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export type
|
|
32
|
+
export type Indices_ClearCache_ResponseBody = Common.ShardsOperationResponseBase
|
|
33
33
|
|
|
34
|
-
export interface
|
|
35
|
-
body:
|
|
34
|
+
export interface Indices_ClearCache_Response extends ApiResponse {
|
|
35
|
+
body: Indices_ClearCache_ResponseBody
|
|
36
36
|
}
|