@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.
- package/dist/client.d.ts +416 -50
- package/dist/client.js +867 -95
- package/dist/client.js.map +1 -1
- package/dist/models/ConvertMcpToFreeEditRequest.d.ts +21 -0
- package/dist/models/ConvertMcpToFreeEditRequest.js +58 -0
- package/dist/models/ConvertMcpToFreeEditRequest.js.map +1 -0
- package/dist/models/ConvertMcpToFreeEditResponse.d.ts +19 -0
- package/dist/models/ConvertMcpToFreeEditResponse.js +69 -0
- package/dist/models/ConvertMcpToFreeEditResponse.js.map +1 -0
- package/dist/models/ConvertMcpToFreeEditResponseBody.d.ts +966 -0
- package/dist/models/ConvertMcpToFreeEditResponseBody.js +688 -0
- package/dist/models/ConvertMcpToFreeEditResponseBody.js.map +1 -0
- package/dist/models/CreateAgentSpecResponseBody.d.ts +1 -1
- package/dist/models/CreateCredentialRequest.d.ts +51 -2
- package/dist/models/CreateCredentialRequest.js +31 -1
- package/dist/models/CreateCredentialRequest.js.map +1 -1
- package/dist/models/CreateCredentialResponseBody.d.ts +52 -3
- package/dist/models/CreateCredentialResponseBody.js +31 -1
- package/dist/models/CreateCredentialResponseBody.js.map +1 -1
- package/dist/models/CreateExternalAgentRequest.d.ts +6 -4
- package/dist/models/CreateExternalAgentRequest.js.map +1 -1
- package/dist/models/CreateExternalAgentResponseBody.d.ts +20 -91
- package/dist/models/CreateExternalAgentResponseBody.js +1 -37
- package/dist/models/CreateExternalAgentResponseBody.js.map +1 -1
- package/dist/models/CreateExternalAgentShrinkRequest.d.ts +1 -1
- package/dist/models/CreateManagedAgentRequest.d.ts +145 -12
- package/dist/models/CreateManagedAgentRequest.js +113 -1
- package/dist/models/CreateManagedAgentRequest.js.map +1 -1
- package/dist/models/CreateManagedAgentResponseBody.d.ts +158 -18
- package/dist/models/CreateManagedAgentResponseBody.js +118 -1
- package/dist/models/CreateManagedAgentResponseBody.js.map +1 -1
- package/dist/models/CreateMcpRequest.d.ts +782 -9
- package/dist/models/CreateMcpRequest.js +546 -1
- package/dist/models/CreateMcpRequest.js.map +1 -1
- package/dist/models/CreateMcpResponseBody.d.ts +906 -31
- package/dist/models/CreateMcpResponseBody.js +608 -1
- package/dist/models/CreateMcpResponseBody.js.map +1 -1
- package/dist/models/CreateMcpShrinkRequest.d.ts +1 -1
- package/dist/models/CreateTeamRequest.d.ts +4 -10
- package/dist/models/CreateTeamRequest.js.map +1 -1
- package/dist/models/CreateTeamResponseBody.d.ts +7 -21
- package/dist/models/CreateTeamResponseBody.js.map +1 -1
- package/dist/models/CreateWorkspaceRequest.d.ts +2 -1
- package/dist/models/CreateWorkspaceRequest.js +2 -0
- package/dist/models/CreateWorkspaceRequest.js.map +1 -1
- package/dist/models/CreateWorkspaceResponseBody.d.ts +110 -2
- package/dist/models/CreateWorkspaceResponseBody.js +43 -1
- package/dist/models/CreateWorkspaceResponseBody.js.map +1 -1
- package/dist/models/DeleteAgentSpecVersionResponseBody.d.ts +1 -1
- package/dist/models/DeleteCredentialResponseBody.d.ts +1 -1
- package/dist/models/DeleteExternalAgentResponseBody.d.ts +4 -12
- package/dist/models/DeleteExternalAgentResponseBody.js +0 -2
- package/dist/models/DeleteExternalAgentResponseBody.js.map +1 -1
- package/dist/models/DeleteIdentityProviderResponseBody.d.ts +9 -5
- package/dist/models/DeleteIdentityProviderResponseBody.js.map +1 -1
- package/dist/models/DeleteManagedAgentResponseBody.d.ts +4 -12
- package/dist/models/DeleteManagedAgentResponseBody.js +0 -2
- package/dist/models/DeleteManagedAgentResponseBody.js.map +1 -1
- package/dist/models/DisableConnectorRequest.d.ts +13 -0
- package/dist/models/DisableConnectorRequest.js +54 -0
- package/dist/models/DisableConnectorRequest.js.map +1 -0
- package/dist/models/DisableConnectorResponse.d.ts +19 -0
- package/dist/models/DisableConnectorResponse.js +69 -0
- package/dist/models/DisableConnectorResponse.js.map +1 -0
- package/dist/models/DisableConnectorResponseBody.d.ts +110 -0
- package/dist/models/DisableConnectorResponseBody.js +98 -0
- package/dist/models/DisableConnectorResponseBody.js.map +1 -0
- package/dist/models/EnableConnectorRequest.d.ts +42 -0
- package/dist/models/EnableConnectorRequest.js +80 -0
- package/dist/models/EnableConnectorRequest.js.map +1 -0
- package/dist/models/EnableConnectorResponse.d.ts +19 -0
- package/dist/models/EnableConnectorResponse.js +69 -0
- package/dist/models/EnableConnectorResponse.js.map +1 -0
- package/dist/models/EnableConnectorResponseBody.d.ts +110 -0
- package/dist/models/EnableConnectorResponseBody.js +98 -0
- package/dist/models/EnableConnectorResponseBody.js.map +1 -0
- package/dist/models/EnableConnectorShrinkRequest.d.ts +20 -0
- package/dist/models/EnableConnectorShrinkRequest.js +58 -0
- package/dist/models/EnableConnectorShrinkRequest.js.map +1 -0
- package/dist/models/GetAgentImchannelResponseBody.d.ts +11 -11
- package/dist/models/GetAgentSpecImportFileUrlResponseBody.d.ts +1 -1
- package/dist/models/GetAgentSpecVersionResponseBody.d.ts +2 -2
- package/dist/models/GetCredentialResponseBody.d.ts +56 -7
- package/dist/models/GetCredentialResponseBody.js +31 -1
- package/dist/models/GetCredentialResponseBody.js.map +1 -1
- package/dist/models/GetExternalAgentBootstrapOptionsResponseBody.d.ts +3 -3
- package/dist/models/GetExternalAgentResponseBody.d.ts +27 -98
- package/dist/models/GetExternalAgentResponseBody.js +1 -37
- package/dist/models/GetExternalAgentResponseBody.js.map +1 -1
- package/dist/models/GetIdentityProviderResponseBody.d.ts +4 -4
- package/dist/models/GetManagedAgentResponseBody.d.ts +152 -12
- package/dist/models/GetManagedAgentResponseBody.js +118 -1
- package/dist/models/GetManagedAgentResponseBody.js.map +1 -1
- package/dist/models/GetMcpMarketItemRequest.d.ts +13 -0
- package/dist/models/GetMcpMarketItemRequest.js +54 -0
- package/dist/models/GetMcpMarketItemRequest.js.map +1 -0
- package/dist/models/GetMcpMarketItemResponse.d.ts +19 -0
- package/dist/models/GetMcpMarketItemResponse.js +69 -0
- package/dist/models/GetMcpMarketItemResponse.js.map +1 -0
- package/dist/models/GetMcpMarketItemResponseBody.d.ts +178 -0
- package/dist/models/GetMcpMarketItemResponseBody.js +119 -0
- package/dist/models/GetMcpMarketItemResponseBody.js.map +1 -0
- package/dist/models/GetMcpResponseBody.d.ts +922 -35
- package/dist/models/GetMcpResponseBody.js +612 -1
- package/dist/models/GetMcpResponseBody.js.map +1 -1
- package/dist/models/GetTeamResponseBody.d.ts +12 -20
- package/dist/models/GetTeamResponseBody.js +0 -2
- package/dist/models/GetTeamResponseBody.js.map +1 -1
- package/dist/models/GetWorkspaceResponseBody.d.ts +33 -5
- package/dist/models/GetWorkspaceResponseBody.js +8 -0
- package/dist/models/GetWorkspaceResponseBody.js.map +1 -1
- package/dist/models/InstallMcpMarketItemRequest.d.ts +941 -0
- package/dist/models/InstallMcpMarketItemRequest.js +693 -0
- package/dist/models/InstallMcpMarketItemRequest.js.map +1 -0
- package/dist/models/InstallMcpMarketItemResponse.d.ts +19 -0
- package/dist/models/InstallMcpMarketItemResponse.js +69 -0
- package/dist/models/InstallMcpMarketItemResponse.js.map +1 -0
- package/dist/models/InstallMcpMarketItemResponseBody.d.ts +969 -0
- package/dist/models/InstallMcpMarketItemResponseBody.js +688 -0
- package/dist/models/InstallMcpMarketItemResponseBody.js.map +1 -0
- package/dist/models/InstallMcpMarketItemShrinkRequest.d.ts +36 -0
- package/dist/models/InstallMcpMarketItemShrinkRequest.js +62 -0
- package/dist/models/InstallMcpMarketItemShrinkRequest.js.map +1 -0
- package/dist/models/ListConnectorModelsRequest.d.ts +37 -0
- package/dist/models/ListConnectorModelsRequest.js +62 -0
- package/dist/models/ListConnectorModelsRequest.js.map +1 -0
- package/dist/models/ListConnectorModelsResponse.d.ts +19 -0
- package/dist/models/ListConnectorModelsResponse.js +69 -0
- package/dist/models/ListConnectorModelsResponse.js.map +1 -0
- package/dist/models/ListConnectorModelsResponseBody.d.ts +144 -0
- package/dist/models/ListConnectorModelsResponseBody.js +106 -0
- package/dist/models/ListConnectorModelsResponseBody.js.map +1 -0
- package/dist/models/ListConnectorsRequest.d.ts +29 -0
- package/dist/models/ListConnectorsRequest.js +60 -0
- package/dist/models/ListConnectorsRequest.js.map +1 -0
- package/dist/models/ListConnectorsResponse.d.ts +19 -0
- package/dist/models/ListConnectorsResponse.js +69 -0
- package/dist/models/ListConnectorsResponse.js.map +1 -0
- package/dist/models/ListConnectorsResponseBody.d.ts +134 -0
- package/dist/models/ListConnectorsResponseBody.js +104 -0
- package/dist/models/ListConnectorsResponseBody.js.map +1 -0
- package/dist/models/ListCredentialsRequest.d.ts +2 -2
- package/dist/models/ListCredentialsResponseBody.d.ts +53 -4
- package/dist/models/ListCredentialsResponseBody.js +31 -1
- package/dist/models/ListCredentialsResponseBody.js.map +1 -1
- package/dist/models/ListExternalAgentsResponseBody.d.ts +7 -15
- package/dist/models/ListExternalAgentsResponseBody.js +0 -2
- package/dist/models/ListExternalAgentsResponseBody.js.map +1 -1
- package/dist/models/ListManagedAgentsResponseBody.d.ts +65 -9
- package/dist/models/ListManagedAgentsResponseBody.js +51 -3
- package/dist/models/ListManagedAgentsResponseBody.js.map +1 -1
- package/dist/models/ListMcpMarketItemsRequest.d.ts +53 -0
- package/dist/models/ListMcpMarketItemsRequest.js +66 -0
- package/dist/models/ListMcpMarketItemsRequest.js.map +1 -0
- package/dist/models/ListMcpMarketItemsResponse.d.ts +19 -0
- package/dist/models/ListMcpMarketItemsResponse.js +69 -0
- package/dist/models/ListMcpMarketItemsResponse.js.map +1 -0
- package/dist/models/ListMcpMarketItemsResponseBody.d.ts +202 -0
- package/dist/models/ListMcpMarketItemsResponseBody.js +125 -0
- package/dist/models/ListMcpMarketItemsResponseBody.js.map +1 -0
- package/dist/models/ListMcpsRequest.d.ts +15 -2
- package/dist/models/ListMcpsRequest.js +4 -0
- package/dist/models/ListMcpsRequest.js.map +1 -1
- package/dist/models/ListMcpsResponseBody.d.ts +864 -31
- package/dist/models/ListMcpsResponseBody.js +580 -1
- package/dist/models/ListMcpsResponseBody.js.map +1 -1
- package/dist/models/ListSandboxSessionsRequest.d.ts +26 -0
- package/dist/models/ListSandboxSessionsRequest.js +60 -0
- package/dist/models/ListSandboxSessionsRequest.js.map +1 -0
- package/dist/models/ListSandboxSessionsResponse.d.ts +19 -0
- package/dist/models/ListSandboxSessionsResponse.js +69 -0
- package/dist/models/ListSandboxSessionsResponse.js.map +1 -0
- package/dist/models/ListSandboxSessionsResponseBody.d.ts +41 -0
- package/dist/models/ListSandboxSessionsResponseBody.js +100 -0
- package/dist/models/ListSandboxSessionsResponseBody.js.map +1 -0
- package/dist/models/ListSandboxesRequest.d.ts +42 -0
- package/dist/models/ListSandboxesRequest.js +64 -0
- package/dist/models/ListSandboxesRequest.js.map +1 -0
- package/dist/models/ListSandboxesResponse.d.ts +19 -0
- package/dist/models/ListSandboxesResponse.js +69 -0
- package/dist/models/ListSandboxesResponse.js.map +1 -0
- package/dist/models/ListSandboxesResponseBody.d.ts +41 -0
- package/dist/models/ListSandboxesResponseBody.js +108 -0
- package/dist/models/ListSandboxesResponseBody.js.map +1 -0
- package/dist/models/ListWorkspacesResponseBody.d.ts +4 -4
- package/dist/models/UpdateAgentImchannelCredentialRequest.d.ts +1 -1
- package/dist/models/UpdateAgentImchannelCredentialResponseBody.d.ts +2 -2
- package/dist/models/UpdateAgentImchannelCredentialShrinkRequest.d.ts +1 -1
- package/dist/models/UpdateAgentImchannelRequest.d.ts +4 -4
- package/dist/models/UpdateAgentImchannelResponseBody.d.ts +4 -4
- package/dist/models/UpdateAgentImchannelShrinkRequest.d.ts +1 -1
- package/dist/models/UpdateConnectorRequest.d.ts +42 -0
- package/dist/models/UpdateConnectorRequest.js +80 -0
- package/dist/models/UpdateConnectorRequest.js.map +1 -0
- package/dist/models/UpdateConnectorResponse.d.ts +19 -0
- package/dist/models/UpdateConnectorResponse.js +69 -0
- package/dist/models/UpdateConnectorResponse.js.map +1 -0
- package/dist/models/UpdateConnectorResponseBody.d.ts +110 -0
- package/dist/models/UpdateConnectorResponseBody.js +98 -0
- package/dist/models/UpdateConnectorResponseBody.js.map +1 -0
- package/dist/models/UpdateConnectorShrinkRequest.d.ts +20 -0
- package/dist/models/UpdateConnectorShrinkRequest.js +58 -0
- package/dist/models/UpdateConnectorShrinkRequest.js.map +1 -0
- package/dist/models/UpdateCredentialRequest.d.ts +50 -1
- package/dist/models/UpdateCredentialRequest.js +31 -1
- package/dist/models/UpdateCredentialRequest.js.map +1 -1
- package/dist/models/UpdateCredentialResponseBody.d.ts +53 -4
- package/dist/models/UpdateCredentialResponseBody.js +31 -1
- package/dist/models/UpdateCredentialResponseBody.js.map +1 -1
- package/dist/models/UpdateExternalAgentRequest.d.ts +6 -6
- package/dist/models/UpdateExternalAgentRequest.js.map +1 -1
- package/dist/models/UpdateExternalAgentResponseBody.d.ts +18 -91
- package/dist/models/UpdateExternalAgentResponseBody.js +1 -37
- package/dist/models/UpdateExternalAgentResponseBody.js.map +1 -1
- package/dist/models/UpdateExternalAgentShrinkRequest.d.ts +1 -1
- package/dist/models/UpdateIdentityProviderRequest.d.ts +3 -3
- package/dist/models/UpdateIdentityProviderResponseBody.d.ts +2 -2
- package/dist/models/UpdateManagedAgentRequest.d.ts +146 -13
- package/dist/models/UpdateManagedAgentRequest.js +113 -1
- package/dist/models/UpdateManagedAgentRequest.js.map +1 -1
- package/dist/models/UpdateManagedAgentResponseBody.d.ts +160 -20
- package/dist/models/UpdateManagedAgentResponseBody.js +118 -1
- package/dist/models/UpdateManagedAgentResponseBody.js.map +1 -1
- package/dist/models/UpdateManagedAgentShrinkRequest.d.ts +1 -1
- package/dist/models/UpdateMcpRequest.d.ts +775 -8
- package/dist/models/UpdateMcpRequest.js +544 -1
- package/dist/models/UpdateMcpRequest.js.map +1 -1
- package/dist/models/UpdateMcpResponseBody.d.ts +1 -1
- package/dist/models/UpdateMcpShrinkRequest.d.ts +1 -1
- package/dist/models/UpdateMcpTemplateConfigRequest.d.ts +908 -0
- package/dist/models/UpdateMcpTemplateConfigRequest.js +685 -0
- package/dist/models/UpdateMcpTemplateConfigRequest.js.map +1 -0
- package/dist/models/UpdateMcpTemplateConfigResponse.d.ts +19 -0
- package/dist/models/UpdateMcpTemplateConfigResponse.js +69 -0
- package/dist/models/UpdateMcpTemplateConfigResponse.js.map +1 -0
- package/dist/models/UpdateMcpTemplateConfigResponseBody.d.ts +971 -0
- package/dist/models/UpdateMcpTemplateConfigResponseBody.js +688 -0
- package/dist/models/UpdateMcpTemplateConfigResponseBody.js.map +1 -0
- package/dist/models/UpdateMcpTemplateConfigShrinkRequest.d.ts +36 -0
- package/dist/models/UpdateMcpTemplateConfigShrinkRequest.js +62 -0
- package/dist/models/UpdateMcpTemplateConfigShrinkRequest.js.map +1 -0
- package/dist/models/UpdateModelRequest.d.ts +75 -4
- package/dist/models/UpdateModelRequest.js +43 -1
- package/dist/models/UpdateModelRequest.js.map +1 -1
- package/dist/models/UpdateModelResponseBody.d.ts +8 -8
- package/dist/models/UpdateModelShrinkRequest.d.ts +2 -2
- package/dist/models/UpdateTeamRequest.d.ts +12 -6
- package/dist/models/UpdateTeamRequest.js.map +1 -1
- package/dist/models/UpdateTeamResponseBody.d.ts +23 -9
- package/dist/models/UpdateTeamResponseBody.js.map +1 -1
- package/dist/models/UpdateWorkspaceRequest.d.ts +4 -4
- package/dist/models/UpdateWorkspaceResponseBody.d.ts +18 -3
- package/dist/models/UpdateWorkspaceResponseBody.js +6 -0
- package/dist/models/UpdateWorkspaceResponseBody.js.map +1 -1
- package/dist/models/UploadAgentSpecViaOssRequest.d.ts +2 -2
- package/dist/models/UploadAgentSpecViaOssResponseBody.d.ts +1 -1
- package/dist/models/VerifyConnectorRequest.d.ts +42 -0
- package/dist/models/VerifyConnectorRequest.js +80 -0
- package/dist/models/VerifyConnectorRequest.js.map +1 -0
- package/dist/models/VerifyConnectorResponse.d.ts +19 -0
- package/dist/models/VerifyConnectorResponse.js +69 -0
- package/dist/models/VerifyConnectorResponse.js.map +1 -0
- package/dist/models/VerifyConnectorResponseBody.d.ts +86 -0
- package/dist/models/VerifyConnectorResponseBody.js +95 -0
- package/dist/models/VerifyConnectorResponseBody.js.map +1 -0
- package/dist/models/VerifyConnectorShrinkRequest.d.ts +20 -0
- package/dist/models/VerifyConnectorShrinkRequest.js +58 -0
- package/dist/models/VerifyConnectorShrinkRequest.js.map +1 -0
- package/dist/models/VerifyWorkspaceOssMountRamAuthorizationRequest.d.ts +18 -0
- package/dist/models/VerifyWorkspaceOssMountRamAuthorizationRequest.js +58 -0
- package/dist/models/VerifyWorkspaceOssMountRamAuthorizationRequest.js.map +1 -0
- package/dist/models/VerifyWorkspaceOssMountRamAuthorizationResponse.d.ts +19 -0
- package/dist/models/VerifyWorkspaceOssMountRamAuthorizationResponse.js +69 -0
- package/dist/models/VerifyWorkspaceOssMountRamAuthorizationResponse.js.map +1 -0
- package/dist/models/VerifyWorkspaceOssMountRamAuthorizationResponseBody.d.ts +60 -0
- package/dist/models/VerifyWorkspaceOssMountRamAuthorizationResponseBody.js +90 -0
- package/dist/models/VerifyWorkspaceOssMountRamAuthorizationResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +288 -3
- package/dist/models/model.js +755 -179
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +924 -90
- package/src/models/ConvertMcpToFreeEditRequest.ts +34 -0
- package/src/models/ConvertMcpToFreeEditResponse.ts +40 -0
- package/src/models/ConvertMcpToFreeEditResponseBody.ts +1425 -0
- package/src/models/CreateAgentSpecResponseBody.ts +1 -1
- package/src/models/CreateCredentialRequest.ts +72 -2
- package/src/models/CreateCredentialResponseBody.ts +73 -3
- package/src/models/CreateExternalAgentRequest.ts +6 -4
- package/src/models/CreateExternalAgentResponseBody.ts +20 -118
- package/src/models/CreateExternalAgentShrinkRequest.ts +1 -1
- package/src/models/CreateManagedAgentRequest.ts +221 -12
- package/src/models/CreateManagedAgentResponseBody.ts +237 -18
- package/src/models/CreateMcpRequest.ts +1193 -41
- package/src/models/CreateMcpResponseBody.ts +1353 -55
- package/src/models/CreateMcpShrinkRequest.ts +1 -1
- package/src/models/CreateTeamRequest.ts +4 -10
- package/src/models/CreateTeamResponseBody.ts +7 -21
- package/src/models/CreateWorkspaceRequest.ts +4 -1
- package/src/models/CreateWorkspaceResponseBody.ts +143 -2
- package/src/models/DeleteAgentSpecVersionResponseBody.ts +1 -1
- package/src/models/DeleteCredentialResponseBody.ts +1 -1
- package/src/models/DeleteExternalAgentResponseBody.ts +4 -14
- package/src/models/DeleteIdentityProviderResponseBody.ts +9 -5
- package/src/models/DeleteManagedAgentResponseBody.ts +4 -14
- package/src/models/DisableConnectorRequest.ts +24 -0
- package/src/models/DisableConnectorResponse.ts +40 -0
- package/src/models/DisableConnectorResponseBody.ts +154 -0
- package/src/models/EnableConnectorRequest.ts +68 -0
- package/src/models/EnableConnectorResponse.ts +40 -0
- package/src/models/EnableConnectorResponseBody.ts +154 -0
- package/src/models/EnableConnectorShrinkRequest.ts +33 -0
- package/src/models/GetAgentImchannelResponseBody.ts +11 -11
- package/src/models/GetAgentSpecImportFileUrlResponseBody.ts +1 -1
- package/src/models/GetAgentSpecVersionResponseBody.ts +2 -2
- package/src/models/GetCredentialResponseBody.ts +77 -7
- package/src/models/GetExternalAgentBootstrapOptionsResponseBody.ts +3 -3
- package/src/models/GetExternalAgentResponseBody.ts +27 -125
- package/src/models/GetIdentityProviderResponseBody.ts +4 -4
- package/src/models/GetManagedAgentResponseBody.ts +231 -12
- package/src/models/GetMcpMarketItemRequest.ts +24 -0
- package/src/models/GetMcpMarketItemResponse.ts +40 -0
- package/src/models/GetMcpMarketItemResponseBody.ts +241 -0
- package/src/models/GetMcpResponseBody.ts +1373 -59
- package/src/models/GetTeamResponseBody.ts +12 -22
- package/src/models/GetWorkspaceResponseBody.ts +41 -5
- package/src/models/InstallMcpMarketItemRequest.ts +1396 -0
- package/src/models/InstallMcpMarketItemResponse.ts +40 -0
- package/src/models/InstallMcpMarketItemResponseBody.ts +1428 -0
- package/src/models/InstallMcpMarketItemShrinkRequest.ts +53 -0
- package/src/models/ListConnectorModelsRequest.ts +54 -0
- package/src/models/ListConnectorModelsResponse.ts +40 -0
- package/src/models/ListConnectorModelsResponseBody.ts +196 -0
- package/src/models/ListConnectorsRequest.ts +44 -0
- package/src/models/ListConnectorsResponse.ts +40 -0
- package/src/models/ListConnectorsResponseBody.ts +184 -0
- package/src/models/ListCredentialsRequest.ts +2 -2
- package/src/models/ListCredentialsResponseBody.ts +74 -4
- package/src/models/ListExternalAgentsResponseBody.ts +7 -17
- package/src/models/ListManagedAgentsResponseBody.ts +97 -11
- package/src/models/ListMcpMarketItemsRequest.ts +74 -0
- package/src/models/ListMcpMarketItemsResponse.ts +40 -0
- package/src/models/ListMcpMarketItemsResponseBody.ts +271 -0
- package/src/models/ListMcpsRequest.ts +19 -2
- package/src/models/ListMcpsResponseBody.ts +1292 -55
- package/src/models/ListSandboxSessionsRequest.ts +41 -0
- package/src/models/ListSandboxSessionsResponse.ts +40 -0
- package/src/models/ListSandboxSessionsResponseBody.ts +87 -0
- package/src/models/ListSandboxesRequest.ts +61 -0
- package/src/models/ListSandboxesResponse.ts +40 -0
- package/src/models/ListSandboxesResponseBody.ts +95 -0
- package/src/models/ListWorkspacesResponseBody.ts +4 -4
- package/src/models/UpdateAgentImchannelCredentialRequest.ts +1 -1
- package/src/models/UpdateAgentImchannelCredentialResponseBody.ts +2 -2
- package/src/models/UpdateAgentImchannelCredentialShrinkRequest.ts +1 -1
- package/src/models/UpdateAgentImchannelRequest.ts +4 -4
- package/src/models/UpdateAgentImchannelResponseBody.ts +4 -4
- package/src/models/UpdateAgentImchannelShrinkRequest.ts +1 -1
- package/src/models/UpdateConnectorRequest.ts +68 -0
- package/src/models/UpdateConnectorResponse.ts +40 -0
- package/src/models/UpdateConnectorResponseBody.ts +154 -0
- package/src/models/UpdateConnectorShrinkRequest.ts +33 -0
- package/src/models/UpdateCredentialRequest.ts +71 -1
- package/src/models/UpdateCredentialResponseBody.ts +74 -4
- package/src/models/UpdateExternalAgentRequest.ts +6 -6
- package/src/models/UpdateExternalAgentResponseBody.ts +18 -118
- package/src/models/UpdateExternalAgentShrinkRequest.ts +1 -1
- package/src/models/UpdateIdentityProviderRequest.ts +3 -3
- package/src/models/UpdateIdentityProviderResponseBody.ts +2 -2
- package/src/models/UpdateManagedAgentRequest.ts +222 -13
- package/src/models/UpdateManagedAgentResponseBody.ts +239 -20
- package/src/models/UpdateManagedAgentShrinkRequest.ts +1 -1
- package/src/models/UpdateMcpRequest.ts +1166 -22
- package/src/models/UpdateMcpResponseBody.ts +1 -1
- package/src/models/UpdateMcpShrinkRequest.ts +1 -1
- package/src/models/UpdateMcpTemplateConfigRequest.ts +1355 -0
- package/src/models/UpdateMcpTemplateConfigResponse.ts +40 -0
- package/src/models/UpdateMcpTemplateConfigResponseBody.ts +1430 -0
- package/src/models/UpdateMcpTemplateConfigShrinkRequest.ts +53 -0
- package/src/models/UpdateModelRequest.ts +108 -4
- package/src/models/UpdateModelResponseBody.ts +8 -8
- package/src/models/UpdateModelShrinkRequest.ts +2 -2
- package/src/models/UpdateTeamRequest.ts +12 -6
- package/src/models/UpdateTeamResponseBody.ts +23 -9
- package/src/models/UpdateWorkspaceRequest.ts +4 -4
- package/src/models/UpdateWorkspaceResponseBody.ts +24 -3
- package/src/models/UploadAgentSpecViaOssRequest.ts +2 -2
- package/src/models/UploadAgentSpecViaOssResponseBody.ts +1 -1
- package/src/models/VerifyConnectorRequest.ts +68 -0
- package/src/models/VerifyConnectorResponse.ts +40 -0
- package/src/models/VerifyConnectorResponseBody.ts +127 -0
- package/src/models/VerifyConnectorShrinkRequest.ts +33 -0
- package/src/models/VerifyWorkspaceOssMountRamAuthorizationRequest.ts +31 -0
- package/src/models/VerifyWorkspaceOssMountRamAuthorizationResponse.ts +40 -0
- package/src/models/VerifyWorkspaceOssMountRamAuthorizationResponseBody.ts +96 -0
- package/src/models/model.ts +288 -3
|
@@ -2,34 +2,984 @@
|
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
export class GetMcpResponseBodyDataAuthCodePackage extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The API key used to verify MCP callers.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* example-api-key
|
|
12
|
+
*/
|
|
13
|
+
apiKey?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The name of the request header that carries the API key.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* X-API-Key
|
|
20
|
+
*/
|
|
21
|
+
headerName?: string;
|
|
22
|
+
static names(): { [key: string]: string } {
|
|
23
|
+
return {
|
|
24
|
+
apiKey: 'apiKey',
|
|
25
|
+
headerName: 'headerName',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
apiKey: 'string',
|
|
32
|
+
headerName: 'string',
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
validate() {
|
|
37
|
+
super.validate();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
constructor(map?: { [key: string]: any }) {
|
|
41
|
+
super(map);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
5
45
|
export class GetMcpResponseBodyDataAuthDirectProxy extends $dara.Model {
|
|
6
46
|
/**
|
|
7
47
|
* @remarks
|
|
8
|
-
* The name.
|
|
48
|
+
* The name.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* mcp-example
|
|
52
|
+
*/
|
|
53
|
+
name?: string;
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The authentication parameter value.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* example-credential
|
|
60
|
+
*/
|
|
61
|
+
value?: string;
|
|
62
|
+
static names(): { [key: string]: string } {
|
|
63
|
+
return {
|
|
64
|
+
name: 'name',
|
|
65
|
+
value: 'value',
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
static types(): { [key: string]: any } {
|
|
70
|
+
return {
|
|
71
|
+
name: 'string',
|
|
72
|
+
value: 'string',
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
validate() {
|
|
77
|
+
super.validate();
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
constructor(map?: { [key: string]: any }) {
|
|
81
|
+
super(map);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export class GetMcpResponseBodyDataAuthHttpToMcp extends $dara.Model {
|
|
86
|
+
/**
|
|
87
|
+
* @remarks
|
|
88
|
+
* The authentication credential.
|
|
89
|
+
*
|
|
90
|
+
* @example
|
|
91
|
+
* example-credential
|
|
92
|
+
*/
|
|
93
|
+
credential?: string;
|
|
94
|
+
/**
|
|
95
|
+
* @remarks
|
|
96
|
+
* The authentication scheme ID.
|
|
97
|
+
*
|
|
98
|
+
* @example
|
|
99
|
+
* mcp-1234567890abcdef
|
|
100
|
+
*/
|
|
101
|
+
id?: string;
|
|
102
|
+
/**
|
|
103
|
+
* @remarks
|
|
104
|
+
* The name.
|
|
105
|
+
*
|
|
106
|
+
* @example
|
|
107
|
+
* mcp-example
|
|
108
|
+
*/
|
|
109
|
+
name?: string;
|
|
110
|
+
/**
|
|
111
|
+
* @remarks
|
|
112
|
+
* The position of the credential.
|
|
113
|
+
*
|
|
114
|
+
* @example
|
|
115
|
+
* header
|
|
116
|
+
*/
|
|
117
|
+
position?: string;
|
|
118
|
+
/**
|
|
119
|
+
* @remarks
|
|
120
|
+
* The type.
|
|
121
|
+
*
|
|
122
|
+
* @example
|
|
123
|
+
* basic
|
|
124
|
+
*/
|
|
125
|
+
type?: string;
|
|
126
|
+
static names(): { [key: string]: string } {
|
|
127
|
+
return {
|
|
128
|
+
credential: 'credential',
|
|
129
|
+
id: 'id',
|
|
130
|
+
name: 'name',
|
|
131
|
+
position: 'position',
|
|
132
|
+
type: 'type',
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
static types(): { [key: string]: any } {
|
|
137
|
+
return {
|
|
138
|
+
credential: 'string',
|
|
139
|
+
id: 'string',
|
|
140
|
+
name: 'string',
|
|
141
|
+
position: 'string',
|
|
142
|
+
type: 'string',
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
validate() {
|
|
147
|
+
super.validate();
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
constructor(map?: { [key: string]: any }) {
|
|
151
|
+
super(map);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
export class GetMcpResponseBodyDataAuth extends $dara.Model {
|
|
156
|
+
/**
|
|
157
|
+
* @remarks
|
|
158
|
+
* The API key authentication configuration for code-deployed MCP callers.
|
|
159
|
+
*/
|
|
160
|
+
codePackage?: GetMcpResponseBodyDataAuthCodePackage;
|
|
161
|
+
/**
|
|
162
|
+
* @remarks
|
|
163
|
+
* The authentication configuration for direct proxy connections.
|
|
164
|
+
*/
|
|
165
|
+
directProxy?: GetMcpResponseBodyDataAuthDirectProxy;
|
|
166
|
+
/**
|
|
167
|
+
* @remarks
|
|
168
|
+
* Indicates whether the configuration is enabled.
|
|
169
|
+
*/
|
|
170
|
+
enabled?: boolean;
|
|
171
|
+
/**
|
|
172
|
+
* @remarks
|
|
173
|
+
* The list of HTTP_TO_MCP authentication configurations.
|
|
174
|
+
*/
|
|
175
|
+
httpToMcp?: GetMcpResponseBodyDataAuthHttpToMcp[];
|
|
176
|
+
static names(): { [key: string]: string } {
|
|
177
|
+
return {
|
|
178
|
+
codePackage: 'codePackage',
|
|
179
|
+
directProxy: 'directProxy',
|
|
180
|
+
enabled: 'enabled',
|
|
181
|
+
httpToMcp: 'httpToMcp',
|
|
182
|
+
};
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
static types(): { [key: string]: any } {
|
|
186
|
+
return {
|
|
187
|
+
codePackage: GetMcpResponseBodyDataAuthCodePackage,
|
|
188
|
+
directProxy: GetMcpResponseBodyDataAuthDirectProxy,
|
|
189
|
+
enabled: 'boolean',
|
|
190
|
+
httpToMcp: { 'type': 'array', 'itemType': GetMcpResponseBodyDataAuthHttpToMcp },
|
|
191
|
+
};
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
validate() {
|
|
195
|
+
if(this.codePackage && typeof (this.codePackage as any).validate === 'function') {
|
|
196
|
+
(this.codePackage as any).validate();
|
|
197
|
+
}
|
|
198
|
+
if(this.directProxy && typeof (this.directProxy as any).validate === 'function') {
|
|
199
|
+
(this.directProxy as any).validate();
|
|
200
|
+
}
|
|
201
|
+
if(Array.isArray(this.httpToMcp)) {
|
|
202
|
+
$dara.Model.validateArray(this.httpToMcp);
|
|
203
|
+
}
|
|
204
|
+
super.validate();
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
constructor(map?: { [key: string]: any }) {
|
|
208
|
+
super(map);
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
export class GetMcpResponseBodyDataDeploymentConfigAccessControl extends $dara.Model {
|
|
213
|
+
/**
|
|
214
|
+
* @remarks
|
|
215
|
+
* The AgentCore Credential referenced when mode is set to CREDENTIAL.
|
|
216
|
+
*
|
|
217
|
+
* @example
|
|
218
|
+
* credential-id
|
|
219
|
+
*/
|
|
220
|
+
credentialId?: string;
|
|
221
|
+
/**
|
|
222
|
+
* @remarks
|
|
223
|
+
* Indicates whether ingress access control is enabled.
|
|
224
|
+
*/
|
|
225
|
+
enabled?: boolean;
|
|
226
|
+
/**
|
|
227
|
+
* @remarks
|
|
228
|
+
* ANONYMOUS indicates anonymous access. CREDENTIAL indicates the use of AgentCore access credentials.
|
|
229
|
+
*
|
|
230
|
+
* @example
|
|
231
|
+
* CREDENTIAL
|
|
232
|
+
*/
|
|
233
|
+
mode?: string;
|
|
234
|
+
static names(): { [key: string]: string } {
|
|
235
|
+
return {
|
|
236
|
+
credentialId: 'credentialId',
|
|
237
|
+
enabled: 'enabled',
|
|
238
|
+
mode: 'mode',
|
|
239
|
+
};
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
static types(): { [key: string]: any } {
|
|
243
|
+
return {
|
|
244
|
+
credentialId: 'string',
|
|
245
|
+
enabled: 'boolean',
|
|
246
|
+
mode: 'string',
|
|
247
|
+
};
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
validate() {
|
|
251
|
+
super.validate();
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
constructor(map?: { [key: string]: any }) {
|
|
255
|
+
super(map);
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
export class GetMcpResponseBodyDataDeploymentConfigAgentIdentityConfiguration extends $dara.Model {
|
|
260
|
+
/**
|
|
261
|
+
* @remarks
|
|
262
|
+
* Indicates whether authorization is enabled.
|
|
263
|
+
*/
|
|
264
|
+
authorizationEnabled?: boolean;
|
|
265
|
+
/**
|
|
266
|
+
* @remarks
|
|
267
|
+
* The credential provider ARN.
|
|
268
|
+
*
|
|
269
|
+
* @example
|
|
270
|
+
* acs:agentidentity:cn-hangzhou:1234567890123456:provider/example
|
|
271
|
+
*/
|
|
272
|
+
credentialProviderArn?: string;
|
|
273
|
+
/**
|
|
274
|
+
* @remarks
|
|
275
|
+
* The credential provider type.
|
|
276
|
+
*
|
|
277
|
+
* @example
|
|
278
|
+
* oauth2
|
|
279
|
+
*/
|
|
280
|
+
credentialProviderType?: string;
|
|
281
|
+
/**
|
|
282
|
+
* @remarks
|
|
283
|
+
* Indicates whether Agent Identity is enabled.
|
|
284
|
+
*/
|
|
285
|
+
enabled?: boolean;
|
|
286
|
+
static names(): { [key: string]: string } {
|
|
287
|
+
return {
|
|
288
|
+
authorizationEnabled: 'authorizationEnabled',
|
|
289
|
+
credentialProviderArn: 'credentialProviderArn',
|
|
290
|
+
credentialProviderType: 'credentialProviderType',
|
|
291
|
+
enabled: 'enabled',
|
|
292
|
+
};
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
static types(): { [key: string]: any } {
|
|
296
|
+
return {
|
|
297
|
+
authorizationEnabled: 'boolean',
|
|
298
|
+
credentialProviderArn: 'string',
|
|
299
|
+
credentialProviderType: 'string',
|
|
300
|
+
enabled: 'boolean',
|
|
301
|
+
};
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
validate() {
|
|
305
|
+
super.validate();
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
constructor(map?: { [key: string]: any }) {
|
|
309
|
+
super(map);
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
export class GetMcpResponseBodyDataDeploymentConfigCodeConfiguration extends $dara.Model {
|
|
314
|
+
/**
|
|
315
|
+
* @remarks
|
|
316
|
+
* The temporary code package token returned by GetMcpCodePackageUploadUrl. Use this token to create or update a code deployment after completing the pre-signed upload.
|
|
317
|
+
*
|
|
318
|
+
* @example
|
|
319
|
+
* upload-token
|
|
320
|
+
*/
|
|
321
|
+
codePackageToken?: string;
|
|
322
|
+
/**
|
|
323
|
+
* @remarks
|
|
324
|
+
* The full startup command, with arguments passed in order by parameter boundary. For example, when using supergateway to start a stdio MCP, pass supergateway, --stdio, the full subcommand, and remaining arguments.
|
|
325
|
+
*/
|
|
326
|
+
command?: string[];
|
|
327
|
+
/**
|
|
328
|
+
* @remarks
|
|
329
|
+
* The runtime of the code package: python3.13, nodejs22, or java17.
|
|
330
|
+
*
|
|
331
|
+
* @example
|
|
332
|
+
* python3.13
|
|
333
|
+
*/
|
|
334
|
+
language?: string;
|
|
335
|
+
static names(): { [key: string]: string } {
|
|
336
|
+
return {
|
|
337
|
+
codePackageToken: 'codePackageToken',
|
|
338
|
+
command: 'command',
|
|
339
|
+
language: 'language',
|
|
340
|
+
};
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
static types(): { [key: string]: any } {
|
|
344
|
+
return {
|
|
345
|
+
codePackageToken: 'string',
|
|
346
|
+
command: { 'type': 'array', 'itemType': 'string' },
|
|
347
|
+
language: 'string',
|
|
348
|
+
};
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
validate() {
|
|
352
|
+
if(Array.isArray(this.command)) {
|
|
353
|
+
$dara.Model.validateArray(this.command);
|
|
354
|
+
}
|
|
355
|
+
super.validate();
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
constructor(map?: { [key: string]: any }) {
|
|
359
|
+
super(map);
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
export class GetMcpResponseBodyDataDeploymentConfigContainerConfiguration extends $dara.Model {
|
|
364
|
+
/**
|
|
365
|
+
* @remarks
|
|
366
|
+
* The ACR instance ID.
|
|
367
|
+
*
|
|
368
|
+
* @example
|
|
369
|
+
* cri-example
|
|
370
|
+
*/
|
|
371
|
+
acrInstanceId?: string;
|
|
372
|
+
/**
|
|
373
|
+
* @remarks
|
|
374
|
+
* The startup command.
|
|
375
|
+
*/
|
|
376
|
+
command?: string[];
|
|
377
|
+
/**
|
|
378
|
+
* @remarks
|
|
379
|
+
* The container entrypoint parameters.
|
|
380
|
+
*/
|
|
381
|
+
entrypoint?: string[];
|
|
382
|
+
/**
|
|
383
|
+
* @remarks
|
|
384
|
+
* The container image address.
|
|
385
|
+
*
|
|
386
|
+
* @example
|
|
387
|
+
* registry.cn-hangzhou.aliyuncs.com/example/mcp:1.0.0
|
|
388
|
+
*/
|
|
389
|
+
image?: string;
|
|
390
|
+
/**
|
|
391
|
+
* @remarks
|
|
392
|
+
* The image registry type.
|
|
393
|
+
*
|
|
394
|
+
* @example
|
|
395
|
+
* ACR
|
|
396
|
+
*/
|
|
397
|
+
imageRegistryType?: string;
|
|
398
|
+
/**
|
|
399
|
+
* @remarks
|
|
400
|
+
* The custom container must expose a standard MCP endpoint on its own. The value is SELF_HOSTED.
|
|
401
|
+
*
|
|
402
|
+
* @example
|
|
403
|
+
* SELF_HOSTED
|
|
404
|
+
*/
|
|
405
|
+
mcpRuntimeMode?: string;
|
|
406
|
+
/**
|
|
407
|
+
* @remarks
|
|
408
|
+
* The value is fixed to CONTAINER_IMAGE.
|
|
409
|
+
*
|
|
410
|
+
* @example
|
|
411
|
+
* CONTAINER_IMAGE
|
|
412
|
+
*/
|
|
413
|
+
sourceType?: string;
|
|
414
|
+
static names(): { [key: string]: string } {
|
|
415
|
+
return {
|
|
416
|
+
acrInstanceId: 'acrInstanceId',
|
|
417
|
+
command: 'command',
|
|
418
|
+
entrypoint: 'entrypoint',
|
|
419
|
+
image: 'image',
|
|
420
|
+
imageRegistryType: 'imageRegistryType',
|
|
421
|
+
mcpRuntimeMode: 'mcpRuntimeMode',
|
|
422
|
+
sourceType: 'sourceType',
|
|
423
|
+
};
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
static types(): { [key: string]: any } {
|
|
427
|
+
return {
|
|
428
|
+
acrInstanceId: 'string',
|
|
429
|
+
command: { 'type': 'array', 'itemType': 'string' },
|
|
430
|
+
entrypoint: { 'type': 'array', 'itemType': 'string' },
|
|
431
|
+
image: 'string',
|
|
432
|
+
imageRegistryType: 'string',
|
|
433
|
+
mcpRuntimeMode: 'string',
|
|
434
|
+
sourceType: 'string',
|
|
435
|
+
};
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
validate() {
|
|
439
|
+
if(Array.isArray(this.command)) {
|
|
440
|
+
$dara.Model.validateArray(this.command);
|
|
441
|
+
}
|
|
442
|
+
if(Array.isArray(this.entrypoint)) {
|
|
443
|
+
$dara.Model.validateArray(this.entrypoint);
|
|
444
|
+
}
|
|
445
|
+
super.validate();
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
constructor(map?: { [key: string]: any }) {
|
|
449
|
+
super(map);
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
export class GetMcpResponseBodyDataDeploymentConfigHookConfigurationHooks extends $dara.Model {
|
|
454
|
+
/**
|
|
455
|
+
* @remarks
|
|
456
|
+
* The hook API version.
|
|
457
|
+
*
|
|
458
|
+
* @example
|
|
459
|
+
* 1.0
|
|
460
|
+
*/
|
|
461
|
+
apiVersion?: string;
|
|
462
|
+
/**
|
|
463
|
+
* @remarks
|
|
464
|
+
* The hook description.
|
|
465
|
+
*
|
|
466
|
+
* @example
|
|
467
|
+
* Log MCP tool calling invokes
|
|
468
|
+
*/
|
|
469
|
+
description?: string;
|
|
470
|
+
/**
|
|
471
|
+
* @remarks
|
|
472
|
+
* Indicates whether the hook is enabled.
|
|
473
|
+
*/
|
|
474
|
+
enabled?: boolean;
|
|
475
|
+
/**
|
|
476
|
+
* @remarks
|
|
477
|
+
* The hook event.
|
|
478
|
+
*
|
|
479
|
+
* @example
|
|
480
|
+
* PRE_CALL_TOOL
|
|
481
|
+
*/
|
|
482
|
+
event?: string;
|
|
483
|
+
/**
|
|
484
|
+
* @remarks
|
|
485
|
+
* The hook request headers.
|
|
486
|
+
*/
|
|
487
|
+
headers?: { [key: string]: string };
|
|
488
|
+
/**
|
|
489
|
+
* @remarks
|
|
490
|
+
* The timeout period, in milliseconds.
|
|
491
|
+
*
|
|
492
|
+
* @example
|
|
493
|
+
* 3000
|
|
494
|
+
*/
|
|
495
|
+
timeout?: number;
|
|
496
|
+
/**
|
|
497
|
+
* @remarks
|
|
498
|
+
* The hook callback URL.
|
|
499
|
+
*
|
|
500
|
+
* @example
|
|
501
|
+
* https://example.com/mcp-hook
|
|
502
|
+
*/
|
|
503
|
+
url?: string;
|
|
504
|
+
static names(): { [key: string]: string } {
|
|
505
|
+
return {
|
|
506
|
+
apiVersion: 'apiVersion',
|
|
507
|
+
description: 'description',
|
|
508
|
+
enabled: 'enabled',
|
|
509
|
+
event: 'event',
|
|
510
|
+
headers: 'headers',
|
|
511
|
+
timeout: 'timeout',
|
|
512
|
+
url: 'url',
|
|
513
|
+
};
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
static types(): { [key: string]: any } {
|
|
517
|
+
return {
|
|
518
|
+
apiVersion: 'string',
|
|
519
|
+
description: 'string',
|
|
520
|
+
enabled: 'boolean',
|
|
521
|
+
event: 'string',
|
|
522
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
523
|
+
timeout: 'number',
|
|
524
|
+
url: 'string',
|
|
525
|
+
};
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
validate() {
|
|
529
|
+
if(this.headers) {
|
|
530
|
+
$dara.Model.validateMap(this.headers);
|
|
531
|
+
}
|
|
532
|
+
super.validate();
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
constructor(map?: { [key: string]: any }) {
|
|
536
|
+
super(map);
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
export class GetMcpResponseBodyDataDeploymentConfigHookConfiguration extends $dara.Model {
|
|
541
|
+
/**
|
|
542
|
+
* @remarks
|
|
543
|
+
* The hooks are executed in array order: PRE_LIST_TOOLS, PRE_CALL_TOOL, POST_LIST_TOOLS, and POST_CALL_TOOL.
|
|
544
|
+
*/
|
|
545
|
+
hooks?: GetMcpResponseBodyDataDeploymentConfigHookConfigurationHooks[];
|
|
546
|
+
static names(): { [key: string]: string } {
|
|
547
|
+
return {
|
|
548
|
+
hooks: 'hooks',
|
|
549
|
+
};
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
static types(): { [key: string]: any } {
|
|
553
|
+
return {
|
|
554
|
+
hooks: { 'type': 'array', 'itemType': GetMcpResponseBodyDataDeploymentConfigHookConfigurationHooks },
|
|
555
|
+
};
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
validate() {
|
|
559
|
+
if(Array.isArray(this.hooks)) {
|
|
560
|
+
$dara.Model.validateArray(this.hooks);
|
|
561
|
+
}
|
|
562
|
+
super.validate();
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
constructor(map?: { [key: string]: any }) {
|
|
566
|
+
super(map);
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
export class GetMcpResponseBodyDataDeploymentConfigLogConfiguration extends $dara.Model {
|
|
571
|
+
/**
|
|
572
|
+
* @remarks
|
|
573
|
+
* Indicates whether instance metrics are collected.
|
|
574
|
+
*/
|
|
575
|
+
enableInstanceMetrics?: boolean;
|
|
576
|
+
/**
|
|
577
|
+
* @remarks
|
|
578
|
+
* Indicates whether request metrics are collected.
|
|
579
|
+
*/
|
|
580
|
+
enableRequestMetrics?: boolean;
|
|
581
|
+
/**
|
|
582
|
+
* @remarks
|
|
583
|
+
* The log splitting begin rule for Function Compute (FC).
|
|
584
|
+
*
|
|
585
|
+
* @example
|
|
586
|
+
* DefaultRegex
|
|
587
|
+
*/
|
|
588
|
+
logBeginRule?: string;
|
|
589
|
+
/**
|
|
590
|
+
* @remarks
|
|
591
|
+
* The Logstore name.
|
|
592
|
+
*
|
|
593
|
+
* @example
|
|
594
|
+
* mcp-logs
|
|
595
|
+
*/
|
|
596
|
+
logstore?: string;
|
|
597
|
+
/**
|
|
598
|
+
* @remarks
|
|
599
|
+
* The Log Service project name.
|
|
600
|
+
*
|
|
601
|
+
* @example
|
|
602
|
+
* agentcore-mcp-logs
|
|
603
|
+
*/
|
|
604
|
+
project?: string;
|
|
605
|
+
static names(): { [key: string]: string } {
|
|
606
|
+
return {
|
|
607
|
+
enableInstanceMetrics: 'enableInstanceMetrics',
|
|
608
|
+
enableRequestMetrics: 'enableRequestMetrics',
|
|
609
|
+
logBeginRule: 'logBeginRule',
|
|
610
|
+
logstore: 'logstore',
|
|
611
|
+
project: 'project',
|
|
612
|
+
};
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
static types(): { [key: string]: any } {
|
|
616
|
+
return {
|
|
617
|
+
enableInstanceMetrics: 'boolean',
|
|
618
|
+
enableRequestMetrics: 'boolean',
|
|
619
|
+
logBeginRule: 'string',
|
|
620
|
+
logstore: 'string',
|
|
621
|
+
project: 'string',
|
|
622
|
+
};
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
validate() {
|
|
626
|
+
super.validate();
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
constructor(map?: { [key: string]: any }) {
|
|
630
|
+
super(map);
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
export class GetMcpResponseBodyDataDeploymentConfigMcpConfiguration extends $dara.Model {
|
|
635
|
+
/**
|
|
636
|
+
* @remarks
|
|
637
|
+
* The MCP endpoint path, such as /mcp or /sse.
|
|
638
|
+
*
|
|
639
|
+
* @example
|
|
640
|
+
* /mcp
|
|
641
|
+
*/
|
|
642
|
+
endpointPath?: string;
|
|
643
|
+
/**
|
|
644
|
+
* @remarks
|
|
645
|
+
* The value is fixed to 1.
|
|
646
|
+
*
|
|
647
|
+
* @example
|
|
648
|
+
* 1
|
|
649
|
+
*/
|
|
650
|
+
sessionConcurrencyPerInstance?: number;
|
|
651
|
+
/**
|
|
652
|
+
* @remarks
|
|
653
|
+
* The session idle timeout period, in seconds. Default value: 1800.
|
|
654
|
+
*
|
|
655
|
+
* @example
|
|
656
|
+
* 1800
|
|
657
|
+
*/
|
|
658
|
+
sessionIdleTimeoutSeconds?: number;
|
|
659
|
+
/**
|
|
660
|
+
* @remarks
|
|
661
|
+
* The maximum session lifetime, in seconds. Default value: 21600.
|
|
662
|
+
*
|
|
663
|
+
* @example
|
|
664
|
+
* 21600
|
|
665
|
+
*/
|
|
666
|
+
sessionMaxLifetimeSeconds?: number;
|
|
667
|
+
static names(): { [key: string]: string } {
|
|
668
|
+
return {
|
|
669
|
+
endpointPath: 'endpointPath',
|
|
670
|
+
sessionConcurrencyPerInstance: 'sessionConcurrencyPerInstance',
|
|
671
|
+
sessionIdleTimeoutSeconds: 'sessionIdleTimeoutSeconds',
|
|
672
|
+
sessionMaxLifetimeSeconds: 'sessionMaxLifetimeSeconds',
|
|
673
|
+
};
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
static types(): { [key: string]: any } {
|
|
677
|
+
return {
|
|
678
|
+
endpointPath: 'string',
|
|
679
|
+
sessionConcurrencyPerInstance: 'number',
|
|
680
|
+
sessionIdleTimeoutSeconds: 'number',
|
|
681
|
+
sessionMaxLifetimeSeconds: 'number',
|
|
682
|
+
};
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
validate() {
|
|
686
|
+
super.validate();
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
constructor(map?: { [key: string]: any }) {
|
|
690
|
+
super(map);
|
|
691
|
+
}
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
export class GetMcpResponseBodyDataDeploymentConfigNasConfigurationMountPoints extends $dara.Model {
|
|
695
|
+
/**
|
|
696
|
+
* @remarks
|
|
697
|
+
* Indicates whether TLS is enabled.
|
|
698
|
+
*/
|
|
699
|
+
enableTls?: boolean;
|
|
700
|
+
/**
|
|
701
|
+
* @remarks
|
|
702
|
+
* The local mount directory.
|
|
703
|
+
*
|
|
704
|
+
* @example
|
|
705
|
+
* /mnt/data
|
|
706
|
+
*/
|
|
707
|
+
mountDir?: string;
|
|
708
|
+
/**
|
|
709
|
+
* @remarks
|
|
710
|
+
* The NAS server address.
|
|
711
|
+
*
|
|
712
|
+
* @example
|
|
713
|
+
* example.cn-hangzhou.nas.aliyuncs.com
|
|
714
|
+
*/
|
|
715
|
+
serverAddr?: string;
|
|
716
|
+
static names(): { [key: string]: string } {
|
|
717
|
+
return {
|
|
718
|
+
enableTls: 'enableTls',
|
|
719
|
+
mountDir: 'mountDir',
|
|
720
|
+
serverAddr: 'serverAddr',
|
|
721
|
+
};
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
static types(): { [key: string]: any } {
|
|
725
|
+
return {
|
|
726
|
+
enableTls: 'boolean',
|
|
727
|
+
mountDir: 'string',
|
|
728
|
+
serverAddr: 'string',
|
|
729
|
+
};
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
validate() {
|
|
733
|
+
super.validate();
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
constructor(map?: { [key: string]: any }) {
|
|
737
|
+
super(map);
|
|
738
|
+
}
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
export class GetMcpResponseBodyDataDeploymentConfigNasConfiguration extends $dara.Model {
|
|
742
|
+
/**
|
|
743
|
+
* @remarks
|
|
744
|
+
* The runtime user group ID.
|
|
745
|
+
*
|
|
746
|
+
* @example
|
|
747
|
+
* 1000
|
|
748
|
+
*/
|
|
749
|
+
groupId?: number;
|
|
750
|
+
/**
|
|
751
|
+
* @remarks
|
|
752
|
+
* The list of NAS mount points.
|
|
753
|
+
*/
|
|
754
|
+
mountPoints?: GetMcpResponseBodyDataDeploymentConfigNasConfigurationMountPoints[];
|
|
755
|
+
/**
|
|
756
|
+
* @remarks
|
|
757
|
+
* The runtime user ID.
|
|
758
|
+
*
|
|
759
|
+
* @example
|
|
760
|
+
* 1000
|
|
761
|
+
*/
|
|
762
|
+
userId?: number;
|
|
763
|
+
static names(): { [key: string]: string } {
|
|
764
|
+
return {
|
|
765
|
+
groupId: 'groupId',
|
|
766
|
+
mountPoints: 'mountPoints',
|
|
767
|
+
userId: 'userId',
|
|
768
|
+
};
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
static types(): { [key: string]: any } {
|
|
772
|
+
return {
|
|
773
|
+
groupId: 'number',
|
|
774
|
+
mountPoints: { 'type': 'array', 'itemType': GetMcpResponseBodyDataDeploymentConfigNasConfigurationMountPoints },
|
|
775
|
+
userId: 'number',
|
|
776
|
+
};
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
validate() {
|
|
780
|
+
if(Array.isArray(this.mountPoints)) {
|
|
781
|
+
$dara.Model.validateArray(this.mountPoints);
|
|
782
|
+
}
|
|
783
|
+
super.validate();
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
constructor(map?: { [key: string]: any }) {
|
|
787
|
+
super(map);
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
export class GetMcpResponseBodyDataDeploymentConfigNetworkConfiguration extends $dara.Model {
|
|
792
|
+
/**
|
|
793
|
+
* @remarks
|
|
794
|
+
* The network mode.
|
|
795
|
+
*
|
|
796
|
+
* @example
|
|
797
|
+
* PUBLIC
|
|
798
|
+
*/
|
|
799
|
+
networkMode?: string;
|
|
800
|
+
/**
|
|
801
|
+
* @remarks
|
|
802
|
+
* The security group ID.
|
|
803
|
+
*
|
|
804
|
+
* @example
|
|
805
|
+
* sg-example
|
|
806
|
+
*/
|
|
807
|
+
securityGroupId?: string;
|
|
808
|
+
/**
|
|
809
|
+
* @remarks
|
|
810
|
+
* The list of vSwitch IDs.
|
|
811
|
+
*/
|
|
812
|
+
vSwitchIds?: string[];
|
|
813
|
+
/**
|
|
814
|
+
* @remarks
|
|
815
|
+
* The virtual private cloud (VPC) ID.
|
|
816
|
+
*
|
|
817
|
+
* @example
|
|
818
|
+
* vpc-example
|
|
819
|
+
*/
|
|
820
|
+
vpcId?: string;
|
|
821
|
+
static names(): { [key: string]: string } {
|
|
822
|
+
return {
|
|
823
|
+
networkMode: 'networkMode',
|
|
824
|
+
securityGroupId: 'securityGroupId',
|
|
825
|
+
vSwitchIds: 'vSwitchIds',
|
|
826
|
+
vpcId: 'vpcId',
|
|
827
|
+
};
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
static types(): { [key: string]: any } {
|
|
831
|
+
return {
|
|
832
|
+
networkMode: 'string',
|
|
833
|
+
securityGroupId: 'string',
|
|
834
|
+
vSwitchIds: { 'type': 'array', 'itemType': 'string' },
|
|
835
|
+
vpcId: 'string',
|
|
836
|
+
};
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
validate() {
|
|
840
|
+
if(Array.isArray(this.vSwitchIds)) {
|
|
841
|
+
$dara.Model.validateArray(this.vSwitchIds);
|
|
842
|
+
}
|
|
843
|
+
super.validate();
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
constructor(map?: { [key: string]: any }) {
|
|
847
|
+
super(map);
|
|
848
|
+
}
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
export class GetMcpResponseBodyDataDeploymentConfigOssMountConfigurationMountPoints extends $dara.Model {
|
|
852
|
+
/**
|
|
853
|
+
* @remarks
|
|
854
|
+
* The OSS bucket name.
|
|
855
|
+
*
|
|
856
|
+
* @example
|
|
857
|
+
* example-bucket
|
|
858
|
+
*/
|
|
859
|
+
bucketName?: string;
|
|
860
|
+
/**
|
|
861
|
+
* @remarks
|
|
862
|
+
* The OSS bucket path.
|
|
863
|
+
*
|
|
864
|
+
* @example
|
|
865
|
+
* /data
|
|
866
|
+
*/
|
|
867
|
+
bucketPath?: string;
|
|
868
|
+
/**
|
|
869
|
+
* @remarks
|
|
870
|
+
* The OSS service endpoint.
|
|
871
|
+
*
|
|
872
|
+
* @example
|
|
873
|
+
* https://oss-cn-hangzhou.aliyuncs.com
|
|
874
|
+
*/
|
|
875
|
+
endpoint?: string;
|
|
876
|
+
/**
|
|
877
|
+
* @remarks
|
|
878
|
+
* The local mount directory.
|
|
879
|
+
*
|
|
880
|
+
* @example
|
|
881
|
+
* /mnt/data
|
|
882
|
+
*/
|
|
883
|
+
mountDir?: string;
|
|
884
|
+
/**
|
|
885
|
+
* @remarks
|
|
886
|
+
* Indicates whether the mount point is read-only.
|
|
887
|
+
*/
|
|
888
|
+
readOnly?: boolean;
|
|
889
|
+
static names(): { [key: string]: string } {
|
|
890
|
+
return {
|
|
891
|
+
bucketName: 'bucketName',
|
|
892
|
+
bucketPath: 'bucketPath',
|
|
893
|
+
endpoint: 'endpoint',
|
|
894
|
+
mountDir: 'mountDir',
|
|
895
|
+
readOnly: 'readOnly',
|
|
896
|
+
};
|
|
897
|
+
}
|
|
898
|
+
|
|
899
|
+
static types(): { [key: string]: any } {
|
|
900
|
+
return {
|
|
901
|
+
bucketName: 'string',
|
|
902
|
+
bucketPath: 'string',
|
|
903
|
+
endpoint: 'string',
|
|
904
|
+
mountDir: 'string',
|
|
905
|
+
readOnly: 'boolean',
|
|
906
|
+
};
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
validate() {
|
|
910
|
+
super.validate();
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
constructor(map?: { [key: string]: any }) {
|
|
914
|
+
super(map);
|
|
915
|
+
}
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
export class GetMcpResponseBodyDataDeploymentConfigOssMountConfiguration extends $dara.Model {
|
|
919
|
+
/**
|
|
920
|
+
* @remarks
|
|
921
|
+
* The list of OSS mount points.
|
|
922
|
+
*/
|
|
923
|
+
mountPoints?: GetMcpResponseBodyDataDeploymentConfigOssMountConfigurationMountPoints[];
|
|
924
|
+
static names(): { [key: string]: string } {
|
|
925
|
+
return {
|
|
926
|
+
mountPoints: 'mountPoints',
|
|
927
|
+
};
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
static types(): { [key: string]: any } {
|
|
931
|
+
return {
|
|
932
|
+
mountPoints: { 'type': 'array', 'itemType': GetMcpResponseBodyDataDeploymentConfigOssMountConfigurationMountPoints },
|
|
933
|
+
};
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
validate() {
|
|
937
|
+
if(Array.isArray(this.mountPoints)) {
|
|
938
|
+
$dara.Model.validateArray(this.mountPoints);
|
|
939
|
+
}
|
|
940
|
+
super.validate();
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
constructor(map?: { [key: string]: any }) {
|
|
944
|
+
super(map);
|
|
945
|
+
}
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
export class GetMcpResponseBodyDataDeploymentConfigParameterTransformConfiguration extends $dara.Model {
|
|
949
|
+
/**
|
|
950
|
+
* @remarks
|
|
951
|
+
* Indicates whether parameter transformation and result enhancement is enabled.
|
|
952
|
+
*/
|
|
953
|
+
enabled?: boolean;
|
|
954
|
+
/**
|
|
955
|
+
* @remarks
|
|
956
|
+
* The reserved reference to the parameter transformation and result enhancement rule set.
|
|
9
957
|
*
|
|
10
958
|
* @example
|
|
11
|
-
*
|
|
959
|
+
* rules-1
|
|
12
960
|
*/
|
|
13
|
-
|
|
961
|
+
ruleSetId?: string;
|
|
14
962
|
/**
|
|
15
963
|
* @remarks
|
|
16
|
-
* The
|
|
964
|
+
* The transformation rule version.
|
|
17
965
|
*
|
|
18
966
|
* @example
|
|
19
|
-
*
|
|
967
|
+
* 1.0
|
|
20
968
|
*/
|
|
21
|
-
|
|
969
|
+
version?: string;
|
|
22
970
|
static names(): { [key: string]: string } {
|
|
23
971
|
return {
|
|
24
|
-
|
|
25
|
-
|
|
972
|
+
enabled: 'enabled',
|
|
973
|
+
ruleSetId: 'ruleSetId',
|
|
974
|
+
version: 'version',
|
|
26
975
|
};
|
|
27
976
|
}
|
|
28
977
|
|
|
29
978
|
static types(): { [key: string]: any } {
|
|
30
979
|
return {
|
|
31
|
-
|
|
32
|
-
|
|
980
|
+
enabled: 'boolean',
|
|
981
|
+
ruleSetId: 'string',
|
|
982
|
+
version: 'string',
|
|
33
983
|
};
|
|
34
984
|
}
|
|
35
985
|
|
|
@@ -42,68 +992,125 @@ export class GetMcpResponseBodyDataAuthDirectProxy extends $dara.Model {
|
|
|
42
992
|
}
|
|
43
993
|
}
|
|
44
994
|
|
|
45
|
-
export class
|
|
995
|
+
export class GetMcpResponseBodyDataDeploymentConfigProxyConfiguration extends $dara.Model {
|
|
46
996
|
/**
|
|
47
997
|
* @remarks
|
|
48
|
-
*
|
|
998
|
+
* Indicates whether the MCP proxy is enabled.
|
|
999
|
+
*/
|
|
1000
|
+
enabled?: boolean;
|
|
1001
|
+
static names(): { [key: string]: string } {
|
|
1002
|
+
return {
|
|
1003
|
+
enabled: 'enabled',
|
|
1004
|
+
};
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
static types(): { [key: string]: any } {
|
|
1008
|
+
return {
|
|
1009
|
+
enabled: 'boolean',
|
|
1010
|
+
};
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
validate() {
|
|
1014
|
+
super.validate();
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
constructor(map?: { [key: string]: any }) {
|
|
1018
|
+
super(map);
|
|
1019
|
+
}
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
export class GetMcpResponseBodyDataDeploymentConfigRuntimeConfiguration extends $dara.Model {
|
|
1023
|
+
/**
|
|
1024
|
+
* @remarks
|
|
1025
|
+
* The number of vCPUs. Default value: 0.25.
|
|
49
1026
|
*
|
|
50
1027
|
* @example
|
|
51
|
-
*
|
|
1028
|
+
* 0.25
|
|
52
1029
|
*/
|
|
53
|
-
|
|
1030
|
+
cpu?: number;
|
|
54
1031
|
/**
|
|
55
1032
|
* @remarks
|
|
56
|
-
* The
|
|
1033
|
+
* The temporary disk size. Unit: MB. Valid values: 512 and 10240.
|
|
57
1034
|
*
|
|
58
1035
|
* @example
|
|
59
|
-
*
|
|
1036
|
+
* 512
|
|
60
1037
|
*/
|
|
61
|
-
|
|
1038
|
+
diskSize?: number;
|
|
62
1039
|
/**
|
|
63
1040
|
* @remarks
|
|
64
|
-
* The
|
|
1041
|
+
* The environment variables.
|
|
1042
|
+
*/
|
|
1043
|
+
environmentVariables?: { [key: string]: string };
|
|
1044
|
+
/**
|
|
1045
|
+
* @remarks
|
|
1046
|
+
* The Alibaba Cloud Resource Name (ARN) of the RAM role used by user code to access downstream Alibaba Cloud resources.
|
|
65
1047
|
*
|
|
66
1048
|
* @example
|
|
67
|
-
* mcp-
|
|
1049
|
+
* acs:ram::1234567890123456:role/agentcore-mcp-execution
|
|
68
1050
|
*/
|
|
69
|
-
|
|
1051
|
+
executionRoleArn?: string;
|
|
70
1052
|
/**
|
|
71
1053
|
* @remarks
|
|
72
|
-
* The
|
|
1054
|
+
* The maximum number of concurrent requests per instance. Default value: 200.
|
|
73
1055
|
*
|
|
74
1056
|
* @example
|
|
75
|
-
*
|
|
1057
|
+
* 200
|
|
76
1058
|
*/
|
|
77
|
-
|
|
1059
|
+
instanceConcurrency?: number;
|
|
78
1060
|
/**
|
|
79
1061
|
* @remarks
|
|
80
|
-
* The
|
|
1062
|
+
* The memory size. Unit: MB. Default value: 512.
|
|
81
1063
|
*
|
|
82
1064
|
* @example
|
|
83
|
-
*
|
|
1065
|
+
* 512
|
|
84
1066
|
*/
|
|
85
|
-
|
|
1067
|
+
memory?: number;
|
|
1068
|
+
/**
|
|
1069
|
+
* @remarks
|
|
1070
|
+
* The service port. Default value: 9000.
|
|
1071
|
+
*
|
|
1072
|
+
* @example
|
|
1073
|
+
* 9000
|
|
1074
|
+
*/
|
|
1075
|
+
port?: number;
|
|
1076
|
+
/**
|
|
1077
|
+
* @remarks
|
|
1078
|
+
* The function timeout period. Unit: seconds. Default value: 300.
|
|
1079
|
+
*
|
|
1080
|
+
* @example
|
|
1081
|
+
* 300
|
|
1082
|
+
*/
|
|
1083
|
+
timeout?: number;
|
|
86
1084
|
static names(): { [key: string]: string } {
|
|
87
1085
|
return {
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
1086
|
+
cpu: 'cpu',
|
|
1087
|
+
diskSize: 'diskSize',
|
|
1088
|
+
environmentVariables: 'environmentVariables',
|
|
1089
|
+
executionRoleArn: 'executionRoleArn',
|
|
1090
|
+
instanceConcurrency: 'instanceConcurrency',
|
|
1091
|
+
memory: 'memory',
|
|
1092
|
+
port: 'port',
|
|
1093
|
+
timeout: 'timeout',
|
|
93
1094
|
};
|
|
94
1095
|
}
|
|
95
1096
|
|
|
96
1097
|
static types(): { [key: string]: any } {
|
|
97
1098
|
return {
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
1099
|
+
cpu: 'number',
|
|
1100
|
+
diskSize: 'number',
|
|
1101
|
+
environmentVariables: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1102
|
+
executionRoleArn: 'string',
|
|
1103
|
+
instanceConcurrency: 'number',
|
|
1104
|
+
memory: 'number',
|
|
1105
|
+
port: 'number',
|
|
1106
|
+
timeout: 'number',
|
|
103
1107
|
};
|
|
104
1108
|
}
|
|
105
1109
|
|
|
106
1110
|
validate() {
|
|
1111
|
+
if(this.environmentVariables) {
|
|
1112
|
+
$dara.Model.validateMap(this.environmentVariables);
|
|
1113
|
+
}
|
|
107
1114
|
super.validate();
|
|
108
1115
|
}
|
|
109
1116
|
|
|
@@ -112,45 +1119,255 @@ export class GetMcpResponseBodyDataAuthHttpToMcp extends $dara.Model {
|
|
|
112
1119
|
}
|
|
113
1120
|
}
|
|
114
1121
|
|
|
115
|
-
export class
|
|
1122
|
+
export class GetMcpResponseBodyDataDeploymentConfig extends $dara.Model {
|
|
116
1123
|
/**
|
|
117
1124
|
* @remarks
|
|
118
|
-
* The
|
|
1125
|
+
* The MCP ingress access control.
|
|
119
1126
|
*/
|
|
120
|
-
|
|
1127
|
+
accessControl?: GetMcpResponseBodyDataDeploymentConfigAccessControl;
|
|
121
1128
|
/**
|
|
122
1129
|
* @remarks
|
|
123
|
-
*
|
|
1130
|
+
* The Agent Identity configuration.
|
|
124
1131
|
*/
|
|
125
|
-
|
|
1132
|
+
agentIdentityConfiguration?: GetMcpResponseBodyDataDeploymentConfigAgentIdentityConfiguration;
|
|
126
1133
|
/**
|
|
127
1134
|
* @remarks
|
|
128
|
-
*
|
|
1135
|
+
* Code indicates a ZIP code package. Container indicates a custom container.
|
|
1136
|
+
*
|
|
1137
|
+
* @example
|
|
1138
|
+
* Code
|
|
129
1139
|
*/
|
|
130
|
-
|
|
1140
|
+
artifactType?: string;
|
|
1141
|
+
/**
|
|
1142
|
+
* @remarks
|
|
1143
|
+
* The code package configuration.
|
|
1144
|
+
*/
|
|
1145
|
+
codeConfiguration?: GetMcpResponseBodyDataDeploymentConfigCodeConfiguration;
|
|
1146
|
+
/**
|
|
1147
|
+
* @remarks
|
|
1148
|
+
* The custom container configuration.
|
|
1149
|
+
*/
|
|
1150
|
+
containerConfiguration?: GetMcpResponseBodyDataDeploymentConfigContainerConfiguration;
|
|
1151
|
+
/**
|
|
1152
|
+
* @remarks
|
|
1153
|
+
* The hook configuration.
|
|
1154
|
+
*/
|
|
1155
|
+
hookConfiguration?: GetMcpResponseBodyDataDeploymentConfigHookConfiguration;
|
|
1156
|
+
/**
|
|
1157
|
+
* @remarks
|
|
1158
|
+
* The log configuration.
|
|
1159
|
+
*/
|
|
1160
|
+
logConfiguration?: GetMcpResponseBodyDataDeploymentConfigLogConfiguration;
|
|
1161
|
+
/**
|
|
1162
|
+
* @remarks
|
|
1163
|
+
* The MCP session configuration.
|
|
1164
|
+
*/
|
|
1165
|
+
mcpConfiguration?: GetMcpResponseBodyDataDeploymentConfigMcpConfiguration;
|
|
1166
|
+
/**
|
|
1167
|
+
* @remarks
|
|
1168
|
+
* The NAS storage configuration.
|
|
1169
|
+
*/
|
|
1170
|
+
nasConfiguration?: GetMcpResponseBodyDataDeploymentConfigNasConfiguration;
|
|
1171
|
+
/**
|
|
1172
|
+
* @remarks
|
|
1173
|
+
* The network configuration.
|
|
1174
|
+
*/
|
|
1175
|
+
networkConfiguration?: GetMcpResponseBodyDataDeploymentConfigNetworkConfiguration;
|
|
1176
|
+
/**
|
|
1177
|
+
* @remarks
|
|
1178
|
+
* The Object Storage Service (OSS) mount configuration.
|
|
1179
|
+
*/
|
|
1180
|
+
ossMountConfiguration?: GetMcpResponseBodyDataDeploymentConfigOssMountConfiguration;
|
|
1181
|
+
/**
|
|
1182
|
+
* @remarks
|
|
1183
|
+
* The parameter transformation and result enhancement configuration.
|
|
1184
|
+
*/
|
|
1185
|
+
parameterTransformConfiguration?: GetMcpResponseBodyDataDeploymentConfigParameterTransformConfiguration;
|
|
1186
|
+
/**
|
|
1187
|
+
* @remarks
|
|
1188
|
+
* The MCP proxy configuration.
|
|
1189
|
+
*/
|
|
1190
|
+
proxyConfiguration?: GetMcpResponseBodyDataDeploymentConfigProxyConfiguration;
|
|
1191
|
+
/**
|
|
1192
|
+
* @remarks
|
|
1193
|
+
* The runtime and resource configuration.
|
|
1194
|
+
*/
|
|
1195
|
+
runtimeConfiguration?: GetMcpResponseBodyDataDeploymentConfigRuntimeConfiguration;
|
|
131
1196
|
static names(): { [key: string]: string } {
|
|
132
1197
|
return {
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
1198
|
+
accessControl: 'accessControl',
|
|
1199
|
+
agentIdentityConfiguration: 'agentIdentityConfiguration',
|
|
1200
|
+
artifactType: 'artifactType',
|
|
1201
|
+
codeConfiguration: 'codeConfiguration',
|
|
1202
|
+
containerConfiguration: 'containerConfiguration',
|
|
1203
|
+
hookConfiguration: 'hookConfiguration',
|
|
1204
|
+
logConfiguration: 'logConfiguration',
|
|
1205
|
+
mcpConfiguration: 'mcpConfiguration',
|
|
1206
|
+
nasConfiguration: 'nasConfiguration',
|
|
1207
|
+
networkConfiguration: 'networkConfiguration',
|
|
1208
|
+
ossMountConfiguration: 'ossMountConfiguration',
|
|
1209
|
+
parameterTransformConfiguration: 'parameterTransformConfiguration',
|
|
1210
|
+
proxyConfiguration: 'proxyConfiguration',
|
|
1211
|
+
runtimeConfiguration: 'runtimeConfiguration',
|
|
136
1212
|
};
|
|
137
1213
|
}
|
|
138
1214
|
|
|
139
1215
|
static types(): { [key: string]: any } {
|
|
140
1216
|
return {
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
1217
|
+
accessControl: GetMcpResponseBodyDataDeploymentConfigAccessControl,
|
|
1218
|
+
agentIdentityConfiguration: GetMcpResponseBodyDataDeploymentConfigAgentIdentityConfiguration,
|
|
1219
|
+
artifactType: 'string',
|
|
1220
|
+
codeConfiguration: GetMcpResponseBodyDataDeploymentConfigCodeConfiguration,
|
|
1221
|
+
containerConfiguration: GetMcpResponseBodyDataDeploymentConfigContainerConfiguration,
|
|
1222
|
+
hookConfiguration: GetMcpResponseBodyDataDeploymentConfigHookConfiguration,
|
|
1223
|
+
logConfiguration: GetMcpResponseBodyDataDeploymentConfigLogConfiguration,
|
|
1224
|
+
mcpConfiguration: GetMcpResponseBodyDataDeploymentConfigMcpConfiguration,
|
|
1225
|
+
nasConfiguration: GetMcpResponseBodyDataDeploymentConfigNasConfiguration,
|
|
1226
|
+
networkConfiguration: GetMcpResponseBodyDataDeploymentConfigNetworkConfiguration,
|
|
1227
|
+
ossMountConfiguration: GetMcpResponseBodyDataDeploymentConfigOssMountConfiguration,
|
|
1228
|
+
parameterTransformConfiguration: GetMcpResponseBodyDataDeploymentConfigParameterTransformConfiguration,
|
|
1229
|
+
proxyConfiguration: GetMcpResponseBodyDataDeploymentConfigProxyConfiguration,
|
|
1230
|
+
runtimeConfiguration: GetMcpResponseBodyDataDeploymentConfigRuntimeConfiguration,
|
|
144
1231
|
};
|
|
145
1232
|
}
|
|
146
1233
|
|
|
147
1234
|
validate() {
|
|
148
|
-
if(this.
|
|
149
|
-
(this.
|
|
1235
|
+
if(this.accessControl && typeof (this.accessControl as any).validate === 'function') {
|
|
1236
|
+
(this.accessControl as any).validate();
|
|
150
1237
|
}
|
|
151
|
-
if(
|
|
152
|
-
|
|
1238
|
+
if(this.agentIdentityConfiguration && typeof (this.agentIdentityConfiguration as any).validate === 'function') {
|
|
1239
|
+
(this.agentIdentityConfiguration as any).validate();
|
|
1240
|
+
}
|
|
1241
|
+
if(this.codeConfiguration && typeof (this.codeConfiguration as any).validate === 'function') {
|
|
1242
|
+
(this.codeConfiguration as any).validate();
|
|
1243
|
+
}
|
|
1244
|
+
if(this.containerConfiguration && typeof (this.containerConfiguration as any).validate === 'function') {
|
|
1245
|
+
(this.containerConfiguration as any).validate();
|
|
1246
|
+
}
|
|
1247
|
+
if(this.hookConfiguration && typeof (this.hookConfiguration as any).validate === 'function') {
|
|
1248
|
+
(this.hookConfiguration as any).validate();
|
|
1249
|
+
}
|
|
1250
|
+
if(this.logConfiguration && typeof (this.logConfiguration as any).validate === 'function') {
|
|
1251
|
+
(this.logConfiguration as any).validate();
|
|
1252
|
+
}
|
|
1253
|
+
if(this.mcpConfiguration && typeof (this.mcpConfiguration as any).validate === 'function') {
|
|
1254
|
+
(this.mcpConfiguration as any).validate();
|
|
1255
|
+
}
|
|
1256
|
+
if(this.nasConfiguration && typeof (this.nasConfiguration as any).validate === 'function') {
|
|
1257
|
+
(this.nasConfiguration as any).validate();
|
|
1258
|
+
}
|
|
1259
|
+
if(this.networkConfiguration && typeof (this.networkConfiguration as any).validate === 'function') {
|
|
1260
|
+
(this.networkConfiguration as any).validate();
|
|
1261
|
+
}
|
|
1262
|
+
if(this.ossMountConfiguration && typeof (this.ossMountConfiguration as any).validate === 'function') {
|
|
1263
|
+
(this.ossMountConfiguration as any).validate();
|
|
1264
|
+
}
|
|
1265
|
+
if(this.parameterTransformConfiguration && typeof (this.parameterTransformConfiguration as any).validate === 'function') {
|
|
1266
|
+
(this.parameterTransformConfiguration as any).validate();
|
|
153
1267
|
}
|
|
1268
|
+
if(this.proxyConfiguration && typeof (this.proxyConfiguration as any).validate === 'function') {
|
|
1269
|
+
(this.proxyConfiguration as any).validate();
|
|
1270
|
+
}
|
|
1271
|
+
if(this.runtimeConfiguration && typeof (this.runtimeConfiguration as any).validate === 'function') {
|
|
1272
|
+
(this.runtimeConfiguration as any).validate();
|
|
1273
|
+
}
|
|
1274
|
+
super.validate();
|
|
1275
|
+
}
|
|
1276
|
+
|
|
1277
|
+
constructor(map?: { [key: string]: any }) {
|
|
1278
|
+
super(map);
|
|
1279
|
+
}
|
|
1280
|
+
}
|
|
1281
|
+
|
|
1282
|
+
export class GetMcpResponseBodyDataMarketSource extends $dara.Model {
|
|
1283
|
+
/**
|
|
1284
|
+
* @remarks
|
|
1285
|
+
* The MCP marketplace template ID.
|
|
1286
|
+
*
|
|
1287
|
+
* @example
|
|
1288
|
+
* market-1
|
|
1289
|
+
*/
|
|
1290
|
+
marketItemId?: string;
|
|
1291
|
+
static names(): { [key: string]: string } {
|
|
1292
|
+
return {
|
|
1293
|
+
marketItemId: 'marketItemId',
|
|
1294
|
+
};
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
static types(): { [key: string]: any } {
|
|
1298
|
+
return {
|
|
1299
|
+
marketItemId: 'string',
|
|
1300
|
+
};
|
|
1301
|
+
}
|
|
1302
|
+
|
|
1303
|
+
validate() {
|
|
1304
|
+
super.validate();
|
|
1305
|
+
}
|
|
1306
|
+
|
|
1307
|
+
constructor(map?: { [key: string]: any }) {
|
|
1308
|
+
super(map);
|
|
1309
|
+
}
|
|
1310
|
+
}
|
|
1311
|
+
|
|
1312
|
+
export class GetMcpResponseBodyDataTemplate extends $dara.Model {
|
|
1313
|
+
/**
|
|
1314
|
+
* @remarks
|
|
1315
|
+
* The template version currently applied to the MCP.
|
|
1316
|
+
*
|
|
1317
|
+
* @example
|
|
1318
|
+
* 1.0.0
|
|
1319
|
+
*/
|
|
1320
|
+
appliedTemplateVersion?: string;
|
|
1321
|
+
/**
|
|
1322
|
+
* @remarks
|
|
1323
|
+
* The latest template version.
|
|
1324
|
+
*
|
|
1325
|
+
* @example
|
|
1326
|
+
* 1.1.0
|
|
1327
|
+
*/
|
|
1328
|
+
latestTemplateVersion?: string;
|
|
1329
|
+
/**
|
|
1330
|
+
* @remarks
|
|
1331
|
+
* The template schema version.
|
|
1332
|
+
*
|
|
1333
|
+
* @example
|
|
1334
|
+
* 1.0
|
|
1335
|
+
*/
|
|
1336
|
+
schemaVersion?: string;
|
|
1337
|
+
/**
|
|
1338
|
+
* @remarks
|
|
1339
|
+
* The template input schema, represented as a JSON Schema string.
|
|
1340
|
+
*
|
|
1341
|
+
* @example
|
|
1342
|
+
* {"type":"object","properties":{"addresses":{"type":"array","items":{"type":"string"}}}}
|
|
1343
|
+
*/
|
|
1344
|
+
templateInputSchema?: string;
|
|
1345
|
+
/**
|
|
1346
|
+
* @remarks
|
|
1347
|
+
* Indicates whether an updated template version is available.
|
|
1348
|
+
*/
|
|
1349
|
+
updateAvailable?: boolean;
|
|
1350
|
+
static names(): { [key: string]: string } {
|
|
1351
|
+
return {
|
|
1352
|
+
appliedTemplateVersion: 'appliedTemplateVersion',
|
|
1353
|
+
latestTemplateVersion: 'latestTemplateVersion',
|
|
1354
|
+
schemaVersion: 'schemaVersion',
|
|
1355
|
+
templateInputSchema: 'templateInputSchema',
|
|
1356
|
+
updateAvailable: 'updateAvailable',
|
|
1357
|
+
};
|
|
1358
|
+
}
|
|
1359
|
+
|
|
1360
|
+
static types(): { [key: string]: any } {
|
|
1361
|
+
return {
|
|
1362
|
+
appliedTemplateVersion: 'string',
|
|
1363
|
+
latestTemplateVersion: 'string',
|
|
1364
|
+
schemaVersion: 'string',
|
|
1365
|
+
templateInputSchema: 'string',
|
|
1366
|
+
updateAvailable: 'boolean',
|
|
1367
|
+
};
|
|
1368
|
+
}
|
|
1369
|
+
|
|
1370
|
+
validate() {
|
|
154
1371
|
super.validate();
|
|
155
1372
|
}
|
|
156
1373
|
|
|
@@ -167,9 +1384,27 @@ export class GetMcpResponseBodyData extends $dara.Model {
|
|
|
167
1384
|
addresses?: string[];
|
|
168
1385
|
/**
|
|
169
1386
|
* @remarks
|
|
170
|
-
* The backend authentication configuration. enabled indicates whether authentication is enabled. directProxy specifies the custom authentication header for direct proxy. httpToMcp specifies the list of OpenAPI credentials for HTTP_TO_MCP.
|
|
1387
|
+
* The backend authentication configuration. enabled indicates whether authentication is enabled. directProxy specifies the custom authentication header for direct proxy connections. httpToMcp specifies the list of OpenAPI credentials for HTTP_TO_MCP.
|
|
171
1388
|
*/
|
|
172
1389
|
auth?: GetMcpResponseBodyDataAuth;
|
|
1390
|
+
/**
|
|
1391
|
+
* @remarks
|
|
1392
|
+
* The MCP creation time in ISO 8601 UTC format.
|
|
1393
|
+
*
|
|
1394
|
+
* @example
|
|
1395
|
+
* 2026-08-23T00:00:00Z
|
|
1396
|
+
*/
|
|
1397
|
+
createdAt?: string;
|
|
1398
|
+
/**
|
|
1399
|
+
* @remarks
|
|
1400
|
+
* The custom tags. Multiple values are supported.
|
|
1401
|
+
*/
|
|
1402
|
+
customTags?: string[];
|
|
1403
|
+
/**
|
|
1404
|
+
* @remarks
|
|
1405
|
+
* The deployment configuration for code-deployed MCP.
|
|
1406
|
+
*/
|
|
1407
|
+
deploymentConfig?: GetMcpResponseBodyDataDeploymentConfig;
|
|
173
1408
|
/**
|
|
174
1409
|
* @remarks
|
|
175
1410
|
* The description.
|
|
@@ -180,7 +1415,28 @@ export class GetMcpResponseBodyData extends $dara.Model {
|
|
|
180
1415
|
description?: string;
|
|
181
1416
|
/**
|
|
182
1417
|
* @remarks
|
|
183
|
-
* The MCP
|
|
1418
|
+
* The MCP endpoint that can be called by users or agents. This value is empty before the deployment is complete.
|
|
1419
|
+
*
|
|
1420
|
+
* @example
|
|
1421
|
+
* https://example.com/mcp
|
|
1422
|
+
*/
|
|
1423
|
+
endpoint?: string;
|
|
1424
|
+
/**
|
|
1425
|
+
* @remarks
|
|
1426
|
+
* The Function Compute function name that corresponds to the CODE_PACKAGE MCP. This value is empty before the deployment is complete or for other types.
|
|
1427
|
+
*
|
|
1428
|
+
* @example
|
|
1429
|
+
* agentcore-mcp-example
|
|
1430
|
+
*/
|
|
1431
|
+
functionName?: string;
|
|
1432
|
+
/**
|
|
1433
|
+
* @remarks
|
|
1434
|
+
* The marketplace source template of the MCP.
|
|
1435
|
+
*/
|
|
1436
|
+
marketSource?: GetMcpResponseBodyDataMarketSource;
|
|
1437
|
+
/**
|
|
1438
|
+
* @remarks
|
|
1439
|
+
* The MCP server configuration, represented as a JSON string.
|
|
184
1440
|
*
|
|
185
1441
|
* @example
|
|
186
1442
|
* {"type":"object"}
|
|
@@ -202,6 +1458,14 @@ export class GetMcpResponseBodyData extends $dara.Model {
|
|
|
202
1458
|
* mcp-example
|
|
203
1459
|
*/
|
|
204
1460
|
name?: string;
|
|
1461
|
+
/**
|
|
1462
|
+
* @remarks
|
|
1463
|
+
* The official tag managed by the server.
|
|
1464
|
+
*
|
|
1465
|
+
* @example
|
|
1466
|
+
* KNOWLEDGE_BASE
|
|
1467
|
+
*/
|
|
1468
|
+
officialTag?: string;
|
|
205
1469
|
/**
|
|
206
1470
|
* @remarks
|
|
207
1471
|
* The MCP protocol.
|
|
@@ -220,7 +1484,7 @@ export class GetMcpResponseBodyData extends $dara.Model {
|
|
|
220
1484
|
status?: string;
|
|
221
1485
|
/**
|
|
222
1486
|
* @remarks
|
|
223
|
-
* The status
|
|
1487
|
+
* The reason for the current status.
|
|
224
1488
|
*
|
|
225
1489
|
* @example
|
|
226
1490
|
* Resource processing completed
|
|
@@ -234,6 +1498,11 @@ export class GetMcpResponseBodyData extends $dara.Model {
|
|
|
234
1498
|
* {"type":"object"}
|
|
235
1499
|
*/
|
|
236
1500
|
swaggerConfig?: string;
|
|
1501
|
+
/**
|
|
1502
|
+
* @remarks
|
|
1503
|
+
* The template schema of the usage-bound MCP version. Not returned for regular MCPs.
|
|
1504
|
+
*/
|
|
1505
|
+
template?: GetMcpResponseBodyDataTemplate;
|
|
237
1506
|
/**
|
|
238
1507
|
* @remarks
|
|
239
1508
|
* The type.
|
|
@@ -244,26 +1513,49 @@ export class GetMcpResponseBodyData extends $dara.Model {
|
|
|
244
1513
|
type?: string;
|
|
245
1514
|
/**
|
|
246
1515
|
* @remarks
|
|
247
|
-
* The MCP
|
|
1516
|
+
* The last updated time of the MCP, in ISO 8601 UTC format.
|
|
1517
|
+
*
|
|
1518
|
+
* @example
|
|
1519
|
+
* 2026-08-23T01:00:00Z
|
|
1520
|
+
*/
|
|
1521
|
+
updatedAt?: string;
|
|
1522
|
+
/**
|
|
1523
|
+
* @remarks
|
|
1524
|
+
* The access URL of the MCP service.
|
|
248
1525
|
*
|
|
249
1526
|
* @example
|
|
250
1527
|
* https://example.com/artifacts/example.zip
|
|
251
1528
|
*/
|
|
252
1529
|
url?: string;
|
|
1530
|
+
/**
|
|
1531
|
+
* @remarks
|
|
1532
|
+
* Indicates whether the MCP is still bound by the official template usage constraints.
|
|
1533
|
+
*/
|
|
1534
|
+
usageActive?: boolean;
|
|
253
1535
|
static names(): { [key: string]: string } {
|
|
254
1536
|
return {
|
|
255
1537
|
addresses: 'addresses',
|
|
256
1538
|
auth: 'auth',
|
|
1539
|
+
createdAt: 'createdAt',
|
|
1540
|
+
customTags: 'customTags',
|
|
1541
|
+
deploymentConfig: 'deploymentConfig',
|
|
257
1542
|
description: 'description',
|
|
1543
|
+
endpoint: 'endpoint',
|
|
1544
|
+
functionName: 'functionName',
|
|
1545
|
+
marketSource: 'marketSource',
|
|
258
1546
|
mcpServerConfig: 'mcpServerConfig',
|
|
259
1547
|
mcpServerId: 'mcpServerId',
|
|
260
1548
|
name: 'name',
|
|
1549
|
+
officialTag: 'officialTag',
|
|
261
1550
|
protocol: 'protocol',
|
|
262
1551
|
status: 'status',
|
|
263
1552
|
statusReason: 'statusReason',
|
|
264
1553
|
swaggerConfig: 'swaggerConfig',
|
|
1554
|
+
template: 'template',
|
|
265
1555
|
type: 'type',
|
|
1556
|
+
updatedAt: 'updatedAt',
|
|
266
1557
|
url: 'url',
|
|
1558
|
+
usageActive: 'usageActive',
|
|
267
1559
|
};
|
|
268
1560
|
}
|
|
269
1561
|
|
|
@@ -271,16 +1563,26 @@ export class GetMcpResponseBodyData extends $dara.Model {
|
|
|
271
1563
|
return {
|
|
272
1564
|
addresses: { 'type': 'array', 'itemType': 'string' },
|
|
273
1565
|
auth: GetMcpResponseBodyDataAuth,
|
|
1566
|
+
createdAt: 'string',
|
|
1567
|
+
customTags: { 'type': 'array', 'itemType': 'string' },
|
|
1568
|
+
deploymentConfig: GetMcpResponseBodyDataDeploymentConfig,
|
|
274
1569
|
description: 'string',
|
|
1570
|
+
endpoint: 'string',
|
|
1571
|
+
functionName: 'string',
|
|
1572
|
+
marketSource: GetMcpResponseBodyDataMarketSource,
|
|
275
1573
|
mcpServerConfig: 'string',
|
|
276
1574
|
mcpServerId: 'string',
|
|
277
1575
|
name: 'string',
|
|
1576
|
+
officialTag: 'string',
|
|
278
1577
|
protocol: 'string',
|
|
279
1578
|
status: 'string',
|
|
280
1579
|
statusReason: 'string',
|
|
281
1580
|
swaggerConfig: 'string',
|
|
1581
|
+
template: GetMcpResponseBodyDataTemplate,
|
|
282
1582
|
type: 'string',
|
|
1583
|
+
updatedAt: 'string',
|
|
283
1584
|
url: 'string',
|
|
1585
|
+
usageActive: 'boolean',
|
|
284
1586
|
};
|
|
285
1587
|
}
|
|
286
1588
|
|
|
@@ -291,6 +1593,18 @@ export class GetMcpResponseBodyData extends $dara.Model {
|
|
|
291
1593
|
if(this.auth && typeof (this.auth as any).validate === 'function') {
|
|
292
1594
|
(this.auth as any).validate();
|
|
293
1595
|
}
|
|
1596
|
+
if(Array.isArray(this.customTags)) {
|
|
1597
|
+
$dara.Model.validateArray(this.customTags);
|
|
1598
|
+
}
|
|
1599
|
+
if(this.deploymentConfig && typeof (this.deploymentConfig as any).validate === 'function') {
|
|
1600
|
+
(this.deploymentConfig as any).validate();
|
|
1601
|
+
}
|
|
1602
|
+
if(this.marketSource && typeof (this.marketSource as any).validate === 'function') {
|
|
1603
|
+
(this.marketSource as any).validate();
|
|
1604
|
+
}
|
|
1605
|
+
if(this.template && typeof (this.template as any).validate === 'function') {
|
|
1606
|
+
(this.template as any).validate();
|
|
1607
|
+
}
|
|
294
1608
|
super.validate();
|
|
295
1609
|
}
|
|
296
1610
|
|
|
@@ -310,7 +1624,7 @@ export class GetMcpResponseBody extends $dara.Model {
|
|
|
310
1624
|
code?: string;
|
|
311
1625
|
/**
|
|
312
1626
|
* @remarks
|
|
313
|
-
* The
|
|
1627
|
+
* The response data.
|
|
314
1628
|
*/
|
|
315
1629
|
data?: GetMcpResponseBodyData;
|
|
316
1630
|
/**
|
|
@@ -326,7 +1640,7 @@ export class GetMcpResponseBody extends $dara.Model {
|
|
|
326
1640
|
* The response message.
|
|
327
1641
|
*
|
|
328
1642
|
* @example
|
|
329
|
-
* Request
|
|
1643
|
+
* Request processing succeeded
|
|
330
1644
|
*/
|
|
331
1645
|
message?: string;
|
|
332
1646
|
/**
|