@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.
Files changed (290) hide show
  1. package/index.d.ts +0 -4
  2. package/lib/Transport.d.ts +2 -7
  3. package/package.json +1 -1
  4. package/types/Client.d.ts +320 -322
  5. package/types/functions/bulk.d.ts +5 -1
  6. package/types/functions/cat.aliases.d.ts +5 -1
  7. package/types/functions/cat.all_pit_segments.d.ts +5 -1
  8. package/types/functions/cat.allocation.d.ts +5 -1
  9. package/types/functions/cat.cluster_manager.d.ts +5 -1
  10. package/types/functions/cat.count.d.ts +5 -1
  11. package/types/functions/cat.fielddata.d.ts +5 -1
  12. package/types/functions/cat.health.d.ts +5 -1
  13. package/types/functions/cat.help.d.ts +5 -1
  14. package/types/functions/cat.indices.d.ts +5 -1
  15. package/types/functions/cat.master.d.ts +5 -1
  16. package/types/functions/cat.nodeattrs.d.ts +5 -1
  17. package/types/functions/cat.nodes.d.ts +5 -1
  18. package/types/functions/cat.pending_tasks.d.ts +5 -1
  19. package/types/functions/cat.pit_segments.d.ts +5 -1
  20. package/types/functions/cat.plugins.d.ts +5 -1
  21. package/types/functions/cat.recovery.d.ts +5 -1
  22. package/types/functions/cat.repositories.d.ts +5 -1
  23. package/types/functions/cat.segment_replication.d.ts +5 -1
  24. package/types/functions/cat.segments.d.ts +5 -1
  25. package/types/functions/cat.shards.d.ts +5 -1
  26. package/types/functions/cat.snapshots.d.ts +5 -1
  27. package/types/functions/cat.tasks.d.ts +5 -1
  28. package/types/functions/cat.templates.d.ts +5 -1
  29. package/types/functions/cat.thread_pool.d.ts +5 -1
  30. package/types/functions/clear_scroll.d.ts +5 -1
  31. package/types/functions/cluster.allocation_explain.d.ts +5 -1
  32. package/types/functions/cluster.delete_component_template.d.ts +5 -1
  33. package/types/functions/cluster.delete_decommission_awareness.d.ts +5 -1
  34. package/types/functions/cluster.delete_voting_config_exclusions.d.ts +5 -1
  35. package/types/functions/cluster.delete_weighted_routing.d.ts +5 -1
  36. package/types/functions/cluster.exists_component_template.d.ts +5 -1
  37. package/types/functions/cluster.get_component_template.d.ts +5 -1
  38. package/types/functions/cluster.get_decommission_awareness.d.ts +5 -1
  39. package/types/functions/cluster.get_settings.d.ts +5 -1
  40. package/types/functions/cluster.get_weighted_routing.d.ts +5 -1
  41. package/types/functions/cluster.health.d.ts +5 -1
  42. package/types/functions/cluster.pending_tasks.d.ts +5 -1
  43. package/types/functions/cluster.post_voting_config_exclusions.d.ts +5 -1
  44. package/types/functions/cluster.put_component_template.d.ts +5 -1
  45. package/types/functions/cluster.put_decommission_awareness.d.ts +5 -1
  46. package/types/functions/cluster.put_settings.d.ts +5 -1
  47. package/types/functions/cluster.put_weighted_routing.d.ts +5 -1
  48. package/types/functions/cluster.remote_info.d.ts +5 -1
  49. package/types/functions/cluster.reroute.d.ts +5 -1
  50. package/types/functions/cluster.state.d.ts +5 -1
  51. package/types/functions/cluster.stats.d.ts +5 -1
  52. package/types/functions/count.d.ts +5 -1
  53. package/types/functions/create.d.ts +5 -1
  54. package/types/functions/create_pit.d.ts +5 -1
  55. package/types/functions/dangling_indices.delete_dangling_index.d.ts +5 -1
  56. package/types/functions/dangling_indices.import_dangling_index.d.ts +5 -1
  57. package/types/functions/dangling_indices.list_dangling_indices.d.ts +5 -1
  58. package/types/functions/delete.d.ts +5 -1
  59. package/types/functions/delete_all_pits.d.ts +5 -1
  60. package/types/functions/delete_by_query.d.ts +5 -1
  61. package/types/functions/delete_by_query_rethrottle.d.ts +5 -1
  62. package/types/functions/delete_pit.d.ts +5 -1
  63. package/types/functions/delete_script.d.ts +5 -1
  64. package/types/functions/exists.d.ts +5 -1
  65. package/types/functions/exists_source.d.ts +5 -1
  66. package/types/functions/explain.d.ts +5 -1
  67. package/types/functions/field_caps.d.ts +5 -1
  68. package/types/functions/get.d.ts +5 -1
  69. package/types/functions/get_all_pits.d.ts +5 -1
  70. package/types/functions/get_script.d.ts +5 -1
  71. package/types/functions/get_script_context.d.ts +5 -1
  72. package/types/functions/get_script_languages.d.ts +5 -1
  73. package/types/functions/get_source.d.ts +5 -1
  74. package/types/functions/index.d.ts +5 -1
  75. package/types/functions/indices.add_block.d.ts +5 -1
  76. package/types/functions/indices.analyze.d.ts +5 -1
  77. package/types/functions/indices.clear_cache.d.ts +5 -1
  78. package/types/functions/indices.clone.d.ts +5 -1
  79. package/types/functions/indices.close.d.ts +5 -1
  80. package/types/functions/indices.create.d.ts +5 -1
  81. package/types/functions/indices.create_data_stream.d.ts +5 -1
  82. package/types/functions/indices.data_streams_stats.d.ts +5 -1
  83. package/types/functions/indices.delete.d.ts +5 -1
  84. package/types/functions/indices.delete_alias.d.ts +5 -1
  85. package/types/functions/indices.delete_data_stream.d.ts +5 -1
  86. package/types/functions/indices.delete_index_template.d.ts +5 -1
  87. package/types/functions/indices.delete_template.d.ts +5 -1
  88. package/types/functions/indices.exists.d.ts +5 -1
  89. package/types/functions/indices.exists_alias.d.ts +5 -1
  90. package/types/functions/indices.exists_index_template.d.ts +5 -1
  91. package/types/functions/indices.exists_template.d.ts +5 -1
  92. package/types/functions/indices.flush.d.ts +5 -1
  93. package/types/functions/indices.forcemerge.d.ts +5 -1
  94. package/types/functions/indices.get.d.ts +5 -1
  95. package/types/functions/indices.get_alias.d.ts +5 -1
  96. package/types/functions/indices.get_data_stream.d.ts +5 -1
  97. package/types/functions/indices.get_field_mapping.d.ts +5 -1
  98. package/types/functions/indices.get_index_template.d.ts +5 -1
  99. package/types/functions/indices.get_mapping.d.ts +5 -1
  100. package/types/functions/indices.get_settings.d.ts +5 -1
  101. package/types/functions/indices.get_template.d.ts +5 -1
  102. package/types/functions/indices.get_upgrade.d.ts +5 -1
  103. package/types/functions/indices.open.d.ts +5 -1
  104. package/types/functions/indices.put_alias.d.ts +5 -1
  105. package/types/functions/indices.put_index_template.d.ts +5 -1
  106. package/types/functions/indices.put_mapping.d.ts +5 -1
  107. package/types/functions/indices.put_settings.d.ts +5 -1
  108. package/types/functions/indices.put_template.d.ts +5 -1
  109. package/types/functions/indices.recovery.d.ts +5 -1
  110. package/types/functions/indices.refresh.d.ts +5 -1
  111. package/types/functions/indices.resolve_index.d.ts +5 -1
  112. package/types/functions/indices.rollover.d.ts +5 -1
  113. package/types/functions/indices.segments.d.ts +5 -1
  114. package/types/functions/indices.shard_stores.d.ts +5 -1
  115. package/types/functions/indices.shrink.d.ts +5 -1
  116. package/types/functions/indices.simulate_index_template.d.ts +5 -1
  117. package/types/functions/indices.simulate_template.d.ts +5 -1
  118. package/types/functions/indices.split.d.ts +5 -1
  119. package/types/functions/indices.stats.d.ts +5 -1
  120. package/types/functions/indices.update_aliases.d.ts +5 -1
  121. package/types/functions/indices.upgrade.d.ts +5 -1
  122. package/types/functions/indices.validate_query.d.ts +5 -1
  123. package/types/functions/info.d.ts +5 -1
  124. package/types/functions/ingest.delete_pipeline.d.ts +5 -1
  125. package/types/functions/ingest.get_pipeline.d.ts +5 -1
  126. package/types/functions/ingest.processor_grok.d.ts +5 -1
  127. package/types/functions/ingest.put_pipeline.d.ts +5 -1
  128. package/types/functions/ingest.simulate.d.ts +5 -1
  129. package/types/functions/knn.delete_model.d.ts +5 -1
  130. package/types/functions/knn.get_model.d.ts +5 -1
  131. package/types/functions/knn.search_models.d.ts +5 -1
  132. package/types/functions/knn.stats.d.ts +5 -1
  133. package/types/functions/knn.train_model.d.ts +5 -1
  134. package/types/functions/knn.warmup.d.ts +5 -1
  135. package/types/functions/mget.d.ts +5 -1
  136. package/types/functions/ml.delete_model.d.ts +5 -1
  137. package/types/functions/ml.delete_model_group.d.ts +5 -1
  138. package/types/functions/ml.get_model_group.d.ts +5 -1
  139. package/types/functions/ml.get_task.d.ts +5 -1
  140. package/types/functions/ml.register_model.d.ts +5 -1
  141. package/types/functions/ml.register_model_group.d.ts +5 -1
  142. package/types/functions/ml.search_models.d.ts +5 -1
  143. package/types/functions/msearch.d.ts +5 -1
  144. package/types/functions/msearch_template.d.ts +5 -1
  145. package/types/functions/mtermvectors.d.ts +5 -1
  146. package/types/functions/nodes.hot_threads.d.ts +5 -1
  147. package/types/functions/nodes.info.d.ts +5 -1
  148. package/types/functions/nodes.reload_secure_settings.d.ts +5 -1
  149. package/types/functions/nodes.stats.d.ts +5 -1
  150. package/types/functions/nodes.usage.d.ts +5 -1
  151. package/types/functions/notifications.create_config.d.ts +5 -1
  152. package/types/functions/notifications.delete_config.d.ts +5 -1
  153. package/types/functions/notifications.delete_configs.d.ts +5 -1
  154. package/types/functions/notifications.get_config.d.ts +5 -1
  155. package/types/functions/notifications.get_configs.d.ts +5 -1
  156. package/types/functions/notifications.list_channels.d.ts +5 -1
  157. package/types/functions/notifications.list_features.d.ts +5 -1
  158. package/types/functions/notifications.send_test.d.ts +5 -1
  159. package/types/functions/notifications.update_config.d.ts +5 -1
  160. package/types/functions/ping.d.ts +5 -1
  161. package/types/functions/ppl.explain.d.ts +5 -1
  162. package/types/functions/ppl.get_stats.d.ts +5 -1
  163. package/types/functions/ppl.post_stats.d.ts +5 -1
  164. package/types/functions/ppl.query.d.ts +5 -1
  165. package/types/functions/put_script.d.ts +5 -1
  166. package/types/functions/rank_eval.d.ts +5 -1
  167. package/types/functions/reindex.d.ts +5 -1
  168. package/types/functions/reindex_rethrottle.d.ts +5 -1
  169. package/types/functions/remote_store.restore.d.ts +5 -1
  170. package/types/functions/render_search_template.d.ts +5 -1
  171. package/types/functions/rollups.delete.d.ts +5 -1
  172. package/types/functions/rollups.explain.d.ts +5 -1
  173. package/types/functions/rollups.get.d.ts +5 -1
  174. package/types/functions/rollups.put.d.ts +5 -1
  175. package/types/functions/rollups.start.d.ts +5 -1
  176. package/types/functions/rollups.stop.d.ts +5 -1
  177. package/types/functions/scripts_painless_execute.d.ts +5 -1
  178. package/types/functions/scroll.d.ts +5 -1
  179. package/types/functions/search.d.ts +5 -1
  180. package/types/functions/search_pipeline.delete.d.ts +5 -1
  181. package/types/functions/search_pipeline.get.d.ts +5 -1
  182. package/types/functions/search_pipeline.put.d.ts +5 -1
  183. package/types/functions/search_shards.d.ts +5 -1
  184. package/types/functions/search_template.d.ts +5 -1
  185. package/types/functions/security.authinfo.d.ts +5 -1
  186. package/types/functions/security.authtoken.d.ts +5 -1
  187. package/types/functions/security.change_password.d.ts +5 -1
  188. package/types/functions/security.config_upgrade_check.d.ts +5 -1
  189. package/types/functions/security.config_upgrade_perform.d.ts +5 -1
  190. package/types/functions/security.create_action_group.d.ts +5 -1
  191. package/types/functions/security.create_allowlist.d.ts +5 -1
  192. package/types/functions/security.create_role.d.ts +5 -1
  193. package/types/functions/security.create_role_mapping.d.ts +5 -1
  194. package/types/functions/security.create_tenant.d.ts +5 -1
  195. package/types/functions/security.create_update_tenancy_config.d.ts +5 -1
  196. package/types/functions/security.create_user.d.ts +5 -1
  197. package/types/functions/security.create_user_legacy.d.ts +5 -1
  198. package/types/functions/security.delete_action_group.d.ts +5 -1
  199. package/types/functions/security.delete_distinguished_name.d.ts +5 -1
  200. package/types/functions/security.delete_role.d.ts +5 -1
  201. package/types/functions/security.delete_role_mapping.d.ts +5 -1
  202. package/types/functions/security.delete_tenant.d.ts +5 -1
  203. package/types/functions/security.delete_user.d.ts +5 -1
  204. package/types/functions/security.delete_user_legacy.d.ts +5 -1
  205. package/types/functions/security.flush_cache.d.ts +5 -1
  206. package/types/functions/security.generate_obo_token.d.ts +5 -1
  207. package/types/functions/security.generate_user_token.d.ts +5 -1
  208. package/types/functions/security.generate_user_token_legacy.d.ts +5 -1
  209. package/types/functions/security.get_account_details.d.ts +5 -1
  210. package/types/functions/security.get_action_group.d.ts +5 -1
  211. package/types/functions/security.get_action_groups.d.ts +5 -1
  212. package/types/functions/security.get_allowlist.d.ts +5 -1
  213. package/types/functions/security.get_audit_configuration.d.ts +5 -1
  214. package/types/functions/security.get_certificates.d.ts +5 -1
  215. package/types/functions/security.get_configuration.d.ts +5 -1
  216. package/types/functions/security.get_dashboards_info.d.ts +5 -1
  217. package/types/functions/security.get_distinguished_name.d.ts +5 -1
  218. package/types/functions/security.get_distinguished_names.d.ts +5 -1
  219. package/types/functions/security.get_permissions_info.d.ts +5 -1
  220. package/types/functions/security.get_role.d.ts +5 -1
  221. package/types/functions/security.get_role_mapping.d.ts +5 -1
  222. package/types/functions/security.get_role_mappings.d.ts +5 -1
  223. package/types/functions/security.get_roles.d.ts +5 -1
  224. package/types/functions/security.get_sslinfo.d.ts +5 -1
  225. package/types/functions/security.get_tenancy_config.d.ts +5 -1
  226. package/types/functions/security.get_tenant.d.ts +5 -1
  227. package/types/functions/security.get_tenants.d.ts +5 -1
  228. package/types/functions/security.get_user.d.ts +5 -1
  229. package/types/functions/security.get_user_legacy.d.ts +5 -1
  230. package/types/functions/security.get_users.d.ts +5 -1
  231. package/types/functions/security.get_users_legacy.d.ts +5 -1
  232. package/types/functions/security.health.d.ts +5 -1
  233. package/types/functions/security.migrate.d.ts +5 -1
  234. package/types/functions/security.patch_action_group.d.ts +5 -1
  235. package/types/functions/security.patch_action_groups.d.ts +5 -1
  236. package/types/functions/security.patch_allowlist.d.ts +5 -1
  237. package/types/functions/security.patch_audit_configuration.d.ts +5 -1
  238. package/types/functions/security.patch_configuration.d.ts +5 -1
  239. package/types/functions/security.patch_distinguished_name.d.ts +5 -1
  240. package/types/functions/security.patch_distinguished_names.d.ts +5 -1
  241. package/types/functions/security.patch_role.d.ts +5 -1
  242. package/types/functions/security.patch_role_mapping.d.ts +5 -1
  243. package/types/functions/security.patch_role_mappings.d.ts +5 -1
  244. package/types/functions/security.patch_roles.d.ts +5 -1
  245. package/types/functions/security.patch_tenant.d.ts +5 -1
  246. package/types/functions/security.patch_tenants.d.ts +5 -1
  247. package/types/functions/security.patch_user.d.ts +5 -1
  248. package/types/functions/security.patch_users.d.ts +5 -1
  249. package/types/functions/security.post_dashboards_info.d.ts +5 -1
  250. package/types/functions/security.reload_http_certificates.d.ts +5 -1
  251. package/types/functions/security.reload_transport_certificates.d.ts +5 -1
  252. package/types/functions/security.tenant_info.d.ts +5 -1
  253. package/types/functions/security.update_audit_configuration.d.ts +5 -1
  254. package/types/functions/security.update_configuration.d.ts +5 -1
  255. package/types/functions/security.update_distinguished_name.d.ts +5 -1
  256. package/types/functions/security.validate.d.ts +5 -1
  257. package/types/functions/security.who_am_i.d.ts +5 -1
  258. package/types/functions/security.who_am_i_protected.d.ts +5 -1
  259. package/types/functions/snapshot.cleanup_repository.d.ts +5 -1
  260. package/types/functions/snapshot.clone.d.ts +5 -1
  261. package/types/functions/snapshot.create.d.ts +5 -1
  262. package/types/functions/snapshot.create_repository.d.ts +5 -1
  263. package/types/functions/snapshot.delete.d.ts +5 -1
  264. package/types/functions/snapshot.delete_repository.d.ts +5 -1
  265. package/types/functions/snapshot.get.d.ts +5 -1
  266. package/types/functions/snapshot.get_repository.d.ts +5 -1
  267. package/types/functions/snapshot.restore.d.ts +5 -1
  268. package/types/functions/snapshot.status.d.ts +5 -1
  269. package/types/functions/snapshot.verify_repository.d.ts +5 -1
  270. package/types/functions/sql.close.d.ts +5 -1
  271. package/types/functions/sql.explain.d.ts +5 -1
  272. package/types/functions/sql.get_stats.d.ts +5 -1
  273. package/types/functions/sql.post_stats.d.ts +5 -1
  274. package/types/functions/sql.query.d.ts +5 -1
  275. package/types/functions/sql.settings.d.ts +5 -1
  276. package/types/functions/tasks.cancel.d.ts +5 -1
  277. package/types/functions/tasks.get.d.ts +5 -1
  278. package/types/functions/tasks.list.d.ts +5 -1
  279. package/types/functions/termvectors.d.ts +5 -1
  280. package/types/functions/transforms.delete.d.ts +5 -1
  281. package/types/functions/transforms.explain.d.ts +5 -1
  282. package/types/functions/transforms.get.d.ts +5 -1
  283. package/types/functions/transforms.preview.d.ts +5 -1
  284. package/types/functions/transforms.put.d.ts +5 -1
  285. package/types/functions/transforms.search.d.ts +5 -1
  286. package/types/functions/transforms.start.d.ts +5 -1
  287. package/types/functions/transforms.stop.d.ts +5 -1
  288. package/types/functions/update.d.ts +5 -1
  289. package/types/functions/update_by_query.d.ts +5 -1
  290. 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 Core_Search from '../components/_core.search'
18
19
  import * as Common from '../components/_common'
@@ -33,7 +34,7 @@ export interface Request extends Global.Params {
33
34
  wait_for_active_shards?: Common.WaitForActiveShards;
34
35
  }
35
36
 
36
- export interface Response {
37
+ export interface ResponseBody {
37
38
  errors: boolean;
38
39
  ingest_took?: number;
39
40
  items: Record<string, Core_Bulk.ResponseItem>[];
@@ -42,3 +43,6 @@ export interface Response {
42
43
 
43
44
  export type RequestBody = Core_Bulk.OperationContainer | Core_Bulk.UpdateAction | Record<string, any>[]
44
45
 
46
+ export interface Response extends ApiResponse {
47
+ body: ResponseBody
48
+ }
@@ -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 Cat_Aliases from '../components/cat.aliases'
@@ -28,5 +29,8 @@ export interface Request extends Global.Params {
28
29
  v?: boolean;
29
30
  }
30
31
 
31
- export type Response = Cat_Aliases.AliasesRecord[]
32
+ export type ResponseBody = Cat_Aliases.AliasesRecord[]
32
33
 
34
+ export interface Response extends ApiResponse {
35
+ body: ResponseBody
36
+ }
@@ -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 Cat_Common from '../components/cat._common'
@@ -26,5 +27,8 @@ export interface Request extends Global.Params {
26
27
  v?: boolean;
27
28
  }
28
29
 
29
- export type Response = Cat_Common.CatPitSegmentsRecord[]
30
+ export type ResponseBody = Cat_Common.CatPitSegmentsRecord[]
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 Cat_Allocation from '../components/cat.allocation'
@@ -30,5 +31,8 @@ export interface Request extends Global.Params {
30
31
  v?: boolean;
31
32
  }
32
33
 
33
- export type Response = Cat_Allocation.AllocationRecord[]
34
+ export type ResponseBody = Cat_Allocation.AllocationRecord[]
34
35
 
36
+ export interface Response extends ApiResponse {
37
+ body: ResponseBody
38
+ }
@@ -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 Cat_ClusterManager from '../components/cat.cluster_manager'
@@ -28,5 +29,8 @@ export interface Request extends Global.Params {
28
29
  v?: boolean;
29
30
  }
30
31
 
31
- export type Response = Cat_ClusterManager.ClusterManagerRecord[]
32
+ export type ResponseBody = Cat_ClusterManager.ClusterManagerRecord[]
32
33
 
34
+ export interface Response extends ApiResponse {
35
+ body: ResponseBody
36
+ }
@@ -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 Cat_Count from '../components/cat.count'
@@ -26,5 +27,8 @@ export interface Request extends Global.Params {
26
27
  v?: boolean;
27
28
  }
28
29
 
29
- export type Response = Cat_Count.CountRecord[]
30
+ export type ResponseBody = Cat_Count.CountRecord[]
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 Cat_Fielddata from '../components/cat.fielddata'
@@ -27,5 +28,8 @@ export interface Request extends Global.Params {
27
28
  v?: boolean;
28
29
  }
29
30
 
30
- export type Response = Cat_Fielddata.FielddataRecord[]
31
+ export type ResponseBody = Cat_Fielddata.FielddataRecord[]
31
32
 
33
+ export interface Response extends ApiResponse {
34
+ body: ResponseBody
35
+ }
@@ -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 Cat_Health from '../components/cat.health'
@@ -27,5 +28,8 @@ export interface Request extends Global.Params {
27
28
  v?: boolean;
28
29
  }
29
30
 
30
- export type Response = Cat_Health.HealthRecord[]
31
+ export type ResponseBody = Cat_Health.HealthRecord[]
31
32
 
33
+ export interface Response extends ApiResponse {
34
+ body: ResponseBody
35
+ }
@@ -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
19
  export type Request = Global.Params & Record<string, any>
19
20
 
20
- export type Response = Record<string, any>
21
+ export type ResponseBody = Record<string, any>
21
22
 
23
+ export interface Response extends ApiResponse {
24
+ body: ResponseBody
25
+ }
@@ -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 Cat_Indices from '../components/cat.indices'
@@ -35,5 +36,8 @@ export interface Request extends Global.Params {
35
36
  v?: boolean;
36
37
  }
37
38
 
38
- export type Response = Cat_Indices.IndicesRecord[]
39
+ export type ResponseBody = Cat_Indices.IndicesRecord[]
39
40
 
41
+ export interface Response extends ApiResponse {
42
+ body: ResponseBody
43
+ }
@@ -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 Cat_Master from '../components/cat.master'
@@ -28,5 +29,8 @@ export interface Request extends Global.Params {
28
29
  v?: boolean;
29
30
  }
30
31
 
31
- export type Response = Cat_Master.MasterRecord[]
32
+ export type ResponseBody = Cat_Master.MasterRecord[]
32
33
 
34
+ export interface Response extends ApiResponse {
35
+ body: ResponseBody
36
+ }
@@ -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 Cat_Nodeattrs from '../components/cat.nodeattrs'
@@ -28,5 +29,8 @@ export interface Request extends Global.Params {
28
29
  v?: boolean;
29
30
  }
30
31
 
31
- export type Response = Cat_Nodeattrs.NodeAttributesRecord[]
32
+ export type ResponseBody = Cat_Nodeattrs.NodeAttributesRecord[]
32
33
 
34
+ export interface Response extends ApiResponse {
35
+ body: ResponseBody
36
+ }
@@ -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 Cat_Nodes from '../components/cat.nodes'
@@ -31,5 +32,8 @@ export interface Request extends Global.Params {
31
32
  v?: boolean;
32
33
  }
33
34
 
34
- export type Response = Cat_Nodes.NodesRecord[]
35
+ export type ResponseBody = Cat_Nodes.NodesRecord[]
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 Cat_PendingTasks from '../components/cat.pending_tasks'
@@ -29,5 +30,8 @@ export interface Request extends Global.Params {
29
30
  v?: boolean;
30
31
  }
31
32
 
32
- export type Response = Cat_PendingTasks.PendingTasksRecord[]
33
+ export type ResponseBody = Cat_PendingTasks.PendingTasksRecord[]
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 Cat_Common from '../components/cat._common'
@@ -27,9 +28,12 @@ export interface Request extends Global.Params {
27
28
  v?: boolean;
28
29
  }
29
30
 
30
- export type Response = Cat_Common.CatPitSegmentsRecord[]
31
+ export type ResponseBody = Cat_Common.CatPitSegmentsRecord[]
31
32
 
32
33
  export interface RequestBody {
33
34
  pit_id: string[];
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 Cat_Plugins from '../components/cat.plugins'
@@ -28,5 +29,8 @@ export interface Request extends Global.Params {
28
29
  v?: boolean;
29
30
  }
30
31
 
31
- export type Response = Cat_Plugins.PluginsRecord[]
32
+ export type ResponseBody = Cat_Plugins.PluginsRecord[]
32
33
 
34
+ export interface Response extends ApiResponse {
35
+ body: ResponseBody
36
+ }
@@ -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 Cat_Recovery from '../components/cat.recovery'
@@ -30,5 +31,8 @@ export interface Request extends Global.Params {
30
31
  v?: boolean;
31
32
  }
32
33
 
33
- export type Response = Cat_Recovery.RecoveryRecord[]
34
+ export type ResponseBody = Cat_Recovery.RecoveryRecord[]
34
35
 
36
+ export interface Response extends ApiResponse {
37
+ body: ResponseBody
38
+ }
@@ -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 Cat_Repositories from '../components/cat.repositories'
@@ -28,5 +29,8 @@ export interface Request extends Global.Params {
28
29
  v?: boolean;
29
30
  }
30
31
 
31
- export type Response = Cat_Repositories.RepositoriesRecord[]
32
+ export type ResponseBody = Cat_Repositories.RepositoriesRecord[]
32
33
 
34
+ export interface Response extends ApiResponse {
35
+ body: ResponseBody
36
+ }
@@ -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 Cat_Common from '../components/cat._common'
@@ -37,5 +38,8 @@ export interface Request extends Global.Params {
37
38
  v?: boolean;
38
39
  }
39
40
 
40
- export type Response = Cat_Common.CatSegmentReplicationRecord[]
41
+ export type ResponseBody = Cat_Common.CatSegmentReplicationRecord[]
41
42
 
43
+ export interface Response extends ApiResponse {
44
+ body: ResponseBody
45
+ }
@@ -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 Cat_Segments from '../components/cat.segments'
@@ -29,5 +30,8 @@ export interface Request extends Global.Params {
29
30
  v?: boolean;
30
31
  }
31
32
 
32
- export type Response = Cat_Segments.SegmentsRecord[]
33
+ export type ResponseBody = Cat_Segments.SegmentsRecord[]
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 Cat_Shards from '../components/cat.shards'
@@ -31,5 +32,8 @@ export interface Request extends Global.Params {
31
32
  v?: boolean;
32
33
  }
33
34
 
34
- export type Response = Cat_Shards.ShardsRecord[]
35
+ export type ResponseBody = Cat_Shards.ShardsRecord[]
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 Cat_Snapshots from '../components/cat.snapshots'
@@ -30,5 +31,8 @@ export interface Request extends Global.Params {
30
31
  v?: boolean;
31
32
  }
32
33
 
33
- export type Response = Cat_Snapshots.SnapshotsRecord[]
34
+ export type ResponseBody = Cat_Snapshots.SnapshotsRecord[]
34
35
 
36
+ export interface Response extends ApiResponse {
37
+ body: ResponseBody
38
+ }
@@ -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 Cat_Tasks from '../components/cat.tasks'
@@ -30,5 +31,8 @@ export interface Request extends Global.Params {
30
31
  v?: boolean;
31
32
  }
32
33
 
33
- export type Response = Cat_Tasks.TasksRecord[]
34
+ export type ResponseBody = Cat_Tasks.TasksRecord[]
34
35
 
36
+ export interface Response extends ApiResponse {
37
+ body: ResponseBody
38
+ }
@@ -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 Cat_Templates from '../components/cat.templates'
@@ -29,5 +30,8 @@ export interface Request extends Global.Params {
29
30
  v?: boolean;
30
31
  }
31
32
 
32
- export type Response = Cat_Templates.TemplatesRecord[]
33
+ export type ResponseBody = Cat_Templates.TemplatesRecord[]
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 Cat_ThreadPool from '../components/cat.thread_pool'
@@ -30,5 +31,8 @@ export interface Request extends Global.Params {
30
31
  v?: boolean;
31
32
  }
32
33
 
33
- export type Response = Cat_ThreadPool.ThreadPoolRecord[]
34
+ export type ResponseBody = Cat_ThreadPool.ThreadPoolRecord[]
34
35
 
36
+ export interface Response extends ApiResponse {
37
+ body: ResponseBody
38
+ }
@@ -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
  scroll_id?: Common.ScrollIds;
22
23
  }
23
24
 
24
- export interface Response {
25
+ export interface ResponseBody {
25
26
  num_freed: number;
26
27
  succeeded: boolean;
27
28
  }
@@ -30,3 +31,6 @@ export interface RequestBody {
30
31
  scroll_id?: Common.ScrollIds;
31
32
  }
32
33
 
34
+ export interface Response extends ApiResponse {
35
+ body: ResponseBody
36
+ }
@@ -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 Cluster_AllocationExplain from '../components/cluster.allocation_explain'
@@ -23,7 +24,7 @@ export interface Request extends Global.Params {
23
24
  include_yes_decisions?: boolean;
24
25
  }
25
26
 
26
- export interface Response {
27
+ export interface ResponseBody {
27
28
  allocate_explanation?: string;
28
29
  allocation_delay?: Common.Duration;
29
30
  allocation_delay_in_millis?: Common.DurationValueUnitMillis;
@@ -58,3 +59,6 @@ export interface RequestBody {
58
59
  shard?: number;
59
60
  }
60
61
 
62
+ export interface Response extends ApiResponse {
63
+ body: ResponseBody
64
+ }
@@ -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
 
@@ -23,5 +24,8 @@ export interface Request extends Global.Params {
23
24
  timeout?: Common.Duration;
24
25
  }
25
26
 
26
- export type Response = Common.AcknowledgedResponseBase
27
+ export type ResponseBody = Common.AcknowledgedResponseBase
27
28
 
29
+ export interface Response extends ApiResponse {
30
+ body: 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
19
  export type Request = Global.Params & Record<string, any>
19
20
 
20
- export type Response = Record<string, any>
21
+ export type ResponseBody = Record<string, any>
21
22
 
23
+ export interface Response extends ApiResponse {
24
+ body: ResponseBody
25
+ }
@@ -13,11 +13,15 @@
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
19
  export interface Request extends Global.Params {
19
20
  wait_for_removal?: boolean;
20
21
  }
21
22
 
22
- export type Response = Record<string, any>
23
+ export type ResponseBody = Record<string, any>
23
24
 
25
+ export interface Response extends ApiResponse {
26
+ body: ResponseBody
27
+ }
@@ -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
19
  export type Request = Global.Params & Record<string, any>
19
20
 
20
- export type Response = Record<string, any>
21
+ export type ResponseBody = Record<string, any>
21
22
 
23
+ export interface Response extends ApiResponse {
24
+ body: ResponseBody
25
+ }
@@ -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
 
@@ -23,5 +24,8 @@ export interface Request extends Global.Params {
23
24
  name: Common.Name;
24
25
  }
25
26
 
26
- export type Response = Record<string, any>
27
+ export type ResponseBody = Record<string, any>
27
28
 
29
+ export interface Response extends ApiResponse {
30
+ body: ResponseBody
31
+ }
@@ -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 Cluster_Common from '../components/cluster._common'
@@ -24,7 +25,10 @@ export interface Request extends Global.Params {
24
25
  name?: Common.Name;
25
26
  }
26
27
 
27
- export interface Response {
28
+ export interface ResponseBody {
28
29
  component_templates: Cluster_Common.ComponentTemplate[];
29
30
  }
30
31
 
32
+ export interface Response extends ApiResponse {
33
+ body: ResponseBody
34
+ }
@@ -13,11 +13,15 @@
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
19
  export interface Request extends Global.Params {
19
20
  awareness_attribute_name: string;
20
21
  }
21
22
 
22
- export type Response = Record<string, any>
23
+ export type ResponseBody = Record<string, any>
23
24
 
25
+ export interface Response extends ApiResponse {
26
+ body: ResponseBody
27
+ }
@@ -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
 
@@ -24,9 +25,12 @@ export interface Request extends Global.Params {
24
25
  timeout?: Common.Duration;
25
26
  }
26
27
 
27
- export interface Response {
28
+ export interface ResponseBody {
28
29
  defaults?: Record<string, Record<string, any>>;
29
30
  persistent: Record<string, Record<string, any>>;
30
31
  transient: Record<string, Record<string, any>>;
31
32
  }
32
33
 
34
+ export interface Response extends ApiResponse {
35
+ body: ResponseBody
36
+ }