@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
|
@@ -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(),
|
|
@@ -376,6 +376,10 @@ export type Deployments = {
|
|
|
376
376
|
* Timestamp of when the deployment got created.
|
|
377
377
|
*/
|
|
378
378
|
created: number;
|
|
379
|
+
/**
|
|
380
|
+
* The default route that should be used for screenshots and links if configured with microfrontends.
|
|
381
|
+
*/
|
|
382
|
+
defaultRoute?: string | undefined;
|
|
379
383
|
/**
|
|
380
384
|
* Timestamp of when the deployment got deleted.
|
|
381
385
|
*/
|
|
@@ -1342,6 +1346,7 @@ export const Deployments$inboundSchema: z.ZodType<
|
|
|
1342
1346
|
name: z.string(),
|
|
1343
1347
|
url: z.string(),
|
|
1344
1348
|
created: z.number(),
|
|
1349
|
+
defaultRoute: z.string().optional(),
|
|
1345
1350
|
deleted: z.number().optional(),
|
|
1346
1351
|
undeleted: z.number().optional(),
|
|
1347
1352
|
softDeletedByRetention: z.boolean().optional(),
|
|
@@ -1380,6 +1385,7 @@ export type Deployments$Outbound = {
|
|
|
1380
1385
|
name: string;
|
|
1381
1386
|
url: string;
|
|
1382
1387
|
created: number;
|
|
1388
|
+
defaultRoute?: string | undefined;
|
|
1383
1389
|
deleted?: number | undefined;
|
|
1384
1390
|
undeleted?: number | undefined;
|
|
1385
1391
|
softDeletedByRetention?: boolean | undefined;
|
|
@@ -1419,6 +1425,7 @@ export const Deployments$outboundSchema: z.ZodType<
|
|
|
1419
1425
|
name: z.string(),
|
|
1420
1426
|
url: z.string(),
|
|
1421
1427
|
created: z.number(),
|
|
1428
|
+
defaultRoute: z.string().optional(),
|
|
1422
1429
|
deleted: z.number().optional(),
|
|
1423
1430
|
undeleted: z.number().optional(),
|
|
1424
1431
|
softDeletedByRetention: z.boolean().optional(),
|
|
@@ -70,7 +70,6 @@ export type GetDomainDomain = {
|
|
|
70
70
|
*/
|
|
71
71
|
creator: GetDomainCreator;
|
|
72
72
|
teamId: string | null;
|
|
73
|
-
userId: string;
|
|
74
73
|
/**
|
|
75
74
|
* If it was purchased through Vercel, the timestamp in milliseconds when it was purchased.
|
|
76
75
|
*/
|
|
@@ -111,6 +110,7 @@ export type GetDomainDomain = {
|
|
|
111
110
|
* If transferred into Vercel, timestamp in milliseconds when the domain transfer was initiated.
|
|
112
111
|
*/
|
|
113
112
|
transferStartedAt?: number | undefined;
|
|
113
|
+
userId: string;
|
|
114
114
|
};
|
|
115
115
|
|
|
116
116
|
/**
|
|
@@ -278,7 +278,6 @@ export const GetDomainDomain$inboundSchema: z.ZodType<
|
|
|
278
278
|
customNameservers: z.array(z.string()).optional(),
|
|
279
279
|
creator: z.lazy(() => GetDomainCreator$inboundSchema),
|
|
280
280
|
teamId: z.nullable(z.string()),
|
|
281
|
-
userId: z.string(),
|
|
282
281
|
boughtAt: z.nullable(z.number()),
|
|
283
282
|
createdAt: z.number(),
|
|
284
283
|
expiresAt: z.nullable(z.number()),
|
|
@@ -289,6 +288,7 @@ export const GetDomainDomain$inboundSchema: z.ZodType<
|
|
|
289
288
|
serviceType: ServiceType$inboundSchema,
|
|
290
289
|
transferredAt: z.nullable(z.number()).optional(),
|
|
291
290
|
transferStartedAt: z.number().optional(),
|
|
291
|
+
userId: z.string(),
|
|
292
292
|
});
|
|
293
293
|
|
|
294
294
|
/** @internal */
|
|
@@ -300,7 +300,6 @@ export type GetDomainDomain$Outbound = {
|
|
|
300
300
|
customNameservers?: Array<string> | undefined;
|
|
301
301
|
creator: GetDomainCreator$Outbound;
|
|
302
302
|
teamId: string | null;
|
|
303
|
-
userId: string;
|
|
304
303
|
boughtAt: number | null;
|
|
305
304
|
createdAt: number;
|
|
306
305
|
expiresAt: number | null;
|
|
@@ -311,6 +310,7 @@ export type GetDomainDomain$Outbound = {
|
|
|
311
310
|
serviceType: string;
|
|
312
311
|
transferredAt?: number | null | undefined;
|
|
313
312
|
transferStartedAt?: number | undefined;
|
|
313
|
+
userId: string;
|
|
314
314
|
};
|
|
315
315
|
|
|
316
316
|
/** @internal */
|
|
@@ -326,7 +326,6 @@ export const GetDomainDomain$outboundSchema: z.ZodType<
|
|
|
326
326
|
customNameservers: z.array(z.string()).optional(),
|
|
327
327
|
creator: z.lazy(() => GetDomainCreator$outboundSchema),
|
|
328
328
|
teamId: z.nullable(z.string()),
|
|
329
|
-
userId: z.string(),
|
|
330
329
|
boughtAt: z.nullable(z.number()),
|
|
331
330
|
createdAt: z.number(),
|
|
332
331
|
expiresAt: z.nullable(z.number()),
|
|
@@ -337,6 +336,7 @@ export const GetDomainDomain$outboundSchema: z.ZodType<
|
|
|
337
336
|
serviceType: ServiceType$outboundSchema,
|
|
338
337
|
transferredAt: z.nullable(z.number()).optional(),
|
|
339
338
|
transferStartedAt: z.number().optional(),
|
|
339
|
+
userId: z.string(),
|
|
340
340
|
});
|
|
341
341
|
|
|
342
342
|
/**
|
|
@@ -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;
|
package/src/models/getteamop.ts
CHANGED
|
@@ -8,14 +8,11 @@ import { Result as SafeParseResult } from "../types/fp.js";
|
|
|
8
8
|
import { SDKValidationError } from "./sdkvalidationerror.js";
|
|
9
9
|
|
|
10
10
|
export type GetTeamRequest = {
|
|
11
|
+
slug?: string | undefined;
|
|
11
12
|
/**
|
|
12
13
|
* The Team identifier to perform the request on behalf of.
|
|
13
14
|
*/
|
|
14
15
|
teamId: string;
|
|
15
|
-
/**
|
|
16
|
-
* The Team slug to perform the request on behalf of.
|
|
17
|
-
*/
|
|
18
|
-
slug?: string | undefined;
|
|
19
16
|
};
|
|
20
17
|
|
|
21
18
|
/** @internal */
|
|
@@ -24,14 +21,14 @@ export const GetTeamRequest$inboundSchema: z.ZodType<
|
|
|
24
21
|
z.ZodTypeDef,
|
|
25
22
|
unknown
|
|
26
23
|
> = z.object({
|
|
27
|
-
teamId: z.string(),
|
|
28
24
|
slug: z.string().optional(),
|
|
25
|
+
teamId: z.string(),
|
|
29
26
|
});
|
|
30
27
|
|
|
31
28
|
/** @internal */
|
|
32
29
|
export type GetTeamRequest$Outbound = {
|
|
33
|
-
teamId: string;
|
|
34
30
|
slug?: string | undefined;
|
|
31
|
+
teamId: string;
|
|
35
32
|
};
|
|
36
33
|
|
|
37
34
|
/** @internal */
|
|
@@ -40,8 +37,8 @@ export const GetTeamRequest$outboundSchema: z.ZodType<
|
|
|
40
37
|
z.ZodTypeDef,
|
|
41
38
|
GetTeamRequest
|
|
42
39
|
> = z.object({
|
|
43
|
-
teamId: z.string(),
|
|
44
40
|
slug: z.string().optional(),
|
|
41
|
+
teamId: z.string(),
|
|
45
42
|
});
|
|
46
43
|
|
|
47
44
|
/**
|
|
@@ -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
|
|