kb-cloud-client-typescript 2.2.29 → 2.3.0-alpha.100

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 (1072) hide show
  1. package/dist/adminapi/api.d.ts +1 -0
  2. package/dist/adminapi/api.d.ts.map +1 -1
  3. package/dist/adminapi/api.js +1 -0
  4. package/dist/adminapi/api.js.map +1 -1
  5. package/dist/adminapi/apis/aiagent-api.d.ts +1143 -0
  6. package/dist/adminapi/apis/aiagent-api.d.ts.map +1 -0
  7. package/dist/adminapi/apis/aiagent-api.js +1214 -0
  8. package/dist/adminapi/apis/aiagent-api.js.map +1 -0
  9. package/dist/adminapi/apis/cluster-api.d.ts +163 -2
  10. package/dist/adminapi/apis/cluster-api.d.ts.map +1 -1
  11. package/dist/adminapi/apis/cluster-api.js +170 -5
  12. package/dist/adminapi/apis/cluster-api.js.map +1 -1
  13. package/dist/adminapi/apis/cluster-log-api.d.ts +1242 -131
  14. package/dist/adminapi/apis/cluster-log-api.d.ts.map +1 -1
  15. package/dist/adminapi/apis/cluster-log-api.js +882 -15
  16. package/dist/adminapi/apis/cluster-log-api.js.map +1 -1
  17. package/dist/adminapi/apis/dms-api.d.ts +2868 -458
  18. package/dist/adminapi/apis/dms-api.d.ts.map +1 -1
  19. package/dist/adminapi/apis/dms-api.js +2673 -321
  20. package/dist/adminapi/apis/dms-api.js.map +1 -1
  21. package/dist/adminapi/apis/engine-api.d.ts +399 -0
  22. package/dist/adminapi/apis/engine-api.d.ts.map +1 -1
  23. package/dist/adminapi/apis/engine-api.js +442 -0
  24. package/dist/adminapi/apis/engine-api.js.map +1 -1
  25. package/dist/adminapi/apis/parameter-template-api.d.ts +80 -0
  26. package/dist/adminapi/apis/parameter-template-api.d.ts.map +1 -1
  27. package/dist/adminapi/apis/parameter-template-api.js +83 -0
  28. package/dist/adminapi/apis/parameter-template-api.js.map +1 -1
  29. package/dist/adminapi/apis/shared-api.d.ts +1664 -282
  30. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  31. package/dist/adminapi/apis/shared-api.js +1197 -64
  32. package/dist/adminapi/apis/shared-api.js.map +1 -1
  33. package/dist/adminapi/models/ai-agent-conversation-list.d.ts +26 -0
  34. package/dist/adminapi/models/ai-agent-conversation-list.d.ts.map +1 -0
  35. package/dist/adminapi/models/ai-agent-conversation-list.js +16 -0
  36. package/dist/adminapi/models/ai-agent-conversation-list.js.map +1 -0
  37. package/dist/adminapi/models/ai-agent-conversation-status.d.ts +25 -0
  38. package/dist/adminapi/models/ai-agent-conversation-status.d.ts.map +1 -0
  39. package/dist/adminapi/models/{inspection-supported-engines.js → ai-agent-conversation-status.js} +9 -13
  40. package/dist/adminapi/models/ai-agent-conversation-status.js.map +1 -0
  41. package/dist/adminapi/models/ai-agent-conversation.d.ts +76 -0
  42. package/dist/adminapi/models/ai-agent-conversation.d.ts.map +1 -0
  43. package/dist/adminapi/models/ai-agent-conversation.js +16 -0
  44. package/dist/adminapi/models/ai-agent-conversation.js.map +1 -0
  45. package/dist/adminapi/models/ai-agent-create-conversation-request.d.ts +37 -0
  46. package/dist/adminapi/models/ai-agent-create-conversation-request.d.ts.map +1 -0
  47. package/dist/adminapi/models/ai-agent-create-conversation-request.js +16 -0
  48. package/dist/adminapi/models/ai-agent-create-conversation-request.js.map +1 -0
  49. package/dist/adminapi/models/ai-agent-delete-conversation-response.d.ts +31 -0
  50. package/dist/adminapi/models/ai-agent-delete-conversation-response.d.ts.map +1 -0
  51. package/dist/adminapi/models/ai-agent-delete-conversation-response.js +16 -0
  52. package/dist/adminapi/models/ai-agent-delete-conversation-response.js.map +1 -0
  53. package/dist/adminapi/models/ai-agent-event-type.d.ts +35 -0
  54. package/dist/adminapi/models/ai-agent-event-type.d.ts.map +1 -0
  55. package/dist/adminapi/models/ai-agent-event-type.js +39 -0
  56. package/dist/adminapi/models/ai-agent-event-type.js.map +1 -0
  57. package/dist/adminapi/models/ai-agent-event.d.ts +70 -0
  58. package/dist/adminapi/models/ai-agent-event.d.ts.map +1 -0
  59. package/dist/adminapi/models/ai-agent-event.js +16 -0
  60. package/dist/adminapi/models/ai-agent-event.js.map +1 -0
  61. package/dist/adminapi/models/ai-agent-message-list.d.ts +26 -0
  62. package/dist/adminapi/models/ai-agent-message-list.d.ts.map +1 -0
  63. package/dist/adminapi/models/ai-agent-message-list.js +16 -0
  64. package/dist/adminapi/models/ai-agent-message-list.js.map +1 -0
  65. package/dist/adminapi/models/ai-agent-message-part-type.d.ts +24 -0
  66. package/dist/adminapi/models/ai-agent-message-part-type.d.ts.map +1 -0
  67. package/dist/adminapi/models/ai-agent-message-part-type.js +28 -0
  68. package/dist/adminapi/models/ai-agent-message-part-type.js.map +1 -0
  69. package/dist/adminapi/models/ai-agent-message-part.d.ts +46 -0
  70. package/dist/adminapi/models/ai-agent-message-part.d.ts.map +1 -0
  71. package/dist/adminapi/models/ai-agent-message-part.js +16 -0
  72. package/dist/adminapi/models/ai-agent-message-part.js.map +1 -0
  73. package/dist/adminapi/models/ai-agent-message-role.d.ts +23 -0
  74. package/dist/adminapi/models/ai-agent-message-role.d.ts.map +1 -0
  75. package/dist/adminapi/models/ai-agent-message-role.js +27 -0
  76. package/dist/adminapi/models/ai-agent-message-role.js.map +1 -0
  77. package/dist/adminapi/models/ai-agent-message.d.ts +64 -0
  78. package/dist/adminapi/models/ai-agent-message.d.ts.map +1 -0
  79. package/dist/adminapi/models/ai-agent-message.js +16 -0
  80. package/dist/adminapi/models/ai-agent-message.js.map +1 -0
  81. package/dist/adminapi/models/ai-agent-object-ref.d.ts +31 -0
  82. package/dist/adminapi/models/ai-agent-object-ref.d.ts.map +1 -0
  83. package/dist/adminapi/models/ai-agent-object-ref.js +16 -0
  84. package/dist/adminapi/models/ai-agent-object-ref.js.map +1 -0
  85. package/dist/adminapi/models/ai-agent-runtime-status-code.d.ts +25 -0
  86. package/dist/adminapi/models/ai-agent-runtime-status-code.d.ts.map +1 -0
  87. package/dist/adminapi/models/ai-agent-runtime-status-code.js +29 -0
  88. package/dist/adminapi/models/ai-agent-runtime-status-code.js.map +1 -0
  89. package/dist/adminapi/models/ai-agent-runtime-status.d.ts +45 -0
  90. package/dist/adminapi/models/ai-agent-runtime-status.d.ts.map +1 -0
  91. package/dist/adminapi/models/ai-agent-runtime-status.js +16 -0
  92. package/dist/adminapi/models/ai-agent-runtime-status.js.map +1 -0
  93. package/dist/adminapi/models/ai-agent-scope.d.ts +44 -0
  94. package/dist/adminapi/models/ai-agent-scope.d.ts.map +1 -0
  95. package/dist/adminapi/models/ai-agent-scope.js +16 -0
  96. package/dist/adminapi/models/ai-agent-scope.js.map +1 -0
  97. package/dist/adminapi/models/ai-agent-send-message-request.d.ts +32 -0
  98. package/dist/adminapi/models/ai-agent-send-message-request.d.ts.map +1 -0
  99. package/dist/adminapi/models/ai-agent-send-message-request.js +16 -0
  100. package/dist/adminapi/models/ai-agent-send-message-request.js.map +1 -0
  101. package/dist/adminapi/models/ai-agent-send-message-response.d.ts +44 -0
  102. package/dist/adminapi/models/ai-agent-send-message-response.d.ts.map +1 -0
  103. package/dist/adminapi/models/ai-agent-send-message-response.js +16 -0
  104. package/dist/adminapi/models/ai-agent-send-message-response.js.map +1 -0
  105. package/dist/adminapi/models/ai-agent-stop-conversation-response.d.ts +32 -0
  106. package/dist/adminapi/models/ai-agent-stop-conversation-response.d.ts.map +1 -0
  107. package/dist/adminapi/models/ai-agent-stop-conversation-response.js +16 -0
  108. package/dist/adminapi/models/ai-agent-stop-conversation-response.js.map +1 -0
  109. package/dist/adminapi/models/ai-agent-tool-confirmation-decision-request.d.ts +25 -0
  110. package/dist/adminapi/models/ai-agent-tool-confirmation-decision-request.d.ts.map +1 -0
  111. package/dist/adminapi/models/ai-agent-tool-confirmation-decision-request.js +16 -0
  112. package/dist/adminapi/models/ai-agent-tool-confirmation-decision-request.js.map +1 -0
  113. package/dist/adminapi/models/ai-agent-tool-confirmation-decision-response.d.ts +38 -0
  114. package/dist/adminapi/models/ai-agent-tool-confirmation-decision-response.d.ts.map +1 -0
  115. package/dist/adminapi/models/ai-agent-tool-confirmation-decision-response.js +16 -0
  116. package/dist/adminapi/models/ai-agent-tool-confirmation-decision-response.js.map +1 -0
  117. package/dist/adminapi/models/ai-agent-tool-confirmation-status.d.ts +24 -0
  118. package/dist/adminapi/models/ai-agent-tool-confirmation-status.d.ts.map +1 -0
  119. package/dist/adminapi/models/ai-agent-tool-confirmation-status.js +28 -0
  120. package/dist/adminapi/models/ai-agent-tool-confirmation-status.js.map +1 -0
  121. package/dist/adminapi/models/ai-agent-turn-action-list.d.ts +26 -0
  122. package/dist/adminapi/models/ai-agent-turn-action-list.d.ts.map +1 -0
  123. package/dist/adminapi/models/ai-agent-turn-action-list.js +16 -0
  124. package/dist/adminapi/models/ai-agent-turn-action-list.js.map +1 -0
  125. package/dist/adminapi/models/ai-agent-turn-action.d.ts +106 -0
  126. package/dist/adminapi/models/ai-agent-turn-action.d.ts.map +1 -0
  127. package/dist/adminapi/models/ai-agent-turn-action.js +16 -0
  128. package/dist/adminapi/models/ai-agent-turn-action.js.map +1 -0
  129. package/dist/adminapi/models/ai-agent-turn-status.d.ts +25 -0
  130. package/dist/adminapi/models/ai-agent-turn-status.d.ts.map +1 -0
  131. package/dist/adminapi/models/ai-agent-turn-status.js +29 -0
  132. package/dist/adminapi/models/ai-agent-turn-status.js.map +1 -0
  133. package/dist/adminapi/models/bench-option.d.ts +6 -0
  134. package/dist/adminapi/models/bench-option.d.ts.map +1 -1
  135. package/dist/adminapi/models/cluster-execution-log-item.d.ts +7 -0
  136. package/dist/adminapi/models/cluster-execution-log-item.d.ts.map +1 -1
  137. package/dist/adminapi/models/cluster-log-hits-item.d.ts +6 -0
  138. package/dist/adminapi/models/cluster-log-hits-item.d.ts.map +1 -1
  139. package/dist/adminapi/models/cluster-slow-log-database-distribution.d.ts +31 -0
  140. package/dist/adminapi/models/cluster-slow-log-database-distribution.d.ts.map +1 -0
  141. package/dist/adminapi/models/cluster-slow-log-database-distribution.js +16 -0
  142. package/dist/adminapi/models/cluster-slow-log-database-distribution.js.map +1 -0
  143. package/dist/adminapi/models/cluster-slow-log-detail.d.ts +55 -0
  144. package/dist/adminapi/models/cluster-slow-log-detail.d.ts.map +1 -0
  145. package/dist/adminapi/models/cluster-slow-log-detail.js +16 -0
  146. package/dist/adminapi/models/cluster-slow-log-detail.js.map +1 -0
  147. package/dist/adminapi/models/cluster-slow-log-explain-response.d.ts +75 -0
  148. package/dist/adminapi/models/cluster-slow-log-explain-response.d.ts.map +1 -0
  149. package/dist/adminapi/models/cluster-slow-log-explain-response.js +16 -0
  150. package/dist/adminapi/models/cluster-slow-log-explain-response.js.map +1 -0
  151. package/dist/adminapi/models/cluster-slow-log-stats.d.ts +7 -0
  152. package/dist/adminapi/models/cluster-slow-log-stats.d.ts.map +1 -1
  153. package/dist/adminapi/models/cluster-slow-log-template-list.d.ts +26 -0
  154. package/dist/adminapi/models/cluster-slow-log-template-list.d.ts.map +1 -0
  155. package/dist/adminapi/models/cluster-slow-log-template-list.js +16 -0
  156. package/dist/adminapi/models/cluster-slow-log-template-list.js.map +1 -0
  157. package/dist/adminapi/models/cluster-slow-log-template.d.ts +133 -0
  158. package/dist/adminapi/models/cluster-slow-log-template.d.ts.map +1 -0
  159. package/dist/adminapi/models/cluster-slow-log-template.js +16 -0
  160. package/dist/adminapi/models/cluster-slow-log-template.js.map +1 -0
  161. package/dist/adminapi/models/database-option.d.ts +6 -0
  162. package/dist/adminapi/models/database-option.d.ts.map +1 -1
  163. package/dist/adminapi/models/database-parameter-item.d.ts +6 -0
  164. package/dist/adminapi/models/database-parameter-item.d.ts.map +1 -1
  165. package/dist/adminapi/models/database-parameter-list-item.d.ts +6 -0
  166. package/dist/adminapi/models/database-parameter-list-item.d.ts.map +1 -1
  167. package/dist/adminapi/models/dms-option.d.ts +0 -6
  168. package/dist/adminapi/models/dms-option.d.ts.map +1 -1
  169. package/dist/adminapi/models/dms-query-history.d.ts +10 -4
  170. package/dist/adminapi/models/dms-query-history.d.ts.map +1 -1
  171. package/dist/adminapi/models/engine-network-mode-options-inner.d.ts +38 -0
  172. package/dist/adminapi/models/engine-network-mode-options-inner.d.ts.map +1 -0
  173. package/dist/adminapi/models/engine-network-mode-options-inner.js +16 -0
  174. package/dist/adminapi/models/engine-network-mode-options-inner.js.map +1 -0
  175. package/dist/adminapi/models/engine-network-mode-supported.d.ts +34 -0
  176. package/dist/adminapi/models/engine-network-mode-supported.d.ts.map +1 -0
  177. package/dist/adminapi/models/engine-network-mode-supported.js +16 -0
  178. package/dist/adminapi/models/engine-network-mode-supported.js.map +1 -0
  179. package/dist/adminapi/models/engine-option.d.ts +7 -0
  180. package/dist/adminapi/models/engine-option.d.ts.map +1 -1
  181. package/dist/adminapi/models/environment-engine-option-create.d.ts +37 -0
  182. package/dist/adminapi/models/environment-engine-option-create.d.ts.map +1 -0
  183. package/dist/adminapi/models/environment-engine-option-create.js +16 -0
  184. package/dist/adminapi/models/environment-engine-option-create.js.map +1 -0
  185. package/dist/adminapi/models/environment-engine-option-update.d.ts +25 -0
  186. package/dist/adminapi/models/environment-engine-option-update.d.ts.map +1 -0
  187. package/dist/adminapi/models/environment-engine-option-update.js +16 -0
  188. package/dist/adminapi/models/environment-engine-option-update.js.map +1 -0
  189. package/dist/adminapi/models/environment-engine-option.d.ts +67 -0
  190. package/dist/adminapi/models/environment-engine-option.d.ts.map +1 -0
  191. package/dist/adminapi/models/environment-engine-option.js +16 -0
  192. package/dist/adminapi/models/environment-engine-option.js.map +1 -0
  193. package/dist/adminapi/models/index.d.ts +77 -1
  194. package/dist/adminapi/models/index.d.ts.map +1 -1
  195. package/dist/adminapi/models/index.js +77 -1
  196. package/dist/adminapi/models/index.js.map +1 -1
  197. package/dist/adminapi/models/inspection-task.d.ts +2 -3
  198. package/dist/adminapi/models/inspection-task.d.ts.map +1 -1
  199. package/dist/adminapi/models/instance-resource-stats.d.ts +6 -0
  200. package/dist/adminapi/models/instance-resource-stats.d.ts.map +1 -1
  201. package/dist/adminapi/models/llm.d.ts +1 -1
  202. package/dist/adminapi/models/log-option.d.ts +6 -0
  203. package/dist/adminapi/models/log-option.d.ts.map +1 -1
  204. package/dist/adminapi/models/mongo-aggregate-request.d.ts +37 -0
  205. package/dist/adminapi/models/mongo-aggregate-request.d.ts.map +1 -0
  206. package/dist/adminapi/models/mongo-aggregate-request.js +16 -0
  207. package/dist/adminapi/models/mongo-aggregate-request.js.map +1 -0
  208. package/dist/adminapi/models/mongo-collection-capabilities.d.ts +49 -0
  209. package/dist/adminapi/models/mongo-collection-capabilities.d.ts.map +1 -0
  210. package/dist/adminapi/models/mongo-collection-capabilities.js +16 -0
  211. package/dist/adminapi/models/mongo-collection-capabilities.js.map +1 -0
  212. package/dist/adminapi/models/mongo-collection-info.d.ts +50 -0
  213. package/dist/adminapi/models/mongo-collection-info.d.ts.map +1 -0
  214. package/dist/adminapi/models/mongo-collection-info.js +16 -0
  215. package/dist/adminapi/models/mongo-collection-info.js.map +1 -0
  216. package/dist/adminapi/models/mongo-collection-stats.d.ts +62 -0
  217. package/dist/adminapi/models/mongo-collection-stats.d.ts.map +1 -0
  218. package/dist/adminapi/models/mongo-collection-stats.js +16 -0
  219. package/dist/adminapi/models/mongo-collection-stats.js.map +1 -0
  220. package/dist/adminapi/models/mongo-create-collection-options.d.ts +61 -0
  221. package/dist/adminapi/models/mongo-create-collection-options.d.ts.map +1 -0
  222. package/dist/adminapi/models/mongo-create-collection-options.js +16 -0
  223. package/dist/adminapi/models/mongo-create-collection-options.js.map +1 -0
  224. package/dist/adminapi/models/mongo-create-collection-request.d.ts +26 -0
  225. package/dist/adminapi/models/mongo-create-collection-request.d.ts.map +1 -0
  226. package/dist/adminapi/models/mongo-create-collection-request.js +16 -0
  227. package/dist/adminapi/models/mongo-create-collection-request.js.map +1 -0
  228. package/dist/adminapi/models/mongo-create-index-request.d.ts +32 -0
  229. package/dist/adminapi/models/mongo-create-index-request.d.ts.map +1 -0
  230. package/dist/adminapi/models/mongo-create-index-request.js +16 -0
  231. package/dist/adminapi/models/mongo-create-index-request.js.map +1 -0
  232. package/dist/adminapi/models/mongo-create-view-request.d.ts +43 -0
  233. package/dist/adminapi/models/mongo-create-view-request.d.ts.map +1 -0
  234. package/dist/adminapi/models/mongo-create-view-request.js +16 -0
  235. package/dist/adminapi/models/mongo-create-view-request.js.map +1 -0
  236. package/dist/adminapi/models/mongo-database-info.d.ts +49 -0
  237. package/dist/adminapi/models/mongo-database-info.d.ts.map +1 -0
  238. package/dist/adminapi/models/mongo-database-info.js +16 -0
  239. package/dist/adminapi/models/mongo-database-info.js.map +1 -0
  240. package/dist/adminapi/models/mongo-delete-request.d.ts +31 -0
  241. package/dist/adminapi/models/mongo-delete-request.d.ts.map +1 -0
  242. package/dist/adminapi/models/mongo-delete-request.js +16 -0
  243. package/dist/adminapi/models/mongo-delete-request.js.map +1 -0
  244. package/dist/adminapi/models/mongo-explain-request.d.ts +67 -0
  245. package/dist/adminapi/models/mongo-explain-request.d.ts.map +1 -0
  246. package/dist/adminapi/models/mongo-explain-request.js +16 -0
  247. package/dist/adminapi/models/mongo-explain-request.js.map +1 -0
  248. package/dist/adminapi/models/mongo-explain-response.d.ts +31 -0
  249. package/dist/adminapi/models/mongo-explain-response.d.ts.map +1 -0
  250. package/dist/adminapi/models/mongo-explain-response.js +16 -0
  251. package/dist/adminapi/models/mongo-explain-response.js.map +1 -0
  252. package/dist/adminapi/models/mongo-find-request.d.ts +61 -0
  253. package/dist/adminapi/models/mongo-find-request.d.ts.map +1 -0
  254. package/dist/adminapi/models/mongo-find-request.js +16 -0
  255. package/dist/adminapi/models/mongo-find-request.js.map +1 -0
  256. package/dist/adminapi/models/mongo-find-response.d.ts +43 -0
  257. package/dist/adminapi/models/mongo-find-response.d.ts.map +1 -0
  258. package/dist/adminapi/models/mongo-find-response.js +16 -0
  259. package/dist/adminapi/models/mongo-find-response.js.map +1 -0
  260. package/dist/adminapi/models/mongo-index-info.d.ts +67 -0
  261. package/dist/adminapi/models/mongo-index-info.d.ts.map +1 -0
  262. package/dist/adminapi/models/mongo-index-info.js +16 -0
  263. package/dist/adminapi/models/mongo-index-info.js.map +1 -0
  264. package/dist/adminapi/models/mongo-index-options.d.ts +37 -0
  265. package/dist/adminapi/models/mongo-index-options.d.ts.map +1 -0
  266. package/dist/adminapi/models/mongo-index-options.js +16 -0
  267. package/dist/adminapi/models/mongo-index-options.js.map +1 -0
  268. package/dist/adminapi/models/mongo-insert-request.d.ts +31 -0
  269. package/dist/adminapi/models/mongo-insert-request.d.ts.map +1 -0
  270. package/dist/adminapi/models/mongo-insert-request.js +16 -0
  271. package/dist/adminapi/models/mongo-insert-request.js.map +1 -0
  272. package/dist/adminapi/models/mongo-replace-request.d.ts +37 -0
  273. package/dist/adminapi/models/mongo-replace-request.d.ts.map +1 -0
  274. package/dist/adminapi/models/mongo-replace-request.js +16 -0
  275. package/dist/adminapi/models/mongo-replace-request.js.map +1 -0
  276. package/dist/adminapi/models/mongo-schema-analysis.d.ts +38 -0
  277. package/dist/adminapi/models/mongo-schema-analysis.d.ts.map +1 -0
  278. package/dist/adminapi/models/mongo-schema-analysis.js +16 -0
  279. package/dist/adminapi/models/mongo-schema-analysis.js.map +1 -0
  280. package/dist/adminapi/models/mongo-schema-field.d.ts +37 -0
  281. package/dist/adminapi/models/mongo-schema-field.d.ts.map +1 -0
  282. package/dist/adminapi/models/mongo-schema-field.js +16 -0
  283. package/dist/adminapi/models/mongo-schema-field.js.map +1 -0
  284. package/dist/adminapi/models/mongo-set-validation-request.d.ts +37 -0
  285. package/dist/adminapi/models/mongo-set-validation-request.d.ts.map +1 -0
  286. package/dist/adminapi/models/mongo-set-validation-request.js +16 -0
  287. package/dist/adminapi/models/mongo-set-validation-request.js.map +1 -0
  288. package/dist/adminapi/models/mongo-shell-completion-item.d.ts +25 -0
  289. package/dist/adminapi/models/mongo-shell-completion-item.d.ts.map +1 -0
  290. package/dist/adminapi/models/mongo-shell-completion-item.js +16 -0
  291. package/dist/adminapi/models/mongo-shell-completion-item.js.map +1 -0
  292. package/dist/adminapi/models/mongo-shell-completions-request.d.ts +25 -0
  293. package/dist/adminapi/models/mongo-shell-completions-request.d.ts.map +1 -0
  294. package/dist/adminapi/models/mongo-shell-completions-request.js +16 -0
  295. package/dist/adminapi/models/mongo-shell-completions-request.js.map +1 -0
  296. package/dist/adminapi/models/mongo-shell-completions-response.d.ts +26 -0
  297. package/dist/adminapi/models/mongo-shell-completions-response.d.ts.map +1 -0
  298. package/dist/adminapi/models/mongo-shell-completions-response.js +16 -0
  299. package/dist/adminapi/models/mongo-shell-completions-response.js.map +1 -0
  300. package/dist/adminapi/models/mongo-shell-create-session-request.d.ts +25 -0
  301. package/dist/adminapi/models/mongo-shell-create-session-request.d.ts.map +1 -0
  302. package/dist/adminapi/models/mongo-shell-create-session-request.js +16 -0
  303. package/dist/adminapi/models/mongo-shell-create-session-request.js.map +1 -0
  304. package/dist/adminapi/models/mongo-shell-evaluate-request.d.ts +37 -0
  305. package/dist/adminapi/models/mongo-shell-evaluate-request.d.ts.map +1 -0
  306. package/dist/adminapi/models/mongo-shell-evaluate-request.js +16 -0
  307. package/dist/adminapi/models/mongo-shell-evaluate-request.js.map +1 -0
  308. package/dist/adminapi/models/mongo-shell-evaluate-response.d.ts +44 -0
  309. package/dist/adminapi/models/mongo-shell-evaluate-response.d.ts.map +1 -0
  310. package/dist/adminapi/models/mongo-shell-evaluate-response.js +16 -0
  311. package/dist/adminapi/models/mongo-shell-evaluate-response.js.map +1 -0
  312. package/dist/adminapi/models/mongo-shell-interrupt-response.d.ts +25 -0
  313. package/dist/adminapi/models/mongo-shell-interrupt-response.d.ts.map +1 -0
  314. package/dist/adminapi/models/mongo-shell-interrupt-response.js +16 -0
  315. package/dist/adminapi/models/mongo-shell-interrupt-response.js.map +1 -0
  316. package/dist/adminapi/models/mongo-shell-prompt-response.d.ts +25 -0
  317. package/dist/adminapi/models/mongo-shell-prompt-response.d.ts.map +1 -0
  318. package/dist/adminapi/models/mongo-shell-prompt-response.js +16 -0
  319. package/dist/adminapi/models/mongo-shell-prompt-response.js.map +1 -0
  320. package/dist/adminapi/models/mongo-shell-result.d.ts +37 -0
  321. package/dist/adminapi/models/mongo-shell-result.d.ts.map +1 -0
  322. package/dist/adminapi/models/mongo-shell-result.js +16 -0
  323. package/dist/adminapi/models/mongo-shell-result.js.map +1 -0
  324. package/dist/adminapi/models/mongo-shell-session.d.ts +49 -0
  325. package/dist/adminapi/models/mongo-shell-session.d.ts.map +1 -0
  326. package/dist/adminapi/models/mongo-shell-session.js +16 -0
  327. package/dist/adminapi/models/mongo-shell-session.js.map +1 -0
  328. package/dist/adminapi/models/mongo-update-request.d.ts +43 -0
  329. package/dist/adminapi/models/mongo-update-request.d.ts.map +1 -0
  330. package/dist/adminapi/models/mongo-update-request.js +16 -0
  331. package/dist/adminapi/models/mongo-update-request.js.map +1 -0
  332. package/dist/adminapi/models/mongo-validation-info.d.ts +37 -0
  333. package/dist/adminapi/models/mongo-validation-info.d.ts.map +1 -0
  334. package/dist/adminapi/models/mongo-validation-info.js +16 -0
  335. package/dist/adminapi/models/mongo-validation-info.js.map +1 -0
  336. package/dist/adminapi/models/mongo-write-response.d.ts +31 -0
  337. package/dist/adminapi/models/mongo-write-response.d.ts.map +1 -0
  338. package/dist/adminapi/models/mongo-write-response.js +16 -0
  339. package/dist/adminapi/models/mongo-write-response.js.map +1 -0
  340. package/dist/adminapi/models/mongo-write-result.d.ts +55 -0
  341. package/dist/adminapi/models/mongo-write-result.d.ts.map +1 -0
  342. package/dist/adminapi/models/mongo-write-result.js +16 -0
  343. package/dist/adminapi/models/mongo-write-result.js.map +1 -0
  344. package/dist/adminapi/models/parameter-template-diff-item.d.ts +43 -0
  345. package/dist/adminapi/models/parameter-template-diff-item.d.ts.map +1 -0
  346. package/dist/adminapi/models/parameter-template-diff-item.js +16 -0
  347. package/dist/adminapi/models/parameter-template-diff-item.js.map +1 -0
  348. package/dist/adminapi/models/parameter-template-diff.d.ts +26 -0
  349. package/dist/adminapi/models/parameter-template-diff.d.ts.map +1 -0
  350. package/dist/adminapi/models/parameter-template-diff.js +16 -0
  351. package/dist/adminapi/models/parameter-template-diff.js.map +1 -0
  352. package/dist/adminapi/models/storage-create.d.ts +0 -6
  353. package/dist/adminapi/models/storage-create.d.ts.map +1 -1
  354. package/dist/adminapi/models/storage-update.d.ts +0 -6
  355. package/dist/adminapi/models/storage-update.d.ts.map +1 -1
  356. package/dist/adminapi/models/storage.d.ts +0 -6
  357. package/dist/adminapi/models/storage.d.ts.map +1 -1
  358. package/dist/adminapi/models/tde-option.d.ts +32 -0
  359. package/dist/adminapi/models/tde-option.d.ts.map +1 -0
  360. package/dist/adminapi/models/tde-option.js +16 -0
  361. package/dist/adminapi/models/tde-option.js.map +1 -0
  362. package/dist/adminapi/models/tde-parameter-option.d.ts +49 -0
  363. package/dist/adminapi/models/tde-parameter-option.d.ts.map +1 -0
  364. package/dist/adminapi/models/tde-parameter-option.js +16 -0
  365. package/dist/adminapi/models/tde-parameter-option.js.map +1 -0
  366. package/dist/adminapi/models/tde-request.d.ts +31 -0
  367. package/dist/adminapi/models/tde-request.d.ts.map +1 -0
  368. package/dist/adminapi/models/tde-request.js +16 -0
  369. package/dist/adminapi/models/tde-request.js.map +1 -0
  370. package/dist/adminapi/models/tde-response.d.ts +31 -0
  371. package/dist/adminapi/models/tde-response.d.ts.map +1 -0
  372. package/dist/adminapi/models/tde-response.js +16 -0
  373. package/dist/adminapi/models/tde-response.js.map +1 -0
  374. package/dist/adminapi/models/tde-status.d.ts +33 -0
  375. package/dist/adminapi/models/tde-status.d.ts.map +1 -0
  376. package/dist/adminapi/models/tde-status.js +16 -0
  377. package/dist/adminapi/models/tde-status.js.map +1 -0
  378. package/dist/internalapi/models/storage-create.d.ts +0 -6
  379. package/dist/internalapi/models/storage-create.d.ts.map +1 -1
  380. package/dist/internalapi/models/storage.d.ts +0 -6
  381. package/dist/internalapi/models/storage.d.ts.map +1 -1
  382. package/dist/openapi/api.d.ts +1 -0
  383. package/dist/openapi/api.d.ts.map +1 -1
  384. package/dist/openapi/api.js +1 -0
  385. package/dist/openapi/api.js.map +1 -1
  386. package/dist/openapi/apis/aiagent-api.d.ts +1143 -0
  387. package/dist/openapi/apis/aiagent-api.d.ts.map +1 -0
  388. package/dist/openapi/apis/aiagent-api.js +1214 -0
  389. package/dist/openapi/apis/aiagent-api.js.map +1 -0
  390. package/dist/openapi/apis/benchmark-api.d.ts +64 -0
  391. package/dist/openapi/apis/benchmark-api.d.ts.map +1 -1
  392. package/dist/openapi/apis/benchmark-api.js +72 -0
  393. package/dist/openapi/apis/benchmark-api.js.map +1 -1
  394. package/dist/openapi/apis/cluster-api.d.ts +163 -2
  395. package/dist/openapi/apis/cluster-api.d.ts.map +1 -1
  396. package/dist/openapi/apis/cluster-api.js +170 -5
  397. package/dist/openapi/apis/cluster-api.js.map +1 -1
  398. package/dist/openapi/apis/cluster-log-api.d.ts +1146 -35
  399. package/dist/openapi/apis/cluster-log-api.d.ts.map +1 -1
  400. package/dist/openapi/apis/cluster-log-api.js +882 -15
  401. package/dist/openapi/apis/cluster-log-api.js.map +1 -1
  402. package/dist/openapi/apis/data-replication-api.d.ts +440 -0
  403. package/dist/openapi/apis/data-replication-api.d.ts.map +1 -1
  404. package/dist/openapi/apis/data-replication-api.js +464 -0
  405. package/dist/openapi/apis/data-replication-api.js.map +1 -1
  406. package/dist/openapi/apis/dms-api.d.ts +2868 -458
  407. package/dist/openapi/apis/dms-api.d.ts.map +1 -1
  408. package/dist/openapi/apis/dms-api.js +2673 -321
  409. package/dist/openapi/apis/dms-api.js.map +1 -1
  410. package/dist/openapi/apis/engine-api.d.ts +72 -0
  411. package/dist/openapi/apis/engine-api.d.ts.map +1 -1
  412. package/dist/openapi/apis/engine-api.js +80 -0
  413. package/dist/openapi/apis/engine-api.js.map +1 -1
  414. package/dist/openapi/apis/parameter-template-api.d.ts +80 -0
  415. package/dist/openapi/apis/parameter-template-api.d.ts.map +1 -1
  416. package/dist/openapi/apis/parameter-template-api.js +81 -0
  417. package/dist/openapi/apis/parameter-template-api.js.map +1 -1
  418. package/dist/openapi/apis/shared-api.d.ts +1570 -188
  419. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  420. package/dist/openapi/apis/shared-api.js +1195 -62
  421. package/dist/openapi/apis/shared-api.js.map +1 -1
  422. package/dist/openapi/models/ai-agent-conversation-list.d.ts +26 -0
  423. package/dist/openapi/models/ai-agent-conversation-list.d.ts.map +1 -0
  424. package/dist/openapi/models/ai-agent-conversation-list.js +16 -0
  425. package/dist/openapi/models/ai-agent-conversation-list.js.map +1 -0
  426. package/dist/openapi/models/ai-agent-conversation-status.d.ts +25 -0
  427. package/dist/openapi/models/ai-agent-conversation-status.d.ts.map +1 -0
  428. package/dist/openapi/models/ai-agent-conversation-status.js +29 -0
  429. package/dist/openapi/models/ai-agent-conversation-status.js.map +1 -0
  430. package/dist/openapi/models/ai-agent-conversation.d.ts +76 -0
  431. package/dist/openapi/models/ai-agent-conversation.d.ts.map +1 -0
  432. package/dist/openapi/models/ai-agent-conversation.js +16 -0
  433. package/dist/openapi/models/ai-agent-conversation.js.map +1 -0
  434. package/dist/openapi/models/ai-agent-create-conversation-request.d.ts +37 -0
  435. package/dist/openapi/models/ai-agent-create-conversation-request.d.ts.map +1 -0
  436. package/dist/openapi/models/ai-agent-create-conversation-request.js +16 -0
  437. package/dist/openapi/models/ai-agent-create-conversation-request.js.map +1 -0
  438. package/dist/openapi/models/ai-agent-delete-conversation-response.d.ts +31 -0
  439. package/dist/openapi/models/ai-agent-delete-conversation-response.d.ts.map +1 -0
  440. package/dist/openapi/models/ai-agent-delete-conversation-response.js +16 -0
  441. package/dist/openapi/models/ai-agent-delete-conversation-response.js.map +1 -0
  442. package/dist/openapi/models/ai-agent-event-type.d.ts +35 -0
  443. package/dist/openapi/models/ai-agent-event-type.d.ts.map +1 -0
  444. package/dist/openapi/models/ai-agent-event-type.js +39 -0
  445. package/dist/openapi/models/ai-agent-event-type.js.map +1 -0
  446. package/dist/openapi/models/ai-agent-event.d.ts +70 -0
  447. package/dist/openapi/models/ai-agent-event.d.ts.map +1 -0
  448. package/dist/openapi/models/ai-agent-event.js +16 -0
  449. package/dist/openapi/models/ai-agent-event.js.map +1 -0
  450. package/dist/openapi/models/ai-agent-message-list.d.ts +26 -0
  451. package/dist/openapi/models/ai-agent-message-list.d.ts.map +1 -0
  452. package/dist/openapi/models/ai-agent-message-list.js +16 -0
  453. package/dist/openapi/models/ai-agent-message-list.js.map +1 -0
  454. package/dist/openapi/models/ai-agent-message-part-type.d.ts +24 -0
  455. package/dist/openapi/models/ai-agent-message-part-type.d.ts.map +1 -0
  456. package/dist/openapi/models/ai-agent-message-part-type.js +28 -0
  457. package/dist/openapi/models/ai-agent-message-part-type.js.map +1 -0
  458. package/dist/openapi/models/ai-agent-message-part.d.ts +46 -0
  459. package/dist/openapi/models/ai-agent-message-part.d.ts.map +1 -0
  460. package/dist/openapi/models/ai-agent-message-part.js +16 -0
  461. package/dist/openapi/models/ai-agent-message-part.js.map +1 -0
  462. package/dist/openapi/models/{pgbench-step.d.ts → ai-agent-message-role.d.ts} +7 -8
  463. package/dist/openapi/models/ai-agent-message-role.d.ts.map +1 -0
  464. package/dist/openapi/models/{pgbench-step.js → ai-agent-message-role.js} +7 -8
  465. package/dist/openapi/models/ai-agent-message-role.js.map +1 -0
  466. package/dist/openapi/models/ai-agent-message.d.ts +64 -0
  467. package/dist/openapi/models/ai-agent-message.d.ts.map +1 -0
  468. package/dist/openapi/models/ai-agent-message.js +16 -0
  469. package/dist/openapi/models/ai-agent-message.js.map +1 -0
  470. package/dist/openapi/models/ai-agent-object-ref.d.ts +31 -0
  471. package/dist/openapi/models/ai-agent-object-ref.d.ts.map +1 -0
  472. package/dist/openapi/models/ai-agent-object-ref.js +16 -0
  473. package/dist/openapi/models/ai-agent-object-ref.js.map +1 -0
  474. package/dist/openapi/models/ai-agent-runtime-status-code.d.ts +25 -0
  475. package/dist/openapi/models/ai-agent-runtime-status-code.d.ts.map +1 -0
  476. package/dist/openapi/models/ai-agent-runtime-status-code.js +29 -0
  477. package/dist/openapi/models/ai-agent-runtime-status-code.js.map +1 -0
  478. package/dist/openapi/models/ai-agent-runtime-status.d.ts +45 -0
  479. package/dist/openapi/models/ai-agent-runtime-status.d.ts.map +1 -0
  480. package/dist/openapi/models/ai-agent-runtime-status.js +16 -0
  481. package/dist/openapi/models/ai-agent-runtime-status.js.map +1 -0
  482. package/dist/openapi/models/ai-agent-scope.d.ts +44 -0
  483. package/dist/openapi/models/ai-agent-scope.d.ts.map +1 -0
  484. package/dist/openapi/models/ai-agent-scope.js +16 -0
  485. package/dist/openapi/models/ai-agent-scope.js.map +1 -0
  486. package/dist/openapi/models/ai-agent-send-message-request.d.ts +32 -0
  487. package/dist/openapi/models/ai-agent-send-message-request.d.ts.map +1 -0
  488. package/dist/openapi/models/ai-agent-send-message-request.js +16 -0
  489. package/dist/openapi/models/ai-agent-send-message-request.js.map +1 -0
  490. package/dist/openapi/models/ai-agent-send-message-response.d.ts +44 -0
  491. package/dist/openapi/models/ai-agent-send-message-response.d.ts.map +1 -0
  492. package/dist/openapi/models/ai-agent-send-message-response.js +16 -0
  493. package/dist/openapi/models/ai-agent-send-message-response.js.map +1 -0
  494. package/dist/openapi/models/ai-agent-stop-conversation-response.d.ts +32 -0
  495. package/dist/openapi/models/ai-agent-stop-conversation-response.d.ts.map +1 -0
  496. package/dist/openapi/models/ai-agent-stop-conversation-response.js +16 -0
  497. package/dist/openapi/models/ai-agent-stop-conversation-response.js.map +1 -0
  498. package/dist/openapi/models/ai-agent-tool-confirmation-decision-request.d.ts +25 -0
  499. package/dist/openapi/models/ai-agent-tool-confirmation-decision-request.d.ts.map +1 -0
  500. package/dist/openapi/models/ai-agent-tool-confirmation-decision-request.js +16 -0
  501. package/dist/openapi/models/ai-agent-tool-confirmation-decision-request.js.map +1 -0
  502. package/dist/openapi/models/ai-agent-tool-confirmation-decision-response.d.ts +38 -0
  503. package/dist/openapi/models/ai-agent-tool-confirmation-decision-response.d.ts.map +1 -0
  504. package/dist/openapi/models/ai-agent-tool-confirmation-decision-response.js +16 -0
  505. package/dist/openapi/models/ai-agent-tool-confirmation-decision-response.js.map +1 -0
  506. package/dist/openapi/models/ai-agent-tool-confirmation-status.d.ts +24 -0
  507. package/dist/openapi/models/ai-agent-tool-confirmation-status.d.ts.map +1 -0
  508. package/dist/openapi/models/ai-agent-tool-confirmation-status.js +28 -0
  509. package/dist/openapi/models/ai-agent-tool-confirmation-status.js.map +1 -0
  510. package/dist/openapi/models/ai-agent-turn-action-list.d.ts +26 -0
  511. package/dist/openapi/models/ai-agent-turn-action-list.d.ts.map +1 -0
  512. package/dist/openapi/models/ai-agent-turn-action-list.js +16 -0
  513. package/dist/openapi/models/ai-agent-turn-action-list.js.map +1 -0
  514. package/dist/openapi/models/ai-agent-turn-action.d.ts +106 -0
  515. package/dist/openapi/models/ai-agent-turn-action.d.ts.map +1 -0
  516. package/dist/openapi/models/ai-agent-turn-action.js +16 -0
  517. package/dist/openapi/models/ai-agent-turn-action.js.map +1 -0
  518. package/dist/openapi/models/ai-agent-turn-status.d.ts +25 -0
  519. package/dist/openapi/models/ai-agent-turn-status.d.ts.map +1 -0
  520. package/dist/openapi/models/ai-agent-turn-status.js +29 -0
  521. package/dist/openapi/models/ai-agent-turn-status.js.map +1 -0
  522. package/dist/openapi/models/bench-option.d.ts +6 -0
  523. package/dist/openapi/models/bench-option.d.ts.map +1 -1
  524. package/dist/openapi/models/{ycsb-step.d.ts → benchmark-step.d.ts} +3 -3
  525. package/dist/openapi/models/benchmark-step.d.ts.map +1 -0
  526. package/dist/openapi/models/{ycsb-step.js → benchmark-step.js} +3 -3
  527. package/dist/openapi/models/benchmark-step.js.map +1 -0
  528. package/dist/openapi/models/benchmark-type.d.ts +1 -0
  529. package/dist/openapi/models/benchmark-type.d.ts.map +1 -1
  530. package/dist/openapi/models/benchmark-type.js +2 -1
  531. package/dist/openapi/models/benchmark-type.js.map +1 -1
  532. package/dist/openapi/models/cluster-execution-log-item.d.ts +7 -0
  533. package/dist/openapi/models/cluster-execution-log-item.d.ts.map +1 -1
  534. package/dist/openapi/models/cluster-log-hits-item.d.ts +6 -0
  535. package/dist/openapi/models/cluster-log-hits-item.d.ts.map +1 -1
  536. package/dist/openapi/models/cluster-slow-log-database-distribution.d.ts +31 -0
  537. package/dist/openapi/models/cluster-slow-log-database-distribution.d.ts.map +1 -0
  538. package/dist/openapi/models/cluster-slow-log-database-distribution.js +16 -0
  539. package/dist/openapi/models/cluster-slow-log-database-distribution.js.map +1 -0
  540. package/dist/openapi/models/cluster-slow-log-detail.d.ts +55 -0
  541. package/dist/openapi/models/cluster-slow-log-detail.d.ts.map +1 -0
  542. package/dist/openapi/models/cluster-slow-log-detail.js +16 -0
  543. package/dist/openapi/models/cluster-slow-log-detail.js.map +1 -0
  544. package/dist/openapi/models/cluster-slow-log-explain-response.d.ts +75 -0
  545. package/dist/openapi/models/cluster-slow-log-explain-response.d.ts.map +1 -0
  546. package/dist/openapi/models/cluster-slow-log-explain-response.js +16 -0
  547. package/dist/openapi/models/cluster-slow-log-explain-response.js.map +1 -0
  548. package/dist/openapi/models/cluster-slow-log-stats.d.ts +7 -0
  549. package/dist/openapi/models/cluster-slow-log-stats.d.ts.map +1 -1
  550. package/dist/openapi/models/cluster-slow-log-template-list.d.ts +26 -0
  551. package/dist/openapi/models/cluster-slow-log-template-list.d.ts.map +1 -0
  552. package/dist/openapi/models/cluster-slow-log-template-list.js +16 -0
  553. package/dist/openapi/models/cluster-slow-log-template-list.js.map +1 -0
  554. package/dist/openapi/models/cluster-slow-log-template.d.ts +133 -0
  555. package/dist/openapi/models/cluster-slow-log-template.d.ts.map +1 -0
  556. package/dist/openapi/models/cluster-slow-log-template.js +16 -0
  557. package/dist/openapi/models/cluster-slow-log-template.js.map +1 -0
  558. package/dist/openapi/models/data-check-create.d.ts +64 -0
  559. package/dist/openapi/models/data-check-create.d.ts.map +1 -0
  560. package/dist/openapi/models/data-check-create.js +16 -0
  561. package/dist/openapi/models/data-check-create.js.map +1 -0
  562. package/dist/openapi/models/data-check-detail-item.d.ts +94 -0
  563. package/dist/openapi/models/data-check-detail-item.d.ts.map +1 -0
  564. package/dist/openapi/models/data-check-detail-item.js +16 -0
  565. package/dist/openapi/models/data-check-detail-item.js.map +1 -0
  566. package/dist/openapi/models/{tpcc-step.d.ts → data-check-detail-type.d.ts} +6 -8
  567. package/dist/openapi/models/data-check-detail-type.d.ts.map +1 -0
  568. package/dist/openapi/models/{tpcc-step.js → data-check-detail-type.js} +6 -8
  569. package/dist/openapi/models/data-check-detail-type.js.map +1 -0
  570. package/dist/openapi/models/data-check-details.d.ts +33 -0
  571. package/dist/openapi/models/data-check-details.d.ts.map +1 -0
  572. package/dist/openapi/models/data-check-details.js +16 -0
  573. package/dist/openapi/models/data-check-details.js.map +1 -0
  574. package/dist/openapi/models/data-check-diff-value.d.ts +43 -0
  575. package/dist/openapi/models/data-check-diff-value.d.ts.map +1 -0
  576. package/dist/openapi/models/data-check-diff-value.js +16 -0
  577. package/dist/openapi/models/data-check-diff-value.js.map +1 -0
  578. package/dist/openapi/models/data-check-item.d.ts +101 -0
  579. package/dist/openapi/models/data-check-item.d.ts.map +1 -0
  580. package/dist/openapi/models/data-check-item.js +16 -0
  581. package/dist/openapi/models/data-check-item.js.map +1 -0
  582. package/dist/openapi/models/data-check-list-item.d.ts +101 -0
  583. package/dist/openapi/models/data-check-list-item.d.ts.map +1 -0
  584. package/dist/openapi/models/data-check-list-item.js +16 -0
  585. package/dist/openapi/models/data-check-list-item.js.map +1 -0
  586. package/dist/openapi/models/data-check-list-summary.d.ts +49 -0
  587. package/dist/openapi/models/data-check-list-summary.d.ts.map +1 -0
  588. package/dist/openapi/models/data-check-list-summary.js +16 -0
  589. package/dist/openapi/models/data-check-list-summary.js.map +1 -0
  590. package/dist/openapi/models/data-check-response.d.ts +37 -0
  591. package/dist/openapi/models/data-check-response.d.ts.map +1 -0
  592. package/dist/openapi/models/data-check-response.js +16 -0
  593. package/dist/openapi/models/data-check-response.js.map +1 -0
  594. package/dist/openapi/models/data-check-status.d.ts +23 -0
  595. package/dist/openapi/models/data-check-status.d.ts.map +1 -0
  596. package/dist/openapi/models/{sysbench-step.js → data-check-status.js} +7 -8
  597. package/dist/openapi/models/data-check-status.js.map +1 -0
  598. package/dist/openapi/models/data-check-summary.d.ts +56 -0
  599. package/dist/openapi/models/data-check-summary.d.ts.map +1 -0
  600. package/dist/openapi/models/data-check-summary.js +16 -0
  601. package/dist/openapi/models/data-check-summary.js.map +1 -0
  602. package/dist/openapi/models/data-check-table-summary.d.ts +67 -0
  603. package/dist/openapi/models/data-check-table-summary.d.ts.map +1 -0
  604. package/dist/openapi/models/data-check-table-summary.js +16 -0
  605. package/dist/openapi/models/data-check-table-summary.js.map +1 -0
  606. package/dist/openapi/models/data-check-type.d.ts +22 -0
  607. package/dist/openapi/models/data-check-type.d.ts.map +1 -0
  608. package/dist/openapi/models/data-check-type.js +26 -0
  609. package/dist/openapi/models/data-check-type.js.map +1 -0
  610. package/dist/openapi/models/database-option.d.ts +6 -0
  611. package/dist/openapi/models/database-option.d.ts.map +1 -1
  612. package/dist/openapi/models/dms-option.d.ts +0 -6
  613. package/dist/openapi/models/dms-option.d.ts.map +1 -1
  614. package/dist/openapi/models/dms-query-history.d.ts +10 -4
  615. package/dist/openapi/models/dms-query-history.d.ts.map +1 -1
  616. package/dist/openapi/models/engine-network-mode-supported.d.ts +34 -0
  617. package/dist/openapi/models/engine-network-mode-supported.d.ts.map +1 -0
  618. package/dist/openapi/models/engine-network-mode-supported.js +16 -0
  619. package/dist/openapi/models/engine-network-mode-supported.js.map +1 -0
  620. package/dist/openapi/models/engine-option.d.ts +7 -0
  621. package/dist/openapi/models/engine-option.d.ts.map +1 -1
  622. package/dist/openapi/models/{inspection-supported-engines.d.ts → esrally-data-profile.d.ts} +15 -13
  623. package/dist/openapi/models/esrally-data-profile.d.ts.map +1 -0
  624. package/dist/openapi/models/{inspection-supported-engines.js → esrally-data-profile.js} +15 -13
  625. package/dist/openapi/models/esrally-data-profile.js.map +1 -0
  626. package/dist/openapi/models/esrally-on-error.d.ts +22 -0
  627. package/dist/openapi/models/esrally-on-error.d.ts.map +1 -0
  628. package/dist/openapi/models/esrally-on-error.js +26 -0
  629. package/dist/openapi/models/esrally-on-error.js.map +1 -0
  630. package/dist/openapi/models/esrally-telemetry.d.ts +31 -0
  631. package/dist/openapi/models/esrally-telemetry.d.ts.map +1 -0
  632. package/dist/openapi/models/esrally-telemetry.js +35 -0
  633. package/dist/openapi/models/esrally-telemetry.js.map +1 -0
  634. package/dist/openapi/models/{sysbench-step.d.ts → esrally-workload.d.ts} +7 -7
  635. package/dist/openapi/models/esrally-workload.d.ts.map +1 -0
  636. package/dist/openapi/models/esrally-workload.js +28 -0
  637. package/dist/openapi/models/esrally-workload.js.map +1 -0
  638. package/dist/openapi/models/esrally.d.ts +120 -0
  639. package/dist/openapi/models/esrally.d.ts.map +1 -0
  640. package/dist/openapi/models/esrally.js +16 -0
  641. package/dist/openapi/models/esrally.js.map +1 -0
  642. package/dist/openapi/models/index.d.ts +92 -5
  643. package/dist/openapi/models/index.d.ts.map +1 -1
  644. package/dist/openapi/models/index.js +92 -5
  645. package/dist/openapi/models/index.js.map +1 -1
  646. package/dist/openapi/models/inspection-task.d.ts +2 -3
  647. package/dist/openapi/models/inspection-task.d.ts.map +1 -1
  648. package/dist/openapi/models/llm.d.ts +1 -1
  649. package/dist/openapi/models/log-option.d.ts +6 -0
  650. package/dist/openapi/models/log-option.d.ts.map +1 -1
  651. package/dist/openapi/models/mongo-aggregate-request.d.ts +37 -0
  652. package/dist/openapi/models/mongo-aggregate-request.d.ts.map +1 -0
  653. package/dist/openapi/models/mongo-aggregate-request.js +16 -0
  654. package/dist/openapi/models/mongo-aggregate-request.js.map +1 -0
  655. package/dist/openapi/models/mongo-collection-capabilities.d.ts +49 -0
  656. package/dist/openapi/models/mongo-collection-capabilities.d.ts.map +1 -0
  657. package/dist/openapi/models/mongo-collection-capabilities.js +16 -0
  658. package/dist/openapi/models/mongo-collection-capabilities.js.map +1 -0
  659. package/dist/openapi/models/mongo-collection-info.d.ts +50 -0
  660. package/dist/openapi/models/mongo-collection-info.d.ts.map +1 -0
  661. package/dist/openapi/models/mongo-collection-info.js +16 -0
  662. package/dist/openapi/models/mongo-collection-info.js.map +1 -0
  663. package/dist/openapi/models/mongo-collection-stats.d.ts +62 -0
  664. package/dist/openapi/models/mongo-collection-stats.d.ts.map +1 -0
  665. package/dist/openapi/models/mongo-collection-stats.js +16 -0
  666. package/dist/openapi/models/mongo-collection-stats.js.map +1 -0
  667. package/dist/openapi/models/mongo-create-collection-options.d.ts +61 -0
  668. package/dist/openapi/models/mongo-create-collection-options.d.ts.map +1 -0
  669. package/dist/openapi/models/mongo-create-collection-options.js +16 -0
  670. package/dist/openapi/models/mongo-create-collection-options.js.map +1 -0
  671. package/dist/openapi/models/mongo-create-collection-request.d.ts +26 -0
  672. package/dist/openapi/models/mongo-create-collection-request.d.ts.map +1 -0
  673. package/dist/openapi/models/mongo-create-collection-request.js +16 -0
  674. package/dist/openapi/models/mongo-create-collection-request.js.map +1 -0
  675. package/dist/openapi/models/mongo-create-index-request.d.ts +32 -0
  676. package/dist/openapi/models/mongo-create-index-request.d.ts.map +1 -0
  677. package/dist/openapi/models/mongo-create-index-request.js +16 -0
  678. package/dist/openapi/models/mongo-create-index-request.js.map +1 -0
  679. package/dist/openapi/models/mongo-create-view-request.d.ts +43 -0
  680. package/dist/openapi/models/mongo-create-view-request.d.ts.map +1 -0
  681. package/dist/openapi/models/mongo-create-view-request.js +16 -0
  682. package/dist/openapi/models/mongo-create-view-request.js.map +1 -0
  683. package/dist/openapi/models/mongo-database-info.d.ts +49 -0
  684. package/dist/openapi/models/mongo-database-info.d.ts.map +1 -0
  685. package/dist/openapi/models/mongo-database-info.js +16 -0
  686. package/dist/openapi/models/mongo-database-info.js.map +1 -0
  687. package/dist/openapi/models/mongo-delete-request.d.ts +31 -0
  688. package/dist/openapi/models/mongo-delete-request.d.ts.map +1 -0
  689. package/dist/openapi/models/mongo-delete-request.js +16 -0
  690. package/dist/openapi/models/mongo-delete-request.js.map +1 -0
  691. package/dist/openapi/models/mongo-explain-request.d.ts +67 -0
  692. package/dist/openapi/models/mongo-explain-request.d.ts.map +1 -0
  693. package/dist/openapi/models/mongo-explain-request.js +16 -0
  694. package/dist/openapi/models/mongo-explain-request.js.map +1 -0
  695. package/dist/openapi/models/mongo-explain-response.d.ts +31 -0
  696. package/dist/openapi/models/mongo-explain-response.d.ts.map +1 -0
  697. package/dist/openapi/models/mongo-explain-response.js +16 -0
  698. package/dist/openapi/models/mongo-explain-response.js.map +1 -0
  699. package/dist/openapi/models/mongo-find-request.d.ts +61 -0
  700. package/dist/openapi/models/mongo-find-request.d.ts.map +1 -0
  701. package/dist/openapi/models/mongo-find-request.js +16 -0
  702. package/dist/openapi/models/mongo-find-request.js.map +1 -0
  703. package/dist/openapi/models/mongo-find-response.d.ts +43 -0
  704. package/dist/openapi/models/mongo-find-response.d.ts.map +1 -0
  705. package/dist/openapi/models/mongo-find-response.js +16 -0
  706. package/dist/openapi/models/mongo-find-response.js.map +1 -0
  707. package/dist/openapi/models/mongo-index-info.d.ts +67 -0
  708. package/dist/openapi/models/mongo-index-info.d.ts.map +1 -0
  709. package/dist/openapi/models/mongo-index-info.js +16 -0
  710. package/dist/openapi/models/mongo-index-info.js.map +1 -0
  711. package/dist/openapi/models/mongo-index-options.d.ts +37 -0
  712. package/dist/openapi/models/mongo-index-options.d.ts.map +1 -0
  713. package/dist/openapi/models/mongo-index-options.js +16 -0
  714. package/dist/openapi/models/mongo-index-options.js.map +1 -0
  715. package/dist/openapi/models/mongo-insert-request.d.ts +31 -0
  716. package/dist/openapi/models/mongo-insert-request.d.ts.map +1 -0
  717. package/dist/openapi/models/mongo-insert-request.js +16 -0
  718. package/dist/openapi/models/mongo-insert-request.js.map +1 -0
  719. package/dist/openapi/models/mongo-replace-request.d.ts +37 -0
  720. package/dist/openapi/models/mongo-replace-request.d.ts.map +1 -0
  721. package/dist/openapi/models/mongo-replace-request.js +16 -0
  722. package/dist/openapi/models/mongo-replace-request.js.map +1 -0
  723. package/dist/openapi/models/mongo-schema-analysis.d.ts +38 -0
  724. package/dist/openapi/models/mongo-schema-analysis.d.ts.map +1 -0
  725. package/dist/openapi/models/mongo-schema-analysis.js +16 -0
  726. package/dist/openapi/models/mongo-schema-analysis.js.map +1 -0
  727. package/dist/openapi/models/mongo-schema-field.d.ts +37 -0
  728. package/dist/openapi/models/mongo-schema-field.d.ts.map +1 -0
  729. package/dist/openapi/models/mongo-schema-field.js +16 -0
  730. package/dist/openapi/models/mongo-schema-field.js.map +1 -0
  731. package/dist/openapi/models/mongo-set-validation-request.d.ts +37 -0
  732. package/dist/openapi/models/mongo-set-validation-request.d.ts.map +1 -0
  733. package/dist/openapi/models/mongo-set-validation-request.js +16 -0
  734. package/dist/openapi/models/mongo-set-validation-request.js.map +1 -0
  735. package/dist/openapi/models/mongo-shell-completion-item.d.ts +25 -0
  736. package/dist/openapi/models/mongo-shell-completion-item.d.ts.map +1 -0
  737. package/dist/openapi/models/mongo-shell-completion-item.js +16 -0
  738. package/dist/openapi/models/mongo-shell-completion-item.js.map +1 -0
  739. package/dist/openapi/models/mongo-shell-completions-request.d.ts +25 -0
  740. package/dist/openapi/models/mongo-shell-completions-request.d.ts.map +1 -0
  741. package/dist/openapi/models/mongo-shell-completions-request.js +16 -0
  742. package/dist/openapi/models/mongo-shell-completions-request.js.map +1 -0
  743. package/dist/openapi/models/mongo-shell-completions-response.d.ts +26 -0
  744. package/dist/openapi/models/mongo-shell-completions-response.d.ts.map +1 -0
  745. package/dist/openapi/models/mongo-shell-completions-response.js +16 -0
  746. package/dist/openapi/models/mongo-shell-completions-response.js.map +1 -0
  747. package/dist/openapi/models/mongo-shell-create-session-request.d.ts +25 -0
  748. package/dist/openapi/models/mongo-shell-create-session-request.d.ts.map +1 -0
  749. package/dist/openapi/models/mongo-shell-create-session-request.js +16 -0
  750. package/dist/openapi/models/mongo-shell-create-session-request.js.map +1 -0
  751. package/dist/openapi/models/mongo-shell-evaluate-request.d.ts +37 -0
  752. package/dist/openapi/models/mongo-shell-evaluate-request.d.ts.map +1 -0
  753. package/dist/openapi/models/mongo-shell-evaluate-request.js +16 -0
  754. package/dist/openapi/models/mongo-shell-evaluate-request.js.map +1 -0
  755. package/dist/openapi/models/mongo-shell-evaluate-response.d.ts +44 -0
  756. package/dist/openapi/models/mongo-shell-evaluate-response.d.ts.map +1 -0
  757. package/dist/openapi/models/mongo-shell-evaluate-response.js +16 -0
  758. package/dist/openapi/models/mongo-shell-evaluate-response.js.map +1 -0
  759. package/dist/openapi/models/mongo-shell-interrupt-response.d.ts +25 -0
  760. package/dist/openapi/models/mongo-shell-interrupt-response.d.ts.map +1 -0
  761. package/dist/openapi/models/mongo-shell-interrupt-response.js +16 -0
  762. package/dist/openapi/models/mongo-shell-interrupt-response.js.map +1 -0
  763. package/dist/openapi/models/mongo-shell-prompt-response.d.ts +25 -0
  764. package/dist/openapi/models/mongo-shell-prompt-response.d.ts.map +1 -0
  765. package/dist/openapi/models/mongo-shell-prompt-response.js +16 -0
  766. package/dist/openapi/models/mongo-shell-prompt-response.js.map +1 -0
  767. package/dist/openapi/models/mongo-shell-result.d.ts +37 -0
  768. package/dist/openapi/models/mongo-shell-result.d.ts.map +1 -0
  769. package/dist/openapi/models/mongo-shell-result.js +16 -0
  770. package/dist/openapi/models/mongo-shell-result.js.map +1 -0
  771. package/dist/openapi/models/mongo-shell-session.d.ts +49 -0
  772. package/dist/openapi/models/mongo-shell-session.d.ts.map +1 -0
  773. package/dist/openapi/models/mongo-shell-session.js +16 -0
  774. package/dist/openapi/models/mongo-shell-session.js.map +1 -0
  775. package/dist/openapi/models/mongo-update-request.d.ts +43 -0
  776. package/dist/openapi/models/mongo-update-request.d.ts.map +1 -0
  777. package/dist/openapi/models/mongo-update-request.js +16 -0
  778. package/dist/openapi/models/mongo-update-request.js.map +1 -0
  779. package/dist/openapi/models/mongo-validation-info.d.ts +37 -0
  780. package/dist/openapi/models/mongo-validation-info.d.ts.map +1 -0
  781. package/dist/openapi/models/mongo-validation-info.js +16 -0
  782. package/dist/openapi/models/mongo-validation-info.js.map +1 -0
  783. package/dist/openapi/models/mongo-write-response.d.ts +31 -0
  784. package/dist/openapi/models/mongo-write-response.d.ts.map +1 -0
  785. package/dist/openapi/models/mongo-write-response.js +16 -0
  786. package/dist/openapi/models/mongo-write-response.js.map +1 -0
  787. package/dist/openapi/models/mongo-write-result.d.ts +55 -0
  788. package/dist/openapi/models/mongo-write-result.d.ts.map +1 -0
  789. package/dist/openapi/models/mongo-write-result.js +16 -0
  790. package/dist/openapi/models/mongo-write-result.js.map +1 -0
  791. package/dist/openapi/models/parameter-template-diff-item.d.ts +43 -0
  792. package/dist/openapi/models/parameter-template-diff-item.d.ts.map +1 -0
  793. package/dist/openapi/models/parameter-template-diff-item.js +16 -0
  794. package/dist/openapi/models/parameter-template-diff-item.js.map +1 -0
  795. package/dist/openapi/models/parameter-template-diff.d.ts +26 -0
  796. package/dist/openapi/models/parameter-template-diff.d.ts.map +1 -0
  797. package/dist/openapi/models/parameter-template-diff.js +16 -0
  798. package/dist/openapi/models/parameter-template-diff.js.map +1 -0
  799. package/dist/openapi/models/pgbench.d.ts +3 -3
  800. package/dist/openapi/models/pgbench.d.ts.map +1 -1
  801. package/dist/openapi/models/storage.d.ts +0 -6
  802. package/dist/openapi/models/storage.d.ts.map +1 -1
  803. package/dist/openapi/models/sysbench.d.ts +3 -3
  804. package/dist/openapi/models/sysbench.d.ts.map +1 -1
  805. package/dist/openapi/models/tde-option.d.ts +32 -0
  806. package/dist/openapi/models/tde-option.d.ts.map +1 -0
  807. package/dist/openapi/models/tde-option.js +16 -0
  808. package/dist/openapi/models/tde-option.js.map +1 -0
  809. package/dist/openapi/models/tde-parameter-option.d.ts +49 -0
  810. package/dist/openapi/models/tde-parameter-option.d.ts.map +1 -0
  811. package/dist/openapi/models/tde-parameter-option.js +16 -0
  812. package/dist/openapi/models/tde-parameter-option.js.map +1 -0
  813. package/dist/openapi/models/tde-request.d.ts +31 -0
  814. package/dist/openapi/models/tde-request.d.ts.map +1 -0
  815. package/dist/openapi/models/tde-request.js +16 -0
  816. package/dist/openapi/models/tde-request.js.map +1 -0
  817. package/dist/openapi/models/tde-response.d.ts +31 -0
  818. package/dist/openapi/models/tde-response.d.ts.map +1 -0
  819. package/dist/openapi/models/tde-response.js +16 -0
  820. package/dist/openapi/models/tde-response.js.map +1 -0
  821. package/dist/openapi/models/tde-status.d.ts +33 -0
  822. package/dist/openapi/models/tde-status.d.ts.map +1 -0
  823. package/dist/openapi/models/tde-status.js +16 -0
  824. package/dist/openapi/models/tde-status.js.map +1 -0
  825. package/dist/openapi/models/tpcc.d.ts +3 -3
  826. package/dist/openapi/models/tpcc.d.ts.map +1 -1
  827. package/dist/openapi/models/ycsb.d.ts +3 -3
  828. package/dist/openapi/models/ycsb.d.ts.map +1 -1
  829. package/package.json +1 -1
  830. package/src/adminapi/.openapi-generator/FILES +78 -1
  831. package/src/adminapi/api.ts +1 -0
  832. package/src/adminapi/apis/aiagent-api.ts +1935 -0
  833. package/src/adminapi/apis/cluster-api.ts +282 -5
  834. package/src/adminapi/apis/cluster-log-api.ts +2062 -213
  835. package/src/adminapi/apis/dms-api.ts +4961 -937
  836. package/src/adminapi/apis/engine-api.ts +694 -0
  837. package/src/adminapi/apis/parameter-template-api.ts +139 -0
  838. package/src/adminapi/apis/shared-api.ts +3597 -1288
  839. package/src/adminapi/models/ai-agent-conversation-list.ts +33 -0
  840. package/src/adminapi/models/{inspection-supported-engines.ts → ai-agent-conversation-status.ts} +8 -12
  841. package/src/adminapi/models/ai-agent-conversation.ts +89 -0
  842. package/src/adminapi/models/ai-agent-create-conversation-request.ts +42 -0
  843. package/src/adminapi/models/ai-agent-delete-conversation-response.ts +36 -0
  844. package/src/adminapi/models/ai-agent-event-type.ts +44 -0
  845. package/src/adminapi/models/ai-agent-event.ts +77 -0
  846. package/src/adminapi/models/ai-agent-message-list.ts +33 -0
  847. package/src/adminapi/models/ai-agent-message-part-type.ts +33 -0
  848. package/src/adminapi/models/ai-agent-message-part.ts +53 -0
  849. package/src/adminapi/models/ai-agent-message-role.ts +32 -0
  850. package/src/adminapi/models/ai-agent-message.ts +77 -0
  851. package/src/adminapi/models/ai-agent-object-ref.ts +36 -0
  852. package/src/adminapi/models/ai-agent-runtime-status-code.ts +34 -0
  853. package/src/adminapi/models/ai-agent-runtime-status.ts +56 -0
  854. package/src/adminapi/models/ai-agent-scope.ts +51 -0
  855. package/src/adminapi/models/ai-agent-send-message-request.ts +39 -0
  856. package/src/adminapi/models/ai-agent-send-message-response.ts +53 -0
  857. package/src/adminapi/models/ai-agent-stop-conversation-response.ts +41 -0
  858. package/src/adminapi/models/ai-agent-tool-confirmation-decision-request.ts +30 -0
  859. package/src/adminapi/models/ai-agent-tool-confirmation-decision-response.ts +47 -0
  860. package/src/adminapi/models/ai-agent-tool-confirmation-status.ts +33 -0
  861. package/src/adminapi/models/ai-agent-turn-action-list.ts +33 -0
  862. package/src/adminapi/models/ai-agent-turn-action.ts +113 -0
  863. package/src/adminapi/models/ai-agent-turn-status.ts +34 -0
  864. package/src/adminapi/models/bench-option.ts +6 -0
  865. package/src/adminapi/models/cluster-execution-log-item.ts +9 -0
  866. package/src/adminapi/models/cluster-log-hits-item.ts +6 -0
  867. package/src/adminapi/models/cluster-slow-log-database-distribution.ts +36 -0
  868. package/src/adminapi/models/cluster-slow-log-detail.ts +60 -0
  869. package/src/adminapi/models/cluster-slow-log-explain-response.ts +84 -0
  870. package/src/adminapi/models/cluster-slow-log-stats.ts +9 -0
  871. package/src/adminapi/models/cluster-slow-log-template-list.ts +33 -0
  872. package/src/adminapi/models/cluster-slow-log-template.ts +138 -0
  873. package/src/adminapi/models/database-option.ts +6 -0
  874. package/src/adminapi/models/database-parameter-item.ts +6 -0
  875. package/src/adminapi/models/database-parameter-list-item.ts +6 -0
  876. package/src/adminapi/models/dms-option.ts +0 -6
  877. package/src/adminapi/models/dms-query-history.ts +10 -4
  878. package/src/adminapi/models/engine-network-mode-options-inner.ts +45 -0
  879. package/src/adminapi/models/engine-network-mode-supported.ts +39 -0
  880. package/src/adminapi/models/engine-option.ts +9 -0
  881. package/src/adminapi/models/environment-engine-option-create.ts +42 -0
  882. package/src/adminapi/models/environment-engine-option-update.ts +30 -0
  883. package/src/adminapi/models/environment-engine-option.ts +72 -0
  884. package/src/adminapi/models/index.ts +77 -1
  885. package/src/adminapi/models/inspection-task.ts +2 -7
  886. package/src/adminapi/models/instance-resource-stats.ts +6 -0
  887. package/src/adminapi/models/llm.ts +1 -1
  888. package/src/adminapi/models/log-option.ts +6 -0
  889. package/src/adminapi/models/mongo-aggregate-request.ts +42 -0
  890. package/src/adminapi/models/mongo-collection-capabilities.ts +54 -0
  891. package/src/adminapi/models/mongo-collection-info.ts +57 -0
  892. package/src/adminapi/models/mongo-collection-stats.ts +69 -0
  893. package/src/adminapi/models/mongo-create-collection-options.ts +66 -0
  894. package/src/adminapi/models/mongo-create-collection-request.ts +33 -0
  895. package/src/adminapi/models/mongo-create-index-request.ts +39 -0
  896. package/src/adminapi/models/mongo-create-view-request.ts +48 -0
  897. package/src/adminapi/models/mongo-database-info.ts +54 -0
  898. package/src/adminapi/models/mongo-delete-request.ts +36 -0
  899. package/src/adminapi/models/mongo-explain-request.ts +72 -0
  900. package/src/adminapi/models/mongo-explain-response.ts +36 -0
  901. package/src/adminapi/models/mongo-find-request.ts +66 -0
  902. package/src/adminapi/models/mongo-find-response.ts +48 -0
  903. package/src/adminapi/models/mongo-index-info.ts +72 -0
  904. package/src/adminapi/models/mongo-index-options.ts +42 -0
  905. package/src/adminapi/models/mongo-insert-request.ts +36 -0
  906. package/src/adminapi/models/mongo-replace-request.ts +42 -0
  907. package/src/adminapi/models/mongo-schema-analysis.ts +45 -0
  908. package/src/adminapi/models/mongo-schema-field.ts +42 -0
  909. package/src/adminapi/models/mongo-set-validation-request.ts +42 -0
  910. package/src/adminapi/models/mongo-shell-completion-item.ts +30 -0
  911. package/src/adminapi/models/mongo-shell-completions-request.ts +30 -0
  912. package/src/adminapi/models/mongo-shell-completions-response.ts +33 -0
  913. package/src/adminapi/models/mongo-shell-create-session-request.ts +30 -0
  914. package/src/adminapi/models/mongo-shell-evaluate-request.ts +42 -0
  915. package/src/adminapi/models/mongo-shell-evaluate-response.ts +51 -0
  916. package/src/adminapi/models/mongo-shell-interrupt-response.ts +30 -0
  917. package/src/adminapi/models/mongo-shell-prompt-response.ts +30 -0
  918. package/src/adminapi/models/mongo-shell-result.ts +42 -0
  919. package/src/adminapi/models/mongo-shell-session.ts +54 -0
  920. package/src/adminapi/models/mongo-update-request.ts +48 -0
  921. package/src/adminapi/models/mongo-validation-info.ts +42 -0
  922. package/src/adminapi/models/mongo-write-response.ts +36 -0
  923. package/src/adminapi/models/mongo-write-result.ts +60 -0
  924. package/src/adminapi/models/parameter-template-diff-item.ts +48 -0
  925. package/src/adminapi/models/parameter-template-diff.ts +33 -0
  926. package/src/adminapi/models/storage-create.ts +0 -6
  927. package/src/adminapi/models/storage-update.ts +0 -6
  928. package/src/adminapi/models/storage.ts +0 -6
  929. package/src/adminapi/models/tde-option.ts +39 -0
  930. package/src/adminapi/models/tde-parameter-option.ts +54 -0
  931. package/src/adminapi/models/tde-request.ts +36 -0
  932. package/src/adminapi/models/tde-response.ts +36 -0
  933. package/src/adminapi/models/tde-status.ts +36 -0
  934. package/src/adminapi.yaml +4250 -169
  935. package/src/internalapi/models/storage-create.ts +0 -6
  936. package/src/internalapi/models/storage.ts +0 -6
  937. package/src/internalapi.yaml +0 -8
  938. package/src/openapi/.openapi-generator/FILES +93 -5
  939. package/src/openapi/api.ts +1 -0
  940. package/src/openapi/apis/aiagent-api.ts +1935 -0
  941. package/src/openapi/apis/benchmark-api.ts +112 -0
  942. package/src/openapi/apis/cluster-api.ts +282 -5
  943. package/src/openapi/apis/cluster-log-api.ts +2127 -278
  944. package/src/openapi/apis/data-replication-api.ts +756 -0
  945. package/src/openapi/apis/dms-api.ts +4961 -937
  946. package/src/openapi/apis/engine-api.ts +128 -0
  947. package/src/openapi/apis/parameter-template-api.ts +136 -0
  948. package/src/openapi/apis/shared-api.ts +2705 -396
  949. package/src/openapi/models/ai-agent-conversation-list.ts +33 -0
  950. package/src/openapi/models/ai-agent-conversation-status.ts +34 -0
  951. package/src/openapi/models/ai-agent-conversation.ts +89 -0
  952. package/src/openapi/models/ai-agent-create-conversation-request.ts +42 -0
  953. package/src/openapi/models/ai-agent-delete-conversation-response.ts +36 -0
  954. package/src/openapi/models/ai-agent-event-type.ts +44 -0
  955. package/src/openapi/models/ai-agent-event.ts +77 -0
  956. package/src/openapi/models/ai-agent-message-list.ts +33 -0
  957. package/src/openapi/models/ai-agent-message-part-type.ts +33 -0
  958. package/src/openapi/models/ai-agent-message-part.ts +53 -0
  959. package/src/openapi/models/{sysbench-step.ts → ai-agent-message-role.ts} +6 -7
  960. package/src/openapi/models/ai-agent-message.ts +77 -0
  961. package/src/openapi/models/ai-agent-object-ref.ts +36 -0
  962. package/src/openapi/models/ai-agent-runtime-status-code.ts +34 -0
  963. package/src/openapi/models/ai-agent-runtime-status.ts +56 -0
  964. package/src/openapi/models/ai-agent-scope.ts +51 -0
  965. package/src/openapi/models/ai-agent-send-message-request.ts +39 -0
  966. package/src/openapi/models/ai-agent-send-message-response.ts +53 -0
  967. package/src/openapi/models/ai-agent-stop-conversation-response.ts +41 -0
  968. package/src/openapi/models/ai-agent-tool-confirmation-decision-request.ts +30 -0
  969. package/src/openapi/models/ai-agent-tool-confirmation-decision-response.ts +47 -0
  970. package/src/openapi/models/ai-agent-tool-confirmation-status.ts +33 -0
  971. package/src/openapi/models/ai-agent-turn-action-list.ts +33 -0
  972. package/src/openapi/models/ai-agent-turn-action.ts +113 -0
  973. package/src/openapi/models/ai-agent-turn-status.ts +34 -0
  974. package/src/openapi/models/bench-option.ts +6 -0
  975. package/src/openapi/models/{ycsb-step.ts → benchmark-step.ts} +2 -2
  976. package/src/openapi/models/benchmark-type.ts +2 -1
  977. package/src/openapi/models/cluster-execution-log-item.ts +9 -0
  978. package/src/openapi/models/cluster-log-hits-item.ts +6 -0
  979. package/src/openapi/models/cluster-slow-log-database-distribution.ts +36 -0
  980. package/src/openapi/models/cluster-slow-log-detail.ts +60 -0
  981. package/src/openapi/models/cluster-slow-log-explain-response.ts +84 -0
  982. package/src/openapi/models/cluster-slow-log-stats.ts +9 -0
  983. package/src/openapi/models/cluster-slow-log-template-list.ts +33 -0
  984. package/src/openapi/models/cluster-slow-log-template.ts +138 -0
  985. package/src/openapi/models/data-check-create.ts +77 -0
  986. package/src/openapi/models/data-check-detail-item.ts +93 -0
  987. package/src/openapi/models/{tpcc-step.ts → data-check-detail-type.ts} +5 -7
  988. package/src/openapi/models/data-check-details.ts +42 -0
  989. package/src/openapi/models/data-check-diff-value.ts +48 -0
  990. package/src/openapi/models/data-check-item.ts +116 -0
  991. package/src/openapi/models/data-check-list-item.ts +116 -0
  992. package/src/openapi/models/data-check-list-summary.ts +54 -0
  993. package/src/openapi/models/data-check-response.ts +42 -0
  994. package/src/openapi/models/{pgbench-step.ts → data-check-status.ts} +6 -7
  995. package/src/openapi/models/data-check-summary.ts +63 -0
  996. package/src/openapi/models/data-check-table-summary.ts +72 -0
  997. package/src/openapi/models/data-check-type.ts +31 -0
  998. package/src/openapi/models/database-option.ts +6 -0
  999. package/src/openapi/models/dms-option.ts +0 -6
  1000. package/src/openapi/models/dms-query-history.ts +10 -4
  1001. package/src/openapi/models/engine-network-mode-supported.ts +39 -0
  1002. package/src/openapi/models/engine-option.ts +9 -0
  1003. package/src/openapi/models/{inspection-supported-engines.ts → esrally-data-profile.ts} +14 -12
  1004. package/src/openapi/models/esrally-on-error.ts +31 -0
  1005. package/src/openapi/models/esrally-telemetry.ts +40 -0
  1006. package/src/openapi/models/esrally-workload.ts +33 -0
  1007. package/src/openapi/models/esrally.ts +137 -0
  1008. package/src/openapi/models/index.ts +92 -5
  1009. package/src/openapi/models/inspection-task.ts +2 -7
  1010. package/src/openapi/models/llm.ts +1 -1
  1011. package/src/openapi/models/log-option.ts +6 -0
  1012. package/src/openapi/models/mongo-aggregate-request.ts +42 -0
  1013. package/src/openapi/models/mongo-collection-capabilities.ts +54 -0
  1014. package/src/openapi/models/mongo-collection-info.ts +57 -0
  1015. package/src/openapi/models/mongo-collection-stats.ts +69 -0
  1016. package/src/openapi/models/mongo-create-collection-options.ts +66 -0
  1017. package/src/openapi/models/mongo-create-collection-request.ts +33 -0
  1018. package/src/openapi/models/mongo-create-index-request.ts +39 -0
  1019. package/src/openapi/models/mongo-create-view-request.ts +48 -0
  1020. package/src/openapi/models/mongo-database-info.ts +54 -0
  1021. package/src/openapi/models/mongo-delete-request.ts +36 -0
  1022. package/src/openapi/models/mongo-explain-request.ts +72 -0
  1023. package/src/openapi/models/mongo-explain-response.ts +36 -0
  1024. package/src/openapi/models/mongo-find-request.ts +66 -0
  1025. package/src/openapi/models/mongo-find-response.ts +48 -0
  1026. package/src/openapi/models/mongo-index-info.ts +72 -0
  1027. package/src/openapi/models/mongo-index-options.ts +42 -0
  1028. package/src/openapi/models/mongo-insert-request.ts +36 -0
  1029. package/src/openapi/models/mongo-replace-request.ts +42 -0
  1030. package/src/openapi/models/mongo-schema-analysis.ts +45 -0
  1031. package/src/openapi/models/mongo-schema-field.ts +42 -0
  1032. package/src/openapi/models/mongo-set-validation-request.ts +42 -0
  1033. package/src/openapi/models/mongo-shell-completion-item.ts +30 -0
  1034. package/src/openapi/models/mongo-shell-completions-request.ts +30 -0
  1035. package/src/openapi/models/mongo-shell-completions-response.ts +33 -0
  1036. package/src/openapi/models/mongo-shell-create-session-request.ts +30 -0
  1037. package/src/openapi/models/mongo-shell-evaluate-request.ts +42 -0
  1038. package/src/openapi/models/mongo-shell-evaluate-response.ts +51 -0
  1039. package/src/openapi/models/mongo-shell-interrupt-response.ts +30 -0
  1040. package/src/openapi/models/mongo-shell-prompt-response.ts +30 -0
  1041. package/src/openapi/models/mongo-shell-result.ts +42 -0
  1042. package/src/openapi/models/mongo-shell-session.ts +54 -0
  1043. package/src/openapi/models/mongo-update-request.ts +48 -0
  1044. package/src/openapi/models/mongo-validation-info.ts +42 -0
  1045. package/src/openapi/models/mongo-write-response.ts +36 -0
  1046. package/src/openapi/models/mongo-write-result.ts +60 -0
  1047. package/src/openapi/models/parameter-template-diff-item.ts +48 -0
  1048. package/src/openapi/models/parameter-template-diff.ts +33 -0
  1049. package/src/openapi/models/pgbench.ts +3 -3
  1050. package/src/openapi/models/storage.ts +0 -6
  1051. package/src/openapi/models/sysbench.ts +3 -3
  1052. package/src/openapi/models/tde-option.ts +39 -0
  1053. package/src/openapi/models/tde-parameter-option.ts +54 -0
  1054. package/src/openapi/models/tde-request.ts +36 -0
  1055. package/src/openapi/models/tde-response.ts +36 -0
  1056. package/src/openapi/models/tde-status.ts +36 -0
  1057. package/src/openapi/models/tpcc.ts +3 -3
  1058. package/src/openapi/models/ycsb.ts +4 -4
  1059. package/src/openapi.yaml +9547 -5110
  1060. package/dist/adminapi/models/inspection-supported-engines.d.ts +0 -29
  1061. package/dist/adminapi/models/inspection-supported-engines.d.ts.map +0 -1
  1062. package/dist/adminapi/models/inspection-supported-engines.js.map +0 -1
  1063. package/dist/openapi/models/inspection-supported-engines.d.ts.map +0 -1
  1064. package/dist/openapi/models/inspection-supported-engines.js.map +0 -1
  1065. package/dist/openapi/models/pgbench-step.d.ts.map +0 -1
  1066. package/dist/openapi/models/pgbench-step.js.map +0 -1
  1067. package/dist/openapi/models/sysbench-step.d.ts.map +0 -1
  1068. package/dist/openapi/models/sysbench-step.js.map +0 -1
  1069. package/dist/openapi/models/tpcc-step.d.ts.map +0 -1
  1070. package/dist/openapi/models/tpcc-step.js.map +0 -1
  1071. package/dist/openapi/models/ycsb-step.d.ts.map +0 -1
  1072. package/dist/openapi/models/ycsb-step.js.map +0 -1
@@ -321,6 +321,53 @@ const DmsApiAxiosParamCreator = function (configuration) {
321
321
  options: localVarRequestOptions,
322
322
  };
323
323
  },
324
+ /**
325
+ *
326
+ * @summary drop a MongoDB collection or view
327
+ * @param {string} orgName name of the Org
328
+ * @param {string} clusterName name of the cluster
329
+ * @param {string} id id of the datasource
330
+ * @param {string} db database name
331
+ * @param {string} col collection or view name
332
+ * @param {*} [options] Override http request option.
333
+ * @throws {RequiredError}
334
+ */
335
+ dropMongoCollection: async (orgName, clusterName, id, db, col, options = {}) => {
336
+ // verify required parameter 'orgName' is not null or undefined
337
+ (0, common_1.assertParamExists)('dropMongoCollection', 'orgName', orgName);
338
+ // verify required parameter 'clusterName' is not null or undefined
339
+ (0, common_1.assertParamExists)('dropMongoCollection', 'clusterName', clusterName);
340
+ // verify required parameter 'id' is not null or undefined
341
+ (0, common_1.assertParamExists)('dropMongoCollection', 'id', id);
342
+ // verify required parameter 'db' is not null or undefined
343
+ (0, common_1.assertParamExists)('dropMongoCollection', 'db', db);
344
+ // verify required parameter 'col' is not null or undefined
345
+ (0, common_1.assertParamExists)('dropMongoCollection', 'col', col);
346
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/databases/{db}/collections/{col}`
347
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
348
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
349
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)))
350
+ .replace(`{${"db"}}`, encodeURIComponent(String(db)))
351
+ .replace(`{${"col"}}`, encodeURIComponent(String(col)));
352
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
353
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
354
+ let baseOptions;
355
+ if (configuration) {
356
+ baseOptions = configuration.baseOptions;
357
+ }
358
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
359
+ const localVarHeaderParameter = {};
360
+ const localVarQueryParameter = {};
361
+ // authentication BearerToken required
362
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
363
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
364
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
365
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
366
+ return {
367
+ url: (0, common_1.toPathString)(localVarUrlObj),
368
+ options: localVarRequestOptions,
369
+ };
370
+ },
324
371
  /**
325
372
  * enable console
326
373
  * @summary enable console
@@ -483,6 +530,53 @@ const DmsApiAxiosParamCreator = function (configuration) {
483
530
  options: localVarRequestOptions,
484
531
  };
485
532
  },
533
+ /**
534
+ *
535
+ * @summary get MongoDB collection stats
536
+ * @param {string} orgName name of the Org
537
+ * @param {string} clusterName name of the cluster
538
+ * @param {string} id id of the datasource
539
+ * @param {string} db database name
540
+ * @param {string} col collection name
541
+ * @param {*} [options] Override http request option.
542
+ * @throws {RequiredError}
543
+ */
544
+ getMongoCollection: async (orgName, clusterName, id, db, col, options = {}) => {
545
+ // verify required parameter 'orgName' is not null or undefined
546
+ (0, common_1.assertParamExists)('getMongoCollection', 'orgName', orgName);
547
+ // verify required parameter 'clusterName' is not null or undefined
548
+ (0, common_1.assertParamExists)('getMongoCollection', 'clusterName', clusterName);
549
+ // verify required parameter 'id' is not null or undefined
550
+ (0, common_1.assertParamExists)('getMongoCollection', 'id', id);
551
+ // verify required parameter 'db' is not null or undefined
552
+ (0, common_1.assertParamExists)('getMongoCollection', 'db', db);
553
+ // verify required parameter 'col' is not null or undefined
554
+ (0, common_1.assertParamExists)('getMongoCollection', 'col', col);
555
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/databases/{db}/collections/{col}`
556
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
557
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
558
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)))
559
+ .replace(`{${"db"}}`, encodeURIComponent(String(db)))
560
+ .replace(`{${"col"}}`, encodeURIComponent(String(col)));
561
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
562
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
563
+ let baseOptions;
564
+ if (configuration) {
565
+ baseOptions = configuration.baseOptions;
566
+ }
567
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
568
+ const localVarHeaderParameter = {};
569
+ const localVarQueryParameter = {};
570
+ // authentication BearerToken required
571
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
572
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
573
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
574
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
575
+ return {
576
+ url: (0, common_1.toPathString)(localVarUrlObj),
577
+ options: localVarRequestOptions,
578
+ };
579
+ },
486
580
  /**
487
581
  *
488
582
  * @summary get the detail object info
@@ -492,10 +586,11 @@ const DmsApiAxiosParamCreator = function (configuration) {
492
586
  * @param {string} schema schema or database name
493
587
  * @param {string} type object type
494
588
  * @param {string} objectName object name
589
+ * @param {string} [database] database name, used by engines such as MSSQL when reading object metadata inside a schema
495
590
  * @param {*} [options] Override http request option.
496
591
  * @throws {RequiredError}
497
592
  */
498
- getObjectInfo: async (orgName, clusterName, id, schema, type, objectName, options = {}) => {
593
+ getObjectInfo: async (orgName, clusterName, id, schema, type, objectName, database, options = {}) => {
499
594
  // verify required parameter 'orgName' is not null or undefined
500
595
  (0, common_1.assertParamExists)('getObjectInfo', 'orgName', orgName);
501
596
  // verify required parameter 'clusterName' is not null or undefined
@@ -526,6 +621,9 @@ const DmsApiAxiosParamCreator = function (configuration) {
526
621
  const localVarQueryParameter = {};
527
622
  // authentication BearerToken required
528
623
  await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
624
+ if (database !== undefined) {
625
+ localVarQueryParameter['database'] = database;
626
+ }
529
627
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
530
628
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
531
629
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -540,10 +638,11 @@ const DmsApiAxiosParamCreator = function (configuration) {
540
638
  * @param {string} orgName name of the Org
541
639
  * @param {string} clusterName name of the cluster
542
640
  * @param {string} id id of the datasource
641
+ * @param {string} [database] database name, used by engines such as MSSQL when listing schemas inside a database
543
642
  * @param {*} [options] Override http request option.
544
643
  * @throws {RequiredError}
545
644
  */
546
- getSchemaList: async (orgName, clusterName, id, options = {}) => {
645
+ getSchemaList: async (orgName, clusterName, id, database, options = {}) => {
547
646
  // verify required parameter 'orgName' is not null or undefined
548
647
  (0, common_1.assertParamExists)('getSchemaList', 'orgName', orgName);
549
648
  // verify required parameter 'clusterName' is not null or undefined
@@ -565,6 +664,9 @@ const DmsApiAxiosParamCreator = function (configuration) {
565
664
  const localVarQueryParameter = {};
566
665
  // authentication BearerToken required
567
666
  await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
667
+ if (database !== undefined) {
668
+ localVarQueryParameter['database'] = database;
669
+ }
568
670
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
569
671
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
570
672
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -694,32 +796,24 @@ const DmsApiAxiosParamCreator = function (configuration) {
694
796
  },
695
797
  /**
696
798
  *
697
- * @summary list the all name for the specified object type
799
+ * @summary list all databases of the datasource
698
800
  * @param {string} orgName name of the Org
699
801
  * @param {string} clusterName name of the cluster
700
802
  * @param {string} id id of the datasource
701
- * @param {string} schema schema or database name
702
- * @param {string} type object type
703
803
  * @param {*} [options] Override http request option.
704
804
  * @throws {RequiredError}
705
805
  */
706
- listObjectNamesByType: async (orgName, clusterName, id, schema, type, options = {}) => {
806
+ listDmsDatabases: async (orgName, clusterName, id, options = {}) => {
707
807
  // verify required parameter 'orgName' is not null or undefined
708
- (0, common_1.assertParamExists)('listObjectNamesByType', 'orgName', orgName);
808
+ (0, common_1.assertParamExists)('listDmsDatabases', 'orgName', orgName);
709
809
  // verify required parameter 'clusterName' is not null or undefined
710
- (0, common_1.assertParamExists)('listObjectNamesByType', 'clusterName', clusterName);
810
+ (0, common_1.assertParamExists)('listDmsDatabases', 'clusterName', clusterName);
711
811
  // verify required parameter 'id' is not null or undefined
712
- (0, common_1.assertParamExists)('listObjectNamesByType', 'id', id);
713
- // verify required parameter 'schema' is not null or undefined
714
- (0, common_1.assertParamExists)('listObjectNamesByType', 'schema', schema);
715
- // verify required parameter 'type' is not null or undefined
716
- (0, common_1.assertParamExists)('listObjectNamesByType', 'type', type);
717
- const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/{schema}/{type}`
812
+ (0, common_1.assertParamExists)('listDmsDatabases', 'id', id);
813
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/databases`
718
814
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
719
815
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
720
- .replace(`{${"id"}}`, encodeURIComponent(String(id)))
721
- .replace(`{${"schema"}}`, encodeURIComponent(String(schema)))
722
- .replace(`{${"type"}}`, encodeURIComponent(String(type)));
816
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
723
817
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
724
818
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
725
819
  let baseOptions;
@@ -741,28 +835,28 @@ const DmsApiAxiosParamCreator = function (configuration) {
741
835
  },
742
836
  /**
743
837
  *
744
- * @summary list the type and number of database objects in the specified database or schema
838
+ * @summary list collections in a MongoDB database
745
839
  * @param {string} orgName name of the Org
746
840
  * @param {string} clusterName name of the cluster
747
841
  * @param {string} id id of the datasource
748
- * @param {string} schema schema or database name
842
+ * @param {string} db database name
749
843
  * @param {*} [options] Override http request option.
750
844
  * @throws {RequiredError}
751
845
  */
752
- listObjectTypesInSchema: async (orgName, clusterName, id, schema, options = {}) => {
846
+ listMongoCollections: async (orgName, clusterName, id, db, options = {}) => {
753
847
  // verify required parameter 'orgName' is not null or undefined
754
- (0, common_1.assertParamExists)('listObjectTypesInSchema', 'orgName', orgName);
848
+ (0, common_1.assertParamExists)('listMongoCollections', 'orgName', orgName);
755
849
  // verify required parameter 'clusterName' is not null or undefined
756
- (0, common_1.assertParamExists)('listObjectTypesInSchema', 'clusterName', clusterName);
850
+ (0, common_1.assertParamExists)('listMongoCollections', 'clusterName', clusterName);
757
851
  // verify required parameter 'id' is not null or undefined
758
- (0, common_1.assertParamExists)('listObjectTypesInSchema', 'id', id);
759
- // verify required parameter 'schema' is not null or undefined
760
- (0, common_1.assertParamExists)('listObjectTypesInSchema', 'schema', schema);
761
- const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/{schema}`
852
+ (0, common_1.assertParamExists)('listMongoCollections', 'id', id);
853
+ // verify required parameter 'db' is not null or undefined
854
+ (0, common_1.assertParamExists)('listMongoCollections', 'db', db);
855
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/databases/{db}/collections`
762
856
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
763
857
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
764
858
  .replace(`{${"id"}}`, encodeURIComponent(String(id)))
765
- .replace(`{${"schema"}}`, encodeURIComponent(String(schema)));
859
+ .replace(`{${"db"}}`, encodeURIComponent(String(db)));
766
860
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
767
861
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
768
862
  let baseOptions;
@@ -784,27 +878,24 @@ const DmsApiAxiosParamCreator = function (configuration) {
784
878
  },
785
879
  /**
786
880
  *
787
- * @summary list cluster parameters
881
+ * @summary list MongoDB database metadata
788
882
  * @param {string} orgName name of the Org
789
883
  * @param {string} clusterName name of the cluster
790
- * @param {string} tenantId
791
- * @param {string} mode
884
+ * @param {string} id id of the datasource
792
885
  * @param {*} [options] Override http request option.
793
886
  * @throws {RequiredError}
794
887
  */
795
- listParameters: async (orgName, clusterName, tenantId, mode, options = {}) => {
888
+ listMongoDatabaseMetadata: async (orgName, clusterName, id, options = {}) => {
796
889
  // verify required parameter 'orgName' is not null or undefined
797
- (0, common_1.assertParamExists)('listParameters', 'orgName', orgName);
890
+ (0, common_1.assertParamExists)('listMongoDatabaseMetadata', 'orgName', orgName);
798
891
  // verify required parameter 'clusterName' is not null or undefined
799
- (0, common_1.assertParamExists)('listParameters', 'clusterName', clusterName);
800
- // verify required parameter 'tenantId' is not null or undefined
801
- (0, common_1.assertParamExists)('listParameters', 'tenantId', tenantId);
802
- // verify required parameter 'mode' is not null or undefined
803
- (0, common_1.assertParamExists)('listParameters', 'mode', mode);
804
- const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/tenant/{tenantId}/parameters`
892
+ (0, common_1.assertParamExists)('listMongoDatabaseMetadata', 'clusterName', clusterName);
893
+ // verify required parameter 'id' is not null or undefined
894
+ (0, common_1.assertParamExists)('listMongoDatabaseMetadata', 'id', id);
895
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/databases/metadata`
805
896
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
806
897
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
807
- .replace(`{${"tenantId"}}`, encodeURIComponent(String(tenantId)));
898
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
808
899
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
809
900
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
810
901
  let baseOptions;
@@ -816,9 +907,6 @@ const DmsApiAxiosParamCreator = function (configuration) {
816
907
  const localVarQueryParameter = {};
817
908
  // authentication BearerToken required
818
909
  await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
819
- if (mode !== undefined) {
820
- localVarQueryParameter['mode'] = mode;
821
- }
822
910
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
823
911
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
824
912
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -829,21 +917,21 @@ const DmsApiAxiosParamCreator = function (configuration) {
829
917
  },
830
918
  /**
831
919
  *
832
- * @summary list the query History
920
+ * @summary list MongoDB databases
833
921
  * @param {string} orgName name of the Org
834
922
  * @param {string} clusterName name of the cluster
835
923
  * @param {string} id id of the datasource
836
924
  * @param {*} [options] Override http request option.
837
925
  * @throws {RequiredError}
838
926
  */
839
- listQueryHistory: async (orgName, clusterName, id, options = {}) => {
927
+ listMongoDatabases: async (orgName, clusterName, id, options = {}) => {
840
928
  // verify required parameter 'orgName' is not null or undefined
841
- (0, common_1.assertParamExists)('listQueryHistory', 'orgName', orgName);
929
+ (0, common_1.assertParamExists)('listMongoDatabases', 'orgName', orgName);
842
930
  // verify required parameter 'clusterName' is not null or undefined
843
- (0, common_1.assertParamExists)('listQueryHistory', 'clusterName', clusterName);
931
+ (0, common_1.assertParamExists)('listMongoDatabases', 'clusterName', clusterName);
844
932
  // verify required parameter 'id' is not null or undefined
845
- (0, common_1.assertParamExists)('listQueryHistory', 'id', id);
846
- const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/history`
933
+ (0, common_1.assertParamExists)('listMongoDatabases', 'id', id);
934
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/databases`
847
935
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
848
936
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
849
937
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
@@ -868,22 +956,33 @@ const DmsApiAxiosParamCreator = function (configuration) {
868
956
  },
869
957
  /**
870
958
  *
871
- * @summary list all session for the cluster
959
+ * @summary list the all name for the specified object type
872
960
  * @param {string} orgName name of the Org
873
961
  * @param {string} clusterName name of the cluster
874
- * @param {string} [all] whether list all session includes sleep
962
+ * @param {string} id id of the datasource
963
+ * @param {string} schema schema or database name
964
+ * @param {string} type object type
965
+ * @param {string} [database] database name, used by engines such as MSSQL when listing object names inside a schema
875
966
  * @param {*} [options] Override http request option.
876
- * @deprecated
877
967
  * @throws {RequiredError}
878
968
  */
879
- listSessionsOld: async (orgName, clusterName, all, options = {}) => {
969
+ listObjectNamesByType: async (orgName, clusterName, id, schema, type, database, options = {}) => {
880
970
  // verify required parameter 'orgName' is not null or undefined
881
- (0, common_1.assertParamExists)('listSessionsOld', 'orgName', orgName);
971
+ (0, common_1.assertParamExists)('listObjectNamesByType', 'orgName', orgName);
882
972
  // verify required parameter 'clusterName' is not null or undefined
883
- (0, common_1.assertParamExists)('listSessionsOld', 'clusterName', clusterName);
884
- const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/sessions`
973
+ (0, common_1.assertParamExists)('listObjectNamesByType', 'clusterName', clusterName);
974
+ // verify required parameter 'id' is not null or undefined
975
+ (0, common_1.assertParamExists)('listObjectNamesByType', 'id', id);
976
+ // verify required parameter 'schema' is not null or undefined
977
+ (0, common_1.assertParamExists)('listObjectNamesByType', 'schema', schema);
978
+ // verify required parameter 'type' is not null or undefined
979
+ (0, common_1.assertParamExists)('listObjectNamesByType', 'type', type);
980
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/{schema}/{type}`
885
981
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
886
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
982
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
983
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)))
984
+ .replace(`{${"schema"}}`, encodeURIComponent(String(schema)))
985
+ .replace(`{${"type"}}`, encodeURIComponent(String(type)));
887
986
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
888
987
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
889
988
  let baseOptions;
@@ -895,8 +994,8 @@ const DmsApiAxiosParamCreator = function (configuration) {
895
994
  const localVarQueryParameter = {};
896
995
  // authentication BearerToken required
897
996
  await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
898
- if (all !== undefined) {
899
- localVarQueryParameter['all'] = all;
997
+ if (database !== undefined) {
998
+ localVarQueryParameter['database'] = database;
900
999
  }
901
1000
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
902
1001
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -908,43 +1007,46 @@ const DmsApiAxiosParamCreator = function (configuration) {
908
1007
  },
909
1008
  /**
910
1009
  *
911
- * @summary create a SQL query
1010
+ * @summary list the type and number of database objects in the specified database or schema
912
1011
  * @param {string} orgName name of the Org
913
1012
  * @param {string} clusterName name of the cluster
914
1013
  * @param {string} id id of the datasource
915
- * @param {DmsQueryRequest} dmsQueryRequest
1014
+ * @param {string} schema schema or database name
1015
+ * @param {string} [database] database name, used by engines such as MSSQL when listing objects inside a schema
916
1016
  * @param {*} [options] Override http request option.
917
1017
  * @throws {RequiredError}
918
1018
  */
919
- query: async (orgName, clusterName, id, dmsQueryRequest, options = {}) => {
1019
+ listObjectTypesInSchema: async (orgName, clusterName, id, schema, database, options = {}) => {
920
1020
  // verify required parameter 'orgName' is not null or undefined
921
- (0, common_1.assertParamExists)('query', 'orgName', orgName);
1021
+ (0, common_1.assertParamExists)('listObjectTypesInSchema', 'orgName', orgName);
922
1022
  // verify required parameter 'clusterName' is not null or undefined
923
- (0, common_1.assertParamExists)('query', 'clusterName', clusterName);
1023
+ (0, common_1.assertParamExists)('listObjectTypesInSchema', 'clusterName', clusterName);
924
1024
  // verify required parameter 'id' is not null or undefined
925
- (0, common_1.assertParamExists)('query', 'id', id);
926
- // verify required parameter 'dmsQueryRequest' is not null or undefined
927
- (0, common_1.assertParamExists)('query', 'dmsQueryRequest', dmsQueryRequest);
928
- const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/query`
1025
+ (0, common_1.assertParamExists)('listObjectTypesInSchema', 'id', id);
1026
+ // verify required parameter 'schema' is not null or undefined
1027
+ (0, common_1.assertParamExists)('listObjectTypesInSchema', 'schema', schema);
1028
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/{schema}`
929
1029
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
930
1030
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
931
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1031
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)))
1032
+ .replace(`{${"schema"}}`, encodeURIComponent(String(schema)));
932
1033
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
933
1034
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
934
1035
  let baseOptions;
935
1036
  if (configuration) {
936
1037
  baseOptions = configuration.baseOptions;
937
1038
  }
938
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1039
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
939
1040
  const localVarHeaderParameter = {};
940
1041
  const localVarQueryParameter = {};
941
1042
  // authentication BearerToken required
942
1043
  await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
943
- localVarHeaderParameter['Content-Type'] = 'application/json';
1044
+ if (database !== undefined) {
1045
+ localVarQueryParameter['database'] = database;
1046
+ }
944
1047
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
945
1048
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
946
1049
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
947
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dmsQueryRequest, localVarRequestOptions, configuration);
948
1050
  return {
949
1051
  url: (0, common_1.toPathString)(localVarUrlObj),
950
1052
  options: localVarRequestOptions,
@@ -952,43 +1054,44 @@ const DmsApiAxiosParamCreator = function (configuration) {
952
1054
  },
953
1055
  /**
954
1056
  *
955
- * @summary read data of table or view
1057
+ * @summary list cluster parameters
956
1058
  * @param {string} orgName name of the Org
957
1059
  * @param {string} clusterName name of the cluster
958
- * @param {string} id id of the datasource
959
- * @param {ShowDataRequest} showDataRequest
1060
+ * @param {string} tenantId
1061
+ * @param {string} mode
960
1062
  * @param {*} [options] Override http request option.
961
1063
  * @throws {RequiredError}
962
1064
  */
963
- showData: async (orgName, clusterName, id, showDataRequest, options = {}) => {
1065
+ listParameters: async (orgName, clusterName, tenantId, mode, options = {}) => {
964
1066
  // verify required parameter 'orgName' is not null or undefined
965
- (0, common_1.assertParamExists)('showData', 'orgName', orgName);
1067
+ (0, common_1.assertParamExists)('listParameters', 'orgName', orgName);
966
1068
  // verify required parameter 'clusterName' is not null or undefined
967
- (0, common_1.assertParamExists)('showData', 'clusterName', clusterName);
968
- // verify required parameter 'id' is not null or undefined
969
- (0, common_1.assertParamExists)('showData', 'id', id);
970
- // verify required parameter 'showDataRequest' is not null or undefined
971
- (0, common_1.assertParamExists)('showData', 'showDataRequest', showDataRequest);
972
- const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/showData`
1069
+ (0, common_1.assertParamExists)('listParameters', 'clusterName', clusterName);
1070
+ // verify required parameter 'tenantId' is not null or undefined
1071
+ (0, common_1.assertParamExists)('listParameters', 'tenantId', tenantId);
1072
+ // verify required parameter 'mode' is not null or undefined
1073
+ (0, common_1.assertParamExists)('listParameters', 'mode', mode);
1074
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/tenant/{tenantId}/parameters`
973
1075
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
974
1076
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
975
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1077
+ .replace(`{${"tenantId"}}`, encodeURIComponent(String(tenantId)));
976
1078
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
977
1079
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
978
1080
  let baseOptions;
979
1081
  if (configuration) {
980
1082
  baseOptions = configuration.baseOptions;
981
1083
  }
982
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1084
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
983
1085
  const localVarHeaderParameter = {};
984
1086
  const localVarQueryParameter = {};
985
1087
  // authentication BearerToken required
986
1088
  await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
987
- localVarHeaderParameter['Content-Type'] = 'application/json';
1089
+ if (mode !== undefined) {
1090
+ localVarQueryParameter['mode'] = mode;
1091
+ }
988
1092
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
989
1093
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
990
1094
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
991
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(showDataRequest, localVarRequestOptions, configuration);
992
1095
  return {
993
1096
  url: (0, common_1.toPathString)(localVarUrlObj),
994
1097
  options: localVarRequestOptions,
@@ -996,24 +1099,22 @@ const DmsApiAxiosParamCreator = function (configuration) {
996
1099
  },
997
1100
  /**
998
1101
  *
999
- * @summary explain a SQL
1102
+ * @summary list the query History
1000
1103
  * @param {string} orgName name of the Org
1001
1104
  * @param {string} clusterName name of the cluster
1002
1105
  * @param {string} id id of the datasource
1003
- * @param {DmsExplainRequest} dmsExplainRequest
1106
+ * @param {number} [limit] maximum history records to return, default and max 100
1004
1107
  * @param {*} [options] Override http request option.
1005
1108
  * @throws {RequiredError}
1006
1109
  */
1007
- sqlExplain: async (orgName, clusterName, id, dmsExplainRequest, options = {}) => {
1110
+ listQueryHistory: async (orgName, clusterName, id, limit, options = {}) => {
1008
1111
  // verify required parameter 'orgName' is not null or undefined
1009
- (0, common_1.assertParamExists)('sqlExplain', 'orgName', orgName);
1112
+ (0, common_1.assertParamExists)('listQueryHistory', 'orgName', orgName);
1010
1113
  // verify required parameter 'clusterName' is not null or undefined
1011
- (0, common_1.assertParamExists)('sqlExplain', 'clusterName', clusterName);
1114
+ (0, common_1.assertParamExists)('listQueryHistory', 'clusterName', clusterName);
1012
1115
  // verify required parameter 'id' is not null or undefined
1013
- (0, common_1.assertParamExists)('sqlExplain', 'id', id);
1014
- // verify required parameter 'dmsExplainRequest' is not null or undefined
1015
- (0, common_1.assertParamExists)('sqlExplain', 'dmsExplainRequest', dmsExplainRequest);
1016
- const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/sqlExplain`
1116
+ (0, common_1.assertParamExists)('listQueryHistory', 'id', id);
1117
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/history`
1017
1118
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1018
1119
  .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
1019
1120
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
@@ -1023,16 +1124,17 @@ const DmsApiAxiosParamCreator = function (configuration) {
1023
1124
  if (configuration) {
1024
1125
  baseOptions = configuration.baseOptions;
1025
1126
  }
1026
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1127
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1027
1128
  const localVarHeaderParameter = {};
1028
1129
  const localVarQueryParameter = {};
1029
1130
  // authentication BearerToken required
1030
1131
  await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
1031
- localVarHeaderParameter['Content-Type'] = 'application/json';
1132
+ if (limit !== undefined) {
1133
+ localVarQueryParameter['limit'] = limit;
1134
+ }
1032
1135
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1033
1136
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1034
1137
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1035
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dmsExplainRequest, localVarRequestOptions, configuration);
1036
1138
  return {
1037
1139
  url: (0, common_1.toPathString)(localVarUrlObj),
1038
1140
  options: localVarRequestOptions,
@@ -1040,25 +1142,22 @@ const DmsApiAxiosParamCreator = function (configuration) {
1040
1142
  },
1041
1143
  /**
1042
1144
  *
1043
- * @summary List parameters history of the Oceanbase tenant
1145
+ * @summary list all session for the cluster
1044
1146
  * @param {string} orgName name of the Org
1045
1147
  * @param {string} clusterName name of the cluster
1046
- * @param {string} tenantId id of the tenant
1047
- * @param {string} [parameterName] name of the parameter
1148
+ * @param {string} [all] whether list all session includes sleep
1048
1149
  * @param {*} [options] Override http request option.
1150
+ * @deprecated
1049
1151
  * @throws {RequiredError}
1050
1152
  */
1051
- tenantParameterHistory: async (orgName, clusterName, tenantId, parameterName, options = {}) => {
1153
+ listSessionsOld: async (orgName, clusterName, all, options = {}) => {
1052
1154
  // verify required parameter 'orgName' is not null or undefined
1053
- (0, common_1.assertParamExists)('tenantParameterHistory', 'orgName', orgName);
1155
+ (0, common_1.assertParamExists)('listSessionsOld', 'orgName', orgName);
1054
1156
  // verify required parameter 'clusterName' is not null or undefined
1055
- (0, common_1.assertParamExists)('tenantParameterHistory', 'clusterName', clusterName);
1056
- // verify required parameter 'tenantId' is not null or undefined
1057
- (0, common_1.assertParamExists)('tenantParameterHistory', 'tenantId', tenantId);
1058
- const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/tenant/{tenantId}/parameterHistory`
1157
+ (0, common_1.assertParamExists)('listSessionsOld', 'clusterName', clusterName);
1158
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/sessions`
1059
1159
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1060
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
1061
- .replace(`{${"tenantId"}}`, encodeURIComponent(String(tenantId)));
1160
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
1062
1161
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1063
1162
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1064
1163
  let baseOptions;
@@ -1070,8 +1169,8 @@ const DmsApiAxiosParamCreator = function (configuration) {
1070
1169
  const localVarQueryParameter = {};
1071
1170
  // authentication BearerToken required
1072
1171
  await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
1073
- if (parameterName !== undefined) {
1074
- localVarQueryParameter['parameterName'] = parameterName;
1172
+ if (all !== undefined) {
1173
+ localVarQueryParameter['all'] = all;
1075
1174
  }
1076
1175
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1077
1176
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -1083,23 +1182,35 @@ const DmsApiAxiosParamCreator = function (configuration) {
1083
1182
  },
1084
1183
  /**
1085
1184
  *
1086
- * @summary test the datasource
1087
- * @param {string} orgName name of the Org
1088
- * @param {string} clusterName name of the cluster
1089
- * @param {Datasource} datasource
1185
+ * @summary run MongoDB aggregation pipeline preview
1186
+ * @param {string} orgName
1187
+ * @param {string} clusterName
1188
+ * @param {string} id
1189
+ * @param {string} db
1190
+ * @param {string} col
1191
+ * @param {MongoAggregateRequest} mongoAggregateRequest
1090
1192
  * @param {*} [options] Override http request option.
1091
1193
  * @throws {RequiredError}
1092
1194
  */
1093
- testDataSourceV2: async (orgName, clusterName, datasource, options = {}) => {
1195
+ mongoAggregate: async (orgName, clusterName, id, db, col, mongoAggregateRequest, options = {}) => {
1094
1196
  // verify required parameter 'orgName' is not null or undefined
1095
- (0, common_1.assertParamExists)('testDataSourceV2', 'orgName', orgName);
1197
+ (0, common_1.assertParamExists)('mongoAggregate', 'orgName', orgName);
1096
1198
  // verify required parameter 'clusterName' is not null or undefined
1097
- (0, common_1.assertParamExists)('testDataSourceV2', 'clusterName', clusterName);
1098
- // verify required parameter 'datasource' is not null or undefined
1099
- (0, common_1.assertParamExists)('testDataSourceV2', 'datasource', datasource);
1100
- const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/testDS`
1199
+ (0, common_1.assertParamExists)('mongoAggregate', 'clusterName', clusterName);
1200
+ // verify required parameter 'id' is not null or undefined
1201
+ (0, common_1.assertParamExists)('mongoAggregate', 'id', id);
1202
+ // verify required parameter 'db' is not null or undefined
1203
+ (0, common_1.assertParamExists)('mongoAggregate', 'db', db);
1204
+ // verify required parameter 'col' is not null or undefined
1205
+ (0, common_1.assertParamExists)('mongoAggregate', 'col', col);
1206
+ // verify required parameter 'mongoAggregateRequest' is not null or undefined
1207
+ (0, common_1.assertParamExists)('mongoAggregate', 'mongoAggregateRequest', mongoAggregateRequest);
1208
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/databases/{db}/collections/{col}/aggregate`
1101
1209
  .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1102
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
1210
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
1211
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)))
1212
+ .replace(`{${"db"}}`, encodeURIComponent(String(db)))
1213
+ .replace(`{${"col"}}`, encodeURIComponent(String(col)));
1103
1214
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1104
1215
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1105
1216
  let baseOptions;
@@ -1115,7 +1226,7 @@ const DmsApiAxiosParamCreator = function (configuration) {
1115
1226
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1116
1227
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1117
1228
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1118
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(datasource, localVarRequestOptions, configuration);
1229
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(mongoAggregateRequest, localVarRequestOptions, configuration);
1119
1230
  return {
1120
1231
  url: (0, common_1.toPathString)(localVarUrlObj),
1121
1232
  options: localVarRequestOptions,
@@ -1123,7 +1234,1191 @@ const DmsApiAxiosParamCreator = function (configuration) {
1123
1234
  },
1124
1235
  /**
1125
1236
  *
1126
- * @summary update the datasource
1237
+ * @summary analyze MongoDB collection schema from sample documents
1238
+ * @param {string} orgName
1239
+ * @param {string} clusterName
1240
+ * @param {string} id
1241
+ * @param {string} db
1242
+ * @param {string} col
1243
+ * @param {number} [sample]
1244
+ * @param {*} [options] Override http request option.
1245
+ * @throws {RequiredError}
1246
+ */
1247
+ mongoAnalyzeSchema: async (orgName, clusterName, id, db, col, sample, options = {}) => {
1248
+ // verify required parameter 'orgName' is not null or undefined
1249
+ (0, common_1.assertParamExists)('mongoAnalyzeSchema', 'orgName', orgName);
1250
+ // verify required parameter 'clusterName' is not null or undefined
1251
+ (0, common_1.assertParamExists)('mongoAnalyzeSchema', 'clusterName', clusterName);
1252
+ // verify required parameter 'id' is not null or undefined
1253
+ (0, common_1.assertParamExists)('mongoAnalyzeSchema', 'id', id);
1254
+ // verify required parameter 'db' is not null or undefined
1255
+ (0, common_1.assertParamExists)('mongoAnalyzeSchema', 'db', db);
1256
+ // verify required parameter 'col' is not null or undefined
1257
+ (0, common_1.assertParamExists)('mongoAnalyzeSchema', 'col', col);
1258
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/databases/{db}/collections/{col}/schema`
1259
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1260
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
1261
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)))
1262
+ .replace(`{${"db"}}`, encodeURIComponent(String(db)))
1263
+ .replace(`{${"col"}}`, encodeURIComponent(String(col)));
1264
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1265
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1266
+ let baseOptions;
1267
+ if (configuration) {
1268
+ baseOptions = configuration.baseOptions;
1269
+ }
1270
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1271
+ const localVarHeaderParameter = {};
1272
+ const localVarQueryParameter = {};
1273
+ // authentication BearerToken required
1274
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
1275
+ if (sample !== undefined) {
1276
+ localVarQueryParameter['sample'] = sample;
1277
+ }
1278
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1279
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1280
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1281
+ return {
1282
+ url: (0, common_1.toPathString)(localVarUrlObj),
1283
+ options: localVarRequestOptions,
1284
+ };
1285
+ },
1286
+ /**
1287
+ *
1288
+ * @summary close MongoDB mongosh runtime session
1289
+ * @param {string} orgName
1290
+ * @param {string} clusterName
1291
+ * @param {string} id
1292
+ * @param {string} sessionID
1293
+ * @param {*} [options] Override http request option.
1294
+ * @throws {RequiredError}
1295
+ */
1296
+ mongoCloseShellSession: async (orgName, clusterName, id, sessionID, options = {}) => {
1297
+ // verify required parameter 'orgName' is not null or undefined
1298
+ (0, common_1.assertParamExists)('mongoCloseShellSession', 'orgName', orgName);
1299
+ // verify required parameter 'clusterName' is not null or undefined
1300
+ (0, common_1.assertParamExists)('mongoCloseShellSession', 'clusterName', clusterName);
1301
+ // verify required parameter 'id' is not null or undefined
1302
+ (0, common_1.assertParamExists)('mongoCloseShellSession', 'id', id);
1303
+ // verify required parameter 'sessionID' is not null or undefined
1304
+ (0, common_1.assertParamExists)('mongoCloseShellSession', 'sessionID', sessionID);
1305
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/shell/sessions/{sessionID}`
1306
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1307
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
1308
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)))
1309
+ .replace(`{${"sessionID"}}`, encodeURIComponent(String(sessionID)));
1310
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1311
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1312
+ let baseOptions;
1313
+ if (configuration) {
1314
+ baseOptions = configuration.baseOptions;
1315
+ }
1316
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
1317
+ const localVarHeaderParameter = {};
1318
+ const localVarQueryParameter = {};
1319
+ // authentication BearerToken required
1320
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
1321
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1322
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1323
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1324
+ return {
1325
+ url: (0, common_1.toPathString)(localVarUrlObj),
1326
+ options: localVarRequestOptions,
1327
+ };
1328
+ },
1329
+ /**
1330
+ *
1331
+ * @summary get completions for a MongoDB mongosh session
1332
+ * @param {string} orgName
1333
+ * @param {string} clusterName
1334
+ * @param {string} id
1335
+ * @param {string} sessionID
1336
+ * @param {MongoShellCompletionsRequest} mongoShellCompletionsRequest
1337
+ * @param {*} [options] Override http request option.
1338
+ * @throws {RequiredError}
1339
+ */
1340
+ mongoCompleteShell: async (orgName, clusterName, id, sessionID, mongoShellCompletionsRequest, options = {}) => {
1341
+ // verify required parameter 'orgName' is not null or undefined
1342
+ (0, common_1.assertParamExists)('mongoCompleteShell', 'orgName', orgName);
1343
+ // verify required parameter 'clusterName' is not null or undefined
1344
+ (0, common_1.assertParamExists)('mongoCompleteShell', 'clusterName', clusterName);
1345
+ // verify required parameter 'id' is not null or undefined
1346
+ (0, common_1.assertParamExists)('mongoCompleteShell', 'id', id);
1347
+ // verify required parameter 'sessionID' is not null or undefined
1348
+ (0, common_1.assertParamExists)('mongoCompleteShell', 'sessionID', sessionID);
1349
+ // verify required parameter 'mongoShellCompletionsRequest' is not null or undefined
1350
+ (0, common_1.assertParamExists)('mongoCompleteShell', 'mongoShellCompletionsRequest', mongoShellCompletionsRequest);
1351
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/shell/sessions/{sessionID}/completions`
1352
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1353
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
1354
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)))
1355
+ .replace(`{${"sessionID"}}`, encodeURIComponent(String(sessionID)));
1356
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1357
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1358
+ let baseOptions;
1359
+ if (configuration) {
1360
+ baseOptions = configuration.baseOptions;
1361
+ }
1362
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1363
+ const localVarHeaderParameter = {};
1364
+ const localVarQueryParameter = {};
1365
+ // authentication BearerToken required
1366
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
1367
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1368
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1369
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1370
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1371
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(mongoShellCompletionsRequest, localVarRequestOptions, configuration);
1372
+ return {
1373
+ url: (0, common_1.toPathString)(localVarUrlObj),
1374
+ options: localVarRequestOptions,
1375
+ };
1376
+ },
1377
+ /**
1378
+ * Creates a collection. Creating the first collection in a database is the supported Create Database backend semantic.
1379
+ * @summary create MongoDB collection
1380
+ * @param {string} orgName name of the Org
1381
+ * @param {string} clusterName name of the cluster
1382
+ * @param {string} id id of the datasource
1383
+ * @param {string} db database name
1384
+ * @param {string} col initial collection name
1385
+ * @param {MongoCreateCollectionRequest} [mongoCreateCollectionRequest]
1386
+ * @param {*} [options] Override http request option.
1387
+ * @throws {RequiredError}
1388
+ */
1389
+ mongoCreateCollection: async (orgName, clusterName, id, db, col, mongoCreateCollectionRequest, options = {}) => {
1390
+ // verify required parameter 'orgName' is not null or undefined
1391
+ (0, common_1.assertParamExists)('mongoCreateCollection', 'orgName', orgName);
1392
+ // verify required parameter 'clusterName' is not null or undefined
1393
+ (0, common_1.assertParamExists)('mongoCreateCollection', 'clusterName', clusterName);
1394
+ // verify required parameter 'id' is not null or undefined
1395
+ (0, common_1.assertParamExists)('mongoCreateCollection', 'id', id);
1396
+ // verify required parameter 'db' is not null or undefined
1397
+ (0, common_1.assertParamExists)('mongoCreateCollection', 'db', db);
1398
+ // verify required parameter 'col' is not null or undefined
1399
+ (0, common_1.assertParamExists)('mongoCreateCollection', 'col', col);
1400
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/databases/{db}/collections/{col}`
1401
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1402
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
1403
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)))
1404
+ .replace(`{${"db"}}`, encodeURIComponent(String(db)))
1405
+ .replace(`{${"col"}}`, encodeURIComponent(String(col)));
1406
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1407
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1408
+ let baseOptions;
1409
+ if (configuration) {
1410
+ baseOptions = configuration.baseOptions;
1411
+ }
1412
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1413
+ const localVarHeaderParameter = {};
1414
+ const localVarQueryParameter = {};
1415
+ // authentication BearerToken required
1416
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
1417
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1418
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1419
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1420
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1421
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(mongoCreateCollectionRequest, localVarRequestOptions, configuration);
1422
+ return {
1423
+ url: (0, common_1.toPathString)(localVarUrlObj),
1424
+ options: localVarRequestOptions,
1425
+ };
1426
+ },
1427
+ /**
1428
+ *
1429
+ * @summary create MongoDB collection index
1430
+ * @param {string} orgName
1431
+ * @param {string} clusterName
1432
+ * @param {string} id
1433
+ * @param {string} db
1434
+ * @param {string} col
1435
+ * @param {MongoCreateIndexRequest} mongoCreateIndexRequest
1436
+ * @param {*} [options] Override http request option.
1437
+ * @throws {RequiredError}
1438
+ */
1439
+ mongoCreateIndex: async (orgName, clusterName, id, db, col, mongoCreateIndexRequest, options = {}) => {
1440
+ // verify required parameter 'orgName' is not null or undefined
1441
+ (0, common_1.assertParamExists)('mongoCreateIndex', 'orgName', orgName);
1442
+ // verify required parameter 'clusterName' is not null or undefined
1443
+ (0, common_1.assertParamExists)('mongoCreateIndex', 'clusterName', clusterName);
1444
+ // verify required parameter 'id' is not null or undefined
1445
+ (0, common_1.assertParamExists)('mongoCreateIndex', 'id', id);
1446
+ // verify required parameter 'db' is not null or undefined
1447
+ (0, common_1.assertParamExists)('mongoCreateIndex', 'db', db);
1448
+ // verify required parameter 'col' is not null or undefined
1449
+ (0, common_1.assertParamExists)('mongoCreateIndex', 'col', col);
1450
+ // verify required parameter 'mongoCreateIndexRequest' is not null or undefined
1451
+ (0, common_1.assertParamExists)('mongoCreateIndex', 'mongoCreateIndexRequest', mongoCreateIndexRequest);
1452
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/databases/{db}/collections/{col}/indexes`
1453
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1454
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
1455
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)))
1456
+ .replace(`{${"db"}}`, encodeURIComponent(String(db)))
1457
+ .replace(`{${"col"}}`, encodeURIComponent(String(col)));
1458
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1459
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1460
+ let baseOptions;
1461
+ if (configuration) {
1462
+ baseOptions = configuration.baseOptions;
1463
+ }
1464
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1465
+ const localVarHeaderParameter = {};
1466
+ const localVarQueryParameter = {};
1467
+ // authentication BearerToken required
1468
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
1469
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1470
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1471
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1472
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1473
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(mongoCreateIndexRequest, localVarRequestOptions, configuration);
1474
+ return {
1475
+ url: (0, common_1.toPathString)(localVarUrlObj),
1476
+ options: localVarRequestOptions,
1477
+ };
1478
+ },
1479
+ /**
1480
+ *
1481
+ * @summary create MongoDB mongosh runtime session
1482
+ * @param {string} orgName name of the Org
1483
+ * @param {string} clusterName name of the cluster
1484
+ * @param {string} id id of the datasource
1485
+ * @param {MongoShellCreateSessionRequest} [mongoShellCreateSessionRequest]
1486
+ * @param {*} [options] Override http request option.
1487
+ * @throws {RequiredError}
1488
+ */
1489
+ mongoCreateShellSession: async (orgName, clusterName, id, mongoShellCreateSessionRequest, options = {}) => {
1490
+ // verify required parameter 'orgName' is not null or undefined
1491
+ (0, common_1.assertParamExists)('mongoCreateShellSession', 'orgName', orgName);
1492
+ // verify required parameter 'clusterName' is not null or undefined
1493
+ (0, common_1.assertParamExists)('mongoCreateShellSession', 'clusterName', clusterName);
1494
+ // verify required parameter 'id' is not null or undefined
1495
+ (0, common_1.assertParamExists)('mongoCreateShellSession', 'id', id);
1496
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/shell/sessions`
1497
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1498
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
1499
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1500
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1501
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1502
+ let baseOptions;
1503
+ if (configuration) {
1504
+ baseOptions = configuration.baseOptions;
1505
+ }
1506
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1507
+ const localVarHeaderParameter = {};
1508
+ const localVarQueryParameter = {};
1509
+ // authentication BearerToken required
1510
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
1511
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1512
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1513
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1514
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1515
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(mongoShellCreateSessionRequest, localVarRequestOptions, configuration);
1516
+ return {
1517
+ url: (0, common_1.toPathString)(localVarUrlObj),
1518
+ options: localVarRequestOptions,
1519
+ };
1520
+ },
1521
+ /**
1522
+ *
1523
+ * @summary create MongoDB view from a read-only aggregation pipeline
1524
+ * @param {string} orgName
1525
+ * @param {string} clusterName
1526
+ * @param {string} id
1527
+ * @param {string} db
1528
+ * @param {MongoCreateViewRequest} mongoCreateViewRequest
1529
+ * @param {*} [options] Override http request option.
1530
+ * @throws {RequiredError}
1531
+ */
1532
+ mongoCreateView: async (orgName, clusterName, id, db, mongoCreateViewRequest, options = {}) => {
1533
+ // verify required parameter 'orgName' is not null or undefined
1534
+ (0, common_1.assertParamExists)('mongoCreateView', 'orgName', orgName);
1535
+ // verify required parameter 'clusterName' is not null or undefined
1536
+ (0, common_1.assertParamExists)('mongoCreateView', 'clusterName', clusterName);
1537
+ // verify required parameter 'id' is not null or undefined
1538
+ (0, common_1.assertParamExists)('mongoCreateView', 'id', id);
1539
+ // verify required parameter 'db' is not null or undefined
1540
+ (0, common_1.assertParamExists)('mongoCreateView', 'db', db);
1541
+ // verify required parameter 'mongoCreateViewRequest' is not null or undefined
1542
+ (0, common_1.assertParamExists)('mongoCreateView', 'mongoCreateViewRequest', mongoCreateViewRequest);
1543
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/databases/{db}/views`
1544
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1545
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
1546
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)))
1547
+ .replace(`{${"db"}}`, encodeURIComponent(String(db)));
1548
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1549
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1550
+ let baseOptions;
1551
+ if (configuration) {
1552
+ baseOptions = configuration.baseOptions;
1553
+ }
1554
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1555
+ const localVarHeaderParameter = {};
1556
+ const localVarQueryParameter = {};
1557
+ // authentication BearerToken required
1558
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
1559
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1560
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1561
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1562
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1563
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(mongoCreateViewRequest, localVarRequestOptions, configuration);
1564
+ return {
1565
+ url: (0, common_1.toPathString)(localVarUrlObj),
1566
+ options: localVarRequestOptions,
1567
+ };
1568
+ },
1569
+ /**
1570
+ *
1571
+ * @summary delete a single MongoDB document
1572
+ * @param {string} orgName
1573
+ * @param {string} clusterName
1574
+ * @param {string} id
1575
+ * @param {string} db
1576
+ * @param {string} col
1577
+ * @param {MongoDeleteRequest} mongoDeleteRequest
1578
+ * @param {*} [options] Override http request option.
1579
+ * @throws {RequiredError}
1580
+ */
1581
+ mongoDelete: async (orgName, clusterName, id, db, col, mongoDeleteRequest, options = {}) => {
1582
+ // verify required parameter 'orgName' is not null or undefined
1583
+ (0, common_1.assertParamExists)('mongoDelete', 'orgName', orgName);
1584
+ // verify required parameter 'clusterName' is not null or undefined
1585
+ (0, common_1.assertParamExists)('mongoDelete', 'clusterName', clusterName);
1586
+ // verify required parameter 'id' is not null or undefined
1587
+ (0, common_1.assertParamExists)('mongoDelete', 'id', id);
1588
+ // verify required parameter 'db' is not null or undefined
1589
+ (0, common_1.assertParamExists)('mongoDelete', 'db', db);
1590
+ // verify required parameter 'col' is not null or undefined
1591
+ (0, common_1.assertParamExists)('mongoDelete', 'col', col);
1592
+ // verify required parameter 'mongoDeleteRequest' is not null or undefined
1593
+ (0, common_1.assertParamExists)('mongoDelete', 'mongoDeleteRequest', mongoDeleteRequest);
1594
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/databases/{db}/collections/{col}/delete`
1595
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1596
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
1597
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)))
1598
+ .replace(`{${"db"}}`, encodeURIComponent(String(db)))
1599
+ .replace(`{${"col"}}`, encodeURIComponent(String(col)));
1600
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1601
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1602
+ let baseOptions;
1603
+ if (configuration) {
1604
+ baseOptions = configuration.baseOptions;
1605
+ }
1606
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1607
+ const localVarHeaderParameter = {};
1608
+ const localVarQueryParameter = {};
1609
+ // authentication BearerToken required
1610
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
1611
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1612
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1613
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1614
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1615
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(mongoDeleteRequest, localVarRequestOptions, configuration);
1616
+ return {
1617
+ url: (0, common_1.toPathString)(localVarUrlObj),
1618
+ options: localVarRequestOptions,
1619
+ };
1620
+ },
1621
+ /**
1622
+ *
1623
+ * @summary drop MongoDB collection index
1624
+ * @param {string} orgName
1625
+ * @param {string} clusterName
1626
+ * @param {string} id
1627
+ * @param {string} db
1628
+ * @param {string} col
1629
+ * @param {string} indexName
1630
+ * @param {*} [options] Override http request option.
1631
+ * @throws {RequiredError}
1632
+ */
1633
+ mongoDropIndex: async (orgName, clusterName, id, db, col, indexName, options = {}) => {
1634
+ // verify required parameter 'orgName' is not null or undefined
1635
+ (0, common_1.assertParamExists)('mongoDropIndex', 'orgName', orgName);
1636
+ // verify required parameter 'clusterName' is not null or undefined
1637
+ (0, common_1.assertParamExists)('mongoDropIndex', 'clusterName', clusterName);
1638
+ // verify required parameter 'id' is not null or undefined
1639
+ (0, common_1.assertParamExists)('mongoDropIndex', 'id', id);
1640
+ // verify required parameter 'db' is not null or undefined
1641
+ (0, common_1.assertParamExists)('mongoDropIndex', 'db', db);
1642
+ // verify required parameter 'col' is not null or undefined
1643
+ (0, common_1.assertParamExists)('mongoDropIndex', 'col', col);
1644
+ // verify required parameter 'indexName' is not null or undefined
1645
+ (0, common_1.assertParamExists)('mongoDropIndex', 'indexName', indexName);
1646
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/databases/{db}/collections/{col}/indexes/{indexName}`
1647
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1648
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
1649
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)))
1650
+ .replace(`{${"db"}}`, encodeURIComponent(String(db)))
1651
+ .replace(`{${"col"}}`, encodeURIComponent(String(col)))
1652
+ .replace(`{${"indexName"}}`, encodeURIComponent(String(indexName)));
1653
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1654
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1655
+ let baseOptions;
1656
+ if (configuration) {
1657
+ baseOptions = configuration.baseOptions;
1658
+ }
1659
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
1660
+ const localVarHeaderParameter = {};
1661
+ const localVarQueryParameter = {};
1662
+ // authentication BearerToken required
1663
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
1664
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1665
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1666
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1667
+ return {
1668
+ url: (0, common_1.toPathString)(localVarUrlObj),
1669
+ options: localVarRequestOptions,
1670
+ };
1671
+ },
1672
+ /**
1673
+ *
1674
+ * @summary evaluate input in a MongoDB mongosh session
1675
+ * @param {string} orgName
1676
+ * @param {string} clusterName
1677
+ * @param {string} id
1678
+ * @param {string} sessionID
1679
+ * @param {MongoShellEvaluateRequest} mongoShellEvaluateRequest
1680
+ * @param {*} [options] Override http request option.
1681
+ * @throws {RequiredError}
1682
+ */
1683
+ mongoEvaluateShell: async (orgName, clusterName, id, sessionID, mongoShellEvaluateRequest, options = {}) => {
1684
+ // verify required parameter 'orgName' is not null or undefined
1685
+ (0, common_1.assertParamExists)('mongoEvaluateShell', 'orgName', orgName);
1686
+ // verify required parameter 'clusterName' is not null or undefined
1687
+ (0, common_1.assertParamExists)('mongoEvaluateShell', 'clusterName', clusterName);
1688
+ // verify required parameter 'id' is not null or undefined
1689
+ (0, common_1.assertParamExists)('mongoEvaluateShell', 'id', id);
1690
+ // verify required parameter 'sessionID' is not null or undefined
1691
+ (0, common_1.assertParamExists)('mongoEvaluateShell', 'sessionID', sessionID);
1692
+ // verify required parameter 'mongoShellEvaluateRequest' is not null or undefined
1693
+ (0, common_1.assertParamExists)('mongoEvaluateShell', 'mongoShellEvaluateRequest', mongoShellEvaluateRequest);
1694
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/shell/sessions/{sessionID}/evaluate`
1695
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1696
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
1697
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)))
1698
+ .replace(`{${"sessionID"}}`, encodeURIComponent(String(sessionID)));
1699
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1700
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1701
+ let baseOptions;
1702
+ if (configuration) {
1703
+ baseOptions = configuration.baseOptions;
1704
+ }
1705
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1706
+ const localVarHeaderParameter = {};
1707
+ const localVarQueryParameter = {};
1708
+ // authentication BearerToken required
1709
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
1710
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1711
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1712
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1713
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1714
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(mongoShellEvaluateRequest, localVarRequestOptions, configuration);
1715
+ return {
1716
+ url: (0, common_1.toPathString)(localVarUrlObj),
1717
+ options: localVarRequestOptions,
1718
+ };
1719
+ },
1720
+ /**
1721
+ *
1722
+ * @summary explain a MongoDB query
1723
+ * @param {string} orgName name of the Org
1724
+ * @param {string} clusterName name of the cluster
1725
+ * @param {string} id id of the datasource
1726
+ * @param {MongoExplainRequest} mongoExplainRequest
1727
+ * @param {*} [options] Override http request option.
1728
+ * @throws {RequiredError}
1729
+ */
1730
+ mongoExplain: async (orgName, clusterName, id, mongoExplainRequest, options = {}) => {
1731
+ // verify required parameter 'orgName' is not null or undefined
1732
+ (0, common_1.assertParamExists)('mongoExplain', 'orgName', orgName);
1733
+ // verify required parameter 'clusterName' is not null or undefined
1734
+ (0, common_1.assertParamExists)('mongoExplain', 'clusterName', clusterName);
1735
+ // verify required parameter 'id' is not null or undefined
1736
+ (0, common_1.assertParamExists)('mongoExplain', 'id', id);
1737
+ // verify required parameter 'mongoExplainRequest' is not null or undefined
1738
+ (0, common_1.assertParamExists)('mongoExplain', 'mongoExplainRequest', mongoExplainRequest);
1739
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/explain`
1740
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1741
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
1742
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1743
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1744
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1745
+ let baseOptions;
1746
+ if (configuration) {
1747
+ baseOptions = configuration.baseOptions;
1748
+ }
1749
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1750
+ const localVarHeaderParameter = {};
1751
+ const localVarQueryParameter = {};
1752
+ // authentication BearerToken required
1753
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
1754
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1755
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1756
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1757
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1758
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(mongoExplainRequest, localVarRequestOptions, configuration);
1759
+ return {
1760
+ url: (0, common_1.toPathString)(localVarUrlObj),
1761
+ options: localVarRequestOptions,
1762
+ };
1763
+ },
1764
+ /**
1765
+ *
1766
+ * @summary find documents in a MongoDB collection
1767
+ * @param {string} orgName name of the Org
1768
+ * @param {string} clusterName name of the cluster
1769
+ * @param {string} id id of the datasource
1770
+ * @param {string} db database name
1771
+ * @param {string} col collection name
1772
+ * @param {MongoFindRequest} mongoFindRequest
1773
+ * @param {*} [options] Override http request option.
1774
+ * @throws {RequiredError}
1775
+ */
1776
+ mongoFind: async (orgName, clusterName, id, db, col, mongoFindRequest, options = {}) => {
1777
+ // verify required parameter 'orgName' is not null or undefined
1778
+ (0, common_1.assertParamExists)('mongoFind', 'orgName', orgName);
1779
+ // verify required parameter 'clusterName' is not null or undefined
1780
+ (0, common_1.assertParamExists)('mongoFind', 'clusterName', clusterName);
1781
+ // verify required parameter 'id' is not null or undefined
1782
+ (0, common_1.assertParamExists)('mongoFind', 'id', id);
1783
+ // verify required parameter 'db' is not null or undefined
1784
+ (0, common_1.assertParamExists)('mongoFind', 'db', db);
1785
+ // verify required parameter 'col' is not null or undefined
1786
+ (0, common_1.assertParamExists)('mongoFind', 'col', col);
1787
+ // verify required parameter 'mongoFindRequest' is not null or undefined
1788
+ (0, common_1.assertParamExists)('mongoFind', 'mongoFindRequest', mongoFindRequest);
1789
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/databases/{db}/collections/{col}/find`
1790
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1791
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
1792
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)))
1793
+ .replace(`{${"db"}}`, encodeURIComponent(String(db)))
1794
+ .replace(`{${"col"}}`, encodeURIComponent(String(col)));
1795
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1796
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1797
+ let baseOptions;
1798
+ if (configuration) {
1799
+ baseOptions = configuration.baseOptions;
1800
+ }
1801
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1802
+ const localVarHeaderParameter = {};
1803
+ const localVarQueryParameter = {};
1804
+ // authentication BearerToken required
1805
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
1806
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1807
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1808
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1809
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1810
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(mongoFindRequest, localVarRequestOptions, configuration);
1811
+ return {
1812
+ url: (0, common_1.toPathString)(localVarUrlObj),
1813
+ options: localVarRequestOptions,
1814
+ };
1815
+ },
1816
+ /**
1817
+ *
1818
+ * @summary get MongoDB mongosh session prompt
1819
+ * @param {string} orgName
1820
+ * @param {string} clusterName
1821
+ * @param {string} id
1822
+ * @param {string} sessionID
1823
+ * @param {*} [options] Override http request option.
1824
+ * @throws {RequiredError}
1825
+ */
1826
+ mongoGetShellPrompt: async (orgName, clusterName, id, sessionID, options = {}) => {
1827
+ // verify required parameter 'orgName' is not null or undefined
1828
+ (0, common_1.assertParamExists)('mongoGetShellPrompt', 'orgName', orgName);
1829
+ // verify required parameter 'clusterName' is not null or undefined
1830
+ (0, common_1.assertParamExists)('mongoGetShellPrompt', 'clusterName', clusterName);
1831
+ // verify required parameter 'id' is not null or undefined
1832
+ (0, common_1.assertParamExists)('mongoGetShellPrompt', 'id', id);
1833
+ // verify required parameter 'sessionID' is not null or undefined
1834
+ (0, common_1.assertParamExists)('mongoGetShellPrompt', 'sessionID', sessionID);
1835
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/shell/sessions/{sessionID}/prompt`
1836
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1837
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
1838
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)))
1839
+ .replace(`{${"sessionID"}}`, encodeURIComponent(String(sessionID)));
1840
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1841
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1842
+ let baseOptions;
1843
+ if (configuration) {
1844
+ baseOptions = configuration.baseOptions;
1845
+ }
1846
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1847
+ const localVarHeaderParameter = {};
1848
+ const localVarQueryParameter = {};
1849
+ // authentication BearerToken required
1850
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
1851
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1852
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1853
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1854
+ return {
1855
+ url: (0, common_1.toPathString)(localVarUrlObj),
1856
+ options: localVarRequestOptions,
1857
+ };
1858
+ },
1859
+ /**
1860
+ *
1861
+ * @summary get MongoDB collection validation options
1862
+ * @param {string} orgName
1863
+ * @param {string} clusterName
1864
+ * @param {string} id
1865
+ * @param {string} db
1866
+ * @param {string} col
1867
+ * @param {*} [options] Override http request option.
1868
+ * @throws {RequiredError}
1869
+ */
1870
+ mongoGetValidation: async (orgName, clusterName, id, db, col, options = {}) => {
1871
+ // verify required parameter 'orgName' is not null or undefined
1872
+ (0, common_1.assertParamExists)('mongoGetValidation', 'orgName', orgName);
1873
+ // verify required parameter 'clusterName' is not null or undefined
1874
+ (0, common_1.assertParamExists)('mongoGetValidation', 'clusterName', clusterName);
1875
+ // verify required parameter 'id' is not null or undefined
1876
+ (0, common_1.assertParamExists)('mongoGetValidation', 'id', id);
1877
+ // verify required parameter 'db' is not null or undefined
1878
+ (0, common_1.assertParamExists)('mongoGetValidation', 'db', db);
1879
+ // verify required parameter 'col' is not null or undefined
1880
+ (0, common_1.assertParamExists)('mongoGetValidation', 'col', col);
1881
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/databases/{db}/collections/{col}/validation`
1882
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1883
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
1884
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)))
1885
+ .replace(`{${"db"}}`, encodeURIComponent(String(db)))
1886
+ .replace(`{${"col"}}`, encodeURIComponent(String(col)));
1887
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1888
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1889
+ let baseOptions;
1890
+ if (configuration) {
1891
+ baseOptions = configuration.baseOptions;
1892
+ }
1893
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1894
+ const localVarHeaderParameter = {};
1895
+ const localVarQueryParameter = {};
1896
+ // authentication BearerToken required
1897
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
1898
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1899
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1900
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1901
+ return {
1902
+ url: (0, common_1.toPathString)(localVarUrlObj),
1903
+ options: localVarRequestOptions,
1904
+ };
1905
+ },
1906
+ /**
1907
+ *
1908
+ * @summary insert MongoDB document(s)
1909
+ * @param {string} orgName
1910
+ * @param {string} clusterName
1911
+ * @param {string} id
1912
+ * @param {string} db
1913
+ * @param {string} col
1914
+ * @param {MongoInsertRequest} mongoInsertRequest
1915
+ * @param {*} [options] Override http request option.
1916
+ * @throws {RequiredError}
1917
+ */
1918
+ mongoInsert: async (orgName, clusterName, id, db, col, mongoInsertRequest, options = {}) => {
1919
+ // verify required parameter 'orgName' is not null or undefined
1920
+ (0, common_1.assertParamExists)('mongoInsert', 'orgName', orgName);
1921
+ // verify required parameter 'clusterName' is not null or undefined
1922
+ (0, common_1.assertParamExists)('mongoInsert', 'clusterName', clusterName);
1923
+ // verify required parameter 'id' is not null or undefined
1924
+ (0, common_1.assertParamExists)('mongoInsert', 'id', id);
1925
+ // verify required parameter 'db' is not null or undefined
1926
+ (0, common_1.assertParamExists)('mongoInsert', 'db', db);
1927
+ // verify required parameter 'col' is not null or undefined
1928
+ (0, common_1.assertParamExists)('mongoInsert', 'col', col);
1929
+ // verify required parameter 'mongoInsertRequest' is not null or undefined
1930
+ (0, common_1.assertParamExists)('mongoInsert', 'mongoInsertRequest', mongoInsertRequest);
1931
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/databases/{db}/collections/{col}/insert`
1932
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1933
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
1934
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)))
1935
+ .replace(`{${"db"}}`, encodeURIComponent(String(db)))
1936
+ .replace(`{${"col"}}`, encodeURIComponent(String(col)));
1937
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1938
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1939
+ let baseOptions;
1940
+ if (configuration) {
1941
+ baseOptions = configuration.baseOptions;
1942
+ }
1943
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1944
+ const localVarHeaderParameter = {};
1945
+ const localVarQueryParameter = {};
1946
+ // authentication BearerToken required
1947
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
1948
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1949
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1950
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1951
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1952
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(mongoInsertRequest, localVarRequestOptions, configuration);
1953
+ return {
1954
+ url: (0, common_1.toPathString)(localVarUrlObj),
1955
+ options: localVarRequestOptions,
1956
+ };
1957
+ },
1958
+ /**
1959
+ *
1960
+ * @summary interrupt current MongoDB mongosh session operation
1961
+ * @param {string} orgName
1962
+ * @param {string} clusterName
1963
+ * @param {string} id
1964
+ * @param {string} sessionID
1965
+ * @param {*} [options] Override http request option.
1966
+ * @throws {RequiredError}
1967
+ */
1968
+ mongoInterruptShell: async (orgName, clusterName, id, sessionID, options = {}) => {
1969
+ // verify required parameter 'orgName' is not null or undefined
1970
+ (0, common_1.assertParamExists)('mongoInterruptShell', 'orgName', orgName);
1971
+ // verify required parameter 'clusterName' is not null or undefined
1972
+ (0, common_1.assertParamExists)('mongoInterruptShell', 'clusterName', clusterName);
1973
+ // verify required parameter 'id' is not null or undefined
1974
+ (0, common_1.assertParamExists)('mongoInterruptShell', 'id', id);
1975
+ // verify required parameter 'sessionID' is not null or undefined
1976
+ (0, common_1.assertParamExists)('mongoInterruptShell', 'sessionID', sessionID);
1977
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/shell/sessions/{sessionID}/interrupt`
1978
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1979
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
1980
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)))
1981
+ .replace(`{${"sessionID"}}`, encodeURIComponent(String(sessionID)));
1982
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1983
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1984
+ let baseOptions;
1985
+ if (configuration) {
1986
+ baseOptions = configuration.baseOptions;
1987
+ }
1988
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1989
+ const localVarHeaderParameter = {};
1990
+ const localVarQueryParameter = {};
1991
+ // authentication BearerToken required
1992
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
1993
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1994
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1995
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1996
+ return {
1997
+ url: (0, common_1.toPathString)(localVarUrlObj),
1998
+ options: localVarRequestOptions,
1999
+ };
2000
+ },
2001
+ /**
2002
+ *
2003
+ * @summary list MongoDB collection indexes
2004
+ * @param {string} orgName
2005
+ * @param {string} clusterName
2006
+ * @param {string} id
2007
+ * @param {string} db
2008
+ * @param {string} col
2009
+ * @param {*} [options] Override http request option.
2010
+ * @throws {RequiredError}
2011
+ */
2012
+ mongoListIndexes: async (orgName, clusterName, id, db, col, options = {}) => {
2013
+ // verify required parameter 'orgName' is not null or undefined
2014
+ (0, common_1.assertParamExists)('mongoListIndexes', 'orgName', orgName);
2015
+ // verify required parameter 'clusterName' is not null or undefined
2016
+ (0, common_1.assertParamExists)('mongoListIndexes', 'clusterName', clusterName);
2017
+ // verify required parameter 'id' is not null or undefined
2018
+ (0, common_1.assertParamExists)('mongoListIndexes', 'id', id);
2019
+ // verify required parameter 'db' is not null or undefined
2020
+ (0, common_1.assertParamExists)('mongoListIndexes', 'db', db);
2021
+ // verify required parameter 'col' is not null or undefined
2022
+ (0, common_1.assertParamExists)('mongoListIndexes', 'col', col);
2023
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/databases/{db}/collections/{col}/indexes`
2024
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
2025
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
2026
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)))
2027
+ .replace(`{${"db"}}`, encodeURIComponent(String(db)))
2028
+ .replace(`{${"col"}}`, encodeURIComponent(String(col)));
2029
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2030
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2031
+ let baseOptions;
2032
+ if (configuration) {
2033
+ baseOptions = configuration.baseOptions;
2034
+ }
2035
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2036
+ const localVarHeaderParameter = {};
2037
+ const localVarQueryParameter = {};
2038
+ // authentication BearerToken required
2039
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
2040
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2041
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2042
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2043
+ return {
2044
+ url: (0, common_1.toPathString)(localVarUrlObj),
2045
+ options: localVarRequestOptions,
2046
+ };
2047
+ },
2048
+ /**
2049
+ *
2050
+ * @summary replace a single MongoDB document
2051
+ * @param {string} orgName
2052
+ * @param {string} clusterName
2053
+ * @param {string} id
2054
+ * @param {string} db
2055
+ * @param {string} col
2056
+ * @param {MongoReplaceRequest} mongoReplaceRequest
2057
+ * @param {*} [options] Override http request option.
2058
+ * @throws {RequiredError}
2059
+ */
2060
+ mongoReplace: async (orgName, clusterName, id, db, col, mongoReplaceRequest, options = {}) => {
2061
+ // verify required parameter 'orgName' is not null or undefined
2062
+ (0, common_1.assertParamExists)('mongoReplace', 'orgName', orgName);
2063
+ // verify required parameter 'clusterName' is not null or undefined
2064
+ (0, common_1.assertParamExists)('mongoReplace', 'clusterName', clusterName);
2065
+ // verify required parameter 'id' is not null or undefined
2066
+ (0, common_1.assertParamExists)('mongoReplace', 'id', id);
2067
+ // verify required parameter 'db' is not null or undefined
2068
+ (0, common_1.assertParamExists)('mongoReplace', 'db', db);
2069
+ // verify required parameter 'col' is not null or undefined
2070
+ (0, common_1.assertParamExists)('mongoReplace', 'col', col);
2071
+ // verify required parameter 'mongoReplaceRequest' is not null or undefined
2072
+ (0, common_1.assertParamExists)('mongoReplace', 'mongoReplaceRequest', mongoReplaceRequest);
2073
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/databases/{db}/collections/{col}/replace`
2074
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
2075
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
2076
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)))
2077
+ .replace(`{${"db"}}`, encodeURIComponent(String(db)))
2078
+ .replace(`{${"col"}}`, encodeURIComponent(String(col)));
2079
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2080
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2081
+ let baseOptions;
2082
+ if (configuration) {
2083
+ baseOptions = configuration.baseOptions;
2084
+ }
2085
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
2086
+ const localVarHeaderParameter = {};
2087
+ const localVarQueryParameter = {};
2088
+ // authentication BearerToken required
2089
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
2090
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2091
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2092
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2093
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2094
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(mongoReplaceRequest, localVarRequestOptions, configuration);
2095
+ return {
2096
+ url: (0, common_1.toPathString)(localVarUrlObj),
2097
+ options: localVarRequestOptions,
2098
+ };
2099
+ },
2100
+ /**
2101
+ *
2102
+ * @summary set MongoDB collection validation options
2103
+ * @param {string} orgName
2104
+ * @param {string} clusterName
2105
+ * @param {string} id
2106
+ * @param {string} db
2107
+ * @param {string} col
2108
+ * @param {MongoSetValidationRequest} mongoSetValidationRequest
2109
+ * @param {*} [options] Override http request option.
2110
+ * @throws {RequiredError}
2111
+ */
2112
+ mongoSetValidation: async (orgName, clusterName, id, db, col, mongoSetValidationRequest, options = {}) => {
2113
+ // verify required parameter 'orgName' is not null or undefined
2114
+ (0, common_1.assertParamExists)('mongoSetValidation', 'orgName', orgName);
2115
+ // verify required parameter 'clusterName' is not null or undefined
2116
+ (0, common_1.assertParamExists)('mongoSetValidation', 'clusterName', clusterName);
2117
+ // verify required parameter 'id' is not null or undefined
2118
+ (0, common_1.assertParamExists)('mongoSetValidation', 'id', id);
2119
+ // verify required parameter 'db' is not null or undefined
2120
+ (0, common_1.assertParamExists)('mongoSetValidation', 'db', db);
2121
+ // verify required parameter 'col' is not null or undefined
2122
+ (0, common_1.assertParamExists)('mongoSetValidation', 'col', col);
2123
+ // verify required parameter 'mongoSetValidationRequest' is not null or undefined
2124
+ (0, common_1.assertParamExists)('mongoSetValidation', 'mongoSetValidationRequest', mongoSetValidationRequest);
2125
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/databases/{db}/collections/{col}/validation`
2126
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
2127
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
2128
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)))
2129
+ .replace(`{${"db"}}`, encodeURIComponent(String(db)))
2130
+ .replace(`{${"col"}}`, encodeURIComponent(String(col)));
2131
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2132
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2133
+ let baseOptions;
2134
+ if (configuration) {
2135
+ baseOptions = configuration.baseOptions;
2136
+ }
2137
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
2138
+ const localVarHeaderParameter = {};
2139
+ const localVarQueryParameter = {};
2140
+ // authentication BearerToken required
2141
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
2142
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2143
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2144
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2145
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2146
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(mongoSetValidationRequest, localVarRequestOptions, configuration);
2147
+ return {
2148
+ url: (0, common_1.toPathString)(localVarUrlObj),
2149
+ options: localVarRequestOptions,
2150
+ };
2151
+ },
2152
+ /**
2153
+ *
2154
+ * @summary update a single MongoDB document
2155
+ * @param {string} orgName
2156
+ * @param {string} clusterName
2157
+ * @param {string} id
2158
+ * @param {string} db
2159
+ * @param {string} col
2160
+ * @param {MongoUpdateRequest} mongoUpdateRequest
2161
+ * @param {*} [options] Override http request option.
2162
+ * @throws {RequiredError}
2163
+ */
2164
+ mongoUpdate: async (orgName, clusterName, id, db, col, mongoUpdateRequest, options = {}) => {
2165
+ // verify required parameter 'orgName' is not null or undefined
2166
+ (0, common_1.assertParamExists)('mongoUpdate', 'orgName', orgName);
2167
+ // verify required parameter 'clusterName' is not null or undefined
2168
+ (0, common_1.assertParamExists)('mongoUpdate', 'clusterName', clusterName);
2169
+ // verify required parameter 'id' is not null or undefined
2170
+ (0, common_1.assertParamExists)('mongoUpdate', 'id', id);
2171
+ // verify required parameter 'db' is not null or undefined
2172
+ (0, common_1.assertParamExists)('mongoUpdate', 'db', db);
2173
+ // verify required parameter 'col' is not null or undefined
2174
+ (0, common_1.assertParamExists)('mongoUpdate', 'col', col);
2175
+ // verify required parameter 'mongoUpdateRequest' is not null or undefined
2176
+ (0, common_1.assertParamExists)('mongoUpdate', 'mongoUpdateRequest', mongoUpdateRequest);
2177
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/mongodb/databases/{db}/collections/{col}/update`
2178
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
2179
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
2180
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)))
2181
+ .replace(`{${"db"}}`, encodeURIComponent(String(db)))
2182
+ .replace(`{${"col"}}`, encodeURIComponent(String(col)));
2183
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2184
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2185
+ let baseOptions;
2186
+ if (configuration) {
2187
+ baseOptions = configuration.baseOptions;
2188
+ }
2189
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
2190
+ const localVarHeaderParameter = {};
2191
+ const localVarQueryParameter = {};
2192
+ // authentication BearerToken required
2193
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
2194
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2195
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2196
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2197
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2198
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(mongoUpdateRequest, localVarRequestOptions, configuration);
2199
+ return {
2200
+ url: (0, common_1.toPathString)(localVarUrlObj),
2201
+ options: localVarRequestOptions,
2202
+ };
2203
+ },
2204
+ /**
2205
+ *
2206
+ * @summary create a SQL query
2207
+ * @param {string} orgName name of the Org
2208
+ * @param {string} clusterName name of the cluster
2209
+ * @param {string} id id of the datasource
2210
+ * @param {DmsQueryRequest} dmsQueryRequest
2211
+ * @param {*} [options] Override http request option.
2212
+ * @throws {RequiredError}
2213
+ */
2214
+ query: async (orgName, clusterName, id, dmsQueryRequest, options = {}) => {
2215
+ // verify required parameter 'orgName' is not null or undefined
2216
+ (0, common_1.assertParamExists)('query', 'orgName', orgName);
2217
+ // verify required parameter 'clusterName' is not null or undefined
2218
+ (0, common_1.assertParamExists)('query', 'clusterName', clusterName);
2219
+ // verify required parameter 'id' is not null or undefined
2220
+ (0, common_1.assertParamExists)('query', 'id', id);
2221
+ // verify required parameter 'dmsQueryRequest' is not null or undefined
2222
+ (0, common_1.assertParamExists)('query', 'dmsQueryRequest', dmsQueryRequest);
2223
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/query`
2224
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
2225
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
2226
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
2227
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2228
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2229
+ let baseOptions;
2230
+ if (configuration) {
2231
+ baseOptions = configuration.baseOptions;
2232
+ }
2233
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
2234
+ const localVarHeaderParameter = {};
2235
+ const localVarQueryParameter = {};
2236
+ // authentication BearerToken required
2237
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
2238
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2239
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2240
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2241
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2242
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dmsQueryRequest, localVarRequestOptions, configuration);
2243
+ return {
2244
+ url: (0, common_1.toPathString)(localVarUrlObj),
2245
+ options: localVarRequestOptions,
2246
+ };
2247
+ },
2248
+ /**
2249
+ *
2250
+ * @summary read data of table or view
2251
+ * @param {string} orgName name of the Org
2252
+ * @param {string} clusterName name of the cluster
2253
+ * @param {string} id id of the datasource
2254
+ * @param {ShowDataRequest} showDataRequest
2255
+ * @param {*} [options] Override http request option.
2256
+ * @throws {RequiredError}
2257
+ */
2258
+ showData: async (orgName, clusterName, id, showDataRequest, options = {}) => {
2259
+ // verify required parameter 'orgName' is not null or undefined
2260
+ (0, common_1.assertParamExists)('showData', 'orgName', orgName);
2261
+ // verify required parameter 'clusterName' is not null or undefined
2262
+ (0, common_1.assertParamExists)('showData', 'clusterName', clusterName);
2263
+ // verify required parameter 'id' is not null or undefined
2264
+ (0, common_1.assertParamExists)('showData', 'id', id);
2265
+ // verify required parameter 'showDataRequest' is not null or undefined
2266
+ (0, common_1.assertParamExists)('showData', 'showDataRequest', showDataRequest);
2267
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/showData`
2268
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
2269
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
2270
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
2271
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2272
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2273
+ let baseOptions;
2274
+ if (configuration) {
2275
+ baseOptions = configuration.baseOptions;
2276
+ }
2277
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
2278
+ const localVarHeaderParameter = {};
2279
+ const localVarQueryParameter = {};
2280
+ // authentication BearerToken required
2281
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
2282
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2283
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2284
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2285
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2286
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(showDataRequest, localVarRequestOptions, configuration);
2287
+ return {
2288
+ url: (0, common_1.toPathString)(localVarUrlObj),
2289
+ options: localVarRequestOptions,
2290
+ };
2291
+ },
2292
+ /**
2293
+ *
2294
+ * @summary explain a SQL
2295
+ * @param {string} orgName name of the Org
2296
+ * @param {string} clusterName name of the cluster
2297
+ * @param {string} id id of the datasource
2298
+ * @param {DmsExplainRequest} dmsExplainRequest
2299
+ * @param {*} [options] Override http request option.
2300
+ * @throws {RequiredError}
2301
+ */
2302
+ sqlExplain: async (orgName, clusterName, id, dmsExplainRequest, options = {}) => {
2303
+ // verify required parameter 'orgName' is not null or undefined
2304
+ (0, common_1.assertParamExists)('sqlExplain', 'orgName', orgName);
2305
+ // verify required parameter 'clusterName' is not null or undefined
2306
+ (0, common_1.assertParamExists)('sqlExplain', 'clusterName', clusterName);
2307
+ // verify required parameter 'id' is not null or undefined
2308
+ (0, common_1.assertParamExists)('sqlExplain', 'id', id);
2309
+ // verify required parameter 'dmsExplainRequest' is not null or undefined
2310
+ (0, common_1.assertParamExists)('sqlExplain', 'dmsExplainRequest', dmsExplainRequest);
2311
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/sqlExplain`
2312
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
2313
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
2314
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
2315
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2316
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2317
+ let baseOptions;
2318
+ if (configuration) {
2319
+ baseOptions = configuration.baseOptions;
2320
+ }
2321
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
2322
+ const localVarHeaderParameter = {};
2323
+ const localVarQueryParameter = {};
2324
+ // authentication BearerToken required
2325
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
2326
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2327
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2328
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2329
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2330
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dmsExplainRequest, localVarRequestOptions, configuration);
2331
+ return {
2332
+ url: (0, common_1.toPathString)(localVarUrlObj),
2333
+ options: localVarRequestOptions,
2334
+ };
2335
+ },
2336
+ /**
2337
+ *
2338
+ * @summary List parameters history of the Oceanbase tenant
2339
+ * @param {string} orgName name of the Org
2340
+ * @param {string} clusterName name of the cluster
2341
+ * @param {string} tenantId id of the tenant
2342
+ * @param {string} [parameterName] name of the parameter
2343
+ * @param {*} [options] Override http request option.
2344
+ * @throws {RequiredError}
2345
+ */
2346
+ tenantParameterHistory: async (orgName, clusterName, tenantId, parameterName, options = {}) => {
2347
+ // verify required parameter 'orgName' is not null or undefined
2348
+ (0, common_1.assertParamExists)('tenantParameterHistory', 'orgName', orgName);
2349
+ // verify required parameter 'clusterName' is not null or undefined
2350
+ (0, common_1.assertParamExists)('tenantParameterHistory', 'clusterName', clusterName);
2351
+ // verify required parameter 'tenantId' is not null or undefined
2352
+ (0, common_1.assertParamExists)('tenantParameterHistory', 'tenantId', tenantId);
2353
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/tenant/{tenantId}/parameterHistory`
2354
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
2355
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
2356
+ .replace(`{${"tenantId"}}`, encodeURIComponent(String(tenantId)));
2357
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2358
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2359
+ let baseOptions;
2360
+ if (configuration) {
2361
+ baseOptions = configuration.baseOptions;
2362
+ }
2363
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2364
+ const localVarHeaderParameter = {};
2365
+ const localVarQueryParameter = {};
2366
+ // authentication BearerToken required
2367
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
2368
+ if (parameterName !== undefined) {
2369
+ localVarQueryParameter['parameterName'] = parameterName;
2370
+ }
2371
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2372
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2373
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2374
+ return {
2375
+ url: (0, common_1.toPathString)(localVarUrlObj),
2376
+ options: localVarRequestOptions,
2377
+ };
2378
+ },
2379
+ /**
2380
+ *
2381
+ * @summary test the datasource
2382
+ * @param {string} orgName name of the Org
2383
+ * @param {string} clusterName name of the cluster
2384
+ * @param {Datasource} datasource
2385
+ * @param {*} [options] Override http request option.
2386
+ * @throws {RequiredError}
2387
+ */
2388
+ testDataSourceV2: async (orgName, clusterName, datasource, options = {}) => {
2389
+ // verify required parameter 'orgName' is not null or undefined
2390
+ (0, common_1.assertParamExists)('testDataSourceV2', 'orgName', orgName);
2391
+ // verify required parameter 'clusterName' is not null or undefined
2392
+ (0, common_1.assertParamExists)('testDataSourceV2', 'clusterName', clusterName);
2393
+ // verify required parameter 'datasource' is not null or undefined
2394
+ (0, common_1.assertParamExists)('testDataSourceV2', 'datasource', datasource);
2395
+ const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/testDS`
2396
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
2397
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
2398
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2399
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2400
+ let baseOptions;
2401
+ if (configuration) {
2402
+ baseOptions = configuration.baseOptions;
2403
+ }
2404
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
2405
+ const localVarHeaderParameter = {};
2406
+ const localVarQueryParameter = {};
2407
+ // authentication BearerToken required
2408
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "authorization", configuration);
2409
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2410
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2411
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2412
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2413
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(datasource, localVarRequestOptions, configuration);
2414
+ return {
2415
+ url: (0, common_1.toPathString)(localVarUrlObj),
2416
+ options: localVarRequestOptions,
2417
+ };
2418
+ },
2419
+ /**
2420
+ *
2421
+ * @summary update the datasource
1127
2422
  * @param {string} orgName name of the Org
1128
2423
  * @param {string} clusterName name of the cluster
1129
2424
  * @param {Datasource} datasource
@@ -1173,353 +2468,843 @@ const DmsApiFp = function (configuration) {
1173
2468
  return {
1174
2469
  /**
1175
2470
  *
1176
- * @summary alter cluster parameter
2471
+ * @summary alter cluster parameter
2472
+ * @param {string} orgName name of the Org
2473
+ * @param {string} clusterName name of the cluster
2474
+ * @param {string} tenantId
2475
+ * @param {DmsObAlterParameter} dmsObAlterParameter
2476
+ * @param {*} [options] Override http request option.
2477
+ * @throws {RequiredError}
2478
+ */
2479
+ async alterParameter(orgName, clusterName, tenantId, dmsObAlterParameter, options) {
2480
+ var _a, _b, _c;
2481
+ const localVarAxiosArgs = await localVarAxiosParamCreator.alterParameter(orgName, clusterName, tenantId, dmsObAlterParameter, options);
2482
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2483
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.alterParameter']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2484
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2485
+ },
2486
+ /**
2487
+ *
2488
+ * @summary close the session for the cluster
2489
+ * @param {string} orgName name of the Org
2490
+ * @param {string} clusterName name of the cluster
2491
+ * @param {string} session name of the storage volume
2492
+ * @param {string} [keep] whether only close the query and keep the session
2493
+ * @param {*} [options] Override http request option.
2494
+ * @deprecated
2495
+ * @throws {RequiredError}
2496
+ */
2497
+ async closeSessions(orgName, clusterName, session, keep, options) {
2498
+ var _a, _b, _c;
2499
+ const localVarAxiosArgs = await localVarAxiosParamCreator.closeSessions(orgName, clusterName, session, keep, options);
2500
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2501
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.closeSessions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2502
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2503
+ },
2504
+ /**
2505
+ *
2506
+ * @summary create the datasource
2507
+ * @param {string} orgName name of the Org
2508
+ * @param {string} clusterName name of the cluster
2509
+ * @param {Datasource} datasource
2510
+ * @param {*} [options] Override http request option.
2511
+ * @throws {RequiredError}
2512
+ */
2513
+ async createDataSourceV2(orgName, clusterName, datasource, options) {
2514
+ var _a, _b, _c;
2515
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createDataSourceV2(orgName, clusterName, datasource, options);
2516
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2517
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.createDataSourceV2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2518
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2519
+ },
2520
+ /**
2521
+ *
2522
+ * @summary Data Export
2523
+ * @param {string} orgName name of the Org
2524
+ * @param {string} clusterName name of the cluster
2525
+ * @param {string} id id of the datasource
2526
+ * @param {DmsExportRequest} [dmsExportRequest]
2527
+ * @param {*} [options] Override http request option.
2528
+ * @throws {RequiredError}
2529
+ */
2530
+ async dataExport(orgName, clusterName, id, dmsExportRequest, options) {
2531
+ var _a, _b, _c;
2532
+ const localVarAxiosArgs = await localVarAxiosParamCreator.dataExport(orgName, clusterName, id, dmsExportRequest, options);
2533
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2534
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.dataExport']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2535
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2536
+ },
2537
+ /**
2538
+ *
2539
+ * @summary Data Import
2540
+ * @param {string} orgName name of the Org
2541
+ * @param {string} clusterName name of the cluster
2542
+ * @param {string} id id of the datasource
2543
+ * @param {DmsImportRequest} dmsImportRequest
2544
+ * @param {*} [options] Override http request option.
2545
+ * @throws {RequiredError}
2546
+ */
2547
+ async dataImport(orgName, clusterName, id, dmsImportRequest, options) {
2548
+ var _a, _b, _c;
2549
+ const localVarAxiosArgs = await localVarAxiosParamCreator.dataImport(orgName, clusterName, id, dmsImportRequest, options);
2550
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2551
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.dataImport']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2552
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2553
+ },
2554
+ /**
2555
+ *
2556
+ * @summary delete the datasource
2557
+ * @param {string} orgName name of the Org
2558
+ * @param {string} clusterName name of the cluster
2559
+ * @param {string} id id of the datasource
2560
+ * @param {*} [options] Override http request option.
2561
+ * @throws {RequiredError}
2562
+ */
2563
+ async deleteDataSourceV2(orgName, clusterName, id, options) {
2564
+ var _a, _b, _c;
2565
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDataSourceV2(orgName, clusterName, id, options);
2566
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2567
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.deleteDataSourceV2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2568
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2569
+ },
2570
+ /**
2571
+ * disable console
2572
+ * @summary disable console
2573
+ * @param {string} engineName name of the engine
2574
+ * @param {string} orgName name of the Org
2575
+ * @param {string} clusterName name of the cluster
2576
+ * @param {*} [options] Override http request option.
2577
+ * @throws {RequiredError}
2578
+ */
2579
+ async disableConsole(engineName, orgName, clusterName, options) {
2580
+ var _a, _b, _c;
2581
+ const localVarAxiosArgs = await localVarAxiosParamCreator.disableConsole(engineName, orgName, clusterName, options);
2582
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2583
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.disableConsole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2584
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2585
+ },
2586
+ /**
2587
+ *
2588
+ * @summary drop a MongoDB collection or view
2589
+ * @param {string} orgName name of the Org
2590
+ * @param {string} clusterName name of the cluster
2591
+ * @param {string} id id of the datasource
2592
+ * @param {string} db database name
2593
+ * @param {string} col collection or view name
2594
+ * @param {*} [options] Override http request option.
2595
+ * @throws {RequiredError}
2596
+ */
2597
+ async dropMongoCollection(orgName, clusterName, id, db, col, options) {
2598
+ var _a, _b, _c;
2599
+ const localVarAxiosArgs = await localVarAxiosParamCreator.dropMongoCollection(orgName, clusterName, id, db, col, options);
2600
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2601
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.dropMongoCollection']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2602
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2603
+ },
2604
+ /**
2605
+ * enable console
2606
+ * @summary enable console
2607
+ * @param {string} engineName name of the engine
2608
+ * @param {string} orgName name of the Org
2609
+ * @param {string} clusterName name of the cluster
2610
+ * @param {DMSConsoleEnableOpt} [dMSConsoleEnableOpt]
2611
+ * @param {*} [options] Override http request option.
2612
+ * @throws {RequiredError}
2613
+ */
2614
+ async enableConsole(engineName, orgName, clusterName, dMSConsoleEnableOpt, options) {
2615
+ var _a, _b, _c;
2616
+ const localVarAxiosArgs = await localVarAxiosParamCreator.enableConsole(engineName, orgName, clusterName, dMSConsoleEnableOpt, options);
2617
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2618
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.enableConsole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2619
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2620
+ },
2621
+ /**
2622
+ *
2623
+ * @summary support ddl and dml operations
2624
+ * @param {string} orgName name of the Org
2625
+ * @param {string} clusterName name of the cluster
2626
+ * @param {string} id id of the datasource
2627
+ * @param {DmsGenerateDDLRequest} [dmsGenerateDDLRequest]
2628
+ * @param {*} [options] Override http request option.
2629
+ * @throws {RequiredError}
2630
+ */
2631
+ async generateDDL(orgName, clusterName, id, dmsGenerateDDLRequest, options) {
2632
+ var _a, _b, _c;
2633
+ const localVarAxiosArgs = await localVarAxiosParamCreator.generateDDL(orgName, clusterName, id, dmsGenerateDDLRequest, options);
2634
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2635
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.generateDDL']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2636
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2637
+ },
2638
+ /**
2639
+ *
2640
+ * @summary get the datasource
2641
+ * @param {string} orgName name of the Org
2642
+ * @param {string} clusterName name of the cluster
2643
+ * @param {string} id id of the datasource
2644
+ * @param {*} [options] Override http request option.
2645
+ * @throws {RequiredError}
2646
+ */
2647
+ async getDataSourceV2(orgName, clusterName, id, options) {
2648
+ var _a, _b, _c;
2649
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDataSourceV2(orgName, clusterName, id, options);
2650
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2651
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.getDataSourceV2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2652
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2653
+ },
2654
+ /**
2655
+ * get engine available console
2656
+ * @summary get engine available console
2657
+ * @param {string} engineName name of the engine
2658
+ * @param {string} orgName name of the Org
2659
+ * @param {string} clusterName name of the cluster
2660
+ * @param {*} [options] Override http request option.
2661
+ * @throws {RequiredError}
2662
+ */
2663
+ async getEngineAvailableConsole(engineName, orgName, clusterName, options) {
2664
+ var _a, _b, _c;
2665
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getEngineAvailableConsole(engineName, orgName, clusterName, options);
2666
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2667
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.getEngineAvailableConsole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2668
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2669
+ },
2670
+ /**
2671
+ *
2672
+ * @summary get MongoDB collection stats
2673
+ * @param {string} orgName name of the Org
2674
+ * @param {string} clusterName name of the cluster
2675
+ * @param {string} id id of the datasource
2676
+ * @param {string} db database name
2677
+ * @param {string} col collection name
2678
+ * @param {*} [options] Override http request option.
2679
+ * @throws {RequiredError}
2680
+ */
2681
+ async getMongoCollection(orgName, clusterName, id, db, col, options) {
2682
+ var _a, _b, _c;
2683
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getMongoCollection(orgName, clusterName, id, db, col, options);
2684
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2685
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.getMongoCollection']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2686
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2687
+ },
2688
+ /**
2689
+ *
2690
+ * @summary get the detail object info
1177
2691
  * @param {string} orgName name of the Org
1178
2692
  * @param {string} clusterName name of the cluster
1179
- * @param {string} tenantId
1180
- * @param {DmsObAlterParameter} dmsObAlterParameter
2693
+ * @param {string} id id of the datasource
2694
+ * @param {string} schema schema or database name
2695
+ * @param {string} type object type
2696
+ * @param {string} objectName object name
2697
+ * @param {string} [database] database name, used by engines such as MSSQL when reading object metadata inside a schema
1181
2698
  * @param {*} [options] Override http request option.
1182
2699
  * @throws {RequiredError}
1183
2700
  */
1184
- async alterParameter(orgName, clusterName, tenantId, dmsObAlterParameter, options) {
2701
+ async getObjectInfo(orgName, clusterName, id, schema, type, objectName, database, options) {
1185
2702
  var _a, _b, _c;
1186
- const localVarAxiosArgs = await localVarAxiosParamCreator.alterParameter(orgName, clusterName, tenantId, dmsObAlterParameter, options);
2703
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getObjectInfo(orgName, clusterName, id, schema, type, objectName, database, options);
1187
2704
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1188
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.alterParameter']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2705
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.getObjectInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1189
2706
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1190
2707
  },
1191
2708
  /**
1192
2709
  *
1193
- * @summary close the session for the cluster
2710
+ * @summary list all databases or schema of the cluster
1194
2711
  * @param {string} orgName name of the Org
1195
2712
  * @param {string} clusterName name of the cluster
1196
- * @param {string} session name of the storage volume
1197
- * @param {string} [keep] whether only close the query and keep the session
2713
+ * @param {string} id id of the datasource
2714
+ * @param {string} [database] database name, used by engines such as MSSQL when listing schemas inside a database
1198
2715
  * @param {*} [options] Override http request option.
1199
- * @deprecated
1200
2716
  * @throws {RequiredError}
1201
2717
  */
1202
- async closeSessions(orgName, clusterName, session, keep, options) {
2718
+ async getSchemaList(orgName, clusterName, id, database, options) {
1203
2719
  var _a, _b, _c;
1204
- const localVarAxiosArgs = await localVarAxiosParamCreator.closeSessions(orgName, clusterName, session, keep, options);
2720
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getSchemaList(orgName, clusterName, id, database, options);
1205
2721
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1206
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.closeSessions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2722
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.getSchemaList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1207
2723
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1208
2724
  },
1209
2725
  /**
1210
2726
  *
1211
- * @summary create the datasource
2727
+ * @summary Get the task list
1212
2728
  * @param {string} orgName name of the Org
1213
2729
  * @param {string} clusterName name of the cluster
1214
- * @param {Datasource} datasource
2730
+ * @param {string} id id of the datasource
1215
2731
  * @param {*} [options] Override http request option.
1216
2732
  * @throws {RequiredError}
1217
2733
  */
1218
- async createDataSourceV2(orgName, clusterName, datasource, options) {
2734
+ async getTaskList(orgName, clusterName, id, options) {
1219
2735
  var _a, _b, _c;
1220
- const localVarAxiosArgs = await localVarAxiosParamCreator.createDataSourceV2(orgName, clusterName, datasource, options);
2736
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getTaskList(orgName, clusterName, id, options);
1221
2737
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1222
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.createDataSourceV2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2738
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.getTaskList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1223
2739
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1224
2740
  },
1225
2741
  /**
1226
2742
  *
1227
- * @summary Data Export
2743
+ * @summary Get the task progress
1228
2744
  * @param {string} orgName name of the Org
1229
2745
  * @param {string} clusterName name of the cluster
1230
2746
  * @param {string} id id of the datasource
1231
- * @param {DmsExportRequest} [dmsExportRequest]
2747
+ * @param {string} taskId the task id
1232
2748
  * @param {*} [options] Override http request option.
1233
2749
  * @throws {RequiredError}
1234
2750
  */
1235
- async dataExport(orgName, clusterName, id, dmsExportRequest, options) {
2751
+ async getTaskProgress(orgName, clusterName, id, taskId, options) {
1236
2752
  var _a, _b, _c;
1237
- const localVarAxiosArgs = await localVarAxiosParamCreator.dataExport(orgName, clusterName, id, dmsExportRequest, options);
2753
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getTaskProgress(orgName, clusterName, id, taskId, options);
1238
2754
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1239
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.dataExport']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2755
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.getTaskProgress']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1240
2756
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1241
2757
  },
1242
2758
  /**
1243
2759
  *
1244
- * @summary Data Import
2760
+ * @summary list the datasource of a cluster
2761
+ * @param {string} orgName name of the Org
2762
+ * @param {string} clusterName name of the cluster
2763
+ * @param {*} [options] Override http request option.
2764
+ * @throws {RequiredError}
2765
+ */
2766
+ async listDataSourceV2(orgName, clusterName, options) {
2767
+ var _a, _b, _c;
2768
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listDataSourceV2(orgName, clusterName, options);
2769
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2770
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.listDataSourceV2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2771
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2772
+ },
2773
+ /**
2774
+ *
2775
+ * @summary list all databases of the datasource
1245
2776
  * @param {string} orgName name of the Org
1246
2777
  * @param {string} clusterName name of the cluster
1247
2778
  * @param {string} id id of the datasource
1248
- * @param {DmsImportRequest} dmsImportRequest
1249
2779
  * @param {*} [options] Override http request option.
1250
2780
  * @throws {RequiredError}
1251
2781
  */
1252
- async dataImport(orgName, clusterName, id, dmsImportRequest, options) {
2782
+ async listDmsDatabases(orgName, clusterName, id, options) {
1253
2783
  var _a, _b, _c;
1254
- const localVarAxiosArgs = await localVarAxiosParamCreator.dataImport(orgName, clusterName, id, dmsImportRequest, options);
2784
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listDmsDatabases(orgName, clusterName, id, options);
1255
2785
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1256
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.dataImport']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2786
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.listDmsDatabases']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1257
2787
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1258
2788
  },
1259
2789
  /**
1260
2790
  *
1261
- * @summary delete the datasource
2791
+ * @summary list collections in a MongoDB database
1262
2792
  * @param {string} orgName name of the Org
1263
2793
  * @param {string} clusterName name of the cluster
1264
2794
  * @param {string} id id of the datasource
2795
+ * @param {string} db database name
1265
2796
  * @param {*} [options] Override http request option.
1266
2797
  * @throws {RequiredError}
1267
2798
  */
1268
- async deleteDataSourceV2(orgName, clusterName, id, options) {
2799
+ async listMongoCollections(orgName, clusterName, id, db, options) {
1269
2800
  var _a, _b, _c;
1270
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDataSourceV2(orgName, clusterName, id, options);
2801
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listMongoCollections(orgName, clusterName, id, db, options);
1271
2802
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1272
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.deleteDataSourceV2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2803
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.listMongoCollections']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1273
2804
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1274
2805
  },
1275
2806
  /**
1276
- * disable console
1277
- * @summary disable console
1278
- * @param {string} engineName name of the engine
2807
+ *
2808
+ * @summary list MongoDB database metadata
1279
2809
  * @param {string} orgName name of the Org
1280
2810
  * @param {string} clusterName name of the cluster
2811
+ * @param {string} id id of the datasource
1281
2812
  * @param {*} [options] Override http request option.
1282
2813
  * @throws {RequiredError}
1283
2814
  */
1284
- async disableConsole(engineName, orgName, clusterName, options) {
2815
+ async listMongoDatabaseMetadata(orgName, clusterName, id, options) {
1285
2816
  var _a, _b, _c;
1286
- const localVarAxiosArgs = await localVarAxiosParamCreator.disableConsole(engineName, orgName, clusterName, options);
2817
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listMongoDatabaseMetadata(orgName, clusterName, id, options);
1287
2818
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1288
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.disableConsole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2819
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.listMongoDatabaseMetadata']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1289
2820
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1290
2821
  },
1291
2822
  /**
1292
- * enable console
1293
- * @summary enable console
1294
- * @param {string} engineName name of the engine
2823
+ *
2824
+ * @summary list MongoDB databases
1295
2825
  * @param {string} orgName name of the Org
1296
2826
  * @param {string} clusterName name of the cluster
1297
- * @param {DMSConsoleEnableOpt} [dMSConsoleEnableOpt]
2827
+ * @param {string} id id of the datasource
1298
2828
  * @param {*} [options] Override http request option.
1299
2829
  * @throws {RequiredError}
1300
2830
  */
1301
- async enableConsole(engineName, orgName, clusterName, dMSConsoleEnableOpt, options) {
2831
+ async listMongoDatabases(orgName, clusterName, id, options) {
1302
2832
  var _a, _b, _c;
1303
- const localVarAxiosArgs = await localVarAxiosParamCreator.enableConsole(engineName, orgName, clusterName, dMSConsoleEnableOpt, options);
2833
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listMongoDatabases(orgName, clusterName, id, options);
1304
2834
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1305
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.enableConsole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2835
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.listMongoDatabases']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1306
2836
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1307
2837
  },
1308
2838
  /**
1309
2839
  *
1310
- * @summary support ddl and dml operations
2840
+ * @summary list the all name for the specified object type
1311
2841
  * @param {string} orgName name of the Org
1312
2842
  * @param {string} clusterName name of the cluster
1313
2843
  * @param {string} id id of the datasource
1314
- * @param {DmsGenerateDDLRequest} [dmsGenerateDDLRequest]
2844
+ * @param {string} schema schema or database name
2845
+ * @param {string} type object type
2846
+ * @param {string} [database] database name, used by engines such as MSSQL when listing object names inside a schema
1315
2847
  * @param {*} [options] Override http request option.
1316
2848
  * @throws {RequiredError}
1317
2849
  */
1318
- async generateDDL(orgName, clusterName, id, dmsGenerateDDLRequest, options) {
2850
+ async listObjectNamesByType(orgName, clusterName, id, schema, type, database, options) {
1319
2851
  var _a, _b, _c;
1320
- const localVarAxiosArgs = await localVarAxiosParamCreator.generateDDL(orgName, clusterName, id, dmsGenerateDDLRequest, options);
2852
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listObjectNamesByType(orgName, clusterName, id, schema, type, database, options);
1321
2853
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1322
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.generateDDL']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2854
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.listObjectNamesByType']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1323
2855
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1324
2856
  },
1325
2857
  /**
1326
2858
  *
1327
- * @summary get the datasource
2859
+ * @summary list the type and number of database objects in the specified database or schema
1328
2860
  * @param {string} orgName name of the Org
1329
2861
  * @param {string} clusterName name of the cluster
1330
2862
  * @param {string} id id of the datasource
2863
+ * @param {string} schema schema or database name
2864
+ * @param {string} [database] database name, used by engines such as MSSQL when listing objects inside a schema
1331
2865
  * @param {*} [options] Override http request option.
1332
2866
  * @throws {RequiredError}
1333
2867
  */
1334
- async getDataSourceV2(orgName, clusterName, id, options) {
2868
+ async listObjectTypesInSchema(orgName, clusterName, id, schema, database, options) {
1335
2869
  var _a, _b, _c;
1336
- const localVarAxiosArgs = await localVarAxiosParamCreator.getDataSourceV2(orgName, clusterName, id, options);
2870
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listObjectTypesInSchema(orgName, clusterName, id, schema, database, options);
1337
2871
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1338
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.getDataSourceV2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2872
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.listObjectTypesInSchema']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1339
2873
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1340
2874
  },
1341
2875
  /**
1342
- * get engine available console
1343
- * @summary get engine available console
1344
- * @param {string} engineName name of the engine
2876
+ *
2877
+ * @summary list cluster parameters
1345
2878
  * @param {string} orgName name of the Org
1346
2879
  * @param {string} clusterName name of the cluster
2880
+ * @param {string} tenantId
2881
+ * @param {string} mode
1347
2882
  * @param {*} [options] Override http request option.
1348
2883
  * @throws {RequiredError}
1349
2884
  */
1350
- async getEngineAvailableConsole(engineName, orgName, clusterName, options) {
2885
+ async listParameters(orgName, clusterName, tenantId, mode, options) {
1351
2886
  var _a, _b, _c;
1352
- const localVarAxiosArgs = await localVarAxiosParamCreator.getEngineAvailableConsole(engineName, orgName, clusterName, options);
2887
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listParameters(orgName, clusterName, tenantId, mode, options);
1353
2888
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1354
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.getEngineAvailableConsole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2889
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.listParameters']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1355
2890
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1356
2891
  },
1357
2892
  /**
1358
2893
  *
1359
- * @summary get the detail object info
2894
+ * @summary list the query History
1360
2895
  * @param {string} orgName name of the Org
1361
2896
  * @param {string} clusterName name of the cluster
1362
2897
  * @param {string} id id of the datasource
1363
- * @param {string} schema schema or database name
1364
- * @param {string} type object type
1365
- * @param {string} objectName object name
2898
+ * @param {number} [limit] maximum history records to return, default and max 100
1366
2899
  * @param {*} [options] Override http request option.
1367
2900
  * @throws {RequiredError}
1368
2901
  */
1369
- async getObjectInfo(orgName, clusterName, id, schema, type, objectName, options) {
2902
+ async listQueryHistory(orgName, clusterName, id, limit, options) {
1370
2903
  var _a, _b, _c;
1371
- const localVarAxiosArgs = await localVarAxiosParamCreator.getObjectInfo(orgName, clusterName, id, schema, type, objectName, options);
2904
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listQueryHistory(orgName, clusterName, id, limit, options);
1372
2905
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1373
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.getObjectInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2906
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.listQueryHistory']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1374
2907
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1375
2908
  },
1376
2909
  /**
1377
2910
  *
1378
- * @summary list all databases or schema of the cluster
2911
+ * @summary list all session for the cluster
1379
2912
  * @param {string} orgName name of the Org
1380
2913
  * @param {string} clusterName name of the cluster
1381
- * @param {string} id id of the datasource
2914
+ * @param {string} [all] whether list all session includes sleep
1382
2915
  * @param {*} [options] Override http request option.
2916
+ * @deprecated
1383
2917
  * @throws {RequiredError}
1384
2918
  */
1385
- async getSchemaList(orgName, clusterName, id, options) {
2919
+ async listSessionsOld(orgName, clusterName, all, options) {
1386
2920
  var _a, _b, _c;
1387
- const localVarAxiosArgs = await localVarAxiosParamCreator.getSchemaList(orgName, clusterName, id, options);
2921
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listSessionsOld(orgName, clusterName, all, options);
1388
2922
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1389
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.getSchemaList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2923
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.listSessionsOld']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1390
2924
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1391
2925
  },
1392
2926
  /**
1393
2927
  *
1394
- * @summary Get the task list
2928
+ * @summary run MongoDB aggregation pipeline preview
2929
+ * @param {string} orgName
2930
+ * @param {string} clusterName
2931
+ * @param {string} id
2932
+ * @param {string} db
2933
+ * @param {string} col
2934
+ * @param {MongoAggregateRequest} mongoAggregateRequest
2935
+ * @param {*} [options] Override http request option.
2936
+ * @throws {RequiredError}
2937
+ */
2938
+ async mongoAggregate(orgName, clusterName, id, db, col, mongoAggregateRequest, options) {
2939
+ var _a, _b, _c;
2940
+ const localVarAxiosArgs = await localVarAxiosParamCreator.mongoAggregate(orgName, clusterName, id, db, col, mongoAggregateRequest, options);
2941
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2942
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.mongoAggregate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2943
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2944
+ },
2945
+ /**
2946
+ *
2947
+ * @summary analyze MongoDB collection schema from sample documents
2948
+ * @param {string} orgName
2949
+ * @param {string} clusterName
2950
+ * @param {string} id
2951
+ * @param {string} db
2952
+ * @param {string} col
2953
+ * @param {number} [sample]
2954
+ * @param {*} [options] Override http request option.
2955
+ * @throws {RequiredError}
2956
+ */
2957
+ async mongoAnalyzeSchema(orgName, clusterName, id, db, col, sample, options) {
2958
+ var _a, _b, _c;
2959
+ const localVarAxiosArgs = await localVarAxiosParamCreator.mongoAnalyzeSchema(orgName, clusterName, id, db, col, sample, options);
2960
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2961
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.mongoAnalyzeSchema']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2962
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2963
+ },
2964
+ /**
2965
+ *
2966
+ * @summary close MongoDB mongosh runtime session
2967
+ * @param {string} orgName
2968
+ * @param {string} clusterName
2969
+ * @param {string} id
2970
+ * @param {string} sessionID
2971
+ * @param {*} [options] Override http request option.
2972
+ * @throws {RequiredError}
2973
+ */
2974
+ async mongoCloseShellSession(orgName, clusterName, id, sessionID, options) {
2975
+ var _a, _b, _c;
2976
+ const localVarAxiosArgs = await localVarAxiosParamCreator.mongoCloseShellSession(orgName, clusterName, id, sessionID, options);
2977
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2978
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.mongoCloseShellSession']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2979
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2980
+ },
2981
+ /**
2982
+ *
2983
+ * @summary get completions for a MongoDB mongosh session
2984
+ * @param {string} orgName
2985
+ * @param {string} clusterName
2986
+ * @param {string} id
2987
+ * @param {string} sessionID
2988
+ * @param {MongoShellCompletionsRequest} mongoShellCompletionsRequest
2989
+ * @param {*} [options] Override http request option.
2990
+ * @throws {RequiredError}
2991
+ */
2992
+ async mongoCompleteShell(orgName, clusterName, id, sessionID, mongoShellCompletionsRequest, options) {
2993
+ var _a, _b, _c;
2994
+ const localVarAxiosArgs = await localVarAxiosParamCreator.mongoCompleteShell(orgName, clusterName, id, sessionID, mongoShellCompletionsRequest, options);
2995
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2996
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.mongoCompleteShell']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2997
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2998
+ },
2999
+ /**
3000
+ * Creates a collection. Creating the first collection in a database is the supported Create Database backend semantic.
3001
+ * @summary create MongoDB collection
1395
3002
  * @param {string} orgName name of the Org
1396
3003
  * @param {string} clusterName name of the cluster
1397
3004
  * @param {string} id id of the datasource
3005
+ * @param {string} db database name
3006
+ * @param {string} col initial collection name
3007
+ * @param {MongoCreateCollectionRequest} [mongoCreateCollectionRequest]
1398
3008
  * @param {*} [options] Override http request option.
1399
3009
  * @throws {RequiredError}
1400
3010
  */
1401
- async getTaskList(orgName, clusterName, id, options) {
3011
+ async mongoCreateCollection(orgName, clusterName, id, db, col, mongoCreateCollectionRequest, options) {
1402
3012
  var _a, _b, _c;
1403
- const localVarAxiosArgs = await localVarAxiosParamCreator.getTaskList(orgName, clusterName, id, options);
3013
+ const localVarAxiosArgs = await localVarAxiosParamCreator.mongoCreateCollection(orgName, clusterName, id, db, col, mongoCreateCollectionRequest, options);
1404
3014
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1405
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.getTaskList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3015
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.mongoCreateCollection']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1406
3016
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1407
3017
  },
1408
3018
  /**
1409
3019
  *
1410
- * @summary Get the task progress
3020
+ * @summary create MongoDB collection index
3021
+ * @param {string} orgName
3022
+ * @param {string} clusterName
3023
+ * @param {string} id
3024
+ * @param {string} db
3025
+ * @param {string} col
3026
+ * @param {MongoCreateIndexRequest} mongoCreateIndexRequest
3027
+ * @param {*} [options] Override http request option.
3028
+ * @throws {RequiredError}
3029
+ */
3030
+ async mongoCreateIndex(orgName, clusterName, id, db, col, mongoCreateIndexRequest, options) {
3031
+ var _a, _b, _c;
3032
+ const localVarAxiosArgs = await localVarAxiosParamCreator.mongoCreateIndex(orgName, clusterName, id, db, col, mongoCreateIndexRequest, options);
3033
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3034
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.mongoCreateIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3035
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3036
+ },
3037
+ /**
3038
+ *
3039
+ * @summary create MongoDB mongosh runtime session
1411
3040
  * @param {string} orgName name of the Org
1412
3041
  * @param {string} clusterName name of the cluster
1413
3042
  * @param {string} id id of the datasource
1414
- * @param {string} taskId the task id
3043
+ * @param {MongoShellCreateSessionRequest} [mongoShellCreateSessionRequest]
1415
3044
  * @param {*} [options] Override http request option.
1416
3045
  * @throws {RequiredError}
1417
3046
  */
1418
- async getTaskProgress(orgName, clusterName, id, taskId, options) {
3047
+ async mongoCreateShellSession(orgName, clusterName, id, mongoShellCreateSessionRequest, options) {
1419
3048
  var _a, _b, _c;
1420
- const localVarAxiosArgs = await localVarAxiosParamCreator.getTaskProgress(orgName, clusterName, id, taskId, options);
3049
+ const localVarAxiosArgs = await localVarAxiosParamCreator.mongoCreateShellSession(orgName, clusterName, id, mongoShellCreateSessionRequest, options);
1421
3050
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1422
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.getTaskProgress']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3051
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.mongoCreateShellSession']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1423
3052
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1424
3053
  },
1425
3054
  /**
1426
3055
  *
1427
- * @summary list the datasource of a cluster
3056
+ * @summary create MongoDB view from a read-only aggregation pipeline
3057
+ * @param {string} orgName
3058
+ * @param {string} clusterName
3059
+ * @param {string} id
3060
+ * @param {string} db
3061
+ * @param {MongoCreateViewRequest} mongoCreateViewRequest
3062
+ * @param {*} [options] Override http request option.
3063
+ * @throws {RequiredError}
3064
+ */
3065
+ async mongoCreateView(orgName, clusterName, id, db, mongoCreateViewRequest, options) {
3066
+ var _a, _b, _c;
3067
+ const localVarAxiosArgs = await localVarAxiosParamCreator.mongoCreateView(orgName, clusterName, id, db, mongoCreateViewRequest, options);
3068
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3069
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.mongoCreateView']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3070
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3071
+ },
3072
+ /**
3073
+ *
3074
+ * @summary delete a single MongoDB document
3075
+ * @param {string} orgName
3076
+ * @param {string} clusterName
3077
+ * @param {string} id
3078
+ * @param {string} db
3079
+ * @param {string} col
3080
+ * @param {MongoDeleteRequest} mongoDeleteRequest
3081
+ * @param {*} [options] Override http request option.
3082
+ * @throws {RequiredError}
3083
+ */
3084
+ async mongoDelete(orgName, clusterName, id, db, col, mongoDeleteRequest, options) {
3085
+ var _a, _b, _c;
3086
+ const localVarAxiosArgs = await localVarAxiosParamCreator.mongoDelete(orgName, clusterName, id, db, col, mongoDeleteRequest, options);
3087
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3088
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.mongoDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3089
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3090
+ },
3091
+ /**
3092
+ *
3093
+ * @summary drop MongoDB collection index
3094
+ * @param {string} orgName
3095
+ * @param {string} clusterName
3096
+ * @param {string} id
3097
+ * @param {string} db
3098
+ * @param {string} col
3099
+ * @param {string} indexName
3100
+ * @param {*} [options] Override http request option.
3101
+ * @throws {RequiredError}
3102
+ */
3103
+ async mongoDropIndex(orgName, clusterName, id, db, col, indexName, options) {
3104
+ var _a, _b, _c;
3105
+ const localVarAxiosArgs = await localVarAxiosParamCreator.mongoDropIndex(orgName, clusterName, id, db, col, indexName, options);
3106
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3107
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.mongoDropIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3108
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3109
+ },
3110
+ /**
3111
+ *
3112
+ * @summary evaluate input in a MongoDB mongosh session
3113
+ * @param {string} orgName
3114
+ * @param {string} clusterName
3115
+ * @param {string} id
3116
+ * @param {string} sessionID
3117
+ * @param {MongoShellEvaluateRequest} mongoShellEvaluateRequest
3118
+ * @param {*} [options] Override http request option.
3119
+ * @throws {RequiredError}
3120
+ */
3121
+ async mongoEvaluateShell(orgName, clusterName, id, sessionID, mongoShellEvaluateRequest, options) {
3122
+ var _a, _b, _c;
3123
+ const localVarAxiosArgs = await localVarAxiosParamCreator.mongoEvaluateShell(orgName, clusterName, id, sessionID, mongoShellEvaluateRequest, options);
3124
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3125
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.mongoEvaluateShell']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3126
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3127
+ },
3128
+ /**
3129
+ *
3130
+ * @summary explain a MongoDB query
1428
3131
  * @param {string} orgName name of the Org
1429
3132
  * @param {string} clusterName name of the cluster
3133
+ * @param {string} id id of the datasource
3134
+ * @param {MongoExplainRequest} mongoExplainRequest
1430
3135
  * @param {*} [options] Override http request option.
1431
3136
  * @throws {RequiredError}
1432
3137
  */
1433
- async listDataSourceV2(orgName, clusterName, options) {
3138
+ async mongoExplain(orgName, clusterName, id, mongoExplainRequest, options) {
1434
3139
  var _a, _b, _c;
1435
- const localVarAxiosArgs = await localVarAxiosParamCreator.listDataSourceV2(orgName, clusterName, options);
3140
+ const localVarAxiosArgs = await localVarAxiosParamCreator.mongoExplain(orgName, clusterName, id, mongoExplainRequest, options);
1436
3141
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1437
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.listDataSourceV2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3142
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.mongoExplain']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1438
3143
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1439
3144
  },
1440
3145
  /**
1441
3146
  *
1442
- * @summary list the all name for the specified object type
3147
+ * @summary find documents in a MongoDB collection
1443
3148
  * @param {string} orgName name of the Org
1444
3149
  * @param {string} clusterName name of the cluster
1445
3150
  * @param {string} id id of the datasource
1446
- * @param {string} schema schema or database name
1447
- * @param {string} type object type
3151
+ * @param {string} db database name
3152
+ * @param {string} col collection name
3153
+ * @param {MongoFindRequest} mongoFindRequest
3154
+ * @param {*} [options] Override http request option.
3155
+ * @throws {RequiredError}
3156
+ */
3157
+ async mongoFind(orgName, clusterName, id, db, col, mongoFindRequest, options) {
3158
+ var _a, _b, _c;
3159
+ const localVarAxiosArgs = await localVarAxiosParamCreator.mongoFind(orgName, clusterName, id, db, col, mongoFindRequest, options);
3160
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3161
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.mongoFind']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3162
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3163
+ },
3164
+ /**
3165
+ *
3166
+ * @summary get MongoDB mongosh session prompt
3167
+ * @param {string} orgName
3168
+ * @param {string} clusterName
3169
+ * @param {string} id
3170
+ * @param {string} sessionID
3171
+ * @param {*} [options] Override http request option.
3172
+ * @throws {RequiredError}
3173
+ */
3174
+ async mongoGetShellPrompt(orgName, clusterName, id, sessionID, options) {
3175
+ var _a, _b, _c;
3176
+ const localVarAxiosArgs = await localVarAxiosParamCreator.mongoGetShellPrompt(orgName, clusterName, id, sessionID, options);
3177
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3178
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.mongoGetShellPrompt']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3179
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3180
+ },
3181
+ /**
3182
+ *
3183
+ * @summary get MongoDB collection validation options
3184
+ * @param {string} orgName
3185
+ * @param {string} clusterName
3186
+ * @param {string} id
3187
+ * @param {string} db
3188
+ * @param {string} col
3189
+ * @param {*} [options] Override http request option.
3190
+ * @throws {RequiredError}
3191
+ */
3192
+ async mongoGetValidation(orgName, clusterName, id, db, col, options) {
3193
+ var _a, _b, _c;
3194
+ const localVarAxiosArgs = await localVarAxiosParamCreator.mongoGetValidation(orgName, clusterName, id, db, col, options);
3195
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3196
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.mongoGetValidation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3197
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3198
+ },
3199
+ /**
3200
+ *
3201
+ * @summary insert MongoDB document(s)
3202
+ * @param {string} orgName
3203
+ * @param {string} clusterName
3204
+ * @param {string} id
3205
+ * @param {string} db
3206
+ * @param {string} col
3207
+ * @param {MongoInsertRequest} mongoInsertRequest
3208
+ * @param {*} [options] Override http request option.
3209
+ * @throws {RequiredError}
3210
+ */
3211
+ async mongoInsert(orgName, clusterName, id, db, col, mongoInsertRequest, options) {
3212
+ var _a, _b, _c;
3213
+ const localVarAxiosArgs = await localVarAxiosParamCreator.mongoInsert(orgName, clusterName, id, db, col, mongoInsertRequest, options);
3214
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3215
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.mongoInsert']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3216
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3217
+ },
3218
+ /**
3219
+ *
3220
+ * @summary interrupt current MongoDB mongosh session operation
3221
+ * @param {string} orgName
3222
+ * @param {string} clusterName
3223
+ * @param {string} id
3224
+ * @param {string} sessionID
1448
3225
  * @param {*} [options] Override http request option.
1449
3226
  * @throws {RequiredError}
1450
3227
  */
1451
- async listObjectNamesByType(orgName, clusterName, id, schema, type, options) {
3228
+ async mongoInterruptShell(orgName, clusterName, id, sessionID, options) {
1452
3229
  var _a, _b, _c;
1453
- const localVarAxiosArgs = await localVarAxiosParamCreator.listObjectNamesByType(orgName, clusterName, id, schema, type, options);
3230
+ const localVarAxiosArgs = await localVarAxiosParamCreator.mongoInterruptShell(orgName, clusterName, id, sessionID, options);
1454
3231
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1455
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.listObjectNamesByType']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3232
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.mongoInterruptShell']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1456
3233
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1457
3234
  },
1458
3235
  /**
1459
3236
  *
1460
- * @summary list the type and number of database objects in the specified database or schema
1461
- * @param {string} orgName name of the Org
1462
- * @param {string} clusterName name of the cluster
1463
- * @param {string} id id of the datasource
1464
- * @param {string} schema schema or database name
3237
+ * @summary list MongoDB collection indexes
3238
+ * @param {string} orgName
3239
+ * @param {string} clusterName
3240
+ * @param {string} id
3241
+ * @param {string} db
3242
+ * @param {string} col
1465
3243
  * @param {*} [options] Override http request option.
1466
3244
  * @throws {RequiredError}
1467
3245
  */
1468
- async listObjectTypesInSchema(orgName, clusterName, id, schema, options) {
3246
+ async mongoListIndexes(orgName, clusterName, id, db, col, options) {
1469
3247
  var _a, _b, _c;
1470
- const localVarAxiosArgs = await localVarAxiosParamCreator.listObjectTypesInSchema(orgName, clusterName, id, schema, options);
3248
+ const localVarAxiosArgs = await localVarAxiosParamCreator.mongoListIndexes(orgName, clusterName, id, db, col, options);
1471
3249
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1472
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.listObjectTypesInSchema']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3250
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.mongoListIndexes']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1473
3251
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1474
3252
  },
1475
3253
  /**
1476
3254
  *
1477
- * @summary list cluster parameters
1478
- * @param {string} orgName name of the Org
1479
- * @param {string} clusterName name of the cluster
1480
- * @param {string} tenantId
1481
- * @param {string} mode
3255
+ * @summary replace a single MongoDB document
3256
+ * @param {string} orgName
3257
+ * @param {string} clusterName
3258
+ * @param {string} id
3259
+ * @param {string} db
3260
+ * @param {string} col
3261
+ * @param {MongoReplaceRequest} mongoReplaceRequest
1482
3262
  * @param {*} [options] Override http request option.
1483
3263
  * @throws {RequiredError}
1484
3264
  */
1485
- async listParameters(orgName, clusterName, tenantId, mode, options) {
3265
+ async mongoReplace(orgName, clusterName, id, db, col, mongoReplaceRequest, options) {
1486
3266
  var _a, _b, _c;
1487
- const localVarAxiosArgs = await localVarAxiosParamCreator.listParameters(orgName, clusterName, tenantId, mode, options);
3267
+ const localVarAxiosArgs = await localVarAxiosParamCreator.mongoReplace(orgName, clusterName, id, db, col, mongoReplaceRequest, options);
1488
3268
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1489
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.listParameters']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3269
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.mongoReplace']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1490
3270
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1491
3271
  },
1492
3272
  /**
1493
3273
  *
1494
- * @summary list the query History
1495
- * @param {string} orgName name of the Org
1496
- * @param {string} clusterName name of the cluster
1497
- * @param {string} id id of the datasource
3274
+ * @summary set MongoDB collection validation options
3275
+ * @param {string} orgName
3276
+ * @param {string} clusterName
3277
+ * @param {string} id
3278
+ * @param {string} db
3279
+ * @param {string} col
3280
+ * @param {MongoSetValidationRequest} mongoSetValidationRequest
1498
3281
  * @param {*} [options] Override http request option.
1499
3282
  * @throws {RequiredError}
1500
3283
  */
1501
- async listQueryHistory(orgName, clusterName, id, options) {
3284
+ async mongoSetValidation(orgName, clusterName, id, db, col, mongoSetValidationRequest, options) {
1502
3285
  var _a, _b, _c;
1503
- const localVarAxiosArgs = await localVarAxiosParamCreator.listQueryHistory(orgName, clusterName, id, options);
3286
+ const localVarAxiosArgs = await localVarAxiosParamCreator.mongoSetValidation(orgName, clusterName, id, db, col, mongoSetValidationRequest, options);
1504
3287
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1505
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.listQueryHistory']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3288
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.mongoSetValidation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1506
3289
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1507
3290
  },
1508
3291
  /**
1509
3292
  *
1510
- * @summary list all session for the cluster
1511
- * @param {string} orgName name of the Org
1512
- * @param {string} clusterName name of the cluster
1513
- * @param {string} [all] whether list all session includes sleep
3293
+ * @summary update a single MongoDB document
3294
+ * @param {string} orgName
3295
+ * @param {string} clusterName
3296
+ * @param {string} id
3297
+ * @param {string} db
3298
+ * @param {string} col
3299
+ * @param {MongoUpdateRequest} mongoUpdateRequest
1514
3300
  * @param {*} [options] Override http request option.
1515
- * @deprecated
1516
3301
  * @throws {RequiredError}
1517
3302
  */
1518
- async listSessionsOld(orgName, clusterName, all, options) {
3303
+ async mongoUpdate(orgName, clusterName, id, db, col, mongoUpdateRequest, options) {
1519
3304
  var _a, _b, _c;
1520
- const localVarAxiosArgs = await localVarAxiosParamCreator.listSessionsOld(orgName, clusterName, all, options);
3305
+ const localVarAxiosArgs = await localVarAxiosParamCreator.mongoUpdate(orgName, clusterName, id, db, col, mongoUpdateRequest, options);
1521
3306
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1522
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.listSessionsOld']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3307
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DmsApi.mongoUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1523
3308
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1524
3309
  },
1525
3310
  /**
@@ -1680,169 +3465,439 @@ const DmsApiFactory = function (configuration, basePath, axios) {
1680
3465
  * @param {*} [options] Override http request option.
1681
3466
  * @throws {RequiredError}
1682
3467
  */
1683
- dataImport(requestParameters, options) {
1684
- return localVarFp.dataImport(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.dmsImportRequest, options).then((request) => request(axios, basePath));
3468
+ dataImport(requestParameters, options) {
3469
+ return localVarFp.dataImport(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.dmsImportRequest, options).then((request) => request(axios, basePath));
3470
+ },
3471
+ /**
3472
+ *
3473
+ * @summary delete the datasource
3474
+ * @param {DmsApiDeleteDataSourceV2Request} requestParameters Request parameters.
3475
+ * @param {*} [options] Override http request option.
3476
+ * @throws {RequiredError}
3477
+ */
3478
+ deleteDataSourceV2(requestParameters, options) {
3479
+ return localVarFp.deleteDataSourceV2(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(axios, basePath));
3480
+ },
3481
+ /**
3482
+ * disable console
3483
+ * @summary disable console
3484
+ * @param {DmsApiDisableConsoleRequest} requestParameters Request parameters.
3485
+ * @param {*} [options] Override http request option.
3486
+ * @throws {RequiredError}
3487
+ */
3488
+ disableConsole(requestParameters, options) {
3489
+ return localVarFp.disableConsole(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
3490
+ },
3491
+ /**
3492
+ *
3493
+ * @summary drop a MongoDB collection or view
3494
+ * @param {DmsApiDropMongoCollectionRequest} requestParameters Request parameters.
3495
+ * @param {*} [options] Override http request option.
3496
+ * @throws {RequiredError}
3497
+ */
3498
+ dropMongoCollection(requestParameters, options) {
3499
+ return localVarFp.dropMongoCollection(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, options).then((request) => request(axios, basePath));
3500
+ },
3501
+ /**
3502
+ * enable console
3503
+ * @summary enable console
3504
+ * @param {DmsApiEnableConsoleRequest} requestParameters Request parameters.
3505
+ * @param {*} [options] Override http request option.
3506
+ * @throws {RequiredError}
3507
+ */
3508
+ enableConsole(requestParameters, options) {
3509
+ return localVarFp.enableConsole(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.dMSConsoleEnableOpt, options).then((request) => request(axios, basePath));
3510
+ },
3511
+ /**
3512
+ *
3513
+ * @summary support ddl and dml operations
3514
+ * @param {DmsApiGenerateDDLRequest} requestParameters Request parameters.
3515
+ * @param {*} [options] Override http request option.
3516
+ * @throws {RequiredError}
3517
+ */
3518
+ generateDDL(requestParameters, options) {
3519
+ return localVarFp.generateDDL(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.dmsGenerateDDLRequest, options).then((request) => request(axios, basePath));
3520
+ },
3521
+ /**
3522
+ *
3523
+ * @summary get the datasource
3524
+ * @param {DmsApiGetDataSourceV2Request} requestParameters Request parameters.
3525
+ * @param {*} [options] Override http request option.
3526
+ * @throws {RequiredError}
3527
+ */
3528
+ getDataSourceV2(requestParameters, options) {
3529
+ return localVarFp.getDataSourceV2(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(axios, basePath));
3530
+ },
3531
+ /**
3532
+ * get engine available console
3533
+ * @summary get engine available console
3534
+ * @param {DmsApiGetEngineAvailableConsoleRequest} requestParameters Request parameters.
3535
+ * @param {*} [options] Override http request option.
3536
+ * @throws {RequiredError}
3537
+ */
3538
+ getEngineAvailableConsole(requestParameters, options) {
3539
+ return localVarFp.getEngineAvailableConsole(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
3540
+ },
3541
+ /**
3542
+ *
3543
+ * @summary get MongoDB collection stats
3544
+ * @param {DmsApiGetMongoCollectionRequest} requestParameters Request parameters.
3545
+ * @param {*} [options] Override http request option.
3546
+ * @throws {RequiredError}
3547
+ */
3548
+ getMongoCollection(requestParameters, options) {
3549
+ return localVarFp.getMongoCollection(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, options).then((request) => request(axios, basePath));
3550
+ },
3551
+ /**
3552
+ *
3553
+ * @summary get the detail object info
3554
+ * @param {DmsApiGetObjectInfoRequest} requestParameters Request parameters.
3555
+ * @param {*} [options] Override http request option.
3556
+ * @throws {RequiredError}
3557
+ */
3558
+ getObjectInfo(requestParameters, options) {
3559
+ return localVarFp.getObjectInfo(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.schema, requestParameters.type, requestParameters.objectName, requestParameters.database, options).then((request) => request(axios, basePath));
3560
+ },
3561
+ /**
3562
+ *
3563
+ * @summary list all databases or schema of the cluster
3564
+ * @param {DmsApiGetSchemaListRequest} requestParameters Request parameters.
3565
+ * @param {*} [options] Override http request option.
3566
+ * @throws {RequiredError}
3567
+ */
3568
+ getSchemaList(requestParameters, options) {
3569
+ return localVarFp.getSchemaList(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, options).then((request) => request(axios, basePath));
3570
+ },
3571
+ /**
3572
+ *
3573
+ * @summary Get the task list
3574
+ * @param {DmsApiGetTaskListRequest} requestParameters Request parameters.
3575
+ * @param {*} [options] Override http request option.
3576
+ * @throws {RequiredError}
3577
+ */
3578
+ getTaskList(requestParameters, options) {
3579
+ return localVarFp.getTaskList(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(axios, basePath));
3580
+ },
3581
+ /**
3582
+ *
3583
+ * @summary Get the task progress
3584
+ * @param {DmsApiGetTaskProgressRequest} requestParameters Request parameters.
3585
+ * @param {*} [options] Override http request option.
3586
+ * @throws {RequiredError}
3587
+ */
3588
+ getTaskProgress(requestParameters, options) {
3589
+ return localVarFp.getTaskProgress(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.taskId, options).then((request) => request(axios, basePath));
3590
+ },
3591
+ /**
3592
+ *
3593
+ * @summary list the datasource of a cluster
3594
+ * @param {DmsApiListDataSourceV2Request} requestParameters Request parameters.
3595
+ * @param {*} [options] Override http request option.
3596
+ * @throws {RequiredError}
3597
+ */
3598
+ listDataSourceV2(requestParameters, options) {
3599
+ return localVarFp.listDataSourceV2(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
3600
+ },
3601
+ /**
3602
+ *
3603
+ * @summary list all databases of the datasource
3604
+ * @param {DmsApiListDmsDatabasesRequest} requestParameters Request parameters.
3605
+ * @param {*} [options] Override http request option.
3606
+ * @throws {RequiredError}
3607
+ */
3608
+ listDmsDatabases(requestParameters, options) {
3609
+ return localVarFp.listDmsDatabases(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(axios, basePath));
3610
+ },
3611
+ /**
3612
+ *
3613
+ * @summary list collections in a MongoDB database
3614
+ * @param {DmsApiListMongoCollectionsRequest} requestParameters Request parameters.
3615
+ * @param {*} [options] Override http request option.
3616
+ * @throws {RequiredError}
3617
+ */
3618
+ listMongoCollections(requestParameters, options) {
3619
+ return localVarFp.listMongoCollections(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, options).then((request) => request(axios, basePath));
3620
+ },
3621
+ /**
3622
+ *
3623
+ * @summary list MongoDB database metadata
3624
+ * @param {DmsApiListMongoDatabaseMetadataRequest} requestParameters Request parameters.
3625
+ * @param {*} [options] Override http request option.
3626
+ * @throws {RequiredError}
3627
+ */
3628
+ listMongoDatabaseMetadata(requestParameters, options) {
3629
+ return localVarFp.listMongoDatabaseMetadata(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(axios, basePath));
3630
+ },
3631
+ /**
3632
+ *
3633
+ * @summary list MongoDB databases
3634
+ * @param {DmsApiListMongoDatabasesRequest} requestParameters Request parameters.
3635
+ * @param {*} [options] Override http request option.
3636
+ * @throws {RequiredError}
3637
+ */
3638
+ listMongoDatabases(requestParameters, options) {
3639
+ return localVarFp.listMongoDatabases(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(axios, basePath));
3640
+ },
3641
+ /**
3642
+ *
3643
+ * @summary list the all name for the specified object type
3644
+ * @param {DmsApiListObjectNamesByTypeRequest} requestParameters Request parameters.
3645
+ * @param {*} [options] Override http request option.
3646
+ * @throws {RequiredError}
3647
+ */
3648
+ listObjectNamesByType(requestParameters, options) {
3649
+ return localVarFp.listObjectNamesByType(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.schema, requestParameters.type, requestParameters.database, options).then((request) => request(axios, basePath));
3650
+ },
3651
+ /**
3652
+ *
3653
+ * @summary list the type and number of database objects in the specified database or schema
3654
+ * @param {DmsApiListObjectTypesInSchemaRequest} requestParameters Request parameters.
3655
+ * @param {*} [options] Override http request option.
3656
+ * @throws {RequiredError}
3657
+ */
3658
+ listObjectTypesInSchema(requestParameters, options) {
3659
+ return localVarFp.listObjectTypesInSchema(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.schema, requestParameters.database, options).then((request) => request(axios, basePath));
3660
+ },
3661
+ /**
3662
+ *
3663
+ * @summary list cluster parameters
3664
+ * @param {DmsApiListParametersRequest} requestParameters Request parameters.
3665
+ * @param {*} [options] Override http request option.
3666
+ * @throws {RequiredError}
3667
+ */
3668
+ listParameters(requestParameters, options) {
3669
+ return localVarFp.listParameters(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.mode, options).then((request) => request(axios, basePath));
3670
+ },
3671
+ /**
3672
+ *
3673
+ * @summary list the query History
3674
+ * @param {DmsApiListQueryHistoryRequest} requestParameters Request parameters.
3675
+ * @param {*} [options] Override http request option.
3676
+ * @throws {RequiredError}
3677
+ */
3678
+ listQueryHistory(requestParameters, options) {
3679
+ return localVarFp.listQueryHistory(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.limit, options).then((request) => request(axios, basePath));
3680
+ },
3681
+ /**
3682
+ *
3683
+ * @summary list all session for the cluster
3684
+ * @param {DmsApiListSessionsOldRequest} requestParameters Request parameters.
3685
+ * @param {*} [options] Override http request option.
3686
+ * @deprecated
3687
+ * @throws {RequiredError}
3688
+ */
3689
+ listSessionsOld(requestParameters, options) {
3690
+ return localVarFp.listSessionsOld(requestParameters.orgName, requestParameters.clusterName, requestParameters.all, options).then((request) => request(axios, basePath));
3691
+ },
3692
+ /**
3693
+ *
3694
+ * @summary run MongoDB aggregation pipeline preview
3695
+ * @param {DmsApiMongoAggregateRequest} requestParameters Request parameters.
3696
+ * @param {*} [options] Override http request option.
3697
+ * @throws {RequiredError}
3698
+ */
3699
+ mongoAggregate(requestParameters, options) {
3700
+ return localVarFp.mongoAggregate(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, requestParameters.mongoAggregateRequest, options).then((request) => request(axios, basePath));
3701
+ },
3702
+ /**
3703
+ *
3704
+ * @summary analyze MongoDB collection schema from sample documents
3705
+ * @param {DmsApiMongoAnalyzeSchemaRequest} requestParameters Request parameters.
3706
+ * @param {*} [options] Override http request option.
3707
+ * @throws {RequiredError}
3708
+ */
3709
+ mongoAnalyzeSchema(requestParameters, options) {
3710
+ return localVarFp.mongoAnalyzeSchema(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, requestParameters.sample, options).then((request) => request(axios, basePath));
3711
+ },
3712
+ /**
3713
+ *
3714
+ * @summary close MongoDB mongosh runtime session
3715
+ * @param {DmsApiMongoCloseShellSessionRequest} requestParameters Request parameters.
3716
+ * @param {*} [options] Override http request option.
3717
+ * @throws {RequiredError}
3718
+ */
3719
+ mongoCloseShellSession(requestParameters, options) {
3720
+ return localVarFp.mongoCloseShellSession(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.sessionID, options).then((request) => request(axios, basePath));
3721
+ },
3722
+ /**
3723
+ *
3724
+ * @summary get completions for a MongoDB mongosh session
3725
+ * @param {DmsApiMongoCompleteShellRequest} requestParameters Request parameters.
3726
+ * @param {*} [options] Override http request option.
3727
+ * @throws {RequiredError}
3728
+ */
3729
+ mongoCompleteShell(requestParameters, options) {
3730
+ return localVarFp.mongoCompleteShell(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.sessionID, requestParameters.mongoShellCompletionsRequest, options).then((request) => request(axios, basePath));
3731
+ },
3732
+ /**
3733
+ * Creates a collection. Creating the first collection in a database is the supported Create Database backend semantic.
3734
+ * @summary create MongoDB collection
3735
+ * @param {DmsApiMongoCreateCollectionRequest} requestParameters Request parameters.
3736
+ * @param {*} [options] Override http request option.
3737
+ * @throws {RequiredError}
3738
+ */
3739
+ mongoCreateCollection(requestParameters, options) {
3740
+ return localVarFp.mongoCreateCollection(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, requestParameters.mongoCreateCollectionRequest, options).then((request) => request(axios, basePath));
1685
3741
  },
1686
3742
  /**
1687
3743
  *
1688
- * @summary delete the datasource
1689
- * @param {DmsApiDeleteDataSourceV2Request} requestParameters Request parameters.
3744
+ * @summary create MongoDB collection index
3745
+ * @param {DmsApiMongoCreateIndexRequest} requestParameters Request parameters.
1690
3746
  * @param {*} [options] Override http request option.
1691
3747
  * @throws {RequiredError}
1692
3748
  */
1693
- deleteDataSourceV2(requestParameters, options) {
1694
- return localVarFp.deleteDataSourceV2(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(axios, basePath));
3749
+ mongoCreateIndex(requestParameters, options) {
3750
+ return localVarFp.mongoCreateIndex(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, requestParameters.mongoCreateIndexRequest, options).then((request) => request(axios, basePath));
1695
3751
  },
1696
3752
  /**
1697
- * disable console
1698
- * @summary disable console
1699
- * @param {DmsApiDisableConsoleRequest} requestParameters Request parameters.
3753
+ *
3754
+ * @summary create MongoDB mongosh runtime session
3755
+ * @param {DmsApiMongoCreateShellSessionRequest} requestParameters Request parameters.
1700
3756
  * @param {*} [options] Override http request option.
1701
3757
  * @throws {RequiredError}
1702
3758
  */
1703
- disableConsole(requestParameters, options) {
1704
- return localVarFp.disableConsole(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
3759
+ mongoCreateShellSession(requestParameters, options) {
3760
+ return localVarFp.mongoCreateShellSession(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.mongoShellCreateSessionRequest, options).then((request) => request(axios, basePath));
1705
3761
  },
1706
3762
  /**
1707
- * enable console
1708
- * @summary enable console
1709
- * @param {DmsApiEnableConsoleRequest} requestParameters Request parameters.
3763
+ *
3764
+ * @summary create MongoDB view from a read-only aggregation pipeline
3765
+ * @param {DmsApiMongoCreateViewRequest} requestParameters Request parameters.
1710
3766
  * @param {*} [options] Override http request option.
1711
3767
  * @throws {RequiredError}
1712
3768
  */
1713
- enableConsole(requestParameters, options) {
1714
- return localVarFp.enableConsole(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.dMSConsoleEnableOpt, options).then((request) => request(axios, basePath));
3769
+ mongoCreateView(requestParameters, options) {
3770
+ return localVarFp.mongoCreateView(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.mongoCreateViewRequest, options).then((request) => request(axios, basePath));
1715
3771
  },
1716
3772
  /**
1717
3773
  *
1718
- * @summary support ddl and dml operations
1719
- * @param {DmsApiGenerateDDLRequest} requestParameters Request parameters.
3774
+ * @summary delete a single MongoDB document
3775
+ * @param {DmsApiMongoDeleteRequest} requestParameters Request parameters.
1720
3776
  * @param {*} [options] Override http request option.
1721
3777
  * @throws {RequiredError}
1722
3778
  */
1723
- generateDDL(requestParameters, options) {
1724
- return localVarFp.generateDDL(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.dmsGenerateDDLRequest, options).then((request) => request(axios, basePath));
3779
+ mongoDelete(requestParameters, options) {
3780
+ return localVarFp.mongoDelete(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, requestParameters.mongoDeleteRequest, options).then((request) => request(axios, basePath));
1725
3781
  },
1726
3782
  /**
1727
3783
  *
1728
- * @summary get the datasource
1729
- * @param {DmsApiGetDataSourceV2Request} requestParameters Request parameters.
3784
+ * @summary drop MongoDB collection index
3785
+ * @param {DmsApiMongoDropIndexRequest} requestParameters Request parameters.
1730
3786
  * @param {*} [options] Override http request option.
1731
3787
  * @throws {RequiredError}
1732
3788
  */
1733
- getDataSourceV2(requestParameters, options) {
1734
- return localVarFp.getDataSourceV2(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(axios, basePath));
3789
+ mongoDropIndex(requestParameters, options) {
3790
+ return localVarFp.mongoDropIndex(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, requestParameters.indexName, options).then((request) => request(axios, basePath));
1735
3791
  },
1736
3792
  /**
1737
- * get engine available console
1738
- * @summary get engine available console
1739
- * @param {DmsApiGetEngineAvailableConsoleRequest} requestParameters Request parameters.
3793
+ *
3794
+ * @summary evaluate input in a MongoDB mongosh session
3795
+ * @param {DmsApiMongoEvaluateShellRequest} requestParameters Request parameters.
1740
3796
  * @param {*} [options] Override http request option.
1741
3797
  * @throws {RequiredError}
1742
3798
  */
1743
- getEngineAvailableConsole(requestParameters, options) {
1744
- return localVarFp.getEngineAvailableConsole(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
3799
+ mongoEvaluateShell(requestParameters, options) {
3800
+ return localVarFp.mongoEvaluateShell(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.sessionID, requestParameters.mongoShellEvaluateRequest, options).then((request) => request(axios, basePath));
1745
3801
  },
1746
3802
  /**
1747
3803
  *
1748
- * @summary get the detail object info
1749
- * @param {DmsApiGetObjectInfoRequest} requestParameters Request parameters.
3804
+ * @summary explain a MongoDB query
3805
+ * @param {DmsApiMongoExplainRequest} requestParameters Request parameters.
1750
3806
  * @param {*} [options] Override http request option.
1751
3807
  * @throws {RequiredError}
1752
3808
  */
1753
- getObjectInfo(requestParameters, options) {
1754
- return localVarFp.getObjectInfo(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.schema, requestParameters.type, requestParameters.objectName, options).then((request) => request(axios, basePath));
3809
+ mongoExplain(requestParameters, options) {
3810
+ return localVarFp.mongoExplain(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.mongoExplainRequest, options).then((request) => request(axios, basePath));
1755
3811
  },
1756
3812
  /**
1757
3813
  *
1758
- * @summary list all databases or schema of the cluster
1759
- * @param {DmsApiGetSchemaListRequest} requestParameters Request parameters.
3814
+ * @summary find documents in a MongoDB collection
3815
+ * @param {DmsApiMongoFindRequest} requestParameters Request parameters.
1760
3816
  * @param {*} [options] Override http request option.
1761
3817
  * @throws {RequiredError}
1762
3818
  */
1763
- getSchemaList(requestParameters, options) {
1764
- return localVarFp.getSchemaList(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(axios, basePath));
3819
+ mongoFind(requestParameters, options) {
3820
+ return localVarFp.mongoFind(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, requestParameters.mongoFindRequest, options).then((request) => request(axios, basePath));
1765
3821
  },
1766
3822
  /**
1767
3823
  *
1768
- * @summary Get the task list
1769
- * @param {DmsApiGetTaskListRequest} requestParameters Request parameters.
3824
+ * @summary get MongoDB mongosh session prompt
3825
+ * @param {DmsApiMongoGetShellPromptRequest} requestParameters Request parameters.
1770
3826
  * @param {*} [options] Override http request option.
1771
3827
  * @throws {RequiredError}
1772
3828
  */
1773
- getTaskList(requestParameters, options) {
1774
- return localVarFp.getTaskList(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(axios, basePath));
3829
+ mongoGetShellPrompt(requestParameters, options) {
3830
+ return localVarFp.mongoGetShellPrompt(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.sessionID, options).then((request) => request(axios, basePath));
1775
3831
  },
1776
3832
  /**
1777
3833
  *
1778
- * @summary Get the task progress
1779
- * @param {DmsApiGetTaskProgressRequest} requestParameters Request parameters.
3834
+ * @summary get MongoDB collection validation options
3835
+ * @param {DmsApiMongoGetValidationRequest} requestParameters Request parameters.
1780
3836
  * @param {*} [options] Override http request option.
1781
3837
  * @throws {RequiredError}
1782
3838
  */
1783
- getTaskProgress(requestParameters, options) {
1784
- return localVarFp.getTaskProgress(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.taskId, options).then((request) => request(axios, basePath));
3839
+ mongoGetValidation(requestParameters, options) {
3840
+ return localVarFp.mongoGetValidation(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, options).then((request) => request(axios, basePath));
1785
3841
  },
1786
3842
  /**
1787
3843
  *
1788
- * @summary list the datasource of a cluster
1789
- * @param {DmsApiListDataSourceV2Request} requestParameters Request parameters.
3844
+ * @summary insert MongoDB document(s)
3845
+ * @param {DmsApiMongoInsertRequest} requestParameters Request parameters.
1790
3846
  * @param {*} [options] Override http request option.
1791
3847
  * @throws {RequiredError}
1792
3848
  */
1793
- listDataSourceV2(requestParameters, options) {
1794
- return localVarFp.listDataSourceV2(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
3849
+ mongoInsert(requestParameters, options) {
3850
+ return localVarFp.mongoInsert(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, requestParameters.mongoInsertRequest, options).then((request) => request(axios, basePath));
1795
3851
  },
1796
3852
  /**
1797
3853
  *
1798
- * @summary list the all name for the specified object type
1799
- * @param {DmsApiListObjectNamesByTypeRequest} requestParameters Request parameters.
3854
+ * @summary interrupt current MongoDB mongosh session operation
3855
+ * @param {DmsApiMongoInterruptShellRequest} requestParameters Request parameters.
1800
3856
  * @param {*} [options] Override http request option.
1801
3857
  * @throws {RequiredError}
1802
3858
  */
1803
- listObjectNamesByType(requestParameters, options) {
1804
- return localVarFp.listObjectNamesByType(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.schema, requestParameters.type, options).then((request) => request(axios, basePath));
3859
+ mongoInterruptShell(requestParameters, options) {
3860
+ return localVarFp.mongoInterruptShell(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.sessionID, options).then((request) => request(axios, basePath));
1805
3861
  },
1806
3862
  /**
1807
3863
  *
1808
- * @summary list the type and number of database objects in the specified database or schema
1809
- * @param {DmsApiListObjectTypesInSchemaRequest} requestParameters Request parameters.
3864
+ * @summary list MongoDB collection indexes
3865
+ * @param {DmsApiMongoListIndexesRequest} requestParameters Request parameters.
1810
3866
  * @param {*} [options] Override http request option.
1811
3867
  * @throws {RequiredError}
1812
3868
  */
1813
- listObjectTypesInSchema(requestParameters, options) {
1814
- return localVarFp.listObjectTypesInSchema(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.schema, options).then((request) => request(axios, basePath));
3869
+ mongoListIndexes(requestParameters, options) {
3870
+ return localVarFp.mongoListIndexes(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, options).then((request) => request(axios, basePath));
1815
3871
  },
1816
3872
  /**
1817
3873
  *
1818
- * @summary list cluster parameters
1819
- * @param {DmsApiListParametersRequest} requestParameters Request parameters.
3874
+ * @summary replace a single MongoDB document
3875
+ * @param {DmsApiMongoReplaceRequest} requestParameters Request parameters.
1820
3876
  * @param {*} [options] Override http request option.
1821
3877
  * @throws {RequiredError}
1822
3878
  */
1823
- listParameters(requestParameters, options) {
1824
- return localVarFp.listParameters(requestParameters.orgName, requestParameters.clusterName, requestParameters.tenantId, requestParameters.mode, options).then((request) => request(axios, basePath));
3879
+ mongoReplace(requestParameters, options) {
3880
+ return localVarFp.mongoReplace(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, requestParameters.mongoReplaceRequest, options).then((request) => request(axios, basePath));
1825
3881
  },
1826
3882
  /**
1827
3883
  *
1828
- * @summary list the query History
1829
- * @param {DmsApiListQueryHistoryRequest} requestParameters Request parameters.
3884
+ * @summary set MongoDB collection validation options
3885
+ * @param {DmsApiMongoSetValidationRequest} requestParameters Request parameters.
1830
3886
  * @param {*} [options] Override http request option.
1831
3887
  * @throws {RequiredError}
1832
3888
  */
1833
- listQueryHistory(requestParameters, options) {
1834
- return localVarFp.listQueryHistory(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(axios, basePath));
3889
+ mongoSetValidation(requestParameters, options) {
3890
+ return localVarFp.mongoSetValidation(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, requestParameters.mongoSetValidationRequest, options).then((request) => request(axios, basePath));
1835
3891
  },
1836
3892
  /**
1837
3893
  *
1838
- * @summary list all session for the cluster
1839
- * @param {DmsApiListSessionsOldRequest} requestParameters Request parameters.
3894
+ * @summary update a single MongoDB document
3895
+ * @param {DmsApiMongoUpdateRequest} requestParameters Request parameters.
1840
3896
  * @param {*} [options] Override http request option.
1841
- * @deprecated
1842
3897
  * @throws {RequiredError}
1843
3898
  */
1844
- listSessionsOld(requestParameters, options) {
1845
- return localVarFp.listSessionsOld(requestParameters.orgName, requestParameters.clusterName, requestParameters.all, options).then((request) => request(axios, basePath));
3899
+ mongoUpdate(requestParameters, options) {
3900
+ return localVarFp.mongoUpdate(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, requestParameters.mongoUpdateRequest, options).then((request) => request(axios, basePath));
1846
3901
  },
1847
3902
  /**
1848
3903
  *
@@ -1992,6 +4047,17 @@ class DmsApi extends base_1.BaseAPI {
1992
4047
  disableConsole(requestParameters, options) {
1993
4048
  return (0, exports.DmsApiFp)(this.configuration).disableConsole(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
1994
4049
  }
4050
+ /**
4051
+ *
4052
+ * @summary drop a MongoDB collection or view
4053
+ * @param {DmsApiDropMongoCollectionRequest} requestParameters Request parameters.
4054
+ * @param {*} [options] Override http request option.
4055
+ * @throws {RequiredError}
4056
+ * @memberof DmsApi
4057
+ */
4058
+ dropMongoCollection(requestParameters, options) {
4059
+ return (0, exports.DmsApiFp)(this.configuration).dropMongoCollection(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, options).then((request) => request(this.axios, this.basePath));
4060
+ }
1995
4061
  /**
1996
4062
  * enable console
1997
4063
  * @summary enable console
@@ -2036,6 +4102,17 @@ class DmsApi extends base_1.BaseAPI {
2036
4102
  getEngineAvailableConsole(requestParameters, options) {
2037
4103
  return (0, exports.DmsApiFp)(this.configuration).getEngineAvailableConsole(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
2038
4104
  }
4105
+ /**
4106
+ *
4107
+ * @summary get MongoDB collection stats
4108
+ * @param {DmsApiGetMongoCollectionRequest} requestParameters Request parameters.
4109
+ * @param {*} [options] Override http request option.
4110
+ * @throws {RequiredError}
4111
+ * @memberof DmsApi
4112
+ */
4113
+ getMongoCollection(requestParameters, options) {
4114
+ return (0, exports.DmsApiFp)(this.configuration).getMongoCollection(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, options).then((request) => request(this.axios, this.basePath));
4115
+ }
2039
4116
  /**
2040
4117
  *
2041
4118
  * @summary get the detail object info
@@ -2045,7 +4122,7 @@ class DmsApi extends base_1.BaseAPI {
2045
4122
  * @memberof DmsApi
2046
4123
  */
2047
4124
  getObjectInfo(requestParameters, options) {
2048
- return (0, exports.DmsApiFp)(this.configuration).getObjectInfo(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.schema, requestParameters.type, requestParameters.objectName, options).then((request) => request(this.axios, this.basePath));
4125
+ return (0, exports.DmsApiFp)(this.configuration).getObjectInfo(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.schema, requestParameters.type, requestParameters.objectName, requestParameters.database, options).then((request) => request(this.axios, this.basePath));
2049
4126
  }
2050
4127
  /**
2051
4128
  *
@@ -2056,7 +4133,7 @@ class DmsApi extends base_1.BaseAPI {
2056
4133
  * @memberof DmsApi
2057
4134
  */
2058
4135
  getSchemaList(requestParameters, options) {
2059
- return (0, exports.DmsApiFp)(this.configuration).getSchemaList(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
4136
+ return (0, exports.DmsApiFp)(this.configuration).getSchemaList(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.database, options).then((request) => request(this.axios, this.basePath));
2060
4137
  }
2061
4138
  /**
2062
4139
  *
@@ -2091,6 +4168,50 @@ class DmsApi extends base_1.BaseAPI {
2091
4168
  listDataSourceV2(requestParameters, options) {
2092
4169
  return (0, exports.DmsApiFp)(this.configuration).listDataSourceV2(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
2093
4170
  }
4171
+ /**
4172
+ *
4173
+ * @summary list all databases of the datasource
4174
+ * @param {DmsApiListDmsDatabasesRequest} requestParameters Request parameters.
4175
+ * @param {*} [options] Override http request option.
4176
+ * @throws {RequiredError}
4177
+ * @memberof DmsApi
4178
+ */
4179
+ listDmsDatabases(requestParameters, options) {
4180
+ return (0, exports.DmsApiFp)(this.configuration).listDmsDatabases(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
4181
+ }
4182
+ /**
4183
+ *
4184
+ * @summary list collections in a MongoDB database
4185
+ * @param {DmsApiListMongoCollectionsRequest} requestParameters Request parameters.
4186
+ * @param {*} [options] Override http request option.
4187
+ * @throws {RequiredError}
4188
+ * @memberof DmsApi
4189
+ */
4190
+ listMongoCollections(requestParameters, options) {
4191
+ return (0, exports.DmsApiFp)(this.configuration).listMongoCollections(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, options).then((request) => request(this.axios, this.basePath));
4192
+ }
4193
+ /**
4194
+ *
4195
+ * @summary list MongoDB database metadata
4196
+ * @param {DmsApiListMongoDatabaseMetadataRequest} requestParameters Request parameters.
4197
+ * @param {*} [options] Override http request option.
4198
+ * @throws {RequiredError}
4199
+ * @memberof DmsApi
4200
+ */
4201
+ listMongoDatabaseMetadata(requestParameters, options) {
4202
+ return (0, exports.DmsApiFp)(this.configuration).listMongoDatabaseMetadata(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
4203
+ }
4204
+ /**
4205
+ *
4206
+ * @summary list MongoDB databases
4207
+ * @param {DmsApiListMongoDatabasesRequest} requestParameters Request parameters.
4208
+ * @param {*} [options] Override http request option.
4209
+ * @throws {RequiredError}
4210
+ * @memberof DmsApi
4211
+ */
4212
+ listMongoDatabases(requestParameters, options) {
4213
+ return (0, exports.DmsApiFp)(this.configuration).listMongoDatabases(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
4214
+ }
2094
4215
  /**
2095
4216
  *
2096
4217
  * @summary list the all name for the specified object type
@@ -2100,7 +4221,7 @@ class DmsApi extends base_1.BaseAPI {
2100
4221
  * @memberof DmsApi
2101
4222
  */
2102
4223
  listObjectNamesByType(requestParameters, options) {
2103
- return (0, exports.DmsApiFp)(this.configuration).listObjectNamesByType(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.schema, requestParameters.type, options).then((request) => request(this.axios, this.basePath));
4224
+ return (0, exports.DmsApiFp)(this.configuration).listObjectNamesByType(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.schema, requestParameters.type, requestParameters.database, options).then((request) => request(this.axios, this.basePath));
2104
4225
  }
2105
4226
  /**
2106
4227
  *
@@ -2111,7 +4232,7 @@ class DmsApi extends base_1.BaseAPI {
2111
4232
  * @memberof DmsApi
2112
4233
  */
2113
4234
  listObjectTypesInSchema(requestParameters, options) {
2114
- return (0, exports.DmsApiFp)(this.configuration).listObjectTypesInSchema(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.schema, options).then((request) => request(this.axios, this.basePath));
4235
+ return (0, exports.DmsApiFp)(this.configuration).listObjectTypesInSchema(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.schema, requestParameters.database, options).then((request) => request(this.axios, this.basePath));
2115
4236
  }
2116
4237
  /**
2117
4238
  *
@@ -2133,7 +4254,7 @@ class DmsApi extends base_1.BaseAPI {
2133
4254
  * @memberof DmsApi
2134
4255
  */
2135
4256
  listQueryHistory(requestParameters, options) {
2136
- return (0, exports.DmsApiFp)(this.configuration).listQueryHistory(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
4257
+ return (0, exports.DmsApiFp)(this.configuration).listQueryHistory(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.limit, options).then((request) => request(this.axios, this.basePath));
2137
4258
  }
2138
4259
  /**
2139
4260
  *
@@ -2147,6 +4268,237 @@ class DmsApi extends base_1.BaseAPI {
2147
4268
  listSessionsOld(requestParameters, options) {
2148
4269
  return (0, exports.DmsApiFp)(this.configuration).listSessionsOld(requestParameters.orgName, requestParameters.clusterName, requestParameters.all, options).then((request) => request(this.axios, this.basePath));
2149
4270
  }
4271
+ /**
4272
+ *
4273
+ * @summary run MongoDB aggregation pipeline preview
4274
+ * @param {DmsApiMongoAggregateRequest} requestParameters Request parameters.
4275
+ * @param {*} [options] Override http request option.
4276
+ * @throws {RequiredError}
4277
+ * @memberof DmsApi
4278
+ */
4279
+ mongoAggregate(requestParameters, options) {
4280
+ return (0, exports.DmsApiFp)(this.configuration).mongoAggregate(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, requestParameters.mongoAggregateRequest, options).then((request) => request(this.axios, this.basePath));
4281
+ }
4282
+ /**
4283
+ *
4284
+ * @summary analyze MongoDB collection schema from sample documents
4285
+ * @param {DmsApiMongoAnalyzeSchemaRequest} requestParameters Request parameters.
4286
+ * @param {*} [options] Override http request option.
4287
+ * @throws {RequiredError}
4288
+ * @memberof DmsApi
4289
+ */
4290
+ mongoAnalyzeSchema(requestParameters, options) {
4291
+ return (0, exports.DmsApiFp)(this.configuration).mongoAnalyzeSchema(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, requestParameters.sample, options).then((request) => request(this.axios, this.basePath));
4292
+ }
4293
+ /**
4294
+ *
4295
+ * @summary close MongoDB mongosh runtime session
4296
+ * @param {DmsApiMongoCloseShellSessionRequest} requestParameters Request parameters.
4297
+ * @param {*} [options] Override http request option.
4298
+ * @throws {RequiredError}
4299
+ * @memberof DmsApi
4300
+ */
4301
+ mongoCloseShellSession(requestParameters, options) {
4302
+ return (0, exports.DmsApiFp)(this.configuration).mongoCloseShellSession(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.sessionID, options).then((request) => request(this.axios, this.basePath));
4303
+ }
4304
+ /**
4305
+ *
4306
+ * @summary get completions for a MongoDB mongosh session
4307
+ * @param {DmsApiMongoCompleteShellRequest} requestParameters Request parameters.
4308
+ * @param {*} [options] Override http request option.
4309
+ * @throws {RequiredError}
4310
+ * @memberof DmsApi
4311
+ */
4312
+ mongoCompleteShell(requestParameters, options) {
4313
+ return (0, exports.DmsApiFp)(this.configuration).mongoCompleteShell(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.sessionID, requestParameters.mongoShellCompletionsRequest, options).then((request) => request(this.axios, this.basePath));
4314
+ }
4315
+ /**
4316
+ * Creates a collection. Creating the first collection in a database is the supported Create Database backend semantic.
4317
+ * @summary create MongoDB collection
4318
+ * @param {DmsApiMongoCreateCollectionRequest} requestParameters Request parameters.
4319
+ * @param {*} [options] Override http request option.
4320
+ * @throws {RequiredError}
4321
+ * @memberof DmsApi
4322
+ */
4323
+ mongoCreateCollection(requestParameters, options) {
4324
+ return (0, exports.DmsApiFp)(this.configuration).mongoCreateCollection(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, requestParameters.mongoCreateCollectionRequest, options).then((request) => request(this.axios, this.basePath));
4325
+ }
4326
+ /**
4327
+ *
4328
+ * @summary create MongoDB collection index
4329
+ * @param {DmsApiMongoCreateIndexRequest} requestParameters Request parameters.
4330
+ * @param {*} [options] Override http request option.
4331
+ * @throws {RequiredError}
4332
+ * @memberof DmsApi
4333
+ */
4334
+ mongoCreateIndex(requestParameters, options) {
4335
+ return (0, exports.DmsApiFp)(this.configuration).mongoCreateIndex(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, requestParameters.mongoCreateIndexRequest, options).then((request) => request(this.axios, this.basePath));
4336
+ }
4337
+ /**
4338
+ *
4339
+ * @summary create MongoDB mongosh runtime session
4340
+ * @param {DmsApiMongoCreateShellSessionRequest} requestParameters Request parameters.
4341
+ * @param {*} [options] Override http request option.
4342
+ * @throws {RequiredError}
4343
+ * @memberof DmsApi
4344
+ */
4345
+ mongoCreateShellSession(requestParameters, options) {
4346
+ return (0, exports.DmsApiFp)(this.configuration).mongoCreateShellSession(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.mongoShellCreateSessionRequest, options).then((request) => request(this.axios, this.basePath));
4347
+ }
4348
+ /**
4349
+ *
4350
+ * @summary create MongoDB view from a read-only aggregation pipeline
4351
+ * @param {DmsApiMongoCreateViewRequest} requestParameters Request parameters.
4352
+ * @param {*} [options] Override http request option.
4353
+ * @throws {RequiredError}
4354
+ * @memberof DmsApi
4355
+ */
4356
+ mongoCreateView(requestParameters, options) {
4357
+ return (0, exports.DmsApiFp)(this.configuration).mongoCreateView(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.mongoCreateViewRequest, options).then((request) => request(this.axios, this.basePath));
4358
+ }
4359
+ /**
4360
+ *
4361
+ * @summary delete a single MongoDB document
4362
+ * @param {DmsApiMongoDeleteRequest} requestParameters Request parameters.
4363
+ * @param {*} [options] Override http request option.
4364
+ * @throws {RequiredError}
4365
+ * @memberof DmsApi
4366
+ */
4367
+ mongoDelete(requestParameters, options) {
4368
+ return (0, exports.DmsApiFp)(this.configuration).mongoDelete(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, requestParameters.mongoDeleteRequest, options).then((request) => request(this.axios, this.basePath));
4369
+ }
4370
+ /**
4371
+ *
4372
+ * @summary drop MongoDB collection index
4373
+ * @param {DmsApiMongoDropIndexRequest} requestParameters Request parameters.
4374
+ * @param {*} [options] Override http request option.
4375
+ * @throws {RequiredError}
4376
+ * @memberof DmsApi
4377
+ */
4378
+ mongoDropIndex(requestParameters, options) {
4379
+ return (0, exports.DmsApiFp)(this.configuration).mongoDropIndex(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, requestParameters.indexName, options).then((request) => request(this.axios, this.basePath));
4380
+ }
4381
+ /**
4382
+ *
4383
+ * @summary evaluate input in a MongoDB mongosh session
4384
+ * @param {DmsApiMongoEvaluateShellRequest} requestParameters Request parameters.
4385
+ * @param {*} [options] Override http request option.
4386
+ * @throws {RequiredError}
4387
+ * @memberof DmsApi
4388
+ */
4389
+ mongoEvaluateShell(requestParameters, options) {
4390
+ return (0, exports.DmsApiFp)(this.configuration).mongoEvaluateShell(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.sessionID, requestParameters.mongoShellEvaluateRequest, options).then((request) => request(this.axios, this.basePath));
4391
+ }
4392
+ /**
4393
+ *
4394
+ * @summary explain a MongoDB query
4395
+ * @param {DmsApiMongoExplainRequest} requestParameters Request parameters.
4396
+ * @param {*} [options] Override http request option.
4397
+ * @throws {RequiredError}
4398
+ * @memberof DmsApi
4399
+ */
4400
+ mongoExplain(requestParameters, options) {
4401
+ return (0, exports.DmsApiFp)(this.configuration).mongoExplain(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.mongoExplainRequest, options).then((request) => request(this.axios, this.basePath));
4402
+ }
4403
+ /**
4404
+ *
4405
+ * @summary find documents in a MongoDB collection
4406
+ * @param {DmsApiMongoFindRequest} requestParameters Request parameters.
4407
+ * @param {*} [options] Override http request option.
4408
+ * @throws {RequiredError}
4409
+ * @memberof DmsApi
4410
+ */
4411
+ mongoFind(requestParameters, options) {
4412
+ return (0, exports.DmsApiFp)(this.configuration).mongoFind(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, requestParameters.mongoFindRequest, options).then((request) => request(this.axios, this.basePath));
4413
+ }
4414
+ /**
4415
+ *
4416
+ * @summary get MongoDB mongosh session prompt
4417
+ * @param {DmsApiMongoGetShellPromptRequest} requestParameters Request parameters.
4418
+ * @param {*} [options] Override http request option.
4419
+ * @throws {RequiredError}
4420
+ * @memberof DmsApi
4421
+ */
4422
+ mongoGetShellPrompt(requestParameters, options) {
4423
+ return (0, exports.DmsApiFp)(this.configuration).mongoGetShellPrompt(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.sessionID, options).then((request) => request(this.axios, this.basePath));
4424
+ }
4425
+ /**
4426
+ *
4427
+ * @summary get MongoDB collection validation options
4428
+ * @param {DmsApiMongoGetValidationRequest} requestParameters Request parameters.
4429
+ * @param {*} [options] Override http request option.
4430
+ * @throws {RequiredError}
4431
+ * @memberof DmsApi
4432
+ */
4433
+ mongoGetValidation(requestParameters, options) {
4434
+ return (0, exports.DmsApiFp)(this.configuration).mongoGetValidation(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, options).then((request) => request(this.axios, this.basePath));
4435
+ }
4436
+ /**
4437
+ *
4438
+ * @summary insert MongoDB document(s)
4439
+ * @param {DmsApiMongoInsertRequest} requestParameters Request parameters.
4440
+ * @param {*} [options] Override http request option.
4441
+ * @throws {RequiredError}
4442
+ * @memberof DmsApi
4443
+ */
4444
+ mongoInsert(requestParameters, options) {
4445
+ return (0, exports.DmsApiFp)(this.configuration).mongoInsert(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, requestParameters.mongoInsertRequest, options).then((request) => request(this.axios, this.basePath));
4446
+ }
4447
+ /**
4448
+ *
4449
+ * @summary interrupt current MongoDB mongosh session operation
4450
+ * @param {DmsApiMongoInterruptShellRequest} requestParameters Request parameters.
4451
+ * @param {*} [options] Override http request option.
4452
+ * @throws {RequiredError}
4453
+ * @memberof DmsApi
4454
+ */
4455
+ mongoInterruptShell(requestParameters, options) {
4456
+ return (0, exports.DmsApiFp)(this.configuration).mongoInterruptShell(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.sessionID, options).then((request) => request(this.axios, this.basePath));
4457
+ }
4458
+ /**
4459
+ *
4460
+ * @summary list MongoDB collection indexes
4461
+ * @param {DmsApiMongoListIndexesRequest} requestParameters Request parameters.
4462
+ * @param {*} [options] Override http request option.
4463
+ * @throws {RequiredError}
4464
+ * @memberof DmsApi
4465
+ */
4466
+ mongoListIndexes(requestParameters, options) {
4467
+ return (0, exports.DmsApiFp)(this.configuration).mongoListIndexes(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, options).then((request) => request(this.axios, this.basePath));
4468
+ }
4469
+ /**
4470
+ *
4471
+ * @summary replace a single MongoDB document
4472
+ * @param {DmsApiMongoReplaceRequest} requestParameters Request parameters.
4473
+ * @param {*} [options] Override http request option.
4474
+ * @throws {RequiredError}
4475
+ * @memberof DmsApi
4476
+ */
4477
+ mongoReplace(requestParameters, options) {
4478
+ return (0, exports.DmsApiFp)(this.configuration).mongoReplace(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, requestParameters.mongoReplaceRequest, options).then((request) => request(this.axios, this.basePath));
4479
+ }
4480
+ /**
4481
+ *
4482
+ * @summary set MongoDB collection validation options
4483
+ * @param {DmsApiMongoSetValidationRequest} requestParameters Request parameters.
4484
+ * @param {*} [options] Override http request option.
4485
+ * @throws {RequiredError}
4486
+ * @memberof DmsApi
4487
+ */
4488
+ mongoSetValidation(requestParameters, options) {
4489
+ return (0, exports.DmsApiFp)(this.configuration).mongoSetValidation(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, requestParameters.mongoSetValidationRequest, options).then((request) => request(this.axios, this.basePath));
4490
+ }
4491
+ /**
4492
+ *
4493
+ * @summary update a single MongoDB document
4494
+ * @param {DmsApiMongoUpdateRequest} requestParameters Request parameters.
4495
+ * @param {*} [options] Override http request option.
4496
+ * @throws {RequiredError}
4497
+ * @memberof DmsApi
4498
+ */
4499
+ mongoUpdate(requestParameters, options) {
4500
+ return (0, exports.DmsApiFp)(this.configuration).mongoUpdate(requestParameters.orgName, requestParameters.clusterName, requestParameters.id, requestParameters.db, requestParameters.col, requestParameters.mongoUpdateRequest, options).then((request) => request(this.axios, this.basePath));
4501
+ }
2150
4502
  /**
2151
4503
  *
2152
4504
  * @summary create a SQL query