@alicloud/agentcore20260804 1.2.2 → 2.0.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 +416 -50
  2. package/dist/client.js +867 -95
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/ConvertMcpToFreeEditRequest.d.ts +21 -0
  5. package/dist/models/ConvertMcpToFreeEditRequest.js +58 -0
  6. package/dist/models/ConvertMcpToFreeEditRequest.js.map +1 -0
  7. package/dist/models/ConvertMcpToFreeEditResponse.d.ts +19 -0
  8. package/dist/models/ConvertMcpToFreeEditResponse.js +69 -0
  9. package/dist/models/ConvertMcpToFreeEditResponse.js.map +1 -0
  10. package/dist/models/ConvertMcpToFreeEditResponseBody.d.ts +966 -0
  11. package/dist/models/ConvertMcpToFreeEditResponseBody.js +688 -0
  12. package/dist/models/ConvertMcpToFreeEditResponseBody.js.map +1 -0
  13. package/dist/models/CreateAgentSpecResponseBody.d.ts +1 -1
  14. package/dist/models/CreateCredentialRequest.d.ts +51 -2
  15. package/dist/models/CreateCredentialRequest.js +31 -1
  16. package/dist/models/CreateCredentialRequest.js.map +1 -1
  17. package/dist/models/CreateCredentialResponseBody.d.ts +52 -3
  18. package/dist/models/CreateCredentialResponseBody.js +31 -1
  19. package/dist/models/CreateCredentialResponseBody.js.map +1 -1
  20. package/dist/models/CreateExternalAgentRequest.d.ts +6 -4
  21. package/dist/models/CreateExternalAgentRequest.js.map +1 -1
  22. package/dist/models/CreateExternalAgentResponseBody.d.ts +20 -91
  23. package/dist/models/CreateExternalAgentResponseBody.js +1 -37
  24. package/dist/models/CreateExternalAgentResponseBody.js.map +1 -1
  25. package/dist/models/CreateExternalAgentShrinkRequest.d.ts +1 -1
  26. package/dist/models/CreateManagedAgentRequest.d.ts +145 -12
  27. package/dist/models/CreateManagedAgentRequest.js +113 -1
  28. package/dist/models/CreateManagedAgentRequest.js.map +1 -1
  29. package/dist/models/CreateManagedAgentResponseBody.d.ts +158 -18
  30. package/dist/models/CreateManagedAgentResponseBody.js +118 -1
  31. package/dist/models/CreateManagedAgentResponseBody.js.map +1 -1
  32. package/dist/models/CreateMcpRequest.d.ts +782 -9
  33. package/dist/models/CreateMcpRequest.js +546 -1
  34. package/dist/models/CreateMcpRequest.js.map +1 -1
  35. package/dist/models/CreateMcpResponseBody.d.ts +906 -31
  36. package/dist/models/CreateMcpResponseBody.js +608 -1
  37. package/dist/models/CreateMcpResponseBody.js.map +1 -1
  38. package/dist/models/CreateMcpShrinkRequest.d.ts +1 -1
  39. package/dist/models/CreateTeamRequest.d.ts +4 -10
  40. package/dist/models/CreateTeamRequest.js.map +1 -1
  41. package/dist/models/CreateTeamResponseBody.d.ts +7 -21
  42. package/dist/models/CreateTeamResponseBody.js.map +1 -1
  43. package/dist/models/CreateWorkspaceRequest.d.ts +2 -1
  44. package/dist/models/CreateWorkspaceRequest.js +2 -0
  45. package/dist/models/CreateWorkspaceRequest.js.map +1 -1
  46. package/dist/models/CreateWorkspaceResponseBody.d.ts +110 -2
  47. package/dist/models/CreateWorkspaceResponseBody.js +43 -1
  48. package/dist/models/CreateWorkspaceResponseBody.js.map +1 -1
  49. package/dist/models/DeleteAgentSpecVersionResponseBody.d.ts +1 -1
  50. package/dist/models/DeleteCredentialResponseBody.d.ts +1 -1
  51. package/dist/models/DeleteExternalAgentResponseBody.d.ts +4 -12
  52. package/dist/models/DeleteExternalAgentResponseBody.js +0 -2
  53. package/dist/models/DeleteExternalAgentResponseBody.js.map +1 -1
  54. package/dist/models/DeleteIdentityProviderResponseBody.d.ts +9 -5
  55. package/dist/models/DeleteIdentityProviderResponseBody.js.map +1 -1
  56. package/dist/models/DeleteManagedAgentResponseBody.d.ts +4 -12
  57. package/dist/models/DeleteManagedAgentResponseBody.js +0 -2
  58. package/dist/models/DeleteManagedAgentResponseBody.js.map +1 -1
  59. package/dist/models/DisableConnectorRequest.d.ts +13 -0
  60. package/dist/models/DisableConnectorRequest.js +54 -0
  61. package/dist/models/DisableConnectorRequest.js.map +1 -0
  62. package/dist/models/DisableConnectorResponse.d.ts +19 -0
  63. package/dist/models/DisableConnectorResponse.js +69 -0
  64. package/dist/models/DisableConnectorResponse.js.map +1 -0
  65. package/dist/models/DisableConnectorResponseBody.d.ts +110 -0
  66. package/dist/models/DisableConnectorResponseBody.js +98 -0
  67. package/dist/models/DisableConnectorResponseBody.js.map +1 -0
  68. package/dist/models/EnableConnectorRequest.d.ts +42 -0
  69. package/dist/models/EnableConnectorRequest.js +80 -0
  70. package/dist/models/EnableConnectorRequest.js.map +1 -0
  71. package/dist/models/EnableConnectorResponse.d.ts +19 -0
  72. package/dist/models/EnableConnectorResponse.js +69 -0
  73. package/dist/models/EnableConnectorResponse.js.map +1 -0
  74. package/dist/models/EnableConnectorResponseBody.d.ts +110 -0
  75. package/dist/models/EnableConnectorResponseBody.js +98 -0
  76. package/dist/models/EnableConnectorResponseBody.js.map +1 -0
  77. package/dist/models/EnableConnectorShrinkRequest.d.ts +20 -0
  78. package/dist/models/EnableConnectorShrinkRequest.js +58 -0
  79. package/dist/models/EnableConnectorShrinkRequest.js.map +1 -0
  80. package/dist/models/GetAgentImchannelResponseBody.d.ts +11 -11
  81. package/dist/models/GetAgentSpecImportFileUrlResponseBody.d.ts +1 -1
  82. package/dist/models/GetAgentSpecVersionResponseBody.d.ts +2 -2
  83. package/dist/models/GetCredentialResponseBody.d.ts +56 -7
  84. package/dist/models/GetCredentialResponseBody.js +31 -1
  85. package/dist/models/GetCredentialResponseBody.js.map +1 -1
  86. package/dist/models/GetExternalAgentBootstrapOptionsResponseBody.d.ts +3 -3
  87. package/dist/models/GetExternalAgentResponseBody.d.ts +27 -98
  88. package/dist/models/GetExternalAgentResponseBody.js +1 -37
  89. package/dist/models/GetExternalAgentResponseBody.js.map +1 -1
  90. package/dist/models/GetIdentityProviderResponseBody.d.ts +4 -4
  91. package/dist/models/GetManagedAgentResponseBody.d.ts +152 -12
  92. package/dist/models/GetManagedAgentResponseBody.js +118 -1
  93. package/dist/models/GetManagedAgentResponseBody.js.map +1 -1
  94. package/dist/models/GetMcpMarketItemRequest.d.ts +13 -0
  95. package/dist/models/GetMcpMarketItemRequest.js +54 -0
  96. package/dist/models/GetMcpMarketItemRequest.js.map +1 -0
  97. package/dist/models/GetMcpMarketItemResponse.d.ts +19 -0
  98. package/dist/models/GetMcpMarketItemResponse.js +69 -0
  99. package/dist/models/GetMcpMarketItemResponse.js.map +1 -0
  100. package/dist/models/GetMcpMarketItemResponseBody.d.ts +178 -0
  101. package/dist/models/GetMcpMarketItemResponseBody.js +119 -0
  102. package/dist/models/GetMcpMarketItemResponseBody.js.map +1 -0
  103. package/dist/models/GetMcpResponseBody.d.ts +922 -35
  104. package/dist/models/GetMcpResponseBody.js +612 -1
  105. package/dist/models/GetMcpResponseBody.js.map +1 -1
  106. package/dist/models/GetTeamResponseBody.d.ts +12 -20
  107. package/dist/models/GetTeamResponseBody.js +0 -2
  108. package/dist/models/GetTeamResponseBody.js.map +1 -1
  109. package/dist/models/GetWorkspaceResponseBody.d.ts +33 -5
  110. package/dist/models/GetWorkspaceResponseBody.js +8 -0
  111. package/dist/models/GetWorkspaceResponseBody.js.map +1 -1
  112. package/dist/models/InstallMcpMarketItemRequest.d.ts +941 -0
  113. package/dist/models/InstallMcpMarketItemRequest.js +693 -0
  114. package/dist/models/InstallMcpMarketItemRequest.js.map +1 -0
  115. package/dist/models/InstallMcpMarketItemResponse.d.ts +19 -0
  116. package/dist/models/InstallMcpMarketItemResponse.js +69 -0
  117. package/dist/models/InstallMcpMarketItemResponse.js.map +1 -0
  118. package/dist/models/InstallMcpMarketItemResponseBody.d.ts +969 -0
  119. package/dist/models/InstallMcpMarketItemResponseBody.js +688 -0
  120. package/dist/models/InstallMcpMarketItemResponseBody.js.map +1 -0
  121. package/dist/models/InstallMcpMarketItemShrinkRequest.d.ts +36 -0
  122. package/dist/models/InstallMcpMarketItemShrinkRequest.js +62 -0
  123. package/dist/models/InstallMcpMarketItemShrinkRequest.js.map +1 -0
  124. package/dist/models/ListConnectorModelsRequest.d.ts +37 -0
  125. package/dist/models/ListConnectorModelsRequest.js +62 -0
  126. package/dist/models/ListConnectorModelsRequest.js.map +1 -0
  127. package/dist/models/ListConnectorModelsResponse.d.ts +19 -0
  128. package/dist/models/ListConnectorModelsResponse.js +69 -0
  129. package/dist/models/ListConnectorModelsResponse.js.map +1 -0
  130. package/dist/models/ListConnectorModelsResponseBody.d.ts +144 -0
  131. package/dist/models/ListConnectorModelsResponseBody.js +106 -0
  132. package/dist/models/ListConnectorModelsResponseBody.js.map +1 -0
  133. package/dist/models/ListConnectorsRequest.d.ts +29 -0
  134. package/dist/models/ListConnectorsRequest.js +60 -0
  135. package/dist/models/ListConnectorsRequest.js.map +1 -0
  136. package/dist/models/ListConnectorsResponse.d.ts +19 -0
  137. package/dist/models/ListConnectorsResponse.js +69 -0
  138. package/dist/models/ListConnectorsResponse.js.map +1 -0
  139. package/dist/models/ListConnectorsResponseBody.d.ts +134 -0
  140. package/dist/models/ListConnectorsResponseBody.js +104 -0
  141. package/dist/models/ListConnectorsResponseBody.js.map +1 -0
  142. package/dist/models/ListCredentialsRequest.d.ts +2 -2
  143. package/dist/models/ListCredentialsResponseBody.d.ts +53 -4
  144. package/dist/models/ListCredentialsResponseBody.js +31 -1
  145. package/dist/models/ListCredentialsResponseBody.js.map +1 -1
  146. package/dist/models/ListExternalAgentsResponseBody.d.ts +7 -15
  147. package/dist/models/ListExternalAgentsResponseBody.js +0 -2
  148. package/dist/models/ListExternalAgentsResponseBody.js.map +1 -1
  149. package/dist/models/ListManagedAgentsResponseBody.d.ts +65 -9
  150. package/dist/models/ListManagedAgentsResponseBody.js +51 -3
  151. package/dist/models/ListManagedAgentsResponseBody.js.map +1 -1
  152. package/dist/models/ListMcpMarketItemsRequest.d.ts +53 -0
  153. package/dist/models/ListMcpMarketItemsRequest.js +66 -0
  154. package/dist/models/ListMcpMarketItemsRequest.js.map +1 -0
  155. package/dist/models/ListMcpMarketItemsResponse.d.ts +19 -0
  156. package/dist/models/ListMcpMarketItemsResponse.js +69 -0
  157. package/dist/models/ListMcpMarketItemsResponse.js.map +1 -0
  158. package/dist/models/ListMcpMarketItemsResponseBody.d.ts +202 -0
  159. package/dist/models/ListMcpMarketItemsResponseBody.js +125 -0
  160. package/dist/models/ListMcpMarketItemsResponseBody.js.map +1 -0
  161. package/dist/models/ListMcpsRequest.d.ts +15 -2
  162. package/dist/models/ListMcpsRequest.js +4 -0
  163. package/dist/models/ListMcpsRequest.js.map +1 -1
  164. package/dist/models/ListMcpsResponseBody.d.ts +864 -31
  165. package/dist/models/ListMcpsResponseBody.js +580 -1
  166. package/dist/models/ListMcpsResponseBody.js.map +1 -1
  167. package/dist/models/ListSandboxSessionsRequest.d.ts +26 -0
  168. package/dist/models/ListSandboxSessionsRequest.js +60 -0
  169. package/dist/models/ListSandboxSessionsRequest.js.map +1 -0
  170. package/dist/models/ListSandboxSessionsResponse.d.ts +19 -0
  171. package/dist/models/ListSandboxSessionsResponse.js +69 -0
  172. package/dist/models/ListSandboxSessionsResponse.js.map +1 -0
  173. package/dist/models/ListSandboxSessionsResponseBody.d.ts +41 -0
  174. package/dist/models/ListSandboxSessionsResponseBody.js +100 -0
  175. package/dist/models/ListSandboxSessionsResponseBody.js.map +1 -0
  176. package/dist/models/ListSandboxesRequest.d.ts +42 -0
  177. package/dist/models/ListSandboxesRequest.js +64 -0
  178. package/dist/models/ListSandboxesRequest.js.map +1 -0
  179. package/dist/models/ListSandboxesResponse.d.ts +19 -0
  180. package/dist/models/ListSandboxesResponse.js +69 -0
  181. package/dist/models/ListSandboxesResponse.js.map +1 -0
  182. package/dist/models/ListSandboxesResponseBody.d.ts +41 -0
  183. package/dist/models/ListSandboxesResponseBody.js +108 -0
  184. package/dist/models/ListSandboxesResponseBody.js.map +1 -0
  185. package/dist/models/ListWorkspacesResponseBody.d.ts +4 -4
  186. package/dist/models/UpdateAgentImchannelCredentialRequest.d.ts +1 -1
  187. package/dist/models/UpdateAgentImchannelCredentialResponseBody.d.ts +2 -2
  188. package/dist/models/UpdateAgentImchannelCredentialShrinkRequest.d.ts +1 -1
  189. package/dist/models/UpdateAgentImchannelRequest.d.ts +4 -4
  190. package/dist/models/UpdateAgentImchannelResponseBody.d.ts +4 -4
  191. package/dist/models/UpdateAgentImchannelShrinkRequest.d.ts +1 -1
  192. package/dist/models/UpdateConnectorRequest.d.ts +42 -0
  193. package/dist/models/UpdateConnectorRequest.js +80 -0
  194. package/dist/models/UpdateConnectorRequest.js.map +1 -0
  195. package/dist/models/UpdateConnectorResponse.d.ts +19 -0
  196. package/dist/models/UpdateConnectorResponse.js +69 -0
  197. package/dist/models/UpdateConnectorResponse.js.map +1 -0
  198. package/dist/models/UpdateConnectorResponseBody.d.ts +110 -0
  199. package/dist/models/UpdateConnectorResponseBody.js +98 -0
  200. package/dist/models/UpdateConnectorResponseBody.js.map +1 -0
  201. package/dist/models/UpdateConnectorShrinkRequest.d.ts +20 -0
  202. package/dist/models/UpdateConnectorShrinkRequest.js +58 -0
  203. package/dist/models/UpdateConnectorShrinkRequest.js.map +1 -0
  204. package/dist/models/UpdateCredentialRequest.d.ts +50 -1
  205. package/dist/models/UpdateCredentialRequest.js +31 -1
  206. package/dist/models/UpdateCredentialRequest.js.map +1 -1
  207. package/dist/models/UpdateCredentialResponseBody.d.ts +53 -4
  208. package/dist/models/UpdateCredentialResponseBody.js +31 -1
  209. package/dist/models/UpdateCredentialResponseBody.js.map +1 -1
  210. package/dist/models/UpdateExternalAgentRequest.d.ts +6 -6
  211. package/dist/models/UpdateExternalAgentRequest.js.map +1 -1
  212. package/dist/models/UpdateExternalAgentResponseBody.d.ts +18 -91
  213. package/dist/models/UpdateExternalAgentResponseBody.js +1 -37
  214. package/dist/models/UpdateExternalAgentResponseBody.js.map +1 -1
  215. package/dist/models/UpdateExternalAgentShrinkRequest.d.ts +1 -1
  216. package/dist/models/UpdateIdentityProviderRequest.d.ts +3 -3
  217. package/dist/models/UpdateIdentityProviderResponseBody.d.ts +2 -2
  218. package/dist/models/UpdateManagedAgentRequest.d.ts +146 -13
  219. package/dist/models/UpdateManagedAgentRequest.js +113 -1
  220. package/dist/models/UpdateManagedAgentRequest.js.map +1 -1
  221. package/dist/models/UpdateManagedAgentResponseBody.d.ts +160 -20
  222. package/dist/models/UpdateManagedAgentResponseBody.js +118 -1
  223. package/dist/models/UpdateManagedAgentResponseBody.js.map +1 -1
  224. package/dist/models/UpdateManagedAgentShrinkRequest.d.ts +1 -1
  225. package/dist/models/UpdateMcpRequest.d.ts +775 -8
  226. package/dist/models/UpdateMcpRequest.js +544 -1
  227. package/dist/models/UpdateMcpRequest.js.map +1 -1
  228. package/dist/models/UpdateMcpResponseBody.d.ts +1 -1
  229. package/dist/models/UpdateMcpShrinkRequest.d.ts +1 -1
  230. package/dist/models/UpdateMcpTemplateConfigRequest.d.ts +908 -0
  231. package/dist/models/UpdateMcpTemplateConfigRequest.js +685 -0
  232. package/dist/models/UpdateMcpTemplateConfigRequest.js.map +1 -0
  233. package/dist/models/UpdateMcpTemplateConfigResponse.d.ts +19 -0
  234. package/dist/models/UpdateMcpTemplateConfigResponse.js +69 -0
  235. package/dist/models/UpdateMcpTemplateConfigResponse.js.map +1 -0
  236. package/dist/models/UpdateMcpTemplateConfigResponseBody.d.ts +971 -0
  237. package/dist/models/UpdateMcpTemplateConfigResponseBody.js +688 -0
  238. package/dist/models/UpdateMcpTemplateConfigResponseBody.js.map +1 -0
  239. package/dist/models/UpdateMcpTemplateConfigShrinkRequest.d.ts +36 -0
  240. package/dist/models/UpdateMcpTemplateConfigShrinkRequest.js +62 -0
  241. package/dist/models/UpdateMcpTemplateConfigShrinkRequest.js.map +1 -0
  242. package/dist/models/UpdateModelRequest.d.ts +75 -4
  243. package/dist/models/UpdateModelRequest.js +43 -1
  244. package/dist/models/UpdateModelRequest.js.map +1 -1
  245. package/dist/models/UpdateModelResponseBody.d.ts +8 -8
  246. package/dist/models/UpdateModelShrinkRequest.d.ts +2 -2
  247. package/dist/models/UpdateTeamRequest.d.ts +12 -6
  248. package/dist/models/UpdateTeamRequest.js.map +1 -1
  249. package/dist/models/UpdateTeamResponseBody.d.ts +23 -9
  250. package/dist/models/UpdateTeamResponseBody.js.map +1 -1
  251. package/dist/models/UpdateWorkspaceRequest.d.ts +4 -4
  252. package/dist/models/UpdateWorkspaceResponseBody.d.ts +18 -3
  253. package/dist/models/UpdateWorkspaceResponseBody.js +6 -0
  254. package/dist/models/UpdateWorkspaceResponseBody.js.map +1 -1
  255. package/dist/models/UploadAgentSpecViaOssRequest.d.ts +2 -2
  256. package/dist/models/UploadAgentSpecViaOssResponseBody.d.ts +1 -1
  257. package/dist/models/VerifyConnectorRequest.d.ts +42 -0
  258. package/dist/models/VerifyConnectorRequest.js +80 -0
  259. package/dist/models/VerifyConnectorRequest.js.map +1 -0
  260. package/dist/models/VerifyConnectorResponse.d.ts +19 -0
  261. package/dist/models/VerifyConnectorResponse.js +69 -0
  262. package/dist/models/VerifyConnectorResponse.js.map +1 -0
  263. package/dist/models/VerifyConnectorResponseBody.d.ts +86 -0
  264. package/dist/models/VerifyConnectorResponseBody.js +95 -0
  265. package/dist/models/VerifyConnectorResponseBody.js.map +1 -0
  266. package/dist/models/VerifyConnectorShrinkRequest.d.ts +20 -0
  267. package/dist/models/VerifyConnectorShrinkRequest.js +58 -0
  268. package/dist/models/VerifyConnectorShrinkRequest.js.map +1 -0
  269. package/dist/models/VerifyWorkspaceOssMountRamAuthorizationRequest.d.ts +18 -0
  270. package/dist/models/VerifyWorkspaceOssMountRamAuthorizationRequest.js +58 -0
  271. package/dist/models/VerifyWorkspaceOssMountRamAuthorizationRequest.js.map +1 -0
  272. package/dist/models/VerifyWorkspaceOssMountRamAuthorizationResponse.d.ts +19 -0
  273. package/dist/models/VerifyWorkspaceOssMountRamAuthorizationResponse.js +69 -0
  274. package/dist/models/VerifyWorkspaceOssMountRamAuthorizationResponse.js.map +1 -0
  275. package/dist/models/VerifyWorkspaceOssMountRamAuthorizationResponseBody.d.ts +60 -0
  276. package/dist/models/VerifyWorkspaceOssMountRamAuthorizationResponseBody.js +90 -0
  277. package/dist/models/VerifyWorkspaceOssMountRamAuthorizationResponseBody.js.map +1 -0
  278. package/dist/models/model.d.ts +288 -3
  279. package/dist/models/model.js +755 -179
  280. package/dist/models/model.js.map +1 -1
  281. package/package.json +1 -1
  282. package/src/client.ts +924 -90
  283. package/src/models/ConvertMcpToFreeEditRequest.ts +34 -0
  284. package/src/models/ConvertMcpToFreeEditResponse.ts +40 -0
  285. package/src/models/ConvertMcpToFreeEditResponseBody.ts +1425 -0
  286. package/src/models/CreateAgentSpecResponseBody.ts +1 -1
  287. package/src/models/CreateCredentialRequest.ts +72 -2
  288. package/src/models/CreateCredentialResponseBody.ts +73 -3
  289. package/src/models/CreateExternalAgentRequest.ts +6 -4
  290. package/src/models/CreateExternalAgentResponseBody.ts +20 -118
  291. package/src/models/CreateExternalAgentShrinkRequest.ts +1 -1
  292. package/src/models/CreateManagedAgentRequest.ts +221 -12
  293. package/src/models/CreateManagedAgentResponseBody.ts +237 -18
  294. package/src/models/CreateMcpRequest.ts +1193 -41
  295. package/src/models/CreateMcpResponseBody.ts +1353 -55
  296. package/src/models/CreateMcpShrinkRequest.ts +1 -1
  297. package/src/models/CreateTeamRequest.ts +4 -10
  298. package/src/models/CreateTeamResponseBody.ts +7 -21
  299. package/src/models/CreateWorkspaceRequest.ts +4 -1
  300. package/src/models/CreateWorkspaceResponseBody.ts +143 -2
  301. package/src/models/DeleteAgentSpecVersionResponseBody.ts +1 -1
  302. package/src/models/DeleteCredentialResponseBody.ts +1 -1
  303. package/src/models/DeleteExternalAgentResponseBody.ts +4 -14
  304. package/src/models/DeleteIdentityProviderResponseBody.ts +9 -5
  305. package/src/models/DeleteManagedAgentResponseBody.ts +4 -14
  306. package/src/models/DisableConnectorRequest.ts +24 -0
  307. package/src/models/DisableConnectorResponse.ts +40 -0
  308. package/src/models/DisableConnectorResponseBody.ts +154 -0
  309. package/src/models/EnableConnectorRequest.ts +68 -0
  310. package/src/models/EnableConnectorResponse.ts +40 -0
  311. package/src/models/EnableConnectorResponseBody.ts +154 -0
  312. package/src/models/EnableConnectorShrinkRequest.ts +33 -0
  313. package/src/models/GetAgentImchannelResponseBody.ts +11 -11
  314. package/src/models/GetAgentSpecImportFileUrlResponseBody.ts +1 -1
  315. package/src/models/GetAgentSpecVersionResponseBody.ts +2 -2
  316. package/src/models/GetCredentialResponseBody.ts +77 -7
  317. package/src/models/GetExternalAgentBootstrapOptionsResponseBody.ts +3 -3
  318. package/src/models/GetExternalAgentResponseBody.ts +27 -125
  319. package/src/models/GetIdentityProviderResponseBody.ts +4 -4
  320. package/src/models/GetManagedAgentResponseBody.ts +231 -12
  321. package/src/models/GetMcpMarketItemRequest.ts +24 -0
  322. package/src/models/GetMcpMarketItemResponse.ts +40 -0
  323. package/src/models/GetMcpMarketItemResponseBody.ts +241 -0
  324. package/src/models/GetMcpResponseBody.ts +1373 -59
  325. package/src/models/GetTeamResponseBody.ts +12 -22
  326. package/src/models/GetWorkspaceResponseBody.ts +41 -5
  327. package/src/models/InstallMcpMarketItemRequest.ts +1396 -0
  328. package/src/models/InstallMcpMarketItemResponse.ts +40 -0
  329. package/src/models/InstallMcpMarketItemResponseBody.ts +1428 -0
  330. package/src/models/InstallMcpMarketItemShrinkRequest.ts +53 -0
  331. package/src/models/ListConnectorModelsRequest.ts +54 -0
  332. package/src/models/ListConnectorModelsResponse.ts +40 -0
  333. package/src/models/ListConnectorModelsResponseBody.ts +196 -0
  334. package/src/models/ListConnectorsRequest.ts +44 -0
  335. package/src/models/ListConnectorsResponse.ts +40 -0
  336. package/src/models/ListConnectorsResponseBody.ts +184 -0
  337. package/src/models/ListCredentialsRequest.ts +2 -2
  338. package/src/models/ListCredentialsResponseBody.ts +74 -4
  339. package/src/models/ListExternalAgentsResponseBody.ts +7 -17
  340. package/src/models/ListManagedAgentsResponseBody.ts +97 -11
  341. package/src/models/ListMcpMarketItemsRequest.ts +74 -0
  342. package/src/models/ListMcpMarketItemsResponse.ts +40 -0
  343. package/src/models/ListMcpMarketItemsResponseBody.ts +271 -0
  344. package/src/models/ListMcpsRequest.ts +19 -2
  345. package/src/models/ListMcpsResponseBody.ts +1292 -55
  346. package/src/models/ListSandboxSessionsRequest.ts +41 -0
  347. package/src/models/ListSandboxSessionsResponse.ts +40 -0
  348. package/src/models/ListSandboxSessionsResponseBody.ts +87 -0
  349. package/src/models/ListSandboxesRequest.ts +61 -0
  350. package/src/models/ListSandboxesResponse.ts +40 -0
  351. package/src/models/ListSandboxesResponseBody.ts +95 -0
  352. package/src/models/ListWorkspacesResponseBody.ts +4 -4
  353. package/src/models/UpdateAgentImchannelCredentialRequest.ts +1 -1
  354. package/src/models/UpdateAgentImchannelCredentialResponseBody.ts +2 -2
  355. package/src/models/UpdateAgentImchannelCredentialShrinkRequest.ts +1 -1
  356. package/src/models/UpdateAgentImchannelRequest.ts +4 -4
  357. package/src/models/UpdateAgentImchannelResponseBody.ts +4 -4
  358. package/src/models/UpdateAgentImchannelShrinkRequest.ts +1 -1
  359. package/src/models/UpdateConnectorRequest.ts +68 -0
  360. package/src/models/UpdateConnectorResponse.ts +40 -0
  361. package/src/models/UpdateConnectorResponseBody.ts +154 -0
  362. package/src/models/UpdateConnectorShrinkRequest.ts +33 -0
  363. package/src/models/UpdateCredentialRequest.ts +71 -1
  364. package/src/models/UpdateCredentialResponseBody.ts +74 -4
  365. package/src/models/UpdateExternalAgentRequest.ts +6 -6
  366. package/src/models/UpdateExternalAgentResponseBody.ts +18 -118
  367. package/src/models/UpdateExternalAgentShrinkRequest.ts +1 -1
  368. package/src/models/UpdateIdentityProviderRequest.ts +3 -3
  369. package/src/models/UpdateIdentityProviderResponseBody.ts +2 -2
  370. package/src/models/UpdateManagedAgentRequest.ts +222 -13
  371. package/src/models/UpdateManagedAgentResponseBody.ts +239 -20
  372. package/src/models/UpdateManagedAgentShrinkRequest.ts +1 -1
  373. package/src/models/UpdateMcpRequest.ts +1166 -22
  374. package/src/models/UpdateMcpResponseBody.ts +1 -1
  375. package/src/models/UpdateMcpShrinkRequest.ts +1 -1
  376. package/src/models/UpdateMcpTemplateConfigRequest.ts +1355 -0
  377. package/src/models/UpdateMcpTemplateConfigResponse.ts +40 -0
  378. package/src/models/UpdateMcpTemplateConfigResponseBody.ts +1430 -0
  379. package/src/models/UpdateMcpTemplateConfigShrinkRequest.ts +53 -0
  380. package/src/models/UpdateModelRequest.ts +108 -4
  381. package/src/models/UpdateModelResponseBody.ts +8 -8
  382. package/src/models/UpdateModelShrinkRequest.ts +2 -2
  383. package/src/models/UpdateTeamRequest.ts +12 -6
  384. package/src/models/UpdateTeamResponseBody.ts +23 -9
  385. package/src/models/UpdateWorkspaceRequest.ts +4 -4
  386. package/src/models/UpdateWorkspaceResponseBody.ts +24 -3
  387. package/src/models/UploadAgentSpecViaOssRequest.ts +2 -2
  388. package/src/models/UploadAgentSpecViaOssResponseBody.ts +1 -1
  389. package/src/models/VerifyConnectorRequest.ts +68 -0
  390. package/src/models/VerifyConnectorResponse.ts +40 -0
  391. package/src/models/VerifyConnectorResponseBody.ts +127 -0
  392. package/src/models/VerifyConnectorShrinkRequest.ts +33 -0
  393. package/src/models/VerifyWorkspaceOssMountRamAuthorizationRequest.ts +31 -0
  394. package/src/models/VerifyWorkspaceOssMountRamAuthorizationResponse.ts +40 -0
  395. package/src/models/VerifyWorkspaceOssMountRamAuthorizationResponseBody.ts +96 -0
  396. package/src/models/model.ts +288 -3
package/src/client.ts CHANGED
@@ -145,6 +145,57 @@ export default class Client extends OpenApi {
145
145
  return await this.batchUploadSkillsViaOssWithOptions(workspaceId, request, headers, runtime);
146
146
  }
147
147
 
148
+ /**
149
+ * Converts an MCP to free editing.
150
+ *
151
+ * @remarks
152
+ * Disables template usage constraints. After the conversion, the MCP retains its source and tags but no longer appears on the usage page.
153
+ *
154
+ * @param request - ConvertMcpToFreeEditRequest
155
+ * @param headers - map
156
+ * @param runtime - runtime options for this request RuntimeOptions
157
+ * @returns ConvertMcpToFreeEditResponse
158
+ */
159
+ async convertMcpToFreeEditWithOptions(workspaceId: string, mcpServerId: string, request: $_model.ConvertMcpToFreeEditRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.ConvertMcpToFreeEditResponse> {
160
+ request.validate();
161
+ let query : {[key: string ]: any} = { };
162
+ if (!$dara.isNull(request.clientToken)) {
163
+ query["clientToken"] = request.clientToken;
164
+ }
165
+
166
+ let req = new $OpenApiUtil.OpenApiRequest({
167
+ headers: headers,
168
+ query: OpenApiUtil.query(query),
169
+ });
170
+ let params = new $OpenApiUtil.Params({
171
+ action: "ConvertMcpToFreeEdit",
172
+ version: "2026-08-04",
173
+ protocol: "HTTPS",
174
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/mcp-servers/${$dara.URL.percentEncode(mcpServerId)}/convert-to-free-edit`,
175
+ method: "POST",
176
+ authType: "AK",
177
+ style: "ROA",
178
+ reqBodyType: "json",
179
+ bodyType: "json",
180
+ });
181
+ return $dara.cast<$_model.ConvertMcpToFreeEditResponse>(await this.callApi(params, req, runtime), new $_model.ConvertMcpToFreeEditResponse({}));
182
+ }
183
+
184
+ /**
185
+ * Converts an MCP to free editing.
186
+ *
187
+ * @remarks
188
+ * Disables template usage constraints. After the conversion, the MCP retains its source and tags but no longer appears on the usage page.
189
+ *
190
+ * @param request - ConvertMcpToFreeEditRequest
191
+ * @returns ConvertMcpToFreeEditResponse
192
+ */
193
+ async convertMcpToFreeEdit(workspaceId: string, mcpServerId: string, request: $_model.ConvertMcpToFreeEditRequest): Promise<$_model.ConvertMcpToFreeEditResponse> {
194
+ let runtime = new $dara.RuntimeOptions({ });
195
+ let headers : {[key: string ]: string} = { };
196
+ return await this.convertMcpToFreeEditWithOptions(workspaceId, mcpServerId, request, headers, runtime);
197
+ }
198
+
148
199
  /**
149
200
  * Creates an IM channel for a specified agent and binds a publicly accessible ServiceEndpoint.
150
201
  *
@@ -327,7 +378,10 @@ export default class Client extends OpenApi {
327
378
  }
328
379
 
329
380
  /**
330
- * Creates a credential in a specified workspace for agent authentication when accessing external services. Currently, only the apiKey type is supported. The credential content is passed in as a JSON string through credentialMetadata and can only be queried in masked form after being written.
381
+ * Creates a credential in a specified workspace for authentication when an agent accesses external services. Currently, only the apiKey type is supported. The credential content is passed in as a JSON string through credentialMetadata and can only be queried in masked form after being written.
382
+ *
383
+ * @remarks
384
+ * Creates a credential in a workspace for authentication of services such as Connector.
331
385
  *
332
386
  * @param tmpReq - CreateCredentialRequest
333
387
  * @param headers - map
@@ -372,7 +426,10 @@ export default class Client extends OpenApi {
372
426
  }
373
427
 
374
428
  /**
375
- * Creates a credential in a specified workspace for agent authentication when accessing external services. Currently, only the apiKey type is supported. The credential content is passed in as a JSON string through credentialMetadata and can only be queried in masked form after being written.
429
+ * Creates a credential in a specified workspace for authentication when an agent accesses external services. Currently, only the apiKey type is supported. The credential content is passed in as a JSON string through credentialMetadata and can only be queried in masked form after being written.
430
+ *
431
+ * @remarks
432
+ * Creates a credential in a workspace for authentication of services such as Connector.
376
433
  *
377
434
  * @param request - CreateCredentialRequest
378
435
  * @returns CreateCredentialResponse
@@ -1217,7 +1274,10 @@ export default class Client extends OpenApi {
1217
1274
  }
1218
1275
 
1219
1276
  /**
1220
- * Deletes a credential from the specified workspace and removes the ciphertext hosted in the credential service. After deletion, agents that are bound to this credential can no longer retrieve the credential content.
1277
+ * Deletes a credential from a specified workspace and removes the ciphertext hosted in the credential service. After deletion, agents that are bound to this credential can no longer retrieve the credential content.
1278
+ *
1279
+ * @remarks
1280
+ * Deletes an access credential from a specified workspace. A credential cannot be deleted while it is still bound to an MCP service.
1221
1281
  *
1222
1282
  * @param request - DeleteCredentialRequest
1223
1283
  * @param headers - map
@@ -1250,7 +1310,10 @@ export default class Client extends OpenApi {
1250
1310
  }
1251
1311
 
1252
1312
  /**
1253
- * Deletes a credential from the specified workspace and removes the ciphertext hosted in the credential service. After deletion, agents that are bound to this credential can no longer retrieve the credential content.
1313
+ * Deletes a credential from a specified workspace and removes the ciphertext hosted in the credential service. After deletion, agents that are bound to this credential can no longer retrieve the credential content.
1314
+ *
1315
+ * @remarks
1316
+ * Deletes an access credential from a specified workspace. A credential cannot be deleted while it is still bound to an MCP service.
1254
1317
  *
1255
1318
  * @param request - DeleteCredentialRequest
1256
1319
  * @returns DeleteCredentialResponse
@@ -1307,7 +1370,7 @@ export default class Client extends OpenApi {
1307
1370
  }
1308
1371
 
1309
1372
  /**
1310
- * Unbinds the external identity provider from a specified workspace and cleans up users synchronized by that identity provider. The unbinding is an asynchronous operation. After the API returns, you can track the progress by querying the status through GetIdentityProvider.
1373
+ * Unbinds the external identity provider from a specified workspace and cleans up users synchronized by that identity provider. The unbinding is an asynchronous operation. After the API returns, you can call GetIdentityProvider to query the status and track the progress.
1311
1374
  *
1312
1375
  * @param request - DeleteIdentityProviderRequest
1313
1376
  * @param headers - map
@@ -1340,7 +1403,7 @@ export default class Client extends OpenApi {
1340
1403
  }
1341
1404
 
1342
1405
  /**
1343
- * Unbinds the external identity provider from a specified workspace and cleans up users synchronized by that identity provider. The unbinding is an asynchronous operation. After the API returns, you can track the progress by querying the status through GetIdentityProvider.
1406
+ * Unbinds the external identity provider from a specified workspace and cleans up users synchronized by that identity provider. The unbinding is an asynchronous operation. After the API returns, you can call GetIdentityProvider to query the status and track the progress.
1344
1407
  *
1345
1408
  * @param request - DeleteIdentityProviderRequest
1346
1409
  * @returns DeleteIdentityProviderResponse
@@ -1394,7 +1457,7 @@ export default class Client extends OpenApi {
1394
1457
  * Deletes a specified MCP service. The deletion is an asynchronous process. After the deletion is complete, the MCP service is no longer returned.
1395
1458
  *
1396
1459
  * @remarks
1397
- * ## Request description
1460
+ * ## Operation description
1398
1461
  * Deletes a specified MCP service. The deletion is an asynchronous process. After the deletion is complete, the MCP service is no longer returned.
1399
1462
  *
1400
1463
  * @param request - DeleteMcpRequest
@@ -1425,7 +1488,7 @@ export default class Client extends OpenApi {
1425
1488
  * Deletes a specified MCP service. The deletion is an asynchronous process. After the deletion is complete, the MCP service is no longer returned.
1426
1489
  *
1427
1490
  * @remarks
1428
- * ## Request description
1491
+ * ## Operation description
1429
1492
  * Deletes a specified MCP service. The deletion is an asynchronous process. After the deletion is complete, the MCP service is no longer returned.
1430
1493
  *
1431
1494
  * @param request - DeleteMcpRequest
@@ -1622,7 +1685,7 @@ export default class Client extends OpenApi {
1622
1685
  }
1623
1686
 
1624
1687
  /**
1625
- * Deletes a team in the specified workspace. Deleting a team does not delete the users or agents in the team. It only dissociates the member relationships.
1688
+ * Deletes a team from a specified workspace. Deleting a team does not delete the users or agents within it. Only the membership associations are removed.
1626
1689
  *
1627
1690
  * @param request - DeleteTeamRequest
1628
1691
  * @param headers - map
@@ -1655,7 +1718,7 @@ export default class Client extends OpenApi {
1655
1718
  }
1656
1719
 
1657
1720
  /**
1658
- * Deletes a team in the specified workspace. Deleting a team does not delete the users or agents in the team. It only dissociates the member relationships.
1721
+ * Deletes a team from a specified workspace. Deleting a team does not delete the users or agents within it. Only the membership associations are removed.
1659
1722
  *
1660
1723
  * @param request - DeleteTeamRequest
1661
1724
  * @returns DeleteTeamResponse
@@ -1756,6 +1819,51 @@ export default class Client extends OpenApi {
1756
1819
  return await this.deleteWorkspaceWithOptions(workspaceId, request, headers, runtime);
1757
1820
  }
1758
1821
 
1822
+ /**
1823
+ * Disables a Connector.
1824
+ *
1825
+ * @remarks
1826
+ * Disables a specified Connector in a workspace.
1827
+ *
1828
+ * @param request - DisableConnectorRequest
1829
+ * @param headers - map
1830
+ * @param runtime - runtime options for this request RuntimeOptions
1831
+ * @returns DisableConnectorResponse
1832
+ */
1833
+ async disableConnectorWithOptions(workspaceId: string, connectorName: string, request: $_model.DisableConnectorRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.DisableConnectorResponse> {
1834
+ request.validate();
1835
+ let req = new $OpenApiUtil.OpenApiRequest({
1836
+ headers: headers,
1837
+ });
1838
+ let params = new $OpenApiUtil.Params({
1839
+ action: "DisableConnector",
1840
+ version: "2026-08-04",
1841
+ protocol: "HTTPS",
1842
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/connectors/${$dara.URL.percentEncode(connectorName)}/actions/disable`,
1843
+ method: "POST",
1844
+ authType: "AK",
1845
+ style: "ROA",
1846
+ reqBodyType: "json",
1847
+ bodyType: "json",
1848
+ });
1849
+ return $dara.cast<$_model.DisableConnectorResponse>(await this.callApi(params, req, runtime), new $_model.DisableConnectorResponse({}));
1850
+ }
1851
+
1852
+ /**
1853
+ * Disables a Connector.
1854
+ *
1855
+ * @remarks
1856
+ * Disables a specified Connector in a workspace.
1857
+ *
1858
+ * @param request - DisableConnectorRequest
1859
+ * @returns DisableConnectorResponse
1860
+ */
1861
+ async disableConnector(workspaceId: string, connectorName: string, request: $_model.DisableConnectorRequest): Promise<$_model.DisableConnectorResponse> {
1862
+ let runtime = new $dara.RuntimeOptions({ });
1863
+ let headers : {[key: string ]: string} = { };
1864
+ return await this.disableConnectorWithOptions(workspaceId, connectorName, request, headers, runtime);
1865
+ }
1866
+
1759
1867
  /**
1760
1868
  * Retrieves a pre-signed OSS download URL for a specified AgentSpec ZIP package.
1761
1869
  *
@@ -1856,6 +1964,63 @@ export default class Client extends OpenApi {
1856
1964
  return await this.downloadSkillVersionViaOssWithOptions(workspaceId, skillName, skillVersion, request, headers, runtime);
1857
1965
  }
1858
1966
 
1967
+ /**
1968
+ * Enables a Connector.
1969
+ *
1970
+ * @remarks
1971
+ * Enables a Connector in a specified workspace. Credential verification is required before enabling.
1972
+ *
1973
+ * @param tmpReq - EnableConnectorRequest
1974
+ * @param headers - map
1975
+ * @param runtime - runtime options for this request RuntimeOptions
1976
+ * @returns EnableConnectorResponse
1977
+ */
1978
+ async enableConnectorWithOptions(workspaceId: string, connectorName: string, tmpReq: $_model.EnableConnectorRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.EnableConnectorResponse> {
1979
+ tmpReq.validate();
1980
+ let request = new $_model.EnableConnectorShrinkRequest({ });
1981
+ OpenApiUtil.convert(tmpReq, request);
1982
+ if (!$dara.isNull(tmpReq.body)) {
1983
+ request.bodyShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.body, "body", "json");
1984
+ }
1985
+
1986
+ let body : {[key: string ]: any} = { };
1987
+ if (!$dara.isNull(request.bodyShrink)) {
1988
+ body["body"] = request.bodyShrink;
1989
+ }
1990
+
1991
+ let req = new $OpenApiUtil.OpenApiRequest({
1992
+ headers: headers,
1993
+ body: OpenApiUtil.parseToMap(body),
1994
+ });
1995
+ let params = new $OpenApiUtil.Params({
1996
+ action: "EnableConnector",
1997
+ version: "2026-08-04",
1998
+ protocol: "HTTPS",
1999
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/connectors/${$dara.URL.percentEncode(connectorName)}/actions/enable`,
2000
+ method: "POST",
2001
+ authType: "AK",
2002
+ style: "ROA",
2003
+ reqBodyType: "formData",
2004
+ bodyType: "json",
2005
+ });
2006
+ return $dara.cast<$_model.EnableConnectorResponse>(await this.callApi(params, req, runtime), new $_model.EnableConnectorResponse({}));
2007
+ }
2008
+
2009
+ /**
2010
+ * Enables a Connector.
2011
+ *
2012
+ * @remarks
2013
+ * Enables a Connector in a specified workspace. Credential verification is required before enabling.
2014
+ *
2015
+ * @param request - EnableConnectorRequest
2016
+ * @returns EnableConnectorResponse
2017
+ */
2018
+ async enableConnector(workspaceId: string, connectorName: string, request: $_model.EnableConnectorRequest): Promise<$_model.EnableConnectorResponse> {
2019
+ let runtime = new $dara.RuntimeOptions({ });
2020
+ let headers : {[key: string ]: string} = { };
2021
+ return await this.enableConnectorWithOptions(workspaceId, connectorName, request, headers, runtime);
2022
+ }
2023
+
1859
2024
  /**
1860
2025
  * Skips the regular review process and forcibly publishes the specified Skill version.
1861
2026
  *
@@ -2008,11 +2173,11 @@ export default class Client extends OpenApi {
2008
2173
  }
2009
2174
 
2010
2175
  /**
2011
- * Retrieves the OSS pre-signed upload URL and object name required for importing an AgentSpec ZIP package. After the upload is complete, call the AgentSpec OSS upload operation to complete the import.
2176
+ * Retrieves the OSS pre-signed upload URL and object name required to import an AgentSpec ZIP package. After the upload is complete, call the AgentSpec OSS upload operation to complete the import.
2012
2177
  *
2013
2178
  * @remarks
2014
2179
  * ## Operation description
2015
- * Retrieves the OSS pre-signed upload URL and object name required for importing an AgentSpec ZIP package. After the upload is complete, call the AgentSpec OSS upload operation to complete the import.
2180
+ * Retrieves the OSS pre-signed upload URL and object name required to import an AgentSpec ZIP package. After the upload is complete, call the AgentSpec OSS upload operation to complete the import.
2016
2181
  *
2017
2182
  * @param request - GetAgentSpecImportFileUrlRequest
2018
2183
  * @param headers - map
@@ -2045,11 +2210,11 @@ export default class Client extends OpenApi {
2045
2210
  }
2046
2211
 
2047
2212
  /**
2048
- * Retrieves the OSS pre-signed upload URL and object name required for importing an AgentSpec ZIP package. After the upload is complete, call the AgentSpec OSS upload operation to complete the import.
2213
+ * Retrieves the OSS pre-signed upload URL and object name required to import an AgentSpec ZIP package. After the upload is complete, call the AgentSpec OSS upload operation to complete the import.
2049
2214
  *
2050
2215
  * @remarks
2051
2216
  * ## Operation description
2052
- * Retrieves the OSS pre-signed upload URL and object name required for importing an AgentSpec ZIP package. After the upload is complete, call the AgentSpec OSS upload operation to complete the import.
2217
+ * Retrieves the OSS pre-signed upload URL and object name required to import an AgentSpec ZIP package. After the upload is complete, call the AgentSpec OSS upload operation to complete the import.
2053
2218
  *
2054
2219
  * @param request - GetAgentSpecImportFileUrlRequest
2055
2220
  * @returns GetAgentSpecImportFileUrlResponse
@@ -2155,7 +2320,10 @@ export default class Client extends OpenApi {
2155
2320
  }
2156
2321
 
2157
2322
  /**
2158
- * Queries the details of a specified credential and returns the list of agents that are bound to the credential. The credential content is returned in masked form.
2323
+ * Queries the details of a specified credential and returns the list of agents bound to the credential. The credential content is returned in masked form.
2324
+ *
2325
+ * @remarks
2326
+ * Queries the details of a single credential. Sensitive fields are not returned.
2159
2327
  *
2160
2328
  * @param request - GetCredentialRequest
2161
2329
  * @param headers - map
@@ -2182,7 +2350,10 @@ export default class Client extends OpenApi {
2182
2350
  }
2183
2351
 
2184
2352
  /**
2185
- * Queries the details of a specified credential and returns the list of agents that are bound to the credential. The credential content is returned in masked form.
2353
+ * Queries the details of a specified credential and returns the list of agents bound to the credential. The credential content is returned in masked form.
2354
+ *
2355
+ * @remarks
2356
+ * Queries the details of a single credential. Sensitive fields are not returned.
2186
2357
  *
2187
2358
  * @param request - GetCredentialRequest
2188
2359
  * @returns GetCredentialResponse
@@ -2362,11 +2533,11 @@ export default class Client extends OpenApi {
2362
2533
  }
2363
2534
 
2364
2535
  /**
2365
- * Queries the details of a specified MCP service, including its address, type, status, authentication configuration, and protocol.
2536
+ * Queries the details of a specified MCP service, including the address, type, status, authentication configuration, and protocol.
2366
2537
  *
2367
2538
  * @remarks
2368
2539
  * ## Operation description
2369
- * Queries the details of a specified MCP service, including its address, type, status, authentication configuration, and protocol.
2540
+ * Queries the details of a specified MCP service, including the address, type, status, authentication configuration, and protocol.
2370
2541
  *
2371
2542
  * @param request - GetMcpRequest
2372
2543
  * @param headers - map
@@ -2393,11 +2564,11 @@ export default class Client extends OpenApi {
2393
2564
  }
2394
2565
 
2395
2566
  /**
2396
- * Queries the details of a specified MCP service, including its address, type, status, authentication configuration, and protocol.
2567
+ * Queries the details of a specified MCP service, including the address, type, status, authentication configuration, and protocol.
2397
2568
  *
2398
2569
  * @remarks
2399
2570
  * ## Operation description
2400
- * Queries the details of a specified MCP service, including its address, type, status, authentication configuration, and protocol.
2571
+ * Queries the details of a specified MCP service, including the address, type, status, authentication configuration, and protocol.
2401
2572
  *
2402
2573
  * @param request - GetMcpRequest
2403
2574
  * @returns GetMcpResponse
@@ -2408,6 +2579,51 @@ export default class Client extends OpenApi {
2408
2579
  return await this.getMcpWithOptions(workspaceId, mcpServerId, request, headers, runtime);
2409
2580
  }
2410
2581
 
2582
+ /**
2583
+ * Queries the details of an MCP marketplace template.
2584
+ *
2585
+ * @remarks
2586
+ * Returns the current template version and installation form schema.
2587
+ *
2588
+ * @param request - GetMcpMarketItemRequest
2589
+ * @param headers - map
2590
+ * @param runtime - runtime options for this request RuntimeOptions
2591
+ * @returns GetMcpMarketItemResponse
2592
+ */
2593
+ async getMcpMarketItemWithOptions(workspaceId: string, marketItemId: string, request: $_model.GetMcpMarketItemRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.GetMcpMarketItemResponse> {
2594
+ request.validate();
2595
+ let req = new $OpenApiUtil.OpenApiRequest({
2596
+ headers: headers,
2597
+ });
2598
+ let params = new $OpenApiUtil.Params({
2599
+ action: "GetMcpMarketItem",
2600
+ version: "2026-08-04",
2601
+ protocol: "HTTPS",
2602
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/mcp-market/items/${$dara.URL.percentEncode(marketItemId)}`,
2603
+ method: "GET",
2604
+ authType: "AK",
2605
+ style: "ROA",
2606
+ reqBodyType: "json",
2607
+ bodyType: "json",
2608
+ });
2609
+ return $dara.cast<$_model.GetMcpMarketItemResponse>(await this.callApi(params, req, runtime), new $_model.GetMcpMarketItemResponse({}));
2610
+ }
2611
+
2612
+ /**
2613
+ * Queries the details of an MCP marketplace template.
2614
+ *
2615
+ * @remarks
2616
+ * Returns the current template version and installation form schema.
2617
+ *
2618
+ * @param request - GetMcpMarketItemRequest
2619
+ * @returns GetMcpMarketItemResponse
2620
+ */
2621
+ async getMcpMarketItem(workspaceId: string, marketItemId: string, request: $_model.GetMcpMarketItemRequest): Promise<$_model.GetMcpMarketItemResponse> {
2622
+ let runtime = new $dara.RuntimeOptions({ });
2623
+ let headers : {[key: string ]: string} = { };
2624
+ return await this.getMcpMarketItemWithOptions(workspaceId, marketItemId, request, headers, runtime);
2625
+ }
2626
+
2411
2627
  /**
2412
2628
  * Queries the detailed configuration and region of a model in a specified workspace.
2413
2629
  *
@@ -2724,7 +2940,7 @@ export default class Client extends OpenApi {
2724
2940
  }
2725
2941
 
2726
2942
  /**
2727
- * Queries the details of a specified team. The response includes the complete properties and team roles of each user member and agent member in the team.
2943
+ * Queries the details of a specified team. The response includes the complete attributes and team roles of each user member and agent member in the team.
2728
2944
  *
2729
2945
  * @param request - GetTeamRequest
2730
2946
  * @param headers - map
@@ -2751,7 +2967,7 @@ export default class Client extends OpenApi {
2751
2967
  }
2752
2968
 
2753
2969
  /**
2754
- * Queries the details of a specified team. The response includes the complete properties and team roles of each user member and agent member in the team.
2970
+ * Queries the details of a specified team. The response includes the complete attributes and team roles of each user member and agent member in the team.
2755
2971
  *
2756
2972
  * @param request - GetTeamRequest
2757
2973
  * @returns GetTeamResponse
@@ -2802,10 +3018,10 @@ export default class Client extends OpenApi {
2802
3018
  }
2803
3019
 
2804
3020
  /**
2805
- * Queries workspace details by workspace ID, including lifecycle status, CMS Workspace, AIRegistry Namespace, and current network policy.
3021
+ * Queries the details of a workspace by workspace ID, including the lifecycle status, CMS Workspace, AIRegistry Namespace, and current network policy.
2806
3022
  *
2807
3023
  * @remarks
2808
- * ## Operation description\\nQueries workspace details by workspace ID, including lifecycle status, CMS Workspace, AIRegistry Namespace, and current network policy.\\n.
3024
+ * ## Operation description\\nQueries the details of a workspace by workspace ID, including the lifecycle status, CMS Workspace, AIRegistry Namespace, and current network policy.\\n.
2809
3025
  *
2810
3026
  * @param request - GetWorkspaceRequest
2811
3027
  * @param headers - map
@@ -2832,10 +3048,10 @@ export default class Client extends OpenApi {
2832
3048
  }
2833
3049
 
2834
3050
  /**
2835
- * Queries workspace details by workspace ID, including lifecycle status, CMS Workspace, AIRegistry Namespace, and current network policy.
3051
+ * Queries the details of a workspace by workspace ID, including the lifecycle status, CMS Workspace, AIRegistry Namespace, and current network policy.
2836
3052
  *
2837
3053
  * @remarks
2838
- * ## Operation description\\nQueries workspace details by workspace ID, including lifecycle status, CMS Workspace, AIRegistry Namespace, and current network policy.\\n.
3054
+ * ## Operation description\\nQueries the details of a workspace by workspace ID, including the lifecycle status, CMS Workspace, AIRegistry Namespace, and current network policy.\\n.
2839
3055
  *
2840
3056
  * @param request - GetWorkspaceRequest
2841
3057
  * @returns GetWorkspaceResponse
@@ -2891,6 +3107,73 @@ export default class Client extends OpenApi {
2891
3107
  return await this.getWorkspacePluginWithOptions(workspaceId, pluginName, request, headers, runtime);
2892
3108
  }
2893
3109
 
3110
+ /**
3111
+ * Installs an MCP marketplace template.
3112
+ *
3113
+ * @remarks
3114
+ * Validates input based on the specified template version and creates an MCP in the workspace.
3115
+ *
3116
+ * @param tmpReq - InstallMcpMarketItemRequest
3117
+ * @param headers - map
3118
+ * @param runtime - runtime options for this request RuntimeOptions
3119
+ * @returns InstallMcpMarketItemResponse
3120
+ */
3121
+ async installMcpMarketItemWithOptions(workspaceId: string, marketItemId: string, tmpReq: $_model.InstallMcpMarketItemRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.InstallMcpMarketItemResponse> {
3122
+ tmpReq.validate();
3123
+ let request = new $_model.InstallMcpMarketItemShrinkRequest({ });
3124
+ OpenApiUtil.convert(tmpReq, request);
3125
+ if (!$dara.isNull(tmpReq.body)) {
3126
+ request.bodyShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.body, "body", "json");
3127
+ }
3128
+
3129
+ let query : {[key: string ]: any} = { };
3130
+ if (!$dara.isNull(request.clientToken)) {
3131
+ query["clientToken"] = request.clientToken;
3132
+ }
3133
+
3134
+ if (!$dara.isNull(request.templateVersion)) {
3135
+ query["templateVersion"] = request.templateVersion;
3136
+ }
3137
+
3138
+ let body : {[key: string ]: any} = { };
3139
+ if (!$dara.isNull(request.bodyShrink)) {
3140
+ body["body"] = request.bodyShrink;
3141
+ }
3142
+
3143
+ let req = new $OpenApiUtil.OpenApiRequest({
3144
+ headers: headers,
3145
+ query: OpenApiUtil.query(query),
3146
+ body: OpenApiUtil.parseToMap(body),
3147
+ });
3148
+ let params = new $OpenApiUtil.Params({
3149
+ action: "InstallMcpMarketItem",
3150
+ version: "2026-08-04",
3151
+ protocol: "HTTPS",
3152
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/mcp-market/items/${$dara.URL.percentEncode(marketItemId)}/install`,
3153
+ method: "POST",
3154
+ authType: "AK",
3155
+ style: "ROA",
3156
+ reqBodyType: "formData",
3157
+ bodyType: "json",
3158
+ });
3159
+ return $dara.cast<$_model.InstallMcpMarketItemResponse>(await this.callApi(params, req, runtime), new $_model.InstallMcpMarketItemResponse({}));
3160
+ }
3161
+
3162
+ /**
3163
+ * Installs an MCP marketplace template.
3164
+ *
3165
+ * @remarks
3166
+ * Validates input based on the specified template version and creates an MCP in the workspace.
3167
+ *
3168
+ * @param request - InstallMcpMarketItemRequest
3169
+ * @returns InstallMcpMarketItemResponse
3170
+ */
3171
+ async installMcpMarketItem(workspaceId: string, marketItemId: string, request: $_model.InstallMcpMarketItemRequest): Promise<$_model.InstallMcpMarketItemResponse> {
3172
+ let runtime = new $dara.RuntimeOptions({ });
3173
+ let headers : {[key: string ]: string} = { };
3174
+ return await this.installMcpMarketItemWithOptions(workspaceId, marketItemId, request, headers, runtime);
3175
+ }
3176
+
2894
3177
  /**
2895
3178
  * Installs a plugin for a specified AgentCore workspace. Currently supports the collaboration plugin. The installation process is executed asynchronously.
2896
3179
  *
@@ -3154,32 +3437,27 @@ export default class Client extends OpenApi {
3154
3437
  }
3155
3438
 
3156
3439
  /**
3157
- * Queries credentials in a specified workspace by using paging. You can use credentialType to filter by type, nameLike to filter by credential name using fuzzy match, maxResults to specify the maximum number of records per page, and nextToken to retrieve the next page. If maxResults is not specified, the server returns 10 records by default.
3440
+ * Queries the list of models for a connector.
3158
3441
  *
3159
- * @param request - ListCredentialsRequest
3442
+ * @remarks
3443
+ * Queries the list of available models for a specified connector. Pagination is supported.
3444
+ *
3445
+ * @param request - ListConnectorModelsRequest
3160
3446
  * @param headers - map
3161
3447
  * @param runtime - runtime options for this request RuntimeOptions
3162
- * @returns ListCredentialsResponse
3448
+ * @returns ListConnectorModelsResponse
3163
3449
  */
3164
- async listCredentialsWithOptions(workspaceId: string, request: $_model.ListCredentialsRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.ListCredentialsResponse> {
3450
+ async listConnectorModelsWithOptions(workspaceId: string, connectorName: string, request: $_model.ListConnectorModelsRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.ListConnectorModelsResponse> {
3165
3451
  request.validate();
3166
3452
  let query : {[key: string ]: any} = { };
3167
- if (!$dara.isNull(request.credentialType)) {
3168
- query["credentialType"] = request.credentialType;
3453
+ if (!$dara.isNull(request.connectorKeyId)) {
3454
+ query["connectorKeyId"] = request.connectorKeyId;
3169
3455
  }
3170
3456
 
3171
3457
  if (!$dara.isNull(request.maxResults)) {
3172
3458
  query["maxResults"] = request.maxResults;
3173
3459
  }
3174
3460
 
3175
- if (!$dara.isNull(request.name)) {
3176
- query["name"] = request.name;
3177
- }
3178
-
3179
- if (!$dara.isNull(request.nameLike)) {
3180
- query["nameLike"] = request.nameLike;
3181
- }
3182
-
3183
3461
  if (!$dara.isNull(request.nextToken)) {
3184
3462
  query["nextToken"] = request.nextToken;
3185
3463
  }
@@ -3189,43 +3467,46 @@ export default class Client extends OpenApi {
3189
3467
  query: OpenApiUtil.query(query),
3190
3468
  });
3191
3469
  let params = new $OpenApiUtil.Params({
3192
- action: "ListCredentials",
3470
+ action: "ListConnectorModels",
3193
3471
  version: "2026-08-04",
3194
3472
  protocol: "HTTPS",
3195
- pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/credentials`,
3473
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/connectors/${$dara.URL.percentEncode(connectorName)}/models`,
3196
3474
  method: "GET",
3197
3475
  authType: "AK",
3198
3476
  style: "ROA",
3199
3477
  reqBodyType: "json",
3200
3478
  bodyType: "json",
3201
3479
  });
3202
- return $dara.cast<$_model.ListCredentialsResponse>(await this.callApi(params, req, runtime), new $_model.ListCredentialsResponse({}));
3480
+ return $dara.cast<$_model.ListConnectorModelsResponse>(await this.callApi(params, req, runtime), new $_model.ListConnectorModelsResponse({}));
3203
3481
  }
3204
3482
 
3205
3483
  /**
3206
- * Queries credentials in a specified workspace by using paging. You can use credentialType to filter by type, nameLike to filter by credential name using fuzzy match, maxResults to specify the maximum number of records per page, and nextToken to retrieve the next page. If maxResults is not specified, the server returns 10 records by default.
3484
+ * Queries the list of models for a connector.
3207
3485
  *
3208
- * @param request - ListCredentialsRequest
3209
- * @returns ListCredentialsResponse
3486
+ * @remarks
3487
+ * Queries the list of available models for a specified connector. Pagination is supported.
3488
+ *
3489
+ * @param request - ListConnectorModelsRequest
3490
+ * @returns ListConnectorModelsResponse
3210
3491
  */
3211
- async listCredentials(workspaceId: string, request: $_model.ListCredentialsRequest): Promise<$_model.ListCredentialsResponse> {
3492
+ async listConnectorModels(workspaceId: string, connectorName: string, request: $_model.ListConnectorModelsRequest): Promise<$_model.ListConnectorModelsResponse> {
3212
3493
  let runtime = new $dara.RuntimeOptions({ });
3213
3494
  let headers : {[key: string ]: string} = { };
3214
- return await this.listCredentialsWithOptions(workspaceId, request, headers, runtime);
3495
+ return await this.listConnectorModelsWithOptions(workspaceId, connectorName, request, headers, runtime);
3215
3496
  }
3216
3497
 
3217
3498
  /**
3218
- * Queries the list of external agents in a specified workspace.
3499
+ * Queries the list of connectors.
3219
3500
  *
3220
3501
  * @remarks
3221
- * Queries the list of external agents in a specified workspace.
3502
+ * Queries the list of connectors in a specified workspace.
3222
3503
  *
3223
- * @param request - ListExternalAgentsRequest
3504
+ * @param request - ListConnectorsRequest
3224
3505
  * @param headers - map
3225
3506
  * @param runtime - runtime options for this request RuntimeOptions
3226
- * @returns ListExternalAgentsResponse
3507
+ * @returns ListConnectorsResponse
3227
3508
  */
3228
- async listExternalAgentsWithOptions(workspaceId: string, request: $_model.ListExternalAgentsRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.ListExternalAgentsResponse> {
3509
+ async listConnectorsWithOptions(workspaceId: string, request: $_model.ListConnectorsRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.ListConnectorsResponse> {
3229
3510
  request.validate();
3230
3511
  let query : {[key: string ]: any} = { };
3231
3512
  if (!$dara.isNull(request.maxResults)) {
@@ -3241,47 +3522,169 @@ export default class Client extends OpenApi {
3241
3522
  query: OpenApiUtil.query(query),
3242
3523
  });
3243
3524
  let params = new $OpenApiUtil.Params({
3244
- action: "ListExternalAgents",
3525
+ action: "ListConnectors",
3245
3526
  version: "2026-08-04",
3246
3527
  protocol: "HTTPS",
3247
- pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/external-agents`,
3528
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/connectors`,
3248
3529
  method: "GET",
3249
3530
  authType: "AK",
3250
3531
  style: "ROA",
3251
3532
  reqBodyType: "json",
3252
3533
  bodyType: "json",
3253
3534
  });
3254
- return $dara.cast<$_model.ListExternalAgentsResponse>(await this.callApi(params, req, runtime), new $_model.ListExternalAgentsResponse({}));
3535
+ return $dara.cast<$_model.ListConnectorsResponse>(await this.callApi(params, req, runtime), new $_model.ListConnectorsResponse({}));
3255
3536
  }
3256
3537
 
3257
3538
  /**
3258
- * Queries the list of external agents in a specified workspace.
3539
+ * Queries the list of connectors.
3259
3540
  *
3260
3541
  * @remarks
3261
- * Queries the list of external agents in a specified workspace.
3542
+ * Queries the list of connectors in a specified workspace.
3262
3543
  *
3263
- * @param request - ListExternalAgentsRequest
3264
- * @returns ListExternalAgentsResponse
3544
+ * @param request - ListConnectorsRequest
3545
+ * @returns ListConnectorsResponse
3265
3546
  */
3266
- async listExternalAgents(workspaceId: string, request: $_model.ListExternalAgentsRequest): Promise<$_model.ListExternalAgentsResponse> {
3547
+ async listConnectors(workspaceId: string, request: $_model.ListConnectorsRequest): Promise<$_model.ListConnectorsResponse> {
3267
3548
  let runtime = new $dara.RuntimeOptions({ });
3268
3549
  let headers : {[key: string ]: string} = { };
3269
- return await this.listExternalAgentsWithOptions(workspaceId, request, headers, runtime);
3550
+ return await this.listConnectorsWithOptions(workspaceId, request, headers, runtime);
3270
3551
  }
3271
3552
 
3272
3553
  /**
3273
- * Queries the external identity provider bound to a specified workspace. Each workspace can be bound to at most one external identity provider, so the response returns at most one record. Application secret configurations are not returned.
3554
+ * Queries credentials in a specified workspace with paging. Filter by type using credentialType, perform a fuzzy match on credential names using nameLike, specify the maximum number of records per page using maxResults, and retrieve the next page using nextToken. If maxResults is not specified, the server returns 10 records by default.
3274
3555
  *
3275
- * @param request - ListIdentityProvidersRequest
3556
+ * @remarks
3557
+ * Queries the list of credentials in a workspace with paging. Supports filtering by type and name.
3558
+ *
3559
+ * @param request - ListCredentialsRequest
3276
3560
  * @param headers - map
3277
3561
  * @param runtime - runtime options for this request RuntimeOptions
3278
- * @returns ListIdentityProvidersResponse
3562
+ * @returns ListCredentialsResponse
3279
3563
  */
3280
- async listIdentityProvidersWithOptions(workspaceId: string, request: $_model.ListIdentityProvidersRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.ListIdentityProvidersResponse> {
3564
+ async listCredentialsWithOptions(workspaceId: string, request: $_model.ListCredentialsRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.ListCredentialsResponse> {
3281
3565
  request.validate();
3282
3566
  let query : {[key: string ]: any} = { };
3283
- if (!$dara.isNull(request.maxResults)) {
3284
- query["maxResults"] = request.maxResults;
3567
+ if (!$dara.isNull(request.credentialType)) {
3568
+ query["credentialType"] = request.credentialType;
3569
+ }
3570
+
3571
+ if (!$dara.isNull(request.maxResults)) {
3572
+ query["maxResults"] = request.maxResults;
3573
+ }
3574
+
3575
+ if (!$dara.isNull(request.name)) {
3576
+ query["name"] = request.name;
3577
+ }
3578
+
3579
+ if (!$dara.isNull(request.nameLike)) {
3580
+ query["nameLike"] = request.nameLike;
3581
+ }
3582
+
3583
+ if (!$dara.isNull(request.nextToken)) {
3584
+ query["nextToken"] = request.nextToken;
3585
+ }
3586
+
3587
+ let req = new $OpenApiUtil.OpenApiRequest({
3588
+ headers: headers,
3589
+ query: OpenApiUtil.query(query),
3590
+ });
3591
+ let params = new $OpenApiUtil.Params({
3592
+ action: "ListCredentials",
3593
+ version: "2026-08-04",
3594
+ protocol: "HTTPS",
3595
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/credentials`,
3596
+ method: "GET",
3597
+ authType: "AK",
3598
+ style: "ROA",
3599
+ reqBodyType: "json",
3600
+ bodyType: "json",
3601
+ });
3602
+ return $dara.cast<$_model.ListCredentialsResponse>(await this.callApi(params, req, runtime), new $_model.ListCredentialsResponse({}));
3603
+ }
3604
+
3605
+ /**
3606
+ * Queries credentials in a specified workspace with paging. Filter by type using credentialType, perform a fuzzy match on credential names using nameLike, specify the maximum number of records per page using maxResults, and retrieve the next page using nextToken. If maxResults is not specified, the server returns 10 records by default.
3607
+ *
3608
+ * @remarks
3609
+ * Queries the list of credentials in a workspace with paging. Supports filtering by type and name.
3610
+ *
3611
+ * @param request - ListCredentialsRequest
3612
+ * @returns ListCredentialsResponse
3613
+ */
3614
+ async listCredentials(workspaceId: string, request: $_model.ListCredentialsRequest): Promise<$_model.ListCredentialsResponse> {
3615
+ let runtime = new $dara.RuntimeOptions({ });
3616
+ let headers : {[key: string ]: string} = { };
3617
+ return await this.listCredentialsWithOptions(workspaceId, request, headers, runtime);
3618
+ }
3619
+
3620
+ /**
3621
+ * Queries the list of external agents in a specified workspace.
3622
+ *
3623
+ * @remarks
3624
+ * Queries the list of external agents in a specified workspace.
3625
+ *
3626
+ * @param request - ListExternalAgentsRequest
3627
+ * @param headers - map
3628
+ * @param runtime - runtime options for this request RuntimeOptions
3629
+ * @returns ListExternalAgentsResponse
3630
+ */
3631
+ async listExternalAgentsWithOptions(workspaceId: string, request: $_model.ListExternalAgentsRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.ListExternalAgentsResponse> {
3632
+ request.validate();
3633
+ let query : {[key: string ]: any} = { };
3634
+ if (!$dara.isNull(request.maxResults)) {
3635
+ query["maxResults"] = request.maxResults;
3636
+ }
3637
+
3638
+ if (!$dara.isNull(request.nextToken)) {
3639
+ query["nextToken"] = request.nextToken;
3640
+ }
3641
+
3642
+ let req = new $OpenApiUtil.OpenApiRequest({
3643
+ headers: headers,
3644
+ query: OpenApiUtil.query(query),
3645
+ });
3646
+ let params = new $OpenApiUtil.Params({
3647
+ action: "ListExternalAgents",
3648
+ version: "2026-08-04",
3649
+ protocol: "HTTPS",
3650
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/external-agents`,
3651
+ method: "GET",
3652
+ authType: "AK",
3653
+ style: "ROA",
3654
+ reqBodyType: "json",
3655
+ bodyType: "json",
3656
+ });
3657
+ return $dara.cast<$_model.ListExternalAgentsResponse>(await this.callApi(params, req, runtime), new $_model.ListExternalAgentsResponse({}));
3658
+ }
3659
+
3660
+ /**
3661
+ * Queries the list of external agents in a specified workspace.
3662
+ *
3663
+ * @remarks
3664
+ * Queries the list of external agents in a specified workspace.
3665
+ *
3666
+ * @param request - ListExternalAgentsRequest
3667
+ * @returns ListExternalAgentsResponse
3668
+ */
3669
+ async listExternalAgents(workspaceId: string, request: $_model.ListExternalAgentsRequest): Promise<$_model.ListExternalAgentsResponse> {
3670
+ let runtime = new $dara.RuntimeOptions({ });
3671
+ let headers : {[key: string ]: string} = { };
3672
+ return await this.listExternalAgentsWithOptions(workspaceId, request, headers, runtime);
3673
+ }
3674
+
3675
+ /**
3676
+ * Queries the external identity provider bound to a specified workspace. Each workspace can be bound to at most one external identity provider, so the response returns at most one record. Application secret configurations are not returned.
3677
+ *
3678
+ * @param request - ListIdentityProvidersRequest
3679
+ * @param headers - map
3680
+ * @param runtime - runtime options for this request RuntimeOptions
3681
+ * @returns ListIdentityProvidersResponse
3682
+ */
3683
+ async listIdentityProvidersWithOptions(workspaceId: string, request: $_model.ListIdentityProvidersRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.ListIdentityProvidersResponse> {
3684
+ request.validate();
3685
+ let query : {[key: string ]: any} = { };
3686
+ if (!$dara.isNull(request.maxResults)) {
3687
+ query["maxResults"] = request.maxResults;
3285
3688
  }
3286
3689
 
3287
3690
  if (!$dara.isNull(request.nextToken)) {
@@ -3322,7 +3725,7 @@ export default class Client extends OpenApi {
3322
3725
  * Queries the list of managed agents in a specified workspace.
3323
3726
  *
3324
3727
  * @remarks
3325
- * Queries the list of managed agents in a specified workspace by using paging. Returns summary information for each agent, including the identity, name, status, template, and specifications.
3728
+ * Performs a paged query for the list of managed agents in a specified workspace. Returns summary information for each agent, including the identity, name, status, template, and specifications. Use paging parameters to navigate through results.
3326
3729
  *
3327
3730
  * @param request - ListManagedAgentsRequest
3328
3731
  * @param headers - map
@@ -3362,7 +3765,7 @@ export default class Client extends OpenApi {
3362
3765
  * Queries the list of managed agents in a specified workspace.
3363
3766
  *
3364
3767
  * @remarks
3365
- * Queries the list of managed agents in a specified workspace by using paging. Returns summary information for each agent, including the identity, name, status, template, and specifications.
3768
+ * Performs a paged query for the list of managed agents in a specified workspace. Returns summary information for each agent, including the identity, name, status, template, and specifications. Use paging parameters to navigate through results.
3366
3769
  *
3367
3770
  * @param request - ListManagedAgentsRequest
3368
3771
  * @returns ListManagedAgentsResponse
@@ -3373,6 +3776,73 @@ export default class Client extends OpenApi {
3373
3776
  return await this.listManagedAgentsWithOptions(workspaceId, request, headers, runtime);
3374
3777
  }
3375
3778
 
3779
+ /**
3780
+ * Queries MCP marketplace templates.
3781
+ *
3782
+ * @remarks
3783
+ * Queries all online official MCP templates. You can filter results by keyword, usage tag, and MCP type.
3784
+ *
3785
+ * @param request - ListMcpMarketItemsRequest
3786
+ * @param headers - map
3787
+ * @param runtime - runtime options for this request RuntimeOptions
3788
+ * @returns ListMcpMarketItemsResponse
3789
+ */
3790
+ async listMcpMarketItemsWithOptions(workspaceId: string, request: $_model.ListMcpMarketItemsRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.ListMcpMarketItemsResponse> {
3791
+ request.validate();
3792
+ let query : {[key: string ]: any} = { };
3793
+ if (!$dara.isNull(request.keyword)) {
3794
+ query["keyword"] = request.keyword;
3795
+ }
3796
+
3797
+ if (!$dara.isNull(request.maxResults)) {
3798
+ query["maxResults"] = request.maxResults;
3799
+ }
3800
+
3801
+ if (!$dara.isNull(request.mcpType)) {
3802
+ query["mcpType"] = request.mcpType;
3803
+ }
3804
+
3805
+ if (!$dara.isNull(request.nextToken)) {
3806
+ query["nextToken"] = request.nextToken;
3807
+ }
3808
+
3809
+ if (!$dara.isNull(request.officialTag)) {
3810
+ query["officialTag"] = request.officialTag;
3811
+ }
3812
+
3813
+ let req = new $OpenApiUtil.OpenApiRequest({
3814
+ headers: headers,
3815
+ query: OpenApiUtil.query(query),
3816
+ });
3817
+ let params = new $OpenApiUtil.Params({
3818
+ action: "ListMcpMarketItems",
3819
+ version: "2026-08-04",
3820
+ protocol: "HTTPS",
3821
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/mcp-market/items`,
3822
+ method: "GET",
3823
+ authType: "AK",
3824
+ style: "ROA",
3825
+ reqBodyType: "json",
3826
+ bodyType: "json",
3827
+ });
3828
+ return $dara.cast<$_model.ListMcpMarketItemsResponse>(await this.callApi(params, req, runtime), new $_model.ListMcpMarketItemsResponse({}));
3829
+ }
3830
+
3831
+ /**
3832
+ * Queries MCP marketplace templates.
3833
+ *
3834
+ * @remarks
3835
+ * Queries all online official MCP templates. You can filter results by keyword, usage tag, and MCP type.
3836
+ *
3837
+ * @param request - ListMcpMarketItemsRequest
3838
+ * @returns ListMcpMarketItemsResponse
3839
+ */
3840
+ async listMcpMarketItems(workspaceId: string, request: $_model.ListMcpMarketItemsRequest): Promise<$_model.ListMcpMarketItemsResponse> {
3841
+ let runtime = new $dara.RuntimeOptions({ });
3842
+ let headers : {[key: string ]: string} = { };
3843
+ return await this.listMcpMarketItemsWithOptions(workspaceId, request, headers, runtime);
3844
+ }
3845
+
3376
3846
  /**
3377
3847
  * Queries the list of tools exposed by a specified MCP service and their input/output schemas.
3378
3848
  *
@@ -3431,11 +3901,11 @@ export default class Client extends OpenApi {
3431
3901
  }
3432
3902
 
3433
3903
  /**
3434
- * Queries MCP services and their configurations and statuses in a specified workspace by page.
3904
+ * Queries MCP services and their configurations and statuses in a specified workspace by using paging.
3435
3905
  *
3436
3906
  * @remarks
3437
3907
  * ## Operation description
3438
- * Queries MCP services and their configurations and statuses in a specified workspace by page.
3908
+ * Queries MCP services and their configurations and statuses in a specified workspace by using paging.
3439
3909
  *
3440
3910
  * @param request - ListMcpsRequest
3441
3911
  * @param headers - map
@@ -3457,10 +3927,18 @@ export default class Client extends OpenApi {
3457
3927
  query["nextToken"] = request.nextToken;
3458
3928
  }
3459
3929
 
3930
+ if (!$dara.isNull(request.officialTag)) {
3931
+ query["officialTag"] = request.officialTag;
3932
+ }
3933
+
3460
3934
  if (!$dara.isNull(request.searchType)) {
3461
3935
  query["searchType"] = request.searchType;
3462
3936
  }
3463
3937
 
3938
+ if (!$dara.isNull(request.usageActive)) {
3939
+ query["usageActive"] = request.usageActive;
3940
+ }
3941
+
3464
3942
  let req = new $OpenApiUtil.OpenApiRequest({
3465
3943
  headers: headers,
3466
3944
  query: OpenApiUtil.query(query),
@@ -3480,11 +3958,11 @@ export default class Client extends OpenApi {
3480
3958
  }
3481
3959
 
3482
3960
  /**
3483
- * Queries MCP services and their configurations and statuses in a specified workspace by page.
3961
+ * Queries MCP services and their configurations and statuses in a specified workspace by using paging.
3484
3962
  *
3485
3963
  * @remarks
3486
3964
  * ## Operation description
3487
- * Queries MCP services and their configurations and statuses in a specified workspace by page.
3965
+ * Queries MCP services and their configurations and statuses in a specified workspace by using paging.
3488
3966
  *
3489
3967
  * @param request - ListMcpsRequest
3490
3968
  * @returns ListMcpsResponse
@@ -3705,6 +4183,124 @@ export default class Client extends OpenApi {
3705
4183
  return await this.listPredefinedModelsWithOptions(providerType, request, headers, runtime);
3706
4184
  }
3707
4185
 
4186
+ /**
4187
+ * Queries the list of Sandbox sessions.
4188
+ *
4189
+ * @remarks
4190
+ * Queries the list of active sessions in the Sandbox of a specified managed agent.
4191
+ *
4192
+ * @param request - ListSandboxSessionsRequest
4193
+ * @param headers - map
4194
+ * @param runtime - runtime options for this request RuntimeOptions
4195
+ * @returns ListSandboxSessionsResponse
4196
+ */
4197
+ async listSandboxSessionsWithOptions(workspaceId: string, agentId: string, sandboxId: string, request: $_model.ListSandboxSessionsRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.ListSandboxSessionsResponse> {
4198
+ request.validate();
4199
+ let query : {[key: string ]: any} = { };
4200
+ if (!$dara.isNull(request.maxResults)) {
4201
+ query["maxResults"] = request.maxResults;
4202
+ }
4203
+
4204
+ if (!$dara.isNull(request.nextToken)) {
4205
+ query["nextToken"] = request.nextToken;
4206
+ }
4207
+
4208
+ let req = new $OpenApiUtil.OpenApiRequest({
4209
+ headers: headers,
4210
+ query: OpenApiUtil.query(query),
4211
+ });
4212
+ let params = new $OpenApiUtil.Params({
4213
+ action: "ListSandboxSessions",
4214
+ version: "2026-08-04",
4215
+ protocol: "HTTPS",
4216
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/managed-agents/${$dara.URL.percentEncode(agentId)}/sandboxes/${$dara.URL.percentEncode(sandboxId)}/sessions`,
4217
+ method: "GET",
4218
+ authType: "AK",
4219
+ style: "ROA",
4220
+ reqBodyType: "json",
4221
+ bodyType: "json",
4222
+ });
4223
+ return $dara.cast<$_model.ListSandboxSessionsResponse>(await this.callApi(params, req, runtime), new $_model.ListSandboxSessionsResponse({}));
4224
+ }
4225
+
4226
+ /**
4227
+ * Queries the list of Sandbox sessions.
4228
+ *
4229
+ * @remarks
4230
+ * Queries the list of active sessions in the Sandbox of a specified managed agent.
4231
+ *
4232
+ * @param request - ListSandboxSessionsRequest
4233
+ * @returns ListSandboxSessionsResponse
4234
+ */
4235
+ async listSandboxSessions(workspaceId: string, agentId: string, sandboxId: string, request: $_model.ListSandboxSessionsRequest): Promise<$_model.ListSandboxSessionsResponse> {
4236
+ let runtime = new $dara.RuntimeOptions({ });
4237
+ let headers : {[key: string ]: string} = { };
4238
+ return await this.listSandboxSessionsWithOptions(workspaceId, agentId, sandboxId, request, headers, runtime);
4239
+ }
4240
+
4241
+ /**
4242
+ * Queries a list of sandboxes.
4243
+ *
4244
+ * @remarks
4245
+ * Queries the sandbox list of a specified managed agent. The searchText parameter performs a fuzzy match on Sandbox ID fragments, and the sessionId parameter performs a fuzzy match on currently active Session ID fragments. Both parameters can be specified simultaneously and are combined with AND logic.
4246
+ *
4247
+ * @param request - ListSandboxesRequest
4248
+ * @param headers - map
4249
+ * @param runtime - runtime options for this request RuntimeOptions
4250
+ * @returns ListSandboxesResponse
4251
+ */
4252
+ async listSandboxesWithOptions(workspaceId: string, agentId: string, request: $_model.ListSandboxesRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.ListSandboxesResponse> {
4253
+ request.validate();
4254
+ let query : {[key: string ]: any} = { };
4255
+ if (!$dara.isNull(request.maxResults)) {
4256
+ query["maxResults"] = request.maxResults;
4257
+ }
4258
+
4259
+ if (!$dara.isNull(request.nextToken)) {
4260
+ query["nextToken"] = request.nextToken;
4261
+ }
4262
+
4263
+ if (!$dara.isNull(request.searchText)) {
4264
+ query["searchText"] = request.searchText;
4265
+ }
4266
+
4267
+ if (!$dara.isNull(request.sessionId)) {
4268
+ query["sessionId"] = request.sessionId;
4269
+ }
4270
+
4271
+ let req = new $OpenApiUtil.OpenApiRequest({
4272
+ headers: headers,
4273
+ query: OpenApiUtil.query(query),
4274
+ });
4275
+ let params = new $OpenApiUtil.Params({
4276
+ action: "ListSandboxes",
4277
+ version: "2026-08-04",
4278
+ protocol: "HTTPS",
4279
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/managed-agents/${$dara.URL.percentEncode(agentId)}/sandboxes`,
4280
+ method: "GET",
4281
+ authType: "AK",
4282
+ style: "ROA",
4283
+ reqBodyType: "json",
4284
+ bodyType: "json",
4285
+ });
4286
+ return $dara.cast<$_model.ListSandboxesResponse>(await this.callApi(params, req, runtime), new $_model.ListSandboxesResponse({}));
4287
+ }
4288
+
4289
+ /**
4290
+ * Queries a list of sandboxes.
4291
+ *
4292
+ * @remarks
4293
+ * Queries the sandbox list of a specified managed agent. The searchText parameter performs a fuzzy match on Sandbox ID fragments, and the sessionId parameter performs a fuzzy match on currently active Session ID fragments. Both parameters can be specified simultaneously and are combined with AND logic.
4294
+ *
4295
+ * @param request - ListSandboxesRequest
4296
+ * @returns ListSandboxesResponse
4297
+ */
4298
+ async listSandboxes(workspaceId: string, agentId: string, request: $_model.ListSandboxesRequest): Promise<$_model.ListSandboxesResponse> {
4299
+ let runtime = new $dara.RuntimeOptions({ });
4300
+ let headers : {[key: string ]: string} = { };
4301
+ return await this.listSandboxesWithOptions(workspaceId, agentId, request, headers, runtime);
4302
+ }
4303
+
3708
4304
  /**
3709
4305
  * Queries service endpoints in a specified workspace by using paging. Supports filtering by target type, agent, collaboration component, and status.
3710
4306
  *
@@ -3980,10 +4576,10 @@ export default class Client extends OpenApi {
3980
4576
  }
3981
4577
 
3982
4578
  /**
3983
- * Queries workspaces under the current tenant with paging. The list does not return soft-deleted records with a status of Deleted by default. Results are stably sorted by creation order on the server side.
4579
+ * Queries workspaces under the current tenant by paging. The list does not return soft-deleted records with a status of Deleted by default. Results are stably sorted by creation order on the server side.
3984
4580
  *
3985
4581
  * @remarks
3986
- * ## Request description\\nQueries workspaces under the current tenant with paging. The list does not return soft-deleted records with a status of `Deleted` by default. Results are stably sorted by creation order on the server side. Use `nextToken` to retrieve the next page, `skip` to skip a specified number of workspaces, `maxResults` to specify the maximum number of records per page, and `nameLike` to filter workspaces by name using fuzzy match. If `maxResults` is not specified or is set to 0, the server returns 20 records by default.\\n
4582
+ * ## Operation description\\nQueries workspaces under the current tenant by paging. The list does not return soft-deleted records with a status of `Deleted` by default. Results are stably sorted by creation order on the server side. Use `nextToken` to retrieve the next page, `skip` to skip a specified number of workspaces, `maxResults` to specify the maximum number of records per paging request, and `nameLike` to filter workspaces by name using fuzzy match. If `maxResults` is not specified or is set to 0, the server returns 20 records by default.\\n
3987
4583
  *
3988
4584
  * @param request - ListWorkspacesRequest
3989
4585
  * @param headers - map
@@ -4024,10 +4620,10 @@ export default class Client extends OpenApi {
4024
4620
  }
4025
4621
 
4026
4622
  /**
4027
- * Queries workspaces under the current tenant with paging. The list does not return soft-deleted records with a status of Deleted by default. Results are stably sorted by creation order on the server side.
4623
+ * Queries workspaces under the current tenant by paging. The list does not return soft-deleted records with a status of Deleted by default. Results are stably sorted by creation order on the server side.
4028
4624
  *
4029
4625
  * @remarks
4030
- * ## Request description\\nQueries workspaces under the current tenant with paging. The list does not return soft-deleted records with a status of `Deleted` by default. Results are stably sorted by creation order on the server side. Use `nextToken` to retrieve the next page, `skip` to skip a specified number of workspaces, `maxResults` to specify the maximum number of records per page, and `nameLike` to filter workspaces by name using fuzzy match. If `maxResults` is not specified or is set to 0, the server returns 20 records by default.\\n
4626
+ * ## Operation description\\nQueries workspaces under the current tenant by paging. The list does not return soft-deleted records with a status of `Deleted` by default. Results are stably sorted by creation order on the server side. Use `nextToken` to retrieve the next page, `skip` to skip a specified number of workspaces, `maxResults` to specify the maximum number of records per paging request, and `nameLike` to filter workspaces by name using fuzzy match. If `maxResults` is not specified or is set to 0, the server returns 20 records by default.\\n
4031
4627
  *
4032
4628
  * @param request - ListWorkspacesRequest
4033
4629
  * @returns ListWorkspacesResponse
@@ -4687,9 +5283,69 @@ export default class Client extends OpenApi {
4687
5283
  return await this.updateAgentSpecWithOptions(workspaceId, agentSpecName, request, headers, runtime);
4688
5284
  }
4689
5285
 
5286
+ /**
5287
+ * Updates the credentials of a Connector.
5288
+ *
5289
+ * @remarks
5290
+ * Updates the sensitive configuration of a specified Connector and aligns the Service Account Key by ID.
5291
+ *
5292
+ * @param tmpReq - UpdateConnectorRequest
5293
+ * @param headers - map
5294
+ * @param runtime - runtime options for this request RuntimeOptions
5295
+ * @returns UpdateConnectorResponse
5296
+ */
5297
+ async updateConnectorWithOptions(workspaceId: string, connectorName: string, tmpReq: $_model.UpdateConnectorRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateConnectorResponse> {
5298
+ tmpReq.validate();
5299
+ let request = new $_model.UpdateConnectorShrinkRequest({ });
5300
+ OpenApiUtil.convert(tmpReq, request);
5301
+ if (!$dara.isNull(tmpReq.body)) {
5302
+ request.bodyShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.body, "body", "json");
5303
+ }
5304
+
5305
+ let body : {[key: string ]: any} = { };
5306
+ if (!$dara.isNull(request.bodyShrink)) {
5307
+ body["body"] = request.bodyShrink;
5308
+ }
5309
+
5310
+ let req = new $OpenApiUtil.OpenApiRequest({
5311
+ headers: headers,
5312
+ body: OpenApiUtil.parseToMap(body),
5313
+ });
5314
+ let params = new $OpenApiUtil.Params({
5315
+ action: "UpdateConnector",
5316
+ version: "2026-08-04",
5317
+ protocol: "HTTPS",
5318
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/connectors/${$dara.URL.percentEncode(connectorName)}/actions/update`,
5319
+ method: "POST",
5320
+ authType: "AK",
5321
+ style: "ROA",
5322
+ reqBodyType: "formData",
5323
+ bodyType: "json",
5324
+ });
5325
+ return $dara.cast<$_model.UpdateConnectorResponse>(await this.callApi(params, req, runtime), new $_model.UpdateConnectorResponse({}));
5326
+ }
5327
+
5328
+ /**
5329
+ * Updates the credentials of a Connector.
5330
+ *
5331
+ * @remarks
5332
+ * Updates the sensitive configuration of a specified Connector and aligns the Service Account Key by ID.
5333
+ *
5334
+ * @param request - UpdateConnectorRequest
5335
+ * @returns UpdateConnectorResponse
5336
+ */
5337
+ async updateConnector(workspaceId: string, connectorName: string, request: $_model.UpdateConnectorRequest): Promise<$_model.UpdateConnectorResponse> {
5338
+ let runtime = new $dara.RuntimeOptions({ });
5339
+ let headers : {[key: string ]: string} = { };
5340
+ return await this.updateConnectorWithOptions(workspaceId, connectorName, request, headers, runtime);
5341
+ }
5342
+
4690
5343
  /**
4691
5344
  * Updates the content or description of a specified credential. At least one of credentialMetadata and description must be specified. Unspecified properties remain unchanged. The credential name and credential type cannot be modified after creation.
4692
5345
  *
5346
+ * @remarks
5347
+ * Updates the metadata or resource scope of a specified credential.
5348
+ *
4693
5349
  * @param tmpReq - UpdateCredentialRequest
4694
5350
  * @param headers - map
4695
5351
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4735,6 +5391,9 @@ export default class Client extends OpenApi {
4735
5391
  /**
4736
5392
  * Updates the content or description of a specified credential. At least one of credentialMetadata and description must be specified. Unspecified properties remain unchanged. The credential name and credential type cannot be modified after creation.
4737
5393
  *
5394
+ * @remarks
5395
+ * Updates the metadata or resource scope of a specified credential.
5396
+ *
4738
5397
  * @param request - UpdateCredentialRequest
4739
5398
  * @returns UpdateCredentialResponse
4740
5399
  */
@@ -4808,7 +5467,7 @@ export default class Client extends OpenApi {
4808
5467
  }
4809
5468
 
4810
5469
  /**
4811
- * Updates the login switch, member synchronization switch, or application configuration of a specified external identity provider in a workspace. Unspecified properties remain unchanged. The update is an asynchronous operation. After the API returns, you can call GetIdentityProvider to query the status and track progress.
5470
+ * Updates the login toggle, member synchronization toggle, or application configuration of a specified external identity provider in a workspace. Unspecified properties remain unchanged. The update is an asynchronous operation. After the API returns, you can call GetIdentityProvider to query the status and track progress.
4812
5471
  *
4813
5472
  * @param tmpReq - UpdateIdentityProviderRequest
4814
5473
  * @param headers - map
@@ -4847,7 +5506,7 @@ export default class Client extends OpenApi {
4847
5506
  }
4848
5507
 
4849
5508
  /**
4850
- * Updates the login switch, member synchronization switch, or application configuration of a specified external identity provider in a workspace. Unspecified properties remain unchanged. The update is an asynchronous operation. After the API returns, you can call GetIdentityProvider to query the status and track progress.
5509
+ * Updates the login toggle, member synchronization toggle, or application configuration of a specified external identity provider in a workspace. Unspecified properties remain unchanged. The update is an asynchronous operation. After the API returns, you can call GetIdentityProvider to query the status and track progress.
4851
5510
  *
4852
5511
  * @param request - UpdateIdentityProviderRequest
4853
5512
  * @returns UpdateIdentityProviderResponse
@@ -4980,13 +5639,80 @@ export default class Client extends OpenApi {
4980
5639
  return await this.updateMcpWithOptions(workspaceId, mcpServerId, request, headers, runtime);
4981
5640
  }
4982
5641
 
5642
+ /**
5643
+ * Updates MCP parameters by template.
5644
+ *
5645
+ * @remarks
5646
+ * Updates the schema-exposed parameters by using the same template version that was bound when the MCP was created. This operation does not upgrade the template version.
5647
+ *
5648
+ * @param tmpReq - UpdateMcpTemplateConfigRequest
5649
+ * @param headers - map
5650
+ * @param runtime - runtime options for this request RuntimeOptions
5651
+ * @returns UpdateMcpTemplateConfigResponse
5652
+ */
5653
+ async updateMcpTemplateConfigWithOptions(workspaceId: string, mcpServerId: string, tmpReq: $_model.UpdateMcpTemplateConfigRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateMcpTemplateConfigResponse> {
5654
+ tmpReq.validate();
5655
+ let request = new $_model.UpdateMcpTemplateConfigShrinkRequest({ });
5656
+ OpenApiUtil.convert(tmpReq, request);
5657
+ if (!$dara.isNull(tmpReq.body)) {
5658
+ request.bodyShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.body, "body", "json");
5659
+ }
5660
+
5661
+ let query : {[key: string ]: any} = { };
5662
+ if (!$dara.isNull(request.clientToken)) {
5663
+ query["clientToken"] = request.clientToken;
5664
+ }
5665
+
5666
+ if (!$dara.isNull(request.templateVersion)) {
5667
+ query["templateVersion"] = request.templateVersion;
5668
+ }
5669
+
5670
+ let body : {[key: string ]: any} = { };
5671
+ if (!$dara.isNull(request.bodyShrink)) {
5672
+ body["body"] = request.bodyShrink;
5673
+ }
5674
+
5675
+ let req = new $OpenApiUtil.OpenApiRequest({
5676
+ headers: headers,
5677
+ query: OpenApiUtil.query(query),
5678
+ body: OpenApiUtil.parseToMap(body),
5679
+ });
5680
+ let params = new $OpenApiUtil.Params({
5681
+ action: "UpdateMcpTemplateConfig",
5682
+ version: "2026-08-04",
5683
+ protocol: "HTTPS",
5684
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/mcp-servers/${$dara.URL.percentEncode(mcpServerId)}/template-config`,
5685
+ method: "PUT",
5686
+ authType: "AK",
5687
+ style: "ROA",
5688
+ reqBodyType: "formData",
5689
+ bodyType: "json",
5690
+ });
5691
+ return $dara.cast<$_model.UpdateMcpTemplateConfigResponse>(await this.callApi(params, req, runtime), new $_model.UpdateMcpTemplateConfigResponse({}));
5692
+ }
5693
+
5694
+ /**
5695
+ * Updates MCP parameters by template.
5696
+ *
5697
+ * @remarks
5698
+ * Updates the schema-exposed parameters by using the same template version that was bound when the MCP was created. This operation does not upgrade the template version.
5699
+ *
5700
+ * @param request - UpdateMcpTemplateConfigRequest
5701
+ * @returns UpdateMcpTemplateConfigResponse
5702
+ */
5703
+ async updateMcpTemplateConfig(workspaceId: string, mcpServerId: string, request: $_model.UpdateMcpTemplateConfigRequest): Promise<$_model.UpdateMcpTemplateConfigResponse> {
5704
+ let runtime = new $dara.RuntimeOptions({ });
5705
+ let headers : {[key: string ]: string} = { };
5706
+ return await this.updateMcpTemplateConfigWithOptions(workspaceId, mcpServerId, request, headers, runtime);
5707
+ }
5708
+
4983
5709
  /**
4984
5710
  * Updates the description, context token limit, maximum output token count, or capability configuration of a specified model.
4985
5711
  *
4986
5712
  * @remarks
4987
- * This operation updates description, contextSize, maxTokens, and capabilities. At least one non-null parameter must be provided. Parameters that are not provided or set to null retain their original values. The capabilities object is replaced as a whole. Capability fields not included in the object are treated as false.
4988
- * Modifying only description does not refresh the model configuration of associated agents. When contextSize, maxTokens, or capabilities actually change, the system asynchronously refreshes managed agents that reference the model within the same workspace, as well as external agents whose model source is PLATFORM. External agents whose model source is RUNTIME are not affected. Submitting the same configuration repeatedly does not trigger a new model configuration refresh.
4989
- * A successful response indicates that the model configuration has been saved. It does not indicate that associated agents have completed the configuration refresh or that the runtime has loaded the new configuration. Call GetModel to query the saved model configuration.
5713
+ * This operation supports updating description, contextSize, maxTokens, and capabilities. At least one non-null parameter must be provided. Parameters that are not provided or set to null retain their original values. The capabilities object is replaced as a whole. Capability fields not included in the object are treated as false.
5714
+ * Modifying only description does not refresh the model configuration of associated Agents. When contextSize, maxTokens, or capabilities actually change, the system asynchronously refreshes managed Agents that reference the model within the same workspace, as well as external Agents whose model source is PLATFORM. External Agents whose model source is RUNTIME are not affected. Submitting the same configuration repeatedly does not trigger a new model configuration refresh.
5715
+ * A successful response indicates that the model configuration has been saved. It does not indicate that associated Agents have completed the configuration refresh or that the runtime has loaded the new configuration. Call GetModel to query the saved model configuration.
4990
5716
  *
4991
5717
  * @param tmpReq - UpdateModelRequest
4992
5718
  * @param headers - map
@@ -5034,9 +5760,9 @@ export default class Client extends OpenApi {
5034
5760
  * Updates the description, context token limit, maximum output token count, or capability configuration of a specified model.
5035
5761
  *
5036
5762
  * @remarks
5037
- * This operation updates description, contextSize, maxTokens, and capabilities. At least one non-null parameter must be provided. Parameters that are not provided or set to null retain their original values. The capabilities object is replaced as a whole. Capability fields not included in the object are treated as false.
5038
- * Modifying only description does not refresh the model configuration of associated agents. When contextSize, maxTokens, or capabilities actually change, the system asynchronously refreshes managed agents that reference the model within the same workspace, as well as external agents whose model source is PLATFORM. External agents whose model source is RUNTIME are not affected. Submitting the same configuration repeatedly does not trigger a new model configuration refresh.
5039
- * A successful response indicates that the model configuration has been saved. It does not indicate that associated agents have completed the configuration refresh or that the runtime has loaded the new configuration. Call GetModel to query the saved model configuration.
5763
+ * This operation supports updating description, contextSize, maxTokens, and capabilities. At least one non-null parameter must be provided. Parameters that are not provided or set to null retain their original values. The capabilities object is replaced as a whole. Capability fields not included in the object are treated as false.
5764
+ * Modifying only description does not refresh the model configuration of associated Agents. When contextSize, maxTokens, or capabilities actually change, the system asynchronously refreshes managed Agents that reference the model within the same workspace, as well as external Agents whose model source is PLATFORM. External Agents whose model source is RUNTIME are not affected. Submitting the same configuration repeatedly does not trigger a new model configuration refresh.
5765
+ * A successful response indicates that the model configuration has been saved. It does not indicate that associated Agents have completed the configuration refresh or that the runtime has loaded the new configuration. Call GetModel to query the saved model configuration.
5040
5766
  *
5041
5767
  * @param request - UpdateModelRequest
5042
5768
  * @returns UpdateModelResponse
@@ -5396,10 +6122,10 @@ export default class Client extends OpenApi {
5396
6122
  }
5397
6123
 
5398
6124
  /**
5399
- * Updates the name or network configuration of a workspace. Only workspaces in the Initialized status can be updated. Status, TenantId, and RegionId are maintained by the server and cannot be modified through this operation.
6125
+ * Updates the name or network configuration of a workspace. Only workspaces in the Initialized state can be updated. The Status, TenantId, and RegionId fields are maintained by the server and cannot be modified through this operation.
5400
6126
  *
5401
6127
  * @remarks
5402
- * ## Operation description\\nUpdates the name or network configuration of a workspace. Only workspaces in the `Initialized` status can be updated. `Status`, `TenantId`, and `RegionId` are maintained by the server and cannot be modified through this operation. The network configuration uses `Enabled` to specify whether to enable VPC networking. When enabled, you must also provide `VpcId` and at least one `VSwitchIds`.\\n.
6128
+ * ## Operation description\\nUpdates the name or network configuration of a workspace. Only workspaces in the `Initialized` state can be updated. `Status`, `TenantId`, and `RegionId` are maintained by the server and cannot be modified through this operation. The network configuration uses `Enabled` to specify whether to enable VPC networking. When enabled, you must also provide `VpcId` and at least one `VSwitchIds`.\\n.
5403
6129
  *
5404
6130
  * @param tmpReq - UpdateWorkspaceRequest
5405
6131
  * @param headers - map
@@ -5444,10 +6170,10 @@ export default class Client extends OpenApi {
5444
6170
  }
5445
6171
 
5446
6172
  /**
5447
- * Updates the name or network configuration of a workspace. Only workspaces in the Initialized status can be updated. Status, TenantId, and RegionId are maintained by the server and cannot be modified through this operation.
6173
+ * Updates the name or network configuration of a workspace. Only workspaces in the Initialized state can be updated. The Status, TenantId, and RegionId fields are maintained by the server and cannot be modified through this operation.
5448
6174
  *
5449
6175
  * @remarks
5450
- * ## Operation description\\nUpdates the name or network configuration of a workspace. Only workspaces in the `Initialized` status can be updated. `Status`, `TenantId`, and `RegionId` are maintained by the server and cannot be modified through this operation. The network configuration uses `Enabled` to specify whether to enable VPC networking. When enabled, you must also provide `VpcId` and at least one `VSwitchIds`.\\n.
6176
+ * ## Operation description\\nUpdates the name or network configuration of a workspace. Only workspaces in the `Initialized` state can be updated. `Status`, `TenantId`, and `RegionId` are maintained by the server and cannot be modified through this operation. The network configuration uses `Enabled` to specify whether to enable VPC networking. When enabled, you must also provide `VpcId` and at least one `VSwitchIds`.\\n.
5451
6177
  *
5452
6178
  * @param request - UpdateWorkspaceRequest
5453
6179
  * @returns UpdateWorkspaceResponse
@@ -5576,4 +6302,112 @@ export default class Client extends OpenApi {
5576
6302
  return await this.uploadSkillViaOssWithOptions(workspaceId, request, headers, runtime);
5577
6303
  }
5578
6304
 
6305
+ /**
6306
+ * Validates the credentials of a Connector.
6307
+ *
6308
+ * @remarks
6309
+ * Validates whether the credentials of a specified Connector are valid and returns a list of invalid Service Account Keys.
6310
+ *
6311
+ * @param tmpReq - VerifyConnectorRequest
6312
+ * @param headers - map
6313
+ * @param runtime - runtime options for this request RuntimeOptions
6314
+ * @returns VerifyConnectorResponse
6315
+ */
6316
+ async verifyConnectorWithOptions(workspaceId: string, connectorName: string, tmpReq: $_model.VerifyConnectorRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.VerifyConnectorResponse> {
6317
+ tmpReq.validate();
6318
+ let request = new $_model.VerifyConnectorShrinkRequest({ });
6319
+ OpenApiUtil.convert(tmpReq, request);
6320
+ if (!$dara.isNull(tmpReq.body)) {
6321
+ request.bodyShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.body, "body", "json");
6322
+ }
6323
+
6324
+ let body : {[key: string ]: any} = { };
6325
+ if (!$dara.isNull(request.bodyShrink)) {
6326
+ body["body"] = request.bodyShrink;
6327
+ }
6328
+
6329
+ let req = new $OpenApiUtil.OpenApiRequest({
6330
+ headers: headers,
6331
+ body: OpenApiUtil.parseToMap(body),
6332
+ });
6333
+ let params = new $OpenApiUtil.Params({
6334
+ action: "VerifyConnector",
6335
+ version: "2026-08-04",
6336
+ protocol: "HTTPS",
6337
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/connectors/${$dara.URL.percentEncode(connectorName)}/actions/verify`,
6338
+ method: "POST",
6339
+ authType: "AK",
6340
+ style: "ROA",
6341
+ reqBodyType: "formData",
6342
+ bodyType: "json",
6343
+ });
6344
+ return $dara.cast<$_model.VerifyConnectorResponse>(await this.callApi(params, req, runtime), new $_model.VerifyConnectorResponse({}));
6345
+ }
6346
+
6347
+ /**
6348
+ * Validates the credentials of a Connector.
6349
+ *
6350
+ * @remarks
6351
+ * Validates whether the credentials of a specified Connector are valid and returns a list of invalid Service Account Keys.
6352
+ *
6353
+ * @param request - VerifyConnectorRequest
6354
+ * @returns VerifyConnectorResponse
6355
+ */
6356
+ async verifyConnector(workspaceId: string, connectorName: string, request: $_model.VerifyConnectorRequest): Promise<$_model.VerifyConnectorResponse> {
6357
+ let runtime = new $dara.RuntimeOptions({ });
6358
+ let headers : {[key: string ]: string} = { };
6359
+ return await this.verifyConnectorWithOptions(workspaceId, connectorName, request, headers, runtime);
6360
+ }
6361
+
6362
+ /**
6363
+ * Verifies the RAM authorization for an OSS mount in a workspace.
6364
+ *
6365
+ * @remarks
6366
+ * Queries whether the OSS mount role of a workspace is bound to the custom RAM policy for the target bucket. Returns AUTHORIZED or UNAUTHORIZED. If bucketName is not specified, the existing user-managed OSS binding of the workspace is used and the authorization status is saved. If bucketName is specified, only the authorization status of the specified bucket is queried without modifying the workspace OSS binding. This operation does not verify OSS data plane access permissions or resume workspace initialization tasks.
6367
+ *
6368
+ * @param request - VerifyWorkspaceOssMountRamAuthorizationRequest
6369
+ * @param headers - map
6370
+ * @param runtime - runtime options for this request RuntimeOptions
6371
+ * @returns VerifyWorkspaceOssMountRamAuthorizationResponse
6372
+ */
6373
+ async verifyWorkspaceOssMountRamAuthorizationWithOptions(workspaceId: string, request: $_model.VerifyWorkspaceOssMountRamAuthorizationRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.VerifyWorkspaceOssMountRamAuthorizationResponse> {
6374
+ request.validate();
6375
+ let query : {[key: string ]: any} = { };
6376
+ if (!$dara.isNull(request.bucketName)) {
6377
+ query["bucketName"] = request.bucketName;
6378
+ }
6379
+
6380
+ let req = new $OpenApiUtil.OpenApiRequest({
6381
+ headers: headers,
6382
+ query: OpenApiUtil.query(query),
6383
+ });
6384
+ let params = new $OpenApiUtil.Params({
6385
+ action: "VerifyWorkspaceOssMountRamAuthorization",
6386
+ version: "2026-08-04",
6387
+ protocol: "HTTPS",
6388
+ pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/oss-mount/authorize/verify`,
6389
+ method: "POST",
6390
+ authType: "AK",
6391
+ style: "ROA",
6392
+ reqBodyType: "json",
6393
+ bodyType: "json",
6394
+ });
6395
+ return $dara.cast<$_model.VerifyWorkspaceOssMountRamAuthorizationResponse>(await this.callApi(params, req, runtime), new $_model.VerifyWorkspaceOssMountRamAuthorizationResponse({}));
6396
+ }
6397
+
6398
+ /**
6399
+ * Verifies the RAM authorization for an OSS mount in a workspace.
6400
+ *
6401
+ * @remarks
6402
+ * Queries whether the OSS mount role of a workspace is bound to the custom RAM policy for the target bucket. Returns AUTHORIZED or UNAUTHORIZED. If bucketName is not specified, the existing user-managed OSS binding of the workspace is used and the authorization status is saved. If bucketName is specified, only the authorization status of the specified bucket is queried without modifying the workspace OSS binding. This operation does not verify OSS data plane access permissions or resume workspace initialization tasks.
6403
+ *
6404
+ * @param request - VerifyWorkspaceOssMountRamAuthorizationRequest
6405
+ * @returns VerifyWorkspaceOssMountRamAuthorizationResponse
6406
+ */
6407
+ async verifyWorkspaceOssMountRamAuthorization(workspaceId: string, request: $_model.VerifyWorkspaceOssMountRamAuthorizationRequest): Promise<$_model.VerifyWorkspaceOssMountRamAuthorizationResponse> {
6408
+ let runtime = new $dara.RuntimeOptions({ });
6409
+ let headers : {[key: string ]: string} = { };
6410
+ return await this.verifyWorkspaceOssMountRamAuthorizationWithOptions(workspaceId, request, headers, runtime);
6411
+ }
6412
+
5579
6413
  }