@elastic/elasticsearch 9.3.2 → 9.3.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 (407) hide show
  1. package/esm/api/api/async_search.d.ts.map +1 -1
  2. package/esm/api/api/async_search.js +20 -93
  3. package/esm/api/api/async_search.js.map +1 -1
  4. package/esm/api/api/autoscaling.d.ts.map +1 -1
  5. package/esm/api/api/autoscaling.js +20 -18
  6. package/esm/api/api/autoscaling.js.map +1 -1
  7. package/esm/api/api/bulk.js +5 -16
  8. package/esm/api/api/bulk.js.map +1 -1
  9. package/esm/api/api/capabilities.js +5 -8
  10. package/esm/api/api/capabilities.js.map +1 -1
  11. package/esm/api/api/cat.d.ts.map +1 -1
  12. package/esm/api/api/cat.js +135 -185
  13. package/esm/api/api/cat.js.map +1 -1
  14. package/esm/api/api/ccr.d.ts.map +1 -1
  15. package/esm/api/api/ccr.js +65 -96
  16. package/esm/api/api/ccr.js.map +1 -1
  17. package/esm/api/api/clear_scroll.js +5 -4
  18. package/esm/api/api/clear_scroll.js.map +1 -1
  19. package/esm/api/api/close_point_in_time.js +5 -3
  20. package/esm/api/api/close_point_in_time.js.map +1 -1
  21. package/esm/api/api/cluster.d.ts.map +1 -1
  22. package/esm/api/api/cluster.js +80 -112
  23. package/esm/api/api/cluster.js.map +1 -1
  24. package/esm/api/api/connector.d.ts.map +1 -1
  25. package/esm/api/api/connector.js +170 -168
  26. package/esm/api/api/connector.js.map +1 -1
  27. package/esm/api/api/count.js +5 -19
  28. package/esm/api/api/count.js.map +1 -1
  29. package/esm/api/api/create.js +5 -15
  30. package/esm/api/api/create.js.map +1 -1
  31. package/esm/api/api/dangling_indices.d.ts.map +1 -1
  32. package/esm/api/api/dangling_indices.js +15 -13
  33. package/esm/api/api/dangling_indices.js.map +1 -1
  34. package/esm/api/api/delete.js +5 -12
  35. package/esm/api/api/delete.js.map +1 -1
  36. package/esm/api/api/delete_by_query.js +5 -36
  37. package/esm/api/api/delete_by_query.js.map +1 -1
  38. package/esm/api/api/delete_by_query_rethrottle.js +5 -4
  39. package/esm/api/api/delete_by_query_rethrottle.js.map +1 -1
  40. package/esm/api/api/delete_script.js +5 -5
  41. package/esm/api/api/delete_script.js.map +1 -1
  42. package/esm/api/api/enrich.d.ts.map +1 -1
  43. package/esm/api/api/enrich.js +25 -23
  44. package/esm/api/api/enrich.js.map +1 -1
  45. package/esm/api/api/eql.d.ts.map +1 -1
  46. package/esm/api/api/eql.js +20 -41
  47. package/esm/api/api/eql.js.map +1 -1
  48. package/esm/api/api/esql.d.ts.map +1 -1
  49. package/esm/api/api/esql.js +50 -63
  50. package/esm/api/api/esql.js.map +1 -1
  51. package/esm/api/api/exists.js +5 -14
  52. package/esm/api/api/exists.js.map +1 -1
  53. package/esm/api/api/exists_source.js +5 -13
  54. package/esm/api/api/exists_source.js.map +1 -1
  55. package/esm/api/api/explain.js +5 -17
  56. package/esm/api/api/explain.js.map +1 -1
  57. package/esm/api/api/features.d.ts.map +1 -1
  58. package/esm/api/api/features.js +10 -6
  59. package/esm/api/api/features.js.map +1 -1
  60. package/esm/api/api/field_caps.js +5 -15
  61. package/esm/api/api/field_caps.js.map +1 -1
  62. package/esm/api/api/fleet.d.ts.map +1 -1
  63. package/esm/api/api/fleet.js +30 -111
  64. package/esm/api/api/fleet.js.map +1 -1
  65. package/esm/api/api/get.js +5 -16
  66. package/esm/api/api/get.js.map +1 -1
  67. package/esm/api/api/get_script.js +5 -4
  68. package/esm/api/api/get_script.js.map +1 -1
  69. package/esm/api/api/get_script_context.js +5 -1
  70. package/esm/api/api/get_script_context.js.map +1 -1
  71. package/esm/api/api/get_script_languages.js +5 -1
  72. package/esm/api/api/get_script_languages.js.map +1 -1
  73. package/esm/api/api/get_source.js +5 -13
  74. package/esm/api/api/get_source.js.map +1 -1
  75. package/esm/api/api/graph.d.ts.map +1 -1
  76. package/esm/api/api/graph.js +5 -9
  77. package/esm/api/api/graph.js.map +1 -1
  78. package/esm/api/api/health_report.js +5 -6
  79. package/esm/api/api/health_report.js.map +1 -1
  80. package/esm/api/api/ilm.d.ts.map +1 -1
  81. package/esm/api/api/ilm.js +55 -48
  82. package/esm/api/api/ilm.js.map +1 -1
  83. package/esm/api/api/index.js +5 -18
  84. package/esm/api/api/index.js.map +1 -1
  85. package/esm/api/api/indices.d.ts +1 -1
  86. package/esm/api/api/indices.d.ts.map +1 -1
  87. package/esm/api/api/indices.js +385 -583
  88. package/esm/api/api/indices.js.map +1 -1
  89. package/esm/api/api/inference.d.ts +1 -1
  90. package/esm/api/api/inference.d.ts.map +1 -1
  91. package/esm/api/api/inference.js +180 -280
  92. package/esm/api/api/inference.js.map +1 -1
  93. package/esm/api/api/info.js +5 -1
  94. package/esm/api/api/info.js.map +1 -1
  95. package/esm/api/api/ingest.d.ts.map +1 -1
  96. package/esm/api/api/ingest.js +60 -60
  97. package/esm/api/api/ingest.js.map +1 -1
  98. package/esm/api/api/knn_search.js +5 -10
  99. package/esm/api/api/knn_search.js.map +1 -1
  100. package/esm/api/api/license.d.ts.map +1 -1
  101. package/esm/api/api/license.js +35 -27
  102. package/esm/api/api/license.js.map +1 -1
  103. package/esm/api/api/logstash.d.ts.map +1 -1
  104. package/esm/api/api/logstash.js +15 -10
  105. package/esm/api/api/logstash.js.map +1 -1
  106. package/esm/api/api/mget.js +5 -14
  107. package/esm/api/api/mget.js.map +1 -1
  108. package/esm/api/api/migration.d.ts +1 -1
  109. package/esm/api/api/migration.d.ts.map +1 -1
  110. package/esm/api/api/migration.js +15 -5
  111. package/esm/api/api/migration.js.map +1 -1
  112. package/esm/api/api/ml.d.ts.map +1 -1
  113. package/esm/api/api/ml.js +365 -574
  114. package/esm/api/api/ml.js.map +1 -1
  115. package/esm/api/api/monitoring.d.ts.map +1 -1
  116. package/esm/api/api/monitoring.js +5 -6
  117. package/esm/api/api/monitoring.js.map +1 -1
  118. package/esm/api/api/msearch.js +5 -19
  119. package/esm/api/api/msearch.js.map +1 -1
  120. package/esm/api/api/msearch_template.js +5 -10
  121. package/esm/api/api/msearch_template.js.map +1 -1
  122. package/esm/api/api/mtermvectors.js +5 -17
  123. package/esm/api/api/mtermvectors.js.map +1 -1
  124. package/esm/api/api/nodes.d.ts.map +1 -1
  125. package/esm/api/api/nodes.js +35 -47
  126. package/esm/api/api/nodes.js.map +1 -1
  127. package/esm/api/api/open_point_in_time.js +5 -12
  128. package/esm/api/api/open_point_in_time.js.map +1 -1
  129. package/esm/api/api/ping.js +5 -1
  130. package/esm/api/api/ping.js.map +1 -1
  131. package/esm/api/api/profiling.d.ts.map +1 -1
  132. package/esm/api/api/profiling.js +20 -14
  133. package/esm/api/api/profiling.js.map +1 -1
  134. package/esm/api/api/project.d.ts.map +1 -1
  135. package/esm/api/api/project.js +5 -3
  136. package/esm/api/api/project.js.map +1 -1
  137. package/esm/api/api/put_script.js +5 -8
  138. package/esm/api/api/put_script.js.map +1 -1
  139. package/esm/api/api/query_rules.d.ts.map +1 -1
  140. package/esm/api/api/query_rules.js +40 -34
  141. package/esm/api/api/query_rules.js.map +1 -1
  142. package/esm/api/api/rank_eval.js +5 -9
  143. package/esm/api/api/rank_eval.js.map +1 -1
  144. package/esm/api/api/reindex.js +5 -16
  145. package/esm/api/api/reindex.js.map +1 -1
  146. package/esm/api/api/reindex_rethrottle.js +5 -4
  147. package/esm/api/api/reindex_rethrottle.js.map +1 -1
  148. package/esm/api/api/render_search_template.js +5 -7
  149. package/esm/api/api/render_search_template.js.map +1 -1
  150. package/esm/api/api/rollup.d.ts.map +1 -1
  151. package/esm/api/api/rollup.js +40 -40
  152. package/esm/api/api/rollup.js.map +1 -1
  153. package/esm/api/api/scripts_painless_execute.js +5 -5
  154. package/esm/api/api/scripts_painless_execute.js.map +1 -1
  155. package/esm/api/api/scroll.js +5 -8
  156. package/esm/api/api/scroll.js.map +1 -1
  157. package/esm/api/api/search.js +5 -84
  158. package/esm/api/api/search.js.map +1 -1
  159. package/esm/api/api/search_application.d.ts.map +1 -1
  160. package/esm/api/api/search_application.js +50 -40
  161. package/esm/api/api/search_application.js.map +1 -1
  162. package/esm/api/api/search_mvt.js +5 -30
  163. package/esm/api/api/search_mvt.js.map +1 -1
  164. package/esm/api/api/search_shards.js +5 -10
  165. package/esm/api/api/search_shards.js.map +1 -1
  166. package/esm/api/api/search_template.js +5 -22
  167. package/esm/api/api/search_template.js.map +1 -1
  168. package/esm/api/api/searchable_snapshots.d.ts.map +1 -1
  169. package/esm/api/api/searchable_snapshots.js +20 -25
  170. package/esm/api/api/searchable_snapshots.js.map +1 -1
  171. package/esm/api/api/security.d.ts.map +1 -1
  172. package/esm/api/api/security.js +325 -339
  173. package/esm/api/api/security.js.map +1 -1
  174. package/esm/api/api/shutdown.d.ts.map +1 -1
  175. package/esm/api/api/shutdown.js +15 -18
  176. package/esm/api/api/shutdown.js.map +1 -1
  177. package/esm/api/api/simulate.d.ts.map +1 -1
  178. package/esm/api/api/simulate.js +5 -10
  179. package/esm/api/api/simulate.js.map +1 -1
  180. package/esm/api/api/slm.d.ts.map +1 -1
  181. package/esm/api/api/slm.js +45 -45
  182. package/esm/api/api/slm.js.map +1 -1
  183. package/esm/api/api/snapshot.d.ts.map +1 -1
  184. package/esm/api/api/snapshot.js +65 -119
  185. package/esm/api/api/snapshot.js.map +1 -1
  186. package/esm/api/api/sql.d.ts.map +1 -1
  187. package/esm/api/api/sql.js +30 -43
  188. package/esm/api/api/sql.js.map +1 -1
  189. package/esm/api/api/ssl.d.ts.map +1 -1
  190. package/esm/api/api/ssl.js +5 -1
  191. package/esm/api/api/ssl.js.map +1 -1
  192. package/esm/api/api/streams.d.ts.map +1 -1
  193. package/esm/api/api/streams.js +15 -11
  194. package/esm/api/api/streams.js.map +1 -1
  195. package/esm/api/api/synonyms.d.ts.map +1 -1
  196. package/esm/api/api/synonyms.js +35 -32
  197. package/esm/api/api/synonyms.js.map +1 -1
  198. package/esm/api/api/tasks.d.ts.map +1 -1
  199. package/esm/api/api/tasks.js +15 -21
  200. package/esm/api/api/tasks.js.map +1 -1
  201. package/esm/api/api/terms_enum.js +5 -10
  202. package/esm/api/api/terms_enum.js.map +1 -1
  203. package/esm/api/api/termvectors.js +5 -27
  204. package/esm/api/api/termvectors.js.map +1 -1
  205. package/esm/api/api/text_structure.d.ts.map +1 -1
  206. package/esm/api/api/text_structure.js +20 -53
  207. package/esm/api/api/text_structure.js.map +1 -1
  208. package/esm/api/api/transform.d.ts.map +1 -1
  209. package/esm/api/api/transform.js +65 -92
  210. package/esm/api/api/transform.js.map +1 -1
  211. package/esm/api/api/update.js +5 -24
  212. package/esm/api/api/update.js.map +1 -1
  213. package/esm/api/api/update_by_query.js +5 -39
  214. package/esm/api/api/update_by_query.js.map +1 -1
  215. package/esm/api/api/update_by_query_rethrottle.js +5 -4
  216. package/esm/api/api/update_by_query_rethrottle.js.map +1 -1
  217. package/esm/api/api/watcher.d.ts.map +1 -1
  218. package/esm/api/api/watcher.js +65 -69
  219. package/esm/api/api/watcher.js.map +1 -1
  220. package/esm/api/api/xpack.d.ts.map +1 -1
  221. package/esm/api/api/xpack.js +10 -8
  222. package/esm/api/api/xpack.js.map +1 -1
  223. package/esm/api/types.d.ts +27 -4
  224. package/esm/api/types.d.ts.map +1 -1
  225. package/esm/version.generated.js +2 -2
  226. package/lib/api/api/async_search.js +20 -93
  227. package/lib/api/api/async_search.js.map +1 -1
  228. package/lib/api/api/autoscaling.js +20 -18
  229. package/lib/api/api/autoscaling.js.map +1 -1
  230. package/lib/api/api/bulk.js +5 -16
  231. package/lib/api/api/bulk.js.map +1 -1
  232. package/lib/api/api/capabilities.js +5 -8
  233. package/lib/api/api/capabilities.js.map +1 -1
  234. package/lib/api/api/cat.js +135 -185
  235. package/lib/api/api/cat.js.map +1 -1
  236. package/lib/api/api/ccr.js +65 -96
  237. package/lib/api/api/ccr.js.map +1 -1
  238. package/lib/api/api/clear_scroll.js +5 -4
  239. package/lib/api/api/clear_scroll.js.map +1 -1
  240. package/lib/api/api/close_point_in_time.js +5 -3
  241. package/lib/api/api/close_point_in_time.js.map +1 -1
  242. package/lib/api/api/cluster.js +80 -112
  243. package/lib/api/api/cluster.js.map +1 -1
  244. package/lib/api/api/connector.js +170 -168
  245. package/lib/api/api/connector.js.map +1 -1
  246. package/lib/api/api/count.js +5 -19
  247. package/lib/api/api/count.js.map +1 -1
  248. package/lib/api/api/create.js +5 -15
  249. package/lib/api/api/create.js.map +1 -1
  250. package/lib/api/api/dangling_indices.js +15 -13
  251. package/lib/api/api/dangling_indices.js.map +1 -1
  252. package/lib/api/api/delete.js +5 -12
  253. package/lib/api/api/delete.js.map +1 -1
  254. package/lib/api/api/delete_by_query.js +5 -36
  255. package/lib/api/api/delete_by_query.js.map +1 -1
  256. package/lib/api/api/delete_by_query_rethrottle.js +5 -4
  257. package/lib/api/api/delete_by_query_rethrottle.js.map +1 -1
  258. package/lib/api/api/delete_script.js +5 -5
  259. package/lib/api/api/delete_script.js.map +1 -1
  260. package/lib/api/api/enrich.js +25 -23
  261. package/lib/api/api/enrich.js.map +1 -1
  262. package/lib/api/api/eql.js +20 -41
  263. package/lib/api/api/eql.js.map +1 -1
  264. package/lib/api/api/esql.js +50 -63
  265. package/lib/api/api/esql.js.map +1 -1
  266. package/lib/api/api/exists.js +5 -14
  267. package/lib/api/api/exists.js.map +1 -1
  268. package/lib/api/api/exists_source.js +5 -13
  269. package/lib/api/api/exists_source.js.map +1 -1
  270. package/lib/api/api/explain.js +5 -17
  271. package/lib/api/api/explain.js.map +1 -1
  272. package/lib/api/api/features.js +10 -6
  273. package/lib/api/api/features.js.map +1 -1
  274. package/lib/api/api/field_caps.js +5 -15
  275. package/lib/api/api/field_caps.js.map +1 -1
  276. package/lib/api/api/fleet.js +30 -111
  277. package/lib/api/api/fleet.js.map +1 -1
  278. package/lib/api/api/get.js +5 -16
  279. package/lib/api/api/get.js.map +1 -1
  280. package/lib/api/api/get_script.js +5 -4
  281. package/lib/api/api/get_script.js.map +1 -1
  282. package/lib/api/api/get_script_context.js +5 -1
  283. package/lib/api/api/get_script_context.js.map +1 -1
  284. package/lib/api/api/get_script_languages.js +5 -1
  285. package/lib/api/api/get_script_languages.js.map +1 -1
  286. package/lib/api/api/get_source.js +5 -13
  287. package/lib/api/api/get_source.js.map +1 -1
  288. package/lib/api/api/graph.js +5 -9
  289. package/lib/api/api/graph.js.map +1 -1
  290. package/lib/api/api/health_report.js +5 -6
  291. package/lib/api/api/health_report.js.map +1 -1
  292. package/lib/api/api/ilm.js +55 -48
  293. package/lib/api/api/ilm.js.map +1 -1
  294. package/lib/api/api/index.js +5 -18
  295. package/lib/api/api/index.js.map +1 -1
  296. package/lib/api/api/indices.d.ts +1 -1
  297. package/lib/api/api/indices.js +385 -583
  298. package/lib/api/api/indices.js.map +1 -1
  299. package/lib/api/api/inference.d.ts +1 -1
  300. package/lib/api/api/inference.js +180 -280
  301. package/lib/api/api/inference.js.map +1 -1
  302. package/lib/api/api/info.js +5 -1
  303. package/lib/api/api/info.js.map +1 -1
  304. package/lib/api/api/ingest.js +60 -60
  305. package/lib/api/api/ingest.js.map +1 -1
  306. package/lib/api/api/knn_search.js +5 -10
  307. package/lib/api/api/knn_search.js.map +1 -1
  308. package/lib/api/api/license.js +35 -27
  309. package/lib/api/api/license.js.map +1 -1
  310. package/lib/api/api/logstash.js +15 -10
  311. package/lib/api/api/logstash.js.map +1 -1
  312. package/lib/api/api/mget.js +5 -14
  313. package/lib/api/api/mget.js.map +1 -1
  314. package/lib/api/api/migration.d.ts +1 -1
  315. package/lib/api/api/migration.js +15 -5
  316. package/lib/api/api/migration.js.map +1 -1
  317. package/lib/api/api/ml.js +365 -574
  318. package/lib/api/api/ml.js.map +1 -1
  319. package/lib/api/api/monitoring.js +5 -6
  320. package/lib/api/api/monitoring.js.map +1 -1
  321. package/lib/api/api/msearch.js +5 -19
  322. package/lib/api/api/msearch.js.map +1 -1
  323. package/lib/api/api/msearch_template.js +5 -10
  324. package/lib/api/api/msearch_template.js.map +1 -1
  325. package/lib/api/api/mtermvectors.js +5 -17
  326. package/lib/api/api/mtermvectors.js.map +1 -1
  327. package/lib/api/api/nodes.js +35 -47
  328. package/lib/api/api/nodes.js.map +1 -1
  329. package/lib/api/api/open_point_in_time.js +5 -12
  330. package/lib/api/api/open_point_in_time.js.map +1 -1
  331. package/lib/api/api/ping.js +5 -1
  332. package/lib/api/api/ping.js.map +1 -1
  333. package/lib/api/api/profiling.js +20 -14
  334. package/lib/api/api/profiling.js.map +1 -1
  335. package/lib/api/api/project.js +5 -3
  336. package/lib/api/api/project.js.map +1 -1
  337. package/lib/api/api/put_script.js +5 -8
  338. package/lib/api/api/put_script.js.map +1 -1
  339. package/lib/api/api/query_rules.js +40 -34
  340. package/lib/api/api/query_rules.js.map +1 -1
  341. package/lib/api/api/rank_eval.js +5 -9
  342. package/lib/api/api/rank_eval.js.map +1 -1
  343. package/lib/api/api/reindex.js +5 -16
  344. package/lib/api/api/reindex.js.map +1 -1
  345. package/lib/api/api/reindex_rethrottle.js +5 -4
  346. package/lib/api/api/reindex_rethrottle.js.map +1 -1
  347. package/lib/api/api/render_search_template.js +5 -7
  348. package/lib/api/api/render_search_template.js.map +1 -1
  349. package/lib/api/api/rollup.js +40 -40
  350. package/lib/api/api/rollup.js.map +1 -1
  351. package/lib/api/api/scripts_painless_execute.js +5 -5
  352. package/lib/api/api/scripts_painless_execute.js.map +1 -1
  353. package/lib/api/api/scroll.js +5 -8
  354. package/lib/api/api/scroll.js.map +1 -1
  355. package/lib/api/api/search.js +5 -84
  356. package/lib/api/api/search.js.map +1 -1
  357. package/lib/api/api/search_application.js +50 -40
  358. package/lib/api/api/search_application.js.map +1 -1
  359. package/lib/api/api/search_mvt.js +5 -30
  360. package/lib/api/api/search_mvt.js.map +1 -1
  361. package/lib/api/api/search_shards.js +5 -10
  362. package/lib/api/api/search_shards.js.map +1 -1
  363. package/lib/api/api/search_template.js +5 -22
  364. package/lib/api/api/search_template.js.map +1 -1
  365. package/lib/api/api/searchable_snapshots.js +20 -25
  366. package/lib/api/api/searchable_snapshots.js.map +1 -1
  367. package/lib/api/api/security.js +325 -339
  368. package/lib/api/api/security.js.map +1 -1
  369. package/lib/api/api/shutdown.js +15 -18
  370. package/lib/api/api/shutdown.js.map +1 -1
  371. package/lib/api/api/simulate.js +5 -10
  372. package/lib/api/api/simulate.js.map +1 -1
  373. package/lib/api/api/slm.js +45 -45
  374. package/lib/api/api/slm.js.map +1 -1
  375. package/lib/api/api/snapshot.js +65 -119
  376. package/lib/api/api/snapshot.js.map +1 -1
  377. package/lib/api/api/sql.js +30 -43
  378. package/lib/api/api/sql.js.map +1 -1
  379. package/lib/api/api/ssl.js +5 -1
  380. package/lib/api/api/ssl.js.map +1 -1
  381. package/lib/api/api/streams.js +15 -11
  382. package/lib/api/api/streams.js.map +1 -1
  383. package/lib/api/api/synonyms.js +35 -32
  384. package/lib/api/api/synonyms.js.map +1 -1
  385. package/lib/api/api/tasks.js +15 -21
  386. package/lib/api/api/tasks.js.map +1 -1
  387. package/lib/api/api/terms_enum.js +5 -10
  388. package/lib/api/api/terms_enum.js.map +1 -1
  389. package/lib/api/api/termvectors.js +5 -27
  390. package/lib/api/api/termvectors.js.map +1 -1
  391. package/lib/api/api/text_structure.js +20 -53
  392. package/lib/api/api/text_structure.js.map +1 -1
  393. package/lib/api/api/transform.js +65 -92
  394. package/lib/api/api/transform.js.map +1 -1
  395. package/lib/api/api/update.js +5 -24
  396. package/lib/api/api/update.js.map +1 -1
  397. package/lib/api/api/update_by_query.js +5 -39
  398. package/lib/api/api/update_by_query.js.map +1 -1
  399. package/lib/api/api/update_by_query_rethrottle.js +5 -4
  400. package/lib/api/api/update_by_query_rethrottle.js.map +1 -1
  401. package/lib/api/api/watcher.js +65 -69
  402. package/lib/api/api/watcher.js.map +1 -1
  403. package/lib/api/api/xpack.js +10 -8
  404. package/lib/api/api/xpack.js.map +1 -1
  405. package/lib/api/types.d.ts +27 -4
  406. package/lib/version.generated.js +2 -2
  407. package/package.json +2 -2
@@ -696,12 +696,11 @@ class Security {
696
696
  const path = '/_security/profile/_activate';
697
697
  const meta = {
698
698
  name: 'security.activate_user_profile',
699
- acceptedParams: [
700
- 'access_token',
701
- 'grant_type',
702
- 'password',
703
- 'username'
704
- ]
699
+ acceptedParams: {
700
+ path: [],
701
+ body: ['access_token', 'grant_type', 'password', 'username'],
702
+ query: []
703
+ }
705
704
  };
706
705
  return await this.transport.request({ path, method, querystring, body, meta }, options);
707
706
  }
@@ -733,7 +732,11 @@ class Security {
733
732
  const path = '/_security/_authenticate';
734
733
  const meta = {
735
734
  name: 'security.authenticate',
736
- acceptedParams: []
735
+ acceptedParams: {
736
+ path: [],
737
+ body: [],
738
+ query: []
739
+ }
737
740
  };
738
741
  return await this.transport.request({ path, method, querystring, body, meta }, options);
739
742
  }
@@ -776,10 +779,11 @@ class Security {
776
779
  const path = '/_security/role';
777
780
  const meta = {
778
781
  name: 'security.bulk_delete_role',
779
- acceptedParams: [
780
- 'names',
781
- 'refresh'
782
- ]
782
+ acceptedParams: {
783
+ path: [],
784
+ body: ['names'],
785
+ query: ['refresh']
786
+ }
783
787
  };
784
788
  return await this.transport.request({ path, method, querystring, body, meta }, options);
785
789
  }
@@ -822,10 +826,11 @@ class Security {
822
826
  const path = '/_security/role';
823
827
  const meta = {
824
828
  name: 'security.bulk_put_role',
825
- acceptedParams: [
826
- 'roles',
827
- 'refresh'
828
- ]
829
+ acceptedParams: {
830
+ path: [],
831
+ body: ['roles'],
832
+ query: ['refresh']
833
+ }
829
834
  };
830
835
  return await this.transport.request({ path, method, querystring, body, meta }, options);
831
836
  }
@@ -868,12 +873,11 @@ class Security {
868
873
  const path = '/_security/api_key/_bulk_update';
869
874
  const meta = {
870
875
  name: 'security.bulk_update_api_keys',
871
- acceptedParams: [
872
- 'expiration',
873
- 'ids',
874
- 'metadata',
875
- 'role_descriptors'
876
- ]
876
+ acceptedParams: {
877
+ path: [],
878
+ body: ['expiration', 'ids', 'metadata', 'role_descriptors'],
879
+ query: []
880
+ }
877
881
  };
878
882
  return await this.transport.request({ path, method, querystring, body, meta }, options);
879
883
  }
@@ -928,12 +932,11 @@ class Security {
928
932
  pathParts: {
929
933
  username: params.username
930
934
  },
931
- acceptedParams: [
932
- 'username',
933
- 'password',
934
- 'password_hash',
935
- 'refresh'
936
- ]
935
+ acceptedParams: {
936
+ path: ['username'],
937
+ body: ['password', 'password_hash'],
938
+ query: ['refresh']
939
+ }
937
940
  };
938
941
  return await this.transport.request({ path, method, querystring, body, meta }, options);
939
942
  }
@@ -967,9 +970,11 @@ class Security {
967
970
  pathParts: {
968
971
  ids: params.ids
969
972
  },
970
- acceptedParams: [
971
- 'ids'
972
- ]
973
+ acceptedParams: {
974
+ path: ['ids'],
975
+ body: [],
976
+ query: []
977
+ }
973
978
  };
974
979
  return await this.transport.request({ path, method, querystring, body, meta }, options);
975
980
  }
@@ -1003,9 +1008,11 @@ class Security {
1003
1008
  pathParts: {
1004
1009
  application: params.application
1005
1010
  },
1006
- acceptedParams: [
1007
- 'application'
1008
- ]
1011
+ acceptedParams: {
1012
+ path: ['application'],
1013
+ body: [],
1014
+ query: []
1015
+ }
1009
1016
  };
1010
1017
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1011
1018
  }
@@ -1039,10 +1046,11 @@ class Security {
1039
1046
  pathParts: {
1040
1047
  realms: params.realms
1041
1048
  },
1042
- acceptedParams: [
1043
- 'realms',
1044
- 'usernames'
1045
- ]
1049
+ acceptedParams: {
1050
+ path: ['realms'],
1051
+ body: [],
1052
+ query: ['usernames']
1053
+ }
1046
1054
  };
1047
1055
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1048
1056
  }
@@ -1076,9 +1084,11 @@ class Security {
1076
1084
  pathParts: {
1077
1085
  name: params.name
1078
1086
  },
1079
- acceptedParams: [
1080
- 'name'
1081
- ]
1087
+ acceptedParams: {
1088
+ path: ['name'],
1089
+ body: [],
1090
+ query: []
1091
+ }
1082
1092
  };
1083
1093
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1084
1094
  }
@@ -1114,11 +1124,11 @@ class Security {
1114
1124
  service: params.service,
1115
1125
  name: params.name
1116
1126
  },
1117
- acceptedParams: [
1118
- 'namespace',
1119
- 'service',
1120
- 'name'
1121
- ]
1127
+ acceptedParams: {
1128
+ path: ['namespace', 'service', 'name'],
1129
+ body: [],
1130
+ query: []
1131
+ }
1122
1132
  };
1123
1133
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1124
1134
  }
@@ -1162,13 +1172,11 @@ class Security {
1162
1172
  const path = '/_security/api_key';
1163
1173
  const meta = {
1164
1174
  name: 'security.create_api_key',
1165
- acceptedParams: [
1166
- 'expiration',
1167
- 'name',
1168
- 'role_descriptors',
1169
- 'metadata',
1170
- 'refresh'
1171
- ]
1175
+ acceptedParams: {
1176
+ path: [],
1177
+ body: ['expiration', 'name', 'role_descriptors', 'metadata'],
1178
+ query: ['refresh']
1179
+ }
1172
1180
  };
1173
1181
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1174
1182
  }
@@ -1211,13 +1219,11 @@ class Security {
1211
1219
  const path = '/_security/cross_cluster/api_key';
1212
1220
  const meta = {
1213
1221
  name: 'security.create_cross_cluster_api_key',
1214
- acceptedParams: [
1215
- 'access',
1216
- 'expiration',
1217
- 'metadata',
1218
- 'name',
1219
- 'certificate_identity'
1220
- ]
1222
+ acceptedParams: {
1223
+ path: [],
1224
+ body: ['access', 'expiration', 'metadata', 'name', 'certificate_identity'],
1225
+ query: []
1226
+ }
1221
1227
  };
1222
1228
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1223
1229
  }
@@ -1261,12 +1267,11 @@ class Security {
1261
1267
  service: params.service,
1262
1268
  name: params.name
1263
1269
  },
1264
- acceptedParams: [
1265
- 'namespace',
1266
- 'service',
1267
- 'name',
1268
- 'refresh'
1269
- ]
1270
+ acceptedParams: {
1271
+ path: ['namespace', 'service', 'name'],
1272
+ body: [],
1273
+ query: ['refresh']
1274
+ }
1270
1275
  };
1271
1276
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1272
1277
  }
@@ -1309,9 +1314,11 @@ class Security {
1309
1314
  const path = '/_security/delegate_pki';
1310
1315
  const meta = {
1311
1316
  name: 'security.delegate_pki',
1312
- acceptedParams: [
1313
- 'x509_certificate_chain'
1314
- ]
1317
+ acceptedParams: {
1318
+ path: [],
1319
+ body: ['x509_certificate_chain'],
1320
+ query: []
1321
+ }
1315
1322
  };
1316
1323
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1317
1324
  }
@@ -1346,11 +1353,11 @@ class Security {
1346
1353
  application: params.application,
1347
1354
  name: params.name
1348
1355
  },
1349
- acceptedParams: [
1350
- 'application',
1351
- 'name',
1352
- 'refresh'
1353
- ]
1356
+ acceptedParams: {
1357
+ path: ['application', 'name'],
1358
+ body: [],
1359
+ query: ['refresh']
1360
+ }
1354
1361
  };
1355
1362
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1356
1363
  }
@@ -1384,10 +1391,11 @@ class Security {
1384
1391
  pathParts: {
1385
1392
  name: params.name
1386
1393
  },
1387
- acceptedParams: [
1388
- 'name',
1389
- 'refresh'
1390
- ]
1394
+ acceptedParams: {
1395
+ path: ['name'],
1396
+ body: [],
1397
+ query: ['refresh']
1398
+ }
1391
1399
  };
1392
1400
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1393
1401
  }
@@ -1421,10 +1429,11 @@ class Security {
1421
1429
  pathParts: {
1422
1430
  name: params.name
1423
1431
  },
1424
- acceptedParams: [
1425
- 'name',
1426
- 'refresh'
1427
- ]
1432
+ acceptedParams: {
1433
+ path: ['name'],
1434
+ body: [],
1435
+ query: ['refresh']
1436
+ }
1428
1437
  };
1429
1438
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1430
1439
  }
@@ -1460,12 +1469,11 @@ class Security {
1460
1469
  service: params.service,
1461
1470
  name: params.name
1462
1471
  },
1463
- acceptedParams: [
1464
- 'namespace',
1465
- 'service',
1466
- 'name',
1467
- 'refresh'
1468
- ]
1472
+ acceptedParams: {
1473
+ path: ['namespace', 'service', 'name'],
1474
+ body: [],
1475
+ query: ['refresh']
1476
+ }
1469
1477
  };
1470
1478
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1471
1479
  }
@@ -1499,10 +1507,11 @@ class Security {
1499
1507
  pathParts: {
1500
1508
  username: params.username
1501
1509
  },
1502
- acceptedParams: [
1503
- 'username',
1504
- 'refresh'
1505
- ]
1510
+ acceptedParams: {
1511
+ path: ['username'],
1512
+ body: [],
1513
+ query: ['refresh']
1514
+ }
1506
1515
  };
1507
1516
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1508
1517
  }
@@ -1536,10 +1545,11 @@ class Security {
1536
1545
  pathParts: {
1537
1546
  username: params.username
1538
1547
  },
1539
- acceptedParams: [
1540
- 'username',
1541
- 'refresh'
1542
- ]
1548
+ acceptedParams: {
1549
+ path: ['username'],
1550
+ body: [],
1551
+ query: ['refresh']
1552
+ }
1543
1553
  };
1544
1554
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1545
1555
  }
@@ -1573,10 +1583,11 @@ class Security {
1573
1583
  pathParts: {
1574
1584
  uid: params.uid
1575
1585
  },
1576
- acceptedParams: [
1577
- 'uid',
1578
- 'refresh'
1579
- ]
1586
+ acceptedParams: {
1587
+ path: ['uid'],
1588
+ body: [],
1589
+ query: ['refresh']
1590
+ }
1580
1591
  };
1581
1592
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1582
1593
  }
@@ -1610,10 +1621,11 @@ class Security {
1610
1621
  pathParts: {
1611
1622
  username: params.username
1612
1623
  },
1613
- acceptedParams: [
1614
- 'username',
1615
- 'refresh'
1616
- ]
1624
+ acceptedParams: {
1625
+ path: ['username'],
1626
+ body: [],
1627
+ query: ['refresh']
1628
+ }
1617
1629
  };
1618
1630
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1619
1631
  }
@@ -1647,10 +1659,11 @@ class Security {
1647
1659
  pathParts: {
1648
1660
  uid: params.uid
1649
1661
  },
1650
- acceptedParams: [
1651
- 'uid',
1652
- 'refresh'
1653
- ]
1662
+ acceptedParams: {
1663
+ path: ['uid'],
1664
+ body: [],
1665
+ query: ['refresh']
1666
+ }
1654
1667
  };
1655
1668
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1656
1669
  }
@@ -1682,7 +1695,11 @@ class Security {
1682
1695
  const path = '/_security/enroll/kibana';
1683
1696
  const meta = {
1684
1697
  name: 'security.enroll_kibana',
1685
- acceptedParams: []
1698
+ acceptedParams: {
1699
+ path: [],
1700
+ body: [],
1701
+ query: []
1702
+ }
1686
1703
  };
1687
1704
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1688
1705
  }
@@ -1714,7 +1731,11 @@ class Security {
1714
1731
  const path = '/_security/enroll/node';
1715
1732
  const meta = {
1716
1733
  name: 'security.enroll_node',
1717
- acceptedParams: []
1734
+ acceptedParams: {
1735
+ path: [],
1736
+ body: [],
1737
+ query: []
1738
+ }
1718
1739
  };
1719
1740
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1720
1741
  }
@@ -1746,16 +1767,11 @@ class Security {
1746
1767
  const path = '/_security/api_key';
1747
1768
  const meta = {
1748
1769
  name: 'security.get_api_key',
1749
- acceptedParams: [
1750
- 'id',
1751
- 'name',
1752
- 'owner',
1753
- 'realm_name',
1754
- 'username',
1755
- 'with_limited_by',
1756
- 'active_only',
1757
- 'with_profile_uid'
1758
- ]
1770
+ acceptedParams: {
1771
+ path: [],
1772
+ body: [],
1773
+ query: ['id', 'name', 'owner', 'realm_name', 'username', 'with_limited_by', 'active_only', 'with_profile_uid']
1774
+ }
1759
1775
  };
1760
1776
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1761
1777
  }
@@ -1787,7 +1803,11 @@ class Security {
1787
1803
  const path = '/_security/privilege/_builtin';
1788
1804
  const meta = {
1789
1805
  name: 'security.get_builtin_privileges',
1790
- acceptedParams: []
1806
+ acceptedParams: {
1807
+ path: [],
1808
+ body: [],
1809
+ query: []
1810
+ }
1791
1811
  };
1792
1812
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1793
1813
  }
@@ -1835,10 +1855,11 @@ class Security {
1835
1855
  application: params.application,
1836
1856
  name: params.name
1837
1857
  },
1838
- acceptedParams: [
1839
- 'application',
1840
- 'name'
1841
- ]
1858
+ acceptedParams: {
1859
+ path: ['application', 'name'],
1860
+ body: [],
1861
+ query: []
1862
+ }
1842
1863
  };
1843
1864
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1844
1865
  }
@@ -1881,9 +1902,11 @@ class Security {
1881
1902
  pathParts: {
1882
1903
  name: params.name
1883
1904
  },
1884
- acceptedParams: [
1885
- 'name'
1886
- ]
1905
+ acceptedParams: {
1906
+ path: ['name'],
1907
+ body: [],
1908
+ query: []
1909
+ }
1887
1910
  };
1888
1911
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1889
1912
  }
@@ -1926,9 +1949,11 @@ class Security {
1926
1949
  pathParts: {
1927
1950
  name: params.name
1928
1951
  },
1929
- acceptedParams: [
1930
- 'name'
1931
- ]
1952
+ acceptedParams: {
1953
+ path: ['name'],
1954
+ body: [],
1955
+ query: []
1956
+ }
1932
1957
  };
1933
1958
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1934
1959
  }
@@ -1976,10 +2001,11 @@ class Security {
1976
2001
  namespace: params.namespace,
1977
2002
  service: params.service
1978
2003
  },
1979
- acceptedParams: [
1980
- 'namespace',
1981
- 'service'
1982
- ]
2004
+ acceptedParams: {
2005
+ path: ['namespace', 'service'],
2006
+ body: [],
2007
+ query: []
2008
+ }
1983
2009
  };
1984
2010
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1985
2011
  }
@@ -2014,10 +2040,11 @@ class Security {
2014
2040
  namespace: params.namespace,
2015
2041
  service: params.service
2016
2042
  },
2017
- acceptedParams: [
2018
- 'namespace',
2019
- 'service'
2020
- ]
2043
+ acceptedParams: {
2044
+ path: ['namespace', 'service'],
2045
+ body: [],
2046
+ query: []
2047
+ }
2021
2048
  };
2022
2049
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2023
2050
  }
@@ -2049,9 +2076,11 @@ class Security {
2049
2076
  const path = '/_security/settings';
2050
2077
  const meta = {
2051
2078
  name: 'security.get_settings',
2052
- acceptedParams: [
2053
- 'master_timeout'
2054
- ]
2079
+ acceptedParams: {
2080
+ path: [],
2081
+ body: [],
2082
+ query: ['master_timeout']
2083
+ }
2055
2084
  };
2056
2085
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2057
2086
  }
@@ -2083,7 +2112,11 @@ class Security {
2083
2112
  const path = '/_security/stats';
2084
2113
  const meta = {
2085
2114
  name: 'security.get_stats',
2086
- acceptedParams: []
2115
+ acceptedParams: {
2116
+ path: [],
2117
+ body: [],
2118
+ query: []
2119
+ }
2087
2120
  };
2088
2121
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2089
2122
  }
@@ -2127,14 +2160,11 @@ class Security {
2127
2160
  const path = '/_security/oauth2/token';
2128
2161
  const meta = {
2129
2162
  name: 'security.get_token',
2130
- acceptedParams: [
2131
- 'grant_type',
2132
- 'scope',
2133
- 'password',
2134
- 'kerberos_ticket',
2135
- 'refresh_token',
2136
- 'username'
2137
- ]
2163
+ acceptedParams: {
2164
+ path: [],
2165
+ body: ['grant_type', 'scope', 'password', 'kerberos_ticket', 'refresh_token', 'username'],
2166
+ query: []
2167
+ }
2138
2168
  };
2139
2169
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2140
2170
  }
@@ -2177,10 +2207,11 @@ class Security {
2177
2207
  pathParts: {
2178
2208
  username: params.username
2179
2209
  },
2180
- acceptedParams: [
2181
- 'username',
2182
- 'with_profile_uid'
2183
- ]
2210
+ acceptedParams: {
2211
+ path: ['username'],
2212
+ body: [],
2213
+ query: ['with_profile_uid']
2214
+ }
2184
2215
  };
2185
2216
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2186
2217
  }
@@ -2212,7 +2243,11 @@ class Security {
2212
2243
  const path = '/_security/user/_privileges';
2213
2244
  const meta = {
2214
2245
  name: 'security.get_user_privileges',
2215
- acceptedParams: []
2246
+ acceptedParams: {
2247
+ path: [],
2248
+ body: [],
2249
+ query: []
2250
+ }
2216
2251
  };
2217
2252
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2218
2253
  }
@@ -2246,10 +2281,11 @@ class Security {
2246
2281
  pathParts: {
2247
2282
  uid: params.uid
2248
2283
  },
2249
- acceptedParams: [
2250
- 'uid',
2251
- 'data'
2252
- ]
2284
+ acceptedParams: {
2285
+ path: ['uid'],
2286
+ body: [],
2287
+ query: ['data']
2288
+ }
2253
2289
  };
2254
2290
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2255
2291
  }
@@ -2292,15 +2328,11 @@ class Security {
2292
2328
  const path = '/_security/api_key/grant';
2293
2329
  const meta = {
2294
2330
  name: 'security.grant_api_key',
2295
- acceptedParams: [
2296
- 'api_key',
2297
- 'grant_type',
2298
- 'access_token',
2299
- 'username',
2300
- 'password',
2301
- 'run_as',
2302
- 'refresh'
2303
- ]
2331
+ acceptedParams: {
2332
+ path: [],
2333
+ body: ['api_key', 'grant_type', 'access_token', 'username', 'password', 'run_as'],
2334
+ query: ['refresh']
2335
+ }
2304
2336
  };
2305
2337
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2306
2338
  }
@@ -2355,12 +2387,11 @@ class Security {
2355
2387
  pathParts: {
2356
2388
  user: params.user
2357
2389
  },
2358
- acceptedParams: [
2359
- 'user',
2360
- 'application',
2361
- 'cluster',
2362
- 'index'
2363
- ]
2390
+ acceptedParams: {
2391
+ path: ['user'],
2392
+ body: ['application', 'cluster', 'index'],
2393
+ query: []
2394
+ }
2364
2395
  };
2365
2396
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2366
2397
  }
@@ -2403,10 +2434,11 @@ class Security {
2403
2434
  const path = '/_security/profile/_has_privileges';
2404
2435
  const meta = {
2405
2436
  name: 'security.has_privileges_user_profile',
2406
- acceptedParams: [
2407
- 'uids',
2408
- 'privileges'
2409
- ]
2437
+ acceptedParams: {
2438
+ path: [],
2439
+ body: ['uids', 'privileges'],
2440
+ query: []
2441
+ }
2410
2442
  };
2411
2443
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2412
2444
  }
@@ -2450,14 +2482,11 @@ class Security {
2450
2482
  const path = '/_security/api_key';
2451
2483
  const meta = {
2452
2484
  name: 'security.invalidate_api_key',
2453
- acceptedParams: [
2454
- 'id',
2455
- 'ids',
2456
- 'name',
2457
- 'owner',
2458
- 'realm_name',
2459
- 'username'
2460
- ]
2485
+ acceptedParams: {
2486
+ path: [],
2487
+ body: ['id', 'ids', 'name', 'owner', 'realm_name', 'username'],
2488
+ query: []
2489
+ }
2461
2490
  };
2462
2491
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2463
2492
  }
@@ -2501,12 +2530,11 @@ class Security {
2501
2530
  const path = '/_security/oauth2/token';
2502
2531
  const meta = {
2503
2532
  name: 'security.invalidate_token',
2504
- acceptedParams: [
2505
- 'token',
2506
- 'refresh_token',
2507
- 'realm_name',
2508
- 'username'
2509
- ]
2533
+ acceptedParams: {
2534
+ path: [],
2535
+ body: ['token', 'refresh_token', 'realm_name', 'username'],
2536
+ query: []
2537
+ }
2510
2538
  };
2511
2539
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2512
2540
  }
@@ -2549,12 +2577,11 @@ class Security {
2549
2577
  const path = '/_security/oidc/authenticate';
2550
2578
  const meta = {
2551
2579
  name: 'security.oidc_authenticate',
2552
- acceptedParams: [
2553
- 'nonce',
2554
- 'realm',
2555
- 'redirect_uri',
2556
- 'state'
2557
- ]
2580
+ acceptedParams: {
2581
+ path: [],
2582
+ body: ['nonce', 'realm', 'redirect_uri', 'state'],
2583
+ query: []
2584
+ }
2558
2585
  };
2559
2586
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2560
2587
  }
@@ -2597,10 +2624,11 @@ class Security {
2597
2624
  const path = '/_security/oidc/logout';
2598
2625
  const meta = {
2599
2626
  name: 'security.oidc_logout',
2600
- acceptedParams: [
2601
- 'token',
2602
- 'refresh_token'
2603
- ]
2627
+ acceptedParams: {
2628
+ path: [],
2629
+ body: ['token', 'refresh_token'],
2630
+ query: []
2631
+ }
2604
2632
  };
2605
2633
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2606
2634
  }
@@ -2644,13 +2672,11 @@ class Security {
2644
2672
  const path = '/_security/oidc/prepare';
2645
2673
  const meta = {
2646
2674
  name: 'security.oidc_prepare_authentication',
2647
- acceptedParams: [
2648
- 'iss',
2649
- 'login_hint',
2650
- 'nonce',
2651
- 'realm',
2652
- 'state'
2653
- ]
2675
+ acceptedParams: {
2676
+ path: [],
2677
+ body: ['iss', 'login_hint', 'nonce', 'realm', 'state'],
2678
+ query: []
2679
+ }
2654
2680
  };
2655
2681
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2656
2682
  }
@@ -2684,10 +2710,11 @@ class Security {
2684
2710
  const path = '/_security/privilege';
2685
2711
  const meta = {
2686
2712
  name: 'security.put_privileges',
2687
- acceptedParams: [
2688
- 'privileges',
2689
- 'refresh'
2690
- ]
2713
+ acceptedParams: {
2714
+ path: [],
2715
+ body: ['privileges'],
2716
+ query: ['refresh']
2717
+ }
2691
2718
  };
2692
2719
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2693
2720
  }
@@ -2733,20 +2760,11 @@ class Security {
2733
2760
  pathParts: {
2734
2761
  name: params.name
2735
2762
  },
2736
- acceptedParams: [
2737
- 'name',
2738
- 'applications',
2739
- 'cluster',
2740
- 'global',
2741
- 'indices',
2742
- 'remote_indices',
2743
- 'remote_cluster',
2744
- 'metadata',
2745
- 'run_as',
2746
- 'description',
2747
- 'transient_metadata',
2748
- 'refresh'
2749
- ]
2763
+ acceptedParams: {
2764
+ path: ['name'],
2765
+ body: ['applications', 'cluster', 'global', 'indices', 'remote_indices', 'remote_cluster', 'metadata', 'run_as', 'description', 'transient_metadata'],
2766
+ query: ['refresh']
2767
+ }
2750
2768
  };
2751
2769
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2752
2770
  }
@@ -2792,16 +2810,11 @@ class Security {
2792
2810
  pathParts: {
2793
2811
  name: params.name
2794
2812
  },
2795
- acceptedParams: [
2796
- 'name',
2797
- 'enabled',
2798
- 'metadata',
2799
- 'roles',
2800
- 'role_templates',
2801
- 'rules',
2802
- 'run_as',
2803
- 'refresh'
2804
- ]
2813
+ acceptedParams: {
2814
+ path: ['name'],
2815
+ body: ['enabled', 'metadata', 'roles', 'role_templates', 'rules', 'run_as'],
2816
+ query: ['refresh']
2817
+ }
2805
2818
  };
2806
2819
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2807
2820
  }
@@ -2847,18 +2860,11 @@ class Security {
2847
2860
  pathParts: {
2848
2861
  username: params.username
2849
2862
  },
2850
- acceptedParams: [
2851
- 'username',
2852
- 'username',
2853
- 'email',
2854
- 'full_name',
2855
- 'metadata',
2856
- 'password',
2857
- 'password_hash',
2858
- 'roles',
2859
- 'enabled',
2860
- 'refresh'
2861
- ]
2863
+ acceptedParams: {
2864
+ path: ['username'],
2865
+ body: ['username', 'email', 'full_name', 'metadata', 'password', 'password_hash', 'roles', 'enabled'],
2866
+ query: ['refresh']
2867
+ }
2862
2868
  };
2863
2869
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2864
2870
  }
@@ -2902,18 +2908,11 @@ class Security {
2902
2908
  const path = '/_security/_query/api_key';
2903
2909
  const meta = {
2904
2910
  name: 'security.query_api_keys',
2905
- acceptedParams: [
2906
- 'aggregations',
2907
- 'aggs',
2908
- 'query',
2909
- 'from',
2910
- 'sort',
2911
- 'size',
2912
- 'search_after',
2913
- 'with_limited_by',
2914
- 'with_profile_uid',
2915
- 'typed_keys'
2916
- ]
2911
+ acceptedParams: {
2912
+ path: [],
2913
+ body: ['aggregations', 'aggs', 'query', 'from', 'sort', 'size', 'search_after'],
2914
+ query: ['with_limited_by', 'with_profile_uid', 'typed_keys']
2915
+ }
2917
2916
  };
2918
2917
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2919
2918
  }
@@ -2957,13 +2956,11 @@ class Security {
2957
2956
  const path = '/_security/_query/role';
2958
2957
  const meta = {
2959
2958
  name: 'security.query_role',
2960
- acceptedParams: [
2961
- 'query',
2962
- 'from',
2963
- 'sort',
2964
- 'size',
2965
- 'search_after'
2966
- ]
2959
+ acceptedParams: {
2960
+ path: [],
2961
+ body: ['query', 'from', 'sort', 'size', 'search_after'],
2962
+ query: []
2963
+ }
2967
2964
  };
2968
2965
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2969
2966
  }
@@ -3007,14 +3004,11 @@ class Security {
3007
3004
  const path = '/_security/_query/user';
3008
3005
  const meta = {
3009
3006
  name: 'security.query_user',
3010
- acceptedParams: [
3011
- 'query',
3012
- 'from',
3013
- 'sort',
3014
- 'size',
3015
- 'search_after',
3016
- 'with_profile_uid'
3017
- ]
3007
+ acceptedParams: {
3008
+ path: [],
3009
+ body: ['query', 'from', 'sort', 'size', 'search_after'],
3010
+ query: ['with_profile_uid']
3011
+ }
3018
3012
  };
3019
3013
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3020
3014
  }
@@ -3057,11 +3051,11 @@ class Security {
3057
3051
  const path = '/_security/saml/authenticate';
3058
3052
  const meta = {
3059
3053
  name: 'security.saml_authenticate',
3060
- acceptedParams: [
3061
- 'content',
3062
- 'ids',
3063
- 'realm'
3064
- ]
3054
+ acceptedParams: {
3055
+ path: [],
3056
+ body: ['content', 'ids', 'realm'],
3057
+ query: []
3058
+ }
3065
3059
  };
3066
3060
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3067
3061
  }
@@ -3104,12 +3098,11 @@ class Security {
3104
3098
  const path = '/_security/saml/complete_logout';
3105
3099
  const meta = {
3106
3100
  name: 'security.saml_complete_logout',
3107
- acceptedParams: [
3108
- 'realm',
3109
- 'ids',
3110
- 'query_string',
3111
- 'content'
3112
- ]
3101
+ acceptedParams: {
3102
+ path: [],
3103
+ body: ['realm', 'ids', 'query_string', 'content'],
3104
+ query: []
3105
+ }
3113
3106
  };
3114
3107
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3115
3108
  }
@@ -3152,11 +3145,11 @@ class Security {
3152
3145
  const path = '/_security/saml/invalidate';
3153
3146
  const meta = {
3154
3147
  name: 'security.saml_invalidate',
3155
- acceptedParams: [
3156
- 'acs',
3157
- 'query_string',
3158
- 'realm'
3159
- ]
3148
+ acceptedParams: {
3149
+ path: [],
3150
+ body: ['acs', 'query_string', 'realm'],
3151
+ query: []
3152
+ }
3160
3153
  };
3161
3154
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3162
3155
  }
@@ -3199,10 +3192,11 @@ class Security {
3199
3192
  const path = '/_security/saml/logout';
3200
3193
  const meta = {
3201
3194
  name: 'security.saml_logout',
3202
- acceptedParams: [
3203
- 'token',
3204
- 'refresh_token'
3205
- ]
3195
+ acceptedParams: {
3196
+ path: [],
3197
+ body: ['token', 'refresh_token'],
3198
+ query: []
3199
+ }
3206
3200
  };
3207
3201
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3208
3202
  }
@@ -3246,11 +3240,11 @@ class Security {
3246
3240
  const path = '/_security/saml/prepare';
3247
3241
  const meta = {
3248
3242
  name: 'security.saml_prepare_authentication',
3249
- acceptedParams: [
3250
- 'acs',
3251
- 'realm',
3252
- 'relay_state'
3253
- ]
3243
+ acceptedParams: {
3244
+ path: [],
3245
+ body: ['acs', 'realm', 'relay_state'],
3246
+ query: []
3247
+ }
3254
3248
  };
3255
3249
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3256
3250
  }
@@ -3284,9 +3278,11 @@ class Security {
3284
3278
  pathParts: {
3285
3279
  realm_name: params.realm_name
3286
3280
  },
3287
- acceptedParams: [
3288
- 'realm_name'
3289
- ]
3281
+ acceptedParams: {
3282
+ path: ['realm_name'],
3283
+ body: [],
3284
+ query: []
3285
+ }
3290
3286
  };
3291
3287
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3292
3288
  }
@@ -3330,13 +3326,11 @@ class Security {
3330
3326
  const path = '/_security/profile/_suggest';
3331
3327
  const meta = {
3332
3328
  name: 'security.suggest_user_profiles',
3333
- acceptedParams: [
3334
- 'name',
3335
- 'size',
3336
- 'data',
3337
- 'hint',
3338
- 'data'
3339
- ]
3329
+ acceptedParams: {
3330
+ path: [],
3331
+ body: ['name', 'size', 'data', 'hint'],
3332
+ query: ['data']
3333
+ }
3340
3334
  };
3341
3335
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3342
3336
  }
@@ -3382,12 +3376,11 @@ class Security {
3382
3376
  pathParts: {
3383
3377
  id: params.id
3384
3378
  },
3385
- acceptedParams: [
3386
- 'id',
3387
- 'role_descriptors',
3388
- 'metadata',
3389
- 'expiration'
3390
- ]
3379
+ acceptedParams: {
3380
+ path: ['id'],
3381
+ body: ['role_descriptors', 'metadata', 'expiration'],
3382
+ query: []
3383
+ }
3391
3384
  };
3392
3385
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3393
3386
  }
@@ -3433,13 +3426,11 @@ class Security {
3433
3426
  pathParts: {
3434
3427
  id: params.id
3435
3428
  },
3436
- acceptedParams: [
3437
- 'id',
3438
- 'access',
3439
- 'expiration',
3440
- 'metadata',
3441
- 'certificate_identity'
3442
- ]
3429
+ acceptedParams: {
3430
+ path: ['id'],
3431
+ body: ['access', 'expiration', 'metadata', 'certificate_identity'],
3432
+ query: []
3433
+ }
3443
3434
  };
3444
3435
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3445
3436
  }
@@ -3483,13 +3474,11 @@ class Security {
3483
3474
  const path = '/_security/settings';
3484
3475
  const meta = {
3485
3476
  name: 'security.update_settings',
3486
- acceptedParams: [
3487
- 'security',
3488
- 'security-profile',
3489
- 'security-tokens',
3490
- 'master_timeout',
3491
- 'timeout'
3492
- ]
3477
+ acceptedParams: {
3478
+ path: [],
3479
+ body: ['security', 'security-profile', 'security-tokens'],
3480
+ query: ['master_timeout', 'timeout']
3481
+ }
3493
3482
  };
3494
3483
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3495
3484
  }
@@ -3535,14 +3524,11 @@ class Security {
3535
3524
  pathParts: {
3536
3525
  uid: params.uid
3537
3526
  },
3538
- acceptedParams: [
3539
- 'uid',
3540
- 'labels',
3541
- 'data',
3542
- 'if_seq_no',
3543
- 'if_primary_term',
3544
- 'refresh'
3545
- ]
3527
+ acceptedParams: {
3528
+ path: ['uid'],
3529
+ body: ['labels', 'data'],
3530
+ query: ['if_seq_no', 'if_primary_term', 'refresh']
3531
+ }
3546
3532
  };
3547
3533
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3548
3534
  }