@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
@@ -1036,15 +1036,11 @@ class Indices {
1036
1036
  index: params.index,
1037
1037
  block: params.block
1038
1038
  },
1039
- acceptedParams: [
1040
- 'index',
1041
- 'block',
1042
- 'allow_no_indices',
1043
- 'expand_wildcards',
1044
- 'ignore_unavailable',
1045
- 'master_timeout',
1046
- 'timeout'
1047
- ]
1039
+ acceptedParams: {
1040
+ path: ['index', 'block'],
1041
+ body: [],
1042
+ query: ['allow_no_indices', 'expand_wildcards', 'ignore_unavailable', 'master_timeout', 'timeout']
1043
+ }
1048
1044
  };
1049
1045
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1050
1046
  }
@@ -1099,19 +1095,11 @@ class Indices {
1099
1095
  pathParts: {
1100
1096
  index: params.index
1101
1097
  },
1102
- acceptedParams: [
1103
- 'index',
1104
- 'analyzer',
1105
- 'attributes',
1106
- 'char_filter',
1107
- 'explain',
1108
- 'field',
1109
- 'filter',
1110
- 'normalizer',
1111
- 'text',
1112
- 'tokenizer',
1113
- 'index'
1114
- ]
1098
+ acceptedParams: {
1099
+ path: ['index'],
1100
+ body: ['analyzer', 'attributes', 'char_filter', 'explain', 'field', 'filter', 'normalizer', 'text', 'tokenizer'],
1101
+ query: ['index']
1102
+ }
1115
1103
  };
1116
1104
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1117
1105
  }
@@ -1145,9 +1133,11 @@ class Indices {
1145
1133
  pathParts: {
1146
1134
  index: params.index
1147
1135
  },
1148
- acceptedParams: [
1149
- 'index'
1150
- ]
1136
+ acceptedParams: {
1137
+ path: ['index'],
1138
+ body: [],
1139
+ query: []
1140
+ }
1151
1141
  };
1152
1142
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1153
1143
  }
@@ -1190,17 +1180,11 @@ class Indices {
1190
1180
  pathParts: {
1191
1181
  index: params.index
1192
1182
  },
1193
- acceptedParams: [
1194
- 'index',
1195
- 'index',
1196
- 'allow_no_indices',
1197
- 'expand_wildcards',
1198
- 'fielddata',
1199
- 'fields',
1200
- 'ignore_unavailable',
1201
- 'query',
1202
- 'request'
1203
- ]
1183
+ acceptedParams: {
1184
+ path: ['index'],
1185
+ body: [],
1186
+ query: ['index', 'allow_no_indices', 'expand_wildcards', 'fielddata', 'fields', 'ignore_unavailable', 'query', 'request']
1187
+ }
1204
1188
  };
1205
1189
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1206
1190
  }
@@ -1247,15 +1231,11 @@ class Indices {
1247
1231
  index: params.index,
1248
1232
  target: params.target
1249
1233
  },
1250
- acceptedParams: [
1251
- 'index',
1252
- 'target',
1253
- 'aliases',
1254
- 'settings',
1255
- 'master_timeout',
1256
- 'timeout',
1257
- 'wait_for_active_shards'
1258
- ]
1234
+ acceptedParams: {
1235
+ path: ['index', 'target'],
1236
+ body: ['aliases', 'settings'],
1237
+ query: ['master_timeout', 'timeout', 'wait_for_active_shards']
1238
+ }
1259
1239
  };
1260
1240
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1261
1241
  }
@@ -1289,15 +1269,11 @@ class Indices {
1289
1269
  pathParts: {
1290
1270
  index: params.index
1291
1271
  },
1292
- acceptedParams: [
1293
- 'index',
1294
- 'allow_no_indices',
1295
- 'expand_wildcards',
1296
- 'ignore_unavailable',
1297
- 'master_timeout',
1298
- 'timeout',
1299
- 'wait_for_active_shards'
1300
- ]
1272
+ acceptedParams: {
1273
+ path: ['index'],
1274
+ body: [],
1275
+ query: ['allow_no_indices', 'expand_wildcards', 'ignore_unavailable', 'master_timeout', 'timeout', 'wait_for_active_shards']
1276
+ }
1301
1277
  };
1302
1278
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1303
1279
  }
@@ -1343,15 +1319,11 @@ class Indices {
1343
1319
  pathParts: {
1344
1320
  index: params.index
1345
1321
  },
1346
- acceptedParams: [
1347
- 'index',
1348
- 'aliases',
1349
- 'mappings',
1350
- 'settings',
1351
- 'master_timeout',
1352
- 'timeout',
1353
- 'wait_for_active_shards'
1354
- ]
1322
+ acceptedParams: {
1323
+ path: ['index'],
1324
+ body: ['aliases', 'mappings', 'settings'],
1325
+ query: ['master_timeout', 'timeout', 'wait_for_active_shards']
1326
+ }
1355
1327
  };
1356
1328
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1357
1329
  }
@@ -1385,11 +1357,11 @@ class Indices {
1385
1357
  pathParts: {
1386
1358
  name: params.name
1387
1359
  },
1388
- acceptedParams: [
1389
- 'name',
1390
- 'master_timeout',
1391
- 'timeout'
1392
- ]
1360
+ acceptedParams: {
1361
+ path: ['name'],
1362
+ body: [],
1363
+ query: ['master_timeout', 'timeout']
1364
+ }
1393
1365
  };
1394
1366
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1395
1367
  }
@@ -1427,11 +1399,11 @@ class Indices {
1427
1399
  source: params.source,
1428
1400
  dest: params.dest
1429
1401
  },
1430
- acceptedParams: [
1431
- 'source',
1432
- 'dest',
1433
- 'create_from'
1434
- ]
1402
+ acceptedParams: {
1403
+ path: ['source', 'dest'],
1404
+ body: ['create_from'],
1405
+ query: []
1406
+ }
1435
1407
  };
1436
1408
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1437
1409
  }
@@ -1474,10 +1446,11 @@ class Indices {
1474
1446
  pathParts: {
1475
1447
  name: params.name
1476
1448
  },
1477
- acceptedParams: [
1478
- 'name',
1479
- 'expand_wildcards'
1480
- ]
1449
+ acceptedParams: {
1450
+ path: ['name'],
1451
+ body: [],
1452
+ query: ['expand_wildcards']
1453
+ }
1481
1454
  };
1482
1455
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1483
1456
  }
@@ -1511,14 +1484,11 @@ class Indices {
1511
1484
  pathParts: {
1512
1485
  index: params.index
1513
1486
  },
1514
- acceptedParams: [
1515
- 'index',
1516
- 'allow_no_indices',
1517
- 'expand_wildcards',
1518
- 'ignore_unavailable',
1519
- 'master_timeout',
1520
- 'timeout'
1521
- ]
1487
+ acceptedParams: {
1488
+ path: ['index'],
1489
+ body: [],
1490
+ query: ['allow_no_indices', 'expand_wildcards', 'ignore_unavailable', 'master_timeout', 'timeout']
1491
+ }
1522
1492
  };
1523
1493
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1524
1494
  }
@@ -1561,12 +1531,11 @@ class Indices {
1561
1531
  index: params.index,
1562
1532
  name: params.name
1563
1533
  },
1564
- acceptedParams: [
1565
- 'index',
1566
- 'name',
1567
- 'master_timeout',
1568
- 'timeout'
1569
- ]
1534
+ acceptedParams: {
1535
+ path: ['index', 'name'],
1536
+ body: [],
1537
+ query: ['master_timeout', 'timeout']
1538
+ }
1570
1539
  };
1571
1540
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1572
1541
  }
@@ -1600,12 +1569,11 @@ class Indices {
1600
1569
  pathParts: {
1601
1570
  name: params.name
1602
1571
  },
1603
- acceptedParams: [
1604
- 'name',
1605
- 'expand_wildcards',
1606
- 'master_timeout',
1607
- 'timeout'
1608
- ]
1572
+ acceptedParams: {
1573
+ path: ['name'],
1574
+ body: [],
1575
+ query: ['expand_wildcards', 'master_timeout', 'timeout']
1576
+ }
1609
1577
  };
1610
1578
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1611
1579
  }
@@ -1639,11 +1607,11 @@ class Indices {
1639
1607
  pathParts: {
1640
1608
  name: params.name
1641
1609
  },
1642
- acceptedParams: [
1643
- 'name',
1644
- 'master_timeout',
1645
- 'expand_wildcards'
1646
- ]
1610
+ acceptedParams: {
1611
+ path: ['name'],
1612
+ body: [],
1613
+ query: ['master_timeout', 'expand_wildcards']
1614
+ }
1647
1615
  };
1648
1616
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1649
1617
  }
@@ -1677,12 +1645,11 @@ class Indices {
1677
1645
  pathParts: {
1678
1646
  name: params.name
1679
1647
  },
1680
- acceptedParams: [
1681
- 'name',
1682
- 'expand_wildcards',
1683
- 'master_timeout',
1684
- 'timeout'
1685
- ]
1648
+ acceptedParams: {
1649
+ path: ['name'],
1650
+ body: [],
1651
+ query: ['expand_wildcards', 'master_timeout', 'timeout']
1652
+ }
1686
1653
  };
1687
1654
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1688
1655
  }
@@ -1716,11 +1683,11 @@ class Indices {
1716
1683
  pathParts: {
1717
1684
  name: params.name
1718
1685
  },
1719
- acceptedParams: [
1720
- 'name',
1721
- 'master_timeout',
1722
- 'timeout'
1723
- ]
1686
+ acceptedParams: {
1687
+ path: ['name'],
1688
+ body: [],
1689
+ query: ['master_timeout', 'timeout']
1690
+ }
1724
1691
  };
1725
1692
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1726
1693
  }
@@ -1754,11 +1721,11 @@ class Indices {
1754
1721
  pathParts: {
1755
1722
  index: params.index
1756
1723
  },
1757
- acceptedParams: [
1758
- 'index',
1759
- 'master_timeout',
1760
- 'timeout'
1761
- ]
1724
+ acceptedParams: {
1725
+ path: ['index'],
1726
+ body: [],
1727
+ query: ['master_timeout', 'timeout']
1728
+ }
1762
1729
  };
1763
1730
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1764
1731
  }
@@ -1792,11 +1759,11 @@ class Indices {
1792
1759
  pathParts: {
1793
1760
  name: params.name
1794
1761
  },
1795
- acceptedParams: [
1796
- 'name',
1797
- 'master_timeout',
1798
- 'timeout'
1799
- ]
1762
+ acceptedParams: {
1763
+ path: ['name'],
1764
+ body: [],
1765
+ query: ['master_timeout', 'timeout']
1766
+ }
1800
1767
  };
1801
1768
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1802
1769
  }
@@ -1830,14 +1797,11 @@ class Indices {
1830
1797
  pathParts: {
1831
1798
  index: params.index
1832
1799
  },
1833
- acceptedParams: [
1834
- 'index',
1835
- 'allow_no_indices',
1836
- 'expand_wildcards',
1837
- 'flush',
1838
- 'ignore_unavailable',
1839
- 'run_expensive_tasks'
1840
- ]
1800
+ acceptedParams: {
1801
+ path: ['index'],
1802
+ body: [],
1803
+ query: ['allow_no_indices', 'expand_wildcards', 'flush', 'ignore_unavailable', 'run_expensive_tasks']
1804
+ }
1841
1805
  };
1842
1806
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1843
1807
  }
@@ -1875,11 +1839,11 @@ class Indices {
1875
1839
  index: params.index,
1876
1840
  target_index: params.target_index
1877
1841
  },
1878
- acceptedParams: [
1879
- 'index',
1880
- 'target_index',
1881
- 'config'
1882
- ]
1842
+ acceptedParams: {
1843
+ path: ['index', 'target_index'],
1844
+ body: ['config'],
1845
+ query: []
1846
+ }
1883
1847
  };
1884
1848
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1885
1849
  }
@@ -1913,15 +1877,11 @@ class Indices {
1913
1877
  pathParts: {
1914
1878
  index: params.index
1915
1879
  },
1916
- acceptedParams: [
1917
- 'index',
1918
- 'allow_no_indices',
1919
- 'expand_wildcards',
1920
- 'flat_settings',
1921
- 'ignore_unavailable',
1922
- 'include_defaults',
1923
- 'local'
1924
- ]
1880
+ acceptedParams: {
1881
+ path: ['index'],
1882
+ body: [],
1883
+ query: ['allow_no_indices', 'expand_wildcards', 'flat_settings', 'ignore_unavailable', 'include_defaults', 'local']
1884
+ }
1925
1885
  };
1926
1886
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1927
1887
  }
@@ -1964,14 +1924,11 @@ class Indices {
1964
1924
  name: params.name,
1965
1925
  index: params.index
1966
1926
  },
1967
- acceptedParams: [
1968
- 'name',
1969
- 'index',
1970
- 'allow_no_indices',
1971
- 'expand_wildcards',
1972
- 'ignore_unavailable',
1973
- 'master_timeout'
1974
- ]
1927
+ acceptedParams: {
1928
+ path: ['name', 'index'],
1929
+ body: [],
1930
+ query: ['allow_no_indices', 'expand_wildcards', 'ignore_unavailable', 'master_timeout']
1931
+ }
1975
1932
  };
1976
1933
  return await this.transport.request({ path, method, querystring, body, meta }, options);
1977
1934
  }
@@ -2005,12 +1962,11 @@ class Indices {
2005
1962
  pathParts: {
2006
1963
  name: params.name
2007
1964
  },
2008
- acceptedParams: [
2009
- 'name',
2010
- 'local',
2011
- 'flat_settings',
2012
- 'master_timeout'
2013
- ]
1965
+ acceptedParams: {
1966
+ path: ['name'],
1967
+ body: [],
1968
+ query: ['local', 'flat_settings', 'master_timeout']
1969
+ }
2014
1970
  };
2015
1971
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2016
1972
  }
@@ -2044,12 +2000,11 @@ class Indices {
2044
2000
  pathParts: {
2045
2001
  name: params.name
2046
2002
  },
2047
- acceptedParams: [
2048
- 'name',
2049
- 'flat_settings',
2050
- 'local',
2051
- 'master_timeout'
2052
- ]
2003
+ acceptedParams: {
2004
+ path: ['name'],
2005
+ body: [],
2006
+ query: ['flat_settings', 'local', 'master_timeout']
2007
+ }
2053
2008
  };
2054
2009
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2055
2010
  }
@@ -2083,11 +2038,11 @@ class Indices {
2083
2038
  pathParts: {
2084
2039
  index: params.index
2085
2040
  },
2086
- acceptedParams: [
2087
- 'index',
2088
- 'include_defaults',
2089
- 'master_timeout'
2090
- ]
2041
+ acceptedParams: {
2042
+ path: ['index'],
2043
+ body: [],
2044
+ query: ['include_defaults', 'master_timeout']
2045
+ }
2091
2046
  };
2092
2047
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2093
2048
  }
@@ -2121,13 +2076,11 @@ class Indices {
2121
2076
  pathParts: {
2122
2077
  index: params.index
2123
2078
  },
2124
- acceptedParams: [
2125
- 'index',
2126
- 'allow_no_indices',
2127
- 'expand_wildcards',
2128
- 'ignore_unavailable',
2129
- 'fields'
2130
- ]
2079
+ acceptedParams: {
2080
+ path: ['index'],
2081
+ body: [],
2082
+ query: ['allow_no_indices', 'expand_wildcards', 'ignore_unavailable', 'fields']
2083
+ }
2131
2084
  };
2132
2085
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2133
2086
  }
@@ -2170,14 +2123,11 @@ class Indices {
2170
2123
  pathParts: {
2171
2124
  index: params.index
2172
2125
  },
2173
- acceptedParams: [
2174
- 'index',
2175
- 'allow_no_indices',
2176
- 'expand_wildcards',
2177
- 'force',
2178
- 'ignore_unavailable',
2179
- 'wait_if_ongoing'
2180
- ]
2126
+ acceptedParams: {
2127
+ path: ['index'],
2128
+ body: [],
2129
+ query: ['allow_no_indices', 'expand_wildcards', 'force', 'ignore_unavailable', 'wait_if_ongoing']
2130
+ }
2181
2131
  };
2182
2132
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2183
2133
  }
@@ -2220,16 +2170,11 @@ class Indices {
2220
2170
  pathParts: {
2221
2171
  index: params.index
2222
2172
  },
2223
- acceptedParams: [
2224
- 'index',
2225
- 'allow_no_indices',
2226
- 'expand_wildcards',
2227
- 'flush',
2228
- 'ignore_unavailable',
2229
- 'max_num_segments',
2230
- 'only_expunge_deletes',
2231
- 'wait_for_completion'
2232
- ]
2173
+ acceptedParams: {
2174
+ path: ['index'],
2175
+ body: [],
2176
+ query: ['allow_no_indices', 'expand_wildcards', 'flush', 'ignore_unavailable', 'max_num_segments', 'only_expunge_deletes', 'wait_for_completion']
2177
+ }
2233
2178
  };
2234
2179
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2235
2180
  }
@@ -2263,17 +2208,11 @@ class Indices {
2263
2208
  pathParts: {
2264
2209
  index: params.index
2265
2210
  },
2266
- acceptedParams: [
2267
- 'index',
2268
- 'allow_no_indices',
2269
- 'expand_wildcards',
2270
- 'flat_settings',
2271
- 'ignore_unavailable',
2272
- 'include_defaults',
2273
- 'local',
2274
- 'master_timeout',
2275
- 'features'
2276
- ]
2211
+ acceptedParams: {
2212
+ path: ['index'],
2213
+ body: [],
2214
+ query: ['allow_no_indices', 'expand_wildcards', 'flat_settings', 'ignore_unavailable', 'include_defaults', 'local', 'master_timeout', 'features']
2215
+ }
2277
2216
  };
2278
2217
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2279
2218
  }
@@ -2325,14 +2264,11 @@ class Indices {
2325
2264
  name: params.name,
2326
2265
  index: params.index
2327
2266
  },
2328
- acceptedParams: [
2329
- 'name',
2330
- 'index',
2331
- 'allow_no_indices',
2332
- 'expand_wildcards',
2333
- 'ignore_unavailable',
2334
- 'master_timeout'
2335
- ]
2267
+ acceptedParams: {
2268
+ path: ['name', 'index'],
2269
+ body: [],
2270
+ query: ['allow_no_indices', 'expand_wildcards', 'ignore_unavailable', 'master_timeout']
2271
+ }
2336
2272
  };
2337
2273
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2338
2274
  }
@@ -2364,9 +2300,11 @@ class Indices {
2364
2300
  const path = '/_sample/config';
2365
2301
  const meta = {
2366
2302
  name: 'indices.get_all_sample_configuration',
2367
- acceptedParams: [
2368
- 'master_timeout'
2369
- ]
2303
+ acceptedParams: {
2304
+ path: [],
2305
+ body: [],
2306
+ query: ['master_timeout']
2307
+ }
2370
2308
  };
2371
2309
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2372
2310
  }
@@ -2400,12 +2338,11 @@ class Indices {
2400
2338
  pathParts: {
2401
2339
  name: params.name
2402
2340
  },
2403
- acceptedParams: [
2404
- 'name',
2405
- 'expand_wildcards',
2406
- 'include_defaults',
2407
- 'master_timeout'
2408
- ]
2341
+ acceptedParams: {
2342
+ path: ['name'],
2343
+ body: [],
2344
+ query: ['expand_wildcards', 'include_defaults', 'master_timeout']
2345
+ }
2409
2346
  };
2410
2347
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2411
2348
  }
@@ -2437,7 +2374,11 @@ class Indices {
2437
2374
  const path = '/_lifecycle/stats';
2438
2375
  const meta = {
2439
2376
  name: 'indices.get_data_lifecycle_stats',
2440
- acceptedParams: []
2377
+ acceptedParams: {
2378
+ path: [],
2379
+ body: [],
2380
+ query: []
2381
+ }
2441
2382
  };
2442
2383
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2443
2384
  }
@@ -2480,13 +2421,11 @@ class Indices {
2480
2421
  pathParts: {
2481
2422
  name: params.name
2482
2423
  },
2483
- acceptedParams: [
2484
- 'name',
2485
- 'expand_wildcards',
2486
- 'include_defaults',
2487
- 'master_timeout',
2488
- 'verbose'
2489
- ]
2424
+ acceptedParams: {
2425
+ path: ['name'],
2426
+ body: [],
2427
+ query: ['expand_wildcards', 'include_defaults', 'master_timeout', 'verbose']
2428
+ }
2490
2429
  };
2491
2430
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2492
2431
  }
@@ -2520,10 +2459,11 @@ class Indices {
2520
2459
  pathParts: {
2521
2460
  name: params.name
2522
2461
  },
2523
- acceptedParams: [
2524
- 'name',
2525
- 'master_timeout'
2526
- ]
2462
+ acceptedParams: {
2463
+ path: ['name'],
2464
+ body: [],
2465
+ query: ['master_timeout']
2466
+ }
2527
2467
  };
2528
2468
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2529
2469
  }
@@ -2557,11 +2497,11 @@ class Indices {
2557
2497
  pathParts: {
2558
2498
  name: params.name
2559
2499
  },
2560
- acceptedParams: [
2561
- 'name',
2562
- 'expand_wildcards',
2563
- 'master_timeout'
2564
- ]
2500
+ acceptedParams: {
2501
+ path: ['name'],
2502
+ body: [],
2503
+ query: ['expand_wildcards', 'master_timeout']
2504
+ }
2565
2505
  };
2566
2506
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2567
2507
  }
@@ -2595,10 +2535,11 @@ class Indices {
2595
2535
  pathParts: {
2596
2536
  name: params.name
2597
2537
  },
2598
- acceptedParams: [
2599
- 'name',
2600
- 'master_timeout'
2601
- ]
2538
+ acceptedParams: {
2539
+ path: ['name'],
2540
+ body: [],
2541
+ query: ['master_timeout']
2542
+ }
2602
2543
  };
2603
2544
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2604
2545
  }
@@ -2641,14 +2582,11 @@ class Indices {
2641
2582
  fields: params.fields,
2642
2583
  index: params.index
2643
2584
  },
2644
- acceptedParams: [
2645
- 'fields',
2646
- 'index',
2647
- 'allow_no_indices',
2648
- 'expand_wildcards',
2649
- 'ignore_unavailable',
2650
- 'include_defaults'
2651
- ]
2585
+ acceptedParams: {
2586
+ path: ['fields', 'index'],
2587
+ body: [],
2588
+ query: ['allow_no_indices', 'expand_wildcards', 'ignore_unavailable', 'include_defaults']
2589
+ }
2652
2590
  };
2653
2591
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2654
2592
  }
@@ -2691,13 +2629,11 @@ class Indices {
2691
2629
  pathParts: {
2692
2630
  name: params.name
2693
2631
  },
2694
- acceptedParams: [
2695
- 'name',
2696
- 'local',
2697
- 'flat_settings',
2698
- 'master_timeout',
2699
- 'include_defaults'
2700
- ]
2632
+ acceptedParams: {
2633
+ path: ['name'],
2634
+ body: [],
2635
+ query: ['local', 'flat_settings', 'master_timeout', 'include_defaults']
2636
+ }
2701
2637
  };
2702
2638
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2703
2639
  }
@@ -2740,14 +2676,11 @@ class Indices {
2740
2676
  pathParts: {
2741
2677
  index: params.index
2742
2678
  },
2743
- acceptedParams: [
2744
- 'index',
2745
- 'allow_no_indices',
2746
- 'expand_wildcards',
2747
- 'ignore_unavailable',
2748
- 'local',
2749
- 'master_timeout'
2750
- ]
2679
+ acceptedParams: {
2680
+ path: ['index'],
2681
+ body: [],
2682
+ query: ['allow_no_indices', 'expand_wildcards', 'ignore_unavailable', 'local', 'master_timeout']
2683
+ }
2751
2684
  };
2752
2685
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2753
2686
  }
@@ -2781,9 +2714,11 @@ class Indices {
2781
2714
  pathParts: {
2782
2715
  index: params.index
2783
2716
  },
2784
- acceptedParams: [
2785
- 'index'
2786
- ]
2717
+ acceptedParams: {
2718
+ path: ['index'],
2719
+ body: [],
2720
+ query: []
2721
+ }
2787
2722
  };
2788
2723
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2789
2724
  }
@@ -2817,9 +2752,11 @@ class Indices {
2817
2752
  pathParts: {
2818
2753
  index: params.index
2819
2754
  },
2820
- acceptedParams: [
2821
- 'index'
2822
- ]
2755
+ acceptedParams: {
2756
+ path: ['index'],
2757
+ body: [],
2758
+ query: []
2759
+ }
2823
2760
  };
2824
2761
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2825
2762
  }
@@ -2853,10 +2790,11 @@ class Indices {
2853
2790
  pathParts: {
2854
2791
  index: params.index
2855
2792
  },
2856
- acceptedParams: [
2857
- 'index',
2858
- 'master_timeout'
2859
- ]
2793
+ acceptedParams: {
2794
+ path: ['index'],
2795
+ body: [],
2796
+ query: ['master_timeout']
2797
+ }
2860
2798
  };
2861
2799
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2862
2800
  }
@@ -2890,9 +2828,11 @@ class Indices {
2890
2828
  pathParts: {
2891
2829
  index: params.index
2892
2830
  },
2893
- acceptedParams: [
2894
- 'index'
2895
- ]
2831
+ acceptedParams: {
2832
+ path: ['index'],
2833
+ body: [],
2834
+ query: []
2835
+ }
2896
2836
  };
2897
2837
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2898
2838
  }
@@ -2944,17 +2884,11 @@ class Indices {
2944
2884
  index: params.index,
2945
2885
  name: params.name
2946
2886
  },
2947
- acceptedParams: [
2948
- 'index',
2949
- 'name',
2950
- 'allow_no_indices',
2951
- 'expand_wildcards',
2952
- 'flat_settings',
2953
- 'ignore_unavailable',
2954
- 'include_defaults',
2955
- 'local',
2956
- 'master_timeout'
2957
- ]
2887
+ acceptedParams: {
2888
+ path: ['index', 'name'],
2889
+ body: [],
2890
+ query: ['allow_no_indices', 'expand_wildcards', 'flat_settings', 'ignore_unavailable', 'include_defaults', 'local', 'master_timeout']
2891
+ }
2958
2892
  };
2959
2893
  return await this.transport.request({ path, method, querystring, body, meta }, options);
2960
2894
  }
@@ -2997,12 +2931,11 @@ class Indices {
2997
2931
  pathParts: {
2998
2932
  name: params.name
2999
2933
  },
3000
- acceptedParams: [
3001
- 'name',
3002
- 'flat_settings',
3003
- 'local',
3004
- 'master_timeout'
3005
- ]
2934
+ acceptedParams: {
2935
+ path: ['name'],
2936
+ body: [],
2937
+ query: ['flat_settings', 'local', 'master_timeout']
2938
+ }
3006
2939
  };
3007
2940
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3008
2941
  }
@@ -3036,9 +2969,11 @@ class Indices {
3036
2969
  const path = '/_migration/reindex';
3037
2970
  const meta = {
3038
2971
  name: 'indices.migrate_reindex',
3039
- acceptedParams: [
3040
- 'reindex'
3041
- ]
2972
+ acceptedParams: {
2973
+ path: [],
2974
+ body: ['reindex'],
2975
+ query: []
2976
+ }
3042
2977
  };
3043
2978
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3044
2979
  }
@@ -3072,11 +3007,11 @@ class Indices {
3072
3007
  pathParts: {
3073
3008
  name: params.name
3074
3009
  },
3075
- acceptedParams: [
3076
- 'name',
3077
- 'master_timeout',
3078
- 'timeout'
3079
- ]
3010
+ acceptedParams: {
3011
+ path: ['name'],
3012
+ body: [],
3013
+ query: ['master_timeout', 'timeout']
3014
+ }
3080
3015
  };
3081
3016
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3082
3017
  }
@@ -3119,9 +3054,11 @@ class Indices {
3119
3054
  const path = '/_data_stream/_modify';
3120
3055
  const meta = {
3121
3056
  name: 'indices.modify_data_stream',
3122
- acceptedParams: [
3123
- 'actions'
3124
- ]
3057
+ acceptedParams: {
3058
+ path: [],
3059
+ body: ['actions'],
3060
+ query: []
3061
+ }
3125
3062
  };
3126
3063
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3127
3064
  }
@@ -3155,15 +3092,11 @@ class Indices {
3155
3092
  pathParts: {
3156
3093
  index: params.index
3157
3094
  },
3158
- acceptedParams: [
3159
- 'index',
3160
- 'allow_no_indices',
3161
- 'expand_wildcards',
3162
- 'ignore_unavailable',
3163
- 'master_timeout',
3164
- 'timeout',
3165
- 'wait_for_active_shards'
3166
- ]
3095
+ acceptedParams: {
3096
+ path: ['index'],
3097
+ body: [],
3098
+ query: ['allow_no_indices', 'expand_wildcards', 'ignore_unavailable', 'master_timeout', 'timeout', 'wait_for_active_shards']
3099
+ }
3167
3100
  };
3168
3101
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3169
3102
  }
@@ -3197,10 +3130,11 @@ class Indices {
3197
3130
  pathParts: {
3198
3131
  name: params.name
3199
3132
  },
3200
- acceptedParams: [
3201
- 'name',
3202
- 'master_timeout'
3203
- ]
3133
+ acceptedParams: {
3134
+ path: ['name'],
3135
+ body: [],
3136
+ query: ['master_timeout']
3137
+ }
3204
3138
  };
3205
3139
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3206
3140
  }
@@ -3255,17 +3189,11 @@ class Indices {
3255
3189
  index: params.index,
3256
3190
  name: params.name
3257
3191
  },
3258
- acceptedParams: [
3259
- 'index',
3260
- 'name',
3261
- 'filter',
3262
- 'index_routing',
3263
- 'is_write_index',
3264
- 'routing',
3265
- 'search_routing',
3266
- 'master_timeout',
3267
- 'timeout'
3268
- ]
3192
+ acceptedParams: {
3193
+ path: ['index', 'name'],
3194
+ body: ['filter', 'index_routing', 'is_write_index', 'routing', 'search_routing'],
3195
+ query: ['master_timeout', 'timeout']
3196
+ }
3269
3197
  };
3270
3198
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3271
3199
  }
@@ -3311,16 +3239,11 @@ class Indices {
3311
3239
  pathParts: {
3312
3240
  name: params.name
3313
3241
  },
3314
- acceptedParams: [
3315
- 'name',
3316
- 'data_retention',
3317
- 'downsampling',
3318
- 'downsampling_method',
3319
- 'enabled',
3320
- 'expand_wildcards',
3321
- 'master_timeout',
3322
- 'timeout'
3323
- ]
3242
+ acceptedParams: {
3243
+ path: ['name'],
3244
+ body: ['data_retention', 'downsampling', 'downsampling_method', 'enabled'],
3245
+ query: ['expand_wildcards', 'master_timeout', 'timeout']
3246
+ }
3324
3247
  };
3325
3248
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3326
3249
  }
@@ -3357,13 +3280,11 @@ class Indices {
3357
3280
  pathParts: {
3358
3281
  name: params.name
3359
3282
  },
3360
- acceptedParams: [
3361
- 'name',
3362
- 'mappings',
3363
- 'dry_run',
3364
- 'master_timeout',
3365
- 'timeout'
3366
- ]
3283
+ acceptedParams: {
3284
+ path: ['name'],
3285
+ body: ['mappings'],
3286
+ query: ['dry_run', 'master_timeout', 'timeout']
3287
+ }
3367
3288
  };
3368
3289
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3369
3290
  }
@@ -3409,13 +3330,11 @@ class Indices {
3409
3330
  pathParts: {
3410
3331
  name: params.name
3411
3332
  },
3412
- acceptedParams: [
3413
- 'name',
3414
- 'failure_store',
3415
- 'expand_wildcards',
3416
- 'master_timeout',
3417
- 'timeout'
3418
- ]
3333
+ acceptedParams: {
3334
+ path: ['name'],
3335
+ body: ['failure_store'],
3336
+ query: ['expand_wildcards', 'master_timeout', 'timeout']
3337
+ }
3419
3338
  };
3420
3339
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3421
3340
  }
@@ -3452,13 +3371,11 @@ class Indices {
3452
3371
  pathParts: {
3453
3372
  name: params.name
3454
3373
  },
3455
- acceptedParams: [
3456
- 'name',
3457
- 'settings',
3458
- 'dry_run',
3459
- 'master_timeout',
3460
- 'timeout'
3461
- ]
3374
+ acceptedParams: {
3375
+ path: ['name'],
3376
+ body: ['settings'],
3377
+ query: ['dry_run', 'master_timeout', 'timeout']
3378
+ }
3462
3379
  };
3463
3380
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3464
3381
  }
@@ -3504,22 +3421,11 @@ class Indices {
3504
3421
  pathParts: {
3505
3422
  name: params.name
3506
3423
  },
3507
- acceptedParams: [
3508
- 'name',
3509
- 'index_patterns',
3510
- 'composed_of',
3511
- 'template',
3512
- 'data_stream',
3513
- 'priority',
3514
- 'version',
3515
- '_meta',
3516
- 'allow_auto_create',
3517
- 'ignore_missing_component_templates',
3518
- 'deprecated',
3519
- 'create',
3520
- 'master_timeout',
3521
- 'cause'
3522
- ]
3424
+ acceptedParams: {
3425
+ path: ['name'],
3426
+ body: ['index_patterns', 'composed_of', 'template', 'data_stream', 'priority', 'version', '_meta', 'allow_auto_create', 'ignore_missing_component_templates', 'deprecated'],
3427
+ query: ['create', 'master_timeout', 'cause']
3428
+ }
3523
3429
  };
3524
3430
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3525
3431
  }
@@ -3565,26 +3471,11 @@ class Indices {
3565
3471
  pathParts: {
3566
3472
  index: params.index
3567
3473
  },
3568
- acceptedParams: [
3569
- 'index',
3570
- 'date_detection',
3571
- 'dynamic',
3572
- 'dynamic_date_formats',
3573
- 'dynamic_templates',
3574
- '_field_names',
3575
- '_meta',
3576
- 'numeric_detection',
3577
- 'properties',
3578
- '_routing',
3579
- '_source',
3580
- 'runtime',
3581
- 'allow_no_indices',
3582
- 'expand_wildcards',
3583
- 'ignore_unavailable',
3584
- 'master_timeout',
3585
- 'timeout',
3586
- 'write_index_only'
3587
- ]
3474
+ acceptedParams: {
3475
+ path: ['index'],
3476
+ body: ['date_detection', 'dynamic', 'dynamic_date_formats', 'dynamic_templates', '_field_names', '_meta', 'numeric_detection', 'properties', '_routing', '_source', 'runtime'],
3477
+ query: ['allow_no_indices', 'expand_wildcards', 'ignore_unavailable', 'master_timeout', 'timeout', 'write_index_only']
3478
+ }
3588
3479
  };
3589
3480
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3590
3481
  }
@@ -3630,16 +3521,11 @@ class Indices {
3630
3521
  pathParts: {
3631
3522
  index: params.index
3632
3523
  },
3633
- acceptedParams: [
3634
- 'index',
3635
- 'rate',
3636
- 'max_samples',
3637
- 'max_size',
3638
- 'time_to_live',
3639
- 'if',
3640
- 'master_timeout',
3641
- 'timeout'
3642
- ]
3524
+ acceptedParams: {
3525
+ path: ['index'],
3526
+ body: ['rate', 'max_samples', 'max_size', 'time_to_live', 'if'],
3527
+ query: ['master_timeout', 'timeout']
3528
+ }
3643
3529
  };
3644
3530
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3645
3531
  }
@@ -3684,18 +3570,11 @@ class Indices {
3684
3570
  pathParts: {
3685
3571
  index: params.index
3686
3572
  },
3687
- acceptedParams: [
3688
- 'index',
3689
- 'settings',
3690
- 'allow_no_indices',
3691
- 'expand_wildcards',
3692
- 'flat_settings',
3693
- 'ignore_unavailable',
3694
- 'master_timeout',
3695
- 'preserve_existing',
3696
- 'reopen',
3697
- 'timeout'
3698
- ]
3573
+ acceptedParams: {
3574
+ path: ['index'],
3575
+ body: ['settings'],
3576
+ query: ['allow_no_indices', 'expand_wildcards', 'flat_settings', 'ignore_unavailable', 'master_timeout', 'preserve_existing', 'reopen', 'timeout']
3577
+ }
3699
3578
  };
3700
3579
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3701
3580
  }
@@ -3741,19 +3620,11 @@ class Indices {
3741
3620
  pathParts: {
3742
3621
  name: params.name
3743
3622
  },
3744
- acceptedParams: [
3745
- 'name',
3746
- 'aliases',
3747
- 'index_patterns',
3748
- 'mappings',
3749
- 'order',
3750
- 'settings',
3751
- 'version',
3752
- 'create',
3753
- 'master_timeout',
3754
- 'order',
3755
- 'cause'
3756
- ]
3623
+ acceptedParams: {
3624
+ path: ['name'],
3625
+ body: ['aliases', 'index_patterns', 'mappings', 'order', 'settings', 'version'],
3626
+ query: ['create', 'master_timeout', 'order', 'cause']
3627
+ }
3757
3628
  };
3758
3629
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3759
3630
  }
@@ -3796,14 +3667,11 @@ class Indices {
3796
3667
  pathParts: {
3797
3668
  index: params.index
3798
3669
  },
3799
- acceptedParams: [
3800
- 'index',
3801
- 'active_only',
3802
- 'detailed',
3803
- 'allow_no_indices',
3804
- 'expand_wildcards',
3805
- 'ignore_unavailable'
3806
- ]
3670
+ acceptedParams: {
3671
+ path: ['index'],
3672
+ body: [],
3673
+ query: ['active_only', 'detailed', 'allow_no_indices', 'expand_wildcards', 'ignore_unavailable']
3674
+ }
3807
3675
  };
3808
3676
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3809
3677
  }
@@ -3846,12 +3714,11 @@ class Indices {
3846
3714
  pathParts: {
3847
3715
  index: params.index
3848
3716
  },
3849
- acceptedParams: [
3850
- 'index',
3851
- 'allow_no_indices',
3852
- 'expand_wildcards',
3853
- 'ignore_unavailable'
3854
- ]
3717
+ acceptedParams: {
3718
+ path: ['index'],
3719
+ body: [],
3720
+ query: ['allow_no_indices', 'expand_wildcards', 'ignore_unavailable']
3721
+ }
3855
3722
  };
3856
3723
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3857
3724
  }
@@ -3885,13 +3752,11 @@ class Indices {
3885
3752
  pathParts: {
3886
3753
  index: params.index
3887
3754
  },
3888
- acceptedParams: [
3889
- 'index',
3890
- 'allow_no_indices',
3891
- 'expand_wildcards',
3892
- 'ignore_unavailable',
3893
- 'resource'
3894
- ]
3755
+ acceptedParams: {
3756
+ path: ['index'],
3757
+ body: [],
3758
+ query: ['allow_no_indices', 'expand_wildcards', 'ignore_unavailable', 'resource']
3759
+ }
3895
3760
  };
3896
3761
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3897
3762
  }
@@ -3926,15 +3791,11 @@ class Indices {
3926
3791
  index: params.index,
3927
3792
  block: params.block
3928
3793
  },
3929
- acceptedParams: [
3930
- 'index',
3931
- 'block',
3932
- 'allow_no_indices',
3933
- 'expand_wildcards',
3934
- 'ignore_unavailable',
3935
- 'master_timeout',
3936
- 'timeout'
3937
- ]
3794
+ acceptedParams: {
3795
+ path: ['index', 'block'],
3796
+ body: [],
3797
+ query: ['allow_no_indices', 'expand_wildcards', 'ignore_unavailable', 'master_timeout', 'timeout']
3798
+ }
3938
3799
  };
3939
3800
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3940
3801
  }
@@ -3977,14 +3838,11 @@ class Indices {
3977
3838
  pathParts: {
3978
3839
  name: params.name
3979
3840
  },
3980
- acceptedParams: [
3981
- 'name',
3982
- 'allow_no_indices',
3983
- 'expand_wildcards',
3984
- 'ignore_throttled',
3985
- 'ignore_unavailable',
3986
- 'timeout'
3987
- ]
3841
+ acceptedParams: {
3842
+ path: ['name'],
3843
+ body: [],
3844
+ query: ['allow_no_indices', 'expand_wildcards', 'ignore_throttled', 'ignore_unavailable', 'timeout']
3845
+ }
3988
3846
  };
3989
3847
  return await this.transport.request({ path, method, querystring, body, meta }, options);
3990
3848
  }
@@ -4030,14 +3888,11 @@ class Indices {
4030
3888
  pathParts: {
4031
3889
  name: params.name
4032
3890
  },
4033
- acceptedParams: [
4034
- 'name',
4035
- 'project_routing',
4036
- 'expand_wildcards',
4037
- 'ignore_unavailable',
4038
- 'allow_no_indices',
4039
- 'mode'
4040
- ]
3891
+ acceptedParams: {
3892
+ path: ['name'],
3893
+ body: ['project_routing'],
3894
+ query: ['expand_wildcards', 'ignore_unavailable', 'allow_no_indices', 'mode']
3895
+ }
4041
3896
  };
4042
3897
  return await this.transport.request({ path, method, querystring, body, meta }, options);
4043
3898
  }
@@ -4092,19 +3947,11 @@ class Indices {
4092
3947
  alias: params.alias,
4093
3948
  new_index: params.new_index
4094
3949
  },
4095
- acceptedParams: [
4096
- 'alias',
4097
- 'new_index',
4098
- 'aliases',
4099
- 'conditions',
4100
- 'mappings',
4101
- 'settings',
4102
- 'dry_run',
4103
- 'master_timeout',
4104
- 'timeout',
4105
- 'wait_for_active_shards',
4106
- 'lazy'
4107
- ]
3950
+ acceptedParams: {
3951
+ path: ['alias', 'new_index'],
3952
+ body: ['aliases', 'conditions', 'mappings', 'settings'],
3953
+ query: ['dry_run', 'master_timeout', 'timeout', 'wait_for_active_shards', 'lazy']
3954
+ }
4108
3955
  };
4109
3956
  return await this.transport.request({ path, method, querystring, body, meta }, options);
4110
3957
  }
@@ -4147,12 +3994,11 @@ class Indices {
4147
3994
  pathParts: {
4148
3995
  index: params.index
4149
3996
  },
4150
- acceptedParams: [
4151
- 'index',
4152
- 'allow_no_indices',
4153
- 'expand_wildcards',
4154
- 'ignore_unavailable'
4155
- ]
3997
+ acceptedParams: {
3998
+ path: ['index'],
3999
+ body: [],
4000
+ query: ['allow_no_indices', 'expand_wildcards', 'ignore_unavailable']
4001
+ }
4156
4002
  };
4157
4003
  return await this.transport.request({ path, method, querystring, body, meta }, options);
4158
4004
  }
@@ -4195,13 +4041,11 @@ class Indices {
4195
4041
  pathParts: {
4196
4042
  index: params.index
4197
4043
  },
4198
- acceptedParams: [
4199
- 'index',
4200
- 'allow_no_indices',
4201
- 'expand_wildcards',
4202
- 'ignore_unavailable',
4203
- 'status'
4204
- ]
4044
+ acceptedParams: {
4045
+ path: ['index'],
4046
+ body: [],
4047
+ query: ['allow_no_indices', 'expand_wildcards', 'ignore_unavailable', 'status']
4048
+ }
4205
4049
  };
4206
4050
  return await this.transport.request({ path, method, querystring, body, meta }, options);
4207
4051
  }
@@ -4248,15 +4092,11 @@ class Indices {
4248
4092
  index: params.index,
4249
4093
  target: params.target
4250
4094
  },
4251
- acceptedParams: [
4252
- 'index',
4253
- 'target',
4254
- 'aliases',
4255
- 'settings',
4256
- 'master_timeout',
4257
- 'timeout',
4258
- 'wait_for_active_shards'
4259
- ]
4095
+ acceptedParams: {
4096
+ path: ['index', 'target'],
4097
+ body: ['aliases', 'settings'],
4098
+ query: ['master_timeout', 'timeout', 'wait_for_active_shards']
4099
+ }
4260
4100
  };
4261
4101
  return await this.transport.request({ path, method, querystring, body, meta }, options);
4262
4102
  }
@@ -4293,14 +4133,11 @@ class Indices {
4293
4133
  pathParts: {
4294
4134
  name: params.name
4295
4135
  },
4296
- acceptedParams: [
4297
- 'name',
4298
- 'index_template',
4299
- 'create',
4300
- 'cause',
4301
- 'master_timeout',
4302
- 'include_defaults'
4303
- ]
4136
+ acceptedParams: {
4137
+ path: ['name'],
4138
+ body: ['index_template'],
4139
+ query: ['create', 'cause', 'master_timeout', 'include_defaults']
4140
+ }
4304
4141
  };
4305
4142
  return await this.transport.request({ path, method, querystring, body, meta }, options);
4306
4143
  }
@@ -4355,23 +4192,11 @@ class Indices {
4355
4192
  pathParts: {
4356
4193
  name: params.name
4357
4194
  },
4358
- acceptedParams: [
4359
- 'name',
4360
- 'allow_auto_create',
4361
- 'index_patterns',
4362
- 'composed_of',
4363
- 'template',
4364
- 'data_stream',
4365
- 'priority',
4366
- 'version',
4367
- '_meta',
4368
- 'ignore_missing_component_templates',
4369
- 'deprecated',
4370
- 'create',
4371
- 'cause',
4372
- 'master_timeout',
4373
- 'include_defaults'
4374
- ]
4195
+ acceptedParams: {
4196
+ path: ['name'],
4197
+ body: ['allow_auto_create', 'index_patterns', 'composed_of', 'template', 'data_stream', 'priority', 'version', '_meta', 'ignore_missing_component_templates', 'deprecated'],
4198
+ query: ['create', 'cause', 'master_timeout', 'include_defaults']
4199
+ }
4375
4200
  };
4376
4201
  return await this.transport.request({ path, method, querystring, body, meta }, options);
4377
4202
  }
@@ -4418,15 +4243,11 @@ class Indices {
4418
4243
  index: params.index,
4419
4244
  target: params.target
4420
4245
  },
4421
- acceptedParams: [
4422
- 'index',
4423
- 'target',
4424
- 'aliases',
4425
- 'settings',
4426
- 'master_timeout',
4427
- 'timeout',
4428
- 'wait_for_active_shards'
4429
- ]
4246
+ acceptedParams: {
4247
+ path: ['index', 'target'],
4248
+ body: ['aliases', 'settings'],
4249
+ query: ['master_timeout', 'timeout', 'wait_for_active_shards']
4250
+ }
4430
4251
  };
4431
4252
  return await this.transport.request({ path, method, querystring, body, meta }, options);
4432
4253
  }
@@ -4478,19 +4299,11 @@ class Indices {
4478
4299
  metric: params.metric,
4479
4300
  index: params.index
4480
4301
  },
4481
- acceptedParams: [
4482
- 'metric',
4483
- 'index',
4484
- 'completion_fields',
4485
- 'expand_wildcards',
4486
- 'fielddata_fields',
4487
- 'fields',
4488
- 'forbid_closed_indices',
4489
- 'groups',
4490
- 'include_segment_file_sizes',
4491
- 'include_unloaded_segments',
4492
- 'level'
4493
- ]
4302
+ acceptedParams: {
4303
+ path: ['metric', 'index'],
4304
+ body: [],
4305
+ query: ['completion_fields', 'expand_wildcards', 'fielddata_fields', 'fields', 'forbid_closed_indices', 'groups', 'include_segment_file_sizes', 'include_unloaded_segments', 'level']
4306
+ }
4494
4307
  };
4495
4308
  return await this.transport.request({ path, method, querystring, body, meta }, options);
4496
4309
  }
@@ -4534,11 +4347,11 @@ class Indices {
4534
4347
  const path = '/_aliases';
4535
4348
  const meta = {
4536
4349
  name: 'indices.update_aliases',
4537
- acceptedParams: [
4538
- 'actions',
4539
- 'master_timeout',
4540
- 'timeout'
4541
- ]
4350
+ acceptedParams: {
4351
+ path: [],
4352
+ body: ['actions'],
4353
+ query: ['master_timeout', 'timeout']
4354
+ }
4542
4355
  };
4543
4356
  return await this.transport.request({ path, method, querystring, body, meta }, options);
4544
4357
  }
@@ -4593,22 +4406,11 @@ class Indices {
4593
4406
  pathParts: {
4594
4407
  index: params.index
4595
4408
  },
4596
- acceptedParams: [
4597
- 'index',
4598
- 'query',
4599
- 'allow_no_indices',
4600
- 'all_shards',
4601
- 'analyzer',
4602
- 'analyze_wildcard',
4603
- 'default_operator',
4604
- 'df',
4605
- 'expand_wildcards',
4606
- 'explain',
4607
- 'ignore_unavailable',
4608
- 'lenient',
4609
- 'rewrite',
4610
- 'q'
4611
- ]
4409
+ acceptedParams: {
4410
+ path: ['index'],
4411
+ body: ['query'],
4412
+ query: ['allow_no_indices', 'all_shards', 'analyzer', 'analyze_wildcard', 'default_operator', 'df', 'expand_wildcards', 'explain', 'ignore_unavailable', 'lenient', 'rewrite', 'q']
4413
+ }
4612
4414
  };
4613
4415
  return await this.transport.request({ path, method, querystring, body, meta }, options);
4614
4416
  }