@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
@@ -1034,15 +1034,11 @@ class Indices {
1034
1034
  index: params.index,
1035
1035
  block: params.block
1036
1036
  },
1037
- acceptedParams: [
1038
- 'index',
1039
- 'block',
1040
- 'allow_no_indices',
1041
- 'expand_wildcards',
1042
- 'ignore_unavailable',
1043
- 'master_timeout',
1044
- 'timeout'
1045
- ]
1037
+ acceptedParams: {
1038
+ path: ['index', 'block'],
1039
+ body: [],
1040
+ query: ['allow_no_indices', 'expand_wildcards', 'ignore_unavailable', 'master_timeout', 'timeout']
1041
+ }
1046
1042
  };
1047
1043
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1048
1044
  }
@@ -1097,19 +1093,11 @@ class Indices {
1097
1093
  pathParts: {
1098
1094
  index: params.index
1099
1095
  },
1100
- acceptedParams: [
1101
- 'index',
1102
- 'analyzer',
1103
- 'attributes',
1104
- 'char_filter',
1105
- 'explain',
1106
- 'field',
1107
- 'filter',
1108
- 'normalizer',
1109
- 'text',
1110
- 'tokenizer',
1111
- 'index'
1112
- ]
1096
+ acceptedParams: {
1097
+ path: ['index'],
1098
+ body: ['analyzer', 'attributes', 'char_filter', 'explain', 'field', 'filter', 'normalizer', 'text', 'tokenizer'],
1099
+ query: ['index']
1100
+ }
1113
1101
  };
1114
1102
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1115
1103
  }
@@ -1143,9 +1131,11 @@ class Indices {
1143
1131
  pathParts: {
1144
1132
  index: params.index
1145
1133
  },
1146
- acceptedParams: [
1147
- 'index'
1148
- ]
1134
+ acceptedParams: {
1135
+ path: ['index'],
1136
+ body: [],
1137
+ query: []
1138
+ }
1149
1139
  };
1150
1140
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1151
1141
  }
@@ -1188,17 +1178,11 @@ class Indices {
1188
1178
  pathParts: {
1189
1179
  index: params.index
1190
1180
  },
1191
- acceptedParams: [
1192
- 'index',
1193
- 'index',
1194
- 'allow_no_indices',
1195
- 'expand_wildcards',
1196
- 'fielddata',
1197
- 'fields',
1198
- 'ignore_unavailable',
1199
- 'query',
1200
- 'request'
1201
- ]
1181
+ acceptedParams: {
1182
+ path: ['index'],
1183
+ body: [],
1184
+ query: ['index', 'allow_no_indices', 'expand_wildcards', 'fielddata', 'fields', 'ignore_unavailable', 'query', 'request']
1185
+ }
1202
1186
  };
1203
1187
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1204
1188
  }
@@ -1245,15 +1229,11 @@ class Indices {
1245
1229
  index: params.index,
1246
1230
  target: params.target
1247
1231
  },
1248
- acceptedParams: [
1249
- 'index',
1250
- 'target',
1251
- 'aliases',
1252
- 'settings',
1253
- 'master_timeout',
1254
- 'timeout',
1255
- 'wait_for_active_shards'
1256
- ]
1232
+ acceptedParams: {
1233
+ path: ['index', 'target'],
1234
+ body: ['aliases', 'settings'],
1235
+ query: ['master_timeout', 'timeout', 'wait_for_active_shards']
1236
+ }
1257
1237
  };
1258
1238
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1259
1239
  }
@@ -1287,15 +1267,11 @@ class Indices {
1287
1267
  pathParts: {
1288
1268
  index: params.index
1289
1269
  },
1290
- acceptedParams: [
1291
- 'index',
1292
- 'allow_no_indices',
1293
- 'expand_wildcards',
1294
- 'ignore_unavailable',
1295
- 'master_timeout',
1296
- 'timeout',
1297
- 'wait_for_active_shards'
1298
- ]
1270
+ acceptedParams: {
1271
+ path: ['index'],
1272
+ body: [],
1273
+ query: ['allow_no_indices', 'expand_wildcards', 'ignore_unavailable', 'master_timeout', 'timeout', 'wait_for_active_shards']
1274
+ }
1299
1275
  };
1300
1276
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1301
1277
  }
@@ -1341,15 +1317,11 @@ class Indices {
1341
1317
  pathParts: {
1342
1318
  index: params.index
1343
1319
  },
1344
- acceptedParams: [
1345
- 'index',
1346
- 'aliases',
1347
- 'mappings',
1348
- 'settings',
1349
- 'master_timeout',
1350
- 'timeout',
1351
- 'wait_for_active_shards'
1352
- ]
1320
+ acceptedParams: {
1321
+ path: ['index'],
1322
+ body: ['aliases', 'mappings', 'settings'],
1323
+ query: ['master_timeout', 'timeout', 'wait_for_active_shards']
1324
+ }
1353
1325
  };
1354
1326
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1355
1327
  }
@@ -1383,11 +1355,11 @@ class Indices {
1383
1355
  pathParts: {
1384
1356
  name: params.name
1385
1357
  },
1386
- acceptedParams: [
1387
- 'name',
1388
- 'master_timeout',
1389
- 'timeout'
1390
- ]
1358
+ acceptedParams: {
1359
+ path: ['name'],
1360
+ body: [],
1361
+ query: ['master_timeout', 'timeout']
1362
+ }
1391
1363
  };
1392
1364
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1393
1365
  }
@@ -1425,11 +1397,11 @@ class Indices {
1425
1397
  source: params.source,
1426
1398
  dest: params.dest
1427
1399
  },
1428
- acceptedParams: [
1429
- 'source',
1430
- 'dest',
1431
- 'create_from'
1432
- ]
1400
+ acceptedParams: {
1401
+ path: ['source', 'dest'],
1402
+ body: ['create_from'],
1403
+ query: []
1404
+ }
1433
1405
  };
1434
1406
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1435
1407
  }
@@ -1472,10 +1444,11 @@ class Indices {
1472
1444
  pathParts: {
1473
1445
  name: params.name
1474
1446
  },
1475
- acceptedParams: [
1476
- 'name',
1477
- 'expand_wildcards'
1478
- ]
1447
+ acceptedParams: {
1448
+ path: ['name'],
1449
+ body: [],
1450
+ query: ['expand_wildcards']
1451
+ }
1479
1452
  };
1480
1453
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1481
1454
  }
@@ -1509,14 +1482,11 @@ class Indices {
1509
1482
  pathParts: {
1510
1483
  index: params.index
1511
1484
  },
1512
- acceptedParams: [
1513
- 'index',
1514
- 'allow_no_indices',
1515
- 'expand_wildcards',
1516
- 'ignore_unavailable',
1517
- 'master_timeout',
1518
- 'timeout'
1519
- ]
1485
+ acceptedParams: {
1486
+ path: ['index'],
1487
+ body: [],
1488
+ query: ['allow_no_indices', 'expand_wildcards', 'ignore_unavailable', 'master_timeout', 'timeout']
1489
+ }
1520
1490
  };
1521
1491
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1522
1492
  }
@@ -1559,12 +1529,11 @@ class Indices {
1559
1529
  index: params.index,
1560
1530
  name: params.name
1561
1531
  },
1562
- acceptedParams: [
1563
- 'index',
1564
- 'name',
1565
- 'master_timeout',
1566
- 'timeout'
1567
- ]
1532
+ acceptedParams: {
1533
+ path: ['index', 'name'],
1534
+ body: [],
1535
+ query: ['master_timeout', 'timeout']
1536
+ }
1568
1537
  };
1569
1538
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1570
1539
  }
@@ -1598,12 +1567,11 @@ class Indices {
1598
1567
  pathParts: {
1599
1568
  name: params.name
1600
1569
  },
1601
- acceptedParams: [
1602
- 'name',
1603
- 'expand_wildcards',
1604
- 'master_timeout',
1605
- 'timeout'
1606
- ]
1570
+ acceptedParams: {
1571
+ path: ['name'],
1572
+ body: [],
1573
+ query: ['expand_wildcards', 'master_timeout', 'timeout']
1574
+ }
1607
1575
  };
1608
1576
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1609
1577
  }
@@ -1637,11 +1605,11 @@ class Indices {
1637
1605
  pathParts: {
1638
1606
  name: params.name
1639
1607
  },
1640
- acceptedParams: [
1641
- 'name',
1642
- 'master_timeout',
1643
- 'expand_wildcards'
1644
- ]
1608
+ acceptedParams: {
1609
+ path: ['name'],
1610
+ body: [],
1611
+ query: ['master_timeout', 'expand_wildcards']
1612
+ }
1645
1613
  };
1646
1614
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1647
1615
  }
@@ -1675,12 +1643,11 @@ class Indices {
1675
1643
  pathParts: {
1676
1644
  name: params.name
1677
1645
  },
1678
- acceptedParams: [
1679
- 'name',
1680
- 'expand_wildcards',
1681
- 'master_timeout',
1682
- 'timeout'
1683
- ]
1646
+ acceptedParams: {
1647
+ path: ['name'],
1648
+ body: [],
1649
+ query: ['expand_wildcards', 'master_timeout', 'timeout']
1650
+ }
1684
1651
  };
1685
1652
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1686
1653
  }
@@ -1714,11 +1681,11 @@ class Indices {
1714
1681
  pathParts: {
1715
1682
  name: params.name
1716
1683
  },
1717
- acceptedParams: [
1718
- 'name',
1719
- 'master_timeout',
1720
- 'timeout'
1721
- ]
1684
+ acceptedParams: {
1685
+ path: ['name'],
1686
+ body: [],
1687
+ query: ['master_timeout', 'timeout']
1688
+ }
1722
1689
  };
1723
1690
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1724
1691
  }
@@ -1752,11 +1719,11 @@ class Indices {
1752
1719
  pathParts: {
1753
1720
  index: params.index
1754
1721
  },
1755
- acceptedParams: [
1756
- 'index',
1757
- 'master_timeout',
1758
- 'timeout'
1759
- ]
1722
+ acceptedParams: {
1723
+ path: ['index'],
1724
+ body: [],
1725
+ query: ['master_timeout', 'timeout']
1726
+ }
1760
1727
  };
1761
1728
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1762
1729
  }
@@ -1790,11 +1757,11 @@ class Indices {
1790
1757
  pathParts: {
1791
1758
  name: params.name
1792
1759
  },
1793
- acceptedParams: [
1794
- 'name',
1795
- 'master_timeout',
1796
- 'timeout'
1797
- ]
1760
+ acceptedParams: {
1761
+ path: ['name'],
1762
+ body: [],
1763
+ query: ['master_timeout', 'timeout']
1764
+ }
1798
1765
  };
1799
1766
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1800
1767
  }
@@ -1828,14 +1795,11 @@ class Indices {
1828
1795
  pathParts: {
1829
1796
  index: params.index
1830
1797
  },
1831
- acceptedParams: [
1832
- 'index',
1833
- 'allow_no_indices',
1834
- 'expand_wildcards',
1835
- 'flush',
1836
- 'ignore_unavailable',
1837
- 'run_expensive_tasks'
1838
- ]
1798
+ acceptedParams: {
1799
+ path: ['index'],
1800
+ body: [],
1801
+ query: ['allow_no_indices', 'expand_wildcards', 'flush', 'ignore_unavailable', 'run_expensive_tasks']
1802
+ }
1839
1803
  };
1840
1804
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1841
1805
  }
@@ -1873,11 +1837,11 @@ class Indices {
1873
1837
  index: params.index,
1874
1838
  target_index: params.target_index
1875
1839
  },
1876
- acceptedParams: [
1877
- 'index',
1878
- 'target_index',
1879
- 'config'
1880
- ]
1840
+ acceptedParams: {
1841
+ path: ['index', 'target_index'],
1842
+ body: ['config'],
1843
+ query: []
1844
+ }
1881
1845
  };
1882
1846
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1883
1847
  }
@@ -1911,15 +1875,11 @@ class Indices {
1911
1875
  pathParts: {
1912
1876
  index: params.index
1913
1877
  },
1914
- acceptedParams: [
1915
- 'index',
1916
- 'allow_no_indices',
1917
- 'expand_wildcards',
1918
- 'flat_settings',
1919
- 'ignore_unavailable',
1920
- 'include_defaults',
1921
- 'local'
1922
- ]
1878
+ acceptedParams: {
1879
+ path: ['index'],
1880
+ body: [],
1881
+ query: ['allow_no_indices', 'expand_wildcards', 'flat_settings', 'ignore_unavailable', 'include_defaults', 'local']
1882
+ }
1923
1883
  };
1924
1884
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1925
1885
  }
@@ -1962,14 +1922,11 @@ class Indices {
1962
1922
  name: params.name,
1963
1923
  index: params.index
1964
1924
  },
1965
- acceptedParams: [
1966
- 'name',
1967
- 'index',
1968
- 'allow_no_indices',
1969
- 'expand_wildcards',
1970
- 'ignore_unavailable',
1971
- 'master_timeout'
1972
- ]
1925
+ acceptedParams: {
1926
+ path: ['name', 'index'],
1927
+ body: [],
1928
+ query: ['allow_no_indices', 'expand_wildcards', 'ignore_unavailable', 'master_timeout']
1929
+ }
1973
1930
  };
1974
1931
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1975
1932
  }
@@ -2003,12 +1960,11 @@ class Indices {
2003
1960
  pathParts: {
2004
1961
  name: params.name
2005
1962
  },
2006
- acceptedParams: [
2007
- 'name',
2008
- 'local',
2009
- 'flat_settings',
2010
- 'master_timeout'
2011
- ]
1963
+ acceptedParams: {
1964
+ path: ['name'],
1965
+ body: [],
1966
+ query: ['local', 'flat_settings', 'master_timeout']
1967
+ }
2012
1968
  };
2013
1969
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2014
1970
  }
@@ -2042,12 +1998,11 @@ class Indices {
2042
1998
  pathParts: {
2043
1999
  name: params.name
2044
2000
  },
2045
- acceptedParams: [
2046
- 'name',
2047
- 'flat_settings',
2048
- 'local',
2049
- 'master_timeout'
2050
- ]
2001
+ acceptedParams: {
2002
+ path: ['name'],
2003
+ body: [],
2004
+ query: ['flat_settings', 'local', 'master_timeout']
2005
+ }
2051
2006
  };
2052
2007
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2053
2008
  }
@@ -2081,11 +2036,11 @@ class Indices {
2081
2036
  pathParts: {
2082
2037
  index: params.index
2083
2038
  },
2084
- acceptedParams: [
2085
- 'index',
2086
- 'include_defaults',
2087
- 'master_timeout'
2088
- ]
2039
+ acceptedParams: {
2040
+ path: ['index'],
2041
+ body: [],
2042
+ query: ['include_defaults', 'master_timeout']
2043
+ }
2089
2044
  };
2090
2045
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2091
2046
  }
@@ -2119,13 +2074,11 @@ class Indices {
2119
2074
  pathParts: {
2120
2075
  index: params.index
2121
2076
  },
2122
- acceptedParams: [
2123
- 'index',
2124
- 'allow_no_indices',
2125
- 'expand_wildcards',
2126
- 'ignore_unavailable',
2127
- 'fields'
2128
- ]
2077
+ acceptedParams: {
2078
+ path: ['index'],
2079
+ body: [],
2080
+ query: ['allow_no_indices', 'expand_wildcards', 'ignore_unavailable', 'fields']
2081
+ }
2129
2082
  };
2130
2083
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2131
2084
  }
@@ -2168,14 +2121,11 @@ class Indices {
2168
2121
  pathParts: {
2169
2122
  index: params.index
2170
2123
  },
2171
- acceptedParams: [
2172
- 'index',
2173
- 'allow_no_indices',
2174
- 'expand_wildcards',
2175
- 'force',
2176
- 'ignore_unavailable',
2177
- 'wait_if_ongoing'
2178
- ]
2124
+ acceptedParams: {
2125
+ path: ['index'],
2126
+ body: [],
2127
+ query: ['allow_no_indices', 'expand_wildcards', 'force', 'ignore_unavailable', 'wait_if_ongoing']
2128
+ }
2179
2129
  };
2180
2130
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2181
2131
  }
@@ -2218,16 +2168,11 @@ class Indices {
2218
2168
  pathParts: {
2219
2169
  index: params.index
2220
2170
  },
2221
- acceptedParams: [
2222
- 'index',
2223
- 'allow_no_indices',
2224
- 'expand_wildcards',
2225
- 'flush',
2226
- 'ignore_unavailable',
2227
- 'max_num_segments',
2228
- 'only_expunge_deletes',
2229
- 'wait_for_completion'
2230
- ]
2171
+ acceptedParams: {
2172
+ path: ['index'],
2173
+ body: [],
2174
+ query: ['allow_no_indices', 'expand_wildcards', 'flush', 'ignore_unavailable', 'max_num_segments', 'only_expunge_deletes', 'wait_for_completion']
2175
+ }
2231
2176
  };
2232
2177
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2233
2178
  }
@@ -2261,17 +2206,11 @@ class Indices {
2261
2206
  pathParts: {
2262
2207
  index: params.index
2263
2208
  },
2264
- acceptedParams: [
2265
- 'index',
2266
- 'allow_no_indices',
2267
- 'expand_wildcards',
2268
- 'flat_settings',
2269
- 'ignore_unavailable',
2270
- 'include_defaults',
2271
- 'local',
2272
- 'master_timeout',
2273
- 'features'
2274
- ]
2209
+ acceptedParams: {
2210
+ path: ['index'],
2211
+ body: [],
2212
+ query: ['allow_no_indices', 'expand_wildcards', 'flat_settings', 'ignore_unavailable', 'include_defaults', 'local', 'master_timeout', 'features']
2213
+ }
2275
2214
  };
2276
2215
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2277
2216
  }
@@ -2323,14 +2262,11 @@ class Indices {
2323
2262
  name: params.name,
2324
2263
  index: params.index
2325
2264
  },
2326
- acceptedParams: [
2327
- 'name',
2328
- 'index',
2329
- 'allow_no_indices',
2330
- 'expand_wildcards',
2331
- 'ignore_unavailable',
2332
- 'master_timeout'
2333
- ]
2265
+ acceptedParams: {
2266
+ path: ['name', 'index'],
2267
+ body: [],
2268
+ query: ['allow_no_indices', 'expand_wildcards', 'ignore_unavailable', 'master_timeout']
2269
+ }
2334
2270
  };
2335
2271
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2336
2272
  }
@@ -2362,9 +2298,11 @@ class Indices {
2362
2298
  const path = '/_sample/config';
2363
2299
  const meta = {
2364
2300
  name: 'indices.get_all_sample_configuration',
2365
- acceptedParams: [
2366
- 'master_timeout'
2367
- ]
2301
+ acceptedParams: {
2302
+ path: [],
2303
+ body: [],
2304
+ query: ['master_timeout']
2305
+ }
2368
2306
  };
2369
2307
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2370
2308
  }
@@ -2398,12 +2336,11 @@ class Indices {
2398
2336
  pathParts: {
2399
2337
  name: params.name
2400
2338
  },
2401
- acceptedParams: [
2402
- 'name',
2403
- 'expand_wildcards',
2404
- 'include_defaults',
2405
- 'master_timeout'
2406
- ]
2339
+ acceptedParams: {
2340
+ path: ['name'],
2341
+ body: [],
2342
+ query: ['expand_wildcards', 'include_defaults', 'master_timeout']
2343
+ }
2407
2344
  };
2408
2345
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2409
2346
  }
@@ -2435,7 +2372,11 @@ class Indices {
2435
2372
  const path = '/_lifecycle/stats';
2436
2373
  const meta = {
2437
2374
  name: 'indices.get_data_lifecycle_stats',
2438
- acceptedParams: []
2375
+ acceptedParams: {
2376
+ path: [],
2377
+ body: [],
2378
+ query: []
2379
+ }
2439
2380
  };
2440
2381
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2441
2382
  }
@@ -2478,13 +2419,11 @@ class Indices {
2478
2419
  pathParts: {
2479
2420
  name: params.name
2480
2421
  },
2481
- acceptedParams: [
2482
- 'name',
2483
- 'expand_wildcards',
2484
- 'include_defaults',
2485
- 'master_timeout',
2486
- 'verbose'
2487
- ]
2422
+ acceptedParams: {
2423
+ path: ['name'],
2424
+ body: [],
2425
+ query: ['expand_wildcards', 'include_defaults', 'master_timeout', 'verbose']
2426
+ }
2488
2427
  };
2489
2428
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2490
2429
  }
@@ -2518,10 +2457,11 @@ class Indices {
2518
2457
  pathParts: {
2519
2458
  name: params.name
2520
2459
  },
2521
- acceptedParams: [
2522
- 'name',
2523
- 'master_timeout'
2524
- ]
2460
+ acceptedParams: {
2461
+ path: ['name'],
2462
+ body: [],
2463
+ query: ['master_timeout']
2464
+ }
2525
2465
  };
2526
2466
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2527
2467
  }
@@ -2555,11 +2495,11 @@ class Indices {
2555
2495
  pathParts: {
2556
2496
  name: params.name
2557
2497
  },
2558
- acceptedParams: [
2559
- 'name',
2560
- 'expand_wildcards',
2561
- 'master_timeout'
2562
- ]
2498
+ acceptedParams: {
2499
+ path: ['name'],
2500
+ body: [],
2501
+ query: ['expand_wildcards', 'master_timeout']
2502
+ }
2563
2503
  };
2564
2504
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2565
2505
  }
@@ -2593,10 +2533,11 @@ class Indices {
2593
2533
  pathParts: {
2594
2534
  name: params.name
2595
2535
  },
2596
- acceptedParams: [
2597
- 'name',
2598
- 'master_timeout'
2599
- ]
2536
+ acceptedParams: {
2537
+ path: ['name'],
2538
+ body: [],
2539
+ query: ['master_timeout']
2540
+ }
2600
2541
  };
2601
2542
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2602
2543
  }
@@ -2639,14 +2580,11 @@ class Indices {
2639
2580
  fields: params.fields,
2640
2581
  index: params.index
2641
2582
  },
2642
- acceptedParams: [
2643
- 'fields',
2644
- 'index',
2645
- 'allow_no_indices',
2646
- 'expand_wildcards',
2647
- 'ignore_unavailable',
2648
- 'include_defaults'
2649
- ]
2583
+ acceptedParams: {
2584
+ path: ['fields', 'index'],
2585
+ body: [],
2586
+ query: ['allow_no_indices', 'expand_wildcards', 'ignore_unavailable', 'include_defaults']
2587
+ }
2650
2588
  };
2651
2589
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2652
2590
  }
@@ -2689,13 +2627,11 @@ class Indices {
2689
2627
  pathParts: {
2690
2628
  name: params.name
2691
2629
  },
2692
- acceptedParams: [
2693
- 'name',
2694
- 'local',
2695
- 'flat_settings',
2696
- 'master_timeout',
2697
- 'include_defaults'
2698
- ]
2630
+ acceptedParams: {
2631
+ path: ['name'],
2632
+ body: [],
2633
+ query: ['local', 'flat_settings', 'master_timeout', 'include_defaults']
2634
+ }
2699
2635
  };
2700
2636
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2701
2637
  }
@@ -2738,14 +2674,11 @@ class Indices {
2738
2674
  pathParts: {
2739
2675
  index: params.index
2740
2676
  },
2741
- acceptedParams: [
2742
- 'index',
2743
- 'allow_no_indices',
2744
- 'expand_wildcards',
2745
- 'ignore_unavailable',
2746
- 'local',
2747
- 'master_timeout'
2748
- ]
2677
+ acceptedParams: {
2678
+ path: ['index'],
2679
+ body: [],
2680
+ query: ['allow_no_indices', 'expand_wildcards', 'ignore_unavailable', 'local', 'master_timeout']
2681
+ }
2749
2682
  };
2750
2683
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2751
2684
  }
@@ -2779,9 +2712,11 @@ class Indices {
2779
2712
  pathParts: {
2780
2713
  index: params.index
2781
2714
  },
2782
- acceptedParams: [
2783
- 'index'
2784
- ]
2715
+ acceptedParams: {
2716
+ path: ['index'],
2717
+ body: [],
2718
+ query: []
2719
+ }
2785
2720
  };
2786
2721
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2787
2722
  }
@@ -2815,9 +2750,11 @@ class Indices {
2815
2750
  pathParts: {
2816
2751
  index: params.index
2817
2752
  },
2818
- acceptedParams: [
2819
- 'index'
2820
- ]
2753
+ acceptedParams: {
2754
+ path: ['index'],
2755
+ body: [],
2756
+ query: []
2757
+ }
2821
2758
  };
2822
2759
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2823
2760
  }
@@ -2851,10 +2788,11 @@ class Indices {
2851
2788
  pathParts: {
2852
2789
  index: params.index
2853
2790
  },
2854
- acceptedParams: [
2855
- 'index',
2856
- 'master_timeout'
2857
- ]
2791
+ acceptedParams: {
2792
+ path: ['index'],
2793
+ body: [],
2794
+ query: ['master_timeout']
2795
+ }
2858
2796
  };
2859
2797
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2860
2798
  }
@@ -2888,9 +2826,11 @@ class Indices {
2888
2826
  pathParts: {
2889
2827
  index: params.index
2890
2828
  },
2891
- acceptedParams: [
2892
- 'index'
2893
- ]
2829
+ acceptedParams: {
2830
+ path: ['index'],
2831
+ body: [],
2832
+ query: []
2833
+ }
2894
2834
  };
2895
2835
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2896
2836
  }
@@ -2942,17 +2882,11 @@ class Indices {
2942
2882
  index: params.index,
2943
2883
  name: params.name
2944
2884
  },
2945
- acceptedParams: [
2946
- 'index',
2947
- 'name',
2948
- 'allow_no_indices',
2949
- 'expand_wildcards',
2950
- 'flat_settings',
2951
- 'ignore_unavailable',
2952
- 'include_defaults',
2953
- 'local',
2954
- 'master_timeout'
2955
- ]
2885
+ acceptedParams: {
2886
+ path: ['index', 'name'],
2887
+ body: [],
2888
+ query: ['allow_no_indices', 'expand_wildcards', 'flat_settings', 'ignore_unavailable', 'include_defaults', 'local', 'master_timeout']
2889
+ }
2956
2890
  };
2957
2891
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2958
2892
  }
@@ -2995,12 +2929,11 @@ class Indices {
2995
2929
  pathParts: {
2996
2930
  name: params.name
2997
2931
  },
2998
- acceptedParams: [
2999
- 'name',
3000
- 'flat_settings',
3001
- 'local',
3002
- 'master_timeout'
3003
- ]
2932
+ acceptedParams: {
2933
+ path: ['name'],
2934
+ body: [],
2935
+ query: ['flat_settings', 'local', 'master_timeout']
2936
+ }
3004
2937
  };
3005
2938
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3006
2939
  }
@@ -3034,9 +2967,11 @@ class Indices {
3034
2967
  const path = '/_migration/reindex';
3035
2968
  const meta = {
3036
2969
  name: 'indices.migrate_reindex',
3037
- acceptedParams: [
3038
- 'reindex'
3039
- ]
2970
+ acceptedParams: {
2971
+ path: [],
2972
+ body: ['reindex'],
2973
+ query: []
2974
+ }
3040
2975
  };
3041
2976
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3042
2977
  }
@@ -3070,11 +3005,11 @@ class Indices {
3070
3005
  pathParts: {
3071
3006
  name: params.name
3072
3007
  },
3073
- acceptedParams: [
3074
- 'name',
3075
- 'master_timeout',
3076
- 'timeout'
3077
- ]
3008
+ acceptedParams: {
3009
+ path: ['name'],
3010
+ body: [],
3011
+ query: ['master_timeout', 'timeout']
3012
+ }
3078
3013
  };
3079
3014
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3080
3015
  }
@@ -3117,9 +3052,11 @@ class Indices {
3117
3052
  const path = '/_data_stream/_modify';
3118
3053
  const meta = {
3119
3054
  name: 'indices.modify_data_stream',
3120
- acceptedParams: [
3121
- 'actions'
3122
- ]
3055
+ acceptedParams: {
3056
+ path: [],
3057
+ body: ['actions'],
3058
+ query: []
3059
+ }
3123
3060
  };
3124
3061
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3125
3062
  }
@@ -3153,15 +3090,11 @@ class Indices {
3153
3090
  pathParts: {
3154
3091
  index: params.index
3155
3092
  },
3156
- acceptedParams: [
3157
- 'index',
3158
- 'allow_no_indices',
3159
- 'expand_wildcards',
3160
- 'ignore_unavailable',
3161
- 'master_timeout',
3162
- 'timeout',
3163
- 'wait_for_active_shards'
3164
- ]
3093
+ acceptedParams: {
3094
+ path: ['index'],
3095
+ body: [],
3096
+ query: ['allow_no_indices', 'expand_wildcards', 'ignore_unavailable', 'master_timeout', 'timeout', 'wait_for_active_shards']
3097
+ }
3165
3098
  };
3166
3099
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3167
3100
  }
@@ -3195,10 +3128,11 @@ class Indices {
3195
3128
  pathParts: {
3196
3129
  name: params.name
3197
3130
  },
3198
- acceptedParams: [
3199
- 'name',
3200
- 'master_timeout'
3201
- ]
3131
+ acceptedParams: {
3132
+ path: ['name'],
3133
+ body: [],
3134
+ query: ['master_timeout']
3135
+ }
3202
3136
  };
3203
3137
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3204
3138
  }
@@ -3253,17 +3187,11 @@ class Indices {
3253
3187
  index: params.index,
3254
3188
  name: params.name
3255
3189
  },
3256
- acceptedParams: [
3257
- 'index',
3258
- 'name',
3259
- 'filter',
3260
- 'index_routing',
3261
- 'is_write_index',
3262
- 'routing',
3263
- 'search_routing',
3264
- 'master_timeout',
3265
- 'timeout'
3266
- ]
3190
+ acceptedParams: {
3191
+ path: ['index', 'name'],
3192
+ body: ['filter', 'index_routing', 'is_write_index', 'routing', 'search_routing'],
3193
+ query: ['master_timeout', 'timeout']
3194
+ }
3267
3195
  };
3268
3196
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3269
3197
  }
@@ -3309,16 +3237,11 @@ class Indices {
3309
3237
  pathParts: {
3310
3238
  name: params.name
3311
3239
  },
3312
- acceptedParams: [
3313
- 'name',
3314
- 'data_retention',
3315
- 'downsampling',
3316
- 'downsampling_method',
3317
- 'enabled',
3318
- 'expand_wildcards',
3319
- 'master_timeout',
3320
- 'timeout'
3321
- ]
3240
+ acceptedParams: {
3241
+ path: ['name'],
3242
+ body: ['data_retention', 'downsampling', 'downsampling_method', 'enabled'],
3243
+ query: ['expand_wildcards', 'master_timeout', 'timeout']
3244
+ }
3322
3245
  };
3323
3246
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3324
3247
  }
@@ -3355,13 +3278,11 @@ class Indices {
3355
3278
  pathParts: {
3356
3279
  name: params.name
3357
3280
  },
3358
- acceptedParams: [
3359
- 'name',
3360
- 'mappings',
3361
- 'dry_run',
3362
- 'master_timeout',
3363
- 'timeout'
3364
- ]
3281
+ acceptedParams: {
3282
+ path: ['name'],
3283
+ body: ['mappings'],
3284
+ query: ['dry_run', 'master_timeout', 'timeout']
3285
+ }
3365
3286
  };
3366
3287
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3367
3288
  }
@@ -3407,13 +3328,11 @@ class Indices {
3407
3328
  pathParts: {
3408
3329
  name: params.name
3409
3330
  },
3410
- acceptedParams: [
3411
- 'name',
3412
- 'failure_store',
3413
- 'expand_wildcards',
3414
- 'master_timeout',
3415
- 'timeout'
3416
- ]
3331
+ acceptedParams: {
3332
+ path: ['name'],
3333
+ body: ['failure_store'],
3334
+ query: ['expand_wildcards', 'master_timeout', 'timeout']
3335
+ }
3417
3336
  };
3418
3337
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3419
3338
  }
@@ -3450,13 +3369,11 @@ class Indices {
3450
3369
  pathParts: {
3451
3370
  name: params.name
3452
3371
  },
3453
- acceptedParams: [
3454
- 'name',
3455
- 'settings',
3456
- 'dry_run',
3457
- 'master_timeout',
3458
- 'timeout'
3459
- ]
3372
+ acceptedParams: {
3373
+ path: ['name'],
3374
+ body: ['settings'],
3375
+ query: ['dry_run', 'master_timeout', 'timeout']
3376
+ }
3460
3377
  };
3461
3378
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3462
3379
  }
@@ -3502,22 +3419,11 @@ class Indices {
3502
3419
  pathParts: {
3503
3420
  name: params.name
3504
3421
  },
3505
- acceptedParams: [
3506
- 'name',
3507
- 'index_patterns',
3508
- 'composed_of',
3509
- 'template',
3510
- 'data_stream',
3511
- 'priority',
3512
- 'version',
3513
- '_meta',
3514
- 'allow_auto_create',
3515
- 'ignore_missing_component_templates',
3516
- 'deprecated',
3517
- 'create',
3518
- 'master_timeout',
3519
- 'cause'
3520
- ]
3422
+ acceptedParams: {
3423
+ path: ['name'],
3424
+ body: ['index_patterns', 'composed_of', 'template', 'data_stream', 'priority', 'version', '_meta', 'allow_auto_create', 'ignore_missing_component_templates', 'deprecated'],
3425
+ query: ['create', 'master_timeout', 'cause']
3426
+ }
3521
3427
  };
3522
3428
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3523
3429
  }
@@ -3563,26 +3469,11 @@ class Indices {
3563
3469
  pathParts: {
3564
3470
  index: params.index
3565
3471
  },
3566
- acceptedParams: [
3567
- 'index',
3568
- 'date_detection',
3569
- 'dynamic',
3570
- 'dynamic_date_formats',
3571
- 'dynamic_templates',
3572
- '_field_names',
3573
- '_meta',
3574
- 'numeric_detection',
3575
- 'properties',
3576
- '_routing',
3577
- '_source',
3578
- 'runtime',
3579
- 'allow_no_indices',
3580
- 'expand_wildcards',
3581
- 'ignore_unavailable',
3582
- 'master_timeout',
3583
- 'timeout',
3584
- 'write_index_only'
3585
- ]
3472
+ acceptedParams: {
3473
+ path: ['index'],
3474
+ body: ['date_detection', 'dynamic', 'dynamic_date_formats', 'dynamic_templates', '_field_names', '_meta', 'numeric_detection', 'properties', '_routing', '_source', 'runtime'],
3475
+ query: ['allow_no_indices', 'expand_wildcards', 'ignore_unavailable', 'master_timeout', 'timeout', 'write_index_only']
3476
+ }
3586
3477
  };
3587
3478
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3588
3479
  }
@@ -3628,16 +3519,11 @@ class Indices {
3628
3519
  pathParts: {
3629
3520
  index: params.index
3630
3521
  },
3631
- acceptedParams: [
3632
- 'index',
3633
- 'rate',
3634
- 'max_samples',
3635
- 'max_size',
3636
- 'time_to_live',
3637
- 'if',
3638
- 'master_timeout',
3639
- 'timeout'
3640
- ]
3522
+ acceptedParams: {
3523
+ path: ['index'],
3524
+ body: ['rate', 'max_samples', 'max_size', 'time_to_live', 'if'],
3525
+ query: ['master_timeout', 'timeout']
3526
+ }
3641
3527
  };
3642
3528
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3643
3529
  }
@@ -3682,18 +3568,11 @@ class Indices {
3682
3568
  pathParts: {
3683
3569
  index: params.index
3684
3570
  },
3685
- acceptedParams: [
3686
- 'index',
3687
- 'settings',
3688
- 'allow_no_indices',
3689
- 'expand_wildcards',
3690
- 'flat_settings',
3691
- 'ignore_unavailable',
3692
- 'master_timeout',
3693
- 'preserve_existing',
3694
- 'reopen',
3695
- 'timeout'
3696
- ]
3571
+ acceptedParams: {
3572
+ path: ['index'],
3573
+ body: ['settings'],
3574
+ query: ['allow_no_indices', 'expand_wildcards', 'flat_settings', 'ignore_unavailable', 'master_timeout', 'preserve_existing', 'reopen', 'timeout']
3575
+ }
3697
3576
  };
3698
3577
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3699
3578
  }
@@ -3739,19 +3618,11 @@ class Indices {
3739
3618
  pathParts: {
3740
3619
  name: params.name
3741
3620
  },
3742
- acceptedParams: [
3743
- 'name',
3744
- 'aliases',
3745
- 'index_patterns',
3746
- 'mappings',
3747
- 'order',
3748
- 'settings',
3749
- 'version',
3750
- 'create',
3751
- 'master_timeout',
3752
- 'order',
3753
- 'cause'
3754
- ]
3621
+ acceptedParams: {
3622
+ path: ['name'],
3623
+ body: ['aliases', 'index_patterns', 'mappings', 'order', 'settings', 'version'],
3624
+ query: ['create', 'master_timeout', 'order', 'cause']
3625
+ }
3755
3626
  };
3756
3627
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3757
3628
  }
@@ -3794,14 +3665,11 @@ class Indices {
3794
3665
  pathParts: {
3795
3666
  index: params.index
3796
3667
  },
3797
- acceptedParams: [
3798
- 'index',
3799
- 'active_only',
3800
- 'detailed',
3801
- 'allow_no_indices',
3802
- 'expand_wildcards',
3803
- 'ignore_unavailable'
3804
- ]
3668
+ acceptedParams: {
3669
+ path: ['index'],
3670
+ body: [],
3671
+ query: ['active_only', 'detailed', 'allow_no_indices', 'expand_wildcards', 'ignore_unavailable']
3672
+ }
3805
3673
  };
3806
3674
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3807
3675
  }
@@ -3844,12 +3712,11 @@ class Indices {
3844
3712
  pathParts: {
3845
3713
  index: params.index
3846
3714
  },
3847
- acceptedParams: [
3848
- 'index',
3849
- 'allow_no_indices',
3850
- 'expand_wildcards',
3851
- 'ignore_unavailable'
3852
- ]
3715
+ acceptedParams: {
3716
+ path: ['index'],
3717
+ body: [],
3718
+ query: ['allow_no_indices', 'expand_wildcards', 'ignore_unavailable']
3719
+ }
3853
3720
  };
3854
3721
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3855
3722
  }
@@ -3883,13 +3750,11 @@ class Indices {
3883
3750
  pathParts: {
3884
3751
  index: params.index
3885
3752
  },
3886
- acceptedParams: [
3887
- 'index',
3888
- 'allow_no_indices',
3889
- 'expand_wildcards',
3890
- 'ignore_unavailable',
3891
- 'resource'
3892
- ]
3753
+ acceptedParams: {
3754
+ path: ['index'],
3755
+ body: [],
3756
+ query: ['allow_no_indices', 'expand_wildcards', 'ignore_unavailable', 'resource']
3757
+ }
3893
3758
  };
3894
3759
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3895
3760
  }
@@ -3924,15 +3789,11 @@ class Indices {
3924
3789
  index: params.index,
3925
3790
  block: params.block
3926
3791
  },
3927
- acceptedParams: [
3928
- 'index',
3929
- 'block',
3930
- 'allow_no_indices',
3931
- 'expand_wildcards',
3932
- 'ignore_unavailable',
3933
- 'master_timeout',
3934
- 'timeout'
3935
- ]
3792
+ acceptedParams: {
3793
+ path: ['index', 'block'],
3794
+ body: [],
3795
+ query: ['allow_no_indices', 'expand_wildcards', 'ignore_unavailable', 'master_timeout', 'timeout']
3796
+ }
3936
3797
  };
3937
3798
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3938
3799
  }
@@ -3975,14 +3836,11 @@ class Indices {
3975
3836
  pathParts: {
3976
3837
  name: params.name
3977
3838
  },
3978
- acceptedParams: [
3979
- 'name',
3980
- 'allow_no_indices',
3981
- 'expand_wildcards',
3982
- 'ignore_throttled',
3983
- 'ignore_unavailable',
3984
- 'timeout'
3985
- ]
3839
+ acceptedParams: {
3840
+ path: ['name'],
3841
+ body: [],
3842
+ query: ['allow_no_indices', 'expand_wildcards', 'ignore_throttled', 'ignore_unavailable', 'timeout']
3843
+ }
3986
3844
  };
3987
3845
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3988
3846
  }
@@ -4028,14 +3886,11 @@ class Indices {
4028
3886
  pathParts: {
4029
3887
  name: params.name
4030
3888
  },
4031
- acceptedParams: [
4032
- 'name',
4033
- 'project_routing',
4034
- 'expand_wildcards',
4035
- 'ignore_unavailable',
4036
- 'allow_no_indices',
4037
- 'mode'
4038
- ]
3889
+ acceptedParams: {
3890
+ path: ['name'],
3891
+ body: ['project_routing'],
3892
+ query: ['expand_wildcards', 'ignore_unavailable', 'allow_no_indices', 'mode']
3893
+ }
4039
3894
  };
4040
3895
  return await this.transport.request({ path, method, querystring, body, meta }, options);
4041
3896
  }
@@ -4090,19 +3945,11 @@ class Indices {
4090
3945
  alias: params.alias,
4091
3946
  new_index: params.new_index
4092
3947
  },
4093
- acceptedParams: [
4094
- 'alias',
4095
- 'new_index',
4096
- 'aliases',
4097
- 'conditions',
4098
- 'mappings',
4099
- 'settings',
4100
- 'dry_run',
4101
- 'master_timeout',
4102
- 'timeout',
4103
- 'wait_for_active_shards',
4104
- 'lazy'
4105
- ]
3948
+ acceptedParams: {
3949
+ path: ['alias', 'new_index'],
3950
+ body: ['aliases', 'conditions', 'mappings', 'settings'],
3951
+ query: ['dry_run', 'master_timeout', 'timeout', 'wait_for_active_shards', 'lazy']
3952
+ }
4106
3953
  };
4107
3954
  return await this.transport.request({ path, method, querystring, body, meta }, options);
4108
3955
  }
@@ -4145,12 +3992,11 @@ class Indices {
4145
3992
  pathParts: {
4146
3993
  index: params.index
4147
3994
  },
4148
- acceptedParams: [
4149
- 'index',
4150
- 'allow_no_indices',
4151
- 'expand_wildcards',
4152
- 'ignore_unavailable'
4153
- ]
3995
+ acceptedParams: {
3996
+ path: ['index'],
3997
+ body: [],
3998
+ query: ['allow_no_indices', 'expand_wildcards', 'ignore_unavailable']
3999
+ }
4154
4000
  };
4155
4001
  return await this.transport.request({ path, method, querystring, body, meta }, options);
4156
4002
  }
@@ -4193,13 +4039,11 @@ class Indices {
4193
4039
  pathParts: {
4194
4040
  index: params.index
4195
4041
  },
4196
- acceptedParams: [
4197
- 'index',
4198
- 'allow_no_indices',
4199
- 'expand_wildcards',
4200
- 'ignore_unavailable',
4201
- 'status'
4202
- ]
4042
+ acceptedParams: {
4043
+ path: ['index'],
4044
+ body: [],
4045
+ query: ['allow_no_indices', 'expand_wildcards', 'ignore_unavailable', 'status']
4046
+ }
4203
4047
  };
4204
4048
  return await this.transport.request({ path, method, querystring, body, meta }, options);
4205
4049
  }
@@ -4246,15 +4090,11 @@ class Indices {
4246
4090
  index: params.index,
4247
4091
  target: params.target
4248
4092
  },
4249
- acceptedParams: [
4250
- 'index',
4251
- 'target',
4252
- 'aliases',
4253
- 'settings',
4254
- 'master_timeout',
4255
- 'timeout',
4256
- 'wait_for_active_shards'
4257
- ]
4093
+ acceptedParams: {
4094
+ path: ['index', 'target'],
4095
+ body: ['aliases', 'settings'],
4096
+ query: ['master_timeout', 'timeout', 'wait_for_active_shards']
4097
+ }
4258
4098
  };
4259
4099
  return await this.transport.request({ path, method, querystring, body, meta }, options);
4260
4100
  }
@@ -4291,14 +4131,11 @@ class Indices {
4291
4131
  pathParts: {
4292
4132
  name: params.name
4293
4133
  },
4294
- acceptedParams: [
4295
- 'name',
4296
- 'index_template',
4297
- 'create',
4298
- 'cause',
4299
- 'master_timeout',
4300
- 'include_defaults'
4301
- ]
4134
+ acceptedParams: {
4135
+ path: ['name'],
4136
+ body: ['index_template'],
4137
+ query: ['create', 'cause', 'master_timeout', 'include_defaults']
4138
+ }
4302
4139
  };
4303
4140
  return await this.transport.request({ path, method, querystring, body, meta }, options);
4304
4141
  }
@@ -4353,23 +4190,11 @@ class Indices {
4353
4190
  pathParts: {
4354
4191
  name: params.name
4355
4192
  },
4356
- acceptedParams: [
4357
- 'name',
4358
- 'allow_auto_create',
4359
- 'index_patterns',
4360
- 'composed_of',
4361
- 'template',
4362
- 'data_stream',
4363
- 'priority',
4364
- 'version',
4365
- '_meta',
4366
- 'ignore_missing_component_templates',
4367
- 'deprecated',
4368
- 'create',
4369
- 'cause',
4370
- 'master_timeout',
4371
- 'include_defaults'
4372
- ]
4193
+ acceptedParams: {
4194
+ path: ['name'],
4195
+ body: ['allow_auto_create', 'index_patterns', 'composed_of', 'template', 'data_stream', 'priority', 'version', '_meta', 'ignore_missing_component_templates', 'deprecated'],
4196
+ query: ['create', 'cause', 'master_timeout', 'include_defaults']
4197
+ }
4373
4198
  };
4374
4199
  return await this.transport.request({ path, method, querystring, body, meta }, options);
4375
4200
  }
@@ -4416,15 +4241,11 @@ class Indices {
4416
4241
  index: params.index,
4417
4242
  target: params.target
4418
4243
  },
4419
- acceptedParams: [
4420
- 'index',
4421
- 'target',
4422
- 'aliases',
4423
- 'settings',
4424
- 'master_timeout',
4425
- 'timeout',
4426
- 'wait_for_active_shards'
4427
- ]
4244
+ acceptedParams: {
4245
+ path: ['index', 'target'],
4246
+ body: ['aliases', 'settings'],
4247
+ query: ['master_timeout', 'timeout', 'wait_for_active_shards']
4248
+ }
4428
4249
  };
4429
4250
  return await this.transport.request({ path, method, querystring, body, meta }, options);
4430
4251
  }
@@ -4476,19 +4297,11 @@ class Indices {
4476
4297
  metric: params.metric,
4477
4298
  index: params.index
4478
4299
  },
4479
- acceptedParams: [
4480
- 'metric',
4481
- 'index',
4482
- 'completion_fields',
4483
- 'expand_wildcards',
4484
- 'fielddata_fields',
4485
- 'fields',
4486
- 'forbid_closed_indices',
4487
- 'groups',
4488
- 'include_segment_file_sizes',
4489
- 'include_unloaded_segments',
4490
- 'level'
4491
- ]
4300
+ acceptedParams: {
4301
+ path: ['metric', 'index'],
4302
+ body: [],
4303
+ query: ['completion_fields', 'expand_wildcards', 'fielddata_fields', 'fields', 'forbid_closed_indices', 'groups', 'include_segment_file_sizes', 'include_unloaded_segments', 'level']
4304
+ }
4492
4305
  };
4493
4306
  return await this.transport.request({ path, method, querystring, body, meta }, options);
4494
4307
  }
@@ -4532,11 +4345,11 @@ class Indices {
4532
4345
  const path = '/_aliases';
4533
4346
  const meta = {
4534
4347
  name: 'indices.update_aliases',
4535
- acceptedParams: [
4536
- 'actions',
4537
- 'master_timeout',
4538
- 'timeout'
4539
- ]
4348
+ acceptedParams: {
4349
+ path: [],
4350
+ body: ['actions'],
4351
+ query: ['master_timeout', 'timeout']
4352
+ }
4540
4353
  };
4541
4354
  return await this.transport.request({ path, method, querystring, body, meta }, options);
4542
4355
  }
@@ -4591,22 +4404,11 @@ class Indices {
4591
4404
  pathParts: {
4592
4405
  index: params.index
4593
4406
  },
4594
- acceptedParams: [
4595
- 'index',
4596
- 'query',
4597
- 'allow_no_indices',
4598
- 'all_shards',
4599
- 'analyzer',
4600
- 'analyze_wildcard',
4601
- 'default_operator',
4602
- 'df',
4603
- 'expand_wildcards',
4604
- 'explain',
4605
- 'ignore_unavailable',
4606
- 'lenient',
4607
- 'rewrite',
4608
- 'q'
4609
- ]
4407
+ acceptedParams: {
4408
+ path: ['index'],
4409
+ body: ['query'],
4410
+ query: ['allow_no_indices', 'all_shards', 'analyzer', 'analyze_wildcard', 'default_operator', 'df', 'expand_wildcards', 'explain', 'ignore_unavailable', 'lenient', 'rewrite', 'q']
4411
+ }
4610
4412
  };
4611
4413
  return await this.transport.request({ path, method, querystring, body, meta }, options);
4612
4414
  }