@opensearch-project/opensearch 3.0.0-beta.1 → 3.0.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +0 -4
- package/lib/Transport.d.ts +2 -7
- package/package.json +1 -1
- package/types/Client.d.ts +1229 -1231
- package/types/components/_common.query_dsl.d.ts +1 -1
- package/types/components/search_pipeline._common.d.ts +40 -40
- package/types/components/security._common.d.ts +6 -6
- package/types/functions/bulk.d.ts +10 -6
- package/types/functions/cat.aliases.d.ts +6 -2
- package/types/functions/cat.all_pit_segments.d.ts +6 -2
- package/types/functions/cat.allocation.d.ts +6 -2
- package/types/functions/cat.cluster_manager.d.ts +6 -2
- package/types/functions/cat.count.d.ts +6 -2
- package/types/functions/cat.fielddata.d.ts +6 -2
- package/types/functions/cat.health.d.ts +6 -2
- package/types/functions/cat.help.d.ts +6 -2
- package/types/functions/cat.indices.d.ts +6 -2
- package/types/functions/cat.master.d.ts +6 -2
- package/types/functions/cat.nodeattrs.d.ts +6 -2
- package/types/functions/cat.nodes.d.ts +6 -2
- package/types/functions/cat.pending_tasks.d.ts +6 -2
- package/types/functions/cat.pit_segments.d.ts +10 -6
- package/types/functions/cat.plugins.d.ts +6 -2
- package/types/functions/cat.recovery.d.ts +6 -2
- package/types/functions/cat.repositories.d.ts +6 -2
- package/types/functions/cat.segment_replication.d.ts +6 -2
- package/types/functions/cat.segments.d.ts +6 -2
- package/types/functions/cat.shards.d.ts +6 -2
- package/types/functions/cat.snapshots.d.ts +6 -2
- package/types/functions/cat.tasks.d.ts +6 -2
- package/types/functions/cat.templates.d.ts +6 -2
- package/types/functions/cat.thread_pool.d.ts +6 -2
- package/types/functions/clear_scroll.d.ts +11 -7
- package/types/functions/cluster.allocation_explain.d.ts +14 -10
- package/types/functions/cluster.delete_component_template.d.ts +6 -2
- package/types/functions/cluster.delete_decommission_awareness.d.ts +6 -2
- package/types/functions/cluster.delete_voting_config_exclusions.d.ts +6 -2
- package/types/functions/cluster.delete_weighted_routing.d.ts +6 -2
- package/types/functions/cluster.exists_component_template.d.ts +6 -2
- package/types/functions/cluster.get_component_template.d.ts +6 -2
- package/types/functions/cluster.get_decommission_awareness.d.ts +6 -2
- package/types/functions/cluster.get_settings.d.ts +6 -2
- package/types/functions/cluster.get_weighted_routing.d.ts +6 -2
- package/types/functions/cluster.health.d.ts +6 -2
- package/types/functions/cluster.pending_tasks.d.ts +6 -2
- package/types/functions/cluster.post_voting_config_exclusions.d.ts +6 -2
- package/types/functions/cluster.put_component_template.d.ts +14 -10
- package/types/functions/cluster.put_decommission_awareness.d.ts +6 -2
- package/types/functions/cluster.put_settings.d.ts +13 -9
- package/types/functions/cluster.put_weighted_routing.d.ts +6 -2
- package/types/functions/cluster.remote_info.d.ts +6 -2
- package/types/functions/cluster.reroute.d.ts +11 -7
- package/types/functions/cluster.state.d.ts +6 -2
- package/types/functions/cluster.stats.d.ts +6 -2
- package/types/functions/count.d.ts +11 -7
- package/types/functions/create.d.ts +9 -5
- package/types/functions/create_pit.d.ts +6 -2
- package/types/functions/dangling_indices.delete_dangling_index.d.ts +6 -2
- package/types/functions/dangling_indices.import_dangling_index.d.ts +6 -2
- package/types/functions/dangling_indices.list_dangling_indices.d.ts +6 -2
- package/types/functions/delete.d.ts +6 -2
- package/types/functions/delete_all_pits.d.ts +6 -2
- package/types/functions/delete_by_query.d.ts +14 -10
- package/types/functions/delete_by_query_rethrottle.d.ts +6 -2
- package/types/functions/delete_pit.d.ts +10 -6
- package/types/functions/delete_script.d.ts +6 -2
- package/types/functions/exists.d.ts +6 -2
- package/types/functions/exists_source.d.ts +6 -2
- package/types/functions/explain.d.ts +11 -7
- package/types/functions/field_caps.d.ts +14 -10
- package/types/functions/get.d.ts +6 -2
- package/types/functions/get_all_pits.d.ts +6 -2
- package/types/functions/get_script.d.ts +6 -2
- package/types/functions/get_script_context.d.ts +6 -2
- package/types/functions/get_script_languages.d.ts +6 -2
- package/types/functions/get_source.d.ts +6 -2
- package/types/functions/index.d.ts +9 -5
- package/types/functions/indices.add_block.d.ts +6 -2
- package/types/functions/indices.analyze.d.ts +17 -13
- package/types/functions/indices.clear_cache.d.ts +6 -2
- package/types/functions/indices.clone.d.ts +12 -8
- package/types/functions/indices.close.d.ts +6 -2
- package/types/functions/indices.create.d.ts +14 -10
- package/types/functions/indices.create_data_stream.d.ts +9 -5
- package/types/functions/indices.data_streams_stats.d.ts +6 -2
- package/types/functions/indices.delete.d.ts +6 -2
- package/types/functions/indices.delete_alias.d.ts +6 -2
- package/types/functions/indices.delete_data_stream.d.ts +6 -2
- package/types/functions/indices.delete_index_template.d.ts +6 -2
- package/types/functions/indices.delete_template.d.ts +6 -2
- package/types/functions/indices.exists.d.ts +6 -2
- package/types/functions/indices.exists_alias.d.ts +6 -2
- package/types/functions/indices.exists_index_template.d.ts +6 -2
- package/types/functions/indices.exists_template.d.ts +6 -2
- package/types/functions/indices.flush.d.ts +6 -2
- package/types/functions/indices.forcemerge.d.ts +6 -2
- package/types/functions/indices.get.d.ts +6 -2
- package/types/functions/indices.get_alias.d.ts +6 -2
- package/types/functions/indices.get_data_stream.d.ts +6 -2
- package/types/functions/indices.get_field_mapping.d.ts +6 -2
- package/types/functions/indices.get_index_template.d.ts +6 -2
- package/types/functions/indices.get_mapping.d.ts +6 -2
- package/types/functions/indices.get_settings.d.ts +6 -2
- package/types/functions/indices.get_template.d.ts +6 -2
- package/types/functions/indices.get_upgrade.d.ts +6 -2
- package/types/functions/indices.open.d.ts +6 -2
- package/types/functions/indices.put_alias.d.ts +18 -14
- package/types/functions/indices.put_index_template.d.ts +17 -13
- package/types/functions/indices.put_mapping.d.ts +21 -17
- package/types/functions/indices.put_settings.d.ts +6 -2
- package/types/functions/indices.put_template.d.ts +17 -13
- package/types/functions/indices.recovery.d.ts +6 -2
- package/types/functions/indices.refresh.d.ts +6 -2
- package/types/functions/indices.resolve_index.d.ts +6 -2
- package/types/functions/indices.rollover.d.ts +15 -11
- package/types/functions/indices.segments.d.ts +6 -2
- package/types/functions/indices.shard_stores.d.ts +6 -2
- package/types/functions/indices.shrink.d.ts +12 -8
- package/types/functions/indices.simulate_index_template.d.ts +17 -13
- package/types/functions/indices.simulate_template.d.ts +6 -2
- package/types/functions/indices.split.d.ts +13 -9
- package/types/functions/indices.stats.d.ts +6 -2
- package/types/functions/indices.update_aliases.d.ts +11 -7
- package/types/functions/indices.upgrade.d.ts +6 -2
- package/types/functions/indices.validate_query.d.ts +11 -7
- package/types/functions/info.d.ts +6 -2
- package/types/functions/ingest.delete_pipeline.d.ts +6 -2
- package/types/functions/ingest.get_pipeline.d.ts +6 -2
- package/types/functions/ingest.processor_grok.d.ts +6 -2
- package/types/functions/ingest.put_pipeline.d.ts +15 -11
- package/types/functions/ingest.simulate.d.ts +13 -9
- package/types/functions/knn.delete_model.d.ts +6 -2
- package/types/functions/knn.get_model.d.ts +6 -2
- package/types/functions/knn.search_models.d.ts +9 -5
- package/types/functions/knn.stats.d.ts +6 -2
- package/types/functions/knn.train_model.d.ts +13 -9
- package/types/functions/knn.warmup.d.ts +6 -2
- package/types/functions/mget.d.ts +13 -9
- package/types/functions/ml.delete_model.d.ts +6 -2
- package/types/functions/ml.delete_model_group.d.ts +6 -2
- package/types/functions/ml.get_model_group.d.ts +6 -2
- package/types/functions/ml.get_task.d.ts +6 -2
- package/types/functions/ml.register_model.d.ts +11 -7
- package/types/functions/ml.register_model_group.d.ts +11 -7
- package/types/functions/ml.search_models.d.ts +6 -2
- package/types/functions/msearch.d.ts +10 -6
- package/types/functions/msearch_template.d.ts +10 -6
- package/types/functions/mtermvectors.d.ts +13 -9
- package/types/functions/nodes.hot_threads.d.ts +6 -2
- package/types/functions/nodes.info.d.ts +6 -2
- package/types/functions/nodes.reload_secure_settings.d.ts +11 -7
- package/types/functions/nodes.stats.d.ts +6 -2
- package/types/functions/nodes.usage.d.ts +6 -2
- package/types/functions/notifications.create_config.d.ts +6 -2
- package/types/functions/notifications.delete_config.d.ts +6 -2
- package/types/functions/notifications.delete_configs.d.ts +6 -2
- package/types/functions/notifications.get_config.d.ts +6 -2
- package/types/functions/notifications.get_configs.d.ts +14 -10
- package/types/functions/notifications.list_channels.d.ts +6 -2
- package/types/functions/notifications.list_features.d.ts +6 -2
- package/types/functions/notifications.send_test.d.ts +6 -2
- package/types/functions/notifications.update_config.d.ts +6 -2
- package/types/functions/ping.d.ts +6 -2
- package/types/functions/ppl.explain.d.ts +6 -2
- package/types/functions/ppl.get_stats.d.ts +6 -2
- package/types/functions/ppl.post_stats.d.ts +6 -2
- package/types/functions/ppl.query.d.ts +6 -2
- package/types/functions/put_script.d.ts +11 -7
- package/types/functions/rank_eval.d.ts +12 -8
- package/types/functions/reindex.d.ts +16 -12
- package/types/functions/reindex_rethrottle.d.ts +6 -2
- package/types/functions/remote_store.restore.d.ts +10 -6
- package/types/functions/render_search_template.d.ts +12 -8
- package/types/functions/rollups.delete.d.ts +6 -2
- package/types/functions/rollups.explain.d.ts +6 -2
- package/types/functions/rollups.get.d.ts +6 -2
- package/types/functions/rollups.put.d.ts +6 -2
- package/types/functions/rollups.start.d.ts +6 -2
- package/types/functions/rollups.stop.d.ts +6 -2
- package/types/functions/scripts_painless_execute.d.ts +13 -9
- package/types/functions/scroll.d.ts +12 -8
- package/types/functions/search.d.ts +45 -41
- package/types/functions/search_pipeline.delete.d.ts +6 -2
- package/types/functions/search_pipeline.get.d.ts +6 -2
- package/types/functions/search_pipeline.put.d.ts +6 -2
- package/types/functions/search_shards.d.ts +6 -2
- package/types/functions/search_template.d.ts +15 -11
- package/types/functions/security.authinfo.d.ts +6 -2
- package/types/functions/security.authtoken.d.ts +6 -2
- package/types/functions/security.change_password.d.ts +6 -2
- package/types/functions/security.config_upgrade_check.d.ts +6 -2
- package/types/functions/security.config_upgrade_perform.d.ts +6 -2
- package/types/functions/security.create_action_group.d.ts +6 -2
- package/types/functions/security.create_allowlist.d.ts +6 -2
- package/types/functions/security.create_role.d.ts +6 -2
- package/types/functions/security.create_role_mapping.d.ts +6 -2
- package/types/functions/security.create_tenant.d.ts +6 -2
- package/types/functions/security.create_update_tenancy_config.d.ts +10 -6
- package/types/functions/security.create_user.d.ts +6 -2
- package/types/functions/security.create_user_legacy.d.ts +6 -2
- package/types/functions/security.delete_action_group.d.ts +6 -2
- package/types/functions/security.delete_distinguished_name.d.ts +6 -2
- package/types/functions/security.delete_role.d.ts +6 -2
- package/types/functions/security.delete_role_mapping.d.ts +6 -2
- package/types/functions/security.delete_tenant.d.ts +6 -2
- package/types/functions/security.delete_user.d.ts +6 -2
- package/types/functions/security.delete_user_legacy.d.ts +6 -2
- package/types/functions/security.flush_cache.d.ts +6 -2
- package/types/functions/security.generate_obo_token.d.ts +6 -2
- package/types/functions/security.generate_user_token.d.ts +6 -2
- package/types/functions/security.generate_user_token_legacy.d.ts +6 -2
- package/types/functions/security.get_account_details.d.ts +6 -2
- package/types/functions/security.get_action_group.d.ts +6 -2
- package/types/functions/security.get_action_groups.d.ts +6 -2
- package/types/functions/security.get_allowlist.d.ts +6 -2
- package/types/functions/security.get_audit_configuration.d.ts +6 -2
- package/types/functions/security.get_certificates.d.ts +6 -2
- package/types/functions/security.get_configuration.d.ts +6 -2
- package/types/functions/security.get_dashboards_info.d.ts +6 -2
- package/types/functions/security.get_distinguished_name.d.ts +6 -2
- package/types/functions/security.get_distinguished_names.d.ts +6 -2
- package/types/functions/security.get_permissions_info.d.ts +6 -2
- package/types/functions/security.get_role.d.ts +6 -2
- package/types/functions/security.get_role_mapping.d.ts +6 -2
- package/types/functions/security.get_role_mappings.d.ts +6 -2
- package/types/functions/security.get_roles.d.ts +6 -2
- package/types/functions/security.get_sslinfo.d.ts +6 -2
- package/types/functions/security.get_tenancy_config.d.ts +6 -2
- package/types/functions/security.get_tenant.d.ts +6 -2
- package/types/functions/security.get_tenants.d.ts +6 -2
- package/types/functions/security.get_user.d.ts +6 -2
- package/types/functions/security.get_user_legacy.d.ts +6 -2
- package/types/functions/security.get_users.d.ts +6 -2
- package/types/functions/security.get_users_legacy.d.ts +6 -2
- package/types/functions/security.health.d.ts +6 -2
- package/types/functions/security.migrate.d.ts +6 -2
- package/types/functions/security.patch_action_group.d.ts +10 -6
- package/types/functions/security.patch_action_groups.d.ts +10 -6
- package/types/functions/security.patch_allowlist.d.ts +10 -6
- package/types/functions/security.patch_audit_configuration.d.ts +10 -6
- package/types/functions/security.patch_configuration.d.ts +10 -6
- package/types/functions/security.patch_distinguished_name.d.ts +6 -2
- package/types/functions/security.patch_distinguished_names.d.ts +10 -6
- package/types/functions/security.patch_role.d.ts +10 -6
- package/types/functions/security.patch_role_mapping.d.ts +10 -6
- package/types/functions/security.patch_role_mappings.d.ts +10 -6
- package/types/functions/security.patch_roles.d.ts +10 -6
- package/types/functions/security.patch_tenant.d.ts +10 -6
- package/types/functions/security.patch_tenants.d.ts +10 -6
- package/types/functions/security.patch_user.d.ts +10 -6
- package/types/functions/security.patch_users.d.ts +10 -6
- package/types/functions/security.post_dashboards_info.d.ts +6 -2
- package/types/functions/security.reload_http_certificates.d.ts +6 -2
- package/types/functions/security.reload_transport_certificates.d.ts +6 -2
- package/types/functions/security.tenant_info.d.ts +6 -2
- package/types/functions/security.update_audit_configuration.d.ts +6 -2
- package/types/functions/security.update_configuration.d.ts +6 -2
- package/types/functions/security.update_distinguished_name.d.ts +6 -2
- package/types/functions/security.validate.d.ts +6 -2
- package/types/functions/security.who_am_i.d.ts +6 -2
- package/types/functions/security.who_am_i_protected.d.ts +6 -2
- package/types/functions/snapshot.cleanup_repository.d.ts +6 -2
- package/types/functions/snapshot.clone.d.ts +10 -6
- package/types/functions/snapshot.create.d.ts +16 -12
- package/types/functions/snapshot.create_repository.d.ts +13 -9
- package/types/functions/snapshot.delete.d.ts +6 -2
- package/types/functions/snapshot.delete_repository.d.ts +6 -2
- package/types/functions/snapshot.get.d.ts +6 -2
- package/types/functions/snapshot.get_repository.d.ts +6 -2
- package/types/functions/snapshot.restore.d.ts +20 -16
- package/types/functions/snapshot.status.d.ts +6 -2
- package/types/functions/snapshot.verify_repository.d.ts +6 -2
- package/types/functions/sql.close.d.ts +6 -2
- package/types/functions/sql.explain.d.ts +6 -2
- package/types/functions/sql.get_stats.d.ts +6 -2
- package/types/functions/sql.post_stats.d.ts +6 -2
- package/types/functions/sql.query.d.ts +6 -2
- package/types/functions/sql.settings.d.ts +10 -6
- package/types/functions/tasks.cancel.d.ts +6 -2
- package/types/functions/tasks.get.d.ts +6 -2
- package/types/functions/tasks.list.d.ts +6 -2
- package/types/functions/termvectors.d.ts +13 -9
- package/types/functions/transforms.delete.d.ts +6 -2
- package/types/functions/transforms.explain.d.ts +6 -2
- package/types/functions/transforms.get.d.ts +6 -2
- package/types/functions/transforms.preview.d.ts +6 -2
- package/types/functions/transforms.put.d.ts +6 -2
- package/types/functions/transforms.search.d.ts +6 -2
- package/types/functions/transforms.start.d.ts +6 -2
- package/types/functions/transforms.stop.d.ts +6 -2
- package/types/functions/update.d.ts +17 -13
- package/types/functions/update_by_query.d.ts +15 -11
- package/types/functions/update_by_query_rethrottle.d.ts +6 -2
|
@@ -13,13 +13,16 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
17
|
+
import * as Core_MsearchTemplate from '../components/_core.msearch_template'
|
|
16
18
|
import * as Global from '../components/_global'
|
|
17
19
|
import * as Common from '../components/_common'
|
|
18
20
|
import * as Core_Msearch from '../components/_core.msearch'
|
|
19
|
-
import * as Core_MsearchTemplate from '../components/_core.msearch_template'
|
|
20
21
|
|
|
21
|
-
export
|
|
22
|
-
|
|
22
|
+
export type MsearchTemplate_RequestBody = Core_MsearchTemplate.RequestItem[]
|
|
23
|
+
|
|
24
|
+
export interface MsearchTemplate_Request extends Global.Params {
|
|
25
|
+
body: MsearchTemplate_RequestBody;
|
|
23
26
|
ccs_minimize_roundtrips?: boolean;
|
|
24
27
|
index?: Common.Indices;
|
|
25
28
|
max_concurrent_searches?: number;
|
|
@@ -28,7 +31,8 @@ export interface Request extends Global.Params {
|
|
|
28
31
|
typed_keys?: boolean;
|
|
29
32
|
}
|
|
30
33
|
|
|
31
|
-
export type
|
|
32
|
-
|
|
33
|
-
export type RequestBody = Core_MsearchTemplate.RequestItem[]
|
|
34
|
+
export type MsearchTemplate_ResponseBody = Core_Msearch.MultiSearchResult
|
|
34
35
|
|
|
36
|
+
export interface MsearchTemplate_Response extends ApiResponse {
|
|
37
|
+
body: MsearchTemplate_ResponseBody
|
|
38
|
+
}
|
|
@@ -13,12 +13,18 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
-
import
|
|
17
|
-
import * as Common from '../components/_common'
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
18
17
|
import * as Core_Mtermvectors from '../components/_core.mtermvectors'
|
|
18
|
+
import * as Common from '../components/_common'
|
|
19
|
+
import * as Global from '../components/_global'
|
|
19
20
|
|
|
20
|
-
export interface
|
|
21
|
-
|
|
21
|
+
export interface Mtermvectors_RequestBody {
|
|
22
|
+
docs?: Core_Mtermvectors.Operation[];
|
|
23
|
+
ids?: Common.Id[];
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export interface Mtermvectors_Request extends Global.Params {
|
|
27
|
+
body?: Mtermvectors_RequestBody;
|
|
22
28
|
field_statistics?: boolean;
|
|
23
29
|
fields?: Common.Fields;
|
|
24
30
|
ids?: Common.Id[];
|
|
@@ -34,12 +40,10 @@ export interface Request extends Global.Params {
|
|
|
34
40
|
version_type?: Common.VersionType;
|
|
35
41
|
}
|
|
36
42
|
|
|
37
|
-
export interface
|
|
43
|
+
export interface Mtermvectors_ResponseBody {
|
|
38
44
|
docs: Core_Mtermvectors.TermVectorsResult[];
|
|
39
45
|
}
|
|
40
46
|
|
|
41
|
-
export interface
|
|
42
|
-
|
|
43
|
-
ids?: Common.Id[];
|
|
47
|
+
export interface Mtermvectors_Response extends ApiResponse {
|
|
48
|
+
body: Mtermvectors_ResponseBody
|
|
44
49
|
}
|
|
45
|
-
|
|
@@ -13,11 +13,12 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Common from '../components/_common'
|
|
18
19
|
import * as Nodes_Common from '../components/nodes._common'
|
|
19
20
|
|
|
20
|
-
export interface
|
|
21
|
+
export interface Nodes_HotThreads_Request extends Global.Params {
|
|
21
22
|
ignore_idle_threads?: boolean;
|
|
22
23
|
interval?: Common.Duration;
|
|
23
24
|
node_id?: string[];
|
|
@@ -27,5 +28,8 @@ export interface Request extends Global.Params {
|
|
|
27
28
|
type?: Nodes_Common.SampleType;
|
|
28
29
|
}
|
|
29
30
|
|
|
30
|
-
export type
|
|
31
|
+
export type Nodes_HotThreads_ResponseBody = Record<string, any>
|
|
31
32
|
|
|
33
|
+
export interface Nodes_HotThreads_Response extends ApiResponse {
|
|
34
|
+
body: Nodes_HotThreads_ResponseBody
|
|
35
|
+
}
|
|
@@ -13,16 +13,20 @@
|
|
|
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 Nodes_Info from '../components/nodes.info'
|
|
18
19
|
import * as Common from '../components/_common'
|
|
19
20
|
|
|
20
|
-
export interface
|
|
21
|
+
export interface Nodes_Info_Request extends Global.Params {
|
|
21
22
|
flat_settings?: boolean;
|
|
22
23
|
metric?: Nodes_Info.Metric[];
|
|
23
24
|
node_id?: Common.NodeIds;
|
|
24
25
|
timeout?: Common.Duration;
|
|
25
26
|
}
|
|
26
27
|
|
|
27
|
-
export type
|
|
28
|
+
export type Nodes_Info_ResponseBody = Nodes_Info.ResponseBase
|
|
28
29
|
|
|
30
|
+
export interface Nodes_Info_Response extends ApiResponse {
|
|
31
|
+
body: Nodes_Info_ResponseBody
|
|
32
|
+
}
|
|
@@ -13,19 +13,23 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
-
import
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
17
17
|
import * as Common from '../components/_common'
|
|
18
|
+
import * as Global from '../components/_global'
|
|
18
19
|
import * as Nodes_ReloadSecureSettings from '../components/nodes.reload_secure_settings'
|
|
19
20
|
|
|
20
|
-
export interface
|
|
21
|
-
|
|
21
|
+
export interface Nodes_ReloadSecureSettings_RequestBody {
|
|
22
|
+
secure_settings_password?: Common.Password;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export interface Nodes_ReloadSecureSettings_Request extends Global.Params {
|
|
26
|
+
body?: Nodes_ReloadSecureSettings_RequestBody;
|
|
22
27
|
node_id?: Common.NodeIds;
|
|
23
28
|
timeout?: Common.Duration;
|
|
24
29
|
}
|
|
25
30
|
|
|
26
|
-
export type
|
|
31
|
+
export type Nodes_ReloadSecureSettings_ResponseBody = Nodes_ReloadSecureSettings.ResponseBase
|
|
27
32
|
|
|
28
|
-
export interface
|
|
29
|
-
|
|
33
|
+
export interface Nodes_ReloadSecureSettings_Response extends ApiResponse {
|
|
34
|
+
body: Nodes_ReloadSecureSettings_ResponseBody
|
|
30
35
|
}
|
|
31
|
-
|
|
@@ -13,11 +13,12 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Common from '../components/_common'
|
|
18
19
|
import * as Nodes_Stats from '../components/nodes.stats'
|
|
19
20
|
|
|
20
|
-
export interface
|
|
21
|
+
export interface Nodes_Stats_Request extends Global.Params {
|
|
21
22
|
completion_fields?: Common.Fields;
|
|
22
23
|
fielddata_fields?: Common.Fields;
|
|
23
24
|
fields?: Common.Fields;
|
|
@@ -31,5 +32,8 @@ export interface Request extends Global.Params {
|
|
|
31
32
|
types?: string[];
|
|
32
33
|
}
|
|
33
34
|
|
|
34
|
-
export type
|
|
35
|
+
export type Nodes_Stats_ResponseBody = Nodes_Stats.ResponseBase
|
|
35
36
|
|
|
37
|
+
export interface Nodes_Stats_Response extends ApiResponse {
|
|
38
|
+
body: Nodes_Stats_ResponseBody
|
|
39
|
+
}
|
|
@@ -13,15 +13,19 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Nodes_Usage from '../components/nodes.usage'
|
|
18
19
|
import * as Common from '../components/_common'
|
|
19
20
|
|
|
20
|
-
export interface
|
|
21
|
+
export interface Nodes_Usage_Request extends Global.Params {
|
|
21
22
|
metric?: Nodes_Usage.Metric[];
|
|
22
23
|
node_id?: Common.NodeIds;
|
|
23
24
|
timeout?: Common.Duration;
|
|
24
25
|
}
|
|
25
26
|
|
|
26
|
-
export type
|
|
27
|
+
export type Nodes_Usage_ResponseBody = Nodes_Usage.ResponseBase
|
|
27
28
|
|
|
29
|
+
export interface Nodes_Usage_Response extends ApiResponse {
|
|
30
|
+
body: Nodes_Usage_ResponseBody
|
|
31
|
+
}
|
|
@@ -13,14 +13,18 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Notifications_Common from '../components/notifications._common'
|
|
18
19
|
|
|
19
|
-
export interface
|
|
20
|
+
export interface Notifications_CreateConfig_Request extends Global.Params {
|
|
20
21
|
body: Notifications_Common.NotificationsConfig;
|
|
21
22
|
}
|
|
22
23
|
|
|
23
|
-
export interface
|
|
24
|
+
export interface Notifications_CreateConfig_ResponseBody {
|
|
24
25
|
config_id?: string;
|
|
25
26
|
}
|
|
26
27
|
|
|
28
|
+
export interface Notifications_CreateConfig_Response extends ApiResponse {
|
|
29
|
+
body: Notifications_CreateConfig_ResponseBody
|
|
30
|
+
}
|
|
@@ -13,12 +13,16 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Notifications_Common from '../components/notifications._common'
|
|
18
19
|
|
|
19
|
-
export interface
|
|
20
|
+
export interface Notifications_DeleteConfig_Request extends Global.Params {
|
|
20
21
|
config_id: string;
|
|
21
22
|
}
|
|
22
23
|
|
|
23
|
-
export type
|
|
24
|
+
export type Notifications_DeleteConfig_ResponseBody = Notifications_Common.DeleteConfigsResponse
|
|
24
25
|
|
|
26
|
+
export interface Notifications_DeleteConfig_Response extends ApiResponse {
|
|
27
|
+
body: Notifications_DeleteConfig_ResponseBody
|
|
28
|
+
}
|
|
@@ -13,13 +13,17 @@
|
|
|
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 Notifications_Common from '../components/notifications._common'
|
|
18
19
|
|
|
19
|
-
export interface
|
|
20
|
+
export interface Notifications_DeleteConfigs_Request extends Global.Params {
|
|
20
21
|
config_id: string;
|
|
21
22
|
config_id_list?: string;
|
|
22
23
|
}
|
|
23
24
|
|
|
24
|
-
export type
|
|
25
|
+
export type Notifications_DeleteConfigs_ResponseBody = Notifications_Common.DeleteConfigsResponse
|
|
25
26
|
|
|
27
|
+
export interface Notifications_DeleteConfigs_Response extends ApiResponse {
|
|
28
|
+
body: Notifications_DeleteConfigs_ResponseBody
|
|
29
|
+
}
|
|
@@ -13,12 +13,16 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Notifications_Common from '../components/notifications._common'
|
|
18
19
|
|
|
19
|
-
export interface
|
|
20
|
+
export interface Notifications_GetConfig_Request extends Global.Params {
|
|
20
21
|
config_id: string;
|
|
21
22
|
}
|
|
22
23
|
|
|
23
|
-
export type
|
|
24
|
+
export type Notifications_GetConfig_ResponseBody = Notifications_Common.GetConfigsResponse
|
|
24
25
|
|
|
26
|
+
export interface Notifications_GetConfig_Response extends ApiResponse {
|
|
27
|
+
body: Notifications_GetConfig_ResponseBody
|
|
28
|
+
}
|
|
@@ -13,11 +13,20 @@
|
|
|
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 Notifications_Common from '../components/notifications._common'
|
|
18
19
|
|
|
19
|
-
export interface
|
|
20
|
-
|
|
20
|
+
export interface Notifications_GetConfigs_RequestBody {
|
|
21
|
+
config_id_list?: string[];
|
|
22
|
+
from_index?: number;
|
|
23
|
+
max_items?: number;
|
|
24
|
+
sort_field?: string;
|
|
25
|
+
sort_order?: string;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export interface Notifications_GetConfigs_Request extends Global.Params {
|
|
29
|
+
body?: Notifications_GetConfigs_RequestBody;
|
|
21
30
|
'chime.url'?: string;
|
|
22
31
|
'chime.url.keyword'?: string;
|
|
23
32
|
config_type?: Notifications_Common.NotificationConfigType;
|
|
@@ -58,13 +67,8 @@ export interface Request extends Global.Params {
|
|
|
58
67
|
'webhook.url.keyword'?: string;
|
|
59
68
|
}
|
|
60
69
|
|
|
61
|
-
export type
|
|
70
|
+
export type Notifications_GetConfigs_ResponseBody = Notifications_Common.GetConfigsResponse
|
|
62
71
|
|
|
63
|
-
export interface
|
|
64
|
-
|
|
65
|
-
from_index?: number;
|
|
66
|
-
max_items?: number;
|
|
67
|
-
sort_field?: string;
|
|
68
|
-
sort_order?: string;
|
|
72
|
+
export interface Notifications_GetConfigs_Response extends ApiResponse {
|
|
73
|
+
body: Notifications_GetConfigs_ResponseBody
|
|
69
74
|
}
|
|
70
|
-
|
|
@@ -13,15 +13,19 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Notifications_Common from '../components/notifications._common'
|
|
18
19
|
|
|
19
|
-
export type
|
|
20
|
+
export type Notifications_ListChannels_Request = Global.Params & Record<string, any>
|
|
20
21
|
|
|
21
|
-
export interface
|
|
22
|
+
export interface Notifications_ListChannels_ResponseBody {
|
|
22
23
|
channel_list?: Notifications_Common.NotificationChannel[];
|
|
23
24
|
start_index?: number;
|
|
24
25
|
total_hit_relation?: Notifications_Common.TotalHitRelation;
|
|
25
26
|
total_hits?: number;
|
|
26
27
|
}
|
|
27
28
|
|
|
29
|
+
export interface Notifications_ListChannels_Response extends ApiResponse {
|
|
30
|
+
body: Notifications_ListChannels_ResponseBody
|
|
31
|
+
}
|
|
@@ -13,13 +13,17 @@
|
|
|
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 Notifications_Common from '../components/notifications._common'
|
|
18
19
|
|
|
19
|
-
export type
|
|
20
|
+
export type Notifications_ListFeatures_Request = Global.Params & Record<string, any>
|
|
20
21
|
|
|
21
|
-
export interface
|
|
22
|
+
export interface Notifications_ListFeatures_ResponseBody {
|
|
22
23
|
allowed_config_type_list?: Notifications_Common.NotificationConfigType[];
|
|
23
24
|
plugin_features?: Notifications_Common.NotificationsPluginFeaturesMap;
|
|
24
25
|
}
|
|
25
26
|
|
|
27
|
+
export interface Notifications_ListFeatures_Response extends ApiResponse {
|
|
28
|
+
body: Notifications_ListFeatures_ResponseBody
|
|
29
|
+
}
|
|
@@ -13,15 +13,19 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Notifications_Common from '../components/notifications._common'
|
|
18
19
|
|
|
19
|
-
export interface
|
|
20
|
+
export interface Notifications_SendTest_Request extends Global.Params {
|
|
20
21
|
config_id: string;
|
|
21
22
|
}
|
|
22
23
|
|
|
23
|
-
export interface
|
|
24
|
+
export interface Notifications_SendTest_ResponseBody {
|
|
24
25
|
event_source?: Notifications_Common.EventSource;
|
|
25
26
|
status_list?: Notifications_Common.EventStatus[];
|
|
26
27
|
}
|
|
27
28
|
|
|
29
|
+
export interface Notifications_SendTest_Response extends ApiResponse {
|
|
30
|
+
body: Notifications_SendTest_ResponseBody
|
|
31
|
+
}
|
|
@@ -13,15 +13,19 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Notifications_Common from '../components/notifications._common'
|
|
18
19
|
|
|
19
|
-
export interface
|
|
20
|
+
export interface Notifications_UpdateConfig_Request extends Global.Params {
|
|
20
21
|
body: Notifications_Common.NotificationsConfig;
|
|
21
22
|
config_id: string;
|
|
22
23
|
}
|
|
23
24
|
|
|
24
|
-
export interface
|
|
25
|
+
export interface Notifications_UpdateConfig_ResponseBody {
|
|
25
26
|
config_id?: string;
|
|
26
27
|
}
|
|
27
28
|
|
|
29
|
+
export interface Notifications_UpdateConfig_Response extends ApiResponse {
|
|
30
|
+
body: Notifications_UpdateConfig_ResponseBody
|
|
31
|
+
}
|
|
@@ -13,9 +13,13 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
|
|
18
|
-
export type
|
|
19
|
+
export type Ping_Request = Global.Params & Record<string, any>
|
|
19
20
|
|
|
20
|
-
export type
|
|
21
|
+
export type Ping_ResponseBody = Record<string, any>
|
|
21
22
|
|
|
23
|
+
export interface Ping_Response extends ApiResponse {
|
|
24
|
+
body: Ping_ResponseBody
|
|
25
|
+
}
|
|
@@ -13,14 +13,18 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Sql_Common from '../components/sql._common'
|
|
18
19
|
|
|
19
|
-
export interface
|
|
20
|
+
export interface Ppl_Explain_Request extends Global.Params {
|
|
20
21
|
body: Sql_Common.Explain;
|
|
21
22
|
format?: string;
|
|
22
23
|
sanitize?: boolean;
|
|
23
24
|
}
|
|
24
25
|
|
|
25
|
-
export type
|
|
26
|
+
export type Ppl_Explain_ResponseBody = Sql_Common.ExplainResponse
|
|
26
27
|
|
|
28
|
+
export interface Ppl_Explain_Response extends ApiResponse {
|
|
29
|
+
body: Ppl_Explain_ResponseBody
|
|
30
|
+
}
|
|
@@ -13,12 +13,16 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
|
|
18
|
-
export interface
|
|
19
|
+
export interface Ppl_GetStats_Request extends Global.Params {
|
|
19
20
|
format?: string;
|
|
20
21
|
sanitize?: boolean;
|
|
21
22
|
}
|
|
22
23
|
|
|
23
|
-
export type
|
|
24
|
+
export type Ppl_GetStats_ResponseBody = Record<string, any>
|
|
24
25
|
|
|
26
|
+
export interface Ppl_GetStats_Response extends ApiResponse {
|
|
27
|
+
body: Ppl_GetStats_ResponseBody
|
|
28
|
+
}
|
|
@@ -13,14 +13,18 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Sql_Common from '../components/sql._common'
|
|
18
19
|
|
|
19
|
-
export interface
|
|
20
|
+
export interface Ppl_PostStats_Request extends Global.Params {
|
|
20
21
|
body: Sql_Common.Stats;
|
|
21
22
|
format?: string;
|
|
22
23
|
sanitize?: boolean;
|
|
23
24
|
}
|
|
24
25
|
|
|
25
|
-
export type
|
|
26
|
+
export type Ppl_PostStats_ResponseBody = Record<string, any>
|
|
26
27
|
|
|
28
|
+
export interface Ppl_PostStats_Response extends ApiResponse {
|
|
29
|
+
body: Ppl_PostStats_ResponseBody
|
|
30
|
+
}
|
|
@@ -13,14 +13,18 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
16
17
|
import * as Global from '../components/_global'
|
|
17
18
|
import * as Sql_Common from '../components/sql._common'
|
|
18
19
|
|
|
19
|
-
export interface
|
|
20
|
+
export interface Ppl_Query_Request extends Global.Params {
|
|
20
21
|
body: Sql_Common.Query;
|
|
21
22
|
format?: string;
|
|
22
23
|
sanitize?: boolean;
|
|
23
24
|
}
|
|
24
25
|
|
|
25
|
-
export type
|
|
26
|
+
export type Ppl_Query_ResponseBody = Sql_Common.QueryResponse
|
|
26
27
|
|
|
28
|
+
export interface Ppl_Query_Response extends ApiResponse {
|
|
29
|
+
body: Ppl_Query_ResponseBody
|
|
30
|
+
}
|
|
@@ -13,11 +13,16 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
-
import
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
17
17
|
import * as Common from '../components/_common'
|
|
18
|
+
import * as Global from '../components/_global'
|
|
18
19
|
|
|
19
|
-
export interface
|
|
20
|
-
|
|
20
|
+
export interface PutScript_RequestBody {
|
|
21
|
+
script: Common.StoredScript;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface PutScript_Request extends Global.Params {
|
|
25
|
+
body: PutScript_RequestBody;
|
|
21
26
|
cluster_manager_timeout?: Common.Duration;
|
|
22
27
|
context?: Common.Name;
|
|
23
28
|
id: Common.Id;
|
|
@@ -25,9 +30,8 @@ export interface Request extends Global.Params {
|
|
|
25
30
|
timeout?: Common.Duration;
|
|
26
31
|
}
|
|
27
32
|
|
|
28
|
-
export type
|
|
33
|
+
export type PutScript_ResponseBody = Common.AcknowledgedResponseBase
|
|
29
34
|
|
|
30
|
-
export interface
|
|
31
|
-
|
|
35
|
+
export interface PutScript_Response extends ApiResponse {
|
|
36
|
+
body: PutScript_ResponseBody
|
|
32
37
|
}
|
|
33
|
-
|
|
@@ -13,27 +13,31 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
17
|
+
import * as Core_RankEval from '../components/_core.rank_eval'
|
|
16
18
|
import * as Global from '../components/_global'
|
|
17
19
|
import * as Common from '../components/_common'
|
|
18
|
-
import * as Core_RankEval from '../components/_core.rank_eval'
|
|
19
20
|
|
|
20
|
-
export interface
|
|
21
|
+
export interface RankEval_RequestBody {
|
|
22
|
+
metric?: Core_RankEval.RankEvalMetric;
|
|
23
|
+
requests: Core_RankEval.RankEvalRequestItem[];
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export interface RankEval_Request extends Global.Params {
|
|
21
27
|
allow_no_indices?: boolean;
|
|
22
|
-
body:
|
|
28
|
+
body: RankEval_RequestBody;
|
|
23
29
|
expand_wildcards?: Common.ExpandWildcards;
|
|
24
30
|
ignore_unavailable?: boolean;
|
|
25
31
|
index?: Common.Indices;
|
|
26
32
|
search_type?: string;
|
|
27
33
|
}
|
|
28
34
|
|
|
29
|
-
export interface
|
|
35
|
+
export interface RankEval_ResponseBody {
|
|
30
36
|
details: Record<string, Core_RankEval.RankEvalMetricDetail>;
|
|
31
37
|
failures: Record<string, Record<string, any>>;
|
|
32
38
|
metric_score: number;
|
|
33
39
|
}
|
|
34
40
|
|
|
35
|
-
export interface
|
|
36
|
-
|
|
37
|
-
requests: Core_RankEval.RankEvalRequestItem[];
|
|
41
|
+
export interface RankEval_Response extends ApiResponse {
|
|
42
|
+
body: RankEval_ResponseBody
|
|
38
43
|
}
|
|
39
|
-
|
|
@@ -13,12 +13,22 @@
|
|
|
13
13
|
* the API generator.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
-
import
|
|
16
|
+
import { ApiResponse } from '../../lib/Transport'
|
|
17
17
|
import * as Common from '../components/_common'
|
|
18
18
|
import * as Core_Reindex from '../components/_core.reindex'
|
|
19
|
+
import * as Global from '../components/_global'
|
|
19
20
|
|
|
20
|
-
export interface
|
|
21
|
-
|
|
21
|
+
export interface Reindex_RequestBody {
|
|
22
|
+
conflicts?: Common.Conflicts;
|
|
23
|
+
dest: Core_Reindex.Destination;
|
|
24
|
+
max_docs?: number;
|
|
25
|
+
script?: Common.Script;
|
|
26
|
+
size?: number;
|
|
27
|
+
source: Core_Reindex.Source;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export interface Reindex_Request extends Global.Params {
|
|
31
|
+
body: Reindex_RequestBody;
|
|
22
32
|
max_docs?: number;
|
|
23
33
|
refresh?: boolean;
|
|
24
34
|
requests_per_second?: number;
|
|
@@ -29,7 +39,7 @@ export interface Request extends Global.Params {
|
|
|
29
39
|
wait_for_completion?: boolean;
|
|
30
40
|
}
|
|
31
41
|
|
|
32
|
-
export interface
|
|
42
|
+
export interface Reindex_ResponseBody {
|
|
33
43
|
batches?: number;
|
|
34
44
|
created?: number;
|
|
35
45
|
deleted?: number;
|
|
@@ -48,12 +58,6 @@ export interface Response {
|
|
|
48
58
|
version_conflicts?: number;
|
|
49
59
|
}
|
|
50
60
|
|
|
51
|
-
export interface
|
|
52
|
-
|
|
53
|
-
dest: Core_Reindex.Destination;
|
|
54
|
-
max_docs?: number;
|
|
55
|
-
script?: Common.Script;
|
|
56
|
-
size?: number;
|
|
57
|
-
source: Core_Reindex.Source;
|
|
61
|
+
export interface Reindex_Response extends ApiResponse {
|
|
62
|
+
body: Reindex_ResponseBody
|
|
58
63
|
}
|
|
59
|
-
|
|
@@ -13,16 +13,20 @@
|
|
|
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_ReindexRethrottle from '../components/_core.reindex_rethrottle'
|
|
19
20
|
|
|
20
|
-
export interface
|
|
21
|
+
export interface ReindexRethrottle_Request extends Global.Params {
|
|
21
22
|
requests_per_second?: number;
|
|
22
23
|
task_id: Common.Id;
|
|
23
24
|
}
|
|
24
25
|
|
|
25
|
-
export interface
|
|
26
|
+
export interface ReindexRethrottle_ResponseBody {
|
|
26
27
|
nodes: Record<string, Core_ReindexRethrottle.ReindexNode>;
|
|
27
28
|
}
|
|
28
29
|
|
|
30
|
+
export interface ReindexRethrottle_Response extends ApiResponse {
|
|
31
|
+
body: ReindexRethrottle_ResponseBody
|
|
32
|
+
}
|