@alicloud/dms20250414 4.1.0 → 4.2.0

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 (396) hide show
  1. package/dist/client.d.ts +360 -30
  2. package/dist/client.js +1572 -429
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddAgenticDataSourceRequest.d.ts +220 -0
  5. package/dist/models/AddAgenticDataSourceRequest.js +102 -0
  6. package/dist/models/AddAgenticDataSourceRequest.js.map +1 -0
  7. package/dist/models/AddAgenticDataSourceResponse.d.ts +19 -0
  8. package/dist/models/AddAgenticDataSourceResponse.js +69 -0
  9. package/dist/models/AddAgenticDataSourceResponse.js.map +1 -0
  10. package/dist/models/AddAgenticDataSourceResponseBody.d.ts +270 -0
  11. package/dist/models/AddAgenticDataSourceResponseBody.js +134 -0
  12. package/dist/models/AddAgenticDataSourceResponseBody.js.map +1 -0
  13. package/dist/models/AgentServiceOrderSummaryVo.d.ts +0 -24
  14. package/dist/models/AgentServiceOrderSummaryVo.js.map +1 -1
  15. package/dist/models/AgentServiceOrderVo.d.ts +0 -52
  16. package/dist/models/AgentServiceOrderVo.js.map +1 -1
  17. package/dist/models/AgenticCatalog.d.ts +87 -0
  18. package/dist/models/AgenticCatalog.js.map +1 -1
  19. package/dist/models/AgenticDatabase.d.ts +58 -11
  20. package/dist/models/AgenticDatabase.js.map +1 -1
  21. package/dist/models/AgenticDatabaseEngineMeta.d.ts +16 -4
  22. package/dist/models/AgenticDatabaseEngineMeta.js.map +1 -1
  23. package/dist/models/AgenticDatabaseObject.d.ts +0 -24
  24. package/dist/models/AgenticDatabaseObject.js.map +1 -1
  25. package/dist/models/AgenticDmsInstanceSyncTask.d.ts +1 -0
  26. package/dist/models/AgenticDmsInstanceSyncTask.js +2 -0
  27. package/dist/models/AgenticDmsInstanceSyncTask.js.map +1 -1
  28. package/dist/models/AgenticResourceOwner.d.ts +58 -14
  29. package/dist/models/AgenticResourceOwner.js +12 -0
  30. package/dist/models/AgenticResourceOwner.js.map +1 -1
  31. package/dist/models/AgenticTableBaseInfo.d.ts +60 -0
  32. package/dist/models/AgenticTableBaseInfo.js.map +1 -1
  33. package/dist/models/AgenticTableColumn.d.ts +17 -5
  34. package/dist/models/AgenticTableColumn.js.map +1 -1
  35. package/dist/models/AgenticTableColumnEngineMeta.d.ts +40 -10
  36. package/dist/models/AgenticTableColumnEngineMeta.js.map +1 -1
  37. package/dist/models/AgenticTableEngineMeta.d.ts +47 -11
  38. package/dist/models/AgenticTableEngineMeta.js.map +1 -1
  39. package/dist/models/AgenticTableIndex.d.ts +28 -7
  40. package/dist/models/AgenticTableIndex.js.map +1 -1
  41. package/dist/models/CreateAgenticSqlExecuteCredentialRequest.d.ts +48 -0
  42. package/dist/models/CreateAgenticSqlExecuteCredentialRequest.js +64 -0
  43. package/dist/models/CreateAgenticSqlExecuteCredentialRequest.js.map +1 -0
  44. package/dist/models/CreateAgenticSqlExecuteCredentialResponse.d.ts +19 -0
  45. package/dist/models/CreateAgenticSqlExecuteCredentialResponse.js +69 -0
  46. package/dist/models/CreateAgenticSqlExecuteCredentialResponse.js.map +1 -0
  47. package/dist/models/CreateAgenticSqlExecuteCredentialResponseBody.d.ts +129 -0
  48. package/dist/models/CreateAgenticSqlExecuteCredentialResponseBody.js +102 -0
  49. package/dist/models/CreateAgenticSqlExecuteCredentialResponseBody.js.map +1 -0
  50. package/dist/models/CreateCustomAgentRequest.d.ts +125 -36
  51. package/dist/models/CreateCustomAgentRequest.js +7 -0
  52. package/dist/models/CreateCustomAgentRequest.js.map +1 -1
  53. package/dist/models/CreateCustomAgentResponseBody.d.ts +112 -20
  54. package/dist/models/CreateCustomAgentResponseBody.js +7 -0
  55. package/dist/models/CreateCustomAgentResponseBody.js.map +1 -1
  56. package/dist/models/CreateCustomAgentShrinkRequest.d.ts +52 -28
  57. package/dist/models/CreateCustomAgentShrinkRequest.js +4 -0
  58. package/dist/models/CreateCustomAgentShrinkRequest.js.map +1 -1
  59. package/dist/models/CreateDataAgentSkillMetaRequest.d.ts +4 -4
  60. package/dist/models/CreateDataAgentSkillMetaResponseBody.d.ts +15 -13
  61. package/dist/models/CreateDataAgentSkillMetaResponseBody.js.map +1 -1
  62. package/dist/models/DeleteAgenticDataSourceRequest.d.ts +23 -0
  63. package/dist/models/DeleteAgenticDataSourceRequest.js +58 -0
  64. package/dist/models/DeleteAgenticDataSourceRequest.js.map +1 -0
  65. package/dist/models/DeleteAgenticDataSourceResponse.d.ts +19 -0
  66. package/dist/models/DeleteAgenticDataSourceResponse.js +69 -0
  67. package/dist/models/DeleteAgenticDataSourceResponse.js.map +1 -0
  68. package/dist/models/DeleteAgenticDataSourceResponseBody.d.ts +47 -0
  69. package/dist/models/DeleteAgenticDataSourceResponseBody.js +66 -0
  70. package/dist/models/DeleteAgenticDataSourceResponseBody.js.map +1 -0
  71. package/dist/models/DescribeCustomAgentResponseBody.d.ts +109 -21
  72. package/dist/models/DescribeCustomAgentResponseBody.js +7 -0
  73. package/dist/models/DescribeCustomAgentResponseBody.js.map +1 -1
  74. package/dist/models/DescribeFileUploadSignatureRequest.d.ts +9 -2
  75. package/dist/models/DescribeFileUploadSignatureRequest.js.map +1 -1
  76. package/dist/models/DescribeFileUploadSignatureResponseBody.d.ts +5 -5
  77. package/dist/models/DmsKnowledgeSearchOrderInfoDo.d.ts +0 -28
  78. package/dist/models/DmsKnowledgeSearchOrderInfoDo.js.map +1 -1
  79. package/dist/models/FileUploadCallbackRequest.d.ts +19 -4
  80. package/dist/models/FileUploadCallbackRequest.js.map +1 -1
  81. package/dist/models/FileUploadCallbackResponseBody.d.ts +4 -4
  82. package/dist/models/GetAgenticAgentByInstallTokenRequest.d.ts +5 -0
  83. package/dist/models/GetAgenticAgentByInstallTokenRequest.js.map +1 -1
  84. package/dist/models/GetAgenticAgentByInstallTokenResponseBody.d.ts +89 -0
  85. package/dist/models/GetAgenticAgentByInstallTokenResponseBody.js.map +1 -1
  86. package/dist/models/GetAgenticCatalogRequest.d.ts +23 -0
  87. package/dist/models/GetAgenticCatalogRequest.js +58 -0
  88. package/dist/models/GetAgenticCatalogRequest.js.map +1 -0
  89. package/dist/models/GetAgenticCatalogResponse.d.ts +19 -0
  90. package/dist/models/GetAgenticCatalogResponse.js +69 -0
  91. package/dist/models/GetAgenticCatalogResponse.js.map +1 -0
  92. package/dist/models/GetAgenticCatalogResponseBody.d.ts +54 -0
  93. package/dist/models/GetAgenticCatalogResponseBody.js +70 -0
  94. package/dist/models/GetAgenticCatalogResponseBody.js.map +1 -0
  95. package/dist/models/GetAgenticDataSourceRequest.d.ts +23 -0
  96. package/dist/models/GetAgenticDataSourceRequest.js +58 -0
  97. package/dist/models/GetAgenticDataSourceRequest.js.map +1 -0
  98. package/dist/models/GetAgenticDataSourceResponse.d.ts +19 -0
  99. package/dist/models/GetAgenticDataSourceResponse.js +69 -0
  100. package/dist/models/GetAgenticDataSourceResponse.js.map +1 -0
  101. package/dist/models/GetAgenticDataSourceResponseBody.d.ts +318 -0
  102. package/dist/models/GetAgenticDataSourceResponseBody.js +146 -0
  103. package/dist/models/GetAgenticDataSourceResponseBody.js.map +1 -0
  104. package/dist/models/GetAgenticDatabaseRequest.d.ts +23 -0
  105. package/dist/models/GetAgenticDatabaseRequest.js +58 -0
  106. package/dist/models/GetAgenticDatabaseRequest.js.map +1 -0
  107. package/dist/models/GetAgenticDatabaseResponse.d.ts +19 -0
  108. package/dist/models/GetAgenticDatabaseResponse.js +69 -0
  109. package/dist/models/GetAgenticDatabaseResponse.js.map +1 -0
  110. package/dist/models/GetAgenticDatabaseResponseBody.d.ts +54 -0
  111. package/dist/models/GetAgenticDatabaseResponseBody.js +70 -0
  112. package/dist/models/GetAgenticDatabaseResponseBody.js.map +1 -0
  113. package/dist/models/GetAgenticTableColumnRequest.d.ts +33 -0
  114. package/dist/models/GetAgenticTableColumnRequest.js +60 -0
  115. package/dist/models/GetAgenticTableColumnRequest.js.map +1 -0
  116. package/dist/models/GetAgenticTableColumnResponse.d.ts +19 -0
  117. package/dist/models/GetAgenticTableColumnResponse.js +69 -0
  118. package/dist/models/GetAgenticTableColumnResponse.js.map +1 -0
  119. package/dist/models/GetAgenticTableColumnResponseBody.d.ts +54 -0
  120. package/dist/models/GetAgenticTableColumnResponseBody.js +70 -0
  121. package/dist/models/GetAgenticTableColumnResponseBody.js.map +1 -0
  122. package/dist/models/GetAgenticTableIndexRequest.d.ts +33 -0
  123. package/dist/models/GetAgenticTableIndexRequest.js +60 -0
  124. package/dist/models/GetAgenticTableIndexRequest.js.map +1 -0
  125. package/dist/models/GetAgenticTableIndexResponse.d.ts +19 -0
  126. package/dist/models/GetAgenticTableIndexResponse.js +69 -0
  127. package/dist/models/GetAgenticTableIndexResponse.js.map +1 -0
  128. package/dist/models/GetAgenticTableIndexResponseBody.d.ts +54 -0
  129. package/dist/models/GetAgenticTableIndexResponseBody.js +70 -0
  130. package/dist/models/GetAgenticTableIndexResponseBody.js.map +1 -0
  131. package/dist/models/GetDataAgentTaskModelUsageMetricsRequest.d.ts +13 -2
  132. package/dist/models/GetDataAgentTaskModelUsageMetricsRequest.js.map +1 -1
  133. package/dist/models/GetDataAgentTaskModelUsageMetricsResponseBody.d.ts +12 -9
  134. package/dist/models/GetDataAgentTaskModelUsageMetricsResponseBody.js.map +1 -1
  135. package/dist/models/GetDataAgentTaskModelUsageMetricsShrinkRequest.d.ts +13 -2
  136. package/dist/models/GetDataAgentTaskModelUsageMetricsShrinkRequest.js.map +1 -1
  137. package/dist/models/GetDataAgentTaskModelUsageRequest.d.ts +14 -3
  138. package/dist/models/GetDataAgentTaskModelUsageRequest.js.map +1 -1
  139. package/dist/models/GetDataAgentTaskModelUsageResponseBody.d.ts +35 -7
  140. package/dist/models/GetDataAgentTaskModelUsageResponseBody.js.map +1 -1
  141. package/dist/models/GetDataAgentTaskModelUsageShrinkRequest.d.ts +14 -3
  142. package/dist/models/GetDataAgentTaskModelUsageShrinkRequest.js.map +1 -1
  143. package/dist/models/GetDataAgentWorkspaceInfoRequest.d.ts +1 -1
  144. package/dist/models/GetDataAgentWorkspaceInfoResponseBody.d.ts +19 -5
  145. package/dist/models/GetDataAgentWorkspaceInfoResponseBody.js.map +1 -1
  146. package/dist/models/ListAgenticCatalogRequest.d.ts +49 -0
  147. package/dist/models/ListAgenticCatalogRequest.js +64 -0
  148. package/dist/models/ListAgenticCatalogRequest.js.map +1 -0
  149. package/dist/models/ListAgenticCatalogResponse.d.ts +19 -0
  150. package/dist/models/ListAgenticCatalogResponse.js +69 -0
  151. package/dist/models/ListAgenticCatalogResponse.js.map +1 -0
  152. package/dist/models/ListAgenticCatalogResponseBody.d.ts +70 -0
  153. package/dist/models/ListAgenticCatalogResponseBody.js +74 -0
  154. package/dist/models/ListAgenticCatalogResponseBody.js.map +1 -0
  155. package/dist/models/ListAgenticDataSourcesRequest.d.ts +93 -0
  156. package/dist/models/ListAgenticDataSourcesRequest.js +74 -0
  157. package/dist/models/ListAgenticDataSourcesRequest.js.map +1 -0
  158. package/dist/models/ListAgenticDataSourcesResponse.d.ts +19 -0
  159. package/dist/models/ListAgenticDataSourcesResponse.js +69 -0
  160. package/dist/models/ListAgenticDataSourcesResponse.js.map +1 -0
  161. package/dist/models/ListAgenticDataSourcesResponseBody.d.ts +284 -0
  162. package/dist/models/ListAgenticDataSourcesResponseBody.js +138 -0
  163. package/dist/models/ListAgenticDataSourcesResponseBody.js.map +1 -0
  164. package/dist/models/ListAgenticDatabaseRequest.d.ts +73 -0
  165. package/dist/models/ListAgenticDatabaseRequest.js +68 -0
  166. package/dist/models/ListAgenticDatabaseRequest.js.map +1 -0
  167. package/dist/models/ListAgenticDatabaseResponse.d.ts +19 -0
  168. package/dist/models/ListAgenticDatabaseResponse.js +69 -0
  169. package/dist/models/ListAgenticDatabaseResponse.js.map +1 -0
  170. package/dist/models/ListAgenticDatabaseResponseBody.d.ts +70 -0
  171. package/dist/models/ListAgenticDatabaseResponseBody.js +74 -0
  172. package/dist/models/ListAgenticDatabaseResponseBody.js.map +1 -0
  173. package/dist/models/ListAgenticGlobalSqlExecutionHistoriesRequest.d.ts +112 -0
  174. package/dist/models/ListAgenticGlobalSqlExecutionHistoriesRequest.js +80 -0
  175. package/dist/models/ListAgenticGlobalSqlExecutionHistoriesRequest.js.map +1 -0
  176. package/dist/models/ListAgenticGlobalSqlExecutionHistoriesResponse.d.ts +19 -0
  177. package/dist/models/ListAgenticGlobalSqlExecutionHistoriesResponse.js +69 -0
  178. package/dist/models/ListAgenticGlobalSqlExecutionHistoriesResponse.js.map +1 -0
  179. package/dist/models/ListAgenticGlobalSqlExecutionHistoriesResponseBody.d.ts +234 -0
  180. package/dist/models/ListAgenticGlobalSqlExecutionHistoriesResponseBody.js +128 -0
  181. package/dist/models/ListAgenticGlobalSqlExecutionHistoriesResponseBody.js.map +1 -0
  182. package/dist/models/ListAgenticSqlExecutionHistoriesRequest.d.ts +112 -0
  183. package/dist/models/ListAgenticSqlExecutionHistoriesRequest.js +80 -0
  184. package/dist/models/ListAgenticSqlExecutionHistoriesRequest.js.map +1 -0
  185. package/dist/models/ListAgenticSqlExecutionHistoriesResponse.d.ts +19 -0
  186. package/dist/models/ListAgenticSqlExecutionHistoriesResponse.js +69 -0
  187. package/dist/models/ListAgenticSqlExecutionHistoriesResponse.js.map +1 -0
  188. package/dist/models/ListAgenticSqlExecutionHistoriesResponseBody.d.ts +234 -0
  189. package/dist/models/ListAgenticSqlExecutionHistoriesResponseBody.js +128 -0
  190. package/dist/models/ListAgenticSqlExecutionHistoriesResponseBody.js.map +1 -0
  191. package/dist/models/ListAgenticTableBaseInfoRequest.d.ts +87 -0
  192. package/dist/models/ListAgenticTableBaseInfoRequest.js +70 -0
  193. package/dist/models/ListAgenticTableBaseInfoRequest.js.map +1 -0
  194. package/dist/models/ListAgenticTableBaseInfoResponse.d.ts +19 -0
  195. package/dist/models/ListAgenticTableBaseInfoResponse.js +69 -0
  196. package/dist/models/ListAgenticTableBaseInfoResponse.js.map +1 -0
  197. package/dist/models/ListAgenticTableBaseInfoResponseBody.d.ts +70 -0
  198. package/dist/models/ListAgenticTableBaseInfoResponseBody.js +74 -0
  199. package/dist/models/ListAgenticTableBaseInfoResponseBody.js.map +1 -0
  200. package/dist/models/ListCustomAgentRequest.d.ts +13 -3
  201. package/dist/models/ListCustomAgentRequest.js +2 -0
  202. package/dist/models/ListCustomAgentRequest.js.map +1 -1
  203. package/dist/models/ListCustomAgentResponseBody.d.ts +77 -27
  204. package/dist/models/ListCustomAgentResponseBody.js +7 -0
  205. package/dist/models/ListCustomAgentResponseBody.js.map +1 -1
  206. package/dist/models/ListDataAgentAccuracyTestInstancesRequest.d.ts +3 -3
  207. package/dist/models/ListDataAgentAccuracyTestInstancesResponseBody.d.ts +25 -9
  208. package/dist/models/ListDataAgentAccuracyTestInstancesResponseBody.js +4 -0
  209. package/dist/models/ListDataAgentAccuracyTestInstancesResponseBody.js.map +1 -1
  210. package/dist/models/ListDataAgentAccuracyTestResultsRequest.d.ts +5 -5
  211. package/dist/models/ListDataAgentAccuracyTestResultsResponseBody.d.ts +44 -16
  212. package/dist/models/ListDataAgentAccuracyTestResultsResponseBody.js.map +1 -1
  213. package/dist/models/ListDataAgentWorkspaceRequest.d.ts +3 -3
  214. package/dist/models/ListDataAgentWorkspaceResponseBody.d.ts +14 -6
  215. package/dist/models/ListDataAgentWorkspaceResponseBody.js +2 -0
  216. package/dist/models/ListDataAgentWorkspaceResponseBody.js.map +1 -1
  217. package/dist/models/ListDataCenterDatabaseRequest.d.ts +10 -3
  218. package/dist/models/ListDataCenterDatabaseRequest.js.map +1 -1
  219. package/dist/models/ListDataCenterDatabaseResponseBody.d.ts +38 -15
  220. package/dist/models/ListDataCenterDatabaseResponseBody.js.map +1 -1
  221. package/dist/models/ModifyCustomAgentRequest.d.ts +126 -47
  222. package/dist/models/ModifyCustomAgentRequest.js +5 -0
  223. package/dist/models/ModifyCustomAgentRequest.js.map +1 -1
  224. package/dist/models/ModifyCustomAgentResponseBody.d.ts +109 -19
  225. package/dist/models/ModifyCustomAgentResponseBody.js +7 -0
  226. package/dist/models/ModifyCustomAgentResponseBody.js.map +1 -1
  227. package/dist/models/ModifyCustomAgentShrinkRequest.d.ts +54 -40
  228. package/dist/models/ModifyCustomAgentShrinkRequest.js +2 -0
  229. package/dist/models/ModifyCustomAgentShrinkRequest.js.map +1 -1
  230. package/dist/models/OneMetaDatabase.d.ts +0 -56
  231. package/dist/models/OneMetaDatabase.js.map +1 -1
  232. package/dist/models/OneMetaDatabaseEngineMeta.d.ts +0 -16
  233. package/dist/models/OneMetaDatabaseEngineMeta.js.map +1 -1
  234. package/dist/models/SearchAgenticCatalogRequest.d.ts +65 -0
  235. package/dist/models/SearchAgenticCatalogRequest.js +68 -0
  236. package/dist/models/SearchAgenticCatalogRequest.js.map +1 -0
  237. package/dist/models/SearchAgenticCatalogResponse.d.ts +19 -0
  238. package/dist/models/SearchAgenticCatalogResponse.js +69 -0
  239. package/dist/models/SearchAgenticCatalogResponse.js.map +1 -0
  240. package/dist/models/SearchAgenticCatalogResponseBody.d.ts +70 -0
  241. package/dist/models/SearchAgenticCatalogResponseBody.js +74 -0
  242. package/dist/models/SearchAgenticCatalogResponseBody.js.map +1 -0
  243. package/dist/models/SearchAgenticDatabaseRequest.d.ts +61 -0
  244. package/dist/models/SearchAgenticDatabaseRequest.js +68 -0
  245. package/dist/models/SearchAgenticDatabaseRequest.js.map +1 -0
  246. package/dist/models/SearchAgenticDatabaseResponse.d.ts +19 -0
  247. package/dist/models/SearchAgenticDatabaseResponse.js +69 -0
  248. package/dist/models/SearchAgenticDatabaseResponse.js.map +1 -0
  249. package/dist/models/SearchAgenticDatabaseResponseBody.d.ts +70 -0
  250. package/dist/models/SearchAgenticDatabaseResponseBody.js +74 -0
  251. package/dist/models/SearchAgenticDatabaseResponseBody.js.map +1 -0
  252. package/dist/models/TestAgenticDataSourceConnectionRequest.d.ts +202 -0
  253. package/dist/models/TestAgenticDataSourceConnectionRequest.js +100 -0
  254. package/dist/models/TestAgenticDataSourceConnectionRequest.js.map +1 -0
  255. package/dist/models/TestAgenticDataSourceConnectionResponse.d.ts +19 -0
  256. package/dist/models/TestAgenticDataSourceConnectionResponse.js +69 -0
  257. package/dist/models/TestAgenticDataSourceConnectionResponse.js.map +1 -0
  258. package/dist/models/TestAgenticDataSourceConnectionResponseBody.d.ts +72 -0
  259. package/dist/models/TestAgenticDataSourceConnectionResponseBody.js +90 -0
  260. package/dist/models/TestAgenticDataSourceConnectionResponseBody.js.map +1 -0
  261. package/dist/models/TrialOrderEligibilityVo.d.ts +0 -8
  262. package/dist/models/TrialOrderEligibilityVo.js.map +1 -1
  263. package/dist/models/UpdateAgenticDataSourceRequest.d.ts +175 -0
  264. package/dist/models/UpdateAgenticDataSourceRequest.js +96 -0
  265. package/dist/models/UpdateAgenticDataSourceRequest.js.map +1 -0
  266. package/dist/models/UpdateAgenticDataSourceResponse.d.ts +19 -0
  267. package/dist/models/UpdateAgenticDataSourceResponse.js +69 -0
  268. package/dist/models/UpdateAgenticDataSourceResponse.js.map +1 -0
  269. package/dist/models/UpdateAgenticDataSourceResponseBody.d.ts +270 -0
  270. package/dist/models/UpdateAgenticDataSourceResponseBody.js +134 -0
  271. package/dist/models/UpdateAgenticDataSourceResponseBody.js.map +1 -0
  272. package/dist/models/UpdateAirflowRequest.d.ts +19 -8
  273. package/dist/models/UpdateAirflowRequest.js.map +1 -1
  274. package/dist/models/UpdateAirflowResponseBody.d.ts +21 -22
  275. package/dist/models/UpdateAirflowResponseBody.js.map +1 -1
  276. package/dist/models/UpdateAirflowShrinkRequest.d.ts +19 -8
  277. package/dist/models/UpdateAirflowShrinkRequest.js.map +1 -1
  278. package/dist/models/UpdateDataAgentAccuracyTestRequest.d.ts +9 -2
  279. package/dist/models/UpdateDataAgentAccuracyTestRequest.js.map +1 -1
  280. package/dist/models/UpdateDataAgentAccuracyTestResponseBody.d.ts +42 -7
  281. package/dist/models/UpdateDataAgentAccuracyTestResponseBody.js.map +1 -1
  282. package/dist/models/model.d.ts +62 -0
  283. package/dist/models/model.js +136 -11
  284. package/dist/models/model.js.map +1 -1
  285. package/package.json +1 -1
  286. package/src/client.ts +1567 -243
  287. package/src/models/AddAgenticDataSourceRequest.ts +277 -0
  288. package/src/models/AddAgenticDataSourceResponse.ts +40 -0
  289. package/src/models/AddAgenticDataSourceResponseBody.ts +350 -0
  290. package/src/models/AgentServiceOrderSummaryVo.ts +0 -24
  291. package/src/models/AgentServiceOrderVo.ts +0 -52
  292. package/src/models/AgenticCatalog.ts +87 -0
  293. package/src/models/AgenticDatabase.ts +58 -11
  294. package/src/models/AgenticDatabaseEngineMeta.ts +16 -4
  295. package/src/models/AgenticDatabaseObject.ts +0 -24
  296. package/src/models/AgenticDmsInstanceSyncTask.ts +3 -0
  297. package/src/models/AgenticResourceOwner.ts +70 -14
  298. package/src/models/AgenticTableBaseInfo.ts +60 -0
  299. package/src/models/AgenticTableColumn.ts +17 -5
  300. package/src/models/AgenticTableColumnEngineMeta.ts +40 -10
  301. package/src/models/AgenticTableEngineMeta.ts +47 -11
  302. package/src/models/AgenticTableIndex.ts +28 -7
  303. package/src/models/CreateAgenticSqlExecuteCredentialRequest.ts +67 -0
  304. package/src/models/CreateAgenticSqlExecuteCredentialResponse.ts +40 -0
  305. package/src/models/CreateAgenticSqlExecuteCredentialResponseBody.ts +177 -0
  306. package/src/models/CreateCustomAgentRequest.ts +132 -36
  307. package/src/models/CreateCustomAgentResponseBody.ts +119 -20
  308. package/src/models/CreateCustomAgentShrinkRequest.ts +56 -28
  309. package/src/models/CreateDataAgentSkillMetaRequest.ts +4 -4
  310. package/src/models/CreateDataAgentSkillMetaResponseBody.ts +15 -13
  311. package/src/models/DeleteAgenticDataSourceRequest.ts +36 -0
  312. package/src/models/DeleteAgenticDataSourceResponse.ts +40 -0
  313. package/src/models/DeleteAgenticDataSourceResponseBody.ts +68 -0
  314. package/src/models/DescribeCustomAgentResponseBody.ts +116 -21
  315. package/src/models/DescribeFileUploadSignatureRequest.ts +9 -2
  316. package/src/models/DescribeFileUploadSignatureResponseBody.ts +5 -5
  317. package/src/models/DmsKnowledgeSearchOrderInfoDo.ts +0 -28
  318. package/src/models/FileUploadCallbackRequest.ts +19 -4
  319. package/src/models/FileUploadCallbackResponseBody.ts +4 -4
  320. package/src/models/GetAgenticAgentByInstallTokenRequest.ts +5 -0
  321. package/src/models/GetAgenticAgentByInstallTokenResponseBody.ts +89 -0
  322. package/src/models/GetAgenticCatalogRequest.ts +36 -0
  323. package/src/models/GetAgenticCatalogResponse.ts +40 -0
  324. package/src/models/GetAgenticCatalogResponseBody.ts +78 -0
  325. package/src/models/GetAgenticDataSourceRequest.ts +36 -0
  326. package/src/models/GetAgenticDataSourceResponse.ts +40 -0
  327. package/src/models/GetAgenticDataSourceResponseBody.ts +410 -0
  328. package/src/models/GetAgenticDatabaseRequest.ts +36 -0
  329. package/src/models/GetAgenticDatabaseResponse.ts +40 -0
  330. package/src/models/GetAgenticDatabaseResponseBody.ts +78 -0
  331. package/src/models/GetAgenticTableColumnRequest.ts +48 -0
  332. package/src/models/GetAgenticTableColumnResponse.ts +40 -0
  333. package/src/models/GetAgenticTableColumnResponseBody.ts +78 -0
  334. package/src/models/GetAgenticTableIndexRequest.ts +48 -0
  335. package/src/models/GetAgenticTableIndexResponse.ts +40 -0
  336. package/src/models/GetAgenticTableIndexResponseBody.ts +78 -0
  337. package/src/models/GetDataAgentTaskModelUsageMetricsRequest.ts +13 -2
  338. package/src/models/GetDataAgentTaskModelUsageMetricsResponseBody.ts +12 -9
  339. package/src/models/GetDataAgentTaskModelUsageMetricsShrinkRequest.ts +13 -2
  340. package/src/models/GetDataAgentTaskModelUsageRequest.ts +14 -3
  341. package/src/models/GetDataAgentTaskModelUsageResponseBody.ts +35 -7
  342. package/src/models/GetDataAgentTaskModelUsageShrinkRequest.ts +14 -3
  343. package/src/models/GetDataAgentWorkspaceInfoRequest.ts +1 -1
  344. package/src/models/GetDataAgentWorkspaceInfoResponseBody.ts +19 -5
  345. package/src/models/ListAgenticCatalogRequest.ts +68 -0
  346. package/src/models/ListAgenticCatalogResponse.ts +40 -0
  347. package/src/models/ListAgenticCatalogResponseBody.ts +98 -0
  348. package/src/models/ListAgenticDataSourcesRequest.ts +122 -0
  349. package/src/models/ListAgenticDataSourcesResponse.ts +40 -0
  350. package/src/models/ListAgenticDataSourcesResponseBody.ts +368 -0
  351. package/src/models/ListAgenticDatabaseRequest.ts +96 -0
  352. package/src/models/ListAgenticDatabaseResponse.ts +40 -0
  353. package/src/models/ListAgenticDatabaseResponseBody.ts +98 -0
  354. package/src/models/ListAgenticGlobalSqlExecutionHistoriesRequest.ts +147 -0
  355. package/src/models/ListAgenticGlobalSqlExecutionHistoriesResponse.ts +40 -0
  356. package/src/models/ListAgenticGlobalSqlExecutionHistoriesResponseBody.ts +308 -0
  357. package/src/models/ListAgenticSqlExecutionHistoriesRequest.ts +147 -0
  358. package/src/models/ListAgenticSqlExecutionHistoriesResponse.ts +40 -0
  359. package/src/models/ListAgenticSqlExecutionHistoriesResponseBody.ts +308 -0
  360. package/src/models/ListAgenticTableBaseInfoRequest.ts +112 -0
  361. package/src/models/ListAgenticTableBaseInfoResponse.ts +40 -0
  362. package/src/models/ListAgenticTableBaseInfoResponseBody.ts +98 -0
  363. package/src/models/ListCustomAgentRequest.ts +15 -3
  364. package/src/models/ListCustomAgentResponseBody.ts +84 -27
  365. package/src/models/ListDataAgentAccuracyTestInstancesRequest.ts +3 -3
  366. package/src/models/ListDataAgentAccuracyTestInstancesResponseBody.ts +29 -9
  367. package/src/models/ListDataAgentAccuracyTestResultsRequest.ts +5 -5
  368. package/src/models/ListDataAgentAccuracyTestResultsResponseBody.ts +44 -16
  369. package/src/models/ListDataAgentWorkspaceRequest.ts +3 -3
  370. package/src/models/ListDataAgentWorkspaceResponseBody.ts +16 -6
  371. package/src/models/ListDataCenterDatabaseRequest.ts +10 -3
  372. package/src/models/ListDataCenterDatabaseResponseBody.ts +38 -15
  373. package/src/models/ModifyCustomAgentRequest.ts +131 -47
  374. package/src/models/ModifyCustomAgentResponseBody.ts +116 -19
  375. package/src/models/ModifyCustomAgentShrinkRequest.ts +56 -40
  376. package/src/models/OneMetaDatabase.ts +0 -56
  377. package/src/models/OneMetaDatabaseEngineMeta.ts +0 -16
  378. package/src/models/SearchAgenticCatalogRequest.ts +88 -0
  379. package/src/models/SearchAgenticCatalogResponse.ts +40 -0
  380. package/src/models/SearchAgenticCatalogResponseBody.ts +98 -0
  381. package/src/models/SearchAgenticDatabaseRequest.ts +84 -0
  382. package/src/models/SearchAgenticDatabaseResponse.ts +40 -0
  383. package/src/models/SearchAgenticDatabaseResponseBody.ts +98 -0
  384. package/src/models/TestAgenticDataSourceConnectionRequest.ts +257 -0
  385. package/src/models/TestAgenticDataSourceConnectionResponse.ts +40 -0
  386. package/src/models/TestAgenticDataSourceConnectionResponseBody.ts +108 -0
  387. package/src/models/TrialOrderEligibilityVo.ts +0 -8
  388. package/src/models/UpdateAgenticDataSourceRequest.ts +226 -0
  389. package/src/models/UpdateAgenticDataSourceResponse.ts +40 -0
  390. package/src/models/UpdateAgenticDataSourceResponseBody.ts +350 -0
  391. package/src/models/UpdateAirflowRequest.ts +19 -8
  392. package/src/models/UpdateAirflowResponseBody.ts +21 -22
  393. package/src/models/UpdateAirflowShrinkRequest.ts +19 -8
  394. package/src/models/UpdateDataAgentAccuracyTestRequest.ts +9 -2
  395. package/src/models/UpdateDataAgentAccuracyTestResponseBody.ts +42 -7
  396. package/src/models/model.ts +62 -0
package/dist/client.js CHANGED
@@ -81,6 +81,117 @@ class Client extends openapi_core_1.default {
81
81
  }
82
82
  return openapi_core_2.OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
83
83
  }
84
+ /**
85
+ * Creates a data source accessible by the Agent data gateway.
86
+ *
87
+ * @remarks
88
+ * Enter the connection and authentication information for the data source. The connection is automatically tested before saving. If the test succeeds, the data source is created and metadata synchronization starts.
89
+ *
90
+ * @param request - AddAgenticDataSourceRequest
91
+ * @param runtime - runtime options for this request RuntimeOptions
92
+ * @returns AddAgenticDataSourceResponse
93
+ */
94
+ async addAgenticDataSourceWithOptions(request, runtime) {
95
+ request.validate();
96
+ let query = {};
97
+ if (!$dara.isNull(request.alias)) {
98
+ query["Alias"] = request.alias;
99
+ }
100
+ if (!$dara.isNull(request.authAccount)) {
101
+ query["AuthAccount"] = request.authAccount;
102
+ }
103
+ if (!$dara.isNull(request.authPassword)) {
104
+ query["AuthPassword"] = request.authPassword;
105
+ }
106
+ if (!$dara.isNull(request.authType)) {
107
+ query["AuthType"] = request.authType;
108
+ }
109
+ if (!$dara.isNull(request.catalogName)) {
110
+ query["CatalogName"] = request.catalogName;
111
+ }
112
+ if (!$dara.isNull(request.createMode)) {
113
+ query["CreateMode"] = request.createMode;
114
+ }
115
+ if (!$dara.isNull(request.dbType)) {
116
+ query["DbType"] = request.dbType;
117
+ }
118
+ if (!$dara.isNull(request.envType)) {
119
+ query["EnvType"] = request.envType;
120
+ }
121
+ if (!$dara.isNull(request.host)) {
122
+ query["Host"] = request.host;
123
+ }
124
+ if (!$dara.isNull(request.instanceResourceId)) {
125
+ query["InstanceResourceId"] = request.instanceResourceId;
126
+ }
127
+ if (!$dara.isNull(request.instanceSource)) {
128
+ query["InstanceSource"] = request.instanceSource;
129
+ }
130
+ if (!$dara.isNull(request.kmsSecret)) {
131
+ query["KmsSecret"] = request.kmsSecret;
132
+ }
133
+ if (!$dara.isNull(request.policyId)) {
134
+ query["PolicyId"] = request.policyId;
135
+ }
136
+ if (!$dara.isNull(request.port)) {
137
+ query["Port"] = request.port;
138
+ }
139
+ if (!$dara.isNull(request.roleArn)) {
140
+ query["RoleArn"] = request.roleArn;
141
+ }
142
+ if (!$dara.isNull(request.schema)) {
143
+ query["Schema"] = request.schema;
144
+ }
145
+ if (!$dara.isNull(request.snowflakeRole)) {
146
+ query["SnowflakeRole"] = request.snowflakeRole;
147
+ }
148
+ if (!$dara.isNull(request.snowflakeWarehouse)) {
149
+ query["SnowflakeWarehouse"] = request.snowflakeWarehouse;
150
+ }
151
+ if (!$dara.isNull(request.syncAlias)) {
152
+ query["SyncAlias"] = request.syncAlias;
153
+ }
154
+ if (!$dara.isNull(request.useSsl)) {
155
+ query["UseSsl"] = request.useSsl;
156
+ }
157
+ if (!$dara.isNull(request.vSwitchId)) {
158
+ query["VSwitchId"] = request.vSwitchId;
159
+ }
160
+ if (!$dara.isNull(request.vpcId)) {
161
+ query["VpcId"] = request.vpcId;
162
+ }
163
+ if (!$dara.isNull(request.zoneId)) {
164
+ query["ZoneId"] = request.zoneId;
165
+ }
166
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
167
+ query: openapi_core_2.OpenApiUtil.query(query),
168
+ });
169
+ let params = new openapi_core_2.$OpenApiUtil.Params({
170
+ action: "AddAgenticDataSource",
171
+ version: "2025-04-14",
172
+ protocol: "HTTPS",
173
+ pathname: "/",
174
+ method: "POST",
175
+ authType: "AK",
176
+ style: "RPC",
177
+ reqBodyType: "formData",
178
+ bodyType: "json",
179
+ });
180
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddAgenticDataSourceResponse({}));
181
+ }
182
+ /**
183
+ * Creates a data source accessible by the Agent data gateway.
184
+ *
185
+ * @remarks
186
+ * Enter the connection and authentication information for the data source. The connection is automatically tested before saving. If the test succeeds, the data source is created and metadata synchronization starts.
187
+ *
188
+ * @param request - AddAgenticDataSourceRequest
189
+ * @returns AddAgenticDataSourceResponse
190
+ */
191
+ async addAgenticDataSource(request) {
192
+ let runtime = new $dara.RuntimeOptions({});
193
+ return await this.addAgenticDataSourceWithOptions(request, runtime);
194
+ }
84
195
  /**
85
196
  * Adds a memory entry to a DataAgent.
86
197
  *
@@ -371,6 +482,66 @@ class Client extends openapi_core_1.default {
371
482
  let runtime = new $dara.RuntimeOptions({});
372
483
  return await this.createAgentWithOptions(request, runtime);
373
484
  }
485
+ /**
486
+ * Creates a temporary credential for an agent to execute SQL statements.
487
+ *
488
+ * @remarks
489
+ * The credential is used to execute SQL statements through the data gateway (OneQuery) and can be restricted to the instance level or the database level.
490
+ * Fixed properties of the credential:
491
+ * - Validity period: 10 minutes after creation.
492
+ * - Maximum number of connections: 500.
493
+ *
494
+ * @param request - CreateAgenticSqlExecuteCredentialRequest
495
+ * @param runtime - runtime options for this request RuntimeOptions
496
+ * @returns CreateAgenticSqlExecuteCredentialResponse
497
+ */
498
+ async createAgenticSqlExecuteCredentialWithOptions(request, runtime) {
499
+ request.validate();
500
+ let query = {};
501
+ if (!$dara.isNull(request.catalogName)) {
502
+ query["CatalogName"] = request.catalogName;
503
+ }
504
+ if (!$dara.isNull(request.catalogUuid)) {
505
+ query["CatalogUuid"] = request.catalogUuid;
506
+ }
507
+ if (!$dara.isNull(request.databaseUuid)) {
508
+ query["DatabaseUuid"] = request.databaseUuid;
509
+ }
510
+ if (!$dara.isNull(request.qualifiedName)) {
511
+ query["QualifiedName"] = request.qualifiedName;
512
+ }
513
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
514
+ query: openapi_core_2.OpenApiUtil.query(query),
515
+ });
516
+ let params = new openapi_core_2.$OpenApiUtil.Params({
517
+ action: "CreateAgenticSqlExecuteCredential",
518
+ version: "2025-04-14",
519
+ protocol: "HTTPS",
520
+ pathname: "/",
521
+ method: "POST",
522
+ authType: "AK",
523
+ style: "RPC",
524
+ reqBodyType: "formData",
525
+ bodyType: "json",
526
+ });
527
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateAgenticSqlExecuteCredentialResponse({}));
528
+ }
529
+ /**
530
+ * Creates a temporary credential for an agent to execute SQL statements.
531
+ *
532
+ * @remarks
533
+ * The credential is used to execute SQL statements through the data gateway (OneQuery) and can be restricted to the instance level or the database level.
534
+ * Fixed properties of the credential:
535
+ * - Validity period: 10 minutes after creation.
536
+ * - Maximum number of connections: 500.
537
+ *
538
+ * @param request - CreateAgenticSqlExecuteCredentialRequest
539
+ * @returns CreateAgenticSqlExecuteCredentialResponse
540
+ */
541
+ async createAgenticSqlExecuteCredential(request) {
542
+ let runtime = new $dara.RuntimeOptions({});
543
+ return await this.createAgenticSqlExecuteCredentialWithOptions(request, runtime);
544
+ }
374
545
  /**
375
546
  * Creates an Airflow instance in a workspace.
376
547
  *
@@ -540,6 +711,9 @@ class Client extends openapi_core_1.default {
540
711
  if (!$dara.isNull(tmpReq.knowledgeSemanticConfigList)) {
541
712
  request.knowledgeSemanticConfigListShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.knowledgeSemanticConfigList, "KnowledgeSemanticConfigList", "json");
542
713
  }
714
+ if (!$dara.isNull(tmpReq.recommendQuestionList)) {
715
+ request.recommendQuestionListShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.recommendQuestionList, "RecommendQuestionList", "json");
716
+ }
543
717
  if (!$dara.isNull(tmpReq.scheduleTaskConfig)) {
544
718
  request.scheduleTaskConfigShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.scheduleTaskConfig, "ScheduleTaskConfig", "json");
545
719
  }
@@ -547,6 +721,9 @@ class Client extends openapi_core_1.default {
547
721
  request.userSpecifiedSkillListShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.userSpecifiedSkillList, "UserSpecifiedSkillList", "json");
548
722
  }
549
723
  let query = {};
724
+ if (!$dara.isNull(request.agentType)) {
725
+ query["AgentType"] = request.agentType;
726
+ }
550
727
  if (!$dara.isNull(request.callbackConfigShrink)) {
551
728
  query["CallbackConfig"] = request.callbackConfigShrink;
552
729
  }
@@ -577,6 +754,9 @@ class Client extends openapi_core_1.default {
577
754
  if (!$dara.isNull(request.name)) {
578
755
  query["Name"] = request.name;
579
756
  }
757
+ if (!$dara.isNull(request.recommendQuestionListShrink)) {
758
+ query["RecommendQuestionList"] = request.recommendQuestionListShrink;
759
+ }
580
760
  if (!$dara.isNull(request.relatedSessionId)) {
581
761
  query["RelatedSessionId"] = request.relatedSessionId;
582
762
  }
@@ -1082,6 +1262,51 @@ class Client extends openapi_core_1.default {
1082
1262
  let runtime = new $dara.RuntimeOptions({});
1083
1263
  return await this.createOneMetaSqlTemplateWithOptions(request, runtime);
1084
1264
  }
1265
+ /**
1266
+ * Deletes a data source and its associated metadata catalog.
1267
+ *
1268
+ * @remarks
1269
+ * After deletion, the data source cannot establish connections and cannot be restored by calling the enable API operation.
1270
+ *
1271
+ * @param request - DeleteAgenticDataSourceRequest
1272
+ * @param runtime - runtime options for this request RuntimeOptions
1273
+ * @returns DeleteAgenticDataSourceResponse
1274
+ */
1275
+ async deleteAgenticDataSourceWithOptions(request, runtime) {
1276
+ request.validate();
1277
+ let query = {};
1278
+ if (!$dara.isNull(request.dataSourceUuid)) {
1279
+ query["DataSourceUuid"] = request.dataSourceUuid;
1280
+ }
1281
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
1282
+ query: openapi_core_2.OpenApiUtil.query(query),
1283
+ });
1284
+ let params = new openapi_core_2.$OpenApiUtil.Params({
1285
+ action: "DeleteAgenticDataSource",
1286
+ version: "2025-04-14",
1287
+ protocol: "HTTPS",
1288
+ pathname: "/",
1289
+ method: "POST",
1290
+ authType: "AK",
1291
+ style: "RPC",
1292
+ reqBodyType: "formData",
1293
+ bodyType: "json",
1294
+ });
1295
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteAgenticDataSourceResponse({}));
1296
+ }
1297
+ /**
1298
+ * Deletes a data source and its associated metadata catalog.
1299
+ *
1300
+ * @remarks
1301
+ * After deletion, the data source cannot establish connections and cannot be restored by calling the enable API operation.
1302
+ *
1303
+ * @param request - DeleteAgenticDataSourceRequest
1304
+ * @returns DeleteAgenticDataSourceResponse
1305
+ */
1306
+ async deleteAgenticDataSource(request) {
1307
+ let runtime = new $dara.RuntimeOptions({});
1308
+ return await this.deleteAgenticDataSourceWithOptions(request, runtime);
1309
+ }
1085
1310
  /**
1086
1311
  * Deletes an Airflow instance.
1087
1312
  *
@@ -1750,7 +1975,7 @@ class Client extends openapi_core_1.default {
1750
1975
  return await this.deleteWorkspaceCodeWithOptions(request, runtime);
1751
1976
  }
1752
1977
  /**
1753
- * Queries the details of a custom agent by custom agent ID.
1978
+ * Retrieves the detailed description of a custom agent based on the custom agent ID.
1754
1979
  *
1755
1980
  * @param request - DescribeCustomAgentRequest
1756
1981
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1782,7 +2007,7 @@ class Client extends openapi_core_1.default {
1782
2007
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeCustomAgentResponse({}));
1783
2008
  }
1784
2009
  /**
1785
- * Queries the details of a custom agent by custom agent ID.
2010
+ * Retrieves the detailed description of a custom agent based on the custom agent ID.
1786
2011
  *
1787
2012
  * @param request - DescribeCustomAgentRequest
1788
2013
  * @returns DescribeCustomAgentResponse
@@ -2182,7 +2407,7 @@ class Client extends openapi_core_1.default {
2182
2407
  return await this.describeSkillFileUploadSignatureWithOptions(request, runtime);
2183
2408
  }
2184
2409
  /**
2185
- * Calls back after a file is uploaded.
2410
+ * Processes the file upload callback.
2186
2411
  *
2187
2412
  * @param request - FileUploadCallbackRequest
2188
2413
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2229,7 +2454,7 @@ class Client extends openapi_core_1.default {
2229
2454
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.FileUploadCallbackResponse({}));
2230
2455
  }
2231
2456
  /**
2232
- * Calls back after a file is uploaded.
2457
+ * Processes the file upload callback.
2233
2458
  *
2234
2459
  * @param request - FileUploadCallbackRequest
2235
2460
  * @returns FileUploadCallbackResponse
@@ -2239,7 +2464,10 @@ class Client extends openapi_core_1.default {
2239
2464
  return await this.fileUploadCallbackWithOptions(request, runtime);
2240
2465
  }
2241
2466
  /**
2242
- * Queries agent information by install token.
2467
+ * Queries the agent associated with an install token after redemption. Data is empty if the token has not been redeemed.
2468
+ *
2469
+ * @remarks
2470
+ * Specify the install token issued by IssueAgenticInstallToken to query the agent generated or reused after the token is redeemed. The request fails if the install token does not exist. If the token has not been redeemed, or the associated credential or agent does not exist, the API call succeeds but Data is empty.
2243
2471
  *
2244
2472
  * @param request - GetAgenticAgentByInstallTokenRequest
2245
2473
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2268,7 +2496,10 @@ class Client extends openapi_core_1.default {
2268
2496
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAgenticAgentByInstallTokenResponse({}));
2269
2497
  }
2270
2498
  /**
2271
- * Queries agent information by install token.
2499
+ * Queries the agent associated with an install token after redemption. Data is empty if the token has not been redeemed.
2500
+ *
2501
+ * @remarks
2502
+ * Specify the install token issued by IssueAgenticInstallToken to query the agent generated or reused after the token is redeemed. The request fails if the install token does not exist. If the token has not been redeemed, or the associated credential or agent does not exist, the API call succeeds but Data is empty.
2272
2503
  *
2273
2504
  * @param request - GetAgenticAgentByInstallTokenRequest
2274
2505
  * @returns GetAgenticAgentByInstallTokenResponse
@@ -2278,26 +2509,23 @@ class Client extends openapi_core_1.default {
2278
2509
  return await this.getAgenticAgentByInstallTokenWithOptions(request, runtime);
2279
2510
  }
2280
2511
  /**
2281
- * Queries the configuration and status of an Airflow instance.
2512
+ * Queries the details of an Agentic DMS catalog based on the catalog UUID.
2282
2513
  *
2283
- * @param request - GetAirflowRequest
2514
+ * @param request - GetAgenticCatalogRequest
2284
2515
  * @param runtime - runtime options for this request RuntimeOptions
2285
- * @returns GetAirflowResponse
2516
+ * @returns GetAgenticCatalogResponse
2286
2517
  */
2287
- async getAirflowWithOptions(request, runtime) {
2518
+ async getAgenticCatalogWithOptions(request, runtime) {
2288
2519
  request.validate();
2289
2520
  let query = {};
2290
- if (!$dara.isNull(request.airflowId)) {
2291
- query["AirflowId"] = request.airflowId;
2292
- }
2293
- if (!$dara.isNull(request.workspaceId)) {
2294
- query["WorkspaceId"] = request.workspaceId;
2521
+ if (!$dara.isNull(request.catalogUuid)) {
2522
+ query["CatalogUuid"] = request.catalogUuid;
2295
2523
  }
2296
2524
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2297
2525
  query: openapi_core_2.OpenApiUtil.query(query),
2298
2526
  });
2299
2527
  let params = new openapi_core_2.$OpenApiUtil.Params({
2300
- action: "GetAirflow",
2528
+ action: "GetAgenticCatalog",
2301
2529
  version: "2025-04-14",
2302
2530
  protocol: "HTTPS",
2303
2531
  pathname: "/",
@@ -2307,120 +2535,39 @@ class Client extends openapi_core_1.default {
2307
2535
  reqBodyType: "formData",
2308
2536
  bodyType: "json",
2309
2537
  });
2310
- return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAirflowResponse({}));
2538
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAgenticCatalogResponse({}));
2311
2539
  }
2312
2540
  /**
2313
- * Queries the configuration and status of an Airflow instance.
2541
+ * Queries the details of an Agentic DMS catalog based on the catalog UUID.
2314
2542
  *
2315
- * @param request - GetAirflowRequest
2316
- * @returns GetAirflowResponse
2543
+ * @param request - GetAgenticCatalogRequest
2544
+ * @returns GetAgenticCatalogResponse
2317
2545
  */
2318
- async getAirflow(request) {
2546
+ async getAgenticCatalog(request) {
2319
2547
  let runtime = new $dara.RuntimeOptions({});
2320
- return await this.getAirflowWithOptions(request, runtime);
2321
- }
2322
- /**
2323
- * Retrieves chat content from a specific checkpoint by specifying the session ID and AgentId.
2324
- *
2325
- * @remarks
2326
- * ## Request Description
2327
- * - The response is returned as an SSE stream, where each event follows the `SSEEvent` schema and contains meta-information such as the message level.
2328
- * - The `content` field in each SSE event may carry actual message text or a JSON object, depending on the value of `content_type`.
2329
- *
2330
- * @param request - GetChatContentRequest
2331
- * @param runtime - runtime options for this request RuntimeOptions
2332
- * @returns GetChatContentResponse
2333
- */
2334
- getChatContentWithSSE(request, runtime) {
2335
- return __asyncGenerator(this, arguments, function* getChatContentWithSSE_1() {
2336
- var _a, e_1, _b, _c;
2337
- request.validate();
2338
- let query = {};
2339
- if (!$dara.isNull(request.agentId)) {
2340
- query["AgentId"] = request.agentId;
2341
- }
2342
- if (!$dara.isNull(request.checkpoint)) {
2343
- query["Checkpoint"] = request.checkpoint;
2344
- }
2345
- if (!$dara.isNull(request.DMSUnit)) {
2346
- query["DMSUnit"] = request.DMSUnit;
2347
- }
2348
- if (!$dara.isNull(request.sessionId)) {
2349
- query["SessionId"] = request.sessionId;
2350
- }
2351
- let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2352
- query: openapi_core_2.OpenApiUtil.query(query),
2353
- });
2354
- let params = new openapi_core_2.$OpenApiUtil.Params({
2355
- action: "GetChatContent",
2356
- version: "2025-04-14",
2357
- protocol: "HTTPS",
2358
- pathname: "/",
2359
- method: "POST",
2360
- authType: "AK",
2361
- style: "RPC",
2362
- reqBodyType: "formData",
2363
- bodyType: "json",
2364
- });
2365
- let sseResp = yield __await(this.callSSEApi(params, req, runtime));
2366
- try {
2367
- for (var _d = true, sseResp_1 = __asyncValues(sseResp), sseResp_1_1; sseResp_1_1 = yield __await(sseResp_1.next()), _a = sseResp_1_1.done, !_a; _d = true) {
2368
- _c = sseResp_1_1.value;
2369
- _d = false;
2370
- let resp = _c;
2371
- if (!$dara.isNull(resp.event) && !$dara.isNull(resp.event.data)) {
2372
- let data = JSON.parse(resp.event.data);
2373
- yield yield __await($dara.cast({
2374
- statusCode: resp.statusCode,
2375
- headers: resp.headers,
2376
- id: resp.event.id,
2377
- event: resp.event.event,
2378
- body: data,
2379
- }, new $_model.GetChatContentResponse({})));
2380
- }
2381
- }
2382
- }
2383
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
2384
- finally {
2385
- try {
2386
- if (!_d && !_a && (_b = sseResp_1.return)) yield __await(_b.call(sseResp_1));
2387
- }
2388
- finally { if (e_1) throw e_1.error; }
2389
- }
2390
- });
2548
+ return await this.getAgenticCatalogWithOptions(request, runtime);
2391
2549
  }
2392
2550
  /**
2393
- * Retrieves chat content from a specific checkpoint by specifying the session ID and AgentId.
2551
+ * Queries the details of a data source by its UUID.
2394
2552
  *
2395
2553
  * @remarks
2396
- * ## Request Description
2397
- * - The response is returned as an SSE stream, where each event follows the `SSEEvent` schema and contains meta-information such as the message level.
2398
- * - The `content` field in each SSE event may carry actual message text or a JSON object, depending on the value of `content_type`.
2554
+ * Queries the connection, authentication, status, and metadata catalog information of a specified data source under the current account. Only masked values are returned for passwords.
2399
2555
  *
2400
- * @param request - GetChatContentRequest
2556
+ * @param request - GetAgenticDataSourceRequest
2401
2557
  * @param runtime - runtime options for this request RuntimeOptions
2402
- * @returns GetChatContentResponse
2558
+ * @returns GetAgenticDataSourceResponse
2403
2559
  */
2404
- async getChatContentWithOptions(request, runtime) {
2560
+ async getAgenticDataSourceWithOptions(request, runtime) {
2405
2561
  request.validate();
2406
2562
  let query = {};
2407
- if (!$dara.isNull(request.agentId)) {
2408
- query["AgentId"] = request.agentId;
2409
- }
2410
- if (!$dara.isNull(request.checkpoint)) {
2411
- query["Checkpoint"] = request.checkpoint;
2412
- }
2413
- if (!$dara.isNull(request.DMSUnit)) {
2414
- query["DMSUnit"] = request.DMSUnit;
2415
- }
2416
- if (!$dara.isNull(request.sessionId)) {
2417
- query["SessionId"] = request.sessionId;
2563
+ if (!$dara.isNull(request.dataSourceUuid)) {
2564
+ query["DataSourceUuid"] = request.dataSourceUuid;
2418
2565
  }
2419
2566
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2420
2567
  query: openapi_core_2.OpenApiUtil.query(query),
2421
2568
  });
2422
2569
  let params = new openapi_core_2.$OpenApiUtil.Params({
2423
- action: "GetChatContent",
2570
+ action: "GetAgenticDataSource",
2424
2571
  version: "2025-04-14",
2425
2572
  protocol: "HTTPS",
2426
2573
  pathname: "/",
@@ -2430,31 +2577,322 @@ class Client extends openapi_core_1.default {
2430
2577
  reqBodyType: "formData",
2431
2578
  bodyType: "json",
2432
2579
  });
2433
- return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetChatContentResponse({}));
2580
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAgenticDataSourceResponse({}));
2434
2581
  }
2435
2582
  /**
2436
- * Retrieves chat content from a specific checkpoint by specifying the session ID and AgentId.
2583
+ * Queries the details of a data source by its UUID.
2437
2584
  *
2438
2585
  * @remarks
2439
- * ## Request Description
2440
- * - The response is returned as an SSE stream, where each event follows the `SSEEvent` schema and contains meta-information such as the message level.
2441
- * - The `content` field in each SSE event may carry actual message text or a JSON object, depending on the value of `content_type`.
2586
+ * Queries the connection, authentication, status, and metadata catalog information of a specified data source under the current account. Only masked values are returned for passwords.
2442
2587
  *
2443
- * @param request - GetChatContentRequest
2444
- * @returns GetChatContentResponse
2588
+ * @param request - GetAgenticDataSourceRequest
2589
+ * @returns GetAgenticDataSourceResponse
2445
2590
  */
2446
- async getChatContent(request) {
2591
+ async getAgenticDataSource(request) {
2447
2592
  let runtime = new $dara.RuntimeOptions({});
2448
- return await this.getChatContentWithOptions(request, runtime);
2593
+ return await this.getAgenticDataSourceWithOptions(request, runtime);
2449
2594
  }
2450
2595
  /**
2451
- * Queries the details of an MCP Server by its ID, including the workspace, network, connection method, and running status.
2596
+ * Queries the details of a database in Agentic DMS based on the database UUID.
2452
2597
  *
2453
- * @param request - GetDataAgentMcpRequest
2598
+ * @param request - GetAgenticDatabaseRequest
2454
2599
  * @param runtime - runtime options for this request RuntimeOptions
2455
- * @returns GetDataAgentMcpResponse
2600
+ * @returns GetAgenticDatabaseResponse
2456
2601
  */
2457
- async getDataAgentMcpWithOptions(request, runtime) {
2602
+ async getAgenticDatabaseWithOptions(request, runtime) {
2603
+ request.validate();
2604
+ let query = {};
2605
+ if (!$dara.isNull(request.databaseUuid)) {
2606
+ query["DatabaseUuid"] = request.databaseUuid;
2607
+ }
2608
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2609
+ query: openapi_core_2.OpenApiUtil.query(query),
2610
+ });
2611
+ let params = new openapi_core_2.$OpenApiUtil.Params({
2612
+ action: "GetAgenticDatabase",
2613
+ version: "2025-04-14",
2614
+ protocol: "HTTPS",
2615
+ pathname: "/",
2616
+ method: "POST",
2617
+ authType: "AK",
2618
+ style: "RPC",
2619
+ reqBodyType: "formData",
2620
+ bodyType: "json",
2621
+ });
2622
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAgenticDatabaseResponse({}));
2623
+ }
2624
+ /**
2625
+ * Queries the details of a database in Agentic DMS based on the database UUID.
2626
+ *
2627
+ * @param request - GetAgenticDatabaseRequest
2628
+ * @returns GetAgenticDatabaseResponse
2629
+ */
2630
+ async getAgenticDatabase(request) {
2631
+ let runtime = new $dara.RuntimeOptions({});
2632
+ return await this.getAgenticDatabaseWithOptions(request, runtime);
2633
+ }
2634
+ /**
2635
+ * Queries the fields of a table based on the database UUID and the fully qualified name of the table.
2636
+ *
2637
+ * @param request - GetAgenticTableColumnRequest
2638
+ * @param runtime - runtime options for this request RuntimeOptions
2639
+ * @returns GetAgenticTableColumnResponse
2640
+ */
2641
+ async getAgenticTableColumnWithOptions(request, runtime) {
2642
+ request.validate();
2643
+ let query = {};
2644
+ if (!$dara.isNull(request.databaseUuid)) {
2645
+ query["DatabaseUuid"] = request.databaseUuid;
2646
+ }
2647
+ if (!$dara.isNull(request.tableQualifiedName)) {
2648
+ query["TableQualifiedName"] = request.tableQualifiedName;
2649
+ }
2650
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2651
+ query: openapi_core_2.OpenApiUtil.query(query),
2652
+ });
2653
+ let params = new openapi_core_2.$OpenApiUtil.Params({
2654
+ action: "GetAgenticTableColumn",
2655
+ version: "2025-04-14",
2656
+ protocol: "HTTPS",
2657
+ pathname: "/",
2658
+ method: "POST",
2659
+ authType: "AK",
2660
+ style: "RPC",
2661
+ reqBodyType: "formData",
2662
+ bodyType: "json",
2663
+ });
2664
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAgenticTableColumnResponse({}));
2665
+ }
2666
+ /**
2667
+ * Queries the fields of a table based on the database UUID and the fully qualified name of the table.
2668
+ *
2669
+ * @param request - GetAgenticTableColumnRequest
2670
+ * @returns GetAgenticTableColumnResponse
2671
+ */
2672
+ async getAgenticTableColumn(request) {
2673
+ let runtime = new $dara.RuntimeOptions({});
2674
+ return await this.getAgenticTableColumnWithOptions(request, runtime);
2675
+ }
2676
+ /**
2677
+ * Queries the indexes of a table based on the database UUID and the fully qualified name of the table.
2678
+ *
2679
+ * @param request - GetAgenticTableIndexRequest
2680
+ * @param runtime - runtime options for this request RuntimeOptions
2681
+ * @returns GetAgenticTableIndexResponse
2682
+ */
2683
+ async getAgenticTableIndexWithOptions(request, runtime) {
2684
+ request.validate();
2685
+ let query = {};
2686
+ if (!$dara.isNull(request.databaseUuid)) {
2687
+ query["DatabaseUuid"] = request.databaseUuid;
2688
+ }
2689
+ if (!$dara.isNull(request.tableQualifiedName)) {
2690
+ query["TableQualifiedName"] = request.tableQualifiedName;
2691
+ }
2692
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2693
+ query: openapi_core_2.OpenApiUtil.query(query),
2694
+ });
2695
+ let params = new openapi_core_2.$OpenApiUtil.Params({
2696
+ action: "GetAgenticTableIndex",
2697
+ version: "2025-04-14",
2698
+ protocol: "HTTPS",
2699
+ pathname: "/",
2700
+ method: "POST",
2701
+ authType: "AK",
2702
+ style: "RPC",
2703
+ reqBodyType: "formData",
2704
+ bodyType: "json",
2705
+ });
2706
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAgenticTableIndexResponse({}));
2707
+ }
2708
+ /**
2709
+ * Queries the indexes of a table based on the database UUID and the fully qualified name of the table.
2710
+ *
2711
+ * @param request - GetAgenticTableIndexRequest
2712
+ * @returns GetAgenticTableIndexResponse
2713
+ */
2714
+ async getAgenticTableIndex(request) {
2715
+ let runtime = new $dara.RuntimeOptions({});
2716
+ return await this.getAgenticTableIndexWithOptions(request, runtime);
2717
+ }
2718
+ /**
2719
+ * Queries the configuration and status of an Airflow instance.
2720
+ *
2721
+ * @param request - GetAirflowRequest
2722
+ * @param runtime - runtime options for this request RuntimeOptions
2723
+ * @returns GetAirflowResponse
2724
+ */
2725
+ async getAirflowWithOptions(request, runtime) {
2726
+ request.validate();
2727
+ let query = {};
2728
+ if (!$dara.isNull(request.airflowId)) {
2729
+ query["AirflowId"] = request.airflowId;
2730
+ }
2731
+ if (!$dara.isNull(request.workspaceId)) {
2732
+ query["WorkspaceId"] = request.workspaceId;
2733
+ }
2734
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2735
+ query: openapi_core_2.OpenApiUtil.query(query),
2736
+ });
2737
+ let params = new openapi_core_2.$OpenApiUtil.Params({
2738
+ action: "GetAirflow",
2739
+ version: "2025-04-14",
2740
+ protocol: "HTTPS",
2741
+ pathname: "/",
2742
+ method: "POST",
2743
+ authType: "AK",
2744
+ style: "RPC",
2745
+ reqBodyType: "formData",
2746
+ bodyType: "json",
2747
+ });
2748
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAirflowResponse({}));
2749
+ }
2750
+ /**
2751
+ * Queries the configuration and status of an Airflow instance.
2752
+ *
2753
+ * @param request - GetAirflowRequest
2754
+ * @returns GetAirflowResponse
2755
+ */
2756
+ async getAirflow(request) {
2757
+ let runtime = new $dara.RuntimeOptions({});
2758
+ return await this.getAirflowWithOptions(request, runtime);
2759
+ }
2760
+ /**
2761
+ * Retrieves chat content from a specific checkpoint by specifying the session ID and AgentId.
2762
+ *
2763
+ * @remarks
2764
+ * ## Request Description
2765
+ * - The response is returned as an SSE stream, where each event follows the `SSEEvent` schema and contains meta-information such as the message level.
2766
+ * - The `content` field in each SSE event may carry actual message text or a JSON object, depending on the value of `content_type`.
2767
+ *
2768
+ * @param request - GetChatContentRequest
2769
+ * @param runtime - runtime options for this request RuntimeOptions
2770
+ * @returns GetChatContentResponse
2771
+ */
2772
+ getChatContentWithSSE(request, runtime) {
2773
+ return __asyncGenerator(this, arguments, function* getChatContentWithSSE_1() {
2774
+ var _a, e_1, _b, _c;
2775
+ request.validate();
2776
+ let query = {};
2777
+ if (!$dara.isNull(request.agentId)) {
2778
+ query["AgentId"] = request.agentId;
2779
+ }
2780
+ if (!$dara.isNull(request.checkpoint)) {
2781
+ query["Checkpoint"] = request.checkpoint;
2782
+ }
2783
+ if (!$dara.isNull(request.DMSUnit)) {
2784
+ query["DMSUnit"] = request.DMSUnit;
2785
+ }
2786
+ if (!$dara.isNull(request.sessionId)) {
2787
+ query["SessionId"] = request.sessionId;
2788
+ }
2789
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2790
+ query: openapi_core_2.OpenApiUtil.query(query),
2791
+ });
2792
+ let params = new openapi_core_2.$OpenApiUtil.Params({
2793
+ action: "GetChatContent",
2794
+ version: "2025-04-14",
2795
+ protocol: "HTTPS",
2796
+ pathname: "/",
2797
+ method: "POST",
2798
+ authType: "AK",
2799
+ style: "RPC",
2800
+ reqBodyType: "formData",
2801
+ bodyType: "json",
2802
+ });
2803
+ let sseResp = yield __await(this.callSSEApi(params, req, runtime));
2804
+ try {
2805
+ for (var _d = true, sseResp_1 = __asyncValues(sseResp), sseResp_1_1; sseResp_1_1 = yield __await(sseResp_1.next()), _a = sseResp_1_1.done, !_a; _d = true) {
2806
+ _c = sseResp_1_1.value;
2807
+ _d = false;
2808
+ let resp = _c;
2809
+ if (!$dara.isNull(resp.event) && !$dara.isNull(resp.event.data)) {
2810
+ let data = JSON.parse(resp.event.data);
2811
+ yield yield __await($dara.cast({
2812
+ statusCode: resp.statusCode,
2813
+ headers: resp.headers,
2814
+ id: resp.event.id,
2815
+ event: resp.event.event,
2816
+ body: data,
2817
+ }, new $_model.GetChatContentResponse({})));
2818
+ }
2819
+ }
2820
+ }
2821
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
2822
+ finally {
2823
+ try {
2824
+ if (!_d && !_a && (_b = sseResp_1.return)) yield __await(_b.call(sseResp_1));
2825
+ }
2826
+ finally { if (e_1) throw e_1.error; }
2827
+ }
2828
+ });
2829
+ }
2830
+ /**
2831
+ * Retrieves chat content from a specific checkpoint by specifying the session ID and AgentId.
2832
+ *
2833
+ * @remarks
2834
+ * ## Request Description
2835
+ * - The response is returned as an SSE stream, where each event follows the `SSEEvent` schema and contains meta-information such as the message level.
2836
+ * - The `content` field in each SSE event may carry actual message text or a JSON object, depending on the value of `content_type`.
2837
+ *
2838
+ * @param request - GetChatContentRequest
2839
+ * @param runtime - runtime options for this request RuntimeOptions
2840
+ * @returns GetChatContentResponse
2841
+ */
2842
+ async getChatContentWithOptions(request, runtime) {
2843
+ request.validate();
2844
+ let query = {};
2845
+ if (!$dara.isNull(request.agentId)) {
2846
+ query["AgentId"] = request.agentId;
2847
+ }
2848
+ if (!$dara.isNull(request.checkpoint)) {
2849
+ query["Checkpoint"] = request.checkpoint;
2850
+ }
2851
+ if (!$dara.isNull(request.DMSUnit)) {
2852
+ query["DMSUnit"] = request.DMSUnit;
2853
+ }
2854
+ if (!$dara.isNull(request.sessionId)) {
2855
+ query["SessionId"] = request.sessionId;
2856
+ }
2857
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2858
+ query: openapi_core_2.OpenApiUtil.query(query),
2859
+ });
2860
+ let params = new openapi_core_2.$OpenApiUtil.Params({
2861
+ action: "GetChatContent",
2862
+ version: "2025-04-14",
2863
+ protocol: "HTTPS",
2864
+ pathname: "/",
2865
+ method: "POST",
2866
+ authType: "AK",
2867
+ style: "RPC",
2868
+ reqBodyType: "formData",
2869
+ bodyType: "json",
2870
+ });
2871
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetChatContentResponse({}));
2872
+ }
2873
+ /**
2874
+ * Retrieves chat content from a specific checkpoint by specifying the session ID and AgentId.
2875
+ *
2876
+ * @remarks
2877
+ * ## Request Description
2878
+ * - The response is returned as an SSE stream, where each event follows the `SSEEvent` schema and contains meta-information such as the message level.
2879
+ * - The `content` field in each SSE event may carry actual message text or a JSON object, depending on the value of `content_type`.
2880
+ *
2881
+ * @param request - GetChatContentRequest
2882
+ * @returns GetChatContentResponse
2883
+ */
2884
+ async getChatContent(request) {
2885
+ let runtime = new $dara.RuntimeOptions({});
2886
+ return await this.getChatContentWithOptions(request, runtime);
2887
+ }
2888
+ /**
2889
+ * Queries the details of an MCP Server by its ID, including the workspace, network, connection method, and running status.
2890
+ *
2891
+ * @param request - GetDataAgentMcpRequest
2892
+ * @param runtime - runtime options for this request RuntimeOptions
2893
+ * @returns GetDataAgentMcpResponse
2894
+ */
2895
+ async getDataAgentMcpWithOptions(request, runtime) {
2458
2896
  request.validate();
2459
2897
  let query = {};
2460
2898
  if (!$dara.isNull(request.mcpServerId)) {
@@ -2532,10 +2970,10 @@ class Client extends openapi_core_1.default {
2532
2970
  return await this.getDataAgentSubAccountInfoWithOptions(request, runtime);
2533
2971
  }
2534
2972
  /**
2535
- * Queries the model usage summary of DataAgent analysis tasks within a specified time range, including the number of models used, total call count, total tokens consumed, and peak TPM.
2973
+ * Queries the model usage summary of DataAgent analysis tasks within a specified time range, including the number of models used, total number of calls, total tokens consumed, and peak TPM.
2536
2974
  *
2537
2975
  * @remarks
2538
- * Queries the model usage summary of DataAgent analysis tasks within a specified time range, including the number of models used, total model call count, total tokens consumed, and peak TPM. This operation is used to analyze and monitor the model resource consumption of DataAgent analysis tasks.
2976
+ * Queries the model usage summary of DataAgent analysis tasks within a specified time range, including the number of models used, total number of model calls, total tokens consumed, and peak TPM. This data is used to analyze and monitor the model resource consumption of DataAgent analysis tasks.
2539
2977
  *
2540
2978
  * @param tmpReq - GetDataAgentTaskModelUsageRequest
2541
2979
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2584,10 +3022,10 @@ class Client extends openapi_core_1.default {
2584
3022
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetDataAgentTaskModelUsageResponse({}));
2585
3023
  }
2586
3024
  /**
2587
- * Queries the model usage summary of DataAgent analysis tasks within a specified time range, including the number of models used, total call count, total tokens consumed, and peak TPM.
3025
+ * Queries the model usage summary of DataAgent analysis tasks within a specified time range, including the number of models used, total number of calls, total tokens consumed, and peak TPM.
2588
3026
  *
2589
3027
  * @remarks
2590
- * Queries the model usage summary of DataAgent analysis tasks within a specified time range, including the number of models used, total model call count, total tokens consumed, and peak TPM. This operation is used to analyze and monitor the model resource consumption of DataAgent analysis tasks.
3028
+ * Queries the model usage summary of DataAgent analysis tasks within a specified time range, including the number of models used, total number of model calls, total tokens consumed, and peak TPM. This data is used to analyze and monitor the model resource consumption of DataAgent analysis tasks.
2591
3029
  *
2592
3030
  * @param request - GetDataAgentTaskModelUsageRequest
2593
3031
  * @returns GetDataAgentTaskModelUsageResponse
@@ -2597,10 +3035,10 @@ class Client extends openapi_core_1.default {
2597
3035
  return await this.getDataAgentTaskModelUsageWithOptions(request, runtime);
2598
3036
  }
2599
3037
  /**
2600
- * Queries the TPM time series metrics of DataAgent analysis task model usage within a specified time range, returning token consumption at each time point with minute-level granularity.
3038
+ * Queries the time-series metrics of tokens per minute (TPM) for DataAgent analysis task model usage within a specified time range, returning token consumption at each time point at a minute-level granularity.
2601
3039
  *
2602
3040
  * @remarks
2603
- * Queries the TPM time series metrics of DataAgent analysis task model usage within a specified time range. The metrics are returned at minute-level granularity, showing the number of tokens consumed in each statistical interval for analyzing model usage trends over time.
3041
+ * Queries the time-series metrics of tokens per minute (TPM) for DataAgent analysis task model usage within a specified time range. It returns the number of tokens consumed in each statistical interval at a minute-level granularity to help you analyze the trend of model usage over time.
2604
3042
  *
2605
3043
  * @param tmpReq - GetDataAgentTaskModelUsageMetricsRequest
2606
3044
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2629,14 +3067,285 @@ class Client extends openapi_core_1.default {
2629
3067
  if (!$dara.isNull(request.payLevel)) {
2630
3068
  query["PayLevel"] = request.payLevel;
2631
3069
  }
2632
- if (!$dara.isNull(request.regionId)) {
2633
- query["RegionId"] = request.regionId;
3070
+ if (!$dara.isNull(request.regionId)) {
3071
+ query["RegionId"] = request.regionId;
3072
+ }
3073
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
3074
+ query: openapi_core_2.OpenApiUtil.query(query),
3075
+ });
3076
+ let params = new openapi_core_2.$OpenApiUtil.Params({
3077
+ action: "GetDataAgentTaskModelUsageMetrics",
3078
+ version: "2025-04-14",
3079
+ protocol: "HTTPS",
3080
+ pathname: "/",
3081
+ method: "POST",
3082
+ authType: "AK",
3083
+ style: "RPC",
3084
+ reqBodyType: "formData",
3085
+ bodyType: "json",
3086
+ });
3087
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetDataAgentTaskModelUsageMetricsResponse({}));
3088
+ }
3089
+ /**
3090
+ * Queries the time-series metrics of tokens per minute (TPM) for DataAgent analysis task model usage within a specified time range, returning token consumption at each time point at a minute-level granularity.
3091
+ *
3092
+ * @remarks
3093
+ * Queries the time-series metrics of tokens per minute (TPM) for DataAgent analysis task model usage within a specified time range. It returns the number of tokens consumed in each statistical interval at a minute-level granularity to help you analyze the trend of model usage over time.
3094
+ *
3095
+ * @param request - GetDataAgentTaskModelUsageMetricsRequest
3096
+ * @returns GetDataAgentTaskModelUsageMetricsResponse
3097
+ */
3098
+ async getDataAgentTaskModelUsageMetrics(request) {
3099
+ let runtime = new $dara.RuntimeOptions({});
3100
+ return await this.getDataAgentTaskModelUsageMetricsWithOptions(request, runtime);
3101
+ }
3102
+ /**
3103
+ * Calls the GetDataAgentThemeUploadSignature operation to obtain OSS direct upload credentials for uploading a DataAgent theme file. After obtaining the credentials, use the PostObject method to upload the theme file directly to OSS. After the upload is complete, call the CreateDataAgentTheme operation with the returned ThemeId to complete theme creation.
3104
+ * For more information, see https://www.alibabacloud.com/help/en/oss/user-guide/client-direct-transmission/.
3105
+ *
3106
+ * @param request - GetDataAgentThemeUploadSignatureRequest
3107
+ * @param runtime - runtime options for this request RuntimeOptions
3108
+ * @returns GetDataAgentThemeUploadSignatureResponse
3109
+ */
3110
+ async getDataAgentThemeUploadSignatureWithOptions(request, runtime) {
3111
+ request.validate();
3112
+ let query = {};
3113
+ if (!$dara.isNull(request.themeId)) {
3114
+ query["ThemeId"] = request.themeId;
3115
+ }
3116
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
3117
+ query: openapi_core_2.OpenApiUtil.query(query),
3118
+ });
3119
+ let params = new openapi_core_2.$OpenApiUtil.Params({
3120
+ action: "GetDataAgentThemeUploadSignature",
3121
+ version: "2025-04-14",
3122
+ protocol: "HTTPS",
3123
+ pathname: "/",
3124
+ method: "POST",
3125
+ authType: "AK",
3126
+ style: "RPC",
3127
+ reqBodyType: "formData",
3128
+ bodyType: "json",
3129
+ });
3130
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetDataAgentThemeUploadSignatureResponse({}));
3131
+ }
3132
+ /**
3133
+ * Calls the GetDataAgentThemeUploadSignature operation to obtain OSS direct upload credentials for uploading a DataAgent theme file. After obtaining the credentials, use the PostObject method to upload the theme file directly to OSS. After the upload is complete, call the CreateDataAgentTheme operation with the returned ThemeId to complete theme creation.
3134
+ * For more information, see https://www.alibabacloud.com/help/en/oss/user-guide/client-direct-transmission/.
3135
+ *
3136
+ * @param request - GetDataAgentThemeUploadSignatureRequest
3137
+ * @returns GetDataAgentThemeUploadSignatureResponse
3138
+ */
3139
+ async getDataAgentThemeUploadSignature(request) {
3140
+ let runtime = new $dara.RuntimeOptions({});
3141
+ return await this.getDataAgentThemeUploadSignatureWithOptions(request, runtime);
3142
+ }
3143
+ /**
3144
+ * Queries the details of a workspace.
3145
+ *
3146
+ * @param request - GetDataAgentWorkspaceInfoRequest
3147
+ * @param runtime - runtime options for this request RuntimeOptions
3148
+ * @returns GetDataAgentWorkspaceInfoResponse
3149
+ */
3150
+ async getDataAgentWorkspaceInfoWithOptions(request, runtime) {
3151
+ request.validate();
3152
+ let query = {};
3153
+ if (!$dara.isNull(request.DMSUnit)) {
3154
+ query["DMSUnit"] = request.DMSUnit;
3155
+ }
3156
+ if (!$dara.isNull(request.workspaceId)) {
3157
+ query["WorkspaceId"] = request.workspaceId;
3158
+ }
3159
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
3160
+ query: openapi_core_2.OpenApiUtil.query(query),
3161
+ });
3162
+ let params = new openapi_core_2.$OpenApiUtil.Params({
3163
+ action: "GetDataAgentWorkspaceInfo",
3164
+ version: "2025-04-14",
3165
+ protocol: "HTTPS",
3166
+ pathname: "/",
3167
+ method: "POST",
3168
+ authType: "AK",
3169
+ style: "RPC",
3170
+ reqBodyType: "formData",
3171
+ bodyType: "json",
3172
+ });
3173
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetDataAgentWorkspaceInfoResponse({}));
3174
+ }
3175
+ /**
3176
+ * Queries the details of a workspace.
3177
+ *
3178
+ * @param request - GetDataAgentWorkspaceInfoRequest
3179
+ * @returns GetDataAgentWorkspaceInfoResponse
3180
+ */
3181
+ async getDataAgentWorkspaceInfo(request) {
3182
+ let runtime = new $dara.RuntimeOptions({});
3183
+ return await this.getDataAgentWorkspaceInfoWithOptions(request, runtime);
3184
+ }
3185
+ /**
3186
+ * Queries the MCP Server connectivity and tool list results by the Session ID returned when the detection was started.
3187
+ *
3188
+ * @param request - GetListMcpServerToolsResultRequest
3189
+ * @param runtime - runtime options for this request RuntimeOptions
3190
+ * @returns GetListMcpServerToolsResultResponse
3191
+ */
3192
+ async getListMcpServerToolsResultWithOptions(request, runtime) {
3193
+ request.validate();
3194
+ let query = {};
3195
+ if (!$dara.isNull(request.DMSUnit)) {
3196
+ query["DMSUnit"] = request.DMSUnit;
3197
+ }
3198
+ if (!$dara.isNull(request.mcpServerUuid)) {
3199
+ query["McpServerUuid"] = request.mcpServerUuid;
3200
+ }
3201
+ if (!$dara.isNull(request.sessionId)) {
3202
+ query["SessionId"] = request.sessionId;
3203
+ }
3204
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
3205
+ query: openapi_core_2.OpenApiUtil.query(query),
3206
+ });
3207
+ let params = new openapi_core_2.$OpenApiUtil.Params({
3208
+ action: "GetListMcpServerToolsResult",
3209
+ version: "2025-04-14",
3210
+ protocol: "HTTPS",
3211
+ pathname: "/",
3212
+ method: "POST",
3213
+ authType: "AK",
3214
+ style: "RPC",
3215
+ reqBodyType: "formData",
3216
+ bodyType: "json",
3217
+ });
3218
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetListMcpServerToolsResultResponse({}));
3219
+ }
3220
+ /**
3221
+ * Queries the MCP Server connectivity and tool list results by the Session ID returned when the detection was started.
3222
+ *
3223
+ * @param request - GetListMcpServerToolsResultRequest
3224
+ * @returns GetListMcpServerToolsResultResponse
3225
+ */
3226
+ async getListMcpServerToolsResult(request) {
3227
+ let runtime = new $dara.RuntimeOptions({});
3228
+ return await this.getListMcpServerToolsResultWithOptions(request, runtime);
3229
+ }
3230
+ /**
3231
+ * Submits a task to schedule and run a Notebook file.
3232
+ *
3233
+ * @param request - GetNotebookAndSubmitTaskRequest
3234
+ * @param runtime - runtime options for this request RuntimeOptions
3235
+ * @returns GetNotebookAndSubmitTaskResponse
3236
+ */
3237
+ async getNotebookAndSubmitTaskWithOptions(request, runtime) {
3238
+ request.validate();
3239
+ let query = {};
3240
+ if (!$dara.isNull(request.workspaceId)) {
3241
+ query["WorkspaceId"] = request.workspaceId;
3242
+ }
3243
+ let body = {};
3244
+ if (!$dara.isNull(request.params)) {
3245
+ body["Params"] = request.params;
3246
+ }
3247
+ if (!$dara.isNull(request.path)) {
3248
+ body["Path"] = request.path;
3249
+ }
3250
+ if (!$dara.isNull(request.retry)) {
3251
+ body["Retry"] = request.retry;
3252
+ }
3253
+ if (!$dara.isNull(request.sessionId)) {
3254
+ body["SessionId"] = request.sessionId;
3255
+ }
3256
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
3257
+ query: openapi_core_2.OpenApiUtil.query(query),
3258
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
3259
+ });
3260
+ let params = new openapi_core_2.$OpenApiUtil.Params({
3261
+ action: "GetNotebookAndSubmitTask",
3262
+ version: "2025-04-14",
3263
+ protocol: "HTTPS",
3264
+ pathname: "/",
3265
+ method: "POST",
3266
+ authType: "AK",
3267
+ style: "RPC",
3268
+ reqBodyType: "formData",
3269
+ bodyType: "json",
3270
+ });
3271
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetNotebookAndSubmitTaskResponse({}));
3272
+ }
3273
+ /**
3274
+ * Submits a task to schedule and run a Notebook file.
3275
+ *
3276
+ * @param request - GetNotebookAndSubmitTaskRequest
3277
+ * @returns GetNotebookAndSubmitTaskResponse
3278
+ */
3279
+ async getNotebookAndSubmitTask(request) {
3280
+ let runtime = new $dara.RuntimeOptions({});
3281
+ return await this.getNotebookAndSubmitTaskWithOptions(request, runtime);
3282
+ }
3283
+ /**
3284
+ * Retrieves the execution status of a Notebook task.
3285
+ *
3286
+ * @param request - GetNotebookTaskStatusRequest
3287
+ * @param runtime - runtime options for this request RuntimeOptions
3288
+ * @returns GetNotebookTaskStatusResponse
3289
+ */
3290
+ async getNotebookTaskStatusWithOptions(request, runtime) {
3291
+ request.validate();
3292
+ let query = {};
3293
+ if (!$dara.isNull(request.sessionId)) {
3294
+ query["SessionId"] = request.sessionId;
3295
+ }
3296
+ if (!$dara.isNull(request.taskId)) {
3297
+ query["TaskId"] = request.taskId;
3298
+ }
3299
+ if (!$dara.isNull(request.workspaceId)) {
3300
+ query["WorkspaceId"] = request.workspaceId;
3301
+ }
3302
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
3303
+ query: openapi_core_2.OpenApiUtil.query(query),
3304
+ });
3305
+ let params = new openapi_core_2.$OpenApiUtil.Params({
3306
+ action: "GetNotebookTaskStatus",
3307
+ version: "2025-04-14",
3308
+ protocol: "HTTPS",
3309
+ pathname: "/",
3310
+ method: "POST",
3311
+ authType: "AK",
3312
+ style: "RPC",
3313
+ reqBodyType: "formData",
3314
+ bodyType: "json",
3315
+ });
3316
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetNotebookTaskStatusResponse({}));
3317
+ }
3318
+ /**
3319
+ * Retrieves the execution status of a Notebook task.
3320
+ *
3321
+ * @param request - GetNotebookTaskStatusRequest
3322
+ * @returns GetNotebookTaskStatusResponse
3323
+ */
3324
+ async getNotebookTaskStatus(request) {
3325
+ let runtime = new $dara.RuntimeOptions({});
3326
+ return await this.getNotebookTaskStatusWithOptions(request, runtime);
3327
+ }
3328
+ /**
3329
+ * Retrieves the Ossie model of onemeta 3.0.
3330
+ *
3331
+ * @param request - GetOneMetaOssieModelRequest
3332
+ * @param runtime - runtime options for this request RuntimeOptions
3333
+ * @returns GetOneMetaOssieModelResponse
3334
+ */
3335
+ async getOneMetaOssieModelWithOptions(request, runtime) {
3336
+ request.validate();
3337
+ let body = {};
3338
+ if (!$dara.isNull(request.docFormat)) {
3339
+ body["DocFormat"] = request.docFormat;
3340
+ }
3341
+ if (!$dara.isNull(request.knowledgeUuid)) {
3342
+ body["KnowledgeUuid"] = request.knowledgeUuid;
2634
3343
  }
2635
3344
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2636
- query: openapi_core_2.OpenApiUtil.query(query),
3345
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
2637
3346
  });
2638
3347
  let params = new openapi_core_2.$OpenApiUtil.Params({
2639
- action: "GetDataAgentTaskModelUsageMetrics",
3348
+ action: "GetOneMetaOssieModel",
2640
3349
  version: "2025-04-14",
2641
3350
  protocol: "HTTPS",
2642
3351
  pathname: "/",
@@ -2646,40 +3355,60 @@ class Client extends openapi_core_1.default {
2646
3355
  reqBodyType: "formData",
2647
3356
  bodyType: "json",
2648
3357
  });
2649
- return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetDataAgentTaskModelUsageMetricsResponse({}));
3358
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetOneMetaOssieModelResponse({}));
2650
3359
  }
2651
3360
  /**
2652
- * Queries the TPM time series metrics of DataAgent analysis task model usage within a specified time range, returning token consumption at each time point with minute-level granularity.
2653
- *
2654
- * @remarks
2655
- * Queries the TPM time series metrics of DataAgent analysis task model usage within a specified time range. The metrics are returned at minute-level granularity, showing the number of tokens consumed in each statistical interval for analyzing model usage trends over time.
3361
+ * Retrieves the Ossie model of onemeta 3.0.
2656
3362
  *
2657
- * @param request - GetDataAgentTaskModelUsageMetricsRequest
2658
- * @returns GetDataAgentTaskModelUsageMetricsResponse
3363
+ * @param request - GetOneMetaOssieModelRequest
3364
+ * @returns GetOneMetaOssieModelResponse
2659
3365
  */
2660
- async getDataAgentTaskModelUsageMetrics(request) {
3366
+ async getOneMetaOssieModel(request) {
2661
3367
  let runtime = new $dara.RuntimeOptions({});
2662
- return await this.getDataAgentTaskModelUsageMetricsWithOptions(request, runtime);
3368
+ return await this.getOneMetaOssieModelWithOptions(request, runtime);
2663
3369
  }
2664
3370
  /**
2665
- * Calls the GetDataAgentThemeUploadSignature operation to obtain OSS direct upload credentials for uploading a DataAgent theme file. After obtaining the credentials, use the PostObject method to upload the theme file directly to OSS. After the upload is complete, call the CreateDataAgentTheme operation with the returned ThemeId to complete theme creation.
2666
- * For more information, see https://www.alibabacloud.com/help/en/oss/user-guide/client-direct-transmission/.
3371
+ * Queries the operation logs of the SQL window.
2667
3372
  *
2668
- * @param request - GetDataAgentThemeUploadSignatureRequest
3373
+ * @remarks
3374
+ * When you call this operation, the service endpoint must match the region where the instance resides. Otherwise, the complete SQL window operation logs cannot be retrieved.
3375
+ *
3376
+ * @param request - GetSqlConsoleOperationLogRequest
2669
3377
  * @param runtime - runtime options for this request RuntimeOptions
2670
- * @returns GetDataAgentThemeUploadSignatureResponse
3378
+ * @returns GetSqlConsoleOperationLogResponse
2671
3379
  */
2672
- async getDataAgentThemeUploadSignatureWithOptions(request, runtime) {
3380
+ async getSqlConsoleOperationLogWithOptions(request, runtime) {
2673
3381
  request.validate();
2674
3382
  let query = {};
2675
- if (!$dara.isNull(request.themeId)) {
2676
- query["ThemeId"] = request.themeId;
3383
+ if (!$dara.isNull(request.endTime)) {
3384
+ query["EndTime"] = request.endTime;
3385
+ }
3386
+ if (!$dara.isNull(request.instanceId)) {
3387
+ query["InstanceId"] = request.instanceId;
3388
+ }
3389
+ if (!$dara.isNull(request.pageNumber)) {
3390
+ query["PageNumber"] = request.pageNumber;
3391
+ }
3392
+ if (!$dara.isNull(request.pageSize)) {
3393
+ query["PageSize"] = request.pageSize;
3394
+ }
3395
+ if (!$dara.isNull(request.schema)) {
3396
+ query["Schema"] = request.schema;
3397
+ }
3398
+ if (!$dara.isNull(request.sqlType)) {
3399
+ query["SqlType"] = request.sqlType;
3400
+ }
3401
+ if (!$dara.isNull(request.startTime)) {
3402
+ query["StartTime"] = request.startTime;
3403
+ }
3404
+ if (!$dara.isNull(request.username)) {
3405
+ query["Username"] = request.username;
2677
3406
  }
2678
3407
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2679
3408
  query: openapi_core_2.OpenApiUtil.query(query),
2680
3409
  });
2681
3410
  let params = new openapi_core_2.$OpenApiUtil.Params({
2682
- action: "GetDataAgentThemeUploadSignature",
3411
+ action: "GetSqlConsoleOperationLog",
2683
3412
  version: "2025-04-14",
2684
3413
  protocol: "HTTPS",
2685
3414
  pathname: "/",
@@ -2689,31 +3418,39 @@ class Client extends openapi_core_1.default {
2689
3418
  reqBodyType: "formData",
2690
3419
  bodyType: "json",
2691
3420
  });
2692
- return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetDataAgentThemeUploadSignatureResponse({}));
3421
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetSqlConsoleOperationLogResponse({}));
2693
3422
  }
2694
3423
  /**
2695
- * Calls the GetDataAgentThemeUploadSignature operation to obtain OSS direct upload credentials for uploading a DataAgent theme file. After obtaining the credentials, use the PostObject method to upload the theme file directly to OSS. After the upload is complete, call the CreateDataAgentTheme operation with the returned ThemeId to complete theme creation.
2696
- * For more information, see https://www.alibabacloud.com/help/en/oss/user-guide/client-direct-transmission/.
3424
+ * Queries the operation logs of the SQL window.
2697
3425
  *
2698
- * @param request - GetDataAgentThemeUploadSignatureRequest
2699
- * @returns GetDataAgentThemeUploadSignatureResponse
3426
+ * @remarks
3427
+ * When you call this operation, the service endpoint must match the region where the instance resides. Otherwise, the complete SQL window operation logs cannot be retrieved.
3428
+ *
3429
+ * @param request - GetSqlConsoleOperationLogRequest
3430
+ * @returns GetSqlConsoleOperationLogResponse
2700
3431
  */
2701
- async getDataAgentThemeUploadSignature(request) {
3432
+ async getSqlConsoleOperationLog(request) {
2702
3433
  let runtime = new $dara.RuntimeOptions({});
2703
- return await this.getDataAgentThemeUploadSignatureWithOptions(request, runtime);
3434
+ return await this.getSqlConsoleOperationLogWithOptions(request, runtime);
2704
3435
  }
2705
3436
  /**
2706
- * Retrieves the details of a collaborative workspace.
3437
+ * Reads the content of a code file in the workspace and returns the file content along with mtime (in the header).
2707
3438
  *
2708
- * @param request - GetDataAgentWorkspaceInfoRequest
3439
+ * @remarks
3440
+ * Obtains the resource configuration limit information and the instance purchase status of the workspace.
3441
+ *
3442
+ * @param request - GetWorkspaceCodeRequest
2709
3443
  * @param runtime - runtime options for this request RuntimeOptions
2710
- * @returns GetDataAgentWorkspaceInfoResponse
3444
+ * @returns GetWorkspaceCodeResponse
2711
3445
  */
2712
- async getDataAgentWorkspaceInfoWithOptions(request, runtime) {
3446
+ async getWorkspaceCodeWithOptions(request, runtime) {
2713
3447
  request.validate();
2714
3448
  let query = {};
2715
- if (!$dara.isNull(request.DMSUnit)) {
2716
- query["DMSUnit"] = request.DMSUnit;
3449
+ if (!$dara.isNull(request.iac)) {
3450
+ query["Iac"] = request.iac;
3451
+ }
3452
+ if (!$dara.isNull(request.path)) {
3453
+ query["Path"] = request.path;
2717
3454
  }
2718
3455
  if (!$dara.isNull(request.workspaceId)) {
2719
3456
  query["WorkspaceId"] = request.workspaceId;
@@ -2722,7 +3459,7 @@ class Client extends openapi_core_1.default {
2722
3459
  query: openapi_core_2.OpenApiUtil.query(query),
2723
3460
  });
2724
3461
  let params = new openapi_core_2.$OpenApiUtil.Params({
2725
- action: "GetDataAgentWorkspaceInfo",
3462
+ action: "GetWorkspaceCode",
2726
3463
  version: "2025-04-14",
2727
3464
  protocol: "HTTPS",
2728
3465
  pathname: "/",
@@ -2732,42 +3469,42 @@ class Client extends openapi_core_1.default {
2732
3469
  reqBodyType: "formData",
2733
3470
  bodyType: "json",
2734
3471
  });
2735
- return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetDataAgentWorkspaceInfoResponse({}));
3472
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetWorkspaceCodeResponse({}));
2736
3473
  }
2737
3474
  /**
2738
- * Retrieves the details of a collaborative workspace.
3475
+ * Reads the content of a code file in the workspace and returns the file content along with mtime (in the header).
2739
3476
  *
2740
- * @param request - GetDataAgentWorkspaceInfoRequest
2741
- * @returns GetDataAgentWorkspaceInfoResponse
3477
+ * @remarks
3478
+ * Obtains the resource configuration limit information and the instance purchase status of the workspace.
3479
+ *
3480
+ * @param request - GetWorkspaceCodeRequest
3481
+ * @returns GetWorkspaceCodeResponse
2742
3482
  */
2743
- async getDataAgentWorkspaceInfo(request) {
3483
+ async getWorkspaceCode(request) {
2744
3484
  let runtime = new $dara.RuntimeOptions({});
2745
- return await this.getDataAgentWorkspaceInfoWithOptions(request, runtime);
3485
+ return await this.getWorkspaceCodeWithOptions(request, runtime);
2746
3486
  }
2747
3487
  /**
2748
- * Queries the MCP Server connectivity and tool list results by the Session ID returned when the detection was started.
3488
+ * Retrieves the deployment configuration of a workspace.
2749
3489
  *
2750
- * @param request - GetListMcpServerToolsResultRequest
3490
+ * @remarks
3491
+ * This operation retrieves the deployment configuration of a workspace. The configuration includes details such as repository and branch information, and directories to exclude.
3492
+ *
3493
+ * @param request - GetWorkspaceCodePublishSettingRequest
2751
3494
  * @param runtime - runtime options for this request RuntimeOptions
2752
- * @returns GetListMcpServerToolsResultResponse
3495
+ * @returns GetWorkspaceCodePublishSettingResponse
2753
3496
  */
2754
- async getListMcpServerToolsResultWithOptions(request, runtime) {
3497
+ async getWorkspaceCodePublishSettingWithOptions(request, runtime) {
2755
3498
  request.validate();
2756
3499
  let query = {};
2757
- if (!$dara.isNull(request.DMSUnit)) {
2758
- query["DMSUnit"] = request.DMSUnit;
2759
- }
2760
- if (!$dara.isNull(request.mcpServerUuid)) {
2761
- query["McpServerUuid"] = request.mcpServerUuid;
2762
- }
2763
- if (!$dara.isNull(request.sessionId)) {
2764
- query["SessionId"] = request.sessionId;
3500
+ if (!$dara.isNull(request.workspaceId)) {
3501
+ query["WorkspaceId"] = request.workspaceId;
2765
3502
  }
2766
3503
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2767
3504
  query: openapi_core_2.OpenApiUtil.query(query),
2768
3505
  });
2769
3506
  let params = new openapi_core_2.$OpenApiUtil.Params({
2770
- action: "GetListMcpServerToolsResult",
3507
+ action: "GetWorkspaceCodePublishSetting",
2771
3508
  version: "2025-04-14",
2772
3509
  protocol: "HTTPS",
2773
3510
  pathname: "/",
@@ -2777,50 +3514,42 @@ class Client extends openapi_core_1.default {
2777
3514
  reqBodyType: "formData",
2778
3515
  bodyType: "json",
2779
3516
  });
2780
- return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetListMcpServerToolsResultResponse({}));
3517
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetWorkspaceCodePublishSettingResponse({}));
2781
3518
  }
2782
3519
  /**
2783
- * Queries the MCP Server connectivity and tool list results by the Session ID returned when the detection was started.
3520
+ * Retrieves the deployment configuration of a workspace.
2784
3521
  *
2785
- * @param request - GetListMcpServerToolsResultRequest
2786
- * @returns GetListMcpServerToolsResultResponse
3522
+ * @remarks
3523
+ * This operation retrieves the deployment configuration of a workspace. The configuration includes details such as repository and branch information, and directories to exclude.
3524
+ *
3525
+ * @param request - GetWorkspaceCodePublishSettingRequest
3526
+ * @returns GetWorkspaceCodePublishSettingResponse
2787
3527
  */
2788
- async getListMcpServerToolsResult(request) {
3528
+ async getWorkspaceCodePublishSetting(request) {
2789
3529
  let runtime = new $dara.RuntimeOptions({});
2790
- return await this.getListMcpServerToolsResultWithOptions(request, runtime);
3530
+ return await this.getWorkspaceCodePublishSettingWithOptions(request, runtime);
2791
3531
  }
2792
3532
  /**
2793
- * Submits a task to schedule and run a Notebook file.
3533
+ * Returns the quota for a workspace.
2794
3534
  *
2795
- * @param request - GetNotebookAndSubmitTaskRequest
3535
+ * @remarks
3536
+ * Retrieves the resource quotas and instance status for a workspace.
3537
+ *
3538
+ * @param request - GetWorkspaceQuotaRequest
2796
3539
  * @param runtime - runtime options for this request RuntimeOptions
2797
- * @returns GetNotebookAndSubmitTaskResponse
3540
+ * @returns GetWorkspaceQuotaResponse
2798
3541
  */
2799
- async getNotebookAndSubmitTaskWithOptions(request, runtime) {
3542
+ async getWorkspaceQuotaWithOptions(request, runtime) {
2800
3543
  request.validate();
2801
3544
  let query = {};
2802
3545
  if (!$dara.isNull(request.workspaceId)) {
2803
3546
  query["WorkspaceId"] = request.workspaceId;
2804
3547
  }
2805
- let body = {};
2806
- if (!$dara.isNull(request.params)) {
2807
- body["Params"] = request.params;
2808
- }
2809
- if (!$dara.isNull(request.path)) {
2810
- body["Path"] = request.path;
2811
- }
2812
- if (!$dara.isNull(request.retry)) {
2813
- body["Retry"] = request.retry;
2814
- }
2815
- if (!$dara.isNull(request.sessionId)) {
2816
- body["SessionId"] = request.sessionId;
2817
- }
2818
3548
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2819
3549
  query: openapi_core_2.OpenApiUtil.query(query),
2820
- body: openapi_core_2.OpenApiUtil.parseToMap(body),
2821
3550
  });
2822
3551
  let params = new openapi_core_2.$OpenApiUtil.Params({
2823
- action: "GetNotebookAndSubmitTask",
3552
+ action: "GetWorkspaceQuota",
2824
3553
  version: "2025-04-14",
2825
3554
  protocol: "HTTPS",
2826
3555
  pathname: "/",
@@ -2830,42 +3559,60 @@ class Client extends openapi_core_1.default {
2830
3559
  reqBodyType: "formData",
2831
3560
  bodyType: "json",
2832
3561
  });
2833
- return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetNotebookAndSubmitTaskResponse({}));
3562
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetWorkspaceQuotaResponse({}));
2834
3563
  }
2835
3564
  /**
2836
- * Submits a task to schedule and run a Notebook file.
3565
+ * Returns the quota for a workspace.
2837
3566
  *
2838
- * @param request - GetNotebookAndSubmitTaskRequest
2839
- * @returns GetNotebookAndSubmitTaskResponse
3567
+ * @remarks
3568
+ * Retrieves the resource quotas and instance status for a workspace.
3569
+ *
3570
+ * @param request - GetWorkspaceQuotaRequest
3571
+ * @returns GetWorkspaceQuotaResponse
2840
3572
  */
2841
- async getNotebookAndSubmitTask(request) {
3573
+ async getWorkspaceQuota(request) {
2842
3574
  let runtime = new $dara.RuntimeOptions({});
2843
- return await this.getNotebookAndSubmitTaskWithOptions(request, runtime);
3575
+ return await this.getWorkspaceQuotaWithOptions(request, runtime);
2844
3576
  }
2845
3577
  /**
2846
- * Retrieves the execution status of a Notebook task.
3578
+ * Creates an SQL template.
2847
3579
  *
2848
- * @param request - GetNotebookTaskStatusRequest
3580
+ * @param request - ImportOneMetaOssieModelRequest
2849
3581
  * @param runtime - runtime options for this request RuntimeOptions
2850
- * @returns GetNotebookTaskStatusResponse
3582
+ * @returns ImportOneMetaOssieModelResponse
2851
3583
  */
2852
- async getNotebookTaskStatusWithOptions(request, runtime) {
3584
+ async importOneMetaOssieModelWithOptions(request, runtime) {
2853
3585
  request.validate();
2854
3586
  let query = {};
2855
- if (!$dara.isNull(request.sessionId)) {
2856
- query["SessionId"] = request.sessionId;
3587
+ if (!$dara.isNull(request.catalogUuid)) {
3588
+ query["CatalogUuid"] = request.catalogUuid;
2857
3589
  }
2858
- if (!$dara.isNull(request.taskId)) {
2859
- query["TaskId"] = request.taskId;
3590
+ if (!$dara.isNull(request.databaseUuid)) {
3591
+ query["DatabaseUuid"] = request.databaseUuid;
2860
3592
  }
2861
- if (!$dara.isNull(request.workspaceId)) {
2862
- query["WorkspaceId"] = request.workspaceId;
3593
+ if (!$dara.isNull(request.description)) {
3594
+ query["Description"] = request.description;
3595
+ }
3596
+ if (!$dara.isNull(request.docFormat)) {
3597
+ query["DocFormat"] = request.docFormat;
3598
+ }
3599
+ if (!$dara.isNull(request.document)) {
3600
+ query["Document"] = request.document;
3601
+ }
3602
+ if (!$dara.isNull(request.source)) {
3603
+ query["Source"] = request.source;
3604
+ }
3605
+ if (!$dara.isNull(request.tag)) {
3606
+ query["Tag"] = request.tag;
3607
+ }
3608
+ if (!$dara.isNull(request.title)) {
3609
+ query["Title"] = request.title;
2863
3610
  }
2864
3611
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2865
3612
  query: openapi_core_2.OpenApiUtil.query(query),
2866
3613
  });
2867
3614
  let params = new openapi_core_2.$OpenApiUtil.Params({
2868
- action: "GetNotebookTaskStatus",
3615
+ action: "ImportOneMetaOssieModel",
2869
3616
  version: "2025-04-14",
2870
3617
  protocol: "HTTPS",
2871
3618
  pathname: "/",
@@ -2875,39 +3622,36 @@ class Client extends openapi_core_1.default {
2875
3622
  reqBodyType: "formData",
2876
3623
  bodyType: "json",
2877
3624
  });
2878
- return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetNotebookTaskStatusResponse({}));
3625
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImportOneMetaOssieModelResponse({}));
2879
3626
  }
2880
3627
  /**
2881
- * Retrieves the execution status of a Notebook task.
3628
+ * Creates an SQL template.
2882
3629
  *
2883
- * @param request - GetNotebookTaskStatusRequest
2884
- * @returns GetNotebookTaskStatusResponse
3630
+ * @param request - ImportOneMetaOssieModelRequest
3631
+ * @returns ImportOneMetaOssieModelResponse
2885
3632
  */
2886
- async getNotebookTaskStatus(request) {
3633
+ async importOneMetaOssieModel(request) {
2887
3634
  let runtime = new $dara.RuntimeOptions({});
2888
- return await this.getNotebookTaskStatusWithOptions(request, runtime);
3635
+ return await this.importOneMetaOssieModelWithOptions(request, runtime);
2889
3636
  }
2890
3637
  /**
2891
- * Retrieves the Ossie model of onemeta 3.0.
3638
+ * Installs all currently available system MCP services for a specified Data Agent workspace.
2892
3639
  *
2893
- * @param request - GetOneMetaOssieModelRequest
3640
+ * @param request - InitWorkspaceSystemMcpServerRequest
2894
3641
  * @param runtime - runtime options for this request RuntimeOptions
2895
- * @returns GetOneMetaOssieModelResponse
3642
+ * @returns InitWorkspaceSystemMcpServerResponse
2896
3643
  */
2897
- async getOneMetaOssieModelWithOptions(request, runtime) {
3644
+ async initWorkspaceSystemMcpServerWithOptions(request, runtime) {
2898
3645
  request.validate();
2899
- let body = {};
2900
- if (!$dara.isNull(request.docFormat)) {
2901
- body["DocFormat"] = request.docFormat;
2902
- }
2903
- if (!$dara.isNull(request.knowledgeUuid)) {
2904
- body["KnowledgeUuid"] = request.knowledgeUuid;
3646
+ let query = {};
3647
+ if (!$dara.isNull(request.workspaceId)) {
3648
+ query["WorkspaceId"] = request.workspaceId;
2905
3649
  }
2906
3650
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2907
- body: openapi_core_2.OpenApiUtil.parseToMap(body),
3651
+ query: openapi_core_2.OpenApiUtil.query(query),
2908
3652
  });
2909
3653
  let params = new openapi_core_2.$OpenApiUtil.Params({
2910
- action: "GetOneMetaOssieModel",
3654
+ action: "InitWorkspaceSystemMcpServer",
2911
3655
  version: "2025-04-14",
2912
3656
  protocol: "HTTPS",
2913
3657
  pathname: "/",
@@ -2917,60 +3661,69 @@ class Client extends openapi_core_1.default {
2917
3661
  reqBodyType: "formData",
2918
3662
  bodyType: "json",
2919
3663
  });
2920
- return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetOneMetaOssieModelResponse({}));
3664
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.InitWorkspaceSystemMcpServerResponse({}));
2921
3665
  }
2922
3666
  /**
2923
- * Retrieves the Ossie model of onemeta 3.0.
3667
+ * Installs all currently available system MCP services for a specified Data Agent workspace.
2924
3668
  *
2925
- * @param request - GetOneMetaOssieModelRequest
2926
- * @returns GetOneMetaOssieModelResponse
3669
+ * @param request - InitWorkspaceSystemMcpServerRequest
3670
+ * @returns InitWorkspaceSystemMcpServerResponse
2927
3671
  */
2928
- async getOneMetaOssieModel(request) {
3672
+ async initWorkspaceSystemMcpServer(request) {
2929
3673
  let runtime = new $dara.RuntimeOptions({});
2930
- return await this.getOneMetaOssieModelWithOptions(request, runtime);
3674
+ return await this.initWorkspaceSystemMcpServerWithOptions(request, runtime);
2931
3675
  }
2932
3676
  /**
2933
- * Queries the operation logs of the SQL window.
3677
+ * Imports an MCP into DataAgent.
2934
3678
  *
2935
3679
  * @remarks
2936
- * When you call this operation, the service endpoint must match the region where the instance resides. Otherwise, the complete SQL window operation logs cannot be retrieved.
3680
+ * Imports an MCP into DataAgent.
2937
3681
  *
2938
- * @param request - GetSqlConsoleOperationLogRequest
3682
+ * @param request - InstallDataAgentMcpRequest
2939
3683
  * @param runtime - runtime options for this request RuntimeOptions
2940
- * @returns GetSqlConsoleOperationLogResponse
3684
+ * @returns InstallDataAgentMcpResponse
2941
3685
  */
2942
- async getSqlConsoleOperationLogWithOptions(request, runtime) {
3686
+ async installDataAgentMcpWithOptions(request, runtime) {
2943
3687
  request.validate();
2944
3688
  let query = {};
2945
- if (!$dara.isNull(request.endTime)) {
2946
- query["EndTime"] = request.endTime;
3689
+ if (!$dara.isNull(request.description)) {
3690
+ query["Description"] = request.description;
2947
3691
  }
2948
- if (!$dara.isNull(request.instanceId)) {
2949
- query["InstanceId"] = request.instanceId;
3692
+ if (!$dara.isNull(request.endpoint)) {
3693
+ query["Endpoint"] = request.endpoint;
2950
3694
  }
2951
- if (!$dara.isNull(request.pageNumber)) {
2952
- query["PageNumber"] = request.pageNumber;
3695
+ if (!$dara.isNull(request.fromJson)) {
3696
+ query["FromJson"] = request.fromJson;
2953
3697
  }
2954
- if (!$dara.isNull(request.pageSize)) {
2955
- query["PageSize"] = request.pageSize;
3698
+ if (!$dara.isNull(request.headers)) {
3699
+ query["Headers"] = request.headers;
2956
3700
  }
2957
- if (!$dara.isNull(request.schema)) {
2958
- query["Schema"] = request.schema;
3701
+ if (!$dara.isNull(request.name)) {
3702
+ query["Name"] = request.name;
2959
3703
  }
2960
- if (!$dara.isNull(request.sqlType)) {
2961
- query["SqlType"] = request.sqlType;
3704
+ if (!$dara.isNull(request.needUidInHeader)) {
3705
+ query["NeedUidInHeader"] = request.needUidInHeader;
2962
3706
  }
2963
- if (!$dara.isNull(request.startTime)) {
2964
- query["StartTime"] = request.startTime;
3707
+ if (!$dara.isNull(request.netType)) {
3708
+ query["NetType"] = request.netType;
2965
3709
  }
2966
- if (!$dara.isNull(request.username)) {
2967
- query["Username"] = request.username;
3710
+ if (!$dara.isNull(request.transportType)) {
3711
+ query["TransportType"] = request.transportType;
3712
+ }
3713
+ if (!$dara.isNull(request.vpcId)) {
3714
+ query["VpcId"] = request.vpcId;
3715
+ }
3716
+ if (!$dara.isNull(request.vswId)) {
3717
+ query["VswId"] = request.vswId;
3718
+ }
3719
+ if (!$dara.isNull(request.workspaceId)) {
3720
+ query["WorkspaceId"] = request.workspaceId;
2968
3721
  }
2969
3722
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2970
3723
  query: openapi_core_2.OpenApiUtil.query(query),
2971
3724
  });
2972
3725
  let params = new openapi_core_2.$OpenApiUtil.Params({
2973
- action: "GetSqlConsoleOperationLog",
3726
+ action: "InstallDataAgentMcp",
2974
3727
  version: "2025-04-14",
2975
3728
  protocol: "HTTPS",
2976
3729
  pathname: "/",
@@ -2980,48 +3733,48 @@ class Client extends openapi_core_1.default {
2980
3733
  reqBodyType: "formData",
2981
3734
  bodyType: "json",
2982
3735
  });
2983
- return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetSqlConsoleOperationLogResponse({}));
3736
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.InstallDataAgentMcpResponse({}));
2984
3737
  }
2985
3738
  /**
2986
- * Queries the operation logs of the SQL window.
3739
+ * Imports an MCP into DataAgent.
2987
3740
  *
2988
3741
  * @remarks
2989
- * When you call this operation, the service endpoint must match the region where the instance resides. Otherwise, the complete SQL window operation logs cannot be retrieved.
3742
+ * Imports an MCP into DataAgent.
2990
3743
  *
2991
- * @param request - GetSqlConsoleOperationLogRequest
2992
- * @returns GetSqlConsoleOperationLogResponse
3744
+ * @param request - InstallDataAgentMcpRequest
3745
+ * @returns InstallDataAgentMcpResponse
2993
3746
  */
2994
- async getSqlConsoleOperationLog(request) {
3747
+ async installDataAgentMcp(request) {
2995
3748
  let runtime = new $dara.RuntimeOptions({});
2996
- return await this.getSqlConsoleOperationLogWithOptions(request, runtime);
3749
+ return await this.installDataAgentMcpWithOptions(request, runtime);
2997
3750
  }
2998
3751
  /**
2999
- * Reads the content of a code file in the workspace and returns the file content along with mtime (in the header).
3000
- *
3001
- * @remarks
3002
- * Obtains the resource configuration limit information and the instance purchase status of the workspace.
3752
+ * Performs a paging query on the catalogs in Agentic DMS. You can filter the results by catalog type and name prefix.
3003
3753
  *
3004
- * @param request - GetWorkspaceCodeRequest
3754
+ * @param request - ListAgenticCatalogRequest
3005
3755
  * @param runtime - runtime options for this request RuntimeOptions
3006
- * @returns GetWorkspaceCodeResponse
3756
+ * @returns ListAgenticCatalogResponse
3007
3757
  */
3008
- async getWorkspaceCodeWithOptions(request, runtime) {
3758
+ async listAgenticCatalogWithOptions(request, runtime) {
3009
3759
  request.validate();
3010
3760
  let query = {};
3011
- if (!$dara.isNull(request.iac)) {
3012
- query["Iac"] = request.iac;
3761
+ if (!$dara.isNull(request.catalogType)) {
3762
+ query["CatalogType"] = request.catalogType;
3013
3763
  }
3014
- if (!$dara.isNull(request.path)) {
3015
- query["Path"] = request.path;
3764
+ if (!$dara.isNull(request.maxResults)) {
3765
+ query["MaxResults"] = request.maxResults;
3016
3766
  }
3017
- if (!$dara.isNull(request.workspaceId)) {
3018
- query["WorkspaceId"] = request.workspaceId;
3767
+ if (!$dara.isNull(request.nextToken)) {
3768
+ query["NextToken"] = request.nextToken;
3769
+ }
3770
+ if (!$dara.isNull(request.searchKey)) {
3771
+ query["SearchKey"] = request.searchKey;
3019
3772
  }
3020
3773
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
3021
3774
  query: openapi_core_2.OpenApiUtil.query(query),
3022
3775
  });
3023
3776
  let params = new openapi_core_2.$OpenApiUtil.Params({
3024
- action: "GetWorkspaceCode",
3777
+ action: "ListAgenticCatalog",
3025
3778
  version: "2025-04-14",
3026
3779
  protocol: "HTTPS",
3027
3780
  pathname: "/",
@@ -3031,42 +3784,63 @@ class Client extends openapi_core_1.default {
3031
3784
  reqBodyType: "formData",
3032
3785
  bodyType: "json",
3033
3786
  });
3034
- return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetWorkspaceCodeResponse({}));
3787
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAgenticCatalogResponse({}));
3035
3788
  }
3036
3789
  /**
3037
- * Reads the content of a code file in the workspace and returns the file content along with mtime (in the header).
3038
- *
3039
- * @remarks
3040
- * Obtains the resource configuration limit information and the instance purchase status of the workspace.
3790
+ * Performs a paging query on the catalogs in Agentic DMS. You can filter the results by catalog type and name prefix.
3041
3791
  *
3042
- * @param request - GetWorkspaceCodeRequest
3043
- * @returns GetWorkspaceCodeResponse
3792
+ * @param request - ListAgenticCatalogRequest
3793
+ * @returns ListAgenticCatalogResponse
3044
3794
  */
3045
- async getWorkspaceCode(request) {
3795
+ async listAgenticCatalog(request) {
3046
3796
  let runtime = new $dara.RuntimeOptions({});
3047
- return await this.getWorkspaceCodeWithOptions(request, runtime);
3797
+ return await this.listAgenticCatalogWithOptions(request, runtime);
3048
3798
  }
3049
3799
  /**
3050
- * Retrieves the deployment configuration of a workspace.
3800
+ * Performs a paged query on the data sources of the current account by using paging.
3051
3801
  *
3052
3802
  * @remarks
3053
- * This operation retrieves the deployment configuration of a workspace. The configuration includes details such as repository and branch information, and directories to exclude.
3803
+ * You can filter data sources by type, status, endpoint, port, source, and connection target name. You can also perform a fuzzy search by name or endpoint. If multiple filter conditions are specified, the intersection of the conditions is used.
3054
3804
  *
3055
- * @param request - GetWorkspaceCodePublishSettingRequest
3805
+ * @param request - ListAgenticDataSourcesRequest
3056
3806
  * @param runtime - runtime options for this request RuntimeOptions
3057
- * @returns GetWorkspaceCodePublishSettingResponse
3807
+ * @returns ListAgenticDataSourcesResponse
3058
3808
  */
3059
- async getWorkspaceCodePublishSettingWithOptions(request, runtime) {
3809
+ async listAgenticDataSourcesWithOptions(request, runtime) {
3060
3810
  request.validate();
3061
3811
  let query = {};
3062
- if (!$dara.isNull(request.workspaceId)) {
3063
- query["WorkspaceId"] = request.workspaceId;
3812
+ if (!$dara.isNull(request.dbType)) {
3813
+ query["DbType"] = request.dbType;
3814
+ }
3815
+ if (!$dara.isNull(request.host)) {
3816
+ query["Host"] = request.host;
3817
+ }
3818
+ if (!$dara.isNull(request.instanceSource)) {
3819
+ query["InstanceSource"] = request.instanceSource;
3820
+ }
3821
+ if (!$dara.isNull(request.maxResults)) {
3822
+ query["MaxResults"] = request.maxResults;
3823
+ }
3824
+ if (!$dara.isNull(request.nextToken)) {
3825
+ query["NextToken"] = request.nextToken;
3826
+ }
3827
+ if (!$dara.isNull(request.port)) {
3828
+ query["Port"] = request.port;
3829
+ }
3830
+ if (!$dara.isNull(request.schema)) {
3831
+ query["Schema"] = request.schema;
3832
+ }
3833
+ if (!$dara.isNull(request.searchKey)) {
3834
+ query["SearchKey"] = request.searchKey;
3835
+ }
3836
+ if (!$dara.isNull(request.state)) {
3837
+ query["State"] = request.state;
3064
3838
  }
3065
3839
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
3066
3840
  query: openapi_core_2.OpenApiUtil.query(query),
3067
3841
  });
3068
3842
  let params = new openapi_core_2.$OpenApiUtil.Params({
3069
- action: "GetWorkspaceCodePublishSetting",
3843
+ action: "ListAgenticDataSources",
3070
3844
  version: "2025-04-14",
3071
3845
  protocol: "HTTPS",
3072
3846
  pathname: "/",
@@ -3076,42 +3850,54 @@ class Client extends openapi_core_1.default {
3076
3850
  reqBodyType: "formData",
3077
3851
  bodyType: "json",
3078
3852
  });
3079
- return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetWorkspaceCodePublishSettingResponse({}));
3853
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAgenticDataSourcesResponse({}));
3080
3854
  }
3081
3855
  /**
3082
- * Retrieves the deployment configuration of a workspace.
3856
+ * Performs a paged query on the data sources of the current account by using paging.
3083
3857
  *
3084
3858
  * @remarks
3085
- * This operation retrieves the deployment configuration of a workspace. The configuration includes details such as repository and branch information, and directories to exclude.
3859
+ * You can filter data sources by type, status, endpoint, port, source, and connection target name. You can also perform a fuzzy search by name or endpoint. If multiple filter conditions are specified, the intersection of the conditions is used.
3086
3860
  *
3087
- * @param request - GetWorkspaceCodePublishSettingRequest
3088
- * @returns GetWorkspaceCodePublishSettingResponse
3861
+ * @param request - ListAgenticDataSourcesRequest
3862
+ * @returns ListAgenticDataSourcesResponse
3089
3863
  */
3090
- async getWorkspaceCodePublishSetting(request) {
3864
+ async listAgenticDataSources(request) {
3091
3865
  let runtime = new $dara.RuntimeOptions({});
3092
- return await this.getWorkspaceCodePublishSettingWithOptions(request, runtime);
3866
+ return await this.listAgenticDataSourcesWithOptions(request, runtime);
3093
3867
  }
3094
3868
  /**
3095
- * Returns the quota for a workspace.
3869
+ * Performs a paged query for the list of databases in a specified catalog, with options to filter by name prefix and specify the sorting method for paging.
3096
3870
  *
3097
- * @remarks
3098
- * Retrieves the resource quotas and instance status for a workspace.
3099
- *
3100
- * @param request - GetWorkspaceQuotaRequest
3871
+ * @param request - ListAgenticDatabaseRequest
3101
3872
  * @param runtime - runtime options for this request RuntimeOptions
3102
- * @returns GetWorkspaceQuotaResponse
3873
+ * @returns ListAgenticDatabaseResponse
3103
3874
  */
3104
- async getWorkspaceQuotaWithOptions(request, runtime) {
3875
+ async listAgenticDatabaseWithOptions(request, runtime) {
3105
3876
  request.validate();
3106
3877
  let query = {};
3107
- if (!$dara.isNull(request.workspaceId)) {
3108
- query["WorkspaceId"] = request.workspaceId;
3878
+ if (!$dara.isNull(request.catalogUuid)) {
3879
+ query["CatalogUuid"] = request.catalogUuid;
3880
+ }
3881
+ if (!$dara.isNull(request.maxResults)) {
3882
+ query["MaxResults"] = request.maxResults;
3883
+ }
3884
+ if (!$dara.isNull(request.nextToken)) {
3885
+ query["NextToken"] = request.nextToken;
3886
+ }
3887
+ if (!$dara.isNull(request.searchKey)) {
3888
+ query["SearchKey"] = request.searchKey;
3889
+ }
3890
+ if (!$dara.isNull(request.sortFieldName)) {
3891
+ query["SortFieldName"] = request.sortFieldName;
3892
+ }
3893
+ if (!$dara.isNull(request.sortOrder)) {
3894
+ query["SortOrder"] = request.sortOrder;
3109
3895
  }
3110
3896
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
3111
3897
  query: openapi_core_2.OpenApiUtil.query(query),
3112
3898
  });
3113
3899
  let params = new openapi_core_2.$OpenApiUtil.Params({
3114
- action: "GetWorkspaceQuota",
3900
+ action: "ListAgenticDatabase",
3115
3901
  version: "2025-04-14",
3116
3902
  protocol: "HTTPS",
3117
3903
  pathname: "/",
@@ -3121,60 +3907,69 @@ class Client extends openapi_core_1.default {
3121
3907
  reqBodyType: "formData",
3122
3908
  bodyType: "json",
3123
3909
  });
3124
- return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetWorkspaceQuotaResponse({}));
3910
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAgenticDatabaseResponse({}));
3125
3911
  }
3126
3912
  /**
3127
- * Returns the quota for a workspace.
3128
- *
3129
- * @remarks
3130
- * Retrieves the resource quotas and instance status for a workspace.
3913
+ * Performs a paged query for the list of databases in a specified catalog, with options to filter by name prefix and specify the sorting method for paging.
3131
3914
  *
3132
- * @param request - GetWorkspaceQuotaRequest
3133
- * @returns GetWorkspaceQuotaResponse
3915
+ * @param request - ListAgenticDatabaseRequest
3916
+ * @returns ListAgenticDatabaseResponse
3134
3917
  */
3135
- async getWorkspaceQuota(request) {
3918
+ async listAgenticDatabase(request) {
3136
3919
  let runtime = new $dara.RuntimeOptions({});
3137
- return await this.getWorkspaceQuotaWithOptions(request, runtime);
3920
+ return await this.listAgenticDatabaseWithOptions(request, runtime);
3138
3921
  }
3139
3922
  /**
3140
- * Creates an SQL template.
3923
+ * Queries the SQL execution history within the current tenant and returns the results in descending order of execution start time. Only AGENT_QUERY and WORKFLOW_QUERY are included.
3141
3924
  *
3142
- * @param request - ImportOneMetaOssieModelRequest
3925
+ * @param request - ListAgenticGlobalSqlExecutionHistoriesRequest
3143
3926
  * @param runtime - runtime options for this request RuntimeOptions
3144
- * @returns ImportOneMetaOssieModelResponse
3927
+ * @returns ListAgenticGlobalSqlExecutionHistoriesResponse
3145
3928
  */
3146
- async importOneMetaOssieModelWithOptions(request, runtime) {
3929
+ async listAgenticGlobalSqlExecutionHistoriesWithOptions(request, runtime) {
3147
3930
  request.validate();
3148
3931
  let query = {};
3932
+ if (!$dara.isNull(request.actorId)) {
3933
+ query["ActorId"] = request.actorId;
3934
+ }
3935
+ if (!$dara.isNull(request.actorName)) {
3936
+ query["ActorName"] = request.actorName;
3937
+ }
3938
+ if (!$dara.isNull(request.actorType)) {
3939
+ query["ActorType"] = request.actorType;
3940
+ }
3149
3941
  if (!$dara.isNull(request.catalogUuid)) {
3150
3942
  query["CatalogUuid"] = request.catalogUuid;
3151
3943
  }
3152
3944
  if (!$dara.isNull(request.databaseUuid)) {
3153
3945
  query["DatabaseUuid"] = request.databaseUuid;
3154
3946
  }
3155
- if (!$dara.isNull(request.description)) {
3156
- query["Description"] = request.description;
3947
+ if (!$dara.isNull(request.endTime)) {
3948
+ query["EndTime"] = request.endTime;
3157
3949
  }
3158
- if (!$dara.isNull(request.docFormat)) {
3159
- query["DocFormat"] = request.docFormat;
3950
+ if (!$dara.isNull(request.page)) {
3951
+ query["Page"] = request.page;
3160
3952
  }
3161
- if (!$dara.isNull(request.document)) {
3162
- query["Document"] = request.document;
3953
+ if (!$dara.isNull(request.scenario)) {
3954
+ query["Scenario"] = request.scenario;
3163
3955
  }
3164
- if (!$dara.isNull(request.source)) {
3165
- query["Source"] = request.source;
3956
+ if (!$dara.isNull(request.size)) {
3957
+ query["Size"] = request.size;
3166
3958
  }
3167
- if (!$dara.isNull(request.tag)) {
3168
- query["Tag"] = request.tag;
3959
+ if (!$dara.isNull(request.sqlKeyword)) {
3960
+ query["SqlKeyword"] = request.sqlKeyword;
3169
3961
  }
3170
- if (!$dara.isNull(request.title)) {
3171
- query["Title"] = request.title;
3962
+ if (!$dara.isNull(request.sqlType)) {
3963
+ query["SqlType"] = request.sqlType;
3964
+ }
3965
+ if (!$dara.isNull(request.startTime)) {
3966
+ query["StartTime"] = request.startTime;
3172
3967
  }
3173
3968
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
3174
3969
  query: openapi_core_2.OpenApiUtil.query(query),
3175
3970
  });
3176
3971
  let params = new openapi_core_2.$OpenApiUtil.Params({
3177
- action: "ImportOneMetaOssieModel",
3972
+ action: "ListAgenticGlobalSqlExecutionHistories",
3178
3973
  version: "2025-04-14",
3179
3974
  protocol: "HTTPS",
3180
3975
  pathname: "/",
@@ -3184,36 +3979,69 @@ class Client extends openapi_core_1.default {
3184
3979
  reqBodyType: "formData",
3185
3980
  bodyType: "json",
3186
3981
  });
3187
- return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImportOneMetaOssieModelResponse({}));
3982
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAgenticGlobalSqlExecutionHistoriesResponse({}));
3188
3983
  }
3189
3984
  /**
3190
- * Creates an SQL template.
3985
+ * Queries the SQL execution history within the current tenant and returns the results in descending order of execution start time. Only AGENT_QUERY and WORKFLOW_QUERY are included.
3191
3986
  *
3192
- * @param request - ImportOneMetaOssieModelRequest
3193
- * @returns ImportOneMetaOssieModelResponse
3987
+ * @param request - ListAgenticGlobalSqlExecutionHistoriesRequest
3988
+ * @returns ListAgenticGlobalSqlExecutionHistoriesResponse
3194
3989
  */
3195
- async importOneMetaOssieModel(request) {
3990
+ async listAgenticGlobalSqlExecutionHistories(request) {
3196
3991
  let runtime = new $dara.RuntimeOptions({});
3197
- return await this.importOneMetaOssieModelWithOptions(request, runtime);
3992
+ return await this.listAgenticGlobalSqlExecutionHistoriesWithOptions(request, runtime);
3198
3993
  }
3199
3994
  /**
3200
- * Installs all currently available system MCP services for a specified Data Agent workspace.
3995
+ * Queries the SQL execution history visible to the current caller, sorted in descending order by execution start time. Only AGENT_QUERY and WORKFLOW_QUERY are included.
3201
3996
  *
3202
- * @param request - InitWorkspaceSystemMcpServerRequest
3997
+ * @param request - ListAgenticSqlExecutionHistoriesRequest
3203
3998
  * @param runtime - runtime options for this request RuntimeOptions
3204
- * @returns InitWorkspaceSystemMcpServerResponse
3999
+ * @returns ListAgenticSqlExecutionHistoriesResponse
3205
4000
  */
3206
- async initWorkspaceSystemMcpServerWithOptions(request, runtime) {
4001
+ async listAgenticSqlExecutionHistoriesWithOptions(request, runtime) {
3207
4002
  request.validate();
3208
4003
  let query = {};
3209
- if (!$dara.isNull(request.workspaceId)) {
3210
- query["WorkspaceId"] = request.workspaceId;
4004
+ if (!$dara.isNull(request.actorId)) {
4005
+ query["ActorId"] = request.actorId;
4006
+ }
4007
+ if (!$dara.isNull(request.actorName)) {
4008
+ query["ActorName"] = request.actorName;
4009
+ }
4010
+ if (!$dara.isNull(request.actorType)) {
4011
+ query["ActorType"] = request.actorType;
4012
+ }
4013
+ if (!$dara.isNull(request.catalogUuid)) {
4014
+ query["CatalogUuid"] = request.catalogUuid;
4015
+ }
4016
+ if (!$dara.isNull(request.databaseUuid)) {
4017
+ query["DatabaseUuid"] = request.databaseUuid;
4018
+ }
4019
+ if (!$dara.isNull(request.endTime)) {
4020
+ query["EndTime"] = request.endTime;
4021
+ }
4022
+ if (!$dara.isNull(request.page)) {
4023
+ query["Page"] = request.page;
4024
+ }
4025
+ if (!$dara.isNull(request.scenario)) {
4026
+ query["Scenario"] = request.scenario;
4027
+ }
4028
+ if (!$dara.isNull(request.size)) {
4029
+ query["Size"] = request.size;
4030
+ }
4031
+ if (!$dara.isNull(request.sqlKeyword)) {
4032
+ query["SqlKeyword"] = request.sqlKeyword;
4033
+ }
4034
+ if (!$dara.isNull(request.sqlType)) {
4035
+ query["SqlType"] = request.sqlType;
4036
+ }
4037
+ if (!$dara.isNull(request.startTime)) {
4038
+ query["StartTime"] = request.startTime;
3211
4039
  }
3212
4040
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
3213
4041
  query: openapi_core_2.OpenApiUtil.query(query),
3214
4042
  });
3215
4043
  let params = new openapi_core_2.$OpenApiUtil.Params({
3216
- action: "InitWorkspaceSystemMcpServer",
4044
+ action: "ListAgenticSqlExecutionHistories",
3217
4045
  version: "2025-04-14",
3218
4046
  protocol: "HTTPS",
3219
4047
  pathname: "/",
@@ -3223,69 +4051,54 @@ class Client extends openapi_core_1.default {
3223
4051
  reqBodyType: "formData",
3224
4052
  bodyType: "json",
3225
4053
  });
3226
- return $dara.cast(await this.callApi(params, req, runtime), new $_model.InitWorkspaceSystemMcpServerResponse({}));
4054
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAgenticSqlExecutionHistoriesResponse({}));
3227
4055
  }
3228
4056
  /**
3229
- * Installs all currently available system MCP services for a specified Data Agent workspace.
4057
+ * Queries the SQL execution history visible to the current caller, sorted in descending order by execution start time. Only AGENT_QUERY and WORKFLOW_QUERY are included.
3230
4058
  *
3231
- * @param request - InitWorkspaceSystemMcpServerRequest
3232
- * @returns InitWorkspaceSystemMcpServerResponse
4059
+ * @param request - ListAgenticSqlExecutionHistoriesRequest
4060
+ * @returns ListAgenticSqlExecutionHistoriesResponse
3233
4061
  */
3234
- async initWorkspaceSystemMcpServer(request) {
4062
+ async listAgenticSqlExecutionHistories(request) {
3235
4063
  let runtime = new $dara.RuntimeOptions({});
3236
- return await this.initWorkspaceSystemMcpServerWithOptions(request, runtime);
4064
+ return await this.listAgenticSqlExecutionHistoriesWithOptions(request, runtime);
3237
4065
  }
3238
4066
  /**
3239
- * Imports an MCP into DataAgent.
3240
- *
3241
- * @remarks
3242
- * Imports an MCP into DataAgent.
4067
+ * Queries the basic information and engine metadata of tables in a specified database by using paging. You can filter the results by keyword and table type, and specify the sorting method.
3243
4068
  *
3244
- * @param request - InstallDataAgentMcpRequest
4069
+ * @param request - ListAgenticTableBaseInfoRequest
3245
4070
  * @param runtime - runtime options for this request RuntimeOptions
3246
- * @returns InstallDataAgentMcpResponse
4071
+ * @returns ListAgenticTableBaseInfoResponse
3247
4072
  */
3248
- async installDataAgentMcpWithOptions(request, runtime) {
4073
+ async listAgenticTableBaseInfoWithOptions(request, runtime) {
3249
4074
  request.validate();
3250
4075
  let query = {};
3251
- if (!$dara.isNull(request.description)) {
3252
- query["Description"] = request.description;
3253
- }
3254
- if (!$dara.isNull(request.endpoint)) {
3255
- query["Endpoint"] = request.endpoint;
3256
- }
3257
- if (!$dara.isNull(request.fromJson)) {
3258
- query["FromJson"] = request.fromJson;
3259
- }
3260
- if (!$dara.isNull(request.headers)) {
3261
- query["Headers"] = request.headers;
3262
- }
3263
- if (!$dara.isNull(request.name)) {
3264
- query["Name"] = request.name;
4076
+ if (!$dara.isNull(request.databaseUuid)) {
4077
+ query["DatabaseUuid"] = request.databaseUuid;
3265
4078
  }
3266
- if (!$dara.isNull(request.needUidInHeader)) {
3267
- query["NeedUidInHeader"] = request.needUidInHeader;
4079
+ if (!$dara.isNull(request.maxResults)) {
4080
+ query["MaxResults"] = request.maxResults;
3268
4081
  }
3269
- if (!$dara.isNull(request.netType)) {
3270
- query["NetType"] = request.netType;
4082
+ if (!$dara.isNull(request.nextToken)) {
4083
+ query["NextToken"] = request.nextToken;
3271
4084
  }
3272
- if (!$dara.isNull(request.transportType)) {
3273
- query["TransportType"] = request.transportType;
4085
+ if (!$dara.isNull(request.searchKey)) {
4086
+ query["SearchKey"] = request.searchKey;
3274
4087
  }
3275
- if (!$dara.isNull(request.vpcId)) {
3276
- query["VpcId"] = request.vpcId;
4088
+ if (!$dara.isNull(request.sortFieldName)) {
4089
+ query["SortFieldName"] = request.sortFieldName;
3277
4090
  }
3278
- if (!$dara.isNull(request.vswId)) {
3279
- query["VswId"] = request.vswId;
4091
+ if (!$dara.isNull(request.sortOrder)) {
4092
+ query["SortOrder"] = request.sortOrder;
3280
4093
  }
3281
- if (!$dara.isNull(request.workspaceId)) {
3282
- query["WorkspaceId"] = request.workspaceId;
4094
+ if (!$dara.isNull(request.tableType)) {
4095
+ query["TableType"] = request.tableType;
3283
4096
  }
3284
4097
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
3285
4098
  query: openapi_core_2.OpenApiUtil.query(query),
3286
4099
  });
3287
4100
  let params = new openapi_core_2.$OpenApiUtil.Params({
3288
- action: "InstallDataAgentMcp",
4101
+ action: "ListAgenticTableBaseInfo",
3289
4102
  version: "2025-04-14",
3290
4103
  protocol: "HTTPS",
3291
4104
  pathname: "/",
@@ -3295,20 +4108,17 @@ class Client extends openapi_core_1.default {
3295
4108
  reqBodyType: "formData",
3296
4109
  bodyType: "json",
3297
4110
  });
3298
- return $dara.cast(await this.callApi(params, req, runtime), new $_model.InstallDataAgentMcpResponse({}));
4111
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAgenticTableBaseInfoResponse({}));
3299
4112
  }
3300
4113
  /**
3301
- * Imports an MCP into DataAgent.
3302
- *
3303
- * @remarks
3304
- * Imports an MCP into DataAgent.
4114
+ * Queries the basic information and engine metadata of tables in a specified database by using paging. You can filter the results by keyword and table type, and specify the sorting method.
3305
4115
  *
3306
- * @param request - InstallDataAgentMcpRequest
3307
- * @returns InstallDataAgentMcpResponse
4116
+ * @param request - ListAgenticTableBaseInfoRequest
4117
+ * @returns ListAgenticTableBaseInfoResponse
3308
4118
  */
3309
- async installDataAgentMcp(request) {
4119
+ async listAgenticTableBaseInfo(request) {
3310
4120
  let runtime = new $dara.RuntimeOptions({});
3311
- return await this.installDataAgentMcpWithOptions(request, runtime);
4121
+ return await this.listAgenticTableBaseInfoWithOptions(request, runtime);
3312
4122
  }
3313
4123
  /**
3314
4124
  * Lists the available Airflow versions.
@@ -3407,7 +4217,7 @@ class Client extends openapi_core_1.default {
3407
4217
  return await this.listAirflowsWithOptions(request, runtime);
3408
4218
  }
3409
4219
  /**
3410
- * Lists all custom agents in personal spaces and workspaces.
4220
+ * Lists all custom agents in personal and team workspaces.
3411
4221
  *
3412
4222
  * @param request - ListCustomAgentRequest
3413
4223
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3416,6 +4226,9 @@ class Client extends openapi_core_1.default {
3416
4226
  async listCustomAgentWithOptions(request, runtime) {
3417
4227
  request.validate();
3418
4228
  let query = {};
4229
+ if (!$dara.isNull(request.agentType)) {
4230
+ query["AgentType"] = request.agentType;
4231
+ }
3419
4232
  if (!$dara.isNull(request.pageNumber)) {
3420
4233
  query["PageNumber"] = request.pageNumber;
3421
4234
  }
@@ -3451,7 +4264,7 @@ class Client extends openapi_core_1.default {
3451
4264
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListCustomAgentResponse({}));
3452
4265
  }
3453
4266
  /**
3454
- * Lists all custom agents in personal spaces and workspaces.
4267
+ * Lists all custom agents in personal and team workspaces.
3455
4268
  *
3456
4269
  * @param request - ListCustomAgentRequest
3457
4270
  * @returns ListCustomAgentResponse
@@ -3518,10 +4331,10 @@ class Client extends openapi_core_1.default {
3518
4331
  return await this.listCustomAgentMonitorSessionsWithOptions(request, runtime);
3519
4332
  }
3520
4333
  /**
3521
- * Lists accuracy test configuration items that meet the specified conditions.
4334
+ * Lists the accuracy test configuration items that meet the specified conditions.
3522
4335
  *
3523
4336
  * @remarks
3524
- * Lists accuracy test configuration items that meet the specified conditions.
4337
+ * Lists the accuracy test configuration items that meet the specified conditions.
3525
4338
  *
3526
4339
  * @param request - ListDataAgentAccuracyTestInstancesRequest
3527
4340
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3565,10 +4378,10 @@ class Client extends openapi_core_1.default {
3565
4378
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDataAgentAccuracyTestInstancesResponse({}));
3566
4379
  }
3567
4380
  /**
3568
- * Lists accuracy test configuration items that meet the specified conditions.
4381
+ * Lists the accuracy test configuration items that meet the specified conditions.
3569
4382
  *
3570
4383
  * @remarks
3571
- * Lists accuracy test configuration items that meet the specified conditions.
4384
+ * Lists the accuracy test configuration items that meet the specified conditions.
3572
4385
  *
3573
4386
  * @param request - ListDataAgentAccuracyTestInstancesRequest
3574
4387
  * @returns ListDataAgentAccuracyTestInstancesResponse
@@ -4025,7 +4838,7 @@ class Client extends openapi_core_1.default {
4025
4838
  return await this.listDataAgentThemeWithOptions(request, runtime);
4026
4839
  }
4027
4840
  /**
4028
- * Retrieves a paginated list of collaborative workspaces under the primary account.
4841
+ * Queries a paginated list of collaborative workspaces under the Alibaba Cloud account.
4029
4842
  *
4030
4843
  * @param request - ListDataAgentWorkspaceRequest
4031
4844
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4081,7 +4894,7 @@ class Client extends openapi_core_1.default {
4081
4894
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDataAgentWorkspaceResponse({}));
4082
4895
  }
4083
4896
  /**
4084
- * Retrieves a paginated list of collaborative workspaces under the primary account.
4897
+ * Queries a paginated list of collaborative workspaces under the Alibaba Cloud account.
4085
4898
  *
4086
4899
  * @param request - ListDataAgentWorkspaceRequest
4087
4900
  * @returns ListDataAgentWorkspaceResponse
@@ -4673,7 +5486,7 @@ class Client extends openapi_core_1.default {
4673
5486
  return await this.listWorkspaceCodeWithOptions(request, runtime);
4674
5487
  }
4675
5488
  /**
4676
- * Modifies a custom agent in a personal or shared workspace.
5489
+ * Modifies a custom agent in a personal or team workspace.
4677
5490
  *
4678
5491
  * @param tmpReq - ModifyCustomAgentRequest
4679
5492
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4695,6 +5508,9 @@ class Client extends openapi_core_1.default {
4695
5508
  if (!$dara.isNull(tmpReq.knowledgeSemanticConfigList)) {
4696
5509
  request.knowledgeSemanticConfigListShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.knowledgeSemanticConfigList, "KnowledgeSemanticConfigList", "json");
4697
5510
  }
5511
+ if (!$dara.isNull(tmpReq.recommendQuestionList)) {
5512
+ request.recommendQuestionListShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.recommendQuestionList, "RecommendQuestionList", "json");
5513
+ }
4698
5514
  if (!$dara.isNull(tmpReq.scheduleTaskConfig)) {
4699
5515
  request.scheduleTaskConfigShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.scheduleTaskConfig, "ScheduleTaskConfig", "json");
4700
5516
  }
@@ -4735,6 +5551,9 @@ class Client extends openapi_core_1.default {
4735
5551
  if (!$dara.isNull(request.name)) {
4736
5552
  query["Name"] = request.name;
4737
5553
  }
5554
+ if (!$dara.isNull(request.recommendQuestionListShrink)) {
5555
+ query["RecommendQuestionList"] = request.recommendQuestionListShrink;
5556
+ }
4738
5557
  if (!$dara.isNull(request.relatedSessionId)) {
4739
5558
  query["RelatedSessionId"] = request.relatedSessionId;
4740
5559
  }
@@ -4773,7 +5592,7 @@ class Client extends openapi_core_1.default {
4773
5592
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyCustomAgentResponse({}));
4774
5593
  }
4775
5594
  /**
4776
- * Modifies a custom agent in a personal or shared workspace.
5595
+ * Modifies a custom agent in a personal or team workspace.
4777
5596
  *
4778
5597
  * @param request - ModifyCustomAgentRequest
4779
5598
  * @returns ModifyCustomAgentResponse
@@ -5216,6 +6035,114 @@ class Client extends openapi_core_1.default {
5216
6035
  let runtime = new $dara.RuntimeOptions({});
5217
6036
  return await this.saveWorkspaceCodeWithOptions(request, runtime);
5218
6037
  }
6038
+ /**
6039
+ * Searches for catalogs in Agentic DMS by keyword, catalog type, database type, or a list of catalog UUIDs, and returns paginated results.
6040
+ *
6041
+ * @param request - SearchAgenticCatalogRequest
6042
+ * @param runtime - runtime options for this request RuntimeOptions
6043
+ * @returns SearchAgenticCatalogResponse
6044
+ */
6045
+ async searchAgenticCatalogWithOptions(request, runtime) {
6046
+ request.validate();
6047
+ let query = {};
6048
+ if (!$dara.isNull(request.catalogType)) {
6049
+ query["CatalogType"] = request.catalogType;
6050
+ }
6051
+ if (!$dara.isNull(request.catalogUuids)) {
6052
+ query["CatalogUuids"] = request.catalogUuids;
6053
+ }
6054
+ if (!$dara.isNull(request.dbType)) {
6055
+ query["DbType"] = request.dbType;
6056
+ }
6057
+ if (!$dara.isNull(request.maxResults)) {
6058
+ query["MaxResults"] = request.maxResults;
6059
+ }
6060
+ if (!$dara.isNull(request.nextToken)) {
6061
+ query["NextToken"] = request.nextToken;
6062
+ }
6063
+ if (!$dara.isNull(request.searchKey)) {
6064
+ query["SearchKey"] = request.searchKey;
6065
+ }
6066
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
6067
+ query: openapi_core_2.OpenApiUtil.query(query),
6068
+ });
6069
+ let params = new openapi_core_2.$OpenApiUtil.Params({
6070
+ action: "SearchAgenticCatalog",
6071
+ version: "2025-04-14",
6072
+ protocol: "HTTPS",
6073
+ pathname: "/",
6074
+ method: "POST",
6075
+ authType: "AK",
6076
+ style: "RPC",
6077
+ reqBodyType: "formData",
6078
+ bodyType: "json",
6079
+ });
6080
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.SearchAgenticCatalogResponse({}));
6081
+ }
6082
+ /**
6083
+ * Searches for catalogs in Agentic DMS by keyword, catalog type, database type, or a list of catalog UUIDs, and returns paginated results.
6084
+ *
6085
+ * @param request - SearchAgenticCatalogRequest
6086
+ * @returns SearchAgenticCatalogResponse
6087
+ */
6088
+ async searchAgenticCatalog(request) {
6089
+ let runtime = new $dara.RuntimeOptions({});
6090
+ return await this.searchAgenticCatalogWithOptions(request, runtime);
6091
+ }
6092
+ /**
6093
+ * Searches for databases across catalogs by keyword. You can filter the results by catalog, database type, and environment type. The results are paginated.
6094
+ *
6095
+ * @param request - SearchAgenticDatabaseRequest
6096
+ * @param runtime - runtime options for this request RuntimeOptions
6097
+ * @returns SearchAgenticDatabaseResponse
6098
+ */
6099
+ async searchAgenticDatabaseWithOptions(request, runtime) {
6100
+ request.validate();
6101
+ let query = {};
6102
+ if (!$dara.isNull(request.catalogUuid)) {
6103
+ query["CatalogUuid"] = request.catalogUuid;
6104
+ }
6105
+ if (!$dara.isNull(request.dbType)) {
6106
+ query["DbType"] = request.dbType;
6107
+ }
6108
+ if (!$dara.isNull(request.envType)) {
6109
+ query["EnvType"] = request.envType;
6110
+ }
6111
+ if (!$dara.isNull(request.maxResults)) {
6112
+ query["MaxResults"] = request.maxResults;
6113
+ }
6114
+ if (!$dara.isNull(request.nextToken)) {
6115
+ query["NextToken"] = request.nextToken;
6116
+ }
6117
+ if (!$dara.isNull(request.searchKey)) {
6118
+ query["SearchKey"] = request.searchKey;
6119
+ }
6120
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
6121
+ query: openapi_core_2.OpenApiUtil.query(query),
6122
+ });
6123
+ let params = new openapi_core_2.$OpenApiUtil.Params({
6124
+ action: "SearchAgenticDatabase",
6125
+ version: "2025-04-14",
6126
+ protocol: "HTTPS",
6127
+ pathname: "/",
6128
+ method: "POST",
6129
+ authType: "AK",
6130
+ style: "RPC",
6131
+ reqBodyType: "formData",
6132
+ bodyType: "json",
6133
+ });
6134
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.SearchAgenticDatabaseResponse({}));
6135
+ }
6136
+ /**
6137
+ * Searches for databases across catalogs by keyword. You can filter the results by catalog, database type, and environment type. The results are paginated.
6138
+ *
6139
+ * @param request - SearchAgenticDatabaseRequest
6140
+ * @returns SearchAgenticDatabaseResponse
6141
+ */
6142
+ async searchAgenticDatabase(request) {
6143
+ let runtime = new $dara.RuntimeOptions({});
6144
+ return await this.searchAgenticDatabaseWithOptions(request, runtime);
6145
+ }
5219
6146
  /**
5220
6147
  * Sends a user message to a specified session or cancels a session.
5221
6148
  *
@@ -5586,7 +6513,220 @@ class Client extends openapi_core_1.default {
5586
6513
  return await this.stopDataAgentAccuracyTestTaskWithOptions(request, runtime);
5587
6514
  }
5588
6515
  /**
5589
- * Updates the properties of an Airflow instance.
6516
+ * Tests whether the network and authentication information of a data source are available.
6517
+ *
6518
+ * @remarks
6519
+ * Validates only the connection information passed in the current request without creating or modifying a data source. When testing an existing data source, you can pass DataSourceUuid to reuse the saved password.
6520
+ *
6521
+ * @param request - TestAgenticDataSourceConnectionRequest
6522
+ * @param runtime - runtime options for this request RuntimeOptions
6523
+ * @returns TestAgenticDataSourceConnectionResponse
6524
+ */
6525
+ async testAgenticDataSourceConnectionWithOptions(request, runtime) {
6526
+ request.validate();
6527
+ let query = {};
6528
+ if (!$dara.isNull(request.alias)) {
6529
+ query["Alias"] = request.alias;
6530
+ }
6531
+ if (!$dara.isNull(request.authAccount)) {
6532
+ query["AuthAccount"] = request.authAccount;
6533
+ }
6534
+ if (!$dara.isNull(request.authPassword)) {
6535
+ query["AuthPassword"] = request.authPassword;
6536
+ }
6537
+ if (!$dara.isNull(request.authType)) {
6538
+ query["AuthType"] = request.authType;
6539
+ }
6540
+ if (!$dara.isNull(request.catalogName)) {
6541
+ query["CatalogName"] = request.catalogName;
6542
+ }
6543
+ if (!$dara.isNull(request.dataSourceUuid)) {
6544
+ query["DataSourceUuid"] = request.dataSourceUuid;
6545
+ }
6546
+ if (!$dara.isNull(request.dbType)) {
6547
+ query["DbType"] = request.dbType;
6548
+ }
6549
+ if (!$dara.isNull(request.envType)) {
6550
+ query["EnvType"] = request.envType;
6551
+ }
6552
+ if (!$dara.isNull(request.host)) {
6553
+ query["Host"] = request.host;
6554
+ }
6555
+ if (!$dara.isNull(request.instanceResourceId)) {
6556
+ query["InstanceResourceId"] = request.instanceResourceId;
6557
+ }
6558
+ if (!$dara.isNull(request.instanceSource)) {
6559
+ query["InstanceSource"] = request.instanceSource;
6560
+ }
6561
+ if (!$dara.isNull(request.kmsSecret)) {
6562
+ query["KmsSecret"] = request.kmsSecret;
6563
+ }
6564
+ if (!$dara.isNull(request.port)) {
6565
+ query["Port"] = request.port;
6566
+ }
6567
+ if (!$dara.isNull(request.roleArn)) {
6568
+ query["RoleArn"] = request.roleArn;
6569
+ }
6570
+ if (!$dara.isNull(request.schema)) {
6571
+ query["Schema"] = request.schema;
6572
+ }
6573
+ if (!$dara.isNull(request.snowflakeRole)) {
6574
+ query["SnowflakeRole"] = request.snowflakeRole;
6575
+ }
6576
+ if (!$dara.isNull(request.snowflakeWarehouse)) {
6577
+ query["SnowflakeWarehouse"] = request.snowflakeWarehouse;
6578
+ }
6579
+ if (!$dara.isNull(request.syncAlias)) {
6580
+ query["SyncAlias"] = request.syncAlias;
6581
+ }
6582
+ if (!$dara.isNull(request.useSsl)) {
6583
+ query["UseSsl"] = request.useSsl;
6584
+ }
6585
+ if (!$dara.isNull(request.vSwitchId)) {
6586
+ query["VSwitchId"] = request.vSwitchId;
6587
+ }
6588
+ if (!$dara.isNull(request.vpcId)) {
6589
+ query["VpcId"] = request.vpcId;
6590
+ }
6591
+ if (!$dara.isNull(request.zoneId)) {
6592
+ query["ZoneId"] = request.zoneId;
6593
+ }
6594
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
6595
+ query: openapi_core_2.OpenApiUtil.query(query),
6596
+ });
6597
+ let params = new openapi_core_2.$OpenApiUtil.Params({
6598
+ action: "TestAgenticDataSourceConnection",
6599
+ version: "2025-04-14",
6600
+ protocol: "HTTPS",
6601
+ pathname: "/",
6602
+ method: "POST",
6603
+ authType: "AK",
6604
+ style: "RPC",
6605
+ reqBodyType: "formData",
6606
+ bodyType: "json",
6607
+ });
6608
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.TestAgenticDataSourceConnectionResponse({}));
6609
+ }
6610
+ /**
6611
+ * Tests whether the network and authentication information of a data source are available.
6612
+ *
6613
+ * @remarks
6614
+ * Validates only the connection information passed in the current request without creating or modifying a data source. When testing an existing data source, you can pass DataSourceUuid to reuse the saved password.
6615
+ *
6616
+ * @param request - TestAgenticDataSourceConnectionRequest
6617
+ * @returns TestAgenticDataSourceConnectionResponse
6618
+ */
6619
+ async testAgenticDataSourceConnection(request) {
6620
+ let runtime = new $dara.RuntimeOptions({});
6621
+ return await this.testAgenticDataSourceConnectionWithOptions(request, runtime);
6622
+ }
6623
+ /**
6624
+ * Updates the connection, authentication, or display information of an existing data source.
6625
+ *
6626
+ * @remarks
6627
+ * Only the parameters passed in the current request are modified. Unpassed parameters remain unchanged. The data source type cannot be modified.
6628
+ *
6629
+ * @param request - UpdateAgenticDataSourceRequest
6630
+ * @param runtime - runtime options for this request RuntimeOptions
6631
+ * @returns UpdateAgenticDataSourceResponse
6632
+ */
6633
+ async updateAgenticDataSourceWithOptions(request, runtime) {
6634
+ request.validate();
6635
+ let query = {};
6636
+ if (!$dara.isNull(request.alias)) {
6637
+ query["Alias"] = request.alias;
6638
+ }
6639
+ if (!$dara.isNull(request.authAccount)) {
6640
+ query["AuthAccount"] = request.authAccount;
6641
+ }
6642
+ if (!$dara.isNull(request.authPassword)) {
6643
+ query["AuthPassword"] = request.authPassword;
6644
+ }
6645
+ if (!$dara.isNull(request.authType)) {
6646
+ query["AuthType"] = request.authType;
6647
+ }
6648
+ if (!$dara.isNull(request.catalogName)) {
6649
+ query["CatalogName"] = request.catalogName;
6650
+ }
6651
+ if (!$dara.isNull(request.createMode)) {
6652
+ query["CreateMode"] = request.createMode;
6653
+ }
6654
+ if (!$dara.isNull(request.dataSourceUuid)) {
6655
+ query["DataSourceUuid"] = request.dataSourceUuid;
6656
+ }
6657
+ if (!$dara.isNull(request.dbType)) {
6658
+ query["DbType"] = request.dbType;
6659
+ }
6660
+ if (!$dara.isNull(request.envType)) {
6661
+ query["EnvType"] = request.envType;
6662
+ }
6663
+ if (!$dara.isNull(request.host)) {
6664
+ query["Host"] = request.host;
6665
+ }
6666
+ if (!$dara.isNull(request.instanceResourceId)) {
6667
+ query["InstanceResourceId"] = request.instanceResourceId;
6668
+ }
6669
+ if (!$dara.isNull(request.kmsSecret)) {
6670
+ query["KmsSecret"] = request.kmsSecret;
6671
+ }
6672
+ if (!$dara.isNull(request.policyId)) {
6673
+ query["PolicyId"] = request.policyId;
6674
+ }
6675
+ if (!$dara.isNull(request.port)) {
6676
+ query["Port"] = request.port;
6677
+ }
6678
+ if (!$dara.isNull(request.roleArn)) {
6679
+ query["RoleArn"] = request.roleArn;
6680
+ }
6681
+ if (!$dara.isNull(request.schema)) {
6682
+ query["Schema"] = request.schema;
6683
+ }
6684
+ if (!$dara.isNull(request.snowflakeRole)) {
6685
+ query["SnowflakeRole"] = request.snowflakeRole;
6686
+ }
6687
+ if (!$dara.isNull(request.snowflakeWarehouse)) {
6688
+ query["SnowflakeWarehouse"] = request.snowflakeWarehouse;
6689
+ }
6690
+ if (!$dara.isNull(request.syncAlias)) {
6691
+ query["SyncAlias"] = request.syncAlias;
6692
+ }
6693
+ if (!$dara.isNull(request.useSsl)) {
6694
+ query["UseSsl"] = request.useSsl;
6695
+ }
6696
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
6697
+ query: openapi_core_2.OpenApiUtil.query(query),
6698
+ });
6699
+ let params = new openapi_core_2.$OpenApiUtil.Params({
6700
+ action: "UpdateAgenticDataSource",
6701
+ version: "2025-04-14",
6702
+ protocol: "HTTPS",
6703
+ pathname: "/",
6704
+ method: "POST",
6705
+ authType: "AK",
6706
+ style: "RPC",
6707
+ reqBodyType: "formData",
6708
+ bodyType: "json",
6709
+ });
6710
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateAgenticDataSourceResponse({}));
6711
+ }
6712
+ /**
6713
+ * Updates the connection, authentication, or display information of an existing data source.
6714
+ *
6715
+ * @remarks
6716
+ * Only the parameters passed in the current request are modified. Unpassed parameters remain unchanged. The data source type cannot be modified.
6717
+ *
6718
+ * @param request - UpdateAgenticDataSourceRequest
6719
+ * @returns UpdateAgenticDataSourceResponse
6720
+ */
6721
+ async updateAgenticDataSource(request) {
6722
+ let runtime = new $dara.RuntimeOptions({});
6723
+ return await this.updateAgenticDataSourceWithOptions(request, runtime);
6724
+ }
6725
+ /**
6726
+ * Updates the information of an Airflow instance.
6727
+ *
6728
+ * @remarks
6729
+ * Creates an Airflow instance in a workspace.
5590
6730
  *
5591
6731
  * @param tmpReq - UpdateAirflowRequest
5592
6732
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5659,7 +6799,10 @@ class Client extends openapi_core_1.default {
5659
6799
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateAirflowResponse({}));
5660
6800
  }
5661
6801
  /**
5662
- * Updates the properties of an Airflow instance.
6802
+ * Updates the information of an Airflow instance.
6803
+ *
6804
+ * @remarks
6805
+ * Creates an Airflow instance in a workspace.
5663
6806
  *
5664
6807
  * @param request - UpdateAirflowRequest
5665
6808
  * @returns UpdateAirflowResponse
@@ -5672,7 +6815,7 @@ class Client extends openapi_core_1.default {
5672
6815
  * Updates the content of an accuracy test item.
5673
6816
  *
5674
6817
  * @remarks
5675
- * Updates the content of an accuracy test item.
6818
+ * Updates the accuracy test item.
5676
6819
  *
5677
6820
  * @param request - UpdateDataAgentAccuracyTestRequest
5678
6821
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5743,7 +6886,7 @@ class Client extends openapi_core_1.default {
5743
6886
  * Updates the content of an accuracy test item.
5744
6887
  *
5745
6888
  * @remarks
5746
- * Updates the content of an accuracy test item.
6889
+ * Updates the accuracy test item.
5747
6890
  *
5748
6891
  * @param request - UpdateDataAgentAccuracyTestRequest
5749
6892
  * @returns UpdateDataAgentAccuracyTestResponse