@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
package/FUNCTIONS.md
CHANGED
|
@@ -32,6 +32,8 @@ const vercel = new VercelCore({
|
|
|
32
32
|
async function run() {
|
|
33
33
|
const res = await projectsUpdateProject(vercel, {
|
|
34
34
|
idOrName: "prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB",
|
|
35
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
36
|
+
slug: "my-team-url-slug",
|
|
35
37
|
requestBody: {
|
|
36
38
|
name: "a-project-name",
|
|
37
39
|
},
|
package/README.md
CHANGED
|
@@ -116,7 +116,9 @@ const vercel = new Vercel({
|
|
|
116
116
|
|
|
117
117
|
async function run() {
|
|
118
118
|
const result = await vercel.accessGroups.readAccessGroup({
|
|
119
|
-
idOrName: "
|
|
119
|
+
idOrName: "ag_1a2b3c4d5e6f7g8h9i0j",
|
|
120
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
121
|
+
slug: "my-team-url-slug",
|
|
120
122
|
});
|
|
121
123
|
|
|
122
124
|
// Handle the result
|
|
@@ -154,6 +156,8 @@ async function run() {
|
|
|
154
156
|
since: 1540095775941,
|
|
155
157
|
until: 1540095775951,
|
|
156
158
|
state: "BUILDING,READY",
|
|
159
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
160
|
+
slug: "my-team-url-slug",
|
|
157
161
|
});
|
|
158
162
|
|
|
159
163
|
// Handle the result
|
|
@@ -178,6 +182,8 @@ const vercel = new Vercel({
|
|
|
178
182
|
async function run() {
|
|
179
183
|
const result = await vercel.projects.updateProject({
|
|
180
184
|
idOrName: "prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB",
|
|
185
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
186
|
+
slug: "my-team-url-slug",
|
|
181
187
|
requestBody: {
|
|
182
188
|
name: "a-project-name",
|
|
183
189
|
},
|
|
@@ -592,6 +598,8 @@ async function run() {
|
|
|
592
598
|
xArtifactClientInteractive: 0,
|
|
593
599
|
xArtifactTag: "Tc0BmHvJYMIYJ62/zx87YqO0Flxk+5Ovip25NY825CQ=",
|
|
594
600
|
hash: "12HKQaOmR5t5Uy6vdcQsNIiZgHGB",
|
|
601
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
602
|
+
slug: "my-team-url-slug",
|
|
595
603
|
requestBody: await openAsBlob("example.file"),
|
|
596
604
|
});
|
|
597
605
|
|
|
@@ -619,7 +627,9 @@ const vercel = new Vercel({
|
|
|
619
627
|
|
|
620
628
|
async function run() {
|
|
621
629
|
const result = await vercel.accessGroups.readAccessGroup({
|
|
622
|
-
idOrName: "
|
|
630
|
+
idOrName: "ag_1a2b3c4d5e6f7g8h9i0j",
|
|
631
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
632
|
+
slug: "my-team-url-slug",
|
|
623
633
|
}, {
|
|
624
634
|
retries: {
|
|
625
635
|
strategy: "backoff",
|
|
@@ -661,7 +671,9 @@ const vercel = new Vercel({
|
|
|
661
671
|
|
|
662
672
|
async function run() {
|
|
663
673
|
const result = await vercel.accessGroups.readAccessGroup({
|
|
664
|
-
idOrName: "
|
|
674
|
+
idOrName: "ag_1a2b3c4d5e6f7g8h9i0j",
|
|
675
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
676
|
+
slug: "my-team-url-slug",
|
|
665
677
|
});
|
|
666
678
|
|
|
667
679
|
// Handle the result
|
|
@@ -702,7 +714,9 @@ async function run() {
|
|
|
702
714
|
let result;
|
|
703
715
|
try {
|
|
704
716
|
result = await vercel.accessGroups.readAccessGroup({
|
|
705
|
-
idOrName: "
|
|
717
|
+
idOrName: "ag_1a2b3c4d5e6f7g8h9i0j",
|
|
718
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
719
|
+
slug: "my-team-url-slug",
|
|
706
720
|
});
|
|
707
721
|
|
|
708
722
|
// Handle the result
|
|
@@ -773,7 +787,9 @@ const vercel = new Vercel({
|
|
|
773
787
|
|
|
774
788
|
async function run() {
|
|
775
789
|
const result = await vercel.accessGroups.readAccessGroup({
|
|
776
|
-
idOrName: "
|
|
790
|
+
idOrName: "ag_1a2b3c4d5e6f7g8h9i0j",
|
|
791
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
792
|
+
slug: "my-team-url-slug",
|
|
777
793
|
});
|
|
778
794
|
|
|
779
795
|
// Handle the result
|
package/RUNTIMES.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Supported JavaScript runtimes
|
|
2
2
|
|
|
3
|
-
This SDK is intended to be used in JavaScript runtimes that support the following features:
|
|
3
|
+
This SDK is intended to be used in JavaScript runtimes that support ECMAScript 2020 or newer. The SDK uses the following features:
|
|
4
4
|
|
|
5
5
|
* [Web Fetch API][web-fetch]
|
|
6
6
|
* [Web Streams API][web-streams] and in particular `ReadableStream`
|
|
@@ -20,3 +20,29 @@ Runtime environments that are explicitly supported are:
|
|
|
20
20
|
- Note that Deno does not currently have native support for streaming file uploads backed by the filesystem ([issue link][deno-file-streaming])
|
|
21
21
|
|
|
22
22
|
[deno-file-streaming]: https://github.com/denoland/deno/issues/11018
|
|
23
|
+
|
|
24
|
+
## Recommended TypeScript compiler options
|
|
25
|
+
|
|
26
|
+
The following `tsconfig.json` options are recommended for projects using this
|
|
27
|
+
SDK in order to get static type support for features like async iterables,
|
|
28
|
+
streams and `fetch`-related APIs ([`for await...of`][for-await-of],
|
|
29
|
+
[`AbortSignal`][abort-signal], [`Request`][request], [`Response`][response] and
|
|
30
|
+
so on):
|
|
31
|
+
|
|
32
|
+
[for-await-of]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for-await...of
|
|
33
|
+
[abort-signal]: https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal
|
|
34
|
+
[request]: https://developer.mozilla.org/en-US/docs/Web/API/Request
|
|
35
|
+
[response]: https://developer.mozilla.org/en-US/docs/Web/API/Response
|
|
36
|
+
|
|
37
|
+
```jsonc
|
|
38
|
+
{
|
|
39
|
+
"compilerOptions": {
|
|
40
|
+
"target": "es2020", // or higher
|
|
41
|
+
"lib": ["es2020", "dom", "dom.iterable"],
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
While `target` can be set to older ECMAScript versions, it may result in extra,
|
|
47
|
+
unnecessary compatibility code being generated if you are not targeting old
|
|
48
|
+
runtimes.
|
|
@@ -32,7 +32,9 @@ const vercel = new Vercel({
|
|
|
32
32
|
|
|
33
33
|
async function run() {
|
|
34
34
|
const result = await vercel.accessGroups.readAccessGroup({
|
|
35
|
-
idOrName: "
|
|
35
|
+
idOrName: "ag_1a2b3c4d5e6f7g8h9i0j",
|
|
36
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
37
|
+
slug: "my-team-url-slug",
|
|
36
38
|
});
|
|
37
39
|
|
|
38
40
|
// Handle the result
|
|
@@ -58,7 +60,9 @@ const vercel = new VercelCore({
|
|
|
58
60
|
|
|
59
61
|
async function run() {
|
|
60
62
|
const res = await accessGroupsReadAccessGroup(vercel, {
|
|
61
|
-
idOrName: "
|
|
63
|
+
idOrName: "ag_1a2b3c4d5e6f7g8h9i0j",
|
|
64
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
65
|
+
slug: "my-team-url-slug",
|
|
62
66
|
});
|
|
63
67
|
|
|
64
68
|
if (!res.ok) {
|
|
@@ -112,6 +116,8 @@ const vercel = new Vercel({
|
|
|
112
116
|
async function run() {
|
|
113
117
|
const result = await vercel.accessGroups.updateAccessGroup({
|
|
114
118
|
idOrName: "<value>",
|
|
119
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
120
|
+
slug: "my-team-url-slug",
|
|
115
121
|
requestBody: {
|
|
116
122
|
name: "My access group",
|
|
117
123
|
projects: [
|
|
@@ -147,6 +153,8 @@ const vercel = new VercelCore({
|
|
|
147
153
|
async function run() {
|
|
148
154
|
const res = await accessGroupsUpdateAccessGroup(vercel, {
|
|
149
155
|
idOrName: "<value>",
|
|
156
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
157
|
+
slug: "my-team-url-slug",
|
|
150
158
|
requestBody: {
|
|
151
159
|
name: "My access group",
|
|
152
160
|
projects: [
|
|
@@ -209,6 +217,8 @@ const vercel = new Vercel({
|
|
|
209
217
|
async function run() {
|
|
210
218
|
await vercel.accessGroups.deleteAccessGroup({
|
|
211
219
|
idOrName: "<value>",
|
|
220
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
221
|
+
slug: "my-team-url-slug",
|
|
212
222
|
});
|
|
213
223
|
|
|
214
224
|
|
|
@@ -234,6 +244,8 @@ const vercel = new VercelCore({
|
|
|
234
244
|
async function run() {
|
|
235
245
|
const res = await accessGroupsDeleteAccessGroup(vercel, {
|
|
236
246
|
idOrName: "<value>",
|
|
247
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
248
|
+
slug: "my-team-url-slug",
|
|
237
249
|
});
|
|
238
250
|
|
|
239
251
|
if (!res.ok) {
|
|
@@ -287,6 +299,8 @@ async function run() {
|
|
|
287
299
|
const result = await vercel.accessGroups.listAccessGroupMembers({
|
|
288
300
|
idOrName: "ag_pavWOn1iLObbXLRiwVvzmPrTWyTf",
|
|
289
301
|
limit: 20,
|
|
302
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
303
|
+
slug: "my-team-url-slug",
|
|
290
304
|
});
|
|
291
305
|
|
|
292
306
|
// Handle the result
|
|
@@ -314,6 +328,8 @@ async function run() {
|
|
|
314
328
|
const res = await accessGroupsListAccessGroupMembers(vercel, {
|
|
315
329
|
idOrName: "ag_pavWOn1iLObbXLRiwVvzmPrTWyTf",
|
|
316
330
|
limit: 20,
|
|
331
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
332
|
+
slug: "my-team-url-slug",
|
|
317
333
|
});
|
|
318
334
|
|
|
319
335
|
if (!res.ok) {
|
|
@@ -371,6 +387,8 @@ async function run() {
|
|
|
371
387
|
membersLimit: 20,
|
|
372
388
|
projectsLimit: 20,
|
|
373
389
|
limit: 20,
|
|
390
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
391
|
+
slug: "my-team-url-slug",
|
|
374
392
|
});
|
|
375
393
|
|
|
376
394
|
// Handle the result
|
|
@@ -401,6 +419,8 @@ async function run() {
|
|
|
401
419
|
membersLimit: 20,
|
|
402
420
|
projectsLimit: 20,
|
|
403
421
|
limit: 20,
|
|
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
|
|
|
454
474
|
async function run() {
|
|
455
475
|
const result = await vercel.accessGroups.createAccessGroup({
|
|
476
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
477
|
+
slug: "my-team-url-slug",
|
|
456
478
|
requestBody: {
|
|
457
479
|
name: "My access group",
|
|
458
480
|
projects: [
|
|
@@ -487,6 +509,8 @@ const vercel = new VercelCore({
|
|
|
487
509
|
|
|
488
510
|
async function run() {
|
|
489
511
|
const res = await accessGroupsCreateAccessGroup(vercel, {
|
|
512
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
513
|
+
slug: "my-team-url-slug",
|
|
490
514
|
requestBody: {
|
|
491
515
|
name: "My access group",
|
|
492
516
|
projects: [
|
|
@@ -550,6 +574,8 @@ async function run() {
|
|
|
550
574
|
const result = await vercel.accessGroups.listAccessGroupProjects({
|
|
551
575
|
idOrName: "ag_pavWOn1iLObbXLRiwVvzmPrTWyTf",
|
|
552
576
|
limit: 20,
|
|
577
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
578
|
+
slug: "my-team-url-slug",
|
|
553
579
|
});
|
|
554
580
|
|
|
555
581
|
// Handle the result
|
|
@@ -577,6 +603,8 @@ async function run() {
|
|
|
577
603
|
const res = await accessGroupsListAccessGroupProjects(vercel, {
|
|
578
604
|
idOrName: "ag_pavWOn1iLObbXLRiwVvzmPrTWyTf",
|
|
579
605
|
limit: 20,
|
|
606
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
607
|
+
slug: "my-team-url-slug",
|
|
580
608
|
});
|
|
581
609
|
|
|
582
610
|
if (!res.ok) {
|
|
@@ -630,6 +658,8 @@ const vercel = new Vercel({
|
|
|
630
658
|
async function run() {
|
|
631
659
|
const result = await vercel.accessGroups.createAccessGroupProject({
|
|
632
660
|
accessGroupIdOrName: "<value>",
|
|
661
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
662
|
+
slug: "my-team-url-slug",
|
|
633
663
|
requestBody: {
|
|
634
664
|
projectId: "prj_ndlgr43fadlPyCtREAqxxdyFK",
|
|
635
665
|
role: "ADMIN",
|
|
@@ -660,6 +690,8 @@ const vercel = new VercelCore({
|
|
|
660
690
|
async function run() {
|
|
661
691
|
const res = await accessGroupsCreateAccessGroupProject(vercel, {
|
|
662
692
|
accessGroupIdOrName: "<value>",
|
|
693
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
694
|
+
slug: "my-team-url-slug",
|
|
663
695
|
requestBody: {
|
|
664
696
|
projectId: "prj_ndlgr43fadlPyCtREAqxxdyFK",
|
|
665
697
|
role: "ADMIN",
|
|
@@ -716,8 +748,10 @@ const vercel = new Vercel({
|
|
|
716
748
|
|
|
717
749
|
async function run() {
|
|
718
750
|
const result = await vercel.accessGroups.readAccessGroupProject({
|
|
719
|
-
accessGroupIdOrName: "
|
|
720
|
-
projectId: "
|
|
751
|
+
accessGroupIdOrName: "ag_1a2b3c4d5e6f7g8h9i0j",
|
|
752
|
+
projectId: "prj_ndlgr43fadlPyCtREAqxxdyFK",
|
|
753
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
754
|
+
slug: "my-team-url-slug",
|
|
721
755
|
});
|
|
722
756
|
|
|
723
757
|
// Handle the result
|
|
@@ -743,8 +777,10 @@ const vercel = new VercelCore({
|
|
|
743
777
|
|
|
744
778
|
async function run() {
|
|
745
779
|
const res = await accessGroupsReadAccessGroupProject(vercel, {
|
|
746
|
-
accessGroupIdOrName: "
|
|
747
|
-
projectId: "
|
|
780
|
+
accessGroupIdOrName: "ag_1a2b3c4d5e6f7g8h9i0j",
|
|
781
|
+
projectId: "prj_ndlgr43fadlPyCtREAqxxdyFK",
|
|
782
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
783
|
+
slug: "my-team-url-slug",
|
|
748
784
|
});
|
|
749
785
|
|
|
750
786
|
if (!res.ok) {
|
|
@@ -797,8 +833,10 @@ const vercel = new Vercel({
|
|
|
797
833
|
|
|
798
834
|
async function run() {
|
|
799
835
|
const result = await vercel.accessGroups.updateAccessGroupProject({
|
|
800
|
-
accessGroupIdOrName: "
|
|
801
|
-
projectId: "
|
|
836
|
+
accessGroupIdOrName: "ag_1a2b3c4d5e6f7g8h9i0j",
|
|
837
|
+
projectId: "prj_ndlgr43fadlPyCtREAqxxdyFK",
|
|
838
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
839
|
+
slug: "my-team-url-slug",
|
|
802
840
|
requestBody: {
|
|
803
841
|
role: "ADMIN",
|
|
804
842
|
},
|
|
@@ -827,8 +865,10 @@ const vercel = new VercelCore({
|
|
|
827
865
|
|
|
828
866
|
async function run() {
|
|
829
867
|
const res = await accessGroupsUpdateAccessGroupProject(vercel, {
|
|
830
|
-
accessGroupIdOrName: "
|
|
831
|
-
projectId: "
|
|
868
|
+
accessGroupIdOrName: "ag_1a2b3c4d5e6f7g8h9i0j",
|
|
869
|
+
projectId: "prj_ndlgr43fadlPyCtREAqxxdyFK",
|
|
870
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
871
|
+
slug: "my-team-url-slug",
|
|
832
872
|
requestBody: {
|
|
833
873
|
role: "ADMIN",
|
|
834
874
|
},
|
|
@@ -884,8 +924,10 @@ const vercel = new Vercel({
|
|
|
884
924
|
|
|
885
925
|
async function run() {
|
|
886
926
|
await vercel.accessGroups.deleteAccessGroupProject({
|
|
887
|
-
accessGroupIdOrName: "
|
|
888
|
-
projectId: "
|
|
927
|
+
accessGroupIdOrName: "ag_1a2b3c4d5e6f7g8h9i0j",
|
|
928
|
+
projectId: "prj_ndlgr43fadlPyCtREAqxxdyFK",
|
|
929
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
930
|
+
slug: "my-team-url-slug",
|
|
889
931
|
});
|
|
890
932
|
|
|
891
933
|
|
|
@@ -910,8 +952,10 @@ const vercel = new VercelCore({
|
|
|
910
952
|
|
|
911
953
|
async function run() {
|
|
912
954
|
const res = await accessGroupsDeleteAccessGroupProject(vercel, {
|
|
913
|
-
accessGroupIdOrName: "
|
|
914
|
-
projectId: "
|
|
955
|
+
accessGroupIdOrName: "ag_1a2b3c4d5e6f7g8h9i0j",
|
|
956
|
+
projectId: "prj_ndlgr43fadlPyCtREAqxxdyFK",
|
|
957
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
958
|
+
slug: "my-team-url-slug",
|
|
915
959
|
});
|
|
916
960
|
|
|
917
961
|
if (!res.ok) {
|
|
@@ -33,6 +33,8 @@ async function run() {
|
|
|
33
33
|
since: 1540095775941,
|
|
34
34
|
until: 1540095775951,
|
|
35
35
|
rollbackDeploymentId: "dpl_XXX",
|
|
36
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
37
|
+
slug: "my-team-url-slug",
|
|
36
38
|
});
|
|
37
39
|
|
|
38
40
|
// Handle the result
|
|
@@ -65,6 +67,8 @@ async function run() {
|
|
|
65
67
|
since: 1540095775941,
|
|
66
68
|
until: 1540095775951,
|
|
67
69
|
rollbackDeploymentId: "dpl_XXX",
|
|
70
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
71
|
+
slug: "my-team-url-slug",
|
|
68
72
|
});
|
|
69
73
|
|
|
70
74
|
if (!res.ok) {
|
|
@@ -122,6 +126,8 @@ async function run() {
|
|
|
122
126
|
projectId: "prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB",
|
|
123
127
|
since: 1540095775941,
|
|
124
128
|
until: 1540095775951,
|
|
129
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
130
|
+
slug: "my-team-url-slug",
|
|
125
131
|
});
|
|
126
132
|
|
|
127
133
|
// Handle the result
|
|
@@ -152,6 +158,8 @@ async function run() {
|
|
|
152
158
|
projectId: "prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB",
|
|
153
159
|
since: 1540095775941,
|
|
154
160
|
until: 1540095775951,
|
|
161
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
162
|
+
slug: "my-team-url-slug",
|
|
155
163
|
});
|
|
156
164
|
|
|
157
165
|
if (!res.ok) {
|
|
@@ -205,6 +213,8 @@ const vercel = new Vercel({
|
|
|
205
213
|
async function run() {
|
|
206
214
|
const result = await vercel.aliases.deleteAlias({
|
|
207
215
|
aliasId: "<id>",
|
|
216
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
217
|
+
slug: "my-team-url-slug",
|
|
208
218
|
});
|
|
209
219
|
|
|
210
220
|
// Handle the result
|
|
@@ -231,6 +241,8 @@ const vercel = new VercelCore({
|
|
|
231
241
|
async function run() {
|
|
232
242
|
const res = await aliasesDeleteAlias(vercel, {
|
|
233
243
|
aliasId: "<id>",
|
|
244
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
245
|
+
slug: "my-team-url-slug",
|
|
234
246
|
});
|
|
235
247
|
|
|
236
248
|
if (!res.ok) {
|
|
@@ -284,6 +296,8 @@ const vercel = new Vercel({
|
|
|
284
296
|
async function run() {
|
|
285
297
|
const result = await vercel.aliases.listDeploymentAliases({
|
|
286
298
|
id: "dpl_FjvFJncQHQcZMznrUm9EoB8sFuPa",
|
|
299
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
300
|
+
slug: "my-team-url-slug",
|
|
287
301
|
});
|
|
288
302
|
|
|
289
303
|
// Handle the result
|
|
@@ -310,6 +324,8 @@ const vercel = new VercelCore({
|
|
|
310
324
|
async function run() {
|
|
311
325
|
const res = await aliasesListDeploymentAliases(vercel, {
|
|
312
326
|
id: "dpl_FjvFJncQHQcZMznrUm9EoB8sFuPa",
|
|
327
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
328
|
+
slug: "my-team-url-slug",
|
|
313
329
|
});
|
|
314
330
|
|
|
315
331
|
if (!res.ok) {
|
|
@@ -363,6 +379,8 @@ const vercel = new Vercel({
|
|
|
363
379
|
async function run() {
|
|
364
380
|
const result = await vercel.aliases.assignAlias({
|
|
365
381
|
id: "<id>",
|
|
382
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
383
|
+
slug: "my-team-url-slug",
|
|
366
384
|
requestBody: {
|
|
367
385
|
alias: "my-alias.vercel.app",
|
|
368
386
|
redirect: null,
|
|
@@ -393,6 +411,8 @@ const vercel = new VercelCore({
|
|
|
393
411
|
async function run() {
|
|
394
412
|
const res = await aliasesAssignAlias(vercel, {
|
|
395
413
|
id: "<id>",
|
|
414
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
415
|
+
slug: "my-team-url-slug",
|
|
396
416
|
requestBody: {
|
|
397
417
|
alias: "my-alias.vercel.app",
|
|
398
418
|
redirect: null,
|
|
@@ -29,6 +29,8 @@ async function run() {
|
|
|
29
29
|
await vercel.artifacts.recordEvents({
|
|
30
30
|
xArtifactClientCi: "VERCEL",
|
|
31
31
|
xArtifactClientInteractive: 0,
|
|
32
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
33
|
+
slug: "my-team-url-slug",
|
|
32
34
|
requestBody: [
|
|
33
35
|
{
|
|
34
36
|
sessionId: "<id>",
|
|
@@ -64,6 +66,8 @@ async function run() {
|
|
|
64
66
|
const res = await artifactsRecordEvents(vercel, {
|
|
65
67
|
xArtifactClientCi: "VERCEL",
|
|
66
68
|
xArtifactClientInteractive: 0,
|
|
69
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
70
|
+
slug: "my-team-url-slug",
|
|
67
71
|
requestBody: [
|
|
68
72
|
{
|
|
69
73
|
sessionId: "<id>",
|
|
@@ -122,7 +126,10 @@ const vercel = new Vercel({
|
|
|
122
126
|
});
|
|
123
127
|
|
|
124
128
|
async function run() {
|
|
125
|
-
const result = await vercel.artifacts.status({
|
|
129
|
+
const result = await vercel.artifacts.status({
|
|
130
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
131
|
+
slug: "my-team-url-slug",
|
|
132
|
+
});
|
|
126
133
|
|
|
127
134
|
// Handle the result
|
|
128
135
|
console.log(result);
|
|
@@ -146,7 +153,10 @@ const vercel = new VercelCore({
|
|
|
146
153
|
});
|
|
147
154
|
|
|
148
155
|
async function run() {
|
|
149
|
-
const res = await artifactsStatus(vercel, {
|
|
156
|
+
const res = await artifactsStatus(vercel, {
|
|
157
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
158
|
+
slug: "my-team-url-slug",
|
|
159
|
+
});
|
|
150
160
|
|
|
151
161
|
if (!res.ok) {
|
|
152
162
|
throw res.error;
|
|
@@ -204,6 +214,8 @@ async function run() {
|
|
|
204
214
|
xArtifactClientInteractive: 0,
|
|
205
215
|
xArtifactTag: "Tc0BmHvJYMIYJ62/zx87YqO0Flxk+5Ovip25NY825CQ=",
|
|
206
216
|
hash: "12HKQaOmR5t5Uy6vdcQsNIiZgHGB",
|
|
217
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
218
|
+
slug: "my-team-url-slug",
|
|
207
219
|
requestBody: await openAsBlob("example.file"),
|
|
208
220
|
});
|
|
209
221
|
|
|
@@ -237,6 +249,8 @@ async function run() {
|
|
|
237
249
|
xArtifactClientInteractive: 0,
|
|
238
250
|
xArtifactTag: "Tc0BmHvJYMIYJ62/zx87YqO0Flxk+5Ovip25NY825CQ=",
|
|
239
251
|
hash: "12HKQaOmR5t5Uy6vdcQsNIiZgHGB",
|
|
252
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
253
|
+
slug: "my-team-url-slug",
|
|
240
254
|
requestBody: await openAsBlob("example.file"),
|
|
241
255
|
});
|
|
242
256
|
|
|
@@ -292,6 +306,8 @@ async function run() {
|
|
|
292
306
|
xArtifactClientCi: "VERCEL",
|
|
293
307
|
xArtifactClientInteractive: 0,
|
|
294
308
|
hash: "12HKQaOmR5t5Uy6vdcQsNIiZgHGB",
|
|
309
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
310
|
+
slug: "my-team-url-slug",
|
|
295
311
|
});
|
|
296
312
|
|
|
297
313
|
// Handle the result
|
|
@@ -320,6 +336,8 @@ async function run() {
|
|
|
320
336
|
xArtifactClientCi: "VERCEL",
|
|
321
337
|
xArtifactClientInteractive: 0,
|
|
322
338
|
hash: "12HKQaOmR5t5Uy6vdcQsNIiZgHGB",
|
|
339
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
340
|
+
slug: "my-team-url-slug",
|
|
323
341
|
});
|
|
324
342
|
|
|
325
343
|
if (!res.ok) {
|
|
@@ -373,6 +391,8 @@ const vercel = new Vercel({
|
|
|
373
391
|
async function run() {
|
|
374
392
|
await vercel.artifacts.artifactExists({
|
|
375
393
|
hash: "12HKQaOmR5t5Uy6vdcQsNIiZgHGB",
|
|
394
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
395
|
+
slug: "my-team-url-slug",
|
|
376
396
|
});
|
|
377
397
|
|
|
378
398
|
|
|
@@ -398,6 +418,8 @@ const vercel = new VercelCore({
|
|
|
398
418
|
async function run() {
|
|
399
419
|
const res = await artifactsArtifactExists(vercel, {
|
|
400
420
|
hash: "12HKQaOmR5t5Uy6vdcQsNIiZgHGB",
|
|
421
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
422
|
+
slug: "my-team-url-slug",
|
|
401
423
|
});
|
|
402
424
|
|
|
403
425
|
if (!res.ok) {
|
|
@@ -449,11 +471,12 @@ const vercel = new Vercel({
|
|
|
449
471
|
|
|
450
472
|
async function run() {
|
|
451
473
|
const result = await vercel.artifacts.artifactQuery({
|
|
474
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
475
|
+
slug: "my-team-url-slug",
|
|
452
476
|
requestBody: {
|
|
453
477
|
hashes: [
|
|
454
|
-
"
|
|
455
|
-
"
|
|
456
|
-
"<value>",
|
|
478
|
+
"12HKQaOmR5t5Uy6vdcQsNIiZgHGB",
|
|
479
|
+
"34HKQaOmR5t5Uy6vasdasdasdasd",
|
|
457
480
|
],
|
|
458
481
|
},
|
|
459
482
|
});
|
|
@@ -481,11 +504,12 @@ const vercel = new VercelCore({
|
|
|
481
504
|
|
|
482
505
|
async function run() {
|
|
483
506
|
const res = await artifactsArtifactQuery(vercel, {
|
|
507
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
508
|
+
slug: "my-team-url-slug",
|
|
484
509
|
requestBody: {
|
|
485
510
|
hashes: [
|
|
486
|
-
"
|
|
487
|
-
"
|
|
488
|
-
"<value>",
|
|
511
|
+
"12HKQaOmR5t5Uy6vdcQsNIiZgHGB",
|
|
512
|
+
"34HKQaOmR5t5Uy6vasdasdasdasd",
|
|
489
513
|
],
|
|
490
514
|
},
|
|
491
515
|
});
|
|
@@ -177,6 +177,8 @@ const vercel = new Vercel({
|
|
|
177
177
|
|
|
178
178
|
async function run() {
|
|
179
179
|
const result = await vercel.authentication.createAuthToken({
|
|
180
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
181
|
+
slug: "my-team-url-slug",
|
|
180
182
|
requestBody: {
|
|
181
183
|
name: "<value>",
|
|
182
184
|
},
|
|
@@ -205,6 +207,8 @@ const vercel = new VercelCore({
|
|
|
205
207
|
|
|
206
208
|
async function run() {
|
|
207
209
|
const res = await authenticationCreateAuthToken(vercel, {
|
|
210
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
211
|
+
slug: "my-team-url-slug",
|
|
208
212
|
requestBody: {
|
|
209
213
|
name: "<value>",
|
|
210
214
|
},
|
|
@@ -26,6 +26,8 @@ const vercel = new Vercel({
|
|
|
26
26
|
async function run() {
|
|
27
27
|
const result = await vercel.certs.getCertById({
|
|
28
28
|
id: "<id>",
|
|
29
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
30
|
+
slug: "my-team-url-slug",
|
|
29
31
|
});
|
|
30
32
|
|
|
31
33
|
// Handle the result
|
|
@@ -52,6 +54,8 @@ const vercel = new VercelCore({
|
|
|
52
54
|
async function run() {
|
|
53
55
|
const res = await certsGetCertById(vercel, {
|
|
54
56
|
id: "<id>",
|
|
57
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
58
|
+
slug: "my-team-url-slug",
|
|
55
59
|
});
|
|
56
60
|
|
|
57
61
|
if (!res.ok) {
|
|
@@ -105,6 +109,8 @@ const vercel = new Vercel({
|
|
|
105
109
|
async function run() {
|
|
106
110
|
const result = await vercel.certs.removeCert({
|
|
107
111
|
id: "<id>",
|
|
112
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
113
|
+
slug: "my-team-url-slug",
|
|
108
114
|
});
|
|
109
115
|
|
|
110
116
|
// Handle the result
|
|
@@ -131,6 +137,8 @@ const vercel = new VercelCore({
|
|
|
131
137
|
async function run() {
|
|
132
138
|
const res = await certsRemoveCert(vercel, {
|
|
133
139
|
id: "<id>",
|
|
140
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
141
|
+
slug: "my-team-url-slug",
|
|
134
142
|
});
|
|
135
143
|
|
|
136
144
|
if (!res.ok) {
|
|
@@ -183,6 +191,8 @@ const vercel = new Vercel({
|
|
|
183
191
|
|
|
184
192
|
async function run() {
|
|
185
193
|
const result = await vercel.certs.issueCert({
|
|
194
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
195
|
+
slug: "my-team-url-slug",
|
|
186
196
|
requestBody: {},
|
|
187
197
|
});
|
|
188
198
|
|
|
@@ -209,6 +219,8 @@ const vercel = new VercelCore({
|
|
|
209
219
|
|
|
210
220
|
async function run() {
|
|
211
221
|
const res = await certsIssueCert(vercel, {
|
|
222
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
223
|
+
slug: "my-team-url-slug",
|
|
212
224
|
requestBody: {},
|
|
213
225
|
});
|
|
214
226
|
|
|
@@ -262,6 +274,8 @@ const vercel = new Vercel({
|
|
|
262
274
|
|
|
263
275
|
async function run() {
|
|
264
276
|
const result = await vercel.certs.uploadCert({
|
|
277
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
278
|
+
slug: "my-team-url-slug",
|
|
265
279
|
requestBody: {
|
|
266
280
|
ca: "<value>",
|
|
267
281
|
key: "<key>",
|
|
@@ -292,6 +306,8 @@ const vercel = new VercelCore({
|
|
|
292
306
|
|
|
293
307
|
async function run() {
|
|
294
308
|
const res = await certsUploadCert(vercel, {
|
|
309
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
310
|
+
slug: "my-team-url-slug",
|
|
295
311
|
requestBody: {
|
|
296
312
|
ca: "<value>",
|
|
297
313
|
key: "<key>",
|