@opensearch-project/opensearch 3.0.0-beta.6 → 3.0.0-beta.7

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 (773) hide show
  1. package/{lib → api}/OpenSearchAPI.d.ts +129 -9
  2. package/api/OpenSearchAPI.js +185 -0
  3. package/api/_core/bulk.d.ts +3 -2
  4. package/api/_core/bulk.js +4 -3
  5. package/api/_core/clearScroll.d.ts +3 -2
  6. package/api/_core/clearScroll.js +4 -3
  7. package/api/_core/count.d.ts +4 -2
  8. package/api/_core/count.js +4 -3
  9. package/api/_core/create.d.ts +3 -2
  10. package/api/_core/create.js +4 -3
  11. package/api/_core/createPit.d.ts +3 -2
  12. package/api/_core/createPit.js +4 -3
  13. package/api/_core/delete.d.ts +3 -2
  14. package/api/_core/delete.js +4 -3
  15. package/api/_core/deleteAllPits.d.ts +3 -2
  16. package/api/_core/deleteAllPits.js +4 -3
  17. package/api/_core/deleteByQuery.d.ts +3 -2
  18. package/api/_core/deleteByQuery.js +5 -4
  19. package/api/_core/deleteByQueryRethrottle.d.ts +3 -2
  20. package/api/_core/deleteByQueryRethrottle.js +4 -3
  21. package/api/_core/deletePit.d.ts +3 -2
  22. package/api/_core/deletePit.js +4 -3
  23. package/api/_core/deleteScript.d.ts +3 -2
  24. package/api/_core/deleteScript.js +4 -3
  25. package/api/_core/exists.d.ts +3 -2
  26. package/api/_core/exists.js +4 -3
  27. package/api/_core/existsSource.d.ts +3 -2
  28. package/api/_core/existsSource.js +4 -3
  29. package/api/_core/explain.d.ts +3 -2
  30. package/api/_core/explain.js +4 -3
  31. package/api/_core/fieldCaps.d.ts +3 -2
  32. package/api/_core/fieldCaps.js +4 -3
  33. package/api/_core/get.d.ts +3 -2
  34. package/api/_core/get.js +4 -3
  35. package/api/_core/getAllPits.d.ts +3 -2
  36. package/api/_core/getAllPits.js +4 -3
  37. package/api/_core/getScript.d.ts +3 -2
  38. package/api/_core/getScript.js +4 -3
  39. package/api/_core/getScriptContext.d.ts +3 -2
  40. package/api/_core/getScriptContext.js +4 -3
  41. package/api/_core/getScriptLanguages.d.ts +3 -2
  42. package/api/_core/getScriptLanguages.js +4 -3
  43. package/api/_core/getSource.d.ts +3 -2
  44. package/api/_core/getSource.js +4 -3
  45. package/api/_core/index.d.ts +3 -2
  46. package/api/_core/index.js +4 -3
  47. package/api/_core/info.d.ts +3 -2
  48. package/api/_core/info.js +4 -3
  49. package/api/_core/mget.d.ts +3 -2
  50. package/api/_core/mget.js +4 -3
  51. package/api/_core/msearch.d.ts +3 -2
  52. package/api/_core/msearch.js +4 -3
  53. package/api/_core/msearchTemplate.d.ts +3 -2
  54. package/api/_core/msearchTemplate.js +4 -3
  55. package/api/_core/mtermvectors.d.ts +3 -2
  56. package/api/_core/mtermvectors.js +4 -3
  57. package/api/_core/ping.d.ts +3 -2
  58. package/api/_core/ping.js +4 -3
  59. package/api/_core/putScript.d.ts +3 -2
  60. package/api/_core/putScript.js +4 -3
  61. package/api/_core/rankEval.d.ts +3 -2
  62. package/api/_core/rankEval.js +4 -3
  63. package/api/_core/reindex.d.ts +3 -2
  64. package/api/_core/reindex.js +5 -4
  65. package/api/_core/reindexRethrottle.d.ts +3 -2
  66. package/api/_core/reindexRethrottle.js +4 -3
  67. package/api/_core/renderSearchTemplate.d.ts +3 -2
  68. package/api/_core/renderSearchTemplate.js +4 -3
  69. package/api/_core/scriptsPainlessExecute.d.ts +3 -2
  70. package/api/_core/scriptsPainlessExecute.js +4 -3
  71. package/api/_core/scroll.d.ts +3 -2
  72. package/api/_core/scroll.js +4 -3
  73. package/api/_core/search.d.ts +4 -3
  74. package/api/_core/search.js +4 -3
  75. package/api/_core/searchShards.d.ts +3 -2
  76. package/api/_core/searchShards.js +4 -3
  77. package/api/_core/searchTemplate.d.ts +3 -2
  78. package/api/_core/searchTemplate.js +4 -3
  79. package/api/_core/termvectors.d.ts +3 -2
  80. package/api/_core/termvectors.js +4 -3
  81. package/api/_core/update.d.ts +3 -2
  82. package/api/_core/update.js +4 -3
  83. package/api/_core/updateByQuery.d.ts +3 -2
  84. package/api/_core/updateByQuery.js +5 -4
  85. package/api/_core/updateByQueryRethrottle.d.ts +3 -2
  86. package/api/_core/updateByQueryRethrottle.js +4 -3
  87. package/api/_types/_common.aggregations.d.ts +3 -2
  88. package/api/_types/_common.analysis.d.ts +3 -2
  89. package/api/_types/_common.d.ts +96 -97
  90. package/api/_types/_common.mapping.d.ts +36 -18
  91. package/api/_types/_common.query_dsl.d.ts +62 -18
  92. package/api/_types/_core._common.d.ts +3 -2
  93. package/api/_types/_core.bulk.d.ts +3 -2
  94. package/api/_types/_core.explain.d.ts +3 -2
  95. package/api/_types/_core.field_caps.d.ts +3 -2
  96. package/api/_types/_core.get.d.ts +3 -2
  97. package/api/_types/_core.get_script_context.d.ts +3 -2
  98. package/api/_types/_core.get_script_languages.d.ts +3 -2
  99. package/api/_types/_core.mget.d.ts +3 -2
  100. package/api/_types/_core.msearch.d.ts +5 -4
  101. package/api/_types/_core.msearch_template.d.ts +3 -2
  102. package/api/_types/_core.mtermvectors.d.ts +3 -2
  103. package/api/_types/_core.rank_eval.d.ts +3 -2
  104. package/api/_types/_core.reindex.d.ts +3 -2
  105. package/api/_types/_core.reindex_rethrottle.d.ts +3 -2
  106. package/api/_types/_core.scripts_painless_execute.d.ts +3 -2
  107. package/api/_types/_core.search.d.ts +3 -2
  108. package/api/_types/_core.search_shards.d.ts +3 -2
  109. package/api/_types/_core.termvectors.d.ts +3 -2
  110. package/api/_types/_core.update.d.ts +3 -2
  111. package/api/_types/_core.update_by_query_rethrottle.d.ts +3 -2
  112. package/api/_types/_global.d.ts +3 -2
  113. package/api/_types/asynchronous_search._common.d.ts +87 -0
  114. package/api/_types/cat._common.d.ts +3 -2
  115. package/api/_types/cat.aliases.d.ts +3 -2
  116. package/api/_types/cat.allocation.d.ts +7 -6
  117. package/api/_types/cat.cluster_manager.d.ts +3 -2
  118. package/api/_types/cat.count.d.ts +3 -2
  119. package/api/_types/cat.fielddata.d.ts +3 -2
  120. package/api/_types/cat.health.d.ts +3 -2
  121. package/api/_types/cat.indices.d.ts +133 -128
  122. package/api/_types/cat.master.d.ts +3 -2
  123. package/api/_types/cat.nodeattrs.d.ts +3 -2
  124. package/api/_types/cat.nodes.d.ts +13 -5
  125. package/api/_types/cat.pending_tasks.d.ts +3 -2
  126. package/api/_types/cat.plugins.d.ts +3 -2
  127. package/api/_types/cat.recovery.d.ts +5 -4
  128. package/api/_types/cat.repositories.d.ts +3 -2
  129. package/api/_types/cat.segments.d.ts +5 -4
  130. package/api/_types/cat.shards.d.ts +80 -70
  131. package/api/_types/cat.snapshots.d.ts +3 -2
  132. package/api/_types/cat.tasks.d.ts +3 -2
  133. package/api/_types/cat.templates.d.ts +3 -2
  134. package/api/_types/cat.thread_pool.d.ts +4 -2
  135. package/api/_types/cluster._common.d.ts +3 -2
  136. package/api/_types/cluster.allocation_explain.d.ts +11 -7
  137. package/api/_types/cluster.decommission_awareness.d.ts +21 -0
  138. package/api/_types/cluster.health.d.ts +15 -2
  139. package/api/_types/cluster.pending_tasks.d.ts +3 -2
  140. package/api/_types/cluster.remote_info.d.ts +3 -2
  141. package/api/_types/cluster.reroute.d.ts +3 -2
  142. package/api/_types/cluster.state.d.ts +3 -2
  143. package/api/_types/cluster.stats.d.ts +43 -29
  144. package/api/_types/cluster.weighted_routing.d.ts +30 -0
  145. package/api/_types/dangling_indices.list_dangling_indices.d.ts +3 -2
  146. package/api/_types/flow_framework.common.d.ts +71 -0
  147. package/api/_types/flow_framework.errors.d.ts +35 -0
  148. package/api/_types/indices._common.d.ts +9 -8
  149. package/api/_types/indices.add_block.d.ts +3 -2
  150. package/api/_types/indices.analyze.d.ts +3 -2
  151. package/api/_types/indices.close.d.ts +3 -2
  152. package/api/_types/indices.data_streams_stats.d.ts +5 -4
  153. package/api/_types/indices.get_alias.d.ts +3 -2
  154. package/api/_types/indices.get_field_mapping.d.ts +3 -2
  155. package/api/_types/indices.get_index_template.d.ts +3 -2
  156. package/api/_types/indices.get_mapping.d.ts +3 -2
  157. package/api/_types/indices.put_index_template.d.ts +3 -2
  158. package/api/_types/indices.recovery.d.ts +11 -10
  159. package/api/_types/indices.resolve_index.d.ts +3 -2
  160. package/api/_types/indices.rollover.d.ts +11 -10
  161. package/api/_types/indices.segments.d.ts +8 -4
  162. package/api/_types/indices.shard_stores.d.ts +3 -2
  163. package/api/_types/indices.simulate_template.d.ts +3 -2
  164. package/api/_types/indices.stats.d.ts +27 -66
  165. package/api/_types/indices.update_aliases.d.ts +3 -2
  166. package/api/_types/indices.validate_query.d.ts +3 -2
  167. package/api/_types/ingest._common.d.ts +3 -2
  168. package/api/_types/ingest.simulate.d.ts +3 -2
  169. package/api/_types/knn._common.d.ts +3 -2
  170. package/api/_types/ml._common.d.ts +14 -3
  171. package/api/_types/nodes._common.d.ts +112 -77
  172. package/api/_types/nodes.info.d.ts +36 -35
  173. package/api/_types/nodes.reload_secure_settings.d.ts +3 -2
  174. package/api/_types/nodes.stats.d.ts +3 -2
  175. package/api/_types/nodes.usage.d.ts +3 -2
  176. package/api/_types/notifications._common.d.ts +3 -2
  177. package/api/_types/observability._common.d.ts +117 -0
  178. package/api/_types/query._common.d.ts +66 -0
  179. package/api/_types/remote_store._common.d.ts +3 -2
  180. package/api/_types/rollups._common.d.ts +3 -2
  181. package/api/_types/search_pipeline._common.d.ts +101 -3
  182. package/api/_types/security._common.d.ts +82 -64
  183. package/api/_types/snapshot._common.d.ts +7 -6
  184. package/api/_types/snapshot.cleanup_repository.d.ts +3 -2
  185. package/api/_types/snapshot.get.d.ts +3 -2
  186. package/api/_types/snapshot.restore.d.ts +3 -2
  187. package/api/_types/snapshot.verify_repository.d.ts +3 -2
  188. package/api/_types/sql._common.d.ts +3 -2
  189. package/api/_types/tasks._common.d.ts +3 -2
  190. package/api/_types/transforms._common.d.ts +3 -2
  191. package/api/asynchronousSearch/_api.js +29 -0
  192. package/api/asynchronousSearch/delete.d.ts +31 -0
  193. package/api/asynchronousSearch/delete.js +49 -0
  194. package/api/asynchronousSearch/get.d.ts +30 -0
  195. package/api/asynchronousSearch/get.js +49 -0
  196. package/api/asynchronousSearch/search.d.ts +34 -0
  197. package/api/asynchronousSearch/search.js +51 -0
  198. package/api/asynchronousSearch/stats.d.ts +28 -0
  199. package/api/asynchronousSearch/stats.js +45 -0
  200. package/api/cat/_api.js +16 -3
  201. package/api/cat/aliases.d.ts +3 -2
  202. package/api/cat/aliases.js +4 -3
  203. package/api/cat/allPitSegments.d.ts +4 -3
  204. package/api/cat/allPitSegments.js +4 -3
  205. package/api/cat/allocation.d.ts +4 -3
  206. package/api/cat/allocation.js +4 -3
  207. package/api/cat/clusterManager.d.ts +3 -2
  208. package/api/cat/clusterManager.js +4 -3
  209. package/api/cat/count.d.ts +3 -2
  210. package/api/cat/count.js +4 -3
  211. package/api/cat/fielddata.d.ts +4 -3
  212. package/api/cat/fielddata.js +4 -3
  213. package/api/cat/health.d.ts +3 -2
  214. package/api/cat/health.js +4 -3
  215. package/api/cat/help.d.ts +3 -2
  216. package/api/cat/help.js +4 -3
  217. package/api/cat/indices.d.ts +4 -3
  218. package/api/cat/indices.js +4 -3
  219. package/api/cat/master.d.ts +3 -2
  220. package/api/cat/master.js +4 -3
  221. package/api/cat/nodeattrs.d.ts +3 -2
  222. package/api/cat/nodeattrs.js +4 -3
  223. package/api/cat/nodes.d.ts +4 -3
  224. package/api/cat/nodes.js +4 -3
  225. package/api/cat/pendingTasks.d.ts +3 -2
  226. package/api/cat/pendingTasks.js +4 -3
  227. package/api/cat/pitSegments.d.ts +4 -3
  228. package/api/cat/pitSegments.js +4 -3
  229. package/api/cat/plugins.d.ts +3 -2
  230. package/api/cat/plugins.js +4 -3
  231. package/api/cat/recovery.d.ts +4 -3
  232. package/api/cat/recovery.js +4 -3
  233. package/api/cat/repositories.d.ts +3 -2
  234. package/api/cat/repositories.js +4 -3
  235. package/api/cat/segmentReplication.d.ts +4 -3
  236. package/api/cat/segmentReplication.js +4 -3
  237. package/api/cat/segments.d.ts +4 -3
  238. package/api/cat/segments.js +4 -3
  239. package/api/cat/shards.d.ts +4 -3
  240. package/api/cat/shards.js +4 -3
  241. package/api/cat/snapshots.d.ts +3 -2
  242. package/api/cat/snapshots.js +4 -3
  243. package/api/cat/tasks.d.ts +3 -2
  244. package/api/cat/tasks.js +4 -3
  245. package/api/cat/templates.d.ts +3 -2
  246. package/api/cat/templates.js +4 -3
  247. package/api/cat/threadPool.d.ts +3 -2
  248. package/api/cat/threadPool.js +5 -4
  249. package/api/cluster/_api.js +38 -3
  250. package/api/cluster/allocationExplain.d.ts +3 -2
  251. package/api/cluster/allocationExplain.js +4 -3
  252. package/api/cluster/deleteComponentTemplate.d.ts +3 -2
  253. package/api/cluster/deleteComponentTemplate.js +4 -3
  254. package/api/cluster/deleteDecommissionAwareness.d.ts +5 -3
  255. package/api/cluster/deleteDecommissionAwareness.js +4 -3
  256. package/api/cluster/deleteVotingConfigExclusions.d.ts +3 -2
  257. package/api/cluster/deleteVotingConfigExclusions.js +4 -3
  258. package/api/cluster/deleteWeightedRouting.d.ts +9 -4
  259. package/api/cluster/deleteWeightedRouting.js +7 -4
  260. package/api/cluster/existsComponentTemplate.d.ts +3 -2
  261. package/api/cluster/existsComponentTemplate.js +4 -3
  262. package/api/cluster/getComponentTemplate.d.ts +3 -2
  263. package/api/cluster/getComponentTemplate.js +4 -3
  264. package/api/cluster/getDecommissionAwareness.d.ts +5 -3
  265. package/api/cluster/getDecommissionAwareness.js +4 -3
  266. package/api/cluster/getSettings.d.ts +6 -5
  267. package/api/cluster/getSettings.js +4 -3
  268. package/api/cluster/getWeightedRouting.d.ts +5 -3
  269. package/api/cluster/getWeightedRouting.js +4 -3
  270. package/api/cluster/health.d.ts +3 -2
  271. package/api/cluster/health.js +4 -3
  272. package/api/cluster/pendingTasks.d.ts +3 -2
  273. package/api/cluster/pendingTasks.js +4 -3
  274. package/api/cluster/postVotingConfigExclusions.d.ts +3 -2
  275. package/api/cluster/postVotingConfigExclusions.js +4 -3
  276. package/api/cluster/putComponentTemplate.d.ts +3 -2
  277. package/api/cluster/putComponentTemplate.js +4 -3
  278. package/api/cluster/putDecommissionAwareness.d.ts +5 -3
  279. package/api/cluster/putDecommissionAwareness.js +4 -3
  280. package/api/cluster/putSettings.d.ts +3 -2
  281. package/api/cluster/putSettings.js +4 -3
  282. package/api/cluster/putWeightedRouting.d.ts +5 -2
  283. package/api/cluster/putWeightedRouting.js +5 -3
  284. package/api/cluster/remoteInfo.d.ts +3 -2
  285. package/api/cluster/remoteInfo.js +4 -3
  286. package/api/cluster/reroute.d.ts +3 -2
  287. package/api/cluster/reroute.js +4 -3
  288. package/api/cluster/state.d.ts +3 -2
  289. package/api/cluster/state.js +4 -3
  290. package/api/cluster/stats.d.ts +3 -2
  291. package/api/cluster/stats.js +4 -3
  292. package/api/danglingIndices/_api.js +12 -5
  293. package/api/danglingIndices/deleteDanglingIndex.d.ts +3 -2
  294. package/api/danglingIndices/deleteDanglingIndex.js +4 -3
  295. package/api/danglingIndices/importDanglingIndex.d.ts +3 -2
  296. package/api/danglingIndices/importDanglingIndex.js +4 -3
  297. package/api/danglingIndices/listDanglingIndices.d.ts +3 -2
  298. package/api/danglingIndices/listDanglingIndices.js +4 -3
  299. package/api/flowFramework/_api.js +29 -0
  300. package/api/flowFramework/create.d.ts +36 -0
  301. package/api/flowFramework/create.js +51 -0
  302. package/api/flowFramework/delete.d.ts +30 -0
  303. package/api/flowFramework/delete.js +50 -0
  304. package/api/flowFramework/get.d.ts +29 -0
  305. package/api/flowFramework/get.js +49 -0
  306. package/api/flowFramework/update.d.ts +34 -0
  307. package/api/flowFramework/update.js +51 -0
  308. package/api/http/_api.js +4 -3
  309. package/api/http/connect.js +3 -2
  310. package/api/http/delete.js +3 -2
  311. package/api/http/get.js +3 -2
  312. package/api/http/head.js +3 -2
  313. package/api/http/options.js +3 -2
  314. package/api/http/patch.js +3 -2
  315. package/api/http/post.js +3 -2
  316. package/api/http/put.js +3 -2
  317. package/api/http/trace.js +3 -2
  318. package/api/index.d.ts +55 -6
  319. package/api/indices/_api.js +64 -3
  320. package/api/indices/addBlock.d.ts +3 -2
  321. package/api/indices/addBlock.js +4 -3
  322. package/api/indices/analyze.d.ts +3 -2
  323. package/api/indices/analyze.js +4 -3
  324. package/api/indices/clearCache.d.ts +3 -2
  325. package/api/indices/clearCache.js +4 -3
  326. package/api/indices/clone.d.ts +3 -2
  327. package/api/indices/clone.js +4 -3
  328. package/api/indices/close.d.ts +3 -2
  329. package/api/indices/close.js +4 -3
  330. package/api/indices/create.d.ts +3 -2
  331. package/api/indices/create.js +4 -3
  332. package/api/indices/createDataStream.d.ts +3 -2
  333. package/api/indices/createDataStream.js +4 -3
  334. package/api/indices/dataStreamsStats.d.ts +5 -4
  335. package/api/indices/dataStreamsStats.js +4 -3
  336. package/api/indices/delete.d.ts +3 -2
  337. package/api/indices/delete.js +4 -3
  338. package/api/indices/deleteAlias.d.ts +3 -2
  339. package/api/indices/deleteAlias.js +4 -3
  340. package/api/indices/deleteDataStream.d.ts +3 -2
  341. package/api/indices/deleteDataStream.js +4 -3
  342. package/api/indices/deleteIndexTemplate.d.ts +3 -2
  343. package/api/indices/deleteIndexTemplate.js +4 -3
  344. package/api/indices/deleteTemplate.d.ts +3 -2
  345. package/api/indices/deleteTemplate.js +4 -3
  346. package/api/indices/exists.d.ts +3 -2
  347. package/api/indices/exists.js +4 -3
  348. package/api/indices/existsAlias.d.ts +3 -2
  349. package/api/indices/existsAlias.js +4 -3
  350. package/api/indices/existsIndexTemplate.d.ts +3 -2
  351. package/api/indices/existsIndexTemplate.js +4 -3
  352. package/api/indices/existsTemplate.d.ts +3 -2
  353. package/api/indices/existsTemplate.js +4 -3
  354. package/api/indices/flush.d.ts +3 -2
  355. package/api/indices/flush.js +4 -3
  356. package/api/indices/forcemerge.d.ts +3 -2
  357. package/api/indices/forcemerge.js +4 -3
  358. package/api/indices/get.d.ts +3 -2
  359. package/api/indices/get.js +4 -3
  360. package/api/indices/getAlias.d.ts +3 -2
  361. package/api/indices/getAlias.js +4 -3
  362. package/api/indices/getDataStream.d.ts +3 -2
  363. package/api/indices/getDataStream.js +4 -3
  364. package/api/indices/getFieldMapping.d.ts +3 -2
  365. package/api/indices/getFieldMapping.js +4 -3
  366. package/api/indices/getIndexTemplate.d.ts +3 -2
  367. package/api/indices/getIndexTemplate.js +4 -3
  368. package/api/indices/getMapping.d.ts +3 -2
  369. package/api/indices/getMapping.js +4 -3
  370. package/api/indices/getSettings.d.ts +3 -2
  371. package/api/indices/getSettings.js +4 -3
  372. package/api/indices/getTemplate.d.ts +3 -2
  373. package/api/indices/getTemplate.js +4 -3
  374. package/api/indices/getUpgrade.d.ts +3 -2
  375. package/api/indices/getUpgrade.js +4 -3
  376. package/api/indices/open.d.ts +3 -2
  377. package/api/indices/open.js +4 -3
  378. package/api/indices/putAlias.d.ts +3 -2
  379. package/api/indices/putAlias.js +4 -3
  380. package/api/indices/putIndexTemplate.d.ts +3 -2
  381. package/api/indices/putIndexTemplate.js +4 -3
  382. package/api/indices/putMapping.d.ts +3 -2
  383. package/api/indices/putMapping.js +4 -3
  384. package/api/indices/putSettings.d.ts +3 -2
  385. package/api/indices/putSettings.js +4 -3
  386. package/api/indices/putTemplate.d.ts +3 -2
  387. package/api/indices/putTemplate.js +4 -3
  388. package/api/indices/recovery.d.ts +3 -2
  389. package/api/indices/recovery.js +4 -3
  390. package/api/indices/refresh.d.ts +3 -2
  391. package/api/indices/refresh.js +4 -3
  392. package/api/indices/resolveIndex.d.ts +3 -2
  393. package/api/indices/resolveIndex.js +4 -3
  394. package/api/indices/rollover.d.ts +3 -2
  395. package/api/indices/rollover.js +4 -3
  396. package/api/indices/segments.d.ts +3 -2
  397. package/api/indices/segments.js +4 -3
  398. package/api/indices/shardStores.d.ts +3 -2
  399. package/api/indices/shardStores.js +4 -3
  400. package/api/indices/shrink.d.ts +3 -2
  401. package/api/indices/shrink.js +4 -3
  402. package/api/indices/simulateIndexTemplate.d.ts +3 -2
  403. package/api/indices/simulateIndexTemplate.js +4 -3
  404. package/api/indices/simulateTemplate.d.ts +3 -2
  405. package/api/indices/simulateTemplate.js +4 -3
  406. package/api/indices/split.d.ts +3 -2
  407. package/api/indices/split.js +4 -3
  408. package/api/indices/stats.d.ts +4 -3
  409. package/api/indices/stats.js +4 -3
  410. package/api/indices/updateAliases.d.ts +3 -2
  411. package/api/indices/updateAliases.js +4 -3
  412. package/api/indices/upgrade.d.ts +3 -2
  413. package/api/indices/upgrade.js +4 -3
  414. package/api/indices/validateQuery.d.ts +3 -2
  415. package/api/indices/validateQuery.js +4 -3
  416. package/api/ingest/_api.js +12 -3
  417. package/api/ingest/deletePipeline.d.ts +3 -2
  418. package/api/ingest/deletePipeline.js +4 -3
  419. package/api/ingest/getPipeline.d.ts +3 -2
  420. package/api/ingest/getPipeline.js +4 -3
  421. package/api/ingest/processorGrok.d.ts +3 -2
  422. package/api/ingest/processorGrok.js +4 -3
  423. package/api/ingest/putPipeline.d.ts +3 -2
  424. package/api/ingest/putPipeline.js +4 -3
  425. package/api/ingest/simulate.d.ts +3 -2
  426. package/api/ingest/simulate.js +4 -3
  427. package/api/knn/_api.js +12 -3
  428. package/api/knn/deleteModel.d.ts +3 -2
  429. package/api/knn/deleteModel.js +4 -3
  430. package/api/knn/getModel.d.ts +3 -2
  431. package/api/knn/getModel.js +4 -3
  432. package/api/knn/searchModels.d.ts +3 -2
  433. package/api/knn/searchModels.js +11 -10
  434. package/api/knn/stats.d.ts +3 -2
  435. package/api/knn/stats.js +4 -3
  436. package/api/knn/trainModel.d.ts +3 -2
  437. package/api/knn/trainModel.js +4 -3
  438. package/api/knn/warmup.d.ts +3 -2
  439. package/api/knn/warmup.js +4 -3
  440. package/api/ml/_api.js +27 -3
  441. package/api/ml/deleteModel.d.ts +5 -4
  442. package/api/ml/deleteModel.js +4 -3
  443. package/api/ml/deleteModelGroup.d.ts +5 -4
  444. package/api/ml/deleteModelGroup.js +4 -3
  445. package/api/ml/deleteTask.d.ts +30 -0
  446. package/api/ml/deleteTask.js +49 -0
  447. package/api/ml/deployModel.d.ts +33 -0
  448. package/api/{security/generateUserTokenLegacy.js → ml/deployModel.js} +14 -13
  449. package/api/ml/getModelGroup.d.ts +3 -2
  450. package/api/ml/getModelGroup.js +4 -3
  451. package/api/ml/getTask.d.ts +3 -2
  452. package/api/ml/getTask.js +4 -3
  453. package/api/ml/registerModel.d.ts +7 -4
  454. package/api/ml/registerModel.js +4 -3
  455. package/api/ml/registerModelGroup.d.ts +3 -2
  456. package/api/ml/registerModelGroup.js +4 -3
  457. package/api/ml/searchModels.d.ts +3 -2
  458. package/api/ml/searchModels.js +4 -3
  459. package/api/ml/undeployModel.d.ts +30 -0
  460. package/api/ml/undeployModel.js +49 -0
  461. package/api/nodes/_api.js +8 -3
  462. package/api/nodes/hotThreads.d.ts +3 -2
  463. package/api/nodes/hotThreads.js +6 -5
  464. package/api/nodes/info.d.ts +3 -2
  465. package/api/nodes/info.js +4 -3
  466. package/api/nodes/reloadSecureSettings.d.ts +3 -2
  467. package/api/nodes/reloadSecureSettings.js +4 -3
  468. package/api/nodes/stats.d.ts +3 -2
  469. package/api/nodes/stats.js +4 -3
  470. package/api/nodes/usage.d.ts +3 -2
  471. package/api/nodes/usage.js +4 -3
  472. package/api/notifications/_api.js +22 -3
  473. package/api/notifications/createConfig.d.ts +3 -2
  474. package/api/notifications/createConfig.js +4 -3
  475. package/api/notifications/deleteConfig.d.ts +3 -2
  476. package/api/notifications/deleteConfig.js +4 -3
  477. package/api/notifications/deleteConfigs.d.ts +3 -2
  478. package/api/notifications/deleteConfigs.js +4 -3
  479. package/api/notifications/getConfig.d.ts +3 -2
  480. package/api/notifications/getConfig.js +4 -3
  481. package/api/notifications/getConfigs.d.ts +3 -2
  482. package/api/notifications/getConfigs.js +6 -5
  483. package/api/notifications/listChannels.d.ts +3 -2
  484. package/api/notifications/listChannels.js +4 -3
  485. package/api/notifications/listFeatures.d.ts +3 -2
  486. package/api/notifications/listFeatures.js +4 -3
  487. package/api/notifications/sendTest.d.ts +3 -2
  488. package/api/notifications/sendTest.js +4 -3
  489. package/api/notifications/updateConfig.d.ts +3 -2
  490. package/api/notifications/updateConfig.js +4 -3
  491. package/api/observability/_api.js +46 -0
  492. package/api/observability/createObject.d.ts +32 -0
  493. package/api/observability/createObject.js +47 -0
  494. package/api/observability/deleteObject.d.ts +31 -0
  495. package/api/observability/deleteObject.js +49 -0
  496. package/api/observability/deleteObjects.d.ts +32 -0
  497. package/api/observability/deleteObjects.js +48 -0
  498. package/api/observability/getLocalstats.d.ts +27 -0
  499. package/api/observability/getLocalstats.js +45 -0
  500. package/api/observability/getObject.d.ts +30 -0
  501. package/api/observability/getObject.js +49 -0
  502. package/api/observability/listObjects.d.ts +28 -0
  503. package/api/observability/listObjects.js +45 -0
  504. package/api/observability/updateObject.d.ts +33 -0
  505. package/api/observability/updateObject.js +50 -0
  506. package/api/ppl/_api.js +8 -3
  507. package/api/ppl/explain.d.ts +3 -2
  508. package/api/ppl/explain.js +4 -3
  509. package/api/ppl/getStats.d.ts +3 -2
  510. package/api/ppl/getStats.js +4 -3
  511. package/api/ppl/postStats.d.ts +3 -2
  512. package/api/ppl/postStats.js +4 -3
  513. package/api/ppl/query.d.ts +3 -2
  514. package/api/ppl/query.js +4 -3
  515. package/api/query/_api.js +40 -0
  516. package/api/query/datasourceDelete.d.ts +29 -0
  517. package/api/query/datasourceDelete.js +49 -0
  518. package/api/query/datasourceRetrieve.d.ts +30 -0
  519. package/api/query/datasourceRetrieve.js +49 -0
  520. package/api/query/datasourcesCreate.d.ts +30 -0
  521. package/api/query/datasourcesCreate.js +47 -0
  522. package/api/query/datasourcesList.d.ts +28 -0
  523. package/api/query/datasourcesList.js +45 -0
  524. package/api/query/datasourcesUpdate.d.ts +30 -0
  525. package/api/query/datasourcesUpdate.js +47 -0
  526. package/api/remoteStore/_api.js +6 -5
  527. package/api/remoteStore/restore.d.ts +3 -2
  528. package/api/remoteStore/restore.js +4 -3
  529. package/api/rollups/_api.js +4 -3
  530. package/api/rollups/delete.d.ts +3 -2
  531. package/api/rollups/delete.js +4 -3
  532. package/api/rollups/explain.d.ts +3 -2
  533. package/api/rollups/explain.js +4 -3
  534. package/api/rollups/get.d.ts +3 -2
  535. package/api/rollups/get.js +4 -3
  536. package/api/rollups/put.d.ts +3 -2
  537. package/api/rollups/put.js +4 -3
  538. package/api/rollups/start.d.ts +3 -2
  539. package/api/rollups/start.js +4 -3
  540. package/api/rollups/stop.d.ts +3 -2
  541. package/api/rollups/stop.js +4 -3
  542. package/api/searchPipeline/_api.js +6 -5
  543. package/api/searchPipeline/delete.d.ts +3 -2
  544. package/api/searchPipeline/delete.js +4 -3
  545. package/api/searchPipeline/get.d.ts +3 -2
  546. package/api/searchPipeline/get.js +4 -3
  547. package/api/searchPipeline/put.d.ts +3 -2
  548. package/api/searchPipeline/put.js +4 -3
  549. package/api/security/_api.js +146 -4
  550. package/api/security/authinfo.d.ts +3 -2
  551. package/api/security/authinfo.js +4 -3
  552. package/api/security/authtoken.d.ts +3 -2
  553. package/api/security/authtoken.js +4 -3
  554. package/api/security/changePassword.d.ts +3 -2
  555. package/api/security/changePassword.js +4 -3
  556. package/api/security/configUpgradeCheck.d.ts +3 -2
  557. package/api/security/configUpgradeCheck.js +5 -4
  558. package/api/security/configUpgradePerform.d.ts +3 -2
  559. package/api/security/configUpgradePerform.js +5 -4
  560. package/api/security/createActionGroup.d.ts +3 -2
  561. package/api/security/createActionGroup.js +4 -3
  562. package/api/security/createAllowlist.d.ts +3 -2
  563. package/api/security/createAllowlist.js +4 -3
  564. package/api/security/createRole.d.ts +3 -2
  565. package/api/security/createRole.js +5 -4
  566. package/api/security/createRoleMapping.d.ts +3 -2
  567. package/api/security/createRoleMapping.js +5 -4
  568. package/api/security/createTenant.d.ts +3 -2
  569. package/api/security/createTenant.js +5 -4
  570. package/api/security/createUpdateTenancyConfig.d.ts +4 -5
  571. package/api/security/createUpdateTenancyConfig.js +5 -4
  572. package/api/security/createUser.d.ts +3 -2
  573. package/api/security/createUser.js +5 -4
  574. package/api/security/createUserLegacy.d.ts +3 -2
  575. package/api/security/createUserLegacy.js +5 -4
  576. package/api/security/deleteActionGroup.d.ts +3 -2
  577. package/api/security/deleteActionGroup.js +5 -4
  578. package/api/security/deleteDistinguishedName.d.ts +3 -2
  579. package/api/security/deleteDistinguishedName.js +5 -4
  580. package/api/security/deleteRole.d.ts +3 -2
  581. package/api/security/deleteRole.js +5 -4
  582. package/api/security/deleteRoleMapping.d.ts +3 -2
  583. package/api/security/deleteRoleMapping.js +5 -4
  584. package/api/security/deleteTenant.d.ts +3 -2
  585. package/api/security/deleteTenant.js +5 -4
  586. package/api/security/deleteUser.d.ts +3 -2
  587. package/api/security/deleteUser.js +5 -4
  588. package/api/security/deleteUserLegacy.d.ts +3 -2
  589. package/api/security/deleteUserLegacy.js +5 -4
  590. package/api/security/flushCache.d.ts +3 -2
  591. package/api/security/flushCache.js +4 -3
  592. package/api/security/generateOboToken.d.ts +3 -2
  593. package/api/security/generateOboToken.js +4 -3
  594. package/api/security/generateUserToken.d.ts +3 -2
  595. package/api/security/generateUserToken.js +5 -4
  596. package/api/security/getAccountDetails.d.ts +3 -2
  597. package/api/security/getAccountDetails.js +4 -3
  598. package/api/security/getActionGroup.d.ts +3 -2
  599. package/api/security/getActionGroup.js +5 -4
  600. package/api/security/getActionGroups.d.ts +3 -2
  601. package/api/security/getActionGroups.js +4 -3
  602. package/api/security/getAllCertificates.d.ts +32 -0
  603. package/api/security/getAllCertificates.js +48 -0
  604. package/api/security/getAllowlist.d.ts +3 -2
  605. package/api/security/getAllowlist.js +4 -3
  606. package/api/security/getAuditConfiguration.d.ts +3 -2
  607. package/api/security/getAuditConfiguration.js +4 -3
  608. package/api/security/getCertificates.d.ts +3 -2
  609. package/api/security/getCertificates.js +4 -3
  610. package/api/security/getConfiguration.d.ts +4 -3
  611. package/api/security/getConfiguration.js +4 -3
  612. package/api/security/getDashboardsInfo.d.ts +3 -2
  613. package/api/security/getDashboardsInfo.js +4 -3
  614. package/api/security/getDistinguishedName.d.ts +3 -2
  615. package/api/security/getDistinguishedName.js +6 -5
  616. package/api/security/getDistinguishedNames.d.ts +3 -2
  617. package/api/security/getDistinguishedNames.js +5 -4
  618. package/api/security/getNodeCertificates.d.ts +33 -0
  619. package/api/security/getNodeCertificates.js +51 -0
  620. package/api/security/getPermissionsInfo.d.ts +3 -2
  621. package/api/security/getPermissionsInfo.js +4 -3
  622. package/api/security/getRole.d.ts +3 -2
  623. package/api/security/getRole.js +4 -3
  624. package/api/security/getRoleMapping.d.ts +3 -2
  625. package/api/security/getRoleMapping.js +4 -3
  626. package/api/security/getRoleMappings.d.ts +3 -2
  627. package/api/security/getRoleMappings.js +4 -3
  628. package/api/security/getRoles.d.ts +3 -2
  629. package/api/security/getRoles.js +4 -3
  630. package/api/security/getSslinfo.d.ts +4 -3
  631. package/api/security/getSslinfo.js +5 -4
  632. package/api/security/getTenancyConfig.d.ts +3 -2
  633. package/api/security/getTenancyConfig.js +4 -3
  634. package/api/security/getTenant.d.ts +3 -2
  635. package/api/security/getTenant.js +5 -4
  636. package/api/security/getTenants.d.ts +3 -2
  637. package/api/security/getTenants.js +4 -3
  638. package/api/security/getUser.d.ts +3 -2
  639. package/api/security/getUser.js +5 -4
  640. package/api/security/getUserLegacy.d.ts +3 -2
  641. package/api/security/getUserLegacy.js +5 -4
  642. package/api/security/getUsers.d.ts +3 -2
  643. package/api/security/getUsers.js +4 -3
  644. package/api/security/getUsersLegacy.d.ts +3 -2
  645. package/api/security/getUsersLegacy.js +4 -3
  646. package/api/security/health.d.ts +3 -2
  647. package/api/security/health.js +5 -4
  648. package/api/security/migrate.d.ts +3 -2
  649. package/api/security/migrate.js +4 -3
  650. package/api/security/patchActionGroup.d.ts +3 -2
  651. package/api/security/patchActionGroup.js +5 -4
  652. package/api/security/patchActionGroups.d.ts +3 -2
  653. package/api/security/patchActionGroups.js +4 -3
  654. package/api/security/patchAllowlist.d.ts +3 -2
  655. package/api/security/patchAllowlist.js +4 -3
  656. package/api/security/patchAuditConfiguration.d.ts +3 -2
  657. package/api/security/patchAuditConfiguration.js +4 -3
  658. package/api/security/patchConfiguration.d.ts +3 -2
  659. package/api/security/patchConfiguration.js +4 -3
  660. package/api/security/patchDistinguishedName.d.ts +3 -2
  661. package/api/security/patchDistinguishedName.js +5 -4
  662. package/api/security/patchDistinguishedNames.d.ts +3 -2
  663. package/api/security/patchDistinguishedNames.js +4 -3
  664. package/api/security/patchRole.d.ts +3 -2
  665. package/api/security/patchRole.js +5 -4
  666. package/api/security/patchRoleMapping.d.ts +3 -2
  667. package/api/security/patchRoleMapping.js +5 -4
  668. package/api/security/patchRoleMappings.d.ts +3 -2
  669. package/api/security/patchRoleMappings.js +4 -3
  670. package/api/security/patchRoles.d.ts +3 -2
  671. package/api/security/patchRoles.js +4 -3
  672. package/api/security/patchTenant.d.ts +3 -2
  673. package/api/security/patchTenant.js +5 -4
  674. package/api/security/patchTenants.d.ts +3 -2
  675. package/api/security/patchTenants.js +4 -3
  676. package/api/security/patchUser.d.ts +3 -2
  677. package/api/security/patchUser.js +5 -4
  678. package/api/security/patchUsers.d.ts +3 -2
  679. package/api/security/patchUsers.js +4 -3
  680. package/api/security/postDashboardsInfo.d.ts +4 -5
  681. package/api/security/postDashboardsInfo.js +5 -6
  682. package/api/security/reloadHttpCertificates.d.ts +3 -2
  683. package/api/security/reloadHttpCertificates.js +4 -3
  684. package/api/security/reloadTransportCertificates.d.ts +3 -2
  685. package/api/security/reloadTransportCertificates.js +4 -3
  686. package/api/security/tenantInfo.d.ts +3 -2
  687. package/api/security/tenantInfo.js +4 -3
  688. package/api/security/updateAuditConfiguration.d.ts +3 -2
  689. package/api/security/updateAuditConfiguration.js +4 -3
  690. package/api/security/updateConfiguration.d.ts +3 -2
  691. package/api/security/updateConfiguration.js +4 -3
  692. package/api/security/updateDistinguishedName.d.ts +4 -3
  693. package/api/security/updateDistinguishedName.js +5 -4
  694. package/api/security/validate.d.ts +3 -2
  695. package/api/security/validate.js +5 -4
  696. package/api/security/whoAmI.d.ts +3 -2
  697. package/api/security/whoAmI.js +4 -3
  698. package/api/security/whoAmIProtected.d.ts +3 -2
  699. package/api/security/whoAmIProtected.js +4 -3
  700. package/api/snapshot/_api.js +14 -3
  701. package/api/snapshot/cleanupRepository.d.ts +3 -2
  702. package/api/snapshot/cleanupRepository.js +4 -3
  703. package/api/snapshot/clone.d.ts +3 -2
  704. package/api/snapshot/clone.js +4 -3
  705. package/api/snapshot/create.d.ts +3 -2
  706. package/api/snapshot/create.js +4 -3
  707. package/api/snapshot/createRepository.d.ts +3 -2
  708. package/api/snapshot/createRepository.js +4 -3
  709. package/api/snapshot/delete.d.ts +3 -2
  710. package/api/snapshot/delete.js +4 -3
  711. package/api/snapshot/deleteRepository.d.ts +3 -2
  712. package/api/snapshot/deleteRepository.js +4 -3
  713. package/api/snapshot/get.d.ts +3 -2
  714. package/api/snapshot/get.js +4 -3
  715. package/api/snapshot/getRepository.d.ts +3 -2
  716. package/api/snapshot/getRepository.js +4 -3
  717. package/api/snapshot/restore.d.ts +3 -2
  718. package/api/snapshot/restore.js +4 -3
  719. package/api/snapshot/status.d.ts +3 -2
  720. package/api/snapshot/status.js +4 -3
  721. package/api/snapshot/verifyRepository.d.ts +3 -2
  722. package/api/snapshot/verifyRepository.js +4 -3
  723. package/api/sql/_api.js +8 -3
  724. package/api/sql/close.d.ts +3 -2
  725. package/api/sql/close.js +4 -3
  726. package/api/sql/explain.d.ts +3 -2
  727. package/api/sql/explain.js +4 -3
  728. package/api/sql/getStats.d.ts +3 -2
  729. package/api/sql/getStats.js +4 -3
  730. package/api/sql/postStats.d.ts +3 -2
  731. package/api/sql/postStats.js +4 -3
  732. package/api/sql/query.d.ts +3 -2
  733. package/api/sql/query.js +4 -3
  734. package/api/sql/settings.d.ts +3 -2
  735. package/api/sql/settings.js +4 -3
  736. package/api/tasks/_api.js +4 -3
  737. package/api/tasks/cancel.d.ts +3 -2
  738. package/api/tasks/cancel.js +4 -3
  739. package/api/tasks/get.d.ts +3 -2
  740. package/api/tasks/get.js +4 -3
  741. package/api/tasks/list.d.ts +3 -2
  742. package/api/tasks/list.js +4 -3
  743. package/api/transforms/_api.js +4 -3
  744. package/api/transforms/delete.d.ts +3 -2
  745. package/api/transforms/delete.js +4 -3
  746. package/api/transforms/explain.d.ts +3 -2
  747. package/api/transforms/explain.js +4 -3
  748. package/api/transforms/get.d.ts +3 -2
  749. package/api/transforms/get.js +4 -3
  750. package/api/transforms/preview.d.ts +3 -2
  751. package/api/transforms/preview.js +4 -3
  752. package/api/transforms/put.d.ts +3 -2
  753. package/api/transforms/put.js +4 -3
  754. package/api/transforms/search.d.ts +3 -2
  755. package/api/transforms/search.js +4 -3
  756. package/api/transforms/start.d.ts +3 -2
  757. package/api/transforms/start.js +4 -3
  758. package/api/transforms/stop.d.ts +3 -2
  759. package/api/transforms/stop.js +4 -3
  760. package/api/utils.js +7 -6
  761. package/index.d.ts +2 -0
  762. package/index.js +2 -0
  763. package/index.mjs +2 -0
  764. package/lib/Client.d.ts +2 -1
  765. package/lib/Client.js +35 -35
  766. package/lib/Helpers.d.ts +18 -21
  767. package/lib/Helpers.js +0 -2
  768. package/lib/errors.d.ts +13 -13
  769. package/package.json +11 -6
  770. package/CHANGELOG.md +0 -295
  771. package/NOTICE.txt +0 -8
  772. package/api/security/generateUserTokenLegacy.d.ts +0 -29
  773. package/lib/OpenSearchAPI.js +0 -117
package/api/index.d.ts CHANGED
@@ -5,12 +5,13 @@
5
5
  * The OpenSearch Contributors require contributions made to
6
6
  * this file be licensed under the Apache-2.0 license or a
7
7
  * compatible open source license.
8
+ *
8
9
  */
9
10
 
10
11
  /*
11
- * This file was generated from OpenSearch API Spec. Do not edit it
12
+ * This file was generated from the OpenSearch API Spec. Do NOT edit it
12
13
  * manually. If you want to make changes, either update the spec or
13
- * the API generator.
14
+ * modify the API generator.
14
15
  */
15
16
 
16
17
  import { Info_Request, Info_Response, Info_ResponseBody } from './_core/info';
@@ -180,6 +181,8 @@ import { Security_PatchAuditConfiguration_Request, Security_PatchAuditConfigurat
180
181
  import { Security_UpdateAuditConfiguration_Request, Security_UpdateAuditConfiguration_Response, Security_UpdateAuditConfiguration_ResponseBody } from './security/updateAuditConfiguration';
181
182
  import { Security_Authtoken_Request, Security_Authtoken_Response, Security_Authtoken_ResponseBody } from './security/authtoken';
182
183
  import { Security_FlushCache_Request, Security_FlushCache_Response, Security_FlushCache_ResponseBody } from './security/flushCache';
184
+ import { Security_GetAllCertificates_Request, Security_GetAllCertificates_Response, Security_GetAllCertificates_ResponseBody } from './security/getAllCertificates';
185
+ import { Security_GetNodeCertificates_Request, Security_GetNodeCertificates_Response, Security_GetNodeCertificates_ResponseBody } from './security/getNodeCertificates';
183
186
  import { Security_GenerateOboToken_Request, Security_GenerateOboToken_Response, Security_GenerateOboToken_ResponseBody } from './security/generateOboToken';
184
187
  import { Security_GetUsers_Request, Security_GetUsers_Response, Security_GetUsers_ResponseBody } from './security/getUsers';
185
188
  import { Security_PatchUsers_Request, Security_PatchUsers_RequestBody, Security_PatchUsers_Response, Security_PatchUsers_ResponseBody } from './security/patchUsers';
@@ -215,7 +218,7 @@ import { Security_GetCertificates_Request, Security_GetCertificates_Response, Se
215
218
  import { Security_ReloadHttpCertificates_Request, Security_ReloadHttpCertificates_Response, Security_ReloadHttpCertificates_ResponseBody } from './security/reloadHttpCertificates';
216
219
  import { Security_ReloadTransportCertificates_Request, Security_ReloadTransportCertificates_Response, Security_ReloadTransportCertificates_ResponseBody } from './security/reloadTransportCertificates';
217
220
  import { Security_GetTenancyConfig_Request, Security_GetTenancyConfig_Response, Security_GetTenancyConfig_ResponseBody } from './security/getTenancyConfig';
218
- import { Security_CreateUpdateTenancyConfig_Request, Security_CreateUpdateTenancyConfig_RequestBody, Security_CreateUpdateTenancyConfig_Response, Security_CreateUpdateTenancyConfig_ResponseBody } from './security/createUpdateTenancyConfig';
221
+ import { Security_CreateUpdateTenancyConfig_Request, Security_CreateUpdateTenancyConfig_Response, Security_CreateUpdateTenancyConfig_ResponseBody } from './security/createUpdateTenancyConfig';
219
222
  import { Security_GetTenants_Request, Security_GetTenants_Response, Security_GetTenants_ResponseBody } from './security/getTenants';
220
223
  import { Security_PatchTenants_Request, Security_PatchTenants_RequestBody, Security_PatchTenants_Response, Security_PatchTenants_ResponseBody } from './security/patchTenants';
221
224
  import { Security_DeleteTenant_Request, Security_DeleteTenant_Response, Security_DeleteTenant_ResponseBody } from './security/deleteTenant';
@@ -226,7 +229,6 @@ import { Security_GetUsersLegacy_Request, Security_GetUsersLegacy_Response, Secu
226
229
  import { Security_DeleteUserLegacy_Request, Security_DeleteUserLegacy_Response, Security_DeleteUserLegacy_ResponseBody } from './security/deleteUserLegacy';
227
230
  import { Security_GetUserLegacy_Request, Security_GetUserLegacy_Response, Security_GetUserLegacy_ResponseBody } from './security/getUserLegacy';
228
231
  import { Security_CreateUserLegacy_Request, Security_CreateUserLegacy_Response, Security_CreateUserLegacy_ResponseBody } from './security/createUserLegacy';
229
- import { Security_GenerateUserTokenLegacy_Request, Security_GenerateUserTokenLegacy_Response, Security_GenerateUserTokenLegacy_ResponseBody } from './security/generateUserTokenLegacy';
230
232
  import { Security_Validate_Request, Security_Validate_Response, Security_Validate_ResponseBody } from './security/validate';
231
233
  import { Security_Authinfo_Request, Security_Authinfo_Response, Security_Authinfo_ResponseBody } from './security/authinfo';
232
234
  import { Security_GetDashboardsInfo_Request, Security_GetDashboardsInfo_Response, Security_GetDashboardsInfo_ResponseBody } from './security/getDashboardsInfo';
@@ -235,6 +237,14 @@ import { Security_Health_Request, Security_Health_Response, Security_Health_Resp
235
237
  import { Security_TenantInfo_Request, Security_TenantInfo_Response, Security_TenantInfo_ResponseBody } from './security/tenantInfo';
236
238
  import { Security_WhoAmI_Request, Security_WhoAmI_Response, Security_WhoAmI_ResponseBody } from './security/whoAmI';
237
239
  import { Security_WhoAmIProtected_Request, Security_WhoAmIProtected_Response, Security_WhoAmIProtected_ResponseBody } from './security/whoAmIProtected';
240
+ import { AsynchronousSearch_Search_Request, AsynchronousSearch_Search_Response, AsynchronousSearch_Search_ResponseBody } from './asynchronousSearch/search';
241
+ import { AsynchronousSearch_Delete_Request, AsynchronousSearch_Delete_Response, AsynchronousSearch_Delete_ResponseBody } from './asynchronousSearch/delete';
242
+ import { AsynchronousSearch_Get_Request, AsynchronousSearch_Get_Response, AsynchronousSearch_Get_ResponseBody } from './asynchronousSearch/get';
243
+ import { AsynchronousSearch_Stats_Request, AsynchronousSearch_Stats_Response, AsynchronousSearch_Stats_ResponseBody } from './asynchronousSearch/stats';
244
+ import { FlowFramework_Create_Request, FlowFramework_Create_Response, FlowFramework_Create_ResponseBody } from './flowFramework/create';
245
+ import { FlowFramework_Delete_Request, FlowFramework_Delete_Response, FlowFramework_Delete_ResponseBody } from './flowFramework/delete';
246
+ import { FlowFramework_Get_Request, FlowFramework_Get_Response, FlowFramework_Get_ResponseBody } from './flowFramework/get';
247
+ import { FlowFramework_Update_Request, FlowFramework_Update_Response, FlowFramework_Update_ResponseBody } from './flowFramework/update';
238
248
  import { Knn_Stats_Request, Knn_Stats_Response, Knn_Stats_ResponseBody } from './knn/stats';
239
249
  import { Knn_SearchModels_Request, Knn_SearchModels_RequestBody, Knn_SearchModels_Response, Knn_SearchModels_ResponseBody } from './knn/searchModels';
240
250
  import { Knn_TrainModel_Request, Knn_TrainModel_RequestBody, Knn_TrainModel_Response, Knn_TrainModel_ResponseBody } from './knn/trainModel';
@@ -247,6 +257,9 @@ import { Ml_GetModelGroup_Request, Ml_GetModelGroup_Response, Ml_GetModelGroup_R
247
257
  import { Ml_RegisterModel_Request, Ml_RegisterModel_RequestBody, Ml_RegisterModel_Response, Ml_RegisterModel_ResponseBody } from './ml/registerModel';
248
258
  import { Ml_SearchModels_Request, Ml_SearchModels_Response, Ml_SearchModels_ResponseBody } from './ml/searchModels';
249
259
  import { Ml_DeleteModel_Request, Ml_DeleteModel_Response, Ml_DeleteModel_ResponseBody } from './ml/deleteModel';
260
+ import { Ml_DeployModel_Request, Ml_DeployModel_Response, Ml_DeployModel_ResponseBody } from './ml/deployModel';
261
+ import { Ml_UndeployModel_Request, Ml_UndeployModel_Response, Ml_UndeployModel_ResponseBody } from './ml/undeployModel';
262
+ import { Ml_DeleteTask_Request, Ml_DeleteTask_Response, Ml_DeleteTask_ResponseBody } from './ml/deleteTask';
250
263
  import { Ml_GetTask_Request, Ml_GetTask_Response, Ml_GetTask_ResponseBody } from './ml/getTask';
251
264
  import { Notifications_ListChannels_Request, Notifications_ListChannels_Response, Notifications_ListChannels_ResponseBody } from './notifications/listChannels';
252
265
  import { Notifications_DeleteConfigs_Request, Notifications_DeleteConfigs_Response, Notifications_DeleteConfigs_ResponseBody } from './notifications/deleteConfigs';
@@ -257,10 +270,22 @@ import { Notifications_GetConfig_Request, Notifications_GetConfig_Response, Noti
257
270
  import { Notifications_UpdateConfig_Request, Notifications_UpdateConfig_Response, Notifications_UpdateConfig_ResponseBody } from './notifications/updateConfig';
258
271
  import { Notifications_SendTest_Request, Notifications_SendTest_Response, Notifications_SendTest_ResponseBody } from './notifications/sendTest';
259
272
  import { Notifications_ListFeatures_Request, Notifications_ListFeatures_Response, Notifications_ListFeatures_ResponseBody } from './notifications/listFeatures';
273
+ import { Observability_GetLocalstats_Request, Observability_GetLocalstats_Response, Observability_GetLocalstats_ResponseBody } from './observability/getLocalstats';
274
+ import { Observability_DeleteObjects_Request, Observability_DeleteObjects_Response, Observability_DeleteObjects_ResponseBody } from './observability/deleteObjects';
275
+ import { Observability_ListObjects_Request, Observability_ListObjects_Response, Observability_ListObjects_ResponseBody } from './observability/listObjects';
276
+ import { Observability_CreateObject_Request, Observability_CreateObject_Response, Observability_CreateObject_ResponseBody } from './observability/createObject';
277
+ import { Observability_DeleteObject_Request, Observability_DeleteObject_Response, Observability_DeleteObject_ResponseBody } from './observability/deleteObject';
278
+ import { Observability_GetObject_Request, Observability_GetObject_Response, Observability_GetObject_ResponseBody } from './observability/getObject';
279
+ import { Observability_UpdateObject_Request, Observability_UpdateObject_Response, Observability_UpdateObject_ResponseBody } from './observability/updateObject';
260
280
  import { Ppl_Query_Request, Ppl_Query_Response, Ppl_Query_ResponseBody } from './ppl/query';
261
281
  import { Ppl_Explain_Request, Ppl_Explain_Response, Ppl_Explain_ResponseBody } from './ppl/explain';
262
282
  import { Ppl_GetStats_Request, Ppl_GetStats_Response, Ppl_GetStats_ResponseBody } from './ppl/getStats';
263
283
  import { Ppl_PostStats_Request, Ppl_PostStats_Response, Ppl_PostStats_ResponseBody } from './ppl/postStats';
284
+ import { Query_DatasourcesList_Request, Query_DatasourcesList_Response, Query_DatasourcesList_ResponseBody } from './query/datasourcesList';
285
+ import { Query_DatasourcesCreate_Request, Query_DatasourcesCreate_Response, Query_DatasourcesCreate_ResponseBody } from './query/datasourcesCreate';
286
+ import { Query_DatasourcesUpdate_Request, Query_DatasourcesUpdate_Response, Query_DatasourcesUpdate_ResponseBody } from './query/datasourcesUpdate';
287
+ import { Query_DatasourceDelete_Request, Query_DatasourceDelete_Response, Query_DatasourceDelete_ResponseBody } from './query/datasourceDelete';
288
+ import { Query_DatasourceRetrieve_Request, Query_DatasourceRetrieve_Response, Query_DatasourceRetrieve_ResponseBody } from './query/datasourceRetrieve';
264
289
  import { Sql_Settings_Request, Sql_Settings_RequestBody, Sql_Settings_Response, Sql_Settings_ResponseBody } from './sql/settings';
265
290
  import { Sql_Query_Request, Sql_Query_Response, Sql_Query_ResponseBody } from './sql/query';
266
291
  import { Sql_Explain_Request, Sql_Explain_Response, Sql_Explain_ResponseBody } from './sql/explain';
@@ -468,6 +493,8 @@ export {
468
493
  Security_UpdateAuditConfiguration_Request, Security_UpdateAuditConfiguration_Response, Security_UpdateAuditConfiguration_ResponseBody,
469
494
  Security_Authtoken_Request, Security_Authtoken_Response, Security_Authtoken_ResponseBody,
470
495
  Security_FlushCache_Request, Security_FlushCache_Response, Security_FlushCache_ResponseBody,
496
+ Security_GetAllCertificates_Request, Security_GetAllCertificates_Response, Security_GetAllCertificates_ResponseBody,
497
+ Security_GetNodeCertificates_Request, Security_GetNodeCertificates_Response, Security_GetNodeCertificates_ResponseBody,
471
498
  Security_GenerateOboToken_Request, Security_GenerateOboToken_Response, Security_GenerateOboToken_ResponseBody,
472
499
  Security_GetUsers_Request, Security_GetUsers_Response, Security_GetUsers_ResponseBody,
473
500
  Security_PatchUsers_Request, Security_PatchUsers_RequestBody, Security_PatchUsers_Response, Security_PatchUsers_ResponseBody,
@@ -503,7 +530,7 @@ export {
503
530
  Security_ReloadHttpCertificates_Request, Security_ReloadHttpCertificates_Response, Security_ReloadHttpCertificates_ResponseBody,
504
531
  Security_ReloadTransportCertificates_Request, Security_ReloadTransportCertificates_Response, Security_ReloadTransportCertificates_ResponseBody,
505
532
  Security_GetTenancyConfig_Request, Security_GetTenancyConfig_Response, Security_GetTenancyConfig_ResponseBody,
506
- Security_CreateUpdateTenancyConfig_Request, Security_CreateUpdateTenancyConfig_RequestBody, Security_CreateUpdateTenancyConfig_Response, Security_CreateUpdateTenancyConfig_ResponseBody,
533
+ Security_CreateUpdateTenancyConfig_Request, Security_CreateUpdateTenancyConfig_Response, Security_CreateUpdateTenancyConfig_ResponseBody,
507
534
  Security_GetTenants_Request, Security_GetTenants_Response, Security_GetTenants_ResponseBody,
508
535
  Security_PatchTenants_Request, Security_PatchTenants_RequestBody, Security_PatchTenants_Response, Security_PatchTenants_ResponseBody,
509
536
  Security_DeleteTenant_Request, Security_DeleteTenant_Response, Security_DeleteTenant_ResponseBody,
@@ -514,7 +541,6 @@ export {
514
541
  Security_DeleteUserLegacy_Request, Security_DeleteUserLegacy_Response, Security_DeleteUserLegacy_ResponseBody,
515
542
  Security_GetUserLegacy_Request, Security_GetUserLegacy_Response, Security_GetUserLegacy_ResponseBody,
516
543
  Security_CreateUserLegacy_Request, Security_CreateUserLegacy_Response, Security_CreateUserLegacy_ResponseBody,
517
- Security_GenerateUserTokenLegacy_Request, Security_GenerateUserTokenLegacy_Response, Security_GenerateUserTokenLegacy_ResponseBody,
518
544
  Security_Validate_Request, Security_Validate_Response, Security_Validate_ResponseBody,
519
545
  Security_Authinfo_Request, Security_Authinfo_Response, Security_Authinfo_ResponseBody,
520
546
  Security_GetDashboardsInfo_Request, Security_GetDashboardsInfo_Response, Security_GetDashboardsInfo_ResponseBody,
@@ -523,6 +549,14 @@ export {
523
549
  Security_TenantInfo_Request, Security_TenantInfo_Response, Security_TenantInfo_ResponseBody,
524
550
  Security_WhoAmI_Request, Security_WhoAmI_Response, Security_WhoAmI_ResponseBody,
525
551
  Security_WhoAmIProtected_Request, Security_WhoAmIProtected_Response, Security_WhoAmIProtected_ResponseBody,
552
+ AsynchronousSearch_Search_Request, AsynchronousSearch_Search_Response, AsynchronousSearch_Search_ResponseBody,
553
+ AsynchronousSearch_Delete_Request, AsynchronousSearch_Delete_Response, AsynchronousSearch_Delete_ResponseBody,
554
+ AsynchronousSearch_Get_Request, AsynchronousSearch_Get_Response, AsynchronousSearch_Get_ResponseBody,
555
+ AsynchronousSearch_Stats_Request, AsynchronousSearch_Stats_Response, AsynchronousSearch_Stats_ResponseBody,
556
+ FlowFramework_Create_Request, FlowFramework_Create_Response, FlowFramework_Create_ResponseBody,
557
+ FlowFramework_Delete_Request, FlowFramework_Delete_Response, FlowFramework_Delete_ResponseBody,
558
+ FlowFramework_Get_Request, FlowFramework_Get_Response, FlowFramework_Get_ResponseBody,
559
+ FlowFramework_Update_Request, FlowFramework_Update_Response, FlowFramework_Update_ResponseBody,
526
560
  Knn_Stats_Request, Knn_Stats_Response, Knn_Stats_ResponseBody,
527
561
  Knn_SearchModels_Request, Knn_SearchModels_RequestBody, Knn_SearchModels_Response, Knn_SearchModels_ResponseBody,
528
562
  Knn_TrainModel_Request, Knn_TrainModel_RequestBody, Knn_TrainModel_Response, Knn_TrainModel_ResponseBody,
@@ -535,6 +569,9 @@ export {
535
569
  Ml_RegisterModel_Request, Ml_RegisterModel_RequestBody, Ml_RegisterModel_Response, Ml_RegisterModel_ResponseBody,
536
570
  Ml_SearchModels_Request, Ml_SearchModels_Response, Ml_SearchModels_ResponseBody,
537
571
  Ml_DeleteModel_Request, Ml_DeleteModel_Response, Ml_DeleteModel_ResponseBody,
572
+ Ml_DeployModel_Request, Ml_DeployModel_Response, Ml_DeployModel_ResponseBody,
573
+ Ml_UndeployModel_Request, Ml_UndeployModel_Response, Ml_UndeployModel_ResponseBody,
574
+ Ml_DeleteTask_Request, Ml_DeleteTask_Response, Ml_DeleteTask_ResponseBody,
538
575
  Ml_GetTask_Request, Ml_GetTask_Response, Ml_GetTask_ResponseBody,
539
576
  Notifications_ListChannels_Request, Notifications_ListChannels_Response, Notifications_ListChannels_ResponseBody,
540
577
  Notifications_DeleteConfigs_Request, Notifications_DeleteConfigs_Response, Notifications_DeleteConfigs_ResponseBody,
@@ -545,10 +582,22 @@ export {
545
582
  Notifications_UpdateConfig_Request, Notifications_UpdateConfig_Response, Notifications_UpdateConfig_ResponseBody,
546
583
  Notifications_SendTest_Request, Notifications_SendTest_Response, Notifications_SendTest_ResponseBody,
547
584
  Notifications_ListFeatures_Request, Notifications_ListFeatures_Response, Notifications_ListFeatures_ResponseBody,
585
+ Observability_GetLocalstats_Request, Observability_GetLocalstats_Response, Observability_GetLocalstats_ResponseBody,
586
+ Observability_DeleteObjects_Request, Observability_DeleteObjects_Response, Observability_DeleteObjects_ResponseBody,
587
+ Observability_ListObjects_Request, Observability_ListObjects_Response, Observability_ListObjects_ResponseBody,
588
+ Observability_CreateObject_Request, Observability_CreateObject_Response, Observability_CreateObject_ResponseBody,
589
+ Observability_DeleteObject_Request, Observability_DeleteObject_Response, Observability_DeleteObject_ResponseBody,
590
+ Observability_GetObject_Request, Observability_GetObject_Response, Observability_GetObject_ResponseBody,
591
+ Observability_UpdateObject_Request, Observability_UpdateObject_Response, Observability_UpdateObject_ResponseBody,
548
592
  Ppl_Query_Request, Ppl_Query_Response, Ppl_Query_ResponseBody,
549
593
  Ppl_Explain_Request, Ppl_Explain_Response, Ppl_Explain_ResponseBody,
550
594
  Ppl_GetStats_Request, Ppl_GetStats_Response, Ppl_GetStats_ResponseBody,
551
595
  Ppl_PostStats_Request, Ppl_PostStats_Response, Ppl_PostStats_ResponseBody,
596
+ Query_DatasourcesList_Request, Query_DatasourcesList_Response, Query_DatasourcesList_ResponseBody,
597
+ Query_DatasourcesCreate_Request, Query_DatasourcesCreate_Response, Query_DatasourcesCreate_ResponseBody,
598
+ Query_DatasourcesUpdate_Request, Query_DatasourcesUpdate_Response, Query_DatasourcesUpdate_ResponseBody,
599
+ Query_DatasourceDelete_Request, Query_DatasourceDelete_Response, Query_DatasourceDelete_ResponseBody,
600
+ Query_DatasourceRetrieve_Request, Query_DatasourceRetrieve_Response, Query_DatasourceRetrieve_ResponseBody,
552
601
  Sql_Settings_Request, Sql_Settings_RequestBody, Sql_Settings_Response, Sql_Settings_ResponseBody,
553
602
  Sql_Query_Request, Sql_Query_Response, Sql_Query_ResponseBody,
554
603
  Sql_Explain_Request, Sql_Explain_Response, Sql_Explain_ResponseBody,
@@ -5,12 +5,13 @@
5
5
  * The OpenSearch Contributors require contributions made to
6
6
  * this file be licensed under the Apache-2.0 license or a
7
7
  * compatible open source license.
8
+ *
8
9
  */
9
10
 
10
11
  /*
11
- * This file was generated from OpenSearch API Spec. Do not edit it
12
+ * This file was generated from the OpenSearch API Spec. Do NOT edit it
12
13
  * manually. If you want to make changes, either update the spec or
13
- * the API generator.
14
+ * modify the API generator.
14
15
  */
15
16
 
16
17
  'use strict';
@@ -18,7 +19,6 @@
18
19
  /** @namespace API-Indices */
19
20
 
20
21
  function IndicesApi(bindObj) {
21
- const cache = {};
22
22
  this.addBlock = require('./addBlock').bind(bindObj);
23
23
  this.analyze = require('./analyze').bind(bindObj);
24
24
  this.clearCache = require('./clearCache').bind(bindObj);
@@ -67,6 +67,67 @@ function IndicesApi(bindObj) {
67
67
  this.updateAliases = require('./updateAliases').bind(bindObj);
68
68
  this.upgrade = require('./upgrade').bind(bindObj);
69
69
  this.validateQuery = require('./validateQuery').bind(bindObj);
70
+
71
+ // Deprecated: Use addBlock instead.
72
+ this.add_block = require('./addBlock').bind(bindObj);
73
+ // Deprecated: Use clearCache instead.
74
+ this.clear_cache = require('./clearCache').bind(bindObj);
75
+ // Deprecated: Use createDataStream instead.
76
+ this.create_data_stream = require('./createDataStream').bind(bindObj);
77
+ // Deprecated: Use dataStreamsStats instead.
78
+ this.data_streams_stats = require('./dataStreamsStats').bind(bindObj);
79
+ // Deprecated: Use deleteAlias instead.
80
+ this.delete_alias = require('./deleteAlias').bind(bindObj);
81
+ // Deprecated: Use deleteDataStream instead.
82
+ this.delete_data_stream = require('./deleteDataStream').bind(bindObj);
83
+ // Deprecated: Use deleteIndexTemplate instead.
84
+ this.delete_index_template = require('./deleteIndexTemplate').bind(bindObj);
85
+ // Deprecated: Use deleteTemplate instead.
86
+ this.delete_template = require('./deleteTemplate').bind(bindObj);
87
+ // Deprecated: Use existsAlias instead.
88
+ this.exists_alias = require('./existsAlias').bind(bindObj);
89
+ // Deprecated: Use existsIndexTemplate instead.
90
+ this.exists_index_template = require('./existsIndexTemplate').bind(bindObj);
91
+ // Deprecated: Use existsTemplate instead.
92
+ this.exists_template = require('./existsTemplate').bind(bindObj);
93
+ // Deprecated: Use getAlias instead.
94
+ this.get_alias = require('./getAlias').bind(bindObj);
95
+ // Deprecated: Use getDataStream instead.
96
+ this.get_data_stream = require('./getDataStream').bind(bindObj);
97
+ // Deprecated: Use getFieldMapping instead.
98
+ this.get_field_mapping = require('./getFieldMapping').bind(bindObj);
99
+ // Deprecated: Use getIndexTemplate instead.
100
+ this.get_index_template = require('./getIndexTemplate').bind(bindObj);
101
+ // Deprecated: Use getMapping instead.
102
+ this.get_mapping = require('./getMapping').bind(bindObj);
103
+ // Deprecated: Use getSettings instead.
104
+ this.get_settings = require('./getSettings').bind(bindObj);
105
+ // Deprecated: Use getTemplate instead.
106
+ this.get_template = require('./getTemplate').bind(bindObj);
107
+ // Deprecated: Use getUpgrade instead.
108
+ this.get_upgrade = require('./getUpgrade').bind(bindObj);
109
+ // Deprecated: Use putAlias instead.
110
+ this.put_alias = require('./putAlias').bind(bindObj);
111
+ // Deprecated: Use putIndexTemplate instead.
112
+ this.put_index_template = require('./putIndexTemplate').bind(bindObj);
113
+ // Deprecated: Use putMapping instead.
114
+ this.put_mapping = require('./putMapping').bind(bindObj);
115
+ // Deprecated: Use putSettings instead.
116
+ this.put_settings = require('./putSettings').bind(bindObj);
117
+ // Deprecated: Use putTemplate instead.
118
+ this.put_template = require('./putTemplate').bind(bindObj);
119
+ // Deprecated: Use resolveIndex instead.
120
+ this.resolve_index = require('./resolveIndex').bind(bindObj);
121
+ // Deprecated: Use shardStores instead.
122
+ this.shard_stores = require('./shardStores').bind(bindObj);
123
+ // Deprecated: Use simulateIndexTemplate instead.
124
+ this.simulate_index_template = require('./simulateIndexTemplate').bind(bindObj);
125
+ // Deprecated: Use simulateTemplate instead.
126
+ this.simulate_template = require('./simulateTemplate').bind(bindObj);
127
+ // Deprecated: Use updateAliases instead.
128
+ this.update_aliases = require('./updateAliases').bind(bindObj);
129
+ // Deprecated: Use validateQuery instead.
130
+ this.validate_query = require('./validateQuery').bind(bindObj);
70
131
  }
71
132
 
72
133
  module.exports = IndicesApi;
@@ -5,12 +5,13 @@
5
5
  * The OpenSearch Contributors require contributions made to
6
6
  * this file be licensed under the Apache-2.0 license or a
7
7
  * compatible open source license.
8
+ *
8
9
  */
9
10
 
10
11
  /*
11
- * This file was generated from OpenSearch API Spec. Do not edit it
12
+ * This file was generated from the OpenSearch API Spec. Do NOT edit it
12
13
  * manually. If you want to make changes, either update the spec or
13
- * the API generator.
14
+ * modify the API generator.
14
15
  */
15
16
 
16
17
  import { ApiResponse } from '../../lib/Transport'
@@ -5,15 +5,16 @@
5
5
  * The OpenSearch Contributors require contributions made to
6
6
  * this file be licensed under the Apache-2.0 license or a
7
7
  * compatible open source license.
8
+ *
8
9
  */
9
10
 
10
11
  /*
11
- * This file was generated from OpenSearch API Spec. Do not edit it
12
+ * This file was generated from the OpenSearch API Spec. Do NOT edit it
12
13
  * manually. If you want to make changes, either update the spec or
13
- * the API generator.
14
+ * modify the API generator.
14
15
  */
15
16
 
16
- 'use strict'
17
+ 'use strict';
17
18
 
18
19
  const { normalizeArguments, parsePathParam, handleMissingParam } = require('../utils');
19
20
 
@@ -5,12 +5,13 @@
5
5
  * The OpenSearch Contributors require contributions made to
6
6
  * this file be licensed under the Apache-2.0 license or a
7
7
  * compatible open source license.
8
+ *
8
9
  */
9
10
 
10
11
  /*
11
- * This file was generated from OpenSearch API Spec. Do not edit it
12
+ * This file was generated from the OpenSearch API Spec. Do NOT edit it
12
13
  * manually. If you want to make changes, either update the spec or
13
- * the API generator.
14
+ * modify the API generator.
14
15
  */
15
16
 
16
17
  import { ApiResponse } from '../../lib/Transport'
@@ -5,15 +5,16 @@
5
5
  * The OpenSearch Contributors require contributions made to
6
6
  * this file be licensed under the Apache-2.0 license or a
7
7
  * compatible open source license.
8
+ *
8
9
  */
9
10
 
10
11
  /*
11
- * This file was generated from OpenSearch API Spec. Do not edit it
12
+ * This file was generated from the OpenSearch API Spec. Do NOT edit it
12
13
  * manually. If you want to make changes, either update the spec or
13
- * the API generator.
14
+ * modify the API generator.
14
15
  */
15
16
 
16
- 'use strict'
17
+ 'use strict';
17
18
 
18
19
  const { normalizeArguments, parsePathParam } = require('../utils');
19
20
 
@@ -5,12 +5,13 @@
5
5
  * The OpenSearch Contributors require contributions made to
6
6
  * this file be licensed under the Apache-2.0 license or a
7
7
  * compatible open source license.
8
+ *
8
9
  */
9
10
 
10
11
  /*
11
- * This file was generated from OpenSearch API Spec. Do not edit it
12
+ * This file was generated from the OpenSearch API Spec. Do NOT edit it
12
13
  * manually. If you want to make changes, either update the spec or
13
- * the API generator.
14
+ * modify the API generator.
14
15
  */
15
16
 
16
17
  import { ApiResponse } from '../../lib/Transport'
@@ -5,15 +5,16 @@
5
5
  * The OpenSearch Contributors require contributions made to
6
6
  * this file be licensed under the Apache-2.0 license or a
7
7
  * compatible open source license.
8
+ *
8
9
  */
9
10
 
10
11
  /*
11
- * This file was generated from OpenSearch API Spec. Do not edit it
12
+ * This file was generated from the OpenSearch API Spec. Do NOT edit it
12
13
  * manually. If you want to make changes, either update the spec or
13
- * the API generator.
14
+ * modify the API generator.
14
15
  */
15
16
 
16
- 'use strict'
17
+ 'use strict';
17
18
 
18
19
  const { normalizeArguments, parsePathParam } = require('../utils');
19
20
 
@@ -5,12 +5,13 @@
5
5
  * The OpenSearch Contributors require contributions made to
6
6
  * this file be licensed under the Apache-2.0 license or a
7
7
  * compatible open source license.
8
+ *
8
9
  */
9
10
 
10
11
  /*
11
- * This file was generated from OpenSearch API Spec. Do not edit it
12
+ * This file was generated from the OpenSearch API Spec. Do NOT edit it
12
13
  * manually. If you want to make changes, either update the spec or
13
- * the API generator.
14
+ * modify the API generator.
14
15
  */
15
16
 
16
17
  import { ApiResponse } from '../../lib/Transport'
@@ -5,15 +5,16 @@
5
5
  * The OpenSearch Contributors require contributions made to
6
6
  * this file be licensed under the Apache-2.0 license or a
7
7
  * compatible open source license.
8
+ *
8
9
  */
9
10
 
10
11
  /*
11
- * This file was generated from OpenSearch API Spec. Do not edit it
12
+ * This file was generated from the OpenSearch API Spec. Do NOT edit it
12
13
  * manually. If you want to make changes, either update the spec or
13
- * the API generator.
14
+ * modify the API generator.
14
15
  */
15
16
 
16
- 'use strict'
17
+ 'use strict';
17
18
 
18
19
  const { normalizeArguments, parsePathParam, handleMissingParam } = require('../utils');
19
20
 
@@ -5,12 +5,13 @@
5
5
  * The OpenSearch Contributors require contributions made to
6
6
  * this file be licensed under the Apache-2.0 license or a
7
7
  * compatible open source license.
8
+ *
8
9
  */
9
10
 
10
11
  /*
11
- * This file was generated from OpenSearch API Spec. Do not edit it
12
+ * This file was generated from the OpenSearch API Spec. Do NOT edit it
12
13
  * manually. If you want to make changes, either update the spec or
13
- * the API generator.
14
+ * modify the API generator.
14
15
  */
15
16
 
16
17
  import { ApiResponse } from '../../lib/Transport'
@@ -5,15 +5,16 @@
5
5
  * The OpenSearch Contributors require contributions made to
6
6
  * this file be licensed under the Apache-2.0 license or a
7
7
  * compatible open source license.
8
+ *
8
9
  */
9
10
 
10
11
  /*
11
- * This file was generated from OpenSearch API Spec. Do not edit it
12
+ * This file was generated from the OpenSearch API Spec. Do NOT edit it
12
13
  * manually. If you want to make changes, either update the spec or
13
- * the API generator.
14
+ * modify the API generator.
14
15
  */
15
16
 
16
- 'use strict'
17
+ 'use strict';
17
18
 
18
19
  const { normalizeArguments, parsePathParam, handleMissingParam } = require('../utils');
19
20
 
@@ -5,12 +5,13 @@
5
5
  * The OpenSearch Contributors require contributions made to
6
6
  * this file be licensed under the Apache-2.0 license or a
7
7
  * compatible open source license.
8
+ *
8
9
  */
9
10
 
10
11
  /*
11
- * This file was generated from OpenSearch API Spec. Do not edit it
12
+ * This file was generated from the OpenSearch API Spec. Do NOT edit it
12
13
  * manually. If you want to make changes, either update the spec or
13
- * the API generator.
14
+ * modify the API generator.
14
15
  */
15
16
 
16
17
  import { ApiResponse } from '../../lib/Transport'
@@ -5,15 +5,16 @@
5
5
  * The OpenSearch Contributors require contributions made to
6
6
  * this file be licensed under the Apache-2.0 license or a
7
7
  * compatible open source license.
8
+ *
8
9
  */
9
10
 
10
11
  /*
11
- * This file was generated from OpenSearch API Spec. Do not edit it
12
+ * This file was generated from the OpenSearch API Spec. Do NOT edit it
12
13
  * manually. If you want to make changes, either update the spec or
13
- * the API generator.
14
+ * modify the API generator.
14
15
  */
15
16
 
16
- 'use strict'
17
+ 'use strict';
17
18
 
18
19
  const { normalizeArguments, parsePathParam, handleMissingParam } = require('../utils');
19
20
 
@@ -5,12 +5,13 @@
5
5
  * The OpenSearch Contributors require contributions made to
6
6
  * this file be licensed under the Apache-2.0 license or a
7
7
  * compatible open source license.
8
+ *
8
9
  */
9
10
 
10
11
  /*
11
- * This file was generated from OpenSearch API Spec. Do not edit it
12
+ * This file was generated from the OpenSearch API Spec. Do NOT edit it
12
13
  * manually. If you want to make changes, either update the spec or
13
- * the API generator.
14
+ * modify the API generator.
14
15
  */
15
16
 
16
17
  import { ApiResponse } from '../../lib/Transport'
@@ -5,15 +5,16 @@
5
5
  * The OpenSearch Contributors require contributions made to
6
6
  * this file be licensed under the Apache-2.0 license or a
7
7
  * compatible open source license.
8
+ *
8
9
  */
9
10
 
10
11
  /*
11
- * This file was generated from OpenSearch API Spec. Do not edit it
12
+ * This file was generated from the OpenSearch API Spec. Do NOT edit it
12
13
  * manually. If you want to make changes, either update the spec or
13
- * the API generator.
14
+ * modify the API generator.
14
15
  */
15
16
 
16
- 'use strict'
17
+ 'use strict';
17
18
 
18
19
  const { normalizeArguments, parsePathParam, handleMissingParam } = require('../utils');
19
20
 
@@ -5,12 +5,13 @@
5
5
  * The OpenSearch Contributors require contributions made to
6
6
  * this file be licensed under the Apache-2.0 license or a
7
7
  * compatible open source license.
8
+ *
8
9
  */
9
10
 
10
11
  /*
11
- * This file was generated from OpenSearch API Spec. Do not edit it
12
+ * This file was generated from the OpenSearch API Spec. Do NOT edit it
12
13
  * manually. If you want to make changes, either update the spec or
13
- * the API generator.
14
+ * modify the API generator.
14
15
  */
15
16
 
16
17
  import { ApiResponse } from '../../lib/Transport'
@@ -31,7 +32,7 @@ export interface Indices_DataStreamsStats_ResponseBody {
31
32
  backing_indices: number;
32
33
  data_stream_count: number;
33
34
  data_streams: Indices_DataStreamsStats.DataStreamsStatsItem[];
34
- total_store_size_bytes: number;
35
- total_store_sizes?: Common.ByteSize;
35
+ total_store_size_bytes: Common.Bytes;
36
+ total_store_sizes?: Common.StorageSize;
36
37
  }
37
38
 
@@ -5,15 +5,16 @@
5
5
  * The OpenSearch Contributors require contributions made to
6
6
  * this file be licensed under the Apache-2.0 license or a
7
7
  * compatible open source license.
8
+ *
8
9
  */
9
10
 
10
11
  /*
11
- * This file was generated from OpenSearch API Spec. Do not edit it
12
+ * This file was generated from the OpenSearch API Spec. Do NOT edit it
12
13
  * manually. If you want to make changes, either update the spec or
13
- * the API generator.
14
+ * modify the API generator.
14
15
  */
15
16
 
16
- 'use strict'
17
+ 'use strict';
17
18
 
18
19
  const { normalizeArguments, parsePathParam } = require('../utils');
19
20
 
@@ -5,12 +5,13 @@
5
5
  * The OpenSearch Contributors require contributions made to
6
6
  * this file be licensed under the Apache-2.0 license or a
7
7
  * compatible open source license.
8
+ *
8
9
  */
9
10
 
10
11
  /*
11
- * This file was generated from OpenSearch API Spec. Do not edit it
12
+ * This file was generated from the OpenSearch API Spec. Do NOT edit it
12
13
  * manually. If you want to make changes, either update the spec or
13
- * the API generator.
14
+ * modify the API generator.
14
15
  */
15
16
 
16
17
  import { ApiResponse } from '../../lib/Transport'
@@ -5,15 +5,16 @@
5
5
  * The OpenSearch Contributors require contributions made to
6
6
  * this file be licensed under the Apache-2.0 license or a
7
7
  * compatible open source license.
8
+ *
8
9
  */
9
10
 
10
11
  /*
11
- * This file was generated from OpenSearch API Spec. Do not edit it
12
+ * This file was generated from the OpenSearch API Spec. Do NOT edit it
12
13
  * manually. If you want to make changes, either update the spec or
13
- * the API generator.
14
+ * modify the API generator.
14
15
  */
15
16
 
16
- 'use strict'
17
+ 'use strict';
17
18
 
18
19
  const { normalizeArguments, parsePathParam, handleMissingParam } = require('../utils');
19
20
 
@@ -5,12 +5,13 @@
5
5
  * The OpenSearch Contributors require contributions made to
6
6
  * this file be licensed under the Apache-2.0 license or a
7
7
  * compatible open source license.
8
+ *
8
9
  */
9
10
 
10
11
  /*
11
- * This file was generated from OpenSearch API Spec. Do not edit it
12
+ * This file was generated from the OpenSearch API Spec. Do NOT edit it
12
13
  * manually. If you want to make changes, either update the spec or
13
- * the API generator.
14
+ * modify the API generator.
14
15
  */
15
16
 
16
17
  import { ApiResponse } from '../../lib/Transport'