@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
@@ -18,15 +18,15 @@ import * as Global from '../components/_global'
18
18
  import * as Rollups_Common from '../components/rollups._common'
19
19
  import * as Common from '../components/_common'
20
20
 
21
- export interface Request extends Global.Params {
21
+ export interface Rollups_Put_Request extends Global.Params {
22
22
  body?: Rollups_Common.RollupEntity;
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 = Rollups_Common.RollupEntity
28
+ export type Rollups_Put_ResponseBody = Rollups_Common.RollupEntity
29
29
 
30
- export interface Response extends ApiResponse {
31
- body: ResponseBody
30
+ export interface Rollups_Put_Response extends ApiResponse {
31
+ body: Rollups_Put_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 Rollups_Start_Request extends Global.Params {
21
21
  id: Common.Id;
22
22
  }
23
23
 
24
- export type ResponseBody = Record<string, any>
24
+ export type Rollups_Start_ResponseBody = Record<string, any>
25
25
 
26
- export interface Response extends ApiResponse {
27
- body: ResponseBody
26
+ export interface Rollups_Start_Response extends ApiResponse {
27
+ body: Rollups_Start_ResponseBody
28
28
  }
@@ -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 Rollups_Stop_Request extends Global.Params {
21
21
  id: Common.Id;
22
22
  }
23
23
 
24
- export type ResponseBody = Record<string, any>
24
+ export type Rollups_Stop_ResponseBody = Record<string, any>
25
25
 
26
- export interface Response extends ApiResponse {
27
- body: ResponseBody
26
+ export interface Rollups_Stop_Response extends ApiResponse {
27
+ body: Rollups_Stop_ResponseBody
28
28
  }
@@ -14,24 +14,24 @@
14
14
  */
15
15
 
16
16
  import { ApiResponse } from '../../lib/Transport'
17
- import * as Global from '../components/_global'
18
17
  import * as Core_ScriptsPainlessExecute from '../components/_core.scripts_painless_execute'
19
18
  import * as Common from '../components/_common'
19
+ import * as Global from '../components/_global'
20
20
 
21
- export interface Request extends Global.Params {
22
- body?: RequestBody;
21
+ export interface ScriptsPainlessExecute_RequestBody {
22
+ context?: string;
23
+ context_setup?: Core_ScriptsPainlessExecute.PainlessContextSetup;
24
+ script?: Common.InlineScript;
23
25
  }
24
26
 
25
- export interface ResponseBody {
26
- result: Record<string, any>;
27
+ export interface ScriptsPainlessExecute_Request extends Global.Params {
28
+ body?: ScriptsPainlessExecute_RequestBody;
27
29
  }
28
30
 
29
- export interface RequestBody {
30
- context?: string;
31
- context_setup?: Core_ScriptsPainlessExecute.PainlessContextSetup;
32
- script?: Common.InlineScript;
31
+ export interface ScriptsPainlessExecute_ResponseBody {
32
+ result: Record<string, any>;
33
33
  }
34
34
 
35
- export interface Response extends ApiResponse {
36
- body: ResponseBody
35
+ export interface ScriptsPainlessExecute_Response extends ApiResponse {
36
+ body: ScriptsPainlessExecute_ResponseBody
37
37
  }
@@ -14,24 +14,24 @@
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 Core_Search from '../components/_core.search'
20
20
 
21
- export interface Request extends Global.Params {
22
- body?: RequestBody;
23
- rest_total_hits_as_int?: boolean;
21
+ export interface Scroll_RequestBody {
24
22
  scroll?: Common.Duration;
25
- scroll_id?: Common.ScrollId;
23
+ scroll_id: Common.ScrollId;
26
24
  }
27
25
 
28
- export type ResponseBody = Core_Search.ResponseBody
29
-
30
- export interface RequestBody {
26
+ export interface Scroll_Request extends Global.Params {
27
+ body?: Scroll_RequestBody;
28
+ rest_total_hits_as_int?: boolean;
31
29
  scroll?: Common.Duration;
32
- scroll_id: Common.ScrollId;
30
+ scroll_id?: Common.ScrollId;
33
31
  }
34
32
 
35
- export interface Response extends ApiResponse {
36
- body: ResponseBody
33
+ export type Scroll_ResponseBody = Core_Search.ResponseBody
34
+
35
+ export interface Scroll_Response extends ApiResponse {
36
+ body: Scroll_ResponseBody
37
37
  }
@@ -14,14 +14,50 @@
14
14
  */
15
15
 
16
16
  import { ApiResponse } from '../../lib/Transport'
17
- import * as Global from '../components/_global'
18
17
  import * as Core_Search from '../components/_core.search'
19
- import * as Common from '../components/_common'
20
- import * as Common_QueryDsl from '../components/_common.query_dsl'
21
18
  import * as Common_Aggregations from '../components/_common.aggregations'
19
+ import * as Common_QueryDsl from '../components/_common.query_dsl'
20
+ import * as Common from '../components/_common'
22
21
  import * as Common_Mapping from '../components/_common.mapping'
22
+ import * as Global from '../components/_global'
23
+
24
+ export interface Search_RequestBody {
25
+ _source?: Core_Search.SourceConfig;
26
+ aggregations?: Record<string, Common_Aggregations.AggregationContainer>;
27
+ collapse?: Core_Search.FieldCollapse;
28
+ docvalue_fields?: Common_QueryDsl.FieldAndFormat[];
29
+ explain?: boolean;
30
+ ext?: Record<string, Record<string, any>>;
31
+ fields?: Common_QueryDsl.FieldAndFormat[];
32
+ from?: number;
33
+ highlight?: Core_Search.Highlight;
34
+ indices_boost?: Record<string, number>[];
35
+ knn?: Common.KnnQuery | Common.KnnQuery[];
36
+ min_score?: number;
37
+ pit?: Core_Search.PointInTimeReference;
38
+ post_filter?: Common_QueryDsl.QueryContainer;
39
+ profile?: boolean;
40
+ query?: Common_QueryDsl.QueryContainer;
41
+ rank?: Common.RankContainer;
42
+ rescore?: Core_Search.Rescore | Core_Search.Rescore[];
43
+ runtime_mappings?: Common_Mapping.RuntimeFields;
44
+ script_fields?: Record<string, Common.ScriptField>;
45
+ search_after?: Common.SortResults;
46
+ seq_no_primary_term?: boolean;
47
+ size?: number;
48
+ slice?: Common.SlicedScroll;
49
+ sort?: Common.Sort;
50
+ stats?: string[];
51
+ stored_fields?: Common.Fields;
52
+ suggest?: Core_Search.Suggester;
53
+ terminate_after?: number;
54
+ timeout?: string;
55
+ track_scores?: boolean;
56
+ track_total_hits?: Core_Search.TrackHits;
57
+ version?: boolean;
58
+ }
23
59
 
24
- export interface Request extends Global.Params {
60
+ export interface Search_Request extends Global.Params {
25
61
  _source?: Core_Search.SourceConfigParam;
26
62
  _source_excludes?: Common.Fields;
27
63
  _source_includes?: Common.Fields;
@@ -30,7 +66,7 @@ export interface Request extends Global.Params {
30
66
  analyze_wildcard?: boolean;
31
67
  analyzer?: string;
32
68
  batched_reduce_size?: number;
33
- body?: RequestBody;
69
+ body?: Search_RequestBody;
34
70
  cancel_after_time_interval?: Common.Duration;
35
71
  ccs_minimize_roundtrips?: boolean;
36
72
  default_operator?: Common_QueryDsl.Operator;
@@ -72,44 +108,8 @@ export interface Request extends Global.Params {
72
108
  version?: boolean;
73
109
  }
74
110
 
75
- export type ResponseBody = Core_Search.ResponseBody
76
-
77
- export interface RequestBody {
78
- _source?: Core_Search.SourceConfig;
79
- aggregations?: Record<string, Common_Aggregations.AggregationContainer>;
80
- collapse?: Core_Search.FieldCollapse;
81
- docvalue_fields?: Common_QueryDsl.FieldAndFormat[];
82
- explain?: boolean;
83
- ext?: Record<string, Record<string, any>>;
84
- fields?: Common_QueryDsl.FieldAndFormat[];
85
- from?: number;
86
- highlight?: Core_Search.Highlight;
87
- indices_boost?: Record<string, number>[];
88
- knn?: Common.KnnQuery | Common.KnnQuery[];
89
- min_score?: number;
90
- pit?: Core_Search.PointInTimeReference;
91
- post_filter?: Common_QueryDsl.QueryContainer;
92
- profile?: boolean;
93
- query?: Common_QueryDsl.QueryContainer;
94
- rank?: Common.RankContainer;
95
- rescore?: Core_Search.Rescore | Core_Search.Rescore[];
96
- runtime_mappings?: Common_Mapping.RuntimeFields;
97
- script_fields?: Record<string, Common.ScriptField>;
98
- search_after?: Common.SortResults;
99
- seq_no_primary_term?: boolean;
100
- size?: number;
101
- slice?: Common.SlicedScroll;
102
- sort?: Common.Sort;
103
- stats?: string[];
104
- stored_fields?: Common.Fields;
105
- suggest?: Core_Search.Suggester;
106
- terminate_after?: number;
107
- timeout?: string;
108
- track_scores?: boolean;
109
- track_total_hits?: Core_Search.TrackHits;
110
- version?: boolean;
111
- }
111
+ export type Search_ResponseBody = Core_Search.ResponseBody
112
112
 
113
- export interface Response extends ApiResponse {
114
- body: ResponseBody
113
+ export interface Search_Response extends ApiResponse {
114
+ body: Search_ResponseBody
115
115
  }
@@ -17,16 +17,16 @@ 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 SearchPipeline_Delete_Request extends Global.Params {
21
21
  cluster_manager_timeout?: Common.Duration;
22
22
  id: string;
23
23
  timeout?: Common.Duration;
24
24
  }
25
25
 
26
- export interface ResponseBody {
26
+ export interface SearchPipeline_Delete_ResponseBody {
27
27
  acknowledged?: boolean;
28
28
  }
29
29
 
30
- export interface Response extends ApiResponse {
31
- body: ResponseBody
30
+ export interface SearchPipeline_Delete_Response extends ApiResponse {
31
+ body: SearchPipeline_Delete_ResponseBody
32
32
  }
@@ -18,13 +18,13 @@ import * as Global from '../components/_global'
18
18
  import * as Common from '../components/_common'
19
19
  import * as SearchPipeline_Common from '../components/search_pipeline._common'
20
20
 
21
- export interface Request extends Global.Params {
21
+ export interface SearchPipeline_Get_Request extends Global.Params {
22
22
  cluster_manager_timeout?: Common.Duration;
23
23
  id?: string;
24
24
  }
25
25
 
26
- export type ResponseBody = SearchPipeline_Common.SearchPipelineMap
26
+ export type SearchPipeline_Get_ResponseBody = SearchPipeline_Common.SearchPipelineMap
27
27
 
28
- export interface Response extends ApiResponse {
29
- body: ResponseBody
28
+ export interface SearchPipeline_Get_Response extends ApiResponse {
29
+ body: SearchPipeline_Get_ResponseBody
30
30
  }
@@ -18,17 +18,17 @@ import * as Global from '../components/_global'
18
18
  import * as SearchPipeline_Common from '../components/search_pipeline._common'
19
19
  import * as Common from '../components/_common'
20
20
 
21
- export interface Request extends Global.Params {
21
+ export interface SearchPipeline_Put_Request extends Global.Params {
22
22
  body: SearchPipeline_Common.SearchPipelineStructure;
23
23
  cluster_manager_timeout?: Common.Duration;
24
24
  id: string;
25
25
  timeout?: Common.Duration;
26
26
  }
27
27
 
28
- export interface ResponseBody {
28
+ export interface SearchPipeline_Put_ResponseBody {
29
29
  acknowledged?: boolean;
30
30
  }
31
31
 
32
- export interface Response extends ApiResponse {
33
- body: ResponseBody
32
+ export interface SearchPipeline_Put_Response extends ApiResponse {
33
+ body: SearchPipeline_Put_ResponseBody
34
34
  }
@@ -18,7 +18,7 @@ import * as Global from '../components/_global'
18
18
  import * as Common from '../components/_common'
19
19
  import * as Core_SearchShards from '../components/_core.search_shards'
20
20
 
21
- export interface Request extends Global.Params {
21
+ export interface SearchShards_Request extends Global.Params {
22
22
  allow_no_indices?: boolean;
23
23
  expand_wildcards?: Common.ExpandWildcards;
24
24
  ignore_unavailable?: boolean;
@@ -28,12 +28,12 @@ export interface Request extends Global.Params {
28
28
  routing?: Common.Routing;
29
29
  }
30
30
 
31
- export interface ResponseBody {
31
+ export interface SearchShards_ResponseBody {
32
32
  indices: Record<string, Core_SearchShards.ShardStoreIndex>;
33
33
  nodes: Record<string, Common.NodeAttributes>;
34
34
  shards: Common.NodeShard[][];
35
35
  }
36
36
 
37
- export interface Response extends ApiResponse {
38
- body: ResponseBody
37
+ export interface SearchShards_Response extends ApiResponse {
38
+ body: SearchShards_ResponseBody
39
39
  }
@@ -14,14 +14,22 @@
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 Common_Aggregations from '../components/_common.aggregations'
20
20
  import * as Core_Search from '../components/_core.search'
21
21
 
22
- export interface Request extends Global.Params {
22
+ export interface SearchTemplate_RequestBody {
23
+ explain?: boolean;
24
+ id?: Common.Id;
25
+ params?: Record<string, Record<string, any>>;
26
+ profile?: boolean;
27
+ source?: string;
28
+ }
29
+
30
+ export interface SearchTemplate_Request extends Global.Params {
23
31
  allow_no_indices?: boolean;
24
- body: RequestBody;
32
+ body: SearchTemplate_RequestBody;
25
33
  ccs_minimize_roundtrips?: boolean;
26
34
  expand_wildcards?: Common.ExpandWildcards;
27
35
  explain?: boolean;
@@ -37,7 +45,7 @@ export interface Request extends Global.Params {
37
45
  typed_keys?: boolean;
38
46
  }
39
47
 
40
- export interface ResponseBody {
48
+ export interface SearchTemplate_ResponseBody {
41
49
  _clusters?: Common.ClusterStatistics;
42
50
  _scroll_id?: Common.ScrollId;
43
51
  _shards: Common.ShardStatistics;
@@ -54,14 +62,6 @@ export interface ResponseBody {
54
62
  took: number;
55
63
  }
56
64
 
57
- export interface RequestBody {
58
- explain?: boolean;
59
- id?: Common.Id;
60
- params?: Record<string, Record<string, any>>;
61
- profile?: boolean;
62
- source?: string;
63
- }
64
-
65
- export interface Response extends ApiResponse {
66
- body: ResponseBody
65
+ export interface SearchTemplate_Response extends ApiResponse {
66
+ body: SearchTemplate_ResponseBody
67
67
  }
@@ -17,13 +17,13 @@ import { ApiResponse } from '../../lib/Transport'
17
17
  import * as Global from '../components/_global'
18
18
  import * as Security_Common from '../components/security._common'
19
19
 
20
- export interface Request extends Global.Params {
20
+ export interface Security_Authinfo_Request extends Global.Params {
21
21
  auth_type?: string;
22
22
  verbose?: boolean;
23
23
  }
24
24
 
25
- export type ResponseBody = Security_Common.AuthInfo
25
+ export type Security_Authinfo_ResponseBody = Security_Common.AuthInfo
26
26
 
27
- export interface Response extends ApiResponse {
28
- body: ResponseBody
27
+ export interface Security_Authinfo_Response extends ApiResponse {
28
+ body: Security_Authinfo_ResponseBody
29
29
  }
@@ -17,10 +17,10 @@ import { ApiResponse } from '../../lib/Transport'
17
17
  import * as Global from '../components/_global'
18
18
  import * as Security_Common from '../components/security._common'
19
19
 
20
- export type Request = Global.Params & Record<string, any>
20
+ export type Security_Authtoken_Request = Global.Params & Record<string, any>
21
21
 
22
- export type ResponseBody = Security_Common.Ok
22
+ export type Security_Authtoken_ResponseBody = Security_Common.Ok
23
23
 
24
- export interface Response extends ApiResponse {
25
- body: ResponseBody
24
+ export interface Security_Authtoken_Response extends ApiResponse {
25
+ body: Security_Authtoken_ResponseBody
26
26
  }
@@ -17,12 +17,12 @@ import { ApiResponse } from '../../lib/Transport'
17
17
  import * as Global from '../components/_global'
18
18
  import * as Security_Common from '../components/security._common'
19
19
 
20
- export interface Request extends Global.Params {
20
+ export interface Security_ChangePassword_Request extends Global.Params {
21
21
  body: Security_Common.ChangePasswordRequestContent;
22
22
  }
23
23
 
24
- export type ResponseBody = Security_Common.Ok
24
+ export type Security_ChangePassword_ResponseBody = Security_Common.Ok
25
25
 
26
- export interface Response extends ApiResponse {
27
- body: ResponseBody
26
+ export interface Security_ChangePassword_Response extends ApiResponse {
27
+ body: Security_ChangePassword_ResponseBody
28
28
  }
@@ -17,10 +17,10 @@ import { ApiResponse } from '../../lib/Transport'
17
17
  import * as Global from '../components/_global'
18
18
  import * as Security_Common from '../components/security._common'
19
19
 
20
- export type Request = Global.Params & Record<string, any>
20
+ export type Security_ConfigUpgradeCheck_Request = Global.Params & Record<string, any>
21
21
 
22
- export type ResponseBody = Security_Common.UpgradeCheck
22
+ export type Security_ConfigUpgradeCheck_ResponseBody = Security_Common.UpgradeCheck
23
23
 
24
- export interface Response extends ApiResponse {
25
- body: ResponseBody
24
+ export interface Security_ConfigUpgradeCheck_Response extends ApiResponse {
25
+ body: Security_ConfigUpgradeCheck_ResponseBody
26
26
  }
@@ -17,12 +17,12 @@ import { ApiResponse } from '../../lib/Transport'
17
17
  import * as Global from '../components/_global'
18
18
  import * as Security_Common from '../components/security._common'
19
19
 
20
- export interface Request extends Global.Params {
20
+ export interface Security_ConfigUpgradePerform_Request extends Global.Params {
21
21
  body?: Security_Common.ConfigUpgradePayload;
22
22
  }
23
23
 
24
- export type ResponseBody = Security_Common.UpgradePerform
24
+ export type Security_ConfigUpgradePerform_ResponseBody = Security_Common.UpgradePerform
25
25
 
26
- export interface Response extends ApiResponse {
27
- body: ResponseBody
26
+ export interface Security_ConfigUpgradePerform_Response extends ApiResponse {
27
+ body: Security_ConfigUpgradePerform_ResponseBody
28
28
  }
@@ -17,13 +17,13 @@ import { ApiResponse } from '../../lib/Transport'
17
17
  import * as Global from '../components/_global'
18
18
  import * as Security_Common from '../components/security._common'
19
19
 
20
- export interface Request extends Global.Params {
20
+ export interface Security_CreateActionGroup_Request extends Global.Params {
21
21
  action_group: string;
22
22
  body: Security_Common.ActionGroup;
23
23
  }
24
24
 
25
- export type ResponseBody = Security_Common.Ok
25
+ export type Security_CreateActionGroup_ResponseBody = Security_Common.Ok
26
26
 
27
- export interface Response extends ApiResponse {
28
- body: ResponseBody
27
+ export interface Security_CreateActionGroup_Response extends ApiResponse {
28
+ body: Security_CreateActionGroup_ResponseBody
29
29
  }
@@ -17,12 +17,12 @@ import { ApiResponse } from '../../lib/Transport'
17
17
  import * as Global from '../components/_global'
18
18
  import * as Security_Common from '../components/security._common'
19
19
 
20
- export interface Request extends Global.Params {
20
+ export interface Security_CreateAllowlist_Request extends Global.Params {
21
21
  body: Security_Common.AllowListConfig;
22
22
  }
23
23
 
24
- export type ResponseBody = Security_Common.AllowListConfig
24
+ export type Security_CreateAllowlist_ResponseBody = Security_Common.AllowListConfig
25
25
 
26
- export interface Response extends ApiResponse {
27
- body: ResponseBody
26
+ export interface Security_CreateAllowlist_Response extends ApiResponse {
27
+ body: Security_CreateAllowlist_ResponseBody
28
28
  }
@@ -17,13 +17,13 @@ import { ApiResponse } from '../../lib/Transport'
17
17
  import * as Global from '../components/_global'
18
18
  import * as Security_Common from '../components/security._common'
19
19
 
20
- export interface Request extends Global.Params {
20
+ export interface Security_CreateRole_Request extends Global.Params {
21
21
  body: Security_Common.Role;
22
22
  role: string;
23
23
  }
24
24
 
25
- export type ResponseBody = Security_Common.Ok
25
+ export type Security_CreateRole_ResponseBody = Security_Common.Ok
26
26
 
27
- export interface Response extends ApiResponse {
28
- body: ResponseBody
27
+ export interface Security_CreateRole_Response extends ApiResponse {
28
+ body: Security_CreateRole_ResponseBody
29
29
  }
@@ -17,13 +17,13 @@ import { ApiResponse } from '../../lib/Transport'
17
17
  import * as Global from '../components/_global'
18
18
  import * as Security_Common from '../components/security._common'
19
19
 
20
- export interface Request extends Global.Params {
20
+ export interface Security_CreateRoleMapping_Request extends Global.Params {
21
21
  body: Security_Common.RoleMapping;
22
22
  role: string;
23
23
  }
24
24
 
25
- export type ResponseBody = Security_Common.Ok
25
+ export type Security_CreateRoleMapping_ResponseBody = Security_Common.Ok
26
26
 
27
- export interface Response extends ApiResponse {
28
- body: ResponseBody
27
+ export interface Security_CreateRoleMapping_Response extends ApiResponse {
28
+ body: Security_CreateRoleMapping_ResponseBody
29
29
  }
@@ -17,13 +17,13 @@ import { ApiResponse } from '../../lib/Transport'
17
17
  import * as Global from '../components/_global'
18
18
  import * as Security_Common from '../components/security._common'
19
19
 
20
- export interface Request extends Global.Params {
20
+ export interface Security_CreateTenant_Request extends Global.Params {
21
21
  body: Security_Common.CreateTenantParams;
22
22
  tenant: string;
23
23
  }
24
24
 
25
- export type ResponseBody = Security_Common.Ok
25
+ export type Security_CreateTenant_ResponseBody = Security_Common.Ok
26
26
 
27
- export interface Response extends ApiResponse {
28
- body: ResponseBody
27
+ export interface Security_CreateTenant_Response extends ApiResponse {
28
+ body: Security_CreateTenant_ResponseBody
29
29
  }
@@ -14,17 +14,17 @@
14
14
  */
15
15
 
16
16
  import { ApiResponse } from '../../lib/Transport'
17
- import * as Global from '../components/_global'
18
17
  import * as Security_Common from '../components/security._common'
18
+ import * as Global from '../components/_global'
19
19
 
20
- export interface Request extends Global.Params {
21
- body: RequestBody;
22
- }
20
+ export type Security_CreateUpdateTenancyConfig_RequestBody = Security_Common.MultiTenancyConfig[]
23
21
 
24
- export type ResponseBody = Security_Common.MultiTenancyConfig
22
+ export interface Security_CreateUpdateTenancyConfig_Request extends Global.Params {
23
+ body: Security_CreateUpdateTenancyConfig_RequestBody;
24
+ }
25
25
 
26
- export type RequestBody = Security_Common.MultiTenancyConfig[]
26
+ export type Security_CreateUpdateTenancyConfig_ResponseBody = Security_Common.MultiTenancyConfig
27
27
 
28
- export interface Response extends ApiResponse {
29
- body: ResponseBody
28
+ export interface Security_CreateUpdateTenancyConfig_Response extends ApiResponse {
29
+ body: Security_CreateUpdateTenancyConfig_ResponseBody
30
30
  }
@@ -17,13 +17,13 @@ import { ApiResponse } from '../../lib/Transport'
17
17
  import * as Global from '../components/_global'
18
18
  import * as Security_Common from '../components/security._common'
19
19
 
20
- export interface Request extends Global.Params {
20
+ export interface Security_CreateUser_Request extends Global.Params {
21
21
  body: Security_Common.User;
22
22
  username: string;
23
23
  }
24
24
 
25
- export type ResponseBody = Security_Common.Ok
25
+ export type Security_CreateUser_ResponseBody = Security_Common.Ok
26
26
 
27
- export interface Response extends ApiResponse {
28
- body: ResponseBody
27
+ export interface Security_CreateUser_Response extends ApiResponse {
28
+ body: Security_CreateUser_ResponseBody
29
29
  }
@@ -17,13 +17,13 @@ import { ApiResponse } from '../../lib/Transport'
17
17
  import * as Global from '../components/_global'
18
18
  import * as Security_Common from '../components/security._common'
19
19
 
20
- export interface Request extends Global.Params {
20
+ export interface Security_CreateUserLegacy_Request extends Global.Params {
21
21
  body: Security_Common.User;
22
22
  username: string;
23
23
  }
24
24
 
25
- export type ResponseBody = Security_Common.Ok
25
+ export type Security_CreateUserLegacy_ResponseBody = Security_Common.Ok
26
26
 
27
- export interface Response extends ApiResponse {
28
- body: ResponseBody
27
+ export interface Security_CreateUserLegacy_Response extends ApiResponse {
28
+ body: Security_CreateUserLegacy_ResponseBody
29
29
  }
@@ -17,12 +17,12 @@ import { ApiResponse } from '../../lib/Transport'
17
17
  import * as Global from '../components/_global'
18
18
  import * as Security_Common from '../components/security._common'
19
19
 
20
- export interface Request extends Global.Params {
20
+ export interface Security_DeleteActionGroup_Request extends Global.Params {
21
21
  action_group: string;
22
22
  }
23
23
 
24
- export type ResponseBody = Security_Common.Ok
24
+ export type Security_DeleteActionGroup_ResponseBody = Security_Common.Ok
25
25
 
26
- export interface Response extends ApiResponse {
27
- body: ResponseBody
26
+ export interface Security_DeleteActionGroup_Response extends ApiResponse {
27
+ body: Security_DeleteActionGroup_ResponseBody
28
28
  }