@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
@@ -0,0 +1,1396 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class InstallMcpMarketItemRequestBodyAuthDirectProxy extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The name of the backend authentication request header.
9
+ *
10
+ * @example
11
+ * Authorization
12
+ */
13
+ name?: string;
14
+ /**
15
+ * @remarks
16
+ * The value of the backend authentication request header.
17
+ *
18
+ * @example
19
+ * example-api-key
20
+ */
21
+ value?: string;
22
+ static names(): { [key: string]: string } {
23
+ return {
24
+ name: 'name',
25
+ value: 'value',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ name: 'string',
32
+ value: 'string',
33
+ };
34
+ }
35
+
36
+ validate() {
37
+ super.validate();
38
+ }
39
+
40
+ constructor(map?: { [key: string]: any }) {
41
+ super(map);
42
+ }
43
+ }
44
+
45
+ export class InstallMcpMarketItemRequestBodyAuthHttpToMcp extends $dara.Model {
46
+ /**
47
+ * @remarks
48
+ * The backend authentication credential.
49
+ *
50
+ * @example
51
+ * example-api-key
52
+ */
53
+ credential?: string;
54
+ /**
55
+ * @remarks
56
+ * The backend authentication configuration ID.
57
+ *
58
+ * @example
59
+ * api-key-auth
60
+ */
61
+ id?: string;
62
+ /**
63
+ * @remarks
64
+ * The API key parameter name.
65
+ *
66
+ * @example
67
+ * X-API-Key
68
+ */
69
+ name?: string;
70
+ /**
71
+ * @remarks
72
+ * The position where the API key is passed.
73
+ *
74
+ * @example
75
+ * header
76
+ */
77
+ position?: string;
78
+ /**
79
+ * @remarks
80
+ * The backend authentication type.
81
+ *
82
+ * @example
83
+ * apiKey
84
+ */
85
+ type?: string;
86
+ static names(): { [key: string]: string } {
87
+ return {
88
+ credential: 'credential',
89
+ id: 'id',
90
+ name: 'name',
91
+ position: 'position',
92
+ type: 'type',
93
+ };
94
+ }
95
+
96
+ static types(): { [key: string]: any } {
97
+ return {
98
+ credential: 'string',
99
+ id: 'string',
100
+ name: 'string',
101
+ position: 'string',
102
+ type: 'string',
103
+ };
104
+ }
105
+
106
+ validate() {
107
+ super.validate();
108
+ }
109
+
110
+ constructor(map?: { [key: string]: any }) {
111
+ super(map);
112
+ }
113
+ }
114
+
115
+ export class InstallMcpMarketItemRequestBodyAuth extends $dara.Model {
116
+ /**
117
+ * @remarks
118
+ * The backend authentication configuration for direct proxy.
119
+ */
120
+ directProxy?: InstallMcpMarketItemRequestBodyAuthDirectProxy;
121
+ /**
122
+ * @remarks
123
+ * Specifies whether the configuration is enabled.
124
+ */
125
+ enabled?: boolean;
126
+ /**
127
+ * @remarks
128
+ * The list of backend authentication configurations for HTTP-to-MCP conversion.
129
+ */
130
+ httpToMcp?: InstallMcpMarketItemRequestBodyAuthHttpToMcp[];
131
+ static names(): { [key: string]: string } {
132
+ return {
133
+ directProxy: 'directProxy',
134
+ enabled: 'enabled',
135
+ httpToMcp: 'httpToMcp',
136
+ };
137
+ }
138
+
139
+ static types(): { [key: string]: any } {
140
+ return {
141
+ directProxy: InstallMcpMarketItemRequestBodyAuthDirectProxy,
142
+ enabled: 'boolean',
143
+ httpToMcp: { 'type': 'array', 'itemType': InstallMcpMarketItemRequestBodyAuthHttpToMcp },
144
+ };
145
+ }
146
+
147
+ validate() {
148
+ if(this.directProxy && typeof (this.directProxy as any).validate === 'function') {
149
+ (this.directProxy as any).validate();
150
+ }
151
+ if(Array.isArray(this.httpToMcp)) {
152
+ $dara.Model.validateArray(this.httpToMcp);
153
+ }
154
+ super.validate();
155
+ }
156
+
157
+ constructor(map?: { [key: string]: any }) {
158
+ super(map);
159
+ }
160
+ }
161
+
162
+ export class InstallMcpMarketItemRequestBodyDeploymentConfigAccessControl extends $dara.Model {
163
+ /**
164
+ * @remarks
165
+ * The AgentCore Credential referenced when mode is set to CREDENTIAL.
166
+ *
167
+ * @example
168
+ * credential-id
169
+ */
170
+ credentialId?: string;
171
+ /**
172
+ * @remarks
173
+ * Specifies whether to enable ingress access control.
174
+ */
175
+ enabled?: boolean;
176
+ /**
177
+ * @remarks
178
+ * ANONYMOUS indicates anonymous access. CREDENTIAL indicates access using an AgentCore credential.
179
+ *
180
+ * @example
181
+ * CREDENTIAL
182
+ */
183
+ mode?: string;
184
+ static names(): { [key: string]: string } {
185
+ return {
186
+ credentialId: 'credentialId',
187
+ enabled: 'enabled',
188
+ mode: 'mode',
189
+ };
190
+ }
191
+
192
+ static types(): { [key: string]: any } {
193
+ return {
194
+ credentialId: 'string',
195
+ enabled: 'boolean',
196
+ mode: 'string',
197
+ };
198
+ }
199
+
200
+ validate() {
201
+ super.validate();
202
+ }
203
+
204
+ constructor(map?: { [key: string]: any }) {
205
+ super(map);
206
+ }
207
+ }
208
+
209
+ export class InstallMcpMarketItemRequestBodyDeploymentConfigAgentIdentityConfiguration extends $dara.Model {
210
+ /**
211
+ * @remarks
212
+ * Specifies whether authorization is enabled.
213
+ */
214
+ authorizationEnabled?: boolean;
215
+ /**
216
+ * @remarks
217
+ * The Alibaba Cloud Resource Name (ARN) of the credential provider.
218
+ *
219
+ * @example
220
+ * acs:agentidentity:cn-hangzhou:1234567890123456:provider/example
221
+ */
222
+ credentialProviderArn?: string;
223
+ /**
224
+ * @remarks
225
+ * The credential provider type.
226
+ *
227
+ * @example
228
+ * oauth2
229
+ */
230
+ credentialProviderType?: string;
231
+ /**
232
+ * @remarks
233
+ * Specifies whether Agent Identity is enabled.
234
+ */
235
+ enabled?: boolean;
236
+ static names(): { [key: string]: string } {
237
+ return {
238
+ authorizationEnabled: 'authorizationEnabled',
239
+ credentialProviderArn: 'credentialProviderArn',
240
+ credentialProviderType: 'credentialProviderType',
241
+ enabled: 'enabled',
242
+ };
243
+ }
244
+
245
+ static types(): { [key: string]: any } {
246
+ return {
247
+ authorizationEnabled: 'boolean',
248
+ credentialProviderArn: 'string',
249
+ credentialProviderType: 'string',
250
+ enabled: 'boolean',
251
+ };
252
+ }
253
+
254
+ validate() {
255
+ super.validate();
256
+ }
257
+
258
+ constructor(map?: { [key: string]: any }) {
259
+ super(map);
260
+ }
261
+ }
262
+
263
+ export class InstallMcpMarketItemRequestBodyDeploymentConfigCodeConfiguration extends $dara.Model {
264
+ /**
265
+ * @remarks
266
+ * The temporary code package token returned by GetMcpCodePackageUploadUrl. Used to create a code deployment after the pre-signed upload is complete. Specify either this parameter or CodePackageUrl.
267
+ *
268
+ * @example
269
+ * upload-token
270
+ */
271
+ codePackageToken?: string;
272
+ /**
273
+ * @remarks
274
+ * The public Alibaba Cloud OSS HTTP(S) URL that can be directly passed in when creating a code deployment. Specify either this parameter or CodePackageToken. Only supported by CreateMcp. Not supported for update or query operations.
275
+ *
276
+ * @example
277
+ * https://example-bucket.oss-cn-hangzhou.aliyuncs.com/server.zip
278
+ */
279
+ codePackageUrl?: string;
280
+ /**
281
+ * @remarks
282
+ * The full startup command, with arguments passed in sequence by parameter boundary. For example, when using supergateway to start a stdio MCP, pass in supergateway, --stdio, the full subcommand, and remaining arguments.
283
+ */
284
+ command?: string[];
285
+ /**
286
+ * @remarks
287
+ * The code package runtime: python3.13, nodejs22, or java17.
288
+ *
289
+ * @example
290
+ * python3.13
291
+ */
292
+ language?: string;
293
+ static names(): { [key: string]: string } {
294
+ return {
295
+ codePackageToken: 'codePackageToken',
296
+ codePackageUrl: 'codePackageUrl',
297
+ command: 'command',
298
+ language: 'language',
299
+ };
300
+ }
301
+
302
+ static types(): { [key: string]: any } {
303
+ return {
304
+ codePackageToken: 'string',
305
+ codePackageUrl: 'string',
306
+ command: { 'type': 'array', 'itemType': 'string' },
307
+ language: 'string',
308
+ };
309
+ }
310
+
311
+ validate() {
312
+ if(Array.isArray(this.command)) {
313
+ $dara.Model.validateArray(this.command);
314
+ }
315
+ super.validate();
316
+ }
317
+
318
+ constructor(map?: { [key: string]: any }) {
319
+ super(map);
320
+ }
321
+ }
322
+
323
+ export class InstallMcpMarketItemRequestBodyDeploymentConfigContainerConfiguration extends $dara.Model {
324
+ /**
325
+ * @remarks
326
+ * The ACR instance ID.
327
+ *
328
+ * @example
329
+ * cri-example
330
+ */
331
+ acrInstanceId?: string;
332
+ /**
333
+ * @remarks
334
+ * The startup command.
335
+ */
336
+ command?: string[];
337
+ /**
338
+ * @remarks
339
+ * The container entrypoint arguments.
340
+ */
341
+ entrypoint?: string[];
342
+ /**
343
+ * @remarks
344
+ * The container image URL.
345
+ *
346
+ * @example
347
+ * registry.cn-hangzhou.aliyuncs.com/example/mcp:1.0.0
348
+ */
349
+ image?: string;
350
+ /**
351
+ * @remarks
352
+ * The image registry type.
353
+ *
354
+ * @example
355
+ * ACR
356
+ */
357
+ imageRegistryType?: string;
358
+ /**
359
+ * @remarks
360
+ * Custom containers must expose a standard MCP endpoint. Set this parameter to SELF_HOSTED.
361
+ *
362
+ * @example
363
+ * SELF_HOSTED
364
+ */
365
+ mcpRuntimeMode?: string;
366
+ /**
367
+ * @remarks
368
+ * Currently fixed to CONTAINER_IMAGE.
369
+ *
370
+ * @example
371
+ * CONTAINER_IMAGE
372
+ */
373
+ sourceType?: string;
374
+ static names(): { [key: string]: string } {
375
+ return {
376
+ acrInstanceId: 'acrInstanceId',
377
+ command: 'command',
378
+ entrypoint: 'entrypoint',
379
+ image: 'image',
380
+ imageRegistryType: 'imageRegistryType',
381
+ mcpRuntimeMode: 'mcpRuntimeMode',
382
+ sourceType: 'sourceType',
383
+ };
384
+ }
385
+
386
+ static types(): { [key: string]: any } {
387
+ return {
388
+ acrInstanceId: 'string',
389
+ command: { 'type': 'array', 'itemType': 'string' },
390
+ entrypoint: { 'type': 'array', 'itemType': 'string' },
391
+ image: 'string',
392
+ imageRegistryType: 'string',
393
+ mcpRuntimeMode: 'string',
394
+ sourceType: 'string',
395
+ };
396
+ }
397
+
398
+ validate() {
399
+ if(Array.isArray(this.command)) {
400
+ $dara.Model.validateArray(this.command);
401
+ }
402
+ if(Array.isArray(this.entrypoint)) {
403
+ $dara.Model.validateArray(this.entrypoint);
404
+ }
405
+ super.validate();
406
+ }
407
+
408
+ constructor(map?: { [key: string]: any }) {
409
+ super(map);
410
+ }
411
+ }
412
+
413
+ export class InstallMcpMarketItemRequestBodyDeploymentConfigHookConfigurationHooks extends $dara.Model {
414
+ /**
415
+ * @remarks
416
+ * The hook API version.
417
+ *
418
+ * @example
419
+ * 1.0
420
+ */
421
+ apiVersion?: string;
422
+ /**
423
+ * @remarks
424
+ * The hook description.
425
+ *
426
+ * @example
427
+ * Log MCP tool invocations
428
+ */
429
+ description?: string;
430
+ /**
431
+ * @remarks
432
+ * Specifies whether to enable the hook.
433
+ */
434
+ enabled?: boolean;
435
+ /**
436
+ * @remarks
437
+ * The hook event.
438
+ *
439
+ * @example
440
+ * PRE_CALL_TOOL
441
+ */
442
+ event?: string;
443
+ /**
444
+ * @remarks
445
+ * The hook request headers.
446
+ */
447
+ headers?: { [key: string]: string };
448
+ /**
449
+ * @remarks
450
+ * The timeout period, in milliseconds.
451
+ *
452
+ * @example
453
+ * 3000
454
+ */
455
+ timeout?: number;
456
+ /**
457
+ * @remarks
458
+ * The hook callback URL.
459
+ *
460
+ * @example
461
+ * https://example.com/mcp-hook
462
+ */
463
+ url?: string;
464
+ static names(): { [key: string]: string } {
465
+ return {
466
+ apiVersion: 'apiVersion',
467
+ description: 'description',
468
+ enabled: 'enabled',
469
+ event: 'event',
470
+ headers: 'headers',
471
+ timeout: 'timeout',
472
+ url: 'url',
473
+ };
474
+ }
475
+
476
+ static types(): { [key: string]: any } {
477
+ return {
478
+ apiVersion: 'string',
479
+ description: 'string',
480
+ enabled: 'boolean',
481
+ event: 'string',
482
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
483
+ timeout: 'number',
484
+ url: 'string',
485
+ };
486
+ }
487
+
488
+ validate() {
489
+ if(this.headers) {
490
+ $dara.Model.validateMap(this.headers);
491
+ }
492
+ super.validate();
493
+ }
494
+
495
+ constructor(map?: { [key: string]: any }) {
496
+ super(map);
497
+ }
498
+ }
499
+
500
+ export class InstallMcpMarketItemRequestBodyDeploymentConfigHookConfiguration extends $dara.Model {
501
+ /**
502
+ * @remarks
503
+ * Executes PRE_LIST_TOOLS, PRE_CALL_TOOL, POST_LIST_TOOLS, and POST_CALL_TOOL hooks in array order.
504
+ */
505
+ hooks?: InstallMcpMarketItemRequestBodyDeploymentConfigHookConfigurationHooks[];
506
+ static names(): { [key: string]: string } {
507
+ return {
508
+ hooks: 'hooks',
509
+ };
510
+ }
511
+
512
+ static types(): { [key: string]: any } {
513
+ return {
514
+ hooks: { 'type': 'array', 'itemType': InstallMcpMarketItemRequestBodyDeploymentConfigHookConfigurationHooks },
515
+ };
516
+ }
517
+
518
+ validate() {
519
+ if(Array.isArray(this.hooks)) {
520
+ $dara.Model.validateArray(this.hooks);
521
+ }
522
+ super.validate();
523
+ }
524
+
525
+ constructor(map?: { [key: string]: any }) {
526
+ super(map);
527
+ }
528
+ }
529
+
530
+ export class InstallMcpMarketItemRequestBodyDeploymentConfigLogConfiguration extends $dara.Model {
531
+ /**
532
+ * @remarks
533
+ * Specifies whether to collect instance metrics.
534
+ */
535
+ enableInstanceMetrics?: boolean;
536
+ /**
537
+ * @remarks
538
+ * Specifies whether to collect request metrics.
539
+ */
540
+ enableRequestMetrics?: boolean;
541
+ /**
542
+ * @remarks
543
+ * The log splitting begin rule for Function Compute (FC).
544
+ *
545
+ * @example
546
+ * DefaultRegex
547
+ */
548
+ logBeginRule?: string;
549
+ /**
550
+ * @remarks
551
+ * The Logstore name.
552
+ *
553
+ * @example
554
+ * mcp-logs
555
+ */
556
+ logstore?: string;
557
+ /**
558
+ * @remarks
559
+ * The Log Service project name.
560
+ *
561
+ * @example
562
+ * agentcore-mcp-logs
563
+ */
564
+ project?: string;
565
+ static names(): { [key: string]: string } {
566
+ return {
567
+ enableInstanceMetrics: 'enableInstanceMetrics',
568
+ enableRequestMetrics: 'enableRequestMetrics',
569
+ logBeginRule: 'logBeginRule',
570
+ logstore: 'logstore',
571
+ project: 'project',
572
+ };
573
+ }
574
+
575
+ static types(): { [key: string]: any } {
576
+ return {
577
+ enableInstanceMetrics: 'boolean',
578
+ enableRequestMetrics: 'boolean',
579
+ logBeginRule: 'string',
580
+ logstore: 'string',
581
+ project: 'string',
582
+ };
583
+ }
584
+
585
+ validate() {
586
+ super.validate();
587
+ }
588
+
589
+ constructor(map?: { [key: string]: any }) {
590
+ super(map);
591
+ }
592
+ }
593
+
594
+ export class InstallMcpMarketItemRequestBodyDeploymentConfigMcpConfiguration extends $dara.Model {
595
+ /**
596
+ * @remarks
597
+ * The MCP endpoint path. For example, /mcp or /sse.
598
+ *
599
+ * @example
600
+ * /mcp
601
+ */
602
+ endpointPath?: string;
603
+ /**
604
+ * @remarks
605
+ * The number of concurrent sessions per instance. Currently fixed to 1.
606
+ *
607
+ * @example
608
+ * 1
609
+ */
610
+ sessionConcurrencyPerInstance?: number;
611
+ /**
612
+ * @remarks
613
+ * The session idle timeout period. Unit: seconds. Default value: 1800.
614
+ *
615
+ * @example
616
+ * 1800
617
+ */
618
+ sessionIdleTimeoutSeconds?: number;
619
+ /**
620
+ * @remarks
621
+ * The maximum session lifetime. Unit: seconds. Default value: 21600.
622
+ *
623
+ * @example
624
+ * 21600
625
+ */
626
+ sessionMaxLifetimeSeconds?: number;
627
+ static names(): { [key: string]: string } {
628
+ return {
629
+ endpointPath: 'endpointPath',
630
+ sessionConcurrencyPerInstance: 'sessionConcurrencyPerInstance',
631
+ sessionIdleTimeoutSeconds: 'sessionIdleTimeoutSeconds',
632
+ sessionMaxLifetimeSeconds: 'sessionMaxLifetimeSeconds',
633
+ };
634
+ }
635
+
636
+ static types(): { [key: string]: any } {
637
+ return {
638
+ endpointPath: 'string',
639
+ sessionConcurrencyPerInstance: 'number',
640
+ sessionIdleTimeoutSeconds: 'number',
641
+ sessionMaxLifetimeSeconds: 'number',
642
+ };
643
+ }
644
+
645
+ validate() {
646
+ super.validate();
647
+ }
648
+
649
+ constructor(map?: { [key: string]: any }) {
650
+ super(map);
651
+ }
652
+ }
653
+
654
+ export class InstallMcpMarketItemRequestBodyDeploymentConfigNasConfigurationMountPoints extends $dara.Model {
655
+ /**
656
+ * @remarks
657
+ * Specifies whether to enable TLS.
658
+ */
659
+ enableTls?: boolean;
660
+ /**
661
+ * @remarks
662
+ * The local mount directory.
663
+ *
664
+ * @example
665
+ * /mnt/data
666
+ */
667
+ mountDir?: string;
668
+ /**
669
+ * @remarks
670
+ * The NAS server address.
671
+ *
672
+ * @example
673
+ * example.cn-hangzhou.nas.aliyuncs.com
674
+ */
675
+ serverAddr?: string;
676
+ static names(): { [key: string]: string } {
677
+ return {
678
+ enableTls: 'enableTls',
679
+ mountDir: 'mountDir',
680
+ serverAddr: 'serverAddr',
681
+ };
682
+ }
683
+
684
+ static types(): { [key: string]: any } {
685
+ return {
686
+ enableTls: 'boolean',
687
+ mountDir: 'string',
688
+ serverAddr: 'string',
689
+ };
690
+ }
691
+
692
+ validate() {
693
+ super.validate();
694
+ }
695
+
696
+ constructor(map?: { [key: string]: any }) {
697
+ super(map);
698
+ }
699
+ }
700
+
701
+ export class InstallMcpMarketItemRequestBodyDeploymentConfigNasConfiguration extends $dara.Model {
702
+ /**
703
+ * @remarks
704
+ * The runtime user group ID.
705
+ *
706
+ * @example
707
+ * 1000
708
+ */
709
+ groupId?: number;
710
+ /**
711
+ * @remarks
712
+ * The list of NAS mount points.
713
+ */
714
+ mountPoints?: InstallMcpMarketItemRequestBodyDeploymentConfigNasConfigurationMountPoints[];
715
+ /**
716
+ * @remarks
717
+ * The runtime user ID.
718
+ *
719
+ * @example
720
+ * 1000
721
+ */
722
+ userId?: number;
723
+ static names(): { [key: string]: string } {
724
+ return {
725
+ groupId: 'groupId',
726
+ mountPoints: 'mountPoints',
727
+ userId: 'userId',
728
+ };
729
+ }
730
+
731
+ static types(): { [key: string]: any } {
732
+ return {
733
+ groupId: 'number',
734
+ mountPoints: { 'type': 'array', 'itemType': InstallMcpMarketItemRequestBodyDeploymentConfigNasConfigurationMountPoints },
735
+ userId: 'number',
736
+ };
737
+ }
738
+
739
+ validate() {
740
+ if(Array.isArray(this.mountPoints)) {
741
+ $dara.Model.validateArray(this.mountPoints);
742
+ }
743
+ super.validate();
744
+ }
745
+
746
+ constructor(map?: { [key: string]: any }) {
747
+ super(map);
748
+ }
749
+ }
750
+
751
+ export class InstallMcpMarketItemRequestBodyDeploymentConfigNetworkConfiguration extends $dara.Model {
752
+ /**
753
+ * @remarks
754
+ * The network mode.
755
+ *
756
+ * @example
757
+ * PUBLIC
758
+ */
759
+ networkMode?: string;
760
+ /**
761
+ * @remarks
762
+ * The security group ID.
763
+ *
764
+ * @example
765
+ * sg-example
766
+ */
767
+ securityGroupId?: string;
768
+ /**
769
+ * @remarks
770
+ * The list of vSwitch IDs.
771
+ */
772
+ vSwitchIds?: string[];
773
+ /**
774
+ * @remarks
775
+ * The VPC ID.
776
+ *
777
+ * @example
778
+ * vpc-example
779
+ */
780
+ vpcId?: string;
781
+ static names(): { [key: string]: string } {
782
+ return {
783
+ networkMode: 'networkMode',
784
+ securityGroupId: 'securityGroupId',
785
+ vSwitchIds: 'vSwitchIds',
786
+ vpcId: 'vpcId',
787
+ };
788
+ }
789
+
790
+ static types(): { [key: string]: any } {
791
+ return {
792
+ networkMode: 'string',
793
+ securityGroupId: 'string',
794
+ vSwitchIds: { 'type': 'array', 'itemType': 'string' },
795
+ vpcId: 'string',
796
+ };
797
+ }
798
+
799
+ validate() {
800
+ if(Array.isArray(this.vSwitchIds)) {
801
+ $dara.Model.validateArray(this.vSwitchIds);
802
+ }
803
+ super.validate();
804
+ }
805
+
806
+ constructor(map?: { [key: string]: any }) {
807
+ super(map);
808
+ }
809
+ }
810
+
811
+ export class InstallMcpMarketItemRequestBodyDeploymentConfigOssMountConfigurationMountPoints extends $dara.Model {
812
+ /**
813
+ * @remarks
814
+ * The OSS bucket name.
815
+ *
816
+ * @example
817
+ * example-bucket
818
+ */
819
+ bucketName?: string;
820
+ /**
821
+ * @remarks
822
+ * The OSS bucket path.
823
+ *
824
+ * @example
825
+ * /data
826
+ */
827
+ bucketPath?: string;
828
+ /**
829
+ * @remarks
830
+ * The OSS service endpoint.
831
+ *
832
+ * @example
833
+ * https://oss-cn-hangzhou.aliyuncs.com
834
+ */
835
+ endpoint?: string;
836
+ /**
837
+ * @remarks
838
+ * The local mount directory.
839
+ *
840
+ * @example
841
+ * /mnt/data
842
+ */
843
+ mountDir?: string;
844
+ /**
845
+ * @remarks
846
+ * Specifies whether the mount point is read-only.
847
+ */
848
+ readOnly?: boolean;
849
+ static names(): { [key: string]: string } {
850
+ return {
851
+ bucketName: 'bucketName',
852
+ bucketPath: 'bucketPath',
853
+ endpoint: 'endpoint',
854
+ mountDir: 'mountDir',
855
+ readOnly: 'readOnly',
856
+ };
857
+ }
858
+
859
+ static types(): { [key: string]: any } {
860
+ return {
861
+ bucketName: 'string',
862
+ bucketPath: 'string',
863
+ endpoint: 'string',
864
+ mountDir: 'string',
865
+ readOnly: 'boolean',
866
+ };
867
+ }
868
+
869
+ validate() {
870
+ super.validate();
871
+ }
872
+
873
+ constructor(map?: { [key: string]: any }) {
874
+ super(map);
875
+ }
876
+ }
877
+
878
+ export class InstallMcpMarketItemRequestBodyDeploymentConfigOssMountConfiguration extends $dara.Model {
879
+ /**
880
+ * @remarks
881
+ * The list of OSS mount points.
882
+ */
883
+ mountPoints?: InstallMcpMarketItemRequestBodyDeploymentConfigOssMountConfigurationMountPoints[];
884
+ static names(): { [key: string]: string } {
885
+ return {
886
+ mountPoints: 'mountPoints',
887
+ };
888
+ }
889
+
890
+ static types(): { [key: string]: any } {
891
+ return {
892
+ mountPoints: { 'type': 'array', 'itemType': InstallMcpMarketItemRequestBodyDeploymentConfigOssMountConfigurationMountPoints },
893
+ };
894
+ }
895
+
896
+ validate() {
897
+ if(Array.isArray(this.mountPoints)) {
898
+ $dara.Model.validateArray(this.mountPoints);
899
+ }
900
+ super.validate();
901
+ }
902
+
903
+ constructor(map?: { [key: string]: any }) {
904
+ super(map);
905
+ }
906
+ }
907
+
908
+ export class InstallMcpMarketItemRequestBodyDeploymentConfigParameterTransformConfiguration extends $dara.Model {
909
+ /**
910
+ * @remarks
911
+ * Specifies whether to enable parameter transformation and result enhancement.
912
+ */
913
+ enabled?: boolean;
914
+ /**
915
+ * @remarks
916
+ * The reserved reference to a parameter transformation and result enhancement rule set.
917
+ *
918
+ * @example
919
+ * rules-1
920
+ */
921
+ ruleSetId?: string;
922
+ /**
923
+ * @remarks
924
+ * The transformation rule version.
925
+ *
926
+ * @example
927
+ * 1.0
928
+ */
929
+ version?: string;
930
+ static names(): { [key: string]: string } {
931
+ return {
932
+ enabled: 'enabled',
933
+ ruleSetId: 'ruleSetId',
934
+ version: 'version',
935
+ };
936
+ }
937
+
938
+ static types(): { [key: string]: any } {
939
+ return {
940
+ enabled: 'boolean',
941
+ ruleSetId: 'string',
942
+ version: 'string',
943
+ };
944
+ }
945
+
946
+ validate() {
947
+ super.validate();
948
+ }
949
+
950
+ constructor(map?: { [key: string]: any }) {
951
+ super(map);
952
+ }
953
+ }
954
+
955
+ export class InstallMcpMarketItemRequestBodyDeploymentConfigProxyConfiguration extends $dara.Model {
956
+ /**
957
+ * @remarks
958
+ * Specifies whether to enable the MCP proxy.
959
+ */
960
+ enabled?: boolean;
961
+ static names(): { [key: string]: string } {
962
+ return {
963
+ enabled: 'enabled',
964
+ };
965
+ }
966
+
967
+ static types(): { [key: string]: any } {
968
+ return {
969
+ enabled: 'boolean',
970
+ };
971
+ }
972
+
973
+ validate() {
974
+ super.validate();
975
+ }
976
+
977
+ constructor(map?: { [key: string]: any }) {
978
+ super(map);
979
+ }
980
+ }
981
+
982
+ export class InstallMcpMarketItemRequestBodyDeploymentConfigRuntimeConfiguration extends $dara.Model {
983
+ /**
984
+ * @remarks
985
+ * The number of vCPUs. Default value: 0.25.
986
+ *
987
+ * @example
988
+ * 0.25
989
+ */
990
+ cpu?: number;
991
+ /**
992
+ * @remarks
993
+ * The ephemeral disk size. Unit: MB. Valid values: 512 and 10240.
994
+ *
995
+ * @example
996
+ * 512
997
+ */
998
+ diskSize?: number;
999
+ /**
1000
+ * @remarks
1001
+ * The environment variables.
1002
+ */
1003
+ environmentVariables?: { [key: string]: string };
1004
+ /**
1005
+ * @remarks
1006
+ * The ARN of the RAM role used by user code to access downstream Alibaba Cloud resources.
1007
+ *
1008
+ * @example
1009
+ * acs:ram::1234567890123456:role/agentcore-mcp-execution
1010
+ */
1011
+ executionRoleArn?: string;
1012
+ /**
1013
+ * @remarks
1014
+ * The maximum number of concurrent requests per instance. Default value: 200.
1015
+ *
1016
+ * @example
1017
+ * 200
1018
+ */
1019
+ instanceConcurrency?: number;
1020
+ /**
1021
+ * @remarks
1022
+ * The memory size. Unit: MB. Default value: 512.
1023
+ *
1024
+ * @example
1025
+ * 512
1026
+ */
1027
+ memory?: number;
1028
+ /**
1029
+ * @remarks
1030
+ * The service port. Default value: 9000.
1031
+ *
1032
+ * @example
1033
+ * 9000
1034
+ */
1035
+ port?: number;
1036
+ /**
1037
+ * @remarks
1038
+ * The function timeout period. Unit: seconds. Default value: 300.
1039
+ *
1040
+ * @example
1041
+ * 300
1042
+ */
1043
+ timeout?: number;
1044
+ static names(): { [key: string]: string } {
1045
+ return {
1046
+ cpu: 'cpu',
1047
+ diskSize: 'diskSize',
1048
+ environmentVariables: 'environmentVariables',
1049
+ executionRoleArn: 'executionRoleArn',
1050
+ instanceConcurrency: 'instanceConcurrency',
1051
+ memory: 'memory',
1052
+ port: 'port',
1053
+ timeout: 'timeout',
1054
+ };
1055
+ }
1056
+
1057
+ static types(): { [key: string]: any } {
1058
+ return {
1059
+ cpu: 'number',
1060
+ diskSize: 'number',
1061
+ environmentVariables: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1062
+ executionRoleArn: 'string',
1063
+ instanceConcurrency: 'number',
1064
+ memory: 'number',
1065
+ port: 'number',
1066
+ timeout: 'number',
1067
+ };
1068
+ }
1069
+
1070
+ validate() {
1071
+ if(this.environmentVariables) {
1072
+ $dara.Model.validateMap(this.environmentVariables);
1073
+ }
1074
+ super.validate();
1075
+ }
1076
+
1077
+ constructor(map?: { [key: string]: any }) {
1078
+ super(map);
1079
+ }
1080
+ }
1081
+
1082
+ export class InstallMcpMarketItemRequestBodyDeploymentConfig extends $dara.Model {
1083
+ /**
1084
+ * @remarks
1085
+ * The MCP ingress access control configuration.
1086
+ */
1087
+ accessControl?: InstallMcpMarketItemRequestBodyDeploymentConfigAccessControl;
1088
+ /**
1089
+ * @remarks
1090
+ * The Agent Identity configuration.
1091
+ */
1092
+ agentIdentityConfiguration?: InstallMcpMarketItemRequestBodyDeploymentConfigAgentIdentityConfiguration;
1093
+ /**
1094
+ * @remarks
1095
+ * Code indicates a ZIP code package. Container indicates a custom container.
1096
+ *
1097
+ * @example
1098
+ * Code
1099
+ */
1100
+ artifactType?: string;
1101
+ /**
1102
+ * @remarks
1103
+ * The code package configuration.
1104
+ */
1105
+ codeConfiguration?: InstallMcpMarketItemRequestBodyDeploymentConfigCodeConfiguration;
1106
+ /**
1107
+ * @remarks
1108
+ * The custom container configuration.
1109
+ */
1110
+ containerConfiguration?: InstallMcpMarketItemRequestBodyDeploymentConfigContainerConfiguration;
1111
+ /**
1112
+ * @remarks
1113
+ * The hook configuration.
1114
+ */
1115
+ hookConfiguration?: InstallMcpMarketItemRequestBodyDeploymentConfigHookConfiguration;
1116
+ /**
1117
+ * @remarks
1118
+ * The log configuration.
1119
+ */
1120
+ logConfiguration?: InstallMcpMarketItemRequestBodyDeploymentConfigLogConfiguration;
1121
+ /**
1122
+ * @remarks
1123
+ * The MCP session configuration.
1124
+ */
1125
+ mcpConfiguration?: InstallMcpMarketItemRequestBodyDeploymentConfigMcpConfiguration;
1126
+ /**
1127
+ * @remarks
1128
+ * The NAS storage configuration.
1129
+ */
1130
+ nasConfiguration?: InstallMcpMarketItemRequestBodyDeploymentConfigNasConfiguration;
1131
+ /**
1132
+ * @remarks
1133
+ * The network configuration.
1134
+ */
1135
+ networkConfiguration?: InstallMcpMarketItemRequestBodyDeploymentConfigNetworkConfiguration;
1136
+ /**
1137
+ * @remarks
1138
+ * The OSS mount configuration.
1139
+ */
1140
+ ossMountConfiguration?: InstallMcpMarketItemRequestBodyDeploymentConfigOssMountConfiguration;
1141
+ /**
1142
+ * @remarks
1143
+ * The parameter transformation and result enhancement configuration.
1144
+ */
1145
+ parameterTransformConfiguration?: InstallMcpMarketItemRequestBodyDeploymentConfigParameterTransformConfiguration;
1146
+ /**
1147
+ * @remarks
1148
+ * The MCP proxy configuration.
1149
+ */
1150
+ proxyConfiguration?: InstallMcpMarketItemRequestBodyDeploymentConfigProxyConfiguration;
1151
+ /**
1152
+ * @remarks
1153
+ * The runtime and resource configuration.
1154
+ */
1155
+ runtimeConfiguration?: InstallMcpMarketItemRequestBodyDeploymentConfigRuntimeConfiguration;
1156
+ static names(): { [key: string]: string } {
1157
+ return {
1158
+ accessControl: 'accessControl',
1159
+ agentIdentityConfiguration: 'agentIdentityConfiguration',
1160
+ artifactType: 'artifactType',
1161
+ codeConfiguration: 'codeConfiguration',
1162
+ containerConfiguration: 'containerConfiguration',
1163
+ hookConfiguration: 'hookConfiguration',
1164
+ logConfiguration: 'logConfiguration',
1165
+ mcpConfiguration: 'mcpConfiguration',
1166
+ nasConfiguration: 'nasConfiguration',
1167
+ networkConfiguration: 'networkConfiguration',
1168
+ ossMountConfiguration: 'ossMountConfiguration',
1169
+ parameterTransformConfiguration: 'parameterTransformConfiguration',
1170
+ proxyConfiguration: 'proxyConfiguration',
1171
+ runtimeConfiguration: 'runtimeConfiguration',
1172
+ };
1173
+ }
1174
+
1175
+ static types(): { [key: string]: any } {
1176
+ return {
1177
+ accessControl: InstallMcpMarketItemRequestBodyDeploymentConfigAccessControl,
1178
+ agentIdentityConfiguration: InstallMcpMarketItemRequestBodyDeploymentConfigAgentIdentityConfiguration,
1179
+ artifactType: 'string',
1180
+ codeConfiguration: InstallMcpMarketItemRequestBodyDeploymentConfigCodeConfiguration,
1181
+ containerConfiguration: InstallMcpMarketItemRequestBodyDeploymentConfigContainerConfiguration,
1182
+ hookConfiguration: InstallMcpMarketItemRequestBodyDeploymentConfigHookConfiguration,
1183
+ logConfiguration: InstallMcpMarketItemRequestBodyDeploymentConfigLogConfiguration,
1184
+ mcpConfiguration: InstallMcpMarketItemRequestBodyDeploymentConfigMcpConfiguration,
1185
+ nasConfiguration: InstallMcpMarketItemRequestBodyDeploymentConfigNasConfiguration,
1186
+ networkConfiguration: InstallMcpMarketItemRequestBodyDeploymentConfigNetworkConfiguration,
1187
+ ossMountConfiguration: InstallMcpMarketItemRequestBodyDeploymentConfigOssMountConfiguration,
1188
+ parameterTransformConfiguration: InstallMcpMarketItemRequestBodyDeploymentConfigParameterTransformConfiguration,
1189
+ proxyConfiguration: InstallMcpMarketItemRequestBodyDeploymentConfigProxyConfiguration,
1190
+ runtimeConfiguration: InstallMcpMarketItemRequestBodyDeploymentConfigRuntimeConfiguration,
1191
+ };
1192
+ }
1193
+
1194
+ validate() {
1195
+ if(this.accessControl && typeof (this.accessControl as any).validate === 'function') {
1196
+ (this.accessControl as any).validate();
1197
+ }
1198
+ if(this.agentIdentityConfiguration && typeof (this.agentIdentityConfiguration as any).validate === 'function') {
1199
+ (this.agentIdentityConfiguration as any).validate();
1200
+ }
1201
+ if(this.codeConfiguration && typeof (this.codeConfiguration as any).validate === 'function') {
1202
+ (this.codeConfiguration as any).validate();
1203
+ }
1204
+ if(this.containerConfiguration && typeof (this.containerConfiguration as any).validate === 'function') {
1205
+ (this.containerConfiguration as any).validate();
1206
+ }
1207
+ if(this.hookConfiguration && typeof (this.hookConfiguration as any).validate === 'function') {
1208
+ (this.hookConfiguration as any).validate();
1209
+ }
1210
+ if(this.logConfiguration && typeof (this.logConfiguration as any).validate === 'function') {
1211
+ (this.logConfiguration as any).validate();
1212
+ }
1213
+ if(this.mcpConfiguration && typeof (this.mcpConfiguration as any).validate === 'function') {
1214
+ (this.mcpConfiguration as any).validate();
1215
+ }
1216
+ if(this.nasConfiguration && typeof (this.nasConfiguration as any).validate === 'function') {
1217
+ (this.nasConfiguration as any).validate();
1218
+ }
1219
+ if(this.networkConfiguration && typeof (this.networkConfiguration as any).validate === 'function') {
1220
+ (this.networkConfiguration as any).validate();
1221
+ }
1222
+ if(this.ossMountConfiguration && typeof (this.ossMountConfiguration as any).validate === 'function') {
1223
+ (this.ossMountConfiguration as any).validate();
1224
+ }
1225
+ if(this.parameterTransformConfiguration && typeof (this.parameterTransformConfiguration as any).validate === 'function') {
1226
+ (this.parameterTransformConfiguration as any).validate();
1227
+ }
1228
+ if(this.proxyConfiguration && typeof (this.proxyConfiguration as any).validate === 'function') {
1229
+ (this.proxyConfiguration as any).validate();
1230
+ }
1231
+ if(this.runtimeConfiguration && typeof (this.runtimeConfiguration as any).validate === 'function') {
1232
+ (this.runtimeConfiguration as any).validate();
1233
+ }
1234
+ super.validate();
1235
+ }
1236
+
1237
+ constructor(map?: { [key: string]: any }) {
1238
+ super(map);
1239
+ }
1240
+ }
1241
+
1242
+ export class InstallMcpMarketItemRequestBody extends $dara.Model {
1243
+ /**
1244
+ * @remarks
1245
+ * The list of remote MCP service addresses.
1246
+ */
1247
+ addresses?: string[];
1248
+ /**
1249
+ * @remarks
1250
+ * The MCP authentication configuration.
1251
+ */
1252
+ auth?: InstallMcpMarketItemRequestBodyAuth;
1253
+ /**
1254
+ * @remarks
1255
+ * The deployment configuration for code-deployed MCP.
1256
+ */
1257
+ deploymentConfig?: InstallMcpMarketItemRequestBodyDeploymentConfig;
1258
+ /**
1259
+ * @remarks
1260
+ * The MCP service description.
1261
+ *
1262
+ * @example
1263
+ * An MCP service for querying the knowledge base
1264
+ */
1265
+ description?: string;
1266
+ /**
1267
+ * @remarks
1268
+ * The MCP service name.
1269
+ *
1270
+ * @example
1271
+ * my-mcp-server
1272
+ */
1273
+ name?: string;
1274
+ /**
1275
+ * @remarks
1276
+ * The MCP protocol.
1277
+ *
1278
+ * @example
1279
+ * StreamableHTTP
1280
+ */
1281
+ protocol?: string;
1282
+ /**
1283
+ * @remarks
1284
+ * The OpenAPI configuration for HTTP-to-MCP conversion, represented as a JSON string.
1285
+ *
1286
+ * @example
1287
+ * {"openapi":"3.0.3","info":{"title":"Knowledge API","version":"1.0.0"},"paths":{}}
1288
+ */
1289
+ swaggerConfig?: string;
1290
+ /**
1291
+ * @remarks
1292
+ * The MCP type. Valid values:
1293
+ * - DIRECT_PROXY: direct proxy.
1294
+ * - HTTP_TO_MCP: HTTP-to-MCP conversion.
1295
+ * - CODE_PACKAGE: code deployment.
1296
+ *
1297
+ * @example
1298
+ * CODE_PACKAGE
1299
+ */
1300
+ type?: string;
1301
+ static names(): { [key: string]: string } {
1302
+ return {
1303
+ addresses: 'addresses',
1304
+ auth: 'auth',
1305
+ deploymentConfig: 'deploymentConfig',
1306
+ description: 'description',
1307
+ name: 'name',
1308
+ protocol: 'protocol',
1309
+ swaggerConfig: 'swaggerConfig',
1310
+ type: 'type',
1311
+ };
1312
+ }
1313
+
1314
+ static types(): { [key: string]: any } {
1315
+ return {
1316
+ addresses: { 'type': 'array', 'itemType': 'string' },
1317
+ auth: InstallMcpMarketItemRequestBodyAuth,
1318
+ deploymentConfig: InstallMcpMarketItemRequestBodyDeploymentConfig,
1319
+ description: 'string',
1320
+ name: 'string',
1321
+ protocol: 'string',
1322
+ swaggerConfig: 'string',
1323
+ type: 'string',
1324
+ };
1325
+ }
1326
+
1327
+ validate() {
1328
+ if(Array.isArray(this.addresses)) {
1329
+ $dara.Model.validateArray(this.addresses);
1330
+ }
1331
+ if(this.auth && typeof (this.auth as any).validate === 'function') {
1332
+ (this.auth as any).validate();
1333
+ }
1334
+ if(this.deploymentConfig && typeof (this.deploymentConfig as any).validate === 'function') {
1335
+ (this.deploymentConfig as any).validate();
1336
+ }
1337
+ super.validate();
1338
+ }
1339
+
1340
+ constructor(map?: { [key: string]: any }) {
1341
+ super(map);
1342
+ }
1343
+ }
1344
+
1345
+ export class InstallMcpMarketItemRequest extends $dara.Model {
1346
+ /**
1347
+ * @remarks
1348
+ * The MCP configuration submitted during template installation. The configuration must conform to the input schema of the template.
1349
+ */
1350
+ body?: InstallMcpMarketItemRequestBody;
1351
+ /**
1352
+ * @remarks
1353
+ * The client token that is used to ensure the idempotence of the request.
1354
+ *
1355
+ * @example
1356
+ * 123e4567-e89b-12d3-a456-426655440000
1357
+ */
1358
+ clientToken?: string;
1359
+ /**
1360
+ * @remarks
1361
+ * The template version to install. You can call GetMcpMarketItem to query available versions.
1362
+ *
1363
+ * This parameter is required.
1364
+ *
1365
+ * @example
1366
+ * 1.0.0
1367
+ */
1368
+ templateVersion?: string;
1369
+ static names(): { [key: string]: string } {
1370
+ return {
1371
+ body: 'body',
1372
+ clientToken: 'clientToken',
1373
+ templateVersion: 'templateVersion',
1374
+ };
1375
+ }
1376
+
1377
+ static types(): { [key: string]: any } {
1378
+ return {
1379
+ body: InstallMcpMarketItemRequestBody,
1380
+ clientToken: 'string',
1381
+ templateVersion: 'string',
1382
+ };
1383
+ }
1384
+
1385
+ validate() {
1386
+ if(this.body && typeof (this.body as any).validate === 'function') {
1387
+ (this.body as any).validate();
1388
+ }
1389
+ super.validate();
1390
+ }
1391
+
1392
+ constructor(map?: { [key: string]: any }) {
1393
+ super(map);
1394
+ }
1395
+ }
1396
+