@vercel/sdk 1.13.4 → 1.13.5
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 +44 -45
- package/bin/mcp-server.js +223 -670
- package/bin/mcp-server.js.map +81 -81
- package/docs/sdks/domains/README.md +11 -11
- package/docs/sdks/domainsregistrar/README.md +55 -55
- package/esm/__tests__/accessgroups.test.js +6 -2
- package/esm/__tests__/accessgroups.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__/logdrains.test.js +1 -3
- package/esm/__tests__/logdrains.test.js.map +1 -1
- package/esm/__tests__/rollingrelease.test.js +5 -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/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/projectsUploadProjectClientCert.js +2 -2
- package/esm/funcs/projectsUploadProjectClientCert.js.map +1 -1
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.js +1 -1
- 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/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/createprojectop.d.ts +30 -30
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +18 -18
- package/esm/models/createprojectop.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/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 +5 -5
- package/esm/models/getdomainpriceop.d.ts.map +1 -1
- package/esm/models/getdomainpriceop.js +4 -4
- package/esm/models/getdomainpriceop.js.map +1 -1
- package/esm/models/getorderop.d.ts +3 -3
- package/esm/models/gettldpriceop.d.ts +8 -5
- package/esm/models/gettldpriceop.d.ts.map +1 -1
- package/esm/models/gettldpriceop.js +2 -2
- 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/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 +30 -30
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +18 -18
- package/esm/models/updateprojectop.js.map +1 -1
- 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/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__/edgeconfig.test.ts +6 -6
- package/src/__tests__/logdrains.test.ts +1 -3
- package/src/__tests__/rollingrelease.test.ts +5 -2
- package/src/__tests__/security.test.ts +11 -1
- 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/projectsUploadProjectClientCert.ts +2 -2
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- 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/createortransferdomainop.ts +5 -3
- package/src/models/createprojectop.ts +30 -30
- 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/getcontactinfoschemaop.ts +6 -6
- package/src/models/getdomainauthcodeop.ts +6 -6
- package/src/models/getdomainpriceop.ts +11 -11
- package/src/models/getorderop.ts +3 -3
- package/src/models/gettldpriceop.ts +12 -9
- package/src/models/httpapidecodeerror.ts +5 -49
- 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 +30 -30
- package/src/sdk/domains.ts +11 -11
- package/src/sdk/domainsregistrar.ts +23 -23
- package/vercel-spec.json +204 -330
package/esm/sdk/domains.d.ts
CHANGED
|
@@ -11,31 +11,31 @@ import { GetDomainTransferRequest, GetDomainTransferResponseBody } from "../mode
|
|
|
11
11
|
import { PatchDomainRequest, PatchDomainResponseBody } from "../models/patchdomainop.js";
|
|
12
12
|
export declare class Domains extends ClientSDK {
|
|
13
13
|
/**
|
|
14
|
-
* Purchase a domain
|
|
14
|
+
* Purchase a domain (deprecated)
|
|
15
15
|
*
|
|
16
16
|
* @remarks
|
|
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
|
*/
|
|
19
19
|
buyDomain(request: BuyDomainRequest, options?: RequestOptions): Promise<BuyDomainResponse>;
|
|
20
20
|
/**
|
|
21
|
-
* Check the price for a domain
|
|
21
|
+
* Check the price for a domain (deprecated)
|
|
22
22
|
*
|
|
23
23
|
* @remarks
|
|
24
|
-
* Check the price to purchase a domain and how long a single purchase period is.
|
|
24
|
+
* 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.
|
|
25
25
|
*/
|
|
26
26
|
checkDomainPrice(request: CheckDomainPriceRequest, options?: RequestOptions): Promise<CheckDomainPriceResponseBody>;
|
|
27
27
|
/**
|
|
28
|
-
* Check a Domain Availability
|
|
28
|
+
* Check a Domain Availability (deprecated)
|
|
29
29
|
*
|
|
30
30
|
* @remarks
|
|
31
|
-
* Check if a domain name is available for purchase.
|
|
31
|
+
* 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.
|
|
32
32
|
*/
|
|
33
33
|
checkDomainStatus(request: CheckDomainStatusRequest, options?: RequestOptions): Promise<CheckDomainStatusResponseBody>;
|
|
34
34
|
/**
|
|
35
|
-
* Get domain transfer info
|
|
35
|
+
* Get domain transfer info (deprecated)
|
|
36
36
|
*
|
|
37
37
|
* @remarks
|
|
38
|
-
* Fetch domain transfer availability or transfer status if a transfer is in progress.
|
|
38
|
+
* 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.
|
|
39
39
|
*/
|
|
40
40
|
getDomainTransfer(request: GetDomainTransferRequest, options?: RequestOptions): Promise<GetDomainTransferResponseBody>;
|
|
41
41
|
/**
|
|
@@ -60,17 +60,17 @@ export declare class Domains extends ClientSDK {
|
|
|
60
60
|
*/
|
|
61
61
|
getDomains(request: GetDomainsRequest, options?: RequestOptions): Promise<GetDomainsResponseBody>;
|
|
62
62
|
/**
|
|
63
|
-
*
|
|
63
|
+
* Add an existing domain to the Vercel platform
|
|
64
64
|
*
|
|
65
65
|
* @remarks
|
|
66
|
-
* This endpoint is used for adding a new apex domain name with Vercel for the authenticating user.
|
|
66
|
+
* 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).
|
|
67
67
|
*/
|
|
68
68
|
createOrTransferDomain(request: CreateOrTransferDomainRequest, options?: RequestOptions): Promise<CreateOrTransferDomainResponseBody>;
|
|
69
69
|
/**
|
|
70
70
|
* Update or move apex domain
|
|
71
71
|
*
|
|
72
72
|
* @remarks
|
|
73
|
-
* Update or move apex domain.
|
|
73
|
+
* 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).
|
|
74
74
|
*/
|
|
75
75
|
patchDomain(request: PatchDomainRequest, options?: RequestOptions): Promise<PatchDomainResponseBody>;
|
|
76
76
|
/**
|
package/esm/sdk/domains.js
CHANGED
|
@@ -15,37 +15,37 @@ import { ClientSDK } from "../lib/sdks.js";
|
|
|
15
15
|
import { unwrapAsync } from "../types/fp.js";
|
|
16
16
|
export class Domains extends ClientSDK {
|
|
17
17
|
/**
|
|
18
|
-
* Purchase a domain
|
|
18
|
+
* Purchase a domain (deprecated)
|
|
19
19
|
*
|
|
20
20
|
* @remarks
|
|
21
|
-
*
|
|
21
|
+
* 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.
|
|
22
22
|
*/
|
|
23
23
|
async buyDomain(request, options) {
|
|
24
24
|
return unwrapAsync(domainsBuyDomain(this, request, options));
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
|
-
* Check the price for a domain
|
|
27
|
+
* Check the price for a domain (deprecated)
|
|
28
28
|
*
|
|
29
29
|
* @remarks
|
|
30
|
-
* Check the price to purchase a domain and how long a single purchase period is.
|
|
30
|
+
* 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.
|
|
31
31
|
*/
|
|
32
32
|
async checkDomainPrice(request, options) {
|
|
33
33
|
return unwrapAsync(domainsCheckDomainPrice(this, request, options));
|
|
34
34
|
}
|
|
35
35
|
/**
|
|
36
|
-
* Check a Domain Availability
|
|
36
|
+
* Check a Domain Availability (deprecated)
|
|
37
37
|
*
|
|
38
38
|
* @remarks
|
|
39
|
-
* Check if a domain name is available for purchase.
|
|
39
|
+
* 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.
|
|
40
40
|
*/
|
|
41
41
|
async checkDomainStatus(request, options) {
|
|
42
42
|
return unwrapAsync(domainsCheckDomainStatus(this, request, options));
|
|
43
43
|
}
|
|
44
44
|
/**
|
|
45
|
-
* Get domain transfer info
|
|
45
|
+
* Get domain transfer info (deprecated)
|
|
46
46
|
*
|
|
47
47
|
* @remarks
|
|
48
|
-
* Fetch domain transfer availability or transfer status if a transfer is in progress.
|
|
48
|
+
* 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.
|
|
49
49
|
*/
|
|
50
50
|
async getDomainTransfer(request, options) {
|
|
51
51
|
return unwrapAsync(domainsGetDomainTransfer(this, request, options));
|
|
@@ -78,10 +78,10 @@ export class Domains extends ClientSDK {
|
|
|
78
78
|
return unwrapAsync(domainsGetDomains(this, request, options));
|
|
79
79
|
}
|
|
80
80
|
/**
|
|
81
|
-
*
|
|
81
|
+
* Add an existing domain to the Vercel platform
|
|
82
82
|
*
|
|
83
83
|
* @remarks
|
|
84
|
-
* This endpoint is used for adding a new apex domain name with Vercel for the authenticating user.
|
|
84
|
+
* 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).
|
|
85
85
|
*/
|
|
86
86
|
async createOrTransferDomain(request, options) {
|
|
87
87
|
return unwrapAsync(domainsCreateOrTransferDomain(this, request, options));
|
|
@@ -90,7 +90,7 @@ export class Domains extends ClientSDK {
|
|
|
90
90
|
* Update or move apex domain
|
|
91
91
|
*
|
|
92
92
|
* @remarks
|
|
93
|
-
* Update or move apex domain.
|
|
93
|
+
* 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).
|
|
94
94
|
*/
|
|
95
95
|
async patchDomain(request, options) {
|
|
96
96
|
return unwrapAsync(domainsPatchDomain(this, request, options));
|
|
@@ -15,28 +15,28 @@ import { UpdateDomainAutoRenewRequest } from "../models/updatedomainautorenewop.
|
|
|
15
15
|
import { UpdateDomainNameserversRequest } from "../models/updatedomainnameserversop.js";
|
|
16
16
|
export declare class DomainsRegistrar extends ClientSDK {
|
|
17
17
|
/**
|
|
18
|
-
* Get
|
|
18
|
+
* Get supported TLDs
|
|
19
19
|
*
|
|
20
20
|
* @remarks
|
|
21
|
-
* Get supported
|
|
21
|
+
* Get a list of TLDs supported by Vercel
|
|
22
22
|
*/
|
|
23
23
|
getSupportedTlds(options?: RequestOptions): Promise<Array<string>>;
|
|
24
24
|
/**
|
|
25
|
-
* Get price data
|
|
25
|
+
* Get TLD price data
|
|
26
26
|
*
|
|
27
27
|
* @remarks
|
|
28
|
-
* Get TLD price data
|
|
28
|
+
* 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.
|
|
29
29
|
*/
|
|
30
30
|
getTldPrice(request: GetTldPriceRequest, options?: RequestOptions): Promise<GetTldPriceResponseBody>;
|
|
31
31
|
/**
|
|
32
|
-
* Get availability for a
|
|
32
|
+
* Get availability for a domain
|
|
33
33
|
*
|
|
34
34
|
* @remarks
|
|
35
|
-
* Get availability for a specific domain
|
|
35
|
+
* 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.
|
|
36
36
|
*/
|
|
37
37
|
getDomainAvailability(request: GetDomainAvailabilityRequest, options?: RequestOptions): Promise<GetDomainAvailabilityResponseBody>;
|
|
38
38
|
/**
|
|
39
|
-
* Get price data for a
|
|
39
|
+
* Get price data for a domain
|
|
40
40
|
*
|
|
41
41
|
* @remarks
|
|
42
42
|
* Get price data for a specific domain
|
|
@@ -46,14 +46,14 @@ export declare class DomainsRegistrar extends ClientSDK {
|
|
|
46
46
|
* Get availability for multiple domains
|
|
47
47
|
*
|
|
48
48
|
* @remarks
|
|
49
|
-
* Get availability for multiple domains
|
|
49
|
+
* 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.
|
|
50
50
|
*/
|
|
51
51
|
getBulkAvailability(request: GetBulkAvailabilityRequestBody, options?: RequestOptions): Promise<GetBulkAvailabilityResponseBody>;
|
|
52
52
|
/**
|
|
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
|
getDomainAuthCode(request: GetDomainAuthCodeRequest, options?: RequestOptions): Promise<GetDomainAuthCodeResponseBody>;
|
|
59
59
|
/**
|
|
@@ -64,24 +64,24 @@ export declare class DomainsRegistrar extends ClientSDK {
|
|
|
64
64
|
*/
|
|
65
65
|
buySingleDomain(request: BuySingleDomainRequest, options?: RequestOptions): Promise<BuySingleDomainResponseBody>;
|
|
66
66
|
/**
|
|
67
|
-
* Buy multiple domains
|
|
67
|
+
* Buy multiple domains
|
|
68
68
|
*
|
|
69
69
|
* @remarks
|
|
70
|
-
* Buy multiple domains
|
|
70
|
+
* Buy multiple domains at once
|
|
71
71
|
*/
|
|
72
72
|
buyDomains(request: BuyDomainsRequestBody, options?: RequestOptions): Promise<BuyDomainsResponseBody>;
|
|
73
73
|
/**
|
|
74
|
-
* Transfer a domain
|
|
74
|
+
* Transfer-in a domain
|
|
75
75
|
*
|
|
76
76
|
* @remarks
|
|
77
|
-
* Transfer
|
|
77
|
+
* Transfer a domain in from another registrar
|
|
78
78
|
*/
|
|
79
79
|
transferInDomain(request: TransferInDomainRequest, options?: RequestOptions): Promise<TransferInDomainResponseBody>;
|
|
80
80
|
/**
|
|
81
|
-
* Get
|
|
81
|
+
* Get a domain's transfer status
|
|
82
82
|
*
|
|
83
83
|
* @remarks
|
|
84
|
-
* Get
|
|
84
|
+
* Get the transfer status for a domain
|
|
85
85
|
*/
|
|
86
86
|
getDomainTransferIn(request: GetDomainTransferInRequest, options?: RequestOptions): Promise<GetDomainTransferInResponseBody>;
|
|
87
87
|
/**
|
|
@@ -92,31 +92,31 @@ export declare class DomainsRegistrar extends ClientSDK {
|
|
|
92
92
|
*/
|
|
93
93
|
renewDomain(request: RenewDomainRequest, options?: RequestOptions): Promise<RenewDomainResponseBody>;
|
|
94
94
|
/**
|
|
95
|
-
* Update
|
|
95
|
+
* Update auto-renew for a domain
|
|
96
96
|
*
|
|
97
97
|
* @remarks
|
|
98
|
-
* Update auto-renew for a domain
|
|
98
|
+
* Update the auto-renew setting for a domain
|
|
99
99
|
*/
|
|
100
100
|
updateDomainAutoRenew(request: UpdateDomainAutoRenewRequest, options?: RequestOptions): Promise<void>;
|
|
101
101
|
/**
|
|
102
|
-
* Update
|
|
102
|
+
* Update nameservers for a domain
|
|
103
103
|
*
|
|
104
104
|
* @remarks
|
|
105
|
-
* Update nameservers for a domain
|
|
105
|
+
* Update the nameservers for a domain. Pass an empty array to use Vercel's default nameservers.
|
|
106
106
|
*/
|
|
107
107
|
updateDomainNameservers(request: UpdateDomainNameserversRequest, options?: RequestOptions): Promise<void>;
|
|
108
108
|
/**
|
|
109
|
-
* Get
|
|
109
|
+
* Get contact info schema
|
|
110
110
|
*
|
|
111
111
|
* @remarks
|
|
112
|
-
*
|
|
112
|
+
* Some TLDs require additional contact information. Use this endpoint to get the schema for the tld-specific contact information for a domain.
|
|
113
113
|
*/
|
|
114
114
|
getContactInfoSchema(request: GetContactInfoSchemaRequest, options?: RequestOptions): Promise<GetContactInfoSchemaResponseBody>;
|
|
115
115
|
/**
|
|
116
|
-
* Get
|
|
116
|
+
* Get a domain order
|
|
117
117
|
*
|
|
118
118
|
* @remarks
|
|
119
|
-
* Get a domain order
|
|
119
|
+
* Get information about a domain order by its ID
|
|
120
120
|
*/
|
|
121
121
|
getOrder(request: GetOrderRequest, options?: RequestOptions): Promise<GetOrderResponseBody>;
|
|
122
122
|
}
|
|
@@ -20,34 +20,34 @@ import { ClientSDK } from "../lib/sdks.js";
|
|
|
20
20
|
import { unwrapAsync } from "../types/fp.js";
|
|
21
21
|
export class DomainsRegistrar extends ClientSDK {
|
|
22
22
|
/**
|
|
23
|
-
* Get
|
|
23
|
+
* Get supported TLDs
|
|
24
24
|
*
|
|
25
25
|
* @remarks
|
|
26
|
-
* Get supported
|
|
26
|
+
* Get a list of TLDs supported by Vercel
|
|
27
27
|
*/
|
|
28
28
|
async getSupportedTlds(options) {
|
|
29
29
|
return unwrapAsync(domainsRegistrarGetSupportedTlds(this, options));
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
|
-
* Get price data
|
|
32
|
+
* Get TLD price data
|
|
33
33
|
*
|
|
34
34
|
* @remarks
|
|
35
|
-
* Get TLD price data
|
|
35
|
+
* 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.
|
|
36
36
|
*/
|
|
37
37
|
async getTldPrice(request, options) {
|
|
38
38
|
return unwrapAsync(domainsRegistrarGetTldPrice(this, request, options));
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
|
-
* Get availability for a
|
|
41
|
+
* Get availability for a domain
|
|
42
42
|
*
|
|
43
43
|
* @remarks
|
|
44
|
-
* Get availability for a specific domain
|
|
44
|
+
* 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.
|
|
45
45
|
*/
|
|
46
46
|
async getDomainAvailability(request, options) {
|
|
47
47
|
return unwrapAsync(domainsRegistrarGetDomainAvailability(this, request, options));
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
50
|
-
* Get price data for a
|
|
50
|
+
* Get price data for a domain
|
|
51
51
|
*
|
|
52
52
|
* @remarks
|
|
53
53
|
* Get price data for a specific domain
|
|
@@ -59,7 +59,7 @@ export class DomainsRegistrar extends ClientSDK {
|
|
|
59
59
|
* Get availability for multiple domains
|
|
60
60
|
*
|
|
61
61
|
* @remarks
|
|
62
|
-
* Get availability for multiple domains
|
|
62
|
+
* 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.
|
|
63
63
|
*/
|
|
64
64
|
async getBulkAvailability(request, options) {
|
|
65
65
|
return unwrapAsync(domainsRegistrarGetBulkAvailability(this, request, options));
|
|
@@ -68,7 +68,7 @@ export class DomainsRegistrar extends ClientSDK {
|
|
|
68
68
|
* Get the auth code for a domain
|
|
69
69
|
*
|
|
70
70
|
* @remarks
|
|
71
|
-
* Get the auth code for a domain
|
|
71
|
+
* Get the auth code for a domain. This is required to transfer a domain from Vercel to another registrar.
|
|
72
72
|
*/
|
|
73
73
|
async getDomainAuthCode(request, options) {
|
|
74
74
|
return unwrapAsync(domainsRegistrarGetDomainAuthCode(this, request, options));
|
|
@@ -83,28 +83,28 @@ export class DomainsRegistrar extends ClientSDK {
|
|
|
83
83
|
return unwrapAsync(domainsRegistrarBuySingleDomain(this, request, options));
|
|
84
84
|
}
|
|
85
85
|
/**
|
|
86
|
-
* Buy multiple domains
|
|
86
|
+
* Buy multiple domains
|
|
87
87
|
*
|
|
88
88
|
* @remarks
|
|
89
|
-
* Buy multiple domains
|
|
89
|
+
* Buy multiple domains at once
|
|
90
90
|
*/
|
|
91
91
|
async buyDomains(request, options) {
|
|
92
92
|
return unwrapAsync(domainsRegistrarBuyDomains(this, request, options));
|
|
93
93
|
}
|
|
94
94
|
/**
|
|
95
|
-
* Transfer a domain
|
|
95
|
+
* Transfer-in a domain
|
|
96
96
|
*
|
|
97
97
|
* @remarks
|
|
98
|
-
* Transfer
|
|
98
|
+
* Transfer a domain in from another registrar
|
|
99
99
|
*/
|
|
100
100
|
async transferInDomain(request, options) {
|
|
101
101
|
return unwrapAsync(domainsRegistrarTransferInDomain(this, request, options));
|
|
102
102
|
}
|
|
103
103
|
/**
|
|
104
|
-
* Get
|
|
104
|
+
* Get a domain's transfer status
|
|
105
105
|
*
|
|
106
106
|
* @remarks
|
|
107
|
-
* Get
|
|
107
|
+
* Get the transfer status for a domain
|
|
108
108
|
*/
|
|
109
109
|
async getDomainTransferIn(request, options) {
|
|
110
110
|
return unwrapAsync(domainsRegistrarGetDomainTransferIn(this, request, options));
|
|
@@ -119,37 +119,37 @@ export class DomainsRegistrar extends ClientSDK {
|
|
|
119
119
|
return unwrapAsync(domainsRegistrarRenewDomain(this, request, options));
|
|
120
120
|
}
|
|
121
121
|
/**
|
|
122
|
-
* Update
|
|
122
|
+
* Update auto-renew for a domain
|
|
123
123
|
*
|
|
124
124
|
* @remarks
|
|
125
|
-
* Update auto-renew for a domain
|
|
125
|
+
* Update the auto-renew setting for a domain
|
|
126
126
|
*/
|
|
127
127
|
async updateDomainAutoRenew(request, options) {
|
|
128
128
|
return unwrapAsync(domainsRegistrarUpdateDomainAutoRenew(this, request, options));
|
|
129
129
|
}
|
|
130
130
|
/**
|
|
131
|
-
* Update
|
|
131
|
+
* Update nameservers for a domain
|
|
132
132
|
*
|
|
133
133
|
* @remarks
|
|
134
|
-
* Update nameservers for a domain
|
|
134
|
+
* Update the nameservers for a domain. Pass an empty array to use Vercel's default nameservers.
|
|
135
135
|
*/
|
|
136
136
|
async updateDomainNameservers(request, options) {
|
|
137
137
|
return unwrapAsync(domainsRegistrarUpdateDomainNameservers(this, request, options));
|
|
138
138
|
}
|
|
139
139
|
/**
|
|
140
|
-
* Get
|
|
140
|
+
* Get contact info schema
|
|
141
141
|
*
|
|
142
142
|
* @remarks
|
|
143
|
-
*
|
|
143
|
+
* Some TLDs require additional contact information. Use this endpoint to get the schema for the tld-specific contact information for a domain.
|
|
144
144
|
*/
|
|
145
145
|
async getContactInfoSchema(request, options) {
|
|
146
146
|
return unwrapAsync(domainsRegistrarGetContactInfoSchema(this, request, options));
|
|
147
147
|
}
|
|
148
148
|
/**
|
|
149
|
-
* Get
|
|
149
|
+
* Get a domain order
|
|
150
150
|
*
|
|
151
151
|
* @remarks
|
|
152
|
-
* Get a domain order
|
|
152
|
+
* Get information about a domain order by its ID
|
|
153
153
|
*/
|
|
154
154
|
async getOrder(request, options) {
|
|
155
155
|
return unwrapAsync(domainsRegistrarGetOrder(this, request, options));
|
package/jsr.json
CHANGED
package/package.json
CHANGED
|
@@ -107,7 +107,9 @@ test("Access Groups Update Access Group", async () => {
|
|
|
107
107
|
});
|
|
108
108
|
expect(result).toBeDefined();
|
|
109
109
|
expect(result).toEqual({
|
|
110
|
-
entitlements: [
|
|
110
|
+
entitlements: [
|
|
111
|
+
"v0",
|
|
112
|
+
],
|
|
111
113
|
name: "my-access-group",
|
|
112
114
|
createdAt: "1588720733602",
|
|
113
115
|
teamId: "team_123a6c5209bc3778245d011443644c8d27dc2c50",
|
|
@@ -243,7 +245,9 @@ test("Access Groups Create Access Group", async () => {
|
|
|
243
245
|
});
|
|
244
246
|
expect(result).toBeDefined();
|
|
245
247
|
expect(result).toEqual({
|
|
246
|
-
entitlements: [
|
|
248
|
+
entitlements: [
|
|
249
|
+
"v0",
|
|
250
|
+
],
|
|
247
251
|
membersCount: 446.92,
|
|
248
252
|
projectsCount: 5113.22,
|
|
249
253
|
name: "my-access-group",
|
|
@@ -50,8 +50,8 @@ test("Edge Config Create Edge Config", async () => {
|
|
|
50
50
|
});
|
|
51
51
|
expect(result).toBeDefined();
|
|
52
52
|
expect(result).toEqual({
|
|
53
|
-
createdAt:
|
|
54
|
-
updatedAt:
|
|
53
|
+
createdAt: 8917.73,
|
|
54
|
+
updatedAt: 9636.63,
|
|
55
55
|
id: "<id>",
|
|
56
56
|
slug: "<value>",
|
|
57
57
|
ownerId: "<id>",
|
|
@@ -77,8 +77,8 @@ test("Edge Config Get Edge Config", async () => {
|
|
|
77
77
|
});
|
|
78
78
|
expect(result).toBeDefined();
|
|
79
79
|
expect(result).toEqual({
|
|
80
|
-
createdAt:
|
|
81
|
-
updatedAt:
|
|
80
|
+
createdAt: 3834.41,
|
|
81
|
+
updatedAt: 7917.25,
|
|
82
82
|
id: "<id>",
|
|
83
83
|
slug: "<value>",
|
|
84
84
|
ownerId: "<id>",
|
|
@@ -107,8 +107,8 @@ test("Edge Config Update Edge Config", async () => {
|
|
|
107
107
|
});
|
|
108
108
|
expect(result).toBeDefined();
|
|
109
109
|
expect(result).toEqual({
|
|
110
|
-
createdAt:
|
|
111
|
-
updatedAt:
|
|
110
|
+
createdAt: 5288.95,
|
|
111
|
+
updatedAt: 5680.45,
|
|
112
112
|
id: "<id>",
|
|
113
113
|
slug: "<value>",
|
|
114
114
|
ownerId: "<id>",
|
|
@@ -362,8 +362,11 @@ test("Rolling Release Get Rolling Release Billing Status", async () => {
|
|
|
362
362
|
});
|
|
363
363
|
expect(result).toBeDefined();
|
|
364
364
|
expect(result).toEqual({
|
|
365
|
-
availableSlots:
|
|
366
|
-
reason: "
|
|
365
|
+
availableSlots: 5448.83,
|
|
366
|
+
reason: "no_available_slots",
|
|
367
367
|
message: "<value>",
|
|
368
|
+
enabledProjects: [
|
|
369
|
+
"<value 1>",
|
|
370
|
+
],
|
|
368
371
|
});
|
|
369
372
|
});
|
|
@@ -318,7 +318,17 @@ test("Security Get Bypass Ip", async () => {
|
|
|
318
318
|
});
|
|
319
319
|
expect(result).toBeDefined();
|
|
320
320
|
expect(result).toEqual({
|
|
321
|
-
result: [
|
|
321
|
+
result: [
|
|
322
|
+
{
|
|
323
|
+
ownerId: "<id>",
|
|
324
|
+
id: "<id>",
|
|
325
|
+
domain: "second-newsletter.name",
|
|
326
|
+
ip: "165.112.228.246",
|
|
327
|
+
createdAt: "1716245811354",
|
|
328
|
+
updatedAt: "1735671604252",
|
|
329
|
+
updatedAtHour: "<value>",
|
|
330
|
+
},
|
|
331
|
+
],
|
|
322
332
|
});
|
|
323
333
|
});
|
|
324
334
|
|
|
@@ -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,
|