@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.
Files changed (291) hide show
  1. package/package.json +1 -1
  2. package/types/Client.d.ts +1195 -1195
  3. package/types/components/_common.query_dsl.d.ts +1 -1
  4. package/types/components/search_pipeline._common.d.ts +40 -40
  5. package/types/components/security._common.d.ts +6 -6
  6. package/types/functions/bulk.d.ts +8 -8
  7. package/types/functions/cat.aliases.d.ts +4 -4
  8. package/types/functions/cat.all_pit_segments.d.ts +4 -4
  9. package/types/functions/cat.allocation.d.ts +4 -4
  10. package/types/functions/cat.cluster_manager.d.ts +4 -4
  11. package/types/functions/cat.count.d.ts +4 -4
  12. package/types/functions/cat.fielddata.d.ts +4 -4
  13. package/types/functions/cat.health.d.ts +4 -4
  14. package/types/functions/cat.help.d.ts +4 -4
  15. package/types/functions/cat.indices.d.ts +4 -4
  16. package/types/functions/cat.master.d.ts +4 -4
  17. package/types/functions/cat.nodeattrs.d.ts +4 -4
  18. package/types/functions/cat.nodes.d.ts +4 -4
  19. package/types/functions/cat.pending_tasks.d.ts +4 -4
  20. package/types/functions/cat.pit_segments.d.ts +9 -9
  21. package/types/functions/cat.plugins.d.ts +4 -4
  22. package/types/functions/cat.recovery.d.ts +4 -4
  23. package/types/functions/cat.repositories.d.ts +4 -4
  24. package/types/functions/cat.segment_replication.d.ts +4 -4
  25. package/types/functions/cat.segments.d.ts +4 -4
  26. package/types/functions/cat.shards.d.ts +4 -4
  27. package/types/functions/cat.snapshots.d.ts +4 -4
  28. package/types/functions/cat.tasks.d.ts +4 -4
  29. package/types/functions/cat.templates.d.ts +4 -4
  30. package/types/functions/cat.thread_pool.d.ts +4 -4
  31. package/types/functions/clear_scroll.d.ts +10 -10
  32. package/types/functions/cluster.allocation_explain.d.ts +13 -13
  33. package/types/functions/cluster.delete_component_template.d.ts +4 -4
  34. package/types/functions/cluster.delete_decommission_awareness.d.ts +4 -4
  35. package/types/functions/cluster.delete_voting_config_exclusions.d.ts +4 -4
  36. package/types/functions/cluster.delete_weighted_routing.d.ts +4 -4
  37. package/types/functions/cluster.exists_component_template.d.ts +4 -4
  38. package/types/functions/cluster.get_component_template.d.ts +4 -4
  39. package/types/functions/cluster.get_decommission_awareness.d.ts +4 -4
  40. package/types/functions/cluster.get_settings.d.ts +4 -4
  41. package/types/functions/cluster.get_weighted_routing.d.ts +4 -4
  42. package/types/functions/cluster.health.d.ts +4 -4
  43. package/types/functions/cluster.pending_tasks.d.ts +4 -4
  44. package/types/functions/cluster.post_voting_config_exclusions.d.ts +4 -4
  45. package/types/functions/cluster.put_component_template.d.ts +13 -13
  46. package/types/functions/cluster.put_decommission_awareness.d.ts +4 -4
  47. package/types/functions/cluster.put_settings.d.ts +12 -12
  48. package/types/functions/cluster.put_weighted_routing.d.ts +4 -4
  49. package/types/functions/cluster.remote_info.d.ts +4 -4
  50. package/types/functions/cluster.reroute.d.ts +10 -10
  51. package/types/functions/cluster.state.d.ts +4 -4
  52. package/types/functions/cluster.stats.d.ts +4 -4
  53. package/types/functions/count.d.ts +10 -10
  54. package/types/functions/create.d.ts +7 -7
  55. package/types/functions/create_pit.d.ts +4 -4
  56. package/types/functions/dangling_indices.delete_dangling_index.d.ts +4 -4
  57. package/types/functions/dangling_indices.import_dangling_index.d.ts +4 -4
  58. package/types/functions/dangling_indices.list_dangling_indices.d.ts +4 -4
  59. package/types/functions/delete.d.ts +4 -4
  60. package/types/functions/delete_all_pits.d.ts +4 -4
  61. package/types/functions/delete_by_query.d.ts +13 -13
  62. package/types/functions/delete_by_query_rethrottle.d.ts +4 -4
  63. package/types/functions/delete_pit.d.ts +8 -8
  64. package/types/functions/delete_script.d.ts +4 -4
  65. package/types/functions/exists.d.ts +4 -4
  66. package/types/functions/exists_source.d.ts +4 -4
  67. package/types/functions/explain.d.ts +10 -10
  68. package/types/functions/field_caps.d.ts +13 -13
  69. package/types/functions/get.d.ts +4 -4
  70. package/types/functions/get_all_pits.d.ts +4 -4
  71. package/types/functions/get_script.d.ts +4 -4
  72. package/types/functions/get_script_context.d.ts +4 -4
  73. package/types/functions/get_script_languages.d.ts +4 -4
  74. package/types/functions/get_source.d.ts +4 -4
  75. package/types/functions/index.d.ts +7 -7
  76. package/types/functions/indices.add_block.d.ts +4 -4
  77. package/types/functions/indices.analyze.d.ts +15 -15
  78. package/types/functions/indices.clear_cache.d.ts +4 -4
  79. package/types/functions/indices.clone.d.ts +11 -11
  80. package/types/functions/indices.close.d.ts +4 -4
  81. package/types/functions/indices.create.d.ts +13 -13
  82. package/types/functions/indices.create_data_stream.d.ts +7 -7
  83. package/types/functions/indices.data_streams_stats.d.ts +4 -4
  84. package/types/functions/indices.delete.d.ts +4 -4
  85. package/types/functions/indices.delete_alias.d.ts +4 -4
  86. package/types/functions/indices.delete_data_stream.d.ts +4 -4
  87. package/types/functions/indices.delete_index_template.d.ts +4 -4
  88. package/types/functions/indices.delete_template.d.ts +4 -4
  89. package/types/functions/indices.exists.d.ts +4 -4
  90. package/types/functions/indices.exists_alias.d.ts +4 -4
  91. package/types/functions/indices.exists_index_template.d.ts +4 -4
  92. package/types/functions/indices.exists_template.d.ts +4 -4
  93. package/types/functions/indices.flush.d.ts +4 -4
  94. package/types/functions/indices.forcemerge.d.ts +4 -4
  95. package/types/functions/indices.get.d.ts +4 -4
  96. package/types/functions/indices.get_alias.d.ts +4 -4
  97. package/types/functions/indices.get_data_stream.d.ts +4 -4
  98. package/types/functions/indices.get_field_mapping.d.ts +4 -4
  99. package/types/functions/indices.get_index_template.d.ts +4 -4
  100. package/types/functions/indices.get_mapping.d.ts +4 -4
  101. package/types/functions/indices.get_settings.d.ts +4 -4
  102. package/types/functions/indices.get_template.d.ts +4 -4
  103. package/types/functions/indices.get_upgrade.d.ts +4 -4
  104. package/types/functions/indices.open.d.ts +4 -4
  105. package/types/functions/indices.put_alias.d.ts +16 -16
  106. package/types/functions/indices.put_index_template.d.ts +15 -15
  107. package/types/functions/indices.put_mapping.d.ts +19 -19
  108. package/types/functions/indices.put_settings.d.ts +4 -4
  109. package/types/functions/indices.put_template.d.ts +16 -16
  110. package/types/functions/indices.recovery.d.ts +4 -4
  111. package/types/functions/indices.refresh.d.ts +4 -4
  112. package/types/functions/indices.resolve_index.d.ts +4 -4
  113. package/types/functions/indices.rollover.d.ts +14 -14
  114. package/types/functions/indices.segments.d.ts +4 -4
  115. package/types/functions/indices.shard_stores.d.ts +4 -4
  116. package/types/functions/indices.shrink.d.ts +11 -11
  117. package/types/functions/indices.simulate_index_template.d.ts +15 -15
  118. package/types/functions/indices.simulate_template.d.ts +4 -4
  119. package/types/functions/indices.split.d.ts +12 -12
  120. package/types/functions/indices.stats.d.ts +4 -4
  121. package/types/functions/indices.update_aliases.d.ts +10 -10
  122. package/types/functions/indices.upgrade.d.ts +4 -4
  123. package/types/functions/indices.validate_query.d.ts +10 -10
  124. package/types/functions/info.d.ts +4 -4
  125. package/types/functions/ingest.delete_pipeline.d.ts +4 -4
  126. package/types/functions/ingest.get_pipeline.d.ts +4 -4
  127. package/types/functions/ingest.processor_grok.d.ts +4 -4
  128. package/types/functions/ingest.put_pipeline.d.ts +14 -14
  129. package/types/functions/ingest.simulate.d.ts +12 -12
  130. package/types/functions/knn.delete_model.d.ts +4 -4
  131. package/types/functions/knn.get_model.d.ts +4 -4
  132. package/types/functions/knn.search_models.d.ts +7 -7
  133. package/types/functions/knn.stats.d.ts +4 -4
  134. package/types/functions/knn.train_model.d.ts +11 -11
  135. package/types/functions/knn.warmup.d.ts +4 -4
  136. package/types/functions/mget.d.ts +12 -12
  137. package/types/functions/ml.delete_model.d.ts +4 -4
  138. package/types/functions/ml.delete_model_group.d.ts +4 -4
  139. package/types/functions/ml.get_model_group.d.ts +4 -4
  140. package/types/functions/ml.get_task.d.ts +4 -4
  141. package/types/functions/ml.register_model.d.ts +9 -9
  142. package/types/functions/ml.register_model_group.d.ts +9 -9
  143. package/types/functions/ml.search_models.d.ts +4 -4
  144. package/types/functions/msearch.d.ts +8 -8
  145. package/types/functions/msearch_template.d.ts +8 -8
  146. package/types/functions/mtermvectors.d.ts +12 -12
  147. package/types/functions/nodes.hot_threads.d.ts +4 -4
  148. package/types/functions/nodes.info.d.ts +4 -4
  149. package/types/functions/nodes.reload_secure_settings.d.ts +10 -10
  150. package/types/functions/nodes.stats.d.ts +4 -4
  151. package/types/functions/nodes.usage.d.ts +4 -4
  152. package/types/functions/notifications.create_config.d.ts +4 -4
  153. package/types/functions/notifications.delete_config.d.ts +4 -4
  154. package/types/functions/notifications.delete_configs.d.ts +4 -4
  155. package/types/functions/notifications.get_config.d.ts +4 -4
  156. package/types/functions/notifications.get_configs.d.ts +13 -13
  157. package/types/functions/notifications.list_channels.d.ts +4 -4
  158. package/types/functions/notifications.list_features.d.ts +4 -4
  159. package/types/functions/notifications.send_test.d.ts +4 -4
  160. package/types/functions/notifications.update_config.d.ts +4 -4
  161. package/types/functions/ping.d.ts +4 -4
  162. package/types/functions/ppl.explain.d.ts +4 -4
  163. package/types/functions/ppl.get_stats.d.ts +4 -4
  164. package/types/functions/ppl.post_stats.d.ts +4 -4
  165. package/types/functions/ppl.query.d.ts +4 -4
  166. package/types/functions/put_script.d.ts +10 -10
  167. package/types/functions/rank_eval.d.ts +11 -11
  168. package/types/functions/reindex.d.ts +15 -15
  169. package/types/functions/reindex_rethrottle.d.ts +4 -4
  170. package/types/functions/remote_store.restore.d.ts +9 -9
  171. package/types/functions/render_search_template.d.ts +11 -11
  172. package/types/functions/rollups.delete.d.ts +4 -4
  173. package/types/functions/rollups.explain.d.ts +4 -4
  174. package/types/functions/rollups.get.d.ts +4 -4
  175. package/types/functions/rollups.put.d.ts +4 -4
  176. package/types/functions/rollups.start.d.ts +4 -4
  177. package/types/functions/rollups.stop.d.ts +4 -4
  178. package/types/functions/scripts_painless_execute.d.ts +11 -11
  179. package/types/functions/scroll.d.ts +11 -11
  180. package/types/functions/search.d.ts +44 -44
  181. package/types/functions/search_pipeline.delete.d.ts +4 -4
  182. package/types/functions/search_pipeline.get.d.ts +4 -4
  183. package/types/functions/search_pipeline.put.d.ts +4 -4
  184. package/types/functions/search_shards.d.ts +4 -4
  185. package/types/functions/search_template.d.ts +14 -14
  186. package/types/functions/security.authinfo.d.ts +4 -4
  187. package/types/functions/security.authtoken.d.ts +4 -4
  188. package/types/functions/security.change_password.d.ts +4 -4
  189. package/types/functions/security.config_upgrade_check.d.ts +4 -4
  190. package/types/functions/security.config_upgrade_perform.d.ts +4 -4
  191. package/types/functions/security.create_action_group.d.ts +4 -4
  192. package/types/functions/security.create_allowlist.d.ts +4 -4
  193. package/types/functions/security.create_role.d.ts +4 -4
  194. package/types/functions/security.create_role_mapping.d.ts +4 -4
  195. package/types/functions/security.create_tenant.d.ts +4 -4
  196. package/types/functions/security.create_update_tenancy_config.d.ts +8 -8
  197. package/types/functions/security.create_user.d.ts +4 -4
  198. package/types/functions/security.create_user_legacy.d.ts +4 -4
  199. package/types/functions/security.delete_action_group.d.ts +4 -4
  200. package/types/functions/security.delete_distinguished_name.d.ts +4 -4
  201. package/types/functions/security.delete_role.d.ts +4 -4
  202. package/types/functions/security.delete_role_mapping.d.ts +4 -4
  203. package/types/functions/security.delete_tenant.d.ts +4 -4
  204. package/types/functions/security.delete_user.d.ts +4 -4
  205. package/types/functions/security.delete_user_legacy.d.ts +4 -4
  206. package/types/functions/security.flush_cache.d.ts +4 -4
  207. package/types/functions/security.generate_obo_token.d.ts +4 -4
  208. package/types/functions/security.generate_user_token.d.ts +4 -4
  209. package/types/functions/security.generate_user_token_legacy.d.ts +4 -4
  210. package/types/functions/security.get_account_details.d.ts +4 -4
  211. package/types/functions/security.get_action_group.d.ts +4 -4
  212. package/types/functions/security.get_action_groups.d.ts +4 -4
  213. package/types/functions/security.get_allowlist.d.ts +4 -4
  214. package/types/functions/security.get_audit_configuration.d.ts +4 -4
  215. package/types/functions/security.get_certificates.d.ts +4 -4
  216. package/types/functions/security.get_configuration.d.ts +4 -4
  217. package/types/functions/security.get_dashboards_info.d.ts +4 -4
  218. package/types/functions/security.get_distinguished_name.d.ts +4 -4
  219. package/types/functions/security.get_distinguished_names.d.ts +4 -4
  220. package/types/functions/security.get_permissions_info.d.ts +4 -4
  221. package/types/functions/security.get_role.d.ts +4 -4
  222. package/types/functions/security.get_role_mapping.d.ts +4 -4
  223. package/types/functions/security.get_role_mappings.d.ts +4 -4
  224. package/types/functions/security.get_roles.d.ts +4 -4
  225. package/types/functions/security.get_sslinfo.d.ts +4 -4
  226. package/types/functions/security.get_tenancy_config.d.ts +4 -4
  227. package/types/functions/security.get_tenant.d.ts +4 -4
  228. package/types/functions/security.get_tenants.d.ts +4 -4
  229. package/types/functions/security.get_user.d.ts +4 -4
  230. package/types/functions/security.get_user_legacy.d.ts +4 -4
  231. package/types/functions/security.get_users.d.ts +4 -4
  232. package/types/functions/security.get_users_legacy.d.ts +4 -4
  233. package/types/functions/security.health.d.ts +4 -4
  234. package/types/functions/security.migrate.d.ts +4 -4
  235. package/types/functions/security.patch_action_group.d.ts +8 -8
  236. package/types/functions/security.patch_action_groups.d.ts +8 -8
  237. package/types/functions/security.patch_allowlist.d.ts +8 -8
  238. package/types/functions/security.patch_audit_configuration.d.ts +8 -8
  239. package/types/functions/security.patch_configuration.d.ts +8 -8
  240. package/types/functions/security.patch_distinguished_name.d.ts +4 -4
  241. package/types/functions/security.patch_distinguished_names.d.ts +8 -8
  242. package/types/functions/security.patch_role.d.ts +8 -8
  243. package/types/functions/security.patch_role_mapping.d.ts +8 -8
  244. package/types/functions/security.patch_role_mappings.d.ts +8 -8
  245. package/types/functions/security.patch_roles.d.ts +8 -8
  246. package/types/functions/security.patch_tenant.d.ts +8 -8
  247. package/types/functions/security.patch_tenants.d.ts +8 -8
  248. package/types/functions/security.patch_user.d.ts +8 -8
  249. package/types/functions/security.patch_users.d.ts +8 -8
  250. package/types/functions/security.post_dashboards_info.d.ts +4 -4
  251. package/types/functions/security.reload_http_certificates.d.ts +4 -4
  252. package/types/functions/security.reload_transport_certificates.d.ts +4 -4
  253. package/types/functions/security.tenant_info.d.ts +4 -4
  254. package/types/functions/security.update_audit_configuration.d.ts +4 -4
  255. package/types/functions/security.update_configuration.d.ts +4 -4
  256. package/types/functions/security.update_distinguished_name.d.ts +4 -4
  257. package/types/functions/security.validate.d.ts +4 -4
  258. package/types/functions/security.who_am_i.d.ts +4 -4
  259. package/types/functions/security.who_am_i_protected.d.ts +4 -4
  260. package/types/functions/snapshot.cleanup_repository.d.ts +4 -4
  261. package/types/functions/snapshot.clone.d.ts +9 -9
  262. package/types/functions/snapshot.create.d.ts +15 -15
  263. package/types/functions/snapshot.create_repository.d.ts +12 -12
  264. package/types/functions/snapshot.delete.d.ts +4 -4
  265. package/types/functions/snapshot.delete_repository.d.ts +4 -4
  266. package/types/functions/snapshot.get.d.ts +4 -4
  267. package/types/functions/snapshot.get_repository.d.ts +4 -4
  268. package/types/functions/snapshot.restore.d.ts +18 -18
  269. package/types/functions/snapshot.status.d.ts +4 -4
  270. package/types/functions/snapshot.verify_repository.d.ts +4 -4
  271. package/types/functions/sql.close.d.ts +4 -4
  272. package/types/functions/sql.explain.d.ts +4 -4
  273. package/types/functions/sql.get_stats.d.ts +4 -4
  274. package/types/functions/sql.post_stats.d.ts +4 -4
  275. package/types/functions/sql.query.d.ts +4 -4
  276. package/types/functions/sql.settings.d.ts +8 -8
  277. package/types/functions/tasks.cancel.d.ts +4 -4
  278. package/types/functions/tasks.get.d.ts +4 -4
  279. package/types/functions/tasks.list.d.ts +4 -4
  280. package/types/functions/termvectors.d.ts +12 -12
  281. package/types/functions/transforms.delete.d.ts +4 -4
  282. package/types/functions/transforms.explain.d.ts +4 -4
  283. package/types/functions/transforms.get.d.ts +4 -4
  284. package/types/functions/transforms.preview.d.ts +4 -4
  285. package/types/functions/transforms.put.d.ts +4 -4
  286. package/types/functions/transforms.search.d.ts +4 -4
  287. package/types/functions/transforms.start.d.ts +4 -4
  288. package/types/functions/transforms.stop.d.ts +4 -4
  289. package/types/functions/update.d.ts +16 -16
  290. package/types/functions/update_by_query.d.ts +14 -14
  291. package/types/functions/update_by_query_rethrottle.d.ts +4 -4
@@ -14,12 +14,21 @@
14
14
  */
15
15
 
16
16
  import { ApiResponse } from '../../lib/Transport'
17
- import * as Global from '../components/_global'
18
17
  import * as Common from '../components/_common'
18
+ import * as Global from '../components/_global'
19
19
  import * as Snapshot_Common from '../components/snapshot._common'
20
20
 
21
- export interface Request extends Global.Params {
22
- body?: RequestBody;
21
+ export interface Snapshot_Create_RequestBody {
22
+ feature_states?: string[];
23
+ ignore_unavailable?: boolean;
24
+ include_global_state?: boolean;
25
+ indices?: Common.Indices;
26
+ metadata?: Common.Metadata;
27
+ partial?: boolean;
28
+ }
29
+
30
+ export interface Snapshot_Create_Request extends Global.Params {
31
+ body?: Snapshot_Create_RequestBody;
23
32
  cluster_manager_timeout?: Common.Duration;
24
33
  master_timeout?: Common.Duration;
25
34
  repository: Common.Name;
@@ -27,20 +36,11 @@ export interface Request extends Global.Params {
27
36
  wait_for_completion?: boolean;
28
37
  }
29
38
 
30
- export interface ResponseBody {
39
+ export interface Snapshot_Create_ResponseBody {
31
40
  accepted?: boolean;
32
41
  snapshot?: Snapshot_Common.SnapshotInfo;
33
42
  }
34
43
 
35
- export interface RequestBody {
36
- feature_states?: string[];
37
- ignore_unavailable?: boolean;
38
- include_global_state?: boolean;
39
- indices?: Common.Indices;
40
- metadata?: Common.Metadata;
41
- partial?: boolean;
42
- }
43
-
44
- export interface Response extends ApiResponse {
45
- body: ResponseBody
44
+ export interface Snapshot_Create_Response extends ApiResponse {
45
+ body: Snapshot_Create_ResponseBody
46
46
  }
@@ -14,12 +14,18 @@
14
14
  */
15
15
 
16
16
  import { ApiResponse } from '../../lib/Transport'
17
+ import * as Snapshot_Common from '../components/snapshot._common'
17
18
  import * as Global from '../components/_global'
18
19
  import * as Common from '../components/_common'
19
- import * as Snapshot_Common from '../components/snapshot._common'
20
20
 
21
- export interface Request extends Global.Params {
22
- body: RequestBody;
21
+ export interface Snapshot_CreateRepository_RequestBody {
22
+ repository?: Snapshot_Common.Repository;
23
+ settings: Snapshot_Common.RepositorySettings;
24
+ type: string;
25
+ }
26
+
27
+ export interface Snapshot_CreateRepository_Request extends Global.Params {
28
+ body: Snapshot_CreateRepository_RequestBody;
23
29
  cluster_manager_timeout?: Common.Duration;
24
30
  master_timeout?: Common.Duration;
25
31
  repository: Common.Name;
@@ -27,14 +33,8 @@ export interface Request extends Global.Params {
27
33
  verify?: boolean;
28
34
  }
29
35
 
30
- export type ResponseBody = Common.AcknowledgedResponseBase
31
-
32
- export interface RequestBody {
33
- repository?: Snapshot_Common.Repository;
34
- settings: Snapshot_Common.RepositorySettings;
35
- type: string;
36
- }
36
+ export type Snapshot_CreateRepository_ResponseBody = Common.AcknowledgedResponseBase
37
37
 
38
- export interface Response extends ApiResponse {
39
- body: ResponseBody
38
+ export interface Snapshot_CreateRepository_Response extends ApiResponse {
39
+ body: Snapshot_CreateRepository_ResponseBody
40
40
  }
@@ -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 Request extends Global.Params {
20
+ export interface Snapshot_Delete_Request extends Global.Params {
21
21
  cluster_manager_timeout?: Common.Duration;
22
22
  master_timeout?: Common.Duration;
23
23
  repository: Common.Name;
24
24
  snapshot: Common.Name;
25
25
  }
26
26
 
27
- export type ResponseBody = Common.AcknowledgedResponseBase
27
+ export type Snapshot_Delete_ResponseBody = Common.AcknowledgedResponseBase
28
28
 
29
- export interface Response extends ApiResponse {
30
- body: ResponseBody
29
+ export interface Snapshot_Delete_Response extends ApiResponse {
30
+ body: Snapshot_Delete_ResponseBody
31
31
  }
@@ -17,15 +17,15 @@ import { ApiResponse } from '../../lib/Transport'
17
17
  import * as Global from '../components/_global'
18
18
  import * as Common from '../components/_common'
19
19
 
20
- export interface Request extends Global.Params {
20
+ export interface Snapshot_DeleteRepository_Request extends Global.Params {
21
21
  cluster_manager_timeout?: Common.Duration;
22
22
  master_timeout?: Common.Duration;
23
23
  repository: Common.Names;
24
24
  timeout?: Common.Duration;
25
25
  }
26
26
 
27
- export type ResponseBody = Common.AcknowledgedResponseBase
27
+ export type Snapshot_DeleteRepository_ResponseBody = Common.AcknowledgedResponseBase
28
28
 
29
- export interface Response extends ApiResponse {
30
- body: ResponseBody
29
+ export interface Snapshot_DeleteRepository_Response extends ApiResponse {
30
+ body: Snapshot_DeleteRepository_ResponseBody
31
31
  }
@@ -19,7 +19,7 @@ import * as Common from '../components/_common'
19
19
  import * as Snapshot_Get from '../components/snapshot.get'
20
20
  import * as Snapshot_Common from '../components/snapshot._common'
21
21
 
22
- export interface Request extends Global.Params {
22
+ export interface Snapshot_Get_Request extends Global.Params {
23
23
  cluster_manager_timeout?: Common.Duration;
24
24
  ignore_unavailable?: boolean;
25
25
  master_timeout?: Common.Duration;
@@ -28,13 +28,13 @@ export interface Request extends Global.Params {
28
28
  verbose?: boolean;
29
29
  }
30
30
 
31
- export interface ResponseBody {
31
+ export interface Snapshot_Get_ResponseBody {
32
32
  remaining: number;
33
33
  responses?: Snapshot_Get.SnapshotResponseItem[];
34
34
  snapshots?: Snapshot_Common.SnapshotInfo[];
35
35
  total: number;
36
36
  }
37
37
 
38
- export interface Response extends ApiResponse {
39
- body: ResponseBody
38
+ export interface Snapshot_Get_Response extends ApiResponse {
39
+ body: Snapshot_Get_ResponseBody
40
40
  }
@@ -18,15 +18,15 @@ import * as Global from '../components/_global'
18
18
  import * as Common from '../components/_common'
19
19
  import * as Snapshot_Common from '../components/snapshot._common'
20
20
 
21
- export interface Request extends Global.Params {
21
+ export interface Snapshot_GetRepository_Request extends Global.Params {
22
22
  cluster_manager_timeout?: Common.Duration;
23
23
  local?: boolean;
24
24
  master_timeout?: Common.Duration;
25
25
  repository?: Common.Names;
26
26
  }
27
27
 
28
- export type ResponseBody = Record<string, Snapshot_Common.Repository>
28
+ export type Snapshot_GetRepository_ResponseBody = Record<string, Snapshot_Common.Repository>
29
29
 
30
- export interface Response extends ApiResponse {
31
- body: ResponseBody
30
+ export interface Snapshot_GetRepository_Response extends ApiResponse {
31
+ body: Snapshot_GetRepository_ResponseBody
32
32
  }
@@ -14,25 +14,12 @@
14
14
  */
15
15
 
16
16
  import { ApiResponse } from '../../lib/Transport'
17
- import * as Global from '../components/_global'
17
+ import * as Indices_Common from '../components/indices._common'
18
18
  import * as Common from '../components/_common'
19
+ import * as Global from '../components/_global'
19
20
  import * as Snapshot_Restore from '../components/snapshot.restore'
20
- import * as Indices_Common from '../components/indices._common'
21
-
22
- export interface Request extends Global.Params {
23
- body?: RequestBody;
24
- cluster_manager_timeout?: Common.Duration;
25
- master_timeout?: Common.Duration;
26
- repository: Common.Name;
27
- snapshot: Common.Name;
28
- wait_for_completion?: boolean;
29
- }
30
-
31
- export interface ResponseBody {
32
- snapshot: Snapshot_Restore.SnapshotRestore;
33
- }
34
21
 
35
- export interface RequestBody {
22
+ export interface Snapshot_Restore_RequestBody {
36
23
  feature_states?: string[];
37
24
  ignore_index_settings?: string[];
38
25
  ignore_unavailable?: boolean;
@@ -45,6 +32,19 @@ export interface RequestBody {
45
32
  rename_replacement?: string;
46
33
  }
47
34
 
48
- export interface Response extends ApiResponse {
49
- body: ResponseBody
35
+ export interface Snapshot_Restore_Request extends Global.Params {
36
+ body?: Snapshot_Restore_RequestBody;
37
+ cluster_manager_timeout?: Common.Duration;
38
+ master_timeout?: Common.Duration;
39
+ repository: Common.Name;
40
+ snapshot: Common.Name;
41
+ wait_for_completion?: boolean;
42
+ }
43
+
44
+ export interface Snapshot_Restore_ResponseBody {
45
+ snapshot: Snapshot_Restore.SnapshotRestore;
46
+ }
47
+
48
+ export interface Snapshot_Restore_Response extends ApiResponse {
49
+ body: Snapshot_Restore_ResponseBody
50
50
  }
@@ -18,7 +18,7 @@ import * as Global from '../components/_global'
18
18
  import * as Common from '../components/_common'
19
19
  import * as Snapshot_Common from '../components/snapshot._common'
20
20
 
21
- export interface Request extends Global.Params {
21
+ export interface Snapshot_Status_Request extends Global.Params {
22
22
  cluster_manager_timeout?: Common.Duration;
23
23
  ignore_unavailable?: boolean;
24
24
  master_timeout?: Common.Duration;
@@ -26,10 +26,10 @@ export interface Request extends Global.Params {
26
26
  snapshot?: Common.Names;
27
27
  }
28
28
 
29
- export interface ResponseBody {
29
+ export interface Snapshot_Status_ResponseBody {
30
30
  snapshots: Snapshot_Common.Status[];
31
31
  }
32
32
 
33
- export interface Response extends ApiResponse {
34
- body: ResponseBody
33
+ export interface Snapshot_Status_Response extends ApiResponse {
34
+ body: Snapshot_Status_ResponseBody
35
35
  }
@@ -18,17 +18,17 @@ import * as Global from '../components/_global'
18
18
  import * as Common from '../components/_common'
19
19
  import * as Snapshot_VerifyRepository from '../components/snapshot.verify_repository'
20
20
 
21
- export interface Request extends Global.Params {
21
+ export interface Snapshot_VerifyRepository_Request extends Global.Params {
22
22
  cluster_manager_timeout?: Common.Duration;
23
23
  master_timeout?: Common.Duration;
24
24
  repository: Common.Name;
25
25
  timeout?: Common.Duration;
26
26
  }
27
27
 
28
- export interface ResponseBody {
28
+ export interface Snapshot_VerifyRepository_ResponseBody {
29
29
  nodes: Record<string, Snapshot_VerifyRepository.CompactNodeInfo>;
30
30
  }
31
31
 
32
- export interface Response extends ApiResponse {
33
- body: ResponseBody
32
+ export interface Snapshot_VerifyRepository_Response extends ApiResponse {
33
+ body: Snapshot_VerifyRepository_ResponseBody
34
34
  }
@@ -17,14 +17,14 @@ import { ApiResponse } from '../../lib/Transport'
17
17
  import * as Global from '../components/_global'
18
18
  import * as Sql_Common from '../components/sql._common'
19
19
 
20
- export interface Request extends Global.Params {
20
+ export interface Sql_Close_Request extends Global.Params {
21
21
  body: Sql_Common.SqlClose;
22
22
  format?: string;
23
23
  sanitize?: boolean;
24
24
  }
25
25
 
26
- export type ResponseBody = Sql_Common.SqlCloseResponse
26
+ export type Sql_Close_ResponseBody = Sql_Common.SqlCloseResponse
27
27
 
28
- export interface Response extends ApiResponse {
29
- body: ResponseBody
28
+ export interface Sql_Close_Response extends ApiResponse {
29
+ body: Sql_Close_ResponseBody
30
30
  }
@@ -17,14 +17,14 @@ import { ApiResponse } from '../../lib/Transport'
17
17
  import * as Global from '../components/_global'
18
18
  import * as Sql_Common from '../components/sql._common'
19
19
 
20
- export interface Request extends Global.Params {
20
+ export interface Sql_Explain_Request extends Global.Params {
21
21
  body: Sql_Common.Explain;
22
22
  format?: string;
23
23
  sanitize?: boolean;
24
24
  }
25
25
 
26
- export type ResponseBody = Sql_Common.ExplainResponse
26
+ export type Sql_Explain_ResponseBody = Sql_Common.ExplainResponse
27
27
 
28
- export interface Response extends ApiResponse {
29
- body: ResponseBody
28
+ export interface Sql_Explain_Response extends ApiResponse {
29
+ body: Sql_Explain_ResponseBody
30
30
  }
@@ -16,13 +16,13 @@
16
16
  import { ApiResponse } from '../../lib/Transport'
17
17
  import * as Global from '../components/_global'
18
18
 
19
- export interface Request extends Global.Params {
19
+ export interface Sql_GetStats_Request extends Global.Params {
20
20
  format?: string;
21
21
  sanitize?: boolean;
22
22
  }
23
23
 
24
- export type ResponseBody = Record<string, any>
24
+ export type Sql_GetStats_ResponseBody = Record<string, any>
25
25
 
26
- export interface Response extends ApiResponse {
27
- body: ResponseBody
26
+ export interface Sql_GetStats_Response extends ApiResponse {
27
+ body: Sql_GetStats_ResponseBody
28
28
  }
@@ -17,14 +17,14 @@ import { ApiResponse } from '../../lib/Transport'
17
17
  import * as Global from '../components/_global'
18
18
  import * as Sql_Common from '../components/sql._common'
19
19
 
20
- export interface Request extends Global.Params {
20
+ export interface Sql_PostStats_Request extends Global.Params {
21
21
  body: Sql_Common.Stats;
22
22
  format?: string;
23
23
  sanitize?: boolean;
24
24
  }
25
25
 
26
- export type ResponseBody = Record<string, any>
26
+ export type Sql_PostStats_ResponseBody = Record<string, any>
27
27
 
28
- export interface Response extends ApiResponse {
29
- body: ResponseBody
28
+ export interface Sql_PostStats_Response extends ApiResponse {
29
+ body: Sql_PostStats_ResponseBody
30
30
  }
@@ -17,14 +17,14 @@ import { ApiResponse } from '../../lib/Transport'
17
17
  import * as Global from '../components/_global'
18
18
  import * as Sql_Common from '../components/sql._common'
19
19
 
20
- export interface Request extends Global.Params {
20
+ export interface Sql_Query_Request extends Global.Params {
21
21
  body: Sql_Common.Query;
22
22
  format?: string;
23
23
  sanitize?: boolean;
24
24
  }
25
25
 
26
- export type ResponseBody = Sql_Common.QueryResponse
26
+ export type Sql_Query_ResponseBody = Sql_Common.QueryResponse
27
27
 
28
- export interface Response extends ApiResponse {
29
- body: ResponseBody
28
+ export interface Sql_Query_Response extends ApiResponse {
29
+ body: Sql_Query_ResponseBody
30
30
  }
@@ -14,18 +14,18 @@
14
14
  */
15
15
 
16
16
  import { ApiResponse } from '../../lib/Transport'
17
- import * as Global from '../components/_global'
18
17
  import * as Sql_Common from '../components/sql._common'
18
+ import * as Global from '../components/_global'
19
19
 
20
- export interface Request extends Global.Params {
21
- body: RequestBody;
20
+ export type Sql_Settings_RequestBody = Sql_Common.SqlSettingsPlain | Sql_Common.SqlSettings
21
+
22
+ export interface Sql_Settings_Request extends Global.Params {
23
+ body: Sql_Settings_RequestBody;
22
24
  format?: string;
23
25
  }
24
26
 
25
- export type ResponseBody = Sql_Common.SqlSettingsResponse
26
-
27
- export type RequestBody = Sql_Common.SqlSettingsPlain | Sql_Common.SqlSettings
27
+ export type Sql_Settings_ResponseBody = Sql_Common.SqlSettingsResponse
28
28
 
29
- export interface Response extends ApiResponse {
30
- body: ResponseBody
29
+ export interface Sql_Settings_Response extends ApiResponse {
30
+ body: Sql_Settings_ResponseBody
31
31
  }
@@ -18,7 +18,7 @@ import * as Global from '../components/_global'
18
18
  import * as Common from '../components/_common'
19
19
  import * as Tasks_Common from '../components/tasks._common'
20
20
 
21
- export interface Request extends Global.Params {
21
+ export interface Tasks_Cancel_Request extends Global.Params {
22
22
  actions?: string | string[];
23
23
  nodes?: string[];
24
24
  parent_task_id?: string;
@@ -26,8 +26,8 @@ export interface Request extends Global.Params {
26
26
  wait_for_completion?: boolean;
27
27
  }
28
28
 
29
- export type ResponseBody = Tasks_Common.TaskListResponseBase
29
+ export type Tasks_Cancel_ResponseBody = Tasks_Common.TaskListResponseBase
30
30
 
31
- export interface Response extends ApiResponse {
32
- body: ResponseBody
31
+ export interface Tasks_Cancel_Response extends ApiResponse {
32
+ body: Tasks_Cancel_ResponseBody
33
33
  }
@@ -18,19 +18,19 @@ import * as Global from '../components/_global'
18
18
  import * as Common from '../components/_common'
19
19
  import * as Tasks_Common from '../components/tasks._common'
20
20
 
21
- export interface Request extends Global.Params {
21
+ export interface Tasks_Get_Request extends Global.Params {
22
22
  task_id: Common.Id;
23
23
  timeout?: Common.Duration;
24
24
  wait_for_completion?: boolean;
25
25
  }
26
26
 
27
- export interface ResponseBody {
27
+ export interface Tasks_Get_ResponseBody {
28
28
  completed: boolean;
29
29
  error?: Common.ErrorCause;
30
30
  response?: Record<string, any>;
31
31
  task: Tasks_Common.TaskInfo;
32
32
  }
33
33
 
34
- export interface Response extends ApiResponse {
35
- body: ResponseBody
34
+ export interface Tasks_Get_Response extends ApiResponse {
35
+ body: Tasks_Get_ResponseBody
36
36
  }
@@ -18,7 +18,7 @@ import * as Global from '../components/_global'
18
18
  import * as Tasks_Common from '../components/tasks._common'
19
19
  import * as Common from '../components/_common'
20
20
 
21
- export interface Request extends Global.Params {
21
+ export interface Tasks_List_Request extends Global.Params {
22
22
  actions?: string | string[];
23
23
  detailed?: boolean;
24
24
  group_by?: Tasks_Common.GroupBy;
@@ -28,8 +28,8 @@ export interface Request extends Global.Params {
28
28
  wait_for_completion?: boolean;
29
29
  }
30
30
 
31
- export type ResponseBody = Tasks_Common.TaskListResponseBase
31
+ export type Tasks_List_ResponseBody = Tasks_Common.TaskListResponseBase
32
32
 
33
- export interface Response extends ApiResponse {
34
- body: ResponseBody
33
+ export interface Tasks_List_Response extends ApiResponse {
34
+ body: Tasks_List_ResponseBody
35
35
  }
@@ -14,12 +14,18 @@
14
14
  */
15
15
 
16
16
  import { ApiResponse } from '../../lib/Transport'
17
+ import * as Core_Termvectors from '../components/_core.termvectors'
17
18
  import * as Global from '../components/_global'
18
19
  import * as Common from '../components/_common'
19
- import * as Core_Termvectors from '../components/_core.termvectors'
20
20
 
21
- export interface Request extends Global.Params {
22
- body?: RequestBody;
21
+ export interface Termvectors_RequestBody {
22
+ doc?: Record<string, any>;
23
+ filter?: Core_Termvectors.Filter;
24
+ per_field_analyzer?: Record<string, string>;
25
+ }
26
+
27
+ export interface Termvectors_Request extends Global.Params {
28
+ body?: Termvectors_RequestBody;
23
29
  field_statistics?: boolean;
24
30
  fields?: Common.Fields;
25
31
  id?: Common.Id;
@@ -35,7 +41,7 @@ export interface Request extends Global.Params {
35
41
  version_type?: Common.VersionType;
36
42
  }
37
43
 
38
- export interface ResponseBody {
44
+ export interface Termvectors_ResponseBody {
39
45
  _id: Common.Id;
40
46
  _index: Common.IndexName;
41
47
  _version: Common.VersionNumber;
@@ -44,12 +50,6 @@ export interface ResponseBody {
44
50
  took: number;
45
51
  }
46
52
 
47
- export interface RequestBody {
48
- doc?: Record<string, any>;
49
- filter?: Core_Termvectors.Filter;
50
- per_field_analyzer?: Record<string, string>;
51
- }
52
-
53
- export interface Response extends ApiResponse {
54
- body: ResponseBody
53
+ export interface Termvectors_Response extends ApiResponse {
54
+ body: Termvectors_ResponseBody
55
55
  }
@@ -17,12 +17,12 @@ 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 Request extends Global.Params {
20
+ export interface Transforms_Delete_Request extends Global.Params {
21
21
  id: Common.Id;
22
22
  }
23
23
 
24
- export type ResponseBody = Record<string, any>
24
+ export type Transforms_Delete_ResponseBody = Record<string, any>
25
25
 
26
- export interface Response extends ApiResponse {
27
- body: ResponseBody
26
+ export interface Transforms_Delete_Response extends ApiResponse {
27
+ body: Transforms_Delete_ResponseBody
28
28
  }
@@ -18,12 +18,12 @@ import * as Global from '../components/_global'
18
18
  import * as Common from '../components/_common'
19
19
  import * as Transforms_Common from '../components/transforms._common'
20
20
 
21
- export interface Request extends Global.Params {
21
+ export interface Transforms_Explain_Request extends Global.Params {
22
22
  id: Common.Id;
23
23
  }
24
24
 
25
- export type ResponseBody = Transforms_Common.ExplainResponse
25
+ export type Transforms_Explain_ResponseBody = Transforms_Common.ExplainResponse
26
26
 
27
- export interface Response extends ApiResponse {
28
- body: ResponseBody
27
+ export interface Transforms_Explain_Response extends ApiResponse {
28
+ body: Transforms_Explain_ResponseBody
29
29
  }
@@ -18,12 +18,12 @@ import * as Global from '../components/_global'
18
18
  import * as Common from '../components/_common'
19
19
  import * as Transforms_Common from '../components/transforms._common'
20
20
 
21
- export interface Request extends Global.Params {
21
+ export interface Transforms_Get_Request extends Global.Params {
22
22
  id: Common.Id;
23
23
  }
24
24
 
25
- export type ResponseBody = Transforms_Common.TransformEntity
25
+ export type Transforms_Get_ResponseBody = Transforms_Common.TransformEntity
26
26
 
27
- export interface Response extends ApiResponse {
28
- body: ResponseBody
27
+ export interface Transforms_Get_Response extends ApiResponse {
28
+ body: Transforms_Get_ResponseBody
29
29
  }
@@ -17,10 +17,10 @@ import { ApiResponse } from '../../lib/Transport'
17
17
  import * as Global from '../components/_global'
18
18
  import * as Transforms_Common from '../components/transforms._common'
19
19
 
20
- export type Request = Global.Params & Record<string, any>
20
+ export type Transforms_Preview_Request = Global.Params & Record<string, any>
21
21
 
22
- export type ResponseBody = Transforms_Common.Preview
22
+ export type Transforms_Preview_ResponseBody = Transforms_Common.Preview
23
23
 
24
- export interface Response extends ApiResponse {
25
- body: ResponseBody
24
+ export interface Transforms_Preview_Response extends ApiResponse {
25
+ body: Transforms_Preview_ResponseBody
26
26
  }
@@ -18,15 +18,15 @@ import * as Global from '../components/_global'
18
18
  import * as Transforms_Common from '../components/transforms._common'
19
19
  import * as Common from '../components/_common'
20
20
 
21
- export interface Request extends Global.Params {
21
+ export interface Transforms_Put_Request extends Global.Params {
22
22
  body?: Transforms_Common.Transform;
23
23
  id: Common.Id;
24
24
  if_primary_term?: number;
25
25
  if_seq_no?: Common.SequenceNumber;
26
26
  }
27
27
 
28
- export type ResponseBody = Transforms_Common.TransformEntity
28
+ export type Transforms_Put_ResponseBody = Transforms_Common.TransformEntity
29
29
 
30
- export interface Response extends ApiResponse {
31
- body: ResponseBody
30
+ export interface Transforms_Put_Response extends ApiResponse {
31
+ body: Transforms_Put_ResponseBody
32
32
  }
@@ -17,7 +17,7 @@ import { ApiResponse } from '../../lib/Transport'
17
17
  import * as Global from '../components/_global'
18
18
  import * as Transforms_Common from '../components/transforms._common'
19
19
 
20
- export interface Request extends Global.Params {
20
+ export interface Transforms_Search_Request extends Global.Params {
21
21
  from?: number;
22
22
  search?: string;
23
23
  size?: number;
@@ -25,8 +25,8 @@ export interface Request extends Global.Params {
25
25
  sortField?: string;
26
26
  }
27
27
 
28
- export type ResponseBody = Transforms_Common.TransformsResponse
28
+ export type Transforms_Search_ResponseBody = Transforms_Common.TransformsResponse
29
29
 
30
- export interface Response extends ApiResponse {
31
- body: ResponseBody
30
+ export interface Transforms_Search_Response extends ApiResponse {
31
+ body: Transforms_Search_ResponseBody
32
32
  }
@@ -17,12 +17,12 @@ 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 Request extends Global.Params {
20
+ export interface Transforms_Start_Request extends Global.Params {
21
21
  id: Common.Id;
22
22
  }
23
23
 
24
- export type ResponseBody = Common.AcknowledgedResponseBase
24
+ export type Transforms_Start_ResponseBody = Common.AcknowledgedResponseBase
25
25
 
26
- export interface Response extends ApiResponse {
27
- body: ResponseBody
26
+ export interface Transforms_Start_Response extends ApiResponse {
27
+ body: Transforms_Start_ResponseBody
28
28
  }