@vercel/sdk 1.2.0 → 1.2.2
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/authuser.d.ts +3 -0
- package/esm/models/authuser.d.ts.map +1 -1
- package/esm/models/authuser.js +1 -0
- package/esm/models/authuser.js.map +1 -1
- package/esm/models/canceldeploymentop.d.ts +213 -6
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +169 -2
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/checkdomainpriceop.d.ts +14 -2
- package/esm/models/checkdomainpriceop.d.ts.map +1 -1
- package/esm/models/checkdomainpriceop.js +8 -2
- package/esm/models/checkdomainpriceop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +230 -23
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +192 -21
- 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 +3 -3
- package/esm/models/createprojectop.js +1 -1
- 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/getdeploymentsop.d.ts +5 -0
- package/esm/models/getdeploymentsop.d.ts.map +1 -1
- package/esm/models/getdeploymentsop.js +2 -0
- package/esm/models/getdeploymentsop.js.map +1 -1
- package/esm/models/getdomainop.d.ts +2 -2
- package/esm/models/getdomainop.d.ts.map +1 -1
- package/esm/models/getdomainop.js +2 -2
- package/esm/models/getdomainop.js.map +1 -1
- package/esm/models/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/getteamop.d.ts +2 -5
- package/esm/models/getteamop.d.ts.map +1 -1
- package/esm/models/getteamop.js +2 -2
- package/esm/models/getteamop.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/authuser.ts +1 -0
- package/src/models/canceldeploymentop.ts +367 -2
- package/src/models/checkdomainpriceop.ts +22 -4
- package/src/models/createdeploymentop.ts +362 -36
- package/src/models/createprojectenvop.ts +2 -2
- package/src/models/createprojectop.ts +1 -1
- package/src/models/editprojectenvop.ts +1 -1
- package/src/models/filterprojectenvsop.ts +3 -3
- package/src/models/getdeploymentop.ts +353 -0
- package/src/models/getdeploymentsop.ts +7 -0
- package/src/models/getdomainop.ts +4 -4
- package/src/models/getfirewallconfigop.ts +3 -0
- package/src/models/getteamop.ts +4 -7
- package/src/models/removeprojectenvop.ts +3 -3
- package/src/models/updateprojectop.ts +3 -3
- package/src/models/verifyprojectdomainop.ts +0 -86
|
@@ -16,30 +16,30 @@ import {
|
|
|
16
16
|
import { SDKValidationError } from "./sdkvalidationerror.js";
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Forces a new deployment even if there is a previous similar deployment
|
|
20
20
|
*/
|
|
21
|
-
export const
|
|
21
|
+
export const ForceNew = {
|
|
22
22
|
Zero: "0",
|
|
23
23
|
One: "1",
|
|
24
24
|
} as const;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* Forces a new deployment even if there is a previous similar deployment
|
|
27
27
|
*/
|
|
28
|
-
export type
|
|
29
|
-
typeof SkipAutoDetectionConfirmation
|
|
30
|
-
>;
|
|
28
|
+
export type ForceNew = ClosedEnum<typeof ForceNew>;
|
|
31
29
|
|
|
32
30
|
/**
|
|
33
|
-
*
|
|
31
|
+
* Allows to skip framework detection so the API would not fail to ask for confirmation
|
|
34
32
|
*/
|
|
35
|
-
export const
|
|
33
|
+
export const SkipAutoDetectionConfirmation = {
|
|
36
34
|
Zero: "0",
|
|
37
35
|
One: "1",
|
|
38
36
|
} as const;
|
|
39
37
|
/**
|
|
40
|
-
*
|
|
38
|
+
* Allows to skip framework detection so the API would not fail to ask for confirmation
|
|
41
39
|
*/
|
|
42
|
-
export type
|
|
40
|
+
export type SkipAutoDetectionConfirmation = ClosedEnum<
|
|
41
|
+
typeof SkipAutoDetectionConfirmation
|
|
42
|
+
>;
|
|
43
43
|
|
|
44
44
|
/**
|
|
45
45
|
* Used in the case you want to reference a file that was already uploaded
|
|
@@ -382,14 +382,14 @@ export type CreateDeploymentRequestBody = {
|
|
|
382
382
|
};
|
|
383
383
|
|
|
384
384
|
export type CreateDeploymentRequest = {
|
|
385
|
-
/**
|
|
386
|
-
* Allows to skip framework detection so the API would not fail to ask for confirmation
|
|
387
|
-
*/
|
|
388
|
-
skipAutoDetectionConfirmation?: SkipAutoDetectionConfirmation | undefined;
|
|
389
385
|
/**
|
|
390
386
|
* Forces a new deployment even if there is a previous similar deployment
|
|
391
387
|
*/
|
|
392
388
|
forceNew?: ForceNew | undefined;
|
|
389
|
+
/**
|
|
390
|
+
* Allows to skip framework detection so the API would not fail to ask for confirmation
|
|
391
|
+
*/
|
|
392
|
+
skipAutoDetectionConfirmation?: SkipAutoDetectionConfirmation | undefined;
|
|
393
393
|
/**
|
|
394
394
|
* The Team identifier to perform the request on behalf of.
|
|
395
395
|
*/
|
|
@@ -507,6 +507,77 @@ export type Integrations = {
|
|
|
507
507
|
skippedBy?: string | undefined;
|
|
508
508
|
};
|
|
509
509
|
|
|
510
|
+
/**
|
|
511
|
+
* Must be `http` or `https`.
|
|
512
|
+
*/
|
|
513
|
+
export const Protocol = {
|
|
514
|
+
Http: "http",
|
|
515
|
+
Https: "https",
|
|
516
|
+
} as const;
|
|
517
|
+
/**
|
|
518
|
+
* Must be `http` or `https`.
|
|
519
|
+
*/
|
|
520
|
+
export type Protocol = ClosedEnum<typeof Protocol>;
|
|
521
|
+
|
|
522
|
+
export type RemotePatterns = {
|
|
523
|
+
/**
|
|
524
|
+
* Must be `http` or `https`.
|
|
525
|
+
*/
|
|
526
|
+
protocol?: Protocol | undefined;
|
|
527
|
+
/**
|
|
528
|
+
* Can be literal or wildcard. Single `*` matches a single subdomain. Double `**` matches any number of subdomains.
|
|
529
|
+
*/
|
|
530
|
+
hostname: string;
|
|
531
|
+
/**
|
|
532
|
+
* Can be literal port such as `8080` or empty string meaning no port.
|
|
533
|
+
*/
|
|
534
|
+
port?: string | undefined;
|
|
535
|
+
/**
|
|
536
|
+
* Can be literal or wildcard. Single `*` matches a single path segment. Double `**` matches any number of path segments.
|
|
537
|
+
*/
|
|
538
|
+
pathname?: string | undefined;
|
|
539
|
+
/**
|
|
540
|
+
* Can be literal query string such as `?v=1` or empty string meaning no query string.
|
|
541
|
+
*/
|
|
542
|
+
search?: string | undefined;
|
|
543
|
+
};
|
|
544
|
+
|
|
545
|
+
export type LocalPatterns = {
|
|
546
|
+
/**
|
|
547
|
+
* Can be literal or wildcard. Single `*` matches a single path segment. Double `**` matches any number of path segments.
|
|
548
|
+
*/
|
|
549
|
+
pathname?: string | undefined;
|
|
550
|
+
/**
|
|
551
|
+
* Can be literal query string such as `?v=1` or empty string meaning no query string.
|
|
552
|
+
*/
|
|
553
|
+
search?: string | undefined;
|
|
554
|
+
};
|
|
555
|
+
|
|
556
|
+
export const Formats = {
|
|
557
|
+
ImageAvif: "image/avif",
|
|
558
|
+
ImageWebp: "image/webp",
|
|
559
|
+
} as const;
|
|
560
|
+
export type Formats = ClosedEnum<typeof Formats>;
|
|
561
|
+
|
|
562
|
+
export const ContentDispositionType = {
|
|
563
|
+
Inline: "inline",
|
|
564
|
+
Attachment: "attachment",
|
|
565
|
+
} as const;
|
|
566
|
+
export type ContentDispositionType = ClosedEnum<typeof ContentDispositionType>;
|
|
567
|
+
|
|
568
|
+
export type Images = {
|
|
569
|
+
sizes?: Array<number> | undefined;
|
|
570
|
+
qualities?: Array<number> | undefined;
|
|
571
|
+
domains?: Array<string> | undefined;
|
|
572
|
+
remotePatterns?: Array<RemotePatterns> | undefined;
|
|
573
|
+
localPatterns?: Array<LocalPatterns> | undefined;
|
|
574
|
+
minimumCacheTTL?: number | undefined;
|
|
575
|
+
formats?: Array<Formats> | undefined;
|
|
576
|
+
dangerouslyAllowSVG?: boolean | undefined;
|
|
577
|
+
contentSecurityPolicy?: string | undefined;
|
|
578
|
+
contentDispositionType?: ContentDispositionType | undefined;
|
|
579
|
+
};
|
|
580
|
+
|
|
510
581
|
export type Creator = {
|
|
511
582
|
uid: string;
|
|
512
583
|
username?: string | undefined;
|
|
@@ -1132,6 +1203,7 @@ export type CreateDeploymentResponseBody = {
|
|
|
1132
1203
|
projectSettings: CreateDeploymentProjectSettings;
|
|
1133
1204
|
readyStateReason?: string | undefined;
|
|
1134
1205
|
integrations?: Integrations | undefined;
|
|
1206
|
+
images?: Images | undefined;
|
|
1135
1207
|
alias?: Array<string> | undefined;
|
|
1136
1208
|
aliasAssigned: boolean;
|
|
1137
1209
|
bootedAt: number;
|
|
@@ -1224,6 +1296,25 @@ export type CreateDeploymentResponseBody = {
|
|
|
1224
1296
|
flags?: Flags1 | Array<Flags2> | undefined;
|
|
1225
1297
|
};
|
|
1226
1298
|
|
|
1299
|
+
/** @internal */
|
|
1300
|
+
export const ForceNew$inboundSchema: z.ZodNativeEnum<typeof ForceNew> = z
|
|
1301
|
+
.nativeEnum(ForceNew);
|
|
1302
|
+
|
|
1303
|
+
/** @internal */
|
|
1304
|
+
export const ForceNew$outboundSchema: z.ZodNativeEnum<typeof ForceNew> =
|
|
1305
|
+
ForceNew$inboundSchema;
|
|
1306
|
+
|
|
1307
|
+
/**
|
|
1308
|
+
* @internal
|
|
1309
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1310
|
+
*/
|
|
1311
|
+
export namespace ForceNew$ {
|
|
1312
|
+
/** @deprecated use `ForceNew$inboundSchema` instead. */
|
|
1313
|
+
export const inboundSchema = ForceNew$inboundSchema;
|
|
1314
|
+
/** @deprecated use `ForceNew$outboundSchema` instead. */
|
|
1315
|
+
export const outboundSchema = ForceNew$outboundSchema;
|
|
1316
|
+
}
|
|
1317
|
+
|
|
1227
1318
|
/** @internal */
|
|
1228
1319
|
export const SkipAutoDetectionConfirmation$inboundSchema: z.ZodNativeEnum<
|
|
1229
1320
|
typeof SkipAutoDetectionConfirmation
|
|
@@ -1245,25 +1336,6 @@ export namespace SkipAutoDetectionConfirmation$ {
|
|
|
1245
1336
|
export const outboundSchema = SkipAutoDetectionConfirmation$outboundSchema;
|
|
1246
1337
|
}
|
|
1247
1338
|
|
|
1248
|
-
/** @internal */
|
|
1249
|
-
export const ForceNew$inboundSchema: z.ZodNativeEnum<typeof ForceNew> = z
|
|
1250
|
-
.nativeEnum(ForceNew);
|
|
1251
|
-
|
|
1252
|
-
/** @internal */
|
|
1253
|
-
export const ForceNew$outboundSchema: z.ZodNativeEnum<typeof ForceNew> =
|
|
1254
|
-
ForceNew$inboundSchema;
|
|
1255
|
-
|
|
1256
|
-
/**
|
|
1257
|
-
* @internal
|
|
1258
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1259
|
-
*/
|
|
1260
|
-
export namespace ForceNew$ {
|
|
1261
|
-
/** @deprecated use `ForceNew$inboundSchema` instead. */
|
|
1262
|
-
export const inboundSchema = ForceNew$inboundSchema;
|
|
1263
|
-
/** @deprecated use `ForceNew$outboundSchema` instead. */
|
|
1264
|
-
export const outboundSchema = ForceNew$outboundSchema;
|
|
1265
|
-
}
|
|
1266
|
-
|
|
1267
1339
|
/** @internal */
|
|
1268
1340
|
export const UploadedFile$inboundSchema: z.ZodType<
|
|
1269
1341
|
UploadedFile,
|
|
@@ -2316,9 +2388,9 @@ export const CreateDeploymentRequest$inboundSchema: z.ZodType<
|
|
|
2316
2388
|
z.ZodTypeDef,
|
|
2317
2389
|
unknown
|
|
2318
2390
|
> = z.object({
|
|
2391
|
+
forceNew: ForceNew$inboundSchema.optional(),
|
|
2319
2392
|
skipAutoDetectionConfirmation: SkipAutoDetectionConfirmation$inboundSchema
|
|
2320
2393
|
.optional(),
|
|
2321
|
-
forceNew: ForceNew$inboundSchema.optional(),
|
|
2322
2394
|
teamId: z.string().optional(),
|
|
2323
2395
|
slug: z.string().optional(),
|
|
2324
2396
|
RequestBody: z.lazy(() => CreateDeploymentRequestBody$inboundSchema),
|
|
@@ -2330,8 +2402,8 @@ export const CreateDeploymentRequest$inboundSchema: z.ZodType<
|
|
|
2330
2402
|
|
|
2331
2403
|
/** @internal */
|
|
2332
2404
|
export type CreateDeploymentRequest$Outbound = {
|
|
2333
|
-
skipAutoDetectionConfirmation?: string | undefined;
|
|
2334
2405
|
forceNew?: string | undefined;
|
|
2406
|
+
skipAutoDetectionConfirmation?: string | undefined;
|
|
2335
2407
|
teamId?: string | undefined;
|
|
2336
2408
|
slug?: string | undefined;
|
|
2337
2409
|
RequestBody: CreateDeploymentRequestBody$Outbound;
|
|
@@ -2343,9 +2415,9 @@ export const CreateDeploymentRequest$outboundSchema: z.ZodType<
|
|
|
2343
2415
|
z.ZodTypeDef,
|
|
2344
2416
|
CreateDeploymentRequest
|
|
2345
2417
|
> = z.object({
|
|
2418
|
+
forceNew: ForceNew$outboundSchema.optional(),
|
|
2346
2419
|
skipAutoDetectionConfirmation: SkipAutoDetectionConfirmation$outboundSchema
|
|
2347
2420
|
.optional(),
|
|
2348
|
-
forceNew: ForceNew$outboundSchema.optional(),
|
|
2349
2421
|
teamId: z.string().optional(),
|
|
2350
2422
|
slug: z.string().optional(),
|
|
2351
2423
|
requestBody: z.lazy(() => CreateDeploymentRequestBody$outboundSchema),
|
|
@@ -2845,6 +2917,257 @@ export function integrationsFromJSON(
|
|
|
2845
2917
|
);
|
|
2846
2918
|
}
|
|
2847
2919
|
|
|
2920
|
+
/** @internal */
|
|
2921
|
+
export const Protocol$inboundSchema: z.ZodNativeEnum<typeof Protocol> = z
|
|
2922
|
+
.nativeEnum(Protocol);
|
|
2923
|
+
|
|
2924
|
+
/** @internal */
|
|
2925
|
+
export const Protocol$outboundSchema: z.ZodNativeEnum<typeof Protocol> =
|
|
2926
|
+
Protocol$inboundSchema;
|
|
2927
|
+
|
|
2928
|
+
/**
|
|
2929
|
+
* @internal
|
|
2930
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2931
|
+
*/
|
|
2932
|
+
export namespace Protocol$ {
|
|
2933
|
+
/** @deprecated use `Protocol$inboundSchema` instead. */
|
|
2934
|
+
export const inboundSchema = Protocol$inboundSchema;
|
|
2935
|
+
/** @deprecated use `Protocol$outboundSchema` instead. */
|
|
2936
|
+
export const outboundSchema = Protocol$outboundSchema;
|
|
2937
|
+
}
|
|
2938
|
+
|
|
2939
|
+
/** @internal */
|
|
2940
|
+
export const RemotePatterns$inboundSchema: z.ZodType<
|
|
2941
|
+
RemotePatterns,
|
|
2942
|
+
z.ZodTypeDef,
|
|
2943
|
+
unknown
|
|
2944
|
+
> = z.object({
|
|
2945
|
+
protocol: Protocol$inboundSchema.optional(),
|
|
2946
|
+
hostname: z.string(),
|
|
2947
|
+
port: z.string().optional(),
|
|
2948
|
+
pathname: z.string().optional(),
|
|
2949
|
+
search: z.string().optional(),
|
|
2950
|
+
});
|
|
2951
|
+
|
|
2952
|
+
/** @internal */
|
|
2953
|
+
export type RemotePatterns$Outbound = {
|
|
2954
|
+
protocol?: string | undefined;
|
|
2955
|
+
hostname: string;
|
|
2956
|
+
port?: string | undefined;
|
|
2957
|
+
pathname?: string | undefined;
|
|
2958
|
+
search?: string | undefined;
|
|
2959
|
+
};
|
|
2960
|
+
|
|
2961
|
+
/** @internal */
|
|
2962
|
+
export const RemotePatterns$outboundSchema: z.ZodType<
|
|
2963
|
+
RemotePatterns$Outbound,
|
|
2964
|
+
z.ZodTypeDef,
|
|
2965
|
+
RemotePatterns
|
|
2966
|
+
> = z.object({
|
|
2967
|
+
protocol: Protocol$outboundSchema.optional(),
|
|
2968
|
+
hostname: z.string(),
|
|
2969
|
+
port: z.string().optional(),
|
|
2970
|
+
pathname: z.string().optional(),
|
|
2971
|
+
search: z.string().optional(),
|
|
2972
|
+
});
|
|
2973
|
+
|
|
2974
|
+
/**
|
|
2975
|
+
* @internal
|
|
2976
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2977
|
+
*/
|
|
2978
|
+
export namespace RemotePatterns$ {
|
|
2979
|
+
/** @deprecated use `RemotePatterns$inboundSchema` instead. */
|
|
2980
|
+
export const inboundSchema = RemotePatterns$inboundSchema;
|
|
2981
|
+
/** @deprecated use `RemotePatterns$outboundSchema` instead. */
|
|
2982
|
+
export const outboundSchema = RemotePatterns$outboundSchema;
|
|
2983
|
+
/** @deprecated use `RemotePatterns$Outbound` instead. */
|
|
2984
|
+
export type Outbound = RemotePatterns$Outbound;
|
|
2985
|
+
}
|
|
2986
|
+
|
|
2987
|
+
export function remotePatternsToJSON(remotePatterns: RemotePatterns): string {
|
|
2988
|
+
return JSON.stringify(RemotePatterns$outboundSchema.parse(remotePatterns));
|
|
2989
|
+
}
|
|
2990
|
+
|
|
2991
|
+
export function remotePatternsFromJSON(
|
|
2992
|
+
jsonString: string,
|
|
2993
|
+
): SafeParseResult<RemotePatterns, SDKValidationError> {
|
|
2994
|
+
return safeParse(
|
|
2995
|
+
jsonString,
|
|
2996
|
+
(x) => RemotePatterns$inboundSchema.parse(JSON.parse(x)),
|
|
2997
|
+
`Failed to parse 'RemotePatterns' from JSON`,
|
|
2998
|
+
);
|
|
2999
|
+
}
|
|
3000
|
+
|
|
3001
|
+
/** @internal */
|
|
3002
|
+
export const LocalPatterns$inboundSchema: z.ZodType<
|
|
3003
|
+
LocalPatterns,
|
|
3004
|
+
z.ZodTypeDef,
|
|
3005
|
+
unknown
|
|
3006
|
+
> = z.object({
|
|
3007
|
+
pathname: z.string().optional(),
|
|
3008
|
+
search: z.string().optional(),
|
|
3009
|
+
});
|
|
3010
|
+
|
|
3011
|
+
/** @internal */
|
|
3012
|
+
export type LocalPatterns$Outbound = {
|
|
3013
|
+
pathname?: string | undefined;
|
|
3014
|
+
search?: string | undefined;
|
|
3015
|
+
};
|
|
3016
|
+
|
|
3017
|
+
/** @internal */
|
|
3018
|
+
export const LocalPatterns$outboundSchema: z.ZodType<
|
|
3019
|
+
LocalPatterns$Outbound,
|
|
3020
|
+
z.ZodTypeDef,
|
|
3021
|
+
LocalPatterns
|
|
3022
|
+
> = z.object({
|
|
3023
|
+
pathname: z.string().optional(),
|
|
3024
|
+
search: z.string().optional(),
|
|
3025
|
+
});
|
|
3026
|
+
|
|
3027
|
+
/**
|
|
3028
|
+
* @internal
|
|
3029
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3030
|
+
*/
|
|
3031
|
+
export namespace LocalPatterns$ {
|
|
3032
|
+
/** @deprecated use `LocalPatterns$inboundSchema` instead. */
|
|
3033
|
+
export const inboundSchema = LocalPatterns$inboundSchema;
|
|
3034
|
+
/** @deprecated use `LocalPatterns$outboundSchema` instead. */
|
|
3035
|
+
export const outboundSchema = LocalPatterns$outboundSchema;
|
|
3036
|
+
/** @deprecated use `LocalPatterns$Outbound` instead. */
|
|
3037
|
+
export type Outbound = LocalPatterns$Outbound;
|
|
3038
|
+
}
|
|
3039
|
+
|
|
3040
|
+
export function localPatternsToJSON(localPatterns: LocalPatterns): string {
|
|
3041
|
+
return JSON.stringify(LocalPatterns$outboundSchema.parse(localPatterns));
|
|
3042
|
+
}
|
|
3043
|
+
|
|
3044
|
+
export function localPatternsFromJSON(
|
|
3045
|
+
jsonString: string,
|
|
3046
|
+
): SafeParseResult<LocalPatterns, SDKValidationError> {
|
|
3047
|
+
return safeParse(
|
|
3048
|
+
jsonString,
|
|
3049
|
+
(x) => LocalPatterns$inboundSchema.parse(JSON.parse(x)),
|
|
3050
|
+
`Failed to parse 'LocalPatterns' from JSON`,
|
|
3051
|
+
);
|
|
3052
|
+
}
|
|
3053
|
+
|
|
3054
|
+
/** @internal */
|
|
3055
|
+
export const Formats$inboundSchema: z.ZodNativeEnum<typeof Formats> = z
|
|
3056
|
+
.nativeEnum(Formats);
|
|
3057
|
+
|
|
3058
|
+
/** @internal */
|
|
3059
|
+
export const Formats$outboundSchema: z.ZodNativeEnum<typeof Formats> =
|
|
3060
|
+
Formats$inboundSchema;
|
|
3061
|
+
|
|
3062
|
+
/**
|
|
3063
|
+
* @internal
|
|
3064
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3065
|
+
*/
|
|
3066
|
+
export namespace Formats$ {
|
|
3067
|
+
/** @deprecated use `Formats$inboundSchema` instead. */
|
|
3068
|
+
export const inboundSchema = Formats$inboundSchema;
|
|
3069
|
+
/** @deprecated use `Formats$outboundSchema` instead. */
|
|
3070
|
+
export const outboundSchema = Formats$outboundSchema;
|
|
3071
|
+
}
|
|
3072
|
+
|
|
3073
|
+
/** @internal */
|
|
3074
|
+
export const ContentDispositionType$inboundSchema: z.ZodNativeEnum<
|
|
3075
|
+
typeof ContentDispositionType
|
|
3076
|
+
> = z.nativeEnum(ContentDispositionType);
|
|
3077
|
+
|
|
3078
|
+
/** @internal */
|
|
3079
|
+
export const ContentDispositionType$outboundSchema: z.ZodNativeEnum<
|
|
3080
|
+
typeof ContentDispositionType
|
|
3081
|
+
> = ContentDispositionType$inboundSchema;
|
|
3082
|
+
|
|
3083
|
+
/**
|
|
3084
|
+
* @internal
|
|
3085
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3086
|
+
*/
|
|
3087
|
+
export namespace ContentDispositionType$ {
|
|
3088
|
+
/** @deprecated use `ContentDispositionType$inboundSchema` instead. */
|
|
3089
|
+
export const inboundSchema = ContentDispositionType$inboundSchema;
|
|
3090
|
+
/** @deprecated use `ContentDispositionType$outboundSchema` instead. */
|
|
3091
|
+
export const outboundSchema = ContentDispositionType$outboundSchema;
|
|
3092
|
+
}
|
|
3093
|
+
|
|
3094
|
+
/** @internal */
|
|
3095
|
+
export const Images$inboundSchema: z.ZodType<Images, z.ZodTypeDef, unknown> = z
|
|
3096
|
+
.object({
|
|
3097
|
+
sizes: z.array(z.number()).optional(),
|
|
3098
|
+
qualities: z.array(z.number()).optional(),
|
|
3099
|
+
domains: z.array(z.string()).optional(),
|
|
3100
|
+
remotePatterns: z.array(z.lazy(() => RemotePatterns$inboundSchema))
|
|
3101
|
+
.optional(),
|
|
3102
|
+
localPatterns: z.array(z.lazy(() => LocalPatterns$inboundSchema))
|
|
3103
|
+
.optional(),
|
|
3104
|
+
minimumCacheTTL: z.number().optional(),
|
|
3105
|
+
formats: z.array(Formats$inboundSchema).optional(),
|
|
3106
|
+
dangerouslyAllowSVG: z.boolean().optional(),
|
|
3107
|
+
contentSecurityPolicy: z.string().optional(),
|
|
3108
|
+
contentDispositionType: ContentDispositionType$inboundSchema.optional(),
|
|
3109
|
+
});
|
|
3110
|
+
|
|
3111
|
+
/** @internal */
|
|
3112
|
+
export type Images$Outbound = {
|
|
3113
|
+
sizes?: Array<number> | undefined;
|
|
3114
|
+
qualities?: Array<number> | undefined;
|
|
3115
|
+
domains?: Array<string> | undefined;
|
|
3116
|
+
remotePatterns?: Array<RemotePatterns$Outbound> | undefined;
|
|
3117
|
+
localPatterns?: Array<LocalPatterns$Outbound> | undefined;
|
|
3118
|
+
minimumCacheTTL?: number | undefined;
|
|
3119
|
+
formats?: Array<string> | undefined;
|
|
3120
|
+
dangerouslyAllowSVG?: boolean | undefined;
|
|
3121
|
+
contentSecurityPolicy?: string | undefined;
|
|
3122
|
+
contentDispositionType?: string | undefined;
|
|
3123
|
+
};
|
|
3124
|
+
|
|
3125
|
+
/** @internal */
|
|
3126
|
+
export const Images$outboundSchema: z.ZodType<
|
|
3127
|
+
Images$Outbound,
|
|
3128
|
+
z.ZodTypeDef,
|
|
3129
|
+
Images
|
|
3130
|
+
> = z.object({
|
|
3131
|
+
sizes: z.array(z.number()).optional(),
|
|
3132
|
+
qualities: z.array(z.number()).optional(),
|
|
3133
|
+
domains: z.array(z.string()).optional(),
|
|
3134
|
+
remotePatterns: z.array(z.lazy(() => RemotePatterns$outboundSchema))
|
|
3135
|
+
.optional(),
|
|
3136
|
+
localPatterns: z.array(z.lazy(() => LocalPatterns$outboundSchema)).optional(),
|
|
3137
|
+
minimumCacheTTL: z.number().optional(),
|
|
3138
|
+
formats: z.array(Formats$outboundSchema).optional(),
|
|
3139
|
+
dangerouslyAllowSVG: z.boolean().optional(),
|
|
3140
|
+
contentSecurityPolicy: z.string().optional(),
|
|
3141
|
+
contentDispositionType: ContentDispositionType$outboundSchema.optional(),
|
|
3142
|
+
});
|
|
3143
|
+
|
|
3144
|
+
/**
|
|
3145
|
+
* @internal
|
|
3146
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3147
|
+
*/
|
|
3148
|
+
export namespace Images$ {
|
|
3149
|
+
/** @deprecated use `Images$inboundSchema` instead. */
|
|
3150
|
+
export const inboundSchema = Images$inboundSchema;
|
|
3151
|
+
/** @deprecated use `Images$outboundSchema` instead. */
|
|
3152
|
+
export const outboundSchema = Images$outboundSchema;
|
|
3153
|
+
/** @deprecated use `Images$Outbound` instead. */
|
|
3154
|
+
export type Outbound = Images$Outbound;
|
|
3155
|
+
}
|
|
3156
|
+
|
|
3157
|
+
export function imagesToJSON(images: Images): string {
|
|
3158
|
+
return JSON.stringify(Images$outboundSchema.parse(images));
|
|
3159
|
+
}
|
|
3160
|
+
|
|
3161
|
+
export function imagesFromJSON(
|
|
3162
|
+
jsonString: string,
|
|
3163
|
+
): SafeParseResult<Images, SDKValidationError> {
|
|
3164
|
+
return safeParse(
|
|
3165
|
+
jsonString,
|
|
3166
|
+
(x) => Images$inboundSchema.parse(JSON.parse(x)),
|
|
3167
|
+
`Failed to parse 'Images' from JSON`,
|
|
3168
|
+
);
|
|
3169
|
+
}
|
|
3170
|
+
|
|
2848
3171
|
/** @internal */
|
|
2849
3172
|
export const Creator$inboundSchema: z.ZodType<Creator, z.ZodTypeDef, unknown> =
|
|
2850
3173
|
z.object({
|
|
@@ -6453,6 +6776,7 @@ export const CreateDeploymentResponseBody$inboundSchema: z.ZodType<
|
|
|
6453
6776
|
projectSettings: z.lazy(() => CreateDeploymentProjectSettings$inboundSchema),
|
|
6454
6777
|
readyStateReason: z.string().optional(),
|
|
6455
6778
|
integrations: z.lazy(() => Integrations$inboundSchema).optional(),
|
|
6779
|
+
images: z.lazy(() => Images$inboundSchema).optional(),
|
|
6456
6780
|
alias: z.array(z.string()).optional(),
|
|
6457
6781
|
aliasAssigned: z.boolean(),
|
|
6458
6782
|
bootedAt: z.number(),
|
|
@@ -6568,6 +6892,7 @@ export type CreateDeploymentResponseBody$Outbound = {
|
|
|
6568
6892
|
projectSettings: CreateDeploymentProjectSettings$Outbound;
|
|
6569
6893
|
readyStateReason?: string | undefined;
|
|
6570
6894
|
integrations?: Integrations$Outbound | undefined;
|
|
6895
|
+
images?: Images$Outbound | undefined;
|
|
6571
6896
|
alias?: Array<string> | undefined;
|
|
6572
6897
|
aliasAssigned: boolean;
|
|
6573
6898
|
bootedAt: number;
|
|
@@ -6674,6 +6999,7 @@ export const CreateDeploymentResponseBody$outboundSchema: z.ZodType<
|
|
|
6674
6999
|
projectSettings: z.lazy(() => CreateDeploymentProjectSettings$outboundSchema),
|
|
6675
7000
|
readyStateReason: z.string().optional(),
|
|
6676
7001
|
integrations: z.lazy(() => Integrations$outboundSchema).optional(),
|
|
7002
|
+
images: z.lazy(() => Images$outboundSchema).optional(),
|
|
6677
7003
|
alias: z.array(z.string()).optional(),
|
|
6678
7004
|
aliasAssigned: z.boolean(),
|
|
6679
7005
|
bootedAt: z.number(),
|
|
@@ -255,10 +255,10 @@ export type CreateProjectEnvCreatedTarget =
|
|
|
255
255
|
|
|
256
256
|
export const CreateProjectEnvCreatedType = {
|
|
257
257
|
System: "system",
|
|
258
|
-
Secret: "secret",
|
|
259
258
|
Encrypted: "encrypted",
|
|
260
259
|
Plain: "plain",
|
|
261
260
|
Sensitive: "sensitive",
|
|
261
|
+
Secret: "secret",
|
|
262
262
|
} as const;
|
|
263
263
|
export type CreateProjectEnvCreatedType = ClosedEnum<
|
|
264
264
|
typeof CreateProjectEnvCreatedType
|
|
@@ -604,10 +604,10 @@ export type CreatedTarget =
|
|
|
604
604
|
|
|
605
605
|
export const CreatedType = {
|
|
606
606
|
System: "system",
|
|
607
|
-
Secret: "secret",
|
|
608
607
|
Encrypted: "encrypted",
|
|
609
608
|
Plain: "plain",
|
|
610
609
|
Sensitive: "sensitive",
|
|
610
|
+
Secret: "secret",
|
|
611
611
|
} as const;
|
|
612
612
|
export type CreatedType = ClosedEnum<typeof CreatedType>;
|
|
613
613
|
|
|
@@ -335,10 +335,10 @@ export type CreateProjectProjectsTarget = Array<string> | CreateProjectTarget2;
|
|
|
335
335
|
|
|
336
336
|
export const CreateProjectProjectsResponseType = {
|
|
337
337
|
System: "system",
|
|
338
|
-
Secret: "secret",
|
|
339
338
|
Encrypted: "encrypted",
|
|
340
339
|
Plain: "plain",
|
|
341
340
|
Sensitive: "sensitive",
|
|
341
|
+
Secret: "secret",
|
|
342
342
|
} as const;
|
|
343
343
|
export type CreateProjectProjectsResponseType = ClosedEnum<
|
|
344
344
|
typeof CreateProjectProjectsResponseType
|
|
@@ -94,10 +94,10 @@ export type EditProjectEnvResponseBodyTarget =
|
|
|
94
94
|
|
|
95
95
|
export const EditProjectEnvResponseBodyType = {
|
|
96
96
|
System: "system",
|
|
97
|
-
Secret: "secret",
|
|
98
97
|
Encrypted: "encrypted",
|
|
99
98
|
Plain: "plain",
|
|
100
99
|
Sensitive: "sensitive",
|
|
100
|
+
Secret: "secret",
|
|
101
101
|
} as const;
|
|
102
102
|
export type EditProjectEnvResponseBodyType = ClosedEnum<
|
|
103
103
|
typeof EditProjectEnvResponseBodyType
|
|
@@ -81,10 +81,10 @@ export type FilterProjectEnvsResponseBodyProjectsResponseTarget =
|
|
|
81
81
|
|
|
82
82
|
export const FilterProjectEnvsResponseBodyProjectsResponse200Type = {
|
|
83
83
|
System: "system",
|
|
84
|
-
Secret: "secret",
|
|
85
84
|
Encrypted: "encrypted",
|
|
86
85
|
Plain: "plain",
|
|
87
86
|
Sensitive: "sensitive",
|
|
87
|
+
Secret: "secret",
|
|
88
88
|
} as const;
|
|
89
89
|
export type FilterProjectEnvsResponseBodyProjectsResponse200Type = ClosedEnum<
|
|
90
90
|
typeof FilterProjectEnvsResponseBodyProjectsResponse200Type
|
|
@@ -442,10 +442,10 @@ export type FilterProjectEnvsResponseBodyProjectsTarget =
|
|
|
442
442
|
|
|
443
443
|
export const FilterProjectEnvsResponseBodyProjectsResponseType = {
|
|
444
444
|
System: "system",
|
|
445
|
-
Secret: "secret",
|
|
446
445
|
Encrypted: "encrypted",
|
|
447
446
|
Plain: "plain",
|
|
448
447
|
Sensitive: "sensitive",
|
|
448
|
+
Secret: "secret",
|
|
449
449
|
} as const;
|
|
450
450
|
export type FilterProjectEnvsResponseBodyProjectsResponseType = ClosedEnum<
|
|
451
451
|
typeof FilterProjectEnvsResponseBodyProjectsResponseType
|
|
@@ -795,10 +795,10 @@ export type FilterProjectEnvsResponseBodyTarget =
|
|
|
795
795
|
|
|
796
796
|
export const FilterProjectEnvsResponseBodyType = {
|
|
797
797
|
System: "system",
|
|
798
|
-
Secret: "secret",
|
|
799
798
|
Encrypted: "encrypted",
|
|
800
799
|
Plain: "plain",
|
|
801
800
|
Sensitive: "sensitive",
|
|
801
|
+
Secret: "secret",
|
|
802
802
|
} as const;
|
|
803
803
|
export type FilterProjectEnvsResponseBodyType = ClosedEnum<
|
|
804
804
|
typeof FilterProjectEnvsResponseBodyType
|