@vercel/sdk 1.18.6 → 1.18.7
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 +34 -28
- package/bin/mcp-server.js +4851 -3924
- package/bin/mcp-server.js.map +73 -63
- package/esm/__tests__/accessgroups.test.js +1 -3
- package/esm/__tests__/accessgroups.test.js.map +1 -1
- package/esm/__tests__/aliases.test.js +20 -1
- package/esm/__tests__/aliases.test.js.map +1 -1
- package/esm/__tests__/checks.test.js +1 -1
- package/esm/__tests__/checks.test.js.map +1 -1
- package/esm/__tests__/connect.test.js +104 -0
- package/esm/__tests__/connect.test.js.map +1 -1
- package/esm/__tests__/deployments.test.js +4 -4
- package/esm/__tests__/deployments.test.js.map +1 -1
- package/esm/__tests__/dns.test.js +3 -3
- package/esm/__tests__/dns.test.js.map +1 -1
- package/esm/__tests__/domains.test.js +7 -37
- package/esm/__tests__/domains.test.js.map +1 -1
- package/esm/__tests__/drains.test.js +6 -6
- package/esm/__tests__/drains.test.js.map +1 -1
- package/esm/__tests__/edgeconfig.test.js +9 -9
- package/esm/__tests__/edgeconfig.test.js.map +1 -1
- package/esm/__tests__/integrations.test.js +8 -1
- package/esm/__tests__/integrations.test.js.map +1 -1
- package/esm/__tests__/logdrains.test.js +5 -3
- package/esm/__tests__/logdrains.test.js.map +1 -1
- package/esm/__tests__/marketplace.test.js +3 -2
- package/esm/__tests__/marketplace.test.js.map +1 -1
- package/esm/__tests__/projects.test.js +11 -28
- package/esm/__tests__/projects.test.js.map +1 -1
- package/esm/__tests__/security.test.js +33 -9
- package/esm/__tests__/security.test.js.map +1 -1
- package/esm/funcs/aliasesGetAlias.d.ts +1 -1
- package/esm/funcs/aliasesGetAlias.d.ts.map +1 -1
- package/esm/funcs/aliasesGetAlias.js +1 -2
- package/esm/funcs/aliasesGetAlias.js.map +1 -1
- package/esm/funcs/connectCreateNetwork.d.ts +18 -0
- package/esm/funcs/connectCreateNetwork.d.ts.map +1 -0
- package/esm/funcs/connectCreateNetwork.js +84 -0
- package/esm/funcs/connectCreateNetwork.js.map +1 -0
- package/esm/funcs/connectDeleteNetwork.d.ts +17 -0
- package/esm/funcs/connectDeleteNetwork.d.ts.map +1 -0
- package/esm/funcs/connectDeleteNetwork.js +89 -0
- package/esm/funcs/connectDeleteNetwork.js.map +1 -0
- package/esm/funcs/connectListNetworks.d.ts +18 -0
- package/esm/funcs/connectListNetworks.d.ts.map +1 -0
- package/esm/funcs/{domainsCheckDomainStatus.js → connectListNetworks.js} +16 -11
- package/esm/funcs/connectListNetworks.js.map +1 -0
- package/esm/funcs/connectReadNetwork.d.ts +18 -0
- package/esm/funcs/connectReadNetwork.d.ts.map +1 -0
- package/esm/funcs/{domainsCheckDomainPrice.js → connectReadNetwork.js} +18 -13
- package/esm/funcs/connectReadNetwork.js.map +1 -0
- package/esm/funcs/connectUpdateNetwork.d.ts +18 -0
- package/esm/funcs/connectUpdateNetwork.d.ts.map +1 -0
- package/esm/funcs/connectUpdateNetwork.js +90 -0
- package/esm/funcs/connectUpdateNetwork.js.map +1 -0
- package/esm/funcs/connectUpdateStaticIps.js +2 -2
- package/esm/funcs/connectUpdateStaticIps.js.map +1 -1
- package/esm/funcs/edgeCacheDangerouslyDeleteBySrcImages.d.ts +1 -1
- package/esm/funcs/edgeCacheDangerouslyDeleteBySrcImages.js +1 -1
- package/esm/funcs/edgeCacheDangerouslyDeleteByTags.d.ts +1 -1
- package/esm/funcs/edgeCacheDangerouslyDeleteByTags.js +1 -1
- package/esm/funcs/marketplaceExchangeSsoToken.js +2 -2
- package/esm/funcs/marketplaceExchangeSsoToken.js.map +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/lib/sdks.js +2 -2
- package/esm/lib/sdks.js.map +1 -1
- 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 +18 -12
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/connectCreateNetwork.d.ts +7 -0
- package/esm/mcp-server/tools/connectCreateNetwork.d.ts.map +1 -0
- package/esm/mcp-server/tools/connectCreateNetwork.js +28 -0
- package/esm/mcp-server/tools/connectCreateNetwork.js.map +1 -0
- package/esm/mcp-server/tools/connectDeleteNetwork.d.ts +7 -0
- package/esm/mcp-server/tools/connectDeleteNetwork.d.ts.map +1 -0
- package/esm/mcp-server/tools/connectDeleteNetwork.js +27 -0
- package/esm/mcp-server/tools/connectDeleteNetwork.js.map +1 -0
- package/esm/mcp-server/tools/connectListNetworks.d.ts +7 -0
- package/esm/mcp-server/tools/connectListNetworks.d.ts.map +1 -0
- package/esm/mcp-server/tools/connectListNetworks.js +28 -0
- package/esm/mcp-server/tools/connectListNetworks.js.map +1 -0
- package/esm/mcp-server/tools/connectReadNetwork.d.ts +7 -0
- package/esm/mcp-server/tools/connectReadNetwork.d.ts.map +1 -0
- package/esm/mcp-server/tools/connectReadNetwork.js +28 -0
- package/esm/mcp-server/tools/connectReadNetwork.js.map +1 -0
- package/esm/mcp-server/tools/connectUpdateNetwork.d.ts +7 -0
- package/esm/mcp-server/tools/connectUpdateNetwork.d.ts.map +1 -0
- package/esm/mcp-server/tools/connectUpdateNetwork.js +28 -0
- package/esm/mcp-server/tools/connectUpdateNetwork.js.map +1 -0
- package/esm/mcp-server/tools/edgeCacheDangerouslyDeleteBySrcImages.js +1 -1
- package/esm/mcp-server/tools/edgeCacheDangerouslyDeleteBySrcImages.js.map +1 -1
- package/esm/mcp-server/tools/edgeCacheDangerouslyDeleteByTags.js +1 -1
- package/esm/mcp-server/tools/edgeCacheDangerouslyDeleteByTags.js.map +1 -1
- package/esm/models/addbypassipop.d.ts +1 -1
- package/esm/models/addbypassipop.js +1 -1
- package/esm/models/addbypassipop.js.map +1 -1
- package/esm/models/canceldeploymentop.d.ts +86 -81
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +66 -64
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +5 -0
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +2 -0
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createdrainop.d.ts +72 -72
- package/esm/models/createdrainop.d.ts.map +1 -1
- package/esm/models/createdrainop.js +72 -72
- package/esm/models/createdrainop.js.map +1 -1
- package/esm/models/createedgeconfigop.d.ts +24 -24
- package/esm/models/createedgeconfigop.d.ts.map +1 -1
- package/esm/models/createedgeconfigop.js +22 -22
- package/esm/models/createedgeconfigop.js.map +1 -1
- package/esm/models/createintegrationstoredirectop.d.ts +689 -177
- package/esm/models/createintegrationstoredirectop.d.ts.map +1 -1
- package/esm/models/createintegrationstoredirectop.js +1023 -266
- package/esm/models/createintegrationstoredirectop.js.map +1 -1
- package/esm/models/createlogdrainop.d.ts +1 -1
- package/esm/models/createlogdrainop.js +1 -1
- package/esm/models/createlogdrainop.js.map +1 -1
- package/esm/models/createnetworkop.d.ts +55 -0
- package/esm/models/createnetworkop.d.ts.map +1 -0
- package/esm/models/createnetworkop.js +54 -0
- package/esm/models/createnetworkop.js.map +1 -0
- package/esm/models/createortransferdomainop.d.ts +2 -2
- package/esm/models/createortransferdomainop.d.ts.map +1 -1
- package/esm/models/createortransferdomainop.js +2 -2
- package/esm/models/createortransferdomainop.js.map +1 -1
- package/esm/models/deletenetworkop.d.ts +30 -0
- package/esm/models/deletenetworkop.d.ts.map +1 -0
- package/esm/models/deletenetworkop.js +25 -0
- package/esm/models/deletenetworkop.js.map +1 -0
- package/esm/models/editprojectenvop.d.ts +161 -169
- package/esm/models/editprojectenvop.d.ts.map +1 -1
- package/esm/models/editprojectenvop.js +228 -236
- package/esm/models/editprojectenvop.js.map +1 -1
- package/esm/models/exchangessotokenop.d.ts +79 -22
- package/esm/models/exchangessotokenop.d.ts.map +1 -1
- package/esm/models/exchangessotokenop.js +117 -18
- package/esm/models/exchangessotokenop.js.map +1 -1
- package/esm/models/getaliasop.d.ts +9 -6
- package/esm/models/getaliasop.d.ts.map +1 -1
- package/esm/models/getaliasop.js +6 -6
- package/esm/models/getaliasop.js.map +1 -1
- package/esm/models/getalllogdrainsop.d.ts +180 -180
- package/esm/models/getalllogdrainsop.d.ts.map +1 -1
- package/esm/models/getalllogdrainsop.js +188 -188
- package/esm/models/getalllogdrainsop.js.map +1 -1
- package/esm/models/getbypassipop.d.ts +1 -1
- package/esm/models/getbypassipop.js +1 -1
- package/esm/models/getbypassipop.js.map +1 -1
- package/esm/models/getconfigurationop.d.ts +66 -66
- package/esm/models/getconfigurationop.d.ts.map +1 -1
- package/esm/models/getconfigurationop.js +46 -46
- package/esm/models/getconfigurationop.js.map +1 -1
- package/esm/models/getconfigurationproductsop.d.ts +334 -226
- package/esm/models/getconfigurationproductsop.d.ts.map +1 -1
- package/esm/models/getconfigurationproductsop.js +452 -280
- package/esm/models/getconfigurationproductsop.js.map +1 -1
- package/esm/models/getconfigurationsop.d.ts +4 -4
- package/esm/models/getconfigurationsop.js +4 -4
- package/esm/models/getconfigurationsop.js.map +1 -1
- package/esm/models/getdeploymentop.d.ts +10 -0
- package/esm/models/getdeploymentop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.js +4 -0
- package/esm/models/getdeploymentop.js.map +1 -1
- package/esm/models/getdomainop.d.ts +5 -5
- package/esm/models/getdomainop.d.ts.map +1 -1
- package/esm/models/getdomainop.js +2 -2
- package/esm/models/getdomainop.js.map +1 -1
- package/esm/models/getdomainsop.d.ts +9 -9
- package/esm/models/getdomainsop.d.ts.map +1 -1
- package/esm/models/getdomainsop.js +4 -4
- package/esm/models/getdomainsop.js.map +1 -1
- package/esm/models/getdrainop.d.ts +72 -72
- package/esm/models/getdrainop.d.ts.map +1 -1
- package/esm/models/getdrainop.js +74 -74
- package/esm/models/getdrainop.js.map +1 -1
- package/esm/models/getdrainsop.d.ts +72 -72
- package/esm/models/getdrainsop.d.ts.map +1 -1
- package/esm/models/getdrainsop.js +72 -72
- package/esm/models/getdrainsop.js.map +1 -1
- package/esm/models/getedgeconfigbackupop.d.ts +12 -12
- package/esm/models/getedgeconfigbackupop.d.ts.map +1 -1
- package/esm/models/getedgeconfigbackupop.js +12 -12
- package/esm/models/getedgeconfigbackupop.js.map +1 -1
- package/esm/models/getedgeconfigop.d.ts +24 -24
- package/esm/models/getedgeconfigop.d.ts.map +1 -1
- package/esm/models/getedgeconfigop.js +22 -22
- package/esm/models/getedgeconfigop.js.map +1 -1
- package/esm/models/getfirewallconfigop.d.ts +2 -2
- package/esm/models/getfirewallconfigop.js +2 -2
- package/esm/models/getfirewallconfigop.js.map +1 -1
- package/esm/models/getintegrationlogdrainsop.d.ts +1 -1
- package/esm/models/getintegrationlogdrainsop.js +1 -1
- package/esm/models/getintegrationlogdrainsop.js.map +1 -1
- package/esm/models/getintegrationresourceop.d.ts +3 -3
- package/esm/models/getintegrationresourceop.d.ts.map +1 -1
- package/esm/models/getintegrationresourceop.js +3 -3
- package/esm/models/getintegrationresourceop.js.map +1 -1
- package/esm/models/getintegrationresourcesop.d.ts +3 -3
- package/esm/models/getintegrationresourcesop.d.ts.map +1 -1
- package/esm/models/getintegrationresourcesop.js +3 -3
- package/esm/models/getintegrationresourcesop.js.map +1 -1
- package/esm/models/getinvoiceop.d.ts +3 -3
- package/esm/models/getinvoiceop.js +3 -3
- package/esm/models/getinvoiceop.js.map +1 -1
- package/esm/models/getprojectenvop.d.ts +61 -418
- package/esm/models/getprojectenvop.d.ts.map +1 -1
- package/esm/models/getprojectenvop.js +59 -500
- package/esm/models/getprojectenvop.js.map +1 -1
- package/esm/models/getredirectsop.d.ts +2 -2
- package/esm/models/getredirectsop.d.ts.map +1 -1
- package/esm/models/getredirectsop.js +2 -2
- package/esm/models/getredirectsop.js.map +1 -1
- package/esm/models/getteamaccessrequestop.d.ts +1 -1
- package/esm/models/getteamaccessrequestop.js +1 -1
- package/esm/models/getteamaccessrequestop.js.map +1 -1
- package/esm/models/listnetworksop.d.ts +45 -0
- package/esm/models/listnetworksop.d.ts.map +1 -0
- package/esm/models/listnetworksop.js +31 -0
- package/esm/models/listnetworksop.js.map +1 -0
- package/esm/models/network.d.ts +161 -0
- package/esm/models/network.d.ts.map +1 -0
- package/esm/models/network.js +108 -0
- package/esm/models/network.js.map +1 -0
- package/esm/models/putfirewallconfigop.d.ts +2 -2
- package/esm/models/putfirewallconfigop.js +2 -2
- package/esm/models/putfirewallconfigop.js.map +1 -1
- package/esm/models/readnetworkop.d.ts +30 -0
- package/esm/models/readnetworkop.d.ts.map +1 -0
- package/esm/models/readnetworkop.js +25 -0
- package/esm/models/readnetworkop.js.map +1 -0
- package/esm/models/removeprojectenvop.d.ts +96 -102
- package/esm/models/removeprojectenvop.d.ts.map +1 -1
- package/esm/models/removeprojectenvop.js +95 -101
- package/esm/models/removeprojectenvop.js.map +1 -1
- package/esm/models/requestaccesstoteamop.d.ts +5 -5
- package/esm/models/requestaccesstoteamop.js +5 -5
- package/esm/models/requestaccesstoteamop.js.map +1 -1
- package/esm/models/teamlimited.d.ts +1 -1
- package/esm/models/teamlimited.js +1 -1
- package/esm/models/teamlimited.js.map +1 -1
- package/esm/models/updateaccessgroupop.d.ts +8 -8
- package/esm/models/updateaccessgroupop.d.ts.map +1 -1
- package/esm/models/updateaccessgroupop.js +9 -8
- package/esm/models/updateaccessgroupop.js.map +1 -1
- package/esm/models/updateattackchallengemodeop.d.ts +31 -7
- package/esm/models/updateattackchallengemodeop.d.ts.map +1 -1
- package/esm/models/updateattackchallengemodeop.js +45 -6
- package/esm/models/updateattackchallengemodeop.js.map +1 -1
- package/esm/models/updatecheckop.d.ts +10 -10
- package/esm/models/updatecheckop.d.ts.map +1 -1
- package/esm/models/updatecheckop.js +10 -11
- package/esm/models/updatecheckop.js.map +1 -1
- package/esm/models/updatedrainop.d.ts +72 -72
- package/esm/models/updatedrainop.d.ts.map +1 -1
- package/esm/models/updatedrainop.js +75 -75
- package/esm/models/updatedrainop.js.map +1 -1
- package/esm/models/updateedgeconfigop.d.ts +24 -24
- package/esm/models/updateedgeconfigop.d.ts.map +1 -1
- package/esm/models/updateedgeconfigop.js +22 -22
- package/esm/models/updateedgeconfigop.js.map +1 -1
- package/esm/models/updatenetworkop.d.ts +48 -0
- package/esm/models/updatenetworkop.d.ts.map +1 -0
- package/esm/models/updatenetworkop.js +50 -0
- package/esm/models/updatenetworkop.js.map +1 -0
- package/esm/models/updateprojectdatacacheop.d.ts +106 -106
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +167 -167
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updaterecordop.d.ts +19 -19
- package/esm/models/updaterecordop.d.ts.map +1 -1
- package/esm/models/updaterecordop.js +18 -18
- package/esm/models/updaterecordop.js.map +1 -1
- package/esm/models/userevent.d.ts +822 -781
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +1094 -1049
- package/esm/models/userevent.js.map +1 -1
- package/esm/sdk/aliases.d.ts +1 -1
- package/esm/sdk/aliases.d.ts.map +1 -1
- package/esm/sdk/connect.d.ts +41 -0
- package/esm/sdk/connect.d.ts.map +1 -1
- package/esm/sdk/connect.js +50 -0
- package/esm/sdk/connect.js.map +1 -1
- package/esm/sdk/domains.d.ts +0 -16
- package/esm/sdk/domains.d.ts.map +1 -1
- package/esm/sdk/domains.js +0 -20
- package/esm/sdk/domains.js.map +1 -1
- package/esm/sdk/edgecache.d.ts +2 -2
- package/esm/sdk/edgecache.js +2 -2
- package/esm/sdk/sdk.d.ts +4 -4
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +6 -6
- package/esm/sdk/sdk.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/accessgroups.test.ts +1 -3
- package/src/__tests__/aliases.test.ts +20 -1
- package/src/__tests__/checks.test.ts +1 -1
- package/src/__tests__/connect.test.ts +116 -0
- package/src/__tests__/deployments.test.ts +4 -4
- package/src/__tests__/dns.test.ts +3 -3
- package/src/__tests__/domains.test.ts +11 -41
- package/src/__tests__/drains.test.ts +6 -6
- package/src/__tests__/edgeconfig.test.ts +9 -9
- package/src/__tests__/integrations.test.ts +8 -1
- package/src/__tests__/logdrains.test.ts +5 -3
- package/src/__tests__/marketplace.test.ts +3 -2
- package/src/__tests__/projects.test.ts +11 -28
- package/src/__tests__/security.test.ts +33 -9
- package/src/funcs/aliasesGetAlias.ts +4 -5
- package/src/funcs/connectCreateNetwork.ts +170 -0
- package/src/funcs/connectDeleteNetwork.ts +176 -0
- package/src/funcs/{domainsCheckDomainStatus.ts → connectListNetworks.ts} +25 -22
- package/src/funcs/{domainsCheckDomainPrice.ts → connectReadNetwork.ts} +28 -24
- package/src/funcs/connectUpdateNetwork.ts +177 -0
- package/src/funcs/connectUpdateStaticIps.ts +2 -2
- package/src/funcs/edgeCacheDangerouslyDeleteBySrcImages.ts +1 -1
- package/src/funcs/edgeCacheDangerouslyDeleteByTags.ts +1 -1
- package/src/funcs/marketplaceExchangeSsoToken.ts +2 -2
- package/src/lib/config.ts +3 -3
- package/src/lib/sdks.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +18 -12
- package/src/mcp-server/tools/connectCreateNetwork.ts +37 -0
- package/src/mcp-server/tools/connectDeleteNetwork.ts +35 -0
- package/src/mcp-server/tools/connectListNetworks.ts +37 -0
- package/src/mcp-server/tools/connectReadNetwork.ts +37 -0
- package/src/mcp-server/tools/connectUpdateNetwork.ts +37 -0
- package/src/mcp-server/tools/edgeCacheDangerouslyDeleteBySrcImages.ts +1 -1
- package/src/mcp-server/tools/edgeCacheDangerouslyDeleteByTags.ts +1 -1
- package/src/models/addbypassipop.ts +1 -1
- package/src/models/canceldeploymentop.ts +152 -145
- package/src/models/createdeploymentop.ts +7 -0
- package/src/models/createdrainop.ts +137 -137
- package/src/models/createedgeconfigop.ts +64 -64
- package/src/models/createintegrationstoredirectop.ts +3104 -763
- package/src/models/createlogdrainop.ts +1 -1
- package/src/models/createnetworkop.ts +141 -0
- package/src/models/createortransferdomainop.ts +4 -4
- package/src/models/deletenetworkop.ts +69 -0
- package/src/models/editprojectenvop.ts +484 -640
- package/src/models/exchangessotokenop.ts +281 -43
- package/src/models/getaliasop.ts +15 -12
- package/src/models/getalllogdrainsop.ts +363 -363
- package/src/models/getbypassipop.ts +1 -1
- package/src/models/getconfigurationop.ts +102 -102
- package/src/models/getconfigurationproductsop.ts +1486 -1128
- package/src/models/getconfigurationsop.ts +4 -4
- package/src/models/getdeploymentop.ts +14 -0
- package/src/models/getdomainop.ts +7 -7
- package/src/models/getdomainsop.ts +13 -13
- package/src/models/getdrainop.ts +145 -145
- package/src/models/getdrainsop.ts +132 -132
- package/src/models/getedgeconfigbackupop.ts +24 -24
- package/src/models/getedgeconfigop.ts +62 -62
- package/src/models/getfirewallconfigop.ts +2 -2
- package/src/models/getintegrationlogdrainsop.ts +1 -1
- package/src/models/getintegrationresourceop.ts +5 -5
- package/src/models/getintegrationresourcesop.ts +5 -5
- package/src/models/getinvoiceop.ts +3 -3
- package/src/models/getprojectenvop.ts +183 -1558
- package/src/models/getredirectsop.ts +4 -4
- package/src/models/getteamaccessrequestop.ts +1 -1
- package/src/models/listnetworksop.ts +90 -0
- package/src/models/network.ts +308 -0
- package/src/models/putfirewallconfigop.ts +2 -2
- package/src/models/readnetworkop.ts +69 -0
- package/src/models/removeprojectenvop.ts +186 -198
- package/src/models/requestaccesstoteamop.ts +5 -5
- package/src/models/teamlimited.ts +1 -1
- package/src/models/updateaccessgroupop.ts +24 -17
- package/src/models/updateattackchallengemodeop.ts +124 -17
- package/src/models/updatecheckop.ts +24 -20
- package/src/models/updatedrainop.ts +147 -147
- package/src/models/updateedgeconfigop.ts +64 -64
- package/src/models/updatenetworkop.ts +130 -0
- package/src/models/updateprojectdatacacheop.ts +482 -355
- package/src/models/updaterecordop.ts +33 -33
- package/src/models/userevent.ts +2496 -2372
- package/src/sdk/aliases.ts +1 -1
- package/src/sdk/connect.ts +96 -0
- package/src/sdk/domains.ts +0 -44
- package/src/sdk/edgecache.ts +2 -2
- package/src/sdk/sdk.ts +10 -10
- package/vercel-spec.json +3577 -2954
- package/esm/funcs/domainsCheckDomainPrice.d.ts +0 -17
- package/esm/funcs/domainsCheckDomainPrice.d.ts.map +0 -1
- package/esm/funcs/domainsCheckDomainPrice.js.map +0 -1
- package/esm/funcs/domainsCheckDomainStatus.d.ts +0 -17
- package/esm/funcs/domainsCheckDomainStatus.d.ts.map +0 -1
- package/esm/funcs/domainsCheckDomainStatus.js.map +0 -1
- package/esm/mcp-server/tools/domainsCheckDomainPrice.d.ts +0 -7
- package/esm/mcp-server/tools/domainsCheckDomainPrice.d.ts.map +0 -1
- package/esm/mcp-server/tools/domainsCheckDomainPrice.js +0 -28
- package/esm/mcp-server/tools/domainsCheckDomainPrice.js.map +0 -1
- package/esm/mcp-server/tools/domainsCheckDomainStatus.d.ts +0 -7
- package/esm/mcp-server/tools/domainsCheckDomainStatus.d.ts.map +0 -1
- package/esm/mcp-server/tools/domainsCheckDomainStatus.js +0 -28
- package/esm/mcp-server/tools/domainsCheckDomainStatus.js.map +0 -1
- package/esm/models/checkdomainpriceop.d.ts +0 -77
- package/esm/models/checkdomainpriceop.d.ts.map +0 -1
- package/esm/models/checkdomainpriceop.js +0 -56
- package/esm/models/checkdomainpriceop.js.map +0 -1
- package/esm/models/checkdomainstatusop.d.ts +0 -46
- package/esm/models/checkdomainstatusop.d.ts.map +0 -1
- package/esm/models/checkdomainstatusop.js +0 -39
- package/esm/models/checkdomainstatusop.js.map +0 -1
- package/src/mcp-server/tools/domainsCheckDomainPrice.ts +0 -37
- package/src/mcp-server/tools/domainsCheckDomainStatus.ts +0 -37
- package/src/models/checkdomainpriceop.ts +0 -158
- package/src/models/checkdomainstatusop.ts +0 -117
|
@@ -293,10 +293,10 @@ export type CancelDeploymentLambdas = {
|
|
|
293
293
|
};
|
|
294
294
|
|
|
295
295
|
export const CancelDeploymentStatus = {
|
|
296
|
+
Queued: "QUEUED",
|
|
296
297
|
Building: "BUILDING",
|
|
297
298
|
Error: "ERROR",
|
|
298
299
|
Initializing: "INITIALIZING",
|
|
299
|
-
Queued: "QUEUED",
|
|
300
300
|
Ready: "READY",
|
|
301
301
|
Canceled: "CANCELED",
|
|
302
302
|
} as const;
|
|
@@ -308,8 +308,8 @@ export type CancelDeploymentStatus = ClosedEnum<typeof CancelDeploymentStatus>;
|
|
|
308
308
|
export type CancelDeploymentTeam = {
|
|
309
309
|
id: string;
|
|
310
310
|
name: string;
|
|
311
|
-
avatar?: string | undefined;
|
|
312
311
|
slug: string;
|
|
312
|
+
avatar?: string | undefined;
|
|
313
313
|
};
|
|
314
314
|
|
|
315
315
|
/**
|
|
@@ -451,19 +451,42 @@ export type CancelDeploymentOomReport = ClosedEnum<
|
|
|
451
451
|
typeof CancelDeploymentOomReport
|
|
452
452
|
>;
|
|
453
453
|
|
|
454
|
-
|
|
455
|
-
* An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null`
|
|
456
|
-
*/
|
|
457
|
-
export type CancelDeploymentAliasError = {
|
|
454
|
+
export type CancelDeploymentAliasWarning = {
|
|
458
455
|
code: string;
|
|
459
456
|
message: string;
|
|
457
|
+
link?: string | undefined;
|
|
458
|
+
action?: string | undefined;
|
|
460
459
|
};
|
|
461
460
|
|
|
462
|
-
|
|
461
|
+
/**
|
|
462
|
+
* The state of the deployment depending on the process of deploying, or if it is ready or in an error state
|
|
463
|
+
*/
|
|
464
|
+
export const CancelDeploymentReadyState = {
|
|
465
|
+
Queued: "QUEUED",
|
|
466
|
+
Building: "BUILDING",
|
|
467
|
+
Error: "ERROR",
|
|
468
|
+
Initializing: "INITIALIZING",
|
|
469
|
+
Ready: "READY",
|
|
470
|
+
Canceled: "CANCELED",
|
|
471
|
+
} as const;
|
|
472
|
+
/**
|
|
473
|
+
* The state of the deployment depending on the process of deploying, or if it is ready or in an error state
|
|
474
|
+
*/
|
|
475
|
+
export type CancelDeploymentReadyState = ClosedEnum<
|
|
476
|
+
typeof CancelDeploymentReadyState
|
|
477
|
+
>;
|
|
478
|
+
|
|
479
|
+
export const CancelDeploymentType = {
|
|
480
|
+
Lambdas: "LAMBDAS",
|
|
481
|
+
} as const;
|
|
482
|
+
export type CancelDeploymentType = ClosedEnum<typeof CancelDeploymentType>;
|
|
483
|
+
|
|
484
|
+
/**
|
|
485
|
+
* An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null`
|
|
486
|
+
*/
|
|
487
|
+
export type CancelDeploymentAliasError = {
|
|
463
488
|
code: string;
|
|
464
489
|
message: string;
|
|
465
|
-
link?: string | undefined;
|
|
466
|
-
action?: string | undefined;
|
|
467
490
|
};
|
|
468
491
|
|
|
469
492
|
export const CancelDeploymentChecksState = {
|
|
@@ -476,9 +499,9 @@ export type CancelDeploymentChecksState = ClosedEnum<
|
|
|
476
499
|
>;
|
|
477
500
|
|
|
478
501
|
export const CancelDeploymentChecksConclusion = {
|
|
479
|
-
Skipped: "skipped",
|
|
480
502
|
Succeeded: "succeeded",
|
|
481
503
|
Failed: "failed",
|
|
504
|
+
Skipped: "skipped",
|
|
482
505
|
Canceled: "canceled",
|
|
483
506
|
} as const;
|
|
484
507
|
export type CancelDeploymentChecksConclusion = ClosedEnum<
|
|
@@ -813,24 +836,6 @@ export type CancelDeploymentProject = {
|
|
|
813
836
|
framework?: string | null | undefined;
|
|
814
837
|
};
|
|
815
838
|
|
|
816
|
-
/**
|
|
817
|
-
* The state of the deployment depending on the process of deploying, or if it is ready or in an error state
|
|
818
|
-
*/
|
|
819
|
-
export const CancelDeploymentReadyState = {
|
|
820
|
-
Building: "BUILDING",
|
|
821
|
-
Error: "ERROR",
|
|
822
|
-
Initializing: "INITIALIZING",
|
|
823
|
-
Queued: "QUEUED",
|
|
824
|
-
Ready: "READY",
|
|
825
|
-
Canceled: "CANCELED",
|
|
826
|
-
} as const;
|
|
827
|
-
/**
|
|
828
|
-
* The state of the deployment depending on the process of deploying, or if it is ready or in an error state
|
|
829
|
-
*/
|
|
830
|
-
export type CancelDeploymentReadyState = ClosedEnum<
|
|
831
|
-
typeof CancelDeploymentReadyState
|
|
832
|
-
>;
|
|
833
|
-
|
|
834
839
|
/**
|
|
835
840
|
* Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic
|
|
836
841
|
*/
|
|
@@ -876,11 +881,6 @@ export const CancelDeploymentTarget = {
|
|
|
876
881
|
*/
|
|
877
882
|
export type CancelDeploymentTarget = ClosedEnum<typeof CancelDeploymentTarget>;
|
|
878
883
|
|
|
879
|
-
export const CancelDeploymentType = {
|
|
880
|
-
Lambdas: "LAMBDAS",
|
|
881
|
-
} as const;
|
|
882
|
-
export type CancelDeploymentType = ClosedEnum<typeof CancelDeploymentType>;
|
|
883
|
-
|
|
884
884
|
export type CancelDeploymentOidcTokenClaims = {
|
|
885
885
|
iss: string;
|
|
886
886
|
sub: string;
|
|
@@ -894,6 +894,13 @@ export type CancelDeploymentOidcTokenClaims = {
|
|
|
894
894
|
plan?: string | undefined;
|
|
895
895
|
};
|
|
896
896
|
|
|
897
|
+
export const CancelDeploymentPlan = {
|
|
898
|
+
Pro: "pro",
|
|
899
|
+
Enterprise: "enterprise",
|
|
900
|
+
Hobby: "hobby",
|
|
901
|
+
} as const;
|
|
902
|
+
export type CancelDeploymentPlan = ClosedEnum<typeof CancelDeploymentPlan>;
|
|
903
|
+
|
|
897
904
|
export type CancelDeploymentCrons = {
|
|
898
905
|
schedule: string;
|
|
899
906
|
path: string;
|
|
@@ -963,13 +970,6 @@ export type CancelDeploymentFunctions = {
|
|
|
963
970
|
supportsCancellation?: boolean | undefined;
|
|
964
971
|
};
|
|
965
972
|
|
|
966
|
-
export const CancelDeploymentPlan = {
|
|
967
|
-
Pro: "pro",
|
|
968
|
-
Enterprise: "enterprise",
|
|
969
|
-
Hobby: "hobby",
|
|
970
|
-
} as const;
|
|
971
|
-
export type CancelDeploymentPlan = ClosedEnum<typeof CancelDeploymentPlan>;
|
|
972
|
-
|
|
973
973
|
export type CancelDeploymentRoutes3 = {
|
|
974
974
|
src: string;
|
|
975
975
|
continue: boolean;
|
|
@@ -1502,16 +1502,29 @@ export type CancelDeploymentResponseBody = {
|
|
|
1502
1502
|
| CancelDeploymentCustomEnvironment2
|
|
1503
1503
|
| undefined;
|
|
1504
1504
|
oomReport?: CancelDeploymentOomReport | undefined;
|
|
1505
|
+
aliasWarning?: CancelDeploymentAliasWarning | null | undefined;
|
|
1505
1506
|
/**
|
|
1506
1507
|
* A string holding the unique ID of the deployment
|
|
1507
1508
|
*/
|
|
1508
1509
|
id: string;
|
|
1510
|
+
/**
|
|
1511
|
+
* A number containing the date when the deployment was created in milliseconds
|
|
1512
|
+
*/
|
|
1513
|
+
createdAt: number;
|
|
1514
|
+
/**
|
|
1515
|
+
* The state of the deployment depending on the process of deploying, or if it is ready or in an error state
|
|
1516
|
+
*/
|
|
1517
|
+
readyState: CancelDeploymentReadyState;
|
|
1518
|
+
/**
|
|
1519
|
+
* The name of the project associated with the deployment at the time that the deployment was created
|
|
1520
|
+
*/
|
|
1521
|
+
name: string;
|
|
1522
|
+
type: CancelDeploymentType;
|
|
1509
1523
|
/**
|
|
1510
1524
|
* An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null`
|
|
1511
1525
|
*/
|
|
1512
1526
|
aliasError?: CancelDeploymentAliasError | null | undefined;
|
|
1513
1527
|
aliasFinal?: string | null | undefined;
|
|
1514
|
-
aliasWarning?: CancelDeploymentAliasWarning | null | undefined;
|
|
1515
1528
|
/**
|
|
1516
1529
|
* applies to custom domains only, defaults to `true`
|
|
1517
1530
|
*/
|
|
@@ -1520,10 +1533,6 @@ export type CancelDeploymentResponseBody = {
|
|
|
1520
1533
|
buildErrorAt?: number | undefined;
|
|
1521
1534
|
checksState?: CancelDeploymentChecksState | undefined;
|
|
1522
1535
|
checksConclusion?: CancelDeploymentChecksConclusion | undefined;
|
|
1523
|
-
/**
|
|
1524
|
-
* A number containing the date when the deployment was created in milliseconds
|
|
1525
|
-
*/
|
|
1526
|
-
createdAt: number;
|
|
1527
1536
|
/**
|
|
1528
1537
|
* A number containing the date when the deployment was deleted at milliseconds
|
|
1529
1538
|
*/
|
|
@@ -1558,10 +1567,6 @@ export type CancelDeploymentResponseBody = {
|
|
|
1558
1567
|
| CancelDeploymentGitSource7
|
|
1559
1568
|
| GitSource8
|
|
1560
1569
|
| undefined;
|
|
1561
|
-
/**
|
|
1562
|
-
* The name of the project associated with the deployment at the time that the deployment was created
|
|
1563
|
-
*/
|
|
1564
|
-
name: string;
|
|
1565
1570
|
meta: { [k: string]: string };
|
|
1566
1571
|
originCacheRegion?: string | undefined;
|
|
1567
1572
|
/**
|
|
@@ -1573,10 +1578,6 @@ export type CancelDeploymentResponseBody = {
|
|
|
1573
1578
|
*/
|
|
1574
1579
|
project?: CancelDeploymentProject | undefined;
|
|
1575
1580
|
prebuilt?: boolean | undefined;
|
|
1576
|
-
/**
|
|
1577
|
-
* The state of the deployment depending on the process of deploying, or if it is ready or in an error state
|
|
1578
|
-
*/
|
|
1579
|
-
readyState: CancelDeploymentReadyState;
|
|
1580
1581
|
/**
|
|
1581
1582
|
* Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic
|
|
1582
1583
|
*/
|
|
@@ -1597,7 +1598,6 @@ export type CancelDeploymentResponseBody = {
|
|
|
1597
1598
|
* If defined, either `staging` if a staging alias in the format `<project>.<team>.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment.
|
|
1598
1599
|
*/
|
|
1599
1600
|
target?: CancelDeploymentTarget | null | undefined;
|
|
1600
|
-
type: CancelDeploymentType;
|
|
1601
1601
|
/**
|
|
1602
1602
|
* A number containing the date when the deployment was undeleted at milliseconds
|
|
1603
1603
|
*/
|
|
@@ -1606,11 +1606,17 @@ export type CancelDeploymentResponseBody = {
|
|
|
1606
1606
|
* A string with the unique URL of the deployment
|
|
1607
1607
|
*/
|
|
1608
1608
|
url: string;
|
|
1609
|
+
/**
|
|
1610
|
+
* Since January 2025 User-configured deployment ID for skew protection with pre-built deployments. This is set when users configure a custom deploymentId in their next.config.js file. This allows Next.js to use skew protection even when deployments are pre-built outside of Vercel's build system.
|
|
1611
|
+
*/
|
|
1612
|
+
userConfiguredDeploymentId?: string | undefined;
|
|
1609
1613
|
/**
|
|
1610
1614
|
* The platform version that was used to create the deployment.
|
|
1611
1615
|
*/
|
|
1612
1616
|
version: number;
|
|
1613
1617
|
oidcTokenClaims?: CancelDeploymentOidcTokenClaims | undefined;
|
|
1618
|
+
projectId: string;
|
|
1619
|
+
plan: CancelDeploymentPlan;
|
|
1614
1620
|
connectBuildsEnabled?: boolean | undefined;
|
|
1615
1621
|
connectConfigurationId?: string | undefined;
|
|
1616
1622
|
createdIn: string;
|
|
@@ -1622,8 +1628,6 @@ export type CancelDeploymentResponseBody = {
|
|
|
1622
1628
|
* Since November 2023 this field defines a Secure Compute network that will only be used to deploy passive lambdas to (as in passiveRegions)
|
|
1623
1629
|
*/
|
|
1624
1630
|
passiveConnectConfigurationId?: string | undefined;
|
|
1625
|
-
plan: CancelDeploymentPlan;
|
|
1626
|
-
projectId: string;
|
|
1627
1631
|
routes:
|
|
1628
1632
|
| Array<
|
|
1629
1633
|
| CancelDeploymentRoutes3
|
|
@@ -2448,15 +2452,15 @@ export const CancelDeploymentTeam$inboundSchema: z.ZodType<
|
|
|
2448
2452
|
> = z.object({
|
|
2449
2453
|
id: types.string(),
|
|
2450
2454
|
name: types.string(),
|
|
2451
|
-
avatar: types.optional(types.string()),
|
|
2452
2455
|
slug: types.string(),
|
|
2456
|
+
avatar: types.optional(types.string()),
|
|
2453
2457
|
});
|
|
2454
2458
|
/** @internal */
|
|
2455
2459
|
export type CancelDeploymentTeam$Outbound = {
|
|
2456
2460
|
id: string;
|
|
2457
2461
|
name: string;
|
|
2458
|
-
avatar?: string | undefined;
|
|
2459
2462
|
slug: string;
|
|
2463
|
+
avatar?: string | undefined;
|
|
2460
2464
|
};
|
|
2461
2465
|
|
|
2462
2466
|
/** @internal */
|
|
@@ -2467,8 +2471,8 @@ export const CancelDeploymentTeam$outboundSchema: z.ZodType<
|
|
|
2467
2471
|
> = z.object({
|
|
2468
2472
|
id: z.string(),
|
|
2469
2473
|
name: z.string(),
|
|
2470
|
-
avatar: z.string().optional(),
|
|
2471
2474
|
slug: z.string(),
|
|
2475
|
+
avatar: z.string().optional(),
|
|
2472
2476
|
});
|
|
2473
2477
|
|
|
2474
2478
|
export function cancelDeploymentTeamToJSON(
|
|
@@ -2880,94 +2884,112 @@ export const CancelDeploymentOomReport$outboundSchema: z.ZodNativeEnum<
|
|
|
2880
2884
|
> = CancelDeploymentOomReport$inboundSchema;
|
|
2881
2885
|
|
|
2882
2886
|
/** @internal */
|
|
2883
|
-
export const
|
|
2884
|
-
|
|
2887
|
+
export const CancelDeploymentAliasWarning$inboundSchema: z.ZodType<
|
|
2888
|
+
CancelDeploymentAliasWarning,
|
|
2885
2889
|
z.ZodTypeDef,
|
|
2886
2890
|
unknown
|
|
2887
2891
|
> = z.object({
|
|
2888
2892
|
code: types.string(),
|
|
2889
2893
|
message: types.string(),
|
|
2894
|
+
link: types.optional(types.string()),
|
|
2895
|
+
action: types.optional(types.string()),
|
|
2890
2896
|
});
|
|
2891
2897
|
/** @internal */
|
|
2892
|
-
export type
|
|
2898
|
+
export type CancelDeploymentAliasWarning$Outbound = {
|
|
2893
2899
|
code: string;
|
|
2894
2900
|
message: string;
|
|
2901
|
+
link?: string | undefined;
|
|
2902
|
+
action?: string | undefined;
|
|
2895
2903
|
};
|
|
2896
2904
|
|
|
2897
2905
|
/** @internal */
|
|
2898
|
-
export const
|
|
2899
|
-
|
|
2906
|
+
export const CancelDeploymentAliasWarning$outboundSchema: z.ZodType<
|
|
2907
|
+
CancelDeploymentAliasWarning$Outbound,
|
|
2900
2908
|
z.ZodTypeDef,
|
|
2901
|
-
|
|
2909
|
+
CancelDeploymentAliasWarning
|
|
2902
2910
|
> = z.object({
|
|
2903
2911
|
code: z.string(),
|
|
2904
2912
|
message: z.string(),
|
|
2913
|
+
link: z.string().optional(),
|
|
2914
|
+
action: z.string().optional(),
|
|
2905
2915
|
});
|
|
2906
2916
|
|
|
2907
|
-
export function
|
|
2908
|
-
|
|
2917
|
+
export function cancelDeploymentAliasWarningToJSON(
|
|
2918
|
+
cancelDeploymentAliasWarning: CancelDeploymentAliasWarning,
|
|
2909
2919
|
): string {
|
|
2910
2920
|
return JSON.stringify(
|
|
2911
|
-
|
|
2921
|
+
CancelDeploymentAliasWarning$outboundSchema.parse(
|
|
2922
|
+
cancelDeploymentAliasWarning,
|
|
2923
|
+
),
|
|
2912
2924
|
);
|
|
2913
2925
|
}
|
|
2914
|
-
export function
|
|
2926
|
+
export function cancelDeploymentAliasWarningFromJSON(
|
|
2915
2927
|
jsonString: string,
|
|
2916
|
-
): SafeParseResult<
|
|
2928
|
+
): SafeParseResult<CancelDeploymentAliasWarning, SDKValidationError> {
|
|
2917
2929
|
return safeParse(
|
|
2918
2930
|
jsonString,
|
|
2919
|
-
(x) =>
|
|
2920
|
-
`Failed to parse '
|
|
2931
|
+
(x) => CancelDeploymentAliasWarning$inboundSchema.parse(JSON.parse(x)),
|
|
2932
|
+
`Failed to parse 'CancelDeploymentAliasWarning' from JSON`,
|
|
2921
2933
|
);
|
|
2922
2934
|
}
|
|
2923
2935
|
|
|
2924
2936
|
/** @internal */
|
|
2925
|
-
export const
|
|
2926
|
-
|
|
2937
|
+
export const CancelDeploymentReadyState$inboundSchema: z.ZodNativeEnum<
|
|
2938
|
+
typeof CancelDeploymentReadyState
|
|
2939
|
+
> = z.nativeEnum(CancelDeploymentReadyState);
|
|
2940
|
+
/** @internal */
|
|
2941
|
+
export const CancelDeploymentReadyState$outboundSchema: z.ZodNativeEnum<
|
|
2942
|
+
typeof CancelDeploymentReadyState
|
|
2943
|
+
> = CancelDeploymentReadyState$inboundSchema;
|
|
2944
|
+
|
|
2945
|
+
/** @internal */
|
|
2946
|
+
export const CancelDeploymentType$inboundSchema: z.ZodNativeEnum<
|
|
2947
|
+
typeof CancelDeploymentType
|
|
2948
|
+
> = z.nativeEnum(CancelDeploymentType);
|
|
2949
|
+
/** @internal */
|
|
2950
|
+
export const CancelDeploymentType$outboundSchema: z.ZodNativeEnum<
|
|
2951
|
+
typeof CancelDeploymentType
|
|
2952
|
+
> = CancelDeploymentType$inboundSchema;
|
|
2953
|
+
|
|
2954
|
+
/** @internal */
|
|
2955
|
+
export const CancelDeploymentAliasError$inboundSchema: z.ZodType<
|
|
2956
|
+
CancelDeploymentAliasError,
|
|
2927
2957
|
z.ZodTypeDef,
|
|
2928
2958
|
unknown
|
|
2929
2959
|
> = z.object({
|
|
2930
2960
|
code: types.string(),
|
|
2931
2961
|
message: types.string(),
|
|
2932
|
-
link: types.optional(types.string()),
|
|
2933
|
-
action: types.optional(types.string()),
|
|
2934
2962
|
});
|
|
2935
2963
|
/** @internal */
|
|
2936
|
-
export type
|
|
2964
|
+
export type CancelDeploymentAliasError$Outbound = {
|
|
2937
2965
|
code: string;
|
|
2938
2966
|
message: string;
|
|
2939
|
-
link?: string | undefined;
|
|
2940
|
-
action?: string | undefined;
|
|
2941
2967
|
};
|
|
2942
2968
|
|
|
2943
2969
|
/** @internal */
|
|
2944
|
-
export const
|
|
2945
|
-
|
|
2970
|
+
export const CancelDeploymentAliasError$outboundSchema: z.ZodType<
|
|
2971
|
+
CancelDeploymentAliasError$Outbound,
|
|
2946
2972
|
z.ZodTypeDef,
|
|
2947
|
-
|
|
2973
|
+
CancelDeploymentAliasError
|
|
2948
2974
|
> = z.object({
|
|
2949
2975
|
code: z.string(),
|
|
2950
2976
|
message: z.string(),
|
|
2951
|
-
link: z.string().optional(),
|
|
2952
|
-
action: z.string().optional(),
|
|
2953
2977
|
});
|
|
2954
2978
|
|
|
2955
|
-
export function
|
|
2956
|
-
|
|
2979
|
+
export function cancelDeploymentAliasErrorToJSON(
|
|
2980
|
+
cancelDeploymentAliasError: CancelDeploymentAliasError,
|
|
2957
2981
|
): string {
|
|
2958
2982
|
return JSON.stringify(
|
|
2959
|
-
|
|
2960
|
-
cancelDeploymentAliasWarning,
|
|
2961
|
-
),
|
|
2983
|
+
CancelDeploymentAliasError$outboundSchema.parse(cancelDeploymentAliasError),
|
|
2962
2984
|
);
|
|
2963
2985
|
}
|
|
2964
|
-
export function
|
|
2986
|
+
export function cancelDeploymentAliasErrorFromJSON(
|
|
2965
2987
|
jsonString: string,
|
|
2966
|
-
): SafeParseResult<
|
|
2988
|
+
): SafeParseResult<CancelDeploymentAliasError, SDKValidationError> {
|
|
2967
2989
|
return safeParse(
|
|
2968
2990
|
jsonString,
|
|
2969
|
-
(x) =>
|
|
2970
|
-
`Failed to parse '
|
|
2991
|
+
(x) => CancelDeploymentAliasError$inboundSchema.parse(JSON.parse(x)),
|
|
2992
|
+
`Failed to parse 'CancelDeploymentAliasError' from JSON`,
|
|
2971
2993
|
);
|
|
2972
2994
|
}
|
|
2973
2995
|
|
|
@@ -4261,15 +4283,6 @@ export function cancelDeploymentProjectFromJSON(
|
|
|
4261
4283
|
);
|
|
4262
4284
|
}
|
|
4263
4285
|
|
|
4264
|
-
/** @internal */
|
|
4265
|
-
export const CancelDeploymentReadyState$inboundSchema: z.ZodNativeEnum<
|
|
4266
|
-
typeof CancelDeploymentReadyState
|
|
4267
|
-
> = z.nativeEnum(CancelDeploymentReadyState);
|
|
4268
|
-
/** @internal */
|
|
4269
|
-
export const CancelDeploymentReadyState$outboundSchema: z.ZodNativeEnum<
|
|
4270
|
-
typeof CancelDeploymentReadyState
|
|
4271
|
-
> = CancelDeploymentReadyState$inboundSchema;
|
|
4272
|
-
|
|
4273
4286
|
/** @internal */
|
|
4274
4287
|
export const CancelDeploymentReadySubstate$inboundSchema: z.ZodNativeEnum<
|
|
4275
4288
|
typeof CancelDeploymentReadySubstate
|
|
@@ -4297,15 +4310,6 @@ export const CancelDeploymentTarget$outboundSchema: z.ZodNativeEnum<
|
|
|
4297
4310
|
typeof CancelDeploymentTarget
|
|
4298
4311
|
> = CancelDeploymentTarget$inboundSchema;
|
|
4299
4312
|
|
|
4300
|
-
/** @internal */
|
|
4301
|
-
export const CancelDeploymentType$inboundSchema: z.ZodNativeEnum<
|
|
4302
|
-
typeof CancelDeploymentType
|
|
4303
|
-
> = z.nativeEnum(CancelDeploymentType);
|
|
4304
|
-
/** @internal */
|
|
4305
|
-
export const CancelDeploymentType$outboundSchema: z.ZodNativeEnum<
|
|
4306
|
-
typeof CancelDeploymentType
|
|
4307
|
-
> = CancelDeploymentType$inboundSchema;
|
|
4308
|
-
|
|
4309
4313
|
/** @internal */
|
|
4310
4314
|
export const CancelDeploymentOidcTokenClaims$inboundSchema: z.ZodType<
|
|
4311
4315
|
CancelDeploymentOidcTokenClaims,
|
|
@@ -4384,6 +4388,15 @@ export function cancelDeploymentOidcTokenClaimsFromJSON(
|
|
|
4384
4388
|
);
|
|
4385
4389
|
}
|
|
4386
4390
|
|
|
4391
|
+
/** @internal */
|
|
4392
|
+
export const CancelDeploymentPlan$inboundSchema: z.ZodNativeEnum<
|
|
4393
|
+
typeof CancelDeploymentPlan
|
|
4394
|
+
> = z.nativeEnum(CancelDeploymentPlan);
|
|
4395
|
+
/** @internal */
|
|
4396
|
+
export const CancelDeploymentPlan$outboundSchema: z.ZodNativeEnum<
|
|
4397
|
+
typeof CancelDeploymentPlan
|
|
4398
|
+
> = CancelDeploymentPlan$inboundSchema;
|
|
4399
|
+
|
|
4387
4400
|
/** @internal */
|
|
4388
4401
|
export const CancelDeploymentCrons$inboundSchema: z.ZodType<
|
|
4389
4402
|
CancelDeploymentCrons,
|
|
@@ -4567,15 +4580,6 @@ export function cancelDeploymentFunctionsFromJSON(
|
|
|
4567
4580
|
);
|
|
4568
4581
|
}
|
|
4569
4582
|
|
|
4570
|
-
/** @internal */
|
|
4571
|
-
export const CancelDeploymentPlan$inboundSchema: z.ZodNativeEnum<
|
|
4572
|
-
typeof CancelDeploymentPlan
|
|
4573
|
-
> = z.nativeEnum(CancelDeploymentPlan);
|
|
4574
|
-
/** @internal */
|
|
4575
|
-
export const CancelDeploymentPlan$outboundSchema: z.ZodNativeEnum<
|
|
4576
|
-
typeof CancelDeploymentPlan
|
|
4577
|
-
> = CancelDeploymentPlan$inboundSchema;
|
|
4578
|
-
|
|
4579
4583
|
/** @internal */
|
|
4580
4584
|
export const CancelDeploymentRoutes3$inboundSchema: z.ZodType<
|
|
4581
4585
|
CancelDeploymentRoutes3,
|
|
@@ -7081,13 +7085,17 @@ export const CancelDeploymentResponseBody$inboundSchema: z.ZodType<
|
|
|
7081
7085
|
]),
|
|
7082
7086
|
),
|
|
7083
7087
|
oomReport: types.optional(CancelDeploymentOomReport$inboundSchema),
|
|
7088
|
+
aliasWarning: z.nullable(
|
|
7089
|
+
z.lazy(() => CancelDeploymentAliasWarning$inboundSchema),
|
|
7090
|
+
).optional(),
|
|
7084
7091
|
id: types.string(),
|
|
7092
|
+
createdAt: types.number(),
|
|
7093
|
+
readyState: CancelDeploymentReadyState$inboundSchema,
|
|
7094
|
+
name: types.string(),
|
|
7095
|
+
type: CancelDeploymentType$inboundSchema,
|
|
7085
7096
|
aliasError: z.nullable(z.lazy(() => CancelDeploymentAliasError$inboundSchema))
|
|
7086
7097
|
.optional(),
|
|
7087
7098
|
aliasFinal: z.nullable(types.string()).optional(),
|
|
7088
|
-
aliasWarning: z.nullable(
|
|
7089
|
-
z.lazy(() => CancelDeploymentAliasWarning$inboundSchema),
|
|
7090
|
-
).optional(),
|
|
7091
7099
|
autoAssignCustomDomains: types.optional(types.boolean()),
|
|
7092
7100
|
automaticAliases: types.optional(z.array(types.string())),
|
|
7093
7101
|
buildErrorAt: types.optional(types.number()),
|
|
@@ -7095,7 +7103,6 @@ export const CancelDeploymentResponseBody$inboundSchema: z.ZodType<
|
|
|
7095
7103
|
checksConclusion: types.optional(
|
|
7096
7104
|
CancelDeploymentChecksConclusion$inboundSchema,
|
|
7097
7105
|
),
|
|
7098
|
-
createdAt: types.number(),
|
|
7099
7106
|
deletedAt: z.nullable(types.number()).optional(),
|
|
7100
7107
|
defaultRoute: types.optional(types.string()),
|
|
7101
7108
|
canceledAt: types.optional(types.number()),
|
|
@@ -7123,25 +7130,25 @@ export const CancelDeploymentResponseBody$inboundSchema: z.ZodType<
|
|
|
7123
7130
|
z.lazy(() => GitSource8$inboundSchema),
|
|
7124
7131
|
]),
|
|
7125
7132
|
),
|
|
7126
|
-
name: types.string(),
|
|
7127
7133
|
meta: z.record(types.string()),
|
|
7128
7134
|
originCacheRegion: types.optional(types.string()),
|
|
7129
7135
|
nodeVersion: types.optional(CancelDeploymentNodeVersion$inboundSchema),
|
|
7130
7136
|
project: types.optional(z.lazy(() => CancelDeploymentProject$inboundSchema)),
|
|
7131
7137
|
prebuilt: types.optional(types.boolean()),
|
|
7132
|
-
readyState: CancelDeploymentReadyState$inboundSchema,
|
|
7133
7138
|
readySubstate: types.optional(CancelDeploymentReadySubstate$inboundSchema),
|
|
7134
7139
|
regions: z.array(types.string()),
|
|
7135
7140
|
softDeletedByRetention: types.optional(types.boolean()),
|
|
7136
7141
|
source: types.optional(CancelDeploymentSource$inboundSchema),
|
|
7137
7142
|
target: z.nullable(CancelDeploymentTarget$inboundSchema).optional(),
|
|
7138
|
-
type: CancelDeploymentType$inboundSchema,
|
|
7139
7143
|
undeletedAt: types.optional(types.number()),
|
|
7140
7144
|
url: types.string(),
|
|
7145
|
+
userConfiguredDeploymentId: types.optional(types.string()),
|
|
7141
7146
|
version: types.number(),
|
|
7142
7147
|
oidcTokenClaims: types.optional(
|
|
7143
7148
|
z.lazy(() => CancelDeploymentOidcTokenClaims$inboundSchema),
|
|
7144
7149
|
),
|
|
7150
|
+
projectId: types.string(),
|
|
7151
|
+
plan: CancelDeploymentPlan$inboundSchema,
|
|
7145
7152
|
connectBuildsEnabled: types.optional(types.boolean()),
|
|
7146
7153
|
connectConfigurationId: types.optional(types.string()),
|
|
7147
7154
|
createdIn: types.string(),
|
|
@@ -7154,8 +7161,6 @@ export const CancelDeploymentResponseBody$inboundSchema: z.ZodType<
|
|
|
7154
7161
|
monorepoManager: z.nullable(types.string()).optional(),
|
|
7155
7162
|
ownerId: types.string(),
|
|
7156
7163
|
passiveConnectConfigurationId: types.optional(types.string()),
|
|
7157
|
-
plan: CancelDeploymentPlan$inboundSchema,
|
|
7158
|
-
projectId: types.string(),
|
|
7159
7164
|
routes: types.nullable(
|
|
7160
7165
|
z.array(smartUnion([
|
|
7161
7166
|
z.lazy(() => CancelDeploymentRoutes3$inboundSchema),
|
|
@@ -7224,16 +7229,19 @@ export type CancelDeploymentResponseBody$Outbound = {
|
|
|
7224
7229
|
| CancelDeploymentCustomEnvironment2$Outbound
|
|
7225
7230
|
| undefined;
|
|
7226
7231
|
oomReport?: string | undefined;
|
|
7232
|
+
aliasWarning?: CancelDeploymentAliasWarning$Outbound | null | undefined;
|
|
7227
7233
|
id: string;
|
|
7234
|
+
createdAt: number;
|
|
7235
|
+
readyState: string;
|
|
7236
|
+
name: string;
|
|
7237
|
+
type: string;
|
|
7228
7238
|
aliasError?: CancelDeploymentAliasError$Outbound | null | undefined;
|
|
7229
7239
|
aliasFinal?: string | null | undefined;
|
|
7230
|
-
aliasWarning?: CancelDeploymentAliasWarning$Outbound | null | undefined;
|
|
7231
7240
|
autoAssignCustomDomains?: boolean | undefined;
|
|
7232
7241
|
automaticAliases?: Array<string> | undefined;
|
|
7233
7242
|
buildErrorAt?: number | undefined;
|
|
7234
7243
|
checksState?: string | undefined;
|
|
7235
7244
|
checksConclusion?: string | undefined;
|
|
7236
|
-
createdAt: number;
|
|
7237
7245
|
deletedAt?: number | null | undefined;
|
|
7238
7246
|
defaultRoute?: string | undefined;
|
|
7239
7247
|
canceledAt?: number | undefined;
|
|
@@ -7259,23 +7267,23 @@ export type CancelDeploymentResponseBody$Outbound = {
|
|
|
7259
7267
|
| CancelDeploymentGitSource7$Outbound
|
|
7260
7268
|
| GitSource8$Outbound
|
|
7261
7269
|
| undefined;
|
|
7262
|
-
name: string;
|
|
7263
7270
|
meta: { [k: string]: string };
|
|
7264
7271
|
originCacheRegion?: string | undefined;
|
|
7265
7272
|
nodeVersion?: string | undefined;
|
|
7266
7273
|
project?: CancelDeploymentProject$Outbound | undefined;
|
|
7267
7274
|
prebuilt?: boolean | undefined;
|
|
7268
|
-
readyState: string;
|
|
7269
7275
|
readySubstate?: string | undefined;
|
|
7270
7276
|
regions: Array<string>;
|
|
7271
7277
|
softDeletedByRetention?: boolean | undefined;
|
|
7272
7278
|
source?: string | undefined;
|
|
7273
7279
|
target?: string | null | undefined;
|
|
7274
|
-
type: string;
|
|
7275
7280
|
undeletedAt?: number | undefined;
|
|
7276
7281
|
url: string;
|
|
7282
|
+
userConfiguredDeploymentId?: string | undefined;
|
|
7277
7283
|
version: number;
|
|
7278
7284
|
oidcTokenClaims?: CancelDeploymentOidcTokenClaims$Outbound | undefined;
|
|
7285
|
+
projectId: string;
|
|
7286
|
+
plan: string;
|
|
7279
7287
|
connectBuildsEnabled?: boolean | undefined;
|
|
7280
7288
|
connectConfigurationId?: string | undefined;
|
|
7281
7289
|
createdIn: string;
|
|
@@ -7287,8 +7295,6 @@ export type CancelDeploymentResponseBody$Outbound = {
|
|
|
7287
7295
|
monorepoManager?: string | null | undefined;
|
|
7288
7296
|
ownerId: string;
|
|
7289
7297
|
passiveConnectConfigurationId?: string | undefined;
|
|
7290
|
-
plan: string;
|
|
7291
|
-
projectId: string;
|
|
7292
7298
|
routes:
|
|
7293
7299
|
| Array<
|
|
7294
7300
|
| CancelDeploymentRoutes3$Outbound
|
|
@@ -7358,20 +7364,23 @@ export const CancelDeploymentResponseBody$outboundSchema: z.ZodType<
|
|
|
7358
7364
|
z.lazy(() => CancelDeploymentCustomEnvironment2$outboundSchema),
|
|
7359
7365
|
]).optional(),
|
|
7360
7366
|
oomReport: CancelDeploymentOomReport$outboundSchema.optional(),
|
|
7367
|
+
aliasWarning: z.nullable(
|
|
7368
|
+
z.lazy(() => CancelDeploymentAliasWarning$outboundSchema),
|
|
7369
|
+
).optional(),
|
|
7361
7370
|
id: z.string(),
|
|
7371
|
+
createdAt: z.number(),
|
|
7372
|
+
readyState: CancelDeploymentReadyState$outboundSchema,
|
|
7373
|
+
name: z.string(),
|
|
7374
|
+
type: CancelDeploymentType$outboundSchema,
|
|
7362
7375
|
aliasError: z.nullable(
|
|
7363
7376
|
z.lazy(() => CancelDeploymentAliasError$outboundSchema),
|
|
7364
7377
|
).optional(),
|
|
7365
7378
|
aliasFinal: z.nullable(z.string()).optional(),
|
|
7366
|
-
aliasWarning: z.nullable(
|
|
7367
|
-
z.lazy(() => CancelDeploymentAliasWarning$outboundSchema),
|
|
7368
|
-
).optional(),
|
|
7369
7379
|
autoAssignCustomDomains: z.boolean().optional(),
|
|
7370
7380
|
automaticAliases: z.array(z.string()).optional(),
|
|
7371
7381
|
buildErrorAt: z.number().optional(),
|
|
7372
7382
|
checksState: CancelDeploymentChecksState$outboundSchema.optional(),
|
|
7373
7383
|
checksConclusion: CancelDeploymentChecksConclusion$outboundSchema.optional(),
|
|
7374
|
-
createdAt: z.number(),
|
|
7375
7384
|
deletedAt: z.nullable(z.number()).optional(),
|
|
7376
7385
|
defaultRoute: z.string().optional(),
|
|
7377
7386
|
canceledAt: z.number().optional(),
|
|
@@ -7397,24 +7406,24 @@ export const CancelDeploymentResponseBody$outboundSchema: z.ZodType<
|
|
|
7397
7406
|
z.lazy(() => CancelDeploymentGitSource7$outboundSchema),
|
|
7398
7407
|
z.lazy(() => GitSource8$outboundSchema),
|
|
7399
7408
|
]).optional(),
|
|
7400
|
-
name: z.string(),
|
|
7401
7409
|
meta: z.record(z.string()),
|
|
7402
7410
|
originCacheRegion: z.string().optional(),
|
|
7403
7411
|
nodeVersion: CancelDeploymentNodeVersion$outboundSchema.optional(),
|
|
7404
7412
|
project: z.lazy(() => CancelDeploymentProject$outboundSchema).optional(),
|
|
7405
7413
|
prebuilt: z.boolean().optional(),
|
|
7406
|
-
readyState: CancelDeploymentReadyState$outboundSchema,
|
|
7407
7414
|
readySubstate: CancelDeploymentReadySubstate$outboundSchema.optional(),
|
|
7408
7415
|
regions: z.array(z.string()),
|
|
7409
7416
|
softDeletedByRetention: z.boolean().optional(),
|
|
7410
7417
|
source: CancelDeploymentSource$outboundSchema.optional(),
|
|
7411
7418
|
target: z.nullable(CancelDeploymentTarget$outboundSchema).optional(),
|
|
7412
|
-
type: CancelDeploymentType$outboundSchema,
|
|
7413
7419
|
undeletedAt: z.number().optional(),
|
|
7414
7420
|
url: z.string(),
|
|
7421
|
+
userConfiguredDeploymentId: z.string().optional(),
|
|
7415
7422
|
version: z.number(),
|
|
7416
7423
|
oidcTokenClaims: z.lazy(() => CancelDeploymentOidcTokenClaims$outboundSchema)
|
|
7417
7424
|
.optional(),
|
|
7425
|
+
projectId: z.string(),
|
|
7426
|
+
plan: CancelDeploymentPlan$outboundSchema,
|
|
7418
7427
|
connectBuildsEnabled: z.boolean().optional(),
|
|
7419
7428
|
connectConfigurationId: z.string().optional(),
|
|
7420
7429
|
createdIn: z.string(),
|
|
@@ -7425,8 +7434,6 @@ export const CancelDeploymentResponseBody$outboundSchema: z.ZodType<
|
|
|
7425
7434
|
monorepoManager: z.nullable(z.string()).optional(),
|
|
7426
7435
|
ownerId: z.string(),
|
|
7427
7436
|
passiveConnectConfigurationId: z.string().optional(),
|
|
7428
|
-
plan: CancelDeploymentPlan$outboundSchema,
|
|
7429
|
-
projectId: z.string(),
|
|
7430
7437
|
routes: z.nullable(
|
|
7431
7438
|
z.array(smartUnion([
|
|
7432
7439
|
z.lazy(() => CancelDeploymentRoutes3$outboundSchema),
|
|
@@ -2007,6 +2007,10 @@ export type CreateDeploymentResponseBody = {
|
|
|
2007
2007
|
* A string with the unique URL of the deployment
|
|
2008
2008
|
*/
|
|
2009
2009
|
url: string;
|
|
2010
|
+
/**
|
|
2011
|
+
* Since January 2025 User-configured deployment ID for skew protection with pre-built deployments. This is set when users configure a custom deploymentId in their next.config.js file. This allows Next.js to use skew protection even when deployments are pre-built outside of Vercel's build system.
|
|
2012
|
+
*/
|
|
2013
|
+
userConfiguredDeploymentId?: string | undefined;
|
|
2010
2014
|
/**
|
|
2011
2015
|
* The platform version that was used to create the deployment.
|
|
2012
2016
|
*/
|
|
@@ -8148,6 +8152,7 @@ export const CreateDeploymentResponseBody$inboundSchema: z.ZodType<
|
|
|
8148
8152
|
target: z.nullable(CreateDeploymentTarget$inboundSchema).optional(),
|
|
8149
8153
|
undeletedAt: types.optional(types.number()),
|
|
8150
8154
|
url: types.string(),
|
|
8155
|
+
userConfiguredDeploymentId: types.optional(types.string()),
|
|
8151
8156
|
version: types.number(),
|
|
8152
8157
|
oidcTokenClaims: types.optional(z.lazy(() => OidcTokenClaims$inboundSchema)),
|
|
8153
8158
|
projectId: types.string(),
|
|
@@ -8281,6 +8286,7 @@ export type CreateDeploymentResponseBody$Outbound = {
|
|
|
8281
8286
|
target?: string | null | undefined;
|
|
8282
8287
|
undeletedAt?: number | undefined;
|
|
8283
8288
|
url: string;
|
|
8289
|
+
userConfiguredDeploymentId?: string | undefined;
|
|
8284
8290
|
version: number;
|
|
8285
8291
|
oidcTokenClaims?: OidcTokenClaims$Outbound | undefined;
|
|
8286
8292
|
projectId: string;
|
|
@@ -8401,6 +8407,7 @@ export const CreateDeploymentResponseBody$outboundSchema: z.ZodType<
|
|
|
8401
8407
|
target: z.nullable(CreateDeploymentTarget$outboundSchema).optional(),
|
|
8402
8408
|
undeletedAt: z.number().optional(),
|
|
8403
8409
|
url: z.string(),
|
|
8410
|
+
userConfiguredDeploymentId: z.string().optional(),
|
|
8404
8411
|
version: z.number(),
|
|
8405
8412
|
oidcTokenClaims: z.lazy(() => OidcTokenClaims$outboundSchema).optional(),
|
|
8406
8413
|
projectId: z.string(),
|