@vercel/sdk 1.7.7 → 1.8.0
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 +5 -22
- package/README.md +49 -61
- package/bin/mcp-server.js +3840 -2253
- package/bin/mcp-server.js.map +206 -208
- package/docs/sdks/accessgroups/README.md +55 -106
- package/docs/sdks/aliases/README.md +30 -54
- package/docs/sdks/artifacts/README.md +30 -50
- package/docs/sdks/authentication/README.md +27 -47
- package/docs/sdks/certs/README.md +20 -48
- package/docs/sdks/checks/README.md +25 -45
- package/docs/sdks/deployments/README.md +52 -86
- package/docs/sdks/dns/README.md +20 -36
- package/docs/sdks/domains/README.md +45 -81
- package/docs/sdks/edgeconfig/README.md +80 -138
- package/docs/sdks/environment/README.md +25 -45
- package/docs/sdks/integrations/README.md +22 -34
- package/docs/sdks/logdrains/README.md +20 -32
- package/docs/sdks/logs/README.md +5 -9
- package/docs/sdks/marketplace/README.md +90 -135
- package/docs/sdks/projectmembers/README.md +15 -27
- package/docs/sdks/projects/README.md +120 -208
- package/docs/sdks/security/README.md +40 -72
- package/docs/sdks/teams/README.md +71 -122
- package/docs/sdks/user/README.md +15 -27
- package/docs/sdks/vercel/README.md +25 -43
- package/docs/sdks/webhooks/README.md +20 -34
- package/esm/__tests__/accessgroups.test.js +164 -0
- package/esm/__tests__/accessgroups.test.js.map +1 -1
- package/esm/__tests__/aliases.test.js +65 -0
- package/esm/__tests__/aliases.test.js.map +1 -1
- package/esm/__tests__/artifacts.test.js +21 -2
- package/esm/__tests__/artifacts.test.js.map +1 -1
- package/esm/__tests__/authentication.test.js +44 -0
- package/esm/__tests__/authentication.test.js.map +1 -1
- package/esm/__tests__/certs.test.js +32 -6
- package/esm/__tests__/certs.test.js.map +1 -1
- package/esm/__tests__/checks.test.js +46 -0
- package/esm/__tests__/checks.test.js.map +1 -1
- package/esm/__tests__/deployments.test.js +222 -4
- package/esm/__tests__/deployments.test.js.map +1 -1
- package/esm/__tests__/dns.test.js +12 -10
- package/esm/__tests__/dns.test.js.map +1 -1
- package/esm/__tests__/domains.test.js +107 -4
- package/esm/__tests__/domains.test.js.map +1 -1
- package/esm/__tests__/edgeconfig.test.js +102 -1
- package/esm/__tests__/edgeconfig.test.js.map +1 -1
- package/esm/__tests__/environment.test.js +34 -0
- package/esm/__tests__/environment.test.js.map +1 -1
- package/esm/__tests__/logdrains.test.js +87 -0
- package/esm/__tests__/logdrains.test.js.map +1 -1
- package/esm/__tests__/logs.test.js +12 -0
- package/esm/__tests__/logs.test.js.map +1 -1
- package/esm/__tests__/marketplace.test.js +86 -48
- package/esm/__tests__/marketplace.test.js.map +1 -1
- package/esm/__tests__/projectmembers.test.js +6 -0
- package/esm/__tests__/projectmembers.test.js.map +1 -1
- package/esm/__tests__/projects.test.js +513 -0
- package/esm/__tests__/projects.test.js.map +1 -1
- package/esm/__tests__/security.test.js +222 -5
- package/esm/__tests__/security.test.js.map +1 -1
- package/esm/__tests__/teams.test.js +129 -0
- package/esm/__tests__/teams.test.js.map +1 -1
- package/esm/__tests__/user.test.js +10 -0
- package/esm/__tests__/user.test.js.map +1 -1
- package/esm/__tests__/vercel.test.js +149 -15
- package/esm/__tests__/vercel.test.js.map +1 -1
- package/esm/__tests__/webhooks.test.js +74 -2
- package/esm/__tests__/webhooks.test.js.map +1 -1
- package/esm/funcs/accessGroupsCreateAccessGroup.d.ts +3 -3
- package/esm/funcs/accessGroupsCreateAccessGroup.d.ts.map +1 -1
- package/esm/funcs/accessGroupsCreateAccessGroup.js +4 -3
- package/esm/funcs/accessGroupsCreateAccessGroup.js.map +1 -1
- package/esm/funcs/accessGroupsCreateAccessGroupProject.d.ts +3 -3
- package/esm/funcs/accessGroupsCreateAccessGroupProject.d.ts.map +1 -1
- package/esm/funcs/accessGroupsCreateAccessGroupProject.js +4 -3
- package/esm/funcs/accessGroupsCreateAccessGroupProject.js.map +1 -1
- package/esm/funcs/accessGroupsDeleteAccessGroup.d.ts +3 -3
- package/esm/funcs/accessGroupsDeleteAccessGroup.d.ts.map +1 -1
- package/esm/funcs/accessGroupsDeleteAccessGroup.js +4 -3
- package/esm/funcs/accessGroupsDeleteAccessGroup.js.map +1 -1
- package/esm/funcs/accessGroupsDeleteAccessGroupProject.d.ts +3 -3
- package/esm/funcs/accessGroupsDeleteAccessGroupProject.d.ts.map +1 -1
- package/esm/funcs/accessGroupsDeleteAccessGroupProject.js +4 -3
- package/esm/funcs/accessGroupsDeleteAccessGroupProject.js.map +1 -1
- package/esm/funcs/accessGroupsListAccessGroupMembers.d.ts +3 -3
- package/esm/funcs/accessGroupsListAccessGroupMembers.d.ts.map +1 -1
- package/esm/funcs/accessGroupsListAccessGroupMembers.js +4 -3
- package/esm/funcs/accessGroupsListAccessGroupMembers.js.map +1 -1
- package/esm/funcs/accessGroupsListAccessGroupProjects.d.ts +3 -3
- package/esm/funcs/accessGroupsListAccessGroupProjects.d.ts.map +1 -1
- package/esm/funcs/accessGroupsListAccessGroupProjects.js +4 -3
- package/esm/funcs/accessGroupsListAccessGroupProjects.js.map +1 -1
- package/esm/funcs/accessGroupsListAccessGroups.d.ts +3 -3
- package/esm/funcs/accessGroupsListAccessGroups.d.ts.map +1 -1
- package/esm/funcs/accessGroupsListAccessGroups.js +4 -3
- package/esm/funcs/accessGroupsListAccessGroups.js.map +1 -1
- package/esm/funcs/accessGroupsReadAccessGroup.d.ts +3 -3
- package/esm/funcs/accessGroupsReadAccessGroup.d.ts.map +1 -1
- package/esm/funcs/accessGroupsReadAccessGroup.js +4 -3
- package/esm/funcs/accessGroupsReadAccessGroup.js.map +1 -1
- package/esm/funcs/accessGroupsReadAccessGroupProject.d.ts +3 -3
- package/esm/funcs/accessGroupsReadAccessGroupProject.d.ts.map +1 -1
- package/esm/funcs/accessGroupsReadAccessGroupProject.js +4 -3
- package/esm/funcs/accessGroupsReadAccessGroupProject.js.map +1 -1
- package/esm/funcs/accessGroupsUpdateAccessGroup.d.ts +3 -3
- package/esm/funcs/accessGroupsUpdateAccessGroup.d.ts.map +1 -1
- package/esm/funcs/accessGroupsUpdateAccessGroup.js +4 -3
- package/esm/funcs/accessGroupsUpdateAccessGroup.js.map +1 -1
- package/esm/funcs/accessGroupsUpdateAccessGroupProject.d.ts +3 -3
- package/esm/funcs/accessGroupsUpdateAccessGroupProject.d.ts.map +1 -1
- package/esm/funcs/accessGroupsUpdateAccessGroupProject.js +4 -3
- package/esm/funcs/accessGroupsUpdateAccessGroupProject.js.map +1 -1
- package/esm/funcs/aliasesAssignAlias.d.ts +3 -2
- package/esm/funcs/aliasesAssignAlias.d.ts.map +1 -1
- package/esm/funcs/aliasesAssignAlias.js +3 -1
- package/esm/funcs/aliasesAssignAlias.js.map +1 -1
- package/esm/funcs/aliasesDeleteAlias.d.ts +3 -2
- package/esm/funcs/aliasesDeleteAlias.d.ts.map +1 -1
- package/esm/funcs/aliasesDeleteAlias.js +3 -1
- package/esm/funcs/aliasesDeleteAlias.js.map +1 -1
- package/esm/funcs/aliasesGetAlias.d.ts +3 -2
- package/esm/funcs/aliasesGetAlias.d.ts.map +1 -1
- package/esm/funcs/aliasesGetAlias.js +3 -1
- package/esm/funcs/aliasesGetAlias.js.map +1 -1
- package/esm/funcs/aliasesListAliases.d.ts +3 -2
- package/esm/funcs/aliasesListAliases.d.ts.map +1 -1
- package/esm/funcs/aliasesListAliases.js +3 -1
- package/esm/funcs/aliasesListAliases.js.map +1 -1
- package/esm/funcs/aliasesListDeploymentAliases.d.ts +3 -2
- package/esm/funcs/aliasesListDeploymentAliases.d.ts.map +1 -1
- package/esm/funcs/aliasesListDeploymentAliases.js +3 -1
- package/esm/funcs/aliasesListDeploymentAliases.js.map +1 -1
- package/esm/funcs/aliasesPatchUrlProtectionBypass.d.ts +3 -2
- package/esm/funcs/aliasesPatchUrlProtectionBypass.d.ts.map +1 -1
- package/esm/funcs/aliasesPatchUrlProtectionBypass.js +3 -1
- package/esm/funcs/aliasesPatchUrlProtectionBypass.js.map +1 -1
- package/esm/funcs/artifactsArtifactExists.d.ts +3 -2
- package/esm/funcs/artifactsArtifactExists.d.ts.map +1 -1
- package/esm/funcs/artifactsArtifactExists.js +3 -1
- package/esm/funcs/artifactsArtifactExists.js.map +1 -1
- package/esm/funcs/artifactsArtifactQuery.d.ts +3 -2
- package/esm/funcs/artifactsArtifactQuery.d.ts.map +1 -1
- package/esm/funcs/artifactsArtifactQuery.js +3 -1
- package/esm/funcs/artifactsArtifactQuery.js.map +1 -1
- package/esm/funcs/artifactsDownloadArtifact.d.ts +3 -2
- package/esm/funcs/artifactsDownloadArtifact.d.ts.map +1 -1
- package/esm/funcs/artifactsDownloadArtifact.js +3 -1
- package/esm/funcs/artifactsDownloadArtifact.js.map +1 -1
- package/esm/funcs/artifactsRecordEvents.d.ts +3 -2
- package/esm/funcs/artifactsRecordEvents.d.ts.map +1 -1
- package/esm/funcs/artifactsRecordEvents.js +3 -1
- package/esm/funcs/artifactsRecordEvents.js.map +1 -1
- package/esm/funcs/artifactsStatus.d.ts +3 -2
- package/esm/funcs/artifactsStatus.d.ts.map +1 -1
- package/esm/funcs/artifactsStatus.js +3 -1
- package/esm/funcs/artifactsStatus.js.map +1 -1
- package/esm/funcs/artifactsUploadArtifact.d.ts +3 -2
- package/esm/funcs/artifactsUploadArtifact.d.ts.map +1 -1
- package/esm/funcs/artifactsUploadArtifact.js +3 -1
- package/esm/funcs/artifactsUploadArtifact.js.map +1 -1
- package/esm/funcs/authenticationCreateAuthToken.d.ts +3 -2
- package/esm/funcs/authenticationCreateAuthToken.d.ts.map +1 -1
- package/esm/funcs/authenticationCreateAuthToken.js +3 -1
- package/esm/funcs/authenticationCreateAuthToken.js.map +1 -1
- package/esm/funcs/authenticationDeleteAuthToken.d.ts +3 -2
- package/esm/funcs/authenticationDeleteAuthToken.d.ts.map +1 -1
- package/esm/funcs/authenticationDeleteAuthToken.js +3 -1
- package/esm/funcs/authenticationDeleteAuthToken.js.map +1 -1
- package/esm/funcs/authenticationGetAuthToken.d.ts +3 -2
- package/esm/funcs/authenticationGetAuthToken.d.ts.map +1 -1
- package/esm/funcs/authenticationGetAuthToken.js +3 -1
- package/esm/funcs/authenticationGetAuthToken.js.map +1 -1
- package/esm/funcs/authenticationListAuthTokens.d.ts +3 -2
- package/esm/funcs/authenticationListAuthTokens.d.ts.map +1 -1
- package/esm/funcs/authenticationListAuthTokens.js +3 -1
- package/esm/funcs/authenticationListAuthTokens.js.map +1 -1
- package/esm/funcs/certsGetCertById.d.ts +3 -2
- package/esm/funcs/certsGetCertById.d.ts.map +1 -1
- package/esm/funcs/certsGetCertById.js +3 -1
- package/esm/funcs/certsGetCertById.js.map +1 -1
- package/esm/funcs/certsIssueCert.d.ts +3 -2
- package/esm/funcs/certsIssueCert.d.ts.map +1 -1
- package/esm/funcs/certsIssueCert.js +3 -1
- package/esm/funcs/certsIssueCert.js.map +1 -1
- package/esm/funcs/certsRemoveCert.d.ts +3 -2
- package/esm/funcs/certsRemoveCert.d.ts.map +1 -1
- package/esm/funcs/certsRemoveCert.js +3 -1
- package/esm/funcs/certsRemoveCert.js.map +1 -1
- package/esm/funcs/certsUploadCert.d.ts +3 -2
- package/esm/funcs/certsUploadCert.d.ts.map +1 -1
- package/esm/funcs/certsUploadCert.js +3 -1
- package/esm/funcs/certsUploadCert.js.map +1 -1
- package/esm/funcs/checksCreateCheck.d.ts +3 -2
- package/esm/funcs/checksCreateCheck.d.ts.map +1 -1
- package/esm/funcs/checksCreateCheck.js +3 -1
- package/esm/funcs/checksCreateCheck.js.map +1 -1
- package/esm/funcs/checksGetAllChecks.d.ts +3 -2
- package/esm/funcs/checksGetAllChecks.d.ts.map +1 -1
- package/esm/funcs/checksGetAllChecks.js +3 -1
- package/esm/funcs/checksGetAllChecks.js.map +1 -1
- package/esm/funcs/checksGetCheck.d.ts +3 -2
- package/esm/funcs/checksGetCheck.d.ts.map +1 -1
- package/esm/funcs/checksGetCheck.js +3 -1
- package/esm/funcs/checksGetCheck.js.map +1 -1
- package/esm/funcs/checksRerequestCheck.d.ts +3 -2
- package/esm/funcs/checksRerequestCheck.d.ts.map +1 -1
- package/esm/funcs/checksRerequestCheck.js +3 -1
- package/esm/funcs/checksRerequestCheck.js.map +1 -1
- package/esm/funcs/checksUpdateCheck.d.ts +3 -2
- package/esm/funcs/checksUpdateCheck.d.ts.map +1 -1
- package/esm/funcs/checksUpdateCheck.js +3 -1
- package/esm/funcs/checksUpdateCheck.js.map +1 -1
- package/esm/funcs/deleteProjectsProjectIdLogsPresetsId.d.ts +3 -2
- package/esm/funcs/deleteProjectsProjectIdLogsPresetsId.d.ts.map +1 -1
- package/esm/funcs/deleteProjectsProjectIdLogsPresetsId.js +3 -1
- package/esm/funcs/deleteProjectsProjectIdLogsPresetsId.js.map +1 -1
- package/esm/funcs/deploymentsCancelDeployment.d.ts +3 -2
- package/esm/funcs/deploymentsCancelDeployment.d.ts.map +1 -1
- package/esm/funcs/deploymentsCancelDeployment.js +3 -1
- package/esm/funcs/deploymentsCancelDeployment.js.map +1 -1
- package/esm/funcs/deploymentsCreateDeployment.d.ts +3 -2
- package/esm/funcs/deploymentsCreateDeployment.d.ts.map +1 -1
- package/esm/funcs/deploymentsCreateDeployment.js +3 -1
- package/esm/funcs/deploymentsCreateDeployment.js.map +1 -1
- package/esm/funcs/deploymentsDeleteDeployment.d.ts +3 -2
- package/esm/funcs/deploymentsDeleteDeployment.d.ts.map +1 -1
- package/esm/funcs/deploymentsDeleteDeployment.js +3 -1
- package/esm/funcs/deploymentsDeleteDeployment.js.map +1 -1
- package/esm/funcs/deploymentsGetDeployment.d.ts +3 -2
- package/esm/funcs/deploymentsGetDeployment.d.ts.map +1 -1
- package/esm/funcs/deploymentsGetDeployment.js +3 -1
- package/esm/funcs/deploymentsGetDeployment.js.map +1 -1
- package/esm/funcs/deploymentsGetDeploymentEvents.d.ts +3 -2
- package/esm/funcs/deploymentsGetDeploymentEvents.d.ts.map +1 -1
- package/esm/funcs/deploymentsGetDeploymentEvents.js +3 -1
- package/esm/funcs/deploymentsGetDeploymentEvents.js.map +1 -1
- package/esm/funcs/deploymentsGetDeploymentFileContents.d.ts +3 -2
- package/esm/funcs/deploymentsGetDeploymentFileContents.d.ts.map +1 -1
- package/esm/funcs/deploymentsGetDeploymentFileContents.js +3 -1
- package/esm/funcs/deploymentsGetDeploymentFileContents.js.map +1 -1
- package/esm/funcs/deploymentsGetDeployments.d.ts +3 -2
- package/esm/funcs/deploymentsGetDeployments.d.ts.map +1 -1
- package/esm/funcs/deploymentsGetDeployments.js +3 -1
- package/esm/funcs/deploymentsGetDeployments.js.map +1 -1
- package/esm/funcs/deploymentsListDeploymentFiles.d.ts +3 -2
- package/esm/funcs/deploymentsListDeploymentFiles.d.ts.map +1 -1
- package/esm/funcs/deploymentsListDeploymentFiles.js +3 -1
- package/esm/funcs/deploymentsListDeploymentFiles.js.map +1 -1
- package/esm/funcs/deploymentsUpdateIntegrationDeploymentAction.d.ts +3 -2
- package/esm/funcs/deploymentsUpdateIntegrationDeploymentAction.d.ts.map +1 -1
- package/esm/funcs/deploymentsUpdateIntegrationDeploymentAction.js +3 -1
- package/esm/funcs/deploymentsUpdateIntegrationDeploymentAction.js.map +1 -1
- package/esm/funcs/deploymentsUploadFile.d.ts +3 -2
- package/esm/funcs/deploymentsUploadFile.d.ts.map +1 -1
- package/esm/funcs/deploymentsUploadFile.js +3 -1
- package/esm/funcs/deploymentsUploadFile.js.map +1 -1
- package/esm/funcs/dnsCreateRecord.d.ts +3 -2
- package/esm/funcs/dnsCreateRecord.d.ts.map +1 -1
- package/esm/funcs/dnsCreateRecord.js +3 -1
- package/esm/funcs/dnsCreateRecord.js.map +1 -1
- package/esm/funcs/dnsGetRecords.d.ts +3 -2
- package/esm/funcs/dnsGetRecords.d.ts.map +1 -1
- package/esm/funcs/dnsGetRecords.js +3 -1
- package/esm/funcs/dnsGetRecords.js.map +1 -1
- package/esm/funcs/dnsRemoveRecord.d.ts +3 -2
- package/esm/funcs/dnsRemoveRecord.d.ts.map +1 -1
- package/esm/funcs/dnsRemoveRecord.js +3 -1
- package/esm/funcs/dnsRemoveRecord.js.map +1 -1
- package/esm/funcs/dnsUpdateRecord.d.ts +3 -2
- package/esm/funcs/dnsUpdateRecord.d.ts.map +1 -1
- package/esm/funcs/dnsUpdateRecord.js +3 -1
- package/esm/funcs/dnsUpdateRecord.js.map +1 -1
- package/esm/funcs/domainsBuyDomain.d.ts +3 -2
- package/esm/funcs/domainsBuyDomain.d.ts.map +1 -1
- package/esm/funcs/domainsBuyDomain.js +3 -1
- package/esm/funcs/domainsBuyDomain.js.map +1 -1
- package/esm/funcs/domainsCheckDomainPrice.d.ts +3 -2
- package/esm/funcs/domainsCheckDomainPrice.d.ts.map +1 -1
- package/esm/funcs/domainsCheckDomainPrice.js +3 -1
- package/esm/funcs/domainsCheckDomainPrice.js.map +1 -1
- package/esm/funcs/domainsCheckDomainStatus.d.ts +3 -2
- package/esm/funcs/domainsCheckDomainStatus.d.ts.map +1 -1
- package/esm/funcs/domainsCheckDomainStatus.js +3 -1
- package/esm/funcs/domainsCheckDomainStatus.js.map +1 -1
- package/esm/funcs/domainsDeleteDomain.d.ts +3 -2
- package/esm/funcs/domainsDeleteDomain.d.ts.map +1 -1
- package/esm/funcs/domainsDeleteDomain.js +3 -1
- package/esm/funcs/domainsDeleteDomain.js.map +1 -1
- package/esm/funcs/domainsGetDomain.d.ts +3 -2
- package/esm/funcs/domainsGetDomain.d.ts.map +1 -1
- package/esm/funcs/domainsGetDomain.js +3 -1
- package/esm/funcs/domainsGetDomain.js.map +1 -1
- package/esm/funcs/domainsGetDomainConfig.d.ts +3 -2
- package/esm/funcs/domainsGetDomainConfig.d.ts.map +1 -1
- package/esm/funcs/domainsGetDomainConfig.js +3 -1
- package/esm/funcs/domainsGetDomainConfig.js.map +1 -1
- package/esm/funcs/domainsGetDomainTransfer.d.ts +3 -2
- package/esm/funcs/domainsGetDomainTransfer.d.ts.map +1 -1
- package/esm/funcs/domainsGetDomainTransfer.js +3 -1
- package/esm/funcs/domainsGetDomainTransfer.js.map +1 -1
- package/esm/funcs/domainsGetDomains.d.ts +3 -2
- package/esm/funcs/domainsGetDomains.d.ts.map +1 -1
- package/esm/funcs/domainsGetDomains.js +3 -1
- package/esm/funcs/domainsGetDomains.js.map +1 -1
- package/esm/funcs/domainsPatchDomain.d.ts +3 -2
- package/esm/funcs/domainsPatchDomain.d.ts.map +1 -1
- package/esm/funcs/domainsPatchDomain.js +3 -1
- package/esm/funcs/domainsPatchDomain.js.map +1 -1
- package/esm/funcs/edgeConfigCreateEdgeConfig.d.ts +3 -2
- package/esm/funcs/edgeConfigCreateEdgeConfig.d.ts.map +1 -1
- package/esm/funcs/edgeConfigCreateEdgeConfig.js +3 -1
- package/esm/funcs/edgeConfigCreateEdgeConfig.js.map +1 -1
- package/esm/funcs/edgeConfigCreateEdgeConfigToken.d.ts +3 -2
- package/esm/funcs/edgeConfigCreateEdgeConfigToken.d.ts.map +1 -1
- package/esm/funcs/edgeConfigCreateEdgeConfigToken.js +3 -1
- package/esm/funcs/edgeConfigCreateEdgeConfigToken.js.map +1 -1
- package/esm/funcs/edgeConfigDeleteEdgeConfig.d.ts +3 -2
- package/esm/funcs/edgeConfigDeleteEdgeConfig.d.ts.map +1 -1
- package/esm/funcs/edgeConfigDeleteEdgeConfig.js +3 -1
- package/esm/funcs/edgeConfigDeleteEdgeConfig.js.map +1 -1
- package/esm/funcs/edgeConfigDeleteEdgeConfigSchema.d.ts +3 -2
- package/esm/funcs/edgeConfigDeleteEdgeConfigSchema.d.ts.map +1 -1
- package/esm/funcs/edgeConfigDeleteEdgeConfigSchema.js +3 -1
- package/esm/funcs/edgeConfigDeleteEdgeConfigSchema.js.map +1 -1
- package/esm/funcs/edgeConfigDeleteEdgeConfigTokens.d.ts +3 -2
- package/esm/funcs/edgeConfigDeleteEdgeConfigTokens.d.ts.map +1 -1
- package/esm/funcs/edgeConfigDeleteEdgeConfigTokens.js +3 -1
- package/esm/funcs/edgeConfigDeleteEdgeConfigTokens.js.map +1 -1
- package/esm/funcs/edgeConfigGetEdgeConfig.d.ts +3 -2
- package/esm/funcs/edgeConfigGetEdgeConfig.d.ts.map +1 -1
- package/esm/funcs/edgeConfigGetEdgeConfig.js +3 -1
- package/esm/funcs/edgeConfigGetEdgeConfig.js.map +1 -1
- package/esm/funcs/edgeConfigGetEdgeConfigBackup.d.ts +3 -2
- package/esm/funcs/edgeConfigGetEdgeConfigBackup.d.ts.map +1 -1
- package/esm/funcs/edgeConfigGetEdgeConfigBackup.js +3 -1
- package/esm/funcs/edgeConfigGetEdgeConfigBackup.js.map +1 -1
- package/esm/funcs/edgeConfigGetEdgeConfigBackups.d.ts +3 -2
- package/esm/funcs/edgeConfigGetEdgeConfigBackups.d.ts.map +1 -1
- package/esm/funcs/edgeConfigGetEdgeConfigBackups.js +3 -1
- package/esm/funcs/edgeConfigGetEdgeConfigBackups.js.map +1 -1
- package/esm/funcs/edgeConfigGetEdgeConfigItem.d.ts +3 -2
- package/esm/funcs/edgeConfigGetEdgeConfigItem.d.ts.map +1 -1
- package/esm/funcs/edgeConfigGetEdgeConfigItem.js +3 -1
- package/esm/funcs/edgeConfigGetEdgeConfigItem.js.map +1 -1
- package/esm/funcs/edgeConfigGetEdgeConfigItems.d.ts +3 -2
- package/esm/funcs/edgeConfigGetEdgeConfigItems.d.ts.map +1 -1
- package/esm/funcs/edgeConfigGetEdgeConfigItems.js +3 -1
- package/esm/funcs/edgeConfigGetEdgeConfigItems.js.map +1 -1
- package/esm/funcs/edgeConfigGetEdgeConfigSchema.d.ts +3 -2
- package/esm/funcs/edgeConfigGetEdgeConfigSchema.d.ts.map +1 -1
- package/esm/funcs/edgeConfigGetEdgeConfigSchema.js +3 -1
- package/esm/funcs/edgeConfigGetEdgeConfigSchema.js.map +1 -1
- package/esm/funcs/edgeConfigGetEdgeConfigToken.d.ts +3 -2
- package/esm/funcs/edgeConfigGetEdgeConfigToken.d.ts.map +1 -1
- package/esm/funcs/edgeConfigGetEdgeConfigToken.js +3 -1
- package/esm/funcs/edgeConfigGetEdgeConfigToken.js.map +1 -1
- package/esm/funcs/edgeConfigGetEdgeConfigTokens.d.ts +3 -2
- package/esm/funcs/edgeConfigGetEdgeConfigTokens.d.ts.map +1 -1
- package/esm/funcs/edgeConfigGetEdgeConfigTokens.js +3 -1
- package/esm/funcs/edgeConfigGetEdgeConfigTokens.js.map +1 -1
- package/esm/funcs/edgeConfigGetEdgeConfigs.d.ts +3 -2
- package/esm/funcs/edgeConfigGetEdgeConfigs.d.ts.map +1 -1
- package/esm/funcs/edgeConfigGetEdgeConfigs.js +3 -1
- package/esm/funcs/edgeConfigGetEdgeConfigs.js.map +1 -1
- package/esm/funcs/edgeConfigPatchEdgeConfigSchema.d.ts +3 -2
- package/esm/funcs/edgeConfigPatchEdgeConfigSchema.d.ts.map +1 -1
- package/esm/funcs/edgeConfigPatchEdgeConfigSchema.js +3 -1
- package/esm/funcs/edgeConfigPatchEdgeConfigSchema.js.map +1 -1
- package/esm/funcs/edgeConfigUpdateEdgeConfig.d.ts +3 -2
- package/esm/funcs/edgeConfigUpdateEdgeConfig.d.ts.map +1 -1
- package/esm/funcs/edgeConfigUpdateEdgeConfig.js +3 -1
- package/esm/funcs/edgeConfigUpdateEdgeConfig.js.map +1 -1
- package/esm/funcs/environmentCreateCustomEnvironment.d.ts +3 -2
- package/esm/funcs/environmentCreateCustomEnvironment.d.ts.map +1 -1
- package/esm/funcs/environmentCreateCustomEnvironment.js +3 -1
- package/esm/funcs/environmentCreateCustomEnvironment.js.map +1 -1
- package/esm/funcs/environmentGetCustomEnvironment.d.ts +3 -2
- package/esm/funcs/environmentGetCustomEnvironment.d.ts.map +1 -1
- package/esm/funcs/environmentGetCustomEnvironment.js +3 -1
- package/esm/funcs/environmentGetCustomEnvironment.js.map +1 -1
- package/esm/funcs/environmentGetV9ProjectsIdOrNameCustomEnvironments.d.ts +3 -2
- package/esm/funcs/environmentGetV9ProjectsIdOrNameCustomEnvironments.d.ts.map +1 -1
- package/esm/funcs/environmentGetV9ProjectsIdOrNameCustomEnvironments.js +3 -1
- package/esm/funcs/environmentGetV9ProjectsIdOrNameCustomEnvironments.js.map +1 -1
- package/esm/funcs/environmentRemoveCustomEnvironment.d.ts +3 -2
- package/esm/funcs/environmentRemoveCustomEnvironment.d.ts.map +1 -1
- package/esm/funcs/environmentRemoveCustomEnvironment.js +3 -1
- package/esm/funcs/environmentRemoveCustomEnvironment.js.map +1 -1
- package/esm/funcs/environmentUpdateCustomEnvironment.d.ts +3 -2
- package/esm/funcs/environmentUpdateCustomEnvironment.d.ts.map +1 -1
- package/esm/funcs/environmentUpdateCustomEnvironment.js +3 -1
- package/esm/funcs/environmentUpdateCustomEnvironment.js.map +1 -1
- package/esm/funcs/getProjectsProjectIdLogsPresets.d.ts +3 -2
- package/esm/funcs/getProjectsProjectIdLogsPresets.d.ts.map +1 -1
- package/esm/funcs/getProjectsProjectIdLogsPresets.js +3 -1
- package/esm/funcs/getProjectsProjectIdLogsPresets.js.map +1 -1
- package/esm/funcs/integrationsDeleteConfiguration.d.ts +3 -2
- package/esm/funcs/integrationsDeleteConfiguration.d.ts.map +1 -1
- package/esm/funcs/integrationsDeleteConfiguration.js +3 -1
- package/esm/funcs/integrationsDeleteConfiguration.js.map +1 -1
- package/esm/funcs/integrationsGetConfiguration.d.ts +3 -2
- package/esm/funcs/integrationsGetConfiguration.d.ts.map +1 -1
- package/esm/funcs/integrationsGetConfiguration.js +3 -1
- package/esm/funcs/integrationsGetConfiguration.js.map +1 -1
- package/esm/funcs/integrationsGetConfigurations.d.ts +3 -2
- package/esm/funcs/integrationsGetConfigurations.d.ts.map +1 -1
- package/esm/funcs/integrationsGetConfigurations.js +3 -1
- package/esm/funcs/integrationsGetConfigurations.js.map +1 -1
- package/esm/funcs/logDrainsCreateLogDrain.d.ts +3 -2
- package/esm/funcs/logDrainsCreateLogDrain.d.ts.map +1 -1
- package/esm/funcs/logDrainsCreateLogDrain.js +3 -1
- package/esm/funcs/logDrainsCreateLogDrain.js.map +1 -1
- package/esm/funcs/logDrainsDeleteConfigurableLogDrain.d.ts +3 -2
- package/esm/funcs/logDrainsDeleteConfigurableLogDrain.d.ts.map +1 -1
- package/esm/funcs/logDrainsDeleteConfigurableLogDrain.js +3 -1
- package/esm/funcs/logDrainsDeleteConfigurableLogDrain.js.map +1 -1
- package/esm/funcs/logDrainsDeleteIntegrationLogDrain.d.ts +3 -2
- package/esm/funcs/logDrainsDeleteIntegrationLogDrain.d.ts.map +1 -1
- package/esm/funcs/logDrainsDeleteIntegrationLogDrain.js +3 -1
- package/esm/funcs/logDrainsDeleteIntegrationLogDrain.js.map +1 -1
- package/esm/funcs/logDrainsGetIntegrationLogDrains.d.ts +3 -2
- package/esm/funcs/logDrainsGetIntegrationLogDrains.d.ts.map +1 -1
- package/esm/funcs/logDrainsGetIntegrationLogDrains.js +3 -1
- package/esm/funcs/logDrainsGetIntegrationLogDrains.js.map +1 -1
- package/esm/funcs/logsGetRuntimeLogs.d.ts +3 -2
- package/esm/funcs/logsGetRuntimeLogs.d.ts.map +1 -1
- package/esm/funcs/logsGetRuntimeLogs.js +3 -1
- package/esm/funcs/logsGetRuntimeLogs.js.map +1 -1
- package/esm/funcs/marketplaceCreateEvent.d.ts +4 -2
- package/esm/funcs/marketplaceCreateEvent.d.ts.map +1 -1
- package/esm/funcs/marketplaceCreateEvent.js +5 -2
- package/esm/funcs/marketplaceCreateEvent.js.map +1 -1
- package/esm/funcs/marketplaceCreateInstallationIntegrationConfiguration.d.ts +3 -2
- package/esm/funcs/marketplaceCreateInstallationIntegrationConfiguration.d.ts.map +1 -1
- package/esm/funcs/marketplaceCreateInstallationIntegrationConfiguration.js +3 -1
- package/esm/funcs/marketplaceCreateInstallationIntegrationConfiguration.js.map +1 -1
- package/esm/funcs/marketplaceCreateInstallationIntegrationEdgeConfig.d.ts +3 -2
- package/esm/funcs/marketplaceCreateInstallationIntegrationEdgeConfig.d.ts.map +1 -1
- package/esm/funcs/marketplaceCreateInstallationIntegrationEdgeConfig.js +3 -1
- package/esm/funcs/marketplaceCreateInstallationIntegrationEdgeConfig.js.map +1 -1
- package/esm/funcs/marketplaceDeleteInstallationIntegrationConfiguration.d.ts +3 -2
- package/esm/funcs/marketplaceDeleteInstallationIntegrationConfiguration.d.ts.map +1 -1
- package/esm/funcs/marketplaceDeleteInstallationIntegrationConfiguration.js +3 -1
- package/esm/funcs/marketplaceDeleteInstallationIntegrationConfiguration.js.map +1 -1
- package/esm/funcs/marketplaceExchangeSsoToken.d.ts +3 -2
- package/esm/funcs/marketplaceExchangeSsoToken.d.ts.map +1 -1
- package/esm/funcs/marketplaceExchangeSsoToken.js +3 -1
- package/esm/funcs/marketplaceExchangeSsoToken.js.map +1 -1
- package/esm/funcs/marketplaceGetAccountInfo.d.ts +4 -2
- package/esm/funcs/marketplaceGetAccountInfo.d.ts.map +1 -1
- package/esm/funcs/marketplaceGetAccountInfo.js +5 -2
- package/esm/funcs/marketplaceGetAccountInfo.js.map +1 -1
- package/esm/funcs/marketplaceGetInvoice.d.ts +3 -2
- package/esm/funcs/marketplaceGetInvoice.d.ts.map +1 -1
- package/esm/funcs/marketplaceGetInvoice.js +3 -1
- package/esm/funcs/marketplaceGetInvoice.js.map +1 -1
- package/esm/funcs/marketplaceGetMember.d.ts +3 -2
- package/esm/funcs/marketplaceGetMember.d.ts.map +1 -1
- package/esm/funcs/marketplaceGetMember.js +3 -1
- package/esm/funcs/marketplaceGetMember.js.map +1 -1
- package/esm/funcs/marketplaceImportResource.d.ts +3 -2
- package/esm/funcs/marketplaceImportResource.d.ts.map +1 -1
- package/esm/funcs/marketplaceImportResource.js +3 -1
- package/esm/funcs/marketplaceImportResource.js.map +1 -1
- package/esm/funcs/marketplaceSubmitBillingData.d.ts +4 -2
- package/esm/funcs/marketplaceSubmitBillingData.d.ts.map +1 -1
- package/esm/funcs/marketplaceSubmitBillingData.js +5 -2
- package/esm/funcs/marketplaceSubmitBillingData.js.map +1 -1
- package/esm/funcs/marketplaceSubmitInvoice.d.ts +4 -2
- package/esm/funcs/marketplaceSubmitInvoice.d.ts.map +1 -1
- package/esm/funcs/marketplaceSubmitInvoice.js +5 -2
- package/esm/funcs/marketplaceSubmitInvoice.js.map +1 -1
- package/esm/funcs/marketplaceSubmitPrepaymentBalances.d.ts +4 -2
- package/esm/funcs/marketplaceSubmitPrepaymentBalances.d.ts.map +1 -1
- package/esm/funcs/marketplaceSubmitPrepaymentBalances.js +5 -2
- package/esm/funcs/marketplaceSubmitPrepaymentBalances.js.map +1 -1
- package/esm/funcs/marketplaceUpdateInstallationIntegrationConfiguration.d.ts +3 -2
- package/esm/funcs/marketplaceUpdateInstallationIntegrationConfiguration.d.ts.map +1 -1
- package/esm/funcs/marketplaceUpdateInstallationIntegrationConfiguration.js +3 -1
- package/esm/funcs/marketplaceUpdateInstallationIntegrationConfiguration.js.map +1 -1
- package/esm/funcs/marketplaceUpdateInstallationIntegrationEdgeConfig.d.ts +3 -2
- package/esm/funcs/marketplaceUpdateInstallationIntegrationEdgeConfig.d.ts.map +1 -1
- package/esm/funcs/marketplaceUpdateInstallationIntegrationEdgeConfig.js +3 -1
- package/esm/funcs/marketplaceUpdateInstallationIntegrationEdgeConfig.js.map +1 -1
- package/esm/funcs/marketplaceUpdateInvoice.d.ts +3 -2
- package/esm/funcs/marketplaceUpdateInvoice.d.ts.map +1 -1
- package/esm/funcs/marketplaceUpdateInvoice.js +3 -1
- package/esm/funcs/marketplaceUpdateInvoice.js.map +1 -1
- package/esm/funcs/marketplaceUpdateResourceSecrets.d.ts +3 -2
- package/esm/funcs/marketplaceUpdateResourceSecrets.d.ts.map +1 -1
- package/esm/funcs/marketplaceUpdateResourceSecrets.js +3 -1
- package/esm/funcs/marketplaceUpdateResourceSecrets.js.map +1 -1
- package/esm/funcs/marketplaceUpdateResourceSecretsById.d.ts +3 -2
- package/esm/funcs/marketplaceUpdateResourceSecretsById.d.ts.map +1 -1
- package/esm/funcs/marketplaceUpdateResourceSecretsById.js +3 -1
- package/esm/funcs/marketplaceUpdateResourceSecretsById.js.map +1 -1
- package/esm/funcs/patchProjectsProjectIdLogsPresetsId.d.ts +3 -2
- package/esm/funcs/patchProjectsProjectIdLogsPresetsId.d.ts.map +1 -1
- package/esm/funcs/patchProjectsProjectIdLogsPresetsId.js +3 -1
- package/esm/funcs/patchProjectsProjectIdLogsPresetsId.js.map +1 -1
- package/esm/funcs/postDomains.d.ts +3 -2
- package/esm/funcs/postDomains.d.ts.map +1 -1
- package/esm/funcs/postDomains.js +3 -1
- package/esm/funcs/postDomains.js.map +1 -1
- package/esm/funcs/postProjectsProjectIdLogsPresets.d.ts +3 -2
- package/esm/funcs/postProjectsProjectIdLogsPresets.d.ts.map +1 -1
- package/esm/funcs/postProjectsProjectIdLogsPresets.js +3 -1
- package/esm/funcs/postProjectsProjectIdLogsPresets.js.map +1 -1
- package/esm/funcs/projectMembersAddProjectMember.d.ts +3 -2
- package/esm/funcs/projectMembersAddProjectMember.d.ts.map +1 -1
- package/esm/funcs/projectMembersAddProjectMember.js +3 -1
- package/esm/funcs/projectMembersAddProjectMember.js.map +1 -1
- package/esm/funcs/projectMembersGetProjectMembers.d.ts +3 -2
- package/esm/funcs/projectMembersGetProjectMembers.d.ts.map +1 -1
- package/esm/funcs/projectMembersGetProjectMembers.js +3 -1
- package/esm/funcs/projectMembersGetProjectMembers.js.map +1 -1
- package/esm/funcs/projectMembersRemoveProjectMember.d.ts +3 -2
- package/esm/funcs/projectMembersRemoveProjectMember.d.ts.map +1 -1
- package/esm/funcs/projectMembersRemoveProjectMember.js +3 -1
- package/esm/funcs/projectMembersRemoveProjectMember.js.map +1 -1
- package/esm/funcs/projectsAcceptProjectTransferRequest.d.ts +3 -2
- package/esm/funcs/projectsAcceptProjectTransferRequest.d.ts.map +1 -1
- package/esm/funcs/projectsAcceptProjectTransferRequest.js +3 -1
- package/esm/funcs/projectsAcceptProjectTransferRequest.js.map +1 -1
- package/esm/funcs/projectsAddProjectDomain.d.ts +3 -2
- package/esm/funcs/projectsAddProjectDomain.d.ts.map +1 -1
- package/esm/funcs/projectsAddProjectDomain.js +3 -1
- package/esm/funcs/projectsAddProjectDomain.js.map +1 -1
- package/esm/funcs/projectsCreateProject.d.ts +3 -2
- package/esm/funcs/projectsCreateProject.d.ts.map +1 -1
- package/esm/funcs/projectsCreateProject.js +3 -1
- package/esm/funcs/projectsCreateProject.js.map +1 -1
- package/esm/funcs/projectsCreateProjectEnv.d.ts +3 -2
- package/esm/funcs/projectsCreateProjectEnv.d.ts.map +1 -1
- package/esm/funcs/projectsCreateProjectEnv.js +3 -1
- package/esm/funcs/projectsCreateProjectEnv.js.map +1 -1
- package/esm/funcs/projectsCreateProjectTransferRequest.d.ts +3 -2
- package/esm/funcs/projectsCreateProjectTransferRequest.d.ts.map +1 -1
- package/esm/funcs/projectsCreateProjectTransferRequest.js +3 -1
- package/esm/funcs/projectsCreateProjectTransferRequest.js.map +1 -1
- package/esm/funcs/projectsDeleteProject.d.ts +3 -2
- package/esm/funcs/projectsDeleteProject.d.ts.map +1 -1
- package/esm/funcs/projectsDeleteProject.js +3 -1
- package/esm/funcs/projectsDeleteProject.js.map +1 -1
- package/esm/funcs/projectsEditProjectEnv.d.ts +3 -2
- package/esm/funcs/projectsEditProjectEnv.d.ts.map +1 -1
- package/esm/funcs/projectsEditProjectEnv.js +3 -1
- package/esm/funcs/projectsEditProjectEnv.js.map +1 -1
- package/esm/funcs/projectsFilterProjectEnvs.d.ts +3 -2
- package/esm/funcs/projectsFilterProjectEnvs.d.ts.map +1 -1
- package/esm/funcs/projectsFilterProjectEnvs.js +3 -1
- package/esm/funcs/projectsFilterProjectEnvs.js.map +1 -1
- package/esm/funcs/projectsGetProjectDomain.d.ts +3 -2
- package/esm/funcs/projectsGetProjectDomain.d.ts.map +1 -1
- package/esm/funcs/projectsGetProjectDomain.js +3 -1
- package/esm/funcs/projectsGetProjectDomain.js.map +1 -1
- package/esm/funcs/projectsGetProjectDomains.d.ts +3 -2
- package/esm/funcs/projectsGetProjectDomains.d.ts.map +1 -1
- package/esm/funcs/projectsGetProjectDomains.js +3 -1
- package/esm/funcs/projectsGetProjectDomains.js.map +1 -1
- package/esm/funcs/projectsGetProjectEnv.d.ts +3 -2
- package/esm/funcs/projectsGetProjectEnv.d.ts.map +1 -1
- package/esm/funcs/projectsGetProjectEnv.js +3 -1
- package/esm/funcs/projectsGetProjectEnv.js.map +1 -1
- package/esm/funcs/projectsGetProjects.d.ts +3 -2
- package/esm/funcs/projectsGetProjects.d.ts.map +1 -1
- package/esm/funcs/projectsGetProjects.js +3 -1
- package/esm/funcs/projectsGetProjects.js.map +1 -1
- package/esm/funcs/projectsListPromoteAliases.d.ts +3 -2
- package/esm/funcs/projectsListPromoteAliases.d.ts.map +1 -1
- package/esm/funcs/projectsListPromoteAliases.js +3 -1
- package/esm/funcs/projectsListPromoteAliases.js.map +1 -1
- package/esm/funcs/projectsMoveProjectDomain.d.ts +3 -2
- package/esm/funcs/projectsMoveProjectDomain.d.ts.map +1 -1
- package/esm/funcs/projectsMoveProjectDomain.js +3 -1
- package/esm/funcs/projectsMoveProjectDomain.js.map +1 -1
- package/esm/funcs/projectsPauseProject.d.ts +3 -2
- package/esm/funcs/projectsPauseProject.d.ts.map +1 -1
- package/esm/funcs/projectsPauseProject.js +3 -1
- package/esm/funcs/projectsPauseProject.js.map +1 -1
- package/esm/funcs/projectsRemoveProjectDomain.d.ts +3 -2
- package/esm/funcs/projectsRemoveProjectDomain.d.ts.map +1 -1
- package/esm/funcs/projectsRemoveProjectDomain.js +3 -1
- package/esm/funcs/projectsRemoveProjectDomain.js.map +1 -1
- package/esm/funcs/projectsRemoveProjectEnv.d.ts +3 -2
- package/esm/funcs/projectsRemoveProjectEnv.d.ts.map +1 -1
- package/esm/funcs/projectsRemoveProjectEnv.js +3 -1
- package/esm/funcs/projectsRemoveProjectEnv.js.map +1 -1
- package/esm/funcs/projectsRequestPromote.d.ts +3 -2
- package/esm/funcs/projectsRequestPromote.d.ts.map +1 -1
- package/esm/funcs/projectsRequestPromote.js +3 -1
- package/esm/funcs/projectsRequestPromote.js.map +1 -1
- package/esm/funcs/projectsUnpauseProject.d.ts +3 -2
- package/esm/funcs/projectsUnpauseProject.d.ts.map +1 -1
- package/esm/funcs/projectsUnpauseProject.js +3 -1
- package/esm/funcs/projectsUnpauseProject.js.map +1 -1
- package/esm/funcs/projectsUpdateProject.d.ts +3 -2
- package/esm/funcs/projectsUpdateProject.d.ts.map +1 -1
- package/esm/funcs/projectsUpdateProject.js +3 -1
- package/esm/funcs/projectsUpdateProject.js.map +1 -1
- package/esm/funcs/projectsUpdateProjectDataCache.d.ts +3 -2
- package/esm/funcs/projectsUpdateProjectDataCache.d.ts.map +1 -1
- package/esm/funcs/projectsUpdateProjectDataCache.js +3 -1
- package/esm/funcs/projectsUpdateProjectDataCache.js.map +1 -1
- package/esm/funcs/projectsUpdateProjectDomain.d.ts +3 -2
- package/esm/funcs/projectsUpdateProjectDomain.d.ts.map +1 -1
- package/esm/funcs/projectsUpdateProjectDomain.js +3 -1
- package/esm/funcs/projectsUpdateProjectDomain.js.map +1 -1
- package/esm/funcs/projectsUpdateProjectProtectionBypass.d.ts +3 -2
- package/esm/funcs/projectsUpdateProjectProtectionBypass.d.ts.map +1 -1
- package/esm/funcs/projectsUpdateProjectProtectionBypass.js +3 -1
- package/esm/funcs/projectsUpdateProjectProtectionBypass.js.map +1 -1
- package/esm/funcs/projectsVerifyProjectDomain.d.ts +3 -2
- package/esm/funcs/projectsVerifyProjectDomain.d.ts.map +1 -1
- package/esm/funcs/projectsVerifyProjectDomain.js +3 -1
- package/esm/funcs/projectsVerifyProjectDomain.js.map +1 -1
- package/esm/funcs/securityAddBypassIp.d.ts +3 -2
- package/esm/funcs/securityAddBypassIp.d.ts.map +1 -1
- package/esm/funcs/securityAddBypassIp.js +3 -1
- package/esm/funcs/securityAddBypassIp.js.map +1 -1
- package/esm/funcs/securityGetActiveAttackStatus.d.ts +3 -2
- package/esm/funcs/securityGetActiveAttackStatus.d.ts.map +1 -1
- package/esm/funcs/securityGetActiveAttackStatus.js +3 -1
- package/esm/funcs/securityGetActiveAttackStatus.js.map +1 -1
- package/esm/funcs/securityGetBypassIp.d.ts +3 -2
- package/esm/funcs/securityGetBypassIp.d.ts.map +1 -1
- package/esm/funcs/securityGetBypassIp.js +3 -1
- package/esm/funcs/securityGetBypassIp.js.map +1 -1
- package/esm/funcs/securityGetFirewallConfig.d.ts +3 -2
- package/esm/funcs/securityGetFirewallConfig.d.ts.map +1 -1
- package/esm/funcs/securityGetFirewallConfig.js +3 -1
- package/esm/funcs/securityGetFirewallConfig.js.map +1 -1
- package/esm/funcs/securityPutFirewallConfig.d.ts +3 -2
- package/esm/funcs/securityPutFirewallConfig.d.ts.map +1 -1
- package/esm/funcs/securityPutFirewallConfig.js +3 -1
- package/esm/funcs/securityPutFirewallConfig.js.map +1 -1
- package/esm/funcs/securityRemoveBypassIp.d.ts +3 -2
- package/esm/funcs/securityRemoveBypassIp.d.ts.map +1 -1
- package/esm/funcs/securityRemoveBypassIp.js +3 -1
- package/esm/funcs/securityRemoveBypassIp.js.map +1 -1
- package/esm/funcs/securityUpdateAttackChallengeMode.d.ts +3 -2
- package/esm/funcs/securityUpdateAttackChallengeMode.d.ts.map +1 -1
- package/esm/funcs/securityUpdateAttackChallengeMode.js +3 -1
- package/esm/funcs/securityUpdateAttackChallengeMode.js.map +1 -1
- package/esm/funcs/securityUpdateFirewallConfig.d.ts +3 -2
- package/esm/funcs/securityUpdateFirewallConfig.d.ts.map +1 -1
- package/esm/funcs/securityUpdateFirewallConfig.js +3 -1
- package/esm/funcs/securityUpdateFirewallConfig.js.map +1 -1
- package/esm/funcs/teamsCreateTeam.d.ts +3 -2
- package/esm/funcs/teamsCreateTeam.d.ts.map +1 -1
- package/esm/funcs/teamsCreateTeam.js +3 -1
- package/esm/funcs/teamsCreateTeam.js.map +1 -1
- package/esm/funcs/teamsDeleteTeam.d.ts +3 -3
- package/esm/funcs/teamsDeleteTeam.d.ts.map +1 -1
- package/esm/funcs/teamsDeleteTeam.js +4 -3
- package/esm/funcs/teamsDeleteTeam.js.map +1 -1
- package/esm/funcs/teamsDeleteTeamInviteCode.d.ts +3 -2
- package/esm/funcs/teamsDeleteTeamInviteCode.d.ts.map +1 -1
- package/esm/funcs/teamsDeleteTeamInviteCode.js +3 -1
- package/esm/funcs/teamsDeleteTeamInviteCode.js.map +1 -1
- package/esm/funcs/teamsGetTeam.d.ts +4 -3
- package/esm/funcs/teamsGetTeam.d.ts.map +1 -1
- package/esm/funcs/teamsGetTeam.js +4 -2
- package/esm/funcs/teamsGetTeam.js.map +1 -1
- package/esm/funcs/teamsGetTeamAccessRequest.d.ts +3 -2
- package/esm/funcs/teamsGetTeamAccessRequest.d.ts.map +1 -1
- package/esm/funcs/teamsGetTeamAccessRequest.js +3 -1
- package/esm/funcs/teamsGetTeamAccessRequest.js.map +1 -1
- package/esm/funcs/teamsGetTeamMembers.d.ts +3 -2
- package/esm/funcs/teamsGetTeamMembers.d.ts.map +1 -1
- package/esm/funcs/teamsGetTeamMembers.js +3 -1
- package/esm/funcs/teamsGetTeamMembers.js.map +1 -1
- package/esm/funcs/teamsGetTeams.d.ts +3 -2
- package/esm/funcs/teamsGetTeams.d.ts.map +1 -1
- package/esm/funcs/teamsGetTeams.js +3 -1
- package/esm/funcs/teamsGetTeams.js.map +1 -1
- package/esm/funcs/teamsInviteUserToTeam.d.ts +3 -3
- package/esm/funcs/teamsInviteUserToTeam.d.ts.map +1 -1
- package/esm/funcs/teamsInviteUserToTeam.js +4 -3
- package/esm/funcs/teamsInviteUserToTeam.js.map +1 -1
- package/esm/funcs/teamsJoinTeam.d.ts +3 -2
- package/esm/funcs/teamsJoinTeam.d.ts.map +1 -1
- package/esm/funcs/teamsJoinTeam.js +3 -1
- package/esm/funcs/teamsJoinTeam.js.map +1 -1
- package/esm/funcs/teamsPatchTeam.d.ts +4 -4
- package/esm/funcs/teamsPatchTeam.d.ts.map +1 -1
- package/esm/funcs/teamsPatchTeam.js +5 -4
- package/esm/funcs/teamsPatchTeam.js.map +1 -1
- package/esm/funcs/teamsRemoveTeamMember.d.ts +3 -2
- package/esm/funcs/teamsRemoveTeamMember.d.ts.map +1 -1
- package/esm/funcs/teamsRemoveTeamMember.js +3 -1
- package/esm/funcs/teamsRemoveTeamMember.js.map +1 -1
- package/esm/funcs/teamsRequestAccessToTeam.d.ts +3 -2
- package/esm/funcs/teamsRequestAccessToTeam.d.ts.map +1 -1
- package/esm/funcs/teamsRequestAccessToTeam.js +3 -1
- package/esm/funcs/teamsRequestAccessToTeam.js.map +1 -1
- package/esm/funcs/teamsUpdateTeamMember.d.ts +3 -2
- package/esm/funcs/teamsUpdateTeamMember.d.ts.map +1 -1
- package/esm/funcs/teamsUpdateTeamMember.js +3 -1
- package/esm/funcs/teamsUpdateTeamMember.js.map +1 -1
- package/esm/funcs/userGetAuthUser.d.ts +3 -2
- package/esm/funcs/userGetAuthUser.d.ts.map +1 -1
- package/esm/funcs/userGetAuthUser.js +3 -1
- package/esm/funcs/userGetAuthUser.js.map +1 -1
- package/esm/funcs/userListUserEvents.d.ts +3 -2
- package/esm/funcs/userListUserEvents.d.ts.map +1 -1
- package/esm/funcs/userListUserEvents.js +3 -1
- package/esm/funcs/userListUserEvents.js.map +1 -1
- package/esm/funcs/userRequestDelete.d.ts +3 -2
- package/esm/funcs/userRequestDelete.d.ts.map +1 -1
- package/esm/funcs/userRequestDelete.js +3 -1
- package/esm/funcs/userRequestDelete.js.map +1 -1
- package/esm/funcs/webhooksCreateWebhook.d.ts +3 -2
- package/esm/funcs/webhooksCreateWebhook.d.ts.map +1 -1
- package/esm/funcs/webhooksCreateWebhook.js +3 -1
- package/esm/funcs/webhooksCreateWebhook.js.map +1 -1
- package/esm/funcs/webhooksDeleteWebhook.d.ts +3 -2
- package/esm/funcs/webhooksDeleteWebhook.d.ts.map +1 -1
- package/esm/funcs/webhooksDeleteWebhook.js +3 -1
- package/esm/funcs/webhooksDeleteWebhook.js.map +1 -1
- package/esm/funcs/webhooksGetWebhook.d.ts +3 -2
- package/esm/funcs/webhooksGetWebhook.d.ts.map +1 -1
- package/esm/funcs/webhooksGetWebhook.js +3 -1
- package/esm/funcs/webhooksGetWebhook.js.map +1 -1
- package/esm/funcs/webhooksGetWebhooks.d.ts +3 -2
- package/esm/funcs/webhooksGetWebhooks.d.ts.map +1 -1
- package/esm/funcs/webhooksGetWebhooks.js +3 -1
- package/esm/funcs/webhooksGetWebhooks.js.map +1 -1
- package/esm/hooks/types.d.ts +2 -0
- package/esm/hooks/types.d.ts.map +1 -1
- package/esm/index.d.ts +2 -0
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +1 -0
- package/esm/index.js.map +1 -1
- package/esm/lib/config.d.ts +7 -3
- package/esm/lib/config.d.ts.map +1 -1
- package/esm/lib/config.js +3 -3
- package/esm/lib/config.js.map +1 -1
- package/esm/lib/files.d.ts +5 -0
- package/esm/lib/files.d.ts.map +1 -1
- package/esm/lib/files.js +40 -0
- package/esm/lib/files.js.map +1 -1
- package/esm/lib/matchers.d.ts +3 -10
- package/esm/lib/matchers.d.ts.map +1 -1
- package/esm/lib/matchers.js +33 -30
- package/esm/lib/matchers.js.map +1 -1
- package/esm/lib/sdks.d.ts +1 -0
- package/esm/lib/sdks.d.ts.map +1 -1
- package/esm/lib/sdks.js +3 -3
- package/esm/lib/sdks.js.map +1 -1
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.d.ts.map +1 -1
- package/esm/mcp-server/server.js +1 -5
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/models/authuser.d.ts +66 -48
- package/esm/models/authuser.d.ts.map +1 -1
- package/esm/models/authuser.js +54 -46
- package/esm/models/authuser.js.map +1 -1
- package/esm/models/canceldeploymentop.d.ts +117 -0
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +105 -0
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +334 -217
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +273 -168
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +273 -55
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +239 -40
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/createteamop.d.ts +0 -29
- package/esm/models/createteamop.d.ts.map +1 -1
- package/esm/models/createteamop.js +0 -23
- package/esm/models/createteamop.js.map +1 -1
- package/esm/models/createwebhookop.d.ts +126 -24
- package/esm/models/createwebhookop.d.ts.map +1 -1
- package/esm/models/createwebhookop.js +42 -8
- package/esm/models/createwebhookop.js.map +1 -1
- package/esm/models/getaliasop.d.ts +9 -8
- package/esm/models/getaliasop.d.ts.map +1 -1
- package/esm/models/getaliasop.js +4 -2
- package/esm/models/getaliasop.js.map +1 -1
- package/esm/models/getdeploymentop.d.ts +117 -0
- package/esm/models/getdeploymentop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.js +105 -0
- package/esm/models/getdeploymentop.js.map +1 -1
- package/esm/models/getdeploymentsop.d.ts +96 -0
- package/esm/models/getdeploymentsop.d.ts.map +1 -1
- package/esm/models/getdeploymentsop.js +85 -0
- package/esm/models/getdeploymentsop.js.map +1 -1
- package/esm/models/getfirewallconfigop.d.ts +172 -34
- package/esm/models/getfirewallconfigop.d.ts.map +1 -1
- package/esm/models/getfirewallconfigop.js +185 -32
- package/esm/models/getfirewallconfigop.js.map +1 -1
- package/esm/models/getprojectsop.d.ts +259 -43
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +237 -36
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/getteamsop.d.ts +4 -4
- package/esm/models/getteamsop.d.ts.map +1 -1
- package/esm/models/getteamsop.js +4 -4
- package/esm/models/getteamsop.js.map +1 -1
- package/esm/models/getwebhookop.d.ts +63 -12
- package/esm/models/getwebhookop.d.ts.map +1 -1
- package/esm/models/getwebhookop.js +21 -4
- package/esm/models/getwebhookop.js.map +1 -1
- package/esm/models/getwebhooksop.d.ts +126 -24
- package/esm/models/getwebhooksop.d.ts.map +1 -1
- package/esm/models/getwebhooksop.js +42 -8
- package/esm/models/getwebhooksop.js.map +1 -1
- package/esm/models/listaliasesop.d.ts +9 -8
- package/esm/models/listaliasesop.d.ts.map +1 -1
- package/esm/models/listaliasesop.js +4 -2
- package/esm/models/listaliasesop.js.map +1 -1
- package/esm/models/patchteamop.d.ts +35 -35
- package/esm/models/patchteamop.d.ts.map +1 -1
- package/esm/models/patchteamop.js +50 -41
- package/esm/models/patchteamop.js.map +1 -1
- package/esm/models/putfirewallconfigop.d.ts +172 -34
- package/esm/models/putfirewallconfigop.d.ts.map +1 -1
- package/esm/models/putfirewallconfigop.js +181 -31
- package/esm/models/putfirewallconfigop.js.map +1 -1
- package/esm/models/responsevalidationerror.d.ts +26 -0
- package/esm/models/responsevalidationerror.d.ts.map +1 -0
- package/esm/models/responsevalidationerror.js +29 -0
- package/esm/models/responsevalidationerror.js.map +1 -0
- package/esm/models/sdkerror.d.ts +8 -6
- package/esm/models/sdkerror.d.ts.map +1 -1
- package/esm/models/sdkerror.js +17 -10
- package/esm/models/sdkerror.js.map +1 -1
- package/esm/models/sdkvalidationerror.d.ts +1 -0
- package/esm/models/sdkvalidationerror.d.ts.map +1 -1
- package/esm/models/sdkvalidationerror.js +14 -0
- package/esm/models/sdkvalidationerror.js.map +1 -1
- package/esm/models/team.d.ts +928 -3
- package/esm/models/team.d.ts.map +1 -1
- package/esm/models/team.js +669 -2
- package/esm/models/team.js.map +1 -1
- package/esm/models/teamlimited.d.ts +138 -172
- package/esm/models/teamlimited.d.ts.map +1 -1
- package/esm/models/teamlimited.js +155 -188
- package/esm/models/teamlimited.js.map +1 -1
- package/esm/models/updatefirewallconfigop.d.ts +0 -36
- package/esm/models/updatefirewallconfigop.d.ts.map +1 -1
- package/esm/models/updatefirewallconfigop.js +0 -12
- package/esm/models/updatefirewallconfigop.js.map +1 -1
- package/esm/models/updateprojectdatacacheop.d.ts +266 -50
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +243 -39
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +264 -46
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +236 -37
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/userevent.d.ts +282 -14
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +231 -15
- package/esm/models/userevent.js.map +1 -1
- package/esm/models/vercelbadrequesterror.d.ts +7 -2
- package/esm/models/vercelbadrequesterror.d.ts.map +1 -1
- package/esm/models/vercelbadrequesterror.js +12 -4
- package/esm/models/vercelbadrequesterror.js.map +1 -1
- package/esm/models/vercelerror.d.ts +19 -0
- package/esm/models/vercelerror.d.ts.map +1 -0
- package/esm/models/vercelerror.js +16 -0
- package/esm/models/vercelerror.js.map +1 -0
- package/esm/models/vercelforbiddenerror.d.ts +7 -2
- package/esm/models/vercelforbiddenerror.d.ts.map +1 -1
- package/esm/models/vercelforbiddenerror.js +12 -4
- package/esm/models/vercelforbiddenerror.js.map +1 -1
- package/esm/models/vercelnotfounderror.d.ts +7 -2
- package/esm/models/vercelnotfounderror.d.ts.map +1 -1
- package/esm/models/vercelnotfounderror.js +12 -4
- package/esm/models/vercelnotfounderror.js.map +1 -1
- package/esm/models/vercelratelimiterror.d.ts +7 -2
- package/esm/models/vercelratelimiterror.d.ts.map +1 -1
- package/esm/models/vercelratelimiterror.js +12 -4
- package/esm/models/vercelratelimiterror.js.map +1 -1
- package/esm/sdk/authentication.js +2 -2
- package/esm/sdk/authentication.js.map +1 -1
- package/esm/sdk/integrations.js +2 -2
- package/esm/sdk/integrations.js.map +1 -1
- package/esm/sdk/teams.d.ts +3 -3
- package/esm/sdk/teams.d.ts.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/accessgroups.test.ts +164 -0
- package/src/__tests__/aliases.test.ts +65 -0
- package/src/__tests__/artifacts.test.ts +23 -2
- package/src/__tests__/authentication.test.ts +44 -0
- package/src/__tests__/certs.test.ts +32 -6
- package/src/__tests__/checks.test.ts +46 -0
- package/src/__tests__/deployments.test.ts +222 -4
- package/src/__tests__/dns.test.ts +12 -10
- package/src/__tests__/domains.test.ts +107 -7
- package/src/__tests__/edgeconfig.test.ts +102 -1
- package/src/__tests__/environment.test.ts +34 -0
- package/src/__tests__/logdrains.test.ts +87 -0
- package/src/__tests__/logs.test.ts +12 -0
- package/src/__tests__/marketplace.test.ts +86 -48
- package/src/__tests__/projectmembers.test.ts +6 -0
- package/src/__tests__/projects.test.ts +513 -0
- package/src/__tests__/security.test.ts +222 -5
- package/src/__tests__/teams.test.ts +131 -0
- package/src/__tests__/user.test.ts +10 -0
- package/src/__tests__/vercel.test.ts +154 -20
- package/src/__tests__/webhooks.test.ts +74 -2
- package/src/funcs/accessGroupsCreateAccessGroup.ts +24 -26
- package/src/funcs/accessGroupsCreateAccessGroupProject.ts +24 -26
- package/src/funcs/accessGroupsDeleteAccessGroup.ts +24 -26
- package/src/funcs/accessGroupsDeleteAccessGroupProject.ts +24 -26
- package/src/funcs/accessGroupsListAccessGroupMembers.ts +24 -26
- package/src/funcs/accessGroupsListAccessGroupProjects.ts +24 -26
- package/src/funcs/accessGroupsListAccessGroups.ts +24 -26
- package/src/funcs/accessGroupsReadAccessGroup.ts +24 -26
- package/src/funcs/accessGroupsReadAccessGroupProject.ts +24 -26
- package/src/funcs/accessGroupsUpdateAccessGroup.ts +24 -26
- package/src/funcs/accessGroupsUpdateAccessGroupProject.ts +24 -26
- package/src/funcs/aliasesAssignAlias.ts +23 -17
- package/src/funcs/aliasesDeleteAlias.ts +23 -17
- package/src/funcs/aliasesGetAlias.ts +23 -17
- package/src/funcs/aliasesListAliases.ts +23 -17
- package/src/funcs/aliasesListDeploymentAliases.ts +23 -17
- package/src/funcs/aliasesPatchUrlProtectionBypass.ts +23 -17
- package/src/funcs/artifactsArtifactExists.ts +23 -17
- package/src/funcs/artifactsArtifactQuery.ts +23 -17
- package/src/funcs/artifactsDownloadArtifact.ts +23 -17
- package/src/funcs/artifactsRecordEvents.ts +23 -17
- package/src/funcs/artifactsStatus.ts +23 -17
- package/src/funcs/artifactsUploadArtifact.ts +23 -17
- package/src/funcs/authenticationCreateAuthToken.ts +23 -17
- package/src/funcs/authenticationDeleteAuthToken.ts +23 -17
- package/src/funcs/authenticationGetAuthToken.ts +23 -17
- package/src/funcs/authenticationListAuthTokens.ts +23 -17
- package/src/funcs/certsGetCertById.ts +23 -17
- package/src/funcs/certsIssueCert.ts +23 -17
- package/src/funcs/certsRemoveCert.ts +23 -17
- package/src/funcs/certsUploadCert.ts +23 -17
- package/src/funcs/checksCreateCheck.ts +23 -17
- package/src/funcs/checksGetAllChecks.ts +23 -17
- package/src/funcs/checksGetCheck.ts +23 -17
- package/src/funcs/checksRerequestCheck.ts +23 -17
- package/src/funcs/checksUpdateCheck.ts +23 -17
- package/src/funcs/deleteProjectsProjectIdLogsPresetsId.ts +23 -17
- package/src/funcs/deploymentsCancelDeployment.ts +23 -17
- package/src/funcs/deploymentsCreateDeployment.ts +23 -17
- package/src/funcs/deploymentsDeleteDeployment.ts +23 -17
- package/src/funcs/deploymentsGetDeployment.ts +23 -17
- package/src/funcs/deploymentsGetDeploymentEvents.ts +23 -17
- package/src/funcs/deploymentsGetDeploymentFileContents.ts +23 -17
- package/src/funcs/deploymentsGetDeployments.ts +23 -17
- package/src/funcs/deploymentsListDeploymentFiles.ts +23 -17
- package/src/funcs/deploymentsUpdateIntegrationDeploymentAction.ts +23 -17
- package/src/funcs/deploymentsUploadFile.ts +23 -17
- package/src/funcs/dnsCreateRecord.ts +23 -17
- package/src/funcs/dnsGetRecords.ts +23 -17
- package/src/funcs/dnsRemoveRecord.ts +23 -17
- package/src/funcs/dnsUpdateRecord.ts +23 -17
- package/src/funcs/domainsBuyDomain.ts +23 -17
- package/src/funcs/domainsCheckDomainPrice.ts +23 -17
- package/src/funcs/domainsCheckDomainStatus.ts +23 -17
- package/src/funcs/domainsDeleteDomain.ts +23 -17
- package/src/funcs/domainsGetDomain.ts +23 -17
- package/src/funcs/domainsGetDomainConfig.ts +23 -17
- package/src/funcs/domainsGetDomainTransfer.ts +23 -17
- package/src/funcs/domainsGetDomains.ts +23 -17
- package/src/funcs/domainsPatchDomain.ts +23 -17
- package/src/funcs/edgeConfigCreateEdgeConfig.ts +23 -17
- package/src/funcs/edgeConfigCreateEdgeConfigToken.ts +23 -17
- package/src/funcs/edgeConfigDeleteEdgeConfig.ts +23 -17
- package/src/funcs/edgeConfigDeleteEdgeConfigSchema.ts +23 -17
- package/src/funcs/edgeConfigDeleteEdgeConfigTokens.ts +23 -17
- package/src/funcs/edgeConfigGetEdgeConfig.ts +23 -17
- package/src/funcs/edgeConfigGetEdgeConfigBackup.ts +23 -17
- package/src/funcs/edgeConfigGetEdgeConfigBackups.ts +23 -17
- package/src/funcs/edgeConfigGetEdgeConfigItem.ts +23 -17
- package/src/funcs/edgeConfigGetEdgeConfigItems.ts +23 -17
- package/src/funcs/edgeConfigGetEdgeConfigSchema.ts +23 -17
- package/src/funcs/edgeConfigGetEdgeConfigToken.ts +23 -17
- package/src/funcs/edgeConfigGetEdgeConfigTokens.ts +23 -17
- package/src/funcs/edgeConfigGetEdgeConfigs.ts +23 -17
- package/src/funcs/edgeConfigPatchEdgeConfigSchema.ts +23 -17
- package/src/funcs/edgeConfigUpdateEdgeConfig.ts +23 -17
- package/src/funcs/environmentCreateCustomEnvironment.ts +23 -17
- package/src/funcs/environmentGetCustomEnvironment.ts +23 -17
- package/src/funcs/environmentGetV9ProjectsIdOrNameCustomEnvironments.ts +23 -17
- package/src/funcs/environmentRemoveCustomEnvironment.ts +23 -17
- package/src/funcs/environmentUpdateCustomEnvironment.ts +23 -17
- package/src/funcs/getProjectsProjectIdLogsPresets.ts +23 -17
- package/src/funcs/integrationsDeleteConfiguration.ts +23 -17
- package/src/funcs/integrationsGetConfiguration.ts +23 -17
- package/src/funcs/integrationsGetConfigurations.ts +23 -17
- package/src/funcs/logDrainsCreateLogDrain.ts +23 -17
- package/src/funcs/logDrainsDeleteConfigurableLogDrain.ts +23 -17
- package/src/funcs/logDrainsDeleteIntegrationLogDrain.ts +23 -17
- package/src/funcs/logDrainsGetIntegrationLogDrains.ts +23 -17
- package/src/funcs/logsGetRuntimeLogs.ts +23 -17
- package/src/funcs/marketplaceCreateEvent.ts +32 -18
- package/src/funcs/marketplaceCreateInstallationIntegrationConfiguration.ts +23 -17
- package/src/funcs/marketplaceCreateInstallationIntegrationEdgeConfig.ts +23 -17
- package/src/funcs/marketplaceDeleteInstallationIntegrationConfiguration.ts +23 -17
- package/src/funcs/marketplaceExchangeSsoToken.ts +23 -17
- package/src/funcs/marketplaceGetAccountInfo.ts +32 -18
- package/src/funcs/marketplaceGetInvoice.ts +23 -17
- package/src/funcs/marketplaceGetMember.ts +23 -17
- package/src/funcs/marketplaceImportResource.ts +23 -17
- package/src/funcs/marketplaceSubmitBillingData.ts +32 -18
- package/src/funcs/marketplaceSubmitInvoice.ts +32 -18
- package/src/funcs/marketplaceSubmitPrepaymentBalances.ts +32 -18
- package/src/funcs/marketplaceUpdateInstallationIntegrationConfiguration.ts +23 -17
- package/src/funcs/marketplaceUpdateInstallationIntegrationEdgeConfig.ts +23 -17
- package/src/funcs/marketplaceUpdateInvoice.ts +23 -17
- package/src/funcs/marketplaceUpdateResourceSecrets.ts +23 -17
- package/src/funcs/marketplaceUpdateResourceSecretsById.ts +23 -17
- package/src/funcs/patchProjectsProjectIdLogsPresetsId.ts +23 -17
- package/src/funcs/postDomains.ts +23 -17
- package/src/funcs/postProjectsProjectIdLogsPresets.ts +23 -17
- package/src/funcs/projectMembersAddProjectMember.ts +23 -17
- package/src/funcs/projectMembersGetProjectMembers.ts +23 -17
- package/src/funcs/projectMembersRemoveProjectMember.ts +23 -17
- package/src/funcs/projectsAcceptProjectTransferRequest.ts +23 -17
- package/src/funcs/projectsAddProjectDomain.ts +23 -17
- package/src/funcs/projectsCreateProject.ts +23 -17
- package/src/funcs/projectsCreateProjectEnv.ts +23 -17
- package/src/funcs/projectsCreateProjectTransferRequest.ts +23 -17
- package/src/funcs/projectsDeleteProject.ts +23 -17
- package/src/funcs/projectsEditProjectEnv.ts +23 -17
- package/src/funcs/projectsFilterProjectEnvs.ts +23 -17
- package/src/funcs/projectsGetProjectDomain.ts +23 -17
- package/src/funcs/projectsGetProjectDomains.ts +23 -17
- package/src/funcs/projectsGetProjectEnv.ts +23 -17
- package/src/funcs/projectsGetProjects.ts +23 -17
- package/src/funcs/projectsListPromoteAliases.ts +23 -17
- package/src/funcs/projectsMoveProjectDomain.ts +23 -17
- package/src/funcs/projectsPauseProject.ts +23 -17
- package/src/funcs/projectsRemoveProjectDomain.ts +23 -17
- package/src/funcs/projectsRemoveProjectEnv.ts +23 -17
- package/src/funcs/projectsRequestPromote.ts +24 -18
- package/src/funcs/projectsUnpauseProject.ts +23 -17
- package/src/funcs/projectsUpdateProject.ts +23 -17
- package/src/funcs/projectsUpdateProjectDataCache.ts +23 -17
- package/src/funcs/projectsUpdateProjectDomain.ts +23 -17
- package/src/funcs/projectsUpdateProjectProtectionBypass.ts +23 -17
- package/src/funcs/projectsVerifyProjectDomain.ts +23 -17
- package/src/funcs/securityAddBypassIp.ts +23 -17
- package/src/funcs/securityGetActiveAttackStatus.ts +23 -17
- package/src/funcs/securityGetBypassIp.ts +23 -17
- package/src/funcs/securityGetFirewallConfig.ts +23 -17
- package/src/funcs/securityPutFirewallConfig.ts +23 -17
- package/src/funcs/securityRemoveBypassIp.ts +23 -17
- package/src/funcs/securityUpdateAttackChallengeMode.ts +23 -17
- package/src/funcs/securityUpdateFirewallConfig.ts +23 -17
- package/src/funcs/teamsCreateTeam.ts +23 -17
- package/src/funcs/teamsDeleteTeam.ts +24 -26
- package/src/funcs/teamsDeleteTeamInviteCode.ts +23 -17
- package/src/funcs/teamsGetTeam.ts +28 -25
- package/src/funcs/teamsGetTeamAccessRequest.ts +23 -17
- package/src/funcs/teamsGetTeamMembers.ts +23 -17
- package/src/funcs/teamsGetTeams.ts +23 -17
- package/src/funcs/teamsInviteUserToTeam.ts +24 -26
- package/src/funcs/teamsJoinTeam.ts +23 -17
- package/src/funcs/teamsPatchTeam.ts +29 -34
- package/src/funcs/teamsRemoveTeamMember.ts +23 -17
- package/src/funcs/teamsRequestAccessToTeam.ts +23 -17
- package/src/funcs/teamsUpdateTeamMember.ts +23 -17
- package/src/funcs/userGetAuthUser.ts +23 -17
- package/src/funcs/userListUserEvents.ts +23 -17
- package/src/funcs/userRequestDelete.ts +23 -17
- package/src/funcs/webhooksCreateWebhook.ts +23 -17
- package/src/funcs/webhooksDeleteWebhook.ts +23 -17
- package/src/funcs/webhooksGetWebhook.ts +23 -17
- package/src/funcs/webhooksGetWebhooks.ts +23 -17
- package/src/hooks/types.ts +2 -0
- package/src/index.ts +2 -0
- package/src/lib/config.ts +7 -3
- package/src/lib/files.ts +42 -0
- package/src/lib/matchers.ts +44 -41
- package/src/lib/sdks.ts +10 -4
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -5
- package/src/models/authuser.ts +90 -74
- package/src/models/canceldeploymentop.ts +207 -0
- package/src/models/createdeploymentop.ts +830 -633
- package/src/models/createprojectop.ts +503 -70
- package/src/models/createteamop.ts +0 -60
- package/src/models/createwebhookop.ts +42 -8
- package/src/models/getaliasop.ts +13 -6
- package/src/models/getdeploymentop.ts +205 -0
- package/src/models/getdeploymentsop.ts +181 -0
- package/src/models/getfirewallconfigop.ts +366 -79
- package/src/models/getprojectsop.ts +498 -70
- package/src/models/getteamsop.ts +8 -8
- package/src/models/getwebhookop.ts +21 -4
- package/src/models/getwebhooksop.ts +42 -8
- package/src/models/listaliasesop.ts +13 -6
- package/src/models/patchteamop.ts +80 -58
- package/src/models/putfirewallconfigop.ts +378 -74
- package/src/models/responsevalidationerror.ts +50 -0
- package/src/models/sdkerror.ts +23 -16
- package/src/models/sdkvalidationerror.ts +12 -0
- package/src/models/team.ts +1405 -18
- package/src/models/teamlimited.ts +280 -301
- package/src/models/updatefirewallconfigop.ts +0 -36
- package/src/models/updateprojectdatacacheop.ts +508 -78
- package/src/models/updateprojectop.ts +500 -67
- package/src/models/userevent.ts +484 -22
- package/src/models/vercelbadrequesterror.ts +15 -5
- package/src/models/vercelerror.ts +35 -0
- package/src/models/vercelforbiddenerror.ts +15 -5
- package/src/models/vercelnotfounderror.ts +15 -5
- package/src/models/vercelratelimiterror.ts +15 -5
- package/src/sdk/authentication.ts +2 -2
- package/src/sdk/integrations.ts +2 -2
- package/src/sdk/teams.ts +3 -3
- package/vercel-spec.json +2081 -615
- package/esm/funcs/authenticationExchangeSsoToken.d.ts +0 -18
- package/esm/funcs/authenticationExchangeSsoToken.d.ts.map +0 -1
- package/esm/funcs/authenticationExchangeSsoToken.js +0 -76
- package/esm/funcs/authenticationExchangeSsoToken.js.map +0 -1
- package/esm/funcs/integrationsUpdateIntegrationDeploymentAction.d.ts +0 -18
- package/esm/funcs/integrationsUpdateIntegrationDeploymentAction.d.ts.map +0 -1
- package/esm/funcs/integrationsUpdateIntegrationDeploymentAction.js +0 -97
- package/esm/funcs/integrationsUpdateIntegrationDeploymentAction.js.map +0 -1
- package/esm/mcp-server/tools/authenticationExchangeSsoToken.d.ts +0 -7
- package/esm/mcp-server/tools/authenticationExchangeSsoToken.d.ts.map +0 -1
- package/esm/mcp-server/tools/authenticationExchangeSsoToken.js +0 -28
- package/esm/mcp-server/tools/authenticationExchangeSsoToken.js.map +0 -1
- package/esm/mcp-server/tools/integrationsUpdateIntegrationDeploymentAction.d.ts +0 -7
- package/esm/mcp-server/tools/integrationsUpdateIntegrationDeploymentAction.d.ts.map +0 -1
- package/esm/mcp-server/tools/integrationsUpdateIntegrationDeploymentAction.js +0 -27
- package/esm/mcp-server/tools/integrationsUpdateIntegrationDeploymentAction.js.map +0 -1
- package/src/funcs/authenticationExchangeSsoToken.ts +0 -173
- package/src/funcs/integrationsUpdateIntegrationDeploymentAction.ts +0 -201
- package/src/mcp-server/tools/authenticationExchangeSsoToken.ts +0 -38
- package/src/mcp-server/tools/integrationsUpdateIntegrationDeploymentAction.ts +0 -38
package/src/models/team.ts
CHANGED
|
@@ -8,6 +8,7 @@ import {
|
|
|
8
8
|
collectExtraKeys as collectExtraKeys$,
|
|
9
9
|
safeParse,
|
|
10
10
|
} from "../lib/schemas.js";
|
|
11
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
11
12
|
import { Result as SafeParseResult } from "../types/fp.js";
|
|
12
13
|
import { SDKValidationError } from "./sdkvalidationerror.js";
|
|
13
14
|
|
|
@@ -21,15 +22,368 @@ export type Data = {
|
|
|
21
22
|
createdAt: number;
|
|
22
23
|
};
|
|
23
24
|
|
|
25
|
+
export type Connect = {
|
|
26
|
+
enabled?: boolean | undefined;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Information for the SAML Single Sign-On configuration.
|
|
31
|
+
*/
|
|
32
|
+
export type Connection = {
|
|
33
|
+
/**
|
|
34
|
+
* Current status of the connection.
|
|
35
|
+
*/
|
|
36
|
+
status: string;
|
|
37
|
+
/**
|
|
38
|
+
* The Identity Provider "type", for example Okta.
|
|
39
|
+
*/
|
|
40
|
+
type: string;
|
|
41
|
+
/**
|
|
42
|
+
* Current state of the connection.
|
|
43
|
+
*/
|
|
44
|
+
state: string;
|
|
45
|
+
/**
|
|
46
|
+
* Timestamp (in milliseconds) of when the configuration was connected.
|
|
47
|
+
*/
|
|
48
|
+
connectedAt: number;
|
|
49
|
+
/**
|
|
50
|
+
* Timestamp (in milliseconds) of when the last webhook event was received from WorkOS.
|
|
51
|
+
*/
|
|
52
|
+
lastReceivedWebhookEvent?: number | undefined;
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Information for the Directory Sync configuration.
|
|
57
|
+
*/
|
|
58
|
+
export type Directory = {
|
|
59
|
+
/**
|
|
60
|
+
* The Identity Provider "type", for example Okta.
|
|
61
|
+
*/
|
|
62
|
+
type: string;
|
|
63
|
+
/**
|
|
64
|
+
* Current state of the connection.
|
|
65
|
+
*/
|
|
66
|
+
state: string;
|
|
67
|
+
/**
|
|
68
|
+
* Timestamp (in milliseconds) of when the configuration was connected.
|
|
69
|
+
*/
|
|
70
|
+
connectedAt: number;
|
|
71
|
+
/**
|
|
72
|
+
* Timestamp (in milliseconds) of when the last webhook event was received from WorkOS.
|
|
73
|
+
*/
|
|
74
|
+
lastReceivedWebhookEvent?: number | undefined;
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
export const Roles2 = {
|
|
78
|
+
Owner: "OWNER",
|
|
79
|
+
Member: "MEMBER",
|
|
80
|
+
Developer: "DEVELOPER",
|
|
81
|
+
Security: "SECURITY",
|
|
82
|
+
Billing: "BILLING",
|
|
83
|
+
Viewer: "VIEWER",
|
|
84
|
+
Contributor: "CONTRIBUTOR",
|
|
85
|
+
} as const;
|
|
86
|
+
export type Roles2 = ClosedEnum<typeof Roles2>;
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* When "Directory Sync" is configured, this object contains a mapping of which Directory Group (by ID) should be assigned to which Vercel Team "role".
|
|
90
|
+
*/
|
|
91
|
+
export type Roles1 = {
|
|
92
|
+
accessGroupId: string;
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
export type Roles = Roles1 | Roles2;
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* When "Single Sign-On (SAML)" is configured, this object contains information regarding the configuration of the Identity Provider (IdP).
|
|
99
|
+
*/
|
|
100
|
+
export type Saml = {
|
|
101
|
+
/**
|
|
102
|
+
* Information for the SAML Single Sign-On configuration.
|
|
103
|
+
*/
|
|
104
|
+
connection?: Connection | undefined;
|
|
105
|
+
/**
|
|
106
|
+
* Information for the Directory Sync configuration.
|
|
107
|
+
*/
|
|
108
|
+
directory?: Directory | undefined;
|
|
109
|
+
/**
|
|
110
|
+
* When `true`, interactions with the Team **must** be done with an authentication token that has been authenticated with the Team's SAML Single Sign-On provider.
|
|
111
|
+
*/
|
|
112
|
+
enforced: boolean;
|
|
113
|
+
/**
|
|
114
|
+
* When "Directory Sync" is configured, this object contains a mapping of which Directory Group (by ID) should be assigned to which Vercel Team "role".
|
|
115
|
+
*/
|
|
116
|
+
roles?: { [k: string]: Roles1 | Roles2 } | undefined;
|
|
117
|
+
};
|
|
118
|
+
|
|
119
|
+
export type BuildEntitlements = {
|
|
120
|
+
enhancedBuilds?: boolean | undefined;
|
|
121
|
+
};
|
|
122
|
+
|
|
123
|
+
export type ResourceConfig = {
|
|
124
|
+
/**
|
|
125
|
+
* The total amount of concurrent builds that can be used.
|
|
126
|
+
*/
|
|
127
|
+
concurrentBuilds?: number | undefined;
|
|
128
|
+
/**
|
|
129
|
+
* The maximum size in kilobytes of an Edge Config. Only specified if a custom limit is set.
|
|
130
|
+
*/
|
|
131
|
+
edgeConfigSize?: number | undefined;
|
|
132
|
+
/**
|
|
133
|
+
* The maximum number of edge configs an account can create.
|
|
134
|
+
*/
|
|
135
|
+
edgeConfigs?: number | undefined;
|
|
136
|
+
/**
|
|
137
|
+
* The maximum number of kv databases an account can create.
|
|
138
|
+
*/
|
|
139
|
+
kvDatabases?: number | undefined;
|
|
140
|
+
/**
|
|
141
|
+
* The maximum number of blob stores an account can create.
|
|
142
|
+
*/
|
|
143
|
+
blobStores?: number | undefined;
|
|
144
|
+
/**
|
|
145
|
+
* The maximum number of postgres databases an account can create.
|
|
146
|
+
*/
|
|
147
|
+
postgresDatabases?: number | undefined;
|
|
148
|
+
buildEntitlements?: BuildEntitlements | undefined;
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* Is remote caching enabled for this team
|
|
153
|
+
*/
|
|
154
|
+
export type RemoteCaching = {
|
|
155
|
+
enabled?: boolean | undefined;
|
|
156
|
+
};
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Whether toolbar is enabled on preview deployments
|
|
160
|
+
*/
|
|
161
|
+
export const EnablePreviewFeedback = {
|
|
162
|
+
Default: "default",
|
|
163
|
+
On: "on",
|
|
164
|
+
Off: "off",
|
|
165
|
+
OnForce: "on-force",
|
|
166
|
+
OffForce: "off-force",
|
|
167
|
+
DefaultForce: "default-force",
|
|
168
|
+
} as const;
|
|
169
|
+
/**
|
|
170
|
+
* Whether toolbar is enabled on preview deployments
|
|
171
|
+
*/
|
|
172
|
+
export type EnablePreviewFeedback = ClosedEnum<typeof EnablePreviewFeedback>;
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* Whether toolbar is enabled on production deployments
|
|
176
|
+
*/
|
|
177
|
+
export const EnableProductionFeedback = {
|
|
178
|
+
Default: "default",
|
|
179
|
+
On: "on",
|
|
180
|
+
Off: "off",
|
|
181
|
+
OnForce: "on-force",
|
|
182
|
+
OffForce: "off-force",
|
|
183
|
+
DefaultForce: "default-force",
|
|
184
|
+
} as const;
|
|
185
|
+
/**
|
|
186
|
+
* Whether toolbar is enabled on production deployments
|
|
187
|
+
*/
|
|
188
|
+
export type EnableProductionFeedback = ClosedEnum<
|
|
189
|
+
typeof EnableProductionFeedback
|
|
190
|
+
>;
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* Sensitive environment variable policy for this team
|
|
194
|
+
*/
|
|
195
|
+
export const SensitiveEnvironmentVariablePolicy = {
|
|
196
|
+
Default: "default",
|
|
197
|
+
On: "on",
|
|
198
|
+
Off: "off",
|
|
199
|
+
} as const;
|
|
200
|
+
/**
|
|
201
|
+
* Sensitive environment variable policy for this team
|
|
202
|
+
*/
|
|
203
|
+
export type SensitiveEnvironmentVariablePolicy = ClosedEnum<
|
|
204
|
+
typeof SensitiveEnvironmentVariablePolicy
|
|
205
|
+
>;
|
|
206
|
+
|
|
207
|
+
export type IpBuckets = {
|
|
208
|
+
bucket: string;
|
|
209
|
+
supportUntil?: number | undefined;
|
|
210
|
+
};
|
|
211
|
+
|
|
212
|
+
export type Entitlements = {
|
|
213
|
+
entitlement: string;
|
|
214
|
+
};
|
|
215
|
+
|
|
216
|
+
export const Role = {
|
|
217
|
+
Owner: "OWNER",
|
|
218
|
+
Member: "MEMBER",
|
|
219
|
+
Developer: "DEVELOPER",
|
|
220
|
+
Security: "SECURITY",
|
|
221
|
+
Billing: "BILLING",
|
|
222
|
+
Viewer: "VIEWER",
|
|
223
|
+
Contributor: "CONTRIBUTOR",
|
|
224
|
+
} as const;
|
|
225
|
+
export type Role = ClosedEnum<typeof Role>;
|
|
226
|
+
|
|
227
|
+
export const TeamRoles = {
|
|
228
|
+
Owner: "OWNER",
|
|
229
|
+
Member: "MEMBER",
|
|
230
|
+
Developer: "DEVELOPER",
|
|
231
|
+
Security: "SECURITY",
|
|
232
|
+
Billing: "BILLING",
|
|
233
|
+
Viewer: "VIEWER",
|
|
234
|
+
Contributor: "CONTRIBUTOR",
|
|
235
|
+
} as const;
|
|
236
|
+
export type TeamRoles = ClosedEnum<typeof TeamRoles>;
|
|
237
|
+
|
|
238
|
+
export const TeamPermissions = {
|
|
239
|
+
CreateProject: "CreateProject",
|
|
240
|
+
FullProductionDeployment: "FullProductionDeployment",
|
|
241
|
+
UsageViewer: "UsageViewer",
|
|
242
|
+
EnvVariableManager: "EnvVariableManager",
|
|
243
|
+
EnvironmentManager: "EnvironmentManager",
|
|
244
|
+
} as const;
|
|
245
|
+
export type TeamPermissions = ClosedEnum<typeof TeamPermissions>;
|
|
246
|
+
|
|
247
|
+
export const Origin = {
|
|
248
|
+
Saml: "saml",
|
|
249
|
+
Mail: "mail",
|
|
250
|
+
Link: "link",
|
|
251
|
+
Import: "import",
|
|
252
|
+
Teams: "teams",
|
|
253
|
+
Github: "github",
|
|
254
|
+
Gitlab: "gitlab",
|
|
255
|
+
Bitbucket: "bitbucket",
|
|
256
|
+
Dsync: "dsync",
|
|
257
|
+
Feedback: "feedback",
|
|
258
|
+
OrganizationTeams: "organization-teams",
|
|
259
|
+
} as const;
|
|
260
|
+
export type Origin = ClosedEnum<typeof Origin>;
|
|
261
|
+
|
|
262
|
+
export type GitUserId = string | number;
|
|
263
|
+
|
|
264
|
+
export type JoinedFrom = {
|
|
265
|
+
origin: Origin;
|
|
266
|
+
commitId?: string | undefined;
|
|
267
|
+
repoId?: string | undefined;
|
|
268
|
+
repoPath?: string | undefined;
|
|
269
|
+
gitUserId?: string | number | undefined;
|
|
270
|
+
gitUserLogin?: string | undefined;
|
|
271
|
+
ssoUserId?: string | undefined;
|
|
272
|
+
ssoConnectedAt?: number | undefined;
|
|
273
|
+
idpUserId?: string | undefined;
|
|
274
|
+
dsyncUserId?: string | undefined;
|
|
275
|
+
dsyncConnectedAt?: number | undefined;
|
|
276
|
+
};
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* The membership of the authenticated User in relation to the Team.
|
|
280
|
+
*/
|
|
281
|
+
export type Membership = {
|
|
282
|
+
uid?: string | undefined;
|
|
283
|
+
entitlements?: Array<Entitlements> | undefined;
|
|
284
|
+
confirmed: boolean;
|
|
285
|
+
confirmedAt: number;
|
|
286
|
+
accessRequestedAt?: number | undefined;
|
|
287
|
+
role: Role;
|
|
288
|
+
teamRoles?: Array<TeamRoles> | undefined;
|
|
289
|
+
teamPermissions?: Array<TeamPermissions> | undefined;
|
|
290
|
+
teamId?: string | undefined;
|
|
291
|
+
createdAt: number;
|
|
292
|
+
created: number;
|
|
293
|
+
joinedFrom?: JoinedFrom | undefined;
|
|
294
|
+
};
|
|
295
|
+
|
|
24
296
|
/**
|
|
25
297
|
* Data representing a Team.
|
|
26
298
|
*/
|
|
27
299
|
export type Team = {
|
|
28
300
|
/**
|
|
29
|
-
* The
|
|
301
|
+
* The Team's unique identifier.
|
|
30
302
|
*/
|
|
31
303
|
id: string;
|
|
32
|
-
data
|
|
304
|
+
data?: Data | undefined;
|
|
305
|
+
connect?: Connect | undefined;
|
|
306
|
+
/**
|
|
307
|
+
* The ID of the user who created the Team.
|
|
308
|
+
*/
|
|
309
|
+
creatorId: string;
|
|
310
|
+
/**
|
|
311
|
+
* Timestamp (in milliseconds) of when the Team was last updated.
|
|
312
|
+
*/
|
|
313
|
+
updatedAt: number;
|
|
314
|
+
/**
|
|
315
|
+
* Hostname that'll be matched with emails on sign-up to automatically join the Team.
|
|
316
|
+
*/
|
|
317
|
+
emailDomain?: string | null | undefined;
|
|
318
|
+
/**
|
|
319
|
+
* When "Single Sign-On (SAML)" is configured, this object contains information regarding the configuration of the Identity Provider (IdP).
|
|
320
|
+
*/
|
|
321
|
+
saml?: Saml | undefined;
|
|
322
|
+
/**
|
|
323
|
+
* Code that can be used to join this Team. Only visible to Team owners.
|
|
324
|
+
*/
|
|
325
|
+
inviteCode?: string | undefined;
|
|
326
|
+
/**
|
|
327
|
+
* A short description of the Team.
|
|
328
|
+
*/
|
|
329
|
+
description: string | null;
|
|
330
|
+
/**
|
|
331
|
+
* The prefix that is prepended to automatic aliases.
|
|
332
|
+
*/
|
|
333
|
+
stagingPrefix: string;
|
|
334
|
+
resourceConfig?: ResourceConfig | undefined;
|
|
335
|
+
/**
|
|
336
|
+
* The hostname that is current set as preview deployment suffix.
|
|
337
|
+
*/
|
|
338
|
+
previewDeploymentSuffix?: string | null | undefined;
|
|
339
|
+
/**
|
|
340
|
+
* Is remote caching enabled for this team
|
|
341
|
+
*/
|
|
342
|
+
remoteCaching?: RemoteCaching | undefined;
|
|
343
|
+
/**
|
|
344
|
+
* Whether toolbar is enabled on preview deployments
|
|
345
|
+
*/
|
|
346
|
+
enablePreviewFeedback?: EnablePreviewFeedback | null | undefined;
|
|
347
|
+
/**
|
|
348
|
+
* Whether toolbar is enabled on production deployments
|
|
349
|
+
*/
|
|
350
|
+
enableProductionFeedback?: EnableProductionFeedback | null | undefined;
|
|
351
|
+
/**
|
|
352
|
+
* Sensitive environment variable policy for this team
|
|
353
|
+
*/
|
|
354
|
+
sensitiveEnvironmentVariablePolicy?:
|
|
355
|
+
| SensitiveEnvironmentVariablePolicy
|
|
356
|
+
| null
|
|
357
|
+
| undefined;
|
|
358
|
+
/**
|
|
359
|
+
* Indicates if IP addresses should be accessible in observability (o11y) tooling
|
|
360
|
+
*/
|
|
361
|
+
hideIpAddresses?: boolean | null | undefined;
|
|
362
|
+
/**
|
|
363
|
+
* Indicates if IP addresses should be accessible in log drains
|
|
364
|
+
*/
|
|
365
|
+
hideIpAddressesInLogDrains?: boolean | null | undefined;
|
|
366
|
+
ipBuckets?: Array<IpBuckets> | undefined;
|
|
367
|
+
/**
|
|
368
|
+
* The Team's slug, which is unique across the Vercel platform.
|
|
369
|
+
*/
|
|
370
|
+
slug: string;
|
|
371
|
+
/**
|
|
372
|
+
* Name associated with the Team account, or `null` if none has been provided.
|
|
373
|
+
*/
|
|
374
|
+
name: string | null;
|
|
375
|
+
/**
|
|
376
|
+
* The ID of the file used as avatar for this Team.
|
|
377
|
+
*/
|
|
378
|
+
avatar: string | null;
|
|
379
|
+
/**
|
|
380
|
+
* The membership of the authenticated User in relation to the Team.
|
|
381
|
+
*/
|
|
382
|
+
membership: Membership;
|
|
383
|
+
/**
|
|
384
|
+
* UNIX timestamp (in milliseconds) when the Team was created.
|
|
385
|
+
*/
|
|
386
|
+
createdAt: number;
|
|
33
387
|
additionalProperties?: { [k: string]: any };
|
|
34
388
|
};
|
|
35
389
|
|
|
@@ -96,28 +450,1061 @@ export function dataFromJSON(
|
|
|
96
450
|
}
|
|
97
451
|
|
|
98
452
|
/** @internal */
|
|
99
|
-
export const
|
|
100
|
-
|
|
101
|
-
z.
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
453
|
+
export const Connect$inboundSchema: z.ZodType<Connect, z.ZodTypeDef, unknown> =
|
|
454
|
+
z.object({
|
|
455
|
+
enabled: z.boolean().optional(),
|
|
456
|
+
});
|
|
457
|
+
|
|
458
|
+
/** @internal */
|
|
459
|
+
export type Connect$Outbound = {
|
|
460
|
+
enabled?: boolean | undefined;
|
|
461
|
+
};
|
|
462
|
+
|
|
463
|
+
/** @internal */
|
|
464
|
+
export const Connect$outboundSchema: z.ZodType<
|
|
465
|
+
Connect$Outbound,
|
|
466
|
+
z.ZodTypeDef,
|
|
467
|
+
Connect
|
|
468
|
+
> = z.object({
|
|
469
|
+
enabled: z.boolean().optional(),
|
|
470
|
+
});
|
|
471
|
+
|
|
472
|
+
/**
|
|
473
|
+
* @internal
|
|
474
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
475
|
+
*/
|
|
476
|
+
export namespace Connect$ {
|
|
477
|
+
/** @deprecated use `Connect$inboundSchema` instead. */
|
|
478
|
+
export const inboundSchema = Connect$inboundSchema;
|
|
479
|
+
/** @deprecated use `Connect$outboundSchema` instead. */
|
|
480
|
+
export const outboundSchema = Connect$outboundSchema;
|
|
481
|
+
/** @deprecated use `Connect$Outbound` instead. */
|
|
482
|
+
export type Outbound = Connect$Outbound;
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
export function connectToJSON(connect: Connect): string {
|
|
486
|
+
return JSON.stringify(Connect$outboundSchema.parse(connect));
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
export function connectFromJSON(
|
|
490
|
+
jsonString: string,
|
|
491
|
+
): SafeParseResult<Connect, SDKValidationError> {
|
|
492
|
+
return safeParse(
|
|
493
|
+
jsonString,
|
|
494
|
+
(x) => Connect$inboundSchema.parse(JSON.parse(x)),
|
|
495
|
+
`Failed to parse 'Connect' from JSON`,
|
|
107
496
|
);
|
|
497
|
+
}
|
|
108
498
|
|
|
109
499
|
/** @internal */
|
|
110
|
-
export
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
500
|
+
export const Connection$inboundSchema: z.ZodType<
|
|
501
|
+
Connection,
|
|
502
|
+
z.ZodTypeDef,
|
|
503
|
+
unknown
|
|
504
|
+
> = z.object({
|
|
505
|
+
status: z.string(),
|
|
506
|
+
type: z.string(),
|
|
507
|
+
state: z.string(),
|
|
508
|
+
connectedAt: z.number(),
|
|
509
|
+
lastReceivedWebhookEvent: z.number().optional(),
|
|
510
|
+
});
|
|
511
|
+
|
|
512
|
+
/** @internal */
|
|
513
|
+
export type Connection$Outbound = {
|
|
514
|
+
status: string;
|
|
515
|
+
type: string;
|
|
516
|
+
state: string;
|
|
517
|
+
connectedAt: number;
|
|
518
|
+
lastReceivedWebhookEvent?: number | undefined;
|
|
114
519
|
};
|
|
115
520
|
|
|
116
521
|
/** @internal */
|
|
117
|
-
export const
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
522
|
+
export const Connection$outboundSchema: z.ZodType<
|
|
523
|
+
Connection$Outbound,
|
|
524
|
+
z.ZodTypeDef,
|
|
525
|
+
Connection
|
|
526
|
+
> = z.object({
|
|
527
|
+
status: z.string(),
|
|
528
|
+
type: z.string(),
|
|
529
|
+
state: z.string(),
|
|
530
|
+
connectedAt: z.number(),
|
|
531
|
+
lastReceivedWebhookEvent: z.number().optional(),
|
|
532
|
+
});
|
|
533
|
+
|
|
534
|
+
/**
|
|
535
|
+
* @internal
|
|
536
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
537
|
+
*/
|
|
538
|
+
export namespace Connection$ {
|
|
539
|
+
/** @deprecated use `Connection$inboundSchema` instead. */
|
|
540
|
+
export const inboundSchema = Connection$inboundSchema;
|
|
541
|
+
/** @deprecated use `Connection$outboundSchema` instead. */
|
|
542
|
+
export const outboundSchema = Connection$outboundSchema;
|
|
543
|
+
/** @deprecated use `Connection$Outbound` instead. */
|
|
544
|
+
export type Outbound = Connection$Outbound;
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
export function connectionToJSON(connection: Connection): string {
|
|
548
|
+
return JSON.stringify(Connection$outboundSchema.parse(connection));
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
export function connectionFromJSON(
|
|
552
|
+
jsonString: string,
|
|
553
|
+
): SafeParseResult<Connection, SDKValidationError> {
|
|
554
|
+
return safeParse(
|
|
555
|
+
jsonString,
|
|
556
|
+
(x) => Connection$inboundSchema.parse(JSON.parse(x)),
|
|
557
|
+
`Failed to parse 'Connection' from JSON`,
|
|
558
|
+
);
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
/** @internal */
|
|
562
|
+
export const Directory$inboundSchema: z.ZodType<
|
|
563
|
+
Directory,
|
|
564
|
+
z.ZodTypeDef,
|
|
565
|
+
unknown
|
|
566
|
+
> = z.object({
|
|
567
|
+
type: z.string(),
|
|
568
|
+
state: z.string(),
|
|
569
|
+
connectedAt: z.number(),
|
|
570
|
+
lastReceivedWebhookEvent: z.number().optional(),
|
|
571
|
+
});
|
|
572
|
+
|
|
573
|
+
/** @internal */
|
|
574
|
+
export type Directory$Outbound = {
|
|
575
|
+
type: string;
|
|
576
|
+
state: string;
|
|
577
|
+
connectedAt: number;
|
|
578
|
+
lastReceivedWebhookEvent?: number | undefined;
|
|
579
|
+
};
|
|
580
|
+
|
|
581
|
+
/** @internal */
|
|
582
|
+
export const Directory$outboundSchema: z.ZodType<
|
|
583
|
+
Directory$Outbound,
|
|
584
|
+
z.ZodTypeDef,
|
|
585
|
+
Directory
|
|
586
|
+
> = z.object({
|
|
587
|
+
type: z.string(),
|
|
588
|
+
state: z.string(),
|
|
589
|
+
connectedAt: z.number(),
|
|
590
|
+
lastReceivedWebhookEvent: z.number().optional(),
|
|
591
|
+
});
|
|
592
|
+
|
|
593
|
+
/**
|
|
594
|
+
* @internal
|
|
595
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
596
|
+
*/
|
|
597
|
+
export namespace Directory$ {
|
|
598
|
+
/** @deprecated use `Directory$inboundSchema` instead. */
|
|
599
|
+
export const inboundSchema = Directory$inboundSchema;
|
|
600
|
+
/** @deprecated use `Directory$outboundSchema` instead. */
|
|
601
|
+
export const outboundSchema = Directory$outboundSchema;
|
|
602
|
+
/** @deprecated use `Directory$Outbound` instead. */
|
|
603
|
+
export type Outbound = Directory$Outbound;
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
export function directoryToJSON(directory: Directory): string {
|
|
607
|
+
return JSON.stringify(Directory$outboundSchema.parse(directory));
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
export function directoryFromJSON(
|
|
611
|
+
jsonString: string,
|
|
612
|
+
): SafeParseResult<Directory, SDKValidationError> {
|
|
613
|
+
return safeParse(
|
|
614
|
+
jsonString,
|
|
615
|
+
(x) => Directory$inboundSchema.parse(JSON.parse(x)),
|
|
616
|
+
`Failed to parse 'Directory' from JSON`,
|
|
617
|
+
);
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
/** @internal */
|
|
621
|
+
export const Roles2$inboundSchema: z.ZodNativeEnum<typeof Roles2> = z
|
|
622
|
+
.nativeEnum(Roles2);
|
|
623
|
+
|
|
624
|
+
/** @internal */
|
|
625
|
+
export const Roles2$outboundSchema: z.ZodNativeEnum<typeof Roles2> =
|
|
626
|
+
Roles2$inboundSchema;
|
|
627
|
+
|
|
628
|
+
/**
|
|
629
|
+
* @internal
|
|
630
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
631
|
+
*/
|
|
632
|
+
export namespace Roles2$ {
|
|
633
|
+
/** @deprecated use `Roles2$inboundSchema` instead. */
|
|
634
|
+
export const inboundSchema = Roles2$inboundSchema;
|
|
635
|
+
/** @deprecated use `Roles2$outboundSchema` instead. */
|
|
636
|
+
export const outboundSchema = Roles2$outboundSchema;
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
/** @internal */
|
|
640
|
+
export const Roles1$inboundSchema: z.ZodType<Roles1, z.ZodTypeDef, unknown> = z
|
|
641
|
+
.object({
|
|
642
|
+
accessGroupId: z.string(),
|
|
643
|
+
});
|
|
644
|
+
|
|
645
|
+
/** @internal */
|
|
646
|
+
export type Roles1$Outbound = {
|
|
647
|
+
accessGroupId: string;
|
|
648
|
+
};
|
|
649
|
+
|
|
650
|
+
/** @internal */
|
|
651
|
+
export const Roles1$outboundSchema: z.ZodType<
|
|
652
|
+
Roles1$Outbound,
|
|
653
|
+
z.ZodTypeDef,
|
|
654
|
+
Roles1
|
|
655
|
+
> = z.object({
|
|
656
|
+
accessGroupId: z.string(),
|
|
657
|
+
});
|
|
658
|
+
|
|
659
|
+
/**
|
|
660
|
+
* @internal
|
|
661
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
662
|
+
*/
|
|
663
|
+
export namespace Roles1$ {
|
|
664
|
+
/** @deprecated use `Roles1$inboundSchema` instead. */
|
|
665
|
+
export const inboundSchema = Roles1$inboundSchema;
|
|
666
|
+
/** @deprecated use `Roles1$outboundSchema` instead. */
|
|
667
|
+
export const outboundSchema = Roles1$outboundSchema;
|
|
668
|
+
/** @deprecated use `Roles1$Outbound` instead. */
|
|
669
|
+
export type Outbound = Roles1$Outbound;
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
export function roles1ToJSON(roles1: Roles1): string {
|
|
673
|
+
return JSON.stringify(Roles1$outboundSchema.parse(roles1));
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
export function roles1FromJSON(
|
|
677
|
+
jsonString: string,
|
|
678
|
+
): SafeParseResult<Roles1, SDKValidationError> {
|
|
679
|
+
return safeParse(
|
|
680
|
+
jsonString,
|
|
681
|
+
(x) => Roles1$inboundSchema.parse(JSON.parse(x)),
|
|
682
|
+
`Failed to parse 'Roles1' from JSON`,
|
|
683
|
+
);
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
/** @internal */
|
|
687
|
+
export const Roles$inboundSchema: z.ZodType<Roles, z.ZodTypeDef, unknown> = z
|
|
688
|
+
.union([z.lazy(() => Roles1$inboundSchema), Roles2$inboundSchema]);
|
|
689
|
+
|
|
690
|
+
/** @internal */
|
|
691
|
+
export type Roles$Outbound = Roles1$Outbound | string;
|
|
692
|
+
|
|
693
|
+
/** @internal */
|
|
694
|
+
export const Roles$outboundSchema: z.ZodType<
|
|
695
|
+
Roles$Outbound,
|
|
696
|
+
z.ZodTypeDef,
|
|
697
|
+
Roles
|
|
698
|
+
> = z.union([z.lazy(() => Roles1$outboundSchema), Roles2$outboundSchema]);
|
|
699
|
+
|
|
700
|
+
/**
|
|
701
|
+
* @internal
|
|
702
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
703
|
+
*/
|
|
704
|
+
export namespace Roles$ {
|
|
705
|
+
/** @deprecated use `Roles$inboundSchema` instead. */
|
|
706
|
+
export const inboundSchema = Roles$inboundSchema;
|
|
707
|
+
/** @deprecated use `Roles$outboundSchema` instead. */
|
|
708
|
+
export const outboundSchema = Roles$outboundSchema;
|
|
709
|
+
/** @deprecated use `Roles$Outbound` instead. */
|
|
710
|
+
export type Outbound = Roles$Outbound;
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
export function rolesToJSON(roles: Roles): string {
|
|
714
|
+
return JSON.stringify(Roles$outboundSchema.parse(roles));
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
export function rolesFromJSON(
|
|
718
|
+
jsonString: string,
|
|
719
|
+
): SafeParseResult<Roles, SDKValidationError> {
|
|
720
|
+
return safeParse(
|
|
721
|
+
jsonString,
|
|
722
|
+
(x) => Roles$inboundSchema.parse(JSON.parse(x)),
|
|
723
|
+
`Failed to parse 'Roles' from JSON`,
|
|
724
|
+
);
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
/** @internal */
|
|
728
|
+
export const Saml$inboundSchema: z.ZodType<Saml, z.ZodTypeDef, unknown> = z
|
|
729
|
+
.object({
|
|
730
|
+
connection: z.lazy(() => Connection$inboundSchema).optional(),
|
|
731
|
+
directory: z.lazy(() => Directory$inboundSchema).optional(),
|
|
732
|
+
enforced: z.boolean(),
|
|
733
|
+
roles: z.record(
|
|
734
|
+
z.union([z.lazy(() => Roles1$inboundSchema), Roles2$inboundSchema]),
|
|
735
|
+
).optional(),
|
|
736
|
+
});
|
|
737
|
+
|
|
738
|
+
/** @internal */
|
|
739
|
+
export type Saml$Outbound = {
|
|
740
|
+
connection?: Connection$Outbound | undefined;
|
|
741
|
+
directory?: Directory$Outbound | undefined;
|
|
742
|
+
enforced: boolean;
|
|
743
|
+
roles?: { [k: string]: Roles1$Outbound | string } | undefined;
|
|
744
|
+
};
|
|
745
|
+
|
|
746
|
+
/** @internal */
|
|
747
|
+
export const Saml$outboundSchema: z.ZodType<Saml$Outbound, z.ZodTypeDef, Saml> =
|
|
748
|
+
z.object({
|
|
749
|
+
connection: z.lazy(() => Connection$outboundSchema).optional(),
|
|
750
|
+
directory: z.lazy(() => Directory$outboundSchema).optional(),
|
|
751
|
+
enforced: z.boolean(),
|
|
752
|
+
roles: z.record(
|
|
753
|
+
z.union([z.lazy(() => Roles1$outboundSchema), Roles2$outboundSchema]),
|
|
754
|
+
).optional(),
|
|
755
|
+
});
|
|
756
|
+
|
|
757
|
+
/**
|
|
758
|
+
* @internal
|
|
759
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
760
|
+
*/
|
|
761
|
+
export namespace Saml$ {
|
|
762
|
+
/** @deprecated use `Saml$inboundSchema` instead. */
|
|
763
|
+
export const inboundSchema = Saml$inboundSchema;
|
|
764
|
+
/** @deprecated use `Saml$outboundSchema` instead. */
|
|
765
|
+
export const outboundSchema = Saml$outboundSchema;
|
|
766
|
+
/** @deprecated use `Saml$Outbound` instead. */
|
|
767
|
+
export type Outbound = Saml$Outbound;
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
export function samlToJSON(saml: Saml): string {
|
|
771
|
+
return JSON.stringify(Saml$outboundSchema.parse(saml));
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
export function samlFromJSON(
|
|
775
|
+
jsonString: string,
|
|
776
|
+
): SafeParseResult<Saml, SDKValidationError> {
|
|
777
|
+
return safeParse(
|
|
778
|
+
jsonString,
|
|
779
|
+
(x) => Saml$inboundSchema.parse(JSON.parse(x)),
|
|
780
|
+
`Failed to parse 'Saml' from JSON`,
|
|
781
|
+
);
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
/** @internal */
|
|
785
|
+
export const BuildEntitlements$inboundSchema: z.ZodType<
|
|
786
|
+
BuildEntitlements,
|
|
787
|
+
z.ZodTypeDef,
|
|
788
|
+
unknown
|
|
789
|
+
> = z.object({
|
|
790
|
+
enhancedBuilds: z.boolean().optional(),
|
|
791
|
+
});
|
|
792
|
+
|
|
793
|
+
/** @internal */
|
|
794
|
+
export type BuildEntitlements$Outbound = {
|
|
795
|
+
enhancedBuilds?: boolean | undefined;
|
|
796
|
+
};
|
|
797
|
+
|
|
798
|
+
/** @internal */
|
|
799
|
+
export const BuildEntitlements$outboundSchema: z.ZodType<
|
|
800
|
+
BuildEntitlements$Outbound,
|
|
801
|
+
z.ZodTypeDef,
|
|
802
|
+
BuildEntitlements
|
|
803
|
+
> = z.object({
|
|
804
|
+
enhancedBuilds: z.boolean().optional(),
|
|
805
|
+
});
|
|
806
|
+
|
|
807
|
+
/**
|
|
808
|
+
* @internal
|
|
809
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
810
|
+
*/
|
|
811
|
+
export namespace BuildEntitlements$ {
|
|
812
|
+
/** @deprecated use `BuildEntitlements$inboundSchema` instead. */
|
|
813
|
+
export const inboundSchema = BuildEntitlements$inboundSchema;
|
|
814
|
+
/** @deprecated use `BuildEntitlements$outboundSchema` instead. */
|
|
815
|
+
export const outboundSchema = BuildEntitlements$outboundSchema;
|
|
816
|
+
/** @deprecated use `BuildEntitlements$Outbound` instead. */
|
|
817
|
+
export type Outbound = BuildEntitlements$Outbound;
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
export function buildEntitlementsToJSON(
|
|
821
|
+
buildEntitlements: BuildEntitlements,
|
|
822
|
+
): string {
|
|
823
|
+
return JSON.stringify(
|
|
824
|
+
BuildEntitlements$outboundSchema.parse(buildEntitlements),
|
|
825
|
+
);
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
export function buildEntitlementsFromJSON(
|
|
829
|
+
jsonString: string,
|
|
830
|
+
): SafeParseResult<BuildEntitlements, SDKValidationError> {
|
|
831
|
+
return safeParse(
|
|
832
|
+
jsonString,
|
|
833
|
+
(x) => BuildEntitlements$inboundSchema.parse(JSON.parse(x)),
|
|
834
|
+
`Failed to parse 'BuildEntitlements' from JSON`,
|
|
835
|
+
);
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
/** @internal */
|
|
839
|
+
export const ResourceConfig$inboundSchema: z.ZodType<
|
|
840
|
+
ResourceConfig,
|
|
841
|
+
z.ZodTypeDef,
|
|
842
|
+
unknown
|
|
843
|
+
> = z.object({
|
|
844
|
+
concurrentBuilds: z.number().optional(),
|
|
845
|
+
edgeConfigSize: z.number().optional(),
|
|
846
|
+
edgeConfigs: z.number().optional(),
|
|
847
|
+
kvDatabases: z.number().optional(),
|
|
848
|
+
blobStores: z.number().optional(),
|
|
849
|
+
postgresDatabases: z.number().optional(),
|
|
850
|
+
buildEntitlements: z.lazy(() => BuildEntitlements$inboundSchema).optional(),
|
|
851
|
+
});
|
|
852
|
+
|
|
853
|
+
/** @internal */
|
|
854
|
+
export type ResourceConfig$Outbound = {
|
|
855
|
+
concurrentBuilds?: number | undefined;
|
|
856
|
+
edgeConfigSize?: number | undefined;
|
|
857
|
+
edgeConfigs?: number | undefined;
|
|
858
|
+
kvDatabases?: number | undefined;
|
|
859
|
+
blobStores?: number | undefined;
|
|
860
|
+
postgresDatabases?: number | undefined;
|
|
861
|
+
buildEntitlements?: BuildEntitlements$Outbound | undefined;
|
|
862
|
+
};
|
|
863
|
+
|
|
864
|
+
/** @internal */
|
|
865
|
+
export const ResourceConfig$outboundSchema: z.ZodType<
|
|
866
|
+
ResourceConfig$Outbound,
|
|
867
|
+
z.ZodTypeDef,
|
|
868
|
+
ResourceConfig
|
|
869
|
+
> = z.object({
|
|
870
|
+
concurrentBuilds: z.number().optional(),
|
|
871
|
+
edgeConfigSize: z.number().optional(),
|
|
872
|
+
edgeConfigs: z.number().optional(),
|
|
873
|
+
kvDatabases: z.number().optional(),
|
|
874
|
+
blobStores: z.number().optional(),
|
|
875
|
+
postgresDatabases: z.number().optional(),
|
|
876
|
+
buildEntitlements: z.lazy(() => BuildEntitlements$outboundSchema).optional(),
|
|
877
|
+
});
|
|
878
|
+
|
|
879
|
+
/**
|
|
880
|
+
* @internal
|
|
881
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
882
|
+
*/
|
|
883
|
+
export namespace ResourceConfig$ {
|
|
884
|
+
/** @deprecated use `ResourceConfig$inboundSchema` instead. */
|
|
885
|
+
export const inboundSchema = ResourceConfig$inboundSchema;
|
|
886
|
+
/** @deprecated use `ResourceConfig$outboundSchema` instead. */
|
|
887
|
+
export const outboundSchema = ResourceConfig$outboundSchema;
|
|
888
|
+
/** @deprecated use `ResourceConfig$Outbound` instead. */
|
|
889
|
+
export type Outbound = ResourceConfig$Outbound;
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
export function resourceConfigToJSON(resourceConfig: ResourceConfig): string {
|
|
893
|
+
return JSON.stringify(ResourceConfig$outboundSchema.parse(resourceConfig));
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
export function resourceConfigFromJSON(
|
|
897
|
+
jsonString: string,
|
|
898
|
+
): SafeParseResult<ResourceConfig, SDKValidationError> {
|
|
899
|
+
return safeParse(
|
|
900
|
+
jsonString,
|
|
901
|
+
(x) => ResourceConfig$inboundSchema.parse(JSON.parse(x)),
|
|
902
|
+
`Failed to parse 'ResourceConfig' from JSON`,
|
|
903
|
+
);
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
/** @internal */
|
|
907
|
+
export const RemoteCaching$inboundSchema: z.ZodType<
|
|
908
|
+
RemoteCaching,
|
|
909
|
+
z.ZodTypeDef,
|
|
910
|
+
unknown
|
|
911
|
+
> = z.object({
|
|
912
|
+
enabled: z.boolean().optional(),
|
|
913
|
+
});
|
|
914
|
+
|
|
915
|
+
/** @internal */
|
|
916
|
+
export type RemoteCaching$Outbound = {
|
|
917
|
+
enabled?: boolean | undefined;
|
|
918
|
+
};
|
|
919
|
+
|
|
920
|
+
/** @internal */
|
|
921
|
+
export const RemoteCaching$outboundSchema: z.ZodType<
|
|
922
|
+
RemoteCaching$Outbound,
|
|
923
|
+
z.ZodTypeDef,
|
|
924
|
+
RemoteCaching
|
|
925
|
+
> = z.object({
|
|
926
|
+
enabled: z.boolean().optional(),
|
|
927
|
+
});
|
|
928
|
+
|
|
929
|
+
/**
|
|
930
|
+
* @internal
|
|
931
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
932
|
+
*/
|
|
933
|
+
export namespace RemoteCaching$ {
|
|
934
|
+
/** @deprecated use `RemoteCaching$inboundSchema` instead. */
|
|
935
|
+
export const inboundSchema = RemoteCaching$inboundSchema;
|
|
936
|
+
/** @deprecated use `RemoteCaching$outboundSchema` instead. */
|
|
937
|
+
export const outboundSchema = RemoteCaching$outboundSchema;
|
|
938
|
+
/** @deprecated use `RemoteCaching$Outbound` instead. */
|
|
939
|
+
export type Outbound = RemoteCaching$Outbound;
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
export function remoteCachingToJSON(remoteCaching: RemoteCaching): string {
|
|
943
|
+
return JSON.stringify(RemoteCaching$outboundSchema.parse(remoteCaching));
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
export function remoteCachingFromJSON(
|
|
947
|
+
jsonString: string,
|
|
948
|
+
): SafeParseResult<RemoteCaching, SDKValidationError> {
|
|
949
|
+
return safeParse(
|
|
950
|
+
jsonString,
|
|
951
|
+
(x) => RemoteCaching$inboundSchema.parse(JSON.parse(x)),
|
|
952
|
+
`Failed to parse 'RemoteCaching' from JSON`,
|
|
953
|
+
);
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
/** @internal */
|
|
957
|
+
export const EnablePreviewFeedback$inboundSchema: z.ZodNativeEnum<
|
|
958
|
+
typeof EnablePreviewFeedback
|
|
959
|
+
> = z.nativeEnum(EnablePreviewFeedback);
|
|
960
|
+
|
|
961
|
+
/** @internal */
|
|
962
|
+
export const EnablePreviewFeedback$outboundSchema: z.ZodNativeEnum<
|
|
963
|
+
typeof EnablePreviewFeedback
|
|
964
|
+
> = EnablePreviewFeedback$inboundSchema;
|
|
965
|
+
|
|
966
|
+
/**
|
|
967
|
+
* @internal
|
|
968
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
969
|
+
*/
|
|
970
|
+
export namespace EnablePreviewFeedback$ {
|
|
971
|
+
/** @deprecated use `EnablePreviewFeedback$inboundSchema` instead. */
|
|
972
|
+
export const inboundSchema = EnablePreviewFeedback$inboundSchema;
|
|
973
|
+
/** @deprecated use `EnablePreviewFeedback$outboundSchema` instead. */
|
|
974
|
+
export const outboundSchema = EnablePreviewFeedback$outboundSchema;
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
/** @internal */
|
|
978
|
+
export const EnableProductionFeedback$inboundSchema: z.ZodNativeEnum<
|
|
979
|
+
typeof EnableProductionFeedback
|
|
980
|
+
> = z.nativeEnum(EnableProductionFeedback);
|
|
981
|
+
|
|
982
|
+
/** @internal */
|
|
983
|
+
export const EnableProductionFeedback$outboundSchema: z.ZodNativeEnum<
|
|
984
|
+
typeof EnableProductionFeedback
|
|
985
|
+
> = EnableProductionFeedback$inboundSchema;
|
|
986
|
+
|
|
987
|
+
/**
|
|
988
|
+
* @internal
|
|
989
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
990
|
+
*/
|
|
991
|
+
export namespace EnableProductionFeedback$ {
|
|
992
|
+
/** @deprecated use `EnableProductionFeedback$inboundSchema` instead. */
|
|
993
|
+
export const inboundSchema = EnableProductionFeedback$inboundSchema;
|
|
994
|
+
/** @deprecated use `EnableProductionFeedback$outboundSchema` instead. */
|
|
995
|
+
export const outboundSchema = EnableProductionFeedback$outboundSchema;
|
|
996
|
+
}
|
|
997
|
+
|
|
998
|
+
/** @internal */
|
|
999
|
+
export const SensitiveEnvironmentVariablePolicy$inboundSchema: z.ZodNativeEnum<
|
|
1000
|
+
typeof SensitiveEnvironmentVariablePolicy
|
|
1001
|
+
> = z.nativeEnum(SensitiveEnvironmentVariablePolicy);
|
|
1002
|
+
|
|
1003
|
+
/** @internal */
|
|
1004
|
+
export const SensitiveEnvironmentVariablePolicy$outboundSchema: z.ZodNativeEnum<
|
|
1005
|
+
typeof SensitiveEnvironmentVariablePolicy
|
|
1006
|
+
> = SensitiveEnvironmentVariablePolicy$inboundSchema;
|
|
1007
|
+
|
|
1008
|
+
/**
|
|
1009
|
+
* @internal
|
|
1010
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1011
|
+
*/
|
|
1012
|
+
export namespace SensitiveEnvironmentVariablePolicy$ {
|
|
1013
|
+
/** @deprecated use `SensitiveEnvironmentVariablePolicy$inboundSchema` instead. */
|
|
1014
|
+
export const inboundSchema = SensitiveEnvironmentVariablePolicy$inboundSchema;
|
|
1015
|
+
/** @deprecated use `SensitiveEnvironmentVariablePolicy$outboundSchema` instead. */
|
|
1016
|
+
export const outboundSchema =
|
|
1017
|
+
SensitiveEnvironmentVariablePolicy$outboundSchema;
|
|
1018
|
+
}
|
|
1019
|
+
|
|
1020
|
+
/** @internal */
|
|
1021
|
+
export const IpBuckets$inboundSchema: z.ZodType<
|
|
1022
|
+
IpBuckets,
|
|
1023
|
+
z.ZodTypeDef,
|
|
1024
|
+
unknown
|
|
1025
|
+
> = z.object({
|
|
1026
|
+
bucket: z.string(),
|
|
1027
|
+
supportUntil: z.number().optional(),
|
|
1028
|
+
});
|
|
1029
|
+
|
|
1030
|
+
/** @internal */
|
|
1031
|
+
export type IpBuckets$Outbound = {
|
|
1032
|
+
bucket: string;
|
|
1033
|
+
supportUntil?: number | undefined;
|
|
1034
|
+
};
|
|
1035
|
+
|
|
1036
|
+
/** @internal */
|
|
1037
|
+
export const IpBuckets$outboundSchema: z.ZodType<
|
|
1038
|
+
IpBuckets$Outbound,
|
|
1039
|
+
z.ZodTypeDef,
|
|
1040
|
+
IpBuckets
|
|
1041
|
+
> = z.object({
|
|
1042
|
+
bucket: z.string(),
|
|
1043
|
+
supportUntil: z.number().optional(),
|
|
1044
|
+
});
|
|
1045
|
+
|
|
1046
|
+
/**
|
|
1047
|
+
* @internal
|
|
1048
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1049
|
+
*/
|
|
1050
|
+
export namespace IpBuckets$ {
|
|
1051
|
+
/** @deprecated use `IpBuckets$inboundSchema` instead. */
|
|
1052
|
+
export const inboundSchema = IpBuckets$inboundSchema;
|
|
1053
|
+
/** @deprecated use `IpBuckets$outboundSchema` instead. */
|
|
1054
|
+
export const outboundSchema = IpBuckets$outboundSchema;
|
|
1055
|
+
/** @deprecated use `IpBuckets$Outbound` instead. */
|
|
1056
|
+
export type Outbound = IpBuckets$Outbound;
|
|
1057
|
+
}
|
|
1058
|
+
|
|
1059
|
+
export function ipBucketsToJSON(ipBuckets: IpBuckets): string {
|
|
1060
|
+
return JSON.stringify(IpBuckets$outboundSchema.parse(ipBuckets));
|
|
1061
|
+
}
|
|
1062
|
+
|
|
1063
|
+
export function ipBucketsFromJSON(
|
|
1064
|
+
jsonString: string,
|
|
1065
|
+
): SafeParseResult<IpBuckets, SDKValidationError> {
|
|
1066
|
+
return safeParse(
|
|
1067
|
+
jsonString,
|
|
1068
|
+
(x) => IpBuckets$inboundSchema.parse(JSON.parse(x)),
|
|
1069
|
+
`Failed to parse 'IpBuckets' from JSON`,
|
|
1070
|
+
);
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
/** @internal */
|
|
1074
|
+
export const Entitlements$inboundSchema: z.ZodType<
|
|
1075
|
+
Entitlements,
|
|
1076
|
+
z.ZodTypeDef,
|
|
1077
|
+
unknown
|
|
1078
|
+
> = z.object({
|
|
1079
|
+
entitlement: z.string(),
|
|
1080
|
+
});
|
|
1081
|
+
|
|
1082
|
+
/** @internal */
|
|
1083
|
+
export type Entitlements$Outbound = {
|
|
1084
|
+
entitlement: string;
|
|
1085
|
+
};
|
|
1086
|
+
|
|
1087
|
+
/** @internal */
|
|
1088
|
+
export const Entitlements$outboundSchema: z.ZodType<
|
|
1089
|
+
Entitlements$Outbound,
|
|
1090
|
+
z.ZodTypeDef,
|
|
1091
|
+
Entitlements
|
|
1092
|
+
> = z.object({
|
|
1093
|
+
entitlement: z.string(),
|
|
1094
|
+
});
|
|
1095
|
+
|
|
1096
|
+
/**
|
|
1097
|
+
* @internal
|
|
1098
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1099
|
+
*/
|
|
1100
|
+
export namespace Entitlements$ {
|
|
1101
|
+
/** @deprecated use `Entitlements$inboundSchema` instead. */
|
|
1102
|
+
export const inboundSchema = Entitlements$inboundSchema;
|
|
1103
|
+
/** @deprecated use `Entitlements$outboundSchema` instead. */
|
|
1104
|
+
export const outboundSchema = Entitlements$outboundSchema;
|
|
1105
|
+
/** @deprecated use `Entitlements$Outbound` instead. */
|
|
1106
|
+
export type Outbound = Entitlements$Outbound;
|
|
1107
|
+
}
|
|
1108
|
+
|
|
1109
|
+
export function entitlementsToJSON(entitlements: Entitlements): string {
|
|
1110
|
+
return JSON.stringify(Entitlements$outboundSchema.parse(entitlements));
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
export function entitlementsFromJSON(
|
|
1114
|
+
jsonString: string,
|
|
1115
|
+
): SafeParseResult<Entitlements, SDKValidationError> {
|
|
1116
|
+
return safeParse(
|
|
1117
|
+
jsonString,
|
|
1118
|
+
(x) => Entitlements$inboundSchema.parse(JSON.parse(x)),
|
|
1119
|
+
`Failed to parse 'Entitlements' from JSON`,
|
|
1120
|
+
);
|
|
1121
|
+
}
|
|
1122
|
+
|
|
1123
|
+
/** @internal */
|
|
1124
|
+
export const Role$inboundSchema: z.ZodNativeEnum<typeof Role> = z.nativeEnum(
|
|
1125
|
+
Role,
|
|
1126
|
+
);
|
|
1127
|
+
|
|
1128
|
+
/** @internal */
|
|
1129
|
+
export const Role$outboundSchema: z.ZodNativeEnum<typeof Role> =
|
|
1130
|
+
Role$inboundSchema;
|
|
1131
|
+
|
|
1132
|
+
/**
|
|
1133
|
+
* @internal
|
|
1134
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1135
|
+
*/
|
|
1136
|
+
export namespace Role$ {
|
|
1137
|
+
/** @deprecated use `Role$inboundSchema` instead. */
|
|
1138
|
+
export const inboundSchema = Role$inboundSchema;
|
|
1139
|
+
/** @deprecated use `Role$outboundSchema` instead. */
|
|
1140
|
+
export const outboundSchema = Role$outboundSchema;
|
|
1141
|
+
}
|
|
1142
|
+
|
|
1143
|
+
/** @internal */
|
|
1144
|
+
export const TeamRoles$inboundSchema: z.ZodNativeEnum<typeof TeamRoles> = z
|
|
1145
|
+
.nativeEnum(TeamRoles);
|
|
1146
|
+
|
|
1147
|
+
/** @internal */
|
|
1148
|
+
export const TeamRoles$outboundSchema: z.ZodNativeEnum<typeof TeamRoles> =
|
|
1149
|
+
TeamRoles$inboundSchema;
|
|
1150
|
+
|
|
1151
|
+
/**
|
|
1152
|
+
* @internal
|
|
1153
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1154
|
+
*/
|
|
1155
|
+
export namespace TeamRoles$ {
|
|
1156
|
+
/** @deprecated use `TeamRoles$inboundSchema` instead. */
|
|
1157
|
+
export const inboundSchema = TeamRoles$inboundSchema;
|
|
1158
|
+
/** @deprecated use `TeamRoles$outboundSchema` instead. */
|
|
1159
|
+
export const outboundSchema = TeamRoles$outboundSchema;
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1162
|
+
/** @internal */
|
|
1163
|
+
export const TeamPermissions$inboundSchema: z.ZodNativeEnum<
|
|
1164
|
+
typeof TeamPermissions
|
|
1165
|
+
> = z.nativeEnum(TeamPermissions);
|
|
1166
|
+
|
|
1167
|
+
/** @internal */
|
|
1168
|
+
export const TeamPermissions$outboundSchema: z.ZodNativeEnum<
|
|
1169
|
+
typeof TeamPermissions
|
|
1170
|
+
> = TeamPermissions$inboundSchema;
|
|
1171
|
+
|
|
1172
|
+
/**
|
|
1173
|
+
* @internal
|
|
1174
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1175
|
+
*/
|
|
1176
|
+
export namespace TeamPermissions$ {
|
|
1177
|
+
/** @deprecated use `TeamPermissions$inboundSchema` instead. */
|
|
1178
|
+
export const inboundSchema = TeamPermissions$inboundSchema;
|
|
1179
|
+
/** @deprecated use `TeamPermissions$outboundSchema` instead. */
|
|
1180
|
+
export const outboundSchema = TeamPermissions$outboundSchema;
|
|
1181
|
+
}
|
|
1182
|
+
|
|
1183
|
+
/** @internal */
|
|
1184
|
+
export const Origin$inboundSchema: z.ZodNativeEnum<typeof Origin> = z
|
|
1185
|
+
.nativeEnum(Origin);
|
|
1186
|
+
|
|
1187
|
+
/** @internal */
|
|
1188
|
+
export const Origin$outboundSchema: z.ZodNativeEnum<typeof Origin> =
|
|
1189
|
+
Origin$inboundSchema;
|
|
1190
|
+
|
|
1191
|
+
/**
|
|
1192
|
+
* @internal
|
|
1193
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1194
|
+
*/
|
|
1195
|
+
export namespace Origin$ {
|
|
1196
|
+
/** @deprecated use `Origin$inboundSchema` instead. */
|
|
1197
|
+
export const inboundSchema = Origin$inboundSchema;
|
|
1198
|
+
/** @deprecated use `Origin$outboundSchema` instead. */
|
|
1199
|
+
export const outboundSchema = Origin$outboundSchema;
|
|
1200
|
+
}
|
|
1201
|
+
|
|
1202
|
+
/** @internal */
|
|
1203
|
+
export const GitUserId$inboundSchema: z.ZodType<
|
|
1204
|
+
GitUserId,
|
|
1205
|
+
z.ZodTypeDef,
|
|
1206
|
+
unknown
|
|
1207
|
+
> = z.union([z.string(), z.number()]);
|
|
1208
|
+
|
|
1209
|
+
/** @internal */
|
|
1210
|
+
export type GitUserId$Outbound = string | number;
|
|
1211
|
+
|
|
1212
|
+
/** @internal */
|
|
1213
|
+
export const GitUserId$outboundSchema: z.ZodType<
|
|
1214
|
+
GitUserId$Outbound,
|
|
1215
|
+
z.ZodTypeDef,
|
|
1216
|
+
GitUserId
|
|
1217
|
+
> = z.union([z.string(), z.number()]);
|
|
1218
|
+
|
|
1219
|
+
/**
|
|
1220
|
+
* @internal
|
|
1221
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1222
|
+
*/
|
|
1223
|
+
export namespace GitUserId$ {
|
|
1224
|
+
/** @deprecated use `GitUserId$inboundSchema` instead. */
|
|
1225
|
+
export const inboundSchema = GitUserId$inboundSchema;
|
|
1226
|
+
/** @deprecated use `GitUserId$outboundSchema` instead. */
|
|
1227
|
+
export const outboundSchema = GitUserId$outboundSchema;
|
|
1228
|
+
/** @deprecated use `GitUserId$Outbound` instead. */
|
|
1229
|
+
export type Outbound = GitUserId$Outbound;
|
|
1230
|
+
}
|
|
1231
|
+
|
|
1232
|
+
export function gitUserIdToJSON(gitUserId: GitUserId): string {
|
|
1233
|
+
return JSON.stringify(GitUserId$outboundSchema.parse(gitUserId));
|
|
1234
|
+
}
|
|
1235
|
+
|
|
1236
|
+
export function gitUserIdFromJSON(
|
|
1237
|
+
jsonString: string,
|
|
1238
|
+
): SafeParseResult<GitUserId, SDKValidationError> {
|
|
1239
|
+
return safeParse(
|
|
1240
|
+
jsonString,
|
|
1241
|
+
(x) => GitUserId$inboundSchema.parse(JSON.parse(x)),
|
|
1242
|
+
`Failed to parse 'GitUserId' from JSON`,
|
|
1243
|
+
);
|
|
1244
|
+
}
|
|
1245
|
+
|
|
1246
|
+
/** @internal */
|
|
1247
|
+
export const JoinedFrom$inboundSchema: z.ZodType<
|
|
1248
|
+
JoinedFrom,
|
|
1249
|
+
z.ZodTypeDef,
|
|
1250
|
+
unknown
|
|
1251
|
+
> = z.object({
|
|
1252
|
+
origin: Origin$inboundSchema,
|
|
1253
|
+
commitId: z.string().optional(),
|
|
1254
|
+
repoId: z.string().optional(),
|
|
1255
|
+
repoPath: z.string().optional(),
|
|
1256
|
+
gitUserId: z.union([z.string(), z.number()]).optional(),
|
|
1257
|
+
gitUserLogin: z.string().optional(),
|
|
1258
|
+
ssoUserId: z.string().optional(),
|
|
1259
|
+
ssoConnectedAt: z.number().optional(),
|
|
1260
|
+
idpUserId: z.string().optional(),
|
|
1261
|
+
dsyncUserId: z.string().optional(),
|
|
1262
|
+
dsyncConnectedAt: z.number().optional(),
|
|
1263
|
+
});
|
|
1264
|
+
|
|
1265
|
+
/** @internal */
|
|
1266
|
+
export type JoinedFrom$Outbound = {
|
|
1267
|
+
origin: string;
|
|
1268
|
+
commitId?: string | undefined;
|
|
1269
|
+
repoId?: string | undefined;
|
|
1270
|
+
repoPath?: string | undefined;
|
|
1271
|
+
gitUserId?: string | number | undefined;
|
|
1272
|
+
gitUserLogin?: string | undefined;
|
|
1273
|
+
ssoUserId?: string | undefined;
|
|
1274
|
+
ssoConnectedAt?: number | undefined;
|
|
1275
|
+
idpUserId?: string | undefined;
|
|
1276
|
+
dsyncUserId?: string | undefined;
|
|
1277
|
+
dsyncConnectedAt?: number | undefined;
|
|
1278
|
+
};
|
|
1279
|
+
|
|
1280
|
+
/** @internal */
|
|
1281
|
+
export const JoinedFrom$outboundSchema: z.ZodType<
|
|
1282
|
+
JoinedFrom$Outbound,
|
|
1283
|
+
z.ZodTypeDef,
|
|
1284
|
+
JoinedFrom
|
|
1285
|
+
> = z.object({
|
|
1286
|
+
origin: Origin$outboundSchema,
|
|
1287
|
+
commitId: z.string().optional(),
|
|
1288
|
+
repoId: z.string().optional(),
|
|
1289
|
+
repoPath: z.string().optional(),
|
|
1290
|
+
gitUserId: z.union([z.string(), z.number()]).optional(),
|
|
1291
|
+
gitUserLogin: z.string().optional(),
|
|
1292
|
+
ssoUserId: z.string().optional(),
|
|
1293
|
+
ssoConnectedAt: z.number().optional(),
|
|
1294
|
+
idpUserId: z.string().optional(),
|
|
1295
|
+
dsyncUserId: z.string().optional(),
|
|
1296
|
+
dsyncConnectedAt: z.number().optional(),
|
|
1297
|
+
});
|
|
1298
|
+
|
|
1299
|
+
/**
|
|
1300
|
+
* @internal
|
|
1301
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1302
|
+
*/
|
|
1303
|
+
export namespace JoinedFrom$ {
|
|
1304
|
+
/** @deprecated use `JoinedFrom$inboundSchema` instead. */
|
|
1305
|
+
export const inboundSchema = JoinedFrom$inboundSchema;
|
|
1306
|
+
/** @deprecated use `JoinedFrom$outboundSchema` instead. */
|
|
1307
|
+
export const outboundSchema = JoinedFrom$outboundSchema;
|
|
1308
|
+
/** @deprecated use `JoinedFrom$Outbound` instead. */
|
|
1309
|
+
export type Outbound = JoinedFrom$Outbound;
|
|
1310
|
+
}
|
|
1311
|
+
|
|
1312
|
+
export function joinedFromToJSON(joinedFrom: JoinedFrom): string {
|
|
1313
|
+
return JSON.stringify(JoinedFrom$outboundSchema.parse(joinedFrom));
|
|
1314
|
+
}
|
|
1315
|
+
|
|
1316
|
+
export function joinedFromFromJSON(
|
|
1317
|
+
jsonString: string,
|
|
1318
|
+
): SafeParseResult<JoinedFrom, SDKValidationError> {
|
|
1319
|
+
return safeParse(
|
|
1320
|
+
jsonString,
|
|
1321
|
+
(x) => JoinedFrom$inboundSchema.parse(JSON.parse(x)),
|
|
1322
|
+
`Failed to parse 'JoinedFrom' from JSON`,
|
|
1323
|
+
);
|
|
1324
|
+
}
|
|
1325
|
+
|
|
1326
|
+
/** @internal */
|
|
1327
|
+
export const Membership$inboundSchema: z.ZodType<
|
|
1328
|
+
Membership,
|
|
1329
|
+
z.ZodTypeDef,
|
|
1330
|
+
unknown
|
|
1331
|
+
> = z.object({
|
|
1332
|
+
uid: z.string().optional(),
|
|
1333
|
+
entitlements: z.array(z.lazy(() => Entitlements$inboundSchema)).optional(),
|
|
1334
|
+
confirmed: z.boolean(),
|
|
1335
|
+
confirmedAt: z.number(),
|
|
1336
|
+
accessRequestedAt: z.number().optional(),
|
|
1337
|
+
role: Role$inboundSchema,
|
|
1338
|
+
teamRoles: z.array(TeamRoles$inboundSchema).optional(),
|
|
1339
|
+
teamPermissions: z.array(TeamPermissions$inboundSchema).optional(),
|
|
1340
|
+
teamId: z.string().optional(),
|
|
1341
|
+
createdAt: z.number(),
|
|
1342
|
+
created: z.number(),
|
|
1343
|
+
joinedFrom: z.lazy(() => JoinedFrom$inboundSchema).optional(),
|
|
1344
|
+
});
|
|
1345
|
+
|
|
1346
|
+
/** @internal */
|
|
1347
|
+
export type Membership$Outbound = {
|
|
1348
|
+
uid?: string | undefined;
|
|
1349
|
+
entitlements?: Array<Entitlements$Outbound> | undefined;
|
|
1350
|
+
confirmed: boolean;
|
|
1351
|
+
confirmedAt: number;
|
|
1352
|
+
accessRequestedAt?: number | undefined;
|
|
1353
|
+
role: string;
|
|
1354
|
+
teamRoles?: Array<string> | undefined;
|
|
1355
|
+
teamPermissions?: Array<string> | undefined;
|
|
1356
|
+
teamId?: string | undefined;
|
|
1357
|
+
createdAt: number;
|
|
1358
|
+
created: number;
|
|
1359
|
+
joinedFrom?: JoinedFrom$Outbound | undefined;
|
|
1360
|
+
};
|
|
1361
|
+
|
|
1362
|
+
/** @internal */
|
|
1363
|
+
export const Membership$outboundSchema: z.ZodType<
|
|
1364
|
+
Membership$Outbound,
|
|
1365
|
+
z.ZodTypeDef,
|
|
1366
|
+
Membership
|
|
1367
|
+
> = z.object({
|
|
1368
|
+
uid: z.string().optional(),
|
|
1369
|
+
entitlements: z.array(z.lazy(() => Entitlements$outboundSchema)).optional(),
|
|
1370
|
+
confirmed: z.boolean(),
|
|
1371
|
+
confirmedAt: z.number(),
|
|
1372
|
+
accessRequestedAt: z.number().optional(),
|
|
1373
|
+
role: Role$outboundSchema,
|
|
1374
|
+
teamRoles: z.array(TeamRoles$outboundSchema).optional(),
|
|
1375
|
+
teamPermissions: z.array(TeamPermissions$outboundSchema).optional(),
|
|
1376
|
+
teamId: z.string().optional(),
|
|
1377
|
+
createdAt: z.number(),
|
|
1378
|
+
created: z.number(),
|
|
1379
|
+
joinedFrom: z.lazy(() => JoinedFrom$outboundSchema).optional(),
|
|
1380
|
+
});
|
|
1381
|
+
|
|
1382
|
+
/**
|
|
1383
|
+
* @internal
|
|
1384
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1385
|
+
*/
|
|
1386
|
+
export namespace Membership$ {
|
|
1387
|
+
/** @deprecated use `Membership$inboundSchema` instead. */
|
|
1388
|
+
export const inboundSchema = Membership$inboundSchema;
|
|
1389
|
+
/** @deprecated use `Membership$outboundSchema` instead. */
|
|
1390
|
+
export const outboundSchema = Membership$outboundSchema;
|
|
1391
|
+
/** @deprecated use `Membership$Outbound` instead. */
|
|
1392
|
+
export type Outbound = Membership$Outbound;
|
|
1393
|
+
}
|
|
1394
|
+
|
|
1395
|
+
export function membershipToJSON(membership: Membership): string {
|
|
1396
|
+
return JSON.stringify(Membership$outboundSchema.parse(membership));
|
|
1397
|
+
}
|
|
1398
|
+
|
|
1399
|
+
export function membershipFromJSON(
|
|
1400
|
+
jsonString: string,
|
|
1401
|
+
): SafeParseResult<Membership, SDKValidationError> {
|
|
1402
|
+
return safeParse(
|
|
1403
|
+
jsonString,
|
|
1404
|
+
(x) => Membership$inboundSchema.parse(JSON.parse(x)),
|
|
1405
|
+
`Failed to parse 'Membership' from JSON`,
|
|
1406
|
+
);
|
|
1407
|
+
}
|
|
1408
|
+
|
|
1409
|
+
/** @internal */
|
|
1410
|
+
export const Team$inboundSchema: z.ZodType<Team, z.ZodTypeDef, unknown> =
|
|
1411
|
+
collectExtraKeys$(
|
|
1412
|
+
z.object({
|
|
1413
|
+
id: z.string(),
|
|
1414
|
+
data: z.lazy(() => Data$inboundSchema).optional(),
|
|
1415
|
+
connect: z.lazy(() => Connect$inboundSchema).optional(),
|
|
1416
|
+
creatorId: z.string(),
|
|
1417
|
+
updatedAt: z.number(),
|
|
1418
|
+
emailDomain: z.nullable(z.string()).optional(),
|
|
1419
|
+
saml: z.lazy(() => Saml$inboundSchema).optional(),
|
|
1420
|
+
inviteCode: z.string().optional(),
|
|
1421
|
+
description: z.nullable(z.string()),
|
|
1422
|
+
stagingPrefix: z.string(),
|
|
1423
|
+
resourceConfig: z.lazy(() => ResourceConfig$inboundSchema).optional(),
|
|
1424
|
+
previewDeploymentSuffix: z.nullable(z.string()).optional(),
|
|
1425
|
+
remoteCaching: z.lazy(() => RemoteCaching$inboundSchema).optional(),
|
|
1426
|
+
enablePreviewFeedback: z.nullable(EnablePreviewFeedback$inboundSchema)
|
|
1427
|
+
.optional(),
|
|
1428
|
+
enableProductionFeedback: z.nullable(
|
|
1429
|
+
EnableProductionFeedback$inboundSchema,
|
|
1430
|
+
).optional(),
|
|
1431
|
+
sensitiveEnvironmentVariablePolicy: z.nullable(
|
|
1432
|
+
SensitiveEnvironmentVariablePolicy$inboundSchema,
|
|
1433
|
+
).optional(),
|
|
1434
|
+
hideIpAddresses: z.nullable(z.boolean()).optional(),
|
|
1435
|
+
hideIpAddressesInLogDrains: z.nullable(z.boolean()).optional(),
|
|
1436
|
+
ipBuckets: z.array(z.lazy(() => IpBuckets$inboundSchema)).optional(),
|
|
1437
|
+
slug: z.string(),
|
|
1438
|
+
name: z.nullable(z.string()),
|
|
1439
|
+
avatar: z.nullable(z.string()),
|
|
1440
|
+
membership: z.lazy(() => Membership$inboundSchema),
|
|
1441
|
+
createdAt: z.number(),
|
|
1442
|
+
}).catchall(z.any()),
|
|
1443
|
+
"additionalProperties",
|
|
1444
|
+
true,
|
|
1445
|
+
);
|
|
1446
|
+
|
|
1447
|
+
/** @internal */
|
|
1448
|
+
export type Team$Outbound = {
|
|
1449
|
+
id: string;
|
|
1450
|
+
data?: Data$Outbound | undefined;
|
|
1451
|
+
connect?: Connect$Outbound | undefined;
|
|
1452
|
+
creatorId: string;
|
|
1453
|
+
updatedAt: number;
|
|
1454
|
+
emailDomain?: string | null | undefined;
|
|
1455
|
+
saml?: Saml$Outbound | undefined;
|
|
1456
|
+
inviteCode?: string | undefined;
|
|
1457
|
+
description: string | null;
|
|
1458
|
+
stagingPrefix: string;
|
|
1459
|
+
resourceConfig?: ResourceConfig$Outbound | undefined;
|
|
1460
|
+
previewDeploymentSuffix?: string | null | undefined;
|
|
1461
|
+
remoteCaching?: RemoteCaching$Outbound | undefined;
|
|
1462
|
+
enablePreviewFeedback?: string | null | undefined;
|
|
1463
|
+
enableProductionFeedback?: string | null | undefined;
|
|
1464
|
+
sensitiveEnvironmentVariablePolicy?: string | null | undefined;
|
|
1465
|
+
hideIpAddresses?: boolean | null | undefined;
|
|
1466
|
+
hideIpAddressesInLogDrains?: boolean | null | undefined;
|
|
1467
|
+
ipBuckets?: Array<IpBuckets$Outbound> | undefined;
|
|
1468
|
+
slug: string;
|
|
1469
|
+
name: string | null;
|
|
1470
|
+
avatar: string | null;
|
|
1471
|
+
membership: Membership$Outbound;
|
|
1472
|
+
createdAt: number;
|
|
1473
|
+
[additionalProperties: string]: unknown;
|
|
1474
|
+
};
|
|
1475
|
+
|
|
1476
|
+
/** @internal */
|
|
1477
|
+
export const Team$outboundSchema: z.ZodType<Team$Outbound, z.ZodTypeDef, Team> =
|
|
1478
|
+
z.object({
|
|
1479
|
+
id: z.string(),
|
|
1480
|
+
data: z.lazy(() => Data$outboundSchema).optional(),
|
|
1481
|
+
connect: z.lazy(() => Connect$outboundSchema).optional(),
|
|
1482
|
+
creatorId: z.string(),
|
|
1483
|
+
updatedAt: z.number(),
|
|
1484
|
+
emailDomain: z.nullable(z.string()).optional(),
|
|
1485
|
+
saml: z.lazy(() => Saml$outboundSchema).optional(),
|
|
1486
|
+
inviteCode: z.string().optional(),
|
|
1487
|
+
description: z.nullable(z.string()),
|
|
1488
|
+
stagingPrefix: z.string(),
|
|
1489
|
+
resourceConfig: z.lazy(() => ResourceConfig$outboundSchema).optional(),
|
|
1490
|
+
previewDeploymentSuffix: z.nullable(z.string()).optional(),
|
|
1491
|
+
remoteCaching: z.lazy(() => RemoteCaching$outboundSchema).optional(),
|
|
1492
|
+
enablePreviewFeedback: z.nullable(EnablePreviewFeedback$outboundSchema)
|
|
1493
|
+
.optional(),
|
|
1494
|
+
enableProductionFeedback: z.nullable(
|
|
1495
|
+
EnableProductionFeedback$outboundSchema,
|
|
1496
|
+
).optional(),
|
|
1497
|
+
sensitiveEnvironmentVariablePolicy: z.nullable(
|
|
1498
|
+
SensitiveEnvironmentVariablePolicy$outboundSchema,
|
|
1499
|
+
).optional(),
|
|
1500
|
+
hideIpAddresses: z.nullable(z.boolean()).optional(),
|
|
1501
|
+
hideIpAddressesInLogDrains: z.nullable(z.boolean()).optional(),
|
|
1502
|
+
ipBuckets: z.array(z.lazy(() => IpBuckets$outboundSchema)).optional(),
|
|
1503
|
+
slug: z.string(),
|
|
1504
|
+
name: z.nullable(z.string()),
|
|
1505
|
+
avatar: z.nullable(z.string()),
|
|
1506
|
+
membership: z.lazy(() => Membership$outboundSchema),
|
|
1507
|
+
createdAt: z.number(),
|
|
121
1508
|
additionalProperties: z.record(z.any()),
|
|
122
1509
|
}).transform((v) => {
|
|
123
1510
|
return {
|