@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,9 +17,9 @@ 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 type
|
|
20
|
+
export type Info_Request = Global.Params & Record<string, any>
|
|
21
21
|
|
|
22
|
-
export interface
|
|
22
|
+
export interface Info_ResponseBody {
|
|
23
23
|
cluster_name: Common.Name;
|
|
24
24
|
cluster_uuid: Common.Uuid;
|
|
25
25
|
name: Common.Name;
|
|
@@ -27,6 +27,6 @@ export interface ResponseBody {
|
|
|
27
27
|
version: Common.OpenSearchVersionInfo;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
export interface
|
|
31
|
-
body:
|
|
30
|
+
export interface Info_Response extends ApiResponse {
|
|
31
|
+
body: Info_ResponseBody
|
|
32
32
|
}
|
|
@@ -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 Ingest_DeletePipeline_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 Ingest_DeletePipeline_ResponseBody = Common.AcknowledgedResponseBase
|
|
28
28
|
|
|
29
|
-
export interface
|
|
30
|
-
body:
|
|
29
|
+
export interface Ingest_DeletePipeline_Response extends ApiResponse {
|
|
30
|
+
body: Ingest_DeletePipeline_ResponseBody
|
|
31
31
|
}
|
|
@@ -18,14 +18,14 @@ import * as Global from '../components/_global'
|
|
|
18
18
|
import * as Common from '../components/_common'
|
|
19
19
|
import * as Ingest_Common from '../components/ingest._common'
|
|
20
20
|
|
|
21
|
-
export interface
|
|
21
|
+
export interface Ingest_GetPipeline_Request extends Global.Params {
|
|
22
22
|
cluster_manager_timeout?: Common.Duration;
|
|
23
23
|
id?: Common.Id;
|
|
24
24
|
master_timeout?: Common.Duration;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
export type
|
|
27
|
+
export type Ingest_GetPipeline_ResponseBody = Record<string, Ingest_Common.Pipeline>
|
|
28
28
|
|
|
29
|
-
export interface
|
|
30
|
-
body:
|
|
29
|
+
export interface Ingest_GetPipeline_Response extends ApiResponse {
|
|
30
|
+
body: Ingest_GetPipeline_ResponseBody
|
|
31
31
|
}
|
|
@@ -16,12 +16,12 @@
|
|
|
16
16
|
import { ApiResponse } from '../../lib/Transport'
|
|
17
17
|
import * as Global from '../components/_global'
|
|
18
18
|
|
|
19
|
-
export type
|
|
19
|
+
export type Ingest_ProcessorGrok_Request = Global.Params & Record<string, any>
|
|
20
20
|
|
|
21
|
-
export interface
|
|
21
|
+
export interface Ingest_ProcessorGrok_ResponseBody {
|
|
22
22
|
patterns: Record<string, string>;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
export interface
|
|
26
|
-
body:
|
|
25
|
+
export interface Ingest_ProcessorGrok_Response extends ApiResponse {
|
|
26
|
+
body: Ingest_ProcessorGrok_ResponseBody
|
|
27
27
|
}
|
|
@@ -14,21 +14,11 @@
|
|
|
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 Ingest_Common from '../components/ingest._common'
|
|
19
|
+
import * as Global from '../components/_global'
|
|
20
20
|
|
|
21
|
-
export interface
|
|
22
|
-
body: RequestBody;
|
|
23
|
-
cluster_manager_timeout?: Common.Duration;
|
|
24
|
-
id: Common.Id;
|
|
25
|
-
master_timeout?: Common.Duration;
|
|
26
|
-
timeout?: Common.Duration;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export type ResponseBody = Common.AcknowledgedResponseBase
|
|
30
|
-
|
|
31
|
-
export interface RequestBody {
|
|
21
|
+
export interface Ingest_PutPipeline_RequestBody {
|
|
32
22
|
_meta?: Common.Metadata;
|
|
33
23
|
description?: string;
|
|
34
24
|
on_failure?: Ingest_Common.ProcessorContainer[];
|
|
@@ -36,6 +26,16 @@ export interface RequestBody {
|
|
|
36
26
|
version?: Common.VersionNumber;
|
|
37
27
|
}
|
|
38
28
|
|
|
39
|
-
export interface
|
|
40
|
-
body:
|
|
29
|
+
export interface Ingest_PutPipeline_Request extends Global.Params {
|
|
30
|
+
body: Ingest_PutPipeline_RequestBody;
|
|
31
|
+
cluster_manager_timeout?: Common.Duration;
|
|
32
|
+
id: Common.Id;
|
|
33
|
+
master_timeout?: Common.Duration;
|
|
34
|
+
timeout?: Common.Duration;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export type Ingest_PutPipeline_ResponseBody = Common.AcknowledgedResponseBase
|
|
38
|
+
|
|
39
|
+
export interface Ingest_PutPipeline_Response extends ApiResponse {
|
|
40
|
+
body: Ingest_PutPipeline_ResponseBody
|
|
41
41
|
}
|
|
@@ -14,26 +14,26 @@
|
|
|
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 Ingest_Simulate from '../components/ingest.simulate'
|
|
20
18
|
import * as Ingest_Common from '../components/ingest._common'
|
|
19
|
+
import * as Global from '../components/_global'
|
|
20
|
+
import * as Common from '../components/_common'
|
|
21
|
+
|
|
22
|
+
export interface Ingest_Simulate_RequestBody {
|
|
23
|
+
docs?: Ingest_Simulate.Document[];
|
|
24
|
+
pipeline?: Ingest_Common.Pipeline;
|
|
25
|
+
}
|
|
21
26
|
|
|
22
|
-
export interface
|
|
23
|
-
body:
|
|
27
|
+
export interface Ingest_Simulate_Request extends Global.Params {
|
|
28
|
+
body: Ingest_Simulate_RequestBody;
|
|
24
29
|
id?: Common.Id;
|
|
25
30
|
verbose?: boolean;
|
|
26
31
|
}
|
|
27
32
|
|
|
28
|
-
export interface
|
|
33
|
+
export interface Ingest_Simulate_ResponseBody {
|
|
29
34
|
docs: Ingest_Simulate.PipelineSimulation[];
|
|
30
35
|
}
|
|
31
36
|
|
|
32
|
-
export interface
|
|
33
|
-
|
|
34
|
-
pipeline?: Ingest_Common.Pipeline;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export interface Response extends ApiResponse {
|
|
38
|
-
body: ResponseBody
|
|
37
|
+
export interface Ingest_Simulate_Response extends ApiResponse {
|
|
38
|
+
body: Ingest_Simulate_ResponseBody
|
|
39
39
|
}
|
|
@@ -16,12 +16,12 @@
|
|
|
16
16
|
import { ApiResponse } from '../../lib/Transport'
|
|
17
17
|
import * as Global from '../components/_global'
|
|
18
18
|
|
|
19
|
-
export interface
|
|
19
|
+
export interface Knn_DeleteModel_Request extends Global.Params {
|
|
20
20
|
model_id: string;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
export type
|
|
23
|
+
export type Knn_DeleteModel_ResponseBody = Record<string, any>
|
|
24
24
|
|
|
25
|
-
export interface
|
|
26
|
-
body:
|
|
25
|
+
export interface Knn_DeleteModel_Response extends ApiResponse {
|
|
26
|
+
body: Knn_DeleteModel_ResponseBody
|
|
27
27
|
}
|
|
@@ -16,12 +16,12 @@
|
|
|
16
16
|
import { ApiResponse } from '../../lib/Transport'
|
|
17
17
|
import * as Global from '../components/_global'
|
|
18
18
|
|
|
19
|
-
export interface
|
|
19
|
+
export interface Knn_GetModel_Request extends Global.Params {
|
|
20
20
|
model_id: string;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
export type
|
|
23
|
+
export type Knn_GetModel_ResponseBody = Record<string, any>
|
|
24
24
|
|
|
25
|
-
export interface
|
|
26
|
-
body:
|
|
25
|
+
export interface Knn_GetModel_Response extends ApiResponse {
|
|
26
|
+
body: Knn_GetModel_ResponseBody
|
|
27
27
|
}
|
|
@@ -18,7 +18,9 @@ import * as Global from '../components/_global'
|
|
|
18
18
|
import * as Knn_Common from '../components/knn._common'
|
|
19
19
|
import * as Common from '../components/_common'
|
|
20
20
|
|
|
21
|
-
export
|
|
21
|
+
export type Knn_SearchModels_RequestBody = Record<string, any>
|
|
22
|
+
|
|
23
|
+
export interface Knn_SearchModels_Request extends Global.Params {
|
|
22
24
|
_source?: string[];
|
|
23
25
|
_source_excludes?: string[];
|
|
24
26
|
_source_includes?: string[];
|
|
@@ -27,7 +29,7 @@ export interface Request extends Global.Params {
|
|
|
27
29
|
analyze_wildcard?: boolean;
|
|
28
30
|
analyzer?: string;
|
|
29
31
|
batched_reduce_size?: number;
|
|
30
|
-
body?:
|
|
32
|
+
body?: Knn_SearchModels_RequestBody;
|
|
31
33
|
ccs_minimize_roundtrips?: boolean;
|
|
32
34
|
default_operator?: Knn_Common.DefaultOperator;
|
|
33
35
|
df?: string;
|
|
@@ -64,10 +66,8 @@ export interface Request extends Global.Params {
|
|
|
64
66
|
version?: boolean;
|
|
65
67
|
}
|
|
66
68
|
|
|
67
|
-
export type
|
|
68
|
-
|
|
69
|
-
export type RequestBody = Record<string, any>
|
|
69
|
+
export type Knn_SearchModels_ResponseBody = Record<string, any>
|
|
70
70
|
|
|
71
|
-
export interface
|
|
72
|
-
body:
|
|
71
|
+
export interface Knn_SearchModels_Response extends ApiResponse {
|
|
72
|
+
body: Knn_SearchModels_ResponseBody
|
|
73
73
|
}
|
|
@@ -17,14 +17,14 @@ 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 Knn_Stats_Request extends Global.Params {
|
|
21
21
|
node_id?: string[];
|
|
22
22
|
stat?: 'cache_capacity_reached' | 'circuit_breaker_triggered' | 'eviction_count' | 'faiss_initialized' | 'graph_index_errors' | 'graph_index_requests' | 'graph_memory_usage' | 'graph_memory_usage_percentage' | 'graph_query_errors' | 'graph_query_requests' | 'hit_count' | 'indexing_from_model_degraded' | 'indices_in_cache' | 'knn_query_requests' | 'load_exception_count' | 'load_success_count' | 'miss_count' | 'model_index_status' | 'nmslib_initialized' | 'script_compilation_errors' | 'script_compilations' | 'script_query_errors' | 'script_query_requests' | 'total_load_time' | 'training_errors' | 'training_memory_usage' | 'training_memory_usage_percentage' | 'training_requests'[];
|
|
23
23
|
timeout?: Common.Duration;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export type
|
|
26
|
+
export type Knn_Stats_ResponseBody = Record<string, any>
|
|
27
27
|
|
|
28
|
-
export interface
|
|
29
|
-
body:
|
|
28
|
+
export interface Knn_Stats_Response extends ApiResponse {
|
|
29
|
+
body: Knn_Stats_ResponseBody
|
|
30
30
|
}
|
|
@@ -16,15 +16,7 @@
|
|
|
16
16
|
import { ApiResponse } from '../../lib/Transport'
|
|
17
17
|
import * as Global from '../components/_global'
|
|
18
18
|
|
|
19
|
-
export interface
|
|
20
|
-
body: RequestBody;
|
|
21
|
-
model_id?: string;
|
|
22
|
-
preference?: string;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export type ResponseBody = Record<string, any>
|
|
26
|
-
|
|
27
|
-
export interface RequestBody {
|
|
19
|
+
export interface Knn_TrainModel_RequestBody {
|
|
28
20
|
description?: string;
|
|
29
21
|
dimension: number;
|
|
30
22
|
max_training_vector_count?: number;
|
|
@@ -34,6 +26,14 @@ export interface RequestBody {
|
|
|
34
26
|
training_index: string;
|
|
35
27
|
}
|
|
36
28
|
|
|
37
|
-
export interface
|
|
38
|
-
body:
|
|
29
|
+
export interface Knn_TrainModel_Request extends Global.Params {
|
|
30
|
+
body: Knn_TrainModel_RequestBody;
|
|
31
|
+
model_id?: string;
|
|
32
|
+
preference?: string;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export type Knn_TrainModel_ResponseBody = Record<string, any>
|
|
36
|
+
|
|
37
|
+
export interface Knn_TrainModel_Response extends ApiResponse {
|
|
38
|
+
body: Knn_TrainModel_ResponseBody
|
|
39
39
|
}
|
|
@@ -16,12 +16,12 @@
|
|
|
16
16
|
import { ApiResponse } from '../../lib/Transport'
|
|
17
17
|
import * as Global from '../components/_global'
|
|
18
18
|
|
|
19
|
-
export interface
|
|
19
|
+
export interface Knn_Warmup_Request extends Global.Params {
|
|
20
20
|
index: string[];
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
export type
|
|
23
|
+
export type Knn_Warmup_ResponseBody = Record<string, any>
|
|
24
24
|
|
|
25
|
-
export interface
|
|
26
|
-
body:
|
|
25
|
+
export interface Knn_Warmup_Response extends ApiResponse {
|
|
26
|
+
body: Knn_Warmup_ResponseBody
|
|
27
27
|
}
|
|
@@ -14,16 +14,21 @@
|
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
import { ApiResponse } from '../../lib/Transport'
|
|
17
|
+
import * as Core_Mget from '../components/_core.mget'
|
|
18
|
+
import * as Common from '../components/_common'
|
|
17
19
|
import * as Global from '../components/_global'
|
|
18
20
|
import * as Core_Search from '../components/_core.search'
|
|
19
|
-
import * as Common from '../components/_common'
|
|
20
|
-
import * as Core_Mget from '../components/_core.mget'
|
|
21
21
|
|
|
22
|
-
export interface
|
|
22
|
+
export interface Mget_RequestBody {
|
|
23
|
+
docs?: Core_Mget.Operation[];
|
|
24
|
+
ids?: Common.Ids;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export interface Mget_Request extends Global.Params {
|
|
23
28
|
_source?: Core_Search.SourceConfigParam;
|
|
24
29
|
_source_excludes?: Common.Fields;
|
|
25
30
|
_source_includes?: Common.Fields;
|
|
26
|
-
body:
|
|
31
|
+
body: Mget_RequestBody;
|
|
27
32
|
index?: Common.IndexName;
|
|
28
33
|
preference?: string;
|
|
29
34
|
realtime?: boolean;
|
|
@@ -32,15 +37,10 @@ export interface Request extends Global.Params {
|
|
|
32
37
|
stored_fields?: Common.Fields;
|
|
33
38
|
}
|
|
34
39
|
|
|
35
|
-
export interface
|
|
40
|
+
export interface Mget_ResponseBody {
|
|
36
41
|
docs: Core_Mget.ResponseItem[];
|
|
37
42
|
}
|
|
38
43
|
|
|
39
|
-
export interface
|
|
40
|
-
|
|
41
|
-
ids?: Common.Ids;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export interface Response extends ApiResponse {
|
|
45
|
-
body: ResponseBody
|
|
44
|
+
export interface Mget_Response extends ApiResponse {
|
|
45
|
+
body: Mget_ResponseBody
|
|
46
46
|
}
|
|
@@ -17,12 +17,12 @@ import { ApiResponse } from '../../lib/Transport'
|
|
|
17
17
|
import * as Global from '../components/_global'
|
|
18
18
|
import * as Ml_Common from '../components/ml._common'
|
|
19
19
|
|
|
20
|
-
export interface
|
|
20
|
+
export interface Ml_DeleteModel_Request extends Global.Params {
|
|
21
21
|
model_id: string;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
export type
|
|
24
|
+
export type Ml_DeleteModel_ResponseBody = Ml_Common.ModelGroup
|
|
25
25
|
|
|
26
|
-
export interface
|
|
27
|
-
body:
|
|
26
|
+
export interface Ml_DeleteModel_Response extends ApiResponse {
|
|
27
|
+
body: Ml_DeleteModel_ResponseBody
|
|
28
28
|
}
|
|
@@ -17,12 +17,12 @@ import { ApiResponse } from '../../lib/Transport'
|
|
|
17
17
|
import * as Global from '../components/_global'
|
|
18
18
|
import * as Ml_Common from '../components/ml._common'
|
|
19
19
|
|
|
20
|
-
export interface
|
|
20
|
+
export interface Ml_DeleteModelGroup_Request extends Global.Params {
|
|
21
21
|
model_group_id: string;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
export type
|
|
24
|
+
export type Ml_DeleteModelGroup_ResponseBody = Ml_Common.ModelGroup
|
|
25
25
|
|
|
26
|
-
export interface
|
|
27
|
-
body:
|
|
26
|
+
export interface Ml_DeleteModelGroup_Response extends ApiResponse {
|
|
27
|
+
body: Ml_DeleteModelGroup_ResponseBody
|
|
28
28
|
}
|
|
@@ -17,12 +17,12 @@ import { ApiResponse } from '../../lib/Transport'
|
|
|
17
17
|
import * as Global from '../components/_global'
|
|
18
18
|
import * as Ml_Common from '../components/ml._common'
|
|
19
19
|
|
|
20
|
-
export interface
|
|
20
|
+
export interface Ml_GetModelGroup_Request extends Global.Params {
|
|
21
21
|
model_group_id: string;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
export type
|
|
24
|
+
export type Ml_GetModelGroup_ResponseBody = Ml_Common.ModelGroup
|
|
25
25
|
|
|
26
|
-
export interface
|
|
27
|
-
body:
|
|
26
|
+
export interface Ml_GetModelGroup_Response extends ApiResponse {
|
|
27
|
+
body: Ml_GetModelGroup_ResponseBody
|
|
28
28
|
}
|
|
@@ -17,12 +17,12 @@ import { ApiResponse } from '../../lib/Transport'
|
|
|
17
17
|
import * as Global from '../components/_global'
|
|
18
18
|
import * as Ml_Common from '../components/ml._common'
|
|
19
19
|
|
|
20
|
-
export interface
|
|
20
|
+
export interface Ml_GetTask_Request extends Global.Params {
|
|
21
21
|
task_id: string;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
export type
|
|
24
|
+
export type Ml_GetTask_ResponseBody = Ml_Common.Task
|
|
25
25
|
|
|
26
|
-
export interface
|
|
27
|
-
body:
|
|
26
|
+
export interface Ml_GetTask_Response extends ApiResponse {
|
|
27
|
+
body: Ml_GetTask_ResponseBody
|
|
28
28
|
}
|
|
@@ -17,13 +17,7 @@ import { ApiResponse } from '../../lib/Transport'
|
|
|
17
17
|
import * as Global from '../components/_global'
|
|
18
18
|
import * as Ml_Common from '../components/ml._common'
|
|
19
19
|
|
|
20
|
-
export interface
|
|
21
|
-
body?: RequestBody;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export type ResponseBody = Ml_Common.Task
|
|
25
|
-
|
|
26
|
-
export interface RequestBody {
|
|
20
|
+
export interface Ml_RegisterModel_RequestBody {
|
|
27
21
|
description?: string;
|
|
28
22
|
model_format: 'ONNX' | 'TORCH_SCRIPT';
|
|
29
23
|
model_group_id?: string;
|
|
@@ -31,6 +25,12 @@ export interface RequestBody {
|
|
|
31
25
|
version: string;
|
|
32
26
|
}
|
|
33
27
|
|
|
34
|
-
export interface
|
|
35
|
-
body
|
|
28
|
+
export interface Ml_RegisterModel_Request extends Global.Params {
|
|
29
|
+
body?: Ml_RegisterModel_RequestBody;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export type Ml_RegisterModel_ResponseBody = Ml_Common.Task
|
|
33
|
+
|
|
34
|
+
export interface Ml_RegisterModel_Response extends ApiResponse {
|
|
35
|
+
body: Ml_RegisterModel_ResponseBody
|
|
36
36
|
}
|
|
@@ -17,13 +17,7 @@ import { ApiResponse } from '../../lib/Transport'
|
|
|
17
17
|
import * as Global from '../components/_global'
|
|
18
18
|
import * as Ml_Common from '../components/ml._common'
|
|
19
19
|
|
|
20
|
-
export interface
|
|
21
|
-
body?: RequestBody;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export type ResponseBody = Ml_Common.ModelGroupRegistration
|
|
25
|
-
|
|
26
|
-
export interface RequestBody {
|
|
20
|
+
export interface Ml_RegisterModelGroup_RequestBody {
|
|
27
21
|
access_mode?: 'private' | 'public' | 'restricted';
|
|
28
22
|
add_all_backend_roles?: boolean;
|
|
29
23
|
backend_roles?: string[];
|
|
@@ -31,6 +25,12 @@ export interface RequestBody {
|
|
|
31
25
|
name: string;
|
|
32
26
|
}
|
|
33
27
|
|
|
34
|
-
export interface
|
|
35
|
-
body
|
|
28
|
+
export interface Ml_RegisterModelGroup_Request extends Global.Params {
|
|
29
|
+
body?: Ml_RegisterModelGroup_RequestBody;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export type Ml_RegisterModelGroup_ResponseBody = Ml_Common.ModelGroupRegistration
|
|
33
|
+
|
|
34
|
+
export interface Ml_RegisterModelGroup_Response extends ApiResponse {
|
|
35
|
+
body: Ml_RegisterModelGroup_ResponseBody
|
|
36
36
|
}
|
|
@@ -17,12 +17,12 @@ import { ApiResponse } from '../../lib/Transport'
|
|
|
17
17
|
import * as Global from '../components/_global'
|
|
18
18
|
import * as Ml_Common from '../components/ml._common'
|
|
19
19
|
|
|
20
|
-
export interface
|
|
20
|
+
export interface Ml_SearchModels_Request extends Global.Params {
|
|
21
21
|
body?: Ml_Common.SearchModelsQuery;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
export type
|
|
24
|
+
export type Ml_SearchModels_ResponseBody = Ml_Common.SearchModelsResponse
|
|
25
25
|
|
|
26
|
-
export interface
|
|
27
|
-
body:
|
|
26
|
+
export interface Ml_SearchModels_Response extends ApiResponse {
|
|
27
|
+
body: Ml_SearchModels_ResponseBody
|
|
28
28
|
}
|
|
@@ -14,12 +14,14 @@
|
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
import { ApiResponse } from '../../lib/Transport'
|
|
17
|
+
import * as Core_Msearch from '../components/_core.msearch'
|
|
17
18
|
import * as Global from '../components/_global'
|
|
18
19
|
import * as Common from '../components/_common'
|
|
19
|
-
import * as Core_Msearch from '../components/_core.msearch'
|
|
20
20
|
|
|
21
|
-
export
|
|
22
|
-
|
|
21
|
+
export type Msearch_RequestBody = Core_Msearch.RequestItem[]
|
|
22
|
+
|
|
23
|
+
export interface Msearch_Request extends Global.Params {
|
|
24
|
+
body: Msearch_RequestBody;
|
|
23
25
|
ccs_minimize_roundtrips?: boolean;
|
|
24
26
|
index?: Common.Indices;
|
|
25
27
|
max_concurrent_searches?: number;
|
|
@@ -30,10 +32,8 @@ export interface Request extends Global.Params {
|
|
|
30
32
|
typed_keys?: boolean;
|
|
31
33
|
}
|
|
32
34
|
|
|
33
|
-
export type
|
|
34
|
-
|
|
35
|
-
export type RequestBody = Core_Msearch.RequestItem[]
|
|
35
|
+
export type Msearch_ResponseBody = Core_Msearch.MultiSearchResult
|
|
36
36
|
|
|
37
|
-
export interface
|
|
38
|
-
body:
|
|
37
|
+
export interface Msearch_Response extends ApiResponse {
|
|
38
|
+
body: Msearch_ResponseBody
|
|
39
39
|
}
|
|
@@ -14,13 +14,15 @@
|
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
import { ApiResponse } from '../../lib/Transport'
|
|
17
|
+
import * as Core_MsearchTemplate from '../components/_core.msearch_template'
|
|
17
18
|
import * as Global from '../components/_global'
|
|
18
19
|
import * as Common from '../components/_common'
|
|
19
20
|
import * as Core_Msearch from '../components/_core.msearch'
|
|
20
|
-
import * as Core_MsearchTemplate from '../components/_core.msearch_template'
|
|
21
21
|
|
|
22
|
-
export
|
|
23
|
-
|
|
22
|
+
export type MsearchTemplate_RequestBody = Core_MsearchTemplate.RequestItem[]
|
|
23
|
+
|
|
24
|
+
export interface MsearchTemplate_Request extends Global.Params {
|
|
25
|
+
body: MsearchTemplate_RequestBody;
|
|
24
26
|
ccs_minimize_roundtrips?: boolean;
|
|
25
27
|
index?: Common.Indices;
|
|
26
28
|
max_concurrent_searches?: number;
|
|
@@ -29,10 +31,8 @@ export interface Request extends Global.Params {
|
|
|
29
31
|
typed_keys?: boolean;
|
|
30
32
|
}
|
|
31
33
|
|
|
32
|
-
export type
|
|
33
|
-
|
|
34
|
-
export type RequestBody = Core_MsearchTemplate.RequestItem[]
|
|
34
|
+
export type MsearchTemplate_ResponseBody = Core_Msearch.MultiSearchResult
|
|
35
35
|
|
|
36
|
-
export interface
|
|
37
|
-
body:
|
|
36
|
+
export interface MsearchTemplate_Response extends ApiResponse {
|
|
37
|
+
body: MsearchTemplate_ResponseBody
|
|
38
38
|
}
|
|
@@ -14,12 +14,17 @@
|
|
|
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 Core_Mtermvectors from '../components/_core.mtermvectors'
|
|
18
|
+
import * as Common from '../components/_common'
|
|
19
|
+
import * as Global from '../components/_global'
|
|
20
|
+
|
|
21
|
+
export interface Mtermvectors_RequestBody {
|
|
22
|
+
docs?: Core_Mtermvectors.Operation[];
|
|
23
|
+
ids?: Common.Id[];
|
|
24
|
+
}
|
|
20
25
|
|
|
21
|
-
export interface
|
|
22
|
-
body?:
|
|
26
|
+
export interface Mtermvectors_Request extends Global.Params {
|
|
27
|
+
body?: Mtermvectors_RequestBody;
|
|
23
28
|
field_statistics?: boolean;
|
|
24
29
|
fields?: Common.Fields;
|
|
25
30
|
ids?: Common.Id[];
|
|
@@ -35,15 +40,10 @@ export interface Request extends Global.Params {
|
|
|
35
40
|
version_type?: Common.VersionType;
|
|
36
41
|
}
|
|
37
42
|
|
|
38
|
-
export interface
|
|
43
|
+
export interface Mtermvectors_ResponseBody {
|
|
39
44
|
docs: Core_Mtermvectors.TermVectorsResult[];
|
|
40
45
|
}
|
|
41
46
|
|
|
42
|
-
export interface
|
|
43
|
-
|
|
44
|
-
ids?: Common.Id[];
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export interface Response extends ApiResponse {
|
|
48
|
-
body: ResponseBody
|
|
47
|
+
export interface Mtermvectors_Response extends ApiResponse {
|
|
48
|
+
body: Mtermvectors_ResponseBody
|
|
49
49
|
}
|
|
@@ -18,7 +18,7 @@ import * as Global from '../components/_global'
|
|
|
18
18
|
import * as Common from '../components/_common'
|
|
19
19
|
import * as Nodes_Common from '../components/nodes._common'
|
|
20
20
|
|
|
21
|
-
export interface
|
|
21
|
+
export interface Nodes_HotThreads_Request extends Global.Params {
|
|
22
22
|
ignore_idle_threads?: boolean;
|
|
23
23
|
interval?: Common.Duration;
|
|
24
24
|
node_id?: string[];
|
|
@@ -28,8 +28,8 @@ export interface Request extends Global.Params {
|
|
|
28
28
|
type?: Nodes_Common.SampleType;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
export type
|
|
31
|
+
export type Nodes_HotThreads_ResponseBody = Record<string, any>
|
|
32
32
|
|
|
33
|
-
export interface
|
|
34
|
-
body:
|
|
33
|
+
export interface Nodes_HotThreads_Response extends ApiResponse {
|
|
34
|
+
body: Nodes_HotThreads_ResponseBody
|
|
35
35
|
}
|
|
@@ -18,15 +18,15 @@ import * as Global from '../components/_global'
|
|
|
18
18
|
import * as Nodes_Info from '../components/nodes.info'
|
|
19
19
|
import * as Common from '../components/_common'
|
|
20
20
|
|
|
21
|
-
export interface
|
|
21
|
+
export interface Nodes_Info_Request extends Global.Params {
|
|
22
22
|
flat_settings?: boolean;
|
|
23
23
|
metric?: Nodes_Info.Metric[];
|
|
24
24
|
node_id?: Common.NodeIds;
|
|
25
25
|
timeout?: Common.Duration;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
export type
|
|
28
|
+
export type Nodes_Info_ResponseBody = Nodes_Info.ResponseBase
|
|
29
29
|
|
|
30
|
-
export interface
|
|
31
|
-
body:
|
|
30
|
+
export interface Nodes_Info_Response extends ApiResponse {
|
|
31
|
+
body: Nodes_Info_ResponseBody
|
|
32
32
|
}
|