@vercel/sdk 1.18.1 → 1.18.3
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 +75 -80
- package/bin/mcp-server.js +4746 -2929
- package/bin/mcp-server.js.map +63 -45
- package/esm/__tests__/domains.test.js +12 -65
- package/esm/__tests__/domains.test.js.map +1 -1
- package/esm/__tests__/edgeconfig.test.js +6 -6
- package/esm/__tests__/edgeconfig.test.js.map +1 -1
- package/esm/__tests__/integrations.test.js +1 -1
- package/esm/__tests__/logdrains.test.js +6 -2
- package/esm/__tests__/logdrains.test.js.map +1 -1
- package/esm/__tests__/security.test.js +20 -35
- package/esm/__tests__/security.test.js.map +1 -1
- package/esm/__tests__/teams.test.js +16 -0
- package/esm/__tests__/teams.test.js.map +1 -1
- package/esm/__tests__/vercel.test.js +150 -1
- package/esm/__tests__/vercel.test.js.map +1 -1
- package/esm/funcs/deleteV1BulkRedirects.d.ts +14 -0
- package/esm/funcs/deleteV1BulkRedirects.d.ts.map +1 -0
- package/esm/funcs/deleteV1BulkRedirects.js +74 -0
- package/esm/funcs/deleteV1BulkRedirects.js.map +1 -0
- package/esm/funcs/domainsCreateOrTransferDomain.js +2 -2
- package/esm/funcs/domainsCreateOrTransferDomain.js.map +1 -1
- package/esm/funcs/getV1BulkRedirects.d.ts +14 -0
- package/esm/funcs/getV1BulkRedirects.d.ts.map +1 -0
- package/esm/funcs/getV1BulkRedirects.js +80 -0
- package/esm/funcs/getV1BulkRedirects.js.map +1 -0
- package/esm/funcs/getV1BulkRedirectsVersions.d.ts +14 -0
- package/esm/funcs/getV1BulkRedirectsVersions.d.ts.map +1 -0
- package/esm/funcs/getV1BulkRedirectsVersions.js +73 -0
- package/esm/funcs/getV1BulkRedirectsVersions.js.map +1 -0
- package/esm/funcs/integrationsGetBillingPlans.js +1 -0
- package/esm/funcs/integrationsGetBillingPlans.js.map +1 -1
- package/esm/funcs/patchV1BulkRedirects.d.ts +14 -0
- package/esm/funcs/patchV1BulkRedirects.d.ts.map +1 -0
- package/esm/funcs/patchV1BulkRedirects.js +74 -0
- package/esm/funcs/patchV1BulkRedirects.js.map +1 -0
- package/esm/funcs/postV1BulkRedirectsRestore.d.ts +14 -0
- package/esm/funcs/postV1BulkRedirectsRestore.d.ts.map +1 -0
- package/esm/funcs/postV1BulkRedirectsRestore.js +74 -0
- package/esm/funcs/postV1BulkRedirectsRestore.js.map +1 -0
- package/esm/funcs/postV1BulkRedirectsVersions.d.ts +14 -0
- package/esm/funcs/postV1BulkRedirectsVersions.d.ts.map +1 -0
- package/esm/funcs/postV1BulkRedirectsVersions.js +74 -0
- package/esm/funcs/postV1BulkRedirectsVersions.js.map +1 -0
- package/esm/funcs/putV1BulkRedirects.d.ts +11 -0
- package/esm/funcs/putV1BulkRedirects.d.ts.map +1 -0
- package/esm/funcs/putV1BulkRedirects.js +69 -0
- package/esm/funcs/putV1BulkRedirects.js.map +1 -0
- package/esm/funcs/teamsPostTeamDsyncRoles.d.ts +17 -0
- package/esm/funcs/teamsPostTeamDsyncRoles.d.ts.map +1 -0
- package/esm/funcs/{domainsBuyDomain.js → teamsPostTeamDsyncRoles.js} +17 -12
- package/esm/funcs/teamsPostTeamDsyncRoles.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 +17 -5
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/deleteV1BulkRedirects.d.ts +7 -0
- package/esm/mcp-server/tools/deleteV1BulkRedirects.d.ts.map +1 -0
- package/esm/mcp-server/tools/deleteV1BulkRedirects.js +26 -0
- package/esm/mcp-server/tools/deleteV1BulkRedirects.js.map +1 -0
- package/esm/mcp-server/tools/getV1BulkRedirects.d.ts +7 -0
- package/esm/mcp-server/tools/getV1BulkRedirects.d.ts.map +1 -0
- package/esm/mcp-server/tools/getV1BulkRedirects.js +26 -0
- package/esm/mcp-server/tools/getV1BulkRedirects.js.map +1 -0
- package/esm/mcp-server/tools/getV1BulkRedirectsVersions.d.ts +7 -0
- package/esm/mcp-server/tools/getV1BulkRedirectsVersions.d.ts.map +1 -0
- package/esm/mcp-server/tools/getV1BulkRedirectsVersions.js +26 -0
- package/esm/mcp-server/tools/getV1BulkRedirectsVersions.js.map +1 -0
- package/esm/mcp-server/tools/patchV1BulkRedirects.d.ts +7 -0
- package/esm/mcp-server/tools/patchV1BulkRedirects.d.ts.map +1 -0
- package/esm/mcp-server/tools/patchV1BulkRedirects.js +26 -0
- package/esm/mcp-server/tools/patchV1BulkRedirects.js.map +1 -0
- package/esm/mcp-server/tools/postV1BulkRedirectsRestore.d.ts +7 -0
- package/esm/mcp-server/tools/postV1BulkRedirectsRestore.d.ts.map +1 -0
- package/esm/mcp-server/tools/postV1BulkRedirectsRestore.js +26 -0
- package/esm/mcp-server/tools/postV1BulkRedirectsRestore.js.map +1 -0
- package/esm/mcp-server/tools/postV1BulkRedirectsVersions.d.ts +7 -0
- package/esm/mcp-server/tools/postV1BulkRedirectsVersions.d.ts.map +1 -0
- package/esm/mcp-server/tools/postV1BulkRedirectsVersions.js +26 -0
- package/esm/mcp-server/tools/postV1BulkRedirectsVersions.js.map +1 -0
- package/esm/mcp-server/tools/putV1BulkRedirects.d.ts +7 -0
- package/esm/mcp-server/tools/putV1BulkRedirects.d.ts.map +1 -0
- package/esm/mcp-server/tools/putV1BulkRedirects.js +26 -0
- package/esm/mcp-server/tools/putV1BulkRedirects.js.map +1 -0
- package/esm/mcp-server/tools/teamsPostTeamDsyncRoles.d.ts +7 -0
- package/esm/mcp-server/tools/teamsPostTeamDsyncRoles.d.ts.map +1 -0
- package/esm/mcp-server/tools/teamsPostTeamDsyncRoles.js +28 -0
- package/esm/mcp-server/tools/teamsPostTeamDsyncRoles.js.map +1 -0
- package/esm/models/artifactqueryop.d.ts +8 -8
- package/esm/models/artifactqueryop.d.ts.map +1 -1
- package/esm/models/artifactqueryop.js +8 -8
- package/esm/models/artifactqueryop.js.map +1 -1
- package/esm/models/authuser.d.ts +5 -0
- package/esm/models/authuser.d.ts.map +1 -1
- package/esm/models/authuser.js +2 -0
- package/esm/models/authuser.js.map +1 -1
- package/esm/models/canceldeploymentop.d.ts +48 -2
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +44 -2
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +48 -2
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +48 -2
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createedgeconfigop.d.ts +5 -0
- package/esm/models/createedgeconfigop.d.ts.map +1 -1
- package/esm/models/createedgeconfigop.js +2 -0
- package/esm/models/createedgeconfigop.js.map +1 -1
- package/esm/models/createintegrationstoredirectop.d.ts +222 -152
- package/esm/models/createintegrationstoredirectop.d.ts.map +1 -1
- package/esm/models/createintegrationstoredirectop.js +298 -218
- package/esm/models/createintegrationstoredirectop.js.map +1 -1
- package/esm/models/createortransferdomainop.d.ts +4 -40
- package/esm/models/createortransferdomainop.d.ts.map +1 -1
- package/esm/models/createortransferdomainop.js +0 -24
- package/esm/models/createortransferdomainop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +138 -6
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +126 -6
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/createwebhookop.d.ts +4 -2
- package/esm/models/createwebhookop.d.ts.map +1 -1
- package/esm/models/createwebhookop.js +4 -2
- package/esm/models/createwebhookop.js.map +1 -1
- package/esm/models/deletev1bulkredirectsop.d.ts +102 -0
- package/esm/models/deletev1bulkredirectsop.d.ts.map +1 -0
- package/esm/models/deletev1bulkredirectsop.js +95 -0
- package/esm/models/deletev1bulkredirectsop.js.map +1 -0
- package/esm/models/getbillingplansop.d.ts +2 -0
- package/esm/models/getbillingplansop.d.ts.map +1 -1
- package/esm/models/getbillingplansop.js +2 -0
- package/esm/models/getbillingplansop.js.map +1 -1
- package/esm/models/getconfigurationop.d.ts +61 -1
- package/esm/models/getconfigurationop.d.ts.map +1 -1
- package/esm/models/getconfigurationop.js +44 -1
- package/esm/models/getconfigurationop.js.map +1 -1
- package/esm/models/getconfigurationproductsop.d.ts +200 -200
- package/esm/models/getconfigurationproductsop.js +290 -290
- package/esm/models/getconfigurationsop.d.ts +61 -0
- package/esm/models/getconfigurationsop.d.ts.map +1 -1
- package/esm/models/getconfigurationsop.js +44 -0
- package/esm/models/getconfigurationsop.js.map +1 -1
- package/esm/models/getdeploymenteventsop.d.ts +6 -6
- package/esm/models/getdeploymenteventsop.d.ts.map +1 -1
- package/esm/models/getdeploymenteventsop.js +6 -6
- package/esm/models/getdeploymenteventsop.js.map +1 -1
- package/esm/models/getdeploymentop.d.ts +94 -4
- package/esm/models/getdeploymentop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.js +86 -4
- package/esm/models/getdeploymentop.js.map +1 -1
- package/esm/models/getedgeconfigop.d.ts +5 -0
- package/esm/models/getedgeconfigop.d.ts.map +1 -1
- package/esm/models/getedgeconfigop.js +2 -0
- package/esm/models/getedgeconfigop.js.map +1 -1
- package/esm/models/getfirewallconfigop.d.ts +336 -103
- package/esm/models/getfirewallconfigop.d.ts.map +1 -1
- package/esm/models/getfirewallconfigop.js +358 -98
- package/esm/models/getfirewallconfigop.js.map +1 -1
- package/esm/models/getorderop.d.ts +126 -42
- package/esm/models/getorderop.d.ts.map +1 -1
- package/esm/models/getorderop.js +138 -24
- package/esm/models/getorderop.js.map +1 -1
- package/esm/models/getprojectdomainsop.d.ts +5 -5
- package/esm/models/getprojectdomainsop.d.ts.map +1 -1
- package/esm/models/getprojectdomainsop.js +5 -6
- package/esm/models/getprojectdomainsop.js.map +1 -1
- package/esm/models/getprojectsop.d.ts +109 -6
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +97 -6
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/getv1bulkredirectsop.d.ts +190 -0
- package/esm/models/getv1bulkredirectsop.d.ts.map +1 -0
- package/esm/models/getv1bulkredirectsop.js +195 -0
- package/esm/models/getv1bulkredirectsop.js.map +1 -0
- package/esm/models/getv1bulkredirectsversionsop.d.ts +80 -0
- package/esm/models/getv1bulkredirectsversionsop.d.ts.map +1 -0
- package/esm/models/getv1bulkredirectsversionsop.js +64 -0
- package/esm/models/getv1bulkredirectsversionsop.js.map +1 -0
- package/esm/models/getwebhookop.d.ts +2 -1
- package/esm/models/getwebhookop.d.ts.map +1 -1
- package/esm/models/getwebhookop.js +2 -1
- package/esm/models/getwebhookop.js.map +1 -1
- package/esm/models/getwebhooksop.d.ts +4 -2
- package/esm/models/getwebhooksop.d.ts.map +1 -1
- package/esm/models/getwebhooksop.js +4 -2
- package/esm/models/getwebhooksop.js.map +1 -1
- package/esm/models/listaccessgroupsop.d.ts +8 -8
- package/esm/models/listaccessgroupsop.d.ts.map +1 -1
- package/esm/models/listaccessgroupsop.js +8 -8
- package/esm/models/listaccessgroupsop.js.map +1 -1
- package/esm/models/patchv1bulkredirectsop.d.ts +133 -0
- package/esm/models/patchv1bulkredirectsop.d.ts.map +1 -0
- package/esm/models/patchv1bulkredirectsop.js +121 -0
- package/esm/models/patchv1bulkredirectsop.js.map +1 -0
- package/esm/models/postteamdsyncrolesop.d.ts +98 -0
- package/esm/models/postteamdsyncrolesop.d.ts.map +1 -0
- package/esm/models/postteamdsyncrolesop.js +113 -0
- package/esm/models/postteamdsyncrolesop.js.map +1 -0
- package/esm/models/postv1bulkredirectsrestoreop.d.ts +104 -0
- package/esm/models/postv1bulkredirectsrestoreop.d.ts.map +1 -0
- package/esm/models/postv1bulkredirectsrestoreop.js +96 -0
- package/esm/models/postv1bulkredirectsrestoreop.js.map +1 -0
- package/esm/models/postv1bulkredirectsversionsop.d.ts +110 -0
- package/esm/models/postv1bulkredirectsversionsop.d.ts.map +1 -0
- package/esm/models/postv1bulkredirectsversionsop.js +102 -0
- package/esm/models/postv1bulkredirectsversionsop.js.map +1 -0
- package/esm/models/putfirewallconfigop.d.ts +357 -100
- package/esm/models/putfirewallconfigop.d.ts.map +1 -1
- package/esm/models/putfirewallconfigop.js +379 -102
- package/esm/models/putfirewallconfigop.js.map +1 -1
- package/esm/models/putv1bulkredirectsop.d.ts +122 -0
- package/esm/models/putv1bulkredirectsop.d.ts.map +1 -0
- package/esm/models/putv1bulkredirectsop.js +108 -0
- package/esm/models/putv1bulkredirectsop.js.map +1 -0
- package/esm/models/updateedgeconfigop.d.ts +5 -0
- package/esm/models/updateedgeconfigop.d.ts.map +1 -1
- package/esm/models/updateedgeconfigop.js +2 -0
- package/esm/models/updateedgeconfigop.js.map +1 -1
- package/esm/models/updatefirewallconfigop.d.ts +30 -0
- package/esm/models/updatefirewallconfigop.d.ts.map +1 -1
- package/esm/models/updatefirewallconfigop.js +32 -0
- package/esm/models/updatefirewallconfigop.js.map +1 -1
- package/esm/models/updateinstallationop.d.ts +18 -0
- package/esm/models/updateinstallationop.d.ts.map +1 -1
- package/esm/models/updateinstallationop.js +17 -0
- package/esm/models/updateinstallationop.js.map +1 -1
- package/esm/models/updateprojectdatacacheop.d.ts +124 -21
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +118 -24
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +138 -6
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +126 -6
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/updateprojectprotectionbypassop.d.ts +49 -0
- package/esm/models/updateprojectprotectionbypassop.d.ts.map +1 -1
- package/esm/models/updateprojectprotectionbypassop.js +27 -0
- package/esm/models/updateprojectprotectionbypassop.js.map +1 -1
- package/esm/models/userevent.d.ts +792 -966
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +1047 -1248
- package/esm/models/userevent.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/sdk.d.ts +33 -1
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +47 -0
- package/esm/sdk/sdk.js.map +1 -1
- package/esm/sdk/teams.d.ts +8 -0
- package/esm/sdk/teams.d.ts.map +1 -1
- package/esm/sdk/teams.js +10 -0
- package/esm/sdk/teams.js.map +1 -1
- package/examples/package-lock.json +2 -2
- package/jsr.json +1 -1
- package/package.json +2 -2
- package/src/__tests__/domains.test.ts +16 -70
- package/src/__tests__/edgeconfig.test.ts +6 -6
- package/src/__tests__/integrations.test.ts +1 -1
- package/src/__tests__/logdrains.test.ts +6 -2
- package/src/__tests__/security.test.ts +20 -35
- package/src/__tests__/teams.test.ts +19 -0
- package/src/__tests__/vercel.test.ts +177 -1
- package/src/funcs/deleteV1BulkRedirects.ts +161 -0
- package/src/funcs/domainsCreateOrTransferDomain.ts +2 -2
- package/src/funcs/getV1BulkRedirects.ts +167 -0
- package/src/funcs/getV1BulkRedirectsVersions.ts +160 -0
- package/src/funcs/integrationsGetBillingPlans.ts +1 -0
- package/src/funcs/patchV1BulkRedirects.ts +161 -0
- package/src/funcs/postV1BulkRedirectsRestore.ts +161 -0
- package/src/funcs/postV1BulkRedirectsVersions.ts +161 -0
- package/src/funcs/putV1BulkRedirects.ts +156 -0
- package/src/funcs/{domainsBuyDomain.ts → teamsPostTeamDsyncRoles.ts} +29 -24
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +17 -5
- package/src/mcp-server/tools/deleteV1BulkRedirects.ts +36 -0
- package/src/mcp-server/tools/getV1BulkRedirects.ts +35 -0
- package/src/mcp-server/tools/getV1BulkRedirectsVersions.ts +35 -0
- package/src/mcp-server/tools/patchV1BulkRedirects.ts +36 -0
- package/src/mcp-server/tools/postV1BulkRedirectsRestore.ts +36 -0
- package/src/mcp-server/tools/postV1BulkRedirectsVersions.ts +36 -0
- package/src/mcp-server/tools/putV1BulkRedirects.ts +35 -0
- package/src/mcp-server/tools/teamsPostTeamDsyncRoles.ts +37 -0
- package/src/models/artifactqueryop.ts +21 -17
- package/src/models/authuser.ts +7 -0
- package/src/models/canceldeploymentop.ts +133 -4
- package/src/models/createdeploymentop.ts +116 -4
- package/src/models/createedgeconfigop.ts +7 -0
- package/src/models/createintegrationstoredirectop.ts +708 -471
- package/src/models/createortransferdomainop.ts +0 -83
- package/src/models/createprojectop.ts +346 -12
- package/src/models/createwebhookop.ts +4 -2
- package/src/models/deletev1bulkredirectsop.ts +267 -0
- package/src/models/getbillingplansop.ts +4 -0
- package/src/models/getconfigurationop.ts +87 -1
- package/src/models/getconfigurationproductsop.ts +627 -627
- package/src/models/getconfigurationsop.ts +87 -0
- package/src/models/getdeploymenteventsop.ts +17 -13
- package/src/models/getdeploymentop.ts +271 -8
- package/src/models/getedgeconfigop.ts +7 -0
- package/src/models/getfirewallconfigop.ts +835 -274
- package/src/models/getorderop.ts +469 -112
- package/src/models/getprojectdomainsop.ts +11 -9
- package/src/models/getprojectsop.ts +260 -12
- package/src/models/getv1bulkredirectsop.ts +467 -0
- package/src/models/getv1bulkredirectsversionsop.ts +192 -0
- package/src/models/getwebhookop.ts +2 -1
- package/src/models/getwebhooksop.ts +4 -2
- package/src/models/listaccessgroupsop.ts +26 -18
- package/src/models/patchv1bulkredirectsop.ts +336 -0
- package/src/models/postteamdsyncrolesop.ts +291 -0
- package/src/models/postv1bulkredirectsrestoreop.ts +275 -0
- package/src/models/postv1bulkredirectsversionsop.ts +296 -0
- package/src/models/putfirewallconfigop.ts +1025 -284
- package/src/models/putv1bulkredirectsop.ts +304 -0
- package/src/models/updateedgeconfigop.ts +7 -0
- package/src/models/updatefirewallconfigop.ts +107 -0
- package/src/models/updateinstallationop.ts +30 -0
- package/src/models/updateprojectdatacacheop.ts +322 -63
- package/src/models/updateprojectop.ts +346 -12
- package/src/models/updateprojectprotectionbypassop.ts +84 -0
- package/src/models/userevent.ts +2415 -2887
- package/src/sdk/domains.ts +0 -41
- package/src/sdk/sdk.ts +132 -1
- package/src/sdk/teams.ts +22 -0
- package/vercel-spec.json +3260 -1294
- package/esm/funcs/domainsBuyDomain.d.ts +0 -17
- package/esm/funcs/domainsBuyDomain.d.ts.map +0 -1
- package/esm/funcs/domainsBuyDomain.js.map +0 -1
- package/esm/mcp-server/tools/domainsBuyDomain.d.ts +0 -7
- package/esm/mcp-server/tools/domainsBuyDomain.d.ts.map +0 -1
- package/esm/mcp-server/tools/domainsBuyDomain.js +0 -28
- package/esm/mcp-server/tools/domainsBuyDomain.js.map +0 -1
- package/esm/models/buydomainop.d.ts +0 -180
- package/esm/models/buydomainop.d.ts.map +0 -1
- package/esm/models/buydomainop.js +0 -159
- package/esm/models/buydomainop.js.map +0 -1
- package/src/mcp-server/tools/domainsBuyDomain.ts +0 -37
- package/src/models/buydomainop.ts +0 -453
|
@@ -41,14 +41,14 @@ export type QueryParamTarget = ClosedEnum<typeof QueryParamTarget>;
|
|
|
41
41
|
/**
|
|
42
42
|
* Excludes redirect project domains when \"false\". Includes redirect project domains when \"true\" (default).
|
|
43
43
|
*/
|
|
44
|
-
export const
|
|
44
|
+
export const QueryParamRedirects = {
|
|
45
45
|
True: "true",
|
|
46
46
|
False: "false",
|
|
47
47
|
} as const;
|
|
48
48
|
/**
|
|
49
49
|
* Excludes redirect project domains when \"false\". Includes redirect project domains when \"true\" (default).
|
|
50
50
|
*/
|
|
51
|
-
export type
|
|
51
|
+
export type QueryParamRedirects = ClosedEnum<typeof QueryParamRedirects>;
|
|
52
52
|
|
|
53
53
|
/**
|
|
54
54
|
* Filters domains based on their verification status.
|
|
@@ -98,7 +98,7 @@ export type GetProjectDomainsRequest = {
|
|
|
98
98
|
/**
|
|
99
99
|
* Excludes redirect project domains when \"false\". Includes redirect project domains when \"true\" (default).
|
|
100
100
|
*/
|
|
101
|
-
redirects?:
|
|
101
|
+
redirects?: QueryParamRedirects | undefined;
|
|
102
102
|
/**
|
|
103
103
|
* Filters domains based on their redirect target.
|
|
104
104
|
*/
|
|
@@ -236,11 +236,13 @@ export const QueryParamTarget$outboundSchema: z.ZodNativeEnum<
|
|
|
236
236
|
> = QueryParamTarget$inboundSchema;
|
|
237
237
|
|
|
238
238
|
/** @internal */
|
|
239
|
-
export const
|
|
240
|
-
|
|
239
|
+
export const QueryParamRedirects$inboundSchema: z.ZodNativeEnum<
|
|
240
|
+
typeof QueryParamRedirects
|
|
241
|
+
> = z.nativeEnum(QueryParamRedirects);
|
|
241
242
|
/** @internal */
|
|
242
|
-
export const
|
|
243
|
-
|
|
243
|
+
export const QueryParamRedirects$outboundSchema: z.ZodNativeEnum<
|
|
244
|
+
typeof QueryParamRedirects
|
|
245
|
+
> = QueryParamRedirects$inboundSchema;
|
|
244
246
|
|
|
245
247
|
/** @internal */
|
|
246
248
|
export const Verified$inboundSchema: z.ZodNativeEnum<typeof Verified> = z
|
|
@@ -268,7 +270,7 @@ export const GetProjectDomainsRequest$inboundSchema: z.ZodType<
|
|
|
268
270
|
target: QueryParamTarget$inboundSchema.optional(),
|
|
269
271
|
customEnvironmentId: z.string().optional(),
|
|
270
272
|
gitBranch: z.string().optional(),
|
|
271
|
-
redirects:
|
|
273
|
+
redirects: QueryParamRedirects$inboundSchema.default("true"),
|
|
272
274
|
redirect: z.string().optional(),
|
|
273
275
|
verified: Verified$inboundSchema.optional(),
|
|
274
276
|
limit: z.number().optional(),
|
|
@@ -307,7 +309,7 @@ export const GetProjectDomainsRequest$outboundSchema: z.ZodType<
|
|
|
307
309
|
target: QueryParamTarget$outboundSchema.optional(),
|
|
308
310
|
customEnvironmentId: z.string().optional(),
|
|
309
311
|
gitBranch: z.string().optional(),
|
|
310
|
-
redirects:
|
|
312
|
+
redirects: QueryParamRedirects$outboundSchema.default("true"),
|
|
311
313
|
redirect: z.string().optional(),
|
|
312
314
|
verified: Verified$outboundSchema.optional(),
|
|
313
315
|
limit: z.number().optional(),
|
|
@@ -679,7 +679,7 @@ export type GetProjectsOidcTokenClaims = {
|
|
|
679
679
|
project: string;
|
|
680
680
|
projectId: string;
|
|
681
681
|
environment: string;
|
|
682
|
-
plan
|
|
682
|
+
plan?: string | undefined;
|
|
683
683
|
};
|
|
684
684
|
|
|
685
685
|
export const GetProjectsPlan = {
|
|
@@ -1000,6 +1000,18 @@ export type GetProjectsBuildMachineType = ClosedEnum<
|
|
|
1000
1000
|
typeof GetProjectsBuildMachineType
|
|
1001
1001
|
>;
|
|
1002
1002
|
|
|
1003
|
+
export const GetProjectsConfiguration = {
|
|
1004
|
+
SkipNamespaceQueue: "SKIP_NAMESPACE_QUEUE",
|
|
1005
|
+
WaitForNamespaceQueue: "WAIT_FOR_NAMESPACE_QUEUE",
|
|
1006
|
+
} as const;
|
|
1007
|
+
export type GetProjectsConfiguration = ClosedEnum<
|
|
1008
|
+
typeof GetProjectsConfiguration
|
|
1009
|
+
>;
|
|
1010
|
+
|
|
1011
|
+
export type GetProjectsBuildQueue = {
|
|
1012
|
+
configuration?: GetProjectsConfiguration | undefined;
|
|
1013
|
+
};
|
|
1014
|
+
|
|
1003
1015
|
export type GetProjectsResourceConfig = {
|
|
1004
1016
|
elasticConcurrencyEnabled?: boolean | undefined;
|
|
1005
1017
|
fluid?: boolean | undefined;
|
|
@@ -1009,6 +1021,7 @@ export type GetProjectsResourceConfig = {
|
|
|
1009
1021
|
functionZeroConfigFailover?: boolean | undefined;
|
|
1010
1022
|
buildMachineType?: GetProjectsBuildMachineType | undefined;
|
|
1011
1023
|
isNSNBDisabled?: boolean | undefined;
|
|
1024
|
+
buildQueue?: GetProjectsBuildQueue | undefined;
|
|
1012
1025
|
};
|
|
1013
1026
|
|
|
1014
1027
|
/**
|
|
@@ -1090,6 +1103,18 @@ export type GetProjectsProjectsBuildMachineType = ClosedEnum<
|
|
|
1090
1103
|
typeof GetProjectsProjectsBuildMachineType
|
|
1091
1104
|
>;
|
|
1092
1105
|
|
|
1106
|
+
export const GetProjectsProjectsConfiguration = {
|
|
1107
|
+
SkipNamespaceQueue: "SKIP_NAMESPACE_QUEUE",
|
|
1108
|
+
WaitForNamespaceQueue: "WAIT_FOR_NAMESPACE_QUEUE",
|
|
1109
|
+
} as const;
|
|
1110
|
+
export type GetProjectsProjectsConfiguration = ClosedEnum<
|
|
1111
|
+
typeof GetProjectsProjectsConfiguration
|
|
1112
|
+
>;
|
|
1113
|
+
|
|
1114
|
+
export type GetProjectsProjectsBuildQueue = {
|
|
1115
|
+
configuration?: GetProjectsProjectsConfiguration | undefined;
|
|
1116
|
+
};
|
|
1117
|
+
|
|
1093
1118
|
export type GetProjectsDefaultResourceConfig = {
|
|
1094
1119
|
elasticConcurrencyEnabled?: boolean | undefined;
|
|
1095
1120
|
fluid?: boolean | undefined;
|
|
@@ -1101,6 +1126,7 @@ export type GetProjectsDefaultResourceConfig = {
|
|
|
1101
1126
|
functionZeroConfigFailover?: boolean | undefined;
|
|
1102
1127
|
buildMachineType?: GetProjectsProjectsBuildMachineType | undefined;
|
|
1103
1128
|
isNSNBDisabled?: boolean | undefined;
|
|
1129
|
+
buildQueue?: GetProjectsProjectsBuildQueue | undefined;
|
|
1104
1130
|
};
|
|
1105
1131
|
|
|
1106
1132
|
export type GetProjectsStaticIps = {
|
|
@@ -1119,8 +1145,22 @@ export type GetProjectsDeploymentType = ClosedEnum<
|
|
|
1119
1145
|
typeof GetProjectsDeploymentType
|
|
1120
1146
|
>;
|
|
1121
1147
|
|
|
1148
|
+
export const GetProjectsCve55182MigrationAppliedFrom = {
|
|
1149
|
+
Preview: "preview",
|
|
1150
|
+
All: "all",
|
|
1151
|
+
ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews",
|
|
1152
|
+
AllExceptCustomDomains: "all_except_custom_domains",
|
|
1153
|
+
} as const;
|
|
1154
|
+
export type GetProjectsCve55182MigrationAppliedFrom = ClosedEnum<
|
|
1155
|
+
typeof GetProjectsCve55182MigrationAppliedFrom
|
|
1156
|
+
>;
|
|
1157
|
+
|
|
1122
1158
|
export type GetProjectsSsoProtection = {
|
|
1123
1159
|
deploymentType: GetProjectsDeploymentType;
|
|
1160
|
+
cve55182MigrationAppliedFrom?:
|
|
1161
|
+
| GetProjectsCve55182MigrationAppliedFrom
|
|
1162
|
+
| null
|
|
1163
|
+
| undefined;
|
|
1124
1164
|
};
|
|
1125
1165
|
|
|
1126
1166
|
export type GetProjectsProjectsAliasAssigned = number | boolean;
|
|
@@ -1201,7 +1241,7 @@ export type GetProjectsProjectsOidcTokenClaims = {
|
|
|
1201
1241
|
project: string;
|
|
1202
1242
|
projectId: string;
|
|
1203
1243
|
environment: string;
|
|
1204
|
-
plan
|
|
1244
|
+
plan?: string | undefined;
|
|
1205
1245
|
};
|
|
1206
1246
|
|
|
1207
1247
|
export const GetProjectsProjectsPlan = {
|
|
@@ -1526,7 +1566,7 @@ export type GetProjectsProjectsResponse200ApplicationJSONType = ClosedEnum<
|
|
|
1526
1566
|
>;
|
|
1527
1567
|
|
|
1528
1568
|
export type GetProjectsLastAliasRequest = {
|
|
1529
|
-
fromDeploymentId: string;
|
|
1569
|
+
fromDeploymentId: string | null;
|
|
1530
1570
|
toDeploymentId: string;
|
|
1531
1571
|
/**
|
|
1532
1572
|
* If rolling back from a rolling release, fromDeploymentId captures the "base" of that rolling release, and fromRollingReleaseId captures the "target" of that rolling release.
|
|
@@ -1541,6 +1581,14 @@ export type GetProjectsProtectionBypass2 = {
|
|
|
1541
1581
|
createdAt: number;
|
|
1542
1582
|
createdBy: string;
|
|
1543
1583
|
scope: "automation-bypass";
|
|
1584
|
+
/**
|
|
1585
|
+
* When there was only one bypass, it was automatically set as an env var on deployments. With multiple bypasses, there is always one bypass that is selected as the default, and gets set as an env var on deployments. As this is a new field, undefined means that the bypass is the env var. If there are any automation bypasses, exactly one must be the env var.
|
|
1586
|
+
*/
|
|
1587
|
+
isEnvVar?: boolean | undefined;
|
|
1588
|
+
/**
|
|
1589
|
+
* Optional note about the bypass to be displayed in the UI
|
|
1590
|
+
*/
|
|
1591
|
+
note?: string | undefined;
|
|
1544
1592
|
};
|
|
1545
1593
|
|
|
1546
1594
|
export type GetProjectsProtectionBypass1 = {
|
|
@@ -2027,9 +2075,25 @@ export type GetProjectsDismissedToasts = {
|
|
|
2027
2075
|
value: GetProjectsValue4 | string | number | boolean | null;
|
|
2028
2076
|
};
|
|
2029
2077
|
|
|
2078
|
+
export type GetProjectsCveShield = {
|
|
2079
|
+
/**
|
|
2080
|
+
* True if the CVE Shield has been enabled. Otherwise false.
|
|
2081
|
+
*/
|
|
2082
|
+
enabled: boolean;
|
|
2083
|
+
/**
|
|
2084
|
+
* CVE threshold. It can range between 1 and 10.
|
|
2085
|
+
*/
|
|
2086
|
+
threshold?: number | undefined;
|
|
2087
|
+
/**
|
|
2088
|
+
* List of CVE that we want to protect against.
|
|
2089
|
+
*/
|
|
2090
|
+
cveList?: Array<string> | undefined;
|
|
2091
|
+
};
|
|
2092
|
+
|
|
2030
2093
|
export type GetProjectsProjects = {
|
|
2031
2094
|
accountId: string;
|
|
2032
2095
|
analytics?: GetProjectsAnalytics | undefined;
|
|
2096
|
+
appliedCve55182Migration?: boolean | undefined;
|
|
2033
2097
|
speedInsights?: GetProjectsSpeedInsights | undefined;
|
|
2034
2098
|
autoExposeSystemEnvs?: boolean | undefined;
|
|
2035
2099
|
autoAssignCustomDomains?: boolean | undefined;
|
|
@@ -2095,6 +2159,7 @@ export type GetProjectsProjects = {
|
|
|
2095
2159
|
serverlessFunctionZeroConfigFailover?: boolean | undefined;
|
|
2096
2160
|
skewProtectionBoundaryAt?: number | undefined;
|
|
2097
2161
|
skewProtectionMaxAge?: number | undefined;
|
|
2162
|
+
skewProtectionAllowedDomains?: Array<string> | undefined;
|
|
2098
2163
|
skipGitConnectDuringLink?: boolean | undefined;
|
|
2099
2164
|
staticIps?: GetProjectsStaticIps | undefined;
|
|
2100
2165
|
sourceFilesOutsideRootDirectory?: boolean | undefined;
|
|
@@ -2137,6 +2202,7 @@ export type GetProjectsProjects = {
|
|
|
2137
2202
|
| undefined;
|
|
2138
2203
|
hasDeployments?: boolean | undefined;
|
|
2139
2204
|
dismissedToasts?: Array<GetProjectsDismissedToasts> | undefined;
|
|
2205
|
+
cveShield?: GetProjectsCveShield | undefined;
|
|
2140
2206
|
};
|
|
2141
2207
|
|
|
2142
2208
|
/**
|
|
@@ -4293,7 +4359,7 @@ export const GetProjectsOidcTokenClaims$inboundSchema: z.ZodType<
|
|
|
4293
4359
|
project: z.string(),
|
|
4294
4360
|
project_id: z.string(),
|
|
4295
4361
|
environment: z.string(),
|
|
4296
|
-
plan: z.string(),
|
|
4362
|
+
plan: z.string().optional(),
|
|
4297
4363
|
}).transform((v) => {
|
|
4298
4364
|
return remap$(v, {
|
|
4299
4365
|
"owner_id": "ownerId",
|
|
@@ -4311,7 +4377,7 @@ export type GetProjectsOidcTokenClaims$Outbound = {
|
|
|
4311
4377
|
project: string;
|
|
4312
4378
|
project_id: string;
|
|
4313
4379
|
environment: string;
|
|
4314
|
-
plan
|
|
4380
|
+
plan?: string | undefined;
|
|
4315
4381
|
};
|
|
4316
4382
|
|
|
4317
4383
|
/** @internal */
|
|
@@ -4329,7 +4395,7 @@ export const GetProjectsOidcTokenClaims$outboundSchema: z.ZodType<
|
|
|
4329
4395
|
project: z.string(),
|
|
4330
4396
|
projectId: z.string(),
|
|
4331
4397
|
environment: z.string(),
|
|
4332
|
-
plan: z.string(),
|
|
4398
|
+
plan: z.string().optional(),
|
|
4333
4399
|
}).transform((v) => {
|
|
4334
4400
|
return remap$(v, {
|
|
4335
4401
|
ownerId: "owner_id",
|
|
@@ -5605,6 +5671,54 @@ export const GetProjectsBuildMachineType$outboundSchema: z.ZodNativeEnum<
|
|
|
5605
5671
|
typeof GetProjectsBuildMachineType
|
|
5606
5672
|
> = GetProjectsBuildMachineType$inboundSchema;
|
|
5607
5673
|
|
|
5674
|
+
/** @internal */
|
|
5675
|
+
export const GetProjectsConfiguration$inboundSchema: z.ZodNativeEnum<
|
|
5676
|
+
typeof GetProjectsConfiguration
|
|
5677
|
+
> = z.nativeEnum(GetProjectsConfiguration);
|
|
5678
|
+
/** @internal */
|
|
5679
|
+
export const GetProjectsConfiguration$outboundSchema: z.ZodNativeEnum<
|
|
5680
|
+
typeof GetProjectsConfiguration
|
|
5681
|
+
> = GetProjectsConfiguration$inboundSchema;
|
|
5682
|
+
|
|
5683
|
+
/** @internal */
|
|
5684
|
+
export const GetProjectsBuildQueue$inboundSchema: z.ZodType<
|
|
5685
|
+
GetProjectsBuildQueue,
|
|
5686
|
+
z.ZodTypeDef,
|
|
5687
|
+
unknown
|
|
5688
|
+
> = z.object({
|
|
5689
|
+
configuration: GetProjectsConfiguration$inboundSchema.optional(),
|
|
5690
|
+
});
|
|
5691
|
+
/** @internal */
|
|
5692
|
+
export type GetProjectsBuildQueue$Outbound = {
|
|
5693
|
+
configuration?: string | undefined;
|
|
5694
|
+
};
|
|
5695
|
+
|
|
5696
|
+
/** @internal */
|
|
5697
|
+
export const GetProjectsBuildQueue$outboundSchema: z.ZodType<
|
|
5698
|
+
GetProjectsBuildQueue$Outbound,
|
|
5699
|
+
z.ZodTypeDef,
|
|
5700
|
+
GetProjectsBuildQueue
|
|
5701
|
+
> = z.object({
|
|
5702
|
+
configuration: GetProjectsConfiguration$outboundSchema.optional(),
|
|
5703
|
+
});
|
|
5704
|
+
|
|
5705
|
+
export function getProjectsBuildQueueToJSON(
|
|
5706
|
+
getProjectsBuildQueue: GetProjectsBuildQueue,
|
|
5707
|
+
): string {
|
|
5708
|
+
return JSON.stringify(
|
|
5709
|
+
GetProjectsBuildQueue$outboundSchema.parse(getProjectsBuildQueue),
|
|
5710
|
+
);
|
|
5711
|
+
}
|
|
5712
|
+
export function getProjectsBuildQueueFromJSON(
|
|
5713
|
+
jsonString: string,
|
|
5714
|
+
): SafeParseResult<GetProjectsBuildQueue, SDKValidationError> {
|
|
5715
|
+
return safeParse(
|
|
5716
|
+
jsonString,
|
|
5717
|
+
(x) => GetProjectsBuildQueue$inboundSchema.parse(JSON.parse(x)),
|
|
5718
|
+
`Failed to parse 'GetProjectsBuildQueue' from JSON`,
|
|
5719
|
+
);
|
|
5720
|
+
}
|
|
5721
|
+
|
|
5608
5722
|
/** @internal */
|
|
5609
5723
|
export const GetProjectsResourceConfig$inboundSchema: z.ZodType<
|
|
5610
5724
|
GetProjectsResourceConfig,
|
|
@@ -5620,6 +5734,7 @@ export const GetProjectsResourceConfig$inboundSchema: z.ZodType<
|
|
|
5620
5734
|
functionZeroConfigFailover: z.boolean().optional(),
|
|
5621
5735
|
buildMachineType: GetProjectsBuildMachineType$inboundSchema.optional(),
|
|
5622
5736
|
isNSNBDisabled: z.boolean().optional(),
|
|
5737
|
+
buildQueue: z.lazy(() => GetProjectsBuildQueue$inboundSchema).optional(),
|
|
5623
5738
|
});
|
|
5624
5739
|
/** @internal */
|
|
5625
5740
|
export type GetProjectsResourceConfig$Outbound = {
|
|
@@ -5631,6 +5746,7 @@ export type GetProjectsResourceConfig$Outbound = {
|
|
|
5631
5746
|
functionZeroConfigFailover?: boolean | undefined;
|
|
5632
5747
|
buildMachineType?: string | undefined;
|
|
5633
5748
|
isNSNBDisabled?: boolean | undefined;
|
|
5749
|
+
buildQueue?: GetProjectsBuildQueue$Outbound | undefined;
|
|
5634
5750
|
};
|
|
5635
5751
|
|
|
5636
5752
|
/** @internal */
|
|
@@ -5648,6 +5764,7 @@ export const GetProjectsResourceConfig$outboundSchema: z.ZodType<
|
|
|
5648
5764
|
functionZeroConfigFailover: z.boolean().optional(),
|
|
5649
5765
|
buildMachineType: GetProjectsBuildMachineType$outboundSchema.optional(),
|
|
5650
5766
|
isNSNBDisabled: z.boolean().optional(),
|
|
5767
|
+
buildQueue: z.lazy(() => GetProjectsBuildQueue$outboundSchema).optional(),
|
|
5651
5768
|
});
|
|
5652
5769
|
|
|
5653
5770
|
export function getProjectsResourceConfigToJSON(
|
|
@@ -5830,6 +5947,56 @@ export const GetProjectsProjectsBuildMachineType$outboundSchema:
|
|
|
5830
5947
|
z.ZodNativeEnum<typeof GetProjectsProjectsBuildMachineType> =
|
|
5831
5948
|
GetProjectsProjectsBuildMachineType$inboundSchema;
|
|
5832
5949
|
|
|
5950
|
+
/** @internal */
|
|
5951
|
+
export const GetProjectsProjectsConfiguration$inboundSchema: z.ZodNativeEnum<
|
|
5952
|
+
typeof GetProjectsProjectsConfiguration
|
|
5953
|
+
> = z.nativeEnum(GetProjectsProjectsConfiguration);
|
|
5954
|
+
/** @internal */
|
|
5955
|
+
export const GetProjectsProjectsConfiguration$outboundSchema: z.ZodNativeEnum<
|
|
5956
|
+
typeof GetProjectsProjectsConfiguration
|
|
5957
|
+
> = GetProjectsProjectsConfiguration$inboundSchema;
|
|
5958
|
+
|
|
5959
|
+
/** @internal */
|
|
5960
|
+
export const GetProjectsProjectsBuildQueue$inboundSchema: z.ZodType<
|
|
5961
|
+
GetProjectsProjectsBuildQueue,
|
|
5962
|
+
z.ZodTypeDef,
|
|
5963
|
+
unknown
|
|
5964
|
+
> = z.object({
|
|
5965
|
+
configuration: GetProjectsProjectsConfiguration$inboundSchema.optional(),
|
|
5966
|
+
});
|
|
5967
|
+
/** @internal */
|
|
5968
|
+
export type GetProjectsProjectsBuildQueue$Outbound = {
|
|
5969
|
+
configuration?: string | undefined;
|
|
5970
|
+
};
|
|
5971
|
+
|
|
5972
|
+
/** @internal */
|
|
5973
|
+
export const GetProjectsProjectsBuildQueue$outboundSchema: z.ZodType<
|
|
5974
|
+
GetProjectsProjectsBuildQueue$Outbound,
|
|
5975
|
+
z.ZodTypeDef,
|
|
5976
|
+
GetProjectsProjectsBuildQueue
|
|
5977
|
+
> = z.object({
|
|
5978
|
+
configuration: GetProjectsProjectsConfiguration$outboundSchema.optional(),
|
|
5979
|
+
});
|
|
5980
|
+
|
|
5981
|
+
export function getProjectsProjectsBuildQueueToJSON(
|
|
5982
|
+
getProjectsProjectsBuildQueue: GetProjectsProjectsBuildQueue,
|
|
5983
|
+
): string {
|
|
5984
|
+
return JSON.stringify(
|
|
5985
|
+
GetProjectsProjectsBuildQueue$outboundSchema.parse(
|
|
5986
|
+
getProjectsProjectsBuildQueue,
|
|
5987
|
+
),
|
|
5988
|
+
);
|
|
5989
|
+
}
|
|
5990
|
+
export function getProjectsProjectsBuildQueueFromJSON(
|
|
5991
|
+
jsonString: string,
|
|
5992
|
+
): SafeParseResult<GetProjectsProjectsBuildQueue, SDKValidationError> {
|
|
5993
|
+
return safeParse(
|
|
5994
|
+
jsonString,
|
|
5995
|
+
(x) => GetProjectsProjectsBuildQueue$inboundSchema.parse(JSON.parse(x)),
|
|
5996
|
+
`Failed to parse 'GetProjectsProjectsBuildQueue' from JSON`,
|
|
5997
|
+
);
|
|
5998
|
+
}
|
|
5999
|
+
|
|
5833
6000
|
/** @internal */
|
|
5834
6001
|
export const GetProjectsDefaultResourceConfig$inboundSchema: z.ZodType<
|
|
5835
6002
|
GetProjectsDefaultResourceConfig,
|
|
@@ -5846,6 +6013,8 @@ export const GetProjectsDefaultResourceConfig$inboundSchema: z.ZodType<
|
|
|
5846
6013
|
buildMachineType: GetProjectsProjectsBuildMachineType$inboundSchema
|
|
5847
6014
|
.optional(),
|
|
5848
6015
|
isNSNBDisabled: z.boolean().optional(),
|
|
6016
|
+
buildQueue: z.lazy(() => GetProjectsProjectsBuildQueue$inboundSchema)
|
|
6017
|
+
.optional(),
|
|
5849
6018
|
});
|
|
5850
6019
|
/** @internal */
|
|
5851
6020
|
export type GetProjectsDefaultResourceConfig$Outbound = {
|
|
@@ -5857,6 +6026,7 @@ export type GetProjectsDefaultResourceConfig$Outbound = {
|
|
|
5857
6026
|
functionZeroConfigFailover?: boolean | undefined;
|
|
5858
6027
|
buildMachineType?: string | undefined;
|
|
5859
6028
|
isNSNBDisabled?: boolean | undefined;
|
|
6029
|
+
buildQueue?: GetProjectsProjectsBuildQueue$Outbound | undefined;
|
|
5860
6030
|
};
|
|
5861
6031
|
|
|
5862
6032
|
/** @internal */
|
|
@@ -5875,6 +6045,8 @@ export const GetProjectsDefaultResourceConfig$outboundSchema: z.ZodType<
|
|
|
5875
6045
|
buildMachineType: GetProjectsProjectsBuildMachineType$outboundSchema
|
|
5876
6046
|
.optional(),
|
|
5877
6047
|
isNSNBDisabled: z.boolean().optional(),
|
|
6048
|
+
buildQueue: z.lazy(() => GetProjectsProjectsBuildQueue$outboundSchema)
|
|
6049
|
+
.optional(),
|
|
5878
6050
|
});
|
|
5879
6051
|
|
|
5880
6052
|
export function getProjectsDefaultResourceConfigToJSON(
|
|
@@ -5950,6 +6122,15 @@ export const GetProjectsDeploymentType$outboundSchema: z.ZodNativeEnum<
|
|
|
5950
6122
|
typeof GetProjectsDeploymentType
|
|
5951
6123
|
> = GetProjectsDeploymentType$inboundSchema;
|
|
5952
6124
|
|
|
6125
|
+
/** @internal */
|
|
6126
|
+
export const GetProjectsCve55182MigrationAppliedFrom$inboundSchema:
|
|
6127
|
+
z.ZodNativeEnum<typeof GetProjectsCve55182MigrationAppliedFrom> = z
|
|
6128
|
+
.nativeEnum(GetProjectsCve55182MigrationAppliedFrom);
|
|
6129
|
+
/** @internal */
|
|
6130
|
+
export const GetProjectsCve55182MigrationAppliedFrom$outboundSchema:
|
|
6131
|
+
z.ZodNativeEnum<typeof GetProjectsCve55182MigrationAppliedFrom> =
|
|
6132
|
+
GetProjectsCve55182MigrationAppliedFrom$inboundSchema;
|
|
6133
|
+
|
|
5953
6134
|
/** @internal */
|
|
5954
6135
|
export const GetProjectsSsoProtection$inboundSchema: z.ZodType<
|
|
5955
6136
|
GetProjectsSsoProtection,
|
|
@@ -5957,10 +6138,14 @@ export const GetProjectsSsoProtection$inboundSchema: z.ZodType<
|
|
|
5957
6138
|
unknown
|
|
5958
6139
|
> = z.object({
|
|
5959
6140
|
deploymentType: GetProjectsDeploymentType$inboundSchema,
|
|
6141
|
+
cve55182MigrationAppliedFrom: z.nullable(
|
|
6142
|
+
GetProjectsCve55182MigrationAppliedFrom$inboundSchema,
|
|
6143
|
+
).optional(),
|
|
5960
6144
|
});
|
|
5961
6145
|
/** @internal */
|
|
5962
6146
|
export type GetProjectsSsoProtection$Outbound = {
|
|
5963
6147
|
deploymentType: string;
|
|
6148
|
+
cve55182MigrationAppliedFrom?: string | null | undefined;
|
|
5964
6149
|
};
|
|
5965
6150
|
|
|
5966
6151
|
/** @internal */
|
|
@@ -5970,6 +6155,9 @@ export const GetProjectsSsoProtection$outboundSchema: z.ZodType<
|
|
|
5970
6155
|
GetProjectsSsoProtection
|
|
5971
6156
|
> = z.object({
|
|
5972
6157
|
deploymentType: GetProjectsDeploymentType$outboundSchema,
|
|
6158
|
+
cve55182MigrationAppliedFrom: z.nullable(
|
|
6159
|
+
GetProjectsCve55182MigrationAppliedFrom$outboundSchema,
|
|
6160
|
+
).optional(),
|
|
5973
6161
|
});
|
|
5974
6162
|
|
|
5975
6163
|
export function getProjectsSsoProtectionToJSON(
|
|
@@ -6264,7 +6452,7 @@ export const GetProjectsProjectsOidcTokenClaims$inboundSchema: z.ZodType<
|
|
|
6264
6452
|
project: z.string(),
|
|
6265
6453
|
project_id: z.string(),
|
|
6266
6454
|
environment: z.string(),
|
|
6267
|
-
plan: z.string(),
|
|
6455
|
+
plan: z.string().optional(),
|
|
6268
6456
|
}).transform((v) => {
|
|
6269
6457
|
return remap$(v, {
|
|
6270
6458
|
"owner_id": "ownerId",
|
|
@@ -6282,7 +6470,7 @@ export type GetProjectsProjectsOidcTokenClaims$Outbound = {
|
|
|
6282
6470
|
project: string;
|
|
6283
6471
|
project_id: string;
|
|
6284
6472
|
environment: string;
|
|
6285
|
-
plan
|
|
6473
|
+
plan?: string | undefined;
|
|
6286
6474
|
};
|
|
6287
6475
|
|
|
6288
6476
|
/** @internal */
|
|
@@ -6300,7 +6488,7 @@ export const GetProjectsProjectsOidcTokenClaims$outboundSchema: z.ZodType<
|
|
|
6300
6488
|
project: z.string(),
|
|
6301
6489
|
projectId: z.string(),
|
|
6302
6490
|
environment: z.string(),
|
|
6303
|
-
plan: z.string(),
|
|
6491
|
+
plan: z.string().optional(),
|
|
6304
6492
|
}).transform((v) => {
|
|
6305
6493
|
return remap$(v, {
|
|
6306
6494
|
ownerId: "owner_id",
|
|
@@ -7303,7 +7491,7 @@ export const GetProjectsLastAliasRequest$inboundSchema: z.ZodType<
|
|
|
7303
7491
|
z.ZodTypeDef,
|
|
7304
7492
|
unknown
|
|
7305
7493
|
> = z.object({
|
|
7306
|
-
fromDeploymentId: z.string(),
|
|
7494
|
+
fromDeploymentId: z.nullable(z.string()),
|
|
7307
7495
|
toDeploymentId: z.string(),
|
|
7308
7496
|
fromRollingReleaseId: z.string().optional(),
|
|
7309
7497
|
jobStatus: GetProjectsJobStatus$inboundSchema,
|
|
@@ -7312,7 +7500,7 @@ export const GetProjectsLastAliasRequest$inboundSchema: z.ZodType<
|
|
|
7312
7500
|
});
|
|
7313
7501
|
/** @internal */
|
|
7314
7502
|
export type GetProjectsLastAliasRequest$Outbound = {
|
|
7315
|
-
fromDeploymentId: string;
|
|
7503
|
+
fromDeploymentId: string | null;
|
|
7316
7504
|
toDeploymentId: string;
|
|
7317
7505
|
fromRollingReleaseId?: string | undefined;
|
|
7318
7506
|
jobStatus: string;
|
|
@@ -7326,7 +7514,7 @@ export const GetProjectsLastAliasRequest$outboundSchema: z.ZodType<
|
|
|
7326
7514
|
z.ZodTypeDef,
|
|
7327
7515
|
GetProjectsLastAliasRequest
|
|
7328
7516
|
> = z.object({
|
|
7329
|
-
fromDeploymentId: z.string(),
|
|
7517
|
+
fromDeploymentId: z.nullable(z.string()),
|
|
7330
7518
|
toDeploymentId: z.string(),
|
|
7331
7519
|
fromRollingReleaseId: z.string().optional(),
|
|
7332
7520
|
jobStatus: GetProjectsJobStatus$outboundSchema,
|
|
@@ -7362,12 +7550,16 @@ export const GetProjectsProtectionBypass2$inboundSchema: z.ZodType<
|
|
|
7362
7550
|
createdAt: z.number(),
|
|
7363
7551
|
createdBy: z.string(),
|
|
7364
7552
|
scope: z.literal("automation-bypass"),
|
|
7553
|
+
isEnvVar: z.boolean().optional(),
|
|
7554
|
+
note: z.string().optional(),
|
|
7365
7555
|
});
|
|
7366
7556
|
/** @internal */
|
|
7367
7557
|
export type GetProjectsProtectionBypass2$Outbound = {
|
|
7368
7558
|
createdAt: number;
|
|
7369
7559
|
createdBy: string;
|
|
7370
7560
|
scope: "automation-bypass";
|
|
7561
|
+
isEnvVar?: boolean | undefined;
|
|
7562
|
+
note?: string | undefined;
|
|
7371
7563
|
};
|
|
7372
7564
|
|
|
7373
7565
|
/** @internal */
|
|
@@ -7379,6 +7571,8 @@ export const GetProjectsProtectionBypass2$outboundSchema: z.ZodType<
|
|
|
7379
7571
|
createdAt: z.number(),
|
|
7380
7572
|
createdBy: z.string(),
|
|
7381
7573
|
scope: z.literal("automation-bypass"),
|
|
7574
|
+
isEnvVar: z.boolean().optional(),
|
|
7575
|
+
note: z.string().optional(),
|
|
7382
7576
|
});
|
|
7383
7577
|
|
|
7384
7578
|
export function getProjectsProtectionBypass2ToJSON(
|
|
@@ -10209,6 +10403,51 @@ export function getProjectsDismissedToastsFromJSON(
|
|
|
10209
10403
|
);
|
|
10210
10404
|
}
|
|
10211
10405
|
|
|
10406
|
+
/** @internal */
|
|
10407
|
+
export const GetProjectsCveShield$inboundSchema: z.ZodType<
|
|
10408
|
+
GetProjectsCveShield,
|
|
10409
|
+
z.ZodTypeDef,
|
|
10410
|
+
unknown
|
|
10411
|
+
> = z.object({
|
|
10412
|
+
enabled: z.boolean(),
|
|
10413
|
+
threshold: z.number().optional(),
|
|
10414
|
+
cveList: z.array(z.string()).optional(),
|
|
10415
|
+
});
|
|
10416
|
+
/** @internal */
|
|
10417
|
+
export type GetProjectsCveShield$Outbound = {
|
|
10418
|
+
enabled: boolean;
|
|
10419
|
+
threshold?: number | undefined;
|
|
10420
|
+
cveList?: Array<string> | undefined;
|
|
10421
|
+
};
|
|
10422
|
+
|
|
10423
|
+
/** @internal */
|
|
10424
|
+
export const GetProjectsCveShield$outboundSchema: z.ZodType<
|
|
10425
|
+
GetProjectsCveShield$Outbound,
|
|
10426
|
+
z.ZodTypeDef,
|
|
10427
|
+
GetProjectsCveShield
|
|
10428
|
+
> = z.object({
|
|
10429
|
+
enabled: z.boolean(),
|
|
10430
|
+
threshold: z.number().optional(),
|
|
10431
|
+
cveList: z.array(z.string()).optional(),
|
|
10432
|
+
});
|
|
10433
|
+
|
|
10434
|
+
export function getProjectsCveShieldToJSON(
|
|
10435
|
+
getProjectsCveShield: GetProjectsCveShield,
|
|
10436
|
+
): string {
|
|
10437
|
+
return JSON.stringify(
|
|
10438
|
+
GetProjectsCveShield$outboundSchema.parse(getProjectsCveShield),
|
|
10439
|
+
);
|
|
10440
|
+
}
|
|
10441
|
+
export function getProjectsCveShieldFromJSON(
|
|
10442
|
+
jsonString: string,
|
|
10443
|
+
): SafeParseResult<GetProjectsCveShield, SDKValidationError> {
|
|
10444
|
+
return safeParse(
|
|
10445
|
+
jsonString,
|
|
10446
|
+
(x) => GetProjectsCveShield$inboundSchema.parse(JSON.parse(x)),
|
|
10447
|
+
`Failed to parse 'GetProjectsCveShield' from JSON`,
|
|
10448
|
+
);
|
|
10449
|
+
}
|
|
10450
|
+
|
|
10212
10451
|
/** @internal */
|
|
10213
10452
|
export const GetProjectsProjects$inboundSchema: z.ZodType<
|
|
10214
10453
|
GetProjectsProjects,
|
|
@@ -10217,6 +10456,7 @@ export const GetProjectsProjects$inboundSchema: z.ZodType<
|
|
|
10217
10456
|
> = z.object({
|
|
10218
10457
|
accountId: z.string(),
|
|
10219
10458
|
analytics: z.lazy(() => GetProjectsAnalytics$inboundSchema).optional(),
|
|
10459
|
+
appliedCve55182Migration: z.boolean().optional(),
|
|
10220
10460
|
speedInsights: z.lazy(() => GetProjectsSpeedInsights$inboundSchema)
|
|
10221
10461
|
.optional(),
|
|
10222
10462
|
autoExposeSystemEnvs: z.boolean().optional(),
|
|
@@ -10290,6 +10530,7 @@ export const GetProjectsProjects$inboundSchema: z.ZodType<
|
|
|
10290
10530
|
serverlessFunctionZeroConfigFailover: z.boolean().optional(),
|
|
10291
10531
|
skewProtectionBoundaryAt: z.number().optional(),
|
|
10292
10532
|
skewProtectionMaxAge: z.number().optional(),
|
|
10533
|
+
skewProtectionAllowedDomains: z.array(z.string()).optional(),
|
|
10293
10534
|
skipGitConnectDuringLink: z.boolean().optional(),
|
|
10294
10535
|
staticIps: z.lazy(() => GetProjectsStaticIps$inboundSchema).optional(),
|
|
10295
10536
|
sourceFilesOutsideRootDirectory: z.boolean().optional(),
|
|
@@ -10350,11 +10591,13 @@ export const GetProjectsProjects$inboundSchema: z.ZodType<
|
|
|
10350
10591
|
dismissedToasts: z.array(
|
|
10351
10592
|
z.lazy(() => GetProjectsDismissedToasts$inboundSchema),
|
|
10352
10593
|
).optional(),
|
|
10594
|
+
cveShield: z.lazy(() => GetProjectsCveShield$inboundSchema).optional(),
|
|
10353
10595
|
});
|
|
10354
10596
|
/** @internal */
|
|
10355
10597
|
export type GetProjectsProjects$Outbound = {
|
|
10356
10598
|
accountId: string;
|
|
10357
10599
|
analytics?: GetProjectsAnalytics$Outbound | undefined;
|
|
10600
|
+
appliedCve55182Migration?: boolean | undefined;
|
|
10358
10601
|
speedInsights?: GetProjectsSpeedInsights$Outbound | undefined;
|
|
10359
10602
|
autoExposeSystemEnvs?: boolean | undefined;
|
|
10360
10603
|
autoAssignCustomDomains?: boolean | undefined;
|
|
@@ -10419,6 +10662,7 @@ export type GetProjectsProjects$Outbound = {
|
|
|
10419
10662
|
serverlessFunctionZeroConfigFailover?: boolean | undefined;
|
|
10420
10663
|
skewProtectionBoundaryAt?: number | undefined;
|
|
10421
10664
|
skewProtectionMaxAge?: number | undefined;
|
|
10665
|
+
skewProtectionAllowedDomains?: Array<string> | undefined;
|
|
10422
10666
|
skipGitConnectDuringLink?: boolean | undefined;
|
|
10423
10667
|
staticIps?: GetProjectsStaticIps$Outbound | undefined;
|
|
10424
10668
|
sourceFilesOutsideRootDirectory?: boolean | undefined;
|
|
@@ -10468,6 +10712,7 @@ export type GetProjectsProjects$Outbound = {
|
|
|
10468
10712
|
| undefined;
|
|
10469
10713
|
hasDeployments?: boolean | undefined;
|
|
10470
10714
|
dismissedToasts?: Array<GetProjectsDismissedToasts$Outbound> | undefined;
|
|
10715
|
+
cveShield?: GetProjectsCveShield$Outbound | undefined;
|
|
10471
10716
|
};
|
|
10472
10717
|
|
|
10473
10718
|
/** @internal */
|
|
@@ -10478,6 +10723,7 @@ export const GetProjectsProjects$outboundSchema: z.ZodType<
|
|
|
10478
10723
|
> = z.object({
|
|
10479
10724
|
accountId: z.string(),
|
|
10480
10725
|
analytics: z.lazy(() => GetProjectsAnalytics$outboundSchema).optional(),
|
|
10726
|
+
appliedCve55182Migration: z.boolean().optional(),
|
|
10481
10727
|
speedInsights: z.lazy(() => GetProjectsSpeedInsights$outboundSchema)
|
|
10482
10728
|
.optional(),
|
|
10483
10729
|
autoExposeSystemEnvs: z.boolean().optional(),
|
|
@@ -10551,6 +10797,7 @@ export const GetProjectsProjects$outboundSchema: z.ZodType<
|
|
|
10551
10797
|
serverlessFunctionZeroConfigFailover: z.boolean().optional(),
|
|
10552
10798
|
skewProtectionBoundaryAt: z.number().optional(),
|
|
10553
10799
|
skewProtectionMaxAge: z.number().optional(),
|
|
10800
|
+
skewProtectionAllowedDomains: z.array(z.string()).optional(),
|
|
10554
10801
|
skipGitConnectDuringLink: z.boolean().optional(),
|
|
10555
10802
|
staticIps: z.lazy(() => GetProjectsStaticIps$outboundSchema).optional(),
|
|
10556
10803
|
sourceFilesOutsideRootDirectory: z.boolean().optional(),
|
|
@@ -10611,6 +10858,7 @@ export const GetProjectsProjects$outboundSchema: z.ZodType<
|
|
|
10611
10858
|
dismissedToasts: z.array(
|
|
10612
10859
|
z.lazy(() => GetProjectsDismissedToasts$outboundSchema),
|
|
10613
10860
|
).optional(),
|
|
10861
|
+
cveShield: z.lazy(() => GetProjectsCveShield$outboundSchema).optional(),
|
|
10614
10862
|
});
|
|
10615
10863
|
|
|
10616
10864
|
export function getProjectsProjectsToJSON(
|