@opensearch-project/opensearch 3.0.0-beta.1 → 3.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +0 -4
- package/lib/Transport.d.ts +2 -7
- package/package.json +1 -1
- package/types/Client.d.ts +320 -322
- package/types/functions/bulk.d.ts +5 -1
- package/types/functions/cat.aliases.d.ts +5 -1
- package/types/functions/cat.all_pit_segments.d.ts +5 -1
- package/types/functions/cat.allocation.d.ts +5 -1
- package/types/functions/cat.cluster_manager.d.ts +5 -1
- package/types/functions/cat.count.d.ts +5 -1
- package/types/functions/cat.fielddata.d.ts +5 -1
- package/types/functions/cat.health.d.ts +5 -1
- package/types/functions/cat.help.d.ts +5 -1
- package/types/functions/cat.indices.d.ts +5 -1
- package/types/functions/cat.master.d.ts +5 -1
- package/types/functions/cat.nodeattrs.d.ts +5 -1
- package/types/functions/cat.nodes.d.ts +5 -1
- package/types/functions/cat.pending_tasks.d.ts +5 -1
- package/types/functions/cat.pit_segments.d.ts +5 -1
- package/types/functions/cat.plugins.d.ts +5 -1
- package/types/functions/cat.recovery.d.ts +5 -1
- package/types/functions/cat.repositories.d.ts +5 -1
- package/types/functions/cat.segment_replication.d.ts +5 -1
- package/types/functions/cat.segments.d.ts +5 -1
- package/types/functions/cat.shards.d.ts +5 -1
- package/types/functions/cat.snapshots.d.ts +5 -1
- package/types/functions/cat.tasks.d.ts +5 -1
- package/types/functions/cat.templates.d.ts +5 -1
- package/types/functions/cat.thread_pool.d.ts +5 -1
- package/types/functions/clear_scroll.d.ts +5 -1
- package/types/functions/cluster.allocation_explain.d.ts +5 -1
- package/types/functions/cluster.delete_component_template.d.ts +5 -1
- package/types/functions/cluster.delete_decommission_awareness.d.ts +5 -1
- package/types/functions/cluster.delete_voting_config_exclusions.d.ts +5 -1
- package/types/functions/cluster.delete_weighted_routing.d.ts +5 -1
- package/types/functions/cluster.exists_component_template.d.ts +5 -1
- package/types/functions/cluster.get_component_template.d.ts +5 -1
- package/types/functions/cluster.get_decommission_awareness.d.ts +5 -1
- package/types/functions/cluster.get_settings.d.ts +5 -1
- package/types/functions/cluster.get_weighted_routing.d.ts +5 -1
- package/types/functions/cluster.health.d.ts +5 -1
- package/types/functions/cluster.pending_tasks.d.ts +5 -1
- package/types/functions/cluster.post_voting_config_exclusions.d.ts +5 -1
- package/types/functions/cluster.put_component_template.d.ts +5 -1
- package/types/functions/cluster.put_decommission_awareness.d.ts +5 -1
- package/types/functions/cluster.put_settings.d.ts +5 -1
- package/types/functions/cluster.put_weighted_routing.d.ts +5 -1
- package/types/functions/cluster.remote_info.d.ts +5 -1
- package/types/functions/cluster.reroute.d.ts +5 -1
- package/types/functions/cluster.state.d.ts +5 -1
- package/types/functions/cluster.stats.d.ts +5 -1
- package/types/functions/count.d.ts +5 -1
- package/types/functions/create.d.ts +5 -1
- package/types/functions/create_pit.d.ts +5 -1
- package/types/functions/dangling_indices.delete_dangling_index.d.ts +5 -1
- package/types/functions/dangling_indices.import_dangling_index.d.ts +5 -1
- package/types/functions/dangling_indices.list_dangling_indices.d.ts +5 -1
- package/types/functions/delete.d.ts +5 -1
- package/types/functions/delete_all_pits.d.ts +5 -1
- package/types/functions/delete_by_query.d.ts +5 -1
- package/types/functions/delete_by_query_rethrottle.d.ts +5 -1
- package/types/functions/delete_pit.d.ts +5 -1
- package/types/functions/delete_script.d.ts +5 -1
- package/types/functions/exists.d.ts +5 -1
- package/types/functions/exists_source.d.ts +5 -1
- package/types/functions/explain.d.ts +5 -1
- package/types/functions/field_caps.d.ts +5 -1
- package/types/functions/get.d.ts +5 -1
- package/types/functions/get_all_pits.d.ts +5 -1
- package/types/functions/get_script.d.ts +5 -1
- package/types/functions/get_script_context.d.ts +5 -1
- package/types/functions/get_script_languages.d.ts +5 -1
- package/types/functions/get_source.d.ts +5 -1
- package/types/functions/index.d.ts +5 -1
- package/types/functions/indices.add_block.d.ts +5 -1
- package/types/functions/indices.analyze.d.ts +5 -1
- package/types/functions/indices.clear_cache.d.ts +5 -1
- package/types/functions/indices.clone.d.ts +5 -1
- package/types/functions/indices.close.d.ts +5 -1
- package/types/functions/indices.create.d.ts +5 -1
- package/types/functions/indices.create_data_stream.d.ts +5 -1
- package/types/functions/indices.data_streams_stats.d.ts +5 -1
- package/types/functions/indices.delete.d.ts +5 -1
- package/types/functions/indices.delete_alias.d.ts +5 -1
- package/types/functions/indices.delete_data_stream.d.ts +5 -1
- package/types/functions/indices.delete_index_template.d.ts +5 -1
- package/types/functions/indices.delete_template.d.ts +5 -1
- package/types/functions/indices.exists.d.ts +5 -1
- package/types/functions/indices.exists_alias.d.ts +5 -1
- package/types/functions/indices.exists_index_template.d.ts +5 -1
- package/types/functions/indices.exists_template.d.ts +5 -1
- package/types/functions/indices.flush.d.ts +5 -1
- package/types/functions/indices.forcemerge.d.ts +5 -1
- package/types/functions/indices.get.d.ts +5 -1
- package/types/functions/indices.get_alias.d.ts +5 -1
- package/types/functions/indices.get_data_stream.d.ts +5 -1
- package/types/functions/indices.get_field_mapping.d.ts +5 -1
- package/types/functions/indices.get_index_template.d.ts +5 -1
- package/types/functions/indices.get_mapping.d.ts +5 -1
- package/types/functions/indices.get_settings.d.ts +5 -1
- package/types/functions/indices.get_template.d.ts +5 -1
- package/types/functions/indices.get_upgrade.d.ts +5 -1
- package/types/functions/indices.open.d.ts +5 -1
- package/types/functions/indices.put_alias.d.ts +5 -1
- package/types/functions/indices.put_index_template.d.ts +5 -1
- package/types/functions/indices.put_mapping.d.ts +5 -1
- package/types/functions/indices.put_settings.d.ts +5 -1
- package/types/functions/indices.put_template.d.ts +5 -1
- package/types/functions/indices.recovery.d.ts +5 -1
- package/types/functions/indices.refresh.d.ts +5 -1
- package/types/functions/indices.resolve_index.d.ts +5 -1
- package/types/functions/indices.rollover.d.ts +5 -1
- package/types/functions/indices.segments.d.ts +5 -1
- package/types/functions/indices.shard_stores.d.ts +5 -1
- package/types/functions/indices.shrink.d.ts +5 -1
- package/types/functions/indices.simulate_index_template.d.ts +5 -1
- package/types/functions/indices.simulate_template.d.ts +5 -1
- package/types/functions/indices.split.d.ts +5 -1
- package/types/functions/indices.stats.d.ts +5 -1
- package/types/functions/indices.update_aliases.d.ts +5 -1
- package/types/functions/indices.upgrade.d.ts +5 -1
- package/types/functions/indices.validate_query.d.ts +5 -1
- package/types/functions/info.d.ts +5 -1
- package/types/functions/ingest.delete_pipeline.d.ts +5 -1
- package/types/functions/ingest.get_pipeline.d.ts +5 -1
- package/types/functions/ingest.processor_grok.d.ts +5 -1
- package/types/functions/ingest.put_pipeline.d.ts +5 -1
- package/types/functions/ingest.simulate.d.ts +5 -1
- package/types/functions/knn.delete_model.d.ts +5 -1
- package/types/functions/knn.get_model.d.ts +5 -1
- package/types/functions/knn.search_models.d.ts +5 -1
- package/types/functions/knn.stats.d.ts +5 -1
- package/types/functions/knn.train_model.d.ts +5 -1
- package/types/functions/knn.warmup.d.ts +5 -1
- package/types/functions/mget.d.ts +5 -1
- package/types/functions/ml.delete_model.d.ts +5 -1
- package/types/functions/ml.delete_model_group.d.ts +5 -1
- package/types/functions/ml.get_model_group.d.ts +5 -1
- package/types/functions/ml.get_task.d.ts +5 -1
- package/types/functions/ml.register_model.d.ts +5 -1
- package/types/functions/ml.register_model_group.d.ts +5 -1
- package/types/functions/ml.search_models.d.ts +5 -1
- package/types/functions/msearch.d.ts +5 -1
- package/types/functions/msearch_template.d.ts +5 -1
- package/types/functions/mtermvectors.d.ts +5 -1
- package/types/functions/nodes.hot_threads.d.ts +5 -1
- package/types/functions/nodes.info.d.ts +5 -1
- package/types/functions/nodes.reload_secure_settings.d.ts +5 -1
- package/types/functions/nodes.stats.d.ts +5 -1
- package/types/functions/nodes.usage.d.ts +5 -1
- package/types/functions/notifications.create_config.d.ts +5 -1
- package/types/functions/notifications.delete_config.d.ts +5 -1
- package/types/functions/notifications.delete_configs.d.ts +5 -1
- package/types/functions/notifications.get_config.d.ts +5 -1
- package/types/functions/notifications.get_configs.d.ts +5 -1
- package/types/functions/notifications.list_channels.d.ts +5 -1
- package/types/functions/notifications.list_features.d.ts +5 -1
- package/types/functions/notifications.send_test.d.ts +5 -1
- package/types/functions/notifications.update_config.d.ts +5 -1
- package/types/functions/ping.d.ts +5 -1
- package/types/functions/ppl.explain.d.ts +5 -1
- package/types/functions/ppl.get_stats.d.ts +5 -1
- package/types/functions/ppl.post_stats.d.ts +5 -1
- package/types/functions/ppl.query.d.ts +5 -1
- package/types/functions/put_script.d.ts +5 -1
- package/types/functions/rank_eval.d.ts +5 -1
- package/types/functions/reindex.d.ts +5 -1
- package/types/functions/reindex_rethrottle.d.ts +5 -1
- package/types/functions/remote_store.restore.d.ts +5 -1
- package/types/functions/render_search_template.d.ts +5 -1
- package/types/functions/rollups.delete.d.ts +5 -1
- package/types/functions/rollups.explain.d.ts +5 -1
- package/types/functions/rollups.get.d.ts +5 -1
- package/types/functions/rollups.put.d.ts +5 -1
- package/types/functions/rollups.start.d.ts +5 -1
- package/types/functions/rollups.stop.d.ts +5 -1
- package/types/functions/scripts_painless_execute.d.ts +5 -1
- package/types/functions/scroll.d.ts +5 -1
- package/types/functions/search.d.ts +5 -1
- package/types/functions/search_pipeline.delete.d.ts +5 -1
- package/types/functions/search_pipeline.get.d.ts +5 -1
- package/types/functions/search_pipeline.put.d.ts +5 -1
- package/types/functions/search_shards.d.ts +5 -1
- package/types/functions/search_template.d.ts +5 -1
- package/types/functions/security.authinfo.d.ts +5 -1
- package/types/functions/security.authtoken.d.ts +5 -1
- package/types/functions/security.change_password.d.ts +5 -1
- package/types/functions/security.config_upgrade_check.d.ts +5 -1
- package/types/functions/security.config_upgrade_perform.d.ts +5 -1
- package/types/functions/security.create_action_group.d.ts +5 -1
- package/types/functions/security.create_allowlist.d.ts +5 -1
- package/types/functions/security.create_role.d.ts +5 -1
- package/types/functions/security.create_role_mapping.d.ts +5 -1
- package/types/functions/security.create_tenant.d.ts +5 -1
- package/types/functions/security.create_update_tenancy_config.d.ts +5 -1
- package/types/functions/security.create_user.d.ts +5 -1
- package/types/functions/security.create_user_legacy.d.ts +5 -1
- package/types/functions/security.delete_action_group.d.ts +5 -1
- package/types/functions/security.delete_distinguished_name.d.ts +5 -1
- package/types/functions/security.delete_role.d.ts +5 -1
- package/types/functions/security.delete_role_mapping.d.ts +5 -1
- package/types/functions/security.delete_tenant.d.ts +5 -1
- package/types/functions/security.delete_user.d.ts +5 -1
- package/types/functions/security.delete_user_legacy.d.ts +5 -1
- package/types/functions/security.flush_cache.d.ts +5 -1
- package/types/functions/security.generate_obo_token.d.ts +5 -1
- package/types/functions/security.generate_user_token.d.ts +5 -1
- package/types/functions/security.generate_user_token_legacy.d.ts +5 -1
- package/types/functions/security.get_account_details.d.ts +5 -1
- package/types/functions/security.get_action_group.d.ts +5 -1
- package/types/functions/security.get_action_groups.d.ts +5 -1
- package/types/functions/security.get_allowlist.d.ts +5 -1
- package/types/functions/security.get_audit_configuration.d.ts +5 -1
- package/types/functions/security.get_certificates.d.ts +5 -1
- package/types/functions/security.get_configuration.d.ts +5 -1
- package/types/functions/security.get_dashboards_info.d.ts +5 -1
- package/types/functions/security.get_distinguished_name.d.ts +5 -1
- package/types/functions/security.get_distinguished_names.d.ts +5 -1
- package/types/functions/security.get_permissions_info.d.ts +5 -1
- package/types/functions/security.get_role.d.ts +5 -1
- package/types/functions/security.get_role_mapping.d.ts +5 -1
- package/types/functions/security.get_role_mappings.d.ts +5 -1
- package/types/functions/security.get_roles.d.ts +5 -1
- package/types/functions/security.get_sslinfo.d.ts +5 -1
- package/types/functions/security.get_tenancy_config.d.ts +5 -1
- package/types/functions/security.get_tenant.d.ts +5 -1
- package/types/functions/security.get_tenants.d.ts +5 -1
- package/types/functions/security.get_user.d.ts +5 -1
- package/types/functions/security.get_user_legacy.d.ts +5 -1
- package/types/functions/security.get_users.d.ts +5 -1
- package/types/functions/security.get_users_legacy.d.ts +5 -1
- package/types/functions/security.health.d.ts +5 -1
- package/types/functions/security.migrate.d.ts +5 -1
- package/types/functions/security.patch_action_group.d.ts +5 -1
- package/types/functions/security.patch_action_groups.d.ts +5 -1
- package/types/functions/security.patch_allowlist.d.ts +5 -1
- package/types/functions/security.patch_audit_configuration.d.ts +5 -1
- package/types/functions/security.patch_configuration.d.ts +5 -1
- package/types/functions/security.patch_distinguished_name.d.ts +5 -1
- package/types/functions/security.patch_distinguished_names.d.ts +5 -1
- package/types/functions/security.patch_role.d.ts +5 -1
- package/types/functions/security.patch_role_mapping.d.ts +5 -1
- package/types/functions/security.patch_role_mappings.d.ts +5 -1
- package/types/functions/security.patch_roles.d.ts +5 -1
- package/types/functions/security.patch_tenant.d.ts +5 -1
- package/types/functions/security.patch_tenants.d.ts +5 -1
- package/types/functions/security.patch_user.d.ts +5 -1
- package/types/functions/security.patch_users.d.ts +5 -1
- package/types/functions/security.post_dashboards_info.d.ts +5 -1
- package/types/functions/security.reload_http_certificates.d.ts +5 -1
- package/types/functions/security.reload_transport_certificates.d.ts +5 -1
- package/types/functions/security.tenant_info.d.ts +5 -1
- package/types/functions/security.update_audit_configuration.d.ts +5 -1
- package/types/functions/security.update_configuration.d.ts +5 -1
- package/types/functions/security.update_distinguished_name.d.ts +5 -1
- package/types/functions/security.validate.d.ts +5 -1
- package/types/functions/security.who_am_i.d.ts +5 -1
- package/types/functions/security.who_am_i_protected.d.ts +5 -1
- package/types/functions/snapshot.cleanup_repository.d.ts +5 -1
- package/types/functions/snapshot.clone.d.ts +5 -1
- package/types/functions/snapshot.create.d.ts +5 -1
- package/types/functions/snapshot.create_repository.d.ts +5 -1
- package/types/functions/snapshot.delete.d.ts +5 -1
- package/types/functions/snapshot.delete_repository.d.ts +5 -1
- package/types/functions/snapshot.get.d.ts +5 -1
- package/types/functions/snapshot.get_repository.d.ts +5 -1
- package/types/functions/snapshot.restore.d.ts +5 -1
- package/types/functions/snapshot.status.d.ts +5 -1
- package/types/functions/snapshot.verify_repository.d.ts +5 -1
- package/types/functions/sql.close.d.ts +5 -1
- package/types/functions/sql.explain.d.ts +5 -1
- package/types/functions/sql.get_stats.d.ts +5 -1
- package/types/functions/sql.post_stats.d.ts +5 -1
- package/types/functions/sql.query.d.ts +5 -1
- package/types/functions/sql.settings.d.ts +5 -1
- package/types/functions/tasks.cancel.d.ts +5 -1
- package/types/functions/tasks.get.d.ts +5 -1
- package/types/functions/tasks.list.d.ts +5 -1
- package/types/functions/termvectors.d.ts +5 -1
- package/types/functions/transforms.delete.d.ts +5 -1
- package/types/functions/transforms.explain.d.ts +5 -1
- package/types/functions/transforms.get.d.ts +5 -1
- package/types/functions/transforms.preview.d.ts +5 -1
- package/types/functions/transforms.put.d.ts +5 -1
- package/types/functions/transforms.search.d.ts +5 -1
- package/types/functions/transforms.start.d.ts +5 -1
- package/types/functions/transforms.stop.d.ts +5 -1
- package/types/functions/update.d.ts +5 -1
- package/types/functions/update_by_query.d.ts +5 -1
- package/types/functions/update_by_query_rethrottle.d.ts +5 -1
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Common from '../components/_common'
|
|
18
19
|
|
|
@@ -21,7 +22,7 @@ export interface Request extends Global.Params {
|
|
|
21
22
|
id?: Common.Id;
|
|
22
23
|
}
|
|
23
24
|
|
|
24
|
-
export interface
|
|
25
|
+
export interface ResponseBody {
|
|
25
26
|
template_output: Record<string, Record<string, any>>;
|
|
26
27
|
}
|
|
27
28
|
|
|
@@ -31,3 +32,6 @@ export interface RequestBody {
|
|
|
31
32
|
source?: string;
|
|
32
33
|
}
|
|
33
34
|
|
|
35
|
+
export interface Response extends ApiResponse {
|
|
36
|
+
body: ResponseBody
|
|
37
|
+
}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Common from '../components/_common'
|
|
18
19
|
|
|
@@ -20,5 +21,8 @@ export interface Request extends Global.Params {
|
|
|
20
21
|
id: Common.Id;
|
|
21
22
|
}
|
|
22
23
|
|
|
23
|
-
export type
|
|
24
|
+
export type ResponseBody = Record<string, any>
|
|
24
25
|
|
|
26
|
+
export interface Response extends ApiResponse {
|
|
27
|
+
body: ResponseBody
|
|
28
|
+
}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Common from '../components/_common'
|
|
18
19
|
import * as Rollups_Common from '../components/rollups._common'
|
|
@@ -21,5 +22,8 @@ export interface Request extends Global.Params {
|
|
|
21
22
|
id: Common.Id;
|
|
22
23
|
}
|
|
23
24
|
|
|
24
|
-
export type
|
|
25
|
+
export type ResponseBody = Rollups_Common.ExplainEntities
|
|
25
26
|
|
|
27
|
+
export interface Response extends ApiResponse {
|
|
28
|
+
body: ResponseBody
|
|
29
|
+
}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Common from '../components/_common'
|
|
18
19
|
import * as Rollups_Common from '../components/rollups._common'
|
|
@@ -21,5 +22,8 @@ export interface Request extends Global.Params {
|
|
|
21
22
|
id: Common.Id;
|
|
22
23
|
}
|
|
23
24
|
|
|
24
|
-
export type
|
|
25
|
+
export type ResponseBody = Rollups_Common.RollupEntity
|
|
25
26
|
|
|
27
|
+
export interface Response extends ApiResponse {
|
|
28
|
+
body: ResponseBody
|
|
29
|
+
}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Rollups_Common from '../components/rollups._common'
|
|
18
19
|
import * as Common from '../components/_common'
|
|
@@ -24,5 +25,8 @@ export interface Request extends Global.Params {
|
|
|
24
25
|
if_seq_no?: Common.SequenceNumber;
|
|
25
26
|
}
|
|
26
27
|
|
|
27
|
-
export type
|
|
28
|
+
export type ResponseBody = Rollups_Common.RollupEntity
|
|
28
29
|
|
|
30
|
+
export interface Response extends ApiResponse {
|
|
31
|
+
body: ResponseBody
|
|
32
|
+
}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Common from '../components/_common'
|
|
18
19
|
|
|
@@ -20,5 +21,8 @@ export interface Request extends Global.Params {
|
|
|
20
21
|
id: Common.Id;
|
|
21
22
|
}
|
|
22
23
|
|
|
23
|
-
export type
|
|
24
|
+
export type ResponseBody = Record<string, any>
|
|
24
25
|
|
|
26
|
+
export interface Response extends ApiResponse {
|
|
27
|
+
body: ResponseBody
|
|
28
|
+
}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Common from '../components/_common'
|
|
18
19
|
|
|
@@ -20,5 +21,8 @@ export interface Request extends Global.Params {
|
|
|
20
21
|
id: Common.Id;
|
|
21
22
|
}
|
|
22
23
|
|
|
23
|
-
export type
|
|
24
|
+
export type ResponseBody = Record<string, any>
|
|
24
25
|
|
|
26
|
+
export interface Response extends ApiResponse {
|
|
27
|
+
body: ResponseBody
|
|
28
|
+
}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Core_ScriptsPainlessExecute from '../components/_core.scripts_painless_execute'
|
|
18
19
|
import * as Common from '../components/_common'
|
|
@@ -21,7 +22,7 @@ export interface Request extends Global.Params {
|
|
|
21
22
|
body?: RequestBody;
|
|
22
23
|
}
|
|
23
24
|
|
|
24
|
-
export interface
|
|
25
|
+
export interface ResponseBody {
|
|
25
26
|
result: Record<string, any>;
|
|
26
27
|
}
|
|
27
28
|
|
|
@@ -31,3 +32,6 @@ export interface RequestBody {
|
|
|
31
32
|
script?: Common.InlineScript;
|
|
32
33
|
}
|
|
33
34
|
|
|
35
|
+
export interface Response extends ApiResponse {
|
|
36
|
+
body: ResponseBody
|
|
37
|
+
}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Common from '../components/_common'
|
|
18
19
|
import * as Core_Search from '../components/_core.search'
|
|
@@ -24,10 +25,13 @@ export interface Request extends Global.Params {
|
|
|
24
25
|
scroll_id?: Common.ScrollId;
|
|
25
26
|
}
|
|
26
27
|
|
|
27
|
-
export type
|
|
28
|
+
export type ResponseBody = Core_Search.ResponseBody
|
|
28
29
|
|
|
29
30
|
export interface RequestBody {
|
|
30
31
|
scroll?: Common.Duration;
|
|
31
32
|
scroll_id: Common.ScrollId;
|
|
32
33
|
}
|
|
33
34
|
|
|
35
|
+
export interface Response extends ApiResponse {
|
|
36
|
+
body: ResponseBody
|
|
37
|
+
}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Core_Search from '../components/_core.search'
|
|
18
19
|
import * as Common from '../components/_common'
|
|
@@ -71,7 +72,7 @@ export interface Request extends Global.Params {
|
|
|
71
72
|
version?: boolean;
|
|
72
73
|
}
|
|
73
74
|
|
|
74
|
-
export type
|
|
75
|
+
export type ResponseBody = Core_Search.ResponseBody
|
|
75
76
|
|
|
76
77
|
export interface RequestBody {
|
|
77
78
|
_source?: Core_Search.SourceConfig;
|
|
@@ -109,3 +110,6 @@ export interface RequestBody {
|
|
|
109
110
|
version?: boolean;
|
|
110
111
|
}
|
|
111
112
|
|
|
113
|
+
export interface Response extends ApiResponse {
|
|
114
|
+
body: ResponseBody
|
|
115
|
+
}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Common from '../components/_common'
|
|
18
19
|
|
|
@@ -22,7 +23,10 @@ export interface Request extends Global.Params {
|
|
|
22
23
|
timeout?: Common.Duration;
|
|
23
24
|
}
|
|
24
25
|
|
|
25
|
-
export interface
|
|
26
|
+
export interface ResponseBody {
|
|
26
27
|
acknowledged?: boolean;
|
|
27
28
|
}
|
|
28
29
|
|
|
30
|
+
export interface Response extends ApiResponse {
|
|
31
|
+
body: ResponseBody
|
|
32
|
+
}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Common from '../components/_common'
|
|
18
19
|
import * as SearchPipeline_Common from '../components/search_pipeline._common'
|
|
@@ -22,5 +23,8 @@ export interface Request extends Global.Params {
|
|
|
22
23
|
id?: string;
|
|
23
24
|
}
|
|
24
25
|
|
|
25
|
-
export type
|
|
26
|
+
export type ResponseBody = SearchPipeline_Common.SearchPipelineMap
|
|
26
27
|
|
|
28
|
+
export interface Response extends ApiResponse {
|
|
29
|
+
body: ResponseBody
|
|
30
|
+
}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as SearchPipeline_Common from '../components/search_pipeline._common'
|
|
18
19
|
import * as Common from '../components/_common'
|
|
@@ -24,7 +25,10 @@ export interface Request extends Global.Params {
|
|
|
24
25
|
timeout?: Common.Duration;
|
|
25
26
|
}
|
|
26
27
|
|
|
27
|
-
export interface
|
|
28
|
+
export interface ResponseBody {
|
|
28
29
|
acknowledged?: boolean;
|
|
29
30
|
}
|
|
30
31
|
|
|
32
|
+
export interface Response extends ApiResponse {
|
|
33
|
+
body: ResponseBody
|
|
34
|
+
}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Common from '../components/_common'
|
|
18
19
|
import * as Core_SearchShards from '../components/_core.search_shards'
|
|
@@ -27,9 +28,12 @@ export interface Request extends Global.Params {
|
|
|
27
28
|
routing?: Common.Routing;
|
|
28
29
|
}
|
|
29
30
|
|
|
30
|
-
export interface
|
|
31
|
+
export interface ResponseBody {
|
|
31
32
|
indices: Record<string, Core_SearchShards.ShardStoreIndex>;
|
|
32
33
|
nodes: Record<string, Common.NodeAttributes>;
|
|
33
34
|
shards: Common.NodeShard[][];
|
|
34
35
|
}
|
|
35
36
|
|
|
37
|
+
export interface Response extends ApiResponse {
|
|
38
|
+
body: ResponseBody
|
|
39
|
+
}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Common from '../components/_common'
|
|
18
19
|
import * as Common_Aggregations from '../components/_common.aggregations'
|
|
@@ -36,7 +37,7 @@ export interface Request extends Global.Params {
|
|
|
36
37
|
typed_keys?: boolean;
|
|
37
38
|
}
|
|
38
39
|
|
|
39
|
-
export interface
|
|
40
|
+
export interface ResponseBody {
|
|
40
41
|
_clusters?: Common.ClusterStatistics;
|
|
41
42
|
_scroll_id?: Common.ScrollId;
|
|
42
43
|
_shards: Common.ShardStatistics;
|
|
@@ -61,3 +62,6 @@ export interface RequestBody {
|
|
|
61
62
|
source?: string;
|
|
62
63
|
}
|
|
63
64
|
|
|
65
|
+
export interface Response extends ApiResponse {
|
|
66
|
+
body: ResponseBody
|
|
67
|
+
}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Security_Common from '../components/security._common'
|
|
18
19
|
|
|
@@ -21,5 +22,8 @@ export interface Request extends Global.Params {
|
|
|
21
22
|
verbose?: boolean;
|
|
22
23
|
}
|
|
23
24
|
|
|
24
|
-
export type
|
|
25
|
+
export type ResponseBody = Security_Common.AuthInfo
|
|
25
26
|
|
|
27
|
+
export interface Response extends ApiResponse {
|
|
28
|
+
body: ResponseBody
|
|
29
|
+
}
|
|
@@ -13,10 +13,14 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Security_Common from '../components/security._common'
|
|
18
19
|
|
|
19
20
|
export type Request = Global.Params & Record<string, any>
|
|
20
21
|
|
|
21
|
-
export type
|
|
22
|
+
export type ResponseBody = Security_Common.Ok
|
|
22
23
|
|
|
24
|
+
export interface Response extends ApiResponse {
|
|
25
|
+
body: ResponseBody
|
|
26
|
+
}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Security_Common from '../components/security._common'
|
|
18
19
|
|
|
@@ -20,5 +21,8 @@ export interface Request extends Global.Params {
|
|
|
20
21
|
body: Security_Common.ChangePasswordRequestContent;
|
|
21
22
|
}
|
|
22
23
|
|
|
23
|
-
export type
|
|
24
|
+
export type ResponseBody = Security_Common.Ok
|
|
24
25
|
|
|
26
|
+
export interface Response extends ApiResponse {
|
|
27
|
+
body: ResponseBody
|
|
28
|
+
}
|
|
@@ -13,10 +13,14 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Security_Common from '../components/security._common'
|
|
18
19
|
|
|
19
20
|
export type Request = Global.Params & Record<string, any>
|
|
20
21
|
|
|
21
|
-
export type
|
|
22
|
+
export type ResponseBody = Security_Common.UpgradeCheck
|
|
22
23
|
|
|
24
|
+
export interface Response extends ApiResponse {
|
|
25
|
+
body: ResponseBody
|
|
26
|
+
}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Security_Common from '../components/security._common'
|
|
18
19
|
|
|
@@ -20,5 +21,8 @@ export interface Request extends Global.Params {
|
|
|
20
21
|
body?: Security_Common.ConfigUpgradePayload;
|
|
21
22
|
}
|
|
22
23
|
|
|
23
|
-
export type
|
|
24
|
+
export type ResponseBody = Security_Common.UpgradePerform
|
|
24
25
|
|
|
26
|
+
export interface Response extends ApiResponse {
|
|
27
|
+
body: ResponseBody
|
|
28
|
+
}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Security_Common from '../components/security._common'
|
|
18
19
|
|
|
@@ -21,5 +22,8 @@ export interface Request extends Global.Params {
|
|
|
21
22
|
body: Security_Common.ActionGroup;
|
|
22
23
|
}
|
|
23
24
|
|
|
24
|
-
export type
|
|
25
|
+
export type ResponseBody = Security_Common.Ok
|
|
25
26
|
|
|
27
|
+
export interface Response extends ApiResponse {
|
|
28
|
+
body: ResponseBody
|
|
29
|
+
}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Security_Common from '../components/security._common'
|
|
18
19
|
|
|
@@ -20,5 +21,8 @@ export interface Request extends Global.Params {
|
|
|
20
21
|
body: Security_Common.AllowListConfig;
|
|
21
22
|
}
|
|
22
23
|
|
|
23
|
-
export type
|
|
24
|
+
export type ResponseBody = Security_Common.AllowListConfig
|
|
24
25
|
|
|
26
|
+
export interface Response extends ApiResponse {
|
|
27
|
+
body: ResponseBody
|
|
28
|
+
}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Security_Common from '../components/security._common'
|
|
18
19
|
|
|
@@ -21,5 +22,8 @@ export interface Request extends Global.Params {
|
|
|
21
22
|
role: string;
|
|
22
23
|
}
|
|
23
24
|
|
|
24
|
-
export type
|
|
25
|
+
export type ResponseBody = Security_Common.Ok
|
|
25
26
|
|
|
27
|
+
export interface Response extends ApiResponse {
|
|
28
|
+
body: ResponseBody
|
|
29
|
+
}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Security_Common from '../components/security._common'
|
|
18
19
|
|
|
@@ -21,5 +22,8 @@ export interface Request extends Global.Params {
|
|
|
21
22
|
role: string;
|
|
22
23
|
}
|
|
23
24
|
|
|
24
|
-
export type
|
|
25
|
+
export type ResponseBody = Security_Common.Ok
|
|
25
26
|
|
|
27
|
+
export interface Response extends ApiResponse {
|
|
28
|
+
body: ResponseBody
|
|
29
|
+
}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Security_Common from '../components/security._common'
|
|
18
19
|
|
|
@@ -21,5 +22,8 @@ export interface Request extends Global.Params {
|
|
|
21
22
|
tenant: string;
|
|
22
23
|
}
|
|
23
24
|
|
|
24
|
-
export type
|
|
25
|
+
export type ResponseBody = Security_Common.Ok
|
|
25
26
|
|
|
27
|
+
export interface Response extends ApiResponse {
|
|
28
|
+
body: ResponseBody
|
|
29
|
+
}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Security_Common from '../components/security._common'
|
|
18
19
|
|
|
@@ -20,7 +21,10 @@ export interface Request extends Global.Params {
|
|
|
20
21
|
body: RequestBody;
|
|
21
22
|
}
|
|
22
23
|
|
|
23
|
-
export type
|
|
24
|
+
export type ResponseBody = Security_Common.MultiTenancyConfig
|
|
24
25
|
|
|
25
26
|
export type RequestBody = Security_Common.MultiTenancyConfig[]
|
|
26
27
|
|
|
28
|
+
export interface Response extends ApiResponse {
|
|
29
|
+
body: ResponseBody
|
|
30
|
+
}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Security_Common from '../components/security._common'
|
|
18
19
|
|
|
@@ -21,5 +22,8 @@ export interface Request extends Global.Params {
|
|
|
21
22
|
username: string;
|
|
22
23
|
}
|
|
23
24
|
|
|
24
|
-
export type
|
|
25
|
+
export type ResponseBody = Security_Common.Ok
|
|
25
26
|
|
|
27
|
+
export interface Response extends ApiResponse {
|
|
28
|
+
body: ResponseBody
|
|
29
|
+
}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Security_Common from '../components/security._common'
|
|
18
19
|
|
|
@@ -21,5 +22,8 @@ export interface Request extends Global.Params {
|
|
|
21
22
|
username: string;
|
|
22
23
|
}
|
|
23
24
|
|
|
24
|
-
export type
|
|
25
|
+
export type ResponseBody = Security_Common.Ok
|
|
25
26
|
|
|
27
|
+
export interface Response extends ApiResponse {
|
|
28
|
+
body: ResponseBody
|
|
29
|
+
}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Security_Common from '../components/security._common'
|
|
18
19
|
|
|
@@ -20,5 +21,8 @@ export interface Request extends Global.Params {
|
|
|
20
21
|
action_group: string;
|
|
21
22
|
}
|
|
22
23
|
|
|
23
|
-
export type
|
|
24
|
+
export type ResponseBody = Security_Common.Ok
|
|
24
25
|
|
|
26
|
+
export interface Response extends ApiResponse {
|
|
27
|
+
body: ResponseBody
|
|
28
|
+
}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Security_Common from '../components/security._common'
|
|
18
19
|
|
|
@@ -20,5 +21,8 @@ export interface Request extends Global.Params {
|
|
|
20
21
|
cluster_name: string;
|
|
21
22
|
}
|
|
22
23
|
|
|
23
|
-
export type
|
|
24
|
+
export type ResponseBody = Security_Common.Ok
|
|
24
25
|
|
|
26
|
+
export interface Response extends ApiResponse {
|
|
27
|
+
body: ResponseBody
|
|
28
|
+
}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Security_Common from '../components/security._common'
|
|
18
19
|
|
|
@@ -20,5 +21,8 @@ export interface Request extends Global.Params {
|
|
|
20
21
|
role: string;
|
|
21
22
|
}
|
|
22
23
|
|
|
23
|
-
export type
|
|
24
|
+
export type ResponseBody = Security_Common.Ok
|
|
24
25
|
|
|
26
|
+
export interface Response extends ApiResponse {
|
|
27
|
+
body: ResponseBody
|
|
28
|
+
}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Security_Common from '../components/security._common'
|
|
18
19
|
|
|
@@ -20,5 +21,8 @@ export interface Request extends Global.Params {
|
|
|
20
21
|
role: string;
|
|
21
22
|
}
|
|
22
23
|
|
|
23
|
-
export type
|
|
24
|
+
export type ResponseBody = Security_Common.Ok
|
|
24
25
|
|
|
26
|
+
export interface Response extends ApiResponse {
|
|
27
|
+
body: ResponseBody
|
|
28
|
+
}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Security_Common from '../components/security._common'
|
|
18
19
|
|
|
@@ -20,5 +21,8 @@ export interface Request extends Global.Params {
|
|
|
20
21
|
tenant: string;
|
|
21
22
|
}
|
|
22
23
|
|
|
23
|
-
export type
|
|
24
|
+
export type ResponseBody = Security_Common.Ok
|
|
24
25
|
|
|
26
|
+
export interface Response extends ApiResponse {
|
|
27
|
+
body: ResponseBody
|
|
28
|
+
}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Security_Common from '../components/security._common'
|
|
18
19
|
|
|
@@ -20,5 +21,8 @@ export interface Request extends Global.Params {
|
|
|
20
21
|
username: string;
|
|
21
22
|
}
|
|
22
23
|
|
|
23
|
-
export type
|
|
24
|
+
export type ResponseBody = Security_Common.Ok
|
|
24
25
|
|
|
26
|
+
export interface Response extends ApiResponse {
|
|
27
|
+
body: ResponseBody
|
|
28
|
+
}
|