@vercel/sdk 1.12.2 → 1.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +40 -3
- package/bin/mcp-server.js +4976 -1639
- package/bin/mcp-server.js.map +61 -12
- package/docs/sdks/domains/README.md +1 -0
- package/docs/sdks/domainsregistrar/README.md +1337 -0
- package/esm/__tests__/domains.test.js +6 -9
- package/esm/__tests__/domains.test.js.map +1 -1
- package/esm/__tests__/domainsregistrar.test.d.ts +2 -0
- package/esm/__tests__/domainsregistrar.test.d.ts.map +1 -0
- package/esm/__tests__/domainsregistrar.test.js +274 -0
- package/esm/__tests__/domainsregistrar.test.js.map +1 -0
- 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__/logdrains.test.js +7 -5
- package/esm/__tests__/logdrains.test.js.map +1 -1
- package/esm/__tests__/rollingrelease.test.js +2 -6
- package/esm/__tests__/rollingrelease.test.js.map +1 -1
- package/esm/__tests__/security.test.js +4 -4
- package/esm/__tests__/security.test.js.map +1 -1
- package/esm/funcs/domainsCheckDomainPrice.d.ts +2 -1
- package/esm/funcs/domainsCheckDomainPrice.d.ts.map +1 -1
- package/esm/funcs/domainsCheckDomainPrice.js +3 -2
- package/esm/funcs/domainsCheckDomainPrice.js.map +1 -1
- package/esm/funcs/domainsRegistrarBuyDomains.d.ts +21 -0
- package/esm/funcs/domainsRegistrarBuyDomains.d.ts.map +1 -0
- package/esm/funcs/domainsRegistrarBuyDomains.js +85 -0
- package/esm/funcs/domainsRegistrarBuyDomains.js.map +1 -0
- package/esm/funcs/domainsRegistrarBuySingleDomain.d.ts +21 -0
- package/esm/funcs/domainsRegistrarBuySingleDomain.d.ts.map +1 -0
- package/esm/funcs/domainsRegistrarBuySingleDomain.js +91 -0
- package/esm/funcs/domainsRegistrarBuySingleDomain.js.map +1 -0
- package/esm/funcs/domainsRegistrarGetBulkAvailability.d.ts +20 -0
- package/esm/funcs/domainsRegistrarGetBulkAvailability.d.ts.map +1 -0
- package/esm/funcs/domainsRegistrarGetBulkAvailability.js +84 -0
- package/esm/funcs/domainsRegistrarGetBulkAvailability.js.map +1 -0
- package/esm/funcs/domainsRegistrarGetContactInfoSchema.d.ts +20 -0
- package/esm/funcs/domainsRegistrarGetContactInfoSchema.d.ts.map +1 -0
- package/esm/funcs/domainsRegistrarGetContactInfoSchema.js +89 -0
- package/esm/funcs/domainsRegistrarGetContactInfoSchema.js.map +1 -0
- package/esm/funcs/domainsRegistrarGetDomainAuthCode.d.ts +22 -0
- package/esm/funcs/domainsRegistrarGetDomainAuthCode.d.ts.map +1 -0
- package/esm/funcs/domainsRegistrarGetDomainAuthCode.js +91 -0
- package/esm/funcs/domainsRegistrarGetDomainAuthCode.js.map +1 -0
- package/esm/funcs/domainsRegistrarGetDomainAvailability.d.ts +21 -0
- package/esm/funcs/domainsRegistrarGetDomainAvailability.d.ts.map +1 -0
- package/esm/funcs/domainsRegistrarGetDomainAvailability.js +90 -0
- package/esm/funcs/domainsRegistrarGetDomainAvailability.js.map +1 -0
- package/esm/funcs/domainsRegistrarGetDomainPrice.d.ts +20 -0
- package/esm/funcs/domainsRegistrarGetDomainPrice.d.ts.map +1 -0
- package/esm/funcs/domainsRegistrarGetDomainPrice.js +93 -0
- package/esm/funcs/domainsRegistrarGetDomainPrice.js.map +1 -0
- package/esm/funcs/domainsRegistrarGetDomainTransferIn.d.ts +22 -0
- package/esm/funcs/domainsRegistrarGetDomainTransferIn.d.ts.map +1 -0
- package/esm/funcs/domainsRegistrarGetDomainTransferIn.js +91 -0
- package/esm/funcs/domainsRegistrarGetDomainTransferIn.js.map +1 -0
- package/esm/funcs/domainsRegistrarGetOrder.d.ts +22 -0
- package/esm/funcs/domainsRegistrarGetOrder.d.ts.map +1 -0
- package/esm/funcs/domainsRegistrarGetOrder.js +91 -0
- package/esm/funcs/domainsRegistrarGetOrder.js.map +1 -0
- package/esm/funcs/domainsRegistrarGetSupportedTlds.d.ts +20 -0
- package/esm/funcs/domainsRegistrarGetSupportedTlds.d.ts.map +1 -0
- package/esm/funcs/domainsRegistrarGetSupportedTlds.js +75 -0
- package/esm/funcs/domainsRegistrarGetSupportedTlds.js.map +1 -0
- package/esm/funcs/domainsRegistrarGetTldPrice.d.ts +21 -0
- package/esm/funcs/domainsRegistrarGetTldPrice.d.ts.map +1 -0
- package/esm/funcs/domainsRegistrarGetTldPrice.js +94 -0
- package/esm/funcs/domainsRegistrarGetTldPrice.js.map +1 -0
- package/esm/funcs/domainsRegistrarRenewDomain.d.ts +22 -0
- package/esm/funcs/domainsRegistrarRenewDomain.d.ts.map +1 -0
- package/esm/funcs/domainsRegistrarRenewDomain.js +92 -0
- package/esm/funcs/domainsRegistrarRenewDomain.js.map +1 -0
- package/esm/funcs/domainsRegistrarTransferInDomain.d.ts +21 -0
- package/esm/funcs/domainsRegistrarTransferInDomain.d.ts.map +1 -0
- package/esm/funcs/domainsRegistrarTransferInDomain.js +91 -0
- package/esm/funcs/domainsRegistrarTransferInDomain.js.map +1 -0
- package/esm/funcs/domainsRegistrarUpdateDomainAutoRenew.d.ts +22 -0
- package/esm/funcs/domainsRegistrarUpdateDomainAutoRenew.d.ts.map +1 -0
- package/esm/funcs/domainsRegistrarUpdateDomainAutoRenew.js +93 -0
- package/esm/funcs/domainsRegistrarUpdateDomainAutoRenew.js.map +1 -0
- package/esm/funcs/domainsRegistrarUpdateDomainNameservers.d.ts +22 -0
- package/esm/funcs/domainsRegistrarUpdateDomainNameservers.d.ts.map +1 -0
- package/esm/funcs/domainsRegistrarUpdateDomainNameservers.js +93 -0
- package/esm/funcs/domainsRegistrarUpdateDomainNameservers.js.map +1 -0
- 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 +31 -1
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/domainsRegistrarBuyDomains.d.ts +7 -0
- package/esm/mcp-server/tools/domainsRegistrarBuyDomains.d.ts.map +1 -0
- package/esm/mcp-server/tools/domainsRegistrarBuyDomains.js +28 -0
- package/esm/mcp-server/tools/domainsRegistrarBuyDomains.js.map +1 -0
- package/esm/mcp-server/tools/domainsRegistrarBuySingleDomain.d.ts +7 -0
- package/esm/mcp-server/tools/domainsRegistrarBuySingleDomain.d.ts.map +1 -0
- package/esm/mcp-server/tools/domainsRegistrarBuySingleDomain.js +28 -0
- package/esm/mcp-server/tools/domainsRegistrarBuySingleDomain.js.map +1 -0
- package/esm/mcp-server/tools/domainsRegistrarGetBulkAvailability.d.ts +7 -0
- package/esm/mcp-server/tools/domainsRegistrarGetBulkAvailability.d.ts.map +1 -0
- package/esm/mcp-server/tools/domainsRegistrarGetBulkAvailability.js +28 -0
- package/esm/mcp-server/tools/domainsRegistrarGetBulkAvailability.js.map +1 -0
- package/esm/mcp-server/tools/domainsRegistrarGetContactInfoSchema.d.ts +7 -0
- package/esm/mcp-server/tools/domainsRegistrarGetContactInfoSchema.d.ts.map +1 -0
- package/esm/mcp-server/tools/domainsRegistrarGetContactInfoSchema.js +28 -0
- package/esm/mcp-server/tools/domainsRegistrarGetContactInfoSchema.js.map +1 -0
- package/esm/mcp-server/tools/domainsRegistrarGetDomainAuthCode.d.ts +7 -0
- package/esm/mcp-server/tools/domainsRegistrarGetDomainAuthCode.d.ts.map +1 -0
- package/esm/mcp-server/tools/domainsRegistrarGetDomainAuthCode.js +28 -0
- package/esm/mcp-server/tools/domainsRegistrarGetDomainAuthCode.js.map +1 -0
- package/esm/mcp-server/tools/domainsRegistrarGetDomainAvailability.d.ts +7 -0
- package/esm/mcp-server/tools/domainsRegistrarGetDomainAvailability.d.ts.map +1 -0
- package/esm/mcp-server/tools/domainsRegistrarGetDomainAvailability.js +28 -0
- package/esm/mcp-server/tools/domainsRegistrarGetDomainAvailability.js.map +1 -0
- package/esm/mcp-server/tools/domainsRegistrarGetDomainPrice.d.ts +7 -0
- package/esm/mcp-server/tools/domainsRegistrarGetDomainPrice.d.ts.map +1 -0
- package/esm/mcp-server/tools/domainsRegistrarGetDomainPrice.js +28 -0
- package/esm/mcp-server/tools/domainsRegistrarGetDomainPrice.js.map +1 -0
- package/esm/mcp-server/tools/domainsRegistrarGetDomainTransferIn.d.ts +7 -0
- package/esm/mcp-server/tools/domainsRegistrarGetDomainTransferIn.d.ts.map +1 -0
- package/esm/mcp-server/tools/domainsRegistrarGetDomainTransferIn.js +28 -0
- package/esm/mcp-server/tools/domainsRegistrarGetDomainTransferIn.js.map +1 -0
- package/esm/mcp-server/tools/domainsRegistrarGetOrder.d.ts +7 -0
- package/esm/mcp-server/tools/domainsRegistrarGetOrder.d.ts.map +1 -0
- package/esm/mcp-server/tools/domainsRegistrarGetOrder.js +28 -0
- package/esm/mcp-server/tools/domainsRegistrarGetOrder.js.map +1 -0
- package/esm/mcp-server/tools/domainsRegistrarGetSupportedTlds.d.ts +3 -0
- package/esm/mcp-server/tools/domainsRegistrarGetSupportedTlds.d.ts.map +1 -0
- package/esm/mcp-server/tools/domainsRegistrarGetSupportedTlds.js +23 -0
- package/esm/mcp-server/tools/domainsRegistrarGetSupportedTlds.js.map +1 -0
- package/esm/mcp-server/tools/domainsRegistrarGetTldPrice.d.ts +7 -0
- package/esm/mcp-server/tools/domainsRegistrarGetTldPrice.d.ts.map +1 -0
- package/esm/mcp-server/tools/domainsRegistrarGetTldPrice.js +28 -0
- package/esm/mcp-server/tools/domainsRegistrarGetTldPrice.js.map +1 -0
- package/esm/mcp-server/tools/domainsRegistrarRenewDomain.d.ts +7 -0
- package/esm/mcp-server/tools/domainsRegistrarRenewDomain.d.ts.map +1 -0
- package/esm/mcp-server/tools/domainsRegistrarRenewDomain.js +28 -0
- package/esm/mcp-server/tools/domainsRegistrarRenewDomain.js.map +1 -0
- package/esm/mcp-server/tools/domainsRegistrarTransferInDomain.d.ts +7 -0
- package/esm/mcp-server/tools/domainsRegistrarTransferInDomain.d.ts.map +1 -0
- package/esm/mcp-server/tools/domainsRegistrarTransferInDomain.js +28 -0
- package/esm/mcp-server/tools/domainsRegistrarTransferInDomain.js.map +1 -0
- package/esm/mcp-server/tools/domainsRegistrarUpdateDomainAutoRenew.d.ts +7 -0
- package/esm/mcp-server/tools/domainsRegistrarUpdateDomainAutoRenew.d.ts.map +1 -0
- package/esm/mcp-server/tools/domainsRegistrarUpdateDomainAutoRenew.js +27 -0
- package/esm/mcp-server/tools/domainsRegistrarUpdateDomainAutoRenew.js.map +1 -0
- package/esm/mcp-server/tools/domainsRegistrarUpdateDomainNameservers.d.ts +7 -0
- package/esm/mcp-server/tools/domainsRegistrarUpdateDomainNameservers.d.ts.map +1 -0
- package/esm/mcp-server/tools/domainsRegistrarUpdateDomainNameservers.js +27 -0
- package/esm/mcp-server/tools/domainsRegistrarUpdateDomainNameservers.js.map +1 -0
- package/esm/models/buydomainsop.d.ts +282 -0
- package/esm/models/buydomainsop.d.ts.map +1 -0
- package/esm/models/buydomainsop.js +247 -0
- package/esm/models/buydomainsop.js.map +1 -0
- package/esm/models/buysingledomainop.d.ts +282 -0
- package/esm/models/buysingledomainop.d.ts.map +1 -0
- package/esm/models/buysingledomainop.js +257 -0
- package/esm/models/buysingledomainop.js.map +1 -0
- package/esm/models/createintegrationstoredirectop.d.ts +285 -285
- package/esm/models/createintegrationstoredirectop.js +351 -351
- 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/forbidden.d.ts +89 -0
- package/esm/models/forbidden.d.ts.map +1 -0
- package/esm/models/forbidden.js +98 -0
- package/esm/models/forbidden.js.map +1 -0
- package/esm/models/getbulkavailabilityop.d.ts +114 -0
- package/esm/models/getbulkavailabilityop.d.ts.map +1 -0
- package/esm/models/getbulkavailabilityop.js +115 -0
- package/esm/models/getbulkavailabilityop.js.map +1 -0
- package/esm/models/getconfigurationproductsop.d.ts +375 -375
- package/esm/models/getconfigurationproductsop.js +465 -465
- package/esm/models/getcontactinfoschemaop.d.ts +80 -0
- package/esm/models/getcontactinfoschemaop.d.ts.map +1 -0
- package/esm/models/getcontactinfoschemaop.js +84 -0
- package/esm/models/getcontactinfoschemaop.js.map +1 -0
- package/esm/models/getdomainauthcodeop.d.ts +84 -0
- package/esm/models/getdomainauthcodeop.d.ts.map +1 -0
- package/esm/models/getdomainauthcodeop.js +88 -0
- package/esm/models/getdomainauthcodeop.js.map +1 -0
- package/esm/models/getdomainavailabilityop.d.ts +84 -0
- package/esm/models/getdomainavailabilityop.d.ts.map +1 -0
- package/esm/models/getdomainavailabilityop.js +88 -0
- package/esm/models/getdomainavailabilityop.js.map +1 -0
- package/esm/models/getdomainpriceop.d.ts +101 -0
- package/esm/models/getdomainpriceop.d.ts.map +1 -0
- package/esm/models/getdomainpriceop.js +96 -0
- package/esm/models/getdomainpriceop.js.map +1 -0
- package/esm/models/getdomainsop.d.ts +15 -15
- package/esm/models/getdomainsop.d.ts.map +1 -1
- package/esm/models/getdomainsop.js +15 -15
- package/esm/models/getdomainsop.js.map +1 -1
- package/esm/models/getdomaintransferinop.d.ts +140 -0
- package/esm/models/getdomaintransferinop.d.ts.map +1 -0
- package/esm/models/getdomaintransferinop.js +117 -0
- package/esm/models/getdomaintransferinop.js.map +1 -0
- package/esm/models/getorderop.d.ts +715 -0
- package/esm/models/getorderop.d.ts.map +1 -0
- package/esm/models/getorderop.js +679 -0
- package/esm/models/getorderop.js.map +1 -0
- package/esm/models/getsupportedtldsop.d.ts +31 -0
- package/esm/models/getsupportedtldsop.d.ts.map +1 -0
- package/esm/models/getsupportedtldsop.js +38 -0
- package/esm/models/getsupportedtldsop.js.map +1 -0
- package/esm/models/gettldpriceop.d.ts +101 -0
- package/esm/models/gettldpriceop.d.ts.map +1 -0
- package/esm/models/gettldpriceop.js +96 -0
- package/esm/models/gettldpriceop.js.map +1 -0
- package/esm/models/internalservererror.d.ts +89 -0
- package/esm/models/internalservererror.d.ts.map +1 -0
- package/esm/models/internalservererror.js +98 -0
- package/esm/models/internalservererror.js.map +1 -0
- package/esm/models/notauthorizedforscope.d.ts +89 -0
- package/esm/models/notauthorizedforscope.d.ts.map +1 -0
- package/esm/models/notauthorizedforscope.js +98 -0
- package/esm/models/notauthorizedforscope.js.map +1 -0
- package/esm/models/renewdomainop.d.ts +257 -0
- package/esm/models/renewdomainop.d.ts.map +1 -0
- package/esm/models/renewdomainop.js +232 -0
- package/esm/models/renewdomainop.js.map +1 -0
- package/esm/models/transferindomainop.d.ts +261 -0
- package/esm/models/transferindomainop.d.ts.map +1 -0
- package/esm/models/transferindomainop.js +234 -0
- package/esm/models/transferindomainop.js.map +1 -0
- package/esm/models/unauthorized.d.ts +89 -0
- package/esm/models/unauthorized.d.ts.map +1 -0
- package/esm/models/unauthorized.js +98 -0
- package/esm/models/unauthorized.js.map +1 -0
- package/esm/models/updatedomainautorenewop.d.ts +83 -0
- package/esm/models/updatedomainautorenewop.d.ts.map +1 -0
- package/esm/models/updatedomainautorenewop.js +99 -0
- package/esm/models/updatedomainautorenewop.js.map +1 -0
- package/esm/models/updatedomainnameserversop.d.ts +83 -0
- package/esm/models/updatedomainnameserversop.d.ts.map +1 -0
- package/esm/models/updatedomainnameserversop.js +99 -0
- package/esm/models/updatedomainnameserversop.js.map +1 -0
- 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/domainsregistrar.d.ts +123 -0
- package/esm/sdk/domainsregistrar.d.ts.map +1 -0
- package/esm/sdk/domainsregistrar.js +158 -0
- package/esm/sdk/domainsregistrar.js.map +1 -0
- 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__/domains.test.ts +6 -9
- package/src/__tests__/domainsregistrar.test.ts +313 -0
- package/src/__tests__/edgeconfig.test.ts +6 -6
- package/src/__tests__/integrations.test.ts +1 -1
- package/src/__tests__/logdrains.test.ts +7 -5
- package/src/__tests__/rollingrelease.test.ts +2 -6
- package/src/__tests__/security.test.ts +4 -4
- package/src/funcs/domainsCheckDomainPrice.ts +9 -1
- package/src/funcs/domainsRegistrarBuyDomains.ts +204 -0
- package/src/funcs/domainsRegistrarBuySingleDomain.ts +211 -0
- package/src/funcs/domainsRegistrarGetBulkAvailability.ts +202 -0
- package/src/funcs/domainsRegistrarGetContactInfoSchema.ts +210 -0
- package/src/funcs/domainsRegistrarGetDomainAuthCode.ts +220 -0
- package/src/funcs/domainsRegistrarGetDomainAvailability.ts +218 -0
- package/src/funcs/domainsRegistrarGetDomainPrice.ts +210 -0
- package/src/funcs/domainsRegistrarGetDomainTransferIn.ts +223 -0
- package/src/funcs/domainsRegistrarGetOrder.ts +218 -0
- package/src/funcs/domainsRegistrarGetSupportedTlds.ts +178 -0
- package/src/funcs/domainsRegistrarGetTldPrice.ts +218 -0
- package/src/funcs/domainsRegistrarRenewDomain.ts +219 -0
- package/src/funcs/domainsRegistrarTransferInDomain.ts +213 -0
- package/src/funcs/domainsRegistrarUpdateDomainAutoRenew.ts +220 -0
- package/src/funcs/domainsRegistrarUpdateDomainNameservers.ts +220 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +31 -1
- package/src/mcp-server/tools/domainsRegistrarBuyDomains.ts +37 -0
- package/src/mcp-server/tools/domainsRegistrarBuySingleDomain.ts +38 -0
- package/src/mcp-server/tools/domainsRegistrarGetBulkAvailability.ts +39 -0
- package/src/mcp-server/tools/domainsRegistrarGetContactInfoSchema.ts +40 -0
- package/src/mcp-server/tools/domainsRegistrarGetDomainAuthCode.ts +39 -0
- package/src/mcp-server/tools/domainsRegistrarGetDomainAvailability.ts +39 -0
- package/src/mcp-server/tools/domainsRegistrarGetDomainPrice.ts +38 -0
- package/src/mcp-server/tools/domainsRegistrarGetDomainTransferIn.ts +39 -0
- package/src/mcp-server/tools/domainsRegistrarGetOrder.ts +37 -0
- package/src/mcp-server/tools/domainsRegistrarGetSupportedTlds.ts +30 -0
- package/src/mcp-server/tools/domainsRegistrarGetTldPrice.ts +37 -0
- package/src/mcp-server/tools/domainsRegistrarRenewDomain.ts +37 -0
- package/src/mcp-server/tools/domainsRegistrarTransferInDomain.ts +39 -0
- package/src/mcp-server/tools/domainsRegistrarUpdateDomainAutoRenew.ts +37 -0
- package/src/mcp-server/tools/domainsRegistrarUpdateDomainNameservers.ts +37 -0
- package/src/models/buydomainsop.ts +582 -0
- package/src/models/buysingledomainop.ts +593 -0
- package/src/models/createintegrationstoredirectop.ts +604 -604
- package/src/models/createprojectop.ts +30 -30
- package/src/models/forbidden.ts +155 -0
- package/src/models/getbulkavailabilityop.ts +288 -0
- package/src/models/getconfigurationproductsop.ts +802 -802
- package/src/models/getcontactinfoschemaop.ts +222 -0
- package/src/models/getdomainauthcodeop.ts +227 -0
- package/src/models/getdomainavailabilityop.ts +231 -0
- package/src/models/getdomainpriceop.ts +247 -0
- package/src/models/getdomainsop.ts +50 -43
- package/src/models/getdomaintransferinop.ts +268 -0
- package/src/models/getorderop.ts +1298 -0
- package/src/models/getsupportedtldsop.ts +95 -0
- package/src/models/gettldpriceop.ts +248 -0
- package/src/models/internalservererror.ts +159 -0
- package/src/models/notauthorizedforscope.ts +161 -0
- package/src/models/renewdomainop.ts +548 -0
- package/src/models/transferindomainop.ts +566 -0
- package/src/models/unauthorized.ts +153 -0
- package/src/models/updatedomainautorenewop.ts +229 -0
- package/src/models/updatedomainnameserversop.ts +233 -0
- package/src/models/updateprojectop.ts +30 -30
- package/src/sdk/domainsregistrar.ts +323 -0
- package/src/sdk/sdk.ts +6 -0
- package/vercel-spec.json +3309 -215
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { safeParse } from "../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
8
|
+
import {
|
|
9
|
+
InternalServerError,
|
|
10
|
+
InternalServerError$inboundSchema,
|
|
11
|
+
InternalServerError$Outbound,
|
|
12
|
+
InternalServerError$outboundSchema,
|
|
13
|
+
} from "./internalservererror.js";
|
|
14
|
+
import {
|
|
15
|
+
NotAuthorizedForScope,
|
|
16
|
+
NotAuthorizedForScope$inboundSchema,
|
|
17
|
+
NotAuthorizedForScope$Outbound,
|
|
18
|
+
NotAuthorizedForScope$outboundSchema,
|
|
19
|
+
} from "./notauthorizedforscope.js";
|
|
20
|
+
import { SDKValidationError } from "./sdkvalidationerror.js";
|
|
21
|
+
import {
|
|
22
|
+
Unauthorized,
|
|
23
|
+
Unauthorized$inboundSchema,
|
|
24
|
+
Unauthorized$Outbound,
|
|
25
|
+
Unauthorized$outboundSchema,
|
|
26
|
+
} from "./unauthorized.js";
|
|
27
|
+
|
|
28
|
+
export type GetContactInfoSchemaRequest = {
|
|
29
|
+
domain: string;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Unauthorized
|
|
34
|
+
*/
|
|
35
|
+
export type GetContactInfoSchemaDomainsRegistrarResponseBody =
|
|
36
|
+
| Unauthorized
|
|
37
|
+
| NotAuthorizedForScope
|
|
38
|
+
| InternalServerError;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Success
|
|
42
|
+
*/
|
|
43
|
+
export type GetContactInfoSchemaResponseBody = {};
|
|
44
|
+
|
|
45
|
+
/** @internal */
|
|
46
|
+
export const GetContactInfoSchemaRequest$inboundSchema: z.ZodType<
|
|
47
|
+
GetContactInfoSchemaRequest,
|
|
48
|
+
z.ZodTypeDef,
|
|
49
|
+
unknown
|
|
50
|
+
> = z.object({
|
|
51
|
+
domain: z.string(),
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
/** @internal */
|
|
55
|
+
export type GetContactInfoSchemaRequest$Outbound = {
|
|
56
|
+
domain: string;
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
/** @internal */
|
|
60
|
+
export const GetContactInfoSchemaRequest$outboundSchema: z.ZodType<
|
|
61
|
+
GetContactInfoSchemaRequest$Outbound,
|
|
62
|
+
z.ZodTypeDef,
|
|
63
|
+
GetContactInfoSchemaRequest
|
|
64
|
+
> = z.object({
|
|
65
|
+
domain: z.string(),
|
|
66
|
+
});
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
71
|
+
*/
|
|
72
|
+
export namespace GetContactInfoSchemaRequest$ {
|
|
73
|
+
/** @deprecated use `GetContactInfoSchemaRequest$inboundSchema` instead. */
|
|
74
|
+
export const inboundSchema = GetContactInfoSchemaRequest$inboundSchema;
|
|
75
|
+
/** @deprecated use `GetContactInfoSchemaRequest$outboundSchema` instead. */
|
|
76
|
+
export const outboundSchema = GetContactInfoSchemaRequest$outboundSchema;
|
|
77
|
+
/** @deprecated use `GetContactInfoSchemaRequest$Outbound` instead. */
|
|
78
|
+
export type Outbound = GetContactInfoSchemaRequest$Outbound;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export function getContactInfoSchemaRequestToJSON(
|
|
82
|
+
getContactInfoSchemaRequest: GetContactInfoSchemaRequest,
|
|
83
|
+
): string {
|
|
84
|
+
return JSON.stringify(
|
|
85
|
+
GetContactInfoSchemaRequest$outboundSchema.parse(
|
|
86
|
+
getContactInfoSchemaRequest,
|
|
87
|
+
),
|
|
88
|
+
);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export function getContactInfoSchemaRequestFromJSON(
|
|
92
|
+
jsonString: string,
|
|
93
|
+
): SafeParseResult<GetContactInfoSchemaRequest, SDKValidationError> {
|
|
94
|
+
return safeParse(
|
|
95
|
+
jsonString,
|
|
96
|
+
(x) => GetContactInfoSchemaRequest$inboundSchema.parse(JSON.parse(x)),
|
|
97
|
+
`Failed to parse 'GetContactInfoSchemaRequest' from JSON`,
|
|
98
|
+
);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/** @internal */
|
|
102
|
+
export const GetContactInfoSchemaDomainsRegistrarResponseBody$inboundSchema:
|
|
103
|
+
z.ZodType<
|
|
104
|
+
GetContactInfoSchemaDomainsRegistrarResponseBody,
|
|
105
|
+
z.ZodTypeDef,
|
|
106
|
+
unknown
|
|
107
|
+
> = z.union([
|
|
108
|
+
Unauthorized$inboundSchema,
|
|
109
|
+
NotAuthorizedForScope$inboundSchema,
|
|
110
|
+
InternalServerError$inboundSchema,
|
|
111
|
+
]);
|
|
112
|
+
|
|
113
|
+
/** @internal */
|
|
114
|
+
export type GetContactInfoSchemaDomainsRegistrarResponseBody$Outbound =
|
|
115
|
+
| Unauthorized$Outbound
|
|
116
|
+
| NotAuthorizedForScope$Outbound
|
|
117
|
+
| InternalServerError$Outbound;
|
|
118
|
+
|
|
119
|
+
/** @internal */
|
|
120
|
+
export const GetContactInfoSchemaDomainsRegistrarResponseBody$outboundSchema:
|
|
121
|
+
z.ZodType<
|
|
122
|
+
GetContactInfoSchemaDomainsRegistrarResponseBody$Outbound,
|
|
123
|
+
z.ZodTypeDef,
|
|
124
|
+
GetContactInfoSchemaDomainsRegistrarResponseBody
|
|
125
|
+
> = z.union([
|
|
126
|
+
Unauthorized$outboundSchema,
|
|
127
|
+
NotAuthorizedForScope$outboundSchema,
|
|
128
|
+
InternalServerError$outboundSchema,
|
|
129
|
+
]);
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* @internal
|
|
133
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
134
|
+
*/
|
|
135
|
+
export namespace GetContactInfoSchemaDomainsRegistrarResponseBody$ {
|
|
136
|
+
/** @deprecated use `GetContactInfoSchemaDomainsRegistrarResponseBody$inboundSchema` instead. */
|
|
137
|
+
export const inboundSchema =
|
|
138
|
+
GetContactInfoSchemaDomainsRegistrarResponseBody$inboundSchema;
|
|
139
|
+
/** @deprecated use `GetContactInfoSchemaDomainsRegistrarResponseBody$outboundSchema` instead. */
|
|
140
|
+
export const outboundSchema =
|
|
141
|
+
GetContactInfoSchemaDomainsRegistrarResponseBody$outboundSchema;
|
|
142
|
+
/** @deprecated use `GetContactInfoSchemaDomainsRegistrarResponseBody$Outbound` instead. */
|
|
143
|
+
export type Outbound =
|
|
144
|
+
GetContactInfoSchemaDomainsRegistrarResponseBody$Outbound;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
export function getContactInfoSchemaDomainsRegistrarResponseBodyToJSON(
|
|
148
|
+
getContactInfoSchemaDomainsRegistrarResponseBody:
|
|
149
|
+
GetContactInfoSchemaDomainsRegistrarResponseBody,
|
|
150
|
+
): string {
|
|
151
|
+
return JSON.stringify(
|
|
152
|
+
GetContactInfoSchemaDomainsRegistrarResponseBody$outboundSchema.parse(
|
|
153
|
+
getContactInfoSchemaDomainsRegistrarResponseBody,
|
|
154
|
+
),
|
|
155
|
+
);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
export function getContactInfoSchemaDomainsRegistrarResponseBodyFromJSON(
|
|
159
|
+
jsonString: string,
|
|
160
|
+
): SafeParseResult<
|
|
161
|
+
GetContactInfoSchemaDomainsRegistrarResponseBody,
|
|
162
|
+
SDKValidationError
|
|
163
|
+
> {
|
|
164
|
+
return safeParse(
|
|
165
|
+
jsonString,
|
|
166
|
+
(x) =>
|
|
167
|
+
GetContactInfoSchemaDomainsRegistrarResponseBody$inboundSchema.parse(
|
|
168
|
+
JSON.parse(x),
|
|
169
|
+
),
|
|
170
|
+
`Failed to parse 'GetContactInfoSchemaDomainsRegistrarResponseBody' from JSON`,
|
|
171
|
+
);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
/** @internal */
|
|
175
|
+
export const GetContactInfoSchemaResponseBody$inboundSchema: z.ZodType<
|
|
176
|
+
GetContactInfoSchemaResponseBody,
|
|
177
|
+
z.ZodTypeDef,
|
|
178
|
+
unknown
|
|
179
|
+
> = z.object({});
|
|
180
|
+
|
|
181
|
+
/** @internal */
|
|
182
|
+
export type GetContactInfoSchemaResponseBody$Outbound = {};
|
|
183
|
+
|
|
184
|
+
/** @internal */
|
|
185
|
+
export const GetContactInfoSchemaResponseBody$outboundSchema: z.ZodType<
|
|
186
|
+
GetContactInfoSchemaResponseBody$Outbound,
|
|
187
|
+
z.ZodTypeDef,
|
|
188
|
+
GetContactInfoSchemaResponseBody
|
|
189
|
+
> = z.object({});
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* @internal
|
|
193
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
194
|
+
*/
|
|
195
|
+
export namespace GetContactInfoSchemaResponseBody$ {
|
|
196
|
+
/** @deprecated use `GetContactInfoSchemaResponseBody$inboundSchema` instead. */
|
|
197
|
+
export const inboundSchema = GetContactInfoSchemaResponseBody$inboundSchema;
|
|
198
|
+
/** @deprecated use `GetContactInfoSchemaResponseBody$outboundSchema` instead. */
|
|
199
|
+
export const outboundSchema = GetContactInfoSchemaResponseBody$outboundSchema;
|
|
200
|
+
/** @deprecated use `GetContactInfoSchemaResponseBody$Outbound` instead. */
|
|
201
|
+
export type Outbound = GetContactInfoSchemaResponseBody$Outbound;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
export function getContactInfoSchemaResponseBodyToJSON(
|
|
205
|
+
getContactInfoSchemaResponseBody: GetContactInfoSchemaResponseBody,
|
|
206
|
+
): string {
|
|
207
|
+
return JSON.stringify(
|
|
208
|
+
GetContactInfoSchemaResponseBody$outboundSchema.parse(
|
|
209
|
+
getContactInfoSchemaResponseBody,
|
|
210
|
+
),
|
|
211
|
+
);
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
export function getContactInfoSchemaResponseBodyFromJSON(
|
|
215
|
+
jsonString: string,
|
|
216
|
+
): SafeParseResult<GetContactInfoSchemaResponseBody, SDKValidationError> {
|
|
217
|
+
return safeParse(
|
|
218
|
+
jsonString,
|
|
219
|
+
(x) => GetContactInfoSchemaResponseBody$inboundSchema.parse(JSON.parse(x)),
|
|
220
|
+
`Failed to parse 'GetContactInfoSchemaResponseBody' from JSON`,
|
|
221
|
+
);
|
|
222
|
+
}
|
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { safeParse } from "../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
8
|
+
import {
|
|
9
|
+
InternalServerError,
|
|
10
|
+
InternalServerError$inboundSchema,
|
|
11
|
+
InternalServerError$Outbound,
|
|
12
|
+
InternalServerError$outboundSchema,
|
|
13
|
+
} from "./internalservererror.js";
|
|
14
|
+
import {
|
|
15
|
+
NotAuthorizedForScope,
|
|
16
|
+
NotAuthorizedForScope$inboundSchema,
|
|
17
|
+
NotAuthorizedForScope$Outbound,
|
|
18
|
+
NotAuthorizedForScope$outboundSchema,
|
|
19
|
+
} from "./notauthorizedforscope.js";
|
|
20
|
+
import { SDKValidationError } from "./sdkvalidationerror.js";
|
|
21
|
+
import {
|
|
22
|
+
Unauthorized,
|
|
23
|
+
Unauthorized$inboundSchema,
|
|
24
|
+
Unauthorized$Outbound,
|
|
25
|
+
Unauthorized$outboundSchema,
|
|
26
|
+
} from "./unauthorized.js";
|
|
27
|
+
|
|
28
|
+
export type GetDomainAuthCodeRequest = {
|
|
29
|
+
domain: string;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Unauthorized
|
|
34
|
+
*/
|
|
35
|
+
export type GetDomainAuthCodeDomainsRegistrarResponseBody =
|
|
36
|
+
| Unauthorized
|
|
37
|
+
| NotAuthorizedForScope
|
|
38
|
+
| InternalServerError;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Success
|
|
42
|
+
*/
|
|
43
|
+
export type GetDomainAuthCodeResponseBody = {
|
|
44
|
+
authCode: string;
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
/** @internal */
|
|
48
|
+
export const GetDomainAuthCodeRequest$inboundSchema: z.ZodType<
|
|
49
|
+
GetDomainAuthCodeRequest,
|
|
50
|
+
z.ZodTypeDef,
|
|
51
|
+
unknown
|
|
52
|
+
> = z.object({
|
|
53
|
+
domain: z.string(),
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
/** @internal */
|
|
57
|
+
export type GetDomainAuthCodeRequest$Outbound = {
|
|
58
|
+
domain: string;
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
/** @internal */
|
|
62
|
+
export const GetDomainAuthCodeRequest$outboundSchema: z.ZodType<
|
|
63
|
+
GetDomainAuthCodeRequest$Outbound,
|
|
64
|
+
z.ZodTypeDef,
|
|
65
|
+
GetDomainAuthCodeRequest
|
|
66
|
+
> = z.object({
|
|
67
|
+
domain: z.string(),
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
73
|
+
*/
|
|
74
|
+
export namespace GetDomainAuthCodeRequest$ {
|
|
75
|
+
/** @deprecated use `GetDomainAuthCodeRequest$inboundSchema` instead. */
|
|
76
|
+
export const inboundSchema = GetDomainAuthCodeRequest$inboundSchema;
|
|
77
|
+
/** @deprecated use `GetDomainAuthCodeRequest$outboundSchema` instead. */
|
|
78
|
+
export const outboundSchema = GetDomainAuthCodeRequest$outboundSchema;
|
|
79
|
+
/** @deprecated use `GetDomainAuthCodeRequest$Outbound` instead. */
|
|
80
|
+
export type Outbound = GetDomainAuthCodeRequest$Outbound;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function getDomainAuthCodeRequestToJSON(
|
|
84
|
+
getDomainAuthCodeRequest: GetDomainAuthCodeRequest,
|
|
85
|
+
): string {
|
|
86
|
+
return JSON.stringify(
|
|
87
|
+
GetDomainAuthCodeRequest$outboundSchema.parse(getDomainAuthCodeRequest),
|
|
88
|
+
);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export function getDomainAuthCodeRequestFromJSON(
|
|
92
|
+
jsonString: string,
|
|
93
|
+
): SafeParseResult<GetDomainAuthCodeRequest, SDKValidationError> {
|
|
94
|
+
return safeParse(
|
|
95
|
+
jsonString,
|
|
96
|
+
(x) => GetDomainAuthCodeRequest$inboundSchema.parse(JSON.parse(x)),
|
|
97
|
+
`Failed to parse 'GetDomainAuthCodeRequest' from JSON`,
|
|
98
|
+
);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/** @internal */
|
|
102
|
+
export const GetDomainAuthCodeDomainsRegistrarResponseBody$inboundSchema:
|
|
103
|
+
z.ZodType<
|
|
104
|
+
GetDomainAuthCodeDomainsRegistrarResponseBody,
|
|
105
|
+
z.ZodTypeDef,
|
|
106
|
+
unknown
|
|
107
|
+
> = z.union([
|
|
108
|
+
Unauthorized$inboundSchema,
|
|
109
|
+
NotAuthorizedForScope$inboundSchema,
|
|
110
|
+
InternalServerError$inboundSchema,
|
|
111
|
+
]);
|
|
112
|
+
|
|
113
|
+
/** @internal */
|
|
114
|
+
export type GetDomainAuthCodeDomainsRegistrarResponseBody$Outbound =
|
|
115
|
+
| Unauthorized$Outbound
|
|
116
|
+
| NotAuthorizedForScope$Outbound
|
|
117
|
+
| InternalServerError$Outbound;
|
|
118
|
+
|
|
119
|
+
/** @internal */
|
|
120
|
+
export const GetDomainAuthCodeDomainsRegistrarResponseBody$outboundSchema:
|
|
121
|
+
z.ZodType<
|
|
122
|
+
GetDomainAuthCodeDomainsRegistrarResponseBody$Outbound,
|
|
123
|
+
z.ZodTypeDef,
|
|
124
|
+
GetDomainAuthCodeDomainsRegistrarResponseBody
|
|
125
|
+
> = z.union([
|
|
126
|
+
Unauthorized$outboundSchema,
|
|
127
|
+
NotAuthorizedForScope$outboundSchema,
|
|
128
|
+
InternalServerError$outboundSchema,
|
|
129
|
+
]);
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* @internal
|
|
133
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
134
|
+
*/
|
|
135
|
+
export namespace GetDomainAuthCodeDomainsRegistrarResponseBody$ {
|
|
136
|
+
/** @deprecated use `GetDomainAuthCodeDomainsRegistrarResponseBody$inboundSchema` instead. */
|
|
137
|
+
export const inboundSchema =
|
|
138
|
+
GetDomainAuthCodeDomainsRegistrarResponseBody$inboundSchema;
|
|
139
|
+
/** @deprecated use `GetDomainAuthCodeDomainsRegistrarResponseBody$outboundSchema` instead. */
|
|
140
|
+
export const outboundSchema =
|
|
141
|
+
GetDomainAuthCodeDomainsRegistrarResponseBody$outboundSchema;
|
|
142
|
+
/** @deprecated use `GetDomainAuthCodeDomainsRegistrarResponseBody$Outbound` instead. */
|
|
143
|
+
export type Outbound = GetDomainAuthCodeDomainsRegistrarResponseBody$Outbound;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
export function getDomainAuthCodeDomainsRegistrarResponseBodyToJSON(
|
|
147
|
+
getDomainAuthCodeDomainsRegistrarResponseBody:
|
|
148
|
+
GetDomainAuthCodeDomainsRegistrarResponseBody,
|
|
149
|
+
): string {
|
|
150
|
+
return JSON.stringify(
|
|
151
|
+
GetDomainAuthCodeDomainsRegistrarResponseBody$outboundSchema.parse(
|
|
152
|
+
getDomainAuthCodeDomainsRegistrarResponseBody,
|
|
153
|
+
),
|
|
154
|
+
);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
export function getDomainAuthCodeDomainsRegistrarResponseBodyFromJSON(
|
|
158
|
+
jsonString: string,
|
|
159
|
+
): SafeParseResult<
|
|
160
|
+
GetDomainAuthCodeDomainsRegistrarResponseBody,
|
|
161
|
+
SDKValidationError
|
|
162
|
+
> {
|
|
163
|
+
return safeParse(
|
|
164
|
+
jsonString,
|
|
165
|
+
(x) =>
|
|
166
|
+
GetDomainAuthCodeDomainsRegistrarResponseBody$inboundSchema.parse(
|
|
167
|
+
JSON.parse(x),
|
|
168
|
+
),
|
|
169
|
+
`Failed to parse 'GetDomainAuthCodeDomainsRegistrarResponseBody' from JSON`,
|
|
170
|
+
);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
/** @internal */
|
|
174
|
+
export const GetDomainAuthCodeResponseBody$inboundSchema: z.ZodType<
|
|
175
|
+
GetDomainAuthCodeResponseBody,
|
|
176
|
+
z.ZodTypeDef,
|
|
177
|
+
unknown
|
|
178
|
+
> = z.object({
|
|
179
|
+
authCode: z.string(),
|
|
180
|
+
});
|
|
181
|
+
|
|
182
|
+
/** @internal */
|
|
183
|
+
export type GetDomainAuthCodeResponseBody$Outbound = {
|
|
184
|
+
authCode: string;
|
|
185
|
+
};
|
|
186
|
+
|
|
187
|
+
/** @internal */
|
|
188
|
+
export const GetDomainAuthCodeResponseBody$outboundSchema: z.ZodType<
|
|
189
|
+
GetDomainAuthCodeResponseBody$Outbound,
|
|
190
|
+
z.ZodTypeDef,
|
|
191
|
+
GetDomainAuthCodeResponseBody
|
|
192
|
+
> = z.object({
|
|
193
|
+
authCode: z.string(),
|
|
194
|
+
});
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* @internal
|
|
198
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
199
|
+
*/
|
|
200
|
+
export namespace GetDomainAuthCodeResponseBody$ {
|
|
201
|
+
/** @deprecated use `GetDomainAuthCodeResponseBody$inboundSchema` instead. */
|
|
202
|
+
export const inboundSchema = GetDomainAuthCodeResponseBody$inboundSchema;
|
|
203
|
+
/** @deprecated use `GetDomainAuthCodeResponseBody$outboundSchema` instead. */
|
|
204
|
+
export const outboundSchema = GetDomainAuthCodeResponseBody$outboundSchema;
|
|
205
|
+
/** @deprecated use `GetDomainAuthCodeResponseBody$Outbound` instead. */
|
|
206
|
+
export type Outbound = GetDomainAuthCodeResponseBody$Outbound;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
export function getDomainAuthCodeResponseBodyToJSON(
|
|
210
|
+
getDomainAuthCodeResponseBody: GetDomainAuthCodeResponseBody,
|
|
211
|
+
): string {
|
|
212
|
+
return JSON.stringify(
|
|
213
|
+
GetDomainAuthCodeResponseBody$outboundSchema.parse(
|
|
214
|
+
getDomainAuthCodeResponseBody,
|
|
215
|
+
),
|
|
216
|
+
);
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
export function getDomainAuthCodeResponseBodyFromJSON(
|
|
220
|
+
jsonString: string,
|
|
221
|
+
): SafeParseResult<GetDomainAuthCodeResponseBody, SDKValidationError> {
|
|
222
|
+
return safeParse(
|
|
223
|
+
jsonString,
|
|
224
|
+
(x) => GetDomainAuthCodeResponseBody$inboundSchema.parse(JSON.parse(x)),
|
|
225
|
+
`Failed to parse 'GetDomainAuthCodeResponseBody' from JSON`,
|
|
226
|
+
);
|
|
227
|
+
}
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { safeParse } from "../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
8
|
+
import {
|
|
9
|
+
InternalServerError,
|
|
10
|
+
InternalServerError$inboundSchema,
|
|
11
|
+
InternalServerError$Outbound,
|
|
12
|
+
InternalServerError$outboundSchema,
|
|
13
|
+
} from "./internalservererror.js";
|
|
14
|
+
import {
|
|
15
|
+
NotAuthorizedForScope,
|
|
16
|
+
NotAuthorizedForScope$inboundSchema,
|
|
17
|
+
NotAuthorizedForScope$Outbound,
|
|
18
|
+
NotAuthorizedForScope$outboundSchema,
|
|
19
|
+
} from "./notauthorizedforscope.js";
|
|
20
|
+
import { SDKValidationError } from "./sdkvalidationerror.js";
|
|
21
|
+
import {
|
|
22
|
+
Unauthorized,
|
|
23
|
+
Unauthorized$inboundSchema,
|
|
24
|
+
Unauthorized$Outbound,
|
|
25
|
+
Unauthorized$outboundSchema,
|
|
26
|
+
} from "./unauthorized.js";
|
|
27
|
+
|
|
28
|
+
export type GetDomainAvailabilityRequest = {
|
|
29
|
+
domain: string;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Unauthorized
|
|
34
|
+
*/
|
|
35
|
+
export type GetDomainAvailabilityDomainsRegistrarResponseBody =
|
|
36
|
+
| Unauthorized
|
|
37
|
+
| NotAuthorizedForScope
|
|
38
|
+
| InternalServerError;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Success
|
|
42
|
+
*/
|
|
43
|
+
export type GetDomainAvailabilityResponseBody = {
|
|
44
|
+
available: boolean;
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
/** @internal */
|
|
48
|
+
export const GetDomainAvailabilityRequest$inboundSchema: z.ZodType<
|
|
49
|
+
GetDomainAvailabilityRequest,
|
|
50
|
+
z.ZodTypeDef,
|
|
51
|
+
unknown
|
|
52
|
+
> = z.object({
|
|
53
|
+
domain: z.string(),
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
/** @internal */
|
|
57
|
+
export type GetDomainAvailabilityRequest$Outbound = {
|
|
58
|
+
domain: string;
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
/** @internal */
|
|
62
|
+
export const GetDomainAvailabilityRequest$outboundSchema: z.ZodType<
|
|
63
|
+
GetDomainAvailabilityRequest$Outbound,
|
|
64
|
+
z.ZodTypeDef,
|
|
65
|
+
GetDomainAvailabilityRequest
|
|
66
|
+
> = z.object({
|
|
67
|
+
domain: z.string(),
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
73
|
+
*/
|
|
74
|
+
export namespace GetDomainAvailabilityRequest$ {
|
|
75
|
+
/** @deprecated use `GetDomainAvailabilityRequest$inboundSchema` instead. */
|
|
76
|
+
export const inboundSchema = GetDomainAvailabilityRequest$inboundSchema;
|
|
77
|
+
/** @deprecated use `GetDomainAvailabilityRequest$outboundSchema` instead. */
|
|
78
|
+
export const outboundSchema = GetDomainAvailabilityRequest$outboundSchema;
|
|
79
|
+
/** @deprecated use `GetDomainAvailabilityRequest$Outbound` instead. */
|
|
80
|
+
export type Outbound = GetDomainAvailabilityRequest$Outbound;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function getDomainAvailabilityRequestToJSON(
|
|
84
|
+
getDomainAvailabilityRequest: GetDomainAvailabilityRequest,
|
|
85
|
+
): string {
|
|
86
|
+
return JSON.stringify(
|
|
87
|
+
GetDomainAvailabilityRequest$outboundSchema.parse(
|
|
88
|
+
getDomainAvailabilityRequest,
|
|
89
|
+
),
|
|
90
|
+
);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export function getDomainAvailabilityRequestFromJSON(
|
|
94
|
+
jsonString: string,
|
|
95
|
+
): SafeParseResult<GetDomainAvailabilityRequest, SDKValidationError> {
|
|
96
|
+
return safeParse(
|
|
97
|
+
jsonString,
|
|
98
|
+
(x) => GetDomainAvailabilityRequest$inboundSchema.parse(JSON.parse(x)),
|
|
99
|
+
`Failed to parse 'GetDomainAvailabilityRequest' from JSON`,
|
|
100
|
+
);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/** @internal */
|
|
104
|
+
export const GetDomainAvailabilityDomainsRegistrarResponseBody$inboundSchema:
|
|
105
|
+
z.ZodType<
|
|
106
|
+
GetDomainAvailabilityDomainsRegistrarResponseBody,
|
|
107
|
+
z.ZodTypeDef,
|
|
108
|
+
unknown
|
|
109
|
+
> = z.union([
|
|
110
|
+
Unauthorized$inboundSchema,
|
|
111
|
+
NotAuthorizedForScope$inboundSchema,
|
|
112
|
+
InternalServerError$inboundSchema,
|
|
113
|
+
]);
|
|
114
|
+
|
|
115
|
+
/** @internal */
|
|
116
|
+
export type GetDomainAvailabilityDomainsRegistrarResponseBody$Outbound =
|
|
117
|
+
| Unauthorized$Outbound
|
|
118
|
+
| NotAuthorizedForScope$Outbound
|
|
119
|
+
| InternalServerError$Outbound;
|
|
120
|
+
|
|
121
|
+
/** @internal */
|
|
122
|
+
export const GetDomainAvailabilityDomainsRegistrarResponseBody$outboundSchema:
|
|
123
|
+
z.ZodType<
|
|
124
|
+
GetDomainAvailabilityDomainsRegistrarResponseBody$Outbound,
|
|
125
|
+
z.ZodTypeDef,
|
|
126
|
+
GetDomainAvailabilityDomainsRegistrarResponseBody
|
|
127
|
+
> = z.union([
|
|
128
|
+
Unauthorized$outboundSchema,
|
|
129
|
+
NotAuthorizedForScope$outboundSchema,
|
|
130
|
+
InternalServerError$outboundSchema,
|
|
131
|
+
]);
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* @internal
|
|
135
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
136
|
+
*/
|
|
137
|
+
export namespace GetDomainAvailabilityDomainsRegistrarResponseBody$ {
|
|
138
|
+
/** @deprecated use `GetDomainAvailabilityDomainsRegistrarResponseBody$inboundSchema` instead. */
|
|
139
|
+
export const inboundSchema =
|
|
140
|
+
GetDomainAvailabilityDomainsRegistrarResponseBody$inboundSchema;
|
|
141
|
+
/** @deprecated use `GetDomainAvailabilityDomainsRegistrarResponseBody$outboundSchema` instead. */
|
|
142
|
+
export const outboundSchema =
|
|
143
|
+
GetDomainAvailabilityDomainsRegistrarResponseBody$outboundSchema;
|
|
144
|
+
/** @deprecated use `GetDomainAvailabilityDomainsRegistrarResponseBody$Outbound` instead. */
|
|
145
|
+
export type Outbound =
|
|
146
|
+
GetDomainAvailabilityDomainsRegistrarResponseBody$Outbound;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
export function getDomainAvailabilityDomainsRegistrarResponseBodyToJSON(
|
|
150
|
+
getDomainAvailabilityDomainsRegistrarResponseBody:
|
|
151
|
+
GetDomainAvailabilityDomainsRegistrarResponseBody,
|
|
152
|
+
): string {
|
|
153
|
+
return JSON.stringify(
|
|
154
|
+
GetDomainAvailabilityDomainsRegistrarResponseBody$outboundSchema.parse(
|
|
155
|
+
getDomainAvailabilityDomainsRegistrarResponseBody,
|
|
156
|
+
),
|
|
157
|
+
);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
export function getDomainAvailabilityDomainsRegistrarResponseBodyFromJSON(
|
|
161
|
+
jsonString: string,
|
|
162
|
+
): SafeParseResult<
|
|
163
|
+
GetDomainAvailabilityDomainsRegistrarResponseBody,
|
|
164
|
+
SDKValidationError
|
|
165
|
+
> {
|
|
166
|
+
return safeParse(
|
|
167
|
+
jsonString,
|
|
168
|
+
(x) =>
|
|
169
|
+
GetDomainAvailabilityDomainsRegistrarResponseBody$inboundSchema.parse(
|
|
170
|
+
JSON.parse(x),
|
|
171
|
+
),
|
|
172
|
+
`Failed to parse 'GetDomainAvailabilityDomainsRegistrarResponseBody' from JSON`,
|
|
173
|
+
);
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
/** @internal */
|
|
177
|
+
export const GetDomainAvailabilityResponseBody$inboundSchema: z.ZodType<
|
|
178
|
+
GetDomainAvailabilityResponseBody,
|
|
179
|
+
z.ZodTypeDef,
|
|
180
|
+
unknown
|
|
181
|
+
> = z.object({
|
|
182
|
+
available: z.boolean(),
|
|
183
|
+
});
|
|
184
|
+
|
|
185
|
+
/** @internal */
|
|
186
|
+
export type GetDomainAvailabilityResponseBody$Outbound = {
|
|
187
|
+
available: boolean;
|
|
188
|
+
};
|
|
189
|
+
|
|
190
|
+
/** @internal */
|
|
191
|
+
export const GetDomainAvailabilityResponseBody$outboundSchema: z.ZodType<
|
|
192
|
+
GetDomainAvailabilityResponseBody$Outbound,
|
|
193
|
+
z.ZodTypeDef,
|
|
194
|
+
GetDomainAvailabilityResponseBody
|
|
195
|
+
> = z.object({
|
|
196
|
+
available: z.boolean(),
|
|
197
|
+
});
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* @internal
|
|
201
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
202
|
+
*/
|
|
203
|
+
export namespace GetDomainAvailabilityResponseBody$ {
|
|
204
|
+
/** @deprecated use `GetDomainAvailabilityResponseBody$inboundSchema` instead. */
|
|
205
|
+
export const inboundSchema = GetDomainAvailabilityResponseBody$inboundSchema;
|
|
206
|
+
/** @deprecated use `GetDomainAvailabilityResponseBody$outboundSchema` instead. */
|
|
207
|
+
export const outboundSchema =
|
|
208
|
+
GetDomainAvailabilityResponseBody$outboundSchema;
|
|
209
|
+
/** @deprecated use `GetDomainAvailabilityResponseBody$Outbound` instead. */
|
|
210
|
+
export type Outbound = GetDomainAvailabilityResponseBody$Outbound;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
export function getDomainAvailabilityResponseBodyToJSON(
|
|
214
|
+
getDomainAvailabilityResponseBody: GetDomainAvailabilityResponseBody,
|
|
215
|
+
): string {
|
|
216
|
+
return JSON.stringify(
|
|
217
|
+
GetDomainAvailabilityResponseBody$outboundSchema.parse(
|
|
218
|
+
getDomainAvailabilityResponseBody,
|
|
219
|
+
),
|
|
220
|
+
);
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
export function getDomainAvailabilityResponseBodyFromJSON(
|
|
224
|
+
jsonString: string,
|
|
225
|
+
): SafeParseResult<GetDomainAvailabilityResponseBody, SDKValidationError> {
|
|
226
|
+
return safeParse(
|
|
227
|
+
jsonString,
|
|
228
|
+
(x) => GetDomainAvailabilityResponseBody$inboundSchema.parse(JSON.parse(x)),
|
|
229
|
+
`Failed to parse 'GetDomainAvailabilityResponseBody' from JSON`,
|
|
230
|
+
);
|
|
231
|
+
}
|