@elastic/elasticsearch 9.3.1 → 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 +54 -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 +184 -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 +84 -26
  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 +54 -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 +184 -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 +84 -26
  406. package/lib/version.generated.js +2 -2
  407. package/package.json +2 -2
@@ -694,12 +694,11 @@ class Security {
694
694
  const path = '/_security/profile/_activate';
695
695
  const meta = {
696
696
  name: 'security.activate_user_profile',
697
- acceptedParams: [
698
- 'access_token',
699
- 'grant_type',
700
- 'password',
701
- 'username'
702
- ]
697
+ acceptedParams: {
698
+ path: [],
699
+ body: ['access_token', 'grant_type', 'password', 'username'],
700
+ query: []
701
+ }
703
702
  };
704
703
  return await this.transport.request({ path, method, querystring, body, meta }, options);
705
704
  }
@@ -731,7 +730,11 @@ class Security {
731
730
  const path = '/_security/_authenticate';
732
731
  const meta = {
733
732
  name: 'security.authenticate',
734
- acceptedParams: []
733
+ acceptedParams: {
734
+ path: [],
735
+ body: [],
736
+ query: []
737
+ }
735
738
  };
736
739
  return await this.transport.request({ path, method, querystring, body, meta }, options);
737
740
  }
@@ -774,10 +777,11 @@ class Security {
774
777
  const path = '/_security/role';
775
778
  const meta = {
776
779
  name: 'security.bulk_delete_role',
777
- acceptedParams: [
778
- 'names',
779
- 'refresh'
780
- ]
780
+ acceptedParams: {
781
+ path: [],
782
+ body: ['names'],
783
+ query: ['refresh']
784
+ }
781
785
  };
782
786
  return await this.transport.request({ path, method, querystring, body, meta }, options);
783
787
  }
@@ -820,10 +824,11 @@ class Security {
820
824
  const path = '/_security/role';
821
825
  const meta = {
822
826
  name: 'security.bulk_put_role',
823
- acceptedParams: [
824
- 'roles',
825
- 'refresh'
826
- ]
827
+ acceptedParams: {
828
+ path: [],
829
+ body: ['roles'],
830
+ query: ['refresh']
831
+ }
827
832
  };
828
833
  return await this.transport.request({ path, method, querystring, body, meta }, options);
829
834
  }
@@ -866,12 +871,11 @@ class Security {
866
871
  const path = '/_security/api_key/_bulk_update';
867
872
  const meta = {
868
873
  name: 'security.bulk_update_api_keys',
869
- acceptedParams: [
870
- 'expiration',
871
- 'ids',
872
- 'metadata',
873
- 'role_descriptors'
874
- ]
874
+ acceptedParams: {
875
+ path: [],
876
+ body: ['expiration', 'ids', 'metadata', 'role_descriptors'],
877
+ query: []
878
+ }
875
879
  };
876
880
  return await this.transport.request({ path, method, querystring, body, meta }, options);
877
881
  }
@@ -926,12 +930,11 @@ class Security {
926
930
  pathParts: {
927
931
  username: params.username
928
932
  },
929
- acceptedParams: [
930
- 'username',
931
- 'password',
932
- 'password_hash',
933
- 'refresh'
934
- ]
933
+ acceptedParams: {
934
+ path: ['username'],
935
+ body: ['password', 'password_hash'],
936
+ query: ['refresh']
937
+ }
935
938
  };
936
939
  return await this.transport.request({ path, method, querystring, body, meta }, options);
937
940
  }
@@ -965,9 +968,11 @@ class Security {
965
968
  pathParts: {
966
969
  ids: params.ids
967
970
  },
968
- acceptedParams: [
969
- 'ids'
970
- ]
971
+ acceptedParams: {
972
+ path: ['ids'],
973
+ body: [],
974
+ query: []
975
+ }
971
976
  };
972
977
  return await this.transport.request({ path, method, querystring, body, meta }, options);
973
978
  }
@@ -1001,9 +1006,11 @@ class Security {
1001
1006
  pathParts: {
1002
1007
  application: params.application
1003
1008
  },
1004
- acceptedParams: [
1005
- 'application'
1006
- ]
1009
+ acceptedParams: {
1010
+ path: ['application'],
1011
+ body: [],
1012
+ query: []
1013
+ }
1007
1014
  };
1008
1015
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1009
1016
  }
@@ -1037,10 +1044,11 @@ class Security {
1037
1044
  pathParts: {
1038
1045
  realms: params.realms
1039
1046
  },
1040
- acceptedParams: [
1041
- 'realms',
1042
- 'usernames'
1043
- ]
1047
+ acceptedParams: {
1048
+ path: ['realms'],
1049
+ body: [],
1050
+ query: ['usernames']
1051
+ }
1044
1052
  };
1045
1053
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1046
1054
  }
@@ -1074,9 +1082,11 @@ class Security {
1074
1082
  pathParts: {
1075
1083
  name: params.name
1076
1084
  },
1077
- acceptedParams: [
1078
- 'name'
1079
- ]
1085
+ acceptedParams: {
1086
+ path: ['name'],
1087
+ body: [],
1088
+ query: []
1089
+ }
1080
1090
  };
1081
1091
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1082
1092
  }
@@ -1112,11 +1122,11 @@ class Security {
1112
1122
  service: params.service,
1113
1123
  name: params.name
1114
1124
  },
1115
- acceptedParams: [
1116
- 'namespace',
1117
- 'service',
1118
- 'name'
1119
- ]
1125
+ acceptedParams: {
1126
+ path: ['namespace', 'service', 'name'],
1127
+ body: [],
1128
+ query: []
1129
+ }
1120
1130
  };
1121
1131
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1122
1132
  }
@@ -1160,13 +1170,11 @@ class Security {
1160
1170
  const path = '/_security/api_key';
1161
1171
  const meta = {
1162
1172
  name: 'security.create_api_key',
1163
- acceptedParams: [
1164
- 'expiration',
1165
- 'name',
1166
- 'role_descriptors',
1167
- 'metadata',
1168
- 'refresh'
1169
- ]
1173
+ acceptedParams: {
1174
+ path: [],
1175
+ body: ['expiration', 'name', 'role_descriptors', 'metadata'],
1176
+ query: ['refresh']
1177
+ }
1170
1178
  };
1171
1179
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1172
1180
  }
@@ -1209,13 +1217,11 @@ class Security {
1209
1217
  const path = '/_security/cross_cluster/api_key';
1210
1218
  const meta = {
1211
1219
  name: 'security.create_cross_cluster_api_key',
1212
- acceptedParams: [
1213
- 'access',
1214
- 'expiration',
1215
- 'metadata',
1216
- 'name',
1217
- 'certificate_identity'
1218
- ]
1220
+ acceptedParams: {
1221
+ path: [],
1222
+ body: ['access', 'expiration', 'metadata', 'name', 'certificate_identity'],
1223
+ query: []
1224
+ }
1219
1225
  };
1220
1226
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1221
1227
  }
@@ -1259,12 +1265,11 @@ class Security {
1259
1265
  service: params.service,
1260
1266
  name: params.name
1261
1267
  },
1262
- acceptedParams: [
1263
- 'namespace',
1264
- 'service',
1265
- 'name',
1266
- 'refresh'
1267
- ]
1268
+ acceptedParams: {
1269
+ path: ['namespace', 'service', 'name'],
1270
+ body: [],
1271
+ query: ['refresh']
1272
+ }
1268
1273
  };
1269
1274
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1270
1275
  }
@@ -1307,9 +1312,11 @@ class Security {
1307
1312
  const path = '/_security/delegate_pki';
1308
1313
  const meta = {
1309
1314
  name: 'security.delegate_pki',
1310
- acceptedParams: [
1311
- 'x509_certificate_chain'
1312
- ]
1315
+ acceptedParams: {
1316
+ path: [],
1317
+ body: ['x509_certificate_chain'],
1318
+ query: []
1319
+ }
1313
1320
  };
1314
1321
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1315
1322
  }
@@ -1344,11 +1351,11 @@ class Security {
1344
1351
  application: params.application,
1345
1352
  name: params.name
1346
1353
  },
1347
- acceptedParams: [
1348
- 'application',
1349
- 'name',
1350
- 'refresh'
1351
- ]
1354
+ acceptedParams: {
1355
+ path: ['application', 'name'],
1356
+ body: [],
1357
+ query: ['refresh']
1358
+ }
1352
1359
  };
1353
1360
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1354
1361
  }
@@ -1382,10 +1389,11 @@ class Security {
1382
1389
  pathParts: {
1383
1390
  name: params.name
1384
1391
  },
1385
- acceptedParams: [
1386
- 'name',
1387
- 'refresh'
1388
- ]
1392
+ acceptedParams: {
1393
+ path: ['name'],
1394
+ body: [],
1395
+ query: ['refresh']
1396
+ }
1389
1397
  };
1390
1398
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1391
1399
  }
@@ -1419,10 +1427,11 @@ class Security {
1419
1427
  pathParts: {
1420
1428
  name: params.name
1421
1429
  },
1422
- acceptedParams: [
1423
- 'name',
1424
- 'refresh'
1425
- ]
1430
+ acceptedParams: {
1431
+ path: ['name'],
1432
+ body: [],
1433
+ query: ['refresh']
1434
+ }
1426
1435
  };
1427
1436
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1428
1437
  }
@@ -1458,12 +1467,11 @@ class Security {
1458
1467
  service: params.service,
1459
1468
  name: params.name
1460
1469
  },
1461
- acceptedParams: [
1462
- 'namespace',
1463
- 'service',
1464
- 'name',
1465
- 'refresh'
1466
- ]
1470
+ acceptedParams: {
1471
+ path: ['namespace', 'service', 'name'],
1472
+ body: [],
1473
+ query: ['refresh']
1474
+ }
1467
1475
  };
1468
1476
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1469
1477
  }
@@ -1497,10 +1505,11 @@ class Security {
1497
1505
  pathParts: {
1498
1506
  username: params.username
1499
1507
  },
1500
- acceptedParams: [
1501
- 'username',
1502
- 'refresh'
1503
- ]
1508
+ acceptedParams: {
1509
+ path: ['username'],
1510
+ body: [],
1511
+ query: ['refresh']
1512
+ }
1504
1513
  };
1505
1514
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1506
1515
  }
@@ -1534,10 +1543,11 @@ class Security {
1534
1543
  pathParts: {
1535
1544
  username: params.username
1536
1545
  },
1537
- acceptedParams: [
1538
- 'username',
1539
- 'refresh'
1540
- ]
1546
+ acceptedParams: {
1547
+ path: ['username'],
1548
+ body: [],
1549
+ query: ['refresh']
1550
+ }
1541
1551
  };
1542
1552
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1543
1553
  }
@@ -1571,10 +1581,11 @@ class Security {
1571
1581
  pathParts: {
1572
1582
  uid: params.uid
1573
1583
  },
1574
- acceptedParams: [
1575
- 'uid',
1576
- 'refresh'
1577
- ]
1584
+ acceptedParams: {
1585
+ path: ['uid'],
1586
+ body: [],
1587
+ query: ['refresh']
1588
+ }
1578
1589
  };
1579
1590
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1580
1591
  }
@@ -1608,10 +1619,11 @@ class Security {
1608
1619
  pathParts: {
1609
1620
  username: params.username
1610
1621
  },
1611
- acceptedParams: [
1612
- 'username',
1613
- 'refresh'
1614
- ]
1622
+ acceptedParams: {
1623
+ path: ['username'],
1624
+ body: [],
1625
+ query: ['refresh']
1626
+ }
1615
1627
  };
1616
1628
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1617
1629
  }
@@ -1645,10 +1657,11 @@ class Security {
1645
1657
  pathParts: {
1646
1658
  uid: params.uid
1647
1659
  },
1648
- acceptedParams: [
1649
- 'uid',
1650
- 'refresh'
1651
- ]
1660
+ acceptedParams: {
1661
+ path: ['uid'],
1662
+ body: [],
1663
+ query: ['refresh']
1664
+ }
1652
1665
  };
1653
1666
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1654
1667
  }
@@ -1680,7 +1693,11 @@ class Security {
1680
1693
  const path = '/_security/enroll/kibana';
1681
1694
  const meta = {
1682
1695
  name: 'security.enroll_kibana',
1683
- acceptedParams: []
1696
+ acceptedParams: {
1697
+ path: [],
1698
+ body: [],
1699
+ query: []
1700
+ }
1684
1701
  };
1685
1702
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1686
1703
  }
@@ -1712,7 +1729,11 @@ class Security {
1712
1729
  const path = '/_security/enroll/node';
1713
1730
  const meta = {
1714
1731
  name: 'security.enroll_node',
1715
- acceptedParams: []
1732
+ acceptedParams: {
1733
+ path: [],
1734
+ body: [],
1735
+ query: []
1736
+ }
1716
1737
  };
1717
1738
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1718
1739
  }
@@ -1744,16 +1765,11 @@ class Security {
1744
1765
  const path = '/_security/api_key';
1745
1766
  const meta = {
1746
1767
  name: 'security.get_api_key',
1747
- acceptedParams: [
1748
- 'id',
1749
- 'name',
1750
- 'owner',
1751
- 'realm_name',
1752
- 'username',
1753
- 'with_limited_by',
1754
- 'active_only',
1755
- 'with_profile_uid'
1756
- ]
1768
+ acceptedParams: {
1769
+ path: [],
1770
+ body: [],
1771
+ query: ['id', 'name', 'owner', 'realm_name', 'username', 'with_limited_by', 'active_only', 'with_profile_uid']
1772
+ }
1757
1773
  };
1758
1774
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1759
1775
  }
@@ -1785,7 +1801,11 @@ class Security {
1785
1801
  const path = '/_security/privilege/_builtin';
1786
1802
  const meta = {
1787
1803
  name: 'security.get_builtin_privileges',
1788
- acceptedParams: []
1804
+ acceptedParams: {
1805
+ path: [],
1806
+ body: [],
1807
+ query: []
1808
+ }
1789
1809
  };
1790
1810
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1791
1811
  }
@@ -1833,10 +1853,11 @@ class Security {
1833
1853
  application: params.application,
1834
1854
  name: params.name
1835
1855
  },
1836
- acceptedParams: [
1837
- 'application',
1838
- 'name'
1839
- ]
1856
+ acceptedParams: {
1857
+ path: ['application', 'name'],
1858
+ body: [],
1859
+ query: []
1860
+ }
1840
1861
  };
1841
1862
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1842
1863
  }
@@ -1879,9 +1900,11 @@ class Security {
1879
1900
  pathParts: {
1880
1901
  name: params.name
1881
1902
  },
1882
- acceptedParams: [
1883
- 'name'
1884
- ]
1903
+ acceptedParams: {
1904
+ path: ['name'],
1905
+ body: [],
1906
+ query: []
1907
+ }
1885
1908
  };
1886
1909
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1887
1910
  }
@@ -1924,9 +1947,11 @@ class Security {
1924
1947
  pathParts: {
1925
1948
  name: params.name
1926
1949
  },
1927
- acceptedParams: [
1928
- 'name'
1929
- ]
1950
+ acceptedParams: {
1951
+ path: ['name'],
1952
+ body: [],
1953
+ query: []
1954
+ }
1930
1955
  };
1931
1956
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1932
1957
  }
@@ -1974,10 +1999,11 @@ class Security {
1974
1999
  namespace: params.namespace,
1975
2000
  service: params.service
1976
2001
  },
1977
- acceptedParams: [
1978
- 'namespace',
1979
- 'service'
1980
- ]
2002
+ acceptedParams: {
2003
+ path: ['namespace', 'service'],
2004
+ body: [],
2005
+ query: []
2006
+ }
1981
2007
  };
1982
2008
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1983
2009
  }
@@ -2012,10 +2038,11 @@ class Security {
2012
2038
  namespace: params.namespace,
2013
2039
  service: params.service
2014
2040
  },
2015
- acceptedParams: [
2016
- 'namespace',
2017
- 'service'
2018
- ]
2041
+ acceptedParams: {
2042
+ path: ['namespace', 'service'],
2043
+ body: [],
2044
+ query: []
2045
+ }
2019
2046
  };
2020
2047
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2021
2048
  }
@@ -2047,9 +2074,11 @@ class Security {
2047
2074
  const path = '/_security/settings';
2048
2075
  const meta = {
2049
2076
  name: 'security.get_settings',
2050
- acceptedParams: [
2051
- 'master_timeout'
2052
- ]
2077
+ acceptedParams: {
2078
+ path: [],
2079
+ body: [],
2080
+ query: ['master_timeout']
2081
+ }
2053
2082
  };
2054
2083
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2055
2084
  }
@@ -2081,7 +2110,11 @@ class Security {
2081
2110
  const path = '/_security/stats';
2082
2111
  const meta = {
2083
2112
  name: 'security.get_stats',
2084
- acceptedParams: []
2113
+ acceptedParams: {
2114
+ path: [],
2115
+ body: [],
2116
+ query: []
2117
+ }
2085
2118
  };
2086
2119
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2087
2120
  }
@@ -2125,14 +2158,11 @@ class Security {
2125
2158
  const path = '/_security/oauth2/token';
2126
2159
  const meta = {
2127
2160
  name: 'security.get_token',
2128
- acceptedParams: [
2129
- 'grant_type',
2130
- 'scope',
2131
- 'password',
2132
- 'kerberos_ticket',
2133
- 'refresh_token',
2134
- 'username'
2135
- ]
2161
+ acceptedParams: {
2162
+ path: [],
2163
+ body: ['grant_type', 'scope', 'password', 'kerberos_ticket', 'refresh_token', 'username'],
2164
+ query: []
2165
+ }
2136
2166
  };
2137
2167
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2138
2168
  }
@@ -2175,10 +2205,11 @@ class Security {
2175
2205
  pathParts: {
2176
2206
  username: params.username
2177
2207
  },
2178
- acceptedParams: [
2179
- 'username',
2180
- 'with_profile_uid'
2181
- ]
2208
+ acceptedParams: {
2209
+ path: ['username'],
2210
+ body: [],
2211
+ query: ['with_profile_uid']
2212
+ }
2182
2213
  };
2183
2214
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2184
2215
  }
@@ -2210,7 +2241,11 @@ class Security {
2210
2241
  const path = '/_security/user/_privileges';
2211
2242
  const meta = {
2212
2243
  name: 'security.get_user_privileges',
2213
- acceptedParams: []
2244
+ acceptedParams: {
2245
+ path: [],
2246
+ body: [],
2247
+ query: []
2248
+ }
2214
2249
  };
2215
2250
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2216
2251
  }
@@ -2244,10 +2279,11 @@ class Security {
2244
2279
  pathParts: {
2245
2280
  uid: params.uid
2246
2281
  },
2247
- acceptedParams: [
2248
- 'uid',
2249
- 'data'
2250
- ]
2282
+ acceptedParams: {
2283
+ path: ['uid'],
2284
+ body: [],
2285
+ query: ['data']
2286
+ }
2251
2287
  };
2252
2288
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2253
2289
  }
@@ -2290,15 +2326,11 @@ class Security {
2290
2326
  const path = '/_security/api_key/grant';
2291
2327
  const meta = {
2292
2328
  name: 'security.grant_api_key',
2293
- acceptedParams: [
2294
- 'api_key',
2295
- 'grant_type',
2296
- 'access_token',
2297
- 'username',
2298
- 'password',
2299
- 'run_as',
2300
- 'refresh'
2301
- ]
2329
+ acceptedParams: {
2330
+ path: [],
2331
+ body: ['api_key', 'grant_type', 'access_token', 'username', 'password', 'run_as'],
2332
+ query: ['refresh']
2333
+ }
2302
2334
  };
2303
2335
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2304
2336
  }
@@ -2353,12 +2385,11 @@ class Security {
2353
2385
  pathParts: {
2354
2386
  user: params.user
2355
2387
  },
2356
- acceptedParams: [
2357
- 'user',
2358
- 'application',
2359
- 'cluster',
2360
- 'index'
2361
- ]
2388
+ acceptedParams: {
2389
+ path: ['user'],
2390
+ body: ['application', 'cluster', 'index'],
2391
+ query: []
2392
+ }
2362
2393
  };
2363
2394
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2364
2395
  }
@@ -2401,10 +2432,11 @@ class Security {
2401
2432
  const path = '/_security/profile/_has_privileges';
2402
2433
  const meta = {
2403
2434
  name: 'security.has_privileges_user_profile',
2404
- acceptedParams: [
2405
- 'uids',
2406
- 'privileges'
2407
- ]
2435
+ acceptedParams: {
2436
+ path: [],
2437
+ body: ['uids', 'privileges'],
2438
+ query: []
2439
+ }
2408
2440
  };
2409
2441
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2410
2442
  }
@@ -2448,14 +2480,11 @@ class Security {
2448
2480
  const path = '/_security/api_key';
2449
2481
  const meta = {
2450
2482
  name: 'security.invalidate_api_key',
2451
- acceptedParams: [
2452
- 'id',
2453
- 'ids',
2454
- 'name',
2455
- 'owner',
2456
- 'realm_name',
2457
- 'username'
2458
- ]
2483
+ acceptedParams: {
2484
+ path: [],
2485
+ body: ['id', 'ids', 'name', 'owner', 'realm_name', 'username'],
2486
+ query: []
2487
+ }
2459
2488
  };
2460
2489
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2461
2490
  }
@@ -2499,12 +2528,11 @@ class Security {
2499
2528
  const path = '/_security/oauth2/token';
2500
2529
  const meta = {
2501
2530
  name: 'security.invalidate_token',
2502
- acceptedParams: [
2503
- 'token',
2504
- 'refresh_token',
2505
- 'realm_name',
2506
- 'username'
2507
- ]
2531
+ acceptedParams: {
2532
+ path: [],
2533
+ body: ['token', 'refresh_token', 'realm_name', 'username'],
2534
+ query: []
2535
+ }
2508
2536
  };
2509
2537
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2510
2538
  }
@@ -2547,12 +2575,11 @@ class Security {
2547
2575
  const path = '/_security/oidc/authenticate';
2548
2576
  const meta = {
2549
2577
  name: 'security.oidc_authenticate',
2550
- acceptedParams: [
2551
- 'nonce',
2552
- 'realm',
2553
- 'redirect_uri',
2554
- 'state'
2555
- ]
2578
+ acceptedParams: {
2579
+ path: [],
2580
+ body: ['nonce', 'realm', 'redirect_uri', 'state'],
2581
+ query: []
2582
+ }
2556
2583
  };
2557
2584
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2558
2585
  }
@@ -2595,10 +2622,11 @@ class Security {
2595
2622
  const path = '/_security/oidc/logout';
2596
2623
  const meta = {
2597
2624
  name: 'security.oidc_logout',
2598
- acceptedParams: [
2599
- 'token',
2600
- 'refresh_token'
2601
- ]
2625
+ acceptedParams: {
2626
+ path: [],
2627
+ body: ['token', 'refresh_token'],
2628
+ query: []
2629
+ }
2602
2630
  };
2603
2631
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2604
2632
  }
@@ -2642,13 +2670,11 @@ class Security {
2642
2670
  const path = '/_security/oidc/prepare';
2643
2671
  const meta = {
2644
2672
  name: 'security.oidc_prepare_authentication',
2645
- acceptedParams: [
2646
- 'iss',
2647
- 'login_hint',
2648
- 'nonce',
2649
- 'realm',
2650
- 'state'
2651
- ]
2673
+ acceptedParams: {
2674
+ path: [],
2675
+ body: ['iss', 'login_hint', 'nonce', 'realm', 'state'],
2676
+ query: []
2677
+ }
2652
2678
  };
2653
2679
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2654
2680
  }
@@ -2682,10 +2708,11 @@ class Security {
2682
2708
  const path = '/_security/privilege';
2683
2709
  const meta = {
2684
2710
  name: 'security.put_privileges',
2685
- acceptedParams: [
2686
- 'privileges',
2687
- 'refresh'
2688
- ]
2711
+ acceptedParams: {
2712
+ path: [],
2713
+ body: ['privileges'],
2714
+ query: ['refresh']
2715
+ }
2689
2716
  };
2690
2717
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2691
2718
  }
@@ -2731,20 +2758,11 @@ class Security {
2731
2758
  pathParts: {
2732
2759
  name: params.name
2733
2760
  },
2734
- acceptedParams: [
2735
- 'name',
2736
- 'applications',
2737
- 'cluster',
2738
- 'global',
2739
- 'indices',
2740
- 'remote_indices',
2741
- 'remote_cluster',
2742
- 'metadata',
2743
- 'run_as',
2744
- 'description',
2745
- 'transient_metadata',
2746
- 'refresh'
2747
- ]
2761
+ acceptedParams: {
2762
+ path: ['name'],
2763
+ body: ['applications', 'cluster', 'global', 'indices', 'remote_indices', 'remote_cluster', 'metadata', 'run_as', 'description', 'transient_metadata'],
2764
+ query: ['refresh']
2765
+ }
2748
2766
  };
2749
2767
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2750
2768
  }
@@ -2790,16 +2808,11 @@ class Security {
2790
2808
  pathParts: {
2791
2809
  name: params.name
2792
2810
  },
2793
- acceptedParams: [
2794
- 'name',
2795
- 'enabled',
2796
- 'metadata',
2797
- 'roles',
2798
- 'role_templates',
2799
- 'rules',
2800
- 'run_as',
2801
- 'refresh'
2802
- ]
2811
+ acceptedParams: {
2812
+ path: ['name'],
2813
+ body: ['enabled', 'metadata', 'roles', 'role_templates', 'rules', 'run_as'],
2814
+ query: ['refresh']
2815
+ }
2803
2816
  };
2804
2817
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2805
2818
  }
@@ -2845,18 +2858,11 @@ class Security {
2845
2858
  pathParts: {
2846
2859
  username: params.username
2847
2860
  },
2848
- acceptedParams: [
2849
- 'username',
2850
- 'username',
2851
- 'email',
2852
- 'full_name',
2853
- 'metadata',
2854
- 'password',
2855
- 'password_hash',
2856
- 'roles',
2857
- 'enabled',
2858
- 'refresh'
2859
- ]
2861
+ acceptedParams: {
2862
+ path: ['username'],
2863
+ body: ['username', 'email', 'full_name', 'metadata', 'password', 'password_hash', 'roles', 'enabled'],
2864
+ query: ['refresh']
2865
+ }
2860
2866
  };
2861
2867
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2862
2868
  }
@@ -2900,18 +2906,11 @@ class Security {
2900
2906
  const path = '/_security/_query/api_key';
2901
2907
  const meta = {
2902
2908
  name: 'security.query_api_keys',
2903
- acceptedParams: [
2904
- 'aggregations',
2905
- 'aggs',
2906
- 'query',
2907
- 'from',
2908
- 'sort',
2909
- 'size',
2910
- 'search_after',
2911
- 'with_limited_by',
2912
- 'with_profile_uid',
2913
- 'typed_keys'
2914
- ]
2909
+ acceptedParams: {
2910
+ path: [],
2911
+ body: ['aggregations', 'aggs', 'query', 'from', 'sort', 'size', 'search_after'],
2912
+ query: ['with_limited_by', 'with_profile_uid', 'typed_keys']
2913
+ }
2915
2914
  };
2916
2915
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2917
2916
  }
@@ -2955,13 +2954,11 @@ class Security {
2955
2954
  const path = '/_security/_query/role';
2956
2955
  const meta = {
2957
2956
  name: 'security.query_role',
2958
- acceptedParams: [
2959
- 'query',
2960
- 'from',
2961
- 'sort',
2962
- 'size',
2963
- 'search_after'
2964
- ]
2957
+ acceptedParams: {
2958
+ path: [],
2959
+ body: ['query', 'from', 'sort', 'size', 'search_after'],
2960
+ query: []
2961
+ }
2965
2962
  };
2966
2963
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2967
2964
  }
@@ -3005,14 +3002,11 @@ class Security {
3005
3002
  const path = '/_security/_query/user';
3006
3003
  const meta = {
3007
3004
  name: 'security.query_user',
3008
- acceptedParams: [
3009
- 'query',
3010
- 'from',
3011
- 'sort',
3012
- 'size',
3013
- 'search_after',
3014
- 'with_profile_uid'
3015
- ]
3005
+ acceptedParams: {
3006
+ path: [],
3007
+ body: ['query', 'from', 'sort', 'size', 'search_after'],
3008
+ query: ['with_profile_uid']
3009
+ }
3016
3010
  };
3017
3011
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3018
3012
  }
@@ -3055,11 +3049,11 @@ class Security {
3055
3049
  const path = '/_security/saml/authenticate';
3056
3050
  const meta = {
3057
3051
  name: 'security.saml_authenticate',
3058
- acceptedParams: [
3059
- 'content',
3060
- 'ids',
3061
- 'realm'
3062
- ]
3052
+ acceptedParams: {
3053
+ path: [],
3054
+ body: ['content', 'ids', 'realm'],
3055
+ query: []
3056
+ }
3063
3057
  };
3064
3058
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3065
3059
  }
@@ -3102,12 +3096,11 @@ class Security {
3102
3096
  const path = '/_security/saml/complete_logout';
3103
3097
  const meta = {
3104
3098
  name: 'security.saml_complete_logout',
3105
- acceptedParams: [
3106
- 'realm',
3107
- 'ids',
3108
- 'query_string',
3109
- 'content'
3110
- ]
3099
+ acceptedParams: {
3100
+ path: [],
3101
+ body: ['realm', 'ids', 'query_string', 'content'],
3102
+ query: []
3103
+ }
3111
3104
  };
3112
3105
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3113
3106
  }
@@ -3150,11 +3143,11 @@ class Security {
3150
3143
  const path = '/_security/saml/invalidate';
3151
3144
  const meta = {
3152
3145
  name: 'security.saml_invalidate',
3153
- acceptedParams: [
3154
- 'acs',
3155
- 'query_string',
3156
- 'realm'
3157
- ]
3146
+ acceptedParams: {
3147
+ path: [],
3148
+ body: ['acs', 'query_string', 'realm'],
3149
+ query: []
3150
+ }
3158
3151
  };
3159
3152
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3160
3153
  }
@@ -3197,10 +3190,11 @@ class Security {
3197
3190
  const path = '/_security/saml/logout';
3198
3191
  const meta = {
3199
3192
  name: 'security.saml_logout',
3200
- acceptedParams: [
3201
- 'token',
3202
- 'refresh_token'
3203
- ]
3193
+ acceptedParams: {
3194
+ path: [],
3195
+ body: ['token', 'refresh_token'],
3196
+ query: []
3197
+ }
3204
3198
  };
3205
3199
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3206
3200
  }
@@ -3244,11 +3238,11 @@ class Security {
3244
3238
  const path = '/_security/saml/prepare';
3245
3239
  const meta = {
3246
3240
  name: 'security.saml_prepare_authentication',
3247
- acceptedParams: [
3248
- 'acs',
3249
- 'realm',
3250
- 'relay_state'
3251
- ]
3241
+ acceptedParams: {
3242
+ path: [],
3243
+ body: ['acs', 'realm', 'relay_state'],
3244
+ query: []
3245
+ }
3252
3246
  };
3253
3247
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3254
3248
  }
@@ -3282,9 +3276,11 @@ class Security {
3282
3276
  pathParts: {
3283
3277
  realm_name: params.realm_name
3284
3278
  },
3285
- acceptedParams: [
3286
- 'realm_name'
3287
- ]
3279
+ acceptedParams: {
3280
+ path: ['realm_name'],
3281
+ body: [],
3282
+ query: []
3283
+ }
3288
3284
  };
3289
3285
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3290
3286
  }
@@ -3328,13 +3324,11 @@ class Security {
3328
3324
  const path = '/_security/profile/_suggest';
3329
3325
  const meta = {
3330
3326
  name: 'security.suggest_user_profiles',
3331
- acceptedParams: [
3332
- 'name',
3333
- 'size',
3334
- 'data',
3335
- 'hint',
3336
- 'data'
3337
- ]
3327
+ acceptedParams: {
3328
+ path: [],
3329
+ body: ['name', 'size', 'data', 'hint'],
3330
+ query: ['data']
3331
+ }
3338
3332
  };
3339
3333
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3340
3334
  }
@@ -3380,12 +3374,11 @@ class Security {
3380
3374
  pathParts: {
3381
3375
  id: params.id
3382
3376
  },
3383
- acceptedParams: [
3384
- 'id',
3385
- 'role_descriptors',
3386
- 'metadata',
3387
- 'expiration'
3388
- ]
3377
+ acceptedParams: {
3378
+ path: ['id'],
3379
+ body: ['role_descriptors', 'metadata', 'expiration'],
3380
+ query: []
3381
+ }
3389
3382
  };
3390
3383
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3391
3384
  }
@@ -3431,13 +3424,11 @@ class Security {
3431
3424
  pathParts: {
3432
3425
  id: params.id
3433
3426
  },
3434
- acceptedParams: [
3435
- 'id',
3436
- 'access',
3437
- 'expiration',
3438
- 'metadata',
3439
- 'certificate_identity'
3440
- ]
3427
+ acceptedParams: {
3428
+ path: ['id'],
3429
+ body: ['access', 'expiration', 'metadata', 'certificate_identity'],
3430
+ query: []
3431
+ }
3441
3432
  };
3442
3433
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3443
3434
  }
@@ -3481,13 +3472,11 @@ class Security {
3481
3472
  const path = '/_security/settings';
3482
3473
  const meta = {
3483
3474
  name: 'security.update_settings',
3484
- acceptedParams: [
3485
- 'security',
3486
- 'security-profile',
3487
- 'security-tokens',
3488
- 'master_timeout',
3489
- 'timeout'
3490
- ]
3475
+ acceptedParams: {
3476
+ path: [],
3477
+ body: ['security', 'security-profile', 'security-tokens'],
3478
+ query: ['master_timeout', 'timeout']
3479
+ }
3491
3480
  };
3492
3481
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3493
3482
  }
@@ -3533,14 +3522,11 @@ class Security {
3533
3522
  pathParts: {
3534
3523
  uid: params.uid
3535
3524
  },
3536
- acceptedParams: [
3537
- 'uid',
3538
- 'labels',
3539
- 'data',
3540
- 'if_seq_no',
3541
- 'if_primary_term',
3542
- 'refresh'
3543
- ]
3525
+ acceptedParams: {
3526
+ path: ['uid'],
3527
+ body: ['labels', 'data'],
3528
+ query: ['if_seq_no', 'if_primary_term', 'refresh']
3529
+ }
3544
3530
  };
3545
3531
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3546
3532
  }