@vercel/sdk 1.2.0 → 1.2.1
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/FUNCTIONS.md +2 -0
- package/README.md +21 -5
- package/RUNTIMES.md +27 -1
- package/docs/sdks/accessgroups/README.md +58 -14
- package/docs/sdks/aliases/README.md +20 -0
- package/docs/sdks/artifacts/README.md +32 -8
- package/docs/sdks/authentication/README.md +4 -0
- package/docs/sdks/certs/README.md +16 -0
- package/docs/sdks/checks/README.md +20 -0
- package/docs/sdks/deployments/README.md +40 -2
- package/docs/sdks/dns/README.md +16 -0
- package/docs/sdks/domains/README.md +40 -0
- package/docs/sdks/edgeconfig/README.md +68 -2
- package/docs/sdks/integrations/README.md +16 -0
- package/docs/sdks/logdrains/README.md +36 -4
- package/docs/sdks/projectmembers/README.md +12 -0
- package/docs/sdks/projects/README.md +76 -0
- package/docs/sdks/security/README.md +16 -0
- package/docs/sdks/teams/README.md +28 -22
- package/docs/sdks/user/README.md +4 -0
- package/docs/sdks/vercel/README.md +1 -1
- package/docs/sdks/webhooks/README.md +20 -2
- package/esm/funcs/accessGroupsCreateAccessGroup.js +4 -4
- package/esm/funcs/accessGroupsCreateAccessGroup.js.map +1 -1
- package/esm/funcs/accessGroupsCreateAccessGroupProject.js +4 -4
- package/esm/funcs/accessGroupsCreateAccessGroupProject.js.map +1 -1
- package/esm/funcs/accessGroupsDeleteAccessGroup.js +4 -4
- package/esm/funcs/accessGroupsDeleteAccessGroup.js.map +1 -1
- package/esm/funcs/accessGroupsDeleteAccessGroupProject.js +4 -4
- package/esm/funcs/accessGroupsDeleteAccessGroupProject.js.map +1 -1
- package/esm/funcs/accessGroupsListAccessGroupMembers.js +4 -4
- package/esm/funcs/accessGroupsListAccessGroupMembers.js.map +1 -1
- package/esm/funcs/accessGroupsListAccessGroupProjects.js +4 -4
- package/esm/funcs/accessGroupsListAccessGroupProjects.js.map +1 -1
- package/esm/funcs/accessGroupsListAccessGroups.js +4 -4
- package/esm/funcs/accessGroupsListAccessGroups.js.map +1 -1
- package/esm/funcs/accessGroupsReadAccessGroup.js +4 -4
- package/esm/funcs/accessGroupsReadAccessGroup.js.map +1 -1
- package/esm/funcs/accessGroupsReadAccessGroupProject.js +4 -4
- package/esm/funcs/accessGroupsReadAccessGroupProject.js.map +1 -1
- package/esm/funcs/accessGroupsUpdateAccessGroup.js +4 -4
- package/esm/funcs/accessGroupsUpdateAccessGroup.js.map +1 -1
- package/esm/funcs/accessGroupsUpdateAccessGroupProject.js +4 -4
- package/esm/funcs/accessGroupsUpdateAccessGroupProject.js.map +1 -1
- package/esm/funcs/aliasesAssignAlias.js +4 -4
- package/esm/funcs/aliasesAssignAlias.js.map +1 -1
- package/esm/funcs/aliasesDeleteAlias.js +4 -4
- package/esm/funcs/aliasesDeleteAlias.js.map +1 -1
- package/esm/funcs/aliasesGetAlias.js +4 -4
- package/esm/funcs/aliasesGetAlias.js.map +1 -1
- package/esm/funcs/aliasesListAliases.js +4 -4
- package/esm/funcs/aliasesListAliases.js.map +1 -1
- package/esm/funcs/aliasesListDeploymentAliases.js +4 -4
- package/esm/funcs/aliasesListDeploymentAliases.js.map +1 -1
- package/esm/funcs/artifactsArtifactExists.js +4 -4
- package/esm/funcs/artifactsArtifactExists.js.map +1 -1
- package/esm/funcs/artifactsArtifactQuery.js +4 -4
- package/esm/funcs/artifactsArtifactQuery.js.map +1 -1
- package/esm/funcs/artifactsDownloadArtifact.js +4 -4
- package/esm/funcs/artifactsDownloadArtifact.js.map +1 -1
- package/esm/funcs/artifactsRecordEvents.js +4 -4
- package/esm/funcs/artifactsRecordEvents.js.map +1 -1
- package/esm/funcs/artifactsStatus.js +4 -4
- package/esm/funcs/artifactsStatus.js.map +1 -1
- package/esm/funcs/artifactsUploadArtifact.js +4 -4
- package/esm/funcs/artifactsUploadArtifact.js.map +1 -1
- package/esm/funcs/authenticationCreateAuthToken.js +4 -4
- package/esm/funcs/authenticationCreateAuthToken.js.map +1 -1
- package/esm/funcs/authenticationDeleteAuthToken.js +4 -4
- package/esm/funcs/authenticationDeleteAuthToken.js.map +1 -1
- package/esm/funcs/authenticationExchangeSsoToken.js +4 -4
- package/esm/funcs/authenticationExchangeSsoToken.js.map +1 -1
- package/esm/funcs/authenticationGetAuthToken.js +4 -4
- package/esm/funcs/authenticationGetAuthToken.js.map +1 -1
- package/esm/funcs/authenticationListAuthTokens.js +4 -4
- package/esm/funcs/authenticationListAuthTokens.js.map +1 -1
- package/esm/funcs/certsGetCertById.js +4 -4
- package/esm/funcs/certsGetCertById.js.map +1 -1
- package/esm/funcs/certsIssueCert.js +4 -4
- package/esm/funcs/certsIssueCert.js.map +1 -1
- package/esm/funcs/certsRemoveCert.js +4 -4
- package/esm/funcs/certsRemoveCert.js.map +1 -1
- package/esm/funcs/certsUploadCert.js +4 -4
- package/esm/funcs/certsUploadCert.js.map +1 -1
- package/esm/funcs/checksCreateCheck.js +4 -4
- package/esm/funcs/checksCreateCheck.js.map +1 -1
- package/esm/funcs/checksGetAllChecks.js +4 -4
- package/esm/funcs/checksGetAllChecks.js.map +1 -1
- package/esm/funcs/checksGetCheck.js +4 -4
- package/esm/funcs/checksGetCheck.js.map +1 -1
- package/esm/funcs/checksRerequestCheck.js +4 -4
- package/esm/funcs/checksRerequestCheck.js.map +1 -1
- package/esm/funcs/checksUpdateCheck.js +4 -4
- package/esm/funcs/checksUpdateCheck.js.map +1 -1
- package/esm/funcs/deploymentsCancelDeployment.js +4 -4
- package/esm/funcs/deploymentsCancelDeployment.js.map +1 -1
- package/esm/funcs/deploymentsCreateDeployment.js +4 -4
- package/esm/funcs/deploymentsCreateDeployment.js.map +1 -1
- package/esm/funcs/deploymentsDeleteDeployment.js +4 -4
- package/esm/funcs/deploymentsDeleteDeployment.js.map +1 -1
- package/esm/funcs/deploymentsGetDeployment.js +4 -4
- package/esm/funcs/deploymentsGetDeployment.js.map +1 -1
- package/esm/funcs/deploymentsGetDeploymentEvents.js +4 -4
- package/esm/funcs/deploymentsGetDeploymentEvents.js.map +1 -1
- package/esm/funcs/deploymentsGetDeploymentFileContents.js +4 -4
- package/esm/funcs/deploymentsGetDeploymentFileContents.js.map +1 -1
- package/esm/funcs/deploymentsGetDeployments.js +4 -4
- package/esm/funcs/deploymentsGetDeployments.js.map +1 -1
- package/esm/funcs/deploymentsListDeploymentFiles.js +4 -4
- package/esm/funcs/deploymentsListDeploymentFiles.js.map +1 -1
- package/esm/funcs/deploymentsUploadFile.js +4 -4
- package/esm/funcs/deploymentsUploadFile.js.map +1 -1
- package/esm/funcs/dnsCreateRecord.js +4 -4
- package/esm/funcs/dnsCreateRecord.js.map +1 -1
- package/esm/funcs/dnsGetRecords.js +4 -4
- package/esm/funcs/dnsGetRecords.js.map +1 -1
- package/esm/funcs/dnsRemoveRecord.js +4 -4
- package/esm/funcs/dnsRemoveRecord.js.map +1 -1
- package/esm/funcs/dnsUpdateRecord.js +4 -4
- package/esm/funcs/dnsUpdateRecord.js.map +1 -1
- package/esm/funcs/domainsBuyDomain.js +4 -4
- package/esm/funcs/domainsBuyDomain.js.map +1 -1
- package/esm/funcs/domainsCheckDomainPrice.js +4 -4
- package/esm/funcs/domainsCheckDomainPrice.js.map +1 -1
- package/esm/funcs/domainsCheckDomainStatus.js +4 -4
- package/esm/funcs/domainsCheckDomainStatus.js.map +1 -1
- package/esm/funcs/domainsCreateOrTransferDomain.js +4 -4
- package/esm/funcs/domainsCreateOrTransferDomain.js.map +1 -1
- package/esm/funcs/domainsDeleteDomain.js +4 -4
- package/esm/funcs/domainsDeleteDomain.js.map +1 -1
- package/esm/funcs/domainsGetDomain.js +4 -4
- package/esm/funcs/domainsGetDomain.js.map +1 -1
- package/esm/funcs/domainsGetDomainConfig.js +4 -4
- package/esm/funcs/domainsGetDomainConfig.js.map +1 -1
- package/esm/funcs/domainsGetDomainTransfer.js +4 -4
- package/esm/funcs/domainsGetDomainTransfer.js.map +1 -1
- package/esm/funcs/domainsGetDomains.js +4 -4
- package/esm/funcs/domainsGetDomains.js.map +1 -1
- package/esm/funcs/domainsPatchDomain.js +4 -4
- package/esm/funcs/domainsPatchDomain.js.map +1 -1
- package/esm/funcs/edgeConfigCreateEdgeConfig.js +4 -4
- package/esm/funcs/edgeConfigCreateEdgeConfig.js.map +1 -1
- package/esm/funcs/edgeConfigCreateEdgeConfigToken.js +4 -4
- package/esm/funcs/edgeConfigCreateEdgeConfigToken.js.map +1 -1
- package/esm/funcs/edgeConfigDeleteEdgeConfig.js +4 -4
- package/esm/funcs/edgeConfigDeleteEdgeConfig.js.map +1 -1
- package/esm/funcs/edgeConfigDeleteEdgeConfigSchema.js +4 -4
- package/esm/funcs/edgeConfigDeleteEdgeConfigSchema.js.map +1 -1
- package/esm/funcs/edgeConfigDeleteEdgeConfigTokens.js +4 -4
- package/esm/funcs/edgeConfigDeleteEdgeConfigTokens.js.map +1 -1
- package/esm/funcs/edgeConfigGetEdgeConfig.js +4 -4
- package/esm/funcs/edgeConfigGetEdgeConfig.js.map +1 -1
- package/esm/funcs/edgeConfigGetEdgeConfigBackup.js +4 -4
- package/esm/funcs/edgeConfigGetEdgeConfigBackup.js.map +1 -1
- package/esm/funcs/edgeConfigGetEdgeConfigBackups.js +4 -4
- package/esm/funcs/edgeConfigGetEdgeConfigBackups.js.map +1 -1
- package/esm/funcs/edgeConfigGetEdgeConfigItem.js +4 -4
- package/esm/funcs/edgeConfigGetEdgeConfigItem.js.map +1 -1
- package/esm/funcs/edgeConfigGetEdgeConfigItems.js +4 -4
- package/esm/funcs/edgeConfigGetEdgeConfigItems.js.map +1 -1
- package/esm/funcs/edgeConfigGetEdgeConfigSchema.js +4 -4
- package/esm/funcs/edgeConfigGetEdgeConfigSchema.js.map +1 -1
- package/esm/funcs/edgeConfigGetEdgeConfigToken.js +4 -4
- package/esm/funcs/edgeConfigGetEdgeConfigToken.js.map +1 -1
- package/esm/funcs/edgeConfigGetEdgeConfigTokens.js +4 -4
- package/esm/funcs/edgeConfigGetEdgeConfigTokens.js.map +1 -1
- package/esm/funcs/edgeConfigGetEdgeConfigs.js +4 -4
- package/esm/funcs/edgeConfigGetEdgeConfigs.js.map +1 -1
- package/esm/funcs/edgeConfigPatchEdgeConfigSchema.js +4 -4
- package/esm/funcs/edgeConfigPatchEdgeConfigSchema.js.map +1 -1
- package/esm/funcs/edgeConfigUpdateEdgeConfig.js +4 -4
- package/esm/funcs/edgeConfigUpdateEdgeConfig.js.map +1 -1
- package/esm/funcs/integrationsDeleteConfiguration.js +4 -4
- package/esm/funcs/integrationsDeleteConfiguration.js.map +1 -1
- package/esm/funcs/integrationsGetConfiguration.js +4 -4
- package/esm/funcs/integrationsGetConfiguration.js.map +1 -1
- package/esm/funcs/integrationsGetConfigurations.js +4 -4
- package/esm/funcs/integrationsGetConfigurations.js.map +1 -1
- package/esm/funcs/integrationsGitNamespaces.js +4 -4
- package/esm/funcs/integrationsGitNamespaces.js.map +1 -1
- package/esm/funcs/integrationsSearchRepo.js +4 -4
- package/esm/funcs/integrationsSearchRepo.js.map +1 -1
- package/esm/funcs/logDrainsCreateConfigurableLogDrain.js +4 -4
- package/esm/funcs/logDrainsCreateConfigurableLogDrain.js.map +1 -1
- package/esm/funcs/logDrainsCreateLogDrain.js +4 -4
- package/esm/funcs/logDrainsCreateLogDrain.js.map +1 -1
- package/esm/funcs/logDrainsDeleteConfigurableLogDrain.js +4 -4
- package/esm/funcs/logDrainsDeleteConfigurableLogDrain.js.map +1 -1
- package/esm/funcs/logDrainsDeleteIntegrationLogDrain.js +4 -4
- package/esm/funcs/logDrainsDeleteIntegrationLogDrain.js.map +1 -1
- package/esm/funcs/logDrainsGetAllLogDrains.js +4 -4
- package/esm/funcs/logDrainsGetAllLogDrains.js.map +1 -1
- package/esm/funcs/logDrainsGetConfigurableLogDrain.js +4 -4
- package/esm/funcs/logDrainsGetConfigurableLogDrain.js.map +1 -1
- package/esm/funcs/logDrainsGetIntegrationLogDrains.js +4 -4
- package/esm/funcs/logDrainsGetIntegrationLogDrains.js.map +1 -1
- package/esm/funcs/marketplaceCreateEvent.js +4 -4
- package/esm/funcs/marketplaceCreateEvent.js.map +1 -1
- package/esm/funcs/marketplaceExchangeSsoToken.js +4 -4
- package/esm/funcs/marketplaceExchangeSsoToken.js.map +1 -1
- package/esm/funcs/marketplaceGetAccountInfo.js +4 -4
- package/esm/funcs/marketplaceGetAccountInfo.js.map +1 -1
- package/esm/funcs/marketplaceGetInvoice.js +4 -4
- package/esm/funcs/marketplaceGetInvoice.js.map +1 -1
- package/esm/funcs/marketplaceGetMember.js +4 -4
- package/esm/funcs/marketplaceGetMember.js.map +1 -1
- package/esm/funcs/marketplaceSubmitBillingData.js +4 -4
- package/esm/funcs/marketplaceSubmitBillingData.js.map +1 -1
- package/esm/funcs/marketplaceSubmitInvoice.js +4 -4
- package/esm/funcs/marketplaceSubmitInvoice.js.map +1 -1
- package/esm/funcs/marketplaceUpdateInvoice.js +4 -4
- package/esm/funcs/marketplaceUpdateInvoice.js.map +1 -1
- package/esm/funcs/marketplaceUpdateResourceSecrets.js +4 -4
- package/esm/funcs/marketplaceUpdateResourceSecrets.js.map +1 -1
- package/esm/funcs/projectMembersAddProjectMember.js +4 -4
- package/esm/funcs/projectMembersAddProjectMember.js.map +1 -1
- package/esm/funcs/projectMembersGetProjectMembers.js +4 -4
- package/esm/funcs/projectMembersGetProjectMembers.js.map +1 -1
- package/esm/funcs/projectMembersRemoveProjectMember.js +4 -4
- package/esm/funcs/projectMembersRemoveProjectMember.js.map +1 -1
- package/esm/funcs/projectsAddProjectDomain.js +4 -4
- package/esm/funcs/projectsAddProjectDomain.js.map +1 -1
- package/esm/funcs/projectsCreateProject.js +4 -4
- package/esm/funcs/projectsCreateProject.js.map +1 -1
- package/esm/funcs/projectsCreateProjectEnv.js +4 -4
- package/esm/funcs/projectsCreateProjectEnv.js.map +1 -1
- package/esm/funcs/projectsDeleteProject.js +4 -4
- package/esm/funcs/projectsDeleteProject.js.map +1 -1
- package/esm/funcs/projectsEditProjectEnv.js +4 -4
- package/esm/funcs/projectsEditProjectEnv.js.map +1 -1
- package/esm/funcs/projectsFilterProjectEnvs.js +4 -4
- package/esm/funcs/projectsFilterProjectEnvs.js.map +1 -1
- package/esm/funcs/projectsGetProjectDomain.js +4 -4
- package/esm/funcs/projectsGetProjectDomain.js.map +1 -1
- package/esm/funcs/projectsGetProjectDomains.js +4 -4
- package/esm/funcs/projectsGetProjectDomains.js.map +1 -1
- package/esm/funcs/projectsGetProjectEnv.js +4 -4
- package/esm/funcs/projectsGetProjectEnv.js.map +1 -1
- package/esm/funcs/projectsGetProjects.js +4 -4
- package/esm/funcs/projectsGetProjects.js.map +1 -1
- package/esm/funcs/projectsListPromoteAliases.js +4 -4
- package/esm/funcs/projectsListPromoteAliases.js.map +1 -1
- package/esm/funcs/projectsRemoveProjectDomain.js +4 -4
- package/esm/funcs/projectsRemoveProjectDomain.js.map +1 -1
- package/esm/funcs/projectsRemoveProjectEnv.js +4 -4
- package/esm/funcs/projectsRemoveProjectEnv.js.map +1 -1
- package/esm/funcs/projectsRequestPromote.js +4 -4
- package/esm/funcs/projectsRequestPromote.js.map +1 -1
- package/esm/funcs/projectsUpdateProject.js +4 -4
- package/esm/funcs/projectsUpdateProject.js.map +1 -1
- package/esm/funcs/projectsUpdateProjectDataCache.js +4 -4
- package/esm/funcs/projectsUpdateProjectDataCache.js.map +1 -1
- package/esm/funcs/projectsUpdateProjectDomain.js +4 -4
- package/esm/funcs/projectsUpdateProjectDomain.js.map +1 -1
- package/esm/funcs/projectsUpdateProjectProtectionBypass.js +4 -4
- package/esm/funcs/projectsUpdateProjectProtectionBypass.js.map +1 -1
- package/esm/funcs/projectsVerifyProjectDomain.js +4 -4
- package/esm/funcs/projectsVerifyProjectDomain.js.map +1 -1
- package/esm/funcs/securityGetFirewallConfig.js +4 -4
- package/esm/funcs/securityGetFirewallConfig.js.map +1 -1
- package/esm/funcs/securityPutFirewallConfig.js +4 -4
- package/esm/funcs/securityPutFirewallConfig.js.map +1 -1
- package/esm/funcs/securityUpdateAttackChallengeMode.js +4 -4
- package/esm/funcs/securityUpdateAttackChallengeMode.js.map +1 -1
- package/esm/funcs/securityUpdateFirewallConfig.js +4 -4
- package/esm/funcs/securityUpdateFirewallConfig.js.map +1 -1
- package/esm/funcs/teamsCreateTeam.js +4 -4
- package/esm/funcs/teamsCreateTeam.js.map +1 -1
- package/esm/funcs/teamsDeleteTeam.js +4 -4
- package/esm/funcs/teamsDeleteTeam.js.map +1 -1
- package/esm/funcs/teamsDeleteTeamInviteCode.js +4 -4
- package/esm/funcs/teamsDeleteTeamInviteCode.js.map +1 -1
- package/esm/funcs/teamsGetTeam.js +4 -4
- package/esm/funcs/teamsGetTeam.js.map +1 -1
- package/esm/funcs/teamsGetTeamAccessRequest.js +4 -4
- package/esm/funcs/teamsGetTeamAccessRequest.js.map +1 -1
- package/esm/funcs/teamsGetTeamMembers.js +4 -4
- package/esm/funcs/teamsGetTeamMembers.js.map +1 -1
- package/esm/funcs/teamsGetTeams.js +4 -4
- package/esm/funcs/teamsGetTeams.js.map +1 -1
- package/esm/funcs/teamsInviteUserToTeam.js +4 -4
- package/esm/funcs/teamsInviteUserToTeam.js.map +1 -1
- package/esm/funcs/teamsJoinTeam.js +4 -4
- package/esm/funcs/teamsJoinTeam.js.map +1 -1
- package/esm/funcs/teamsPatchTeam.js +4 -4
- package/esm/funcs/teamsPatchTeam.js.map +1 -1
- package/esm/funcs/teamsRemoveTeamMember.js +4 -4
- package/esm/funcs/teamsRemoveTeamMember.js.map +1 -1
- package/esm/funcs/teamsRequestAccessToTeam.js +4 -4
- package/esm/funcs/teamsRequestAccessToTeam.js.map +1 -1
- package/esm/funcs/teamsUpdateTeamMember.js +4 -4
- package/esm/funcs/teamsUpdateTeamMember.js.map +1 -1
- package/esm/funcs/userGetAuthUser.js +4 -4
- package/esm/funcs/userGetAuthUser.js.map +1 -1
- package/esm/funcs/userListUserEvents.js +4 -4
- package/esm/funcs/userListUserEvents.js.map +1 -1
- package/esm/funcs/userRequestDelete.js +4 -4
- package/esm/funcs/userRequestDelete.js.map +1 -1
- package/esm/funcs/webhooksCreateWebhook.js +4 -4
- package/esm/funcs/webhooksCreateWebhook.js.map +1 -1
- package/esm/funcs/webhooksDeleteWebhook.js +4 -4
- package/esm/funcs/webhooksDeleteWebhook.js.map +1 -1
- package/esm/funcs/webhooksGetWebhook.js +4 -4
- package/esm/funcs/webhooksGetWebhook.js.map +1 -1
- package/esm/funcs/webhooksGetWebhooks.js +4 -4
- package/esm/funcs/webhooksGetWebhooks.js.map +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +4 -5
- package/esm/lib/config.js.map +1 -1
- package/esm/lib/encodings.js +18 -19
- package/esm/lib/encodings.js.map +1 -1
- package/esm/lib/http.js +1 -2
- package/esm/lib/http.js.map +1 -1
- package/esm/lib/matchers.js +5 -6
- package/esm/lib/matchers.js.map +1 -1
- package/esm/lib/primitives.js +1 -1
- package/esm/lib/primitives.js.map +1 -1
- package/esm/lib/retries.js +3 -4
- package/esm/lib/retries.js.map +1 -1
- package/esm/lib/sdks.js +15 -16
- package/esm/lib/sdks.js.map +1 -1
- package/esm/lib/security.js +2 -2
- package/esm/lib/security.js.map +1 -1
- package/esm/lib/url.js +1 -1
- package/esm/lib/url.js.map +1 -1
- package/esm/models/canceldeploymentop.d.ts +207 -0
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +167 -0
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +207 -0
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +171 -0
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createprojectenvop.d.ts +6 -6
- package/esm/models/createprojectenvop.js +2 -2
- package/esm/models/createprojectenvop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +9 -9
- package/esm/models/createprojectop.js +3 -3
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/editprojectenvop.d.ts +3 -3
- package/esm/models/editprojectenvop.js +1 -1
- package/esm/models/editprojectenvop.js.map +1 -1
- package/esm/models/filterprojectenvsop.d.ts +9 -9
- package/esm/models/filterprojectenvsop.js +3 -3
- package/esm/models/filterprojectenvsop.js.map +1 -1
- package/esm/models/getdeploymentop.d.ts +207 -0
- package/esm/models/getdeploymentop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.js +169 -0
- package/esm/models/getdeploymentop.js.map +1 -1
- package/esm/models/getfirewallconfigop.d.ts +3 -0
- package/esm/models/getfirewallconfigop.d.ts.map +1 -1
- package/esm/models/getfirewallconfigop.js.map +1 -1
- package/esm/models/httpclienterrors.js +2 -2
- package/esm/models/httpclienterrors.js.map +1 -1
- package/esm/models/removeprojectenvop.d.ts +9 -9
- package/esm/models/removeprojectenvop.js +3 -3
- package/esm/models/removeprojectenvop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +9 -9
- package/esm/models/updateprojectop.js +3 -3
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/verifyprojectdomainop.d.ts +0 -39
- package/esm/models/verifyprojectdomainop.d.ts.map +1 -1
- package/esm/models/verifyprojectdomainop.js +0 -33
- package/esm/models/verifyprojectdomainop.js.map +1 -1
- package/esm/sdk/sdk.js +19 -38
- package/esm/sdk/sdk.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/lib/security.ts +1 -1
- package/src/models/canceldeploymentop.ts +365 -0
- package/src/models/createdeploymentop.ts +326 -0
- package/src/models/createprojectenvop.ts +2 -2
- package/src/models/createprojectop.ts +3 -3
- package/src/models/editprojectenvop.ts +1 -1
- package/src/models/filterprojectenvsop.ts +3 -3
- package/src/models/getdeploymentop.ts +353 -0
- package/src/models/getfirewallconfigop.ts +3 -0
- package/src/models/removeprojectenvop.ts +3 -3
- package/src/models/updateprojectop.ts +3 -3
- package/src/models/verifyprojectdomainop.ts +0 -86
|
@@ -570,6 +570,79 @@ export type ResponseBodyIntegrations = {
|
|
|
570
570
|
skippedBy?: string | undefined;
|
|
571
571
|
};
|
|
572
572
|
|
|
573
|
+
/**
|
|
574
|
+
* Must be `http` or `https`.
|
|
575
|
+
*/
|
|
576
|
+
export const ResponseBodyProtocol = {
|
|
577
|
+
Http: "http",
|
|
578
|
+
Https: "https",
|
|
579
|
+
} as const;
|
|
580
|
+
/**
|
|
581
|
+
* Must be `http` or `https`.
|
|
582
|
+
*/
|
|
583
|
+
export type ResponseBodyProtocol = ClosedEnum<typeof ResponseBodyProtocol>;
|
|
584
|
+
|
|
585
|
+
export type ResponseBodyRemotePatterns = {
|
|
586
|
+
/**
|
|
587
|
+
* Must be `http` or `https`.
|
|
588
|
+
*/
|
|
589
|
+
protocol?: ResponseBodyProtocol | undefined;
|
|
590
|
+
/**
|
|
591
|
+
* Can be literal or wildcard. Single `*` matches a single subdomain. Double `**` matches any number of subdomains.
|
|
592
|
+
*/
|
|
593
|
+
hostname: string;
|
|
594
|
+
/**
|
|
595
|
+
* Can be literal port such as `8080` or empty string meaning no port.
|
|
596
|
+
*/
|
|
597
|
+
port?: string | undefined;
|
|
598
|
+
/**
|
|
599
|
+
* Can be literal or wildcard. Single `*` matches a single path segment. Double `**` matches any number of path segments.
|
|
600
|
+
*/
|
|
601
|
+
pathname?: string | undefined;
|
|
602
|
+
/**
|
|
603
|
+
* Can be literal query string such as `?v=1` or empty string meaning no query string.
|
|
604
|
+
*/
|
|
605
|
+
search?: string | undefined;
|
|
606
|
+
};
|
|
607
|
+
|
|
608
|
+
export type ResponseBodyLocalPatterns = {
|
|
609
|
+
/**
|
|
610
|
+
* Can be literal or wildcard. Single `*` matches a single path segment. Double `**` matches any number of path segments.
|
|
611
|
+
*/
|
|
612
|
+
pathname?: string | undefined;
|
|
613
|
+
/**
|
|
614
|
+
* Can be literal query string such as `?v=1` or empty string meaning no query string.
|
|
615
|
+
*/
|
|
616
|
+
search?: string | undefined;
|
|
617
|
+
};
|
|
618
|
+
|
|
619
|
+
export const ResponseBodyFormats = {
|
|
620
|
+
ImageAvif: "image/avif",
|
|
621
|
+
ImageWebp: "image/webp",
|
|
622
|
+
} as const;
|
|
623
|
+
export type ResponseBodyFormats = ClosedEnum<typeof ResponseBodyFormats>;
|
|
624
|
+
|
|
625
|
+
export const ResponseBodyContentDispositionType = {
|
|
626
|
+
Inline: "inline",
|
|
627
|
+
Attachment: "attachment",
|
|
628
|
+
} as const;
|
|
629
|
+
export type ResponseBodyContentDispositionType = ClosedEnum<
|
|
630
|
+
typeof ResponseBodyContentDispositionType
|
|
631
|
+
>;
|
|
632
|
+
|
|
633
|
+
export type ResponseBodyImages = {
|
|
634
|
+
sizes?: Array<number> | undefined;
|
|
635
|
+
qualities?: Array<number> | undefined;
|
|
636
|
+
domains?: Array<string> | undefined;
|
|
637
|
+
remotePatterns?: Array<ResponseBodyRemotePatterns> | undefined;
|
|
638
|
+
localPatterns?: Array<ResponseBodyLocalPatterns> | undefined;
|
|
639
|
+
minimumCacheTTL?: number | undefined;
|
|
640
|
+
formats?: Array<ResponseBodyFormats> | undefined;
|
|
641
|
+
dangerouslyAllowSVG?: boolean | undefined;
|
|
642
|
+
contentSecurityPolicy?: string | undefined;
|
|
643
|
+
contentDispositionType?: ResponseBodyContentDispositionType | undefined;
|
|
644
|
+
};
|
|
645
|
+
|
|
573
646
|
export type ResponseBodyCreator = {
|
|
574
647
|
uid: string;
|
|
575
648
|
username?: string | undefined;
|
|
@@ -1222,6 +1295,7 @@ export type GetDeploymentResponseBody1 = {
|
|
|
1222
1295
|
projectSettings: ResponseBodyProjectSettings;
|
|
1223
1296
|
readyStateReason?: string | undefined;
|
|
1224
1297
|
integrations?: ResponseBodyIntegrations | undefined;
|
|
1298
|
+
images?: ResponseBodyImages | undefined;
|
|
1225
1299
|
alias?: Array<string> | undefined;
|
|
1226
1300
|
aliasAssigned: boolean;
|
|
1227
1301
|
bootedAt: number;
|
|
@@ -4117,6 +4191,282 @@ export function responseBodyIntegrationsFromJSON(
|
|
|
4117
4191
|
);
|
|
4118
4192
|
}
|
|
4119
4193
|
|
|
4194
|
+
/** @internal */
|
|
4195
|
+
export const ResponseBodyProtocol$inboundSchema: z.ZodNativeEnum<
|
|
4196
|
+
typeof ResponseBodyProtocol
|
|
4197
|
+
> = z.nativeEnum(ResponseBodyProtocol);
|
|
4198
|
+
|
|
4199
|
+
/** @internal */
|
|
4200
|
+
export const ResponseBodyProtocol$outboundSchema: z.ZodNativeEnum<
|
|
4201
|
+
typeof ResponseBodyProtocol
|
|
4202
|
+
> = ResponseBodyProtocol$inboundSchema;
|
|
4203
|
+
|
|
4204
|
+
/**
|
|
4205
|
+
* @internal
|
|
4206
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4207
|
+
*/
|
|
4208
|
+
export namespace ResponseBodyProtocol$ {
|
|
4209
|
+
/** @deprecated use `ResponseBodyProtocol$inboundSchema` instead. */
|
|
4210
|
+
export const inboundSchema = ResponseBodyProtocol$inboundSchema;
|
|
4211
|
+
/** @deprecated use `ResponseBodyProtocol$outboundSchema` instead. */
|
|
4212
|
+
export const outboundSchema = ResponseBodyProtocol$outboundSchema;
|
|
4213
|
+
}
|
|
4214
|
+
|
|
4215
|
+
/** @internal */
|
|
4216
|
+
export const ResponseBodyRemotePatterns$inboundSchema: z.ZodType<
|
|
4217
|
+
ResponseBodyRemotePatterns,
|
|
4218
|
+
z.ZodTypeDef,
|
|
4219
|
+
unknown
|
|
4220
|
+
> = z.object({
|
|
4221
|
+
protocol: ResponseBodyProtocol$inboundSchema.optional(),
|
|
4222
|
+
hostname: z.string(),
|
|
4223
|
+
port: z.string().optional(),
|
|
4224
|
+
pathname: z.string().optional(),
|
|
4225
|
+
search: z.string().optional(),
|
|
4226
|
+
});
|
|
4227
|
+
|
|
4228
|
+
/** @internal */
|
|
4229
|
+
export type ResponseBodyRemotePatterns$Outbound = {
|
|
4230
|
+
protocol?: string | undefined;
|
|
4231
|
+
hostname: string;
|
|
4232
|
+
port?: string | undefined;
|
|
4233
|
+
pathname?: string | undefined;
|
|
4234
|
+
search?: string | undefined;
|
|
4235
|
+
};
|
|
4236
|
+
|
|
4237
|
+
/** @internal */
|
|
4238
|
+
export const ResponseBodyRemotePatterns$outboundSchema: z.ZodType<
|
|
4239
|
+
ResponseBodyRemotePatterns$Outbound,
|
|
4240
|
+
z.ZodTypeDef,
|
|
4241
|
+
ResponseBodyRemotePatterns
|
|
4242
|
+
> = z.object({
|
|
4243
|
+
protocol: ResponseBodyProtocol$outboundSchema.optional(),
|
|
4244
|
+
hostname: z.string(),
|
|
4245
|
+
port: z.string().optional(),
|
|
4246
|
+
pathname: z.string().optional(),
|
|
4247
|
+
search: z.string().optional(),
|
|
4248
|
+
});
|
|
4249
|
+
|
|
4250
|
+
/**
|
|
4251
|
+
* @internal
|
|
4252
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4253
|
+
*/
|
|
4254
|
+
export namespace ResponseBodyRemotePatterns$ {
|
|
4255
|
+
/** @deprecated use `ResponseBodyRemotePatterns$inboundSchema` instead. */
|
|
4256
|
+
export const inboundSchema = ResponseBodyRemotePatterns$inboundSchema;
|
|
4257
|
+
/** @deprecated use `ResponseBodyRemotePatterns$outboundSchema` instead. */
|
|
4258
|
+
export const outboundSchema = ResponseBodyRemotePatterns$outboundSchema;
|
|
4259
|
+
/** @deprecated use `ResponseBodyRemotePatterns$Outbound` instead. */
|
|
4260
|
+
export type Outbound = ResponseBodyRemotePatterns$Outbound;
|
|
4261
|
+
}
|
|
4262
|
+
|
|
4263
|
+
export function responseBodyRemotePatternsToJSON(
|
|
4264
|
+
responseBodyRemotePatterns: ResponseBodyRemotePatterns,
|
|
4265
|
+
): string {
|
|
4266
|
+
return JSON.stringify(
|
|
4267
|
+
ResponseBodyRemotePatterns$outboundSchema.parse(responseBodyRemotePatterns),
|
|
4268
|
+
);
|
|
4269
|
+
}
|
|
4270
|
+
|
|
4271
|
+
export function responseBodyRemotePatternsFromJSON(
|
|
4272
|
+
jsonString: string,
|
|
4273
|
+
): SafeParseResult<ResponseBodyRemotePatterns, SDKValidationError> {
|
|
4274
|
+
return safeParse(
|
|
4275
|
+
jsonString,
|
|
4276
|
+
(x) => ResponseBodyRemotePatterns$inboundSchema.parse(JSON.parse(x)),
|
|
4277
|
+
`Failed to parse 'ResponseBodyRemotePatterns' from JSON`,
|
|
4278
|
+
);
|
|
4279
|
+
}
|
|
4280
|
+
|
|
4281
|
+
/** @internal */
|
|
4282
|
+
export const ResponseBodyLocalPatterns$inboundSchema: z.ZodType<
|
|
4283
|
+
ResponseBodyLocalPatterns,
|
|
4284
|
+
z.ZodTypeDef,
|
|
4285
|
+
unknown
|
|
4286
|
+
> = z.object({
|
|
4287
|
+
pathname: z.string().optional(),
|
|
4288
|
+
search: z.string().optional(),
|
|
4289
|
+
});
|
|
4290
|
+
|
|
4291
|
+
/** @internal */
|
|
4292
|
+
export type ResponseBodyLocalPatterns$Outbound = {
|
|
4293
|
+
pathname?: string | undefined;
|
|
4294
|
+
search?: string | undefined;
|
|
4295
|
+
};
|
|
4296
|
+
|
|
4297
|
+
/** @internal */
|
|
4298
|
+
export const ResponseBodyLocalPatterns$outboundSchema: z.ZodType<
|
|
4299
|
+
ResponseBodyLocalPatterns$Outbound,
|
|
4300
|
+
z.ZodTypeDef,
|
|
4301
|
+
ResponseBodyLocalPatterns
|
|
4302
|
+
> = z.object({
|
|
4303
|
+
pathname: z.string().optional(),
|
|
4304
|
+
search: z.string().optional(),
|
|
4305
|
+
});
|
|
4306
|
+
|
|
4307
|
+
/**
|
|
4308
|
+
* @internal
|
|
4309
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4310
|
+
*/
|
|
4311
|
+
export namespace ResponseBodyLocalPatterns$ {
|
|
4312
|
+
/** @deprecated use `ResponseBodyLocalPatterns$inboundSchema` instead. */
|
|
4313
|
+
export const inboundSchema = ResponseBodyLocalPatterns$inboundSchema;
|
|
4314
|
+
/** @deprecated use `ResponseBodyLocalPatterns$outboundSchema` instead. */
|
|
4315
|
+
export const outboundSchema = ResponseBodyLocalPatterns$outboundSchema;
|
|
4316
|
+
/** @deprecated use `ResponseBodyLocalPatterns$Outbound` instead. */
|
|
4317
|
+
export type Outbound = ResponseBodyLocalPatterns$Outbound;
|
|
4318
|
+
}
|
|
4319
|
+
|
|
4320
|
+
export function responseBodyLocalPatternsToJSON(
|
|
4321
|
+
responseBodyLocalPatterns: ResponseBodyLocalPatterns,
|
|
4322
|
+
): string {
|
|
4323
|
+
return JSON.stringify(
|
|
4324
|
+
ResponseBodyLocalPatterns$outboundSchema.parse(responseBodyLocalPatterns),
|
|
4325
|
+
);
|
|
4326
|
+
}
|
|
4327
|
+
|
|
4328
|
+
export function responseBodyLocalPatternsFromJSON(
|
|
4329
|
+
jsonString: string,
|
|
4330
|
+
): SafeParseResult<ResponseBodyLocalPatterns, SDKValidationError> {
|
|
4331
|
+
return safeParse(
|
|
4332
|
+
jsonString,
|
|
4333
|
+
(x) => ResponseBodyLocalPatterns$inboundSchema.parse(JSON.parse(x)),
|
|
4334
|
+
`Failed to parse 'ResponseBodyLocalPatterns' from JSON`,
|
|
4335
|
+
);
|
|
4336
|
+
}
|
|
4337
|
+
|
|
4338
|
+
/** @internal */
|
|
4339
|
+
export const ResponseBodyFormats$inboundSchema: z.ZodNativeEnum<
|
|
4340
|
+
typeof ResponseBodyFormats
|
|
4341
|
+
> = z.nativeEnum(ResponseBodyFormats);
|
|
4342
|
+
|
|
4343
|
+
/** @internal */
|
|
4344
|
+
export const ResponseBodyFormats$outboundSchema: z.ZodNativeEnum<
|
|
4345
|
+
typeof ResponseBodyFormats
|
|
4346
|
+
> = ResponseBodyFormats$inboundSchema;
|
|
4347
|
+
|
|
4348
|
+
/**
|
|
4349
|
+
* @internal
|
|
4350
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4351
|
+
*/
|
|
4352
|
+
export namespace ResponseBodyFormats$ {
|
|
4353
|
+
/** @deprecated use `ResponseBodyFormats$inboundSchema` instead. */
|
|
4354
|
+
export const inboundSchema = ResponseBodyFormats$inboundSchema;
|
|
4355
|
+
/** @deprecated use `ResponseBodyFormats$outboundSchema` instead. */
|
|
4356
|
+
export const outboundSchema = ResponseBodyFormats$outboundSchema;
|
|
4357
|
+
}
|
|
4358
|
+
|
|
4359
|
+
/** @internal */
|
|
4360
|
+
export const ResponseBodyContentDispositionType$inboundSchema: z.ZodNativeEnum<
|
|
4361
|
+
typeof ResponseBodyContentDispositionType
|
|
4362
|
+
> = z.nativeEnum(ResponseBodyContentDispositionType);
|
|
4363
|
+
|
|
4364
|
+
/** @internal */
|
|
4365
|
+
export const ResponseBodyContentDispositionType$outboundSchema: z.ZodNativeEnum<
|
|
4366
|
+
typeof ResponseBodyContentDispositionType
|
|
4367
|
+
> = ResponseBodyContentDispositionType$inboundSchema;
|
|
4368
|
+
|
|
4369
|
+
/**
|
|
4370
|
+
* @internal
|
|
4371
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4372
|
+
*/
|
|
4373
|
+
export namespace ResponseBodyContentDispositionType$ {
|
|
4374
|
+
/** @deprecated use `ResponseBodyContentDispositionType$inboundSchema` instead. */
|
|
4375
|
+
export const inboundSchema = ResponseBodyContentDispositionType$inboundSchema;
|
|
4376
|
+
/** @deprecated use `ResponseBodyContentDispositionType$outboundSchema` instead. */
|
|
4377
|
+
export const outboundSchema =
|
|
4378
|
+
ResponseBodyContentDispositionType$outboundSchema;
|
|
4379
|
+
}
|
|
4380
|
+
|
|
4381
|
+
/** @internal */
|
|
4382
|
+
export const ResponseBodyImages$inboundSchema: z.ZodType<
|
|
4383
|
+
ResponseBodyImages,
|
|
4384
|
+
z.ZodTypeDef,
|
|
4385
|
+
unknown
|
|
4386
|
+
> = z.object({
|
|
4387
|
+
sizes: z.array(z.number()).optional(),
|
|
4388
|
+
qualities: z.array(z.number()).optional(),
|
|
4389
|
+
domains: z.array(z.string()).optional(),
|
|
4390
|
+
remotePatterns: z.array(
|
|
4391
|
+
z.lazy(() => ResponseBodyRemotePatterns$inboundSchema),
|
|
4392
|
+
).optional(),
|
|
4393
|
+
localPatterns: z.array(z.lazy(() => ResponseBodyLocalPatterns$inboundSchema))
|
|
4394
|
+
.optional(),
|
|
4395
|
+
minimumCacheTTL: z.number().optional(),
|
|
4396
|
+
formats: z.array(ResponseBodyFormats$inboundSchema).optional(),
|
|
4397
|
+
dangerouslyAllowSVG: z.boolean().optional(),
|
|
4398
|
+
contentSecurityPolicy: z.string().optional(),
|
|
4399
|
+
contentDispositionType: ResponseBodyContentDispositionType$inboundSchema
|
|
4400
|
+
.optional(),
|
|
4401
|
+
});
|
|
4402
|
+
|
|
4403
|
+
/** @internal */
|
|
4404
|
+
export type ResponseBodyImages$Outbound = {
|
|
4405
|
+
sizes?: Array<number> | undefined;
|
|
4406
|
+
qualities?: Array<number> | undefined;
|
|
4407
|
+
domains?: Array<string> | undefined;
|
|
4408
|
+
remotePatterns?: Array<ResponseBodyRemotePatterns$Outbound> | undefined;
|
|
4409
|
+
localPatterns?: Array<ResponseBodyLocalPatterns$Outbound> | undefined;
|
|
4410
|
+
minimumCacheTTL?: number | undefined;
|
|
4411
|
+
formats?: Array<string> | undefined;
|
|
4412
|
+
dangerouslyAllowSVG?: boolean | undefined;
|
|
4413
|
+
contentSecurityPolicy?: string | undefined;
|
|
4414
|
+
contentDispositionType?: string | undefined;
|
|
4415
|
+
};
|
|
4416
|
+
|
|
4417
|
+
/** @internal */
|
|
4418
|
+
export const ResponseBodyImages$outboundSchema: z.ZodType<
|
|
4419
|
+
ResponseBodyImages$Outbound,
|
|
4420
|
+
z.ZodTypeDef,
|
|
4421
|
+
ResponseBodyImages
|
|
4422
|
+
> = z.object({
|
|
4423
|
+
sizes: z.array(z.number()).optional(),
|
|
4424
|
+
qualities: z.array(z.number()).optional(),
|
|
4425
|
+
domains: z.array(z.string()).optional(),
|
|
4426
|
+
remotePatterns: z.array(
|
|
4427
|
+
z.lazy(() => ResponseBodyRemotePatterns$outboundSchema),
|
|
4428
|
+
).optional(),
|
|
4429
|
+
localPatterns: z.array(z.lazy(() => ResponseBodyLocalPatterns$outboundSchema))
|
|
4430
|
+
.optional(),
|
|
4431
|
+
minimumCacheTTL: z.number().optional(),
|
|
4432
|
+
formats: z.array(ResponseBodyFormats$outboundSchema).optional(),
|
|
4433
|
+
dangerouslyAllowSVG: z.boolean().optional(),
|
|
4434
|
+
contentSecurityPolicy: z.string().optional(),
|
|
4435
|
+
contentDispositionType: ResponseBodyContentDispositionType$outboundSchema
|
|
4436
|
+
.optional(),
|
|
4437
|
+
});
|
|
4438
|
+
|
|
4439
|
+
/**
|
|
4440
|
+
* @internal
|
|
4441
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4442
|
+
*/
|
|
4443
|
+
export namespace ResponseBodyImages$ {
|
|
4444
|
+
/** @deprecated use `ResponseBodyImages$inboundSchema` instead. */
|
|
4445
|
+
export const inboundSchema = ResponseBodyImages$inboundSchema;
|
|
4446
|
+
/** @deprecated use `ResponseBodyImages$outboundSchema` instead. */
|
|
4447
|
+
export const outboundSchema = ResponseBodyImages$outboundSchema;
|
|
4448
|
+
/** @deprecated use `ResponseBodyImages$Outbound` instead. */
|
|
4449
|
+
export type Outbound = ResponseBodyImages$Outbound;
|
|
4450
|
+
}
|
|
4451
|
+
|
|
4452
|
+
export function responseBodyImagesToJSON(
|
|
4453
|
+
responseBodyImages: ResponseBodyImages,
|
|
4454
|
+
): string {
|
|
4455
|
+
return JSON.stringify(
|
|
4456
|
+
ResponseBodyImages$outboundSchema.parse(responseBodyImages),
|
|
4457
|
+
);
|
|
4458
|
+
}
|
|
4459
|
+
|
|
4460
|
+
export function responseBodyImagesFromJSON(
|
|
4461
|
+
jsonString: string,
|
|
4462
|
+
): SafeParseResult<ResponseBodyImages, SDKValidationError> {
|
|
4463
|
+
return safeParse(
|
|
4464
|
+
jsonString,
|
|
4465
|
+
(x) => ResponseBodyImages$inboundSchema.parse(JSON.parse(x)),
|
|
4466
|
+
`Failed to parse 'ResponseBodyImages' from JSON`,
|
|
4467
|
+
);
|
|
4468
|
+
}
|
|
4469
|
+
|
|
4120
4470
|
/** @internal */
|
|
4121
4471
|
export const ResponseBodyCreator$inboundSchema: z.ZodType<
|
|
4122
4472
|
ResponseBodyCreator,
|
|
@@ -8047,6 +8397,7 @@ export const GetDeploymentResponseBody1$inboundSchema: z.ZodType<
|
|
|
8047
8397
|
projectSettings: z.lazy(() => ResponseBodyProjectSettings$inboundSchema),
|
|
8048
8398
|
readyStateReason: z.string().optional(),
|
|
8049
8399
|
integrations: z.lazy(() => ResponseBodyIntegrations$inboundSchema).optional(),
|
|
8400
|
+
images: z.lazy(() => ResponseBodyImages$inboundSchema).optional(),
|
|
8050
8401
|
alias: z.array(z.string()).optional(),
|
|
8051
8402
|
aliasAssigned: z.boolean(),
|
|
8052
8403
|
bootedAt: z.number(),
|
|
@@ -8168,6 +8519,7 @@ export type GetDeploymentResponseBody1$Outbound = {
|
|
|
8168
8519
|
projectSettings: ResponseBodyProjectSettings$Outbound;
|
|
8169
8520
|
readyStateReason?: string | undefined;
|
|
8170
8521
|
integrations?: ResponseBodyIntegrations$Outbound | undefined;
|
|
8522
|
+
images?: ResponseBodyImages$Outbound | undefined;
|
|
8171
8523
|
alias?: Array<string> | undefined;
|
|
8172
8524
|
aliasAssigned: boolean;
|
|
8173
8525
|
bootedAt: number;
|
|
@@ -8290,6 +8642,7 @@ export const GetDeploymentResponseBody1$outboundSchema: z.ZodType<
|
|
|
8290
8642
|
readyStateReason: z.string().optional(),
|
|
8291
8643
|
integrations: z.lazy(() => ResponseBodyIntegrations$outboundSchema)
|
|
8292
8644
|
.optional(),
|
|
8645
|
+
images: z.lazy(() => ResponseBodyImages$outboundSchema).optional(),
|
|
8293
8646
|
alias: z.array(z.string()).optional(),
|
|
8294
8647
|
aliasAssigned: z.boolean(),
|
|
8295
8648
|
bootedAt: z.number(),
|
|
@@ -456,6 +456,9 @@ export type GetFirewallConfigManagedRules = {
|
|
|
456
456
|
verifiedBotsBypass?: VerifiedBotsBypass | undefined;
|
|
457
457
|
};
|
|
458
458
|
|
|
459
|
+
/**
|
|
460
|
+
* If the firewall configuration includes a [custom managed ruleset](https://vercel.com/docs/security/vercel-waf/managed-rulesets), it will include a `crs` item that has the following values: sd: Scanner Detection ma: Multipart Attack lfi: Local File Inclusion Attack rfi: Remote File Inclusion Attack rce: Remote Execution Attack php: PHP Attack gen: Generic Attack xss: XSS Attack sqli: SQL Injection Attack sf: Session Fixation Attack java: Java Attack
|
|
461
|
+
*/
|
|
459
462
|
export type GetFirewallConfigResponseBody = {
|
|
460
463
|
ownerId: string;
|
|
461
464
|
projectKey: string;
|
|
@@ -51,10 +51,10 @@ export type RemoveProjectEnvResponseBodyProjectsResponseTarget =
|
|
|
51
51
|
|
|
52
52
|
export const RemoveProjectEnvResponseBodyProjectsResponseType = {
|
|
53
53
|
System: "system",
|
|
54
|
-
Secret: "secret",
|
|
55
54
|
Encrypted: "encrypted",
|
|
56
55
|
Plain: "plain",
|
|
57
56
|
Sensitive: "sensitive",
|
|
57
|
+
Secret: "secret",
|
|
58
58
|
} as const;
|
|
59
59
|
export type RemoveProjectEnvResponseBodyProjectsResponseType = ClosedEnum<
|
|
60
60
|
typeof RemoveProjectEnvResponseBodyProjectsResponseType
|
|
@@ -404,10 +404,10 @@ export type RemoveProjectEnvResponseBodyProjectsTarget =
|
|
|
404
404
|
|
|
405
405
|
export const RemoveProjectEnvResponseBodyProjectsType = {
|
|
406
406
|
System: "system",
|
|
407
|
-
Secret: "secret",
|
|
408
407
|
Encrypted: "encrypted",
|
|
409
408
|
Plain: "plain",
|
|
410
409
|
Sensitive: "sensitive",
|
|
410
|
+
Secret: "secret",
|
|
411
411
|
} as const;
|
|
412
412
|
export type RemoveProjectEnvResponseBodyProjectsType = ClosedEnum<
|
|
413
413
|
typeof RemoveProjectEnvResponseBodyProjectsType
|
|
@@ -756,10 +756,10 @@ export type RemoveProjectEnvResponseBodyTarget =
|
|
|
756
756
|
|
|
757
757
|
export const RemoveProjectEnvResponseBodyType = {
|
|
758
758
|
System: "system",
|
|
759
|
-
Secret: "secret",
|
|
760
759
|
Encrypted: "encrypted",
|
|
761
760
|
Plain: "plain",
|
|
762
761
|
Sensitive: "sensitive",
|
|
762
|
+
Secret: "secret",
|
|
763
763
|
} as const;
|
|
764
764
|
export type RemoveProjectEnvResponseBodyType = ClosedEnum<
|
|
765
765
|
typeof RemoveProjectEnvResponseBodyType
|
|
@@ -437,10 +437,10 @@ export type UpdateProjectTarget = Array<string> | UpdateProjectTarget2;
|
|
|
437
437
|
|
|
438
438
|
export const UpdateProjectType = {
|
|
439
439
|
System: "system",
|
|
440
|
-
Secret: "secret",
|
|
441
440
|
Encrypted: "encrypted",
|
|
442
441
|
Plain: "plain",
|
|
443
442
|
Sensitive: "sensitive",
|
|
443
|
+
Secret: "secret",
|
|
444
444
|
} as const;
|
|
445
445
|
export type UpdateProjectType = ClosedEnum<typeof UpdateProjectType>;
|
|
446
446
|
|
|
@@ -1454,11 +1454,11 @@ export type UpdateProjectPermissions = {
|
|
|
1454
1454
|
export type UpdateProjectLastRollbackTarget = {};
|
|
1455
1455
|
|
|
1456
1456
|
export const UpdateProjectJobStatus = {
|
|
1457
|
-
Pending: "pending",
|
|
1458
|
-
InProgress: "in-progress",
|
|
1459
1457
|
Succeeded: "succeeded",
|
|
1460
1458
|
Failed: "failed",
|
|
1461
1459
|
Skipped: "skipped",
|
|
1460
|
+
Pending: "pending",
|
|
1461
|
+
InProgress: "in-progress",
|
|
1462
1462
|
} as const;
|
|
1463
1463
|
export type UpdateProjectJobStatus = ClosedEnum<typeof UpdateProjectJobStatus>;
|
|
1464
1464
|
|
|
@@ -26,16 +26,6 @@ export type VerifyProjectDomainRequest = {
|
|
|
26
26
|
slug?: string | undefined;
|
|
27
27
|
};
|
|
28
28
|
|
|
29
|
-
/**
|
|
30
|
-
* A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`.
|
|
31
|
-
*/
|
|
32
|
-
export type VerifyProjectDomainVerification = {
|
|
33
|
-
type: string;
|
|
34
|
-
domain: string;
|
|
35
|
-
value: string;
|
|
36
|
-
reason: string;
|
|
37
|
-
};
|
|
38
|
-
|
|
39
29
|
/**
|
|
40
30
|
* The project domain was verified successfully
|
|
41
31
|
*
|
|
@@ -56,10 +46,6 @@ export type VerifyProjectDomainResponseBody = {
|
|
|
56
46
|
* `true` if the domain is verified for use with the project. If `false` it will not be used as an alias on this project until the challenge in `verification` is completed.
|
|
57
47
|
*/
|
|
58
48
|
verified: boolean;
|
|
59
|
-
/**
|
|
60
|
-
* A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`.
|
|
61
|
-
*/
|
|
62
|
-
verification?: Array<VerifyProjectDomainVerification> | undefined;
|
|
63
49
|
};
|
|
64
50
|
|
|
65
51
|
/** @internal */
|
|
@@ -125,71 +111,6 @@ export function verifyProjectDomainRequestFromJSON(
|
|
|
125
111
|
);
|
|
126
112
|
}
|
|
127
113
|
|
|
128
|
-
/** @internal */
|
|
129
|
-
export const VerifyProjectDomainVerification$inboundSchema: z.ZodType<
|
|
130
|
-
VerifyProjectDomainVerification,
|
|
131
|
-
z.ZodTypeDef,
|
|
132
|
-
unknown
|
|
133
|
-
> = z.object({
|
|
134
|
-
type: z.string(),
|
|
135
|
-
domain: z.string(),
|
|
136
|
-
value: z.string(),
|
|
137
|
-
reason: z.string(),
|
|
138
|
-
});
|
|
139
|
-
|
|
140
|
-
/** @internal */
|
|
141
|
-
export type VerifyProjectDomainVerification$Outbound = {
|
|
142
|
-
type: string;
|
|
143
|
-
domain: string;
|
|
144
|
-
value: string;
|
|
145
|
-
reason: string;
|
|
146
|
-
};
|
|
147
|
-
|
|
148
|
-
/** @internal */
|
|
149
|
-
export const VerifyProjectDomainVerification$outboundSchema: z.ZodType<
|
|
150
|
-
VerifyProjectDomainVerification$Outbound,
|
|
151
|
-
z.ZodTypeDef,
|
|
152
|
-
VerifyProjectDomainVerification
|
|
153
|
-
> = z.object({
|
|
154
|
-
type: z.string(),
|
|
155
|
-
domain: z.string(),
|
|
156
|
-
value: z.string(),
|
|
157
|
-
reason: z.string(),
|
|
158
|
-
});
|
|
159
|
-
|
|
160
|
-
/**
|
|
161
|
-
* @internal
|
|
162
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
163
|
-
*/
|
|
164
|
-
export namespace VerifyProjectDomainVerification$ {
|
|
165
|
-
/** @deprecated use `VerifyProjectDomainVerification$inboundSchema` instead. */
|
|
166
|
-
export const inboundSchema = VerifyProjectDomainVerification$inboundSchema;
|
|
167
|
-
/** @deprecated use `VerifyProjectDomainVerification$outboundSchema` instead. */
|
|
168
|
-
export const outboundSchema = VerifyProjectDomainVerification$outboundSchema;
|
|
169
|
-
/** @deprecated use `VerifyProjectDomainVerification$Outbound` instead. */
|
|
170
|
-
export type Outbound = VerifyProjectDomainVerification$Outbound;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
export function verifyProjectDomainVerificationToJSON(
|
|
174
|
-
verifyProjectDomainVerification: VerifyProjectDomainVerification,
|
|
175
|
-
): string {
|
|
176
|
-
return JSON.stringify(
|
|
177
|
-
VerifyProjectDomainVerification$outboundSchema.parse(
|
|
178
|
-
verifyProjectDomainVerification,
|
|
179
|
-
),
|
|
180
|
-
);
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
export function verifyProjectDomainVerificationFromJSON(
|
|
184
|
-
jsonString: string,
|
|
185
|
-
): SafeParseResult<VerifyProjectDomainVerification, SDKValidationError> {
|
|
186
|
-
return safeParse(
|
|
187
|
-
jsonString,
|
|
188
|
-
(x) => VerifyProjectDomainVerification$inboundSchema.parse(JSON.parse(x)),
|
|
189
|
-
`Failed to parse 'VerifyProjectDomainVerification' from JSON`,
|
|
190
|
-
);
|
|
191
|
-
}
|
|
192
|
-
|
|
193
114
|
/** @internal */
|
|
194
115
|
export const VerifyProjectDomainResponseBody$inboundSchema: z.ZodType<
|
|
195
116
|
VerifyProjectDomainResponseBody,
|
|
@@ -206,9 +127,6 @@ export const VerifyProjectDomainResponseBody$inboundSchema: z.ZodType<
|
|
|
206
127
|
updatedAt: z.number().optional(),
|
|
207
128
|
createdAt: z.number().optional(),
|
|
208
129
|
verified: z.boolean(),
|
|
209
|
-
verification: z.array(
|
|
210
|
-
z.lazy(() => VerifyProjectDomainVerification$inboundSchema),
|
|
211
|
-
).optional(),
|
|
212
130
|
});
|
|
213
131
|
|
|
214
132
|
/** @internal */
|
|
@@ -223,7 +141,6 @@ export type VerifyProjectDomainResponseBody$Outbound = {
|
|
|
223
141
|
updatedAt?: number | undefined;
|
|
224
142
|
createdAt?: number | undefined;
|
|
225
143
|
verified: boolean;
|
|
226
|
-
verification?: Array<VerifyProjectDomainVerification$Outbound> | undefined;
|
|
227
144
|
};
|
|
228
145
|
|
|
229
146
|
/** @internal */
|
|
@@ -242,9 +159,6 @@ export const VerifyProjectDomainResponseBody$outboundSchema: z.ZodType<
|
|
|
242
159
|
updatedAt: z.number().optional(),
|
|
243
160
|
createdAt: z.number().optional(),
|
|
244
161
|
verified: z.boolean(),
|
|
245
|
-
verification: z.array(
|
|
246
|
-
z.lazy(() => VerifyProjectDomainVerification$outboundSchema),
|
|
247
|
-
).optional(),
|
|
248
162
|
});
|
|
249
163
|
|
|
250
164
|
/**
|