@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
|
@@ -17,6 +17,7 @@ export type View = ClosedEnum<typeof View>;
|
|
|
17
17
|
export const InstallationType = {
|
|
18
18
|
Marketplace: "marketplace",
|
|
19
19
|
External: "external",
|
|
20
|
+
Provisioning: "provisioning",
|
|
20
21
|
} as const;
|
|
21
22
|
export type InstallationType = ClosedEnum<typeof InstallationType>;
|
|
22
23
|
|
|
@@ -78,6 +79,25 @@ export type ResponseBodyIntegration = {
|
|
|
78
79
|
tagIds?: Array<TagIds> | undefined;
|
|
79
80
|
};
|
|
80
81
|
|
|
82
|
+
/**
|
|
83
|
+
* The configuration status. Optional. If not defined, assume 'ready'.
|
|
84
|
+
*/
|
|
85
|
+
export const GetConfigurationsResponseBodyIntegrationsStatus = {
|
|
86
|
+
Pending: "pending",
|
|
87
|
+
Ready: "ready",
|
|
88
|
+
Onboarding: "onboarding",
|
|
89
|
+
Suspended: "suspended",
|
|
90
|
+
Resumed: "resumed",
|
|
91
|
+
Error: "error",
|
|
92
|
+
Uninstalled: "uninstalled",
|
|
93
|
+
} as const;
|
|
94
|
+
/**
|
|
95
|
+
* The configuration status. Optional. If not defined, assume 'ready'.
|
|
96
|
+
*/
|
|
97
|
+
export type GetConfigurationsResponseBodyIntegrationsStatus = ClosedEnum<
|
|
98
|
+
typeof GetConfigurationsResponseBodyIntegrationsStatus
|
|
99
|
+
>;
|
|
100
|
+
|
|
81
101
|
export const GetConfigurationsResponseBodyIntegrationsType = {
|
|
82
102
|
IntegrationConfiguration: "integration-configuration",
|
|
83
103
|
} as const;
|
|
@@ -132,6 +152,14 @@ export type GetConfigurationsResponseBody2 = {
|
|
|
132
152
|
* The user or team ID that owns the configuration
|
|
133
153
|
*/
|
|
134
154
|
ownerId: string;
|
|
155
|
+
/**
|
|
156
|
+
* The configuration status. Optional. If not defined, assume 'ready'.
|
|
157
|
+
*/
|
|
158
|
+
status?: GetConfigurationsResponseBodyIntegrationsStatus | undefined;
|
|
159
|
+
/**
|
|
160
|
+
* An external identifier defined by the integration vendor.
|
|
161
|
+
*/
|
|
162
|
+
externalId?: string | undefined;
|
|
135
163
|
/**
|
|
136
164
|
* When a configuration is limited to access certain projects, this will contain each of the project ID it is allowed to access. If it is not defined, the configuration has full access.
|
|
137
165
|
*/
|
|
@@ -182,6 +210,25 @@ export type GetConfigurationsResponseBody2 = {
|
|
|
182
210
|
installationType?: GetConfigurationsResponseBodyInstallationType | undefined;
|
|
183
211
|
};
|
|
184
212
|
|
|
213
|
+
/**
|
|
214
|
+
* The configuration status. Optional. If not defined, assume 'ready'.
|
|
215
|
+
*/
|
|
216
|
+
export const GetConfigurationsResponseBodyStatus = {
|
|
217
|
+
Pending: "pending",
|
|
218
|
+
Ready: "ready",
|
|
219
|
+
Onboarding: "onboarding",
|
|
220
|
+
Suspended: "suspended",
|
|
221
|
+
Resumed: "resumed",
|
|
222
|
+
Error: "error",
|
|
223
|
+
Uninstalled: "uninstalled",
|
|
224
|
+
} as const;
|
|
225
|
+
/**
|
|
226
|
+
* The configuration status. Optional. If not defined, assume 'ready'.
|
|
227
|
+
*/
|
|
228
|
+
export type GetConfigurationsResponseBodyStatus = ClosedEnum<
|
|
229
|
+
typeof GetConfigurationsResponseBodyStatus
|
|
230
|
+
>;
|
|
231
|
+
|
|
185
232
|
export const GetConfigurationsResponseBodyType = {
|
|
186
233
|
IntegrationConfiguration: "integration-configuration",
|
|
187
234
|
} as const;
|
|
@@ -239,6 +286,14 @@ export type GetConfigurationsResponseBody1 = {
|
|
|
239
286
|
* The user or team ID that owns the configuration
|
|
240
287
|
*/
|
|
241
288
|
ownerId?: string | undefined;
|
|
289
|
+
/**
|
|
290
|
+
* The configuration status. Optional. If not defined, assume 'ready'.
|
|
291
|
+
*/
|
|
292
|
+
status?: GetConfigurationsResponseBodyStatus | undefined;
|
|
293
|
+
/**
|
|
294
|
+
* An external identifier defined by the integration vendor.
|
|
295
|
+
*/
|
|
296
|
+
externalId?: string | undefined;
|
|
242
297
|
/**
|
|
243
298
|
* When a configuration is limited to access certain projects, this will contain each of the project ID it is allowed to access. If it is not defined, the configuration has full access.
|
|
244
299
|
*/
|
|
@@ -423,6 +478,15 @@ export function responseBodyIntegrationFromJSON(
|
|
|
423
478
|
);
|
|
424
479
|
}
|
|
425
480
|
|
|
481
|
+
/** @internal */
|
|
482
|
+
export const GetConfigurationsResponseBodyIntegrationsStatus$inboundSchema:
|
|
483
|
+
z.ZodNativeEnum<typeof GetConfigurationsResponseBodyIntegrationsStatus> = z
|
|
484
|
+
.nativeEnum(GetConfigurationsResponseBodyIntegrationsStatus);
|
|
485
|
+
/** @internal */
|
|
486
|
+
export const GetConfigurationsResponseBodyIntegrationsStatus$outboundSchema:
|
|
487
|
+
z.ZodNativeEnum<typeof GetConfigurationsResponseBodyIntegrationsStatus> =
|
|
488
|
+
GetConfigurationsResponseBodyIntegrationsStatus$inboundSchema;
|
|
489
|
+
|
|
426
490
|
/** @internal */
|
|
427
491
|
export const GetConfigurationsResponseBodyIntegrationsType$inboundSchema:
|
|
428
492
|
z.ZodNativeEnum<typeof GetConfigurationsResponseBodyIntegrationsType> = z
|
|
@@ -464,6 +528,9 @@ export const GetConfigurationsResponseBody2$inboundSchema: z.ZodType<
|
|
|
464
528
|
id: z.string(),
|
|
465
529
|
integrationId: z.string(),
|
|
466
530
|
ownerId: z.string(),
|
|
531
|
+
status: GetConfigurationsResponseBodyIntegrationsStatus$inboundSchema
|
|
532
|
+
.optional(),
|
|
533
|
+
externalId: z.string().optional(),
|
|
467
534
|
projects: z.array(z.string()).optional(),
|
|
468
535
|
source: z.string().optional(),
|
|
469
536
|
slug: z.string(),
|
|
@@ -489,6 +556,8 @@ export type GetConfigurationsResponseBody2$Outbound = {
|
|
|
489
556
|
id: string;
|
|
490
557
|
integrationId: string;
|
|
491
558
|
ownerId: string;
|
|
559
|
+
status?: string | undefined;
|
|
560
|
+
externalId?: string | undefined;
|
|
492
561
|
projects?: Array<string> | undefined;
|
|
493
562
|
source?: string | undefined;
|
|
494
563
|
slug: string;
|
|
@@ -516,6 +585,9 @@ export const GetConfigurationsResponseBody2$outboundSchema: z.ZodType<
|
|
|
516
585
|
id: z.string(),
|
|
517
586
|
integrationId: z.string(),
|
|
518
587
|
ownerId: z.string(),
|
|
588
|
+
status: GetConfigurationsResponseBodyIntegrationsStatus$outboundSchema
|
|
589
|
+
.optional(),
|
|
590
|
+
externalId: z.string().optional(),
|
|
519
591
|
projects: z.array(z.string()).optional(),
|
|
520
592
|
source: z.string().optional(),
|
|
521
593
|
slug: z.string(),
|
|
@@ -553,6 +625,15 @@ export function getConfigurationsResponseBody2FromJSON(
|
|
|
553
625
|
);
|
|
554
626
|
}
|
|
555
627
|
|
|
628
|
+
/** @internal */
|
|
629
|
+
export const GetConfigurationsResponseBodyStatus$inboundSchema: z.ZodNativeEnum<
|
|
630
|
+
typeof GetConfigurationsResponseBodyStatus
|
|
631
|
+
> = z.nativeEnum(GetConfigurationsResponseBodyStatus);
|
|
632
|
+
/** @internal */
|
|
633
|
+
export const GetConfigurationsResponseBodyStatus$outboundSchema:
|
|
634
|
+
z.ZodNativeEnum<typeof GetConfigurationsResponseBodyStatus> =
|
|
635
|
+
GetConfigurationsResponseBodyStatus$inboundSchema;
|
|
636
|
+
|
|
556
637
|
/** @internal */
|
|
557
638
|
export const GetConfigurationsResponseBodyType$inboundSchema: z.ZodNativeEnum<
|
|
558
639
|
typeof GetConfigurationsResponseBodyType
|
|
@@ -591,6 +672,8 @@ export const GetConfigurationsResponseBody1$inboundSchema: z.ZodType<
|
|
|
591
672
|
id: z.string().optional(),
|
|
592
673
|
integrationId: z.string().optional(),
|
|
593
674
|
ownerId: z.string().optional(),
|
|
675
|
+
status: GetConfigurationsResponseBodyStatus$inboundSchema.optional(),
|
|
676
|
+
externalId: z.string().optional(),
|
|
594
677
|
projects: z.array(z.string()).optional(),
|
|
595
678
|
source: z.string().optional(),
|
|
596
679
|
slug: z.string().optional(),
|
|
@@ -613,6 +696,8 @@ export type GetConfigurationsResponseBody1$Outbound = {
|
|
|
613
696
|
id?: string | undefined;
|
|
614
697
|
integrationId?: string | undefined;
|
|
615
698
|
ownerId?: string | undefined;
|
|
699
|
+
status?: string | undefined;
|
|
700
|
+
externalId?: string | undefined;
|
|
616
701
|
projects?: Array<string> | undefined;
|
|
617
702
|
source?: string | undefined;
|
|
618
703
|
slug?: string | undefined;
|
|
@@ -639,6 +724,8 @@ export const GetConfigurationsResponseBody1$outboundSchema: z.ZodType<
|
|
|
639
724
|
id: z.string().optional(),
|
|
640
725
|
integrationId: z.string().optional(),
|
|
641
726
|
ownerId: z.string().optional(),
|
|
727
|
+
status: GetConfigurationsResponseBodyStatus$outboundSchema.optional(),
|
|
728
|
+
externalId: z.string().optional(),
|
|
642
729
|
projects: z.array(z.string()).optional(),
|
|
643
730
|
source: z.string().optional(),
|
|
644
731
|
slug: z.string().optional(),
|
|
@@ -23,7 +23,7 @@ export type Direction = ClosedEnum<typeof Direction>;
|
|
|
23
23
|
/**
|
|
24
24
|
* HTTP status code range to filter events by.
|
|
25
25
|
*/
|
|
26
|
-
export type
|
|
26
|
+
export type QueryParamStatusCode = number | string;
|
|
27
27
|
|
|
28
28
|
export type GetDeploymentEventsRequest = {
|
|
29
29
|
/**
|
|
@@ -359,31 +359,35 @@ export const Direction$outboundSchema: z.ZodNativeEnum<typeof Direction> =
|
|
|
359
359
|
Direction$inboundSchema;
|
|
360
360
|
|
|
361
361
|
/** @internal */
|
|
362
|
-
export const
|
|
363
|
-
|
|
362
|
+
export const QueryParamStatusCode$inboundSchema: z.ZodType<
|
|
363
|
+
QueryParamStatusCode,
|
|
364
364
|
z.ZodTypeDef,
|
|
365
365
|
unknown
|
|
366
366
|
> = z.union([z.number(), z.string()]);
|
|
367
367
|
/** @internal */
|
|
368
|
-
export type
|
|
368
|
+
export type QueryParamStatusCode$Outbound = number | string;
|
|
369
369
|
|
|
370
370
|
/** @internal */
|
|
371
|
-
export const
|
|
372
|
-
|
|
371
|
+
export const QueryParamStatusCode$outboundSchema: z.ZodType<
|
|
372
|
+
QueryParamStatusCode$Outbound,
|
|
373
373
|
z.ZodTypeDef,
|
|
374
|
-
|
|
374
|
+
QueryParamStatusCode
|
|
375
375
|
> = z.union([z.number(), z.string()]);
|
|
376
376
|
|
|
377
|
-
export function
|
|
378
|
-
|
|
377
|
+
export function queryParamStatusCodeToJSON(
|
|
378
|
+
queryParamStatusCode: QueryParamStatusCode,
|
|
379
|
+
): string {
|
|
380
|
+
return JSON.stringify(
|
|
381
|
+
QueryParamStatusCode$outboundSchema.parse(queryParamStatusCode),
|
|
382
|
+
);
|
|
379
383
|
}
|
|
380
|
-
export function
|
|
384
|
+
export function queryParamStatusCodeFromJSON(
|
|
381
385
|
jsonString: string,
|
|
382
|
-
): SafeParseResult<
|
|
386
|
+
): SafeParseResult<QueryParamStatusCode, SDKValidationError> {
|
|
383
387
|
return safeParse(
|
|
384
388
|
jsonString,
|
|
385
|
-
(x) =>
|
|
386
|
-
`Failed to parse '
|
|
389
|
+
(x) => QueryParamStatusCode$inboundSchema.parse(JSON.parse(x)),
|
|
390
|
+
`Failed to parse 'QueryParamStatusCode' from JSON`,
|
|
387
391
|
);
|
|
388
392
|
}
|
|
389
393
|
|
|
@@ -295,6 +295,22 @@ export type GetDeploymentResponseBodyChecksConclusion = ClosedEnum<
|
|
|
295
295
|
typeof GetDeploymentResponseBodyChecksConclusion
|
|
296
296
|
>;
|
|
297
297
|
|
|
298
|
+
export type ResponseBodyCve = {
|
|
299
|
+
id: string;
|
|
300
|
+
score: number;
|
|
301
|
+
description?: string | undefined;
|
|
302
|
+
link?: string | undefined;
|
|
303
|
+
};
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* Since December 2025 - Temporary for Christmas hackathon 2025 CVE vulnerabilities found during build, only populated when CVE Shield is enabled and vulnerabilities are detected. Only accessible when CveShieldEnabled feature flag is enabled
|
|
307
|
+
*/
|
|
308
|
+
export type ResponseBodyCveVulnerabilities = {
|
|
309
|
+
packageName: string;
|
|
310
|
+
packageVersion: string;
|
|
311
|
+
cve: ResponseBodyCve;
|
|
312
|
+
};
|
|
313
|
+
|
|
298
314
|
export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody215Type =
|
|
299
315
|
{
|
|
300
316
|
Bitbucket: "bitbucket",
|
|
@@ -695,7 +711,7 @@ export type GetDeploymentResponseBodyOidcTokenClaims = {
|
|
|
695
711
|
project: string;
|
|
696
712
|
projectId: string;
|
|
697
713
|
environment: string;
|
|
698
|
-
plan
|
|
714
|
+
plan?: string | undefined;
|
|
699
715
|
};
|
|
700
716
|
|
|
701
717
|
/**
|
|
@@ -788,6 +804,10 @@ export type GetDeploymentResponseBody2 = {
|
|
|
788
804
|
*/
|
|
789
805
|
defaultRoute?: string | undefined;
|
|
790
806
|
canceledAt?: number | undefined;
|
|
807
|
+
/**
|
|
808
|
+
* Since December 2025 - Temporary for Christmas hackathon 2025 CVE vulnerabilities found during build, only populated when CVE Shield is enabled and vulnerabilities are detected. Only accessible when CveShieldEnabled feature flag is enabled
|
|
809
|
+
*/
|
|
810
|
+
cveVulnerabilities?: Array<ResponseBodyCveVulnerabilities> | undefined;
|
|
791
811
|
errorCode?: string | undefined;
|
|
792
812
|
errorLink?: string | undefined;
|
|
793
813
|
errorMessage?: string | null | undefined;
|
|
@@ -1332,6 +1352,22 @@ export type ResponseBodyChecksConclusion = ClosedEnum<
|
|
|
1332
1352
|
typeof ResponseBodyChecksConclusion
|
|
1333
1353
|
>;
|
|
1334
1354
|
|
|
1355
|
+
export type GetDeploymentResponseBodyCve = {
|
|
1356
|
+
id: string;
|
|
1357
|
+
score: number;
|
|
1358
|
+
description?: string | undefined;
|
|
1359
|
+
link?: string | undefined;
|
|
1360
|
+
};
|
|
1361
|
+
|
|
1362
|
+
/**
|
|
1363
|
+
* Since December 2025 - Temporary for Christmas hackathon 2025 CVE vulnerabilities found during build, only populated when CVE Shield is enabled and vulnerabilities are detected. Only accessible when CveShieldEnabled feature flag is enabled
|
|
1364
|
+
*/
|
|
1365
|
+
export type GetDeploymentResponseBodyCveVulnerabilities = {
|
|
1366
|
+
packageName: string;
|
|
1367
|
+
packageVersion: string;
|
|
1368
|
+
cve: GetDeploymentResponseBodyCve;
|
|
1369
|
+
};
|
|
1370
|
+
|
|
1335
1371
|
export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody115Type =
|
|
1336
1372
|
{
|
|
1337
1373
|
Bitbucket: "bitbucket",
|
|
@@ -1716,7 +1752,7 @@ export type ResponseBodyOidcTokenClaims = {
|
|
|
1716
1752
|
project: string;
|
|
1717
1753
|
projectId: string;
|
|
1718
1754
|
environment: string;
|
|
1719
|
-
plan
|
|
1755
|
+
plan?: string | undefined;
|
|
1720
1756
|
};
|
|
1721
1757
|
|
|
1722
1758
|
export const ResponseBodyPlan = {
|
|
@@ -2041,6 +2077,7 @@ export type GetDeploymentRoutes1 = {
|
|
|
2041
2077
|
| undefined;
|
|
2042
2078
|
mitigate?: GetDeploymentRoutesMitigate | undefined;
|
|
2043
2079
|
transforms?: Array<GetDeploymentRoutesTransforms> | undefined;
|
|
2080
|
+
env?: Array<string> | undefined;
|
|
2044
2081
|
locale?: GetDeploymentRoutesLocale | undefined;
|
|
2045
2082
|
/**
|
|
2046
2083
|
* A middleware key within the `output` key under the build result. Overrides a `middleware` definition.
|
|
@@ -2368,6 +2405,12 @@ export type GetDeploymentResponseBody1 = {
|
|
|
2368
2405
|
*/
|
|
2369
2406
|
defaultRoute?: string | undefined;
|
|
2370
2407
|
canceledAt?: number | undefined;
|
|
2408
|
+
/**
|
|
2409
|
+
* Since December 2025 - Temporary for Christmas hackathon 2025 CVE vulnerabilities found during build, only populated when CVE Shield is enabled and vulnerabilities are detected. Only accessible when CveShieldEnabled feature flag is enabled
|
|
2410
|
+
*/
|
|
2411
|
+
cveVulnerabilities?:
|
|
2412
|
+
| Array<GetDeploymentResponseBodyCveVulnerabilities>
|
|
2413
|
+
| undefined;
|
|
2371
2414
|
errorCode?: string | undefined;
|
|
2372
2415
|
errorLink?: string | undefined;
|
|
2373
2416
|
errorMessage?: string | null | undefined;
|
|
@@ -3247,6 +3290,99 @@ export const GetDeploymentResponseBodyChecksConclusion$outboundSchema:
|
|
|
3247
3290
|
z.ZodNativeEnum<typeof GetDeploymentResponseBodyChecksConclusion> =
|
|
3248
3291
|
GetDeploymentResponseBodyChecksConclusion$inboundSchema;
|
|
3249
3292
|
|
|
3293
|
+
/** @internal */
|
|
3294
|
+
export const ResponseBodyCve$inboundSchema: z.ZodType<
|
|
3295
|
+
ResponseBodyCve,
|
|
3296
|
+
z.ZodTypeDef,
|
|
3297
|
+
unknown
|
|
3298
|
+
> = z.object({
|
|
3299
|
+
id: z.string(),
|
|
3300
|
+
score: z.number(),
|
|
3301
|
+
description: z.string().optional(),
|
|
3302
|
+
link: z.string().optional(),
|
|
3303
|
+
});
|
|
3304
|
+
/** @internal */
|
|
3305
|
+
export type ResponseBodyCve$Outbound = {
|
|
3306
|
+
id: string;
|
|
3307
|
+
score: number;
|
|
3308
|
+
description?: string | undefined;
|
|
3309
|
+
link?: string | undefined;
|
|
3310
|
+
};
|
|
3311
|
+
|
|
3312
|
+
/** @internal */
|
|
3313
|
+
export const ResponseBodyCve$outboundSchema: z.ZodType<
|
|
3314
|
+
ResponseBodyCve$Outbound,
|
|
3315
|
+
z.ZodTypeDef,
|
|
3316
|
+
ResponseBodyCve
|
|
3317
|
+
> = z.object({
|
|
3318
|
+
id: z.string(),
|
|
3319
|
+
score: z.number(),
|
|
3320
|
+
description: z.string().optional(),
|
|
3321
|
+
link: z.string().optional(),
|
|
3322
|
+
});
|
|
3323
|
+
|
|
3324
|
+
export function responseBodyCveToJSON(
|
|
3325
|
+
responseBodyCve: ResponseBodyCve,
|
|
3326
|
+
): string {
|
|
3327
|
+
return JSON.stringify(ResponseBodyCve$outboundSchema.parse(responseBodyCve));
|
|
3328
|
+
}
|
|
3329
|
+
export function responseBodyCveFromJSON(
|
|
3330
|
+
jsonString: string,
|
|
3331
|
+
): SafeParseResult<ResponseBodyCve, SDKValidationError> {
|
|
3332
|
+
return safeParse(
|
|
3333
|
+
jsonString,
|
|
3334
|
+
(x) => ResponseBodyCve$inboundSchema.parse(JSON.parse(x)),
|
|
3335
|
+
`Failed to parse 'ResponseBodyCve' from JSON`,
|
|
3336
|
+
);
|
|
3337
|
+
}
|
|
3338
|
+
|
|
3339
|
+
/** @internal */
|
|
3340
|
+
export const ResponseBodyCveVulnerabilities$inboundSchema: z.ZodType<
|
|
3341
|
+
ResponseBodyCveVulnerabilities,
|
|
3342
|
+
z.ZodTypeDef,
|
|
3343
|
+
unknown
|
|
3344
|
+
> = z.object({
|
|
3345
|
+
packageName: z.string(),
|
|
3346
|
+
packageVersion: z.string(),
|
|
3347
|
+
cve: z.lazy(() => ResponseBodyCve$inboundSchema),
|
|
3348
|
+
});
|
|
3349
|
+
/** @internal */
|
|
3350
|
+
export type ResponseBodyCveVulnerabilities$Outbound = {
|
|
3351
|
+
packageName: string;
|
|
3352
|
+
packageVersion: string;
|
|
3353
|
+
cve: ResponseBodyCve$Outbound;
|
|
3354
|
+
};
|
|
3355
|
+
|
|
3356
|
+
/** @internal */
|
|
3357
|
+
export const ResponseBodyCveVulnerabilities$outboundSchema: z.ZodType<
|
|
3358
|
+
ResponseBodyCveVulnerabilities$Outbound,
|
|
3359
|
+
z.ZodTypeDef,
|
|
3360
|
+
ResponseBodyCveVulnerabilities
|
|
3361
|
+
> = z.object({
|
|
3362
|
+
packageName: z.string(),
|
|
3363
|
+
packageVersion: z.string(),
|
|
3364
|
+
cve: z.lazy(() => ResponseBodyCve$outboundSchema),
|
|
3365
|
+
});
|
|
3366
|
+
|
|
3367
|
+
export function responseBodyCveVulnerabilitiesToJSON(
|
|
3368
|
+
responseBodyCveVulnerabilities: ResponseBodyCveVulnerabilities,
|
|
3369
|
+
): string {
|
|
3370
|
+
return JSON.stringify(
|
|
3371
|
+
ResponseBodyCveVulnerabilities$outboundSchema.parse(
|
|
3372
|
+
responseBodyCveVulnerabilities,
|
|
3373
|
+
),
|
|
3374
|
+
);
|
|
3375
|
+
}
|
|
3376
|
+
export function responseBodyCveVulnerabilitiesFromJSON(
|
|
3377
|
+
jsonString: string,
|
|
3378
|
+
): SafeParseResult<ResponseBodyCveVulnerabilities, SDKValidationError> {
|
|
3379
|
+
return safeParse(
|
|
3380
|
+
jsonString,
|
|
3381
|
+
(x) => ResponseBodyCveVulnerabilities$inboundSchema.parse(JSON.parse(x)),
|
|
3382
|
+
`Failed to parse 'ResponseBodyCveVulnerabilities' from JSON`,
|
|
3383
|
+
);
|
|
3384
|
+
}
|
|
3385
|
+
|
|
3250
3386
|
/** @internal */
|
|
3251
3387
|
export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody215Type$inboundSchema:
|
|
3252
3388
|
z.ZodNativeEnum<
|
|
@@ -4642,7 +4778,7 @@ export const GetDeploymentResponseBodyOidcTokenClaims$inboundSchema: z.ZodType<
|
|
|
4642
4778
|
project: z.string(),
|
|
4643
4779
|
project_id: z.string(),
|
|
4644
4780
|
environment: z.string(),
|
|
4645
|
-
plan: z.string(),
|
|
4781
|
+
plan: z.string().optional(),
|
|
4646
4782
|
}).transform((v) => {
|
|
4647
4783
|
return remap$(v, {
|
|
4648
4784
|
"owner_id": "ownerId",
|
|
@@ -4660,7 +4796,7 @@ export type GetDeploymentResponseBodyOidcTokenClaims$Outbound = {
|
|
|
4660
4796
|
project: string;
|
|
4661
4797
|
project_id: string;
|
|
4662
4798
|
environment: string;
|
|
4663
|
-
plan
|
|
4799
|
+
plan?: string | undefined;
|
|
4664
4800
|
};
|
|
4665
4801
|
|
|
4666
4802
|
/** @internal */
|
|
@@ -4678,7 +4814,7 @@ export const GetDeploymentResponseBodyOidcTokenClaims$outboundSchema: z.ZodType<
|
|
|
4678
4814
|
project: z.string(),
|
|
4679
4815
|
projectId: z.string(),
|
|
4680
4816
|
environment: z.string(),
|
|
4681
|
-
plan: z.string(),
|
|
4817
|
+
plan: z.string().optional(),
|
|
4682
4818
|
}).transform((v) => {
|
|
4683
4819
|
return remap$(v, {
|
|
4684
4820
|
ownerId: "owner_id",
|
|
@@ -4760,6 +4896,9 @@ export const GetDeploymentResponseBody2$inboundSchema: z.ZodType<
|
|
|
4760
4896
|
deletedAt: z.nullable(z.number()).optional(),
|
|
4761
4897
|
defaultRoute: z.string().optional(),
|
|
4762
4898
|
canceledAt: z.number().optional(),
|
|
4899
|
+
cveVulnerabilities: z.array(
|
|
4900
|
+
z.lazy(() => ResponseBodyCveVulnerabilities$inboundSchema),
|
|
4901
|
+
).optional(),
|
|
4763
4902
|
errorCode: z.string().optional(),
|
|
4764
4903
|
errorLink: z.string().optional(),
|
|
4765
4904
|
errorMessage: z.nullable(z.string()).optional(),
|
|
@@ -4841,6 +4980,9 @@ export type GetDeploymentResponseBody2$Outbound = {
|
|
|
4841
4980
|
deletedAt?: number | null | undefined;
|
|
4842
4981
|
defaultRoute?: string | undefined;
|
|
4843
4982
|
canceledAt?: number | undefined;
|
|
4983
|
+
cveVulnerabilities?:
|
|
4984
|
+
| Array<ResponseBodyCveVulnerabilities$Outbound>
|
|
4985
|
+
| undefined;
|
|
4844
4986
|
errorCode?: string | undefined;
|
|
4845
4987
|
errorLink?: string | undefined;
|
|
4846
4988
|
errorMessage?: string | null | undefined;
|
|
@@ -4930,6 +5072,9 @@ export const GetDeploymentResponseBody2$outboundSchema: z.ZodType<
|
|
|
4930
5072
|
deletedAt: z.nullable(z.number()).optional(),
|
|
4931
5073
|
defaultRoute: z.string().optional(),
|
|
4932
5074
|
canceledAt: z.number().optional(),
|
|
5075
|
+
cveVulnerabilities: z.array(
|
|
5076
|
+
z.lazy(() => ResponseBodyCveVulnerabilities$outboundSchema),
|
|
5077
|
+
).optional(),
|
|
4933
5078
|
errorCode: z.string().optional(),
|
|
4934
5079
|
errorLink: z.string().optional(),
|
|
4935
5080
|
errorMessage: z.nullable(z.string()).optional(),
|
|
@@ -6316,6 +6461,112 @@ export const ResponseBodyChecksConclusion$outboundSchema: z.ZodNativeEnum<
|
|
|
6316
6461
|
typeof ResponseBodyChecksConclusion
|
|
6317
6462
|
> = ResponseBodyChecksConclusion$inboundSchema;
|
|
6318
6463
|
|
|
6464
|
+
/** @internal */
|
|
6465
|
+
export const GetDeploymentResponseBodyCve$inboundSchema: z.ZodType<
|
|
6466
|
+
GetDeploymentResponseBodyCve,
|
|
6467
|
+
z.ZodTypeDef,
|
|
6468
|
+
unknown
|
|
6469
|
+
> = z.object({
|
|
6470
|
+
id: z.string(),
|
|
6471
|
+
score: z.number(),
|
|
6472
|
+
description: z.string().optional(),
|
|
6473
|
+
link: z.string().optional(),
|
|
6474
|
+
});
|
|
6475
|
+
/** @internal */
|
|
6476
|
+
export type GetDeploymentResponseBodyCve$Outbound = {
|
|
6477
|
+
id: string;
|
|
6478
|
+
score: number;
|
|
6479
|
+
description?: string | undefined;
|
|
6480
|
+
link?: string | undefined;
|
|
6481
|
+
};
|
|
6482
|
+
|
|
6483
|
+
/** @internal */
|
|
6484
|
+
export const GetDeploymentResponseBodyCve$outboundSchema: z.ZodType<
|
|
6485
|
+
GetDeploymentResponseBodyCve$Outbound,
|
|
6486
|
+
z.ZodTypeDef,
|
|
6487
|
+
GetDeploymentResponseBodyCve
|
|
6488
|
+
> = z.object({
|
|
6489
|
+
id: z.string(),
|
|
6490
|
+
score: z.number(),
|
|
6491
|
+
description: z.string().optional(),
|
|
6492
|
+
link: z.string().optional(),
|
|
6493
|
+
});
|
|
6494
|
+
|
|
6495
|
+
export function getDeploymentResponseBodyCveToJSON(
|
|
6496
|
+
getDeploymentResponseBodyCve: GetDeploymentResponseBodyCve,
|
|
6497
|
+
): string {
|
|
6498
|
+
return JSON.stringify(
|
|
6499
|
+
GetDeploymentResponseBodyCve$outboundSchema.parse(
|
|
6500
|
+
getDeploymentResponseBodyCve,
|
|
6501
|
+
),
|
|
6502
|
+
);
|
|
6503
|
+
}
|
|
6504
|
+
export function getDeploymentResponseBodyCveFromJSON(
|
|
6505
|
+
jsonString: string,
|
|
6506
|
+
): SafeParseResult<GetDeploymentResponseBodyCve, SDKValidationError> {
|
|
6507
|
+
return safeParse(
|
|
6508
|
+
jsonString,
|
|
6509
|
+
(x) => GetDeploymentResponseBodyCve$inboundSchema.parse(JSON.parse(x)),
|
|
6510
|
+
`Failed to parse 'GetDeploymentResponseBodyCve' from JSON`,
|
|
6511
|
+
);
|
|
6512
|
+
}
|
|
6513
|
+
|
|
6514
|
+
/** @internal */
|
|
6515
|
+
export const GetDeploymentResponseBodyCveVulnerabilities$inboundSchema:
|
|
6516
|
+
z.ZodType<
|
|
6517
|
+
GetDeploymentResponseBodyCveVulnerabilities,
|
|
6518
|
+
z.ZodTypeDef,
|
|
6519
|
+
unknown
|
|
6520
|
+
> = z.object({
|
|
6521
|
+
packageName: z.string(),
|
|
6522
|
+
packageVersion: z.string(),
|
|
6523
|
+
cve: z.lazy(() => GetDeploymentResponseBodyCve$inboundSchema),
|
|
6524
|
+
});
|
|
6525
|
+
/** @internal */
|
|
6526
|
+
export type GetDeploymentResponseBodyCveVulnerabilities$Outbound = {
|
|
6527
|
+
packageName: string;
|
|
6528
|
+
packageVersion: string;
|
|
6529
|
+
cve: GetDeploymentResponseBodyCve$Outbound;
|
|
6530
|
+
};
|
|
6531
|
+
|
|
6532
|
+
/** @internal */
|
|
6533
|
+
export const GetDeploymentResponseBodyCveVulnerabilities$outboundSchema:
|
|
6534
|
+
z.ZodType<
|
|
6535
|
+
GetDeploymentResponseBodyCveVulnerabilities$Outbound,
|
|
6536
|
+
z.ZodTypeDef,
|
|
6537
|
+
GetDeploymentResponseBodyCveVulnerabilities
|
|
6538
|
+
> = z.object({
|
|
6539
|
+
packageName: z.string(),
|
|
6540
|
+
packageVersion: z.string(),
|
|
6541
|
+
cve: z.lazy(() => GetDeploymentResponseBodyCve$outboundSchema),
|
|
6542
|
+
});
|
|
6543
|
+
|
|
6544
|
+
export function getDeploymentResponseBodyCveVulnerabilitiesToJSON(
|
|
6545
|
+
getDeploymentResponseBodyCveVulnerabilities:
|
|
6546
|
+
GetDeploymentResponseBodyCveVulnerabilities,
|
|
6547
|
+
): string {
|
|
6548
|
+
return JSON.stringify(
|
|
6549
|
+
GetDeploymentResponseBodyCveVulnerabilities$outboundSchema.parse(
|
|
6550
|
+
getDeploymentResponseBodyCveVulnerabilities,
|
|
6551
|
+
),
|
|
6552
|
+
);
|
|
6553
|
+
}
|
|
6554
|
+
export function getDeploymentResponseBodyCveVulnerabilitiesFromJSON(
|
|
6555
|
+
jsonString: string,
|
|
6556
|
+
): SafeParseResult<
|
|
6557
|
+
GetDeploymentResponseBodyCveVulnerabilities,
|
|
6558
|
+
SDKValidationError
|
|
6559
|
+
> {
|
|
6560
|
+
return safeParse(
|
|
6561
|
+
jsonString,
|
|
6562
|
+
(x) =>
|
|
6563
|
+
GetDeploymentResponseBodyCveVulnerabilities$inboundSchema.parse(
|
|
6564
|
+
JSON.parse(x),
|
|
6565
|
+
),
|
|
6566
|
+
`Failed to parse 'GetDeploymentResponseBodyCveVulnerabilities' from JSON`,
|
|
6567
|
+
);
|
|
6568
|
+
}
|
|
6569
|
+
|
|
6319
6570
|
/** @internal */
|
|
6320
6571
|
export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody115Type$inboundSchema:
|
|
6321
6572
|
z.ZodNativeEnum<
|
|
@@ -7711,7 +7962,7 @@ export const ResponseBodyOidcTokenClaims$inboundSchema: z.ZodType<
|
|
|
7711
7962
|
project: z.string(),
|
|
7712
7963
|
project_id: z.string(),
|
|
7713
7964
|
environment: z.string(),
|
|
7714
|
-
plan: z.string(),
|
|
7965
|
+
plan: z.string().optional(),
|
|
7715
7966
|
}).transform((v) => {
|
|
7716
7967
|
return remap$(v, {
|
|
7717
7968
|
"owner_id": "ownerId",
|
|
@@ -7729,7 +7980,7 @@ export type ResponseBodyOidcTokenClaims$Outbound = {
|
|
|
7729
7980
|
project: string;
|
|
7730
7981
|
project_id: string;
|
|
7731
7982
|
environment: string;
|
|
7732
|
-
plan
|
|
7983
|
+
plan?: string | undefined;
|
|
7733
7984
|
};
|
|
7734
7985
|
|
|
7735
7986
|
/** @internal */
|
|
@@ -7747,7 +7998,7 @@ export const ResponseBodyOidcTokenClaims$outboundSchema: z.ZodType<
|
|
|
7747
7998
|
project: z.string(),
|
|
7748
7999
|
projectId: z.string(),
|
|
7749
8000
|
environment: z.string(),
|
|
7750
|
-
plan: z.string(),
|
|
8001
|
+
plan: z.string().optional(),
|
|
7751
8002
|
}).transform((v) => {
|
|
7752
8003
|
return remap$(v, {
|
|
7753
8004
|
ownerId: "owner_id",
|
|
@@ -9421,6 +9672,7 @@ export const GetDeploymentRoutes1$inboundSchema: z.ZodType<
|
|
|
9421
9672
|
mitigate: z.lazy(() => GetDeploymentRoutesMitigate$inboundSchema).optional(),
|
|
9422
9673
|
transforms: z.array(z.lazy(() => GetDeploymentRoutesTransforms$inboundSchema))
|
|
9423
9674
|
.optional(),
|
|
9675
|
+
env: z.array(z.string()).optional(),
|
|
9424
9676
|
locale: z.lazy(() => GetDeploymentRoutesLocale$inboundSchema).optional(),
|
|
9425
9677
|
middlewarePath: z.string().optional(),
|
|
9426
9678
|
middlewareRawSrc: z.array(z.string()).optional(),
|
|
@@ -9456,6 +9708,7 @@ export type GetDeploymentRoutes1$Outbound = {
|
|
|
9456
9708
|
| undefined;
|
|
9457
9709
|
mitigate?: GetDeploymentRoutesMitigate$Outbound | undefined;
|
|
9458
9710
|
transforms?: Array<GetDeploymentRoutesTransforms$Outbound> | undefined;
|
|
9711
|
+
env?: Array<string> | undefined;
|
|
9459
9712
|
locale?: GetDeploymentRoutesLocale$Outbound | undefined;
|
|
9460
9713
|
middlewarePath?: string | undefined;
|
|
9461
9714
|
middlewareRawSrc?: Array<string> | undefined;
|
|
@@ -9510,6 +9763,7 @@ export const GetDeploymentRoutes1$outboundSchema: z.ZodType<
|
|
|
9510
9763
|
transforms: z.array(
|
|
9511
9764
|
z.lazy(() => GetDeploymentRoutesTransforms$outboundSchema),
|
|
9512
9765
|
).optional(),
|
|
9766
|
+
env: z.array(z.string()).optional(),
|
|
9513
9767
|
locale: z.lazy(() => GetDeploymentRoutesLocale$outboundSchema).optional(),
|
|
9514
9768
|
middlewarePath: z.string().optional(),
|
|
9515
9769
|
middlewareRawSrc: z.array(z.string()).optional(),
|
|
@@ -10445,6 +10699,9 @@ export const GetDeploymentResponseBody1$inboundSchema: z.ZodType<
|
|
|
10445
10699
|
deletedAt: z.nullable(z.number()).optional(),
|
|
10446
10700
|
defaultRoute: z.string().optional(),
|
|
10447
10701
|
canceledAt: z.number().optional(),
|
|
10702
|
+
cveVulnerabilities: z.array(
|
|
10703
|
+
z.lazy(() => GetDeploymentResponseBodyCveVulnerabilities$inboundSchema),
|
|
10704
|
+
).optional(),
|
|
10448
10705
|
errorCode: z.string().optional(),
|
|
10449
10706
|
errorLink: z.string().optional(),
|
|
10450
10707
|
errorMessage: z.nullable(z.string()).optional(),
|
|
@@ -10577,6 +10834,9 @@ export type GetDeploymentResponseBody1$Outbound = {
|
|
|
10577
10834
|
deletedAt?: number | null | undefined;
|
|
10578
10835
|
defaultRoute?: string | undefined;
|
|
10579
10836
|
canceledAt?: number | undefined;
|
|
10837
|
+
cveVulnerabilities?:
|
|
10838
|
+
| Array<GetDeploymentResponseBodyCveVulnerabilities$Outbound>
|
|
10839
|
+
| undefined;
|
|
10580
10840
|
errorCode?: string | undefined;
|
|
10581
10841
|
errorLink?: string | undefined;
|
|
10582
10842
|
errorMessage?: string | null | undefined;
|
|
@@ -10714,6 +10974,9 @@ export const GetDeploymentResponseBody1$outboundSchema: z.ZodType<
|
|
|
10714
10974
|
deletedAt: z.nullable(z.number()).optional(),
|
|
10715
10975
|
defaultRoute: z.string().optional(),
|
|
10716
10976
|
canceledAt: z.number().optional(),
|
|
10977
|
+
cveVulnerabilities: z.array(
|
|
10978
|
+
z.lazy(() => GetDeploymentResponseBodyCveVulnerabilities$outboundSchema),
|
|
10979
|
+
).optional(),
|
|
10717
10980
|
errorCode: z.string().optional(),
|
|
10718
10981
|
errorLink: z.string().optional(),
|
|
10719
10982
|
errorMessage: z.nullable(z.string()).optional(),
|
|
@@ -51,6 +51,10 @@ export type GetEdgeConfigResponseBody = {
|
|
|
51
51
|
createdAt: number;
|
|
52
52
|
updatedAt: number;
|
|
53
53
|
deletedAt?: number | null | undefined;
|
|
54
|
+
/**
|
|
55
|
+
* The ID of the user who created the Edge Config, optional because it is not always set.
|
|
56
|
+
*/
|
|
57
|
+
createdBy?: string | undefined;
|
|
54
58
|
id: string;
|
|
55
59
|
/**
|
|
56
60
|
* Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores).
|
|
@@ -329,6 +333,7 @@ export const GetEdgeConfigResponseBody$inboundSchema: z.ZodType<
|
|
|
329
333
|
createdAt: z.number(),
|
|
330
334
|
updatedAt: z.number(),
|
|
331
335
|
deletedAt: z.nullable(z.number()).optional(),
|
|
336
|
+
createdBy: z.string().optional(),
|
|
332
337
|
id: z.string(),
|
|
333
338
|
slug: z.string(),
|
|
334
339
|
ownerId: z.string(),
|
|
@@ -348,6 +353,7 @@ export type GetEdgeConfigResponseBody$Outbound = {
|
|
|
348
353
|
createdAt: number;
|
|
349
354
|
updatedAt: number;
|
|
350
355
|
deletedAt?: number | null | undefined;
|
|
356
|
+
createdBy?: string | undefined;
|
|
351
357
|
id: string;
|
|
352
358
|
slug: string;
|
|
353
359
|
ownerId: string;
|
|
@@ -372,6 +378,7 @@ export const GetEdgeConfigResponseBody$outboundSchema: z.ZodType<
|
|
|
372
378
|
createdAt: z.number(),
|
|
373
379
|
updatedAt: z.number(),
|
|
374
380
|
deletedAt: z.nullable(z.number()).optional(),
|
|
381
|
+
createdBy: z.string().optional(),
|
|
375
382
|
id: z.string(),
|
|
376
383
|
slug: z.string(),
|
|
377
384
|
ownerId: z.string(),
|