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