@vercel/sdk 1.0.0-canary.10
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/.devcontainer/README.md +35 -0
- package/LICENSE +201 -0
- package/README.md +838 -0
- package/docs/sdks/accessgroups/README.md +916 -0
- package/docs/sdks/aliases/README.md +420 -0
- package/docs/sdks/artifacts/README.md +491 -0
- package/docs/sdks/authentication/README.md +375 -0
- package/docs/sdks/certs/README.md +307 -0
- package/docs/sdks/checks/README.md +484 -0
- package/docs/sdks/deployments/README.md +778 -0
- package/docs/sdks/dns/README.md +377 -0
- package/docs/sdks/domains/README.md +827 -0
- package/docs/sdks/edgeconfig/README.md +1231 -0
- package/docs/sdks/integrations/README.md +390 -0
- package/docs/sdks/logdrains/README.md +556 -0
- package/docs/sdks/marketplace/README.md +694 -0
- package/docs/sdks/projectmembers/README.md +258 -0
- package/docs/sdks/projects/README.md +1590 -0
- package/docs/sdks/security/README.md +313 -0
- package/docs/sdks/teams/README.md +1148 -0
- package/docs/sdks/user/README.md +239 -0
- package/docs/sdks/vercel/README.md +5 -0
- package/docs/sdks/webhooks/README.md +305 -0
- package/esm/core.d.ts +10 -0
- package/esm/core.d.ts.map +1 -0
- package/esm/core.js +13 -0
- package/esm/core.js.map +1 -0
- package/esm/funcs/accessGroupsCreateAccessGroup.d.ts +15 -0
- package/esm/funcs/accessGroupsCreateAccessGroup.d.ts.map +1 -0
- package/esm/funcs/accessGroupsCreateAccessGroup.js +74 -0
- package/esm/funcs/accessGroupsCreateAccessGroup.js.map +1 -0
- package/esm/funcs/accessGroupsCreateAccessGroupProject.d.ts +15 -0
- package/esm/funcs/accessGroupsCreateAccessGroupProject.d.ts.map +1 -0
- package/esm/funcs/accessGroupsCreateAccessGroupProject.js +77 -0
- package/esm/funcs/accessGroupsCreateAccessGroupProject.js.map +1 -0
- package/esm/funcs/accessGroupsDeleteAccessGroup.d.ts +15 -0
- package/esm/funcs/accessGroupsDeleteAccessGroup.d.ts.map +1 -0
- package/esm/funcs/accessGroupsDeleteAccessGroup.js +80 -0
- package/esm/funcs/accessGroupsDeleteAccessGroup.js.map +1 -0
- package/esm/funcs/accessGroupsDeleteAccessGroupProject.d.ts +15 -0
- package/esm/funcs/accessGroupsDeleteAccessGroupProject.d.ts.map +1 -0
- package/esm/funcs/accessGroupsDeleteAccessGroupProject.js +81 -0
- package/esm/funcs/accessGroupsDeleteAccessGroupProject.js.map +1 -0
- package/esm/funcs/accessGroupsListAccessGroupMembers.d.ts +15 -0
- package/esm/funcs/accessGroupsListAccessGroupMembers.d.ts.map +1 -0
- package/esm/funcs/accessGroupsListAccessGroupMembers.js +82 -0
- package/esm/funcs/accessGroupsListAccessGroupMembers.js.map +1 -0
- package/esm/funcs/accessGroupsListAccessGroupProjects.d.ts +15 -0
- package/esm/funcs/accessGroupsListAccessGroupProjects.d.ts.map +1 -0
- package/esm/funcs/accessGroupsListAccessGroupProjects.js +81 -0
- package/esm/funcs/accessGroupsListAccessGroupProjects.js.map +1 -0
- package/esm/funcs/accessGroupsListAccessGroups.d.ts +15 -0
- package/esm/funcs/accessGroupsListAccessGroups.d.ts.map +1 -0
- package/esm/funcs/accessGroupsListAccessGroups.js +79 -0
- package/esm/funcs/accessGroupsListAccessGroups.js.map +1 -0
- package/esm/funcs/accessGroupsReadAccessGroup.d.ts +15 -0
- package/esm/funcs/accessGroupsReadAccessGroup.d.ts.map +1 -0
- package/esm/funcs/accessGroupsReadAccessGroup.js +79 -0
- package/esm/funcs/accessGroupsReadAccessGroup.js.map +1 -0
- package/esm/funcs/accessGroupsReadAccessGroupProject.d.ts +15 -0
- package/esm/funcs/accessGroupsReadAccessGroupProject.d.ts.map +1 -0
- package/esm/funcs/accessGroupsReadAccessGroupProject.js +80 -0
- package/esm/funcs/accessGroupsReadAccessGroupProject.js.map +1 -0
- package/esm/funcs/accessGroupsUpdateAccessGroup.d.ts +15 -0
- package/esm/funcs/accessGroupsUpdateAccessGroup.d.ts.map +1 -0
- package/esm/funcs/accessGroupsUpdateAccessGroup.js +80 -0
- package/esm/funcs/accessGroupsUpdateAccessGroup.js.map +1 -0
- package/esm/funcs/accessGroupsUpdateAccessGroupProject.d.ts +15 -0
- package/esm/funcs/accessGroupsUpdateAccessGroupProject.d.ts.map +1 -0
- package/esm/funcs/accessGroupsUpdateAccessGroupProject.js +81 -0
- package/esm/funcs/accessGroupsUpdateAccessGroupProject.js.map +1 -0
- package/esm/funcs/aliasesAssignAlias.d.ts +15 -0
- package/esm/funcs/aliasesAssignAlias.d.ts.map +1 -0
- package/esm/funcs/aliasesAssignAlias.js +80 -0
- package/esm/funcs/aliasesAssignAlias.js.map +1 -0
- package/esm/funcs/aliasesDeleteAlias.d.ts +15 -0
- package/esm/funcs/aliasesDeleteAlias.d.ts.map +1 -0
- package/esm/funcs/aliasesDeleteAlias.js +79 -0
- package/esm/funcs/aliasesDeleteAlias.js.map +1 -0
- package/esm/funcs/aliasesGetAlias.d.ts +15 -0
- package/esm/funcs/aliasesGetAlias.d.ts.map +1 -0
- package/esm/funcs/aliasesGetAlias.js +83 -0
- package/esm/funcs/aliasesGetAlias.js.map +1 -0
- package/esm/funcs/aliasesListAliases.d.ts +15 -0
- package/esm/funcs/aliasesListAliases.d.ts.map +1 -0
- package/esm/funcs/aliasesListAliases.js +80 -0
- package/esm/funcs/aliasesListAliases.js.map +1 -0
- package/esm/funcs/aliasesListDeploymentAliases.d.ts +15 -0
- package/esm/funcs/aliasesListDeploymentAliases.d.ts.map +1 -0
- package/esm/funcs/aliasesListDeploymentAliases.js +79 -0
- package/esm/funcs/aliasesListDeploymentAliases.js.map +1 -0
- package/esm/funcs/artifactsArtifactExists.d.ts +15 -0
- package/esm/funcs/artifactsArtifactExists.d.ts.map +1 -0
- package/esm/funcs/artifactsArtifactExists.js +80 -0
- package/esm/funcs/artifactsArtifactExists.js.map +1 -0
- package/esm/funcs/artifactsArtifactQuery.d.ts +17 -0
- package/esm/funcs/artifactsArtifactQuery.d.ts.map +1 -0
- package/esm/funcs/artifactsArtifactQuery.js +75 -0
- package/esm/funcs/artifactsArtifactQuery.js.map +1 -0
- package/esm/funcs/artifactsDownloadArtifact.d.ts +15 -0
- package/esm/funcs/artifactsDownloadArtifact.d.ts.map +1 -0
- package/esm/funcs/artifactsDownloadArtifact.js +84 -0
- package/esm/funcs/artifactsDownloadArtifact.js.map +1 -0
- package/esm/funcs/artifactsRecordEvents.d.ts +15 -0
- package/esm/funcs/artifactsRecordEvents.d.ts.map +1 -0
- package/esm/funcs/artifactsRecordEvents.js +77 -0
- package/esm/funcs/artifactsRecordEvents.js.map +1 -0
- package/esm/funcs/artifactsStatus.d.ts +15 -0
- package/esm/funcs/artifactsStatus.d.ts.map +1 -0
- package/esm/funcs/artifactsStatus.js +73 -0
- package/esm/funcs/artifactsStatus.js.map +1 -0
- package/esm/funcs/artifactsUploadArtifact.d.ts +15 -0
- package/esm/funcs/artifactsUploadArtifact.d.ts.map +1 -0
- package/esm/funcs/artifactsUploadArtifact.js +85 -0
- package/esm/funcs/artifactsUploadArtifact.js.map +1 -0
- package/esm/funcs/authenticationCreateAuthToken.d.ts +15 -0
- package/esm/funcs/authenticationCreateAuthToken.d.ts.map +1 -0
- package/esm/funcs/authenticationCreateAuthToken.js +74 -0
- package/esm/funcs/authenticationCreateAuthToken.js.map +1 -0
- package/esm/funcs/authenticationDeleteAuthToken.d.ts +15 -0
- package/esm/funcs/authenticationDeleteAuthToken.d.ts.map +1 -0
- package/esm/funcs/authenticationDeleteAuthToken.js +74 -0
- package/esm/funcs/authenticationDeleteAuthToken.js.map +1 -0
- package/esm/funcs/authenticationExchangeSsoToken.d.ts +15 -0
- package/esm/funcs/authenticationExchangeSsoToken.d.ts.map +1 -0
- package/esm/funcs/authenticationExchangeSsoToken.js +66 -0
- package/esm/funcs/authenticationExchangeSsoToken.js.map +1 -0
- package/esm/funcs/authenticationGetAuthToken.d.ts +15 -0
- package/esm/funcs/authenticationGetAuthToken.d.ts.map +1 -0
- package/esm/funcs/authenticationGetAuthToken.js +74 -0
- package/esm/funcs/authenticationGetAuthToken.js.map +1 -0
- package/esm/funcs/authenticationListAuthTokens.d.ts +15 -0
- package/esm/funcs/authenticationListAuthTokens.d.ts.map +1 -0
- package/esm/funcs/authenticationListAuthTokens.js +59 -0
- package/esm/funcs/authenticationListAuthTokens.js.map +1 -0
- package/esm/funcs/certsGetCertById.d.ts +15 -0
- package/esm/funcs/certsGetCertById.d.ts.map +1 -0
- package/esm/funcs/certsGetCertById.js +79 -0
- package/esm/funcs/certsGetCertById.js.map +1 -0
- package/esm/funcs/certsIssueCert.d.ts +15 -0
- package/esm/funcs/certsIssueCert.d.ts.map +1 -0
- package/esm/funcs/certsIssueCert.js +74 -0
- package/esm/funcs/certsIssueCert.js.map +1 -0
- package/esm/funcs/certsRemoveCert.d.ts +15 -0
- package/esm/funcs/certsRemoveCert.d.ts.map +1 -0
- package/esm/funcs/certsRemoveCert.js +79 -0
- package/esm/funcs/certsRemoveCert.js.map +1 -0
- package/esm/funcs/certsUploadCert.d.ts +15 -0
- package/esm/funcs/certsUploadCert.d.ts.map +1 -0
- package/esm/funcs/certsUploadCert.js +74 -0
- package/esm/funcs/certsUploadCert.js.map +1 -0
- package/esm/funcs/checksCreateCheck.d.ts +15 -0
- package/esm/funcs/checksCreateCheck.d.ts.map +1 -0
- package/esm/funcs/checksCreateCheck.js +80 -0
- package/esm/funcs/checksCreateCheck.js.map +1 -0
- package/esm/funcs/checksGetAllChecks.d.ts +15 -0
- package/esm/funcs/checksGetAllChecks.d.ts.map +1 -0
- package/esm/funcs/checksGetAllChecks.js +79 -0
- package/esm/funcs/checksGetAllChecks.js.map +1 -0
- package/esm/funcs/checksGetCheck.d.ts +15 -0
- package/esm/funcs/checksGetCheck.d.ts.map +1 -0
- package/esm/funcs/checksGetCheck.js +83 -0
- package/esm/funcs/checksGetCheck.js.map +1 -0
- package/esm/funcs/checksRerequestCheck.d.ts +15 -0
- package/esm/funcs/checksRerequestCheck.d.ts.map +1 -0
- package/esm/funcs/checksRerequestCheck.js +83 -0
- package/esm/funcs/checksRerequestCheck.js.map +1 -0
- package/esm/funcs/checksUpdateCheck.d.ts +15 -0
- package/esm/funcs/checksUpdateCheck.d.ts.map +1 -0
- package/esm/funcs/checksUpdateCheck.js +84 -0
- package/esm/funcs/checksUpdateCheck.js.map +1 -0
- package/esm/funcs/deploymentsCancelDeployment.d.ts +15 -0
- package/esm/funcs/deploymentsCancelDeployment.d.ts.map +1 -0
- package/esm/funcs/deploymentsCancelDeployment.js +79 -0
- package/esm/funcs/deploymentsCancelDeployment.js.map +1 -0
- package/esm/funcs/deploymentsCreateDeployment.d.ts +15 -0
- package/esm/funcs/deploymentsCreateDeployment.d.ts.map +1 -0
- package/esm/funcs/deploymentsCreateDeployment.js +76 -0
- package/esm/funcs/deploymentsCreateDeployment.js.map +1 -0
- package/esm/funcs/deploymentsDeleteDeployment.d.ts +15 -0
- package/esm/funcs/deploymentsDeleteDeployment.d.ts.map +1 -0
- package/esm/funcs/deploymentsDeleteDeployment.js +80 -0
- package/esm/funcs/deploymentsDeleteDeployment.js.map +1 -0
- package/esm/funcs/deploymentsGetDeployment.d.ts +15 -0
- package/esm/funcs/deploymentsGetDeployment.d.ts.map +1 -0
- package/esm/funcs/deploymentsGetDeployment.js +80 -0
- package/esm/funcs/deploymentsGetDeployment.js.map +1 -0
- package/esm/funcs/deploymentsGetDeploymentEvents.d.ts +15 -0
- package/esm/funcs/deploymentsGetDeploymentEvents.d.ts.map +1 -0
- package/esm/funcs/deploymentsGetDeploymentEvents.js +89 -0
- package/esm/funcs/deploymentsGetDeploymentEvents.js.map +1 -0
- package/esm/funcs/deploymentsGetDeploymentFileContents.d.ts +15 -0
- package/esm/funcs/deploymentsGetDeploymentFileContents.d.ts.map +1 -0
- package/esm/funcs/deploymentsGetDeploymentFileContents.js +85 -0
- package/esm/funcs/deploymentsGetDeploymentFileContents.js.map +1 -0
- package/esm/funcs/deploymentsGetDeployments.d.ts +15 -0
- package/esm/funcs/deploymentsGetDeployments.d.ts.map +1 -0
- package/esm/funcs/deploymentsGetDeployments.js +84 -0
- package/esm/funcs/deploymentsGetDeployments.js.map +1 -0
- package/esm/funcs/deploymentsListDeploymentFiles.d.ts +16 -0
- package/esm/funcs/deploymentsListDeploymentFiles.d.ts.map +1 -0
- package/esm/funcs/deploymentsListDeploymentFiles.js +81 -0
- package/esm/funcs/deploymentsListDeploymentFiles.js.map +1 -0
- package/esm/funcs/deploymentsUploadFile.d.ts +15 -0
- package/esm/funcs/deploymentsUploadFile.d.ts.map +1 -0
- package/esm/funcs/deploymentsUploadFile.js +83 -0
- package/esm/funcs/deploymentsUploadFile.js.map +1 -0
- package/esm/funcs/dnsCreateRecord.d.ts +15 -0
- package/esm/funcs/dnsCreateRecord.d.ts.map +1 -0
- package/esm/funcs/dnsCreateRecord.js +80 -0
- package/esm/funcs/dnsCreateRecord.js.map +1 -0
- package/esm/funcs/dnsGetRecords.d.ts +15 -0
- package/esm/funcs/dnsGetRecords.d.ts.map +1 -0
- package/esm/funcs/dnsGetRecords.js +82 -0
- package/esm/funcs/dnsGetRecords.js.map +1 -0
- package/esm/funcs/dnsRemoveRecord.d.ts +15 -0
- package/esm/funcs/dnsRemoveRecord.d.ts.map +1 -0
- package/esm/funcs/dnsRemoveRecord.js +83 -0
- package/esm/funcs/dnsRemoveRecord.js.map +1 -0
- package/esm/funcs/dnsUpdateRecord.d.ts +15 -0
- package/esm/funcs/dnsUpdateRecord.d.ts.map +1 -0
- package/esm/funcs/dnsUpdateRecord.js +80 -0
- package/esm/funcs/dnsUpdateRecord.js.map +1 -0
- package/esm/funcs/domainsBuyDomain.d.ts +15 -0
- package/esm/funcs/domainsBuyDomain.d.ts.map +1 -0
- package/esm/funcs/domainsBuyDomain.js +74 -0
- package/esm/funcs/domainsBuyDomain.js.map +1 -0
- package/esm/funcs/domainsCheckDomainPrice.d.ts +15 -0
- package/esm/funcs/domainsCheckDomainPrice.d.ts.map +1 -0
- package/esm/funcs/domainsCheckDomainPrice.js +75 -0
- package/esm/funcs/domainsCheckDomainPrice.js.map +1 -0
- package/esm/funcs/domainsCheckDomainStatus.d.ts +15 -0
- package/esm/funcs/domainsCheckDomainStatus.d.ts.map +1 -0
- package/esm/funcs/domainsCheckDomainStatus.js +74 -0
- package/esm/funcs/domainsCheckDomainStatus.js.map +1 -0
- package/esm/funcs/domainsCreateOrTransferDomain.d.ts +15 -0
- package/esm/funcs/domainsCreateOrTransferDomain.d.ts.map +1 -0
- package/esm/funcs/domainsCreateOrTransferDomain.js +74 -0
- package/esm/funcs/domainsCreateOrTransferDomain.js.map +1 -0
- package/esm/funcs/domainsDeleteDomain.d.ts +15 -0
- package/esm/funcs/domainsDeleteDomain.d.ts.map +1 -0
- package/esm/funcs/domainsDeleteDomain.js +79 -0
- package/esm/funcs/domainsDeleteDomain.js.map +1 -0
- package/esm/funcs/domainsGetDomain.d.ts +15 -0
- package/esm/funcs/domainsGetDomain.d.ts.map +1 -0
- package/esm/funcs/domainsGetDomain.js +79 -0
- package/esm/funcs/domainsGetDomain.js.map +1 -0
- package/esm/funcs/domainsGetDomainConfig.d.ts +15 -0
- package/esm/funcs/domainsGetDomainConfig.d.ts.map +1 -0
- package/esm/funcs/domainsGetDomainConfig.js +80 -0
- package/esm/funcs/domainsGetDomainConfig.js.map +1 -0
- package/esm/funcs/domainsGetDomainTransfer.d.ts +15 -0
- package/esm/funcs/domainsGetDomainTransfer.d.ts.map +1 -0
- package/esm/funcs/domainsGetDomainTransfer.js +79 -0
- package/esm/funcs/domainsGetDomainTransfer.js.map +1 -0
- package/esm/funcs/domainsGetDomains.d.ts +15 -0
- package/esm/funcs/domainsGetDomains.d.ts.map +1 -0
- package/esm/funcs/domainsGetDomains.js +76 -0
- package/esm/funcs/domainsGetDomains.js.map +1 -0
- package/esm/funcs/domainsPatchDomain.d.ts +15 -0
- package/esm/funcs/domainsPatchDomain.d.ts.map +1 -0
- package/esm/funcs/domainsPatchDomain.js +80 -0
- package/esm/funcs/domainsPatchDomain.js.map +1 -0
- package/esm/funcs/edgeConfigCreateEdgeConfig.d.ts +15 -0
- package/esm/funcs/edgeConfigCreateEdgeConfig.d.ts.map +1 -0
- package/esm/funcs/edgeConfigCreateEdgeConfig.js +74 -0
- package/esm/funcs/edgeConfigCreateEdgeConfig.js.map +1 -0
- package/esm/funcs/edgeConfigCreateEdgeConfigToken.d.ts +15 -0
- package/esm/funcs/edgeConfigCreateEdgeConfigToken.d.ts.map +1 -0
- package/esm/funcs/edgeConfigCreateEdgeConfigToken.js +80 -0
- package/esm/funcs/edgeConfigCreateEdgeConfigToken.js.map +1 -0
- package/esm/funcs/edgeConfigDeleteEdgeConfig.d.ts +15 -0
- package/esm/funcs/edgeConfigDeleteEdgeConfig.d.ts.map +1 -0
- package/esm/funcs/edgeConfigDeleteEdgeConfig.js +80 -0
- package/esm/funcs/edgeConfigDeleteEdgeConfig.js.map +1 -0
- package/esm/funcs/edgeConfigDeleteEdgeConfigSchema.d.ts +15 -0
- package/esm/funcs/edgeConfigDeleteEdgeConfigSchema.d.ts.map +1 -0
- package/esm/funcs/edgeConfigDeleteEdgeConfigSchema.js +80 -0
- package/esm/funcs/edgeConfigDeleteEdgeConfigSchema.js.map +1 -0
- package/esm/funcs/edgeConfigDeleteEdgeConfigTokens.d.ts +15 -0
- package/esm/funcs/edgeConfigDeleteEdgeConfigTokens.d.ts.map +1 -0
- package/esm/funcs/edgeConfigDeleteEdgeConfigTokens.js +81 -0
- package/esm/funcs/edgeConfigDeleteEdgeConfigTokens.js.map +1 -0
- package/esm/funcs/edgeConfigGetEdgeConfig.d.ts +15 -0
- package/esm/funcs/edgeConfigGetEdgeConfig.d.ts.map +1 -0
- package/esm/funcs/edgeConfigGetEdgeConfig.js +79 -0
- package/esm/funcs/edgeConfigGetEdgeConfig.js.map +1 -0
- package/esm/funcs/edgeConfigGetEdgeConfigBackup.d.ts +15 -0
- package/esm/funcs/edgeConfigGetEdgeConfigBackup.d.ts.map +1 -0
- package/esm/funcs/edgeConfigGetEdgeConfigBackup.js +80 -0
- package/esm/funcs/edgeConfigGetEdgeConfigBackup.js.map +1 -0
- package/esm/funcs/edgeConfigGetEdgeConfigBackups.d.ts +15 -0
- package/esm/funcs/edgeConfigGetEdgeConfigBackups.d.ts.map +1 -0
- package/esm/funcs/edgeConfigGetEdgeConfigBackups.js +82 -0
- package/esm/funcs/edgeConfigGetEdgeConfigBackups.js.map +1 -0
- package/esm/funcs/edgeConfigGetEdgeConfigItem.d.ts +16 -0
- package/esm/funcs/edgeConfigGetEdgeConfigItem.d.ts.map +1 -0
- package/esm/funcs/edgeConfigGetEdgeConfigItem.js +81 -0
- package/esm/funcs/edgeConfigGetEdgeConfigItem.js.map +1 -0
- package/esm/funcs/edgeConfigGetEdgeConfigItems.d.ts +16 -0
- package/esm/funcs/edgeConfigGetEdgeConfigItems.d.ts.map +1 -0
- package/esm/funcs/edgeConfigGetEdgeConfigItems.js +80 -0
- package/esm/funcs/edgeConfigGetEdgeConfigItems.js.map +1 -0
- package/esm/funcs/edgeConfigGetEdgeConfigSchema.d.ts +15 -0
- package/esm/funcs/edgeConfigGetEdgeConfigSchema.d.ts.map +1 -0
- package/esm/funcs/edgeConfigGetEdgeConfigSchema.js +79 -0
- package/esm/funcs/edgeConfigGetEdgeConfigSchema.js.map +1 -0
- package/esm/funcs/edgeConfigGetEdgeConfigToken.d.ts +16 -0
- package/esm/funcs/edgeConfigGetEdgeConfigToken.d.ts.map +1 -0
- package/esm/funcs/edgeConfigGetEdgeConfigToken.js +84 -0
- package/esm/funcs/edgeConfigGetEdgeConfigToken.js.map +1 -0
- package/esm/funcs/edgeConfigGetEdgeConfigTokens.d.ts +16 -0
- package/esm/funcs/edgeConfigGetEdgeConfigTokens.d.ts.map +1 -0
- package/esm/funcs/edgeConfigGetEdgeConfigTokens.js +80 -0
- package/esm/funcs/edgeConfigGetEdgeConfigTokens.js.map +1 -0
- package/esm/funcs/edgeConfigGetEdgeConfigs.d.ts +15 -0
- package/esm/funcs/edgeConfigGetEdgeConfigs.d.ts.map +1 -0
- package/esm/funcs/edgeConfigGetEdgeConfigs.js +74 -0
- package/esm/funcs/edgeConfigGetEdgeConfigs.js.map +1 -0
- package/esm/funcs/edgeConfigPatchEdgeConfigSchema.d.ts +15 -0
- package/esm/funcs/edgeConfigPatchEdgeConfigSchema.d.ts.map +1 -0
- package/esm/funcs/edgeConfigPatchEdgeConfigSchema.js +81 -0
- package/esm/funcs/edgeConfigPatchEdgeConfigSchema.js.map +1 -0
- package/esm/funcs/edgeConfigUpdateEdgeConfig.d.ts +15 -0
- package/esm/funcs/edgeConfigUpdateEdgeConfig.d.ts.map +1 -0
- package/esm/funcs/edgeConfigUpdateEdgeConfig.js +80 -0
- package/esm/funcs/edgeConfigUpdateEdgeConfig.js.map +1 -0
- package/esm/funcs/integrationsDeleteConfiguration.d.ts +15 -0
- package/esm/funcs/integrationsDeleteConfiguration.d.ts.map +1 -0
- package/esm/funcs/integrationsDeleteConfiguration.js +80 -0
- package/esm/funcs/integrationsDeleteConfiguration.js.map +1 -0
- package/esm/funcs/integrationsGetConfiguration.d.ts +15 -0
- package/esm/funcs/integrationsGetConfiguration.d.ts.map +1 -0
- package/esm/funcs/integrationsGetConfiguration.js +79 -0
- package/esm/funcs/integrationsGetConfiguration.js.map +1 -0
- package/esm/funcs/integrationsGetConfigurations.d.ts +15 -0
- package/esm/funcs/integrationsGetConfigurations.d.ts.map +1 -0
- package/esm/funcs/integrationsGetConfigurations.js +76 -0
- package/esm/funcs/integrationsGetConfigurations.js.map +1 -0
- package/esm/funcs/integrationsGitNamespaces.d.ts +15 -0
- package/esm/funcs/integrationsGitNamespaces.d.ts.map +1 -0
- package/esm/funcs/integrationsGitNamespaces.js +74 -0
- package/esm/funcs/integrationsGitNamespaces.js.map +1 -0
- package/esm/funcs/integrationsSearchRepo.d.ts +15 -0
- package/esm/funcs/integrationsSearchRepo.d.ts.map +1 -0
- package/esm/funcs/integrationsSearchRepo.js +78 -0
- package/esm/funcs/integrationsSearchRepo.js.map +1 -0
- package/esm/funcs/logDrainsCreateConfigurableLogDrain.d.ts +15 -0
- package/esm/funcs/logDrainsCreateConfigurableLogDrain.d.ts.map +1 -0
- package/esm/funcs/logDrainsCreateConfigurableLogDrain.js +74 -0
- package/esm/funcs/logDrainsCreateConfigurableLogDrain.js.map +1 -0
- package/esm/funcs/logDrainsCreateLogDrain.d.ts +15 -0
- package/esm/funcs/logDrainsCreateLogDrain.d.ts.map +1 -0
- package/esm/funcs/logDrainsCreateLogDrain.js +74 -0
- package/esm/funcs/logDrainsCreateLogDrain.js.map +1 -0
- package/esm/funcs/logDrainsDeleteConfigurableLogDrain.d.ts +15 -0
- package/esm/funcs/logDrainsDeleteConfigurableLogDrain.d.ts.map +1 -0
- package/esm/funcs/logDrainsDeleteConfigurableLogDrain.js +80 -0
- package/esm/funcs/logDrainsDeleteConfigurableLogDrain.js.map +1 -0
- package/esm/funcs/logDrainsDeleteIntegrationLogDrain.d.ts +15 -0
- package/esm/funcs/logDrainsDeleteIntegrationLogDrain.d.ts.map +1 -0
- package/esm/funcs/logDrainsDeleteIntegrationLogDrain.js +80 -0
- package/esm/funcs/logDrainsDeleteIntegrationLogDrain.js.map +1 -0
- package/esm/funcs/logDrainsGetAllLogDrains.d.ts +15 -0
- package/esm/funcs/logDrainsGetAllLogDrains.d.ts.map +1 -0
- package/esm/funcs/logDrainsGetAllLogDrains.js +75 -0
- package/esm/funcs/logDrainsGetAllLogDrains.js.map +1 -0
- package/esm/funcs/logDrainsGetConfigurableLogDrain.d.ts +15 -0
- package/esm/funcs/logDrainsGetConfigurableLogDrain.d.ts.map +1 -0
- package/esm/funcs/logDrainsGetConfigurableLogDrain.js +79 -0
- package/esm/funcs/logDrainsGetConfigurableLogDrain.js.map +1 -0
- package/esm/funcs/logDrainsGetIntegrationLogDrains.d.ts +15 -0
- package/esm/funcs/logDrainsGetIntegrationLogDrains.d.ts.map +1 -0
- package/esm/funcs/logDrainsGetIntegrationLogDrains.js +74 -0
- package/esm/funcs/logDrainsGetIntegrationLogDrains.js.map +1 -0
- package/esm/funcs/marketplaceCreateEvent.d.ts +15 -0
- package/esm/funcs/marketplaceCreateEvent.d.ts.map +1 -0
- package/esm/funcs/marketplaceCreateEvent.js +73 -0
- package/esm/funcs/marketplaceCreateEvent.js.map +1 -0
- package/esm/funcs/marketplaceExchangeSsoToken.d.ts +15 -0
- package/esm/funcs/marketplaceExchangeSsoToken.d.ts.map +1 -0
- package/esm/funcs/marketplaceExchangeSsoToken.js +66 -0
- package/esm/funcs/marketplaceExchangeSsoToken.js.map +1 -0
- package/esm/funcs/marketplaceGetAccountInfo.d.ts +15 -0
- package/esm/funcs/marketplaceGetAccountInfo.d.ts.map +1 -0
- package/esm/funcs/marketplaceGetAccountInfo.js +71 -0
- package/esm/funcs/marketplaceGetAccountInfo.js.map +1 -0
- package/esm/funcs/marketplaceGetInvoice.d.ts +15 -0
- package/esm/funcs/marketplaceGetInvoice.d.ts.map +1 -0
- package/esm/funcs/marketplaceGetInvoice.js +75 -0
- package/esm/funcs/marketplaceGetInvoice.js.map +1 -0
- package/esm/funcs/marketplaceGetMember.d.ts +15 -0
- package/esm/funcs/marketplaceGetMember.d.ts.map +1 -0
- package/esm/funcs/marketplaceGetMember.js +75 -0
- package/esm/funcs/marketplaceGetMember.js.map +1 -0
- package/esm/funcs/marketplaceSubmitBillingData.d.ts +15 -0
- package/esm/funcs/marketplaceSubmitBillingData.d.ts.map +1 -0
- package/esm/funcs/marketplaceSubmitBillingData.js +73 -0
- package/esm/funcs/marketplaceSubmitBillingData.js.map +1 -0
- package/esm/funcs/marketplaceSubmitInvoice.d.ts +15 -0
- package/esm/funcs/marketplaceSubmitInvoice.d.ts.map +1 -0
- package/esm/funcs/marketplaceSubmitInvoice.js +72 -0
- package/esm/funcs/marketplaceSubmitInvoice.js.map +1 -0
- package/esm/funcs/marketplaceUpdateInvoice.d.ts +15 -0
- package/esm/funcs/marketplaceUpdateInvoice.d.ts.map +1 -0
- package/esm/funcs/marketplaceUpdateInvoice.js +77 -0
- package/esm/funcs/marketplaceUpdateInvoice.js.map +1 -0
- package/esm/funcs/marketplaceUpdateResourceSecrets.d.ts +15 -0
- package/esm/funcs/marketplaceUpdateResourceSecrets.d.ts.map +1 -0
- package/esm/funcs/marketplaceUpdateResourceSecrets.js +78 -0
- package/esm/funcs/marketplaceUpdateResourceSecrets.js.map +1 -0
- package/esm/funcs/projectMembersAddProjectMember.d.ts +15 -0
- package/esm/funcs/projectMembersAddProjectMember.d.ts.map +1 -0
- package/esm/funcs/projectMembersAddProjectMember.js +80 -0
- package/esm/funcs/projectMembersAddProjectMember.js.map +1 -0
- package/esm/funcs/projectMembersGetProjectMembers.d.ts +15 -0
- package/esm/funcs/projectMembersGetProjectMembers.d.ts.map +1 -0
- package/esm/funcs/projectMembersGetProjectMembers.js +83 -0
- package/esm/funcs/projectMembersGetProjectMembers.js.map +1 -0
- package/esm/funcs/projectMembersRemoveProjectMember.d.ts +15 -0
- package/esm/funcs/projectMembersRemoveProjectMember.d.ts.map +1 -0
- package/esm/funcs/projectMembersRemoveProjectMember.js +83 -0
- package/esm/funcs/projectMembersRemoveProjectMember.js.map +1 -0
- package/esm/funcs/projectsAddProjectDomain.d.ts +15 -0
- package/esm/funcs/projectsAddProjectDomain.d.ts.map +1 -0
- package/esm/funcs/projectsAddProjectDomain.js +80 -0
- package/esm/funcs/projectsAddProjectDomain.js.map +1 -0
- package/esm/funcs/projectsCreateProject.d.ts +15 -0
- package/esm/funcs/projectsCreateProject.d.ts.map +1 -0
- package/esm/funcs/projectsCreateProject.js +74 -0
- package/esm/funcs/projectsCreateProject.js.map +1 -0
- package/esm/funcs/projectsCreateProjectEnv.d.ts +15 -0
- package/esm/funcs/projectsCreateProjectEnv.d.ts.map +1 -0
- package/esm/funcs/projectsCreateProjectEnv.js +81 -0
- package/esm/funcs/projectsCreateProjectEnv.js.map +1 -0
- package/esm/funcs/projectsDeleteProject.d.ts +15 -0
- package/esm/funcs/projectsDeleteProject.d.ts.map +1 -0
- package/esm/funcs/projectsDeleteProject.js +80 -0
- package/esm/funcs/projectsDeleteProject.js.map +1 -0
- package/esm/funcs/projectsEditProjectEnv.d.ts +15 -0
- package/esm/funcs/projectsEditProjectEnv.d.ts.map +1 -0
- package/esm/funcs/projectsEditProjectEnv.js +84 -0
- package/esm/funcs/projectsEditProjectEnv.js.map +1 -0
- package/esm/funcs/projectsFilterProjectEnvs.d.ts +15 -0
- package/esm/funcs/projectsFilterProjectEnvs.d.ts.map +1 -0
- package/esm/funcs/projectsFilterProjectEnvs.js +82 -0
- package/esm/funcs/projectsFilterProjectEnvs.js.map +1 -0
- package/esm/funcs/projectsGetProjectDomain.d.ts +15 -0
- package/esm/funcs/projectsGetProjectDomain.d.ts.map +1 -0
- package/esm/funcs/projectsGetProjectDomain.js +83 -0
- package/esm/funcs/projectsGetProjectDomain.js.map +1 -0
- package/esm/funcs/projectsGetProjectDomains.d.ts +15 -0
- package/esm/funcs/projectsGetProjectDomains.d.ts.map +1 -0
- package/esm/funcs/projectsGetProjectDomains.js +89 -0
- package/esm/funcs/projectsGetProjectDomains.js.map +1 -0
- package/esm/funcs/projectsGetProjectEnv.d.ts +15 -0
- package/esm/funcs/projectsGetProjectEnv.d.ts.map +1 -0
- package/esm/funcs/projectsGetProjectEnv.js +83 -0
- package/esm/funcs/projectsGetProjectEnv.js.map +1 -0
- package/esm/funcs/projectsGetProjects.d.ts +15 -0
- package/esm/funcs/projectsGetProjects.d.ts.map +1 -0
- package/esm/funcs/projectsGetProjects.js +84 -0
- package/esm/funcs/projectsGetProjects.js.map +1 -0
- package/esm/funcs/projectsListPromoteAliases.d.ts +15 -0
- package/esm/funcs/projectsListPromoteAliases.d.ts.map +1 -0
- package/esm/funcs/projectsListPromoteAliases.js +83 -0
- package/esm/funcs/projectsListPromoteAliases.js.map +1 -0
- package/esm/funcs/projectsRemoveProjectDomain.d.ts +15 -0
- package/esm/funcs/projectsRemoveProjectDomain.d.ts.map +1 -0
- package/esm/funcs/projectsRemoveProjectDomain.js +83 -0
- package/esm/funcs/projectsRemoveProjectDomain.js.map +1 -0
- package/esm/funcs/projectsRemoveProjectEnv.d.ts +15 -0
- package/esm/funcs/projectsRemoveProjectEnv.d.ts.map +1 -0
- package/esm/funcs/projectsRemoveProjectEnv.js +83 -0
- package/esm/funcs/projectsRemoveProjectEnv.js.map +1 -0
- package/esm/funcs/projectsRequestPromote.d.ts +15 -0
- package/esm/funcs/projectsRequestPromote.d.ts.map +1 -0
- package/esm/funcs/projectsRequestPromote.js +84 -0
- package/esm/funcs/projectsRequestPromote.js.map +1 -0
- package/esm/funcs/projectsUpdateProject.d.ts +15 -0
- package/esm/funcs/projectsUpdateProject.d.ts.map +1 -0
- package/esm/funcs/projectsUpdateProject.js +80 -0
- package/esm/funcs/projectsUpdateProject.js.map +1 -0
- package/esm/funcs/projectsUpdateProjectDataCache.d.ts +15 -0
- package/esm/funcs/projectsUpdateProjectDataCache.d.ts.map +1 -0
- package/esm/funcs/projectsUpdateProjectDataCache.js +80 -0
- package/esm/funcs/projectsUpdateProjectDataCache.js.map +1 -0
- package/esm/funcs/projectsUpdateProjectDomain.d.ts +15 -0
- package/esm/funcs/projectsUpdateProjectDomain.d.ts.map +1 -0
- package/esm/funcs/projectsUpdateProjectDomain.js +84 -0
- package/esm/funcs/projectsUpdateProjectDomain.js.map +1 -0
- package/esm/funcs/projectsUpdateProjectProtectionBypass.d.ts +15 -0
- package/esm/funcs/projectsUpdateProjectProtectionBypass.d.ts.map +1 -0
- package/esm/funcs/projectsUpdateProjectProtectionBypass.js +80 -0
- package/esm/funcs/projectsUpdateProjectProtectionBypass.js.map +1 -0
- package/esm/funcs/projectsVerifyProjectDomain.d.ts +15 -0
- package/esm/funcs/projectsVerifyProjectDomain.d.ts.map +1 -0
- package/esm/funcs/projectsVerifyProjectDomain.js +83 -0
- package/esm/funcs/projectsVerifyProjectDomain.js.map +1 -0
- package/esm/funcs/securityGetFirewallConfig.d.ts +15 -0
- package/esm/funcs/securityGetFirewallConfig.d.ts.map +1 -0
- package/esm/funcs/securityGetFirewallConfig.js +80 -0
- package/esm/funcs/securityGetFirewallConfig.js.map +1 -0
- package/esm/funcs/securityPutFirewallConfig.d.ts +15 -0
- package/esm/funcs/securityPutFirewallConfig.d.ts.map +1 -0
- package/esm/funcs/securityPutFirewallConfig.js +75 -0
- package/esm/funcs/securityPutFirewallConfig.js.map +1 -0
- package/esm/funcs/securityUpdateAttackChallengeMode.d.ts +15 -0
- package/esm/funcs/securityUpdateAttackChallengeMode.d.ts.map +1 -0
- package/esm/funcs/securityUpdateAttackChallengeMode.js +74 -0
- package/esm/funcs/securityUpdateAttackChallengeMode.js.map +1 -0
- package/esm/funcs/securityUpdateFirewallConfig.d.ts +15 -0
- package/esm/funcs/securityUpdateFirewallConfig.d.ts.map +1 -0
- package/esm/funcs/securityUpdateFirewallConfig.js +75 -0
- package/esm/funcs/securityUpdateFirewallConfig.js.map +1 -0
- package/esm/funcs/teamsCreateTeam.d.ts +15 -0
- package/esm/funcs/teamsCreateTeam.d.ts.map +1 -0
- package/esm/funcs/teamsCreateTeam.js +71 -0
- package/esm/funcs/teamsCreateTeam.js.map +1 -0
- package/esm/funcs/teamsDeleteTeam.d.ts +15 -0
- package/esm/funcs/teamsDeleteTeam.d.ts.map +1 -0
- package/esm/funcs/teamsDeleteTeam.js +80 -0
- package/esm/funcs/teamsDeleteTeam.js.map +1 -0
- package/esm/funcs/teamsDeleteTeamInviteCode.d.ts +15 -0
- package/esm/funcs/teamsDeleteTeamInviteCode.d.ts.map +1 -0
- package/esm/funcs/teamsDeleteTeamInviteCode.js +78 -0
- package/esm/funcs/teamsDeleteTeamInviteCode.js.map +1 -0
- package/esm/funcs/teamsGetTeam.d.ts +17 -0
- package/esm/funcs/teamsGetTeam.d.ts.map +1 -0
- package/esm/funcs/teamsGetTeam.js +79 -0
- package/esm/funcs/teamsGetTeam.js.map +1 -0
- package/esm/funcs/teamsGetTeamAccessRequest.d.ts +15 -0
- package/esm/funcs/teamsGetTeamAccessRequest.d.ts.map +1 -0
- package/esm/funcs/teamsGetTeamAccessRequest.js +78 -0
- package/esm/funcs/teamsGetTeamAccessRequest.js.map +1 -0
- package/esm/funcs/teamsGetTeamMembers.d.ts +15 -0
- package/esm/funcs/teamsGetTeamMembers.d.ts.map +1 -0
- package/esm/funcs/teamsGetTeamMembers.js +84 -0
- package/esm/funcs/teamsGetTeamMembers.js.map +1 -0
- package/esm/funcs/teamsGetTeams.d.ts +15 -0
- package/esm/funcs/teamsGetTeams.d.ts.map +1 -0
- package/esm/funcs/teamsGetTeams.js +74 -0
- package/esm/funcs/teamsGetTeams.js.map +1 -0
- package/esm/funcs/teamsInviteUserToTeam.d.ts +15 -0
- package/esm/funcs/teamsInviteUserToTeam.d.ts.map +1 -0
- package/esm/funcs/teamsInviteUserToTeam.js +75 -0
- package/esm/funcs/teamsInviteUserToTeam.js.map +1 -0
- package/esm/funcs/teamsJoinTeam.d.ts +15 -0
- package/esm/funcs/teamsJoinTeam.d.ts.map +1 -0
- package/esm/funcs/teamsJoinTeam.js +75 -0
- package/esm/funcs/teamsJoinTeam.js.map +1 -0
- package/esm/funcs/teamsPatchTeam.d.ts +17 -0
- package/esm/funcs/teamsPatchTeam.d.ts.map +1 -0
- package/esm/funcs/teamsPatchTeam.js +80 -0
- package/esm/funcs/teamsPatchTeam.js.map +1 -0
- package/esm/funcs/teamsRemoveTeamMember.d.ts +15 -0
- package/esm/funcs/teamsRemoveTeamMember.d.ts.map +1 -0
- package/esm/funcs/teamsRemoveTeamMember.js +82 -0
- package/esm/funcs/teamsRemoveTeamMember.js.map +1 -0
- package/esm/funcs/teamsRequestAccessToTeam.d.ts +15 -0
- package/esm/funcs/teamsRequestAccessToTeam.d.ts.map +1 -0
- package/esm/funcs/teamsRequestAccessToTeam.js +75 -0
- package/esm/funcs/teamsRequestAccessToTeam.js.map +1 -0
- package/esm/funcs/teamsUpdateTeamMember.d.ts +15 -0
- package/esm/funcs/teamsUpdateTeamMember.d.ts.map +1 -0
- package/esm/funcs/teamsUpdateTeamMember.js +79 -0
- package/esm/funcs/teamsUpdateTeamMember.js.map +1 -0
- package/esm/funcs/userGetAuthUser.d.ts +15 -0
- package/esm/funcs/userGetAuthUser.d.ts.map +1 -0
- package/esm/funcs/userGetAuthUser.js +59 -0
- package/esm/funcs/userGetAuthUser.js.map +1 -0
- package/esm/funcs/userListUserEvents.d.ts +15 -0
- package/esm/funcs/userListUserEvents.d.ts.map +1 -0
- package/esm/funcs/userListUserEvents.js +79 -0
- package/esm/funcs/userListUserEvents.js.map +1 -0
- package/esm/funcs/userRequestDelete.d.ts +15 -0
- package/esm/funcs/userRequestDelete.d.ts.map +1 -0
- package/esm/funcs/userRequestDelete.js +71 -0
- package/esm/funcs/userRequestDelete.js.map +1 -0
- package/esm/funcs/webhooksCreateWebhook.d.ts +15 -0
- package/esm/funcs/webhooksCreateWebhook.d.ts.map +1 -0
- package/esm/funcs/webhooksCreateWebhook.js +74 -0
- package/esm/funcs/webhooksCreateWebhook.js.map +1 -0
- package/esm/funcs/webhooksDeleteWebhook.d.ts +15 -0
- package/esm/funcs/webhooksDeleteWebhook.d.ts.map +1 -0
- package/esm/funcs/webhooksDeleteWebhook.js +80 -0
- package/esm/funcs/webhooksDeleteWebhook.js.map +1 -0
- package/esm/funcs/webhooksGetWebhook.d.ts +15 -0
- package/esm/funcs/webhooksGetWebhook.d.ts.map +1 -0
- package/esm/funcs/webhooksGetWebhook.js +79 -0
- package/esm/funcs/webhooksGetWebhook.js.map +1 -0
- package/esm/funcs/webhooksGetWebhooks.d.ts +15 -0
- package/esm/funcs/webhooksGetWebhooks.d.ts.map +1 -0
- package/esm/funcs/webhooksGetWebhooks.js +74 -0
- package/esm/funcs/webhooksGetWebhooks.js.map +1 -0
- package/esm/hooks/hooks.d.ts +24 -0
- package/esm/hooks/hooks.d.ts.map +1 -0
- package/esm/hooks/hooks.js +64 -0
- package/esm/hooks/hooks.js.map +1 -0
- package/esm/hooks/registration.d.ts +3 -0
- package/esm/hooks/registration.d.ts.map +1 -0
- package/esm/hooks/registration.js +12 -0
- package/esm/hooks/registration.js.map +1 -0
- package/esm/hooks/types.d.ts +76 -0
- package/esm/hooks/types.d.ts.map +1 -0
- package/esm/hooks/types.js +5 -0
- package/esm/hooks/types.js.map +1 -0
- package/esm/index.d.ts +4 -0
- package/esm/index.d.ts.map +1 -0
- package/esm/index.js +7 -0
- package/esm/index.js.map +1 -0
- package/esm/lib/base64.d.ts +10 -0
- package/esm/lib/base64.d.ts.map +1 -0
- package/esm/lib/base64.js +29 -0
- package/esm/lib/base64.js.map +1 -0
- package/esm/lib/config.d.ts +34 -0
- package/esm/lib/config.d.ts.map +1 -0
- package/esm/lib/config.js +35 -0
- package/esm/lib/config.js.map +1 -0
- package/esm/lib/dlv.d.ts +14 -0
- package/esm/lib/dlv.d.ts.map +1 -0
- package/esm/lib/dlv.js +46 -0
- package/esm/lib/dlv.js.map +1 -0
- package/esm/lib/encodings.d.ts +51 -0
- package/esm/lib/encodings.d.ts.map +1 -0
- package/esm/lib/encodings.js +330 -0
- package/esm/lib/encodings.js.map +1 -0
- package/esm/lib/files.d.ts +8 -0
- package/esm/lib/files.d.ts.map +1 -0
- package/esm/lib/files.js +33 -0
- package/esm/lib/files.js.map +1 -0
- package/esm/lib/http.d.ts +67 -0
- package/esm/lib/http.d.ts.map +1 -0
- package/esm/lib/http.js +208 -0
- package/esm/lib/http.js.map +1 -0
- package/esm/lib/is-plain-object.d.ts +2 -0
- package/esm/lib/is-plain-object.d.ts.map +1 -0
- package/esm/lib/is-plain-object.js +38 -0
- package/esm/lib/is-plain-object.js.map +1 -0
- package/esm/lib/logger.d.ts +6 -0
- package/esm/lib/logger.d.ts.map +1 -0
- package/esm/lib/logger.js +5 -0
- package/esm/lib/logger.js.map +1 -0
- package/esm/lib/matchers.d.ts +64 -0
- package/esm/lib/matchers.d.ts.map +1 -0
- package/esm/lib/matchers.js +187 -0
- package/esm/lib/matchers.js.map +1 -0
- package/esm/lib/primitives.d.ts +20 -0
- package/esm/lib/primitives.d.ts.map +1 -0
- package/esm/lib/primitives.js +37 -0
- package/esm/lib/primitives.js.map +1 -0
- package/esm/lib/retries.d.ts +38 -0
- package/esm/lib/retries.d.ts.map +1 -0
- package/esm/lib/retries.js +149 -0
- package/esm/lib/retries.js.map +1 -0
- package/esm/lib/schemas.d.ts +19 -0
- package/esm/lib/schemas.d.ts.map +1 -0
- package/esm/lib/schemas.js +54 -0
- package/esm/lib/schemas.js.map +1 -0
- package/esm/lib/sdks.d.ts +56 -0
- package/esm/lib/sdks.d.ts.map +1 -0
- package/esm/lib/sdks.js +269 -0
- package/esm/lib/sdks.js.map +1 -0
- package/esm/lib/security.d.ts +82 -0
- package/esm/lib/security.d.ts.map +1 -0
- package/esm/lib/security.js +131 -0
- package/esm/lib/security.js.map +1 -0
- package/esm/lib/url.d.ts +5 -0
- package/esm/lib/url.d.ts.map +1 -0
- package/esm/lib/url.js +22 -0
- package/esm/lib/url.js.map +1 -0
- package/esm/models/components/aclaction.d.ts +43 -0
- package/esm/models/components/aclaction.d.ts.map +1 -0
- package/esm/models/components/aclaction.js +31 -0
- package/esm/models/components/aclaction.js.map +1 -0
- package/esm/models/components/authtoken.d.ts +304 -0
- package/esm/models/components/authtoken.d.ts.map +1 -0
- package/esm/models/components/authtoken.js +234 -0
- package/esm/models/components/authtoken.js.map +1 -0
- package/esm/models/components/authuser.d.ts +1057 -0
- package/esm/models/components/authuser.d.ts.map +1 -0
- package/esm/models/components/authuser.js +780 -0
- package/esm/models/components/authuser.js.map +1 -0
- package/esm/models/components/authuserlimited.d.ts +99 -0
- package/esm/models/components/authuserlimited.d.ts.map +1 -0
- package/esm/models/components/authuserlimited.js +66 -0
- package/esm/models/components/authuserlimited.js.map +1 -0
- package/esm/models/components/edgeconfigitem.d.ts +43 -0
- package/esm/models/components/edgeconfigitem.d.ts.map +1 -0
- package/esm/models/components/edgeconfigitem.js +42 -0
- package/esm/models/components/edgeconfigitem.js.map +1 -0
- package/esm/models/components/edgeconfigitemvalue.d.ts +29 -0
- package/esm/models/components/edgeconfigitemvalue.d.ts.map +1 -0
- package/esm/models/components/edgeconfigitemvalue.js +39 -0
- package/esm/models/components/edgeconfigitemvalue.js.map +1 -0
- package/esm/models/components/edgeconfigtoken.d.ts +43 -0
- package/esm/models/components/edgeconfigtoken.d.ts.map +1 -0
- package/esm/models/components/edgeconfigtoken.js +39 -0
- package/esm/models/components/edgeconfigtoken.js.map +1 -0
- package/esm/models/components/filetree.d.ts +109 -0
- package/esm/models/components/filetree.d.ts.map +1 -0
- package/esm/models/components/filetree.js +69 -0
- package/esm/models/components/filetree.js.map +1 -0
- package/esm/models/components/flagjsonvalue.d.ts +29 -0
- package/esm/models/components/flagjsonvalue.d.ts.map +1 -0
- package/esm/models/components/flagjsonvalue.js +39 -0
- package/esm/models/components/flagjsonvalue.js.map +1 -0
- package/esm/models/components/pagination.d.ts +45 -0
- package/esm/models/components/pagination.d.ts.map +1 -0
- package/esm/models/components/pagination.js +35 -0
- package/esm/models/components/pagination.js.map +1 -0
- package/esm/models/components/security.d.ts +29 -0
- package/esm/models/components/security.d.ts.map +1 -0
- package/esm/models/components/security.js +31 -0
- package/esm/models/components/security.js.map +1 -0
- package/esm/models/components/teamlimited.d.ts +440 -0
- package/esm/models/components/teamlimited.d.ts.map +1 -0
- package/esm/models/components/teamlimited.js +327 -0
- package/esm/models/components/teamlimited.js.map +1 -0
- package/esm/models/components/userevent.d.ts +28 -0
- package/esm/models/components/userevent.d.ts.map +1 -0
- package/esm/models/components/userevent.js +27 -0
- package/esm/models/components/userevent.js.map +1 -0
- package/esm/models/errors/httpclienterrors.d.ts +44 -0
- package/esm/models/errors/httpclienterrors.d.ts.map +1 -0
- package/esm/models/errors/httpclienterrors.js +69 -0
- package/esm/models/errors/httpclienterrors.js.map +1 -0
- package/esm/models/errors/sdkerror.d.ts +8 -0
- package/esm/models/errors/sdkerror.d.ts.map +1 -0
- package/esm/models/errors/sdkerror.js +17 -0
- package/esm/models/errors/sdkerror.js.map +1 -0
- package/esm/models/errors/sdkvalidationerror.d.ts +20 -0
- package/esm/models/errors/sdkvalidationerror.d.ts.map +1 -0
- package/esm/models/errors/sdkvalidationerror.js +77 -0
- package/esm/models/errors/sdkvalidationerror.js.map +1 -0
- package/esm/models/operations/addprojectdomain.d.ts +213 -0
- package/esm/models/operations/addprojectdomain.d.ts.map +1 -0
- package/esm/models/operations/addprojectdomain.js +179 -0
- package/esm/models/operations/addprojectdomain.js.map +1 -0
- package/esm/models/operations/addprojectmember.d.ts +325 -0
- package/esm/models/operations/addprojectmember.d.ts.map +1 -0
- package/esm/models/operations/addprojectmember.js +271 -0
- package/esm/models/operations/addprojectmember.js.map +1 -0
- package/esm/models/operations/artifactexists.d.ts +42 -0
- package/esm/models/operations/artifactexists.d.ts.map +1 -0
- package/esm/models/operations/artifactexists.js +35 -0
- package/esm/models/operations/artifactexists.js.map +1 -0
- package/esm/models/operations/artifactquery.d.ts +167 -0
- package/esm/models/operations/artifactquery.d.ts.map +1 -0
- package/esm/models/operations/artifactquery.js +176 -0
- package/esm/models/operations/artifactquery.js.map +1 -0
- package/esm/models/operations/assignalias.d.ts +123 -0
- package/esm/models/operations/assignalias.d.ts.map +1 -0
- package/esm/models/operations/assignalias.js +104 -0
- package/esm/models/operations/assignalias.js.map +1 -0
- package/esm/models/operations/buydomain.d.ts +264 -0
- package/esm/models/operations/buydomain.d.ts.map +1 -0
- package/esm/models/operations/buydomain.js +236 -0
- package/esm/models/operations/buydomain.js.map +1 -0
- package/esm/models/operations/canceldeployment.d.ts +2936 -0
- package/esm/models/operations/canceldeployment.d.ts.map +1 -0
- package/esm/models/operations/canceldeployment.js +2690 -0
- package/esm/models/operations/canceldeployment.js.map +1 -0
- package/esm/models/operations/checkdomainprice.d.ts +109 -0
- package/esm/models/operations/checkdomainprice.d.ts.map +1 -0
- package/esm/models/operations/checkdomainprice.js +82 -0
- package/esm/models/operations/checkdomainprice.js.map +1 -0
- package/esm/models/operations/checkdomainstatus.d.ts +70 -0
- package/esm/models/operations/checkdomainstatus.d.ts.map +1 -0
- package/esm/models/operations/checkdomainstatus.js +60 -0
- package/esm/models/operations/checkdomainstatus.js.map +1 -0
- package/esm/models/operations/createaccessgroup.d.ts +194 -0
- package/esm/models/operations/createaccessgroup.d.ts.map +1 -0
- package/esm/models/operations/createaccessgroup.js +164 -0
- package/esm/models/operations/createaccessgroup.js.map +1 -0
- package/esm/models/operations/createaccessgroupproject.d.ts +172 -0
- package/esm/models/operations/createaccessgroupproject.d.ts.map +1 -0
- package/esm/models/operations/createaccessgroupproject.js +154 -0
- package/esm/models/operations/createaccessgroupproject.js.map +1 -0
- package/esm/models/operations/createauthtoken.d.ts +103 -0
- package/esm/models/operations/createauthtoken.d.ts.map +1 -0
- package/esm/models/operations/createauthtoken.js +101 -0
- package/esm/models/operations/createauthtoken.js.map +1 -0
- package/esm/models/operations/createcheck.d.ts +531 -0
- package/esm/models/operations/createcheck.d.ts.map +1 -0
- package/esm/models/operations/createcheck.js +487 -0
- package/esm/models/operations/createcheck.js.map +1 -0
- package/esm/models/operations/createconfigurablelogdrain.d.ts +445 -0
- package/esm/models/operations/createconfigurablelogdrain.d.ts.map +1 -0
- package/esm/models/operations/createconfigurablelogdrain.js +353 -0
- package/esm/models/operations/createconfigurablelogdrain.js.map +1 -0
- package/esm/models/operations/createdeployment.d.ts +3934 -0
- package/esm/models/operations/createdeployment.d.ts.map +1 -0
- package/esm/models/operations/createdeployment.js +3463 -0
- package/esm/models/operations/createdeployment.js.map +1 -0
- package/esm/models/operations/createedgeconfig.d.ts +332 -0
- package/esm/models/operations/createedgeconfig.d.ts.map +1 -0
- package/esm/models/operations/createedgeconfig.js +407 -0
- package/esm/models/operations/createedgeconfig.js.map +1 -0
- package/esm/models/operations/createedgeconfigtoken.d.ts +93 -0
- package/esm/models/operations/createedgeconfigtoken.d.ts.map +1 -0
- package/esm/models/operations/createedgeconfigtoken.js +100 -0
- package/esm/models/operations/createedgeconfigtoken.js.map +1 -0
- package/esm/models/operations/createevent.d.ts +187 -0
- package/esm/models/operations/createevent.d.ts.map +1 -0
- package/esm/models/operations/createevent.js +195 -0
- package/esm/models/operations/createevent.js.map +1 -0
- package/esm/models/operations/createlogdrain.d.ts +440 -0
- package/esm/models/operations/createlogdrain.d.ts.map +1 -0
- package/esm/models/operations/createlogdrain.js +298 -0
- package/esm/models/operations/createlogdrain.js.map +1 -0
- package/esm/models/operations/createortransferdomain.d.ts +388 -0
- package/esm/models/operations/createortransferdomain.d.ts.map +1 -0
- package/esm/models/operations/createortransferdomain.js +310 -0
- package/esm/models/operations/createortransferdomain.js.map +1 -0
- package/esm/models/operations/createproject.d.ts +5219 -0
- package/esm/models/operations/createproject.d.ts.map +1 -0
- package/esm/models/operations/createproject.js +4624 -0
- package/esm/models/operations/createproject.js.map +1 -0
- package/esm/models/operations/createprojectenv.d.ts +2820 -0
- package/esm/models/operations/createprojectenv.d.ts.map +1 -0
- package/esm/models/operations/createprojectenv.js +2660 -0
- package/esm/models/operations/createprojectenv.js.map +1 -0
- package/esm/models/operations/createrecord.d.ts +1216 -0
- package/esm/models/operations/createrecord.d.ts.map +1 -0
- package/esm/models/operations/createrecord.js +884 -0
- package/esm/models/operations/createrecord.js.map +1 -0
- package/esm/models/operations/createteam.d.ts +190 -0
- package/esm/models/operations/createteam.d.ts.map +1 -0
- package/esm/models/operations/createteam.js +149 -0
- package/esm/models/operations/createteam.js.map +1 -0
- package/esm/models/operations/createwebhook.d.ts +422 -0
- package/esm/models/operations/createwebhook.d.ts.map +1 -0
- package/esm/models/operations/createwebhook.js +232 -0
- package/esm/models/operations/createwebhook.js.map +1 -0
- package/esm/models/operations/deleteaccessgroup.d.ts +39 -0
- package/esm/models/operations/deleteaccessgroup.d.ts.map +1 -0
- package/esm/models/operations/deleteaccessgroup.js +35 -0
- package/esm/models/operations/deleteaccessgroup.js.map +1 -0
- package/esm/models/operations/deleteaccessgroupproject.d.ts +41 -0
- package/esm/models/operations/deleteaccessgroupproject.d.ts.map +1 -0
- package/esm/models/operations/deleteaccessgroupproject.js +37 -0
- package/esm/models/operations/deleteaccessgroupproject.js.map +1 -0
- package/esm/models/operations/deletealias.d.ts +93 -0
- package/esm/models/operations/deletealias.d.ts.map +1 -0
- package/esm/models/operations/deletealias.js +78 -0
- package/esm/models/operations/deletealias.js.map +1 -0
- package/esm/models/operations/deleteauthtoken.d.ts +63 -0
- package/esm/models/operations/deleteauthtoken.d.ts.map +1 -0
- package/esm/models/operations/deleteauthtoken.js +56 -0
- package/esm/models/operations/deleteauthtoken.js.map +1 -0
- package/esm/models/operations/deleteconfigurablelogdrain.d.ts +39 -0
- package/esm/models/operations/deleteconfigurablelogdrain.d.ts.map +1 -0
- package/esm/models/operations/deleteconfigurablelogdrain.js +35 -0
- package/esm/models/operations/deleteconfigurablelogdrain.js.map +1 -0
- package/esm/models/operations/deleteconfiguration.d.ts +39 -0
- package/esm/models/operations/deleteconfiguration.d.ts.map +1 -0
- package/esm/models/operations/deleteconfiguration.js +35 -0
- package/esm/models/operations/deleteconfiguration.js.map +1 -0
- package/esm/models/operations/deletedeployment.d.ts +112 -0
- package/esm/models/operations/deletedeployment.d.ts.map +1 -0
- package/esm/models/operations/deletedeployment.js +85 -0
- package/esm/models/operations/deletedeployment.js.map +1 -0
- package/esm/models/operations/deletedomain.d.ts +73 -0
- package/esm/models/operations/deletedomain.d.ts.map +1 -0
- package/esm/models/operations/deletedomain.js +60 -0
- package/esm/models/operations/deletedomain.js.map +1 -0
- package/esm/models/operations/deleteedgeconfig.d.ts +39 -0
- package/esm/models/operations/deleteedgeconfig.d.ts.map +1 -0
- package/esm/models/operations/deleteedgeconfig.js +35 -0
- package/esm/models/operations/deleteedgeconfig.js.map +1 -0
- package/esm/models/operations/deleteedgeconfigschema.d.ts +39 -0
- package/esm/models/operations/deleteedgeconfigschema.d.ts.map +1 -0
- package/esm/models/operations/deleteedgeconfigschema.js +35 -0
- package/esm/models/operations/deleteedgeconfigschema.js.map +1 -0
- package/esm/models/operations/deleteedgeconfigtokens.d.ts +66 -0
- package/esm/models/operations/deleteedgeconfigtokens.d.ts.map +1 -0
- package/esm/models/operations/deleteedgeconfigtokens.js +73 -0
- package/esm/models/operations/deleteedgeconfigtokens.js.map +1 -0
- package/esm/models/operations/deleteintegrationlogdrain.d.ts +42 -0
- package/esm/models/operations/deleteintegrationlogdrain.d.ts.map +1 -0
- package/esm/models/operations/deleteintegrationlogdrain.js +35 -0
- package/esm/models/operations/deleteintegrationlogdrain.js.map +1 -0
- package/esm/models/operations/deleteproject.d.ts +42 -0
- package/esm/models/operations/deleteproject.d.ts.map +1 -0
- package/esm/models/operations/deleteproject.js +35 -0
- package/esm/models/operations/deleteproject.js.map +1 -0
- package/esm/models/operations/deleteteam.d.ts +144 -0
- package/esm/models/operations/deleteteam.d.ts.map +1 -0
- package/esm/models/operations/deleteteam.js +125 -0
- package/esm/models/operations/deleteteam.js.map +1 -0
- package/esm/models/operations/deleteteaminvitecode.d.ts +68 -0
- package/esm/models/operations/deleteteaminvitecode.d.ts.map +1 -0
- package/esm/models/operations/deleteteaminvitecode.js +58 -0
- package/esm/models/operations/deleteteaminvitecode.js.map +1 -0
- package/esm/models/operations/deletewebhook.d.ts +39 -0
- package/esm/models/operations/deletewebhook.d.ts.map +1 -0
- package/esm/models/operations/deletewebhook.js +35 -0
- package/esm/models/operations/deletewebhook.js.map +1 -0
- package/esm/models/operations/downloadartifact.d.ts +52 -0
- package/esm/models/operations/downloadartifact.d.ts.map +1 -0
- package/esm/models/operations/downloadartifact.js +50 -0
- package/esm/models/operations/downloadartifact.js.map +1 -0
- package/esm/models/operations/editprojectenv.d.ts +1188 -0
- package/esm/models/operations/editprojectenv.d.ts.map +1 -0
- package/esm/models/operations/editprojectenv.js +1118 -0
- package/esm/models/operations/editprojectenv.js.map +1 -0
- package/esm/models/operations/exchangessotoken.d.ts +81 -0
- package/esm/models/operations/exchangessotoken.d.ts.map +1 -0
- package/esm/models/operations/exchangessotoken.js +93 -0
- package/esm/models/operations/exchangessotoken.js.map +1 -0
- package/esm/models/operations/filterprojectenvs.d.ts +3154 -0
- package/esm/models/operations/filterprojectenvs.d.ts.map +1 -0
- package/esm/models/operations/filterprojectenvs.js +3045 -0
- package/esm/models/operations/filterprojectenvs.js.map +1 -0
- package/esm/models/operations/getaccountinfo.d.ts +85 -0
- package/esm/models/operations/getaccountinfo.d.ts.map +1 -0
- package/esm/models/operations/getaccountinfo.js +87 -0
- package/esm/models/operations/getaccountinfo.js.map +1 -0
- package/esm/models/operations/getalias.d.ts +508 -0
- package/esm/models/operations/getalias.d.ts.map +1 -0
- package/esm/models/operations/getalias.js +406 -0
- package/esm/models/operations/getalias.js.map +1 -0
- package/esm/models/operations/getallchecks.d.ts +495 -0
- package/esm/models/operations/getallchecks.d.ts.map +1 -0
- package/esm/models/operations/getallchecks.js +462 -0
- package/esm/models/operations/getallchecks.js.map +1 -0
- package/esm/models/operations/getalllogdrains.d.ts +289 -0
- package/esm/models/operations/getalllogdrains.d.ts.map +1 -0
- package/esm/models/operations/getalllogdrains.js +228 -0
- package/esm/models/operations/getalllogdrains.js.map +1 -0
- package/esm/models/operations/getauthtoken.d.ts +64 -0
- package/esm/models/operations/getauthtoken.d.ts.map +1 -0
- package/esm/models/operations/getauthtoken.js +57 -0
- package/esm/models/operations/getauthtoken.js.map +1 -0
- package/esm/models/operations/getauthuser.d.ts +55 -0
- package/esm/models/operations/getauthuser.d.ts.map +1 -0
- package/esm/models/operations/getauthuser.js +55 -0
- package/esm/models/operations/getauthuser.js.map +1 -0
- package/esm/models/operations/getcertbyid.d.ts +75 -0
- package/esm/models/operations/getcertbyid.d.ts.map +1 -0
- package/esm/models/operations/getcertbyid.js +68 -0
- package/esm/models/operations/getcertbyid.js.map +1 -0
- package/esm/models/operations/getcheck.d.ts +481 -0
- package/esm/models/operations/getcheck.d.ts.map +1 -0
- package/esm/models/operations/getcheck.js +444 -0
- package/esm/models/operations/getcheck.js.map +1 -0
- package/esm/models/operations/getconfigurablelogdrain.d.ts +286 -0
- package/esm/models/operations/getconfigurablelogdrain.d.ts.map +1 -0
- package/esm/models/operations/getconfigurablelogdrain.js +227 -0
- package/esm/models/operations/getconfigurablelogdrain.js.map +1 -0
- package/esm/models/operations/getconfiguration.d.ts +756 -0
- package/esm/models/operations/getconfiguration.d.ts.map +1 -0
- package/esm/models/operations/getconfiguration.js +568 -0
- package/esm/models/operations/getconfiguration.js.map +1 -0
- package/esm/models/operations/getconfigurations.d.ts +995 -0
- package/esm/models/operations/getconfigurations.d.ts.map +1 -0
- package/esm/models/operations/getconfigurations.js +790 -0
- package/esm/models/operations/getconfigurations.js.map +1 -0
- package/esm/models/operations/getdeployment.d.ts +4284 -0
- package/esm/models/operations/getdeployment.d.ts.map +1 -0
- package/esm/models/operations/getdeployment.js +3955 -0
- package/esm/models/operations/getdeployment.js.map +1 -0
- package/esm/models/operations/getdeploymentevents.d.ts +137 -0
- package/esm/models/operations/getdeploymentevents.d.ts.map +1 -0
- package/esm/models/operations/getdeploymentevents.js +97 -0
- package/esm/models/operations/getdeploymentevents.js.map +1 -0
- package/esm/models/operations/getdeploymentfilecontents.d.ts +52 -0
- package/esm/models/operations/getdeploymentfilecontents.d.ts.map +1 -0
- package/esm/models/operations/getdeploymentfilecontents.js +39 -0
- package/esm/models/operations/getdeploymentfilecontents.js.map +1 -0
- package/esm/models/operations/getdeployments.d.ts +1105 -0
- package/esm/models/operations/getdeployments.d.ts.map +1 -0
- package/esm/models/operations/getdeployments.js +723 -0
- package/esm/models/operations/getdeployments.js.map +1 -0
- package/esm/models/operations/getdomain.d.ts +245 -0
- package/esm/models/operations/getdomain.d.ts.map +1 -0
- package/esm/models/operations/getdomain.js +176 -0
- package/esm/models/operations/getdomain.js.map +1 -0
- package/esm/models/operations/getdomainconfig.d.ts +185 -0
- package/esm/models/operations/getdomainconfig.d.ts.map +1 -0
- package/esm/models/operations/getdomainconfig.js +135 -0
- package/esm/models/operations/getdomainconfig.js.map +1 -0
- package/esm/models/operations/getdomains.d.ts +259 -0
- package/esm/models/operations/getdomains.d.ts.map +1 -0
- package/esm/models/operations/getdomains.js +180 -0
- package/esm/models/operations/getdomains.js.map +1 -0
- package/esm/models/operations/getdomaintransfer.d.ts +169 -0
- package/esm/models/operations/getdomaintransfer.d.ts.map +1 -0
- package/esm/models/operations/getdomaintransfer.js +118 -0
- package/esm/models/operations/getdomaintransfer.js.map +1 -0
- package/esm/models/operations/getedgeconfig.d.ts +196 -0
- package/esm/models/operations/getedgeconfig.d.ts.map +1 -0
- package/esm/models/operations/getedgeconfig.js +175 -0
- package/esm/models/operations/getedgeconfig.js.map +1 -0
- package/esm/models/operations/getedgeconfigbackup.d.ts +398 -0
- package/esm/models/operations/getedgeconfigbackup.d.ts.map +1 -0
- package/esm/models/operations/getedgeconfigbackup.js +386 -0
- package/esm/models/operations/getedgeconfigbackup.js.map +1 -0
- package/esm/models/operations/getedgeconfigbackups.d.ts +159 -0
- package/esm/models/operations/getedgeconfigbackups.d.ts.map +1 -0
- package/esm/models/operations/getedgeconfigbackups.js +157 -0
- package/esm/models/operations/getedgeconfigbackups.js.map +1 -0
- package/esm/models/operations/getedgeconfigitem.d.ts +41 -0
- package/esm/models/operations/getedgeconfigitem.d.ts.map +1 -0
- package/esm/models/operations/getedgeconfigitem.js +37 -0
- package/esm/models/operations/getedgeconfigitem.js.map +1 -0
- package/esm/models/operations/getedgeconfigitems.d.ts +39 -0
- package/esm/models/operations/getedgeconfigitems.d.ts.map +1 -0
- package/esm/models/operations/getedgeconfigitems.js +35 -0
- package/esm/models/operations/getedgeconfigitems.js.map +1 -0
- package/esm/models/operations/getedgeconfigs.d.ts +191 -0
- package/esm/models/operations/getedgeconfigs.d.ts.map +1 -0
- package/esm/models/operations/getedgeconfigs.js +174 -0
- package/esm/models/operations/getedgeconfigs.js.map +1 -0
- package/esm/models/operations/getedgeconfigschema.d.ts +63 -0
- package/esm/models/operations/getedgeconfigschema.d.ts.map +1 -0
- package/esm/models/operations/getedgeconfigschema.js +56 -0
- package/esm/models/operations/getedgeconfigschema.js.map +1 -0
- package/esm/models/operations/getedgeconfigtoken.d.ts +41 -0
- package/esm/models/operations/getedgeconfigtoken.d.ts.map +1 -0
- package/esm/models/operations/getedgeconfigtoken.js +37 -0
- package/esm/models/operations/getedgeconfigtoken.js.map +1 -0
- package/esm/models/operations/getedgeconfigtokens.d.ts +39 -0
- package/esm/models/operations/getedgeconfigtokens.d.ts.map +1 -0
- package/esm/models/operations/getedgeconfigtokens.js +35 -0
- package/esm/models/operations/getedgeconfigtokens.js.map +1 -0
- package/esm/models/operations/getfirewallconfig.d.ts +1347 -0
- package/esm/models/operations/getfirewallconfig.d.ts.map +1 -0
- package/esm/models/operations/getfirewallconfig.js +1168 -0
- package/esm/models/operations/getfirewallconfig.js.map +1 -0
- package/esm/models/operations/getintegrationlogdrains.d.ts +281 -0
- package/esm/models/operations/getintegrationlogdrains.d.ts.map +1 -0
- package/esm/models/operations/getintegrationlogdrains.js +184 -0
- package/esm/models/operations/getintegrationlogdrains.js.map +1 -0
- package/esm/models/operations/getinvoice.d.ts +232 -0
- package/esm/models/operations/getinvoice.d.ts.map +1 -0
- package/esm/models/operations/getinvoice.js +219 -0
- package/esm/models/operations/getinvoice.js.map +1 -0
- package/esm/models/operations/getmember.d.ts +84 -0
- package/esm/models/operations/getmember.d.ts.map +1 -0
- package/esm/models/operations/getmember.js +79 -0
- package/esm/models/operations/getmember.js.map +1 -0
- package/esm/models/operations/getprojectdomain.d.ts +132 -0
- package/esm/models/operations/getprojectdomain.d.ts.map +1 -0
- package/esm/models/operations/getprojectdomain.js +113 -0
- package/esm/models/operations/getprojectdomain.js.map +1 -0
- package/esm/models/operations/getprojectdomains.d.ts +367 -0
- package/esm/models/operations/getprojectdomains.d.ts.map +1 -0
- package/esm/models/operations/getprojectdomains.js +272 -0
- package/esm/models/operations/getprojectdomains.js.map +1 -0
- package/esm/models/operations/getprojectenv.d.ts +3034 -0
- package/esm/models/operations/getprojectenv.d.ts.map +1 -0
- package/esm/models/operations/getprojectenv.js +2955 -0
- package/esm/models/operations/getprojectenv.js.map +1 -0
- package/esm/models/operations/getprojectmembers.d.ts +357 -0
- package/esm/models/operations/getprojectmembers.d.ts.map +1 -0
- package/esm/models/operations/getprojectmembers.js +262 -0
- package/esm/models/operations/getprojectmembers.js.map +1 -0
- package/esm/models/operations/getprojects.d.ts +4792 -0
- package/esm/models/operations/getprojects.d.ts.map +1 -0
- package/esm/models/operations/getprojects.js +4372 -0
- package/esm/models/operations/getprojects.js.map +1 -0
- package/esm/models/operations/getrecords.d.ts +330 -0
- package/esm/models/operations/getrecords.d.ts.map +1 -0
- package/esm/models/operations/getrecords.js +271 -0
- package/esm/models/operations/getrecords.js.map +1 -0
- package/esm/models/operations/getteam.d.ts +37 -0
- package/esm/models/operations/getteam.d.ts.map +1 -0
- package/esm/models/operations/getteam.js +33 -0
- package/esm/models/operations/getteam.js.map +1 -0
- package/esm/models/operations/getteamaccessrequest.d.ts +303 -0
- package/esm/models/operations/getteamaccessrequest.d.ts.map +1 -0
- package/esm/models/operations/getteamaccessrequest.js +241 -0
- package/esm/models/operations/getteamaccessrequest.js.map +1 -0
- package/esm/models/operations/getteammembers.d.ts +691 -0
- package/esm/models/operations/getteammembers.d.ts.map +1 -0
- package/esm/models/operations/getteammembers.js +514 -0
- package/esm/models/operations/getteammembers.js.map +1 -0
- package/esm/models/operations/getteams.d.ts +106 -0
- package/esm/models/operations/getteams.d.ts.map +1 -0
- package/esm/models/operations/getteams.js +86 -0
- package/esm/models/operations/getteams.js.map +1 -0
- package/esm/models/operations/getwebhook.d.ts +246 -0
- package/esm/models/operations/getwebhook.d.ts.map +1 -0
- package/esm/models/operations/getwebhook.js +133 -0
- package/esm/models/operations/getwebhook.js.map +1 -0
- package/esm/models/operations/getwebhooks.d.ts +660 -0
- package/esm/models/operations/getwebhooks.d.ts.map +1 -0
- package/esm/models/operations/getwebhooks.js +355 -0
- package/esm/models/operations/getwebhooks.js.map +1 -0
- package/esm/models/operations/gitnamespaces.d.ts +126 -0
- package/esm/models/operations/gitnamespaces.d.ts.map +1 -0
- package/esm/models/operations/gitnamespaces.js +115 -0
- package/esm/models/operations/gitnamespaces.js.map +1 -0
- package/esm/models/operations/inviteusertoteam.d.ts +361 -0
- package/esm/models/operations/inviteusertoteam.d.ts.map +1 -0
- package/esm/models/operations/inviteusertoteam.js +289 -0
- package/esm/models/operations/inviteusertoteam.js.map +1 -0
- package/esm/models/operations/issuecert.d.ts +100 -0
- package/esm/models/operations/issuecert.d.ts.map +1 -0
- package/esm/models/operations/issuecert.js +102 -0
- package/esm/models/operations/issuecert.js.map +1 -0
- package/esm/models/operations/jointeam.d.ts +105 -0
- package/esm/models/operations/jointeam.d.ts.map +1 -0
- package/esm/models/operations/jointeam.js +98 -0
- package/esm/models/operations/jointeam.js.map +1 -0
- package/esm/models/operations/listaccessgroupmembers.d.ts +186 -0
- package/esm/models/operations/listaccessgroupmembers.d.ts.map +1 -0
- package/esm/models/operations/listaccessgroupmembers.js +156 -0
- package/esm/models/operations/listaccessgroupmembers.js.map +1 -0
- package/esm/models/operations/listaccessgroupprojects.d.ts +197 -0
- package/esm/models/operations/listaccessgroupprojects.d.ts.map +1 -0
- package/esm/models/operations/listaccessgroupprojects.js +175 -0
- package/esm/models/operations/listaccessgroupprojects.js.map +1 -0
- package/esm/models/operations/listaccessgroups.d.ts +229 -0
- package/esm/models/operations/listaccessgroups.d.ts.map +1 -0
- package/esm/models/operations/listaccessgroups.js +192 -0
- package/esm/models/operations/listaccessgroups.js.map +1 -0
- package/esm/models/operations/listaliases.d.ts +573 -0
- package/esm/models/operations/listaliases.d.ts.map +1 -0
- package/esm/models/operations/listaliases.js +461 -0
- package/esm/models/operations/listaliases.js.map +1 -0
- package/esm/models/operations/listauthtokens.d.ts +41 -0
- package/esm/models/operations/listauthtokens.d.ts.map +1 -0
- package/esm/models/operations/listauthtokens.js +37 -0
- package/esm/models/operations/listauthtokens.js.map +1 -0
- package/esm/models/operations/listdeploymentaliases.d.ts +397 -0
- package/esm/models/operations/listdeploymentaliases.d.ts.map +1 -0
- package/esm/models/operations/listdeploymentaliases.js +350 -0
- package/esm/models/operations/listdeploymentaliases.js.map +1 -0
- package/esm/models/operations/listdeploymentfiles.d.ts +42 -0
- package/esm/models/operations/listdeploymentfiles.d.ts.map +1 -0
- package/esm/models/operations/listdeploymentfiles.js +35 -0
- package/esm/models/operations/listdeploymentfiles.js.map +1 -0
- package/esm/models/operations/listpromotealiases.d.ts +161 -0
- package/esm/models/operations/listpromotealiases.d.ts.map +1 -0
- package/esm/models/operations/listpromotealiases.js +148 -0
- package/esm/models/operations/listpromotealiases.js.map +1 -0
- package/esm/models/operations/listuserevents.d.ts +99 -0
- package/esm/models/operations/listuserevents.d.ts.map +1 -0
- package/esm/models/operations/listuserevents.js +71 -0
- package/esm/models/operations/listuserevents.js.map +1 -0
- package/esm/models/operations/patchdomain.d.ts +240 -0
- package/esm/models/operations/patchdomain.d.ts.map +1 -0
- package/esm/models/operations/patchdomain.js +247 -0
- package/esm/models/operations/patchdomain.js.map +1 -0
- package/esm/models/operations/patchedgeconfigschema.d.ts +92 -0
- package/esm/models/operations/patchedgeconfigschema.d.ts.map +1 -0
- package/esm/models/operations/patchedgeconfigschema.js +96 -0
- package/esm/models/operations/patchedgeconfigschema.js.map +1 -0
- package/esm/models/operations/patchteam.d.ts +278 -0
- package/esm/models/operations/patchteam.d.ts.map +1 -0
- package/esm/models/operations/patchteam.js +220 -0
- package/esm/models/operations/patchteam.js.map +1 -0
- package/esm/models/operations/putfirewallconfig.d.ts +2662 -0
- package/esm/models/operations/putfirewallconfig.d.ts.map +1 -0
- package/esm/models/operations/putfirewallconfig.js +2342 -0
- package/esm/models/operations/putfirewallconfig.js.map +1 -0
- package/esm/models/operations/readaccessgroup.d.ts +124 -0
- package/esm/models/operations/readaccessgroup.d.ts.map +1 -0
- package/esm/models/operations/readaccessgroup.js +94 -0
- package/esm/models/operations/readaccessgroup.js.map +1 -0
- package/esm/models/operations/readaccessgroupproject.d.ts +105 -0
- package/esm/models/operations/readaccessgroupproject.d.ts.map +1 -0
- package/esm/models/operations/readaccessgroupproject.js +92 -0
- package/esm/models/operations/readaccessgroupproject.js.map +1 -0
- package/esm/models/operations/recordevents.d.ts +160 -0
- package/esm/models/operations/recordevents.d.ts.map +1 -0
- package/esm/models/operations/recordevents.js +130 -0
- package/esm/models/operations/recordevents.js.map +1 -0
- package/esm/models/operations/removecert.d.ts +63 -0
- package/esm/models/operations/removecert.d.ts.map +1 -0
- package/esm/models/operations/removecert.js +56 -0
- package/esm/models/operations/removecert.js.map +1 -0
- package/esm/models/operations/removeprojectdomain.d.ts +71 -0
- package/esm/models/operations/removeprojectdomain.d.ts.map +1 -0
- package/esm/models/operations/removeprojectdomain.js +58 -0
- package/esm/models/operations/removeprojectdomain.js.map +1 -0
- package/esm/models/operations/removeprojectenv.d.ts +3074 -0
- package/esm/models/operations/removeprojectenv.d.ts.map +1 -0
- package/esm/models/operations/removeprojectenv.js +2988 -0
- package/esm/models/operations/removeprojectenv.js.map +1 -0
- package/esm/models/operations/removeprojectmember.d.ts +72 -0
- package/esm/models/operations/removeprojectmember.d.ts.map +1 -0
- package/esm/models/operations/removeprojectmember.js +62 -0
- package/esm/models/operations/removeprojectmember.js.map +1 -0
- package/esm/models/operations/removerecord.d.ts +65 -0
- package/esm/models/operations/removerecord.d.ts.map +1 -0
- package/esm/models/operations/removerecord.js +58 -0
- package/esm/models/operations/removerecord.js.map +1 -0
- package/esm/models/operations/removeteammember.d.ts +70 -0
- package/esm/models/operations/removeteammember.d.ts.map +1 -0
- package/esm/models/operations/removeteammember.js +60 -0
- package/esm/models/operations/removeteammember.js.map +1 -0
- package/esm/models/operations/requestaccesstoteam.d.ts +415 -0
- package/esm/models/operations/requestaccesstoteam.d.ts.map +1 -0
- package/esm/models/operations/requestaccesstoteam.js +365 -0
- package/esm/models/operations/requestaccesstoteam.js.map +1 -0
- package/esm/models/operations/requestdelete.d.ts +109 -0
- package/esm/models/operations/requestdelete.d.ts.map +1 -0
- package/esm/models/operations/requestdelete.js +88 -0
- package/esm/models/operations/requestdelete.js.map +1 -0
- package/esm/models/operations/requestpromote.d.ts +41 -0
- package/esm/models/operations/requestpromote.d.ts.map +1 -0
- package/esm/models/operations/requestpromote.js +37 -0
- package/esm/models/operations/requestpromote.js.map +1 -0
- package/esm/models/operations/rerequestcheck.d.ts +68 -0
- package/esm/models/operations/rerequestcheck.d.ts.map +1 -0
- package/esm/models/operations/rerequestcheck.js +58 -0
- package/esm/models/operations/rerequestcheck.js.map +1 -0
- package/esm/models/operations/searchrepo.d.ts +421 -0
- package/esm/models/operations/searchrepo.d.ts.map +1 -0
- package/esm/models/operations/searchrepo.js +385 -0
- package/esm/models/operations/searchrepo.js.map +1 -0
- package/esm/models/operations/status.d.ts +94 -0
- package/esm/models/operations/status.d.ts.map +1 -0
- package/esm/models/operations/status.js +79 -0
- package/esm/models/operations/status.js.map +1 -0
- package/esm/models/operations/submitbillingdata.d.ts +448 -0
- package/esm/models/operations/submitbillingdata.d.ts.map +1 -0
- package/esm/models/operations/submitbillingdata.js +355 -0
- package/esm/models/operations/submitbillingdata.js.map +1 -0
- package/esm/models/operations/submitinvoice.d.ts +299 -0
- package/esm/models/operations/submitinvoice.d.ts.map +1 -0
- package/esm/models/operations/submitinvoice.js +269 -0
- package/esm/models/operations/submitinvoice.js.map +1 -0
- package/esm/models/operations/updateaccessgroup.d.ts +231 -0
- package/esm/models/operations/updateaccessgroup.d.ts.map +1 -0
- package/esm/models/operations/updateaccessgroup.js +187 -0
- package/esm/models/operations/updateaccessgroup.js.map +1 -0
- package/esm/models/operations/updateaccessgroupproject.d.ts +169 -0
- package/esm/models/operations/updateaccessgroupproject.d.ts.map +1 -0
- package/esm/models/operations/updateaccessgroupproject.js +154 -0
- package/esm/models/operations/updateaccessgroupproject.js.map +1 -0
- package/esm/models/operations/updateattackchallengemode.d.ts +95 -0
- package/esm/models/operations/updateattackchallengemode.d.ts.map +1 -0
- package/esm/models/operations/updateattackchallengemode.js +102 -0
- package/esm/models/operations/updateattackchallengemode.js.map +1 -0
- package/esm/models/operations/updatecheck.d.ts +964 -0
- package/esm/models/operations/updatecheck.d.ts.map +1 -0
- package/esm/models/operations/updatecheck.js +860 -0
- package/esm/models/operations/updatecheck.js.map +1 -0
- package/esm/models/operations/updateedgeconfig.d.ts +223 -0
- package/esm/models/operations/updateedgeconfig.d.ts.map +1 -0
- package/esm/models/operations/updateedgeconfig.js +213 -0
- package/esm/models/operations/updateedgeconfig.js.map +1 -0
- package/esm/models/operations/updatefirewallconfig.d.ts +2007 -0
- package/esm/models/operations/updatefirewallconfig.d.ts.map +1 -0
- package/esm/models/operations/updatefirewallconfig.js +1771 -0
- package/esm/models/operations/updatefirewallconfig.js.map +1 -0
- package/esm/models/operations/updateinvoice.d.ts +91 -0
- package/esm/models/operations/updateinvoice.d.ts.map +1 -0
- package/esm/models/operations/updateinvoice.js +92 -0
- package/esm/models/operations/updateinvoice.js.map +1 -0
- package/esm/models/operations/updateproject.d.ts +5421 -0
- package/esm/models/operations/updateproject.d.ts.map +1 -0
- package/esm/models/operations/updateproject.js +4767 -0
- package/esm/models/operations/updateproject.js.map +1 -0
- package/esm/models/operations/updateprojectdatacache.d.ts +4710 -0
- package/esm/models/operations/updateprojectdatacache.d.ts.map +1 -0
- package/esm/models/operations/updateprojectdatacache.js +4369 -0
- package/esm/models/operations/updateprojectdatacache.js.map +1 -0
- package/esm/models/operations/updateprojectdomain.d.ts +213 -0
- package/esm/models/operations/updateprojectdomain.d.ts.map +1 -0
- package/esm/models/operations/updateprojectdomain.js +179 -0
- package/esm/models/operations/updateprojectdomain.js.map +1 -0
- package/esm/models/operations/updateprojectprotectionbypass.d.ts +225 -0
- package/esm/models/operations/updateprojectprotectionbypass.d.ts.map +1 -0
- package/esm/models/operations/updateprojectprotectionbypass.js +198 -0
- package/esm/models/operations/updateprojectprotectionbypass.js.map +1 -0
- package/esm/models/operations/updaterecord.d.ts +334 -0
- package/esm/models/operations/updaterecord.d.ts.map +1 -0
- package/esm/models/operations/updaterecord.js +268 -0
- package/esm/models/operations/updaterecord.js.map +1 -0
- package/esm/models/operations/updateresourcesecrets.d.ts +87 -0
- package/esm/models/operations/updateresourcesecrets.d.ts.map +1 -0
- package/esm/models/operations/updateresourcesecrets.js +100 -0
- package/esm/models/operations/updateresourcesecrets.js.map +1 -0
- package/esm/models/operations/updateteammember.d.ts +197 -0
- package/esm/models/operations/updateteammember.d.ts.map +1 -0
- package/esm/models/operations/updateteammember.js +180 -0
- package/esm/models/operations/updateteammember.js.map +1 -0
- package/esm/models/operations/uploadartifact.d.ts +100 -0
- package/esm/models/operations/uploadartifact.d.ts.map +1 -0
- package/esm/models/operations/uploadartifact.js +101 -0
- package/esm/models/operations/uploadartifact.js.map +1 -0
- package/esm/models/operations/uploadcert.d.ts +115 -0
- package/esm/models/operations/uploadcert.d.ts.map +1 -0
- package/esm/models/operations/uploadcert.js +108 -0
- package/esm/models/operations/uploadcert.js.map +1 -0
- package/esm/models/operations/uploadfile.d.ts +133 -0
- package/esm/models/operations/uploadfile.d.ts.map +1 -0
- package/esm/models/operations/uploadfile.js +129 -0
- package/esm/models/operations/uploadfile.js.map +1 -0
- package/esm/models/operations/verifyprojectdomain.d.ts +138 -0
- package/esm/models/operations/verifyprojectdomain.d.ts.map +1 -0
- package/esm/models/operations/verifyprojectdomain.js +113 -0
- package/esm/models/operations/verifyprojectdomain.js.map +1 -0
- package/esm/sdk/accessgroups.d.ts +92 -0
- package/esm/sdk/accessgroups.d.ts.map +1 -0
- package/esm/sdk/accessgroups.js +118 -0
- package/esm/sdk/accessgroups.js.map +1 -0
- package/esm/sdk/aliases.d.ts +44 -0
- package/esm/sdk/aliases.d.ts.map +1 -0
- package/esm/sdk/aliases.js +58 -0
- package/esm/sdk/aliases.js.map +1 -0
- package/esm/sdk/artifacts.d.ts +54 -0
- package/esm/sdk/artifacts.d.ts.map +1 -0
- package/esm/sdk/artifacts.js +68 -0
- package/esm/sdk/artifacts.js.map +1 -0
- package/esm/sdk/authentication.d.ts +44 -0
- package/esm/sdk/authentication.d.ts.map +1 -0
- package/esm/sdk/authentication.js +58 -0
- package/esm/sdk/authentication.js.map +1 -0
- package/esm/sdk/certs.d.ts +36 -0
- package/esm/sdk/certs.d.ts.map +1 -0
- package/esm/sdk/certs.js +48 -0
- package/esm/sdk/certs.js.map +1 -0
- package/esm/sdk/checks.d.ts +44 -0
- package/esm/sdk/checks.d.ts.map +1 -0
- package/esm/sdk/checks.js +58 -0
- package/esm/sdk/checks.js.map +1 -0
- package/esm/sdk/deployments.d.ts +77 -0
- package/esm/sdk/deployments.d.ts.map +1 -0
- package/esm/sdk/deployments.js +98 -0
- package/esm/sdk/deployments.js.map +1 -0
- package/esm/sdk/dns.d.ts +36 -0
- package/esm/sdk/dns.d.ts.map +1 -0
- package/esm/sdk/dns.js +48 -0
- package/esm/sdk/dns.js.map +1 -0
- package/esm/sdk/domains.d.ts +84 -0
- package/esm/sdk/domains.d.ts.map +1 -0
- package/esm/sdk/domains.js +108 -0
- package/esm/sdk/domains.js.map +1 -0
- package/esm/sdk/edgeconfig.d.ts +134 -0
- package/esm/sdk/edgeconfig.d.ts.map +1 -0
- package/esm/sdk/edgeconfig.js +168 -0
- package/esm/sdk/edgeconfig.js.map +1 -0
- package/esm/sdk/integrations.d.ts +44 -0
- package/esm/sdk/integrations.d.ts.map +1 -0
- package/esm/sdk/integrations.js +58 -0
- package/esm/sdk/integrations.js.map +1 -0
- package/esm/sdk/logdrains.d.ts +60 -0
- package/esm/sdk/logdrains.d.ts.map +1 -0
- package/esm/sdk/logdrains.js +78 -0
- package/esm/sdk/logdrains.js.map +1 -0
- package/esm/sdk/marketplace.d.ts +76 -0
- package/esm/sdk/marketplace.d.ts.map +1 -0
- package/esm/sdk/marketplace.js +98 -0
- package/esm/sdk/marketplace.js.map +1 -0
- package/esm/sdk/projectmembers.d.ts +28 -0
- package/esm/sdk/projectmembers.d.ts.map +1 -0
- package/esm/sdk/projectmembers.js +38 -0
- package/esm/sdk/projectmembers.js.map +1 -0
- package/esm/sdk/projects.d.ts +156 -0
- package/esm/sdk/projects.d.ts.map +1 -0
- package/esm/sdk/projects.js +198 -0
- package/esm/sdk/projects.js.map +1 -0
- package/esm/sdk/sdk.d.ts +61 -0
- package/esm/sdk/sdk.d.ts.map +1 -0
- package/esm/sdk/sdk.js +102 -0
- package/esm/sdk/sdk.js.map +1 -0
- package/esm/sdk/security.d.ts +36 -0
- package/esm/sdk/security.d.ts.map +1 -0
- package/esm/sdk/security.js +48 -0
- package/esm/sdk/security.js.map +1 -0
- package/esm/sdk/teams.d.ts +112 -0
- package/esm/sdk/teams.d.ts.map +1 -0
- package/esm/sdk/teams.js +138 -0
- package/esm/sdk/teams.js.map +1 -0
- package/esm/sdk/user.d.ts +28 -0
- package/esm/sdk/user.d.ts.map +1 -0
- package/esm/sdk/user.js +38 -0
- package/esm/sdk/user.js.map +1 -0
- package/esm/sdk/webhooks.d.ts +36 -0
- package/esm/sdk/webhooks.d.ts.map +1 -0
- package/esm/sdk/webhooks.js +48 -0
- package/esm/sdk/webhooks.js.map +1 -0
- package/esm/types/blobs.d.ts +4 -0
- package/esm/types/blobs.d.ts.map +1 -0
- package/esm/types/blobs.js +25 -0
- package/esm/types/blobs.js.map +1 -0
- package/esm/types/constdatetime.d.ts +3 -0
- package/esm/types/constdatetime.d.ts.map +1 -0
- package/esm/types/constdatetime.js +10 -0
- package/esm/types/constdatetime.js.map +1 -0
- package/esm/types/enums.d.ts +12 -0
- package/esm/types/enums.d.ts.map +1 -0
- package/esm/types/enums.js +7 -0
- package/esm/types/enums.js.map +1 -0
- package/esm/types/fp.d.ts +31 -0
- package/esm/types/fp.d.ts.map +1 -0
- package/esm/types/fp.js +31 -0
- package/esm/types/fp.js.map +1 -0
- package/esm/types/operations.d.ts +25 -0
- package/esm/types/operations.d.ts.map +1 -0
- package/esm/types/operations.js +75 -0
- package/esm/types/operations.js.map +1 -0
- package/esm/types/rfcdate.d.ts +21 -0
- package/esm/types/rfcdate.d.ts.map +1 -0
- package/esm/types/rfcdate.js +42 -0
- package/esm/types/rfcdate.js.map +1 -0
- package/esm/types/streams.d.ts +2 -0
- package/esm/types/streams.d.ts.map +1 -0
- package/esm/types/streams.js +15 -0
- package/esm/types/streams.js.map +1 -0
- package/package.json +50 -0
- package/src/core.ts +13 -0
- package/src/funcs/accessGroupsCreateAccessGroup.ts +134 -0
- package/src/funcs/accessGroupsCreateAccessGroupProject.ts +144 -0
- package/src/funcs/accessGroupsDeleteAccessGroup.ts +139 -0
- package/src/funcs/accessGroupsDeleteAccessGroupProject.ts +146 -0
- package/src/funcs/accessGroupsListAccessGroupMembers.ts +143 -0
- package/src/funcs/accessGroupsListAccessGroupProjects.ts +142 -0
- package/src/funcs/accessGroupsListAccessGroups.ts +139 -0
- package/src/funcs/accessGroupsReadAccessGroup.ts +140 -0
- package/src/funcs/accessGroupsReadAccessGroupProject.ts +147 -0
- package/src/funcs/accessGroupsUpdateAccessGroup.ts +141 -0
- package/src/funcs/accessGroupsUpdateAccessGroupProject.ts +148 -0
- package/src/funcs/aliasesAssignAlias.ts +141 -0
- package/src/funcs/aliasesDeleteAlias.ts +140 -0
- package/src/funcs/aliasesGetAlias.ts +144 -0
- package/src/funcs/aliasesListAliases.ts +140 -0
- package/src/funcs/aliasesListDeploymentAliases.ts +140 -0
- package/src/funcs/artifactsArtifactExists.ts +139 -0
- package/src/funcs/artifactsArtifactQuery.ts +135 -0
- package/src/funcs/artifactsDownloadArtifact.ts +151 -0
- package/src/funcs/artifactsRecordEvents.ts +143 -0
- package/src/funcs/artifactsStatus.ts +133 -0
- package/src/funcs/artifactsUploadArtifact.ts +166 -0
- package/src/funcs/authenticationCreateAuthToken.ts +134 -0
- package/src/funcs/authenticationDeleteAuthToken.ts +134 -0
- package/src/funcs/authenticationExchangeSsoToken.ts +125 -0
- package/src/funcs/authenticationGetAuthToken.ts +134 -0
- package/src/funcs/authenticationListAuthTokens.ts +110 -0
- package/src/funcs/certsGetCertById.ts +140 -0
- package/src/funcs/certsIssueCert.ts +134 -0
- package/src/funcs/certsRemoveCert.ts +140 -0
- package/src/funcs/certsUploadCert.ts +134 -0
- package/src/funcs/checksCreateCheck.ts +141 -0
- package/src/funcs/checksGetAllChecks.ts +140 -0
- package/src/funcs/checksGetCheck.ts +146 -0
- package/src/funcs/checksRerequestCheck.ts +146 -0
- package/src/funcs/checksUpdateCheck.ts +147 -0
- package/src/funcs/deploymentsCancelDeployment.ts +140 -0
- package/src/funcs/deploymentsCreateDeployment.ts +136 -0
- package/src/funcs/deploymentsDeleteDeployment.ts +141 -0
- package/src/funcs/deploymentsGetDeployment.ts +141 -0
- package/src/funcs/deploymentsGetDeploymentEvents.ts +148 -0
- package/src/funcs/deploymentsGetDeploymentFileContents.ts +144 -0
- package/src/funcs/deploymentsGetDeployments.ts +144 -0
- package/src/funcs/deploymentsListDeploymentFiles.ts +143 -0
- package/src/funcs/deploymentsUploadFile.ts +151 -0
- package/src/funcs/dnsCreateRecord.ts +141 -0
- package/src/funcs/dnsGetRecords.ts +143 -0
- package/src/funcs/dnsRemoveRecord.ts +146 -0
- package/src/funcs/dnsUpdateRecord.ts +141 -0
- package/src/funcs/domainsBuyDomain.ts +135 -0
- package/src/funcs/domainsCheckDomainPrice.ts +135 -0
- package/src/funcs/domainsCheckDomainStatus.ts +134 -0
- package/src/funcs/domainsCreateOrTransferDomain.ts +134 -0
- package/src/funcs/domainsDeleteDomain.ts +140 -0
- package/src/funcs/domainsGetDomain.ts +140 -0
- package/src/funcs/domainsGetDomainConfig.ts +141 -0
- package/src/funcs/domainsGetDomainTransfer.ts +140 -0
- package/src/funcs/domainsGetDomains.ts +136 -0
- package/src/funcs/domainsPatchDomain.ts +141 -0
- package/src/funcs/edgeConfigCreateEdgeConfig.ts +134 -0
- package/src/funcs/edgeConfigCreateEdgeConfigToken.ts +141 -0
- package/src/funcs/edgeConfigDeleteEdgeConfig.ts +139 -0
- package/src/funcs/edgeConfigDeleteEdgeConfigSchema.ts +139 -0
- package/src/funcs/edgeConfigDeleteEdgeConfigTokens.ts +140 -0
- package/src/funcs/edgeConfigGetEdgeConfig.ts +140 -0
- package/src/funcs/edgeConfigGetEdgeConfigBackup.ts +147 -0
- package/src/funcs/edgeConfigGetEdgeConfigBackups.ts +143 -0
- package/src/funcs/edgeConfigGetEdgeConfigItem.ts +149 -0
- package/src/funcs/edgeConfigGetEdgeConfigItems.ts +142 -0
- package/src/funcs/edgeConfigGetEdgeConfigSchema.ts +140 -0
- package/src/funcs/edgeConfigGetEdgeConfigToken.ts +148 -0
- package/src/funcs/edgeConfigGetEdgeConfigTokens.ts +142 -0
- package/src/funcs/edgeConfigGetEdgeConfigs.ts +134 -0
- package/src/funcs/edgeConfigPatchEdgeConfigSchema.ts +142 -0
- package/src/funcs/edgeConfigUpdateEdgeConfig.ts +141 -0
- package/src/funcs/integrationsDeleteConfiguration.ts +139 -0
- package/src/funcs/integrationsGetConfiguration.ts +140 -0
- package/src/funcs/integrationsGetConfigurations.ts +136 -0
- package/src/funcs/integrationsGitNamespaces.ts +134 -0
- package/src/funcs/integrationsSearchRepo.ts +138 -0
- package/src/funcs/logDrainsCreateConfigurableLogDrain.ts +134 -0
- package/src/funcs/logDrainsCreateLogDrain.ts +134 -0
- package/src/funcs/logDrainsDeleteConfigurableLogDrain.ts +139 -0
- package/src/funcs/logDrainsDeleteIntegrationLogDrain.ts +139 -0
- package/src/funcs/logDrainsGetAllLogDrains.ts +135 -0
- package/src/funcs/logDrainsGetConfigurableLogDrain.ts +140 -0
- package/src/funcs/logDrainsGetIntegrationLogDrains.ts +134 -0
- package/src/funcs/marketplaceCreateEvent.ts +137 -0
- package/src/funcs/marketplaceExchangeSsoToken.ts +125 -0
- package/src/funcs/marketplaceGetAccountInfo.ts +137 -0
- package/src/funcs/marketplaceGetInvoice.ts +141 -0
- package/src/funcs/marketplaceGetMember.ts +141 -0
- package/src/funcs/marketplaceSubmitBillingData.ts +137 -0
- package/src/funcs/marketplaceSubmitInvoice.ts +138 -0
- package/src/funcs/marketplaceUpdateInvoice.ts +141 -0
- package/src/funcs/marketplaceUpdateResourceSecrets.ts +146 -0
- package/src/funcs/projectMembersAddProjectMember.ts +141 -0
- package/src/funcs/projectMembersGetProjectMembers.ts +144 -0
- package/src/funcs/projectMembersRemoveProjectMember.ts +144 -0
- package/src/funcs/projectsAddProjectDomain.ts +141 -0
- package/src/funcs/projectsCreateProject.ts +134 -0
- package/src/funcs/projectsCreateProjectEnv.ts +142 -0
- package/src/funcs/projectsDeleteProject.ts +139 -0
- package/src/funcs/projectsEditProjectEnv.ts +145 -0
- package/src/funcs/projectsFilterProjectEnvs.ts +143 -0
- package/src/funcs/projectsGetProjectDomain.ts +146 -0
- package/src/funcs/projectsGetProjectDomains.ts +150 -0
- package/src/funcs/projectsGetProjectEnv.ts +144 -0
- package/src/funcs/projectsGetProjects.ts +144 -0
- package/src/funcs/projectsListPromoteAliases.ts +146 -0
- package/src/funcs/projectsRemoveProjectDomain.ts +146 -0
- package/src/funcs/projectsRemoveProjectEnv.ts +144 -0
- package/src/funcs/projectsRequestPromote.ts +145 -0
- package/src/funcs/projectsUpdateProject.ts +141 -0
- package/src/funcs/projectsUpdateProjectDataCache.ts +141 -0
- package/src/funcs/projectsUpdateProjectDomain.ts +147 -0
- package/src/funcs/projectsUpdateProjectProtectionBypass.ts +143 -0
- package/src/funcs/projectsVerifyProjectDomain.ts +146 -0
- package/src/funcs/securityGetFirewallConfig.ts +143 -0
- package/src/funcs/securityPutFirewallConfig.ts +135 -0
- package/src/funcs/securityUpdateAttackChallengeMode.ts +134 -0
- package/src/funcs/securityUpdateFirewallConfig.ts +135 -0
- package/src/funcs/teamsCreateTeam.ts +130 -0
- package/src/funcs/teamsDeleteTeam.ts +141 -0
- package/src/funcs/teamsDeleteTeamInviteCode.ts +138 -0
- package/src/funcs/teamsGetTeam.ts +138 -0
- package/src/funcs/teamsGetTeamAccessRequest.ts +138 -0
- package/src/funcs/teamsGetTeamMembers.ts +145 -0
- package/src/funcs/teamsGetTeams.ts +134 -0
- package/src/funcs/teamsInviteUserToTeam.ts +135 -0
- package/src/funcs/teamsJoinTeam.ts +135 -0
- package/src/funcs/teamsPatchTeam.ts +139 -0
- package/src/funcs/teamsRemoveTeamMember.ts +143 -0
- package/src/funcs/teamsRequestAccessToTeam.ts +135 -0
- package/src/funcs/teamsUpdateTeamMember.ts +139 -0
- package/src/funcs/userGetAuthUser.ts +111 -0
- package/src/funcs/userListUserEvents.ts +139 -0
- package/src/funcs/userRequestDelete.ts +130 -0
- package/src/funcs/webhooksCreateWebhook.ts +134 -0
- package/src/funcs/webhooksDeleteWebhook.ts +139 -0
- package/src/funcs/webhooksGetWebhook.ts +140 -0
- package/src/funcs/webhooksGetWebhooks.ts +134 -0
- package/src/hooks/hooks.ts +112 -0
- package/src/hooks/registration.ts +14 -0
- package/src/hooks/types.ts +102 -0
- package/src/index.ts +7 -0
- package/src/lib/base64.ts +37 -0
- package/src/lib/config.ts +64 -0
- package/src/lib/dlv.ts +53 -0
- package/src/lib/encodings.ts +449 -0
- package/src/lib/files.ts +40 -0
- package/src/lib/http.ts +323 -0
- package/src/lib/is-plain-object.ts +43 -0
- package/src/lib/logger.ts +9 -0
- package/src/lib/matchers.ts +322 -0
- package/src/lib/primitives.ts +60 -0
- package/src/lib/retries.ts +219 -0
- package/src/lib/schemas.ts +86 -0
- package/src/lib/sdks.ts +388 -0
- package/src/lib/security.ts +253 -0
- package/src/lib/url.ts +33 -0
- package/src/models/components/aclaction.ts +40 -0
- package/src/models/components/authtoken.ts +431 -0
- package/src/models/components/authuser.ts +1688 -0
- package/src/models/components/authuserlimited.ts +152 -0
- package/src/models/components/edgeconfigitem.ts +91 -0
- package/src/models/components/edgeconfigitemvalue.ts +74 -0
- package/src/models/components/edgeconfigtoken.ts +86 -0
- package/src/models/components/filetree.ts +147 -0
- package/src/models/components/flagjsonvalue.ts +73 -0
- package/src/models/components/pagination.ts +82 -0
- package/src/models/components/security.ts +62 -0
- package/src/models/components/teamlimited.ts +713 -0
- package/src/models/components/userevent.ts +57 -0
- package/src/models/errors/httpclienterrors.ts +62 -0
- package/src/models/errors/sdkerror.ts +27 -0
- package/src/models/errors/sdkvalidationerror.ts +97 -0
- package/src/models/operations/addprojectdomain.ts +413 -0
- package/src/models/operations/addprojectmember.ts +602 -0
- package/src/models/operations/artifactexists.ts +83 -0
- package/src/models/operations/artifactquery.ts +371 -0
- package/src/models/operations/assignalias.ts +249 -0
- package/src/models/operations/buydomain.ts +558 -0
- package/src/models/operations/canceldeployment.ts +5657 -0
- package/src/models/operations/checkdomainprice.ts +181 -0
- package/src/models/operations/checkdomainstatus.ts +146 -0
- package/src/models/operations/createaccessgroup.ts +369 -0
- package/src/models/operations/createaccessgroupproject.ts +322 -0
- package/src/models/operations/createauthtoken.ts +232 -0
- package/src/models/operations/createcheck.ts +980 -0
- package/src/models/operations/createconfigurablelogdrain.ts +675 -0
- package/src/models/operations/createdeployment.ts +6780 -0
- package/src/models/operations/createedgeconfig.ts +805 -0
- package/src/models/operations/createedgeconfigtoken.ts +222 -0
- package/src/models/operations/createevent.ts +373 -0
- package/src/models/operations/createlogdrain.ts +589 -0
- package/src/models/operations/createortransferdomain.ts +779 -0
- package/src/models/operations/createproject.ts +9648 -0
- package/src/models/operations/createprojectenv.ts +5728 -0
- package/src/models/operations/createrecord.ts +1802 -0
- package/src/models/operations/createteam.ts +361 -0
- package/src/models/operations/createwebhook.ts +410 -0
- package/src/models/operations/deleteaccessgroup.ts +80 -0
- package/src/models/operations/deleteaccessgroupproject.ts +86 -0
- package/src/models/operations/deletealias.ts +171 -0
- package/src/models/operations/deleteauthtoken.ts +135 -0
- package/src/models/operations/deleteconfigurablelogdrain.ts +83 -0
- package/src/models/operations/deleteconfiguration.ts +80 -0
- package/src/models/operations/deletedeployment.ts +196 -0
- package/src/models/operations/deletedomain.ts +147 -0
- package/src/models/operations/deleteedgeconfig.ts +80 -0
- package/src/models/operations/deleteedgeconfigschema.ts +82 -0
- package/src/models/operations/deleteedgeconfigtokens.ts +158 -0
- package/src/models/operations/deleteintegrationlogdrain.ts +85 -0
- package/src/models/operations/deleteproject.ts +83 -0
- package/src/models/operations/deleteteam.ts +292 -0
- package/src/models/operations/deleteteaminvitecode.ts +144 -0
- package/src/models/operations/deletewebhook.ts +80 -0
- package/src/models/operations/downloadartifact.ts +108 -0
- package/src/models/operations/editprojectenv.ts +2461 -0
- package/src/models/operations/exchangessotoken.ts +192 -0
- package/src/models/operations/filterprojectenvs.ts +7149 -0
- package/src/models/operations/getaccountinfo.ts +187 -0
- package/src/models/operations/getalias.ts +930 -0
- package/src/models/operations/getallchecks.ts +921 -0
- package/src/models/operations/getalllogdrains.ts +411 -0
- package/src/models/operations/getauthtoken.ts +139 -0
- package/src/models/operations/getauthuser.ts +121 -0
- package/src/models/operations/getcertbyid.ts +157 -0
- package/src/models/operations/getcheck.ts +865 -0
- package/src/models/operations/getconfigurablelogdrain.ts +423 -0
- package/src/models/operations/getconfiguration.ts +1266 -0
- package/src/models/operations/getconfigurations.ts +1648 -0
- package/src/models/operations/getdeployment.ts +8478 -0
- package/src/models/operations/getdeploymentevents.ts +221 -0
- package/src/models/operations/getdeploymentfilecontents.ts +99 -0
- package/src/models/operations/getdeployments.ts +1537 -0
- package/src/models/operations/getdomain.ts +423 -0
- package/src/models/operations/getdomainconfig.ts +265 -0
- package/src/models/operations/getdomains.ts +443 -0
- package/src/models/operations/getdomaintransfer.ts +241 -0
- package/src/models/operations/getedgeconfig.ts +395 -0
- package/src/models/operations/getedgeconfigbackup.ts +886 -0
- package/src/models/operations/getedgeconfigbackups.ts +355 -0
- package/src/models/operations/getedgeconfigitem.ts +84 -0
- package/src/models/operations/getedgeconfigitems.ts +80 -0
- package/src/models/operations/getedgeconfigs.ts +370 -0
- package/src/models/operations/getedgeconfigschema.ts +135 -0
- package/src/models/operations/getedgeconfigtoken.ts +84 -0
- package/src/models/operations/getedgeconfigtokens.ts +80 -0
- package/src/models/operations/getfirewallconfig.ts +2486 -0
- package/src/models/operations/getintegrationlogdrains.ts +395 -0
- package/src/models/operations/getinvoice.ts +454 -0
- package/src/models/operations/getmember.ts +160 -0
- package/src/models/operations/getprojectdomain.ts +265 -0
- package/src/models/operations/getprojectdomains.ts +571 -0
- package/src/models/operations/getprojectenv.ts +6818 -0
- package/src/models/operations/getprojectmembers.ts +615 -0
- package/src/models/operations/getprojects.ts +9087 -0
- package/src/models/operations/getrecords.ts +568 -0
- package/src/models/operations/getteam.ts +72 -0
- package/src/models/operations/getteamaccessrequest.ts +570 -0
- package/src/models/operations/getteammembers.ts +1116 -0
- package/src/models/operations/getteams.ts +204 -0
- package/src/models/operations/getwebhook.ts +260 -0
- package/src/models/operations/getwebhooks.ts +653 -0
- package/src/models/operations/gitnamespaces.ts +235 -0
- package/src/models/operations/inviteusertoteam.ts +596 -0
- package/src/models/operations/issuecert.ts +224 -0
- package/src/models/operations/jointeam.ts +223 -0
- package/src/models/operations/listaccessgroupmembers.ts +335 -0
- package/src/models/operations/listaccessgroupprojects.ts +410 -0
- package/src/models/operations/listaccessgroups.ts +473 -0
- package/src/models/operations/listaliases.ts +1077 -0
- package/src/models/operations/listauthtokens.ts +92 -0
- package/src/models/operations/listdeploymentaliases.ts +820 -0
- package/src/models/operations/listdeploymentfiles.ts +83 -0
- package/src/models/operations/listpromotealiases.ts +361 -0
- package/src/models/operations/listuserevents.ts +188 -0
- package/src/models/operations/patchdomain.ts +562 -0
- package/src/models/operations/patchedgeconfigschema.ts +217 -0
- package/src/models/operations/patchteam.ts +481 -0
- package/src/models/operations/putfirewallconfig.ts +4730 -0
- package/src/models/operations/readaccessgroup.ts +218 -0
- package/src/models/operations/readaccessgroupproject.ts +199 -0
- package/src/models/operations/recordevents.ts +256 -0
- package/src/models/operations/removecert.ts +133 -0
- package/src/models/operations/removeprojectdomain.ts +145 -0
- package/src/models/operations/removeprojectenv.ts +6986 -0
- package/src/models/operations/removeprojectmember.ts +150 -0
- package/src/models/operations/removerecord.ts +137 -0
- package/src/models/operations/removeteammember.ts +146 -0
- package/src/models/operations/requestaccesstoteam.ts +758 -0
- package/src/models/operations/requestdelete.ts +219 -0
- package/src/models/operations/requestpromote.ts +84 -0
- package/src/models/operations/rerequestcheck.ts +140 -0
- package/src/models/operations/searchrepo.ts +784 -0
- package/src/models/operations/status.ts +158 -0
- package/src/models/operations/submitbillingdata.ts +813 -0
- package/src/models/operations/submitinvoice.ts +593 -0
- package/src/models/operations/updateaccessgroup.ts +412 -0
- package/src/models/operations/updateaccessgroupproject.ts +319 -0
- package/src/models/operations/updateattackchallengemode.ts +231 -0
- package/src/models/operations/updatecheck.ts +1687 -0
- package/src/models/operations/updateedgeconfig.ts +472 -0
- package/src/models/operations/updatefirewallconfig.ts +3875 -0
- package/src/models/operations/updateinvoice.ts +180 -0
- package/src/models/operations/updateproject.ts +9998 -0
- package/src/models/operations/updateprojectdatacache.ts +8901 -0
- package/src/models/operations/updateprojectdomain.ts +406 -0
- package/src/models/operations/updateprojectprotectionbypass.ts +497 -0
- package/src/models/operations/updaterecord.ts +515 -0
- package/src/models/operations/updateresourcesecrets.ts +206 -0
- package/src/models/operations/updateteammember.ts +396 -0
- package/src/models/operations/uploadartifact.ts +225 -0
- package/src/models/operations/uploadcert.ts +245 -0
- package/src/models/operations/uploadfile.ts +296 -0
- package/src/models/operations/verifyprojectdomain.ts +281 -0
- package/src/sdk/accessgroups.ts +244 -0
- package/src/sdk/aliases.ts +118 -0
- package/src/sdk/artifacts.ts +131 -0
- package/src/sdk/authentication.ts +113 -0
- package/src/sdk/certs.ts +96 -0
- package/src/sdk/checks.ts +118 -0
- package/src/sdk/deployments.ts +198 -0
- package/src/sdk/dns.ts +96 -0
- package/src/sdk/domains.ts +228 -0
- package/src/sdk/edgeconfig.ts +341 -0
- package/src/sdk/integrations.ts +115 -0
- package/src/sdk/logdrains.ts +156 -0
- package/src/sdk/marketplace.ts +194 -0
- package/src/sdk/projectmembers.ts +74 -0
- package/src/sdk/projects.ts +420 -0
- package/src/sdk/sdk.ts +121 -0
- package/src/sdk/security.ts +96 -0
- package/src/sdk/teams.ts +288 -0
- package/src/sdk/user.ts +69 -0
- package/src/sdk/webhooks.ts +93 -0
- package/src/types/blobs.ts +31 -0
- package/src/types/constdatetime.ts +15 -0
- package/src/types/enums.ts +16 -0
- package/src/types/fp.ts +50 -0
- package/src/types/operations.ts +99 -0
- package/src/types/rfcdate.ts +54 -0
- package/src/types/streams.ts +21 -0
|
@@ -0,0 +1,4730 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
9
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
|
|
12
|
+
export type Owasp = {
|
|
13
|
+
active: boolean;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export type ManagedRules = {
|
|
17
|
+
owasp: Owasp;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export const PutFirewallConfigAction = {
|
|
21
|
+
Deny: "deny",
|
|
22
|
+
Log: "log",
|
|
23
|
+
} as const;
|
|
24
|
+
export type PutFirewallConfigAction = ClosedEnum<
|
|
25
|
+
typeof PutFirewallConfigAction
|
|
26
|
+
>;
|
|
27
|
+
|
|
28
|
+
export type Sd = {
|
|
29
|
+
active: boolean;
|
|
30
|
+
action: PutFirewallConfigAction;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
export const PutFirewallConfigSecurityAction = {
|
|
34
|
+
Deny: "deny",
|
|
35
|
+
Log: "log",
|
|
36
|
+
} as const;
|
|
37
|
+
export type PutFirewallConfigSecurityAction = ClosedEnum<
|
|
38
|
+
typeof PutFirewallConfigSecurityAction
|
|
39
|
+
>;
|
|
40
|
+
|
|
41
|
+
export type Ma = {
|
|
42
|
+
active: boolean;
|
|
43
|
+
action: PutFirewallConfigSecurityAction;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
export const PutFirewallConfigSecurityRequestAction = {
|
|
47
|
+
Deny: "deny",
|
|
48
|
+
Log: "log",
|
|
49
|
+
} as const;
|
|
50
|
+
export type PutFirewallConfigSecurityRequestAction = ClosedEnum<
|
|
51
|
+
typeof PutFirewallConfigSecurityRequestAction
|
|
52
|
+
>;
|
|
53
|
+
|
|
54
|
+
export type Lfi = {
|
|
55
|
+
active: boolean;
|
|
56
|
+
action: PutFirewallConfigSecurityRequestAction;
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
export const PutFirewallConfigSecurityRequestRequestBodyAction = {
|
|
60
|
+
Deny: "deny",
|
|
61
|
+
Log: "log",
|
|
62
|
+
} as const;
|
|
63
|
+
export type PutFirewallConfigSecurityRequestRequestBodyAction = ClosedEnum<
|
|
64
|
+
typeof PutFirewallConfigSecurityRequestRequestBodyAction
|
|
65
|
+
>;
|
|
66
|
+
|
|
67
|
+
export type Rfi = {
|
|
68
|
+
active: boolean;
|
|
69
|
+
action: PutFirewallConfigSecurityRequestRequestBodyAction;
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
export const PutFirewallConfigSecurityRequestRequestBodyCrsAction = {
|
|
73
|
+
Deny: "deny",
|
|
74
|
+
Log: "log",
|
|
75
|
+
} as const;
|
|
76
|
+
export type PutFirewallConfigSecurityRequestRequestBodyCrsAction = ClosedEnum<
|
|
77
|
+
typeof PutFirewallConfigSecurityRequestRequestBodyCrsAction
|
|
78
|
+
>;
|
|
79
|
+
|
|
80
|
+
export type Rce = {
|
|
81
|
+
active: boolean;
|
|
82
|
+
action: PutFirewallConfigSecurityRequestRequestBodyCrsAction;
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
export const PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction = {
|
|
86
|
+
Deny: "deny",
|
|
87
|
+
Log: "log",
|
|
88
|
+
} as const;
|
|
89
|
+
export type PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction =
|
|
90
|
+
ClosedEnum<typeof PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction>;
|
|
91
|
+
|
|
92
|
+
export type Php = {
|
|
93
|
+
active: boolean;
|
|
94
|
+
action: PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction;
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
export const PutFirewallConfigSecurityRequestRequestBodyCrsGenAction = {
|
|
98
|
+
Deny: "deny",
|
|
99
|
+
Log: "log",
|
|
100
|
+
} as const;
|
|
101
|
+
export type PutFirewallConfigSecurityRequestRequestBodyCrsGenAction =
|
|
102
|
+
ClosedEnum<typeof PutFirewallConfigSecurityRequestRequestBodyCrsGenAction>;
|
|
103
|
+
|
|
104
|
+
export type Gen = {
|
|
105
|
+
active: boolean;
|
|
106
|
+
action: PutFirewallConfigSecurityRequestRequestBodyCrsGenAction;
|
|
107
|
+
};
|
|
108
|
+
|
|
109
|
+
export const PutFirewallConfigSecurityRequestRequestBodyCrsXssAction = {
|
|
110
|
+
Deny: "deny",
|
|
111
|
+
Log: "log",
|
|
112
|
+
} as const;
|
|
113
|
+
export type PutFirewallConfigSecurityRequestRequestBodyCrsXssAction =
|
|
114
|
+
ClosedEnum<typeof PutFirewallConfigSecurityRequestRequestBodyCrsXssAction>;
|
|
115
|
+
|
|
116
|
+
export type Xss = {
|
|
117
|
+
active: boolean;
|
|
118
|
+
action: PutFirewallConfigSecurityRequestRequestBodyCrsXssAction;
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
export const PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction = {
|
|
122
|
+
Deny: "deny",
|
|
123
|
+
Log: "log",
|
|
124
|
+
} as const;
|
|
125
|
+
export type PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction =
|
|
126
|
+
ClosedEnum<typeof PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction>;
|
|
127
|
+
|
|
128
|
+
export type Sqli = {
|
|
129
|
+
active: boolean;
|
|
130
|
+
action: PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction;
|
|
131
|
+
};
|
|
132
|
+
|
|
133
|
+
export const PutFirewallConfigSecurityRequestRequestBodyCrsSfAction = {
|
|
134
|
+
Deny: "deny",
|
|
135
|
+
Log: "log",
|
|
136
|
+
} as const;
|
|
137
|
+
export type PutFirewallConfigSecurityRequestRequestBodyCrsSfAction = ClosedEnum<
|
|
138
|
+
typeof PutFirewallConfigSecurityRequestRequestBodyCrsSfAction
|
|
139
|
+
>;
|
|
140
|
+
|
|
141
|
+
export type Sf = {
|
|
142
|
+
active: boolean;
|
|
143
|
+
action: PutFirewallConfigSecurityRequestRequestBodyCrsSfAction;
|
|
144
|
+
};
|
|
145
|
+
|
|
146
|
+
export const PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction = {
|
|
147
|
+
Deny: "deny",
|
|
148
|
+
Log: "log",
|
|
149
|
+
} as const;
|
|
150
|
+
export type PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction =
|
|
151
|
+
ClosedEnum<typeof PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction>;
|
|
152
|
+
|
|
153
|
+
export type Java = {
|
|
154
|
+
active: boolean;
|
|
155
|
+
action: PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction;
|
|
156
|
+
};
|
|
157
|
+
|
|
158
|
+
export type Crs = {
|
|
159
|
+
sd?: Sd | undefined;
|
|
160
|
+
ma?: Ma | undefined;
|
|
161
|
+
lfi?: Lfi | undefined;
|
|
162
|
+
rfi?: Rfi | undefined;
|
|
163
|
+
rce?: Rce | undefined;
|
|
164
|
+
php?: Php | undefined;
|
|
165
|
+
gen?: Gen | undefined;
|
|
166
|
+
xss?: Xss | undefined;
|
|
167
|
+
sqli?: Sqli | undefined;
|
|
168
|
+
sf?: Sf | undefined;
|
|
169
|
+
java?: Java | undefined;
|
|
170
|
+
};
|
|
171
|
+
|
|
172
|
+
export const PutFirewallConfigType = {
|
|
173
|
+
Host: "host",
|
|
174
|
+
Path: "path",
|
|
175
|
+
Method: "method",
|
|
176
|
+
Header: "header",
|
|
177
|
+
Query: "query",
|
|
178
|
+
Cookie: "cookie",
|
|
179
|
+
TargetPath: "target_path",
|
|
180
|
+
IpAddress: "ip_address",
|
|
181
|
+
Region: "region",
|
|
182
|
+
Protocol: "protocol",
|
|
183
|
+
Scheme: "scheme",
|
|
184
|
+
Environment: "environment",
|
|
185
|
+
UserAgent: "user_agent",
|
|
186
|
+
GeoContinent: "geo_continent",
|
|
187
|
+
GeoCountry: "geo_country",
|
|
188
|
+
GeoCountryRegion: "geo_country_region",
|
|
189
|
+
GeoCity: "geo_city",
|
|
190
|
+
GeoAsNumber: "geo_as_number",
|
|
191
|
+
Ja4Digest: "ja4_digest",
|
|
192
|
+
Ja3Digest: "ja3_digest",
|
|
193
|
+
RateLimitApiId: "rate_limit_api_id",
|
|
194
|
+
} as const;
|
|
195
|
+
export type PutFirewallConfigType = ClosedEnum<typeof PutFirewallConfigType>;
|
|
196
|
+
|
|
197
|
+
export const Op = {
|
|
198
|
+
Re: "re",
|
|
199
|
+
Eq: "eq",
|
|
200
|
+
Neq: "neq",
|
|
201
|
+
Ex: "ex",
|
|
202
|
+
Nex: "nex",
|
|
203
|
+
Inc: "inc",
|
|
204
|
+
Ninc: "ninc",
|
|
205
|
+
Pre: "pre",
|
|
206
|
+
Suf: "suf",
|
|
207
|
+
Sub: "sub",
|
|
208
|
+
Gt: "gt",
|
|
209
|
+
Gte: "gte",
|
|
210
|
+
Lt: "lt",
|
|
211
|
+
Lte: "lte",
|
|
212
|
+
} as const;
|
|
213
|
+
export type Op = ClosedEnum<typeof Op>;
|
|
214
|
+
|
|
215
|
+
export type PutFirewallConfigValue = string | Array<string> | number;
|
|
216
|
+
|
|
217
|
+
export type Conditions = {
|
|
218
|
+
type: PutFirewallConfigType;
|
|
219
|
+
op: Op;
|
|
220
|
+
neg?: boolean | undefined;
|
|
221
|
+
key?: string | undefined;
|
|
222
|
+
value?: string | Array<string> | number | undefined;
|
|
223
|
+
};
|
|
224
|
+
|
|
225
|
+
export type ConditionGroup = {
|
|
226
|
+
conditions: Array<Conditions>;
|
|
227
|
+
};
|
|
228
|
+
|
|
229
|
+
export const PutFirewallConfigSecurityRequestRequestBodyRulesActionAction = {
|
|
230
|
+
Log: "log",
|
|
231
|
+
Challenge: "challenge",
|
|
232
|
+
Deny: "deny",
|
|
233
|
+
Bypass: "bypass",
|
|
234
|
+
RateLimit: "rate_limit",
|
|
235
|
+
Redirect: "redirect",
|
|
236
|
+
} as const;
|
|
237
|
+
export type PutFirewallConfigSecurityRequestRequestBodyRulesActionAction =
|
|
238
|
+
ClosedEnum<
|
|
239
|
+
typeof PutFirewallConfigSecurityRequestRequestBodyRulesActionAction
|
|
240
|
+
>;
|
|
241
|
+
|
|
242
|
+
export const Algo = {
|
|
243
|
+
FixedWindow: "fixed_window",
|
|
244
|
+
TokenBucket: "token_bucket",
|
|
245
|
+
} as const;
|
|
246
|
+
export type Algo = ClosedEnum<typeof Algo>;
|
|
247
|
+
|
|
248
|
+
export const Action1 = {
|
|
249
|
+
Log: "log",
|
|
250
|
+
Challenge: "challenge",
|
|
251
|
+
Deny: "deny",
|
|
252
|
+
RateLimit: "rate_limit",
|
|
253
|
+
} as const;
|
|
254
|
+
export type Action1 = ClosedEnum<typeof Action1>;
|
|
255
|
+
|
|
256
|
+
export type RateLimitAction = Action1 | any;
|
|
257
|
+
|
|
258
|
+
export type RateLimit1 = {
|
|
259
|
+
algo: Algo;
|
|
260
|
+
window: number;
|
|
261
|
+
limit: number;
|
|
262
|
+
keys: Array<string>;
|
|
263
|
+
action?: Action1 | any | null | undefined;
|
|
264
|
+
};
|
|
265
|
+
|
|
266
|
+
export type RateLimit = RateLimit1 | any;
|
|
267
|
+
|
|
268
|
+
export type Redirect1 = {
|
|
269
|
+
location: string;
|
|
270
|
+
permanent: boolean;
|
|
271
|
+
};
|
|
272
|
+
|
|
273
|
+
export type Redirect = Redirect1 | any;
|
|
274
|
+
|
|
275
|
+
export type Mitigate = {
|
|
276
|
+
action: PutFirewallConfigSecurityRequestRequestBodyRulesActionAction;
|
|
277
|
+
rateLimit?: RateLimit1 | any | null | undefined;
|
|
278
|
+
redirect?: Redirect1 | any | null | undefined;
|
|
279
|
+
actionDuration?: string | null | undefined;
|
|
280
|
+
};
|
|
281
|
+
|
|
282
|
+
export type PutFirewallConfigSecurityRequestRequestBodyRulesAction = {
|
|
283
|
+
mitigate?: Mitigate | undefined;
|
|
284
|
+
};
|
|
285
|
+
|
|
286
|
+
export type Rules = {
|
|
287
|
+
id?: string | undefined;
|
|
288
|
+
name: string;
|
|
289
|
+
description?: string | undefined;
|
|
290
|
+
active: boolean;
|
|
291
|
+
conditionGroup: Array<ConditionGroup>;
|
|
292
|
+
action: PutFirewallConfigSecurityRequestRequestBodyRulesAction;
|
|
293
|
+
};
|
|
294
|
+
|
|
295
|
+
export const PutFirewallConfigSecurityRequestRequestBodyIpsAction = {
|
|
296
|
+
Deny: "deny",
|
|
297
|
+
Challenge: "challenge",
|
|
298
|
+
Log: "log",
|
|
299
|
+
Bypass: "bypass",
|
|
300
|
+
} as const;
|
|
301
|
+
export type PutFirewallConfigSecurityRequestRequestBodyIpsAction = ClosedEnum<
|
|
302
|
+
typeof PutFirewallConfigSecurityRequestRequestBodyIpsAction
|
|
303
|
+
>;
|
|
304
|
+
|
|
305
|
+
export type Ips = {
|
|
306
|
+
id?: string | undefined;
|
|
307
|
+
hostname: string;
|
|
308
|
+
ip: string;
|
|
309
|
+
notes?: string | undefined;
|
|
310
|
+
action: PutFirewallConfigSecurityRequestRequestBodyIpsAction;
|
|
311
|
+
};
|
|
312
|
+
|
|
313
|
+
export type PutFirewallConfigRequestBody = {
|
|
314
|
+
firewallEnabled: boolean;
|
|
315
|
+
managedRules?: ManagedRules | undefined;
|
|
316
|
+
crs?: Crs | undefined;
|
|
317
|
+
rules?: Array<Rules> | undefined;
|
|
318
|
+
ips?: Array<Ips> | undefined;
|
|
319
|
+
};
|
|
320
|
+
|
|
321
|
+
export type PutFirewallConfigRequest = {
|
|
322
|
+
projectId: string;
|
|
323
|
+
/**
|
|
324
|
+
* The Team identifier to perform the request on behalf of.
|
|
325
|
+
*/
|
|
326
|
+
teamId?: string | undefined;
|
|
327
|
+
/**
|
|
328
|
+
* The Team slug to perform the request on behalf of.
|
|
329
|
+
*/
|
|
330
|
+
slug?: string | undefined;
|
|
331
|
+
requestBody?: PutFirewallConfigRequestBody | undefined;
|
|
332
|
+
};
|
|
333
|
+
|
|
334
|
+
export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction =
|
|
335
|
+
{
|
|
336
|
+
Deny: "deny",
|
|
337
|
+
Log: "log",
|
|
338
|
+
} as const;
|
|
339
|
+
export type PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction =
|
|
340
|
+
ClosedEnum<
|
|
341
|
+
typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction
|
|
342
|
+
>;
|
|
343
|
+
|
|
344
|
+
export type PutFirewallConfigSd = {
|
|
345
|
+
active: boolean;
|
|
346
|
+
action:
|
|
347
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction;
|
|
348
|
+
};
|
|
349
|
+
|
|
350
|
+
export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction =
|
|
351
|
+
{
|
|
352
|
+
Deny: "deny",
|
|
353
|
+
Log: "log",
|
|
354
|
+
} as const;
|
|
355
|
+
export type PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction =
|
|
356
|
+
ClosedEnum<
|
|
357
|
+
typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction
|
|
358
|
+
>;
|
|
359
|
+
|
|
360
|
+
export type PutFirewallConfigMa = {
|
|
361
|
+
active: boolean;
|
|
362
|
+
action:
|
|
363
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction;
|
|
364
|
+
};
|
|
365
|
+
|
|
366
|
+
export const PutFirewallConfigSecurityResponse200ApplicationJSONAction = {
|
|
367
|
+
Deny: "deny",
|
|
368
|
+
Log: "log",
|
|
369
|
+
} as const;
|
|
370
|
+
export type PutFirewallConfigSecurityResponse200ApplicationJSONAction =
|
|
371
|
+
ClosedEnum<typeof PutFirewallConfigSecurityResponse200ApplicationJSONAction>;
|
|
372
|
+
|
|
373
|
+
export type PutFirewallConfigLfi = {
|
|
374
|
+
active: boolean;
|
|
375
|
+
action: PutFirewallConfigSecurityResponse200ApplicationJSONAction;
|
|
376
|
+
};
|
|
377
|
+
|
|
378
|
+
export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction =
|
|
379
|
+
{
|
|
380
|
+
Deny: "deny",
|
|
381
|
+
Log: "log",
|
|
382
|
+
} as const;
|
|
383
|
+
export type PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction =
|
|
384
|
+
ClosedEnum<
|
|
385
|
+
typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction
|
|
386
|
+
>;
|
|
387
|
+
|
|
388
|
+
export type PutFirewallConfigRfi = {
|
|
389
|
+
active: boolean;
|
|
390
|
+
action: PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction;
|
|
391
|
+
};
|
|
392
|
+
|
|
393
|
+
export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction =
|
|
394
|
+
{
|
|
395
|
+
Deny: "deny",
|
|
396
|
+
Log: "log",
|
|
397
|
+
} as const;
|
|
398
|
+
export type PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction =
|
|
399
|
+
ClosedEnum<
|
|
400
|
+
typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction
|
|
401
|
+
>;
|
|
402
|
+
|
|
403
|
+
export type PutFirewallConfigRce = {
|
|
404
|
+
active: boolean;
|
|
405
|
+
action:
|
|
406
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction;
|
|
407
|
+
};
|
|
408
|
+
|
|
409
|
+
export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction =
|
|
410
|
+
{
|
|
411
|
+
Deny: "deny",
|
|
412
|
+
Log: "log",
|
|
413
|
+
} as const;
|
|
414
|
+
export type PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction =
|
|
415
|
+
ClosedEnum<
|
|
416
|
+
typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction
|
|
417
|
+
>;
|
|
418
|
+
|
|
419
|
+
export type PutFirewallConfigPhp = {
|
|
420
|
+
active: boolean;
|
|
421
|
+
action:
|
|
422
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction;
|
|
423
|
+
};
|
|
424
|
+
|
|
425
|
+
export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction =
|
|
426
|
+
{
|
|
427
|
+
Deny: "deny",
|
|
428
|
+
Log: "log",
|
|
429
|
+
} as const;
|
|
430
|
+
export type PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction =
|
|
431
|
+
ClosedEnum<
|
|
432
|
+
typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction
|
|
433
|
+
>;
|
|
434
|
+
|
|
435
|
+
export type PutFirewallConfigGen = {
|
|
436
|
+
active: boolean;
|
|
437
|
+
action:
|
|
438
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction;
|
|
439
|
+
};
|
|
440
|
+
|
|
441
|
+
export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction =
|
|
442
|
+
{
|
|
443
|
+
Deny: "deny",
|
|
444
|
+
Log: "log",
|
|
445
|
+
} as const;
|
|
446
|
+
export type PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction =
|
|
447
|
+
ClosedEnum<
|
|
448
|
+
typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction
|
|
449
|
+
>;
|
|
450
|
+
|
|
451
|
+
export type PutFirewallConfigXss = {
|
|
452
|
+
active: boolean;
|
|
453
|
+
action:
|
|
454
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction;
|
|
455
|
+
};
|
|
456
|
+
|
|
457
|
+
export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction =
|
|
458
|
+
{
|
|
459
|
+
Deny: "deny",
|
|
460
|
+
Log: "log",
|
|
461
|
+
} as const;
|
|
462
|
+
export type PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction =
|
|
463
|
+
ClosedEnum<
|
|
464
|
+
typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction
|
|
465
|
+
>;
|
|
466
|
+
|
|
467
|
+
export type PutFirewallConfigSqli = {
|
|
468
|
+
active: boolean;
|
|
469
|
+
action:
|
|
470
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction;
|
|
471
|
+
};
|
|
472
|
+
|
|
473
|
+
export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction =
|
|
474
|
+
{
|
|
475
|
+
Deny: "deny",
|
|
476
|
+
Log: "log",
|
|
477
|
+
} as const;
|
|
478
|
+
export type PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction =
|
|
479
|
+
ClosedEnum<
|
|
480
|
+
typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction
|
|
481
|
+
>;
|
|
482
|
+
|
|
483
|
+
export type PutFirewallConfigSf = {
|
|
484
|
+
active: boolean;
|
|
485
|
+
action:
|
|
486
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction;
|
|
487
|
+
};
|
|
488
|
+
|
|
489
|
+
export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction =
|
|
490
|
+
{
|
|
491
|
+
Deny: "deny",
|
|
492
|
+
Log: "log",
|
|
493
|
+
} as const;
|
|
494
|
+
export type PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction =
|
|
495
|
+
ClosedEnum<
|
|
496
|
+
typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction
|
|
497
|
+
>;
|
|
498
|
+
|
|
499
|
+
export type PutFirewallConfigJava = {
|
|
500
|
+
active: boolean;
|
|
501
|
+
action:
|
|
502
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction;
|
|
503
|
+
};
|
|
504
|
+
|
|
505
|
+
export type PutFirewallConfigCrs = {
|
|
506
|
+
sd: PutFirewallConfigSd;
|
|
507
|
+
ma: PutFirewallConfigMa;
|
|
508
|
+
lfi: PutFirewallConfigLfi;
|
|
509
|
+
rfi: PutFirewallConfigRfi;
|
|
510
|
+
rce: PutFirewallConfigRce;
|
|
511
|
+
php: PutFirewallConfigPhp;
|
|
512
|
+
gen: PutFirewallConfigGen;
|
|
513
|
+
xss: PutFirewallConfigXss;
|
|
514
|
+
sqli: PutFirewallConfigSqli;
|
|
515
|
+
sf: PutFirewallConfigSf;
|
|
516
|
+
java: PutFirewallConfigJava;
|
|
517
|
+
};
|
|
518
|
+
|
|
519
|
+
export const PutFirewallConfigSecurityType = {
|
|
520
|
+
Host: "host",
|
|
521
|
+
Path: "path",
|
|
522
|
+
Method: "method",
|
|
523
|
+
Header: "header",
|
|
524
|
+
Query: "query",
|
|
525
|
+
Cookie: "cookie",
|
|
526
|
+
TargetPath: "target_path",
|
|
527
|
+
IpAddress: "ip_address",
|
|
528
|
+
Protocol: "protocol",
|
|
529
|
+
Region: "region",
|
|
530
|
+
Scheme: "scheme",
|
|
531
|
+
Environment: "environment",
|
|
532
|
+
UserAgent: "user_agent",
|
|
533
|
+
GeoContinent: "geo_continent",
|
|
534
|
+
GeoCountry: "geo_country",
|
|
535
|
+
GeoCountryRegion: "geo_country_region",
|
|
536
|
+
GeoCity: "geo_city",
|
|
537
|
+
GeoAsNumber: "geo_as_number",
|
|
538
|
+
Ja4Digest: "ja4_digest",
|
|
539
|
+
Ja3Digest: "ja3_digest",
|
|
540
|
+
RateLimitApiId: "rate_limit_api_id",
|
|
541
|
+
} as const;
|
|
542
|
+
export type PutFirewallConfigSecurityType = ClosedEnum<
|
|
543
|
+
typeof PutFirewallConfigSecurityType
|
|
544
|
+
>;
|
|
545
|
+
|
|
546
|
+
export const PutFirewallConfigOp = {
|
|
547
|
+
Re: "re",
|
|
548
|
+
Eq: "eq",
|
|
549
|
+
Ex: "ex",
|
|
550
|
+
Inc: "inc",
|
|
551
|
+
Pre: "pre",
|
|
552
|
+
Suf: "suf",
|
|
553
|
+
Sub: "sub",
|
|
554
|
+
Gt: "gt",
|
|
555
|
+
Gte: "gte",
|
|
556
|
+
Lt: "lt",
|
|
557
|
+
Lte: "lte",
|
|
558
|
+
Nex: "nex",
|
|
559
|
+
Ninc: "ninc",
|
|
560
|
+
Neq: "neq",
|
|
561
|
+
} as const;
|
|
562
|
+
export type PutFirewallConfigOp = ClosedEnum<typeof PutFirewallConfigOp>;
|
|
563
|
+
|
|
564
|
+
export type PutFirewallConfigSecurityValue = string | number | Array<string>;
|
|
565
|
+
|
|
566
|
+
export type PutFirewallConfigConditions = {
|
|
567
|
+
type: PutFirewallConfigSecurityType;
|
|
568
|
+
op: PutFirewallConfigOp;
|
|
569
|
+
neg?: boolean | undefined;
|
|
570
|
+
key?: string | undefined;
|
|
571
|
+
value?: string | number | Array<string> | undefined;
|
|
572
|
+
};
|
|
573
|
+
|
|
574
|
+
export type PutFirewallConfigConditionGroup = {
|
|
575
|
+
conditions: Array<PutFirewallConfigConditions>;
|
|
576
|
+
};
|
|
577
|
+
|
|
578
|
+
export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction =
|
|
579
|
+
{
|
|
580
|
+
Deny: "deny",
|
|
581
|
+
Log: "log",
|
|
582
|
+
Challenge: "challenge",
|
|
583
|
+
Bypass: "bypass",
|
|
584
|
+
RateLimit: "rate_limit",
|
|
585
|
+
Redirect: "redirect",
|
|
586
|
+
} as const;
|
|
587
|
+
export type PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction =
|
|
588
|
+
ClosedEnum<
|
|
589
|
+
typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction
|
|
590
|
+
>;
|
|
591
|
+
|
|
592
|
+
export const PutFirewallConfigAlgo = {
|
|
593
|
+
FixedWindow: "fixed_window",
|
|
594
|
+
TokenBucket: "token_bucket",
|
|
595
|
+
} as const;
|
|
596
|
+
export type PutFirewallConfigAlgo = ClosedEnum<typeof PutFirewallConfigAlgo>;
|
|
597
|
+
|
|
598
|
+
export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction =
|
|
599
|
+
{
|
|
600
|
+
Deny: "deny",
|
|
601
|
+
Log: "log",
|
|
602
|
+
Challenge: "challenge",
|
|
603
|
+
RateLimit: "rate_limit",
|
|
604
|
+
} as const;
|
|
605
|
+
export type PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction =
|
|
606
|
+
ClosedEnum<
|
|
607
|
+
typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction
|
|
608
|
+
>;
|
|
609
|
+
|
|
610
|
+
export type PutFirewallConfigRateLimit = {
|
|
611
|
+
algo: PutFirewallConfigAlgo;
|
|
612
|
+
window: number;
|
|
613
|
+
limit: number;
|
|
614
|
+
keys: Array<string>;
|
|
615
|
+
action?:
|
|
616
|
+
| PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction
|
|
617
|
+
| null
|
|
618
|
+
| undefined;
|
|
619
|
+
};
|
|
620
|
+
|
|
621
|
+
export type PutFirewallConfigRedirect = {
|
|
622
|
+
location: string;
|
|
623
|
+
permanent: boolean;
|
|
624
|
+
};
|
|
625
|
+
|
|
626
|
+
export type PutFirewallConfigMitigate = {
|
|
627
|
+
action:
|
|
628
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction;
|
|
629
|
+
rateLimit?: PutFirewallConfigRateLimit | null | undefined;
|
|
630
|
+
redirect?: PutFirewallConfigRedirect | null | undefined;
|
|
631
|
+
actionDuration?: string | null | undefined;
|
|
632
|
+
};
|
|
633
|
+
|
|
634
|
+
export type PutFirewallConfigSecurityResponseAction = {
|
|
635
|
+
mitigate?: PutFirewallConfigMitigate | undefined;
|
|
636
|
+
};
|
|
637
|
+
|
|
638
|
+
export type PutFirewallConfigRules = {
|
|
639
|
+
id: string;
|
|
640
|
+
name: string;
|
|
641
|
+
description?: string | undefined;
|
|
642
|
+
active: boolean;
|
|
643
|
+
conditionGroup: Array<PutFirewallConfigConditionGroup>;
|
|
644
|
+
action: PutFirewallConfigSecurityResponseAction;
|
|
645
|
+
};
|
|
646
|
+
|
|
647
|
+
export const PutFirewallConfigSecurityResponse200Action = {
|
|
648
|
+
Deny: "deny",
|
|
649
|
+
Log: "log",
|
|
650
|
+
Challenge: "challenge",
|
|
651
|
+
Bypass: "bypass",
|
|
652
|
+
} as const;
|
|
653
|
+
export type PutFirewallConfigSecurityResponse200Action = ClosedEnum<
|
|
654
|
+
typeof PutFirewallConfigSecurityResponse200Action
|
|
655
|
+
>;
|
|
656
|
+
|
|
657
|
+
export type PutFirewallConfigIps = {
|
|
658
|
+
id: string;
|
|
659
|
+
hostname: string;
|
|
660
|
+
ip: string;
|
|
661
|
+
notes?: string | undefined;
|
|
662
|
+
action: PutFirewallConfigSecurityResponse200Action;
|
|
663
|
+
};
|
|
664
|
+
|
|
665
|
+
export type PutFirewallConfigChanges = {};
|
|
666
|
+
|
|
667
|
+
export type PutFirewallConfigOwasp = {
|
|
668
|
+
active: boolean;
|
|
669
|
+
updatedAt?: string | undefined;
|
|
670
|
+
userId?: string | undefined;
|
|
671
|
+
username?: string | undefined;
|
|
672
|
+
};
|
|
673
|
+
|
|
674
|
+
export type PutFirewallConfigVerifiedBotsBypass = {
|
|
675
|
+
active: boolean;
|
|
676
|
+
updatedAt?: string | undefined;
|
|
677
|
+
userId?: string | undefined;
|
|
678
|
+
username?: string | undefined;
|
|
679
|
+
};
|
|
680
|
+
|
|
681
|
+
export type PutFirewallConfigManagedRules = {
|
|
682
|
+
owasp?: PutFirewallConfigOwasp | undefined;
|
|
683
|
+
verifiedBotsBypass?: PutFirewallConfigVerifiedBotsBypass | undefined;
|
|
684
|
+
};
|
|
685
|
+
|
|
686
|
+
export type Active = {
|
|
687
|
+
ownerId: string;
|
|
688
|
+
projectKey: string;
|
|
689
|
+
id: string;
|
|
690
|
+
version: number;
|
|
691
|
+
updatedAt: string;
|
|
692
|
+
firewallEnabled: boolean;
|
|
693
|
+
crs: PutFirewallConfigCrs;
|
|
694
|
+
rules: Array<PutFirewallConfigRules>;
|
|
695
|
+
ips: Array<PutFirewallConfigIps>;
|
|
696
|
+
changes: Array<PutFirewallConfigChanges>;
|
|
697
|
+
managedRules?: PutFirewallConfigManagedRules | undefined;
|
|
698
|
+
};
|
|
699
|
+
|
|
700
|
+
export type PutFirewallConfigResponseBody = {
|
|
701
|
+
active: Active;
|
|
702
|
+
};
|
|
703
|
+
|
|
704
|
+
/** @internal */
|
|
705
|
+
export const Owasp$inboundSchema: z.ZodType<Owasp, z.ZodTypeDef, unknown> = z
|
|
706
|
+
.object({
|
|
707
|
+
active: z.boolean(),
|
|
708
|
+
});
|
|
709
|
+
|
|
710
|
+
/** @internal */
|
|
711
|
+
export type Owasp$Outbound = {
|
|
712
|
+
active: boolean;
|
|
713
|
+
};
|
|
714
|
+
|
|
715
|
+
/** @internal */
|
|
716
|
+
export const Owasp$outboundSchema: z.ZodType<
|
|
717
|
+
Owasp$Outbound,
|
|
718
|
+
z.ZodTypeDef,
|
|
719
|
+
Owasp
|
|
720
|
+
> = z.object({
|
|
721
|
+
active: z.boolean(),
|
|
722
|
+
});
|
|
723
|
+
|
|
724
|
+
/**
|
|
725
|
+
* @internal
|
|
726
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
727
|
+
*/
|
|
728
|
+
export namespace Owasp$ {
|
|
729
|
+
/** @deprecated use `Owasp$inboundSchema` instead. */
|
|
730
|
+
export const inboundSchema = Owasp$inboundSchema;
|
|
731
|
+
/** @deprecated use `Owasp$outboundSchema` instead. */
|
|
732
|
+
export const outboundSchema = Owasp$outboundSchema;
|
|
733
|
+
/** @deprecated use `Owasp$Outbound` instead. */
|
|
734
|
+
export type Outbound = Owasp$Outbound;
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
export function owaspToJSON(owasp: Owasp): string {
|
|
738
|
+
return JSON.stringify(Owasp$outboundSchema.parse(owasp));
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
export function owaspFromJSON(
|
|
742
|
+
jsonString: string,
|
|
743
|
+
): SafeParseResult<Owasp, SDKValidationError> {
|
|
744
|
+
return safeParse(
|
|
745
|
+
jsonString,
|
|
746
|
+
(x) => Owasp$inboundSchema.parse(JSON.parse(x)),
|
|
747
|
+
`Failed to parse 'Owasp' from JSON`,
|
|
748
|
+
);
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
/** @internal */
|
|
752
|
+
export const ManagedRules$inboundSchema: z.ZodType<
|
|
753
|
+
ManagedRules,
|
|
754
|
+
z.ZodTypeDef,
|
|
755
|
+
unknown
|
|
756
|
+
> = z.object({
|
|
757
|
+
owasp: z.lazy(() => Owasp$inboundSchema),
|
|
758
|
+
});
|
|
759
|
+
|
|
760
|
+
/** @internal */
|
|
761
|
+
export type ManagedRules$Outbound = {
|
|
762
|
+
owasp: Owasp$Outbound;
|
|
763
|
+
};
|
|
764
|
+
|
|
765
|
+
/** @internal */
|
|
766
|
+
export const ManagedRules$outboundSchema: z.ZodType<
|
|
767
|
+
ManagedRules$Outbound,
|
|
768
|
+
z.ZodTypeDef,
|
|
769
|
+
ManagedRules
|
|
770
|
+
> = z.object({
|
|
771
|
+
owasp: z.lazy(() => Owasp$outboundSchema),
|
|
772
|
+
});
|
|
773
|
+
|
|
774
|
+
/**
|
|
775
|
+
* @internal
|
|
776
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
777
|
+
*/
|
|
778
|
+
export namespace ManagedRules$ {
|
|
779
|
+
/** @deprecated use `ManagedRules$inboundSchema` instead. */
|
|
780
|
+
export const inboundSchema = ManagedRules$inboundSchema;
|
|
781
|
+
/** @deprecated use `ManagedRules$outboundSchema` instead. */
|
|
782
|
+
export const outboundSchema = ManagedRules$outboundSchema;
|
|
783
|
+
/** @deprecated use `ManagedRules$Outbound` instead. */
|
|
784
|
+
export type Outbound = ManagedRules$Outbound;
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
export function managedRulesToJSON(managedRules: ManagedRules): string {
|
|
788
|
+
return JSON.stringify(ManagedRules$outboundSchema.parse(managedRules));
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
export function managedRulesFromJSON(
|
|
792
|
+
jsonString: string,
|
|
793
|
+
): SafeParseResult<ManagedRules, SDKValidationError> {
|
|
794
|
+
return safeParse(
|
|
795
|
+
jsonString,
|
|
796
|
+
(x) => ManagedRules$inboundSchema.parse(JSON.parse(x)),
|
|
797
|
+
`Failed to parse 'ManagedRules' from JSON`,
|
|
798
|
+
);
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
/** @internal */
|
|
802
|
+
export const PutFirewallConfigAction$inboundSchema: z.ZodNativeEnum<
|
|
803
|
+
typeof PutFirewallConfigAction
|
|
804
|
+
> = z.nativeEnum(PutFirewallConfigAction);
|
|
805
|
+
|
|
806
|
+
/** @internal */
|
|
807
|
+
export const PutFirewallConfigAction$outboundSchema: z.ZodNativeEnum<
|
|
808
|
+
typeof PutFirewallConfigAction
|
|
809
|
+
> = PutFirewallConfigAction$inboundSchema;
|
|
810
|
+
|
|
811
|
+
/**
|
|
812
|
+
* @internal
|
|
813
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
814
|
+
*/
|
|
815
|
+
export namespace PutFirewallConfigAction$ {
|
|
816
|
+
/** @deprecated use `PutFirewallConfigAction$inboundSchema` instead. */
|
|
817
|
+
export const inboundSchema = PutFirewallConfigAction$inboundSchema;
|
|
818
|
+
/** @deprecated use `PutFirewallConfigAction$outboundSchema` instead. */
|
|
819
|
+
export const outboundSchema = PutFirewallConfigAction$outboundSchema;
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
/** @internal */
|
|
823
|
+
export const Sd$inboundSchema: z.ZodType<Sd, z.ZodTypeDef, unknown> = z.object({
|
|
824
|
+
active: z.boolean(),
|
|
825
|
+
action: PutFirewallConfigAction$inboundSchema,
|
|
826
|
+
});
|
|
827
|
+
|
|
828
|
+
/** @internal */
|
|
829
|
+
export type Sd$Outbound = {
|
|
830
|
+
active: boolean;
|
|
831
|
+
action: string;
|
|
832
|
+
};
|
|
833
|
+
|
|
834
|
+
/** @internal */
|
|
835
|
+
export const Sd$outboundSchema: z.ZodType<Sd$Outbound, z.ZodTypeDef, Sd> = z
|
|
836
|
+
.object({
|
|
837
|
+
active: z.boolean(),
|
|
838
|
+
action: PutFirewallConfigAction$outboundSchema,
|
|
839
|
+
});
|
|
840
|
+
|
|
841
|
+
/**
|
|
842
|
+
* @internal
|
|
843
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
844
|
+
*/
|
|
845
|
+
export namespace Sd$ {
|
|
846
|
+
/** @deprecated use `Sd$inboundSchema` instead. */
|
|
847
|
+
export const inboundSchema = Sd$inboundSchema;
|
|
848
|
+
/** @deprecated use `Sd$outboundSchema` instead. */
|
|
849
|
+
export const outboundSchema = Sd$outboundSchema;
|
|
850
|
+
/** @deprecated use `Sd$Outbound` instead. */
|
|
851
|
+
export type Outbound = Sd$Outbound;
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
export function sdToJSON(sd: Sd): string {
|
|
855
|
+
return JSON.stringify(Sd$outboundSchema.parse(sd));
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
export function sdFromJSON(
|
|
859
|
+
jsonString: string,
|
|
860
|
+
): SafeParseResult<Sd, SDKValidationError> {
|
|
861
|
+
return safeParse(
|
|
862
|
+
jsonString,
|
|
863
|
+
(x) => Sd$inboundSchema.parse(JSON.parse(x)),
|
|
864
|
+
`Failed to parse 'Sd' from JSON`,
|
|
865
|
+
);
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
/** @internal */
|
|
869
|
+
export const PutFirewallConfigSecurityAction$inboundSchema: z.ZodNativeEnum<
|
|
870
|
+
typeof PutFirewallConfigSecurityAction
|
|
871
|
+
> = z.nativeEnum(PutFirewallConfigSecurityAction);
|
|
872
|
+
|
|
873
|
+
/** @internal */
|
|
874
|
+
export const PutFirewallConfigSecurityAction$outboundSchema: z.ZodNativeEnum<
|
|
875
|
+
typeof PutFirewallConfigSecurityAction
|
|
876
|
+
> = PutFirewallConfigSecurityAction$inboundSchema;
|
|
877
|
+
|
|
878
|
+
/**
|
|
879
|
+
* @internal
|
|
880
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
881
|
+
*/
|
|
882
|
+
export namespace PutFirewallConfigSecurityAction$ {
|
|
883
|
+
/** @deprecated use `PutFirewallConfigSecurityAction$inboundSchema` instead. */
|
|
884
|
+
export const inboundSchema = PutFirewallConfigSecurityAction$inboundSchema;
|
|
885
|
+
/** @deprecated use `PutFirewallConfigSecurityAction$outboundSchema` instead. */
|
|
886
|
+
export const outboundSchema = PutFirewallConfigSecurityAction$outboundSchema;
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
/** @internal */
|
|
890
|
+
export const Ma$inboundSchema: z.ZodType<Ma, z.ZodTypeDef, unknown> = z.object({
|
|
891
|
+
active: z.boolean(),
|
|
892
|
+
action: PutFirewallConfigSecurityAction$inboundSchema,
|
|
893
|
+
});
|
|
894
|
+
|
|
895
|
+
/** @internal */
|
|
896
|
+
export type Ma$Outbound = {
|
|
897
|
+
active: boolean;
|
|
898
|
+
action: string;
|
|
899
|
+
};
|
|
900
|
+
|
|
901
|
+
/** @internal */
|
|
902
|
+
export const Ma$outboundSchema: z.ZodType<Ma$Outbound, z.ZodTypeDef, Ma> = z
|
|
903
|
+
.object({
|
|
904
|
+
active: z.boolean(),
|
|
905
|
+
action: PutFirewallConfigSecurityAction$outboundSchema,
|
|
906
|
+
});
|
|
907
|
+
|
|
908
|
+
/**
|
|
909
|
+
* @internal
|
|
910
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
911
|
+
*/
|
|
912
|
+
export namespace Ma$ {
|
|
913
|
+
/** @deprecated use `Ma$inboundSchema` instead. */
|
|
914
|
+
export const inboundSchema = Ma$inboundSchema;
|
|
915
|
+
/** @deprecated use `Ma$outboundSchema` instead. */
|
|
916
|
+
export const outboundSchema = Ma$outboundSchema;
|
|
917
|
+
/** @deprecated use `Ma$Outbound` instead. */
|
|
918
|
+
export type Outbound = Ma$Outbound;
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
export function maToJSON(ma: Ma): string {
|
|
922
|
+
return JSON.stringify(Ma$outboundSchema.parse(ma));
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
export function maFromJSON(
|
|
926
|
+
jsonString: string,
|
|
927
|
+
): SafeParseResult<Ma, SDKValidationError> {
|
|
928
|
+
return safeParse(
|
|
929
|
+
jsonString,
|
|
930
|
+
(x) => Ma$inboundSchema.parse(JSON.parse(x)),
|
|
931
|
+
`Failed to parse 'Ma' from JSON`,
|
|
932
|
+
);
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
/** @internal */
|
|
936
|
+
export const PutFirewallConfigSecurityRequestAction$inboundSchema:
|
|
937
|
+
z.ZodNativeEnum<typeof PutFirewallConfigSecurityRequestAction> = z.nativeEnum(
|
|
938
|
+
PutFirewallConfigSecurityRequestAction,
|
|
939
|
+
);
|
|
940
|
+
|
|
941
|
+
/** @internal */
|
|
942
|
+
export const PutFirewallConfigSecurityRequestAction$outboundSchema:
|
|
943
|
+
z.ZodNativeEnum<typeof PutFirewallConfigSecurityRequestAction> =
|
|
944
|
+
PutFirewallConfigSecurityRequestAction$inboundSchema;
|
|
945
|
+
|
|
946
|
+
/**
|
|
947
|
+
* @internal
|
|
948
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
949
|
+
*/
|
|
950
|
+
export namespace PutFirewallConfigSecurityRequestAction$ {
|
|
951
|
+
/** @deprecated use `PutFirewallConfigSecurityRequestAction$inboundSchema` instead. */
|
|
952
|
+
export const inboundSchema =
|
|
953
|
+
PutFirewallConfigSecurityRequestAction$inboundSchema;
|
|
954
|
+
/** @deprecated use `PutFirewallConfigSecurityRequestAction$outboundSchema` instead. */
|
|
955
|
+
export const outboundSchema =
|
|
956
|
+
PutFirewallConfigSecurityRequestAction$outboundSchema;
|
|
957
|
+
}
|
|
958
|
+
|
|
959
|
+
/** @internal */
|
|
960
|
+
export const Lfi$inboundSchema: z.ZodType<Lfi, z.ZodTypeDef, unknown> = z
|
|
961
|
+
.object({
|
|
962
|
+
active: z.boolean(),
|
|
963
|
+
action: PutFirewallConfigSecurityRequestAction$inboundSchema,
|
|
964
|
+
});
|
|
965
|
+
|
|
966
|
+
/** @internal */
|
|
967
|
+
export type Lfi$Outbound = {
|
|
968
|
+
active: boolean;
|
|
969
|
+
action: string;
|
|
970
|
+
};
|
|
971
|
+
|
|
972
|
+
/** @internal */
|
|
973
|
+
export const Lfi$outboundSchema: z.ZodType<Lfi$Outbound, z.ZodTypeDef, Lfi> = z
|
|
974
|
+
.object({
|
|
975
|
+
active: z.boolean(),
|
|
976
|
+
action: PutFirewallConfigSecurityRequestAction$outboundSchema,
|
|
977
|
+
});
|
|
978
|
+
|
|
979
|
+
/**
|
|
980
|
+
* @internal
|
|
981
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
982
|
+
*/
|
|
983
|
+
export namespace Lfi$ {
|
|
984
|
+
/** @deprecated use `Lfi$inboundSchema` instead. */
|
|
985
|
+
export const inboundSchema = Lfi$inboundSchema;
|
|
986
|
+
/** @deprecated use `Lfi$outboundSchema` instead. */
|
|
987
|
+
export const outboundSchema = Lfi$outboundSchema;
|
|
988
|
+
/** @deprecated use `Lfi$Outbound` instead. */
|
|
989
|
+
export type Outbound = Lfi$Outbound;
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
export function lfiToJSON(lfi: Lfi): string {
|
|
993
|
+
return JSON.stringify(Lfi$outboundSchema.parse(lfi));
|
|
994
|
+
}
|
|
995
|
+
|
|
996
|
+
export function lfiFromJSON(
|
|
997
|
+
jsonString: string,
|
|
998
|
+
): SafeParseResult<Lfi, SDKValidationError> {
|
|
999
|
+
return safeParse(
|
|
1000
|
+
jsonString,
|
|
1001
|
+
(x) => Lfi$inboundSchema.parse(JSON.parse(x)),
|
|
1002
|
+
`Failed to parse 'Lfi' from JSON`,
|
|
1003
|
+
);
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
/** @internal */
|
|
1007
|
+
export const PutFirewallConfigSecurityRequestRequestBodyAction$inboundSchema:
|
|
1008
|
+
z.ZodNativeEnum<typeof PutFirewallConfigSecurityRequestRequestBodyAction> = z
|
|
1009
|
+
.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyAction);
|
|
1010
|
+
|
|
1011
|
+
/** @internal */
|
|
1012
|
+
export const PutFirewallConfigSecurityRequestRequestBodyAction$outboundSchema:
|
|
1013
|
+
z.ZodNativeEnum<typeof PutFirewallConfigSecurityRequestRequestBodyAction> =
|
|
1014
|
+
PutFirewallConfigSecurityRequestRequestBodyAction$inboundSchema;
|
|
1015
|
+
|
|
1016
|
+
/**
|
|
1017
|
+
* @internal
|
|
1018
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1019
|
+
*/
|
|
1020
|
+
export namespace PutFirewallConfigSecurityRequestRequestBodyAction$ {
|
|
1021
|
+
/** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyAction$inboundSchema` instead. */
|
|
1022
|
+
export const inboundSchema =
|
|
1023
|
+
PutFirewallConfigSecurityRequestRequestBodyAction$inboundSchema;
|
|
1024
|
+
/** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyAction$outboundSchema` instead. */
|
|
1025
|
+
export const outboundSchema =
|
|
1026
|
+
PutFirewallConfigSecurityRequestRequestBodyAction$outboundSchema;
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1029
|
+
/** @internal */
|
|
1030
|
+
export const Rfi$inboundSchema: z.ZodType<Rfi, z.ZodTypeDef, unknown> = z
|
|
1031
|
+
.object({
|
|
1032
|
+
active: z.boolean(),
|
|
1033
|
+
action: PutFirewallConfigSecurityRequestRequestBodyAction$inboundSchema,
|
|
1034
|
+
});
|
|
1035
|
+
|
|
1036
|
+
/** @internal */
|
|
1037
|
+
export type Rfi$Outbound = {
|
|
1038
|
+
active: boolean;
|
|
1039
|
+
action: string;
|
|
1040
|
+
};
|
|
1041
|
+
|
|
1042
|
+
/** @internal */
|
|
1043
|
+
export const Rfi$outboundSchema: z.ZodType<Rfi$Outbound, z.ZodTypeDef, Rfi> = z
|
|
1044
|
+
.object({
|
|
1045
|
+
active: z.boolean(),
|
|
1046
|
+
action: PutFirewallConfigSecurityRequestRequestBodyAction$outboundSchema,
|
|
1047
|
+
});
|
|
1048
|
+
|
|
1049
|
+
/**
|
|
1050
|
+
* @internal
|
|
1051
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1052
|
+
*/
|
|
1053
|
+
export namespace Rfi$ {
|
|
1054
|
+
/** @deprecated use `Rfi$inboundSchema` instead. */
|
|
1055
|
+
export const inboundSchema = Rfi$inboundSchema;
|
|
1056
|
+
/** @deprecated use `Rfi$outboundSchema` instead. */
|
|
1057
|
+
export const outboundSchema = Rfi$outboundSchema;
|
|
1058
|
+
/** @deprecated use `Rfi$Outbound` instead. */
|
|
1059
|
+
export type Outbound = Rfi$Outbound;
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
export function rfiToJSON(rfi: Rfi): string {
|
|
1063
|
+
return JSON.stringify(Rfi$outboundSchema.parse(rfi));
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
export function rfiFromJSON(
|
|
1067
|
+
jsonString: string,
|
|
1068
|
+
): SafeParseResult<Rfi, SDKValidationError> {
|
|
1069
|
+
return safeParse(
|
|
1070
|
+
jsonString,
|
|
1071
|
+
(x) => Rfi$inboundSchema.parse(JSON.parse(x)),
|
|
1072
|
+
`Failed to parse 'Rfi' from JSON`,
|
|
1073
|
+
);
|
|
1074
|
+
}
|
|
1075
|
+
|
|
1076
|
+
/** @internal */
|
|
1077
|
+
export const PutFirewallConfigSecurityRequestRequestBodyCrsAction$inboundSchema:
|
|
1078
|
+
z.ZodNativeEnum<typeof PutFirewallConfigSecurityRequestRequestBodyCrsAction> =
|
|
1079
|
+
z.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyCrsAction);
|
|
1080
|
+
|
|
1081
|
+
/** @internal */
|
|
1082
|
+
export const PutFirewallConfigSecurityRequestRequestBodyCrsAction$outboundSchema:
|
|
1083
|
+
z.ZodNativeEnum<typeof PutFirewallConfigSecurityRequestRequestBodyCrsAction> =
|
|
1084
|
+
PutFirewallConfigSecurityRequestRequestBodyCrsAction$inboundSchema;
|
|
1085
|
+
|
|
1086
|
+
/**
|
|
1087
|
+
* @internal
|
|
1088
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1089
|
+
*/
|
|
1090
|
+
export namespace PutFirewallConfigSecurityRequestRequestBodyCrsAction$ {
|
|
1091
|
+
/** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsAction$inboundSchema` instead. */
|
|
1092
|
+
export const inboundSchema =
|
|
1093
|
+
PutFirewallConfigSecurityRequestRequestBodyCrsAction$inboundSchema;
|
|
1094
|
+
/** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsAction$outboundSchema` instead. */
|
|
1095
|
+
export const outboundSchema =
|
|
1096
|
+
PutFirewallConfigSecurityRequestRequestBodyCrsAction$outboundSchema;
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
/** @internal */
|
|
1100
|
+
export const Rce$inboundSchema: z.ZodType<Rce, z.ZodTypeDef, unknown> = z
|
|
1101
|
+
.object({
|
|
1102
|
+
active: z.boolean(),
|
|
1103
|
+
action: PutFirewallConfigSecurityRequestRequestBodyCrsAction$inboundSchema,
|
|
1104
|
+
});
|
|
1105
|
+
|
|
1106
|
+
/** @internal */
|
|
1107
|
+
export type Rce$Outbound = {
|
|
1108
|
+
active: boolean;
|
|
1109
|
+
action: string;
|
|
1110
|
+
};
|
|
1111
|
+
|
|
1112
|
+
/** @internal */
|
|
1113
|
+
export const Rce$outboundSchema: z.ZodType<Rce$Outbound, z.ZodTypeDef, Rce> = z
|
|
1114
|
+
.object({
|
|
1115
|
+
active: z.boolean(),
|
|
1116
|
+
action: PutFirewallConfigSecurityRequestRequestBodyCrsAction$outboundSchema,
|
|
1117
|
+
});
|
|
1118
|
+
|
|
1119
|
+
/**
|
|
1120
|
+
* @internal
|
|
1121
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1122
|
+
*/
|
|
1123
|
+
export namespace Rce$ {
|
|
1124
|
+
/** @deprecated use `Rce$inboundSchema` instead. */
|
|
1125
|
+
export const inboundSchema = Rce$inboundSchema;
|
|
1126
|
+
/** @deprecated use `Rce$outboundSchema` instead. */
|
|
1127
|
+
export const outboundSchema = Rce$outboundSchema;
|
|
1128
|
+
/** @deprecated use `Rce$Outbound` instead. */
|
|
1129
|
+
export type Outbound = Rce$Outbound;
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
export function rceToJSON(rce: Rce): string {
|
|
1133
|
+
return JSON.stringify(Rce$outboundSchema.parse(rce));
|
|
1134
|
+
}
|
|
1135
|
+
|
|
1136
|
+
export function rceFromJSON(
|
|
1137
|
+
jsonString: string,
|
|
1138
|
+
): SafeParseResult<Rce, SDKValidationError> {
|
|
1139
|
+
return safeParse(
|
|
1140
|
+
jsonString,
|
|
1141
|
+
(x) => Rce$inboundSchema.parse(JSON.parse(x)),
|
|
1142
|
+
`Failed to parse 'Rce' from JSON`,
|
|
1143
|
+
);
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1146
|
+
/** @internal */
|
|
1147
|
+
export const PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$inboundSchema:
|
|
1148
|
+
z.ZodNativeEnum<
|
|
1149
|
+
typeof PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction
|
|
1150
|
+
> = z.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction);
|
|
1151
|
+
|
|
1152
|
+
/** @internal */
|
|
1153
|
+
export const PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$outboundSchema:
|
|
1154
|
+
z.ZodNativeEnum<
|
|
1155
|
+
typeof PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction
|
|
1156
|
+
> = PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$inboundSchema;
|
|
1157
|
+
|
|
1158
|
+
/**
|
|
1159
|
+
* @internal
|
|
1160
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1161
|
+
*/
|
|
1162
|
+
export namespace PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$ {
|
|
1163
|
+
/** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$inboundSchema` instead. */
|
|
1164
|
+
export const inboundSchema =
|
|
1165
|
+
PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$inboundSchema;
|
|
1166
|
+
/** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$outboundSchema` instead. */
|
|
1167
|
+
export const outboundSchema =
|
|
1168
|
+
PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$outboundSchema;
|
|
1169
|
+
}
|
|
1170
|
+
|
|
1171
|
+
/** @internal */
|
|
1172
|
+
export const Php$inboundSchema: z.ZodType<Php, z.ZodTypeDef, unknown> = z
|
|
1173
|
+
.object({
|
|
1174
|
+
active: z.boolean(),
|
|
1175
|
+
action:
|
|
1176
|
+
PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$inboundSchema,
|
|
1177
|
+
});
|
|
1178
|
+
|
|
1179
|
+
/** @internal */
|
|
1180
|
+
export type Php$Outbound = {
|
|
1181
|
+
active: boolean;
|
|
1182
|
+
action: string;
|
|
1183
|
+
};
|
|
1184
|
+
|
|
1185
|
+
/** @internal */
|
|
1186
|
+
export const Php$outboundSchema: z.ZodType<Php$Outbound, z.ZodTypeDef, Php> = z
|
|
1187
|
+
.object({
|
|
1188
|
+
active: z.boolean(),
|
|
1189
|
+
action:
|
|
1190
|
+
PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$outboundSchema,
|
|
1191
|
+
});
|
|
1192
|
+
|
|
1193
|
+
/**
|
|
1194
|
+
* @internal
|
|
1195
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1196
|
+
*/
|
|
1197
|
+
export namespace Php$ {
|
|
1198
|
+
/** @deprecated use `Php$inboundSchema` instead. */
|
|
1199
|
+
export const inboundSchema = Php$inboundSchema;
|
|
1200
|
+
/** @deprecated use `Php$outboundSchema` instead. */
|
|
1201
|
+
export const outboundSchema = Php$outboundSchema;
|
|
1202
|
+
/** @deprecated use `Php$Outbound` instead. */
|
|
1203
|
+
export type Outbound = Php$Outbound;
|
|
1204
|
+
}
|
|
1205
|
+
|
|
1206
|
+
export function phpToJSON(php: Php): string {
|
|
1207
|
+
return JSON.stringify(Php$outboundSchema.parse(php));
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1210
|
+
export function phpFromJSON(
|
|
1211
|
+
jsonString: string,
|
|
1212
|
+
): SafeParseResult<Php, SDKValidationError> {
|
|
1213
|
+
return safeParse(
|
|
1214
|
+
jsonString,
|
|
1215
|
+
(x) => Php$inboundSchema.parse(JSON.parse(x)),
|
|
1216
|
+
`Failed to parse 'Php' from JSON`,
|
|
1217
|
+
);
|
|
1218
|
+
}
|
|
1219
|
+
|
|
1220
|
+
/** @internal */
|
|
1221
|
+
export const PutFirewallConfigSecurityRequestRequestBodyCrsGenAction$inboundSchema:
|
|
1222
|
+
z.ZodNativeEnum<
|
|
1223
|
+
typeof PutFirewallConfigSecurityRequestRequestBodyCrsGenAction
|
|
1224
|
+
> = z.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyCrsGenAction);
|
|
1225
|
+
|
|
1226
|
+
/** @internal */
|
|
1227
|
+
export const PutFirewallConfigSecurityRequestRequestBodyCrsGenAction$outboundSchema:
|
|
1228
|
+
z.ZodNativeEnum<
|
|
1229
|
+
typeof PutFirewallConfigSecurityRequestRequestBodyCrsGenAction
|
|
1230
|
+
> = PutFirewallConfigSecurityRequestRequestBodyCrsGenAction$inboundSchema;
|
|
1231
|
+
|
|
1232
|
+
/**
|
|
1233
|
+
* @internal
|
|
1234
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1235
|
+
*/
|
|
1236
|
+
export namespace PutFirewallConfigSecurityRequestRequestBodyCrsGenAction$ {
|
|
1237
|
+
/** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsGenAction$inboundSchema` instead. */
|
|
1238
|
+
export const inboundSchema =
|
|
1239
|
+
PutFirewallConfigSecurityRequestRequestBodyCrsGenAction$inboundSchema;
|
|
1240
|
+
/** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsGenAction$outboundSchema` instead. */
|
|
1241
|
+
export const outboundSchema =
|
|
1242
|
+
PutFirewallConfigSecurityRequestRequestBodyCrsGenAction$outboundSchema;
|
|
1243
|
+
}
|
|
1244
|
+
|
|
1245
|
+
/** @internal */
|
|
1246
|
+
export const Gen$inboundSchema: z.ZodType<Gen, z.ZodTypeDef, unknown> = z
|
|
1247
|
+
.object({
|
|
1248
|
+
active: z.boolean(),
|
|
1249
|
+
action:
|
|
1250
|
+
PutFirewallConfigSecurityRequestRequestBodyCrsGenAction$inboundSchema,
|
|
1251
|
+
});
|
|
1252
|
+
|
|
1253
|
+
/** @internal */
|
|
1254
|
+
export type Gen$Outbound = {
|
|
1255
|
+
active: boolean;
|
|
1256
|
+
action: string;
|
|
1257
|
+
};
|
|
1258
|
+
|
|
1259
|
+
/** @internal */
|
|
1260
|
+
export const Gen$outboundSchema: z.ZodType<Gen$Outbound, z.ZodTypeDef, Gen> = z
|
|
1261
|
+
.object({
|
|
1262
|
+
active: z.boolean(),
|
|
1263
|
+
action:
|
|
1264
|
+
PutFirewallConfigSecurityRequestRequestBodyCrsGenAction$outboundSchema,
|
|
1265
|
+
});
|
|
1266
|
+
|
|
1267
|
+
/**
|
|
1268
|
+
* @internal
|
|
1269
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1270
|
+
*/
|
|
1271
|
+
export namespace Gen$ {
|
|
1272
|
+
/** @deprecated use `Gen$inboundSchema` instead. */
|
|
1273
|
+
export const inboundSchema = Gen$inboundSchema;
|
|
1274
|
+
/** @deprecated use `Gen$outboundSchema` instead. */
|
|
1275
|
+
export const outboundSchema = Gen$outboundSchema;
|
|
1276
|
+
/** @deprecated use `Gen$Outbound` instead. */
|
|
1277
|
+
export type Outbound = Gen$Outbound;
|
|
1278
|
+
}
|
|
1279
|
+
|
|
1280
|
+
export function genToJSON(gen: Gen): string {
|
|
1281
|
+
return JSON.stringify(Gen$outboundSchema.parse(gen));
|
|
1282
|
+
}
|
|
1283
|
+
|
|
1284
|
+
export function genFromJSON(
|
|
1285
|
+
jsonString: string,
|
|
1286
|
+
): SafeParseResult<Gen, SDKValidationError> {
|
|
1287
|
+
return safeParse(
|
|
1288
|
+
jsonString,
|
|
1289
|
+
(x) => Gen$inboundSchema.parse(JSON.parse(x)),
|
|
1290
|
+
`Failed to parse 'Gen' from JSON`,
|
|
1291
|
+
);
|
|
1292
|
+
}
|
|
1293
|
+
|
|
1294
|
+
/** @internal */
|
|
1295
|
+
export const PutFirewallConfigSecurityRequestRequestBodyCrsXssAction$inboundSchema:
|
|
1296
|
+
z.ZodNativeEnum<
|
|
1297
|
+
typeof PutFirewallConfigSecurityRequestRequestBodyCrsXssAction
|
|
1298
|
+
> = z.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyCrsXssAction);
|
|
1299
|
+
|
|
1300
|
+
/** @internal */
|
|
1301
|
+
export const PutFirewallConfigSecurityRequestRequestBodyCrsXssAction$outboundSchema:
|
|
1302
|
+
z.ZodNativeEnum<
|
|
1303
|
+
typeof PutFirewallConfigSecurityRequestRequestBodyCrsXssAction
|
|
1304
|
+
> = PutFirewallConfigSecurityRequestRequestBodyCrsXssAction$inboundSchema;
|
|
1305
|
+
|
|
1306
|
+
/**
|
|
1307
|
+
* @internal
|
|
1308
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1309
|
+
*/
|
|
1310
|
+
export namespace PutFirewallConfigSecurityRequestRequestBodyCrsXssAction$ {
|
|
1311
|
+
/** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsXssAction$inboundSchema` instead. */
|
|
1312
|
+
export const inboundSchema =
|
|
1313
|
+
PutFirewallConfigSecurityRequestRequestBodyCrsXssAction$inboundSchema;
|
|
1314
|
+
/** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsXssAction$outboundSchema` instead. */
|
|
1315
|
+
export const outboundSchema =
|
|
1316
|
+
PutFirewallConfigSecurityRequestRequestBodyCrsXssAction$outboundSchema;
|
|
1317
|
+
}
|
|
1318
|
+
|
|
1319
|
+
/** @internal */
|
|
1320
|
+
export const Xss$inboundSchema: z.ZodType<Xss, z.ZodTypeDef, unknown> = z
|
|
1321
|
+
.object({
|
|
1322
|
+
active: z.boolean(),
|
|
1323
|
+
action:
|
|
1324
|
+
PutFirewallConfigSecurityRequestRequestBodyCrsXssAction$inboundSchema,
|
|
1325
|
+
});
|
|
1326
|
+
|
|
1327
|
+
/** @internal */
|
|
1328
|
+
export type Xss$Outbound = {
|
|
1329
|
+
active: boolean;
|
|
1330
|
+
action: string;
|
|
1331
|
+
};
|
|
1332
|
+
|
|
1333
|
+
/** @internal */
|
|
1334
|
+
export const Xss$outboundSchema: z.ZodType<Xss$Outbound, z.ZodTypeDef, Xss> = z
|
|
1335
|
+
.object({
|
|
1336
|
+
active: z.boolean(),
|
|
1337
|
+
action:
|
|
1338
|
+
PutFirewallConfigSecurityRequestRequestBodyCrsXssAction$outboundSchema,
|
|
1339
|
+
});
|
|
1340
|
+
|
|
1341
|
+
/**
|
|
1342
|
+
* @internal
|
|
1343
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1344
|
+
*/
|
|
1345
|
+
export namespace Xss$ {
|
|
1346
|
+
/** @deprecated use `Xss$inboundSchema` instead. */
|
|
1347
|
+
export const inboundSchema = Xss$inboundSchema;
|
|
1348
|
+
/** @deprecated use `Xss$outboundSchema` instead. */
|
|
1349
|
+
export const outboundSchema = Xss$outboundSchema;
|
|
1350
|
+
/** @deprecated use `Xss$Outbound` instead. */
|
|
1351
|
+
export type Outbound = Xss$Outbound;
|
|
1352
|
+
}
|
|
1353
|
+
|
|
1354
|
+
export function xssToJSON(xss: Xss): string {
|
|
1355
|
+
return JSON.stringify(Xss$outboundSchema.parse(xss));
|
|
1356
|
+
}
|
|
1357
|
+
|
|
1358
|
+
export function xssFromJSON(
|
|
1359
|
+
jsonString: string,
|
|
1360
|
+
): SafeParseResult<Xss, SDKValidationError> {
|
|
1361
|
+
return safeParse(
|
|
1362
|
+
jsonString,
|
|
1363
|
+
(x) => Xss$inboundSchema.parse(JSON.parse(x)),
|
|
1364
|
+
`Failed to parse 'Xss' from JSON`,
|
|
1365
|
+
);
|
|
1366
|
+
}
|
|
1367
|
+
|
|
1368
|
+
/** @internal */
|
|
1369
|
+
export const PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction$inboundSchema:
|
|
1370
|
+
z.ZodNativeEnum<
|
|
1371
|
+
typeof PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction
|
|
1372
|
+
> = z.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction);
|
|
1373
|
+
|
|
1374
|
+
/** @internal */
|
|
1375
|
+
export const PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction$outboundSchema:
|
|
1376
|
+
z.ZodNativeEnum<
|
|
1377
|
+
typeof PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction
|
|
1378
|
+
> = PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction$inboundSchema;
|
|
1379
|
+
|
|
1380
|
+
/**
|
|
1381
|
+
* @internal
|
|
1382
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1383
|
+
*/
|
|
1384
|
+
export namespace PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction$ {
|
|
1385
|
+
/** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction$inboundSchema` instead. */
|
|
1386
|
+
export const inboundSchema =
|
|
1387
|
+
PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction$inboundSchema;
|
|
1388
|
+
/** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction$outboundSchema` instead. */
|
|
1389
|
+
export const outboundSchema =
|
|
1390
|
+
PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction$outboundSchema;
|
|
1391
|
+
}
|
|
1392
|
+
|
|
1393
|
+
/** @internal */
|
|
1394
|
+
export const Sqli$inboundSchema: z.ZodType<Sqli, z.ZodTypeDef, unknown> = z
|
|
1395
|
+
.object({
|
|
1396
|
+
active: z.boolean(),
|
|
1397
|
+
action:
|
|
1398
|
+
PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction$inboundSchema,
|
|
1399
|
+
});
|
|
1400
|
+
|
|
1401
|
+
/** @internal */
|
|
1402
|
+
export type Sqli$Outbound = {
|
|
1403
|
+
active: boolean;
|
|
1404
|
+
action: string;
|
|
1405
|
+
};
|
|
1406
|
+
|
|
1407
|
+
/** @internal */
|
|
1408
|
+
export const Sqli$outboundSchema: z.ZodType<Sqli$Outbound, z.ZodTypeDef, Sqli> =
|
|
1409
|
+
z.object({
|
|
1410
|
+
active: z.boolean(),
|
|
1411
|
+
action:
|
|
1412
|
+
PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction$outboundSchema,
|
|
1413
|
+
});
|
|
1414
|
+
|
|
1415
|
+
/**
|
|
1416
|
+
* @internal
|
|
1417
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1418
|
+
*/
|
|
1419
|
+
export namespace Sqli$ {
|
|
1420
|
+
/** @deprecated use `Sqli$inboundSchema` instead. */
|
|
1421
|
+
export const inboundSchema = Sqli$inboundSchema;
|
|
1422
|
+
/** @deprecated use `Sqli$outboundSchema` instead. */
|
|
1423
|
+
export const outboundSchema = Sqli$outboundSchema;
|
|
1424
|
+
/** @deprecated use `Sqli$Outbound` instead. */
|
|
1425
|
+
export type Outbound = Sqli$Outbound;
|
|
1426
|
+
}
|
|
1427
|
+
|
|
1428
|
+
export function sqliToJSON(sqli: Sqli): string {
|
|
1429
|
+
return JSON.stringify(Sqli$outboundSchema.parse(sqli));
|
|
1430
|
+
}
|
|
1431
|
+
|
|
1432
|
+
export function sqliFromJSON(
|
|
1433
|
+
jsonString: string,
|
|
1434
|
+
): SafeParseResult<Sqli, SDKValidationError> {
|
|
1435
|
+
return safeParse(
|
|
1436
|
+
jsonString,
|
|
1437
|
+
(x) => Sqli$inboundSchema.parse(JSON.parse(x)),
|
|
1438
|
+
`Failed to parse 'Sqli' from JSON`,
|
|
1439
|
+
);
|
|
1440
|
+
}
|
|
1441
|
+
|
|
1442
|
+
/** @internal */
|
|
1443
|
+
export const PutFirewallConfigSecurityRequestRequestBodyCrsSfAction$inboundSchema:
|
|
1444
|
+
z.ZodNativeEnum<
|
|
1445
|
+
typeof PutFirewallConfigSecurityRequestRequestBodyCrsSfAction
|
|
1446
|
+
> = z.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyCrsSfAction);
|
|
1447
|
+
|
|
1448
|
+
/** @internal */
|
|
1449
|
+
export const PutFirewallConfigSecurityRequestRequestBodyCrsSfAction$outboundSchema:
|
|
1450
|
+
z.ZodNativeEnum<
|
|
1451
|
+
typeof PutFirewallConfigSecurityRequestRequestBodyCrsSfAction
|
|
1452
|
+
> = PutFirewallConfigSecurityRequestRequestBodyCrsSfAction$inboundSchema;
|
|
1453
|
+
|
|
1454
|
+
/**
|
|
1455
|
+
* @internal
|
|
1456
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1457
|
+
*/
|
|
1458
|
+
export namespace PutFirewallConfigSecurityRequestRequestBodyCrsSfAction$ {
|
|
1459
|
+
/** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsSfAction$inboundSchema` instead. */
|
|
1460
|
+
export const inboundSchema =
|
|
1461
|
+
PutFirewallConfigSecurityRequestRequestBodyCrsSfAction$inboundSchema;
|
|
1462
|
+
/** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsSfAction$outboundSchema` instead. */
|
|
1463
|
+
export const outboundSchema =
|
|
1464
|
+
PutFirewallConfigSecurityRequestRequestBodyCrsSfAction$outboundSchema;
|
|
1465
|
+
}
|
|
1466
|
+
|
|
1467
|
+
/** @internal */
|
|
1468
|
+
export const Sf$inboundSchema: z.ZodType<Sf, z.ZodTypeDef, unknown> = z.object({
|
|
1469
|
+
active: z.boolean(),
|
|
1470
|
+
action: PutFirewallConfigSecurityRequestRequestBodyCrsSfAction$inboundSchema,
|
|
1471
|
+
});
|
|
1472
|
+
|
|
1473
|
+
/** @internal */
|
|
1474
|
+
export type Sf$Outbound = {
|
|
1475
|
+
active: boolean;
|
|
1476
|
+
action: string;
|
|
1477
|
+
};
|
|
1478
|
+
|
|
1479
|
+
/** @internal */
|
|
1480
|
+
export const Sf$outboundSchema: z.ZodType<Sf$Outbound, z.ZodTypeDef, Sf> = z
|
|
1481
|
+
.object({
|
|
1482
|
+
active: z.boolean(),
|
|
1483
|
+
action:
|
|
1484
|
+
PutFirewallConfigSecurityRequestRequestBodyCrsSfAction$outboundSchema,
|
|
1485
|
+
});
|
|
1486
|
+
|
|
1487
|
+
/**
|
|
1488
|
+
* @internal
|
|
1489
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1490
|
+
*/
|
|
1491
|
+
export namespace Sf$ {
|
|
1492
|
+
/** @deprecated use `Sf$inboundSchema` instead. */
|
|
1493
|
+
export const inboundSchema = Sf$inboundSchema;
|
|
1494
|
+
/** @deprecated use `Sf$outboundSchema` instead. */
|
|
1495
|
+
export const outboundSchema = Sf$outboundSchema;
|
|
1496
|
+
/** @deprecated use `Sf$Outbound` instead. */
|
|
1497
|
+
export type Outbound = Sf$Outbound;
|
|
1498
|
+
}
|
|
1499
|
+
|
|
1500
|
+
export function sfToJSON(sf: Sf): string {
|
|
1501
|
+
return JSON.stringify(Sf$outboundSchema.parse(sf));
|
|
1502
|
+
}
|
|
1503
|
+
|
|
1504
|
+
export function sfFromJSON(
|
|
1505
|
+
jsonString: string,
|
|
1506
|
+
): SafeParseResult<Sf, SDKValidationError> {
|
|
1507
|
+
return safeParse(
|
|
1508
|
+
jsonString,
|
|
1509
|
+
(x) => Sf$inboundSchema.parse(JSON.parse(x)),
|
|
1510
|
+
`Failed to parse 'Sf' from JSON`,
|
|
1511
|
+
);
|
|
1512
|
+
}
|
|
1513
|
+
|
|
1514
|
+
/** @internal */
|
|
1515
|
+
export const PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction$inboundSchema:
|
|
1516
|
+
z.ZodNativeEnum<
|
|
1517
|
+
typeof PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction
|
|
1518
|
+
> = z.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction);
|
|
1519
|
+
|
|
1520
|
+
/** @internal */
|
|
1521
|
+
export const PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction$outboundSchema:
|
|
1522
|
+
z.ZodNativeEnum<
|
|
1523
|
+
typeof PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction
|
|
1524
|
+
> = PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction$inboundSchema;
|
|
1525
|
+
|
|
1526
|
+
/**
|
|
1527
|
+
* @internal
|
|
1528
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1529
|
+
*/
|
|
1530
|
+
export namespace PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction$ {
|
|
1531
|
+
/** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction$inboundSchema` instead. */
|
|
1532
|
+
export const inboundSchema =
|
|
1533
|
+
PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction$inboundSchema;
|
|
1534
|
+
/** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction$outboundSchema` instead. */
|
|
1535
|
+
export const outboundSchema =
|
|
1536
|
+
PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction$outboundSchema;
|
|
1537
|
+
}
|
|
1538
|
+
|
|
1539
|
+
/** @internal */
|
|
1540
|
+
export const Java$inboundSchema: z.ZodType<Java, z.ZodTypeDef, unknown> = z
|
|
1541
|
+
.object({
|
|
1542
|
+
active: z.boolean(),
|
|
1543
|
+
action:
|
|
1544
|
+
PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction$inboundSchema,
|
|
1545
|
+
});
|
|
1546
|
+
|
|
1547
|
+
/** @internal */
|
|
1548
|
+
export type Java$Outbound = {
|
|
1549
|
+
active: boolean;
|
|
1550
|
+
action: string;
|
|
1551
|
+
};
|
|
1552
|
+
|
|
1553
|
+
/** @internal */
|
|
1554
|
+
export const Java$outboundSchema: z.ZodType<Java$Outbound, z.ZodTypeDef, Java> =
|
|
1555
|
+
z.object({
|
|
1556
|
+
active: z.boolean(),
|
|
1557
|
+
action:
|
|
1558
|
+
PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction$outboundSchema,
|
|
1559
|
+
});
|
|
1560
|
+
|
|
1561
|
+
/**
|
|
1562
|
+
* @internal
|
|
1563
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1564
|
+
*/
|
|
1565
|
+
export namespace Java$ {
|
|
1566
|
+
/** @deprecated use `Java$inboundSchema` instead. */
|
|
1567
|
+
export const inboundSchema = Java$inboundSchema;
|
|
1568
|
+
/** @deprecated use `Java$outboundSchema` instead. */
|
|
1569
|
+
export const outboundSchema = Java$outboundSchema;
|
|
1570
|
+
/** @deprecated use `Java$Outbound` instead. */
|
|
1571
|
+
export type Outbound = Java$Outbound;
|
|
1572
|
+
}
|
|
1573
|
+
|
|
1574
|
+
export function javaToJSON(java: Java): string {
|
|
1575
|
+
return JSON.stringify(Java$outboundSchema.parse(java));
|
|
1576
|
+
}
|
|
1577
|
+
|
|
1578
|
+
export function javaFromJSON(
|
|
1579
|
+
jsonString: string,
|
|
1580
|
+
): SafeParseResult<Java, SDKValidationError> {
|
|
1581
|
+
return safeParse(
|
|
1582
|
+
jsonString,
|
|
1583
|
+
(x) => Java$inboundSchema.parse(JSON.parse(x)),
|
|
1584
|
+
`Failed to parse 'Java' from JSON`,
|
|
1585
|
+
);
|
|
1586
|
+
}
|
|
1587
|
+
|
|
1588
|
+
/** @internal */
|
|
1589
|
+
export const Crs$inboundSchema: z.ZodType<Crs, z.ZodTypeDef, unknown> = z
|
|
1590
|
+
.object({
|
|
1591
|
+
sd: z.lazy(() => Sd$inboundSchema).optional(),
|
|
1592
|
+
ma: z.lazy(() => Ma$inboundSchema).optional(),
|
|
1593
|
+
lfi: z.lazy(() => Lfi$inboundSchema).optional(),
|
|
1594
|
+
rfi: z.lazy(() => Rfi$inboundSchema).optional(),
|
|
1595
|
+
rce: z.lazy(() => Rce$inboundSchema).optional(),
|
|
1596
|
+
php: z.lazy(() => Php$inboundSchema).optional(),
|
|
1597
|
+
gen: z.lazy(() => Gen$inboundSchema).optional(),
|
|
1598
|
+
xss: z.lazy(() => Xss$inboundSchema).optional(),
|
|
1599
|
+
sqli: z.lazy(() => Sqli$inboundSchema).optional(),
|
|
1600
|
+
sf: z.lazy(() => Sf$inboundSchema).optional(),
|
|
1601
|
+
java: z.lazy(() => Java$inboundSchema).optional(),
|
|
1602
|
+
});
|
|
1603
|
+
|
|
1604
|
+
/** @internal */
|
|
1605
|
+
export type Crs$Outbound = {
|
|
1606
|
+
sd?: Sd$Outbound | undefined;
|
|
1607
|
+
ma?: Ma$Outbound | undefined;
|
|
1608
|
+
lfi?: Lfi$Outbound | undefined;
|
|
1609
|
+
rfi?: Rfi$Outbound | undefined;
|
|
1610
|
+
rce?: Rce$Outbound | undefined;
|
|
1611
|
+
php?: Php$Outbound | undefined;
|
|
1612
|
+
gen?: Gen$Outbound | undefined;
|
|
1613
|
+
xss?: Xss$Outbound | undefined;
|
|
1614
|
+
sqli?: Sqli$Outbound | undefined;
|
|
1615
|
+
sf?: Sf$Outbound | undefined;
|
|
1616
|
+
java?: Java$Outbound | undefined;
|
|
1617
|
+
};
|
|
1618
|
+
|
|
1619
|
+
/** @internal */
|
|
1620
|
+
export const Crs$outboundSchema: z.ZodType<Crs$Outbound, z.ZodTypeDef, Crs> = z
|
|
1621
|
+
.object({
|
|
1622
|
+
sd: z.lazy(() => Sd$outboundSchema).optional(),
|
|
1623
|
+
ma: z.lazy(() => Ma$outboundSchema).optional(),
|
|
1624
|
+
lfi: z.lazy(() => Lfi$outboundSchema).optional(),
|
|
1625
|
+
rfi: z.lazy(() => Rfi$outboundSchema).optional(),
|
|
1626
|
+
rce: z.lazy(() => Rce$outboundSchema).optional(),
|
|
1627
|
+
php: z.lazy(() => Php$outboundSchema).optional(),
|
|
1628
|
+
gen: z.lazy(() => Gen$outboundSchema).optional(),
|
|
1629
|
+
xss: z.lazy(() => Xss$outboundSchema).optional(),
|
|
1630
|
+
sqli: z.lazy(() => Sqli$outboundSchema).optional(),
|
|
1631
|
+
sf: z.lazy(() => Sf$outboundSchema).optional(),
|
|
1632
|
+
java: z.lazy(() => Java$outboundSchema).optional(),
|
|
1633
|
+
});
|
|
1634
|
+
|
|
1635
|
+
/**
|
|
1636
|
+
* @internal
|
|
1637
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1638
|
+
*/
|
|
1639
|
+
export namespace Crs$ {
|
|
1640
|
+
/** @deprecated use `Crs$inboundSchema` instead. */
|
|
1641
|
+
export const inboundSchema = Crs$inboundSchema;
|
|
1642
|
+
/** @deprecated use `Crs$outboundSchema` instead. */
|
|
1643
|
+
export const outboundSchema = Crs$outboundSchema;
|
|
1644
|
+
/** @deprecated use `Crs$Outbound` instead. */
|
|
1645
|
+
export type Outbound = Crs$Outbound;
|
|
1646
|
+
}
|
|
1647
|
+
|
|
1648
|
+
export function crsToJSON(crs: Crs): string {
|
|
1649
|
+
return JSON.stringify(Crs$outboundSchema.parse(crs));
|
|
1650
|
+
}
|
|
1651
|
+
|
|
1652
|
+
export function crsFromJSON(
|
|
1653
|
+
jsonString: string,
|
|
1654
|
+
): SafeParseResult<Crs, SDKValidationError> {
|
|
1655
|
+
return safeParse(
|
|
1656
|
+
jsonString,
|
|
1657
|
+
(x) => Crs$inboundSchema.parse(JSON.parse(x)),
|
|
1658
|
+
`Failed to parse 'Crs' from JSON`,
|
|
1659
|
+
);
|
|
1660
|
+
}
|
|
1661
|
+
|
|
1662
|
+
/** @internal */
|
|
1663
|
+
export const PutFirewallConfigType$inboundSchema: z.ZodNativeEnum<
|
|
1664
|
+
typeof PutFirewallConfigType
|
|
1665
|
+
> = z.nativeEnum(PutFirewallConfigType);
|
|
1666
|
+
|
|
1667
|
+
/** @internal */
|
|
1668
|
+
export const PutFirewallConfigType$outboundSchema: z.ZodNativeEnum<
|
|
1669
|
+
typeof PutFirewallConfigType
|
|
1670
|
+
> = PutFirewallConfigType$inboundSchema;
|
|
1671
|
+
|
|
1672
|
+
/**
|
|
1673
|
+
* @internal
|
|
1674
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1675
|
+
*/
|
|
1676
|
+
export namespace PutFirewallConfigType$ {
|
|
1677
|
+
/** @deprecated use `PutFirewallConfigType$inboundSchema` instead. */
|
|
1678
|
+
export const inboundSchema = PutFirewallConfigType$inboundSchema;
|
|
1679
|
+
/** @deprecated use `PutFirewallConfigType$outboundSchema` instead. */
|
|
1680
|
+
export const outboundSchema = PutFirewallConfigType$outboundSchema;
|
|
1681
|
+
}
|
|
1682
|
+
|
|
1683
|
+
/** @internal */
|
|
1684
|
+
export const Op$inboundSchema: z.ZodNativeEnum<typeof Op> = z.nativeEnum(Op);
|
|
1685
|
+
|
|
1686
|
+
/** @internal */
|
|
1687
|
+
export const Op$outboundSchema: z.ZodNativeEnum<typeof Op> = Op$inboundSchema;
|
|
1688
|
+
|
|
1689
|
+
/**
|
|
1690
|
+
* @internal
|
|
1691
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1692
|
+
*/
|
|
1693
|
+
export namespace Op$ {
|
|
1694
|
+
/** @deprecated use `Op$inboundSchema` instead. */
|
|
1695
|
+
export const inboundSchema = Op$inboundSchema;
|
|
1696
|
+
/** @deprecated use `Op$outboundSchema` instead. */
|
|
1697
|
+
export const outboundSchema = Op$outboundSchema;
|
|
1698
|
+
}
|
|
1699
|
+
|
|
1700
|
+
/** @internal */
|
|
1701
|
+
export const PutFirewallConfigValue$inboundSchema: z.ZodType<
|
|
1702
|
+
PutFirewallConfigValue,
|
|
1703
|
+
z.ZodTypeDef,
|
|
1704
|
+
unknown
|
|
1705
|
+
> = z.union([z.string(), z.array(z.string()), z.number()]);
|
|
1706
|
+
|
|
1707
|
+
/** @internal */
|
|
1708
|
+
export type PutFirewallConfigValue$Outbound = string | Array<string> | number;
|
|
1709
|
+
|
|
1710
|
+
/** @internal */
|
|
1711
|
+
export const PutFirewallConfigValue$outboundSchema: z.ZodType<
|
|
1712
|
+
PutFirewallConfigValue$Outbound,
|
|
1713
|
+
z.ZodTypeDef,
|
|
1714
|
+
PutFirewallConfigValue
|
|
1715
|
+
> = z.union([z.string(), z.array(z.string()), z.number()]);
|
|
1716
|
+
|
|
1717
|
+
/**
|
|
1718
|
+
* @internal
|
|
1719
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1720
|
+
*/
|
|
1721
|
+
export namespace PutFirewallConfigValue$ {
|
|
1722
|
+
/** @deprecated use `PutFirewallConfigValue$inboundSchema` instead. */
|
|
1723
|
+
export const inboundSchema = PutFirewallConfigValue$inboundSchema;
|
|
1724
|
+
/** @deprecated use `PutFirewallConfigValue$outboundSchema` instead. */
|
|
1725
|
+
export const outboundSchema = PutFirewallConfigValue$outboundSchema;
|
|
1726
|
+
/** @deprecated use `PutFirewallConfigValue$Outbound` instead. */
|
|
1727
|
+
export type Outbound = PutFirewallConfigValue$Outbound;
|
|
1728
|
+
}
|
|
1729
|
+
|
|
1730
|
+
export function putFirewallConfigValueToJSON(
|
|
1731
|
+
putFirewallConfigValue: PutFirewallConfigValue,
|
|
1732
|
+
): string {
|
|
1733
|
+
return JSON.stringify(
|
|
1734
|
+
PutFirewallConfigValue$outboundSchema.parse(putFirewallConfigValue),
|
|
1735
|
+
);
|
|
1736
|
+
}
|
|
1737
|
+
|
|
1738
|
+
export function putFirewallConfigValueFromJSON(
|
|
1739
|
+
jsonString: string,
|
|
1740
|
+
): SafeParseResult<PutFirewallConfigValue, SDKValidationError> {
|
|
1741
|
+
return safeParse(
|
|
1742
|
+
jsonString,
|
|
1743
|
+
(x) => PutFirewallConfigValue$inboundSchema.parse(JSON.parse(x)),
|
|
1744
|
+
`Failed to parse 'PutFirewallConfigValue' from JSON`,
|
|
1745
|
+
);
|
|
1746
|
+
}
|
|
1747
|
+
|
|
1748
|
+
/** @internal */
|
|
1749
|
+
export const Conditions$inboundSchema: z.ZodType<
|
|
1750
|
+
Conditions,
|
|
1751
|
+
z.ZodTypeDef,
|
|
1752
|
+
unknown
|
|
1753
|
+
> = z.object({
|
|
1754
|
+
type: PutFirewallConfigType$inboundSchema,
|
|
1755
|
+
op: Op$inboundSchema,
|
|
1756
|
+
neg: z.boolean().optional(),
|
|
1757
|
+
key: z.string().optional(),
|
|
1758
|
+
value: z.union([z.string(), z.array(z.string()), z.number()]).optional(),
|
|
1759
|
+
});
|
|
1760
|
+
|
|
1761
|
+
/** @internal */
|
|
1762
|
+
export type Conditions$Outbound = {
|
|
1763
|
+
type: string;
|
|
1764
|
+
op: string;
|
|
1765
|
+
neg?: boolean | undefined;
|
|
1766
|
+
key?: string | undefined;
|
|
1767
|
+
value?: string | Array<string> | number | undefined;
|
|
1768
|
+
};
|
|
1769
|
+
|
|
1770
|
+
/** @internal */
|
|
1771
|
+
export const Conditions$outboundSchema: z.ZodType<
|
|
1772
|
+
Conditions$Outbound,
|
|
1773
|
+
z.ZodTypeDef,
|
|
1774
|
+
Conditions
|
|
1775
|
+
> = z.object({
|
|
1776
|
+
type: PutFirewallConfigType$outboundSchema,
|
|
1777
|
+
op: Op$outboundSchema,
|
|
1778
|
+
neg: z.boolean().optional(),
|
|
1779
|
+
key: z.string().optional(),
|
|
1780
|
+
value: z.union([z.string(), z.array(z.string()), z.number()]).optional(),
|
|
1781
|
+
});
|
|
1782
|
+
|
|
1783
|
+
/**
|
|
1784
|
+
* @internal
|
|
1785
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1786
|
+
*/
|
|
1787
|
+
export namespace Conditions$ {
|
|
1788
|
+
/** @deprecated use `Conditions$inboundSchema` instead. */
|
|
1789
|
+
export const inboundSchema = Conditions$inboundSchema;
|
|
1790
|
+
/** @deprecated use `Conditions$outboundSchema` instead. */
|
|
1791
|
+
export const outboundSchema = Conditions$outboundSchema;
|
|
1792
|
+
/** @deprecated use `Conditions$Outbound` instead. */
|
|
1793
|
+
export type Outbound = Conditions$Outbound;
|
|
1794
|
+
}
|
|
1795
|
+
|
|
1796
|
+
export function conditionsToJSON(conditions: Conditions): string {
|
|
1797
|
+
return JSON.stringify(Conditions$outboundSchema.parse(conditions));
|
|
1798
|
+
}
|
|
1799
|
+
|
|
1800
|
+
export function conditionsFromJSON(
|
|
1801
|
+
jsonString: string,
|
|
1802
|
+
): SafeParseResult<Conditions, SDKValidationError> {
|
|
1803
|
+
return safeParse(
|
|
1804
|
+
jsonString,
|
|
1805
|
+
(x) => Conditions$inboundSchema.parse(JSON.parse(x)),
|
|
1806
|
+
`Failed to parse 'Conditions' from JSON`,
|
|
1807
|
+
);
|
|
1808
|
+
}
|
|
1809
|
+
|
|
1810
|
+
/** @internal */
|
|
1811
|
+
export const ConditionGroup$inboundSchema: z.ZodType<
|
|
1812
|
+
ConditionGroup,
|
|
1813
|
+
z.ZodTypeDef,
|
|
1814
|
+
unknown
|
|
1815
|
+
> = z.object({
|
|
1816
|
+
conditions: z.array(z.lazy(() => Conditions$inboundSchema)),
|
|
1817
|
+
});
|
|
1818
|
+
|
|
1819
|
+
/** @internal */
|
|
1820
|
+
export type ConditionGroup$Outbound = {
|
|
1821
|
+
conditions: Array<Conditions$Outbound>;
|
|
1822
|
+
};
|
|
1823
|
+
|
|
1824
|
+
/** @internal */
|
|
1825
|
+
export const ConditionGroup$outboundSchema: z.ZodType<
|
|
1826
|
+
ConditionGroup$Outbound,
|
|
1827
|
+
z.ZodTypeDef,
|
|
1828
|
+
ConditionGroup
|
|
1829
|
+
> = z.object({
|
|
1830
|
+
conditions: z.array(z.lazy(() => Conditions$outboundSchema)),
|
|
1831
|
+
});
|
|
1832
|
+
|
|
1833
|
+
/**
|
|
1834
|
+
* @internal
|
|
1835
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1836
|
+
*/
|
|
1837
|
+
export namespace ConditionGroup$ {
|
|
1838
|
+
/** @deprecated use `ConditionGroup$inboundSchema` instead. */
|
|
1839
|
+
export const inboundSchema = ConditionGroup$inboundSchema;
|
|
1840
|
+
/** @deprecated use `ConditionGroup$outboundSchema` instead. */
|
|
1841
|
+
export const outboundSchema = ConditionGroup$outboundSchema;
|
|
1842
|
+
/** @deprecated use `ConditionGroup$Outbound` instead. */
|
|
1843
|
+
export type Outbound = ConditionGroup$Outbound;
|
|
1844
|
+
}
|
|
1845
|
+
|
|
1846
|
+
export function conditionGroupToJSON(conditionGroup: ConditionGroup): string {
|
|
1847
|
+
return JSON.stringify(ConditionGroup$outboundSchema.parse(conditionGroup));
|
|
1848
|
+
}
|
|
1849
|
+
|
|
1850
|
+
export function conditionGroupFromJSON(
|
|
1851
|
+
jsonString: string,
|
|
1852
|
+
): SafeParseResult<ConditionGroup, SDKValidationError> {
|
|
1853
|
+
return safeParse(
|
|
1854
|
+
jsonString,
|
|
1855
|
+
(x) => ConditionGroup$inboundSchema.parse(JSON.parse(x)),
|
|
1856
|
+
`Failed to parse 'ConditionGroup' from JSON`,
|
|
1857
|
+
);
|
|
1858
|
+
}
|
|
1859
|
+
|
|
1860
|
+
/** @internal */
|
|
1861
|
+
export const PutFirewallConfigSecurityRequestRequestBodyRulesActionAction$inboundSchema:
|
|
1862
|
+
z.ZodNativeEnum<
|
|
1863
|
+
typeof PutFirewallConfigSecurityRequestRequestBodyRulesActionAction
|
|
1864
|
+
> = z.nativeEnum(
|
|
1865
|
+
PutFirewallConfigSecurityRequestRequestBodyRulesActionAction,
|
|
1866
|
+
);
|
|
1867
|
+
|
|
1868
|
+
/** @internal */
|
|
1869
|
+
export const PutFirewallConfigSecurityRequestRequestBodyRulesActionAction$outboundSchema:
|
|
1870
|
+
z.ZodNativeEnum<
|
|
1871
|
+
typeof PutFirewallConfigSecurityRequestRequestBodyRulesActionAction
|
|
1872
|
+
> =
|
|
1873
|
+
PutFirewallConfigSecurityRequestRequestBodyRulesActionAction$inboundSchema;
|
|
1874
|
+
|
|
1875
|
+
/**
|
|
1876
|
+
* @internal
|
|
1877
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1878
|
+
*/
|
|
1879
|
+
export namespace PutFirewallConfigSecurityRequestRequestBodyRulesActionAction$ {
|
|
1880
|
+
/** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyRulesActionAction$inboundSchema` instead. */
|
|
1881
|
+
export const inboundSchema =
|
|
1882
|
+
PutFirewallConfigSecurityRequestRequestBodyRulesActionAction$inboundSchema;
|
|
1883
|
+
/** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyRulesActionAction$outboundSchema` instead. */
|
|
1884
|
+
export const outboundSchema =
|
|
1885
|
+
PutFirewallConfigSecurityRequestRequestBodyRulesActionAction$outboundSchema;
|
|
1886
|
+
}
|
|
1887
|
+
|
|
1888
|
+
/** @internal */
|
|
1889
|
+
export const Algo$inboundSchema: z.ZodNativeEnum<typeof Algo> = z.nativeEnum(
|
|
1890
|
+
Algo,
|
|
1891
|
+
);
|
|
1892
|
+
|
|
1893
|
+
/** @internal */
|
|
1894
|
+
export const Algo$outboundSchema: z.ZodNativeEnum<typeof Algo> =
|
|
1895
|
+
Algo$inboundSchema;
|
|
1896
|
+
|
|
1897
|
+
/**
|
|
1898
|
+
* @internal
|
|
1899
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1900
|
+
*/
|
|
1901
|
+
export namespace Algo$ {
|
|
1902
|
+
/** @deprecated use `Algo$inboundSchema` instead. */
|
|
1903
|
+
export const inboundSchema = Algo$inboundSchema;
|
|
1904
|
+
/** @deprecated use `Algo$outboundSchema` instead. */
|
|
1905
|
+
export const outboundSchema = Algo$outboundSchema;
|
|
1906
|
+
}
|
|
1907
|
+
|
|
1908
|
+
/** @internal */
|
|
1909
|
+
export const Action1$inboundSchema: z.ZodNativeEnum<typeof Action1> = z
|
|
1910
|
+
.nativeEnum(Action1);
|
|
1911
|
+
|
|
1912
|
+
/** @internal */
|
|
1913
|
+
export const Action1$outboundSchema: z.ZodNativeEnum<typeof Action1> =
|
|
1914
|
+
Action1$inboundSchema;
|
|
1915
|
+
|
|
1916
|
+
/**
|
|
1917
|
+
* @internal
|
|
1918
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1919
|
+
*/
|
|
1920
|
+
export namespace Action1$ {
|
|
1921
|
+
/** @deprecated use `Action1$inboundSchema` instead. */
|
|
1922
|
+
export const inboundSchema = Action1$inboundSchema;
|
|
1923
|
+
/** @deprecated use `Action1$outboundSchema` instead. */
|
|
1924
|
+
export const outboundSchema = Action1$outboundSchema;
|
|
1925
|
+
}
|
|
1926
|
+
|
|
1927
|
+
/** @internal */
|
|
1928
|
+
export const RateLimitAction$inboundSchema: z.ZodType<
|
|
1929
|
+
RateLimitAction,
|
|
1930
|
+
z.ZodTypeDef,
|
|
1931
|
+
unknown
|
|
1932
|
+
> = z.union([Action1$inboundSchema, z.any()]);
|
|
1933
|
+
|
|
1934
|
+
/** @internal */
|
|
1935
|
+
export type RateLimitAction$Outbound = string | any;
|
|
1936
|
+
|
|
1937
|
+
/** @internal */
|
|
1938
|
+
export const RateLimitAction$outboundSchema: z.ZodType<
|
|
1939
|
+
RateLimitAction$Outbound,
|
|
1940
|
+
z.ZodTypeDef,
|
|
1941
|
+
RateLimitAction
|
|
1942
|
+
> = z.union([Action1$outboundSchema, z.any()]);
|
|
1943
|
+
|
|
1944
|
+
/**
|
|
1945
|
+
* @internal
|
|
1946
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1947
|
+
*/
|
|
1948
|
+
export namespace RateLimitAction$ {
|
|
1949
|
+
/** @deprecated use `RateLimitAction$inboundSchema` instead. */
|
|
1950
|
+
export const inboundSchema = RateLimitAction$inboundSchema;
|
|
1951
|
+
/** @deprecated use `RateLimitAction$outboundSchema` instead. */
|
|
1952
|
+
export const outboundSchema = RateLimitAction$outboundSchema;
|
|
1953
|
+
/** @deprecated use `RateLimitAction$Outbound` instead. */
|
|
1954
|
+
export type Outbound = RateLimitAction$Outbound;
|
|
1955
|
+
}
|
|
1956
|
+
|
|
1957
|
+
export function rateLimitActionToJSON(
|
|
1958
|
+
rateLimitAction: RateLimitAction,
|
|
1959
|
+
): string {
|
|
1960
|
+
return JSON.stringify(RateLimitAction$outboundSchema.parse(rateLimitAction));
|
|
1961
|
+
}
|
|
1962
|
+
|
|
1963
|
+
export function rateLimitActionFromJSON(
|
|
1964
|
+
jsonString: string,
|
|
1965
|
+
): SafeParseResult<RateLimitAction, SDKValidationError> {
|
|
1966
|
+
return safeParse(
|
|
1967
|
+
jsonString,
|
|
1968
|
+
(x) => RateLimitAction$inboundSchema.parse(JSON.parse(x)),
|
|
1969
|
+
`Failed to parse 'RateLimitAction' from JSON`,
|
|
1970
|
+
);
|
|
1971
|
+
}
|
|
1972
|
+
|
|
1973
|
+
/** @internal */
|
|
1974
|
+
export const RateLimit1$inboundSchema: z.ZodType<
|
|
1975
|
+
RateLimit1,
|
|
1976
|
+
z.ZodTypeDef,
|
|
1977
|
+
unknown
|
|
1978
|
+
> = z.object({
|
|
1979
|
+
algo: Algo$inboundSchema,
|
|
1980
|
+
window: z.number(),
|
|
1981
|
+
limit: z.number(),
|
|
1982
|
+
keys: z.array(z.string()),
|
|
1983
|
+
action: z.nullable(z.union([Action1$inboundSchema, z.any()])).optional(),
|
|
1984
|
+
});
|
|
1985
|
+
|
|
1986
|
+
/** @internal */
|
|
1987
|
+
export type RateLimit1$Outbound = {
|
|
1988
|
+
algo: string;
|
|
1989
|
+
window: number;
|
|
1990
|
+
limit: number;
|
|
1991
|
+
keys: Array<string>;
|
|
1992
|
+
action?: string | any | null | undefined;
|
|
1993
|
+
};
|
|
1994
|
+
|
|
1995
|
+
/** @internal */
|
|
1996
|
+
export const RateLimit1$outboundSchema: z.ZodType<
|
|
1997
|
+
RateLimit1$Outbound,
|
|
1998
|
+
z.ZodTypeDef,
|
|
1999
|
+
RateLimit1
|
|
2000
|
+
> = z.object({
|
|
2001
|
+
algo: Algo$outboundSchema,
|
|
2002
|
+
window: z.number(),
|
|
2003
|
+
limit: z.number(),
|
|
2004
|
+
keys: z.array(z.string()),
|
|
2005
|
+
action: z.nullable(z.union([Action1$outboundSchema, z.any()])).optional(),
|
|
2006
|
+
});
|
|
2007
|
+
|
|
2008
|
+
/**
|
|
2009
|
+
* @internal
|
|
2010
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2011
|
+
*/
|
|
2012
|
+
export namespace RateLimit1$ {
|
|
2013
|
+
/** @deprecated use `RateLimit1$inboundSchema` instead. */
|
|
2014
|
+
export const inboundSchema = RateLimit1$inboundSchema;
|
|
2015
|
+
/** @deprecated use `RateLimit1$outboundSchema` instead. */
|
|
2016
|
+
export const outboundSchema = RateLimit1$outboundSchema;
|
|
2017
|
+
/** @deprecated use `RateLimit1$Outbound` instead. */
|
|
2018
|
+
export type Outbound = RateLimit1$Outbound;
|
|
2019
|
+
}
|
|
2020
|
+
|
|
2021
|
+
export function rateLimit1ToJSON(rateLimit1: RateLimit1): string {
|
|
2022
|
+
return JSON.stringify(RateLimit1$outboundSchema.parse(rateLimit1));
|
|
2023
|
+
}
|
|
2024
|
+
|
|
2025
|
+
export function rateLimit1FromJSON(
|
|
2026
|
+
jsonString: string,
|
|
2027
|
+
): SafeParseResult<RateLimit1, SDKValidationError> {
|
|
2028
|
+
return safeParse(
|
|
2029
|
+
jsonString,
|
|
2030
|
+
(x) => RateLimit1$inboundSchema.parse(JSON.parse(x)),
|
|
2031
|
+
`Failed to parse 'RateLimit1' from JSON`,
|
|
2032
|
+
);
|
|
2033
|
+
}
|
|
2034
|
+
|
|
2035
|
+
/** @internal */
|
|
2036
|
+
export const RateLimit$inboundSchema: z.ZodType<
|
|
2037
|
+
RateLimit,
|
|
2038
|
+
z.ZodTypeDef,
|
|
2039
|
+
unknown
|
|
2040
|
+
> = z.union([z.lazy(() => RateLimit1$inboundSchema), z.any()]);
|
|
2041
|
+
|
|
2042
|
+
/** @internal */
|
|
2043
|
+
export type RateLimit$Outbound = RateLimit1$Outbound | any;
|
|
2044
|
+
|
|
2045
|
+
/** @internal */
|
|
2046
|
+
export const RateLimit$outboundSchema: z.ZodType<
|
|
2047
|
+
RateLimit$Outbound,
|
|
2048
|
+
z.ZodTypeDef,
|
|
2049
|
+
RateLimit
|
|
2050
|
+
> = z.union([z.lazy(() => RateLimit1$outboundSchema), z.any()]);
|
|
2051
|
+
|
|
2052
|
+
/**
|
|
2053
|
+
* @internal
|
|
2054
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2055
|
+
*/
|
|
2056
|
+
export namespace RateLimit$ {
|
|
2057
|
+
/** @deprecated use `RateLimit$inboundSchema` instead. */
|
|
2058
|
+
export const inboundSchema = RateLimit$inboundSchema;
|
|
2059
|
+
/** @deprecated use `RateLimit$outboundSchema` instead. */
|
|
2060
|
+
export const outboundSchema = RateLimit$outboundSchema;
|
|
2061
|
+
/** @deprecated use `RateLimit$Outbound` instead. */
|
|
2062
|
+
export type Outbound = RateLimit$Outbound;
|
|
2063
|
+
}
|
|
2064
|
+
|
|
2065
|
+
export function rateLimitToJSON(rateLimit: RateLimit): string {
|
|
2066
|
+
return JSON.stringify(RateLimit$outboundSchema.parse(rateLimit));
|
|
2067
|
+
}
|
|
2068
|
+
|
|
2069
|
+
export function rateLimitFromJSON(
|
|
2070
|
+
jsonString: string,
|
|
2071
|
+
): SafeParseResult<RateLimit, SDKValidationError> {
|
|
2072
|
+
return safeParse(
|
|
2073
|
+
jsonString,
|
|
2074
|
+
(x) => RateLimit$inboundSchema.parse(JSON.parse(x)),
|
|
2075
|
+
`Failed to parse 'RateLimit' from JSON`,
|
|
2076
|
+
);
|
|
2077
|
+
}
|
|
2078
|
+
|
|
2079
|
+
/** @internal */
|
|
2080
|
+
export const Redirect1$inboundSchema: z.ZodType<
|
|
2081
|
+
Redirect1,
|
|
2082
|
+
z.ZodTypeDef,
|
|
2083
|
+
unknown
|
|
2084
|
+
> = z.object({
|
|
2085
|
+
location: z.string(),
|
|
2086
|
+
permanent: z.boolean(),
|
|
2087
|
+
});
|
|
2088
|
+
|
|
2089
|
+
/** @internal */
|
|
2090
|
+
export type Redirect1$Outbound = {
|
|
2091
|
+
location: string;
|
|
2092
|
+
permanent: boolean;
|
|
2093
|
+
};
|
|
2094
|
+
|
|
2095
|
+
/** @internal */
|
|
2096
|
+
export const Redirect1$outboundSchema: z.ZodType<
|
|
2097
|
+
Redirect1$Outbound,
|
|
2098
|
+
z.ZodTypeDef,
|
|
2099
|
+
Redirect1
|
|
2100
|
+
> = z.object({
|
|
2101
|
+
location: z.string(),
|
|
2102
|
+
permanent: z.boolean(),
|
|
2103
|
+
});
|
|
2104
|
+
|
|
2105
|
+
/**
|
|
2106
|
+
* @internal
|
|
2107
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2108
|
+
*/
|
|
2109
|
+
export namespace Redirect1$ {
|
|
2110
|
+
/** @deprecated use `Redirect1$inboundSchema` instead. */
|
|
2111
|
+
export const inboundSchema = Redirect1$inboundSchema;
|
|
2112
|
+
/** @deprecated use `Redirect1$outboundSchema` instead. */
|
|
2113
|
+
export const outboundSchema = Redirect1$outboundSchema;
|
|
2114
|
+
/** @deprecated use `Redirect1$Outbound` instead. */
|
|
2115
|
+
export type Outbound = Redirect1$Outbound;
|
|
2116
|
+
}
|
|
2117
|
+
|
|
2118
|
+
export function redirect1ToJSON(redirect1: Redirect1): string {
|
|
2119
|
+
return JSON.stringify(Redirect1$outboundSchema.parse(redirect1));
|
|
2120
|
+
}
|
|
2121
|
+
|
|
2122
|
+
export function redirect1FromJSON(
|
|
2123
|
+
jsonString: string,
|
|
2124
|
+
): SafeParseResult<Redirect1, SDKValidationError> {
|
|
2125
|
+
return safeParse(
|
|
2126
|
+
jsonString,
|
|
2127
|
+
(x) => Redirect1$inboundSchema.parse(JSON.parse(x)),
|
|
2128
|
+
`Failed to parse 'Redirect1' from JSON`,
|
|
2129
|
+
);
|
|
2130
|
+
}
|
|
2131
|
+
|
|
2132
|
+
/** @internal */
|
|
2133
|
+
export const Redirect$inboundSchema: z.ZodType<
|
|
2134
|
+
Redirect,
|
|
2135
|
+
z.ZodTypeDef,
|
|
2136
|
+
unknown
|
|
2137
|
+
> = z.union([z.lazy(() => Redirect1$inboundSchema), z.any()]);
|
|
2138
|
+
|
|
2139
|
+
/** @internal */
|
|
2140
|
+
export type Redirect$Outbound = Redirect1$Outbound | any;
|
|
2141
|
+
|
|
2142
|
+
/** @internal */
|
|
2143
|
+
export const Redirect$outboundSchema: z.ZodType<
|
|
2144
|
+
Redirect$Outbound,
|
|
2145
|
+
z.ZodTypeDef,
|
|
2146
|
+
Redirect
|
|
2147
|
+
> = z.union([z.lazy(() => Redirect1$outboundSchema), z.any()]);
|
|
2148
|
+
|
|
2149
|
+
/**
|
|
2150
|
+
* @internal
|
|
2151
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2152
|
+
*/
|
|
2153
|
+
export namespace Redirect$ {
|
|
2154
|
+
/** @deprecated use `Redirect$inboundSchema` instead. */
|
|
2155
|
+
export const inboundSchema = Redirect$inboundSchema;
|
|
2156
|
+
/** @deprecated use `Redirect$outboundSchema` instead. */
|
|
2157
|
+
export const outboundSchema = Redirect$outboundSchema;
|
|
2158
|
+
/** @deprecated use `Redirect$Outbound` instead. */
|
|
2159
|
+
export type Outbound = Redirect$Outbound;
|
|
2160
|
+
}
|
|
2161
|
+
|
|
2162
|
+
export function redirectToJSON(redirect: Redirect): string {
|
|
2163
|
+
return JSON.stringify(Redirect$outboundSchema.parse(redirect));
|
|
2164
|
+
}
|
|
2165
|
+
|
|
2166
|
+
export function redirectFromJSON(
|
|
2167
|
+
jsonString: string,
|
|
2168
|
+
): SafeParseResult<Redirect, SDKValidationError> {
|
|
2169
|
+
return safeParse(
|
|
2170
|
+
jsonString,
|
|
2171
|
+
(x) => Redirect$inboundSchema.parse(JSON.parse(x)),
|
|
2172
|
+
`Failed to parse 'Redirect' from JSON`,
|
|
2173
|
+
);
|
|
2174
|
+
}
|
|
2175
|
+
|
|
2176
|
+
/** @internal */
|
|
2177
|
+
export const Mitigate$inboundSchema: z.ZodType<
|
|
2178
|
+
Mitigate,
|
|
2179
|
+
z.ZodTypeDef,
|
|
2180
|
+
unknown
|
|
2181
|
+
> = z.object({
|
|
2182
|
+
action:
|
|
2183
|
+
PutFirewallConfigSecurityRequestRequestBodyRulesActionAction$inboundSchema,
|
|
2184
|
+
rateLimit: z.nullable(
|
|
2185
|
+
z.union([z.lazy(() => RateLimit1$inboundSchema), z.any()]),
|
|
2186
|
+
).optional(),
|
|
2187
|
+
redirect: z.nullable(
|
|
2188
|
+
z.union([z.lazy(() => Redirect1$inboundSchema), z.any()]),
|
|
2189
|
+
).optional(),
|
|
2190
|
+
actionDuration: z.nullable(z.string()).optional(),
|
|
2191
|
+
});
|
|
2192
|
+
|
|
2193
|
+
/** @internal */
|
|
2194
|
+
export type Mitigate$Outbound = {
|
|
2195
|
+
action: string;
|
|
2196
|
+
rateLimit?: RateLimit1$Outbound | any | null | undefined;
|
|
2197
|
+
redirect?: Redirect1$Outbound | any | null | undefined;
|
|
2198
|
+
actionDuration?: string | null | undefined;
|
|
2199
|
+
};
|
|
2200
|
+
|
|
2201
|
+
/** @internal */
|
|
2202
|
+
export const Mitigate$outboundSchema: z.ZodType<
|
|
2203
|
+
Mitigate$Outbound,
|
|
2204
|
+
z.ZodTypeDef,
|
|
2205
|
+
Mitigate
|
|
2206
|
+
> = z.object({
|
|
2207
|
+
action:
|
|
2208
|
+
PutFirewallConfigSecurityRequestRequestBodyRulesActionAction$outboundSchema,
|
|
2209
|
+
rateLimit: z.nullable(
|
|
2210
|
+
z.union([z.lazy(() => RateLimit1$outboundSchema), z.any()]),
|
|
2211
|
+
).optional(),
|
|
2212
|
+
redirect: z.nullable(
|
|
2213
|
+
z.union([z.lazy(() => Redirect1$outboundSchema), z.any()]),
|
|
2214
|
+
).optional(),
|
|
2215
|
+
actionDuration: z.nullable(z.string()).optional(),
|
|
2216
|
+
});
|
|
2217
|
+
|
|
2218
|
+
/**
|
|
2219
|
+
* @internal
|
|
2220
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2221
|
+
*/
|
|
2222
|
+
export namespace Mitigate$ {
|
|
2223
|
+
/** @deprecated use `Mitigate$inboundSchema` instead. */
|
|
2224
|
+
export const inboundSchema = Mitigate$inboundSchema;
|
|
2225
|
+
/** @deprecated use `Mitigate$outboundSchema` instead. */
|
|
2226
|
+
export const outboundSchema = Mitigate$outboundSchema;
|
|
2227
|
+
/** @deprecated use `Mitigate$Outbound` instead. */
|
|
2228
|
+
export type Outbound = Mitigate$Outbound;
|
|
2229
|
+
}
|
|
2230
|
+
|
|
2231
|
+
export function mitigateToJSON(mitigate: Mitigate): string {
|
|
2232
|
+
return JSON.stringify(Mitigate$outboundSchema.parse(mitigate));
|
|
2233
|
+
}
|
|
2234
|
+
|
|
2235
|
+
export function mitigateFromJSON(
|
|
2236
|
+
jsonString: string,
|
|
2237
|
+
): SafeParseResult<Mitigate, SDKValidationError> {
|
|
2238
|
+
return safeParse(
|
|
2239
|
+
jsonString,
|
|
2240
|
+
(x) => Mitigate$inboundSchema.parse(JSON.parse(x)),
|
|
2241
|
+
`Failed to parse 'Mitigate' from JSON`,
|
|
2242
|
+
);
|
|
2243
|
+
}
|
|
2244
|
+
|
|
2245
|
+
/** @internal */
|
|
2246
|
+
export const PutFirewallConfigSecurityRequestRequestBodyRulesAction$inboundSchema:
|
|
2247
|
+
z.ZodType<
|
|
2248
|
+
PutFirewallConfigSecurityRequestRequestBodyRulesAction,
|
|
2249
|
+
z.ZodTypeDef,
|
|
2250
|
+
unknown
|
|
2251
|
+
> = z.object({
|
|
2252
|
+
mitigate: z.lazy(() => Mitigate$inboundSchema).optional(),
|
|
2253
|
+
});
|
|
2254
|
+
|
|
2255
|
+
/** @internal */
|
|
2256
|
+
export type PutFirewallConfigSecurityRequestRequestBodyRulesAction$Outbound = {
|
|
2257
|
+
mitigate?: Mitigate$Outbound | undefined;
|
|
2258
|
+
};
|
|
2259
|
+
|
|
2260
|
+
/** @internal */
|
|
2261
|
+
export const PutFirewallConfigSecurityRequestRequestBodyRulesAction$outboundSchema:
|
|
2262
|
+
z.ZodType<
|
|
2263
|
+
PutFirewallConfigSecurityRequestRequestBodyRulesAction$Outbound,
|
|
2264
|
+
z.ZodTypeDef,
|
|
2265
|
+
PutFirewallConfigSecurityRequestRequestBodyRulesAction
|
|
2266
|
+
> = z.object({
|
|
2267
|
+
mitigate: z.lazy(() => Mitigate$outboundSchema).optional(),
|
|
2268
|
+
});
|
|
2269
|
+
|
|
2270
|
+
/**
|
|
2271
|
+
* @internal
|
|
2272
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2273
|
+
*/
|
|
2274
|
+
export namespace PutFirewallConfigSecurityRequestRequestBodyRulesAction$ {
|
|
2275
|
+
/** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyRulesAction$inboundSchema` instead. */
|
|
2276
|
+
export const inboundSchema =
|
|
2277
|
+
PutFirewallConfigSecurityRequestRequestBodyRulesAction$inboundSchema;
|
|
2278
|
+
/** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyRulesAction$outboundSchema` instead. */
|
|
2279
|
+
export const outboundSchema =
|
|
2280
|
+
PutFirewallConfigSecurityRequestRequestBodyRulesAction$outboundSchema;
|
|
2281
|
+
/** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyRulesAction$Outbound` instead. */
|
|
2282
|
+
export type Outbound =
|
|
2283
|
+
PutFirewallConfigSecurityRequestRequestBodyRulesAction$Outbound;
|
|
2284
|
+
}
|
|
2285
|
+
|
|
2286
|
+
export function putFirewallConfigSecurityRequestRequestBodyRulesActionToJSON(
|
|
2287
|
+
putFirewallConfigSecurityRequestRequestBodyRulesAction:
|
|
2288
|
+
PutFirewallConfigSecurityRequestRequestBodyRulesAction,
|
|
2289
|
+
): string {
|
|
2290
|
+
return JSON.stringify(
|
|
2291
|
+
PutFirewallConfigSecurityRequestRequestBodyRulesAction$outboundSchema.parse(
|
|
2292
|
+
putFirewallConfigSecurityRequestRequestBodyRulesAction,
|
|
2293
|
+
),
|
|
2294
|
+
);
|
|
2295
|
+
}
|
|
2296
|
+
|
|
2297
|
+
export function putFirewallConfigSecurityRequestRequestBodyRulesActionFromJSON(
|
|
2298
|
+
jsonString: string,
|
|
2299
|
+
): SafeParseResult<
|
|
2300
|
+
PutFirewallConfigSecurityRequestRequestBodyRulesAction,
|
|
2301
|
+
SDKValidationError
|
|
2302
|
+
> {
|
|
2303
|
+
return safeParse(
|
|
2304
|
+
jsonString,
|
|
2305
|
+
(x) =>
|
|
2306
|
+
PutFirewallConfigSecurityRequestRequestBodyRulesAction$inboundSchema
|
|
2307
|
+
.parse(JSON.parse(x)),
|
|
2308
|
+
`Failed to parse 'PutFirewallConfigSecurityRequestRequestBodyRulesAction' from JSON`,
|
|
2309
|
+
);
|
|
2310
|
+
}
|
|
2311
|
+
|
|
2312
|
+
/** @internal */
|
|
2313
|
+
export const Rules$inboundSchema: z.ZodType<Rules, z.ZodTypeDef, unknown> = z
|
|
2314
|
+
.object({
|
|
2315
|
+
id: z.string().optional(),
|
|
2316
|
+
name: z.string(),
|
|
2317
|
+
description: z.string().optional(),
|
|
2318
|
+
active: z.boolean(),
|
|
2319
|
+
conditionGroup: z.array(z.lazy(() => ConditionGroup$inboundSchema)),
|
|
2320
|
+
action: z.lazy(() =>
|
|
2321
|
+
PutFirewallConfigSecurityRequestRequestBodyRulesAction$inboundSchema
|
|
2322
|
+
),
|
|
2323
|
+
});
|
|
2324
|
+
|
|
2325
|
+
/** @internal */
|
|
2326
|
+
export type Rules$Outbound = {
|
|
2327
|
+
id?: string | undefined;
|
|
2328
|
+
name: string;
|
|
2329
|
+
description?: string | undefined;
|
|
2330
|
+
active: boolean;
|
|
2331
|
+
conditionGroup: Array<ConditionGroup$Outbound>;
|
|
2332
|
+
action: PutFirewallConfigSecurityRequestRequestBodyRulesAction$Outbound;
|
|
2333
|
+
};
|
|
2334
|
+
|
|
2335
|
+
/** @internal */
|
|
2336
|
+
export const Rules$outboundSchema: z.ZodType<
|
|
2337
|
+
Rules$Outbound,
|
|
2338
|
+
z.ZodTypeDef,
|
|
2339
|
+
Rules
|
|
2340
|
+
> = z.object({
|
|
2341
|
+
id: z.string().optional(),
|
|
2342
|
+
name: z.string(),
|
|
2343
|
+
description: z.string().optional(),
|
|
2344
|
+
active: z.boolean(),
|
|
2345
|
+
conditionGroup: z.array(z.lazy(() => ConditionGroup$outboundSchema)),
|
|
2346
|
+
action: z.lazy(() =>
|
|
2347
|
+
PutFirewallConfigSecurityRequestRequestBodyRulesAction$outboundSchema
|
|
2348
|
+
),
|
|
2349
|
+
});
|
|
2350
|
+
|
|
2351
|
+
/**
|
|
2352
|
+
* @internal
|
|
2353
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2354
|
+
*/
|
|
2355
|
+
export namespace Rules$ {
|
|
2356
|
+
/** @deprecated use `Rules$inboundSchema` instead. */
|
|
2357
|
+
export const inboundSchema = Rules$inboundSchema;
|
|
2358
|
+
/** @deprecated use `Rules$outboundSchema` instead. */
|
|
2359
|
+
export const outboundSchema = Rules$outboundSchema;
|
|
2360
|
+
/** @deprecated use `Rules$Outbound` instead. */
|
|
2361
|
+
export type Outbound = Rules$Outbound;
|
|
2362
|
+
}
|
|
2363
|
+
|
|
2364
|
+
export function rulesToJSON(rules: Rules): string {
|
|
2365
|
+
return JSON.stringify(Rules$outboundSchema.parse(rules));
|
|
2366
|
+
}
|
|
2367
|
+
|
|
2368
|
+
export function rulesFromJSON(
|
|
2369
|
+
jsonString: string,
|
|
2370
|
+
): SafeParseResult<Rules, SDKValidationError> {
|
|
2371
|
+
return safeParse(
|
|
2372
|
+
jsonString,
|
|
2373
|
+
(x) => Rules$inboundSchema.parse(JSON.parse(x)),
|
|
2374
|
+
`Failed to parse 'Rules' from JSON`,
|
|
2375
|
+
);
|
|
2376
|
+
}
|
|
2377
|
+
|
|
2378
|
+
/** @internal */
|
|
2379
|
+
export const PutFirewallConfigSecurityRequestRequestBodyIpsAction$inboundSchema:
|
|
2380
|
+
z.ZodNativeEnum<typeof PutFirewallConfigSecurityRequestRequestBodyIpsAction> =
|
|
2381
|
+
z.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyIpsAction);
|
|
2382
|
+
|
|
2383
|
+
/** @internal */
|
|
2384
|
+
export const PutFirewallConfigSecurityRequestRequestBodyIpsAction$outboundSchema:
|
|
2385
|
+
z.ZodNativeEnum<typeof PutFirewallConfigSecurityRequestRequestBodyIpsAction> =
|
|
2386
|
+
PutFirewallConfigSecurityRequestRequestBodyIpsAction$inboundSchema;
|
|
2387
|
+
|
|
2388
|
+
/**
|
|
2389
|
+
* @internal
|
|
2390
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2391
|
+
*/
|
|
2392
|
+
export namespace PutFirewallConfigSecurityRequestRequestBodyIpsAction$ {
|
|
2393
|
+
/** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyIpsAction$inboundSchema` instead. */
|
|
2394
|
+
export const inboundSchema =
|
|
2395
|
+
PutFirewallConfigSecurityRequestRequestBodyIpsAction$inboundSchema;
|
|
2396
|
+
/** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyIpsAction$outboundSchema` instead. */
|
|
2397
|
+
export const outboundSchema =
|
|
2398
|
+
PutFirewallConfigSecurityRequestRequestBodyIpsAction$outboundSchema;
|
|
2399
|
+
}
|
|
2400
|
+
|
|
2401
|
+
/** @internal */
|
|
2402
|
+
export const Ips$inboundSchema: z.ZodType<Ips, z.ZodTypeDef, unknown> = z
|
|
2403
|
+
.object({
|
|
2404
|
+
id: z.string().optional(),
|
|
2405
|
+
hostname: z.string(),
|
|
2406
|
+
ip: z.string(),
|
|
2407
|
+
notes: z.string().optional(),
|
|
2408
|
+
action: PutFirewallConfigSecurityRequestRequestBodyIpsAction$inboundSchema,
|
|
2409
|
+
});
|
|
2410
|
+
|
|
2411
|
+
/** @internal */
|
|
2412
|
+
export type Ips$Outbound = {
|
|
2413
|
+
id?: string | undefined;
|
|
2414
|
+
hostname: string;
|
|
2415
|
+
ip: string;
|
|
2416
|
+
notes?: string | undefined;
|
|
2417
|
+
action: string;
|
|
2418
|
+
};
|
|
2419
|
+
|
|
2420
|
+
/** @internal */
|
|
2421
|
+
export const Ips$outboundSchema: z.ZodType<Ips$Outbound, z.ZodTypeDef, Ips> = z
|
|
2422
|
+
.object({
|
|
2423
|
+
id: z.string().optional(),
|
|
2424
|
+
hostname: z.string(),
|
|
2425
|
+
ip: z.string(),
|
|
2426
|
+
notes: z.string().optional(),
|
|
2427
|
+
action: PutFirewallConfigSecurityRequestRequestBodyIpsAction$outboundSchema,
|
|
2428
|
+
});
|
|
2429
|
+
|
|
2430
|
+
/**
|
|
2431
|
+
* @internal
|
|
2432
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2433
|
+
*/
|
|
2434
|
+
export namespace Ips$ {
|
|
2435
|
+
/** @deprecated use `Ips$inboundSchema` instead. */
|
|
2436
|
+
export const inboundSchema = Ips$inboundSchema;
|
|
2437
|
+
/** @deprecated use `Ips$outboundSchema` instead. */
|
|
2438
|
+
export const outboundSchema = Ips$outboundSchema;
|
|
2439
|
+
/** @deprecated use `Ips$Outbound` instead. */
|
|
2440
|
+
export type Outbound = Ips$Outbound;
|
|
2441
|
+
}
|
|
2442
|
+
|
|
2443
|
+
export function ipsToJSON(ips: Ips): string {
|
|
2444
|
+
return JSON.stringify(Ips$outboundSchema.parse(ips));
|
|
2445
|
+
}
|
|
2446
|
+
|
|
2447
|
+
export function ipsFromJSON(
|
|
2448
|
+
jsonString: string,
|
|
2449
|
+
): SafeParseResult<Ips, SDKValidationError> {
|
|
2450
|
+
return safeParse(
|
|
2451
|
+
jsonString,
|
|
2452
|
+
(x) => Ips$inboundSchema.parse(JSON.parse(x)),
|
|
2453
|
+
`Failed to parse 'Ips' from JSON`,
|
|
2454
|
+
);
|
|
2455
|
+
}
|
|
2456
|
+
|
|
2457
|
+
/** @internal */
|
|
2458
|
+
export const PutFirewallConfigRequestBody$inboundSchema: z.ZodType<
|
|
2459
|
+
PutFirewallConfigRequestBody,
|
|
2460
|
+
z.ZodTypeDef,
|
|
2461
|
+
unknown
|
|
2462
|
+
> = z.object({
|
|
2463
|
+
firewallEnabled: z.boolean(),
|
|
2464
|
+
managedRules: z.lazy(() => ManagedRules$inboundSchema).optional(),
|
|
2465
|
+
crs: z.lazy(() => Crs$inboundSchema).optional(),
|
|
2466
|
+
rules: z.array(z.lazy(() => Rules$inboundSchema)).optional(),
|
|
2467
|
+
ips: z.array(z.lazy(() => Ips$inboundSchema)).optional(),
|
|
2468
|
+
});
|
|
2469
|
+
|
|
2470
|
+
/** @internal */
|
|
2471
|
+
export type PutFirewallConfigRequestBody$Outbound = {
|
|
2472
|
+
firewallEnabled: boolean;
|
|
2473
|
+
managedRules?: ManagedRules$Outbound | undefined;
|
|
2474
|
+
crs?: Crs$Outbound | undefined;
|
|
2475
|
+
rules?: Array<Rules$Outbound> | undefined;
|
|
2476
|
+
ips?: Array<Ips$Outbound> | undefined;
|
|
2477
|
+
};
|
|
2478
|
+
|
|
2479
|
+
/** @internal */
|
|
2480
|
+
export const PutFirewallConfigRequestBody$outboundSchema: z.ZodType<
|
|
2481
|
+
PutFirewallConfigRequestBody$Outbound,
|
|
2482
|
+
z.ZodTypeDef,
|
|
2483
|
+
PutFirewallConfigRequestBody
|
|
2484
|
+
> = z.object({
|
|
2485
|
+
firewallEnabled: z.boolean(),
|
|
2486
|
+
managedRules: z.lazy(() => ManagedRules$outboundSchema).optional(),
|
|
2487
|
+
crs: z.lazy(() => Crs$outboundSchema).optional(),
|
|
2488
|
+
rules: z.array(z.lazy(() => Rules$outboundSchema)).optional(),
|
|
2489
|
+
ips: z.array(z.lazy(() => Ips$outboundSchema)).optional(),
|
|
2490
|
+
});
|
|
2491
|
+
|
|
2492
|
+
/**
|
|
2493
|
+
* @internal
|
|
2494
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2495
|
+
*/
|
|
2496
|
+
export namespace PutFirewallConfigRequestBody$ {
|
|
2497
|
+
/** @deprecated use `PutFirewallConfigRequestBody$inboundSchema` instead. */
|
|
2498
|
+
export const inboundSchema = PutFirewallConfigRequestBody$inboundSchema;
|
|
2499
|
+
/** @deprecated use `PutFirewallConfigRequestBody$outboundSchema` instead. */
|
|
2500
|
+
export const outboundSchema = PutFirewallConfigRequestBody$outboundSchema;
|
|
2501
|
+
/** @deprecated use `PutFirewallConfigRequestBody$Outbound` instead. */
|
|
2502
|
+
export type Outbound = PutFirewallConfigRequestBody$Outbound;
|
|
2503
|
+
}
|
|
2504
|
+
|
|
2505
|
+
export function putFirewallConfigRequestBodyToJSON(
|
|
2506
|
+
putFirewallConfigRequestBody: PutFirewallConfigRequestBody,
|
|
2507
|
+
): string {
|
|
2508
|
+
return JSON.stringify(
|
|
2509
|
+
PutFirewallConfigRequestBody$outboundSchema.parse(
|
|
2510
|
+
putFirewallConfigRequestBody,
|
|
2511
|
+
),
|
|
2512
|
+
);
|
|
2513
|
+
}
|
|
2514
|
+
|
|
2515
|
+
export function putFirewallConfigRequestBodyFromJSON(
|
|
2516
|
+
jsonString: string,
|
|
2517
|
+
): SafeParseResult<PutFirewallConfigRequestBody, SDKValidationError> {
|
|
2518
|
+
return safeParse(
|
|
2519
|
+
jsonString,
|
|
2520
|
+
(x) => PutFirewallConfigRequestBody$inboundSchema.parse(JSON.parse(x)),
|
|
2521
|
+
`Failed to parse 'PutFirewallConfigRequestBody' from JSON`,
|
|
2522
|
+
);
|
|
2523
|
+
}
|
|
2524
|
+
|
|
2525
|
+
/** @internal */
|
|
2526
|
+
export const PutFirewallConfigRequest$inboundSchema: z.ZodType<
|
|
2527
|
+
PutFirewallConfigRequest,
|
|
2528
|
+
z.ZodTypeDef,
|
|
2529
|
+
unknown
|
|
2530
|
+
> = z.object({
|
|
2531
|
+
projectId: z.string(),
|
|
2532
|
+
teamId: z.string().optional(),
|
|
2533
|
+
slug: z.string().optional(),
|
|
2534
|
+
RequestBody: z.lazy(() => PutFirewallConfigRequestBody$inboundSchema)
|
|
2535
|
+
.optional(),
|
|
2536
|
+
}).transform((v) => {
|
|
2537
|
+
return remap$(v, {
|
|
2538
|
+
"RequestBody": "requestBody",
|
|
2539
|
+
});
|
|
2540
|
+
});
|
|
2541
|
+
|
|
2542
|
+
/** @internal */
|
|
2543
|
+
export type PutFirewallConfigRequest$Outbound = {
|
|
2544
|
+
projectId: string;
|
|
2545
|
+
teamId?: string | undefined;
|
|
2546
|
+
slug?: string | undefined;
|
|
2547
|
+
RequestBody?: PutFirewallConfigRequestBody$Outbound | undefined;
|
|
2548
|
+
};
|
|
2549
|
+
|
|
2550
|
+
/** @internal */
|
|
2551
|
+
export const PutFirewallConfigRequest$outboundSchema: z.ZodType<
|
|
2552
|
+
PutFirewallConfigRequest$Outbound,
|
|
2553
|
+
z.ZodTypeDef,
|
|
2554
|
+
PutFirewallConfigRequest
|
|
2555
|
+
> = z.object({
|
|
2556
|
+
projectId: z.string(),
|
|
2557
|
+
teamId: z.string().optional(),
|
|
2558
|
+
slug: z.string().optional(),
|
|
2559
|
+
requestBody: z.lazy(() => PutFirewallConfigRequestBody$outboundSchema)
|
|
2560
|
+
.optional(),
|
|
2561
|
+
}).transform((v) => {
|
|
2562
|
+
return remap$(v, {
|
|
2563
|
+
requestBody: "RequestBody",
|
|
2564
|
+
});
|
|
2565
|
+
});
|
|
2566
|
+
|
|
2567
|
+
/**
|
|
2568
|
+
* @internal
|
|
2569
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2570
|
+
*/
|
|
2571
|
+
export namespace PutFirewallConfigRequest$ {
|
|
2572
|
+
/** @deprecated use `PutFirewallConfigRequest$inboundSchema` instead. */
|
|
2573
|
+
export const inboundSchema = PutFirewallConfigRequest$inboundSchema;
|
|
2574
|
+
/** @deprecated use `PutFirewallConfigRequest$outboundSchema` instead. */
|
|
2575
|
+
export const outboundSchema = PutFirewallConfigRequest$outboundSchema;
|
|
2576
|
+
/** @deprecated use `PutFirewallConfigRequest$Outbound` instead. */
|
|
2577
|
+
export type Outbound = PutFirewallConfigRequest$Outbound;
|
|
2578
|
+
}
|
|
2579
|
+
|
|
2580
|
+
export function putFirewallConfigRequestToJSON(
|
|
2581
|
+
putFirewallConfigRequest: PutFirewallConfigRequest,
|
|
2582
|
+
): string {
|
|
2583
|
+
return JSON.stringify(
|
|
2584
|
+
PutFirewallConfigRequest$outboundSchema.parse(putFirewallConfigRequest),
|
|
2585
|
+
);
|
|
2586
|
+
}
|
|
2587
|
+
|
|
2588
|
+
export function putFirewallConfigRequestFromJSON(
|
|
2589
|
+
jsonString: string,
|
|
2590
|
+
): SafeParseResult<PutFirewallConfigRequest, SDKValidationError> {
|
|
2591
|
+
return safeParse(
|
|
2592
|
+
jsonString,
|
|
2593
|
+
(x) => PutFirewallConfigRequest$inboundSchema.parse(JSON.parse(x)),
|
|
2594
|
+
`Failed to parse 'PutFirewallConfigRequest' from JSON`,
|
|
2595
|
+
);
|
|
2596
|
+
}
|
|
2597
|
+
|
|
2598
|
+
/** @internal */
|
|
2599
|
+
export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction$inboundSchema:
|
|
2600
|
+
z.ZodNativeEnum<
|
|
2601
|
+
typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction
|
|
2602
|
+
> = z.nativeEnum(
|
|
2603
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction,
|
|
2604
|
+
);
|
|
2605
|
+
|
|
2606
|
+
/** @internal */
|
|
2607
|
+
export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction$outboundSchema:
|
|
2608
|
+
z.ZodNativeEnum<
|
|
2609
|
+
typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction
|
|
2610
|
+
> =
|
|
2611
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction$inboundSchema;
|
|
2612
|
+
|
|
2613
|
+
/**
|
|
2614
|
+
* @internal
|
|
2615
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2616
|
+
*/
|
|
2617
|
+
export namespace PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction$ {
|
|
2618
|
+
/** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction$inboundSchema` instead. */
|
|
2619
|
+
export const inboundSchema =
|
|
2620
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction$inboundSchema;
|
|
2621
|
+
/** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction$outboundSchema` instead. */
|
|
2622
|
+
export const outboundSchema =
|
|
2623
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction$outboundSchema;
|
|
2624
|
+
}
|
|
2625
|
+
|
|
2626
|
+
/** @internal */
|
|
2627
|
+
export const PutFirewallConfigSd$inboundSchema: z.ZodType<
|
|
2628
|
+
PutFirewallConfigSd,
|
|
2629
|
+
z.ZodTypeDef,
|
|
2630
|
+
unknown
|
|
2631
|
+
> = z.object({
|
|
2632
|
+
active: z.boolean(),
|
|
2633
|
+
action:
|
|
2634
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction$inboundSchema,
|
|
2635
|
+
});
|
|
2636
|
+
|
|
2637
|
+
/** @internal */
|
|
2638
|
+
export type PutFirewallConfigSd$Outbound = {
|
|
2639
|
+
active: boolean;
|
|
2640
|
+
action: string;
|
|
2641
|
+
};
|
|
2642
|
+
|
|
2643
|
+
/** @internal */
|
|
2644
|
+
export const PutFirewallConfigSd$outboundSchema: z.ZodType<
|
|
2645
|
+
PutFirewallConfigSd$Outbound,
|
|
2646
|
+
z.ZodTypeDef,
|
|
2647
|
+
PutFirewallConfigSd
|
|
2648
|
+
> = z.object({
|
|
2649
|
+
active: z.boolean(),
|
|
2650
|
+
action:
|
|
2651
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction$outboundSchema,
|
|
2652
|
+
});
|
|
2653
|
+
|
|
2654
|
+
/**
|
|
2655
|
+
* @internal
|
|
2656
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2657
|
+
*/
|
|
2658
|
+
export namespace PutFirewallConfigSd$ {
|
|
2659
|
+
/** @deprecated use `PutFirewallConfigSd$inboundSchema` instead. */
|
|
2660
|
+
export const inboundSchema = PutFirewallConfigSd$inboundSchema;
|
|
2661
|
+
/** @deprecated use `PutFirewallConfigSd$outboundSchema` instead. */
|
|
2662
|
+
export const outboundSchema = PutFirewallConfigSd$outboundSchema;
|
|
2663
|
+
/** @deprecated use `PutFirewallConfigSd$Outbound` instead. */
|
|
2664
|
+
export type Outbound = PutFirewallConfigSd$Outbound;
|
|
2665
|
+
}
|
|
2666
|
+
|
|
2667
|
+
export function putFirewallConfigSdToJSON(
|
|
2668
|
+
putFirewallConfigSd: PutFirewallConfigSd,
|
|
2669
|
+
): string {
|
|
2670
|
+
return JSON.stringify(
|
|
2671
|
+
PutFirewallConfigSd$outboundSchema.parse(putFirewallConfigSd),
|
|
2672
|
+
);
|
|
2673
|
+
}
|
|
2674
|
+
|
|
2675
|
+
export function putFirewallConfigSdFromJSON(
|
|
2676
|
+
jsonString: string,
|
|
2677
|
+
): SafeParseResult<PutFirewallConfigSd, SDKValidationError> {
|
|
2678
|
+
return safeParse(
|
|
2679
|
+
jsonString,
|
|
2680
|
+
(x) => PutFirewallConfigSd$inboundSchema.parse(JSON.parse(x)),
|
|
2681
|
+
`Failed to parse 'PutFirewallConfigSd' from JSON`,
|
|
2682
|
+
);
|
|
2683
|
+
}
|
|
2684
|
+
|
|
2685
|
+
/** @internal */
|
|
2686
|
+
export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction$inboundSchema:
|
|
2687
|
+
z.ZodNativeEnum<
|
|
2688
|
+
typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction
|
|
2689
|
+
> = z.nativeEnum(
|
|
2690
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction,
|
|
2691
|
+
);
|
|
2692
|
+
|
|
2693
|
+
/** @internal */
|
|
2694
|
+
export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction$outboundSchema:
|
|
2695
|
+
z.ZodNativeEnum<
|
|
2696
|
+
typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction
|
|
2697
|
+
> =
|
|
2698
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction$inboundSchema;
|
|
2699
|
+
|
|
2700
|
+
/**
|
|
2701
|
+
* @internal
|
|
2702
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2703
|
+
*/
|
|
2704
|
+
export namespace PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction$ {
|
|
2705
|
+
/** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction$inboundSchema` instead. */
|
|
2706
|
+
export const inboundSchema =
|
|
2707
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction$inboundSchema;
|
|
2708
|
+
/** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction$outboundSchema` instead. */
|
|
2709
|
+
export const outboundSchema =
|
|
2710
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction$outboundSchema;
|
|
2711
|
+
}
|
|
2712
|
+
|
|
2713
|
+
/** @internal */
|
|
2714
|
+
export const PutFirewallConfigMa$inboundSchema: z.ZodType<
|
|
2715
|
+
PutFirewallConfigMa,
|
|
2716
|
+
z.ZodTypeDef,
|
|
2717
|
+
unknown
|
|
2718
|
+
> = z.object({
|
|
2719
|
+
active: z.boolean(),
|
|
2720
|
+
action:
|
|
2721
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction$inboundSchema,
|
|
2722
|
+
});
|
|
2723
|
+
|
|
2724
|
+
/** @internal */
|
|
2725
|
+
export type PutFirewallConfigMa$Outbound = {
|
|
2726
|
+
active: boolean;
|
|
2727
|
+
action: string;
|
|
2728
|
+
};
|
|
2729
|
+
|
|
2730
|
+
/** @internal */
|
|
2731
|
+
export const PutFirewallConfigMa$outboundSchema: z.ZodType<
|
|
2732
|
+
PutFirewallConfigMa$Outbound,
|
|
2733
|
+
z.ZodTypeDef,
|
|
2734
|
+
PutFirewallConfigMa
|
|
2735
|
+
> = z.object({
|
|
2736
|
+
active: z.boolean(),
|
|
2737
|
+
action:
|
|
2738
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction$outboundSchema,
|
|
2739
|
+
});
|
|
2740
|
+
|
|
2741
|
+
/**
|
|
2742
|
+
* @internal
|
|
2743
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2744
|
+
*/
|
|
2745
|
+
export namespace PutFirewallConfigMa$ {
|
|
2746
|
+
/** @deprecated use `PutFirewallConfigMa$inboundSchema` instead. */
|
|
2747
|
+
export const inboundSchema = PutFirewallConfigMa$inboundSchema;
|
|
2748
|
+
/** @deprecated use `PutFirewallConfigMa$outboundSchema` instead. */
|
|
2749
|
+
export const outboundSchema = PutFirewallConfigMa$outboundSchema;
|
|
2750
|
+
/** @deprecated use `PutFirewallConfigMa$Outbound` instead. */
|
|
2751
|
+
export type Outbound = PutFirewallConfigMa$Outbound;
|
|
2752
|
+
}
|
|
2753
|
+
|
|
2754
|
+
export function putFirewallConfigMaToJSON(
|
|
2755
|
+
putFirewallConfigMa: PutFirewallConfigMa,
|
|
2756
|
+
): string {
|
|
2757
|
+
return JSON.stringify(
|
|
2758
|
+
PutFirewallConfigMa$outboundSchema.parse(putFirewallConfigMa),
|
|
2759
|
+
);
|
|
2760
|
+
}
|
|
2761
|
+
|
|
2762
|
+
export function putFirewallConfigMaFromJSON(
|
|
2763
|
+
jsonString: string,
|
|
2764
|
+
): SafeParseResult<PutFirewallConfigMa, SDKValidationError> {
|
|
2765
|
+
return safeParse(
|
|
2766
|
+
jsonString,
|
|
2767
|
+
(x) => PutFirewallConfigMa$inboundSchema.parse(JSON.parse(x)),
|
|
2768
|
+
`Failed to parse 'PutFirewallConfigMa' from JSON`,
|
|
2769
|
+
);
|
|
2770
|
+
}
|
|
2771
|
+
|
|
2772
|
+
/** @internal */
|
|
2773
|
+
export const PutFirewallConfigSecurityResponse200ApplicationJSONAction$inboundSchema:
|
|
2774
|
+
z.ZodNativeEnum<
|
|
2775
|
+
typeof PutFirewallConfigSecurityResponse200ApplicationJSONAction
|
|
2776
|
+
> = z.nativeEnum(PutFirewallConfigSecurityResponse200ApplicationJSONAction);
|
|
2777
|
+
|
|
2778
|
+
/** @internal */
|
|
2779
|
+
export const PutFirewallConfigSecurityResponse200ApplicationJSONAction$outboundSchema:
|
|
2780
|
+
z.ZodNativeEnum<
|
|
2781
|
+
typeof PutFirewallConfigSecurityResponse200ApplicationJSONAction
|
|
2782
|
+
> = PutFirewallConfigSecurityResponse200ApplicationJSONAction$inboundSchema;
|
|
2783
|
+
|
|
2784
|
+
/**
|
|
2785
|
+
* @internal
|
|
2786
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2787
|
+
*/
|
|
2788
|
+
export namespace PutFirewallConfigSecurityResponse200ApplicationJSONAction$ {
|
|
2789
|
+
/** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONAction$inboundSchema` instead. */
|
|
2790
|
+
export const inboundSchema =
|
|
2791
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONAction$inboundSchema;
|
|
2792
|
+
/** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONAction$outboundSchema` instead. */
|
|
2793
|
+
export const outboundSchema =
|
|
2794
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONAction$outboundSchema;
|
|
2795
|
+
}
|
|
2796
|
+
|
|
2797
|
+
/** @internal */
|
|
2798
|
+
export const PutFirewallConfigLfi$inboundSchema: z.ZodType<
|
|
2799
|
+
PutFirewallConfigLfi,
|
|
2800
|
+
z.ZodTypeDef,
|
|
2801
|
+
unknown
|
|
2802
|
+
> = z.object({
|
|
2803
|
+
active: z.boolean(),
|
|
2804
|
+
action:
|
|
2805
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONAction$inboundSchema,
|
|
2806
|
+
});
|
|
2807
|
+
|
|
2808
|
+
/** @internal */
|
|
2809
|
+
export type PutFirewallConfigLfi$Outbound = {
|
|
2810
|
+
active: boolean;
|
|
2811
|
+
action: string;
|
|
2812
|
+
};
|
|
2813
|
+
|
|
2814
|
+
/** @internal */
|
|
2815
|
+
export const PutFirewallConfigLfi$outboundSchema: z.ZodType<
|
|
2816
|
+
PutFirewallConfigLfi$Outbound,
|
|
2817
|
+
z.ZodTypeDef,
|
|
2818
|
+
PutFirewallConfigLfi
|
|
2819
|
+
> = z.object({
|
|
2820
|
+
active: z.boolean(),
|
|
2821
|
+
action:
|
|
2822
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONAction$outboundSchema,
|
|
2823
|
+
});
|
|
2824
|
+
|
|
2825
|
+
/**
|
|
2826
|
+
* @internal
|
|
2827
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2828
|
+
*/
|
|
2829
|
+
export namespace PutFirewallConfigLfi$ {
|
|
2830
|
+
/** @deprecated use `PutFirewallConfigLfi$inboundSchema` instead. */
|
|
2831
|
+
export const inboundSchema = PutFirewallConfigLfi$inboundSchema;
|
|
2832
|
+
/** @deprecated use `PutFirewallConfigLfi$outboundSchema` instead. */
|
|
2833
|
+
export const outboundSchema = PutFirewallConfigLfi$outboundSchema;
|
|
2834
|
+
/** @deprecated use `PutFirewallConfigLfi$Outbound` instead. */
|
|
2835
|
+
export type Outbound = PutFirewallConfigLfi$Outbound;
|
|
2836
|
+
}
|
|
2837
|
+
|
|
2838
|
+
export function putFirewallConfigLfiToJSON(
|
|
2839
|
+
putFirewallConfigLfi: PutFirewallConfigLfi,
|
|
2840
|
+
): string {
|
|
2841
|
+
return JSON.stringify(
|
|
2842
|
+
PutFirewallConfigLfi$outboundSchema.parse(putFirewallConfigLfi),
|
|
2843
|
+
);
|
|
2844
|
+
}
|
|
2845
|
+
|
|
2846
|
+
export function putFirewallConfigLfiFromJSON(
|
|
2847
|
+
jsonString: string,
|
|
2848
|
+
): SafeParseResult<PutFirewallConfigLfi, SDKValidationError> {
|
|
2849
|
+
return safeParse(
|
|
2850
|
+
jsonString,
|
|
2851
|
+
(x) => PutFirewallConfigLfi$inboundSchema.parse(JSON.parse(x)),
|
|
2852
|
+
`Failed to parse 'PutFirewallConfigLfi' from JSON`,
|
|
2853
|
+
);
|
|
2854
|
+
}
|
|
2855
|
+
|
|
2856
|
+
/** @internal */
|
|
2857
|
+
export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema:
|
|
2858
|
+
z.ZodNativeEnum<
|
|
2859
|
+
typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction
|
|
2860
|
+
> = z.nativeEnum(
|
|
2861
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction,
|
|
2862
|
+
);
|
|
2863
|
+
|
|
2864
|
+
/** @internal */
|
|
2865
|
+
export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$outboundSchema:
|
|
2866
|
+
z.ZodNativeEnum<
|
|
2867
|
+
typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction
|
|
2868
|
+
> =
|
|
2869
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema;
|
|
2870
|
+
|
|
2871
|
+
/**
|
|
2872
|
+
* @internal
|
|
2873
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2874
|
+
*/
|
|
2875
|
+
export namespace PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$ {
|
|
2876
|
+
/** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema` instead. */
|
|
2877
|
+
export const inboundSchema =
|
|
2878
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema;
|
|
2879
|
+
/** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$outboundSchema` instead. */
|
|
2880
|
+
export const outboundSchema =
|
|
2881
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$outboundSchema;
|
|
2882
|
+
}
|
|
2883
|
+
|
|
2884
|
+
/** @internal */
|
|
2885
|
+
export const PutFirewallConfigRfi$inboundSchema: z.ZodType<
|
|
2886
|
+
PutFirewallConfigRfi,
|
|
2887
|
+
z.ZodTypeDef,
|
|
2888
|
+
unknown
|
|
2889
|
+
> = z.object({
|
|
2890
|
+
active: z.boolean(),
|
|
2891
|
+
action:
|
|
2892
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema,
|
|
2893
|
+
});
|
|
2894
|
+
|
|
2895
|
+
/** @internal */
|
|
2896
|
+
export type PutFirewallConfigRfi$Outbound = {
|
|
2897
|
+
active: boolean;
|
|
2898
|
+
action: string;
|
|
2899
|
+
};
|
|
2900
|
+
|
|
2901
|
+
/** @internal */
|
|
2902
|
+
export const PutFirewallConfigRfi$outboundSchema: z.ZodType<
|
|
2903
|
+
PutFirewallConfigRfi$Outbound,
|
|
2904
|
+
z.ZodTypeDef,
|
|
2905
|
+
PutFirewallConfigRfi
|
|
2906
|
+
> = z.object({
|
|
2907
|
+
active: z.boolean(),
|
|
2908
|
+
action:
|
|
2909
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$outboundSchema,
|
|
2910
|
+
});
|
|
2911
|
+
|
|
2912
|
+
/**
|
|
2913
|
+
* @internal
|
|
2914
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2915
|
+
*/
|
|
2916
|
+
export namespace PutFirewallConfigRfi$ {
|
|
2917
|
+
/** @deprecated use `PutFirewallConfigRfi$inboundSchema` instead. */
|
|
2918
|
+
export const inboundSchema = PutFirewallConfigRfi$inboundSchema;
|
|
2919
|
+
/** @deprecated use `PutFirewallConfigRfi$outboundSchema` instead. */
|
|
2920
|
+
export const outboundSchema = PutFirewallConfigRfi$outboundSchema;
|
|
2921
|
+
/** @deprecated use `PutFirewallConfigRfi$Outbound` instead. */
|
|
2922
|
+
export type Outbound = PutFirewallConfigRfi$Outbound;
|
|
2923
|
+
}
|
|
2924
|
+
|
|
2925
|
+
export function putFirewallConfigRfiToJSON(
|
|
2926
|
+
putFirewallConfigRfi: PutFirewallConfigRfi,
|
|
2927
|
+
): string {
|
|
2928
|
+
return JSON.stringify(
|
|
2929
|
+
PutFirewallConfigRfi$outboundSchema.parse(putFirewallConfigRfi),
|
|
2930
|
+
);
|
|
2931
|
+
}
|
|
2932
|
+
|
|
2933
|
+
export function putFirewallConfigRfiFromJSON(
|
|
2934
|
+
jsonString: string,
|
|
2935
|
+
): SafeParseResult<PutFirewallConfigRfi, SDKValidationError> {
|
|
2936
|
+
return safeParse(
|
|
2937
|
+
jsonString,
|
|
2938
|
+
(x) => PutFirewallConfigRfi$inboundSchema.parse(JSON.parse(x)),
|
|
2939
|
+
`Failed to parse 'PutFirewallConfigRfi' from JSON`,
|
|
2940
|
+
);
|
|
2941
|
+
}
|
|
2942
|
+
|
|
2943
|
+
/** @internal */
|
|
2944
|
+
export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction$inboundSchema:
|
|
2945
|
+
z.ZodNativeEnum<
|
|
2946
|
+
typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction
|
|
2947
|
+
> = z.nativeEnum(
|
|
2948
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction,
|
|
2949
|
+
);
|
|
2950
|
+
|
|
2951
|
+
/** @internal */
|
|
2952
|
+
export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction$outboundSchema:
|
|
2953
|
+
z.ZodNativeEnum<
|
|
2954
|
+
typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction
|
|
2955
|
+
> =
|
|
2956
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction$inboundSchema;
|
|
2957
|
+
|
|
2958
|
+
/**
|
|
2959
|
+
* @internal
|
|
2960
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2961
|
+
*/
|
|
2962
|
+
export namespace PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction$ {
|
|
2963
|
+
/** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction$inboundSchema` instead. */
|
|
2964
|
+
export const inboundSchema =
|
|
2965
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction$inboundSchema;
|
|
2966
|
+
/** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction$outboundSchema` instead. */
|
|
2967
|
+
export const outboundSchema =
|
|
2968
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction$outboundSchema;
|
|
2969
|
+
}
|
|
2970
|
+
|
|
2971
|
+
/** @internal */
|
|
2972
|
+
export const PutFirewallConfigRce$inboundSchema: z.ZodType<
|
|
2973
|
+
PutFirewallConfigRce,
|
|
2974
|
+
z.ZodTypeDef,
|
|
2975
|
+
unknown
|
|
2976
|
+
> = z.object({
|
|
2977
|
+
active: z.boolean(),
|
|
2978
|
+
action:
|
|
2979
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction$inboundSchema,
|
|
2980
|
+
});
|
|
2981
|
+
|
|
2982
|
+
/** @internal */
|
|
2983
|
+
export type PutFirewallConfigRce$Outbound = {
|
|
2984
|
+
active: boolean;
|
|
2985
|
+
action: string;
|
|
2986
|
+
};
|
|
2987
|
+
|
|
2988
|
+
/** @internal */
|
|
2989
|
+
export const PutFirewallConfigRce$outboundSchema: z.ZodType<
|
|
2990
|
+
PutFirewallConfigRce$Outbound,
|
|
2991
|
+
z.ZodTypeDef,
|
|
2992
|
+
PutFirewallConfigRce
|
|
2993
|
+
> = z.object({
|
|
2994
|
+
active: z.boolean(),
|
|
2995
|
+
action:
|
|
2996
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction$outboundSchema,
|
|
2997
|
+
});
|
|
2998
|
+
|
|
2999
|
+
/**
|
|
3000
|
+
* @internal
|
|
3001
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3002
|
+
*/
|
|
3003
|
+
export namespace PutFirewallConfigRce$ {
|
|
3004
|
+
/** @deprecated use `PutFirewallConfigRce$inboundSchema` instead. */
|
|
3005
|
+
export const inboundSchema = PutFirewallConfigRce$inboundSchema;
|
|
3006
|
+
/** @deprecated use `PutFirewallConfigRce$outboundSchema` instead. */
|
|
3007
|
+
export const outboundSchema = PutFirewallConfigRce$outboundSchema;
|
|
3008
|
+
/** @deprecated use `PutFirewallConfigRce$Outbound` instead. */
|
|
3009
|
+
export type Outbound = PutFirewallConfigRce$Outbound;
|
|
3010
|
+
}
|
|
3011
|
+
|
|
3012
|
+
export function putFirewallConfigRceToJSON(
|
|
3013
|
+
putFirewallConfigRce: PutFirewallConfigRce,
|
|
3014
|
+
): string {
|
|
3015
|
+
return JSON.stringify(
|
|
3016
|
+
PutFirewallConfigRce$outboundSchema.parse(putFirewallConfigRce),
|
|
3017
|
+
);
|
|
3018
|
+
}
|
|
3019
|
+
|
|
3020
|
+
export function putFirewallConfigRceFromJSON(
|
|
3021
|
+
jsonString: string,
|
|
3022
|
+
): SafeParseResult<PutFirewallConfigRce, SDKValidationError> {
|
|
3023
|
+
return safeParse(
|
|
3024
|
+
jsonString,
|
|
3025
|
+
(x) => PutFirewallConfigRce$inboundSchema.parse(JSON.parse(x)),
|
|
3026
|
+
`Failed to parse 'PutFirewallConfigRce' from JSON`,
|
|
3027
|
+
);
|
|
3028
|
+
}
|
|
3029
|
+
|
|
3030
|
+
/** @internal */
|
|
3031
|
+
export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction$inboundSchema:
|
|
3032
|
+
z.ZodNativeEnum<
|
|
3033
|
+
typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction
|
|
3034
|
+
> = z.nativeEnum(
|
|
3035
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction,
|
|
3036
|
+
);
|
|
3037
|
+
|
|
3038
|
+
/** @internal */
|
|
3039
|
+
export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction$outboundSchema:
|
|
3040
|
+
z.ZodNativeEnum<
|
|
3041
|
+
typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction
|
|
3042
|
+
> =
|
|
3043
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction$inboundSchema;
|
|
3044
|
+
|
|
3045
|
+
/**
|
|
3046
|
+
* @internal
|
|
3047
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3048
|
+
*/
|
|
3049
|
+
export namespace PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction$ {
|
|
3050
|
+
/** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction$inboundSchema` instead. */
|
|
3051
|
+
export const inboundSchema =
|
|
3052
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction$inboundSchema;
|
|
3053
|
+
/** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction$outboundSchema` instead. */
|
|
3054
|
+
export const outboundSchema =
|
|
3055
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction$outboundSchema;
|
|
3056
|
+
}
|
|
3057
|
+
|
|
3058
|
+
/** @internal */
|
|
3059
|
+
export const PutFirewallConfigPhp$inboundSchema: z.ZodType<
|
|
3060
|
+
PutFirewallConfigPhp,
|
|
3061
|
+
z.ZodTypeDef,
|
|
3062
|
+
unknown
|
|
3063
|
+
> = z.object({
|
|
3064
|
+
active: z.boolean(),
|
|
3065
|
+
action:
|
|
3066
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction$inboundSchema,
|
|
3067
|
+
});
|
|
3068
|
+
|
|
3069
|
+
/** @internal */
|
|
3070
|
+
export type PutFirewallConfigPhp$Outbound = {
|
|
3071
|
+
active: boolean;
|
|
3072
|
+
action: string;
|
|
3073
|
+
};
|
|
3074
|
+
|
|
3075
|
+
/** @internal */
|
|
3076
|
+
export const PutFirewallConfigPhp$outboundSchema: z.ZodType<
|
|
3077
|
+
PutFirewallConfigPhp$Outbound,
|
|
3078
|
+
z.ZodTypeDef,
|
|
3079
|
+
PutFirewallConfigPhp
|
|
3080
|
+
> = z.object({
|
|
3081
|
+
active: z.boolean(),
|
|
3082
|
+
action:
|
|
3083
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction$outboundSchema,
|
|
3084
|
+
});
|
|
3085
|
+
|
|
3086
|
+
/**
|
|
3087
|
+
* @internal
|
|
3088
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3089
|
+
*/
|
|
3090
|
+
export namespace PutFirewallConfigPhp$ {
|
|
3091
|
+
/** @deprecated use `PutFirewallConfigPhp$inboundSchema` instead. */
|
|
3092
|
+
export const inboundSchema = PutFirewallConfigPhp$inboundSchema;
|
|
3093
|
+
/** @deprecated use `PutFirewallConfigPhp$outboundSchema` instead. */
|
|
3094
|
+
export const outboundSchema = PutFirewallConfigPhp$outboundSchema;
|
|
3095
|
+
/** @deprecated use `PutFirewallConfigPhp$Outbound` instead. */
|
|
3096
|
+
export type Outbound = PutFirewallConfigPhp$Outbound;
|
|
3097
|
+
}
|
|
3098
|
+
|
|
3099
|
+
export function putFirewallConfigPhpToJSON(
|
|
3100
|
+
putFirewallConfigPhp: PutFirewallConfigPhp,
|
|
3101
|
+
): string {
|
|
3102
|
+
return JSON.stringify(
|
|
3103
|
+
PutFirewallConfigPhp$outboundSchema.parse(putFirewallConfigPhp),
|
|
3104
|
+
);
|
|
3105
|
+
}
|
|
3106
|
+
|
|
3107
|
+
export function putFirewallConfigPhpFromJSON(
|
|
3108
|
+
jsonString: string,
|
|
3109
|
+
): SafeParseResult<PutFirewallConfigPhp, SDKValidationError> {
|
|
3110
|
+
return safeParse(
|
|
3111
|
+
jsonString,
|
|
3112
|
+
(x) => PutFirewallConfigPhp$inboundSchema.parse(JSON.parse(x)),
|
|
3113
|
+
`Failed to parse 'PutFirewallConfigPhp' from JSON`,
|
|
3114
|
+
);
|
|
3115
|
+
}
|
|
3116
|
+
|
|
3117
|
+
/** @internal */
|
|
3118
|
+
export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction$inboundSchema:
|
|
3119
|
+
z.ZodNativeEnum<
|
|
3120
|
+
typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction
|
|
3121
|
+
> = z.nativeEnum(
|
|
3122
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction,
|
|
3123
|
+
);
|
|
3124
|
+
|
|
3125
|
+
/** @internal */
|
|
3126
|
+
export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction$outboundSchema:
|
|
3127
|
+
z.ZodNativeEnum<
|
|
3128
|
+
typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction
|
|
3129
|
+
> =
|
|
3130
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction$inboundSchema;
|
|
3131
|
+
|
|
3132
|
+
/**
|
|
3133
|
+
* @internal
|
|
3134
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3135
|
+
*/
|
|
3136
|
+
export namespace PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction$ {
|
|
3137
|
+
/** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction$inboundSchema` instead. */
|
|
3138
|
+
export const inboundSchema =
|
|
3139
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction$inboundSchema;
|
|
3140
|
+
/** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction$outboundSchema` instead. */
|
|
3141
|
+
export const outboundSchema =
|
|
3142
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction$outboundSchema;
|
|
3143
|
+
}
|
|
3144
|
+
|
|
3145
|
+
/** @internal */
|
|
3146
|
+
export const PutFirewallConfigGen$inboundSchema: z.ZodType<
|
|
3147
|
+
PutFirewallConfigGen,
|
|
3148
|
+
z.ZodTypeDef,
|
|
3149
|
+
unknown
|
|
3150
|
+
> = z.object({
|
|
3151
|
+
active: z.boolean(),
|
|
3152
|
+
action:
|
|
3153
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction$inboundSchema,
|
|
3154
|
+
});
|
|
3155
|
+
|
|
3156
|
+
/** @internal */
|
|
3157
|
+
export type PutFirewallConfigGen$Outbound = {
|
|
3158
|
+
active: boolean;
|
|
3159
|
+
action: string;
|
|
3160
|
+
};
|
|
3161
|
+
|
|
3162
|
+
/** @internal */
|
|
3163
|
+
export const PutFirewallConfigGen$outboundSchema: z.ZodType<
|
|
3164
|
+
PutFirewallConfigGen$Outbound,
|
|
3165
|
+
z.ZodTypeDef,
|
|
3166
|
+
PutFirewallConfigGen
|
|
3167
|
+
> = z.object({
|
|
3168
|
+
active: z.boolean(),
|
|
3169
|
+
action:
|
|
3170
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction$outboundSchema,
|
|
3171
|
+
});
|
|
3172
|
+
|
|
3173
|
+
/**
|
|
3174
|
+
* @internal
|
|
3175
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3176
|
+
*/
|
|
3177
|
+
export namespace PutFirewallConfigGen$ {
|
|
3178
|
+
/** @deprecated use `PutFirewallConfigGen$inboundSchema` instead. */
|
|
3179
|
+
export const inboundSchema = PutFirewallConfigGen$inboundSchema;
|
|
3180
|
+
/** @deprecated use `PutFirewallConfigGen$outboundSchema` instead. */
|
|
3181
|
+
export const outboundSchema = PutFirewallConfigGen$outboundSchema;
|
|
3182
|
+
/** @deprecated use `PutFirewallConfigGen$Outbound` instead. */
|
|
3183
|
+
export type Outbound = PutFirewallConfigGen$Outbound;
|
|
3184
|
+
}
|
|
3185
|
+
|
|
3186
|
+
export function putFirewallConfigGenToJSON(
|
|
3187
|
+
putFirewallConfigGen: PutFirewallConfigGen,
|
|
3188
|
+
): string {
|
|
3189
|
+
return JSON.stringify(
|
|
3190
|
+
PutFirewallConfigGen$outboundSchema.parse(putFirewallConfigGen),
|
|
3191
|
+
);
|
|
3192
|
+
}
|
|
3193
|
+
|
|
3194
|
+
export function putFirewallConfigGenFromJSON(
|
|
3195
|
+
jsonString: string,
|
|
3196
|
+
): SafeParseResult<PutFirewallConfigGen, SDKValidationError> {
|
|
3197
|
+
return safeParse(
|
|
3198
|
+
jsonString,
|
|
3199
|
+
(x) => PutFirewallConfigGen$inboundSchema.parse(JSON.parse(x)),
|
|
3200
|
+
`Failed to parse 'PutFirewallConfigGen' from JSON`,
|
|
3201
|
+
);
|
|
3202
|
+
}
|
|
3203
|
+
|
|
3204
|
+
/** @internal */
|
|
3205
|
+
export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction$inboundSchema:
|
|
3206
|
+
z.ZodNativeEnum<
|
|
3207
|
+
typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction
|
|
3208
|
+
> = z.nativeEnum(
|
|
3209
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction,
|
|
3210
|
+
);
|
|
3211
|
+
|
|
3212
|
+
/** @internal */
|
|
3213
|
+
export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction$outboundSchema:
|
|
3214
|
+
z.ZodNativeEnum<
|
|
3215
|
+
typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction
|
|
3216
|
+
> =
|
|
3217
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction$inboundSchema;
|
|
3218
|
+
|
|
3219
|
+
/**
|
|
3220
|
+
* @internal
|
|
3221
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3222
|
+
*/
|
|
3223
|
+
export namespace PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction$ {
|
|
3224
|
+
/** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction$inboundSchema` instead. */
|
|
3225
|
+
export const inboundSchema =
|
|
3226
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction$inboundSchema;
|
|
3227
|
+
/** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction$outboundSchema` instead. */
|
|
3228
|
+
export const outboundSchema =
|
|
3229
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction$outboundSchema;
|
|
3230
|
+
}
|
|
3231
|
+
|
|
3232
|
+
/** @internal */
|
|
3233
|
+
export const PutFirewallConfigXss$inboundSchema: z.ZodType<
|
|
3234
|
+
PutFirewallConfigXss,
|
|
3235
|
+
z.ZodTypeDef,
|
|
3236
|
+
unknown
|
|
3237
|
+
> = z.object({
|
|
3238
|
+
active: z.boolean(),
|
|
3239
|
+
action:
|
|
3240
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction$inboundSchema,
|
|
3241
|
+
});
|
|
3242
|
+
|
|
3243
|
+
/** @internal */
|
|
3244
|
+
export type PutFirewallConfigXss$Outbound = {
|
|
3245
|
+
active: boolean;
|
|
3246
|
+
action: string;
|
|
3247
|
+
};
|
|
3248
|
+
|
|
3249
|
+
/** @internal */
|
|
3250
|
+
export const PutFirewallConfigXss$outboundSchema: z.ZodType<
|
|
3251
|
+
PutFirewallConfigXss$Outbound,
|
|
3252
|
+
z.ZodTypeDef,
|
|
3253
|
+
PutFirewallConfigXss
|
|
3254
|
+
> = z.object({
|
|
3255
|
+
active: z.boolean(),
|
|
3256
|
+
action:
|
|
3257
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction$outboundSchema,
|
|
3258
|
+
});
|
|
3259
|
+
|
|
3260
|
+
/**
|
|
3261
|
+
* @internal
|
|
3262
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3263
|
+
*/
|
|
3264
|
+
export namespace PutFirewallConfigXss$ {
|
|
3265
|
+
/** @deprecated use `PutFirewallConfigXss$inboundSchema` instead. */
|
|
3266
|
+
export const inboundSchema = PutFirewallConfigXss$inboundSchema;
|
|
3267
|
+
/** @deprecated use `PutFirewallConfigXss$outboundSchema` instead. */
|
|
3268
|
+
export const outboundSchema = PutFirewallConfigXss$outboundSchema;
|
|
3269
|
+
/** @deprecated use `PutFirewallConfigXss$Outbound` instead. */
|
|
3270
|
+
export type Outbound = PutFirewallConfigXss$Outbound;
|
|
3271
|
+
}
|
|
3272
|
+
|
|
3273
|
+
export function putFirewallConfigXssToJSON(
|
|
3274
|
+
putFirewallConfigXss: PutFirewallConfigXss,
|
|
3275
|
+
): string {
|
|
3276
|
+
return JSON.stringify(
|
|
3277
|
+
PutFirewallConfigXss$outboundSchema.parse(putFirewallConfigXss),
|
|
3278
|
+
);
|
|
3279
|
+
}
|
|
3280
|
+
|
|
3281
|
+
export function putFirewallConfigXssFromJSON(
|
|
3282
|
+
jsonString: string,
|
|
3283
|
+
): SafeParseResult<PutFirewallConfigXss, SDKValidationError> {
|
|
3284
|
+
return safeParse(
|
|
3285
|
+
jsonString,
|
|
3286
|
+
(x) => PutFirewallConfigXss$inboundSchema.parse(JSON.parse(x)),
|
|
3287
|
+
`Failed to parse 'PutFirewallConfigXss' from JSON`,
|
|
3288
|
+
);
|
|
3289
|
+
}
|
|
3290
|
+
|
|
3291
|
+
/** @internal */
|
|
3292
|
+
export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction$inboundSchema:
|
|
3293
|
+
z.ZodNativeEnum<
|
|
3294
|
+
typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction
|
|
3295
|
+
> = z.nativeEnum(
|
|
3296
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction,
|
|
3297
|
+
);
|
|
3298
|
+
|
|
3299
|
+
/** @internal */
|
|
3300
|
+
export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction$outboundSchema:
|
|
3301
|
+
z.ZodNativeEnum<
|
|
3302
|
+
typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction
|
|
3303
|
+
> =
|
|
3304
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction$inboundSchema;
|
|
3305
|
+
|
|
3306
|
+
/**
|
|
3307
|
+
* @internal
|
|
3308
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3309
|
+
*/
|
|
3310
|
+
export namespace PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction$ {
|
|
3311
|
+
/** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction$inboundSchema` instead. */
|
|
3312
|
+
export const inboundSchema =
|
|
3313
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction$inboundSchema;
|
|
3314
|
+
/** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction$outboundSchema` instead. */
|
|
3315
|
+
export const outboundSchema =
|
|
3316
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction$outboundSchema;
|
|
3317
|
+
}
|
|
3318
|
+
|
|
3319
|
+
/** @internal */
|
|
3320
|
+
export const PutFirewallConfigSqli$inboundSchema: z.ZodType<
|
|
3321
|
+
PutFirewallConfigSqli,
|
|
3322
|
+
z.ZodTypeDef,
|
|
3323
|
+
unknown
|
|
3324
|
+
> = z.object({
|
|
3325
|
+
active: z.boolean(),
|
|
3326
|
+
action:
|
|
3327
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction$inboundSchema,
|
|
3328
|
+
});
|
|
3329
|
+
|
|
3330
|
+
/** @internal */
|
|
3331
|
+
export type PutFirewallConfigSqli$Outbound = {
|
|
3332
|
+
active: boolean;
|
|
3333
|
+
action: string;
|
|
3334
|
+
};
|
|
3335
|
+
|
|
3336
|
+
/** @internal */
|
|
3337
|
+
export const PutFirewallConfigSqli$outboundSchema: z.ZodType<
|
|
3338
|
+
PutFirewallConfigSqli$Outbound,
|
|
3339
|
+
z.ZodTypeDef,
|
|
3340
|
+
PutFirewallConfigSqli
|
|
3341
|
+
> = z.object({
|
|
3342
|
+
active: z.boolean(),
|
|
3343
|
+
action:
|
|
3344
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction$outboundSchema,
|
|
3345
|
+
});
|
|
3346
|
+
|
|
3347
|
+
/**
|
|
3348
|
+
* @internal
|
|
3349
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3350
|
+
*/
|
|
3351
|
+
export namespace PutFirewallConfigSqli$ {
|
|
3352
|
+
/** @deprecated use `PutFirewallConfigSqli$inboundSchema` instead. */
|
|
3353
|
+
export const inboundSchema = PutFirewallConfigSqli$inboundSchema;
|
|
3354
|
+
/** @deprecated use `PutFirewallConfigSqli$outboundSchema` instead. */
|
|
3355
|
+
export const outboundSchema = PutFirewallConfigSqli$outboundSchema;
|
|
3356
|
+
/** @deprecated use `PutFirewallConfigSqli$Outbound` instead. */
|
|
3357
|
+
export type Outbound = PutFirewallConfigSqli$Outbound;
|
|
3358
|
+
}
|
|
3359
|
+
|
|
3360
|
+
export function putFirewallConfigSqliToJSON(
|
|
3361
|
+
putFirewallConfigSqli: PutFirewallConfigSqli,
|
|
3362
|
+
): string {
|
|
3363
|
+
return JSON.stringify(
|
|
3364
|
+
PutFirewallConfigSqli$outboundSchema.parse(putFirewallConfigSqli),
|
|
3365
|
+
);
|
|
3366
|
+
}
|
|
3367
|
+
|
|
3368
|
+
export function putFirewallConfigSqliFromJSON(
|
|
3369
|
+
jsonString: string,
|
|
3370
|
+
): SafeParseResult<PutFirewallConfigSqli, SDKValidationError> {
|
|
3371
|
+
return safeParse(
|
|
3372
|
+
jsonString,
|
|
3373
|
+
(x) => PutFirewallConfigSqli$inboundSchema.parse(JSON.parse(x)),
|
|
3374
|
+
`Failed to parse 'PutFirewallConfigSqli' from JSON`,
|
|
3375
|
+
);
|
|
3376
|
+
}
|
|
3377
|
+
|
|
3378
|
+
/** @internal */
|
|
3379
|
+
export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction$inboundSchema:
|
|
3380
|
+
z.ZodNativeEnum<
|
|
3381
|
+
typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction
|
|
3382
|
+
> = z.nativeEnum(
|
|
3383
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction,
|
|
3384
|
+
);
|
|
3385
|
+
|
|
3386
|
+
/** @internal */
|
|
3387
|
+
export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction$outboundSchema:
|
|
3388
|
+
z.ZodNativeEnum<
|
|
3389
|
+
typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction
|
|
3390
|
+
> =
|
|
3391
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction$inboundSchema;
|
|
3392
|
+
|
|
3393
|
+
/**
|
|
3394
|
+
* @internal
|
|
3395
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3396
|
+
*/
|
|
3397
|
+
export namespace PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction$ {
|
|
3398
|
+
/** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction$inboundSchema` instead. */
|
|
3399
|
+
export const inboundSchema =
|
|
3400
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction$inboundSchema;
|
|
3401
|
+
/** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction$outboundSchema` instead. */
|
|
3402
|
+
export const outboundSchema =
|
|
3403
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction$outboundSchema;
|
|
3404
|
+
}
|
|
3405
|
+
|
|
3406
|
+
/** @internal */
|
|
3407
|
+
export const PutFirewallConfigSf$inboundSchema: z.ZodType<
|
|
3408
|
+
PutFirewallConfigSf,
|
|
3409
|
+
z.ZodTypeDef,
|
|
3410
|
+
unknown
|
|
3411
|
+
> = z.object({
|
|
3412
|
+
active: z.boolean(),
|
|
3413
|
+
action:
|
|
3414
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction$inboundSchema,
|
|
3415
|
+
});
|
|
3416
|
+
|
|
3417
|
+
/** @internal */
|
|
3418
|
+
export type PutFirewallConfigSf$Outbound = {
|
|
3419
|
+
active: boolean;
|
|
3420
|
+
action: string;
|
|
3421
|
+
};
|
|
3422
|
+
|
|
3423
|
+
/** @internal */
|
|
3424
|
+
export const PutFirewallConfigSf$outboundSchema: z.ZodType<
|
|
3425
|
+
PutFirewallConfigSf$Outbound,
|
|
3426
|
+
z.ZodTypeDef,
|
|
3427
|
+
PutFirewallConfigSf
|
|
3428
|
+
> = z.object({
|
|
3429
|
+
active: z.boolean(),
|
|
3430
|
+
action:
|
|
3431
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction$outboundSchema,
|
|
3432
|
+
});
|
|
3433
|
+
|
|
3434
|
+
/**
|
|
3435
|
+
* @internal
|
|
3436
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3437
|
+
*/
|
|
3438
|
+
export namespace PutFirewallConfigSf$ {
|
|
3439
|
+
/** @deprecated use `PutFirewallConfigSf$inboundSchema` instead. */
|
|
3440
|
+
export const inboundSchema = PutFirewallConfigSf$inboundSchema;
|
|
3441
|
+
/** @deprecated use `PutFirewallConfigSf$outboundSchema` instead. */
|
|
3442
|
+
export const outboundSchema = PutFirewallConfigSf$outboundSchema;
|
|
3443
|
+
/** @deprecated use `PutFirewallConfigSf$Outbound` instead. */
|
|
3444
|
+
export type Outbound = PutFirewallConfigSf$Outbound;
|
|
3445
|
+
}
|
|
3446
|
+
|
|
3447
|
+
export function putFirewallConfigSfToJSON(
|
|
3448
|
+
putFirewallConfigSf: PutFirewallConfigSf,
|
|
3449
|
+
): string {
|
|
3450
|
+
return JSON.stringify(
|
|
3451
|
+
PutFirewallConfigSf$outboundSchema.parse(putFirewallConfigSf),
|
|
3452
|
+
);
|
|
3453
|
+
}
|
|
3454
|
+
|
|
3455
|
+
export function putFirewallConfigSfFromJSON(
|
|
3456
|
+
jsonString: string,
|
|
3457
|
+
): SafeParseResult<PutFirewallConfigSf, SDKValidationError> {
|
|
3458
|
+
return safeParse(
|
|
3459
|
+
jsonString,
|
|
3460
|
+
(x) => PutFirewallConfigSf$inboundSchema.parse(JSON.parse(x)),
|
|
3461
|
+
`Failed to parse 'PutFirewallConfigSf' from JSON`,
|
|
3462
|
+
);
|
|
3463
|
+
}
|
|
3464
|
+
|
|
3465
|
+
/** @internal */
|
|
3466
|
+
export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction$inboundSchema:
|
|
3467
|
+
z.ZodNativeEnum<
|
|
3468
|
+
typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction
|
|
3469
|
+
> = z.nativeEnum(
|
|
3470
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction,
|
|
3471
|
+
);
|
|
3472
|
+
|
|
3473
|
+
/** @internal */
|
|
3474
|
+
export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction$outboundSchema:
|
|
3475
|
+
z.ZodNativeEnum<
|
|
3476
|
+
typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction
|
|
3477
|
+
> =
|
|
3478
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction$inboundSchema;
|
|
3479
|
+
|
|
3480
|
+
/**
|
|
3481
|
+
* @internal
|
|
3482
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3483
|
+
*/
|
|
3484
|
+
export namespace PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction$ {
|
|
3485
|
+
/** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction$inboundSchema` instead. */
|
|
3486
|
+
export const inboundSchema =
|
|
3487
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction$inboundSchema;
|
|
3488
|
+
/** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction$outboundSchema` instead. */
|
|
3489
|
+
export const outboundSchema =
|
|
3490
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction$outboundSchema;
|
|
3491
|
+
}
|
|
3492
|
+
|
|
3493
|
+
/** @internal */
|
|
3494
|
+
export const PutFirewallConfigJava$inboundSchema: z.ZodType<
|
|
3495
|
+
PutFirewallConfigJava,
|
|
3496
|
+
z.ZodTypeDef,
|
|
3497
|
+
unknown
|
|
3498
|
+
> = z.object({
|
|
3499
|
+
active: z.boolean(),
|
|
3500
|
+
action:
|
|
3501
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction$inboundSchema,
|
|
3502
|
+
});
|
|
3503
|
+
|
|
3504
|
+
/** @internal */
|
|
3505
|
+
export type PutFirewallConfigJava$Outbound = {
|
|
3506
|
+
active: boolean;
|
|
3507
|
+
action: string;
|
|
3508
|
+
};
|
|
3509
|
+
|
|
3510
|
+
/** @internal */
|
|
3511
|
+
export const PutFirewallConfigJava$outboundSchema: z.ZodType<
|
|
3512
|
+
PutFirewallConfigJava$Outbound,
|
|
3513
|
+
z.ZodTypeDef,
|
|
3514
|
+
PutFirewallConfigJava
|
|
3515
|
+
> = z.object({
|
|
3516
|
+
active: z.boolean(),
|
|
3517
|
+
action:
|
|
3518
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction$outboundSchema,
|
|
3519
|
+
});
|
|
3520
|
+
|
|
3521
|
+
/**
|
|
3522
|
+
* @internal
|
|
3523
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3524
|
+
*/
|
|
3525
|
+
export namespace PutFirewallConfigJava$ {
|
|
3526
|
+
/** @deprecated use `PutFirewallConfigJava$inboundSchema` instead. */
|
|
3527
|
+
export const inboundSchema = PutFirewallConfigJava$inboundSchema;
|
|
3528
|
+
/** @deprecated use `PutFirewallConfigJava$outboundSchema` instead. */
|
|
3529
|
+
export const outboundSchema = PutFirewallConfigJava$outboundSchema;
|
|
3530
|
+
/** @deprecated use `PutFirewallConfigJava$Outbound` instead. */
|
|
3531
|
+
export type Outbound = PutFirewallConfigJava$Outbound;
|
|
3532
|
+
}
|
|
3533
|
+
|
|
3534
|
+
export function putFirewallConfigJavaToJSON(
|
|
3535
|
+
putFirewallConfigJava: PutFirewallConfigJava,
|
|
3536
|
+
): string {
|
|
3537
|
+
return JSON.stringify(
|
|
3538
|
+
PutFirewallConfigJava$outboundSchema.parse(putFirewallConfigJava),
|
|
3539
|
+
);
|
|
3540
|
+
}
|
|
3541
|
+
|
|
3542
|
+
export function putFirewallConfigJavaFromJSON(
|
|
3543
|
+
jsonString: string,
|
|
3544
|
+
): SafeParseResult<PutFirewallConfigJava, SDKValidationError> {
|
|
3545
|
+
return safeParse(
|
|
3546
|
+
jsonString,
|
|
3547
|
+
(x) => PutFirewallConfigJava$inboundSchema.parse(JSON.parse(x)),
|
|
3548
|
+
`Failed to parse 'PutFirewallConfigJava' from JSON`,
|
|
3549
|
+
);
|
|
3550
|
+
}
|
|
3551
|
+
|
|
3552
|
+
/** @internal */
|
|
3553
|
+
export const PutFirewallConfigCrs$inboundSchema: z.ZodType<
|
|
3554
|
+
PutFirewallConfigCrs,
|
|
3555
|
+
z.ZodTypeDef,
|
|
3556
|
+
unknown
|
|
3557
|
+
> = z.object({
|
|
3558
|
+
sd: z.lazy(() => PutFirewallConfigSd$inboundSchema),
|
|
3559
|
+
ma: z.lazy(() => PutFirewallConfigMa$inboundSchema),
|
|
3560
|
+
lfi: z.lazy(() => PutFirewallConfigLfi$inboundSchema),
|
|
3561
|
+
rfi: z.lazy(() => PutFirewallConfigRfi$inboundSchema),
|
|
3562
|
+
rce: z.lazy(() => PutFirewallConfigRce$inboundSchema),
|
|
3563
|
+
php: z.lazy(() => PutFirewallConfigPhp$inboundSchema),
|
|
3564
|
+
gen: z.lazy(() => PutFirewallConfigGen$inboundSchema),
|
|
3565
|
+
xss: z.lazy(() => PutFirewallConfigXss$inboundSchema),
|
|
3566
|
+
sqli: z.lazy(() => PutFirewallConfigSqli$inboundSchema),
|
|
3567
|
+
sf: z.lazy(() => PutFirewallConfigSf$inboundSchema),
|
|
3568
|
+
java: z.lazy(() => PutFirewallConfigJava$inboundSchema),
|
|
3569
|
+
});
|
|
3570
|
+
|
|
3571
|
+
/** @internal */
|
|
3572
|
+
export type PutFirewallConfigCrs$Outbound = {
|
|
3573
|
+
sd: PutFirewallConfigSd$Outbound;
|
|
3574
|
+
ma: PutFirewallConfigMa$Outbound;
|
|
3575
|
+
lfi: PutFirewallConfigLfi$Outbound;
|
|
3576
|
+
rfi: PutFirewallConfigRfi$Outbound;
|
|
3577
|
+
rce: PutFirewallConfigRce$Outbound;
|
|
3578
|
+
php: PutFirewallConfigPhp$Outbound;
|
|
3579
|
+
gen: PutFirewallConfigGen$Outbound;
|
|
3580
|
+
xss: PutFirewallConfigXss$Outbound;
|
|
3581
|
+
sqli: PutFirewallConfigSqli$Outbound;
|
|
3582
|
+
sf: PutFirewallConfigSf$Outbound;
|
|
3583
|
+
java: PutFirewallConfigJava$Outbound;
|
|
3584
|
+
};
|
|
3585
|
+
|
|
3586
|
+
/** @internal */
|
|
3587
|
+
export const PutFirewallConfigCrs$outboundSchema: z.ZodType<
|
|
3588
|
+
PutFirewallConfigCrs$Outbound,
|
|
3589
|
+
z.ZodTypeDef,
|
|
3590
|
+
PutFirewallConfigCrs
|
|
3591
|
+
> = z.object({
|
|
3592
|
+
sd: z.lazy(() => PutFirewallConfigSd$outboundSchema),
|
|
3593
|
+
ma: z.lazy(() => PutFirewallConfigMa$outboundSchema),
|
|
3594
|
+
lfi: z.lazy(() => PutFirewallConfigLfi$outboundSchema),
|
|
3595
|
+
rfi: z.lazy(() => PutFirewallConfigRfi$outboundSchema),
|
|
3596
|
+
rce: z.lazy(() => PutFirewallConfigRce$outboundSchema),
|
|
3597
|
+
php: z.lazy(() => PutFirewallConfigPhp$outboundSchema),
|
|
3598
|
+
gen: z.lazy(() => PutFirewallConfigGen$outboundSchema),
|
|
3599
|
+
xss: z.lazy(() => PutFirewallConfigXss$outboundSchema),
|
|
3600
|
+
sqli: z.lazy(() => PutFirewallConfigSqli$outboundSchema),
|
|
3601
|
+
sf: z.lazy(() => PutFirewallConfigSf$outboundSchema),
|
|
3602
|
+
java: z.lazy(() => PutFirewallConfigJava$outboundSchema),
|
|
3603
|
+
});
|
|
3604
|
+
|
|
3605
|
+
/**
|
|
3606
|
+
* @internal
|
|
3607
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3608
|
+
*/
|
|
3609
|
+
export namespace PutFirewallConfigCrs$ {
|
|
3610
|
+
/** @deprecated use `PutFirewallConfigCrs$inboundSchema` instead. */
|
|
3611
|
+
export const inboundSchema = PutFirewallConfigCrs$inboundSchema;
|
|
3612
|
+
/** @deprecated use `PutFirewallConfigCrs$outboundSchema` instead. */
|
|
3613
|
+
export const outboundSchema = PutFirewallConfigCrs$outboundSchema;
|
|
3614
|
+
/** @deprecated use `PutFirewallConfigCrs$Outbound` instead. */
|
|
3615
|
+
export type Outbound = PutFirewallConfigCrs$Outbound;
|
|
3616
|
+
}
|
|
3617
|
+
|
|
3618
|
+
export function putFirewallConfigCrsToJSON(
|
|
3619
|
+
putFirewallConfigCrs: PutFirewallConfigCrs,
|
|
3620
|
+
): string {
|
|
3621
|
+
return JSON.stringify(
|
|
3622
|
+
PutFirewallConfigCrs$outboundSchema.parse(putFirewallConfigCrs),
|
|
3623
|
+
);
|
|
3624
|
+
}
|
|
3625
|
+
|
|
3626
|
+
export function putFirewallConfigCrsFromJSON(
|
|
3627
|
+
jsonString: string,
|
|
3628
|
+
): SafeParseResult<PutFirewallConfigCrs, SDKValidationError> {
|
|
3629
|
+
return safeParse(
|
|
3630
|
+
jsonString,
|
|
3631
|
+
(x) => PutFirewallConfigCrs$inboundSchema.parse(JSON.parse(x)),
|
|
3632
|
+
`Failed to parse 'PutFirewallConfigCrs' from JSON`,
|
|
3633
|
+
);
|
|
3634
|
+
}
|
|
3635
|
+
|
|
3636
|
+
/** @internal */
|
|
3637
|
+
export const PutFirewallConfigSecurityType$inboundSchema: z.ZodNativeEnum<
|
|
3638
|
+
typeof PutFirewallConfigSecurityType
|
|
3639
|
+
> = z.nativeEnum(PutFirewallConfigSecurityType);
|
|
3640
|
+
|
|
3641
|
+
/** @internal */
|
|
3642
|
+
export const PutFirewallConfigSecurityType$outboundSchema: z.ZodNativeEnum<
|
|
3643
|
+
typeof PutFirewallConfigSecurityType
|
|
3644
|
+
> = PutFirewallConfigSecurityType$inboundSchema;
|
|
3645
|
+
|
|
3646
|
+
/**
|
|
3647
|
+
* @internal
|
|
3648
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3649
|
+
*/
|
|
3650
|
+
export namespace PutFirewallConfigSecurityType$ {
|
|
3651
|
+
/** @deprecated use `PutFirewallConfigSecurityType$inboundSchema` instead. */
|
|
3652
|
+
export const inboundSchema = PutFirewallConfigSecurityType$inboundSchema;
|
|
3653
|
+
/** @deprecated use `PutFirewallConfigSecurityType$outboundSchema` instead. */
|
|
3654
|
+
export const outboundSchema = PutFirewallConfigSecurityType$outboundSchema;
|
|
3655
|
+
}
|
|
3656
|
+
|
|
3657
|
+
/** @internal */
|
|
3658
|
+
export const PutFirewallConfigOp$inboundSchema: z.ZodNativeEnum<
|
|
3659
|
+
typeof PutFirewallConfigOp
|
|
3660
|
+
> = z.nativeEnum(PutFirewallConfigOp);
|
|
3661
|
+
|
|
3662
|
+
/** @internal */
|
|
3663
|
+
export const PutFirewallConfigOp$outboundSchema: z.ZodNativeEnum<
|
|
3664
|
+
typeof PutFirewallConfigOp
|
|
3665
|
+
> = PutFirewallConfigOp$inboundSchema;
|
|
3666
|
+
|
|
3667
|
+
/**
|
|
3668
|
+
* @internal
|
|
3669
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3670
|
+
*/
|
|
3671
|
+
export namespace PutFirewallConfigOp$ {
|
|
3672
|
+
/** @deprecated use `PutFirewallConfigOp$inboundSchema` instead. */
|
|
3673
|
+
export const inboundSchema = PutFirewallConfigOp$inboundSchema;
|
|
3674
|
+
/** @deprecated use `PutFirewallConfigOp$outboundSchema` instead. */
|
|
3675
|
+
export const outboundSchema = PutFirewallConfigOp$outboundSchema;
|
|
3676
|
+
}
|
|
3677
|
+
|
|
3678
|
+
/** @internal */
|
|
3679
|
+
export const PutFirewallConfigSecurityValue$inboundSchema: z.ZodType<
|
|
3680
|
+
PutFirewallConfigSecurityValue,
|
|
3681
|
+
z.ZodTypeDef,
|
|
3682
|
+
unknown
|
|
3683
|
+
> = z.union([z.string(), z.number(), z.array(z.string())]);
|
|
3684
|
+
|
|
3685
|
+
/** @internal */
|
|
3686
|
+
export type PutFirewallConfigSecurityValue$Outbound =
|
|
3687
|
+
| string
|
|
3688
|
+
| number
|
|
3689
|
+
| Array<string>;
|
|
3690
|
+
|
|
3691
|
+
/** @internal */
|
|
3692
|
+
export const PutFirewallConfigSecurityValue$outboundSchema: z.ZodType<
|
|
3693
|
+
PutFirewallConfigSecurityValue$Outbound,
|
|
3694
|
+
z.ZodTypeDef,
|
|
3695
|
+
PutFirewallConfigSecurityValue
|
|
3696
|
+
> = z.union([z.string(), z.number(), z.array(z.string())]);
|
|
3697
|
+
|
|
3698
|
+
/**
|
|
3699
|
+
* @internal
|
|
3700
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3701
|
+
*/
|
|
3702
|
+
export namespace PutFirewallConfigSecurityValue$ {
|
|
3703
|
+
/** @deprecated use `PutFirewallConfigSecurityValue$inboundSchema` instead. */
|
|
3704
|
+
export const inboundSchema = PutFirewallConfigSecurityValue$inboundSchema;
|
|
3705
|
+
/** @deprecated use `PutFirewallConfigSecurityValue$outboundSchema` instead. */
|
|
3706
|
+
export const outboundSchema = PutFirewallConfigSecurityValue$outboundSchema;
|
|
3707
|
+
/** @deprecated use `PutFirewallConfigSecurityValue$Outbound` instead. */
|
|
3708
|
+
export type Outbound = PutFirewallConfigSecurityValue$Outbound;
|
|
3709
|
+
}
|
|
3710
|
+
|
|
3711
|
+
export function putFirewallConfigSecurityValueToJSON(
|
|
3712
|
+
putFirewallConfigSecurityValue: PutFirewallConfigSecurityValue,
|
|
3713
|
+
): string {
|
|
3714
|
+
return JSON.stringify(
|
|
3715
|
+
PutFirewallConfigSecurityValue$outboundSchema.parse(
|
|
3716
|
+
putFirewallConfigSecurityValue,
|
|
3717
|
+
),
|
|
3718
|
+
);
|
|
3719
|
+
}
|
|
3720
|
+
|
|
3721
|
+
export function putFirewallConfigSecurityValueFromJSON(
|
|
3722
|
+
jsonString: string,
|
|
3723
|
+
): SafeParseResult<PutFirewallConfigSecurityValue, SDKValidationError> {
|
|
3724
|
+
return safeParse(
|
|
3725
|
+
jsonString,
|
|
3726
|
+
(x) => PutFirewallConfigSecurityValue$inboundSchema.parse(JSON.parse(x)),
|
|
3727
|
+
`Failed to parse 'PutFirewallConfigSecurityValue' from JSON`,
|
|
3728
|
+
);
|
|
3729
|
+
}
|
|
3730
|
+
|
|
3731
|
+
/** @internal */
|
|
3732
|
+
export const PutFirewallConfigConditions$inboundSchema: z.ZodType<
|
|
3733
|
+
PutFirewallConfigConditions,
|
|
3734
|
+
z.ZodTypeDef,
|
|
3735
|
+
unknown
|
|
3736
|
+
> = z.object({
|
|
3737
|
+
type: PutFirewallConfigSecurityType$inboundSchema,
|
|
3738
|
+
op: PutFirewallConfigOp$inboundSchema,
|
|
3739
|
+
neg: z.boolean().optional(),
|
|
3740
|
+
key: z.string().optional(),
|
|
3741
|
+
value: z.union([z.string(), z.number(), z.array(z.string())]).optional(),
|
|
3742
|
+
});
|
|
3743
|
+
|
|
3744
|
+
/** @internal */
|
|
3745
|
+
export type PutFirewallConfigConditions$Outbound = {
|
|
3746
|
+
type: string;
|
|
3747
|
+
op: string;
|
|
3748
|
+
neg?: boolean | undefined;
|
|
3749
|
+
key?: string | undefined;
|
|
3750
|
+
value?: string | number | Array<string> | undefined;
|
|
3751
|
+
};
|
|
3752
|
+
|
|
3753
|
+
/** @internal */
|
|
3754
|
+
export const PutFirewallConfigConditions$outboundSchema: z.ZodType<
|
|
3755
|
+
PutFirewallConfigConditions$Outbound,
|
|
3756
|
+
z.ZodTypeDef,
|
|
3757
|
+
PutFirewallConfigConditions
|
|
3758
|
+
> = z.object({
|
|
3759
|
+
type: PutFirewallConfigSecurityType$outboundSchema,
|
|
3760
|
+
op: PutFirewallConfigOp$outboundSchema,
|
|
3761
|
+
neg: z.boolean().optional(),
|
|
3762
|
+
key: z.string().optional(),
|
|
3763
|
+
value: z.union([z.string(), z.number(), z.array(z.string())]).optional(),
|
|
3764
|
+
});
|
|
3765
|
+
|
|
3766
|
+
/**
|
|
3767
|
+
* @internal
|
|
3768
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3769
|
+
*/
|
|
3770
|
+
export namespace PutFirewallConfigConditions$ {
|
|
3771
|
+
/** @deprecated use `PutFirewallConfigConditions$inboundSchema` instead. */
|
|
3772
|
+
export const inboundSchema = PutFirewallConfigConditions$inboundSchema;
|
|
3773
|
+
/** @deprecated use `PutFirewallConfigConditions$outboundSchema` instead. */
|
|
3774
|
+
export const outboundSchema = PutFirewallConfigConditions$outboundSchema;
|
|
3775
|
+
/** @deprecated use `PutFirewallConfigConditions$Outbound` instead. */
|
|
3776
|
+
export type Outbound = PutFirewallConfigConditions$Outbound;
|
|
3777
|
+
}
|
|
3778
|
+
|
|
3779
|
+
export function putFirewallConfigConditionsToJSON(
|
|
3780
|
+
putFirewallConfigConditions: PutFirewallConfigConditions,
|
|
3781
|
+
): string {
|
|
3782
|
+
return JSON.stringify(
|
|
3783
|
+
PutFirewallConfigConditions$outboundSchema.parse(
|
|
3784
|
+
putFirewallConfigConditions,
|
|
3785
|
+
),
|
|
3786
|
+
);
|
|
3787
|
+
}
|
|
3788
|
+
|
|
3789
|
+
export function putFirewallConfigConditionsFromJSON(
|
|
3790
|
+
jsonString: string,
|
|
3791
|
+
): SafeParseResult<PutFirewallConfigConditions, SDKValidationError> {
|
|
3792
|
+
return safeParse(
|
|
3793
|
+
jsonString,
|
|
3794
|
+
(x) => PutFirewallConfigConditions$inboundSchema.parse(JSON.parse(x)),
|
|
3795
|
+
`Failed to parse 'PutFirewallConfigConditions' from JSON`,
|
|
3796
|
+
);
|
|
3797
|
+
}
|
|
3798
|
+
|
|
3799
|
+
/** @internal */
|
|
3800
|
+
export const PutFirewallConfigConditionGroup$inboundSchema: z.ZodType<
|
|
3801
|
+
PutFirewallConfigConditionGroup,
|
|
3802
|
+
z.ZodTypeDef,
|
|
3803
|
+
unknown
|
|
3804
|
+
> = z.object({
|
|
3805
|
+
conditions: z.array(z.lazy(() => PutFirewallConfigConditions$inboundSchema)),
|
|
3806
|
+
});
|
|
3807
|
+
|
|
3808
|
+
/** @internal */
|
|
3809
|
+
export type PutFirewallConfigConditionGroup$Outbound = {
|
|
3810
|
+
conditions: Array<PutFirewallConfigConditions$Outbound>;
|
|
3811
|
+
};
|
|
3812
|
+
|
|
3813
|
+
/** @internal */
|
|
3814
|
+
export const PutFirewallConfigConditionGroup$outboundSchema: z.ZodType<
|
|
3815
|
+
PutFirewallConfigConditionGroup$Outbound,
|
|
3816
|
+
z.ZodTypeDef,
|
|
3817
|
+
PutFirewallConfigConditionGroup
|
|
3818
|
+
> = z.object({
|
|
3819
|
+
conditions: z.array(z.lazy(() => PutFirewallConfigConditions$outboundSchema)),
|
|
3820
|
+
});
|
|
3821
|
+
|
|
3822
|
+
/**
|
|
3823
|
+
* @internal
|
|
3824
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3825
|
+
*/
|
|
3826
|
+
export namespace PutFirewallConfigConditionGroup$ {
|
|
3827
|
+
/** @deprecated use `PutFirewallConfigConditionGroup$inboundSchema` instead. */
|
|
3828
|
+
export const inboundSchema = PutFirewallConfigConditionGroup$inboundSchema;
|
|
3829
|
+
/** @deprecated use `PutFirewallConfigConditionGroup$outboundSchema` instead. */
|
|
3830
|
+
export const outboundSchema = PutFirewallConfigConditionGroup$outboundSchema;
|
|
3831
|
+
/** @deprecated use `PutFirewallConfigConditionGroup$Outbound` instead. */
|
|
3832
|
+
export type Outbound = PutFirewallConfigConditionGroup$Outbound;
|
|
3833
|
+
}
|
|
3834
|
+
|
|
3835
|
+
export function putFirewallConfigConditionGroupToJSON(
|
|
3836
|
+
putFirewallConfigConditionGroup: PutFirewallConfigConditionGroup,
|
|
3837
|
+
): string {
|
|
3838
|
+
return JSON.stringify(
|
|
3839
|
+
PutFirewallConfigConditionGroup$outboundSchema.parse(
|
|
3840
|
+
putFirewallConfigConditionGroup,
|
|
3841
|
+
),
|
|
3842
|
+
);
|
|
3843
|
+
}
|
|
3844
|
+
|
|
3845
|
+
export function putFirewallConfigConditionGroupFromJSON(
|
|
3846
|
+
jsonString: string,
|
|
3847
|
+
): SafeParseResult<PutFirewallConfigConditionGroup, SDKValidationError> {
|
|
3848
|
+
return safeParse(
|
|
3849
|
+
jsonString,
|
|
3850
|
+
(x) => PutFirewallConfigConditionGroup$inboundSchema.parse(JSON.parse(x)),
|
|
3851
|
+
`Failed to parse 'PutFirewallConfigConditionGroup' from JSON`,
|
|
3852
|
+
);
|
|
3853
|
+
}
|
|
3854
|
+
|
|
3855
|
+
/** @internal */
|
|
3856
|
+
export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction$inboundSchema:
|
|
3857
|
+
z.ZodNativeEnum<
|
|
3858
|
+
typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction
|
|
3859
|
+
> = z.nativeEnum(
|
|
3860
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction,
|
|
3861
|
+
);
|
|
3862
|
+
|
|
3863
|
+
/** @internal */
|
|
3864
|
+
export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction$outboundSchema:
|
|
3865
|
+
z.ZodNativeEnum<
|
|
3866
|
+
typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction
|
|
3867
|
+
> =
|
|
3868
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction$inboundSchema;
|
|
3869
|
+
|
|
3870
|
+
/**
|
|
3871
|
+
* @internal
|
|
3872
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3873
|
+
*/
|
|
3874
|
+
export namespace PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction$ {
|
|
3875
|
+
/** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction$inboundSchema` instead. */
|
|
3876
|
+
export const inboundSchema =
|
|
3877
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction$inboundSchema;
|
|
3878
|
+
/** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction$outboundSchema` instead. */
|
|
3879
|
+
export const outboundSchema =
|
|
3880
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction$outboundSchema;
|
|
3881
|
+
}
|
|
3882
|
+
|
|
3883
|
+
/** @internal */
|
|
3884
|
+
export const PutFirewallConfigAlgo$inboundSchema: z.ZodNativeEnum<
|
|
3885
|
+
typeof PutFirewallConfigAlgo
|
|
3886
|
+
> = z.nativeEnum(PutFirewallConfigAlgo);
|
|
3887
|
+
|
|
3888
|
+
/** @internal */
|
|
3889
|
+
export const PutFirewallConfigAlgo$outboundSchema: z.ZodNativeEnum<
|
|
3890
|
+
typeof PutFirewallConfigAlgo
|
|
3891
|
+
> = PutFirewallConfigAlgo$inboundSchema;
|
|
3892
|
+
|
|
3893
|
+
/**
|
|
3894
|
+
* @internal
|
|
3895
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3896
|
+
*/
|
|
3897
|
+
export namespace PutFirewallConfigAlgo$ {
|
|
3898
|
+
/** @deprecated use `PutFirewallConfigAlgo$inboundSchema` instead. */
|
|
3899
|
+
export const inboundSchema = PutFirewallConfigAlgo$inboundSchema;
|
|
3900
|
+
/** @deprecated use `PutFirewallConfigAlgo$outboundSchema` instead. */
|
|
3901
|
+
export const outboundSchema = PutFirewallConfigAlgo$outboundSchema;
|
|
3902
|
+
}
|
|
3903
|
+
|
|
3904
|
+
/** @internal */
|
|
3905
|
+
export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction$inboundSchema:
|
|
3906
|
+
z.ZodNativeEnum<
|
|
3907
|
+
typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction
|
|
3908
|
+
> = z.nativeEnum(
|
|
3909
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction,
|
|
3910
|
+
);
|
|
3911
|
+
|
|
3912
|
+
/** @internal */
|
|
3913
|
+
export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction$outboundSchema:
|
|
3914
|
+
z.ZodNativeEnum<
|
|
3915
|
+
typeof PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction
|
|
3916
|
+
> =
|
|
3917
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction$inboundSchema;
|
|
3918
|
+
|
|
3919
|
+
/**
|
|
3920
|
+
* @internal
|
|
3921
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3922
|
+
*/
|
|
3923
|
+
export namespace PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction$ {
|
|
3924
|
+
/** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction$inboundSchema` instead. */
|
|
3925
|
+
export const inboundSchema =
|
|
3926
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction$inboundSchema;
|
|
3927
|
+
/** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction$outboundSchema` instead. */
|
|
3928
|
+
export const outboundSchema =
|
|
3929
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction$outboundSchema;
|
|
3930
|
+
}
|
|
3931
|
+
|
|
3932
|
+
/** @internal */
|
|
3933
|
+
export const PutFirewallConfigRateLimit$inboundSchema: z.ZodType<
|
|
3934
|
+
PutFirewallConfigRateLimit,
|
|
3935
|
+
z.ZodTypeDef,
|
|
3936
|
+
unknown
|
|
3937
|
+
> = z.object({
|
|
3938
|
+
algo: PutFirewallConfigAlgo$inboundSchema,
|
|
3939
|
+
window: z.number(),
|
|
3940
|
+
limit: z.number(),
|
|
3941
|
+
keys: z.array(z.string()),
|
|
3942
|
+
action: z.nullable(
|
|
3943
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction$inboundSchema,
|
|
3944
|
+
).optional(),
|
|
3945
|
+
});
|
|
3946
|
+
|
|
3947
|
+
/** @internal */
|
|
3948
|
+
export type PutFirewallConfigRateLimit$Outbound = {
|
|
3949
|
+
algo: string;
|
|
3950
|
+
window: number;
|
|
3951
|
+
limit: number;
|
|
3952
|
+
keys: Array<string>;
|
|
3953
|
+
action?: string | null | undefined;
|
|
3954
|
+
};
|
|
3955
|
+
|
|
3956
|
+
/** @internal */
|
|
3957
|
+
export const PutFirewallConfigRateLimit$outboundSchema: z.ZodType<
|
|
3958
|
+
PutFirewallConfigRateLimit$Outbound,
|
|
3959
|
+
z.ZodTypeDef,
|
|
3960
|
+
PutFirewallConfigRateLimit
|
|
3961
|
+
> = z.object({
|
|
3962
|
+
algo: PutFirewallConfigAlgo$outboundSchema,
|
|
3963
|
+
window: z.number(),
|
|
3964
|
+
limit: z.number(),
|
|
3965
|
+
keys: z.array(z.string()),
|
|
3966
|
+
action: z.nullable(
|
|
3967
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction$outboundSchema,
|
|
3968
|
+
).optional(),
|
|
3969
|
+
});
|
|
3970
|
+
|
|
3971
|
+
/**
|
|
3972
|
+
* @internal
|
|
3973
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
3974
|
+
*/
|
|
3975
|
+
export namespace PutFirewallConfigRateLimit$ {
|
|
3976
|
+
/** @deprecated use `PutFirewallConfigRateLimit$inboundSchema` instead. */
|
|
3977
|
+
export const inboundSchema = PutFirewallConfigRateLimit$inboundSchema;
|
|
3978
|
+
/** @deprecated use `PutFirewallConfigRateLimit$outboundSchema` instead. */
|
|
3979
|
+
export const outboundSchema = PutFirewallConfigRateLimit$outboundSchema;
|
|
3980
|
+
/** @deprecated use `PutFirewallConfigRateLimit$Outbound` instead. */
|
|
3981
|
+
export type Outbound = PutFirewallConfigRateLimit$Outbound;
|
|
3982
|
+
}
|
|
3983
|
+
|
|
3984
|
+
export function putFirewallConfigRateLimitToJSON(
|
|
3985
|
+
putFirewallConfigRateLimit: PutFirewallConfigRateLimit,
|
|
3986
|
+
): string {
|
|
3987
|
+
return JSON.stringify(
|
|
3988
|
+
PutFirewallConfigRateLimit$outboundSchema.parse(putFirewallConfigRateLimit),
|
|
3989
|
+
);
|
|
3990
|
+
}
|
|
3991
|
+
|
|
3992
|
+
export function putFirewallConfigRateLimitFromJSON(
|
|
3993
|
+
jsonString: string,
|
|
3994
|
+
): SafeParseResult<PutFirewallConfigRateLimit, SDKValidationError> {
|
|
3995
|
+
return safeParse(
|
|
3996
|
+
jsonString,
|
|
3997
|
+
(x) => PutFirewallConfigRateLimit$inboundSchema.parse(JSON.parse(x)),
|
|
3998
|
+
`Failed to parse 'PutFirewallConfigRateLimit' from JSON`,
|
|
3999
|
+
);
|
|
4000
|
+
}
|
|
4001
|
+
|
|
4002
|
+
/** @internal */
|
|
4003
|
+
export const PutFirewallConfigRedirect$inboundSchema: z.ZodType<
|
|
4004
|
+
PutFirewallConfigRedirect,
|
|
4005
|
+
z.ZodTypeDef,
|
|
4006
|
+
unknown
|
|
4007
|
+
> = z.object({
|
|
4008
|
+
location: z.string(),
|
|
4009
|
+
permanent: z.boolean(),
|
|
4010
|
+
});
|
|
4011
|
+
|
|
4012
|
+
/** @internal */
|
|
4013
|
+
export type PutFirewallConfigRedirect$Outbound = {
|
|
4014
|
+
location: string;
|
|
4015
|
+
permanent: boolean;
|
|
4016
|
+
};
|
|
4017
|
+
|
|
4018
|
+
/** @internal */
|
|
4019
|
+
export const PutFirewallConfigRedirect$outboundSchema: z.ZodType<
|
|
4020
|
+
PutFirewallConfigRedirect$Outbound,
|
|
4021
|
+
z.ZodTypeDef,
|
|
4022
|
+
PutFirewallConfigRedirect
|
|
4023
|
+
> = z.object({
|
|
4024
|
+
location: z.string(),
|
|
4025
|
+
permanent: z.boolean(),
|
|
4026
|
+
});
|
|
4027
|
+
|
|
4028
|
+
/**
|
|
4029
|
+
* @internal
|
|
4030
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4031
|
+
*/
|
|
4032
|
+
export namespace PutFirewallConfigRedirect$ {
|
|
4033
|
+
/** @deprecated use `PutFirewallConfigRedirect$inboundSchema` instead. */
|
|
4034
|
+
export const inboundSchema = PutFirewallConfigRedirect$inboundSchema;
|
|
4035
|
+
/** @deprecated use `PutFirewallConfigRedirect$outboundSchema` instead. */
|
|
4036
|
+
export const outboundSchema = PutFirewallConfigRedirect$outboundSchema;
|
|
4037
|
+
/** @deprecated use `PutFirewallConfigRedirect$Outbound` instead. */
|
|
4038
|
+
export type Outbound = PutFirewallConfigRedirect$Outbound;
|
|
4039
|
+
}
|
|
4040
|
+
|
|
4041
|
+
export function putFirewallConfigRedirectToJSON(
|
|
4042
|
+
putFirewallConfigRedirect: PutFirewallConfigRedirect,
|
|
4043
|
+
): string {
|
|
4044
|
+
return JSON.stringify(
|
|
4045
|
+
PutFirewallConfigRedirect$outboundSchema.parse(putFirewallConfigRedirect),
|
|
4046
|
+
);
|
|
4047
|
+
}
|
|
4048
|
+
|
|
4049
|
+
export function putFirewallConfigRedirectFromJSON(
|
|
4050
|
+
jsonString: string,
|
|
4051
|
+
): SafeParseResult<PutFirewallConfigRedirect, SDKValidationError> {
|
|
4052
|
+
return safeParse(
|
|
4053
|
+
jsonString,
|
|
4054
|
+
(x) => PutFirewallConfigRedirect$inboundSchema.parse(JSON.parse(x)),
|
|
4055
|
+
`Failed to parse 'PutFirewallConfigRedirect' from JSON`,
|
|
4056
|
+
);
|
|
4057
|
+
}
|
|
4058
|
+
|
|
4059
|
+
/** @internal */
|
|
4060
|
+
export const PutFirewallConfigMitigate$inboundSchema: z.ZodType<
|
|
4061
|
+
PutFirewallConfigMitigate,
|
|
4062
|
+
z.ZodTypeDef,
|
|
4063
|
+
unknown
|
|
4064
|
+
> = z.object({
|
|
4065
|
+
action:
|
|
4066
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction$inboundSchema,
|
|
4067
|
+
rateLimit: z.nullable(z.lazy(() => PutFirewallConfigRateLimit$inboundSchema))
|
|
4068
|
+
.optional(),
|
|
4069
|
+
redirect: z.nullable(z.lazy(() => PutFirewallConfigRedirect$inboundSchema))
|
|
4070
|
+
.optional(),
|
|
4071
|
+
actionDuration: z.nullable(z.string()).optional(),
|
|
4072
|
+
});
|
|
4073
|
+
|
|
4074
|
+
/** @internal */
|
|
4075
|
+
export type PutFirewallConfigMitigate$Outbound = {
|
|
4076
|
+
action: string;
|
|
4077
|
+
rateLimit?: PutFirewallConfigRateLimit$Outbound | null | undefined;
|
|
4078
|
+
redirect?: PutFirewallConfigRedirect$Outbound | null | undefined;
|
|
4079
|
+
actionDuration?: string | null | undefined;
|
|
4080
|
+
};
|
|
4081
|
+
|
|
4082
|
+
/** @internal */
|
|
4083
|
+
export const PutFirewallConfigMitigate$outboundSchema: z.ZodType<
|
|
4084
|
+
PutFirewallConfigMitigate$Outbound,
|
|
4085
|
+
z.ZodTypeDef,
|
|
4086
|
+
PutFirewallConfigMitigate
|
|
4087
|
+
> = z.object({
|
|
4088
|
+
action:
|
|
4089
|
+
PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction$outboundSchema,
|
|
4090
|
+
rateLimit: z.nullable(z.lazy(() => PutFirewallConfigRateLimit$outboundSchema))
|
|
4091
|
+
.optional(),
|
|
4092
|
+
redirect: z.nullable(z.lazy(() => PutFirewallConfigRedirect$outboundSchema))
|
|
4093
|
+
.optional(),
|
|
4094
|
+
actionDuration: z.nullable(z.string()).optional(),
|
|
4095
|
+
});
|
|
4096
|
+
|
|
4097
|
+
/**
|
|
4098
|
+
* @internal
|
|
4099
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4100
|
+
*/
|
|
4101
|
+
export namespace PutFirewallConfigMitigate$ {
|
|
4102
|
+
/** @deprecated use `PutFirewallConfigMitigate$inboundSchema` instead. */
|
|
4103
|
+
export const inboundSchema = PutFirewallConfigMitigate$inboundSchema;
|
|
4104
|
+
/** @deprecated use `PutFirewallConfigMitigate$outboundSchema` instead. */
|
|
4105
|
+
export const outboundSchema = PutFirewallConfigMitigate$outboundSchema;
|
|
4106
|
+
/** @deprecated use `PutFirewallConfigMitigate$Outbound` instead. */
|
|
4107
|
+
export type Outbound = PutFirewallConfigMitigate$Outbound;
|
|
4108
|
+
}
|
|
4109
|
+
|
|
4110
|
+
export function putFirewallConfigMitigateToJSON(
|
|
4111
|
+
putFirewallConfigMitigate: PutFirewallConfigMitigate,
|
|
4112
|
+
): string {
|
|
4113
|
+
return JSON.stringify(
|
|
4114
|
+
PutFirewallConfigMitigate$outboundSchema.parse(putFirewallConfigMitigate),
|
|
4115
|
+
);
|
|
4116
|
+
}
|
|
4117
|
+
|
|
4118
|
+
export function putFirewallConfigMitigateFromJSON(
|
|
4119
|
+
jsonString: string,
|
|
4120
|
+
): SafeParseResult<PutFirewallConfigMitigate, SDKValidationError> {
|
|
4121
|
+
return safeParse(
|
|
4122
|
+
jsonString,
|
|
4123
|
+
(x) => PutFirewallConfigMitigate$inboundSchema.parse(JSON.parse(x)),
|
|
4124
|
+
`Failed to parse 'PutFirewallConfigMitigate' from JSON`,
|
|
4125
|
+
);
|
|
4126
|
+
}
|
|
4127
|
+
|
|
4128
|
+
/** @internal */
|
|
4129
|
+
export const PutFirewallConfigSecurityResponseAction$inboundSchema: z.ZodType<
|
|
4130
|
+
PutFirewallConfigSecurityResponseAction,
|
|
4131
|
+
z.ZodTypeDef,
|
|
4132
|
+
unknown
|
|
4133
|
+
> = z.object({
|
|
4134
|
+
mitigate: z.lazy(() => PutFirewallConfigMitigate$inboundSchema).optional(),
|
|
4135
|
+
});
|
|
4136
|
+
|
|
4137
|
+
/** @internal */
|
|
4138
|
+
export type PutFirewallConfigSecurityResponseAction$Outbound = {
|
|
4139
|
+
mitigate?: PutFirewallConfigMitigate$Outbound | undefined;
|
|
4140
|
+
};
|
|
4141
|
+
|
|
4142
|
+
/** @internal */
|
|
4143
|
+
export const PutFirewallConfigSecurityResponseAction$outboundSchema: z.ZodType<
|
|
4144
|
+
PutFirewallConfigSecurityResponseAction$Outbound,
|
|
4145
|
+
z.ZodTypeDef,
|
|
4146
|
+
PutFirewallConfigSecurityResponseAction
|
|
4147
|
+
> = z.object({
|
|
4148
|
+
mitigate: z.lazy(() => PutFirewallConfigMitigate$outboundSchema).optional(),
|
|
4149
|
+
});
|
|
4150
|
+
|
|
4151
|
+
/**
|
|
4152
|
+
* @internal
|
|
4153
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4154
|
+
*/
|
|
4155
|
+
export namespace PutFirewallConfigSecurityResponseAction$ {
|
|
4156
|
+
/** @deprecated use `PutFirewallConfigSecurityResponseAction$inboundSchema` instead. */
|
|
4157
|
+
export const inboundSchema =
|
|
4158
|
+
PutFirewallConfigSecurityResponseAction$inboundSchema;
|
|
4159
|
+
/** @deprecated use `PutFirewallConfigSecurityResponseAction$outboundSchema` instead. */
|
|
4160
|
+
export const outboundSchema =
|
|
4161
|
+
PutFirewallConfigSecurityResponseAction$outboundSchema;
|
|
4162
|
+
/** @deprecated use `PutFirewallConfigSecurityResponseAction$Outbound` instead. */
|
|
4163
|
+
export type Outbound = PutFirewallConfigSecurityResponseAction$Outbound;
|
|
4164
|
+
}
|
|
4165
|
+
|
|
4166
|
+
export function putFirewallConfigSecurityResponseActionToJSON(
|
|
4167
|
+
putFirewallConfigSecurityResponseAction:
|
|
4168
|
+
PutFirewallConfigSecurityResponseAction,
|
|
4169
|
+
): string {
|
|
4170
|
+
return JSON.stringify(
|
|
4171
|
+
PutFirewallConfigSecurityResponseAction$outboundSchema.parse(
|
|
4172
|
+
putFirewallConfigSecurityResponseAction,
|
|
4173
|
+
),
|
|
4174
|
+
);
|
|
4175
|
+
}
|
|
4176
|
+
|
|
4177
|
+
export function putFirewallConfigSecurityResponseActionFromJSON(
|
|
4178
|
+
jsonString: string,
|
|
4179
|
+
): SafeParseResult<
|
|
4180
|
+
PutFirewallConfigSecurityResponseAction,
|
|
4181
|
+
SDKValidationError
|
|
4182
|
+
> {
|
|
4183
|
+
return safeParse(
|
|
4184
|
+
jsonString,
|
|
4185
|
+
(x) =>
|
|
4186
|
+
PutFirewallConfigSecurityResponseAction$inboundSchema.parse(
|
|
4187
|
+
JSON.parse(x),
|
|
4188
|
+
),
|
|
4189
|
+
`Failed to parse 'PutFirewallConfigSecurityResponseAction' from JSON`,
|
|
4190
|
+
);
|
|
4191
|
+
}
|
|
4192
|
+
|
|
4193
|
+
/** @internal */
|
|
4194
|
+
export const PutFirewallConfigRules$inboundSchema: z.ZodType<
|
|
4195
|
+
PutFirewallConfigRules,
|
|
4196
|
+
z.ZodTypeDef,
|
|
4197
|
+
unknown
|
|
4198
|
+
> = z.object({
|
|
4199
|
+
id: z.string(),
|
|
4200
|
+
name: z.string(),
|
|
4201
|
+
description: z.string().optional(),
|
|
4202
|
+
active: z.boolean(),
|
|
4203
|
+
conditionGroup: z.array(
|
|
4204
|
+
z.lazy(() => PutFirewallConfigConditionGroup$inboundSchema),
|
|
4205
|
+
),
|
|
4206
|
+
action: z.lazy(() => PutFirewallConfigSecurityResponseAction$inboundSchema),
|
|
4207
|
+
});
|
|
4208
|
+
|
|
4209
|
+
/** @internal */
|
|
4210
|
+
export type PutFirewallConfigRules$Outbound = {
|
|
4211
|
+
id: string;
|
|
4212
|
+
name: string;
|
|
4213
|
+
description?: string | undefined;
|
|
4214
|
+
active: boolean;
|
|
4215
|
+
conditionGroup: Array<PutFirewallConfigConditionGroup$Outbound>;
|
|
4216
|
+
action: PutFirewallConfigSecurityResponseAction$Outbound;
|
|
4217
|
+
};
|
|
4218
|
+
|
|
4219
|
+
/** @internal */
|
|
4220
|
+
export const PutFirewallConfigRules$outboundSchema: z.ZodType<
|
|
4221
|
+
PutFirewallConfigRules$Outbound,
|
|
4222
|
+
z.ZodTypeDef,
|
|
4223
|
+
PutFirewallConfigRules
|
|
4224
|
+
> = z.object({
|
|
4225
|
+
id: z.string(),
|
|
4226
|
+
name: z.string(),
|
|
4227
|
+
description: z.string().optional(),
|
|
4228
|
+
active: z.boolean(),
|
|
4229
|
+
conditionGroup: z.array(
|
|
4230
|
+
z.lazy(() => PutFirewallConfigConditionGroup$outboundSchema),
|
|
4231
|
+
),
|
|
4232
|
+
action: z.lazy(() => PutFirewallConfigSecurityResponseAction$outboundSchema),
|
|
4233
|
+
});
|
|
4234
|
+
|
|
4235
|
+
/**
|
|
4236
|
+
* @internal
|
|
4237
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4238
|
+
*/
|
|
4239
|
+
export namespace PutFirewallConfigRules$ {
|
|
4240
|
+
/** @deprecated use `PutFirewallConfigRules$inboundSchema` instead. */
|
|
4241
|
+
export const inboundSchema = PutFirewallConfigRules$inboundSchema;
|
|
4242
|
+
/** @deprecated use `PutFirewallConfigRules$outboundSchema` instead. */
|
|
4243
|
+
export const outboundSchema = PutFirewallConfigRules$outboundSchema;
|
|
4244
|
+
/** @deprecated use `PutFirewallConfigRules$Outbound` instead. */
|
|
4245
|
+
export type Outbound = PutFirewallConfigRules$Outbound;
|
|
4246
|
+
}
|
|
4247
|
+
|
|
4248
|
+
export function putFirewallConfigRulesToJSON(
|
|
4249
|
+
putFirewallConfigRules: PutFirewallConfigRules,
|
|
4250
|
+
): string {
|
|
4251
|
+
return JSON.stringify(
|
|
4252
|
+
PutFirewallConfigRules$outboundSchema.parse(putFirewallConfigRules),
|
|
4253
|
+
);
|
|
4254
|
+
}
|
|
4255
|
+
|
|
4256
|
+
export function putFirewallConfigRulesFromJSON(
|
|
4257
|
+
jsonString: string,
|
|
4258
|
+
): SafeParseResult<PutFirewallConfigRules, SDKValidationError> {
|
|
4259
|
+
return safeParse(
|
|
4260
|
+
jsonString,
|
|
4261
|
+
(x) => PutFirewallConfigRules$inboundSchema.parse(JSON.parse(x)),
|
|
4262
|
+
`Failed to parse 'PutFirewallConfigRules' from JSON`,
|
|
4263
|
+
);
|
|
4264
|
+
}
|
|
4265
|
+
|
|
4266
|
+
/** @internal */
|
|
4267
|
+
export const PutFirewallConfigSecurityResponse200Action$inboundSchema:
|
|
4268
|
+
z.ZodNativeEnum<typeof PutFirewallConfigSecurityResponse200Action> = z
|
|
4269
|
+
.nativeEnum(PutFirewallConfigSecurityResponse200Action);
|
|
4270
|
+
|
|
4271
|
+
/** @internal */
|
|
4272
|
+
export const PutFirewallConfigSecurityResponse200Action$outboundSchema:
|
|
4273
|
+
z.ZodNativeEnum<typeof PutFirewallConfigSecurityResponse200Action> =
|
|
4274
|
+
PutFirewallConfigSecurityResponse200Action$inboundSchema;
|
|
4275
|
+
|
|
4276
|
+
/**
|
|
4277
|
+
* @internal
|
|
4278
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4279
|
+
*/
|
|
4280
|
+
export namespace PutFirewallConfigSecurityResponse200Action$ {
|
|
4281
|
+
/** @deprecated use `PutFirewallConfigSecurityResponse200Action$inboundSchema` instead. */
|
|
4282
|
+
export const inboundSchema =
|
|
4283
|
+
PutFirewallConfigSecurityResponse200Action$inboundSchema;
|
|
4284
|
+
/** @deprecated use `PutFirewallConfigSecurityResponse200Action$outboundSchema` instead. */
|
|
4285
|
+
export const outboundSchema =
|
|
4286
|
+
PutFirewallConfigSecurityResponse200Action$outboundSchema;
|
|
4287
|
+
}
|
|
4288
|
+
|
|
4289
|
+
/** @internal */
|
|
4290
|
+
export const PutFirewallConfigIps$inboundSchema: z.ZodType<
|
|
4291
|
+
PutFirewallConfigIps,
|
|
4292
|
+
z.ZodTypeDef,
|
|
4293
|
+
unknown
|
|
4294
|
+
> = z.object({
|
|
4295
|
+
id: z.string(),
|
|
4296
|
+
hostname: z.string(),
|
|
4297
|
+
ip: z.string(),
|
|
4298
|
+
notes: z.string().optional(),
|
|
4299
|
+
action: PutFirewallConfigSecurityResponse200Action$inboundSchema,
|
|
4300
|
+
});
|
|
4301
|
+
|
|
4302
|
+
/** @internal */
|
|
4303
|
+
export type PutFirewallConfigIps$Outbound = {
|
|
4304
|
+
id: string;
|
|
4305
|
+
hostname: string;
|
|
4306
|
+
ip: string;
|
|
4307
|
+
notes?: string | undefined;
|
|
4308
|
+
action: string;
|
|
4309
|
+
};
|
|
4310
|
+
|
|
4311
|
+
/** @internal */
|
|
4312
|
+
export const PutFirewallConfigIps$outboundSchema: z.ZodType<
|
|
4313
|
+
PutFirewallConfigIps$Outbound,
|
|
4314
|
+
z.ZodTypeDef,
|
|
4315
|
+
PutFirewallConfigIps
|
|
4316
|
+
> = z.object({
|
|
4317
|
+
id: z.string(),
|
|
4318
|
+
hostname: z.string(),
|
|
4319
|
+
ip: z.string(),
|
|
4320
|
+
notes: z.string().optional(),
|
|
4321
|
+
action: PutFirewallConfigSecurityResponse200Action$outboundSchema,
|
|
4322
|
+
});
|
|
4323
|
+
|
|
4324
|
+
/**
|
|
4325
|
+
* @internal
|
|
4326
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4327
|
+
*/
|
|
4328
|
+
export namespace PutFirewallConfigIps$ {
|
|
4329
|
+
/** @deprecated use `PutFirewallConfigIps$inboundSchema` instead. */
|
|
4330
|
+
export const inboundSchema = PutFirewallConfigIps$inboundSchema;
|
|
4331
|
+
/** @deprecated use `PutFirewallConfigIps$outboundSchema` instead. */
|
|
4332
|
+
export const outboundSchema = PutFirewallConfigIps$outboundSchema;
|
|
4333
|
+
/** @deprecated use `PutFirewallConfigIps$Outbound` instead. */
|
|
4334
|
+
export type Outbound = PutFirewallConfigIps$Outbound;
|
|
4335
|
+
}
|
|
4336
|
+
|
|
4337
|
+
export function putFirewallConfigIpsToJSON(
|
|
4338
|
+
putFirewallConfigIps: PutFirewallConfigIps,
|
|
4339
|
+
): string {
|
|
4340
|
+
return JSON.stringify(
|
|
4341
|
+
PutFirewallConfigIps$outboundSchema.parse(putFirewallConfigIps),
|
|
4342
|
+
);
|
|
4343
|
+
}
|
|
4344
|
+
|
|
4345
|
+
export function putFirewallConfigIpsFromJSON(
|
|
4346
|
+
jsonString: string,
|
|
4347
|
+
): SafeParseResult<PutFirewallConfigIps, SDKValidationError> {
|
|
4348
|
+
return safeParse(
|
|
4349
|
+
jsonString,
|
|
4350
|
+
(x) => PutFirewallConfigIps$inboundSchema.parse(JSON.parse(x)),
|
|
4351
|
+
`Failed to parse 'PutFirewallConfigIps' from JSON`,
|
|
4352
|
+
);
|
|
4353
|
+
}
|
|
4354
|
+
|
|
4355
|
+
/** @internal */
|
|
4356
|
+
export const PutFirewallConfigChanges$inboundSchema: z.ZodType<
|
|
4357
|
+
PutFirewallConfigChanges,
|
|
4358
|
+
z.ZodTypeDef,
|
|
4359
|
+
unknown
|
|
4360
|
+
> = z.object({});
|
|
4361
|
+
|
|
4362
|
+
/** @internal */
|
|
4363
|
+
export type PutFirewallConfigChanges$Outbound = {};
|
|
4364
|
+
|
|
4365
|
+
/** @internal */
|
|
4366
|
+
export const PutFirewallConfigChanges$outboundSchema: z.ZodType<
|
|
4367
|
+
PutFirewallConfigChanges$Outbound,
|
|
4368
|
+
z.ZodTypeDef,
|
|
4369
|
+
PutFirewallConfigChanges
|
|
4370
|
+
> = z.object({});
|
|
4371
|
+
|
|
4372
|
+
/**
|
|
4373
|
+
* @internal
|
|
4374
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4375
|
+
*/
|
|
4376
|
+
export namespace PutFirewallConfigChanges$ {
|
|
4377
|
+
/** @deprecated use `PutFirewallConfigChanges$inboundSchema` instead. */
|
|
4378
|
+
export const inboundSchema = PutFirewallConfigChanges$inboundSchema;
|
|
4379
|
+
/** @deprecated use `PutFirewallConfigChanges$outboundSchema` instead. */
|
|
4380
|
+
export const outboundSchema = PutFirewallConfigChanges$outboundSchema;
|
|
4381
|
+
/** @deprecated use `PutFirewallConfigChanges$Outbound` instead. */
|
|
4382
|
+
export type Outbound = PutFirewallConfigChanges$Outbound;
|
|
4383
|
+
}
|
|
4384
|
+
|
|
4385
|
+
export function putFirewallConfigChangesToJSON(
|
|
4386
|
+
putFirewallConfigChanges: PutFirewallConfigChanges,
|
|
4387
|
+
): string {
|
|
4388
|
+
return JSON.stringify(
|
|
4389
|
+
PutFirewallConfigChanges$outboundSchema.parse(putFirewallConfigChanges),
|
|
4390
|
+
);
|
|
4391
|
+
}
|
|
4392
|
+
|
|
4393
|
+
export function putFirewallConfigChangesFromJSON(
|
|
4394
|
+
jsonString: string,
|
|
4395
|
+
): SafeParseResult<PutFirewallConfigChanges, SDKValidationError> {
|
|
4396
|
+
return safeParse(
|
|
4397
|
+
jsonString,
|
|
4398
|
+
(x) => PutFirewallConfigChanges$inboundSchema.parse(JSON.parse(x)),
|
|
4399
|
+
`Failed to parse 'PutFirewallConfigChanges' from JSON`,
|
|
4400
|
+
);
|
|
4401
|
+
}
|
|
4402
|
+
|
|
4403
|
+
/** @internal */
|
|
4404
|
+
export const PutFirewallConfigOwasp$inboundSchema: z.ZodType<
|
|
4405
|
+
PutFirewallConfigOwasp,
|
|
4406
|
+
z.ZodTypeDef,
|
|
4407
|
+
unknown
|
|
4408
|
+
> = z.object({
|
|
4409
|
+
active: z.boolean(),
|
|
4410
|
+
updatedAt: z.string().optional(),
|
|
4411
|
+
userId: z.string().optional(),
|
|
4412
|
+
username: z.string().optional(),
|
|
4413
|
+
});
|
|
4414
|
+
|
|
4415
|
+
/** @internal */
|
|
4416
|
+
export type PutFirewallConfigOwasp$Outbound = {
|
|
4417
|
+
active: boolean;
|
|
4418
|
+
updatedAt?: string | undefined;
|
|
4419
|
+
userId?: string | undefined;
|
|
4420
|
+
username?: string | undefined;
|
|
4421
|
+
};
|
|
4422
|
+
|
|
4423
|
+
/** @internal */
|
|
4424
|
+
export const PutFirewallConfigOwasp$outboundSchema: z.ZodType<
|
|
4425
|
+
PutFirewallConfigOwasp$Outbound,
|
|
4426
|
+
z.ZodTypeDef,
|
|
4427
|
+
PutFirewallConfigOwasp
|
|
4428
|
+
> = z.object({
|
|
4429
|
+
active: z.boolean(),
|
|
4430
|
+
updatedAt: z.string().optional(),
|
|
4431
|
+
userId: z.string().optional(),
|
|
4432
|
+
username: z.string().optional(),
|
|
4433
|
+
});
|
|
4434
|
+
|
|
4435
|
+
/**
|
|
4436
|
+
* @internal
|
|
4437
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4438
|
+
*/
|
|
4439
|
+
export namespace PutFirewallConfigOwasp$ {
|
|
4440
|
+
/** @deprecated use `PutFirewallConfigOwasp$inboundSchema` instead. */
|
|
4441
|
+
export const inboundSchema = PutFirewallConfigOwasp$inboundSchema;
|
|
4442
|
+
/** @deprecated use `PutFirewallConfigOwasp$outboundSchema` instead. */
|
|
4443
|
+
export const outboundSchema = PutFirewallConfigOwasp$outboundSchema;
|
|
4444
|
+
/** @deprecated use `PutFirewallConfigOwasp$Outbound` instead. */
|
|
4445
|
+
export type Outbound = PutFirewallConfigOwasp$Outbound;
|
|
4446
|
+
}
|
|
4447
|
+
|
|
4448
|
+
export function putFirewallConfigOwaspToJSON(
|
|
4449
|
+
putFirewallConfigOwasp: PutFirewallConfigOwasp,
|
|
4450
|
+
): string {
|
|
4451
|
+
return JSON.stringify(
|
|
4452
|
+
PutFirewallConfigOwasp$outboundSchema.parse(putFirewallConfigOwasp),
|
|
4453
|
+
);
|
|
4454
|
+
}
|
|
4455
|
+
|
|
4456
|
+
export function putFirewallConfigOwaspFromJSON(
|
|
4457
|
+
jsonString: string,
|
|
4458
|
+
): SafeParseResult<PutFirewallConfigOwasp, SDKValidationError> {
|
|
4459
|
+
return safeParse(
|
|
4460
|
+
jsonString,
|
|
4461
|
+
(x) => PutFirewallConfigOwasp$inboundSchema.parse(JSON.parse(x)),
|
|
4462
|
+
`Failed to parse 'PutFirewallConfigOwasp' from JSON`,
|
|
4463
|
+
);
|
|
4464
|
+
}
|
|
4465
|
+
|
|
4466
|
+
/** @internal */
|
|
4467
|
+
export const PutFirewallConfigVerifiedBotsBypass$inboundSchema: z.ZodType<
|
|
4468
|
+
PutFirewallConfigVerifiedBotsBypass,
|
|
4469
|
+
z.ZodTypeDef,
|
|
4470
|
+
unknown
|
|
4471
|
+
> = z.object({
|
|
4472
|
+
active: z.boolean(),
|
|
4473
|
+
updatedAt: z.string().optional(),
|
|
4474
|
+
userId: z.string().optional(),
|
|
4475
|
+
username: z.string().optional(),
|
|
4476
|
+
});
|
|
4477
|
+
|
|
4478
|
+
/** @internal */
|
|
4479
|
+
export type PutFirewallConfigVerifiedBotsBypass$Outbound = {
|
|
4480
|
+
active: boolean;
|
|
4481
|
+
updatedAt?: string | undefined;
|
|
4482
|
+
userId?: string | undefined;
|
|
4483
|
+
username?: string | undefined;
|
|
4484
|
+
};
|
|
4485
|
+
|
|
4486
|
+
/** @internal */
|
|
4487
|
+
export const PutFirewallConfigVerifiedBotsBypass$outboundSchema: z.ZodType<
|
|
4488
|
+
PutFirewallConfigVerifiedBotsBypass$Outbound,
|
|
4489
|
+
z.ZodTypeDef,
|
|
4490
|
+
PutFirewallConfigVerifiedBotsBypass
|
|
4491
|
+
> = z.object({
|
|
4492
|
+
active: z.boolean(),
|
|
4493
|
+
updatedAt: z.string().optional(),
|
|
4494
|
+
userId: z.string().optional(),
|
|
4495
|
+
username: z.string().optional(),
|
|
4496
|
+
});
|
|
4497
|
+
|
|
4498
|
+
/**
|
|
4499
|
+
* @internal
|
|
4500
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4501
|
+
*/
|
|
4502
|
+
export namespace PutFirewallConfigVerifiedBotsBypass$ {
|
|
4503
|
+
/** @deprecated use `PutFirewallConfigVerifiedBotsBypass$inboundSchema` instead. */
|
|
4504
|
+
export const inboundSchema =
|
|
4505
|
+
PutFirewallConfigVerifiedBotsBypass$inboundSchema;
|
|
4506
|
+
/** @deprecated use `PutFirewallConfigVerifiedBotsBypass$outboundSchema` instead. */
|
|
4507
|
+
export const outboundSchema =
|
|
4508
|
+
PutFirewallConfigVerifiedBotsBypass$outboundSchema;
|
|
4509
|
+
/** @deprecated use `PutFirewallConfigVerifiedBotsBypass$Outbound` instead. */
|
|
4510
|
+
export type Outbound = PutFirewallConfigVerifiedBotsBypass$Outbound;
|
|
4511
|
+
}
|
|
4512
|
+
|
|
4513
|
+
export function putFirewallConfigVerifiedBotsBypassToJSON(
|
|
4514
|
+
putFirewallConfigVerifiedBotsBypass: PutFirewallConfigVerifiedBotsBypass,
|
|
4515
|
+
): string {
|
|
4516
|
+
return JSON.stringify(
|
|
4517
|
+
PutFirewallConfigVerifiedBotsBypass$outboundSchema.parse(
|
|
4518
|
+
putFirewallConfigVerifiedBotsBypass,
|
|
4519
|
+
),
|
|
4520
|
+
);
|
|
4521
|
+
}
|
|
4522
|
+
|
|
4523
|
+
export function putFirewallConfigVerifiedBotsBypassFromJSON(
|
|
4524
|
+
jsonString: string,
|
|
4525
|
+
): SafeParseResult<PutFirewallConfigVerifiedBotsBypass, SDKValidationError> {
|
|
4526
|
+
return safeParse(
|
|
4527
|
+
jsonString,
|
|
4528
|
+
(x) =>
|
|
4529
|
+
PutFirewallConfigVerifiedBotsBypass$inboundSchema.parse(JSON.parse(x)),
|
|
4530
|
+
`Failed to parse 'PutFirewallConfigVerifiedBotsBypass' from JSON`,
|
|
4531
|
+
);
|
|
4532
|
+
}
|
|
4533
|
+
|
|
4534
|
+
/** @internal */
|
|
4535
|
+
export const PutFirewallConfigManagedRules$inboundSchema: z.ZodType<
|
|
4536
|
+
PutFirewallConfigManagedRules,
|
|
4537
|
+
z.ZodTypeDef,
|
|
4538
|
+
unknown
|
|
4539
|
+
> = z.object({
|
|
4540
|
+
owasp: z.lazy(() => PutFirewallConfigOwasp$inboundSchema).optional(),
|
|
4541
|
+
verifiedBotsBypass: z.lazy(() =>
|
|
4542
|
+
PutFirewallConfigVerifiedBotsBypass$inboundSchema
|
|
4543
|
+
).optional(),
|
|
4544
|
+
});
|
|
4545
|
+
|
|
4546
|
+
/** @internal */
|
|
4547
|
+
export type PutFirewallConfigManagedRules$Outbound = {
|
|
4548
|
+
owasp?: PutFirewallConfigOwasp$Outbound | undefined;
|
|
4549
|
+
verifiedBotsBypass?: PutFirewallConfigVerifiedBotsBypass$Outbound | undefined;
|
|
4550
|
+
};
|
|
4551
|
+
|
|
4552
|
+
/** @internal */
|
|
4553
|
+
export const PutFirewallConfigManagedRules$outboundSchema: z.ZodType<
|
|
4554
|
+
PutFirewallConfigManagedRules$Outbound,
|
|
4555
|
+
z.ZodTypeDef,
|
|
4556
|
+
PutFirewallConfigManagedRules
|
|
4557
|
+
> = z.object({
|
|
4558
|
+
owasp: z.lazy(() => PutFirewallConfigOwasp$outboundSchema).optional(),
|
|
4559
|
+
verifiedBotsBypass: z.lazy(() =>
|
|
4560
|
+
PutFirewallConfigVerifiedBotsBypass$outboundSchema
|
|
4561
|
+
).optional(),
|
|
4562
|
+
});
|
|
4563
|
+
|
|
4564
|
+
/**
|
|
4565
|
+
* @internal
|
|
4566
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4567
|
+
*/
|
|
4568
|
+
export namespace PutFirewallConfigManagedRules$ {
|
|
4569
|
+
/** @deprecated use `PutFirewallConfigManagedRules$inboundSchema` instead. */
|
|
4570
|
+
export const inboundSchema = PutFirewallConfigManagedRules$inboundSchema;
|
|
4571
|
+
/** @deprecated use `PutFirewallConfigManagedRules$outboundSchema` instead. */
|
|
4572
|
+
export const outboundSchema = PutFirewallConfigManagedRules$outboundSchema;
|
|
4573
|
+
/** @deprecated use `PutFirewallConfigManagedRules$Outbound` instead. */
|
|
4574
|
+
export type Outbound = PutFirewallConfigManagedRules$Outbound;
|
|
4575
|
+
}
|
|
4576
|
+
|
|
4577
|
+
export function putFirewallConfigManagedRulesToJSON(
|
|
4578
|
+
putFirewallConfigManagedRules: PutFirewallConfigManagedRules,
|
|
4579
|
+
): string {
|
|
4580
|
+
return JSON.stringify(
|
|
4581
|
+
PutFirewallConfigManagedRules$outboundSchema.parse(
|
|
4582
|
+
putFirewallConfigManagedRules,
|
|
4583
|
+
),
|
|
4584
|
+
);
|
|
4585
|
+
}
|
|
4586
|
+
|
|
4587
|
+
export function putFirewallConfigManagedRulesFromJSON(
|
|
4588
|
+
jsonString: string,
|
|
4589
|
+
): SafeParseResult<PutFirewallConfigManagedRules, SDKValidationError> {
|
|
4590
|
+
return safeParse(
|
|
4591
|
+
jsonString,
|
|
4592
|
+
(x) => PutFirewallConfigManagedRules$inboundSchema.parse(JSON.parse(x)),
|
|
4593
|
+
`Failed to parse 'PutFirewallConfigManagedRules' from JSON`,
|
|
4594
|
+
);
|
|
4595
|
+
}
|
|
4596
|
+
|
|
4597
|
+
/** @internal */
|
|
4598
|
+
export const Active$inboundSchema: z.ZodType<Active, z.ZodTypeDef, unknown> = z
|
|
4599
|
+
.object({
|
|
4600
|
+
ownerId: z.string(),
|
|
4601
|
+
projectKey: z.string(),
|
|
4602
|
+
id: z.string(),
|
|
4603
|
+
version: z.number(),
|
|
4604
|
+
updatedAt: z.string(),
|
|
4605
|
+
firewallEnabled: z.boolean(),
|
|
4606
|
+
crs: z.lazy(() => PutFirewallConfigCrs$inboundSchema),
|
|
4607
|
+
rules: z.array(z.lazy(() => PutFirewallConfigRules$inboundSchema)),
|
|
4608
|
+
ips: z.array(z.lazy(() => PutFirewallConfigIps$inboundSchema)),
|
|
4609
|
+
changes: z.array(z.lazy(() => PutFirewallConfigChanges$inboundSchema)),
|
|
4610
|
+
managedRules: z.lazy(() => PutFirewallConfigManagedRules$inboundSchema)
|
|
4611
|
+
.optional(),
|
|
4612
|
+
});
|
|
4613
|
+
|
|
4614
|
+
/** @internal */
|
|
4615
|
+
export type Active$Outbound = {
|
|
4616
|
+
ownerId: string;
|
|
4617
|
+
projectKey: string;
|
|
4618
|
+
id: string;
|
|
4619
|
+
version: number;
|
|
4620
|
+
updatedAt: string;
|
|
4621
|
+
firewallEnabled: boolean;
|
|
4622
|
+
crs: PutFirewallConfigCrs$Outbound;
|
|
4623
|
+
rules: Array<PutFirewallConfigRules$Outbound>;
|
|
4624
|
+
ips: Array<PutFirewallConfigIps$Outbound>;
|
|
4625
|
+
changes: Array<PutFirewallConfigChanges$Outbound>;
|
|
4626
|
+
managedRules?: PutFirewallConfigManagedRules$Outbound | undefined;
|
|
4627
|
+
};
|
|
4628
|
+
|
|
4629
|
+
/** @internal */
|
|
4630
|
+
export const Active$outboundSchema: z.ZodType<
|
|
4631
|
+
Active$Outbound,
|
|
4632
|
+
z.ZodTypeDef,
|
|
4633
|
+
Active
|
|
4634
|
+
> = z.object({
|
|
4635
|
+
ownerId: z.string(),
|
|
4636
|
+
projectKey: z.string(),
|
|
4637
|
+
id: z.string(),
|
|
4638
|
+
version: z.number(),
|
|
4639
|
+
updatedAt: z.string(),
|
|
4640
|
+
firewallEnabled: z.boolean(),
|
|
4641
|
+
crs: z.lazy(() => PutFirewallConfigCrs$outboundSchema),
|
|
4642
|
+
rules: z.array(z.lazy(() => PutFirewallConfigRules$outboundSchema)),
|
|
4643
|
+
ips: z.array(z.lazy(() => PutFirewallConfigIps$outboundSchema)),
|
|
4644
|
+
changes: z.array(z.lazy(() => PutFirewallConfigChanges$outboundSchema)),
|
|
4645
|
+
managedRules: z.lazy(() => PutFirewallConfigManagedRules$outboundSchema)
|
|
4646
|
+
.optional(),
|
|
4647
|
+
});
|
|
4648
|
+
|
|
4649
|
+
/**
|
|
4650
|
+
* @internal
|
|
4651
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4652
|
+
*/
|
|
4653
|
+
export namespace Active$ {
|
|
4654
|
+
/** @deprecated use `Active$inboundSchema` instead. */
|
|
4655
|
+
export const inboundSchema = Active$inboundSchema;
|
|
4656
|
+
/** @deprecated use `Active$outboundSchema` instead. */
|
|
4657
|
+
export const outboundSchema = Active$outboundSchema;
|
|
4658
|
+
/** @deprecated use `Active$Outbound` instead. */
|
|
4659
|
+
export type Outbound = Active$Outbound;
|
|
4660
|
+
}
|
|
4661
|
+
|
|
4662
|
+
export function activeToJSON(active: Active): string {
|
|
4663
|
+
return JSON.stringify(Active$outboundSchema.parse(active));
|
|
4664
|
+
}
|
|
4665
|
+
|
|
4666
|
+
export function activeFromJSON(
|
|
4667
|
+
jsonString: string,
|
|
4668
|
+
): SafeParseResult<Active, SDKValidationError> {
|
|
4669
|
+
return safeParse(
|
|
4670
|
+
jsonString,
|
|
4671
|
+
(x) => Active$inboundSchema.parse(JSON.parse(x)),
|
|
4672
|
+
`Failed to parse 'Active' from JSON`,
|
|
4673
|
+
);
|
|
4674
|
+
}
|
|
4675
|
+
|
|
4676
|
+
/** @internal */
|
|
4677
|
+
export const PutFirewallConfigResponseBody$inboundSchema: z.ZodType<
|
|
4678
|
+
PutFirewallConfigResponseBody,
|
|
4679
|
+
z.ZodTypeDef,
|
|
4680
|
+
unknown
|
|
4681
|
+
> = z.object({
|
|
4682
|
+
active: z.lazy(() => Active$inboundSchema),
|
|
4683
|
+
});
|
|
4684
|
+
|
|
4685
|
+
/** @internal */
|
|
4686
|
+
export type PutFirewallConfigResponseBody$Outbound = {
|
|
4687
|
+
active: Active$Outbound;
|
|
4688
|
+
};
|
|
4689
|
+
|
|
4690
|
+
/** @internal */
|
|
4691
|
+
export const PutFirewallConfigResponseBody$outboundSchema: z.ZodType<
|
|
4692
|
+
PutFirewallConfigResponseBody$Outbound,
|
|
4693
|
+
z.ZodTypeDef,
|
|
4694
|
+
PutFirewallConfigResponseBody
|
|
4695
|
+
> = z.object({
|
|
4696
|
+
active: z.lazy(() => Active$outboundSchema),
|
|
4697
|
+
});
|
|
4698
|
+
|
|
4699
|
+
/**
|
|
4700
|
+
* @internal
|
|
4701
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4702
|
+
*/
|
|
4703
|
+
export namespace PutFirewallConfigResponseBody$ {
|
|
4704
|
+
/** @deprecated use `PutFirewallConfigResponseBody$inboundSchema` instead. */
|
|
4705
|
+
export const inboundSchema = PutFirewallConfigResponseBody$inboundSchema;
|
|
4706
|
+
/** @deprecated use `PutFirewallConfigResponseBody$outboundSchema` instead. */
|
|
4707
|
+
export const outboundSchema = PutFirewallConfigResponseBody$outboundSchema;
|
|
4708
|
+
/** @deprecated use `PutFirewallConfigResponseBody$Outbound` instead. */
|
|
4709
|
+
export type Outbound = PutFirewallConfigResponseBody$Outbound;
|
|
4710
|
+
}
|
|
4711
|
+
|
|
4712
|
+
export function putFirewallConfigResponseBodyToJSON(
|
|
4713
|
+
putFirewallConfigResponseBody: PutFirewallConfigResponseBody,
|
|
4714
|
+
): string {
|
|
4715
|
+
return JSON.stringify(
|
|
4716
|
+
PutFirewallConfigResponseBody$outboundSchema.parse(
|
|
4717
|
+
putFirewallConfigResponseBody,
|
|
4718
|
+
),
|
|
4719
|
+
);
|
|
4720
|
+
}
|
|
4721
|
+
|
|
4722
|
+
export function putFirewallConfigResponseBodyFromJSON(
|
|
4723
|
+
jsonString: string,
|
|
4724
|
+
): SafeParseResult<PutFirewallConfigResponseBody, SDKValidationError> {
|
|
4725
|
+
return safeParse(
|
|
4726
|
+
jsonString,
|
|
4727
|
+
(x) => PutFirewallConfigResponseBody$inboundSchema.parse(JSON.parse(x)),
|
|
4728
|
+
`Failed to parse 'PutFirewallConfigResponseBody' from JSON`,
|
|
4729
|
+
);
|
|
4730
|
+
}
|