@elastic/elasticsearch 9.3.1 → 9.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (407) hide show
  1. package/esm/api/api/async_search.d.ts.map +1 -1
  2. package/esm/api/api/async_search.js +20 -93
  3. package/esm/api/api/async_search.js.map +1 -1
  4. package/esm/api/api/autoscaling.d.ts.map +1 -1
  5. package/esm/api/api/autoscaling.js +20 -18
  6. package/esm/api/api/autoscaling.js.map +1 -1
  7. package/esm/api/api/bulk.js +5 -16
  8. package/esm/api/api/bulk.js.map +1 -1
  9. package/esm/api/api/capabilities.js +5 -8
  10. package/esm/api/api/capabilities.js.map +1 -1
  11. package/esm/api/api/cat.d.ts.map +1 -1
  12. package/esm/api/api/cat.js +135 -185
  13. package/esm/api/api/cat.js.map +1 -1
  14. package/esm/api/api/ccr.d.ts.map +1 -1
  15. package/esm/api/api/ccr.js +65 -96
  16. package/esm/api/api/ccr.js.map +1 -1
  17. package/esm/api/api/clear_scroll.js +5 -4
  18. package/esm/api/api/clear_scroll.js.map +1 -1
  19. package/esm/api/api/close_point_in_time.js +5 -3
  20. package/esm/api/api/close_point_in_time.js.map +1 -1
  21. package/esm/api/api/cluster.d.ts.map +1 -1
  22. package/esm/api/api/cluster.js +80 -112
  23. package/esm/api/api/cluster.js.map +1 -1
  24. package/esm/api/api/connector.d.ts.map +1 -1
  25. package/esm/api/api/connector.js +170 -168
  26. package/esm/api/api/connector.js.map +1 -1
  27. package/esm/api/api/count.js +5 -19
  28. package/esm/api/api/count.js.map +1 -1
  29. package/esm/api/api/create.js +5 -15
  30. package/esm/api/api/create.js.map +1 -1
  31. package/esm/api/api/dangling_indices.d.ts.map +1 -1
  32. package/esm/api/api/dangling_indices.js +15 -13
  33. package/esm/api/api/dangling_indices.js.map +1 -1
  34. package/esm/api/api/delete.js +5 -12
  35. package/esm/api/api/delete.js.map +1 -1
  36. package/esm/api/api/delete_by_query.js +5 -36
  37. package/esm/api/api/delete_by_query.js.map +1 -1
  38. package/esm/api/api/delete_by_query_rethrottle.js +5 -4
  39. package/esm/api/api/delete_by_query_rethrottle.js.map +1 -1
  40. package/esm/api/api/delete_script.js +5 -5
  41. package/esm/api/api/delete_script.js.map +1 -1
  42. package/esm/api/api/enrich.d.ts.map +1 -1
  43. package/esm/api/api/enrich.js +25 -23
  44. package/esm/api/api/enrich.js.map +1 -1
  45. package/esm/api/api/eql.d.ts.map +1 -1
  46. package/esm/api/api/eql.js +20 -41
  47. package/esm/api/api/eql.js.map +1 -1
  48. package/esm/api/api/esql.d.ts.map +1 -1
  49. package/esm/api/api/esql.js +54 -63
  50. package/esm/api/api/esql.js.map +1 -1
  51. package/esm/api/api/exists.js +5 -14
  52. package/esm/api/api/exists.js.map +1 -1
  53. package/esm/api/api/exists_source.js +5 -13
  54. package/esm/api/api/exists_source.js.map +1 -1
  55. package/esm/api/api/explain.js +5 -17
  56. package/esm/api/api/explain.js.map +1 -1
  57. package/esm/api/api/features.d.ts.map +1 -1
  58. package/esm/api/api/features.js +10 -6
  59. package/esm/api/api/features.js.map +1 -1
  60. package/esm/api/api/field_caps.js +5 -15
  61. package/esm/api/api/field_caps.js.map +1 -1
  62. package/esm/api/api/fleet.d.ts.map +1 -1
  63. package/esm/api/api/fleet.js +30 -111
  64. package/esm/api/api/fleet.js.map +1 -1
  65. package/esm/api/api/get.js +5 -16
  66. package/esm/api/api/get.js.map +1 -1
  67. package/esm/api/api/get_script.js +5 -4
  68. package/esm/api/api/get_script.js.map +1 -1
  69. package/esm/api/api/get_script_context.js +5 -1
  70. package/esm/api/api/get_script_context.js.map +1 -1
  71. package/esm/api/api/get_script_languages.js +5 -1
  72. package/esm/api/api/get_script_languages.js.map +1 -1
  73. package/esm/api/api/get_source.js +5 -13
  74. package/esm/api/api/get_source.js.map +1 -1
  75. package/esm/api/api/graph.d.ts.map +1 -1
  76. package/esm/api/api/graph.js +5 -9
  77. package/esm/api/api/graph.js.map +1 -1
  78. package/esm/api/api/health_report.js +5 -6
  79. package/esm/api/api/health_report.js.map +1 -1
  80. package/esm/api/api/ilm.d.ts.map +1 -1
  81. package/esm/api/api/ilm.js +55 -48
  82. package/esm/api/api/ilm.js.map +1 -1
  83. package/esm/api/api/index.js +5 -18
  84. package/esm/api/api/index.js.map +1 -1
  85. package/esm/api/api/indices.d.ts +1 -1
  86. package/esm/api/api/indices.d.ts.map +1 -1
  87. package/esm/api/api/indices.js +385 -583
  88. package/esm/api/api/indices.js.map +1 -1
  89. package/esm/api/api/inference.d.ts +1 -1
  90. package/esm/api/api/inference.d.ts.map +1 -1
  91. package/esm/api/api/inference.js +184 -280
  92. package/esm/api/api/inference.js.map +1 -1
  93. package/esm/api/api/info.js +5 -1
  94. package/esm/api/api/info.js.map +1 -1
  95. package/esm/api/api/ingest.d.ts.map +1 -1
  96. package/esm/api/api/ingest.js +60 -60
  97. package/esm/api/api/ingest.js.map +1 -1
  98. package/esm/api/api/knn_search.js +5 -10
  99. package/esm/api/api/knn_search.js.map +1 -1
  100. package/esm/api/api/license.d.ts.map +1 -1
  101. package/esm/api/api/license.js +35 -27
  102. package/esm/api/api/license.js.map +1 -1
  103. package/esm/api/api/logstash.d.ts.map +1 -1
  104. package/esm/api/api/logstash.js +15 -10
  105. package/esm/api/api/logstash.js.map +1 -1
  106. package/esm/api/api/mget.js +5 -14
  107. package/esm/api/api/mget.js.map +1 -1
  108. package/esm/api/api/migration.d.ts +1 -1
  109. package/esm/api/api/migration.d.ts.map +1 -1
  110. package/esm/api/api/migration.js +15 -5
  111. package/esm/api/api/migration.js.map +1 -1
  112. package/esm/api/api/ml.d.ts.map +1 -1
  113. package/esm/api/api/ml.js +365 -574
  114. package/esm/api/api/ml.js.map +1 -1
  115. package/esm/api/api/monitoring.d.ts.map +1 -1
  116. package/esm/api/api/monitoring.js +5 -6
  117. package/esm/api/api/monitoring.js.map +1 -1
  118. package/esm/api/api/msearch.js +5 -19
  119. package/esm/api/api/msearch.js.map +1 -1
  120. package/esm/api/api/msearch_template.js +5 -10
  121. package/esm/api/api/msearch_template.js.map +1 -1
  122. package/esm/api/api/mtermvectors.js +5 -17
  123. package/esm/api/api/mtermvectors.js.map +1 -1
  124. package/esm/api/api/nodes.d.ts.map +1 -1
  125. package/esm/api/api/nodes.js +35 -47
  126. package/esm/api/api/nodes.js.map +1 -1
  127. package/esm/api/api/open_point_in_time.js +5 -12
  128. package/esm/api/api/open_point_in_time.js.map +1 -1
  129. package/esm/api/api/ping.js +5 -1
  130. package/esm/api/api/ping.js.map +1 -1
  131. package/esm/api/api/profiling.d.ts.map +1 -1
  132. package/esm/api/api/profiling.js +20 -14
  133. package/esm/api/api/profiling.js.map +1 -1
  134. package/esm/api/api/project.d.ts.map +1 -1
  135. package/esm/api/api/project.js +5 -3
  136. package/esm/api/api/project.js.map +1 -1
  137. package/esm/api/api/put_script.js +5 -8
  138. package/esm/api/api/put_script.js.map +1 -1
  139. package/esm/api/api/query_rules.d.ts.map +1 -1
  140. package/esm/api/api/query_rules.js +40 -34
  141. package/esm/api/api/query_rules.js.map +1 -1
  142. package/esm/api/api/rank_eval.js +5 -9
  143. package/esm/api/api/rank_eval.js.map +1 -1
  144. package/esm/api/api/reindex.js +5 -16
  145. package/esm/api/api/reindex.js.map +1 -1
  146. package/esm/api/api/reindex_rethrottle.js +5 -4
  147. package/esm/api/api/reindex_rethrottle.js.map +1 -1
  148. package/esm/api/api/render_search_template.js +5 -7
  149. package/esm/api/api/render_search_template.js.map +1 -1
  150. package/esm/api/api/rollup.d.ts.map +1 -1
  151. package/esm/api/api/rollup.js +40 -40
  152. package/esm/api/api/rollup.js.map +1 -1
  153. package/esm/api/api/scripts_painless_execute.js +5 -5
  154. package/esm/api/api/scripts_painless_execute.js.map +1 -1
  155. package/esm/api/api/scroll.js +5 -8
  156. package/esm/api/api/scroll.js.map +1 -1
  157. package/esm/api/api/search.js +5 -84
  158. package/esm/api/api/search.js.map +1 -1
  159. package/esm/api/api/search_application.d.ts.map +1 -1
  160. package/esm/api/api/search_application.js +50 -40
  161. package/esm/api/api/search_application.js.map +1 -1
  162. package/esm/api/api/search_mvt.js +5 -30
  163. package/esm/api/api/search_mvt.js.map +1 -1
  164. package/esm/api/api/search_shards.js +5 -10
  165. package/esm/api/api/search_shards.js.map +1 -1
  166. package/esm/api/api/search_template.js +5 -22
  167. package/esm/api/api/search_template.js.map +1 -1
  168. package/esm/api/api/searchable_snapshots.d.ts.map +1 -1
  169. package/esm/api/api/searchable_snapshots.js +20 -25
  170. package/esm/api/api/searchable_snapshots.js.map +1 -1
  171. package/esm/api/api/security.d.ts.map +1 -1
  172. package/esm/api/api/security.js +325 -339
  173. package/esm/api/api/security.js.map +1 -1
  174. package/esm/api/api/shutdown.d.ts.map +1 -1
  175. package/esm/api/api/shutdown.js +15 -18
  176. package/esm/api/api/shutdown.js.map +1 -1
  177. package/esm/api/api/simulate.d.ts.map +1 -1
  178. package/esm/api/api/simulate.js +5 -10
  179. package/esm/api/api/simulate.js.map +1 -1
  180. package/esm/api/api/slm.d.ts.map +1 -1
  181. package/esm/api/api/slm.js +45 -45
  182. package/esm/api/api/slm.js.map +1 -1
  183. package/esm/api/api/snapshot.d.ts.map +1 -1
  184. package/esm/api/api/snapshot.js +65 -119
  185. package/esm/api/api/snapshot.js.map +1 -1
  186. package/esm/api/api/sql.d.ts.map +1 -1
  187. package/esm/api/api/sql.js +30 -43
  188. package/esm/api/api/sql.js.map +1 -1
  189. package/esm/api/api/ssl.d.ts.map +1 -1
  190. package/esm/api/api/ssl.js +5 -1
  191. package/esm/api/api/ssl.js.map +1 -1
  192. package/esm/api/api/streams.d.ts.map +1 -1
  193. package/esm/api/api/streams.js +15 -11
  194. package/esm/api/api/streams.js.map +1 -1
  195. package/esm/api/api/synonyms.d.ts.map +1 -1
  196. package/esm/api/api/synonyms.js +35 -32
  197. package/esm/api/api/synonyms.js.map +1 -1
  198. package/esm/api/api/tasks.d.ts.map +1 -1
  199. package/esm/api/api/tasks.js +15 -21
  200. package/esm/api/api/tasks.js.map +1 -1
  201. package/esm/api/api/terms_enum.js +5 -10
  202. package/esm/api/api/terms_enum.js.map +1 -1
  203. package/esm/api/api/termvectors.js +5 -27
  204. package/esm/api/api/termvectors.js.map +1 -1
  205. package/esm/api/api/text_structure.d.ts.map +1 -1
  206. package/esm/api/api/text_structure.js +20 -53
  207. package/esm/api/api/text_structure.js.map +1 -1
  208. package/esm/api/api/transform.d.ts.map +1 -1
  209. package/esm/api/api/transform.js +65 -92
  210. package/esm/api/api/transform.js.map +1 -1
  211. package/esm/api/api/update.js +5 -24
  212. package/esm/api/api/update.js.map +1 -1
  213. package/esm/api/api/update_by_query.js +5 -39
  214. package/esm/api/api/update_by_query.js.map +1 -1
  215. package/esm/api/api/update_by_query_rethrottle.js +5 -4
  216. package/esm/api/api/update_by_query_rethrottle.js.map +1 -1
  217. package/esm/api/api/watcher.d.ts.map +1 -1
  218. package/esm/api/api/watcher.js +65 -69
  219. package/esm/api/api/watcher.js.map +1 -1
  220. package/esm/api/api/xpack.d.ts.map +1 -1
  221. package/esm/api/api/xpack.js +10 -8
  222. package/esm/api/api/xpack.js.map +1 -1
  223. package/esm/api/types.d.ts +84 -26
  224. package/esm/api/types.d.ts.map +1 -1
  225. package/esm/version.generated.js +2 -2
  226. package/lib/api/api/async_search.js +20 -93
  227. package/lib/api/api/async_search.js.map +1 -1
  228. package/lib/api/api/autoscaling.js +20 -18
  229. package/lib/api/api/autoscaling.js.map +1 -1
  230. package/lib/api/api/bulk.js +5 -16
  231. package/lib/api/api/bulk.js.map +1 -1
  232. package/lib/api/api/capabilities.js +5 -8
  233. package/lib/api/api/capabilities.js.map +1 -1
  234. package/lib/api/api/cat.js +135 -185
  235. package/lib/api/api/cat.js.map +1 -1
  236. package/lib/api/api/ccr.js +65 -96
  237. package/lib/api/api/ccr.js.map +1 -1
  238. package/lib/api/api/clear_scroll.js +5 -4
  239. package/lib/api/api/clear_scroll.js.map +1 -1
  240. package/lib/api/api/close_point_in_time.js +5 -3
  241. package/lib/api/api/close_point_in_time.js.map +1 -1
  242. package/lib/api/api/cluster.js +80 -112
  243. package/lib/api/api/cluster.js.map +1 -1
  244. package/lib/api/api/connector.js +170 -168
  245. package/lib/api/api/connector.js.map +1 -1
  246. package/lib/api/api/count.js +5 -19
  247. package/lib/api/api/count.js.map +1 -1
  248. package/lib/api/api/create.js +5 -15
  249. package/lib/api/api/create.js.map +1 -1
  250. package/lib/api/api/dangling_indices.js +15 -13
  251. package/lib/api/api/dangling_indices.js.map +1 -1
  252. package/lib/api/api/delete.js +5 -12
  253. package/lib/api/api/delete.js.map +1 -1
  254. package/lib/api/api/delete_by_query.js +5 -36
  255. package/lib/api/api/delete_by_query.js.map +1 -1
  256. package/lib/api/api/delete_by_query_rethrottle.js +5 -4
  257. package/lib/api/api/delete_by_query_rethrottle.js.map +1 -1
  258. package/lib/api/api/delete_script.js +5 -5
  259. package/lib/api/api/delete_script.js.map +1 -1
  260. package/lib/api/api/enrich.js +25 -23
  261. package/lib/api/api/enrich.js.map +1 -1
  262. package/lib/api/api/eql.js +20 -41
  263. package/lib/api/api/eql.js.map +1 -1
  264. package/lib/api/api/esql.js +54 -63
  265. package/lib/api/api/esql.js.map +1 -1
  266. package/lib/api/api/exists.js +5 -14
  267. package/lib/api/api/exists.js.map +1 -1
  268. package/lib/api/api/exists_source.js +5 -13
  269. package/lib/api/api/exists_source.js.map +1 -1
  270. package/lib/api/api/explain.js +5 -17
  271. package/lib/api/api/explain.js.map +1 -1
  272. package/lib/api/api/features.js +10 -6
  273. package/lib/api/api/features.js.map +1 -1
  274. package/lib/api/api/field_caps.js +5 -15
  275. package/lib/api/api/field_caps.js.map +1 -1
  276. package/lib/api/api/fleet.js +30 -111
  277. package/lib/api/api/fleet.js.map +1 -1
  278. package/lib/api/api/get.js +5 -16
  279. package/lib/api/api/get.js.map +1 -1
  280. package/lib/api/api/get_script.js +5 -4
  281. package/lib/api/api/get_script.js.map +1 -1
  282. package/lib/api/api/get_script_context.js +5 -1
  283. package/lib/api/api/get_script_context.js.map +1 -1
  284. package/lib/api/api/get_script_languages.js +5 -1
  285. package/lib/api/api/get_script_languages.js.map +1 -1
  286. package/lib/api/api/get_source.js +5 -13
  287. package/lib/api/api/get_source.js.map +1 -1
  288. package/lib/api/api/graph.js +5 -9
  289. package/lib/api/api/graph.js.map +1 -1
  290. package/lib/api/api/health_report.js +5 -6
  291. package/lib/api/api/health_report.js.map +1 -1
  292. package/lib/api/api/ilm.js +55 -48
  293. package/lib/api/api/ilm.js.map +1 -1
  294. package/lib/api/api/index.js +5 -18
  295. package/lib/api/api/index.js.map +1 -1
  296. package/lib/api/api/indices.d.ts +1 -1
  297. package/lib/api/api/indices.js +385 -583
  298. package/lib/api/api/indices.js.map +1 -1
  299. package/lib/api/api/inference.d.ts +1 -1
  300. package/lib/api/api/inference.js +184 -280
  301. package/lib/api/api/inference.js.map +1 -1
  302. package/lib/api/api/info.js +5 -1
  303. package/lib/api/api/info.js.map +1 -1
  304. package/lib/api/api/ingest.js +60 -60
  305. package/lib/api/api/ingest.js.map +1 -1
  306. package/lib/api/api/knn_search.js +5 -10
  307. package/lib/api/api/knn_search.js.map +1 -1
  308. package/lib/api/api/license.js +35 -27
  309. package/lib/api/api/license.js.map +1 -1
  310. package/lib/api/api/logstash.js +15 -10
  311. package/lib/api/api/logstash.js.map +1 -1
  312. package/lib/api/api/mget.js +5 -14
  313. package/lib/api/api/mget.js.map +1 -1
  314. package/lib/api/api/migration.d.ts +1 -1
  315. package/lib/api/api/migration.js +15 -5
  316. package/lib/api/api/migration.js.map +1 -1
  317. package/lib/api/api/ml.js +365 -574
  318. package/lib/api/api/ml.js.map +1 -1
  319. package/lib/api/api/monitoring.js +5 -6
  320. package/lib/api/api/monitoring.js.map +1 -1
  321. package/lib/api/api/msearch.js +5 -19
  322. package/lib/api/api/msearch.js.map +1 -1
  323. package/lib/api/api/msearch_template.js +5 -10
  324. package/lib/api/api/msearch_template.js.map +1 -1
  325. package/lib/api/api/mtermvectors.js +5 -17
  326. package/lib/api/api/mtermvectors.js.map +1 -1
  327. package/lib/api/api/nodes.js +35 -47
  328. package/lib/api/api/nodes.js.map +1 -1
  329. package/lib/api/api/open_point_in_time.js +5 -12
  330. package/lib/api/api/open_point_in_time.js.map +1 -1
  331. package/lib/api/api/ping.js +5 -1
  332. package/lib/api/api/ping.js.map +1 -1
  333. package/lib/api/api/profiling.js +20 -14
  334. package/lib/api/api/profiling.js.map +1 -1
  335. package/lib/api/api/project.js +5 -3
  336. package/lib/api/api/project.js.map +1 -1
  337. package/lib/api/api/put_script.js +5 -8
  338. package/lib/api/api/put_script.js.map +1 -1
  339. package/lib/api/api/query_rules.js +40 -34
  340. package/lib/api/api/query_rules.js.map +1 -1
  341. package/lib/api/api/rank_eval.js +5 -9
  342. package/lib/api/api/rank_eval.js.map +1 -1
  343. package/lib/api/api/reindex.js +5 -16
  344. package/lib/api/api/reindex.js.map +1 -1
  345. package/lib/api/api/reindex_rethrottle.js +5 -4
  346. package/lib/api/api/reindex_rethrottle.js.map +1 -1
  347. package/lib/api/api/render_search_template.js +5 -7
  348. package/lib/api/api/render_search_template.js.map +1 -1
  349. package/lib/api/api/rollup.js +40 -40
  350. package/lib/api/api/rollup.js.map +1 -1
  351. package/lib/api/api/scripts_painless_execute.js +5 -5
  352. package/lib/api/api/scripts_painless_execute.js.map +1 -1
  353. package/lib/api/api/scroll.js +5 -8
  354. package/lib/api/api/scroll.js.map +1 -1
  355. package/lib/api/api/search.js +5 -84
  356. package/lib/api/api/search.js.map +1 -1
  357. package/lib/api/api/search_application.js +50 -40
  358. package/lib/api/api/search_application.js.map +1 -1
  359. package/lib/api/api/search_mvt.js +5 -30
  360. package/lib/api/api/search_mvt.js.map +1 -1
  361. package/lib/api/api/search_shards.js +5 -10
  362. package/lib/api/api/search_shards.js.map +1 -1
  363. package/lib/api/api/search_template.js +5 -22
  364. package/lib/api/api/search_template.js.map +1 -1
  365. package/lib/api/api/searchable_snapshots.js +20 -25
  366. package/lib/api/api/searchable_snapshots.js.map +1 -1
  367. package/lib/api/api/security.js +325 -339
  368. package/lib/api/api/security.js.map +1 -1
  369. package/lib/api/api/shutdown.js +15 -18
  370. package/lib/api/api/shutdown.js.map +1 -1
  371. package/lib/api/api/simulate.js +5 -10
  372. package/lib/api/api/simulate.js.map +1 -1
  373. package/lib/api/api/slm.js +45 -45
  374. package/lib/api/api/slm.js.map +1 -1
  375. package/lib/api/api/snapshot.js +65 -119
  376. package/lib/api/api/snapshot.js.map +1 -1
  377. package/lib/api/api/sql.js +30 -43
  378. package/lib/api/api/sql.js.map +1 -1
  379. package/lib/api/api/ssl.js +5 -1
  380. package/lib/api/api/ssl.js.map +1 -1
  381. package/lib/api/api/streams.js +15 -11
  382. package/lib/api/api/streams.js.map +1 -1
  383. package/lib/api/api/synonyms.js +35 -32
  384. package/lib/api/api/synonyms.js.map +1 -1
  385. package/lib/api/api/tasks.js +15 -21
  386. package/lib/api/api/tasks.js.map +1 -1
  387. package/lib/api/api/terms_enum.js +5 -10
  388. package/lib/api/api/terms_enum.js.map +1 -1
  389. package/lib/api/api/termvectors.js +5 -27
  390. package/lib/api/api/termvectors.js.map +1 -1
  391. package/lib/api/api/text_structure.js +20 -53
  392. package/lib/api/api/text_structure.js.map +1 -1
  393. package/lib/api/api/transform.js +65 -92
  394. package/lib/api/api/transform.js.map +1 -1
  395. package/lib/api/api/update.js +5 -24
  396. package/lib/api/api/update.js.map +1 -1
  397. package/lib/api/api/update_by_query.js +5 -39
  398. package/lib/api/api/update_by_query.js.map +1 -1
  399. package/lib/api/api/update_by_query_rethrottle.js +5 -4
  400. package/lib/api/api/update_by_query_rethrottle.js.map +1 -1
  401. package/lib/api/api/watcher.js +65 -69
  402. package/lib/api/api/watcher.js.map +1 -1
  403. package/lib/api/api/xpack.js +10 -8
  404. package/lib/api/api/xpack.js.map +1 -1
  405. package/lib/api/types.d.ts +84 -26
  406. package/lib/version.generated.js +2 -2
  407. package/package.json +2 -2
@@ -26,8 +26,8 @@ export interface BulkOperationBase {
26
26
  _id?: Id;
27
27
  /** The name of the index or index alias to perform the action on. */
28
28
  _index?: IndexName;
29
- /** A custom value used to route operations to a specific shard. */
30
- routing?: Routing;
29
+ /** A custom value used to route operations to a specific shard, or multiple comma separated values. */
30
+ routing?: string;
31
31
  if_primary_term?: long;
32
32
  if_seq_no?: SequenceNumber;
33
33
  version?: VersionNumber;
@@ -2426,7 +2426,7 @@ export interface ReindexDestination {
2426
2426
  * If it is `keep`, the routing on the bulk request sent for each match is set to the routing on the match.
2427
2427
  * If it is `discard`, the routing on the bulk request sent for each match is set to `null`.
2428
2428
  * If it is `=value`, the routing on the bulk request sent for each match is set to all value specified after the equals sign (`=`). */
2429
- routing?: Routing;
2429
+ routing?: string;
2430
2430
  /** The versioning to use for the indexing operation. */
2431
2431
  version_type?: VersionType;
2432
2432
  }
@@ -3253,7 +3253,7 @@ export interface SearchCompletionSuggestOption<TDocument = unknown> {
3253
3253
  fields?: Record<string, any>;
3254
3254
  _id?: string;
3255
3255
  _index?: IndexName;
3256
- _routing?: Routing;
3256
+ _routing?: string;
3257
3257
  _score?: double;
3258
3258
  _source?: TDocument;
3259
3259
  text: string;
@@ -7128,13 +7128,20 @@ export interface AggregationsMultiBucketAggregateBase<TBucket = unknown> extends
7128
7128
  export interface AggregationsMultiBucketBase {
7129
7129
  doc_count: long;
7130
7130
  }
7131
- export interface AggregationsMultiTermLookup {
7132
- /** A fields from which to retrieve terms. */
7133
- field: Field;
7131
+ interface AggregationsMultiTermLookupCommonProps {
7134
7132
  /** The value to apply to documents that do not have a value.
7135
7133
  * By default, documents without a value are ignored. */
7136
7134
  missing?: AggregationsMissing;
7137
7135
  }
7136
+ interface AggregationsMultiTermLookupExclusiveProps {
7137
+ /** A field from which to retrieve terms.
7138
+ * It is required if `script` is not provided. */
7139
+ field?: Field;
7140
+ /** A script to calculate terms to aggregate on.
7141
+ * It is required if `field` is not provided. */
7142
+ script?: Script | ScriptSource;
7143
+ }
7144
+ export type AggregationsMultiTermLookup = AggregationsMultiTermLookupCommonProps & ExactlyOne<AggregationsMultiTermLookupExclusiveProps>;
7138
7145
  export interface AggregationsMultiTermsAggregate extends AggregationsTermsAggregateBase<AggregationsMultiTermsBucket> {
7139
7146
  }
7140
7147
  export interface AggregationsMultiTermsAggregation extends AggregationsBucketAggregationBase {
@@ -9570,7 +9577,7 @@ export interface QueryDslFieldLookup {
9570
9577
  /** Name of the field. */
9571
9578
  path?: Field;
9572
9579
  /** Custom routing value. */
9573
- routing?: Routing;
9580
+ routing?: string;
9574
9581
  }
9575
9582
  export type QueryDslFieldValueFactorModifier = 'none' | 'log' | 'log1p' | 'log2p' | 'ln' | 'ln1p' | 'ln2p' | 'square' | 'sqrt' | 'reciprocal';
9576
9583
  export interface QueryDslFieldValueFactorScoreFunction {
@@ -10016,7 +10023,7 @@ export interface QueryDslMoreLikeThisQuery extends QueryDslQueryBase {
10016
10023
  min_term_freq?: integer;
10017
10024
  /** The minimum word length below which the terms are ignored. */
10018
10025
  min_word_length?: integer;
10019
- routing?: Routing;
10026
+ routing?: string;
10020
10027
  /** An array of stop words.
10021
10028
  * Any word in this set is ignored. */
10022
10029
  stop_words?: AnalysisStopWords;
@@ -10107,7 +10114,7 @@ export interface QueryDslPercolateQuery extends QueryDslQueryBase {
10107
10114
  /** Preference used to fetch document to percolate. */
10108
10115
  preference?: string;
10109
10116
  /** Routing used to fetch document to percolate. */
10110
- routing?: Routing;
10117
+ routing?: string;
10111
10118
  /** The expected version of a stored document to percolate. */
10112
10119
  version?: VersionNumber;
10113
10120
  }
@@ -10603,7 +10610,7 @@ export interface QueryDslTermsLookup {
10603
10610
  index: IndexName;
10604
10611
  id: Id;
10605
10612
  path: Field;
10606
- routing?: Routing;
10613
+ routing?: string;
10607
10614
  }
10608
10615
  export interface QueryDslTermsQueryKeys extends QueryDslQueryBase {
10609
10616
  }
@@ -20271,6 +20278,15 @@ export interface EsqlAsyncQueryRequest extends RequestBase {
20271
20278
  /** Indicates whether the query and its results are stored in the cluster.
20272
20279
  * If false, the query and its results are stored in the cluster only if the request does not complete during the period set by the `wait_for_completion_timeout` parameter. */
20273
20280
  keep_on_completion?: boolean;
20281
+ /** Specifies a subset of projects to target using project
20282
+ * metadata tags in a subset of Lucene query syntax.
20283
+ * Allowed Lucene queries: the _alias tag and a single value (possibly wildcarded).
20284
+ * Examples:
20285
+ * _alias:my-project
20286
+ * _alias:_origin
20287
+ * _alias:*pr*
20288
+ * Supported in serverless only. */
20289
+ project_routing?: ProjectRouting;
20274
20290
  /** All values in `body` will be added to the request body. */
20275
20291
  body?: string | ({
20276
20292
  [key: string]: any;
@@ -20291,6 +20307,7 @@ export interface EsqlAsyncQueryRequest extends RequestBase {
20291
20307
  wait_for_completion_timeout?: never;
20292
20308
  keep_alive?: never;
20293
20309
  keep_on_completion?: never;
20310
+ project_routing?: never;
20294
20311
  });
20295
20312
  /** All values in `querystring` will be added to the request querystring. */
20296
20313
  querystring?: {
@@ -20312,6 +20329,7 @@ export interface EsqlAsyncQueryRequest extends RequestBase {
20312
20329
  wait_for_completion_timeout?: never;
20313
20330
  keep_alive?: never;
20314
20331
  keep_on_completion?: never;
20332
+ project_routing?: never;
20315
20333
  };
20316
20334
  }
20317
20335
  export type EsqlAsyncQueryResponse = EsqlAsyncEsqlResult;
@@ -20541,6 +20559,15 @@ export interface EsqlQueryRequest extends RequestBase {
20541
20559
  * count.
20542
20560
  * This is similar to `include_ccs_metadata`, but it also returns metadata when the query is not CCS/CPS */
20543
20561
  include_execution_metadata?: boolean;
20562
+ /** Specifies a subset of projects to target using project
20563
+ * metadata tags in a subset of Lucene query syntax.
20564
+ * Allowed Lucene queries: the _alias tag and a single value (possibly wildcarded).
20565
+ * Examples:
20566
+ * _alias:my-project
20567
+ * _alias:_origin
20568
+ * _alias:*pr*
20569
+ * Supported in serverless only. */
20570
+ project_routing?: ProjectRouting;
20544
20571
  /** All values in `body` will be added to the request body. */
20545
20572
  body?: string | ({
20546
20573
  [key: string]: any;
@@ -20558,6 +20585,7 @@ export interface EsqlQueryRequest extends RequestBase {
20558
20585
  tables?: never;
20559
20586
  include_ccs_metadata?: never;
20560
20587
  include_execution_metadata?: never;
20588
+ project_routing?: never;
20561
20589
  });
20562
20590
  /** All values in `querystring` will be added to the request querystring. */
20563
20591
  querystring?: {
@@ -20576,6 +20604,7 @@ export interface EsqlQueryRequest extends RequestBase {
20576
20604
  tables?: never;
20577
20605
  include_ccs_metadata?: never;
20578
20606
  include_execution_metadata?: never;
20607
+ project_routing?: never;
20579
20608
  };
20580
20609
  }
20581
20610
  export type EsqlQueryResponse = EsqlEsqlResult;
@@ -21598,17 +21627,17 @@ export interface IndicesAlias {
21598
21627
  filter?: QueryDslQueryContainer;
21599
21628
  /** Value used to route indexing operations to a specific shard.
21600
21629
  * If specified, this overwrites the `routing` value for indexing operations. */
21601
- index_routing?: Routing;
21630
+ index_routing?: string;
21602
21631
  /** If `true`, the alias is hidden.
21603
21632
  * All indices for the alias must have the same `is_hidden` value. */
21604
21633
  is_hidden?: boolean;
21605
21634
  /** If `true`, the index is the write index for the alias. */
21606
21635
  is_write_index?: boolean;
21607
21636
  /** Value used to route indexing and search operations to a specific shard. */
21608
- routing?: Routing;
21637
+ routing?: string;
21609
21638
  /** Value used to route search operations to a specific shard.
21610
21639
  * If specified, this overwrites the `routing` value for search operations. */
21611
- search_routing?: Routing;
21640
+ search_routing?: string;
21612
21641
  }
21613
21642
  export interface IndicesAliasDefinition {
21614
21643
  /** Query used to limit documents the alias can access. */
@@ -24321,7 +24350,7 @@ export interface IndicesPutAliasRequest extends RequestBase {
24321
24350
  /** Value used to route indexing operations to a specific shard.
24322
24351
  * If specified, this overwrites the `routing` value for indexing operations.
24323
24352
  * Data stream aliases don’t support this parameter. */
24324
- index_routing?: Routing;
24353
+ index_routing?: string;
24325
24354
  /** If `true`, sets the write index or data stream for the alias.
24326
24355
  * If an alias points to multiple indices or data streams and `is_write_index` isn’t set, the alias rejects write requests.
24327
24356
  * If an index alias points to one index and `is_write_index` isn’t set, the index automatically acts as the write index.
@@ -24329,11 +24358,11 @@ export interface IndicesPutAliasRequest extends RequestBase {
24329
24358
  is_write_index?: boolean;
24330
24359
  /** Value used to route indexing and search operations to a specific shard.
24331
24360
  * Data stream aliases don’t support this parameter. */
24332
- routing?: Routing;
24361
+ routing?: string;
24333
24362
  /** Value used to route search operations to a specific shard.
24334
24363
  * If specified, this overwrites the `routing` value for search operations.
24335
24364
  * Data stream aliases don’t support this parameter. */
24336
- search_routing?: Routing;
24365
+ search_routing?: string;
24337
24366
  /** All values in `body` will be added to the request body. */
24338
24367
  body?: string | ({
24339
24368
  [key: string]: any;
@@ -26055,18 +26084,18 @@ export interface IndicesUpdateAliasesAddAction {
26055
26084
  /** Value used to route indexing operations to a specific shard.
26056
26085
  * If specified, this overwrites the `routing` value for indexing operations.
26057
26086
  * Data stream aliases don’t support this parameter. */
26058
- index_routing?: Routing;
26087
+ index_routing?: string;
26059
26088
  /** If `true`, the alias is hidden. */
26060
26089
  is_hidden?: boolean;
26061
26090
  /** If `true`, sets the write index or data stream for the alias. */
26062
26091
  is_write_index?: boolean;
26063
26092
  /** Value used to route indexing and search operations to a specific shard.
26064
26093
  * Data stream aliases don’t support this parameter. */
26065
- routing?: Routing;
26094
+ routing?: string;
26066
26095
  /** Value used to route search operations to a specific shard.
26067
26096
  * If specified, this overwrites the `routing` value for search operations.
26068
26097
  * Data stream aliases don’t support this parameter. */
26069
- search_routing?: Routing;
26098
+ search_routing?: string;
26070
26099
  /** If `true`, the alias must exist to perform the action. */
26071
26100
  must_exist?: boolean;
26072
26101
  }
@@ -26126,7 +26155,8 @@ export type IndicesUpdateAliasesResponse = AcknowledgedResponseBase;
26126
26155
  export interface IndicesValidateQueryIndicesValidationExplanation {
26127
26156
  error?: string;
26128
26157
  explanation?: string;
26129
- index: IndexName;
26158
+ index?: IndexName;
26159
+ shard?: integer;
26130
26160
  valid: boolean;
26131
26161
  }
26132
26162
  export interface IndicesValidateQueryRequest extends RequestBase {
@@ -27760,7 +27790,7 @@ export interface InferenceWatsonxServiceSettings {
27760
27790
  url: string;
27761
27791
  }
27762
27792
  export type InferenceWatsonxServiceType = 'watsonxai';
27763
- export type InferenceWatsonxTaskType = 'text_embedding' | 'chat_completion' | 'completion';
27793
+ export type InferenceWatsonxTaskType = 'text_embedding' | 'rerank' | 'chat_completion' | 'completion';
27764
27794
  export interface InferenceChatCompletionUnifiedRequest extends RequestBase {
27765
27795
  /** The inference Id */
27766
27796
  inference_id: Id;
@@ -27845,9 +27875,10 @@ export interface InferenceDeleteRequest extends RequestBase {
27845
27875
  }
27846
27876
  export type InferenceDeleteResponse = InferenceDeleteInferenceEndpointResult;
27847
27877
  export interface InferenceGetRequest extends RequestBase {
27848
- /** The task type */
27878
+ /** The task type of the endpoint to return */
27849
27879
  task_type?: InferenceTaskType;
27850
- /** The inference Id */
27880
+ /** The inference Id of the endpoint to return. Using `_all` or `*` will return all endpoints with the specified
27881
+ * `task_type` if one is specified, or all endpoints for all task types if no `task_type` is specified */
27851
27882
  inference_id?: Id;
27852
27883
  /** All values in `body` will be added to the request body. */
27853
27884
  body?: string | ({
@@ -28960,7 +28991,7 @@ export interface InferencePutWatsonxRequest extends RequestBase {
28960
28991
  timeout?: Duration;
28961
28992
  /** The chunking configuration object.
28962
28993
  * Applies only to the `text_embedding` task type.
28963
- * Not applicable to the `completion` or `chat_completion` task types. */
28994
+ * Not applicable to the `rerank`, `completion` or `chat_completion` task types. */
28964
28995
  chunking_settings?: InferenceInferenceChunkingSettings;
28965
28996
  /** The type of service supported for the specified task type. In this case, `watsonxai`. */
28966
28997
  service: InferenceWatsonxServiceType;
@@ -37569,9 +37600,14 @@ export interface NodesStatsResponseBase extends NodesNodesResponseBase {
37569
37600
  nodes: Record<string, NodesStats>;
37570
37601
  }
37571
37602
  export interface NodesUsageNodeUsage {
37603
+ /** The total number of times each REST endpoint has been called on this node since the last restart.
37604
+ * Note that the REST endpoint names are not considered stable. */
37572
37605
  rest_actions: Record<string, integer>;
37606
+ /** The timestamp for when the collection of these statistics started. */
37573
37607
  since: EpochTime<UnitMillis>;
37608
+ /** The timestamp for when these statistics were collected. */
37574
37609
  timestamp: EpochTime<UnitMillis>;
37610
+ /** The total number of times search aggregations have been called on this node since the last restart. */
37575
37611
  aggregations: Record<string, any>;
37576
37612
  }
37577
37613
  export type NodesUsageNodesUsageMetric = '_all' | 'rest_actions' | 'aggregations';
@@ -42856,7 +42892,7 @@ export interface SnapshotGetRequest extends RequestBase {
42856
42892
  /** Numeric offset to start pagination from based on the snapshots matching this request. Using a non-zero value for this parameter is mutually exclusive with using the after parameter. Defaults to 0. */
42857
42893
  offset?: integer;
42858
42894
  /** The maximum number of snapshots to return.
42859
- * The default is 0, which means to return all that match the request without limit. */
42895
+ * The default is -1, which means to return all that match the request without limit. */
42860
42896
  size?: integer;
42861
42897
  /** Filter snapshots by a comma-separated list of snapshot lifecycle management (SLM) policy names that snapshots belong to.
42862
42898
  *
@@ -46427,6 +46463,8 @@ export interface XpackInfoFeatures {
46427
46463
  /** @remarks This property is not supported on Elastic Cloud Serverless. */
46428
46464
  esql: XpackInfoFeature;
46429
46465
  graph: XpackInfoFeature;
46466
+ /** @remarks This property is not supported on Elastic Cloud Serverless. */
46467
+ gpu_vector_indexing: XpackInfoFeature;
46430
46468
  ilm: XpackInfoFeature;
46431
46469
  logstash: XpackInfoFeature;
46432
46470
  logsdb: XpackInfoFeature;
@@ -46594,6 +46632,24 @@ export interface XpackUsageFeatureToggle {
46594
46632
  export interface XpackUsageFlattened extends XpackUsageBase {
46595
46633
  field_count: integer;
46596
46634
  }
46635
+ export interface XpackUsageGpuNodeStats {
46636
+ /** GPU device type (e.g., "NVIDIA L4", "NVIDIA A100"). */
46637
+ type: string;
46638
+ /** GPU memory in bytes. */
46639
+ memory_in_bytes: long;
46640
+ /** Whether GPU vector indexing is enabled on this node. */
46641
+ enabled: boolean;
46642
+ /** Number of GPU index builds performed on this node. */
46643
+ index_build_count: long;
46644
+ }
46645
+ export interface XpackUsageGpuVectorIndexing extends XpackUsageBase {
46646
+ /** Total GPU index builds across the cluster. */
46647
+ index_build_count: long;
46648
+ /** Count of data nodes with GPU support. */
46649
+ nodes_with_gpu: integer;
46650
+ /** Per-node GPU details including type, memory, enabled status, and build count. */
46651
+ nodes: XpackUsageGpuNodeStats[];
46652
+ }
46597
46653
  export interface XpackUsageHealthStatistics extends XpackUsageBase {
46598
46654
  invocations: XpackUsageInvocations;
46599
46655
  }
@@ -46759,6 +46815,8 @@ export interface XpackUsageResponse {
46759
46815
  eql: XpackUsageEql;
46760
46816
  flattened?: XpackUsageFlattened;
46761
46817
  graph: XpackUsageBase;
46818
+ /** @remarks This property is not supported on Elastic Cloud Serverless. */
46819
+ gpu_vector_indexing?: XpackUsageGpuVectorIndexing;
46762
46820
  health_api?: XpackUsageHealthStatistics;
46763
46821
  ilm: XpackUsageIlm;
46764
46822
  logstash: XpackUsageBase;
@@ -7,6 +7,6 @@
7
7
  */
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.transportVersion = exports.clientVersion = void 0;
10
- exports.clientVersion = '9.3.1';
11
- exports.transportVersion = '9.3.3';
10
+ exports.clientVersion = '9.3.3';
11
+ exports.transportVersion = '9.3.5';
12
12
  //# sourceMappingURL=version.generated.js.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@elastic/elasticsearch",
3
- "version": "9.3.1",
4
- "versionCanary": "9.3.1-canary.0",
3
+ "version": "9.3.3",
4
+ "versionCanary": "9.3.3-canary.0",
5
5
  "description": "The official Elasticsearch client for Node.js",
6
6
  "type": "commonjs",
7
7
  "main": "./index.js",