@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
|
@@ -27,6 +27,8 @@ const vercel = new Vercel({
|
|
|
27
27
|
async function run() {
|
|
28
28
|
const result = await vercel.checks.createCheck({
|
|
29
29
|
deploymentId: "dpl_2qn7PZrx89yxY34vEZPD31Y9XVj6",
|
|
30
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
31
|
+
slug: "my-team-url-slug",
|
|
30
32
|
requestBody: {
|
|
31
33
|
name: "Performance Check",
|
|
32
34
|
path: "/",
|
|
@@ -61,6 +63,8 @@ const vercel = new VercelCore({
|
|
|
61
63
|
async function run() {
|
|
62
64
|
const res = await checksCreateCheck(vercel, {
|
|
63
65
|
deploymentId: "dpl_2qn7PZrx89yxY34vEZPD31Y9XVj6",
|
|
66
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
67
|
+
slug: "my-team-url-slug",
|
|
64
68
|
requestBody: {
|
|
65
69
|
name: "Performance Check",
|
|
66
70
|
path: "/",
|
|
@@ -122,6 +126,8 @@ const vercel = new Vercel({
|
|
|
122
126
|
async function run() {
|
|
123
127
|
const result = await vercel.checks.getAllChecks({
|
|
124
128
|
deploymentId: "dpl_2qn7PZrx89yxY34vEZPD31Y9XVj6",
|
|
129
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
130
|
+
slug: "my-team-url-slug",
|
|
125
131
|
});
|
|
126
132
|
|
|
127
133
|
// Handle the result
|
|
@@ -148,6 +154,8 @@ const vercel = new VercelCore({
|
|
|
148
154
|
async function run() {
|
|
149
155
|
const res = await checksGetAllChecks(vercel, {
|
|
150
156
|
deploymentId: "dpl_2qn7PZrx89yxY34vEZPD31Y9XVj6",
|
|
157
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
158
|
+
slug: "my-team-url-slug",
|
|
151
159
|
});
|
|
152
160
|
|
|
153
161
|
if (!res.ok) {
|
|
@@ -202,6 +210,8 @@ async function run() {
|
|
|
202
210
|
const result = await vercel.checks.getCheck({
|
|
203
211
|
deploymentId: "dpl_2qn7PZrx89yxY34vEZPD31Y9XVj6",
|
|
204
212
|
checkId: "check_2qn7PZrx89yxY34vEZPD31Y9XVj6",
|
|
213
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
214
|
+
slug: "my-team-url-slug",
|
|
205
215
|
});
|
|
206
216
|
|
|
207
217
|
// Handle the result
|
|
@@ -229,6 +239,8 @@ async function run() {
|
|
|
229
239
|
const res = await checksGetCheck(vercel, {
|
|
230
240
|
deploymentId: "dpl_2qn7PZrx89yxY34vEZPD31Y9XVj6",
|
|
231
241
|
checkId: "check_2qn7PZrx89yxY34vEZPD31Y9XVj6",
|
|
242
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
243
|
+
slug: "my-team-url-slug",
|
|
232
244
|
});
|
|
233
245
|
|
|
234
246
|
if (!res.ok) {
|
|
@@ -283,6 +295,8 @@ async function run() {
|
|
|
283
295
|
const result = await vercel.checks.updateCheck({
|
|
284
296
|
deploymentId: "dpl_2qn7PZrx89yxY34vEZPD31Y9XVj6",
|
|
285
297
|
checkId: "check_2qn7PZrx89yxY34vEZPD31Y9XVj6",
|
|
298
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
299
|
+
slug: "my-team-url-slug",
|
|
286
300
|
requestBody: {
|
|
287
301
|
name: "Performance Check",
|
|
288
302
|
path: "/",
|
|
@@ -345,6 +359,8 @@ async function run() {
|
|
|
345
359
|
const res = await checksUpdateCheck(vercel, {
|
|
346
360
|
deploymentId: "dpl_2qn7PZrx89yxY34vEZPD31Y9XVj6",
|
|
347
361
|
checkId: "check_2qn7PZrx89yxY34vEZPD31Y9XVj6",
|
|
362
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
363
|
+
slug: "my-team-url-slug",
|
|
348
364
|
requestBody: {
|
|
349
365
|
name: "Performance Check",
|
|
350
366
|
path: "/",
|
|
@@ -434,6 +450,8 @@ async function run() {
|
|
|
434
450
|
const result = await vercel.checks.rerequestCheck({
|
|
435
451
|
deploymentId: "dpl_2qn7PZrx89yxY34vEZPD31Y9XVj6",
|
|
436
452
|
checkId: "check_2qn7PZrx89yxY34vEZPD31Y9XVj6",
|
|
453
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
454
|
+
slug: "my-team-url-slug",
|
|
437
455
|
});
|
|
438
456
|
|
|
439
457
|
// Handle the result
|
|
@@ -461,6 +479,8 @@ async function run() {
|
|
|
461
479
|
const res = await checksRerequestCheck(vercel, {
|
|
462
480
|
deploymentId: "dpl_2qn7PZrx89yxY34vEZPD31Y9XVj6",
|
|
463
481
|
checkId: "check_2qn7PZrx89yxY34vEZPD31Y9XVj6",
|
|
482
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
483
|
+
slug: "my-team-url-slug",
|
|
464
484
|
});
|
|
465
485
|
|
|
466
486
|
if (!res.ok) {
|
|
@@ -40,6 +40,8 @@ async function run() {
|
|
|
40
40
|
statusCode: "5xx",
|
|
41
41
|
delimiter: 1,
|
|
42
42
|
builds: 1,
|
|
43
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
44
|
+
slug: "my-team-url-slug",
|
|
43
45
|
});
|
|
44
46
|
|
|
45
47
|
|
|
@@ -74,6 +76,8 @@ async function run() {
|
|
|
74
76
|
statusCode: "5xx",
|
|
75
77
|
delimiter: 1,
|
|
76
78
|
builds: 1,
|
|
79
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
80
|
+
slug: "my-team-url-slug",
|
|
77
81
|
});
|
|
78
82
|
|
|
79
83
|
if (!res.ok) {
|
|
@@ -126,6 +130,8 @@ async function run() {
|
|
|
126
130
|
const result = await vercel.deployments.getDeployment({
|
|
127
131
|
idOrUrl: "dpl_89qyp1cskzkLrVicDaZoDbjyHuDJ",
|
|
128
132
|
withGitRepoInfo: "true",
|
|
133
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
134
|
+
slug: "my-team-url-slug",
|
|
129
135
|
});
|
|
130
136
|
|
|
131
137
|
// Handle the result
|
|
@@ -153,6 +159,8 @@ async function run() {
|
|
|
153
159
|
const res = await deploymentsGetDeployment(vercel, {
|
|
154
160
|
idOrUrl: "dpl_89qyp1cskzkLrVicDaZoDbjyHuDJ",
|
|
155
161
|
withGitRepoInfo: "true",
|
|
162
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
163
|
+
slug: "my-team-url-slug",
|
|
156
164
|
});
|
|
157
165
|
|
|
158
166
|
if (!res.ok) {
|
|
@@ -204,6 +212,8 @@ const vercel = new Vercel({
|
|
|
204
212
|
|
|
205
213
|
async function run() {
|
|
206
214
|
const result = await vercel.deployments.createDeployment({
|
|
215
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
216
|
+
slug: "my-team-url-slug",
|
|
207
217
|
requestBody: {
|
|
208
218
|
files: [
|
|
209
219
|
{
|
|
@@ -252,6 +262,8 @@ const vercel = new VercelCore({
|
|
|
252
262
|
|
|
253
263
|
async function run() {
|
|
254
264
|
const res = await deploymentsCreateDeployment(vercel, {
|
|
265
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
266
|
+
slug: "my-team-url-slug",
|
|
255
267
|
requestBody: {
|
|
256
268
|
files: [
|
|
257
269
|
{
|
|
@@ -328,6 +340,8 @@ const vercel = new Vercel({
|
|
|
328
340
|
async function run() {
|
|
329
341
|
const result = await vercel.deployments.cancelDeployment({
|
|
330
342
|
id: "dpl_5WJWYSyB7BpgTj3EuwF37WMRBXBtPQ2iTMJHJBJyRfd",
|
|
343
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
344
|
+
slug: "my-team-url-slug",
|
|
331
345
|
});
|
|
332
346
|
|
|
333
347
|
// Handle the result
|
|
@@ -354,6 +368,8 @@ const vercel = new VercelCore({
|
|
|
354
368
|
async function run() {
|
|
355
369
|
const res = await deploymentsCancelDeployment(vercel, {
|
|
356
370
|
id: "dpl_5WJWYSyB7BpgTj3EuwF37WMRBXBtPQ2iTMJHJBJyRfd",
|
|
371
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
372
|
+
slug: "my-team-url-slug",
|
|
357
373
|
});
|
|
358
374
|
|
|
359
375
|
if (!res.ok) {
|
|
@@ -405,7 +421,10 @@ const vercel = new Vercel({
|
|
|
405
421
|
});
|
|
406
422
|
|
|
407
423
|
async function run() {
|
|
408
|
-
const result = await vercel.deployments.uploadFile({
|
|
424
|
+
const result = await vercel.deployments.uploadFile({
|
|
425
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
426
|
+
slug: "my-team-url-slug",
|
|
427
|
+
});
|
|
409
428
|
|
|
410
429
|
// Handle the result
|
|
411
430
|
console.log(result);
|
|
@@ -429,7 +448,10 @@ const vercel = new VercelCore({
|
|
|
429
448
|
});
|
|
430
449
|
|
|
431
450
|
async function run() {
|
|
432
|
-
const res = await deploymentsUploadFile(vercel, {
|
|
451
|
+
const res = await deploymentsUploadFile(vercel, {
|
|
452
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
453
|
+
slug: "my-team-url-slug",
|
|
454
|
+
});
|
|
433
455
|
|
|
434
456
|
if (!res.ok) {
|
|
435
457
|
throw res.error;
|
|
@@ -481,6 +503,8 @@ const vercel = new Vercel({
|
|
|
481
503
|
async function run() {
|
|
482
504
|
const result = await vercel.deployments.listDeploymentFiles({
|
|
483
505
|
id: "<id>",
|
|
506
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
507
|
+
slug: "my-team-url-slug",
|
|
484
508
|
});
|
|
485
509
|
|
|
486
510
|
// Handle the result
|
|
@@ -507,6 +531,8 @@ const vercel = new VercelCore({
|
|
|
507
531
|
async function run() {
|
|
508
532
|
const res = await deploymentsListDeploymentFiles(vercel, {
|
|
509
533
|
id: "<id>",
|
|
534
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
535
|
+
slug: "my-team-url-slug",
|
|
510
536
|
});
|
|
511
537
|
|
|
512
538
|
if (!res.ok) {
|
|
@@ -561,6 +587,8 @@ async function run() {
|
|
|
561
587
|
await vercel.deployments.getDeploymentFileContents({
|
|
562
588
|
id: "<id>",
|
|
563
589
|
fileId: "<id>",
|
|
590
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
591
|
+
slug: "my-team-url-slug",
|
|
564
592
|
});
|
|
565
593
|
|
|
566
594
|
|
|
@@ -587,6 +615,8 @@ async function run() {
|
|
|
587
615
|
const res = await deploymentsGetDeploymentFileContents(vercel, {
|
|
588
616
|
id: "<id>",
|
|
589
617
|
fileId: "<id>",
|
|
618
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
619
|
+
slug: "my-team-url-slug",
|
|
590
620
|
});
|
|
591
621
|
|
|
592
622
|
if (!res.ok) {
|
|
@@ -648,6 +678,8 @@ async function run() {
|
|
|
648
678
|
since: 1540095775941,
|
|
649
679
|
until: 1540095775951,
|
|
650
680
|
state: "BUILDING,READY",
|
|
681
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
682
|
+
slug: "my-team-url-slug",
|
|
651
683
|
});
|
|
652
684
|
|
|
653
685
|
// Handle the result
|
|
@@ -683,6 +715,8 @@ async function run() {
|
|
|
683
715
|
since: 1540095775941,
|
|
684
716
|
until: 1540095775951,
|
|
685
717
|
state: "BUILDING,READY",
|
|
718
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
719
|
+
slug: "my-team-url-slug",
|
|
686
720
|
});
|
|
687
721
|
|
|
688
722
|
if (!res.ok) {
|
|
@@ -737,6 +771,8 @@ async function run() {
|
|
|
737
771
|
const result = await vercel.deployments.deleteDeployment({
|
|
738
772
|
id: "dpl_5WJWYSyB7BpgTj3EuwF37WMRBXBtPQ2iTMJHJBJyRfd",
|
|
739
773
|
url: "https://files-orcin-xi.vercel.app/",
|
|
774
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
775
|
+
slug: "my-team-url-slug",
|
|
740
776
|
});
|
|
741
777
|
|
|
742
778
|
// Handle the result
|
|
@@ -764,6 +800,8 @@ async function run() {
|
|
|
764
800
|
const res = await deploymentsDeleteDeployment(vercel, {
|
|
765
801
|
id: "dpl_5WJWYSyB7BpgTj3EuwF37WMRBXBtPQ2iTMJHJBJyRfd",
|
|
766
802
|
url: "https://files-orcin-xi.vercel.app/",
|
|
803
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
804
|
+
slug: "my-team-url-slug",
|
|
767
805
|
});
|
|
768
806
|
|
|
769
807
|
if (!res.ok) {
|
package/docs/sdks/dns/README.md
CHANGED
|
@@ -29,6 +29,8 @@ async function run() {
|
|
|
29
29
|
limit: "20",
|
|
30
30
|
since: "1609499532000",
|
|
31
31
|
until: "1612264332000",
|
|
32
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
33
|
+
slug: "my-team-url-slug",
|
|
32
34
|
});
|
|
33
35
|
|
|
34
36
|
// Handle the result
|
|
@@ -58,6 +60,8 @@ async function run() {
|
|
|
58
60
|
limit: "20",
|
|
59
61
|
since: "1609499532000",
|
|
60
62
|
until: "1612264332000",
|
|
63
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
64
|
+
slug: "my-team-url-slug",
|
|
61
65
|
});
|
|
62
66
|
|
|
63
67
|
if (!res.ok) {
|
|
@@ -111,6 +115,8 @@ const vercel = new Vercel({
|
|
|
111
115
|
async function run() {
|
|
112
116
|
const result = await vercel.dns.createRecord({
|
|
113
117
|
domain: "example.com",
|
|
118
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
119
|
+
slug: "my-team-url-slug",
|
|
114
120
|
requestBody: {
|
|
115
121
|
type: "CNAME",
|
|
116
122
|
ttl: 60,
|
|
@@ -147,6 +153,8 @@ const vercel = new VercelCore({
|
|
|
147
153
|
async function run() {
|
|
148
154
|
const res = await dnsCreateRecord(vercel, {
|
|
149
155
|
domain: "example.com",
|
|
156
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
157
|
+
slug: "my-team-url-slug",
|
|
150
158
|
requestBody: {
|
|
151
159
|
type: "CNAME",
|
|
152
160
|
ttl: 60,
|
|
@@ -210,6 +218,8 @@ const vercel = new Vercel({
|
|
|
210
218
|
async function run() {
|
|
211
219
|
const result = await vercel.dns.updateRecord({
|
|
212
220
|
recordId: "rec_2qn7pzrx89yxy34vezpd31y9",
|
|
221
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
222
|
+
slug: "my-team-url-slug",
|
|
213
223
|
requestBody: {
|
|
214
224
|
name: "example-1",
|
|
215
225
|
value: "google.com",
|
|
@@ -253,6 +263,8 @@ const vercel = new VercelCore({
|
|
|
253
263
|
async function run() {
|
|
254
264
|
const res = await dnsUpdateRecord(vercel, {
|
|
255
265
|
recordId: "rec_2qn7pzrx89yxy34vezpd31y9",
|
|
266
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
267
|
+
slug: "my-team-url-slug",
|
|
256
268
|
requestBody: {
|
|
257
269
|
name: "example-1",
|
|
258
270
|
value: "google.com",
|
|
@@ -324,6 +336,8 @@ async function run() {
|
|
|
324
336
|
const result = await vercel.dns.removeRecord({
|
|
325
337
|
domain: "example.com",
|
|
326
338
|
recordId: "rec_V0fra8eEgQwEpFhYG2vTzC3K",
|
|
339
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
340
|
+
slug: "my-team-url-slug",
|
|
327
341
|
});
|
|
328
342
|
|
|
329
343
|
// Handle the result
|
|
@@ -351,6 +365,8 @@ async function run() {
|
|
|
351
365
|
const res = await dnsRemoveRecord(vercel, {
|
|
352
366
|
domain: "example.com",
|
|
353
367
|
recordId: "rec_V0fra8eEgQwEpFhYG2vTzC3K",
|
|
368
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
369
|
+
slug: "my-team-url-slug",
|
|
354
370
|
});
|
|
355
371
|
|
|
356
372
|
if (!res.ok) {
|
|
@@ -31,6 +31,8 @@ const vercel = new Vercel({
|
|
|
31
31
|
|
|
32
32
|
async function run() {
|
|
33
33
|
const result = await vercel.domains.buyDomain({
|
|
34
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
35
|
+
slug: "my-team-url-slug",
|
|
34
36
|
requestBody: {
|
|
35
37
|
name: "example.com",
|
|
36
38
|
expectedPrice: 10,
|
|
@@ -71,6 +73,8 @@ const vercel = new VercelCore({
|
|
|
71
73
|
|
|
72
74
|
async function run() {
|
|
73
75
|
const res = await domainsBuyDomain(vercel, {
|
|
76
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
77
|
+
slug: "my-team-url-slug",
|
|
74
78
|
requestBody: {
|
|
75
79
|
name: "example.com",
|
|
76
80
|
expectedPrice: 10,
|
|
@@ -140,6 +144,8 @@ async function run() {
|
|
|
140
144
|
const result = await vercel.domains.checkDomainPrice({
|
|
141
145
|
name: "example.com",
|
|
142
146
|
type: "new",
|
|
147
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
148
|
+
slug: "my-team-url-slug",
|
|
143
149
|
});
|
|
144
150
|
|
|
145
151
|
// Handle the result
|
|
@@ -167,6 +173,8 @@ async function run() {
|
|
|
167
173
|
const res = await domainsCheckDomainPrice(vercel, {
|
|
168
174
|
name: "example.com",
|
|
169
175
|
type: "new",
|
|
176
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
177
|
+
slug: "my-team-url-slug",
|
|
170
178
|
});
|
|
171
179
|
|
|
172
180
|
if (!res.ok) {
|
|
@@ -219,6 +227,8 @@ const vercel = new Vercel({
|
|
|
219
227
|
async function run() {
|
|
220
228
|
const result = await vercel.domains.checkDomainStatus({
|
|
221
229
|
name: "example.com",
|
|
230
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
231
|
+
slug: "my-team-url-slug",
|
|
222
232
|
});
|
|
223
233
|
|
|
224
234
|
// Handle the result
|
|
@@ -245,6 +255,8 @@ const vercel = new VercelCore({
|
|
|
245
255
|
async function run() {
|
|
246
256
|
const res = await domainsCheckDomainStatus(vercel, {
|
|
247
257
|
name: "example.com",
|
|
258
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
259
|
+
slug: "my-team-url-slug",
|
|
248
260
|
});
|
|
249
261
|
|
|
250
262
|
if (!res.ok) {
|
|
@@ -296,6 +308,8 @@ const vercel = new Vercel({
|
|
|
296
308
|
|
|
297
309
|
async function run() {
|
|
298
310
|
const result = await vercel.domains.getDomainTransfer({
|
|
311
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
312
|
+
slug: "my-team-url-slug",
|
|
299
313
|
domain: "example.com",
|
|
300
314
|
});
|
|
301
315
|
|
|
@@ -322,6 +336,8 @@ const vercel = new VercelCore({
|
|
|
322
336
|
|
|
323
337
|
async function run() {
|
|
324
338
|
const res = await domainsGetDomainTransfer(vercel, {
|
|
339
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
340
|
+
slug: "my-team-url-slug",
|
|
325
341
|
domain: "example.com",
|
|
326
342
|
});
|
|
327
343
|
|
|
@@ -375,6 +391,8 @@ const vercel = new Vercel({
|
|
|
375
391
|
async function run() {
|
|
376
392
|
const result = await vercel.domains.getDomainConfig({
|
|
377
393
|
domain: "example.com",
|
|
394
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
395
|
+
slug: "my-team-url-slug",
|
|
378
396
|
});
|
|
379
397
|
|
|
380
398
|
// Handle the result
|
|
@@ -401,6 +419,8 @@ const vercel = new VercelCore({
|
|
|
401
419
|
async function run() {
|
|
402
420
|
const res = await domainsGetDomainConfig(vercel, {
|
|
403
421
|
domain: "example.com",
|
|
422
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
423
|
+
slug: "my-team-url-slug",
|
|
404
424
|
});
|
|
405
425
|
|
|
406
426
|
if (!res.ok) {
|
|
@@ -453,6 +473,8 @@ const vercel = new Vercel({
|
|
|
453
473
|
async function run() {
|
|
454
474
|
const result = await vercel.domains.getDomain({
|
|
455
475
|
domain: "example.com",
|
|
476
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
477
|
+
slug: "my-team-url-slug",
|
|
456
478
|
});
|
|
457
479
|
|
|
458
480
|
// Handle the result
|
|
@@ -479,6 +501,8 @@ const vercel = new VercelCore({
|
|
|
479
501
|
async function run() {
|
|
480
502
|
const res = await domainsGetDomain(vercel, {
|
|
481
503
|
domain: "example.com",
|
|
504
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
505
|
+
slug: "my-team-url-slug",
|
|
482
506
|
});
|
|
483
507
|
|
|
484
508
|
if (!res.ok) {
|
|
@@ -534,6 +558,8 @@ async function run() {
|
|
|
534
558
|
limit: 20,
|
|
535
559
|
since: 1609499532000,
|
|
536
560
|
until: 1612264332000,
|
|
561
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
562
|
+
slug: "my-team-url-slug",
|
|
537
563
|
});
|
|
538
564
|
|
|
539
565
|
// Handle the result
|
|
@@ -562,6 +588,8 @@ async function run() {
|
|
|
562
588
|
limit: 20,
|
|
563
589
|
since: 1609499532000,
|
|
564
590
|
until: 1612264332000,
|
|
591
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
592
|
+
slug: "my-team-url-slug",
|
|
565
593
|
});
|
|
566
594
|
|
|
567
595
|
if (!res.ok) {
|
|
@@ -613,6 +641,8 @@ const vercel = new Vercel({
|
|
|
613
641
|
|
|
614
642
|
async function run() {
|
|
615
643
|
const result = await vercel.domains.createOrTransferDomain({
|
|
644
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
645
|
+
slug: "my-team-url-slug",
|
|
616
646
|
requestBody: {
|
|
617
647
|
name: "example.com",
|
|
618
648
|
method: "transfer-in",
|
|
@@ -644,6 +674,8 @@ const vercel = new VercelCore({
|
|
|
644
674
|
|
|
645
675
|
async function run() {
|
|
646
676
|
const res = await domainsCreateOrTransferDomain(vercel, {
|
|
677
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
678
|
+
slug: "my-team-url-slug",
|
|
647
679
|
requestBody: {
|
|
648
680
|
name: "example.com",
|
|
649
681
|
method: "transfer-in",
|
|
@@ -703,6 +735,8 @@ const vercel = new Vercel({
|
|
|
703
735
|
async function run() {
|
|
704
736
|
const result = await vercel.domains.patchDomain({
|
|
705
737
|
domain: "tight-secrecy.info",
|
|
738
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
739
|
+
slug: "my-team-url-slug",
|
|
706
740
|
requestBody: {
|
|
707
741
|
op: "update",
|
|
708
742
|
},
|
|
@@ -732,6 +766,8 @@ const vercel = new VercelCore({
|
|
|
732
766
|
async function run() {
|
|
733
767
|
const res = await domainsPatchDomain(vercel, {
|
|
734
768
|
domain: "tight-secrecy.info",
|
|
769
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
770
|
+
slug: "my-team-url-slug",
|
|
735
771
|
requestBody: {
|
|
736
772
|
op: "update",
|
|
737
773
|
},
|
|
@@ -788,6 +824,8 @@ const vercel = new Vercel({
|
|
|
788
824
|
async function run() {
|
|
789
825
|
const result = await vercel.domains.deleteDomain({
|
|
790
826
|
domain: "example.com",
|
|
827
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
828
|
+
slug: "my-team-url-slug",
|
|
791
829
|
});
|
|
792
830
|
|
|
793
831
|
// Handle the result
|
|
@@ -814,6 +852,8 @@ const vercel = new VercelCore({
|
|
|
814
852
|
async function run() {
|
|
815
853
|
const res = await domainsDeleteDomain(vercel, {
|
|
816
854
|
domain: "example.com",
|
|
855
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
856
|
+
slug: "my-team-url-slug",
|
|
817
857
|
});
|
|
818
858
|
|
|
819
859
|
if (!res.ok) {
|