@vercel/sdk 1.13.4 → 1.13.6
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/README.md +57 -53
- package/bin/mcp-server.js +1982 -2193
- package/bin/mcp-server.js.map +91 -88
- package/docs/sdks/connect/README.md +95 -0
- package/docs/sdks/domains/README.md +11 -11
- package/docs/sdks/domainsregistrar/README.md +55 -55
- package/docs/sdks/projects/README.md +2 -0
- package/esm/__tests__/accessgroups.test.js +6 -2
- package/esm/__tests__/accessgroups.test.js.map +1 -1
- package/esm/__tests__/connect.test.d.ts +2 -0
- package/esm/__tests__/connect.test.d.ts.map +1 -0
- package/esm/__tests__/connect.test.js +36 -0
- package/esm/__tests__/connect.test.js.map +1 -0
- package/esm/__tests__/domains.test.js +11 -4
- package/esm/__tests__/domains.test.js.map +1 -1
- package/esm/__tests__/domainsregistrar.test.js +1 -1
- package/esm/__tests__/domainsregistrar.test.js.map +1 -1
- package/esm/__tests__/edgeconfig.test.js +6 -6
- package/esm/__tests__/edgeconfig.test.js.map +1 -1
- package/esm/__tests__/integrations.test.js +1 -1
- package/esm/__tests__/rollingrelease.test.js +2 -2
- package/esm/__tests__/rollingrelease.test.js.map +1 -1
- package/esm/__tests__/security.test.js +11 -1
- package/esm/__tests__/security.test.js.map +1 -1
- package/esm/funcs/connectUpdateSharedConnectLinks.d.ts +17 -0
- package/esm/funcs/connectUpdateSharedConnectLinks.d.ts.map +1 -0
- package/esm/funcs/connectUpdateSharedConnectLinks.js +90 -0
- package/esm/funcs/connectUpdateSharedConnectLinks.js.map +1 -0
- package/esm/funcs/domainsBuyDomain.d.ts +2 -2
- package/esm/funcs/domainsBuyDomain.js +2 -2
- package/esm/funcs/domainsCheckDomainPrice.d.ts +2 -2
- package/esm/funcs/domainsCheckDomainPrice.js +2 -2
- package/esm/funcs/domainsCheckDomainStatus.d.ts +2 -2
- package/esm/funcs/domainsCheckDomainStatus.js +2 -2
- package/esm/funcs/domainsCreateOrTransferDomain.d.ts +2 -2
- package/esm/funcs/domainsCreateOrTransferDomain.js +2 -2
- package/esm/funcs/domainsGetDomainTransfer.d.ts +2 -2
- package/esm/funcs/domainsGetDomainTransfer.js +2 -2
- package/esm/funcs/domainsPatchDomain.d.ts +1 -1
- package/esm/funcs/domainsPatchDomain.js +1 -1
- package/esm/funcs/domainsRegistrarBuyDomains.d.ts +2 -2
- package/esm/funcs/domainsRegistrarBuyDomains.js +2 -2
- package/esm/funcs/domainsRegistrarGetBulkAvailability.d.ts +1 -1
- package/esm/funcs/domainsRegistrarGetBulkAvailability.js +1 -1
- package/esm/funcs/domainsRegistrarGetContactInfoSchema.d.ts +2 -2
- package/esm/funcs/domainsRegistrarGetContactInfoSchema.js +2 -2
- package/esm/funcs/domainsRegistrarGetDomainAuthCode.d.ts +1 -1
- package/esm/funcs/domainsRegistrarGetDomainAuthCode.js +1 -1
- package/esm/funcs/domainsRegistrarGetDomainAvailability.d.ts +2 -2
- package/esm/funcs/domainsRegistrarGetDomainAvailability.js +2 -2
- package/esm/funcs/domainsRegistrarGetDomainPrice.d.ts +1 -1
- package/esm/funcs/domainsRegistrarGetDomainPrice.js +1 -1
- package/esm/funcs/domainsRegistrarGetDomainTransferIn.d.ts +2 -2
- package/esm/funcs/domainsRegistrarGetDomainTransferIn.js +2 -2
- package/esm/funcs/domainsRegistrarGetOrder.d.ts +2 -2
- package/esm/funcs/domainsRegistrarGetOrder.js +2 -2
- package/esm/funcs/domainsRegistrarGetSupportedTlds.d.ts +2 -2
- package/esm/funcs/domainsRegistrarGetSupportedTlds.js +2 -2
- package/esm/funcs/domainsRegistrarGetTldPrice.d.ts +2 -2
- package/esm/funcs/domainsRegistrarGetTldPrice.js +2 -2
- package/esm/funcs/domainsRegistrarTransferInDomain.d.ts +2 -2
- package/esm/funcs/domainsRegistrarTransferInDomain.js +2 -2
- package/esm/funcs/domainsRegistrarUpdateDomainAutoRenew.d.ts +2 -2
- package/esm/funcs/domainsRegistrarUpdateDomainAutoRenew.js +2 -2
- package/esm/funcs/domainsRegistrarUpdateDomainNameservers.d.ts +2 -2
- package/esm/funcs/domainsRegistrarUpdateDomainNameservers.js +2 -2
- package/esm/funcs/projectsGetProjects.js +1 -0
- package/esm/funcs/projectsGetProjects.js.map +1 -1
- package/esm/funcs/projectsUploadProjectClientCert.js +2 -2
- package/esm/funcs/projectsUploadProjectClientCert.js.map +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.d.ts.map +1 -1
- package/esm/mcp-server/server.js +3 -1
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/connectUpdateSharedConnectLinks.d.ts +7 -0
- package/esm/mcp-server/tools/connectUpdateSharedConnectLinks.d.ts.map +1 -0
- package/esm/mcp-server/tools/connectUpdateSharedConnectLinks.js +28 -0
- package/esm/mcp-server/tools/connectUpdateSharedConnectLinks.js.map +1 -0
- package/esm/mcp-server/tools/domainsBuyDomain.js +2 -2
- package/esm/mcp-server/tools/domainsBuyDomain.js.map +1 -1
- package/esm/mcp-server/tools/domainsCheckDomainPrice.js +2 -2
- package/esm/mcp-server/tools/domainsCheckDomainPrice.js.map +1 -1
- package/esm/mcp-server/tools/domainsCheckDomainStatus.js +2 -2
- package/esm/mcp-server/tools/domainsCheckDomainStatus.js.map +1 -1
- package/esm/mcp-server/tools/domainsCreateOrTransferDomain.js +2 -2
- package/esm/mcp-server/tools/domainsCreateOrTransferDomain.js.map +1 -1
- package/esm/mcp-server/tools/domainsGetDomainTransfer.js +2 -2
- package/esm/mcp-server/tools/domainsGetDomainTransfer.js.map +1 -1
- package/esm/mcp-server/tools/domainsPatchDomain.js +1 -1
- package/esm/mcp-server/tools/domainsPatchDomain.js.map +1 -1
- package/esm/mcp-server/tools/domainsRegistrarBuyDomains.js +2 -2
- package/esm/mcp-server/tools/domainsRegistrarBuyDomains.js.map +1 -1
- package/esm/mcp-server/tools/domainsRegistrarGetBulkAvailability.js +1 -1
- package/esm/mcp-server/tools/domainsRegistrarGetBulkAvailability.js.map +1 -1
- package/esm/mcp-server/tools/domainsRegistrarGetContactInfoSchema.d.ts.map +1 -1
- package/esm/mcp-server/tools/domainsRegistrarGetContactInfoSchema.js +2 -2
- package/esm/mcp-server/tools/domainsRegistrarGetContactInfoSchema.js.map +1 -1
- package/esm/mcp-server/tools/domainsRegistrarGetDomainAuthCode.js +1 -1
- package/esm/mcp-server/tools/domainsRegistrarGetDomainAuthCode.js.map +1 -1
- package/esm/mcp-server/tools/domainsRegistrarGetDomainAvailability.js +2 -2
- package/esm/mcp-server/tools/domainsRegistrarGetDomainAvailability.js.map +1 -1
- package/esm/mcp-server/tools/domainsRegistrarGetDomainPrice.js +1 -1
- package/esm/mcp-server/tools/domainsRegistrarGetDomainTransferIn.js +2 -2
- package/esm/mcp-server/tools/domainsRegistrarGetDomainTransferIn.js.map +1 -1
- package/esm/mcp-server/tools/domainsRegistrarGetOrder.js +2 -2
- package/esm/mcp-server/tools/domainsRegistrarGetOrder.js.map +1 -1
- package/esm/mcp-server/tools/domainsRegistrarGetSupportedTlds.js +2 -2
- package/esm/mcp-server/tools/domainsRegistrarGetSupportedTlds.js.map +1 -1
- package/esm/mcp-server/tools/domainsRegistrarGetTldPrice.js +2 -2
- package/esm/mcp-server/tools/domainsRegistrarGetTldPrice.js.map +1 -1
- package/esm/mcp-server/tools/domainsRegistrarTransferInDomain.js +2 -2
- package/esm/mcp-server/tools/domainsRegistrarTransferInDomain.js.map +1 -1
- package/esm/mcp-server/tools/domainsRegistrarUpdateDomainAutoRenew.js +2 -2
- package/esm/mcp-server/tools/domainsRegistrarUpdateDomainAutoRenew.js.map +1 -1
- package/esm/mcp-server/tools/domainsRegistrarUpdateDomainNameservers.js +2 -2
- package/esm/mcp-server/tools/domainsRegistrarUpdateDomainNameservers.js.map +1 -1
- package/esm/models/additionalcontactinforequired.d.ts +6 -25
- package/esm/models/additionalcontactinforequired.d.ts.map +1 -1
- package/esm/models/additionalcontactinforequired.js +4 -30
- package/esm/models/additionalcontactinforequired.js.map +1 -1
- package/esm/models/badrequest.d.ts +0 -25
- package/esm/models/badrequest.d.ts.map +1 -1
- package/esm/models/badrequest.js +1 -30
- package/esm/models/badrequest.js.map +1 -1
- package/esm/models/buydomainsop.d.ts +15 -3
- package/esm/models/buydomainsop.d.ts.map +1 -1
- package/esm/models/buydomainsop.js +16 -16
- package/esm/models/buydomainsop.js.map +1 -1
- package/esm/models/buysingledomainop.d.ts +15 -3
- package/esm/models/buysingledomainop.d.ts.map +1 -1
- package/esm/models/buysingledomainop.js +12 -12
- package/esm/models/buysingledomainop.js.map +1 -1
- package/esm/models/createintegrationstoredirectop.d.ts +291 -285
- package/esm/models/createintegrationstoredirectop.d.ts.map +1 -1
- package/esm/models/createintegrationstoredirectop.js +353 -351
- package/esm/models/createintegrationstoredirectop.js.map +1 -1
- package/esm/models/createortransferdomainop.d.ts +5 -3
- package/esm/models/createortransferdomainop.d.ts.map +1 -1
- package/esm/models/createortransferdomainop.js.map +1 -1
- package/esm/models/domainalreadyrenewing.d.ts +6 -25
- package/esm/models/domainalreadyrenewing.d.ts.map +1 -1
- package/esm/models/domainalreadyrenewing.js +4 -30
- package/esm/models/domainalreadyrenewing.js.map +1 -1
- package/esm/models/domainnotavailable.d.ts +6 -25
- package/esm/models/domainnotavailable.d.ts.map +1 -1
- package/esm/models/domainnotavailable.js +4 -30
- package/esm/models/domainnotavailable.js.map +1 -1
- package/esm/models/domainnotfound.d.ts +6 -25
- package/esm/models/domainnotfound.d.ts.map +1 -1
- package/esm/models/domainnotfound.js +4 -30
- package/esm/models/domainnotfound.js.map +1 -1
- package/esm/models/domainnotregistered.d.ts +6 -25
- package/esm/models/domainnotregistered.d.ts.map +1 -1
- package/esm/models/domainnotregistered.js +4 -30
- package/esm/models/domainnotregistered.js.map +1 -1
- package/esm/models/domainnotrenewable.d.ts +6 -25
- package/esm/models/domainnotrenewable.d.ts.map +1 -1
- package/esm/models/domainnotrenewable.js +4 -30
- package/esm/models/domainnotrenewable.js.map +1 -1
- package/esm/models/duplicatedomains.d.ts +6 -25
- package/esm/models/duplicatedomains.d.ts.map +1 -1
- package/esm/models/duplicatedomains.js +4 -30
- package/esm/models/duplicatedomains.js.map +1 -1
- package/esm/models/expectedpricemismatch.d.ts +6 -25
- package/esm/models/expectedpricemismatch.d.ts.map +1 -1
- package/esm/models/expectedpricemismatch.js +4 -30
- package/esm/models/expectedpricemismatch.js.map +1 -1
- package/esm/models/forbidden.d.ts +0 -25
- package/esm/models/forbidden.d.ts.map +1 -1
- package/esm/models/forbidden.js +1 -30
- package/esm/models/forbidden.js.map +1 -1
- package/esm/models/getconfigurationproductsop.d.ts +375 -375
- package/esm/models/getconfigurationproductsop.js +465 -465
- package/esm/models/getcontactinfoschemaop.d.ts +2 -2
- package/esm/models/getcontactinfoschemaop.d.ts.map +1 -1
- package/esm/models/getcontactinfoschemaop.js +2 -2
- package/esm/models/getcontactinfoschemaop.js.map +1 -1
- package/esm/models/getdomainauthcodeop.d.ts +2 -2
- package/esm/models/getdomainauthcodeop.d.ts.map +1 -1
- package/esm/models/getdomainauthcodeop.js +2 -2
- package/esm/models/getdomainauthcodeop.js.map +1 -1
- package/esm/models/getdomainpriceop.d.ts +11 -11
- package/esm/models/getdomainpriceop.d.ts.map +1 -1
- package/esm/models/getdomainpriceop.js +10 -10
- package/esm/models/getdomainpriceop.js.map +1 -1
- package/esm/models/getintegrationresourceop.d.ts +3 -0
- package/esm/models/getintegrationresourceop.d.ts.map +1 -1
- package/esm/models/getintegrationresourceop.js +1 -0
- package/esm/models/getintegrationresourceop.js.map +1 -1
- package/esm/models/getintegrationresourcesop.d.ts +3 -0
- package/esm/models/getintegrationresourcesop.d.ts.map +1 -1
- package/esm/models/getintegrationresourcesop.js +1 -0
- package/esm/models/getintegrationresourcesop.js.map +1 -1
- package/esm/models/getorderop.d.ts +18 -9
- package/esm/models/getorderop.d.ts.map +1 -1
- package/esm/models/getorderop.js +6 -6
- package/esm/models/getorderop.js.map +1 -1
- package/esm/models/getprojectsop.d.ts +36 -0
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +24 -0
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/gettldpriceop.d.ts +14 -11
- package/esm/models/gettldpriceop.d.ts.map +1 -1
- package/esm/models/gettldpriceop.js +8 -8
- package/esm/models/gettldpriceop.js.map +1 -1
- package/esm/models/httpapidecodeerror.d.ts +0 -26
- package/esm/models/httpapidecodeerror.d.ts.map +1 -1
- package/esm/models/httpapidecodeerror.js +1 -30
- package/esm/models/httpapidecodeerror.js.map +1 -1
- package/esm/models/importresourceop.d.ts +3 -0
- package/esm/models/importresourceop.d.ts.map +1 -1
- package/esm/models/importresourceop.js +1 -0
- package/esm/models/importresourceop.js.map +1 -1
- package/esm/models/internalservererror.d.ts +0 -25
- package/esm/models/internalservererror.d.ts.map +1 -1
- package/esm/models/internalservererror.js +1 -30
- package/esm/models/internalservererror.js.map +1 -1
- package/esm/models/invalidadditionalcontactinfo.d.ts +6 -25
- package/esm/models/invalidadditionalcontactinfo.d.ts.map +1 -1
- package/esm/models/invalidadditionalcontactinfo.js +4 -30
- package/esm/models/invalidadditionalcontactinfo.js.map +1 -1
- package/esm/models/issue.d.ts +0 -55
- package/esm/models/issue.d.ts.map +1 -1
- package/esm/models/issue.js +0 -39
- package/esm/models/issue.js.map +1 -1
- package/esm/models/notauthorizedforscope.d.ts +0 -25
- package/esm/models/notauthorizedforscope.d.ts.map +1 -1
- package/esm/models/notauthorizedforscope.js +1 -30
- package/esm/models/notauthorizedforscope.js.map +1 -1
- package/esm/models/notfound.d.ts +0 -25
- package/esm/models/notfound.d.ts.map +1 -1
- package/esm/models/notfound.js +1 -31
- package/esm/models/notfound.js.map +1 -1
- package/esm/models/ordertooexpensive.d.ts +6 -25
- package/esm/models/ordertooexpensive.d.ts.map +1 -1
- package/esm/models/ordertooexpensive.js +4 -30
- package/esm/models/ordertooexpensive.js.map +1 -1
- package/esm/models/patchdomainop.d.ts +6 -2
- package/esm/models/patchdomainop.d.ts.map +1 -1
- package/esm/models/patchdomainop.js.map +1 -1
- package/esm/models/propertykey.d.ts +8 -8
- package/esm/models/propertykey.d.ts.map +1 -1
- package/esm/models/propertykey.js +12 -12
- package/esm/models/propertykey.js.map +1 -1
- package/esm/models/renewdomainop.d.ts +6 -3
- package/esm/models/renewdomainop.d.ts.map +1 -1
- package/esm/models/renewdomainop.js +10 -10
- package/esm/models/renewdomainop.js.map +1 -1
- package/esm/models/tldnotsupported.d.ts +6 -25
- package/esm/models/tldnotsupported.d.ts.map +1 -1
- package/esm/models/tldnotsupported.js +4 -30
- package/esm/models/tldnotsupported.js.map +1 -1
- package/esm/models/toomanydomains.d.ts +6 -25
- package/esm/models/toomanydomains.d.ts.map +1 -1
- package/esm/models/toomanydomains.js +4 -30
- package/esm/models/toomanydomains.js.map +1 -1
- package/esm/models/toomanyrequests.d.ts +0 -25
- package/esm/models/toomanyrequests.d.ts.map +1 -1
- package/esm/models/toomanyrequests.js +1 -30
- package/esm/models/toomanyrequests.js.map +1 -1
- package/esm/models/transferindomainop.d.ts +9 -3
- package/esm/models/transferindomainop.d.ts.map +1 -1
- package/esm/models/transferindomainop.js +8 -8
- package/esm/models/transferindomainop.js.map +1 -1
- package/esm/models/unauthorized.d.ts +0 -25
- package/esm/models/unauthorized.d.ts.map +1 -1
- package/esm/models/unauthorized.js +1 -30
- package/esm/models/unauthorized.js.map +1 -1
- package/esm/models/updatedomainautorenewop.d.ts +2 -2
- package/esm/models/updatedomainautorenewop.d.ts.map +1 -1
- package/esm/models/updatedomainautorenewop.js +6 -6
- package/esm/models/updatedomainautorenewop.js.map +1 -1
- package/esm/models/updatedomainnameserversop.d.ts +2 -2
- package/esm/models/updatedomainnameserversop.d.ts.map +1 -1
- package/esm/models/updatedomainnameserversop.js +2 -2
- package/esm/models/updatedomainnameserversop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +36 -0
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +27 -0
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/updatesharedconnectlinksop.d.ts +182 -0
- package/esm/models/updatesharedconnectlinksop.d.ts.map +1 -0
- package/esm/models/updatesharedconnectlinksop.js +179 -0
- package/esm/models/updatesharedconnectlinksop.js.map +1 -0
- package/esm/sdk/connect.d.ts +12 -0
- package/esm/sdk/connect.d.ts.map +1 -0
- package/esm/sdk/connect.js +18 -0
- package/esm/sdk/connect.js.map +1 -0
- package/esm/sdk/domains.d.ts +11 -11
- package/esm/sdk/domains.js +11 -11
- package/esm/sdk/domainsregistrar.d.ts +23 -23
- package/esm/sdk/domainsregistrar.js +23 -23
- package/esm/sdk/sdk.d.ts +3 -0
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +4 -0
- package/esm/sdk/sdk.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/accessgroups.test.ts +6 -2
- package/src/__tests__/connect.test.ts +39 -0
- package/src/__tests__/domains.test.ts +11 -4
- package/src/__tests__/domainsregistrar.test.ts +1 -1
- package/src/__tests__/edgeconfig.test.ts +6 -6
- package/src/__tests__/integrations.test.ts +1 -1
- package/src/__tests__/rollingrelease.test.ts +2 -2
- package/src/__tests__/security.test.ts +11 -1
- package/src/funcs/connectUpdateSharedConnectLinks.ts +181 -0
- package/src/funcs/domainsBuyDomain.ts +2 -2
- package/src/funcs/domainsCheckDomainPrice.ts +2 -2
- package/src/funcs/domainsCheckDomainStatus.ts +2 -2
- package/src/funcs/domainsCreateOrTransferDomain.ts +2 -2
- package/src/funcs/domainsGetDomainTransfer.ts +2 -2
- package/src/funcs/domainsPatchDomain.ts +1 -1
- package/src/funcs/domainsRegistrarBuyDomains.ts +2 -2
- package/src/funcs/domainsRegistrarGetBulkAvailability.ts +1 -1
- package/src/funcs/domainsRegistrarGetContactInfoSchema.ts +2 -2
- package/src/funcs/domainsRegistrarGetDomainAuthCode.ts +1 -1
- package/src/funcs/domainsRegistrarGetDomainAvailability.ts +2 -2
- package/src/funcs/domainsRegistrarGetDomainPrice.ts +1 -1
- package/src/funcs/domainsRegistrarGetDomainTransferIn.ts +2 -2
- package/src/funcs/domainsRegistrarGetOrder.ts +2 -2
- package/src/funcs/domainsRegistrarGetSupportedTlds.ts +2 -2
- package/src/funcs/domainsRegistrarGetTldPrice.ts +2 -2
- package/src/funcs/domainsRegistrarTransferInDomain.ts +2 -2
- package/src/funcs/domainsRegistrarUpdateDomainAutoRenew.ts +2 -2
- package/src/funcs/domainsRegistrarUpdateDomainNameservers.ts +2 -2
- package/src/funcs/projectsGetProjects.ts +1 -0
- package/src/funcs/projectsUploadProjectClientCert.ts +2 -2
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -1
- package/src/mcp-server/tools/connectUpdateSharedConnectLinks.ts +38 -0
- package/src/mcp-server/tools/domainsBuyDomain.ts +2 -2
- package/src/mcp-server/tools/domainsCheckDomainPrice.ts +2 -2
- package/src/mcp-server/tools/domainsCheckDomainStatus.ts +2 -2
- package/src/mcp-server/tools/domainsCreateOrTransferDomain.ts +2 -2
- package/src/mcp-server/tools/domainsGetDomainTransfer.ts +2 -2
- package/src/mcp-server/tools/domainsPatchDomain.ts +1 -1
- package/src/mcp-server/tools/domainsRegistrarBuyDomains.ts +2 -2
- package/src/mcp-server/tools/domainsRegistrarGetBulkAvailability.ts +1 -1
- package/src/mcp-server/tools/domainsRegistrarGetContactInfoSchema.ts +2 -3
- package/src/mcp-server/tools/domainsRegistrarGetDomainAuthCode.ts +1 -1
- package/src/mcp-server/tools/domainsRegistrarGetDomainAvailability.ts +2 -2
- package/src/mcp-server/tools/domainsRegistrarGetDomainPrice.ts +1 -1
- package/src/mcp-server/tools/domainsRegistrarGetDomainTransferIn.ts +2 -2
- package/src/mcp-server/tools/domainsRegistrarGetOrder.ts +2 -2
- package/src/mcp-server/tools/domainsRegistrarGetSupportedTlds.ts +2 -2
- package/src/mcp-server/tools/domainsRegistrarGetTldPrice.ts +2 -2
- package/src/mcp-server/tools/domainsRegistrarTransferInDomain.ts +2 -2
- package/src/mcp-server/tools/domainsRegistrarUpdateDomainAutoRenew.ts +2 -2
- package/src/mcp-server/tools/domainsRegistrarUpdateDomainNameservers.ts +2 -2
- package/src/models/additionalcontactinforequired.ts +12 -51
- package/src/models/badrequest.ts +6 -49
- package/src/models/buydomainsop.ts +45 -33
- package/src/models/buysingledomainop.ts +37 -25
- package/src/models/createintegrationstoredirectop.ts +606 -604
- package/src/models/createortransferdomainop.ts +5 -3
- package/src/models/domainalreadyrenewing.ts +12 -51
- package/src/models/domainnotavailable.ts +12 -49
- package/src/models/domainnotfound.ts +12 -49
- package/src/models/domainnotregistered.ts +12 -49
- package/src/models/domainnotrenewable.ts +12 -49
- package/src/models/duplicatedomains.ts +12 -49
- package/src/models/expectedpricemismatch.ts +12 -51
- package/src/models/forbidden.ts +6 -47
- package/src/models/getconfigurationproductsop.ts +802 -802
- package/src/models/getcontactinfoschemaop.ts +6 -6
- package/src/models/getdomainauthcodeop.ts +6 -6
- package/src/models/getdomainpriceop.ts +23 -23
- package/src/models/getintegrationresourceop.ts +1 -0
- package/src/models/getintegrationresourcesop.ts +1 -0
- package/src/models/getorderop.ts +24 -15
- package/src/models/getprojectsop.ts +40 -0
- package/src/models/gettldpriceop.ts +24 -21
- package/src/models/httpapidecodeerror.ts +5 -49
- package/src/models/importresourceop.ts +1 -0
- package/src/models/internalservererror.ts +6 -49
- package/src/models/invalidadditionalcontactinfo.ts +12 -51
- package/src/models/issue.ts +0 -53
- package/src/models/notauthorizedforscope.ts +6 -51
- package/src/models/notfound.ts +6 -47
- package/src/models/ordertooexpensive.ts +12 -49
- package/src/models/patchdomainop.ts +6 -2
- package/src/models/propertykey.ts +13 -16
- package/src/models/renewdomainop.ts +24 -21
- package/src/models/tldnotsupported.ts +12 -49
- package/src/models/toomanydomains.ts +12 -49
- package/src/models/toomanyrequests.ts +8 -51
- package/src/models/transferindomainop.ts +23 -17
- package/src/models/unauthorized.ts +6 -49
- package/src/models/updatedomainautorenewop.ts +12 -12
- package/src/models/updatedomainnameserversop.ts +6 -6
- package/src/models/updateprojectop.ts +71 -0
- package/src/models/updatesharedconnectlinksop.ts +402 -0
- package/src/sdk/connect.ts +30 -0
- package/src/sdk/domains.ts +11 -11
- package/src/sdk/domainsregistrar.ts +23 -23
- package/src/sdk/sdk.ts +6 -0
- package/vercel-spec.json +497 -402
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { VercelCore } from "../core.js";
|
|
7
|
+
import { encodeFormQuery, encodeJSON, encodeSimple } from "../lib/encodings.js";
|
|
8
|
+
import * as M from "../lib/matchers.js";
|
|
9
|
+
import { compactMap } from "../lib/primitives.js";
|
|
10
|
+
import { safeParse } from "../lib/schemas.js";
|
|
11
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
12
|
+
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
13
|
+
import { pathToFunc } from "../lib/url.js";
|
|
14
|
+
import {
|
|
15
|
+
ConnectionError,
|
|
16
|
+
InvalidRequestError,
|
|
17
|
+
RequestAbortedError,
|
|
18
|
+
RequestTimeoutError,
|
|
19
|
+
UnexpectedClientError,
|
|
20
|
+
} from "../models/httpclienterrors.js";
|
|
21
|
+
import { ResponseValidationError } from "../models/responsevalidationerror.js";
|
|
22
|
+
import { SDKValidationError } from "../models/sdkvalidationerror.js";
|
|
23
|
+
import {
|
|
24
|
+
UpdateSharedConnectLinksRequest,
|
|
25
|
+
UpdateSharedConnectLinksRequest$outboundSchema,
|
|
26
|
+
UpdateSharedConnectLinksResponseBody,
|
|
27
|
+
UpdateSharedConnectLinksResponseBody$inboundSchema,
|
|
28
|
+
} from "../models/updatesharedconnectlinksop.js";
|
|
29
|
+
import { VercelError } from "../models/vercelerror.js";
|
|
30
|
+
import { APICall, APIPromise } from "../types/async.js";
|
|
31
|
+
import { Result } from "../types/fp.js";
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Update project connections to shared Secure Compute networks
|
|
35
|
+
*
|
|
36
|
+
* @remarks
|
|
37
|
+
* Allows updating project connections to shared Secure Compute networks.
|
|
38
|
+
*/
|
|
39
|
+
export function connectUpdateSharedConnectLinks(
|
|
40
|
+
client: VercelCore,
|
|
41
|
+
request: UpdateSharedConnectLinksRequest,
|
|
42
|
+
options?: RequestOptions,
|
|
43
|
+
): APIPromise<
|
|
44
|
+
Result<
|
|
45
|
+
Array<UpdateSharedConnectLinksResponseBody>,
|
|
46
|
+
| VercelError
|
|
47
|
+
| ResponseValidationError
|
|
48
|
+
| ConnectionError
|
|
49
|
+
| RequestAbortedError
|
|
50
|
+
| RequestTimeoutError
|
|
51
|
+
| InvalidRequestError
|
|
52
|
+
| UnexpectedClientError
|
|
53
|
+
| SDKValidationError
|
|
54
|
+
>
|
|
55
|
+
> {
|
|
56
|
+
return new APIPromise($do(
|
|
57
|
+
client,
|
|
58
|
+
request,
|
|
59
|
+
options,
|
|
60
|
+
));
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
async function $do(
|
|
64
|
+
client: VercelCore,
|
|
65
|
+
request: UpdateSharedConnectLinksRequest,
|
|
66
|
+
options?: RequestOptions,
|
|
67
|
+
): Promise<
|
|
68
|
+
[
|
|
69
|
+
Result<
|
|
70
|
+
Array<UpdateSharedConnectLinksResponseBody>,
|
|
71
|
+
| VercelError
|
|
72
|
+
| ResponseValidationError
|
|
73
|
+
| ConnectionError
|
|
74
|
+
| RequestAbortedError
|
|
75
|
+
| RequestTimeoutError
|
|
76
|
+
| InvalidRequestError
|
|
77
|
+
| UnexpectedClientError
|
|
78
|
+
| SDKValidationError
|
|
79
|
+
>,
|
|
80
|
+
APICall,
|
|
81
|
+
]
|
|
82
|
+
> {
|
|
83
|
+
const parsed = safeParse(
|
|
84
|
+
request,
|
|
85
|
+
(value) => UpdateSharedConnectLinksRequest$outboundSchema.parse(value),
|
|
86
|
+
"Input validation failed",
|
|
87
|
+
);
|
|
88
|
+
if (!parsed.ok) {
|
|
89
|
+
return [parsed, { status: "invalid" }];
|
|
90
|
+
}
|
|
91
|
+
const payload = parsed.value;
|
|
92
|
+
const body = encodeJSON("body", payload.RequestBody, { explode: true });
|
|
93
|
+
|
|
94
|
+
const pathParams = {
|
|
95
|
+
idOrName: encodeSimple("idOrName", payload.idOrName, {
|
|
96
|
+
explode: false,
|
|
97
|
+
charEncoding: "percent",
|
|
98
|
+
}),
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
const path = pathToFunc("/v1/projects/{idOrName}/shared-connect-links")(
|
|
102
|
+
pathParams,
|
|
103
|
+
);
|
|
104
|
+
|
|
105
|
+
const query = encodeFormQuery({
|
|
106
|
+
"slug": payload.slug,
|
|
107
|
+
"teamId": payload.teamId,
|
|
108
|
+
});
|
|
109
|
+
|
|
110
|
+
const headers = new Headers(compactMap({
|
|
111
|
+
"Content-Type": "application/json",
|
|
112
|
+
Accept: "application/json",
|
|
113
|
+
}));
|
|
114
|
+
|
|
115
|
+
const secConfig = await extractSecurity(client._options.bearerToken);
|
|
116
|
+
const securityInput = secConfig == null ? {} : { bearerToken: secConfig };
|
|
117
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
118
|
+
|
|
119
|
+
const context = {
|
|
120
|
+
options: client._options,
|
|
121
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
122
|
+
operationID: "updateSharedConnectLinks",
|
|
123
|
+
oAuth2Scopes: null,
|
|
124
|
+
|
|
125
|
+
resolvedSecurity: requestSecurity,
|
|
126
|
+
|
|
127
|
+
securitySource: client._options.bearerToken,
|
|
128
|
+
retryConfig: options?.retries
|
|
129
|
+
|| client._options.retryConfig
|
|
130
|
+
|| { strategy: "none" },
|
|
131
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
const requestRes = client._createRequest(context, {
|
|
135
|
+
security: requestSecurity,
|
|
136
|
+
method: "PATCH",
|
|
137
|
+
baseURL: options?.serverURL,
|
|
138
|
+
path: path,
|
|
139
|
+
headers: headers,
|
|
140
|
+
query: query,
|
|
141
|
+
body: body,
|
|
142
|
+
userAgent: client._options.userAgent,
|
|
143
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
144
|
+
}, options);
|
|
145
|
+
if (!requestRes.ok) {
|
|
146
|
+
return [requestRes, { status: "invalid" }];
|
|
147
|
+
}
|
|
148
|
+
const req = requestRes.value;
|
|
149
|
+
|
|
150
|
+
const doResult = await client._do(req, {
|
|
151
|
+
context,
|
|
152
|
+
errorCodes: ["400", "401", "402", "403", "404", "4XX", "500", "5XX"],
|
|
153
|
+
retryConfig: context.retryConfig,
|
|
154
|
+
retryCodes: context.retryCodes,
|
|
155
|
+
});
|
|
156
|
+
if (!doResult.ok) {
|
|
157
|
+
return [doResult, { status: "request-error", request: req }];
|
|
158
|
+
}
|
|
159
|
+
const response = doResult.value;
|
|
160
|
+
|
|
161
|
+
const [result] = await M.match<
|
|
162
|
+
Array<UpdateSharedConnectLinksResponseBody>,
|
|
163
|
+
| VercelError
|
|
164
|
+
| ResponseValidationError
|
|
165
|
+
| ConnectionError
|
|
166
|
+
| RequestAbortedError
|
|
167
|
+
| RequestTimeoutError
|
|
168
|
+
| InvalidRequestError
|
|
169
|
+
| UnexpectedClientError
|
|
170
|
+
| SDKValidationError
|
|
171
|
+
>(
|
|
172
|
+
M.json(200, z.array(UpdateSharedConnectLinksResponseBody$inboundSchema)),
|
|
173
|
+
M.fail([400, 401, 402, 403, 404, "4XX"]),
|
|
174
|
+
M.fail([500, "5XX"]),
|
|
175
|
+
)(response, req);
|
|
176
|
+
if (!result.ok) {
|
|
177
|
+
return [result, { status: "complete", request: req, response }];
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
return [result, { status: "complete", request: req, response }];
|
|
181
|
+
}
|
|
@@ -30,10 +30,10 @@ import { APICall, APIPromise } from "../types/async.js";
|
|
|
30
30
|
import { Result } from "../types/fp.js";
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
|
-
* Purchase a domain
|
|
33
|
+
* Purchase a domain (deprecated)
|
|
34
34
|
*
|
|
35
35
|
* @remarks
|
|
36
|
-
*
|
|
36
|
+
* This endpoint is deprecated and replaced with the endpoint [Buy a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/buy-a-domain). Purchases the specified domain.
|
|
37
37
|
*/
|
|
38
38
|
export function domainsBuyDomain(
|
|
39
39
|
client: VercelCore,
|
|
@@ -30,10 +30,10 @@ import { APICall, APIPromise } from "../types/async.js";
|
|
|
30
30
|
import { Result } from "../types/fp.js";
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
|
-
* Check the price for a domain
|
|
33
|
+
* Check the price for a domain (deprecated)
|
|
34
34
|
*
|
|
35
35
|
* @remarks
|
|
36
|
-
* Check the price to purchase a domain and how long a single purchase period is.
|
|
36
|
+
* This endpoint is deprecated and replaced with the endpoint [Get price data for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-price-data-for-a-domain). Check the price to purchase a domain and how long a single purchase period is.
|
|
37
37
|
*/
|
|
38
38
|
export function domainsCheckDomainPrice(
|
|
39
39
|
client: VercelCore,
|
|
@@ -30,10 +30,10 @@ import { APICall, APIPromise } from "../types/async.js";
|
|
|
30
30
|
import { Result } from "../types/fp.js";
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
|
-
* Check a Domain Availability
|
|
33
|
+
* Check a Domain Availability (deprecated)
|
|
34
34
|
*
|
|
35
35
|
* @remarks
|
|
36
|
-
* Check if a domain name is available for purchase.
|
|
36
|
+
* This endpoint is deprecated and replaced with the endpoint [Get availability for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-availability-for-a-domain). Check if a domain name is available for purchase.
|
|
37
37
|
*/
|
|
38
38
|
export function domainsCheckDomainStatus(
|
|
39
39
|
client: VercelCore,
|
|
@@ -30,10 +30,10 @@ import { APICall, APIPromise } from "../types/async.js";
|
|
|
30
30
|
import { Result } from "../types/fp.js";
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* Add an existing domain to the Vercel platform
|
|
34
34
|
*
|
|
35
35
|
* @remarks
|
|
36
|
-
* This endpoint is used for adding a new apex domain name with Vercel for the authenticating user.
|
|
36
|
+
* This endpoint is used for adding a new apex domain name with Vercel for the authenticating user. Note: This endpoint is no longer used for initiating domain transfers from external registrars to Vercel. For this, please use the endpoint [Transfer-in a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/transfer-in-a-domain).
|
|
37
37
|
*/
|
|
38
38
|
export function domainsCreateOrTransferDomain(
|
|
39
39
|
client: VercelCore,
|
|
@@ -30,10 +30,10 @@ import { APICall, APIPromise } from "../types/async.js";
|
|
|
30
30
|
import { Result } from "../types/fp.js";
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
|
-
* Get domain transfer info
|
|
33
|
+
* Get domain transfer info (deprecated)
|
|
34
34
|
*
|
|
35
35
|
* @remarks
|
|
36
|
-
* Fetch domain transfer availability or transfer status if a transfer is in progress.
|
|
36
|
+
* This endpoint is deprecated and replaced with the endpoint [Get a domain's transfer status](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-a-domain-s-transfer-status). Fetch domain transfer availability or transfer status if a transfer is in progress.
|
|
37
37
|
*/
|
|
38
38
|
export function domainsGetDomainTransfer(
|
|
39
39
|
client: VercelCore,
|
|
@@ -33,7 +33,7 @@ import { Result } from "../types/fp.js";
|
|
|
33
33
|
* Update or move apex domain
|
|
34
34
|
*
|
|
35
35
|
* @remarks
|
|
36
|
-
* Update or move apex domain.
|
|
36
|
+
* Update or move apex domain. Note: This endpoint is no longer used for updating auto-renew or nameservers. For this, please use the endpoints [Update auto-renew for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/update-auto-renew-for-a-domain) and [Update nameservers for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/update-nameservers-for-a-domain).
|
|
37
37
|
*/
|
|
38
38
|
export function domainsPatchDomain(
|
|
39
39
|
client: VercelCore,
|
|
@@ -46,10 +46,10 @@ import { APICall, APIPromise } from "../types/async.js";
|
|
|
46
46
|
import { Result } from "../types/fp.js";
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
|
-
* Buy multiple domains
|
|
49
|
+
* Buy multiple domains
|
|
50
50
|
*
|
|
51
51
|
* @remarks
|
|
52
|
-
* Buy multiple domains
|
|
52
|
+
* Buy multiple domains at once
|
|
53
53
|
*/
|
|
54
54
|
export function domainsRegistrarBuyDomains(
|
|
55
55
|
client: VercelCore,
|
|
@@ -53,7 +53,7 @@ import { Result } from "../types/fp.js";
|
|
|
53
53
|
* Get availability for multiple domains
|
|
54
54
|
*
|
|
55
55
|
* @remarks
|
|
56
|
-
* Get availability for multiple domains
|
|
56
|
+
* Get availability for multiple domains. If the domains are available, they can be purchased using the [Buy a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/buy-a-domain) endpoint or the [Buy multiple domains](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/buy-multiple-domains) endpoint.
|
|
57
57
|
*/
|
|
58
58
|
export function domainsRegistrarGetBulkAvailability(
|
|
59
59
|
client: VercelCore,
|
|
@@ -48,10 +48,10 @@ import { APICall, APIPromise } from "../types/async.js";
|
|
|
48
48
|
import { Result } from "../types/fp.js";
|
|
49
49
|
|
|
50
50
|
/**
|
|
51
|
-
* Get
|
|
51
|
+
* Get contact info schema
|
|
52
52
|
*
|
|
53
53
|
* @remarks
|
|
54
|
-
*
|
|
54
|
+
* Some TLDs require additional contact information. Use this endpoint to get the schema for the tld-specific contact information for a domain.
|
|
55
55
|
*/
|
|
56
56
|
export function domainsRegistrarGetContactInfoSchema(
|
|
57
57
|
client: VercelCore,
|
|
@@ -53,7 +53,7 @@ import { Result } from "../types/fp.js";
|
|
|
53
53
|
* Get the auth code for a domain
|
|
54
54
|
*
|
|
55
55
|
* @remarks
|
|
56
|
-
* Get the auth code for a domain
|
|
56
|
+
* Get the auth code for a domain. This is required to transfer a domain from Vercel to another registrar.
|
|
57
57
|
*/
|
|
58
58
|
export function domainsRegistrarGetDomainAuthCode(
|
|
59
59
|
client: VercelCore,
|
|
@@ -51,10 +51,10 @@ import { APICall, APIPromise } from "../types/async.js";
|
|
|
51
51
|
import { Result } from "../types/fp.js";
|
|
52
52
|
|
|
53
53
|
/**
|
|
54
|
-
* Get availability for a
|
|
54
|
+
* Get availability for a domain
|
|
55
55
|
*
|
|
56
56
|
* @remarks
|
|
57
|
-
* Get availability for a specific domain
|
|
57
|
+
* Get availability for a specific domain. If the domain is available, it can be purchased using the [Buy a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/buy-a-domain) endpoint or the [Buy multiple domains](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/buy-multiple-domains) endpoint.
|
|
58
58
|
*/
|
|
59
59
|
export function domainsRegistrarGetDomainAvailability(
|
|
60
60
|
client: VercelCore,
|
|
@@ -49,10 +49,10 @@ import { APICall, APIPromise } from "../types/async.js";
|
|
|
49
49
|
import { Result } from "../types/fp.js";
|
|
50
50
|
|
|
51
51
|
/**
|
|
52
|
-
* Get
|
|
52
|
+
* Get a domain's transfer status
|
|
53
53
|
*
|
|
54
54
|
* @remarks
|
|
55
|
-
* Get
|
|
55
|
+
* Get the transfer status for a domain
|
|
56
56
|
*/
|
|
57
57
|
export function domainsRegistrarGetDomainTransferIn(
|
|
58
58
|
client: VercelCore,
|
|
@@ -49,10 +49,10 @@ import { APICall, APIPromise } from "../types/async.js";
|
|
|
49
49
|
import { Result } from "../types/fp.js";
|
|
50
50
|
|
|
51
51
|
/**
|
|
52
|
-
* Get
|
|
52
|
+
* Get a domain order
|
|
53
53
|
*
|
|
54
54
|
* @remarks
|
|
55
|
-
* Get a domain order
|
|
55
|
+
* Get information about a domain order by its ID
|
|
56
56
|
*/
|
|
57
57
|
export function domainsRegistrarGetOrder(
|
|
58
58
|
client: VercelCore,
|
|
@@ -43,10 +43,10 @@ import { APICall, APIPromise } from "../types/async.js";
|
|
|
43
43
|
import { Result } from "../types/fp.js";
|
|
44
44
|
|
|
45
45
|
/**
|
|
46
|
-
* Get
|
|
46
|
+
* Get supported TLDs
|
|
47
47
|
*
|
|
48
48
|
* @remarks
|
|
49
|
-
* Get supported
|
|
49
|
+
* Get a list of TLDs supported by Vercel
|
|
50
50
|
*/
|
|
51
51
|
export function domainsRegistrarGetSupportedTlds(
|
|
52
52
|
client: VercelCore,
|
|
@@ -48,10 +48,10 @@ import { APICall, APIPromise } from "../types/async.js";
|
|
|
48
48
|
import { Result } from "../types/fp.js";
|
|
49
49
|
|
|
50
50
|
/**
|
|
51
|
-
* Get price data
|
|
51
|
+
* Get TLD price data
|
|
52
52
|
*
|
|
53
53
|
* @remarks
|
|
54
|
-
* Get TLD price data
|
|
54
|
+
* Get price data for a specific TLD. This only reflects base prices for the given TLD. Premium domains may have different prices. Use the [Get price data for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-price-data-for-a-domain) endpoint to get the price data for a specific domain.
|
|
55
55
|
*/
|
|
56
56
|
export function domainsRegistrarGetTldPrice(
|
|
57
57
|
client: VercelCore,
|
|
@@ -46,10 +46,10 @@ import { APICall, APIPromise } from "../types/async.js";
|
|
|
46
46
|
import { Result } from "../types/fp.js";
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
|
-
* Transfer a domain
|
|
49
|
+
* Transfer-in a domain
|
|
50
50
|
*
|
|
51
51
|
* @remarks
|
|
52
|
-
* Transfer
|
|
52
|
+
* Transfer a domain in from another registrar
|
|
53
53
|
*/
|
|
54
54
|
export function domainsRegistrarTransferInDomain(
|
|
55
55
|
client: VercelCore,
|
|
@@ -49,10 +49,10 @@ import { APICall, APIPromise } from "../types/async.js";
|
|
|
49
49
|
import { Result } from "../types/fp.js";
|
|
50
50
|
|
|
51
51
|
/**
|
|
52
|
-
* Update
|
|
52
|
+
* Update auto-renew for a domain
|
|
53
53
|
*
|
|
54
54
|
* @remarks
|
|
55
|
-
* Update auto-renew for a domain
|
|
55
|
+
* Update the auto-renew setting for a domain
|
|
56
56
|
*/
|
|
57
57
|
export function domainsRegistrarUpdateDomainAutoRenew(
|
|
58
58
|
client: VercelCore,
|
|
@@ -49,10 +49,10 @@ import { APICall, APIPromise } from "../types/async.js";
|
|
|
49
49
|
import { Result } from "../types/fp.js";
|
|
50
50
|
|
|
51
51
|
/**
|
|
52
|
-
* Update
|
|
52
|
+
* Update nameservers for a domain
|
|
53
53
|
*
|
|
54
54
|
* @remarks
|
|
55
|
-
* Update nameservers for a domain
|
|
55
|
+
* Update the nameservers for a domain. Pass an empty array to use Vercel's default nameservers.
|
|
56
56
|
*/
|
|
57
57
|
export function domainsRegistrarUpdateDomainNameservers(
|
|
58
58
|
client: VercelCore,
|
|
@@ -146,7 +146,7 @@ async function $do(
|
|
|
146
146
|
|
|
147
147
|
const doResult = await client._do(req, {
|
|
148
148
|
context,
|
|
149
|
-
errorCodes: ["400", "401", "402", "403", "409", "4XX", "500", "5XX"],
|
|
149
|
+
errorCodes: ["400", "401", "402", "403", "404", "409", "4XX", "500", "5XX"],
|
|
150
150
|
retryConfig: context.retryConfig,
|
|
151
151
|
retryCodes: context.retryCodes,
|
|
152
152
|
});
|
|
@@ -167,7 +167,7 @@ async function $do(
|
|
|
167
167
|
| SDKValidationError
|
|
168
168
|
>(
|
|
169
169
|
M.json(200, UploadProjectClientCertResponseBody$inboundSchema),
|
|
170
|
-
M.fail([400, 401, 402, 403, 409, "4XX"]),
|
|
170
|
+
M.fail([400, 401, 402, 403, 404, 409, "4XX"]),
|
|
171
171
|
M.fail([500, "5XX"]),
|
|
172
172
|
)(response, req);
|
|
173
173
|
if (!result.ok) {
|
package/src/lib/config.ts
CHANGED
|
@@ -61,7 +61,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
61
61
|
export const SDK_METADATA = {
|
|
62
62
|
language: "typescript",
|
|
63
63
|
openapiDocVersion: "0.0.1",
|
|
64
|
-
sdkVersion: "1.13.
|
|
65
|
-
genVersion: "2.723.
|
|
66
|
-
userAgent: "speakeasy-sdk/typescript 1.13.
|
|
64
|
+
sdkVersion: "1.13.6",
|
|
65
|
+
genVersion: "2.723.8",
|
|
66
|
+
userAgent: "speakeasy-sdk/typescript 1.13.6 2.723.8 0.0.1 @vercel/sdk",
|
|
67
67
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -49,6 +49,7 @@ import { tool$checksGetAllChecks } from "./tools/checksGetAllChecks.js";
|
|
|
49
49
|
import { tool$checksGetCheck } from "./tools/checksGetCheck.js";
|
|
50
50
|
import { tool$checksRerequestCheck } from "./tools/checksRerequestCheck.js";
|
|
51
51
|
import { tool$checksUpdateCheck } from "./tools/checksUpdateCheck.js";
|
|
52
|
+
import { tool$connectUpdateSharedConnectLinks } from "./tools/connectUpdateSharedConnectLinks.js";
|
|
52
53
|
import { tool$deploymentsCancelDeployment } from "./tools/deploymentsCancelDeployment.js";
|
|
53
54
|
import { tool$deploymentsCreateDeployment } from "./tools/deploymentsCreateDeployment.js";
|
|
54
55
|
import { tool$deploymentsDeleteDeployment } from "./tools/deploymentsDeleteDeployment.js";
|
|
@@ -218,7 +219,7 @@ export function createMCPServer(deps: {
|
|
|
218
219
|
}) {
|
|
219
220
|
const server = new McpServer({
|
|
220
221
|
name: "Vercel",
|
|
221
|
-
version: "1.13.
|
|
222
|
+
version: "1.13.6",
|
|
222
223
|
});
|
|
223
224
|
|
|
224
225
|
const client = new VercelCore({
|
|
@@ -395,6 +396,7 @@ export function createMCPServer(deps: {
|
|
|
395
396
|
tool(tool$projectMembersGetProjectMembers);
|
|
396
397
|
tool(tool$projectMembersAddProjectMember);
|
|
397
398
|
tool(tool$projectMembersRemoveProjectMember);
|
|
399
|
+
tool(tool$connectUpdateSharedConnectLinks);
|
|
398
400
|
tool(tool$environmentCreateCustomEnvironment);
|
|
399
401
|
tool(tool$environmentGetV9ProjectsIdOrNameCustomEnvironments);
|
|
400
402
|
tool(tool$environmentGetCustomEnvironment);
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { connectUpdateSharedConnectLinks } from "../../funcs/connectUpdateSharedConnectLinks.js";
|
|
6
|
+
import { UpdateSharedConnectLinksRequest$inboundSchema } from "../../models/updatesharedconnectlinksop.js";
|
|
7
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
|
+
|
|
9
|
+
const args = {
|
|
10
|
+
request: UpdateSharedConnectLinksRequest$inboundSchema,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool$connectUpdateSharedConnectLinks: ToolDefinition<typeof args> =
|
|
14
|
+
{
|
|
15
|
+
name: "connect-update-shared-connect-links",
|
|
16
|
+
description: `Update project connections to shared Secure Compute networks
|
|
17
|
+
|
|
18
|
+
Allows updating project connections to shared Secure Compute networks.`,
|
|
19
|
+
args,
|
|
20
|
+
tool: async (client, args, ctx) => {
|
|
21
|
+
const [result, apiCall] = await connectUpdateSharedConnectLinks(
|
|
22
|
+
client,
|
|
23
|
+
args.request,
|
|
24
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
25
|
+
).$inspect();
|
|
26
|
+
|
|
27
|
+
if (!result.ok) {
|
|
28
|
+
return {
|
|
29
|
+
content: [{ type: "text", text: result.error.message }],
|
|
30
|
+
isError: true,
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
const value = result.value;
|
|
35
|
+
|
|
36
|
+
return formatResult(value, apiCall);
|
|
37
|
+
},
|
|
38
|
+
};
|
|
@@ -12,9 +12,9 @@ const args = {
|
|
|
12
12
|
|
|
13
13
|
export const tool$domainsBuyDomain: ToolDefinition<typeof args> = {
|
|
14
14
|
name: "domains-buy-domain",
|
|
15
|
-
description: `Purchase a domain
|
|
15
|
+
description: `Purchase a domain (deprecated)
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
This endpoint is deprecated and replaced with the endpoint [Buy a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/buy-a-domain). Purchases the specified domain.`,
|
|
18
18
|
args,
|
|
19
19
|
tool: async (client, args, ctx) => {
|
|
20
20
|
const [result, apiCall] = await domainsBuyDomain(
|
|
@@ -12,9 +12,9 @@ const args = {
|
|
|
12
12
|
|
|
13
13
|
export const tool$domainsCheckDomainPrice: ToolDefinition<typeof args> = {
|
|
14
14
|
name: "domains-check-domain-price",
|
|
15
|
-
description: `Check the price for a domain
|
|
15
|
+
description: `Check the price for a domain (deprecated)
|
|
16
16
|
|
|
17
|
-
Check the price to purchase a domain and how long a single purchase period is.`,
|
|
17
|
+
This endpoint is deprecated and replaced with the endpoint [Get price data for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-price-data-for-a-domain). Check the price to purchase a domain and how long a single purchase period is.`,
|
|
18
18
|
args,
|
|
19
19
|
tool: async (client, args, ctx) => {
|
|
20
20
|
const [result, apiCall] = await domainsCheckDomainPrice(
|
|
@@ -12,9 +12,9 @@ const args = {
|
|
|
12
12
|
|
|
13
13
|
export const tool$domainsCheckDomainStatus: ToolDefinition<typeof args> = {
|
|
14
14
|
name: "domains-check-domain-status",
|
|
15
|
-
description: `Check a Domain Availability
|
|
15
|
+
description: `Check a Domain Availability (deprecated)
|
|
16
16
|
|
|
17
|
-
Check if a domain name is available for purchase.`,
|
|
17
|
+
This endpoint is deprecated and replaced with the endpoint [Get availability for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-availability-for-a-domain). Check if a domain name is available for purchase.`,
|
|
18
18
|
args,
|
|
19
19
|
tool: async (client, args, ctx) => {
|
|
20
20
|
const [result, apiCall] = await domainsCheckDomainStatus(
|
|
@@ -12,9 +12,9 @@ const args = {
|
|
|
12
12
|
|
|
13
13
|
export const tool$domainsCreateOrTransferDomain: ToolDefinition<typeof args> = {
|
|
14
14
|
name: "domains-create-or-transfer-domain",
|
|
15
|
-
description: `
|
|
15
|
+
description: `Add an existing domain to the Vercel platform
|
|
16
16
|
|
|
17
|
-
This endpoint is used for adding a new apex domain name with Vercel for the authenticating user.
|
|
17
|
+
This endpoint is used for adding a new apex domain name with Vercel for the authenticating user. Note: This endpoint is no longer used for initiating domain transfers from external registrars to Vercel. For this, please use the endpoint [Transfer-in a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/transfer-in-a-domain).`,
|
|
18
18
|
args,
|
|
19
19
|
tool: async (client, args, ctx) => {
|
|
20
20
|
const [result, apiCall] = await domainsCreateOrTransferDomain(
|
|
@@ -12,9 +12,9 @@ const args = {
|
|
|
12
12
|
|
|
13
13
|
export const tool$domainsGetDomainTransfer: ToolDefinition<typeof args> = {
|
|
14
14
|
name: "domains-get-domain-transfer",
|
|
15
|
-
description: `Get domain transfer info
|
|
15
|
+
description: `Get domain transfer info (deprecated)
|
|
16
16
|
|
|
17
|
-
Fetch domain transfer availability or transfer status if a transfer is in progress.`,
|
|
17
|
+
This endpoint is deprecated and replaced with the endpoint [Get a domain's transfer status](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-a-domain-s-transfer-status). Fetch domain transfer availability or transfer status if a transfer is in progress.`,
|
|
18
18
|
args,
|
|
19
19
|
tool: async (client, args, ctx) => {
|
|
20
20
|
const [result, apiCall] = await domainsGetDomainTransfer(
|
|
@@ -14,7 +14,7 @@ export const tool$domainsPatchDomain: ToolDefinition<typeof args> = {
|
|
|
14
14
|
name: "domains-patch-domain",
|
|
15
15
|
description: `Update or move apex domain
|
|
16
16
|
|
|
17
|
-
Update or move apex domain.`,
|
|
17
|
+
Update or move apex domain. Note: This endpoint is no longer used for updating auto-renew or nameservers. For this, please use the endpoints [Update auto-renew for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/update-auto-renew-for-a-domain) and [Update nameservers for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/update-nameservers-for-a-domain).`,
|
|
18
18
|
args,
|
|
19
19
|
tool: async (client, args, ctx) => {
|
|
20
20
|
const [result, apiCall] = await domainsPatchDomain(
|
|
@@ -12,9 +12,9 @@ const args = {
|
|
|
12
12
|
|
|
13
13
|
export const tool$domainsRegistrarBuyDomains: ToolDefinition<typeof args> = {
|
|
14
14
|
name: "domains-registrar-buy-domains",
|
|
15
|
-
description: `Buy multiple domains
|
|
15
|
+
description: `Buy multiple domains
|
|
16
16
|
|
|
17
|
-
Buy multiple domains`,
|
|
17
|
+
Buy multiple domains at once`,
|
|
18
18
|
args,
|
|
19
19
|
tool: async (client, args, ctx) => {
|
|
20
20
|
const [result, apiCall] = await domainsRegistrarBuyDomains(
|
|
@@ -16,7 +16,7 @@ export const tool$domainsRegistrarGetBulkAvailability: ToolDefinition<
|
|
|
16
16
|
name: "domains-registrar-get-bulk-availability",
|
|
17
17
|
description: `Get availability for multiple domains
|
|
18
18
|
|
|
19
|
-
Get availability for multiple domains
|
|
19
|
+
Get availability for multiple domains. If the domains are available, they can be purchased using the [Buy a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/buy-a-domain) endpoint or the [Buy multiple domains](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/buy-multiple-domains) endpoint.`,
|
|
20
20
|
args,
|
|
21
21
|
tool: async (client, args, ctx) => {
|
|
22
22
|
const [result, apiCall] = await domainsRegistrarGetBulkAvailability(
|