@vercel/sdk 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FUNCTIONS.md +2 -0
- package/README.md +21 -5
- package/RUNTIMES.md +27 -1
- package/docs/sdks/accessgroups/README.md +58 -14
- package/docs/sdks/aliases/README.md +20 -0
- package/docs/sdks/artifacts/README.md +32 -8
- package/docs/sdks/authentication/README.md +4 -0
- package/docs/sdks/certs/README.md +16 -0
- package/docs/sdks/checks/README.md +20 -0
- package/docs/sdks/deployments/README.md +40 -2
- package/docs/sdks/dns/README.md +16 -0
- package/docs/sdks/domains/README.md +40 -0
- package/docs/sdks/edgeconfig/README.md +68 -2
- package/docs/sdks/integrations/README.md +16 -0
- package/docs/sdks/logdrains/README.md +36 -4
- package/docs/sdks/projectmembers/README.md +12 -0
- package/docs/sdks/projects/README.md +76 -0
- package/docs/sdks/security/README.md +16 -0
- package/docs/sdks/teams/README.md +28 -22
- package/docs/sdks/user/README.md +4 -0
- package/docs/sdks/vercel/README.md +1 -1
- package/docs/sdks/webhooks/README.md +20 -2
- package/esm/funcs/accessGroupsCreateAccessGroup.js +4 -4
- package/esm/funcs/accessGroupsCreateAccessGroup.js.map +1 -1
- package/esm/funcs/accessGroupsCreateAccessGroupProject.js +4 -4
- package/esm/funcs/accessGroupsCreateAccessGroupProject.js.map +1 -1
- package/esm/funcs/accessGroupsDeleteAccessGroup.js +4 -4
- package/esm/funcs/accessGroupsDeleteAccessGroup.js.map +1 -1
- package/esm/funcs/accessGroupsDeleteAccessGroupProject.js +4 -4
- package/esm/funcs/accessGroupsDeleteAccessGroupProject.js.map +1 -1
- package/esm/funcs/accessGroupsListAccessGroupMembers.js +4 -4
- package/esm/funcs/accessGroupsListAccessGroupMembers.js.map +1 -1
- package/esm/funcs/accessGroupsListAccessGroupProjects.js +4 -4
- package/esm/funcs/accessGroupsListAccessGroupProjects.js.map +1 -1
- package/esm/funcs/accessGroupsListAccessGroups.js +4 -4
- package/esm/funcs/accessGroupsListAccessGroups.js.map +1 -1
- package/esm/funcs/accessGroupsReadAccessGroup.js +4 -4
- package/esm/funcs/accessGroupsReadAccessGroup.js.map +1 -1
- package/esm/funcs/accessGroupsReadAccessGroupProject.js +4 -4
- package/esm/funcs/accessGroupsReadAccessGroupProject.js.map +1 -1
- package/esm/funcs/accessGroupsUpdateAccessGroup.js +4 -4
- package/esm/funcs/accessGroupsUpdateAccessGroup.js.map +1 -1
- package/esm/funcs/accessGroupsUpdateAccessGroupProject.js +4 -4
- package/esm/funcs/accessGroupsUpdateAccessGroupProject.js.map +1 -1
- package/esm/funcs/aliasesAssignAlias.js +4 -4
- package/esm/funcs/aliasesAssignAlias.js.map +1 -1
- package/esm/funcs/aliasesDeleteAlias.js +4 -4
- package/esm/funcs/aliasesDeleteAlias.js.map +1 -1
- package/esm/funcs/aliasesGetAlias.js +4 -4
- package/esm/funcs/aliasesGetAlias.js.map +1 -1
- package/esm/funcs/aliasesListAliases.js +4 -4
- package/esm/funcs/aliasesListAliases.js.map +1 -1
- package/esm/funcs/aliasesListDeploymentAliases.js +4 -4
- package/esm/funcs/aliasesListDeploymentAliases.js.map +1 -1
- package/esm/funcs/artifactsArtifactExists.js +4 -4
- package/esm/funcs/artifactsArtifactExists.js.map +1 -1
- package/esm/funcs/artifactsArtifactQuery.js +4 -4
- package/esm/funcs/artifactsArtifactQuery.js.map +1 -1
- package/esm/funcs/artifactsDownloadArtifact.js +4 -4
- package/esm/funcs/artifactsDownloadArtifact.js.map +1 -1
- package/esm/funcs/artifactsRecordEvents.js +4 -4
- package/esm/funcs/artifactsRecordEvents.js.map +1 -1
- package/esm/funcs/artifactsStatus.js +4 -4
- package/esm/funcs/artifactsStatus.js.map +1 -1
- package/esm/funcs/artifactsUploadArtifact.js +4 -4
- package/esm/funcs/artifactsUploadArtifact.js.map +1 -1
- package/esm/funcs/authenticationCreateAuthToken.js +4 -4
- package/esm/funcs/authenticationCreateAuthToken.js.map +1 -1
- package/esm/funcs/authenticationDeleteAuthToken.js +4 -4
- package/esm/funcs/authenticationDeleteAuthToken.js.map +1 -1
- package/esm/funcs/authenticationExchangeSsoToken.js +4 -4
- package/esm/funcs/authenticationExchangeSsoToken.js.map +1 -1
- package/esm/funcs/authenticationGetAuthToken.js +4 -4
- package/esm/funcs/authenticationGetAuthToken.js.map +1 -1
- package/esm/funcs/authenticationListAuthTokens.js +4 -4
- package/esm/funcs/authenticationListAuthTokens.js.map +1 -1
- package/esm/funcs/certsGetCertById.js +4 -4
- package/esm/funcs/certsGetCertById.js.map +1 -1
- package/esm/funcs/certsIssueCert.js +4 -4
- package/esm/funcs/certsIssueCert.js.map +1 -1
- package/esm/funcs/certsRemoveCert.js +4 -4
- package/esm/funcs/certsRemoveCert.js.map +1 -1
- package/esm/funcs/certsUploadCert.js +4 -4
- package/esm/funcs/certsUploadCert.js.map +1 -1
- package/esm/funcs/checksCreateCheck.js +4 -4
- package/esm/funcs/checksCreateCheck.js.map +1 -1
- package/esm/funcs/checksGetAllChecks.js +4 -4
- package/esm/funcs/checksGetAllChecks.js.map +1 -1
- package/esm/funcs/checksGetCheck.js +4 -4
- package/esm/funcs/checksGetCheck.js.map +1 -1
- package/esm/funcs/checksRerequestCheck.js +4 -4
- package/esm/funcs/checksRerequestCheck.js.map +1 -1
- package/esm/funcs/checksUpdateCheck.js +4 -4
- package/esm/funcs/checksUpdateCheck.js.map +1 -1
- package/esm/funcs/deploymentsCancelDeployment.js +4 -4
- package/esm/funcs/deploymentsCancelDeployment.js.map +1 -1
- package/esm/funcs/deploymentsCreateDeployment.js +4 -4
- package/esm/funcs/deploymentsCreateDeployment.js.map +1 -1
- package/esm/funcs/deploymentsDeleteDeployment.js +4 -4
- package/esm/funcs/deploymentsDeleteDeployment.js.map +1 -1
- package/esm/funcs/deploymentsGetDeployment.js +4 -4
- package/esm/funcs/deploymentsGetDeployment.js.map +1 -1
- package/esm/funcs/deploymentsGetDeploymentEvents.js +4 -4
- package/esm/funcs/deploymentsGetDeploymentEvents.js.map +1 -1
- package/esm/funcs/deploymentsGetDeploymentFileContents.js +4 -4
- package/esm/funcs/deploymentsGetDeploymentFileContents.js.map +1 -1
- package/esm/funcs/deploymentsGetDeployments.js +4 -4
- package/esm/funcs/deploymentsGetDeployments.js.map +1 -1
- package/esm/funcs/deploymentsListDeploymentFiles.js +4 -4
- package/esm/funcs/deploymentsListDeploymentFiles.js.map +1 -1
- package/esm/funcs/deploymentsUploadFile.js +4 -4
- package/esm/funcs/deploymentsUploadFile.js.map +1 -1
- package/esm/funcs/dnsCreateRecord.js +4 -4
- package/esm/funcs/dnsCreateRecord.js.map +1 -1
- package/esm/funcs/dnsGetRecords.js +4 -4
- package/esm/funcs/dnsGetRecords.js.map +1 -1
- package/esm/funcs/dnsRemoveRecord.js +4 -4
- package/esm/funcs/dnsRemoveRecord.js.map +1 -1
- package/esm/funcs/dnsUpdateRecord.js +4 -4
- package/esm/funcs/dnsUpdateRecord.js.map +1 -1
- package/esm/funcs/domainsBuyDomain.js +4 -4
- package/esm/funcs/domainsBuyDomain.js.map +1 -1
- package/esm/funcs/domainsCheckDomainPrice.js +4 -4
- package/esm/funcs/domainsCheckDomainPrice.js.map +1 -1
- package/esm/funcs/domainsCheckDomainStatus.js +4 -4
- package/esm/funcs/domainsCheckDomainStatus.js.map +1 -1
- package/esm/funcs/domainsCreateOrTransferDomain.js +4 -4
- package/esm/funcs/domainsCreateOrTransferDomain.js.map +1 -1
- package/esm/funcs/domainsDeleteDomain.js +4 -4
- package/esm/funcs/domainsDeleteDomain.js.map +1 -1
- package/esm/funcs/domainsGetDomain.js +4 -4
- package/esm/funcs/domainsGetDomain.js.map +1 -1
- package/esm/funcs/domainsGetDomainConfig.js +4 -4
- package/esm/funcs/domainsGetDomainConfig.js.map +1 -1
- package/esm/funcs/domainsGetDomainTransfer.js +4 -4
- package/esm/funcs/domainsGetDomainTransfer.js.map +1 -1
- package/esm/funcs/domainsGetDomains.js +4 -4
- package/esm/funcs/domainsGetDomains.js.map +1 -1
- package/esm/funcs/domainsPatchDomain.js +4 -4
- package/esm/funcs/domainsPatchDomain.js.map +1 -1
- package/esm/funcs/edgeConfigCreateEdgeConfig.js +4 -4
- package/esm/funcs/edgeConfigCreateEdgeConfig.js.map +1 -1
- package/esm/funcs/edgeConfigCreateEdgeConfigToken.js +4 -4
- package/esm/funcs/edgeConfigCreateEdgeConfigToken.js.map +1 -1
- package/esm/funcs/edgeConfigDeleteEdgeConfig.js +4 -4
- package/esm/funcs/edgeConfigDeleteEdgeConfig.js.map +1 -1
- package/esm/funcs/edgeConfigDeleteEdgeConfigSchema.js +4 -4
- package/esm/funcs/edgeConfigDeleteEdgeConfigSchema.js.map +1 -1
- package/esm/funcs/edgeConfigDeleteEdgeConfigTokens.js +4 -4
- package/esm/funcs/edgeConfigDeleteEdgeConfigTokens.js.map +1 -1
- package/esm/funcs/edgeConfigGetEdgeConfig.js +4 -4
- package/esm/funcs/edgeConfigGetEdgeConfig.js.map +1 -1
- package/esm/funcs/edgeConfigGetEdgeConfigBackup.js +4 -4
- package/esm/funcs/edgeConfigGetEdgeConfigBackup.js.map +1 -1
- package/esm/funcs/edgeConfigGetEdgeConfigBackups.js +4 -4
- package/esm/funcs/edgeConfigGetEdgeConfigBackups.js.map +1 -1
- package/esm/funcs/edgeConfigGetEdgeConfigItem.js +4 -4
- package/esm/funcs/edgeConfigGetEdgeConfigItem.js.map +1 -1
- package/esm/funcs/edgeConfigGetEdgeConfigItems.js +4 -4
- package/esm/funcs/edgeConfigGetEdgeConfigItems.js.map +1 -1
- package/esm/funcs/edgeConfigGetEdgeConfigSchema.js +4 -4
- package/esm/funcs/edgeConfigGetEdgeConfigSchema.js.map +1 -1
- package/esm/funcs/edgeConfigGetEdgeConfigToken.js +4 -4
- package/esm/funcs/edgeConfigGetEdgeConfigToken.js.map +1 -1
- package/esm/funcs/edgeConfigGetEdgeConfigTokens.js +4 -4
- package/esm/funcs/edgeConfigGetEdgeConfigTokens.js.map +1 -1
- package/esm/funcs/edgeConfigGetEdgeConfigs.js +4 -4
- package/esm/funcs/edgeConfigGetEdgeConfigs.js.map +1 -1
- package/esm/funcs/edgeConfigPatchEdgeConfigSchema.js +4 -4
- package/esm/funcs/edgeConfigPatchEdgeConfigSchema.js.map +1 -1
- package/esm/funcs/edgeConfigUpdateEdgeConfig.js +4 -4
- package/esm/funcs/edgeConfigUpdateEdgeConfig.js.map +1 -1
- package/esm/funcs/integrationsDeleteConfiguration.js +4 -4
- package/esm/funcs/integrationsDeleteConfiguration.js.map +1 -1
- package/esm/funcs/integrationsGetConfiguration.js +4 -4
- package/esm/funcs/integrationsGetConfiguration.js.map +1 -1
- package/esm/funcs/integrationsGetConfigurations.js +4 -4
- package/esm/funcs/integrationsGetConfigurations.js.map +1 -1
- package/esm/funcs/integrationsGitNamespaces.js +4 -4
- package/esm/funcs/integrationsGitNamespaces.js.map +1 -1
- package/esm/funcs/integrationsSearchRepo.js +4 -4
- package/esm/funcs/integrationsSearchRepo.js.map +1 -1
- package/esm/funcs/logDrainsCreateConfigurableLogDrain.js +4 -4
- package/esm/funcs/logDrainsCreateConfigurableLogDrain.js.map +1 -1
- package/esm/funcs/logDrainsCreateLogDrain.js +4 -4
- package/esm/funcs/logDrainsCreateLogDrain.js.map +1 -1
- package/esm/funcs/logDrainsDeleteConfigurableLogDrain.js +4 -4
- package/esm/funcs/logDrainsDeleteConfigurableLogDrain.js.map +1 -1
- package/esm/funcs/logDrainsDeleteIntegrationLogDrain.js +4 -4
- package/esm/funcs/logDrainsDeleteIntegrationLogDrain.js.map +1 -1
- package/esm/funcs/logDrainsGetAllLogDrains.js +4 -4
- package/esm/funcs/logDrainsGetAllLogDrains.js.map +1 -1
- package/esm/funcs/logDrainsGetConfigurableLogDrain.js +4 -4
- package/esm/funcs/logDrainsGetConfigurableLogDrain.js.map +1 -1
- package/esm/funcs/logDrainsGetIntegrationLogDrains.js +4 -4
- package/esm/funcs/logDrainsGetIntegrationLogDrains.js.map +1 -1
- package/esm/funcs/marketplaceCreateEvent.js +4 -4
- package/esm/funcs/marketplaceCreateEvent.js.map +1 -1
- package/esm/funcs/marketplaceExchangeSsoToken.js +4 -4
- package/esm/funcs/marketplaceExchangeSsoToken.js.map +1 -1
- package/esm/funcs/marketplaceGetAccountInfo.js +4 -4
- package/esm/funcs/marketplaceGetAccountInfo.js.map +1 -1
- package/esm/funcs/marketplaceGetInvoice.js +4 -4
- package/esm/funcs/marketplaceGetInvoice.js.map +1 -1
- package/esm/funcs/marketplaceGetMember.js +4 -4
- package/esm/funcs/marketplaceGetMember.js.map +1 -1
- package/esm/funcs/marketplaceSubmitBillingData.js +4 -4
- package/esm/funcs/marketplaceSubmitBillingData.js.map +1 -1
- package/esm/funcs/marketplaceSubmitInvoice.js +4 -4
- package/esm/funcs/marketplaceSubmitInvoice.js.map +1 -1
- package/esm/funcs/marketplaceUpdateInvoice.js +4 -4
- package/esm/funcs/marketplaceUpdateInvoice.js.map +1 -1
- package/esm/funcs/marketplaceUpdateResourceSecrets.js +4 -4
- package/esm/funcs/marketplaceUpdateResourceSecrets.js.map +1 -1
- package/esm/funcs/projectMembersAddProjectMember.js +4 -4
- package/esm/funcs/projectMembersAddProjectMember.js.map +1 -1
- package/esm/funcs/projectMembersGetProjectMembers.js +4 -4
- package/esm/funcs/projectMembersGetProjectMembers.js.map +1 -1
- package/esm/funcs/projectMembersRemoveProjectMember.js +4 -4
- package/esm/funcs/projectMembersRemoveProjectMember.js.map +1 -1
- package/esm/funcs/projectsAddProjectDomain.js +4 -4
- package/esm/funcs/projectsAddProjectDomain.js.map +1 -1
- package/esm/funcs/projectsCreateProject.js +4 -4
- package/esm/funcs/projectsCreateProject.js.map +1 -1
- package/esm/funcs/projectsCreateProjectEnv.js +4 -4
- package/esm/funcs/projectsCreateProjectEnv.js.map +1 -1
- package/esm/funcs/projectsDeleteProject.js +4 -4
- package/esm/funcs/projectsDeleteProject.js.map +1 -1
- package/esm/funcs/projectsEditProjectEnv.js +4 -4
- package/esm/funcs/projectsEditProjectEnv.js.map +1 -1
- package/esm/funcs/projectsFilterProjectEnvs.js +4 -4
- package/esm/funcs/projectsFilterProjectEnvs.js.map +1 -1
- package/esm/funcs/projectsGetProjectDomain.js +4 -4
- package/esm/funcs/projectsGetProjectDomain.js.map +1 -1
- package/esm/funcs/projectsGetProjectDomains.js +4 -4
- package/esm/funcs/projectsGetProjectDomains.js.map +1 -1
- package/esm/funcs/projectsGetProjectEnv.js +4 -4
- package/esm/funcs/projectsGetProjectEnv.js.map +1 -1
- package/esm/funcs/projectsGetProjects.js +4 -4
- package/esm/funcs/projectsGetProjects.js.map +1 -1
- package/esm/funcs/projectsListPromoteAliases.js +4 -4
- package/esm/funcs/projectsListPromoteAliases.js.map +1 -1
- package/esm/funcs/projectsRemoveProjectDomain.js +4 -4
- package/esm/funcs/projectsRemoveProjectDomain.js.map +1 -1
- package/esm/funcs/projectsRemoveProjectEnv.js +4 -4
- package/esm/funcs/projectsRemoveProjectEnv.js.map +1 -1
- package/esm/funcs/projectsRequestPromote.js +4 -4
- package/esm/funcs/projectsRequestPromote.js.map +1 -1
- package/esm/funcs/projectsUpdateProject.js +4 -4
- package/esm/funcs/projectsUpdateProject.js.map +1 -1
- package/esm/funcs/projectsUpdateProjectDataCache.js +4 -4
- package/esm/funcs/projectsUpdateProjectDataCache.js.map +1 -1
- package/esm/funcs/projectsUpdateProjectDomain.js +4 -4
- package/esm/funcs/projectsUpdateProjectDomain.js.map +1 -1
- package/esm/funcs/projectsUpdateProjectProtectionBypass.js +4 -4
- package/esm/funcs/projectsUpdateProjectProtectionBypass.js.map +1 -1
- package/esm/funcs/projectsVerifyProjectDomain.js +4 -4
- package/esm/funcs/projectsVerifyProjectDomain.js.map +1 -1
- package/esm/funcs/securityGetFirewallConfig.js +4 -4
- package/esm/funcs/securityGetFirewallConfig.js.map +1 -1
- package/esm/funcs/securityPutFirewallConfig.js +4 -4
- package/esm/funcs/securityPutFirewallConfig.js.map +1 -1
- package/esm/funcs/securityUpdateAttackChallengeMode.js +4 -4
- package/esm/funcs/securityUpdateAttackChallengeMode.js.map +1 -1
- package/esm/funcs/securityUpdateFirewallConfig.js +4 -4
- package/esm/funcs/securityUpdateFirewallConfig.js.map +1 -1
- package/esm/funcs/teamsCreateTeam.js +4 -4
- package/esm/funcs/teamsCreateTeam.js.map +1 -1
- package/esm/funcs/teamsDeleteTeam.js +4 -4
- package/esm/funcs/teamsDeleteTeam.js.map +1 -1
- package/esm/funcs/teamsDeleteTeamInviteCode.js +4 -4
- package/esm/funcs/teamsDeleteTeamInviteCode.js.map +1 -1
- package/esm/funcs/teamsGetTeam.js +4 -4
- package/esm/funcs/teamsGetTeam.js.map +1 -1
- package/esm/funcs/teamsGetTeamAccessRequest.js +4 -4
- package/esm/funcs/teamsGetTeamAccessRequest.js.map +1 -1
- package/esm/funcs/teamsGetTeamMembers.js +4 -4
- package/esm/funcs/teamsGetTeamMembers.js.map +1 -1
- package/esm/funcs/teamsGetTeams.js +4 -4
- package/esm/funcs/teamsGetTeams.js.map +1 -1
- package/esm/funcs/teamsInviteUserToTeam.js +4 -4
- package/esm/funcs/teamsInviteUserToTeam.js.map +1 -1
- package/esm/funcs/teamsJoinTeam.js +4 -4
- package/esm/funcs/teamsJoinTeam.js.map +1 -1
- package/esm/funcs/teamsPatchTeam.js +4 -4
- package/esm/funcs/teamsPatchTeam.js.map +1 -1
- package/esm/funcs/teamsRemoveTeamMember.js +4 -4
- package/esm/funcs/teamsRemoveTeamMember.js.map +1 -1
- package/esm/funcs/teamsRequestAccessToTeam.js +4 -4
- package/esm/funcs/teamsRequestAccessToTeam.js.map +1 -1
- package/esm/funcs/teamsUpdateTeamMember.js +4 -4
- package/esm/funcs/teamsUpdateTeamMember.js.map +1 -1
- package/esm/funcs/userGetAuthUser.js +4 -4
- package/esm/funcs/userGetAuthUser.js.map +1 -1
- package/esm/funcs/userListUserEvents.js +4 -4
- package/esm/funcs/userListUserEvents.js.map +1 -1
- package/esm/funcs/userRequestDelete.js +4 -4
- package/esm/funcs/userRequestDelete.js.map +1 -1
- package/esm/funcs/webhooksCreateWebhook.js +4 -4
- package/esm/funcs/webhooksCreateWebhook.js.map +1 -1
- package/esm/funcs/webhooksDeleteWebhook.js +4 -4
- package/esm/funcs/webhooksDeleteWebhook.js.map +1 -1
- package/esm/funcs/webhooksGetWebhook.js +4 -4
- package/esm/funcs/webhooksGetWebhook.js.map +1 -1
- package/esm/funcs/webhooksGetWebhooks.js +4 -4
- package/esm/funcs/webhooksGetWebhooks.js.map +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +4 -5
- package/esm/lib/config.js.map +1 -1
- package/esm/lib/encodings.js +18 -19
- package/esm/lib/encodings.js.map +1 -1
- package/esm/lib/http.js +1 -2
- package/esm/lib/http.js.map +1 -1
- package/esm/lib/matchers.js +5 -6
- package/esm/lib/matchers.js.map +1 -1
- package/esm/lib/primitives.js +1 -1
- package/esm/lib/primitives.js.map +1 -1
- package/esm/lib/retries.js +3 -4
- package/esm/lib/retries.js.map +1 -1
- package/esm/lib/sdks.js +15 -16
- package/esm/lib/sdks.js.map +1 -1
- package/esm/lib/security.js +2 -2
- package/esm/lib/security.js.map +1 -1
- package/esm/lib/url.js +1 -1
- package/esm/lib/url.js.map +1 -1
- package/esm/models/canceldeploymentop.d.ts +207 -0
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +167 -0
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +207 -0
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +171 -0
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createprojectenvop.d.ts +6 -6
- package/esm/models/createprojectenvop.js +2 -2
- package/esm/models/createprojectenvop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +9 -9
- package/esm/models/createprojectop.js +3 -3
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/editprojectenvop.d.ts +3 -3
- package/esm/models/editprojectenvop.js +1 -1
- package/esm/models/editprojectenvop.js.map +1 -1
- package/esm/models/filterprojectenvsop.d.ts +9 -9
- package/esm/models/filterprojectenvsop.js +3 -3
- package/esm/models/filterprojectenvsop.js.map +1 -1
- package/esm/models/getdeploymentop.d.ts +207 -0
- package/esm/models/getdeploymentop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.js +169 -0
- package/esm/models/getdeploymentop.js.map +1 -1
- package/esm/models/getfirewallconfigop.d.ts +3 -0
- package/esm/models/getfirewallconfigop.d.ts.map +1 -1
- package/esm/models/getfirewallconfigop.js.map +1 -1
- package/esm/models/httpclienterrors.js +2 -2
- package/esm/models/httpclienterrors.js.map +1 -1
- package/esm/models/removeprojectenvop.d.ts +9 -9
- package/esm/models/removeprojectenvop.js +3 -3
- package/esm/models/removeprojectenvop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +9 -9
- package/esm/models/updateprojectop.js +3 -3
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/verifyprojectdomainop.d.ts +0 -39
- package/esm/models/verifyprojectdomainop.d.ts.map +1 -1
- package/esm/models/verifyprojectdomainop.js +0 -33
- package/esm/models/verifyprojectdomainop.js.map +1 -1
- package/esm/sdk/sdk.js +19 -38
- package/esm/sdk/sdk.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/lib/security.ts +1 -1
- package/src/models/canceldeploymentop.ts +365 -0
- package/src/models/createdeploymentop.ts +326 -0
- package/src/models/createprojectenvop.ts +2 -2
- package/src/models/createprojectop.ts +3 -3
- package/src/models/editprojectenvop.ts +1 -1
- package/src/models/filterprojectenvsop.ts +3 -3
- package/src/models/getdeploymentop.ts +353 -0
- package/src/models/getfirewallconfigop.ts +3 -0
- package/src/models/removeprojectenvop.ts +3 -3
- package/src/models/updateprojectop.ts +3 -3
- package/src/models/verifyprojectdomainop.ts +0 -86
|
@@ -36,7 +36,10 @@ const vercel = new Vercel({
|
|
|
36
36
|
});
|
|
37
37
|
|
|
38
38
|
async function run() {
|
|
39
|
-
const result = await vercel.edgeConfig.getEdgeConfigs({
|
|
39
|
+
const result = await vercel.edgeConfig.getEdgeConfigs({
|
|
40
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
41
|
+
slug: "my-team-url-slug",
|
|
42
|
+
});
|
|
40
43
|
|
|
41
44
|
// Handle the result
|
|
42
45
|
console.log(result);
|
|
@@ -60,7 +63,10 @@ const vercel = new VercelCore({
|
|
|
60
63
|
});
|
|
61
64
|
|
|
62
65
|
async function run() {
|
|
63
|
-
const res = await edgeConfigGetEdgeConfigs(vercel, {
|
|
66
|
+
const res = await edgeConfigGetEdgeConfigs(vercel, {
|
|
67
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
68
|
+
slug: "my-team-url-slug",
|
|
69
|
+
});
|
|
64
70
|
|
|
65
71
|
if (!res.ok) {
|
|
66
72
|
throw res.error;
|
|
@@ -111,6 +117,8 @@ const vercel = new Vercel({
|
|
|
111
117
|
|
|
112
118
|
async function run() {
|
|
113
119
|
const result = await vercel.edgeConfig.createEdgeConfig({
|
|
120
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
121
|
+
slug: "my-team-url-slug",
|
|
114
122
|
requestBody: {
|
|
115
123
|
slug: "<value>",
|
|
116
124
|
},
|
|
@@ -139,6 +147,8 @@ const vercel = new VercelCore({
|
|
|
139
147
|
|
|
140
148
|
async function run() {
|
|
141
149
|
const res = await edgeConfigCreateEdgeConfig(vercel, {
|
|
150
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
151
|
+
slug: "my-team-url-slug",
|
|
142
152
|
requestBody: {
|
|
143
153
|
slug: "<value>",
|
|
144
154
|
},
|
|
@@ -194,6 +204,8 @@ const vercel = new Vercel({
|
|
|
194
204
|
async function run() {
|
|
195
205
|
const result = await vercel.edgeConfig.getEdgeConfig({
|
|
196
206
|
edgeConfigId: "<id>",
|
|
207
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
208
|
+
slug: "my-team-url-slug",
|
|
197
209
|
});
|
|
198
210
|
|
|
199
211
|
// Handle the result
|
|
@@ -220,6 +232,8 @@ const vercel = new VercelCore({
|
|
|
220
232
|
async function run() {
|
|
221
233
|
const res = await edgeConfigGetEdgeConfig(vercel, {
|
|
222
234
|
edgeConfigId: "<id>",
|
|
235
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
236
|
+
slug: "my-team-url-slug",
|
|
223
237
|
});
|
|
224
238
|
|
|
225
239
|
if (!res.ok) {
|
|
@@ -273,6 +287,8 @@ const vercel = new Vercel({
|
|
|
273
287
|
async function run() {
|
|
274
288
|
const result = await vercel.edgeConfig.updateEdgeConfig({
|
|
275
289
|
edgeConfigId: "<id>",
|
|
290
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
291
|
+
slug: "my-team-url-slug",
|
|
276
292
|
requestBody: {
|
|
277
293
|
slug: "<value>",
|
|
278
294
|
},
|
|
@@ -302,6 +318,8 @@ const vercel = new VercelCore({
|
|
|
302
318
|
async function run() {
|
|
303
319
|
const res = await edgeConfigUpdateEdgeConfig(vercel, {
|
|
304
320
|
edgeConfigId: "<id>",
|
|
321
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
322
|
+
slug: "my-team-url-slug",
|
|
305
323
|
requestBody: {
|
|
306
324
|
slug: "<value>",
|
|
307
325
|
},
|
|
@@ -358,6 +376,8 @@ const vercel = new Vercel({
|
|
|
358
376
|
async function run() {
|
|
359
377
|
await vercel.edgeConfig.deleteEdgeConfig({
|
|
360
378
|
edgeConfigId: "<id>",
|
|
379
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
380
|
+
slug: "my-team-url-slug",
|
|
361
381
|
});
|
|
362
382
|
|
|
363
383
|
|
|
@@ -383,6 +403,8 @@ const vercel = new VercelCore({
|
|
|
383
403
|
async function run() {
|
|
384
404
|
const res = await edgeConfigDeleteEdgeConfig(vercel, {
|
|
385
405
|
edgeConfigId: "<id>",
|
|
406
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
407
|
+
slug: "my-team-url-slug",
|
|
386
408
|
});
|
|
387
409
|
|
|
388
410
|
if (!res.ok) {
|
|
@@ -435,6 +457,8 @@ const vercel = new Vercel({
|
|
|
435
457
|
async function run() {
|
|
436
458
|
const result = await vercel.edgeConfig.getEdgeConfigItems({
|
|
437
459
|
edgeConfigId: "<id>",
|
|
460
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
461
|
+
slug: "my-team-url-slug",
|
|
438
462
|
});
|
|
439
463
|
|
|
440
464
|
// Handle the result
|
|
@@ -461,6 +485,8 @@ const vercel = new VercelCore({
|
|
|
461
485
|
async function run() {
|
|
462
486
|
const res = await edgeConfigGetEdgeConfigItems(vercel, {
|
|
463
487
|
edgeConfigId: "<id>",
|
|
488
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
489
|
+
slug: "my-team-url-slug",
|
|
464
490
|
});
|
|
465
491
|
|
|
466
492
|
if (!res.ok) {
|
|
@@ -514,6 +540,8 @@ const vercel = new Vercel({
|
|
|
514
540
|
async function run() {
|
|
515
541
|
const result = await vercel.edgeConfig.getEdgeConfigSchema({
|
|
516
542
|
edgeConfigId: "<id>",
|
|
543
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
544
|
+
slug: "my-team-url-slug",
|
|
517
545
|
});
|
|
518
546
|
|
|
519
547
|
// Handle the result
|
|
@@ -540,6 +568,8 @@ const vercel = new VercelCore({
|
|
|
540
568
|
async function run() {
|
|
541
569
|
const res = await edgeConfigGetEdgeConfigSchema(vercel, {
|
|
542
570
|
edgeConfigId: "<id>",
|
|
571
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
572
|
+
slug: "my-team-url-slug",
|
|
543
573
|
});
|
|
544
574
|
|
|
545
575
|
if (!res.ok) {
|
|
@@ -593,6 +623,8 @@ const vercel = new Vercel({
|
|
|
593
623
|
async function run() {
|
|
594
624
|
const result = await vercel.edgeConfig.patchEdgeConfigSchema({
|
|
595
625
|
edgeConfigId: "<id>",
|
|
626
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
627
|
+
slug: "my-team-url-slug",
|
|
596
628
|
requestBody: {
|
|
597
629
|
definition: "<value>",
|
|
598
630
|
},
|
|
@@ -622,6 +654,8 @@ const vercel = new VercelCore({
|
|
|
622
654
|
async function run() {
|
|
623
655
|
const res = await edgeConfigPatchEdgeConfigSchema(vercel, {
|
|
624
656
|
edgeConfigId: "<id>",
|
|
657
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
658
|
+
slug: "my-team-url-slug",
|
|
625
659
|
requestBody: {
|
|
626
660
|
definition: "<value>",
|
|
627
661
|
},
|
|
@@ -678,6 +712,8 @@ const vercel = new Vercel({
|
|
|
678
712
|
async function run() {
|
|
679
713
|
await vercel.edgeConfig.deleteEdgeConfigSchema({
|
|
680
714
|
edgeConfigId: "<id>",
|
|
715
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
716
|
+
slug: "my-team-url-slug",
|
|
681
717
|
});
|
|
682
718
|
|
|
683
719
|
|
|
@@ -703,6 +739,8 @@ const vercel = new VercelCore({
|
|
|
703
739
|
async function run() {
|
|
704
740
|
const res = await edgeConfigDeleteEdgeConfigSchema(vercel, {
|
|
705
741
|
edgeConfigId: "<id>",
|
|
742
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
743
|
+
slug: "my-team-url-slug",
|
|
706
744
|
});
|
|
707
745
|
|
|
708
746
|
if (!res.ok) {
|
|
@@ -756,6 +794,8 @@ async function run() {
|
|
|
756
794
|
const result = await vercel.edgeConfig.getEdgeConfigItem({
|
|
757
795
|
edgeConfigId: "<id>",
|
|
758
796
|
edgeConfigItemKey: "<value>",
|
|
797
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
798
|
+
slug: "my-team-url-slug",
|
|
759
799
|
});
|
|
760
800
|
|
|
761
801
|
// Handle the result
|
|
@@ -783,6 +823,8 @@ async function run() {
|
|
|
783
823
|
const res = await edgeConfigGetEdgeConfigItem(vercel, {
|
|
784
824
|
edgeConfigId: "<id>",
|
|
785
825
|
edgeConfigItemKey: "<value>",
|
|
826
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
827
|
+
slug: "my-team-url-slug",
|
|
786
828
|
});
|
|
787
829
|
|
|
788
830
|
if (!res.ok) {
|
|
@@ -836,6 +878,8 @@ const vercel = new Vercel({
|
|
|
836
878
|
async function run() {
|
|
837
879
|
const result = await vercel.edgeConfig.getEdgeConfigTokens({
|
|
838
880
|
edgeConfigId: "<id>",
|
|
881
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
882
|
+
slug: "my-team-url-slug",
|
|
839
883
|
});
|
|
840
884
|
|
|
841
885
|
// Handle the result
|
|
@@ -862,6 +906,8 @@ const vercel = new VercelCore({
|
|
|
862
906
|
async function run() {
|
|
863
907
|
const res = await edgeConfigGetEdgeConfigTokens(vercel, {
|
|
864
908
|
edgeConfigId: "<id>",
|
|
909
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
910
|
+
slug: "my-team-url-slug",
|
|
865
911
|
});
|
|
866
912
|
|
|
867
913
|
if (!res.ok) {
|
|
@@ -915,6 +961,8 @@ const vercel = new Vercel({
|
|
|
915
961
|
async function run() {
|
|
916
962
|
await vercel.edgeConfig.deleteEdgeConfigTokens({
|
|
917
963
|
edgeConfigId: "<id>",
|
|
964
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
965
|
+
slug: "my-team-url-slug",
|
|
918
966
|
requestBody: {
|
|
919
967
|
tokens: [
|
|
920
968
|
"<value>",
|
|
@@ -945,6 +993,8 @@ const vercel = new VercelCore({
|
|
|
945
993
|
async function run() {
|
|
946
994
|
const res = await edgeConfigDeleteEdgeConfigTokens(vercel, {
|
|
947
995
|
edgeConfigId: "<id>",
|
|
996
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
997
|
+
slug: "my-team-url-slug",
|
|
948
998
|
requestBody: {
|
|
949
999
|
tokens: [
|
|
950
1000
|
"<value>",
|
|
@@ -1003,6 +1053,8 @@ async function run() {
|
|
|
1003
1053
|
const result = await vercel.edgeConfig.getEdgeConfigToken({
|
|
1004
1054
|
edgeConfigId: "<id>",
|
|
1005
1055
|
token: "<value>",
|
|
1056
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
1057
|
+
slug: "my-team-url-slug",
|
|
1006
1058
|
});
|
|
1007
1059
|
|
|
1008
1060
|
// Handle the result
|
|
@@ -1030,6 +1082,8 @@ async function run() {
|
|
|
1030
1082
|
const res = await edgeConfigGetEdgeConfigToken(vercel, {
|
|
1031
1083
|
edgeConfigId: "<id>",
|
|
1032
1084
|
token: "<value>",
|
|
1085
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
1086
|
+
slug: "my-team-url-slug",
|
|
1033
1087
|
});
|
|
1034
1088
|
|
|
1035
1089
|
if (!res.ok) {
|
|
@@ -1083,6 +1137,8 @@ const vercel = new Vercel({
|
|
|
1083
1137
|
async function run() {
|
|
1084
1138
|
const result = await vercel.edgeConfig.createEdgeConfigToken({
|
|
1085
1139
|
edgeConfigId: "<id>",
|
|
1140
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
1141
|
+
slug: "my-team-url-slug",
|
|
1086
1142
|
requestBody: {
|
|
1087
1143
|
label: "<value>",
|
|
1088
1144
|
},
|
|
@@ -1112,6 +1168,8 @@ const vercel = new VercelCore({
|
|
|
1112
1168
|
async function run() {
|
|
1113
1169
|
const res = await edgeConfigCreateEdgeConfigToken(vercel, {
|
|
1114
1170
|
edgeConfigId: "<id>",
|
|
1171
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
1172
|
+
slug: "my-team-url-slug",
|
|
1115
1173
|
requestBody: {
|
|
1116
1174
|
label: "<value>",
|
|
1117
1175
|
},
|
|
@@ -1169,6 +1227,8 @@ async function run() {
|
|
|
1169
1227
|
const result = await vercel.edgeConfig.getEdgeConfigBackup({
|
|
1170
1228
|
edgeConfigId: "<id>",
|
|
1171
1229
|
edgeConfigBackupVersionId: "<id>",
|
|
1230
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
1231
|
+
slug: "my-team-url-slug",
|
|
1172
1232
|
});
|
|
1173
1233
|
|
|
1174
1234
|
// Handle the result
|
|
@@ -1196,6 +1256,8 @@ async function run() {
|
|
|
1196
1256
|
const res = await edgeConfigGetEdgeConfigBackup(vercel, {
|
|
1197
1257
|
edgeConfigId: "<id>",
|
|
1198
1258
|
edgeConfigBackupVersionId: "<id>",
|
|
1259
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
1260
|
+
slug: "my-team-url-slug",
|
|
1199
1261
|
});
|
|
1200
1262
|
|
|
1201
1263
|
if (!res.ok) {
|
|
@@ -1249,6 +1311,8 @@ const vercel = new Vercel({
|
|
|
1249
1311
|
async function run() {
|
|
1250
1312
|
const result = await vercel.edgeConfig.getEdgeConfigBackups({
|
|
1251
1313
|
edgeConfigId: "<id>",
|
|
1314
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
1315
|
+
slug: "my-team-url-slug",
|
|
1252
1316
|
});
|
|
1253
1317
|
|
|
1254
1318
|
// Handle the result
|
|
@@ -1275,6 +1339,8 @@ const vercel = new VercelCore({
|
|
|
1275
1339
|
async function run() {
|
|
1276
1340
|
const res = await edgeConfigGetEdgeConfigBackups(vercel, {
|
|
1277
1341
|
edgeConfigId: "<id>",
|
|
1342
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
1343
|
+
slug: "my-team-url-slug",
|
|
1278
1344
|
});
|
|
1279
1345
|
|
|
1280
1346
|
if (!res.ok) {
|
|
@@ -27,6 +27,8 @@ const vercel = new Vercel({
|
|
|
27
27
|
async function run() {
|
|
28
28
|
const result = await vercel.integrations.getConfigurations({
|
|
29
29
|
view: "account",
|
|
30
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
31
|
+
slug: "my-team-url-slug",
|
|
30
32
|
});
|
|
31
33
|
|
|
32
34
|
// Handle the result
|
|
@@ -53,6 +55,8 @@ const vercel = new VercelCore({
|
|
|
53
55
|
async function run() {
|
|
54
56
|
const res = await integrationsGetConfigurations(vercel, {
|
|
55
57
|
view: "account",
|
|
58
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
59
|
+
slug: "my-team-url-slug",
|
|
56
60
|
});
|
|
57
61
|
|
|
58
62
|
if (!res.ok) {
|
|
@@ -105,6 +109,8 @@ const vercel = new Vercel({
|
|
|
105
109
|
async function run() {
|
|
106
110
|
const result = await vercel.integrations.getConfiguration({
|
|
107
111
|
id: "icfg_cuwj0AdCdH3BwWT4LPijCC7t",
|
|
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 integrationsGetConfiguration(vercel, {
|
|
133
139
|
id: "icfg_cuwj0AdCdH3BwWT4LPijCC7t",
|
|
140
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
141
|
+
slug: "my-team-url-slug",
|
|
134
142
|
});
|
|
135
143
|
|
|
136
144
|
if (!res.ok) {
|
|
@@ -184,6 +192,8 @@ const vercel = new Vercel({
|
|
|
184
192
|
async function run() {
|
|
185
193
|
await vercel.integrations.deleteConfiguration({
|
|
186
194
|
id: "<id>",
|
|
195
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
196
|
+
slug: "my-team-url-slug",
|
|
187
197
|
});
|
|
188
198
|
|
|
189
199
|
|
|
@@ -209,6 +219,8 @@ const vercel = new VercelCore({
|
|
|
209
219
|
async function run() {
|
|
210
220
|
const res = await integrationsDeleteConfiguration(vercel, {
|
|
211
221
|
id: "<id>",
|
|
222
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
223
|
+
slug: "my-team-url-slug",
|
|
212
224
|
});
|
|
213
225
|
|
|
214
226
|
if (!res.ok) {
|
|
@@ -339,6 +351,8 @@ const vercel = new Vercel({
|
|
|
339
351
|
async function run() {
|
|
340
352
|
const result = await vercel.integrations.searchRepo({
|
|
341
353
|
host: "ghes-test.now.systems",
|
|
354
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
355
|
+
slug: "my-team-url-slug",
|
|
342
356
|
});
|
|
343
357
|
|
|
344
358
|
// Handle the result
|
|
@@ -365,6 +379,8 @@ const vercel = new VercelCore({
|
|
|
365
379
|
async function run() {
|
|
366
380
|
const res = await integrationsSearchRepo(vercel, {
|
|
367
381
|
host: "ghes-test.now.systems",
|
|
382
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
383
|
+
slug: "my-team-url-slug",
|
|
368
384
|
});
|
|
369
385
|
|
|
370
386
|
if (!res.ok) {
|
|
@@ -27,7 +27,10 @@ const vercel = new Vercel({
|
|
|
27
27
|
});
|
|
28
28
|
|
|
29
29
|
async function run() {
|
|
30
|
-
const result = await vercel.logDrains.getIntegrationLogDrains({
|
|
30
|
+
const result = await vercel.logDrains.getIntegrationLogDrains({
|
|
31
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
32
|
+
slug: "my-team-url-slug",
|
|
33
|
+
});
|
|
31
34
|
|
|
32
35
|
// Handle the result
|
|
33
36
|
console.log(result);
|
|
@@ -51,7 +54,10 @@ const vercel = new VercelCore({
|
|
|
51
54
|
});
|
|
52
55
|
|
|
53
56
|
async function run() {
|
|
54
|
-
const res = await logDrainsGetIntegrationLogDrains(vercel, {
|
|
57
|
+
const res = await logDrainsGetIntegrationLogDrains(vercel, {
|
|
58
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
59
|
+
slug: "my-team-url-slug",
|
|
60
|
+
});
|
|
55
61
|
|
|
56
62
|
if (!res.ok) {
|
|
57
63
|
throw res.error;
|
|
@@ -102,6 +108,8 @@ const vercel = new Vercel({
|
|
|
102
108
|
|
|
103
109
|
async function run() {
|
|
104
110
|
const result = await vercel.logDrains.createLogDrain({
|
|
111
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
112
|
+
slug: "my-team-url-slug",
|
|
105
113
|
requestBody: {
|
|
106
114
|
name: "My first log drain",
|
|
107
115
|
secret: "a1Xsfd325fXcs",
|
|
@@ -133,6 +141,8 @@ const vercel = new VercelCore({
|
|
|
133
141
|
|
|
134
142
|
async function run() {
|
|
135
143
|
const res = await logDrainsCreateLogDrain(vercel, {
|
|
144
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
145
|
+
slug: "my-team-url-slug",
|
|
136
146
|
requestBody: {
|
|
137
147
|
name: "My first log drain",
|
|
138
148
|
secret: "a1Xsfd325fXcs",
|
|
@@ -191,6 +201,8 @@ const vercel = new Vercel({
|
|
|
191
201
|
async function run() {
|
|
192
202
|
await vercel.logDrains.deleteIntegrationLogDrain({
|
|
193
203
|
id: "<id>",
|
|
204
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
205
|
+
slug: "my-team-url-slug",
|
|
194
206
|
});
|
|
195
207
|
|
|
196
208
|
|
|
@@ -216,6 +228,8 @@ const vercel = new VercelCore({
|
|
|
216
228
|
async function run() {
|
|
217
229
|
const res = await logDrainsDeleteIntegrationLogDrain(vercel, {
|
|
218
230
|
id: "<id>",
|
|
231
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
232
|
+
slug: "my-team-url-slug",
|
|
219
233
|
});
|
|
220
234
|
|
|
221
235
|
if (!res.ok) {
|
|
@@ -268,6 +282,8 @@ const vercel = new Vercel({
|
|
|
268
282
|
async function run() {
|
|
269
283
|
const result = await vercel.logDrains.getConfigurableLogDrain({
|
|
270
284
|
id: "<id>",
|
|
285
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
286
|
+
slug: "my-team-url-slug",
|
|
271
287
|
});
|
|
272
288
|
|
|
273
289
|
// Handle the result
|
|
@@ -294,6 +310,8 @@ const vercel = new VercelCore({
|
|
|
294
310
|
async function run() {
|
|
295
311
|
const res = await logDrainsGetConfigurableLogDrain(vercel, {
|
|
296
312
|
id: "<id>",
|
|
313
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
314
|
+
slug: "my-team-url-slug",
|
|
297
315
|
});
|
|
298
316
|
|
|
299
317
|
if (!res.ok) {
|
|
@@ -347,6 +365,8 @@ const vercel = new Vercel({
|
|
|
347
365
|
async function run() {
|
|
348
366
|
await vercel.logDrains.deleteConfigurableLogDrain({
|
|
349
367
|
id: "<id>",
|
|
368
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
369
|
+
slug: "my-team-url-slug",
|
|
350
370
|
});
|
|
351
371
|
|
|
352
372
|
|
|
@@ -372,6 +392,8 @@ const vercel = new VercelCore({
|
|
|
372
392
|
async function run() {
|
|
373
393
|
const res = await logDrainsDeleteConfigurableLogDrain(vercel, {
|
|
374
394
|
id: "<id>",
|
|
395
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
396
|
+
slug: "my-team-url-slug",
|
|
375
397
|
});
|
|
376
398
|
|
|
377
399
|
if (!res.ok) {
|
|
@@ -422,7 +444,10 @@ const vercel = new Vercel({
|
|
|
422
444
|
});
|
|
423
445
|
|
|
424
446
|
async function run() {
|
|
425
|
-
const result = await vercel.logDrains.getAllLogDrains({
|
|
447
|
+
const result = await vercel.logDrains.getAllLogDrains({
|
|
448
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
449
|
+
slug: "my-team-url-slug",
|
|
450
|
+
});
|
|
426
451
|
|
|
427
452
|
// Handle the result
|
|
428
453
|
console.log(result);
|
|
@@ -446,7 +471,10 @@ const vercel = new VercelCore({
|
|
|
446
471
|
});
|
|
447
472
|
|
|
448
473
|
async function run() {
|
|
449
|
-
const res = await logDrainsGetAllLogDrains(vercel, {
|
|
474
|
+
const res = await logDrainsGetAllLogDrains(vercel, {
|
|
475
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
476
|
+
slug: "my-team-url-slug",
|
|
477
|
+
});
|
|
450
478
|
|
|
451
479
|
if (!res.ok) {
|
|
452
480
|
throw res.error;
|
|
@@ -497,6 +525,8 @@ const vercel = new Vercel({
|
|
|
497
525
|
|
|
498
526
|
async function run() {
|
|
499
527
|
const result = await vercel.logDrains.createConfigurableLogDrain({
|
|
528
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
529
|
+
slug: "my-team-url-slug",
|
|
500
530
|
requestBody: {
|
|
501
531
|
deliveryFormat: "json",
|
|
502
532
|
url: "https://sugary-technician.name",
|
|
@@ -529,6 +559,8 @@ const vercel = new VercelCore({
|
|
|
529
559
|
|
|
530
560
|
async function run() {
|
|
531
561
|
const res = await logDrainsCreateConfigurableLogDrain(vercel, {
|
|
562
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
563
|
+
slug: "my-team-url-slug",
|
|
532
564
|
requestBody: {
|
|
533
565
|
deliveryFormat: "json",
|
|
534
566
|
url: "https://sugary-technician.name",
|
|
@@ -28,6 +28,8 @@ async function run() {
|
|
|
28
28
|
limit: 20,
|
|
29
29
|
since: 1540095775951,
|
|
30
30
|
until: 1540095775951,
|
|
31
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
32
|
+
slug: "my-team-url-slug",
|
|
31
33
|
});
|
|
32
34
|
|
|
33
35
|
// Handle the result
|
|
@@ -57,6 +59,8 @@ async function run() {
|
|
|
57
59
|
limit: 20,
|
|
58
60
|
since: 1540095775951,
|
|
59
61
|
until: 1540095775951,
|
|
62
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
63
|
+
slug: "my-team-url-slug",
|
|
60
64
|
});
|
|
61
65
|
|
|
62
66
|
if (!res.ok) {
|
|
@@ -109,6 +113,8 @@ const vercel = new Vercel({
|
|
|
109
113
|
async function run() {
|
|
110
114
|
const result = await vercel.projectMembers.addProjectMember({
|
|
111
115
|
idOrName: "prj_pavWOn1iLObbXLRiwVvzmPrTWyTf",
|
|
116
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
117
|
+
slug: "my-team-url-slug",
|
|
112
118
|
requestBody: {
|
|
113
119
|
uid: "ndlgr43fadlPyCtREAqxxdyFK",
|
|
114
120
|
username: "example",
|
|
@@ -141,6 +147,8 @@ const vercel = new VercelCore({
|
|
|
141
147
|
async function run() {
|
|
142
148
|
const res = await projectMembersAddProjectMember(vercel, {
|
|
143
149
|
idOrName: "prj_pavWOn1iLObbXLRiwVvzmPrTWyTf",
|
|
150
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
151
|
+
slug: "my-team-url-slug",
|
|
144
152
|
requestBody: {
|
|
145
153
|
uid: "ndlgr43fadlPyCtREAqxxdyFK",
|
|
146
154
|
username: "example",
|
|
@@ -200,6 +208,8 @@ async function run() {
|
|
|
200
208
|
const result = await vercel.projectMembers.removeProjectMember({
|
|
201
209
|
idOrName: "prj_pavWOn1iLObbXLRiwVvzmPrTWyTf",
|
|
202
210
|
uid: "ndlgr43fadlPyCtREAqxxdyFK",
|
|
211
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
212
|
+
slug: "my-team-url-slug",
|
|
203
213
|
});
|
|
204
214
|
|
|
205
215
|
// Handle the result
|
|
@@ -227,6 +237,8 @@ async function run() {
|
|
|
227
237
|
const res = await projectMembersRemoveProjectMember(vercel, {
|
|
228
238
|
idOrName: "prj_pavWOn1iLObbXLRiwVvzmPrTWyTf",
|
|
229
239
|
uid: "ndlgr43fadlPyCtREAqxxdyFK",
|
|
240
|
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
|
|
241
|
+
slug: "my-team-url-slug",
|
|
230
242
|
});
|
|
231
243
|
|
|
232
244
|
if (!res.ok) {
|