@vercel/sdk 1.18.2 → 1.18.4
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/README.md +43 -26
- package/bin/mcp-server.js +4634 -2791
- package/bin/mcp-server.js.map +56 -35
- package/esm/__tests__/accessgroups.test.js +1 -3
- package/esm/__tests__/accessgroups.test.js.map +1 -1
- package/esm/__tests__/bulkredirects.test.d.ts +2 -0
- package/esm/__tests__/bulkredirects.test.d.ts.map +1 -0
- package/esm/__tests__/bulkredirects.test.js +171 -0
- package/esm/__tests__/bulkredirects.test.js.map +1 -0
- package/esm/__tests__/domains.test.js +11 -44
- package/esm/__tests__/domains.test.js.map +1 -1
- package/esm/__tests__/edgeconfig.test.js +6 -6
- package/esm/__tests__/edgeconfig.test.js.map +1 -1
- package/esm/__tests__/integrations.test.js +1 -1
- package/esm/__tests__/logdrains.test.js +6 -2
- package/esm/__tests__/logdrains.test.js.map +1 -1
- package/esm/__tests__/security.test.js +26 -32
- package/esm/__tests__/security.test.js.map +1 -1
- package/esm/__tests__/teams.test.js +16 -0
- package/esm/__tests__/teams.test.js.map +1 -1
- package/esm/__tests__/vercel.test.js +21 -0
- package/esm/__tests__/vercel.test.js.map +1 -1
- package/esm/funcs/bulkRedirectsDeleteRedirects.d.ts +17 -0
- package/esm/funcs/bulkRedirectsDeleteRedirects.d.ts.map +1 -0
- package/esm/funcs/bulkRedirectsDeleteRedirects.js +84 -0
- package/esm/funcs/bulkRedirectsDeleteRedirects.js.map +1 -0
- package/esm/funcs/bulkRedirectsEditRedirect.d.ts +17 -0
- package/esm/funcs/bulkRedirectsEditRedirect.d.ts.map +1 -0
- package/esm/funcs/bulkRedirectsEditRedirect.js +84 -0
- package/esm/funcs/bulkRedirectsEditRedirect.js.map +1 -0
- package/esm/funcs/bulkRedirectsGetRedirects.d.ts +17 -0
- package/esm/funcs/bulkRedirectsGetRedirects.d.ts.map +1 -0
- package/esm/funcs/bulkRedirectsGetRedirects.js +90 -0
- package/esm/funcs/bulkRedirectsGetRedirects.js.map +1 -0
- package/esm/funcs/bulkRedirectsGetVersions.d.ts +17 -0
- package/esm/funcs/bulkRedirectsGetVersions.d.ts.map +1 -0
- package/esm/funcs/bulkRedirectsGetVersions.js +83 -0
- package/esm/funcs/bulkRedirectsGetVersions.js.map +1 -0
- package/esm/funcs/bulkRedirectsRestoreRedirects.d.ts +17 -0
- package/esm/funcs/bulkRedirectsRestoreRedirects.d.ts.map +1 -0
- package/esm/funcs/bulkRedirectsRestoreRedirects.js +84 -0
- package/esm/funcs/bulkRedirectsRestoreRedirects.js.map +1 -0
- package/esm/funcs/bulkRedirectsStageRedirects.d.ts +17 -0
- package/esm/funcs/bulkRedirectsStageRedirects.d.ts.map +1 -0
- package/esm/funcs/bulkRedirectsStageRedirects.js +83 -0
- package/esm/funcs/bulkRedirectsStageRedirects.js.map +1 -0
- package/esm/funcs/bulkRedirectsUpdateVersion.d.ts +17 -0
- package/esm/funcs/bulkRedirectsUpdateVersion.d.ts.map +1 -0
- package/esm/funcs/{domainsBuyDomain.js → bulkRedirectsUpdateVersion.js} +11 -10
- package/esm/funcs/bulkRedirectsUpdateVersion.js.map +1 -0
- package/esm/funcs/domainsCreateOrTransferDomain.js +2 -2
- package/esm/funcs/domainsCreateOrTransferDomain.js.map +1 -1
- package/esm/funcs/teamsPostTeamDsyncRoles.d.ts +17 -0
- package/esm/funcs/teamsPostTeamDsyncRoles.d.ts.map +1 -0
- package/esm/funcs/teamsPostTeamDsyncRoles.js +88 -0
- package/esm/funcs/teamsPostTeamDsyncRoles.js.map +1 -0
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.d.ts.map +1 -1
- package/esm/mcp-server/server.js +17 -3
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/bulkRedirectsDeleteRedirects.d.ts +7 -0
- package/esm/mcp-server/tools/bulkRedirectsDeleteRedirects.d.ts.map +1 -0
- package/esm/mcp-server/tools/bulkRedirectsDeleteRedirects.js +28 -0
- package/esm/mcp-server/tools/bulkRedirectsDeleteRedirects.js.map +1 -0
- package/esm/mcp-server/tools/bulkRedirectsEditRedirect.d.ts +7 -0
- package/esm/mcp-server/tools/bulkRedirectsEditRedirect.d.ts.map +1 -0
- package/esm/mcp-server/tools/bulkRedirectsEditRedirect.js +28 -0
- package/esm/mcp-server/tools/bulkRedirectsEditRedirect.js.map +1 -0
- package/esm/mcp-server/tools/bulkRedirectsGetRedirects.d.ts +7 -0
- package/esm/mcp-server/tools/bulkRedirectsGetRedirects.d.ts.map +1 -0
- package/esm/mcp-server/tools/bulkRedirectsGetRedirects.js +28 -0
- package/esm/mcp-server/tools/bulkRedirectsGetRedirects.js.map +1 -0
- package/esm/mcp-server/tools/bulkRedirectsGetVersions.d.ts +7 -0
- package/esm/mcp-server/tools/bulkRedirectsGetVersions.d.ts.map +1 -0
- package/esm/mcp-server/tools/bulkRedirectsGetVersions.js +28 -0
- package/esm/mcp-server/tools/bulkRedirectsGetVersions.js.map +1 -0
- package/esm/mcp-server/tools/bulkRedirectsRestoreRedirects.d.ts +7 -0
- package/esm/mcp-server/tools/bulkRedirectsRestoreRedirects.d.ts.map +1 -0
- package/esm/mcp-server/tools/bulkRedirectsRestoreRedirects.js +28 -0
- package/esm/mcp-server/tools/bulkRedirectsRestoreRedirects.js.map +1 -0
- package/esm/mcp-server/tools/bulkRedirectsStageRedirects.d.ts +7 -0
- package/esm/mcp-server/tools/bulkRedirectsStageRedirects.d.ts.map +1 -0
- package/esm/mcp-server/tools/bulkRedirectsStageRedirects.js +28 -0
- package/esm/mcp-server/tools/bulkRedirectsStageRedirects.js.map +1 -0
- package/esm/mcp-server/tools/bulkRedirectsUpdateVersion.d.ts +7 -0
- package/esm/mcp-server/tools/bulkRedirectsUpdateVersion.d.ts.map +1 -0
- package/esm/mcp-server/tools/bulkRedirectsUpdateVersion.js +28 -0
- package/esm/mcp-server/tools/bulkRedirectsUpdateVersion.js.map +1 -0
- package/esm/mcp-server/tools/teamsPostTeamDsyncRoles.d.ts +7 -0
- package/esm/mcp-server/tools/teamsPostTeamDsyncRoles.d.ts.map +1 -0
- package/esm/mcp-server/tools/teamsPostTeamDsyncRoles.js +28 -0
- package/esm/mcp-server/tools/teamsPostTeamDsyncRoles.js.map +1 -0
- package/esm/models/canceldeploymentop.d.ts +46 -0
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +42 -0
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +46 -0
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +46 -0
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createedgeconfigop.d.ts +5 -0
- package/esm/models/createedgeconfigop.d.ts.map +1 -1
- package/esm/models/createedgeconfigop.js +2 -0
- package/esm/models/createedgeconfigop.js.map +1 -1
- package/esm/models/createintegrationstoredirectop.d.ts +154 -152
- package/esm/models/createintegrationstoredirectop.d.ts.map +1 -1
- package/esm/models/createintegrationstoredirectop.js +220 -218
- package/esm/models/createintegrationstoredirectop.js.map +1 -1
- package/esm/models/createortransferdomainop.d.ts +4 -40
- package/esm/models/createortransferdomainop.d.ts.map +1 -1
- package/esm/models/createortransferdomainop.js +0 -24
- package/esm/models/createortransferdomainop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +112 -2
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +103 -2
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/createwebhookop.d.ts +4 -2
- package/esm/models/createwebhookop.d.ts.map +1 -1
- package/esm/models/createwebhookop.js +4 -2
- package/esm/models/createwebhookop.js.map +1 -1
- package/esm/models/deleteredirectsop.d.ts +112 -0
- package/esm/models/deleteredirectsop.d.ts.map +1 -0
- package/esm/models/deleteredirectsop.js +99 -0
- package/esm/models/deleteredirectsop.js.map +1 -0
- package/esm/models/editredirectop.d.ts +143 -0
- package/esm/models/editredirectop.d.ts.map +1 -0
- package/esm/models/editredirectop.js +123 -0
- package/esm/models/editredirectop.js.map +1 -0
- package/esm/models/getconfigurationproductsop.d.ts +200 -200
- package/esm/models/getconfigurationproductsop.js +290 -290
- package/esm/models/getconfigurationsop.d.ts +1 -0
- package/esm/models/getconfigurationsop.d.ts.map +1 -1
- package/esm/models/getconfigurationsop.js +1 -0
- package/esm/models/getconfigurationsop.js.map +1 -1
- package/esm/models/getdeploymenteventsop.d.ts +6 -6
- package/esm/models/getdeploymenteventsop.d.ts.map +1 -1
- package/esm/models/getdeploymenteventsop.js +6 -6
- package/esm/models/getdeploymenteventsop.js.map +1 -1
- package/esm/models/getdeploymentop.d.ts +90 -0
- package/esm/models/getdeploymentop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.js +82 -0
- package/esm/models/getdeploymentop.js.map +1 -1
- package/esm/models/getedgeconfigop.d.ts +5 -0
- package/esm/models/getedgeconfigop.d.ts.map +1 -1
- package/esm/models/getedgeconfigop.js +2 -0
- package/esm/models/getedgeconfigop.js.map +1 -1
- package/esm/models/getfirewallconfigop.d.ts +344 -111
- package/esm/models/getfirewallconfigop.d.ts.map +1 -1
- package/esm/models/getfirewallconfigop.js +368 -106
- package/esm/models/getfirewallconfigop.js.map +1 -1
- package/esm/models/getprojectdomainsop.d.ts +5 -5
- package/esm/models/getprojectdomainsop.d.ts.map +1 -1
- package/esm/models/getprojectdomainsop.js +5 -6
- package/esm/models/getprojectdomainsop.js.map +1 -1
- package/esm/models/getprojectsop.d.ts +88 -2
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +76 -2
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/getredirectsop.d.ts +200 -0
- package/esm/models/getredirectsop.d.ts.map +1 -0
- package/esm/models/getredirectsop.js +205 -0
- package/esm/models/getredirectsop.js.map +1 -0
- package/esm/models/getversionsop.d.ts +90 -0
- package/esm/models/getversionsop.d.ts.map +1 -0
- package/esm/models/getversionsop.js +68 -0
- package/esm/models/getversionsop.js.map +1 -0
- package/esm/models/getwebhookop.d.ts +2 -1
- package/esm/models/getwebhookop.d.ts.map +1 -1
- package/esm/models/getwebhookop.js +2 -1
- package/esm/models/getwebhookop.js.map +1 -1
- package/esm/models/getwebhooksop.d.ts +4 -2
- package/esm/models/getwebhooksop.d.ts.map +1 -1
- package/esm/models/getwebhooksop.js +4 -2
- package/esm/models/getwebhooksop.js.map +1 -1
- package/esm/models/postteamdsyncrolesop.d.ts +98 -0
- package/esm/models/postteamdsyncrolesop.d.ts.map +1 -0
- package/esm/models/postteamdsyncrolesop.js +113 -0
- package/esm/models/postteamdsyncrolesop.js.map +1 -0
- package/esm/models/putfirewallconfigop.d.ts +368 -106
- package/esm/models/putfirewallconfigop.d.ts.map +1 -1
- package/esm/models/putfirewallconfigop.js +391 -104
- package/esm/models/putfirewallconfigop.js.map +1 -1
- package/esm/models/restoreredirectsop.d.ts +114 -0
- package/esm/models/restoreredirectsop.d.ts.map +1 -0
- package/esm/models/restoreredirectsop.js +101 -0
- package/esm/models/restoreredirectsop.js.map +1 -0
- package/esm/models/stageredirectsop.d.ts +145 -0
- package/esm/models/stageredirectsop.d.ts.map +1 -0
- package/esm/models/stageredirectsop.js +136 -0
- package/esm/models/stageredirectsop.js.map +1 -0
- package/esm/models/team.d.ts +6 -6
- package/esm/models/team.d.ts.map +1 -1
- package/esm/models/team.js +6 -4
- package/esm/models/team.js.map +1 -1
- package/esm/models/updateedgeconfigop.d.ts +5 -0
- package/esm/models/updateedgeconfigop.d.ts.map +1 -1
- package/esm/models/updateedgeconfigop.js +2 -0
- package/esm/models/updateedgeconfigop.js.map +1 -1
- package/esm/models/updatefirewallconfigop.d.ts +30 -0
- package/esm/models/updatefirewallconfigop.d.ts.map +1 -1
- package/esm/models/updatefirewallconfigop.js +32 -0
- package/esm/models/updatefirewallconfigop.js.map +1 -1
- package/esm/models/updateprojectdatacacheop.d.ts +103 -17
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +97 -20
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +112 -2
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +103 -2
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/updateprojectprotectionbypassop.d.ts +49 -0
- package/esm/models/updateprojectprotectionbypassop.d.ts.map +1 -1
- package/esm/models/updateprojectprotectionbypassop.js +27 -0
- package/esm/models/updateprojectprotectionbypassop.js.map +1 -1
- package/esm/models/updateversionop.d.ts +120 -0
- package/esm/models/updateversionop.d.ts.map +1 -0
- package/esm/models/updateversionop.js +106 -0
- package/esm/models/updateversionop.js.map +1 -0
- package/esm/models/userevent.d.ts +756 -968
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +1012 -1247
- package/esm/models/userevent.js.map +1 -1
- package/esm/sdk/bulkredirects.d.ts +60 -0
- package/esm/sdk/bulkredirects.d.ts.map +1 -0
- package/esm/sdk/bulkredirects.js +78 -0
- package/esm/sdk/bulkredirects.js.map +1 -0
- package/esm/sdk/domains.d.ts +0 -8
- package/esm/sdk/domains.d.ts.map +1 -1
- package/esm/sdk/domains.js +0 -10
- package/esm/sdk/domains.js.map +1 -1
- package/esm/sdk/sdk.d.ts +3 -0
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +4 -0
- package/esm/sdk/sdk.js.map +1 -1
- package/esm/sdk/teams.d.ts +8 -0
- package/esm/sdk/teams.d.ts.map +1 -1
- package/esm/sdk/teams.js +10 -0
- package/esm/sdk/teams.js.map +1 -1
- package/examples/package-lock.json +2 -2
- package/jsr.json +1 -1
- package/package.json +2 -2
- package/src/__tests__/accessgroups.test.ts +1 -3
- package/src/__tests__/bulkredirects.test.ts +192 -0
- package/src/__tests__/domains.test.ts +13 -47
- package/src/__tests__/edgeconfig.test.ts +6 -6
- package/src/__tests__/integrations.test.ts +1 -1
- package/src/__tests__/logdrains.test.ts +6 -2
- package/src/__tests__/security.test.ts +26 -32
- package/src/__tests__/teams.test.ts +19 -0
- package/src/__tests__/vercel.test.ts +42 -0
- package/src/funcs/bulkRedirectsDeleteRedirects.ts +172 -0
- package/src/funcs/bulkRedirectsEditRedirect.ts +172 -0
- package/src/funcs/bulkRedirectsGetRedirects.ts +178 -0
- package/src/funcs/bulkRedirectsGetVersions.ts +171 -0
- package/src/funcs/bulkRedirectsRestoreRedirects.ts +172 -0
- package/src/funcs/{domainsBuyDomain.ts → bulkRedirectsStageRedirects.ts} +21 -22
- package/src/funcs/bulkRedirectsUpdateVersion.ts +172 -0
- package/src/funcs/domainsCreateOrTransferDomain.ts +2 -2
- package/src/funcs/teamsPostTeamDsyncRoles.ts +177 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +17 -3
- package/src/mcp-server/tools/bulkRedirectsDeleteRedirects.ts +37 -0
- package/src/mcp-server/tools/bulkRedirectsEditRedirect.ts +37 -0
- package/src/mcp-server/tools/bulkRedirectsGetRedirects.ts +37 -0
- package/src/mcp-server/tools/bulkRedirectsGetVersions.ts +37 -0
- package/src/mcp-server/tools/bulkRedirectsRestoreRedirects.ts +38 -0
- package/src/mcp-server/tools/bulkRedirectsStageRedirects.ts +37 -0
- package/src/mcp-server/tools/bulkRedirectsUpdateVersion.ts +38 -0
- package/src/mcp-server/tools/teamsPostTeamDsyncRoles.ts +37 -0
- package/src/models/canceldeploymentop.ts +129 -0
- package/src/models/createdeploymentop.ts +112 -0
- package/src/models/createedgeconfigop.ts +7 -0
- package/src/models/createintegrationstoredirectop.ts +475 -471
- package/src/models/createortransferdomainop.ts +0 -83
- package/src/models/createprojectop.ts +293 -4
- package/src/models/createwebhookop.ts +4 -2
- package/src/models/deleteredirectsop.ts +275 -0
- package/src/models/editredirectop.ts +340 -0
- package/src/models/getconfigurationproductsop.ts +627 -627
- package/src/models/getconfigurationsop.ts +1 -0
- package/src/models/getdeploymenteventsop.ts +17 -13
- package/src/models/getdeploymentop.ts +263 -0
- package/src/models/getedgeconfigop.ts +7 -0
- package/src/models/getfirewallconfigop.ts +860 -291
- package/src/models/getprojectdomainsop.ts +11 -9
- package/src/models/getprojectsop.ts +214 -4
- package/src/models/getredirectsop.ts +492 -0
- package/src/models/getversionsop.ts +200 -0
- package/src/models/getwebhookop.ts +2 -1
- package/src/models/getwebhooksop.ts +4 -2
- package/src/models/postteamdsyncrolesop.ts +291 -0
- package/src/models/putfirewallconfigop.ts +1051 -279
- package/src/models/restoreredirectsop.ts +281 -0
- package/src/models/stageredirectsop.ts +367 -0
- package/src/models/team.ts +14 -10
- package/src/models/updateedgeconfigop.ts +7 -0
- package/src/models/updatefirewallconfigop.ts +107 -0
- package/src/models/updateprojectdatacacheop.ts +276 -55
- package/src/models/updateprojectop.ts +293 -4
- package/src/models/updateprojectprotectionbypassop.ts +84 -0
- package/src/models/updateversionop.ts +285 -0
- package/src/models/userevent.ts +2357 -2909
- package/src/sdk/bulkredirects.ts +162 -0
- package/src/sdk/domains.ts +0 -19
- package/src/sdk/sdk.ts +6 -0
- package/src/sdk/teams.ts +22 -0
- package/vercel-spec.json +3184 -1264
- package/esm/funcs/domainsBuyDomain.d.ts +0 -17
- package/esm/funcs/domainsBuyDomain.d.ts.map +0 -1
- package/esm/funcs/domainsBuyDomain.js.map +0 -1
- package/esm/mcp-server/tools/domainsBuyDomain.d.ts +0 -7
- package/esm/mcp-server/tools/domainsBuyDomain.d.ts.map +0 -1
- package/esm/mcp-server/tools/domainsBuyDomain.js +0 -28
- package/esm/mcp-server/tools/domainsBuyDomain.js.map +0 -1
- package/esm/models/buydomainop.d.ts +0 -180
- package/esm/models/buydomainop.d.ts.map +0 -1
- package/esm/models/buydomainop.js +0 -159
- package/esm/models/buydomainop.js.map +0 -1
- package/src/mcp-server/tools/domainsBuyDomain.ts +0 -37
- package/src/models/buydomainop.ts +0 -453
|
@@ -2,6 +2,7 @@ import * as z from "zod/v3";
|
|
|
2
2
|
import { ClosedEnum } from "../types/enums.js";
|
|
3
3
|
import { Result as SafeParseResult } from "../types/fp.js";
|
|
4
4
|
import { SDKValidationError } from "./sdkvalidationerror.js";
|
|
5
|
+
export type ManagedRules = {};
|
|
5
6
|
export declare const PutFirewallConfigAction: {
|
|
6
7
|
readonly Deny: "deny";
|
|
7
8
|
readonly Log: "log";
|
|
@@ -210,6 +211,8 @@ export declare const PutFirewallConfigType: {
|
|
|
210
211
|
readonly Ja4Digest: "ja4_digest";
|
|
211
212
|
readonly Ja3Digest: "ja3_digest";
|
|
212
213
|
readonly RateLimitApiId: "rate_limit_api_id";
|
|
214
|
+
readonly BotName: "bot_name";
|
|
215
|
+
readonly BotCategory: "bot_category";
|
|
213
216
|
};
|
|
214
217
|
/**
|
|
215
218
|
* [Parameter](https://vercel.com/docs/security/vercel-waf/rule-configuration#parameters) from the incoming traffic.
|
|
@@ -280,7 +283,7 @@ export type Redirect1 = {
|
|
|
280
283
|
location: string;
|
|
281
284
|
permanent: boolean;
|
|
282
285
|
};
|
|
283
|
-
export type
|
|
286
|
+
export type PutFirewallConfigRedirect = Redirect1 | any;
|
|
284
287
|
export type Mitigate = {
|
|
285
288
|
action: PutFirewallConfigSecurityRequestRequestBodyRulesActionAction;
|
|
286
289
|
rateLimit?: RateLimit1 | any | null | undefined;
|
|
@@ -291,6 +294,7 @@ export type Mitigate = {
|
|
|
291
294
|
export type PutFirewallConfigSecurityRequestRequestBodyRulesAction = {
|
|
292
295
|
mitigate?: Mitigate | undefined;
|
|
293
296
|
};
|
|
297
|
+
export type ValidationErrors = string | Array<string>;
|
|
294
298
|
export type PutFirewallConfigRules = {
|
|
295
299
|
id?: string | undefined;
|
|
296
300
|
name: string;
|
|
@@ -298,6 +302,8 @@ export type PutFirewallConfigRules = {
|
|
|
298
302
|
active: boolean;
|
|
299
303
|
conditionGroup: Array<ConditionGroup>;
|
|
300
304
|
action: PutFirewallConfigSecurityRequestRequestBodyRulesAction;
|
|
305
|
+
valid?: boolean | undefined;
|
|
306
|
+
validationErrors?: string | Array<string> | undefined;
|
|
301
307
|
};
|
|
302
308
|
export declare const PutFirewallConfigSecurityRequestRequestBodyIpsAction: {
|
|
303
309
|
readonly Deny: "deny";
|
|
@@ -315,9 +321,7 @@ export type Ips = {
|
|
|
315
321
|
};
|
|
316
322
|
export type PutFirewallConfigRequestBody = {
|
|
317
323
|
firewallEnabled: boolean;
|
|
318
|
-
managedRules?:
|
|
319
|
-
[k: string]: any;
|
|
320
|
-
} | undefined;
|
|
324
|
+
managedRules?: ManagedRules | undefined;
|
|
321
325
|
/**
|
|
322
326
|
* Custom Ruleset
|
|
323
327
|
*/
|
|
@@ -350,17 +354,17 @@ export type PutFirewallConfigSd = {
|
|
|
350
354
|
active: boolean;
|
|
351
355
|
action: PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction;
|
|
352
356
|
};
|
|
353
|
-
export declare const
|
|
357
|
+
export declare const PutFirewallConfigSecurityResponse200Action: {
|
|
354
358
|
readonly Deny: "deny";
|
|
355
359
|
readonly Log: "log";
|
|
356
360
|
};
|
|
357
|
-
export type
|
|
361
|
+
export type PutFirewallConfigSecurityResponse200Action = ClosedEnum<typeof PutFirewallConfigSecurityResponse200Action>;
|
|
358
362
|
/**
|
|
359
363
|
* Multipart Attack - Block attempts to bypass security controls using multipart/form-data encoding.
|
|
360
364
|
*/
|
|
361
365
|
export type PutFirewallConfigMa = {
|
|
362
366
|
active: boolean;
|
|
363
|
-
action:
|
|
367
|
+
action: PutFirewallConfigSecurityResponse200Action;
|
|
364
368
|
};
|
|
365
369
|
export declare const PutFirewallConfigSecurityResponse200ApplicationJSONAction: {
|
|
366
370
|
readonly Deny: "deny";
|
|
@@ -519,7 +523,7 @@ export type PutFirewallConfigCrs = {
|
|
|
519
523
|
*/
|
|
520
524
|
java: PutFirewallConfigJava;
|
|
521
525
|
};
|
|
522
|
-
export declare const
|
|
526
|
+
export declare const PutFirewallConfigRulesType: {
|
|
523
527
|
readonly Host: "host";
|
|
524
528
|
readonly Path: "path";
|
|
525
529
|
readonly Method: "method";
|
|
@@ -544,9 +548,11 @@ export declare const PutFirewallConfigSecurityType: {
|
|
|
544
548
|
readonly Ja3Digest: "ja3_digest";
|
|
545
549
|
readonly RateLimitApiId: "rate_limit_api_id";
|
|
546
550
|
readonly ServerAction: "server_action";
|
|
551
|
+
readonly BotName: "bot_name";
|
|
552
|
+
readonly BotCategory: "bot_category";
|
|
547
553
|
};
|
|
548
|
-
export type
|
|
549
|
-
export declare const
|
|
554
|
+
export type PutFirewallConfigRulesType = ClosedEnum<typeof PutFirewallConfigRulesType>;
|
|
555
|
+
export declare const PutFirewallConfigRulesOp: {
|
|
550
556
|
readonly Re: "re";
|
|
551
557
|
readonly Eq: "eq";
|
|
552
558
|
readonly Ex: "ex";
|
|
@@ -562,19 +568,19 @@ export declare const PutFirewallConfigOp: {
|
|
|
562
568
|
readonly Ninc: "ninc";
|
|
563
569
|
readonly Neq: "neq";
|
|
564
570
|
};
|
|
565
|
-
export type
|
|
566
|
-
export type
|
|
567
|
-
export type
|
|
568
|
-
type:
|
|
569
|
-
op:
|
|
571
|
+
export type PutFirewallConfigRulesOp = ClosedEnum<typeof PutFirewallConfigRulesOp>;
|
|
572
|
+
export type PutFirewallConfigRulesValue = string | number | Array<string>;
|
|
573
|
+
export type PutFirewallConfigRulesConditions = {
|
|
574
|
+
type: PutFirewallConfigRulesType;
|
|
575
|
+
op: PutFirewallConfigRulesOp;
|
|
570
576
|
neg?: boolean | undefined;
|
|
571
577
|
key?: string | undefined;
|
|
572
578
|
value?: string | number | Array<string> | undefined;
|
|
573
579
|
};
|
|
574
|
-
export type
|
|
575
|
-
conditions: Array<
|
|
580
|
+
export type PutFirewallConfigRulesConditionGroup = {
|
|
581
|
+
conditions: Array<PutFirewallConfigRulesConditions>;
|
|
576
582
|
};
|
|
577
|
-
export declare const
|
|
583
|
+
export declare const PutFirewallConfigRulesSecurityResponse200Action: {
|
|
578
584
|
readonly Deny: "deny";
|
|
579
585
|
readonly Log: "log";
|
|
580
586
|
readonly Challenge: "challenge";
|
|
@@ -582,61 +588,173 @@ export declare const PutFirewallConfigSecurityResponse200ApplicationJSONResponse
|
|
|
582
588
|
readonly RateLimit: "rate_limit";
|
|
583
589
|
readonly Redirect: "redirect";
|
|
584
590
|
};
|
|
585
|
-
export type
|
|
586
|
-
export declare const
|
|
591
|
+
export type PutFirewallConfigRulesSecurityResponse200Action = ClosedEnum<typeof PutFirewallConfigRulesSecurityResponse200Action>;
|
|
592
|
+
export declare const PutFirewallConfigRulesAlgo: {
|
|
587
593
|
readonly FixedWindow: "fixed_window";
|
|
588
594
|
readonly TokenBucket: "token_bucket";
|
|
589
595
|
};
|
|
590
|
-
export type
|
|
591
|
-
export declare const
|
|
596
|
+
export type PutFirewallConfigRulesAlgo = ClosedEnum<typeof PutFirewallConfigRulesAlgo>;
|
|
597
|
+
export declare const PutFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyAction: {
|
|
592
598
|
readonly Deny: "deny";
|
|
593
599
|
readonly Log: "log";
|
|
594
600
|
readonly Challenge: "challenge";
|
|
595
601
|
readonly RateLimit: "rate_limit";
|
|
596
602
|
};
|
|
597
|
-
export type
|
|
598
|
-
export type
|
|
599
|
-
algo:
|
|
603
|
+
export type PutFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyAction = ClosedEnum<typeof PutFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyAction>;
|
|
604
|
+
export type PutFirewallConfigRulesRateLimit = {
|
|
605
|
+
algo: PutFirewallConfigRulesAlgo;
|
|
600
606
|
window: number;
|
|
601
607
|
limit: number;
|
|
602
608
|
keys: Array<string>;
|
|
603
|
-
action?:
|
|
609
|
+
action?: PutFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyAction | null | undefined;
|
|
604
610
|
};
|
|
605
|
-
export type
|
|
611
|
+
export type PutFirewallConfigRulesRedirect = {
|
|
606
612
|
location: string;
|
|
607
613
|
permanent: boolean;
|
|
608
614
|
};
|
|
609
|
-
export type
|
|
610
|
-
action:
|
|
611
|
-
rateLimit?:
|
|
612
|
-
redirect?:
|
|
615
|
+
export type PutFirewallConfigRulesMitigate = {
|
|
616
|
+
action: PutFirewallConfigRulesSecurityResponse200Action;
|
|
617
|
+
rateLimit?: PutFirewallConfigRulesRateLimit | null | undefined;
|
|
618
|
+
redirect?: PutFirewallConfigRulesRedirect | null | undefined;
|
|
613
619
|
actionDuration?: string | null | undefined;
|
|
614
620
|
bypassSystem?: boolean | null | undefined;
|
|
615
621
|
};
|
|
616
|
-
export type
|
|
617
|
-
mitigate?:
|
|
622
|
+
export type PutFirewallConfigRulesAction = {
|
|
623
|
+
mitigate?: PutFirewallConfigRulesMitigate | undefined;
|
|
618
624
|
};
|
|
619
|
-
export type
|
|
625
|
+
export type PutFirewallConfigRules2 = {
|
|
620
626
|
id: string;
|
|
621
627
|
name: string;
|
|
622
628
|
description?: string | undefined;
|
|
623
629
|
active: boolean;
|
|
624
|
-
conditionGroup: Array<
|
|
625
|
-
action:
|
|
630
|
+
conditionGroup: Array<PutFirewallConfigRulesConditionGroup>;
|
|
631
|
+
action: PutFirewallConfigRulesAction;
|
|
632
|
+
valid: boolean;
|
|
633
|
+
validationErrors: Array<string>;
|
|
626
634
|
};
|
|
627
|
-
export declare const
|
|
635
|
+
export declare const PutFirewallConfigRulesSecurityType: {
|
|
636
|
+
readonly Host: "host";
|
|
637
|
+
readonly Path: "path";
|
|
638
|
+
readonly Method: "method";
|
|
639
|
+
readonly Header: "header";
|
|
640
|
+
readonly Query: "query";
|
|
641
|
+
readonly Cookie: "cookie";
|
|
642
|
+
readonly TargetPath: "target_path";
|
|
643
|
+
readonly Route: "route";
|
|
644
|
+
readonly RawPath: "raw_path";
|
|
645
|
+
readonly IpAddress: "ip_address";
|
|
646
|
+
readonly Protocol: "protocol";
|
|
647
|
+
readonly Region: "region";
|
|
648
|
+
readonly Scheme: "scheme";
|
|
649
|
+
readonly Environment: "environment";
|
|
650
|
+
readonly UserAgent: "user_agent";
|
|
651
|
+
readonly GeoContinent: "geo_continent";
|
|
652
|
+
readonly GeoCountry: "geo_country";
|
|
653
|
+
readonly GeoCountryRegion: "geo_country_region";
|
|
654
|
+
readonly GeoCity: "geo_city";
|
|
655
|
+
readonly GeoAsNumber: "geo_as_number";
|
|
656
|
+
readonly Ja4Digest: "ja4_digest";
|
|
657
|
+
readonly Ja3Digest: "ja3_digest";
|
|
658
|
+
readonly RateLimitApiId: "rate_limit_api_id";
|
|
659
|
+
readonly ServerAction: "server_action";
|
|
660
|
+
readonly BotName: "bot_name";
|
|
661
|
+
readonly BotCategory: "bot_category";
|
|
662
|
+
};
|
|
663
|
+
export type PutFirewallConfigRulesSecurityType = ClosedEnum<typeof PutFirewallConfigRulesSecurityType>;
|
|
664
|
+
export declare const PutFirewallConfigRulesSecurityOp: {
|
|
665
|
+
readonly Re: "re";
|
|
666
|
+
readonly Eq: "eq";
|
|
667
|
+
readonly Ex: "ex";
|
|
668
|
+
readonly Inc: "inc";
|
|
669
|
+
readonly Pre: "pre";
|
|
670
|
+
readonly Suf: "suf";
|
|
671
|
+
readonly Sub: "sub";
|
|
672
|
+
readonly Gt: "gt";
|
|
673
|
+
readonly Gte: "gte";
|
|
674
|
+
readonly Lt: "lt";
|
|
675
|
+
readonly Lte: "lte";
|
|
676
|
+
readonly Nex: "nex";
|
|
677
|
+
readonly Ninc: "ninc";
|
|
678
|
+
readonly Neq: "neq";
|
|
679
|
+
};
|
|
680
|
+
export type PutFirewallConfigRulesSecurityOp = ClosedEnum<typeof PutFirewallConfigRulesSecurityOp>;
|
|
681
|
+
export type PutFirewallConfigRulesSecurityValue = string | number | Array<string>;
|
|
682
|
+
export type PutFirewallConfigRulesSecurityConditions = {
|
|
683
|
+
type: PutFirewallConfigRulesSecurityType;
|
|
684
|
+
op: PutFirewallConfigRulesSecurityOp;
|
|
685
|
+
neg?: boolean | undefined;
|
|
686
|
+
key?: string | undefined;
|
|
687
|
+
value?: string | number | Array<string> | undefined;
|
|
688
|
+
};
|
|
689
|
+
export type PutFirewallConfigRulesSecurityConditionGroup = {
|
|
690
|
+
conditions: Array<PutFirewallConfigRulesSecurityConditions>;
|
|
691
|
+
};
|
|
692
|
+
export declare const PutFirewallConfigRulesSecurityResponseAction: {
|
|
628
693
|
readonly Deny: "deny";
|
|
629
694
|
readonly Log: "log";
|
|
630
695
|
readonly Challenge: "challenge";
|
|
631
696
|
readonly Bypass: "bypass";
|
|
697
|
+
readonly RateLimit: "rate_limit";
|
|
698
|
+
readonly Redirect: "redirect";
|
|
632
699
|
};
|
|
633
|
-
export type
|
|
700
|
+
export type PutFirewallConfigRulesSecurityResponseAction = ClosedEnum<typeof PutFirewallConfigRulesSecurityResponseAction>;
|
|
701
|
+
export declare const PutFirewallConfigRulesSecurityAlgo: {
|
|
702
|
+
readonly FixedWindow: "fixed_window";
|
|
703
|
+
readonly TokenBucket: "token_bucket";
|
|
704
|
+
};
|
|
705
|
+
export type PutFirewallConfigRulesSecurityAlgo = ClosedEnum<typeof PutFirewallConfigRulesSecurityAlgo>;
|
|
706
|
+
export declare const PutFirewallConfigRulesSecurityResponse200ApplicationJSONAction: {
|
|
707
|
+
readonly Deny: "deny";
|
|
708
|
+
readonly Log: "log";
|
|
709
|
+
readonly Challenge: "challenge";
|
|
710
|
+
readonly RateLimit: "rate_limit";
|
|
711
|
+
};
|
|
712
|
+
export type PutFirewallConfigRulesSecurityResponse200ApplicationJSONAction = ClosedEnum<typeof PutFirewallConfigRulesSecurityResponse200ApplicationJSONAction>;
|
|
713
|
+
export type PutFirewallConfigRulesSecurityRateLimit = {
|
|
714
|
+
algo: PutFirewallConfigRulesSecurityAlgo;
|
|
715
|
+
window: number;
|
|
716
|
+
limit: number;
|
|
717
|
+
keys: Array<string>;
|
|
718
|
+
action?: PutFirewallConfigRulesSecurityResponse200ApplicationJSONAction | null | undefined;
|
|
719
|
+
};
|
|
720
|
+
export type PutFirewallConfigRulesSecurityRedirect = {
|
|
721
|
+
location: string;
|
|
722
|
+
permanent: boolean;
|
|
723
|
+
};
|
|
724
|
+
export type PutFirewallConfigRulesSecurityMitigate = {
|
|
725
|
+
action: PutFirewallConfigRulesSecurityResponseAction;
|
|
726
|
+
rateLimit?: PutFirewallConfigRulesSecurityRateLimit | null | undefined;
|
|
727
|
+
redirect?: PutFirewallConfigRulesSecurityRedirect | null | undefined;
|
|
728
|
+
actionDuration?: string | null | undefined;
|
|
729
|
+
bypassSystem?: boolean | null | undefined;
|
|
730
|
+
};
|
|
731
|
+
export type PutFirewallConfigRulesSecurityAction = {
|
|
732
|
+
mitigate?: PutFirewallConfigRulesSecurityMitigate | undefined;
|
|
733
|
+
};
|
|
734
|
+
export type PutFirewallConfigRules1 = {
|
|
735
|
+
id: string;
|
|
736
|
+
name: string;
|
|
737
|
+
description?: string | undefined;
|
|
738
|
+
active: boolean;
|
|
739
|
+
conditionGroup: Array<PutFirewallConfigRulesSecurityConditionGroup>;
|
|
740
|
+
action: PutFirewallConfigRulesSecurityAction;
|
|
741
|
+
valid: boolean;
|
|
742
|
+
validationErrors?: any | null | undefined;
|
|
743
|
+
};
|
|
744
|
+
export type PutFirewallConfigSecurityRules = PutFirewallConfigRules1 | PutFirewallConfigRules2;
|
|
745
|
+
export declare const PutFirewallConfigSecurityResponseAction: {
|
|
746
|
+
readonly Deny: "deny";
|
|
747
|
+
readonly Log: "log";
|
|
748
|
+
readonly Challenge: "challenge";
|
|
749
|
+
readonly Bypass: "bypass";
|
|
750
|
+
};
|
|
751
|
+
export type PutFirewallConfigSecurityResponseAction = ClosedEnum<typeof PutFirewallConfigSecurityResponseAction>;
|
|
634
752
|
export type PutFirewallConfigIps = {
|
|
635
753
|
id: string;
|
|
636
754
|
hostname: string;
|
|
637
755
|
ip: string;
|
|
638
756
|
notes?: string | undefined;
|
|
639
|
-
action:
|
|
757
|
+
action: PutFirewallConfigSecurityResponseAction;
|
|
640
758
|
};
|
|
641
759
|
export type PutFirewallConfigChanges = {};
|
|
642
760
|
export declare const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesAction: {
|
|
@@ -694,7 +812,7 @@ export type Active = {
|
|
|
694
812
|
* Custom Ruleset
|
|
695
813
|
*/
|
|
696
814
|
crs: PutFirewallConfigCrs;
|
|
697
|
-
rules: Array<
|
|
815
|
+
rules: Array<PutFirewallConfigRules1 | PutFirewallConfigRules2>;
|
|
698
816
|
ips: Array<PutFirewallConfigIps>;
|
|
699
817
|
changes: Array<PutFirewallConfigChanges>;
|
|
700
818
|
managedRules?: PutFirewallConfigManagedRules | undefined;
|
|
@@ -704,6 +822,14 @@ export type PutFirewallConfigResponseBody = {
|
|
|
704
822
|
active: Active;
|
|
705
823
|
};
|
|
706
824
|
/** @internal */
|
|
825
|
+
export declare const ManagedRules$inboundSchema: z.ZodType<ManagedRules, z.ZodTypeDef, unknown>;
|
|
826
|
+
/** @internal */
|
|
827
|
+
export type ManagedRules$Outbound = {};
|
|
828
|
+
/** @internal */
|
|
829
|
+
export declare const ManagedRules$outboundSchema: z.ZodType<ManagedRules$Outbound, z.ZodTypeDef, ManagedRules>;
|
|
830
|
+
export declare function managedRulesToJSON(managedRules: ManagedRules): string;
|
|
831
|
+
export declare function managedRulesFromJSON(jsonString: string): SafeParseResult<ManagedRules, SDKValidationError>;
|
|
832
|
+
/** @internal */
|
|
707
833
|
export declare const PutFirewallConfigAction$inboundSchema: z.ZodNativeEnum<typeof PutFirewallConfigAction>;
|
|
708
834
|
/** @internal */
|
|
709
835
|
export declare const PutFirewallConfigAction$outboundSchema: z.ZodNativeEnum<typeof PutFirewallConfigAction>;
|
|
@@ -982,13 +1108,13 @@ export declare const Redirect1$outboundSchema: z.ZodType<Redirect1$Outbound, z.Z
|
|
|
982
1108
|
export declare function redirect1ToJSON(redirect1: Redirect1): string;
|
|
983
1109
|
export declare function redirect1FromJSON(jsonString: string): SafeParseResult<Redirect1, SDKValidationError>;
|
|
984
1110
|
/** @internal */
|
|
985
|
-
export declare const
|
|
1111
|
+
export declare const PutFirewallConfigRedirect$inboundSchema: z.ZodType<PutFirewallConfigRedirect, z.ZodTypeDef, unknown>;
|
|
986
1112
|
/** @internal */
|
|
987
|
-
export type
|
|
1113
|
+
export type PutFirewallConfigRedirect$Outbound = Redirect1$Outbound | any;
|
|
988
1114
|
/** @internal */
|
|
989
|
-
export declare const
|
|
990
|
-
export declare function
|
|
991
|
-
export declare function
|
|
1115
|
+
export declare const PutFirewallConfigRedirect$outboundSchema: z.ZodType<PutFirewallConfigRedirect$Outbound, z.ZodTypeDef, PutFirewallConfigRedirect>;
|
|
1116
|
+
export declare function putFirewallConfigRedirectToJSON(putFirewallConfigRedirect: PutFirewallConfigRedirect): string;
|
|
1117
|
+
export declare function putFirewallConfigRedirectFromJSON(jsonString: string): SafeParseResult<PutFirewallConfigRedirect, SDKValidationError>;
|
|
992
1118
|
/** @internal */
|
|
993
1119
|
export declare const Mitigate$inboundSchema: z.ZodType<Mitigate, z.ZodTypeDef, unknown>;
|
|
994
1120
|
/** @internal */
|
|
@@ -1014,6 +1140,14 @@ export declare const PutFirewallConfigSecurityRequestRequestBodyRulesAction$outb
|
|
|
1014
1140
|
export declare function putFirewallConfigSecurityRequestRequestBodyRulesActionToJSON(putFirewallConfigSecurityRequestRequestBodyRulesAction: PutFirewallConfigSecurityRequestRequestBodyRulesAction): string;
|
|
1015
1141
|
export declare function putFirewallConfigSecurityRequestRequestBodyRulesActionFromJSON(jsonString: string): SafeParseResult<PutFirewallConfigSecurityRequestRequestBodyRulesAction, SDKValidationError>;
|
|
1016
1142
|
/** @internal */
|
|
1143
|
+
export declare const ValidationErrors$inboundSchema: z.ZodType<ValidationErrors, z.ZodTypeDef, unknown>;
|
|
1144
|
+
/** @internal */
|
|
1145
|
+
export type ValidationErrors$Outbound = string | Array<string>;
|
|
1146
|
+
/** @internal */
|
|
1147
|
+
export declare const ValidationErrors$outboundSchema: z.ZodType<ValidationErrors$Outbound, z.ZodTypeDef, ValidationErrors>;
|
|
1148
|
+
export declare function validationErrorsToJSON(validationErrors: ValidationErrors): string;
|
|
1149
|
+
export declare function validationErrorsFromJSON(jsonString: string): SafeParseResult<ValidationErrors, SDKValidationError>;
|
|
1150
|
+
/** @internal */
|
|
1017
1151
|
export declare const PutFirewallConfigRules$inboundSchema: z.ZodType<PutFirewallConfigRules, z.ZodTypeDef, unknown>;
|
|
1018
1152
|
/** @internal */
|
|
1019
1153
|
export type PutFirewallConfigRules$Outbound = {
|
|
@@ -1023,6 +1157,8 @@ export type PutFirewallConfigRules$Outbound = {
|
|
|
1023
1157
|
active: boolean;
|
|
1024
1158
|
conditionGroup: Array<ConditionGroup$Outbound>;
|
|
1025
1159
|
action: PutFirewallConfigSecurityRequestRequestBodyRulesAction$Outbound;
|
|
1160
|
+
valid?: boolean | undefined;
|
|
1161
|
+
validationErrors?: string | Array<string> | undefined;
|
|
1026
1162
|
};
|
|
1027
1163
|
/** @internal */
|
|
1028
1164
|
export declare const PutFirewallConfigRules$outboundSchema: z.ZodType<PutFirewallConfigRules$Outbound, z.ZodTypeDef, PutFirewallConfigRules>;
|
|
@@ -1051,9 +1187,7 @@ export declare const PutFirewallConfigRequestBody$inboundSchema: z.ZodType<PutFi
|
|
|
1051
1187
|
/** @internal */
|
|
1052
1188
|
export type PutFirewallConfigRequestBody$Outbound = {
|
|
1053
1189
|
firewallEnabled: boolean;
|
|
1054
|
-
managedRules?:
|
|
1055
|
-
[k: string]: any;
|
|
1056
|
-
} | undefined;
|
|
1190
|
+
managedRules?: ManagedRules$Outbound | undefined;
|
|
1057
1191
|
crs?: Crs$Outbound | undefined;
|
|
1058
1192
|
rules?: Array<PutFirewallConfigRules$Outbound> | undefined;
|
|
1059
1193
|
ips?: Array<Ips$Outbound> | undefined;
|
|
@@ -1092,9 +1226,9 @@ export declare const PutFirewallConfigSd$outboundSchema: z.ZodType<PutFirewallCo
|
|
|
1092
1226
|
export declare function putFirewallConfigSdToJSON(putFirewallConfigSd: PutFirewallConfigSd): string;
|
|
1093
1227
|
export declare function putFirewallConfigSdFromJSON(jsonString: string): SafeParseResult<PutFirewallConfigSd, SDKValidationError>;
|
|
1094
1228
|
/** @internal */
|
|
1095
|
-
export declare const
|
|
1229
|
+
export declare const PutFirewallConfigSecurityResponse200Action$inboundSchema: z.ZodNativeEnum<typeof PutFirewallConfigSecurityResponse200Action>;
|
|
1096
1230
|
/** @internal */
|
|
1097
|
-
export declare const
|
|
1231
|
+
export declare const PutFirewallConfigSecurityResponse200Action$outboundSchema: z.ZodNativeEnum<typeof PutFirewallConfigSecurityResponse200Action>;
|
|
1098
1232
|
/** @internal */
|
|
1099
1233
|
export declare const PutFirewallConfigMa$inboundSchema: z.ZodType<PutFirewallConfigMa, z.ZodTypeDef, unknown>;
|
|
1100
1234
|
/** @internal */
|
|
@@ -1262,25 +1396,25 @@ export declare const PutFirewallConfigCrs$outboundSchema: z.ZodType<PutFirewallC
|
|
|
1262
1396
|
export declare function putFirewallConfigCrsToJSON(putFirewallConfigCrs: PutFirewallConfigCrs): string;
|
|
1263
1397
|
export declare function putFirewallConfigCrsFromJSON(jsonString: string): SafeParseResult<PutFirewallConfigCrs, SDKValidationError>;
|
|
1264
1398
|
/** @internal */
|
|
1265
|
-
export declare const
|
|
1399
|
+
export declare const PutFirewallConfigRulesType$inboundSchema: z.ZodNativeEnum<typeof PutFirewallConfigRulesType>;
|
|
1266
1400
|
/** @internal */
|
|
1267
|
-
export declare const
|
|
1401
|
+
export declare const PutFirewallConfigRulesType$outboundSchema: z.ZodNativeEnum<typeof PutFirewallConfigRulesType>;
|
|
1268
1402
|
/** @internal */
|
|
1269
|
-
export declare const
|
|
1403
|
+
export declare const PutFirewallConfigRulesOp$inboundSchema: z.ZodNativeEnum<typeof PutFirewallConfigRulesOp>;
|
|
1270
1404
|
/** @internal */
|
|
1271
|
-
export declare const
|
|
1405
|
+
export declare const PutFirewallConfigRulesOp$outboundSchema: z.ZodNativeEnum<typeof PutFirewallConfigRulesOp>;
|
|
1272
1406
|
/** @internal */
|
|
1273
|
-
export declare const
|
|
1407
|
+
export declare const PutFirewallConfigRulesValue$inboundSchema: z.ZodType<PutFirewallConfigRulesValue, z.ZodTypeDef, unknown>;
|
|
1274
1408
|
/** @internal */
|
|
1275
|
-
export type
|
|
1409
|
+
export type PutFirewallConfigRulesValue$Outbound = string | number | Array<string>;
|
|
1276
1410
|
/** @internal */
|
|
1277
|
-
export declare const
|
|
1278
|
-
export declare function
|
|
1279
|
-
export declare function
|
|
1411
|
+
export declare const PutFirewallConfigRulesValue$outboundSchema: z.ZodType<PutFirewallConfigRulesValue$Outbound, z.ZodTypeDef, PutFirewallConfigRulesValue>;
|
|
1412
|
+
export declare function putFirewallConfigRulesValueToJSON(putFirewallConfigRulesValue: PutFirewallConfigRulesValue): string;
|
|
1413
|
+
export declare function putFirewallConfigRulesValueFromJSON(jsonString: string): SafeParseResult<PutFirewallConfigRulesValue, SDKValidationError>;
|
|
1280
1414
|
/** @internal */
|
|
1281
|
-
export declare const
|
|
1415
|
+
export declare const PutFirewallConfigRulesConditions$inboundSchema: z.ZodType<PutFirewallConfigRulesConditions, z.ZodTypeDef, unknown>;
|
|
1282
1416
|
/** @internal */
|
|
1283
|
-
export type
|
|
1417
|
+
export type PutFirewallConfigRulesConditions$Outbound = {
|
|
1284
1418
|
type: string;
|
|
1285
1419
|
op: string;
|
|
1286
1420
|
neg?: boolean | undefined;
|
|
@@ -1288,35 +1422,35 @@ export type PutFirewallConfigConditions$Outbound = {
|
|
|
1288
1422
|
value?: string | number | Array<string> | undefined;
|
|
1289
1423
|
};
|
|
1290
1424
|
/** @internal */
|
|
1291
|
-
export declare const
|
|
1292
|
-
export declare function
|
|
1293
|
-
export declare function
|
|
1425
|
+
export declare const PutFirewallConfigRulesConditions$outboundSchema: z.ZodType<PutFirewallConfigRulesConditions$Outbound, z.ZodTypeDef, PutFirewallConfigRulesConditions>;
|
|
1426
|
+
export declare function putFirewallConfigRulesConditionsToJSON(putFirewallConfigRulesConditions: PutFirewallConfigRulesConditions): string;
|
|
1427
|
+
export declare function putFirewallConfigRulesConditionsFromJSON(jsonString: string): SafeParseResult<PutFirewallConfigRulesConditions, SDKValidationError>;
|
|
1294
1428
|
/** @internal */
|
|
1295
|
-
export declare const
|
|
1429
|
+
export declare const PutFirewallConfigRulesConditionGroup$inboundSchema: z.ZodType<PutFirewallConfigRulesConditionGroup, z.ZodTypeDef, unknown>;
|
|
1296
1430
|
/** @internal */
|
|
1297
|
-
export type
|
|
1298
|
-
conditions: Array<
|
|
1431
|
+
export type PutFirewallConfigRulesConditionGroup$Outbound = {
|
|
1432
|
+
conditions: Array<PutFirewallConfigRulesConditions$Outbound>;
|
|
1299
1433
|
};
|
|
1300
1434
|
/** @internal */
|
|
1301
|
-
export declare const
|
|
1302
|
-
export declare function
|
|
1303
|
-
export declare function
|
|
1435
|
+
export declare const PutFirewallConfigRulesConditionGroup$outboundSchema: z.ZodType<PutFirewallConfigRulesConditionGroup$Outbound, z.ZodTypeDef, PutFirewallConfigRulesConditionGroup>;
|
|
1436
|
+
export declare function putFirewallConfigRulesConditionGroupToJSON(putFirewallConfigRulesConditionGroup: PutFirewallConfigRulesConditionGroup): string;
|
|
1437
|
+
export declare function putFirewallConfigRulesConditionGroupFromJSON(jsonString: string): SafeParseResult<PutFirewallConfigRulesConditionGroup, SDKValidationError>;
|
|
1304
1438
|
/** @internal */
|
|
1305
|
-
export declare const
|
|
1439
|
+
export declare const PutFirewallConfigRulesSecurityResponse200Action$inboundSchema: z.ZodNativeEnum<typeof PutFirewallConfigRulesSecurityResponse200Action>;
|
|
1306
1440
|
/** @internal */
|
|
1307
|
-
export declare const
|
|
1441
|
+
export declare const PutFirewallConfigRulesSecurityResponse200Action$outboundSchema: z.ZodNativeEnum<typeof PutFirewallConfigRulesSecurityResponse200Action>;
|
|
1308
1442
|
/** @internal */
|
|
1309
|
-
export declare const
|
|
1443
|
+
export declare const PutFirewallConfigRulesAlgo$inboundSchema: z.ZodNativeEnum<typeof PutFirewallConfigRulesAlgo>;
|
|
1310
1444
|
/** @internal */
|
|
1311
|
-
export declare const
|
|
1445
|
+
export declare const PutFirewallConfigRulesAlgo$outboundSchema: z.ZodNativeEnum<typeof PutFirewallConfigRulesAlgo>;
|
|
1312
1446
|
/** @internal */
|
|
1313
|
-
export declare const
|
|
1447
|
+
export declare const PutFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema: z.ZodNativeEnum<typeof PutFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyAction>;
|
|
1314
1448
|
/** @internal */
|
|
1315
|
-
export declare const
|
|
1449
|
+
export declare const PutFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyAction$outboundSchema: z.ZodNativeEnum<typeof PutFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyAction>;
|
|
1316
1450
|
/** @internal */
|
|
1317
|
-
export declare const
|
|
1451
|
+
export declare const PutFirewallConfigRulesRateLimit$inboundSchema: z.ZodType<PutFirewallConfigRulesRateLimit, z.ZodTypeDef, unknown>;
|
|
1318
1452
|
/** @internal */
|
|
1319
|
-
export type
|
|
1453
|
+
export type PutFirewallConfigRulesRateLimit$Outbound = {
|
|
1320
1454
|
algo: string;
|
|
1321
1455
|
window: number;
|
|
1322
1456
|
limit: number;
|
|
@@ -1324,63 +1458,191 @@ export type PutFirewallConfigRateLimit$Outbound = {
|
|
|
1324
1458
|
action?: string | null | undefined;
|
|
1325
1459
|
};
|
|
1326
1460
|
/** @internal */
|
|
1327
|
-
export declare const
|
|
1328
|
-
export declare function
|
|
1329
|
-
export declare function
|
|
1461
|
+
export declare const PutFirewallConfigRulesRateLimit$outboundSchema: z.ZodType<PutFirewallConfigRulesRateLimit$Outbound, z.ZodTypeDef, PutFirewallConfigRulesRateLimit>;
|
|
1462
|
+
export declare function putFirewallConfigRulesRateLimitToJSON(putFirewallConfigRulesRateLimit: PutFirewallConfigRulesRateLimit): string;
|
|
1463
|
+
export declare function putFirewallConfigRulesRateLimitFromJSON(jsonString: string): SafeParseResult<PutFirewallConfigRulesRateLimit, SDKValidationError>;
|
|
1330
1464
|
/** @internal */
|
|
1331
|
-
export declare const
|
|
1465
|
+
export declare const PutFirewallConfigRulesRedirect$inboundSchema: z.ZodType<PutFirewallConfigRulesRedirect, z.ZodTypeDef, unknown>;
|
|
1332
1466
|
/** @internal */
|
|
1333
|
-
export type
|
|
1467
|
+
export type PutFirewallConfigRulesRedirect$Outbound = {
|
|
1334
1468
|
location: string;
|
|
1335
1469
|
permanent: boolean;
|
|
1336
1470
|
};
|
|
1337
1471
|
/** @internal */
|
|
1338
|
-
export declare const
|
|
1339
|
-
export declare function
|
|
1340
|
-
export declare function
|
|
1472
|
+
export declare const PutFirewallConfigRulesRedirect$outboundSchema: z.ZodType<PutFirewallConfigRulesRedirect$Outbound, z.ZodTypeDef, PutFirewallConfigRulesRedirect>;
|
|
1473
|
+
export declare function putFirewallConfigRulesRedirectToJSON(putFirewallConfigRulesRedirect: PutFirewallConfigRulesRedirect): string;
|
|
1474
|
+
export declare function putFirewallConfigRulesRedirectFromJSON(jsonString: string): SafeParseResult<PutFirewallConfigRulesRedirect, SDKValidationError>;
|
|
1341
1475
|
/** @internal */
|
|
1342
|
-
export declare const
|
|
1476
|
+
export declare const PutFirewallConfigRulesMitigate$inboundSchema: z.ZodType<PutFirewallConfigRulesMitigate, z.ZodTypeDef, unknown>;
|
|
1343
1477
|
/** @internal */
|
|
1344
|
-
export type
|
|
1478
|
+
export type PutFirewallConfigRulesMitigate$Outbound = {
|
|
1345
1479
|
action: string;
|
|
1346
|
-
rateLimit?:
|
|
1347
|
-
redirect?:
|
|
1480
|
+
rateLimit?: PutFirewallConfigRulesRateLimit$Outbound | null | undefined;
|
|
1481
|
+
redirect?: PutFirewallConfigRulesRedirect$Outbound | null | undefined;
|
|
1348
1482
|
actionDuration?: string | null | undefined;
|
|
1349
1483
|
bypassSystem?: boolean | null | undefined;
|
|
1350
1484
|
};
|
|
1351
1485
|
/** @internal */
|
|
1352
|
-
export declare const
|
|
1353
|
-
export declare function
|
|
1354
|
-
export declare function
|
|
1486
|
+
export declare const PutFirewallConfigRulesMitigate$outboundSchema: z.ZodType<PutFirewallConfigRulesMitigate$Outbound, z.ZodTypeDef, PutFirewallConfigRulesMitigate>;
|
|
1487
|
+
export declare function putFirewallConfigRulesMitigateToJSON(putFirewallConfigRulesMitigate: PutFirewallConfigRulesMitigate): string;
|
|
1488
|
+
export declare function putFirewallConfigRulesMitigateFromJSON(jsonString: string): SafeParseResult<PutFirewallConfigRulesMitigate, SDKValidationError>;
|
|
1355
1489
|
/** @internal */
|
|
1356
|
-
export declare const
|
|
1490
|
+
export declare const PutFirewallConfigRulesAction$inboundSchema: z.ZodType<PutFirewallConfigRulesAction, z.ZodTypeDef, unknown>;
|
|
1357
1491
|
/** @internal */
|
|
1358
|
-
export type
|
|
1359
|
-
mitigate?:
|
|
1492
|
+
export type PutFirewallConfigRulesAction$Outbound = {
|
|
1493
|
+
mitigate?: PutFirewallConfigRulesMitigate$Outbound | undefined;
|
|
1360
1494
|
};
|
|
1361
1495
|
/** @internal */
|
|
1362
|
-
export declare const
|
|
1363
|
-
export declare function
|
|
1364
|
-
export declare function
|
|
1496
|
+
export declare const PutFirewallConfigRulesAction$outboundSchema: z.ZodType<PutFirewallConfigRulesAction$Outbound, z.ZodTypeDef, PutFirewallConfigRulesAction>;
|
|
1497
|
+
export declare function putFirewallConfigRulesActionToJSON(putFirewallConfigRulesAction: PutFirewallConfigRulesAction): string;
|
|
1498
|
+
export declare function putFirewallConfigRulesActionFromJSON(jsonString: string): SafeParseResult<PutFirewallConfigRulesAction, SDKValidationError>;
|
|
1365
1499
|
/** @internal */
|
|
1366
|
-
export declare const
|
|
1500
|
+
export declare const PutFirewallConfigRules2$inboundSchema: z.ZodType<PutFirewallConfigRules2, z.ZodTypeDef, unknown>;
|
|
1367
1501
|
/** @internal */
|
|
1368
|
-
export type
|
|
1502
|
+
export type PutFirewallConfigRules2$Outbound = {
|
|
1369
1503
|
id: string;
|
|
1370
1504
|
name: string;
|
|
1371
1505
|
description?: string | undefined;
|
|
1372
1506
|
active: boolean;
|
|
1373
|
-
conditionGroup: Array<
|
|
1374
|
-
action:
|
|
1507
|
+
conditionGroup: Array<PutFirewallConfigRulesConditionGroup$Outbound>;
|
|
1508
|
+
action: PutFirewallConfigRulesAction$Outbound;
|
|
1509
|
+
valid: boolean;
|
|
1510
|
+
validationErrors: Array<string>;
|
|
1511
|
+
};
|
|
1512
|
+
/** @internal */
|
|
1513
|
+
export declare const PutFirewallConfigRules2$outboundSchema: z.ZodType<PutFirewallConfigRules2$Outbound, z.ZodTypeDef, PutFirewallConfigRules2>;
|
|
1514
|
+
export declare function putFirewallConfigRules2ToJSON(putFirewallConfigRules2: PutFirewallConfigRules2): string;
|
|
1515
|
+
export declare function putFirewallConfigRules2FromJSON(jsonString: string): SafeParseResult<PutFirewallConfigRules2, SDKValidationError>;
|
|
1516
|
+
/** @internal */
|
|
1517
|
+
export declare const PutFirewallConfigRulesSecurityType$inboundSchema: z.ZodNativeEnum<typeof PutFirewallConfigRulesSecurityType>;
|
|
1518
|
+
/** @internal */
|
|
1519
|
+
export declare const PutFirewallConfigRulesSecurityType$outboundSchema: z.ZodNativeEnum<typeof PutFirewallConfigRulesSecurityType>;
|
|
1520
|
+
/** @internal */
|
|
1521
|
+
export declare const PutFirewallConfigRulesSecurityOp$inboundSchema: z.ZodNativeEnum<typeof PutFirewallConfigRulesSecurityOp>;
|
|
1522
|
+
/** @internal */
|
|
1523
|
+
export declare const PutFirewallConfigRulesSecurityOp$outboundSchema: z.ZodNativeEnum<typeof PutFirewallConfigRulesSecurityOp>;
|
|
1524
|
+
/** @internal */
|
|
1525
|
+
export declare const PutFirewallConfigRulesSecurityValue$inboundSchema: z.ZodType<PutFirewallConfigRulesSecurityValue, z.ZodTypeDef, unknown>;
|
|
1526
|
+
/** @internal */
|
|
1527
|
+
export type PutFirewallConfigRulesSecurityValue$Outbound = string | number | Array<string>;
|
|
1528
|
+
/** @internal */
|
|
1529
|
+
export declare const PutFirewallConfigRulesSecurityValue$outboundSchema: z.ZodType<PutFirewallConfigRulesSecurityValue$Outbound, z.ZodTypeDef, PutFirewallConfigRulesSecurityValue>;
|
|
1530
|
+
export declare function putFirewallConfigRulesSecurityValueToJSON(putFirewallConfigRulesSecurityValue: PutFirewallConfigRulesSecurityValue): string;
|
|
1531
|
+
export declare function putFirewallConfigRulesSecurityValueFromJSON(jsonString: string): SafeParseResult<PutFirewallConfigRulesSecurityValue, SDKValidationError>;
|
|
1532
|
+
/** @internal */
|
|
1533
|
+
export declare const PutFirewallConfigRulesSecurityConditions$inboundSchema: z.ZodType<PutFirewallConfigRulesSecurityConditions, z.ZodTypeDef, unknown>;
|
|
1534
|
+
/** @internal */
|
|
1535
|
+
export type PutFirewallConfigRulesSecurityConditions$Outbound = {
|
|
1536
|
+
type: string;
|
|
1537
|
+
op: string;
|
|
1538
|
+
neg?: boolean | undefined;
|
|
1539
|
+
key?: string | undefined;
|
|
1540
|
+
value?: string | number | Array<string> | undefined;
|
|
1541
|
+
};
|
|
1542
|
+
/** @internal */
|
|
1543
|
+
export declare const PutFirewallConfigRulesSecurityConditions$outboundSchema: z.ZodType<PutFirewallConfigRulesSecurityConditions$Outbound, z.ZodTypeDef, PutFirewallConfigRulesSecurityConditions>;
|
|
1544
|
+
export declare function putFirewallConfigRulesSecurityConditionsToJSON(putFirewallConfigRulesSecurityConditions: PutFirewallConfigRulesSecurityConditions): string;
|
|
1545
|
+
export declare function putFirewallConfigRulesSecurityConditionsFromJSON(jsonString: string): SafeParseResult<PutFirewallConfigRulesSecurityConditions, SDKValidationError>;
|
|
1546
|
+
/** @internal */
|
|
1547
|
+
export declare const PutFirewallConfigRulesSecurityConditionGroup$inboundSchema: z.ZodType<PutFirewallConfigRulesSecurityConditionGroup, z.ZodTypeDef, unknown>;
|
|
1548
|
+
/** @internal */
|
|
1549
|
+
export type PutFirewallConfigRulesSecurityConditionGroup$Outbound = {
|
|
1550
|
+
conditions: Array<PutFirewallConfigRulesSecurityConditions$Outbound>;
|
|
1375
1551
|
};
|
|
1376
1552
|
/** @internal */
|
|
1553
|
+
export declare const PutFirewallConfigRulesSecurityConditionGroup$outboundSchema: z.ZodType<PutFirewallConfigRulesSecurityConditionGroup$Outbound, z.ZodTypeDef, PutFirewallConfigRulesSecurityConditionGroup>;
|
|
1554
|
+
export declare function putFirewallConfigRulesSecurityConditionGroupToJSON(putFirewallConfigRulesSecurityConditionGroup: PutFirewallConfigRulesSecurityConditionGroup): string;
|
|
1555
|
+
export declare function putFirewallConfigRulesSecurityConditionGroupFromJSON(jsonString: string): SafeParseResult<PutFirewallConfigRulesSecurityConditionGroup, SDKValidationError>;
|
|
1556
|
+
/** @internal */
|
|
1557
|
+
export declare const PutFirewallConfigRulesSecurityResponseAction$inboundSchema: z.ZodNativeEnum<typeof PutFirewallConfigRulesSecurityResponseAction>;
|
|
1558
|
+
/** @internal */
|
|
1559
|
+
export declare const PutFirewallConfigRulesSecurityResponseAction$outboundSchema: z.ZodNativeEnum<typeof PutFirewallConfigRulesSecurityResponseAction>;
|
|
1560
|
+
/** @internal */
|
|
1561
|
+
export declare const PutFirewallConfigRulesSecurityAlgo$inboundSchema: z.ZodNativeEnum<typeof PutFirewallConfigRulesSecurityAlgo>;
|
|
1562
|
+
/** @internal */
|
|
1563
|
+
export declare const PutFirewallConfigRulesSecurityAlgo$outboundSchema: z.ZodNativeEnum<typeof PutFirewallConfigRulesSecurityAlgo>;
|
|
1564
|
+
/** @internal */
|
|
1565
|
+
export declare const PutFirewallConfigRulesSecurityResponse200ApplicationJSONAction$inboundSchema: z.ZodNativeEnum<typeof PutFirewallConfigRulesSecurityResponse200ApplicationJSONAction>;
|
|
1566
|
+
/** @internal */
|
|
1567
|
+
export declare const PutFirewallConfigRulesSecurityResponse200ApplicationJSONAction$outboundSchema: z.ZodNativeEnum<typeof PutFirewallConfigRulesSecurityResponse200ApplicationJSONAction>;
|
|
1568
|
+
/** @internal */
|
|
1569
|
+
export declare const PutFirewallConfigRulesSecurityRateLimit$inboundSchema: z.ZodType<PutFirewallConfigRulesSecurityRateLimit, z.ZodTypeDef, unknown>;
|
|
1570
|
+
/** @internal */
|
|
1571
|
+
export type PutFirewallConfigRulesSecurityRateLimit$Outbound = {
|
|
1572
|
+
algo: string;
|
|
1573
|
+
window: number;
|
|
1574
|
+
limit: number;
|
|
1575
|
+
keys: Array<string>;
|
|
1576
|
+
action?: string | null | undefined;
|
|
1577
|
+
};
|
|
1578
|
+
/** @internal */
|
|
1579
|
+
export declare const PutFirewallConfigRulesSecurityRateLimit$outboundSchema: z.ZodType<PutFirewallConfigRulesSecurityRateLimit$Outbound, z.ZodTypeDef, PutFirewallConfigRulesSecurityRateLimit>;
|
|
1580
|
+
export declare function putFirewallConfigRulesSecurityRateLimitToJSON(putFirewallConfigRulesSecurityRateLimit: PutFirewallConfigRulesSecurityRateLimit): string;
|
|
1581
|
+
export declare function putFirewallConfigRulesSecurityRateLimitFromJSON(jsonString: string): SafeParseResult<PutFirewallConfigRulesSecurityRateLimit, SDKValidationError>;
|
|
1582
|
+
/** @internal */
|
|
1583
|
+
export declare const PutFirewallConfigRulesSecurityRedirect$inboundSchema: z.ZodType<PutFirewallConfigRulesSecurityRedirect, z.ZodTypeDef, unknown>;
|
|
1584
|
+
/** @internal */
|
|
1585
|
+
export type PutFirewallConfigRulesSecurityRedirect$Outbound = {
|
|
1586
|
+
location: string;
|
|
1587
|
+
permanent: boolean;
|
|
1588
|
+
};
|
|
1589
|
+
/** @internal */
|
|
1590
|
+
export declare const PutFirewallConfigRulesSecurityRedirect$outboundSchema: z.ZodType<PutFirewallConfigRulesSecurityRedirect$Outbound, z.ZodTypeDef, PutFirewallConfigRulesSecurityRedirect>;
|
|
1591
|
+
export declare function putFirewallConfigRulesSecurityRedirectToJSON(putFirewallConfigRulesSecurityRedirect: PutFirewallConfigRulesSecurityRedirect): string;
|
|
1592
|
+
export declare function putFirewallConfigRulesSecurityRedirectFromJSON(jsonString: string): SafeParseResult<PutFirewallConfigRulesSecurityRedirect, SDKValidationError>;
|
|
1593
|
+
/** @internal */
|
|
1594
|
+
export declare const PutFirewallConfigRulesSecurityMitigate$inboundSchema: z.ZodType<PutFirewallConfigRulesSecurityMitigate, z.ZodTypeDef, unknown>;
|
|
1595
|
+
/** @internal */
|
|
1596
|
+
export type PutFirewallConfigRulesSecurityMitigate$Outbound = {
|
|
1597
|
+
action: string;
|
|
1598
|
+
rateLimit?: PutFirewallConfigRulesSecurityRateLimit$Outbound | null | undefined;
|
|
1599
|
+
redirect?: PutFirewallConfigRulesSecurityRedirect$Outbound | null | undefined;
|
|
1600
|
+
actionDuration?: string | null | undefined;
|
|
1601
|
+
bypassSystem?: boolean | null | undefined;
|
|
1602
|
+
};
|
|
1603
|
+
/** @internal */
|
|
1604
|
+
export declare const PutFirewallConfigRulesSecurityMitigate$outboundSchema: z.ZodType<PutFirewallConfigRulesSecurityMitigate$Outbound, z.ZodTypeDef, PutFirewallConfigRulesSecurityMitigate>;
|
|
1605
|
+
export declare function putFirewallConfigRulesSecurityMitigateToJSON(putFirewallConfigRulesSecurityMitigate: PutFirewallConfigRulesSecurityMitigate): string;
|
|
1606
|
+
export declare function putFirewallConfigRulesSecurityMitigateFromJSON(jsonString: string): SafeParseResult<PutFirewallConfigRulesSecurityMitigate, SDKValidationError>;
|
|
1607
|
+
/** @internal */
|
|
1608
|
+
export declare const PutFirewallConfigRulesSecurityAction$inboundSchema: z.ZodType<PutFirewallConfigRulesSecurityAction, z.ZodTypeDef, unknown>;
|
|
1609
|
+
/** @internal */
|
|
1610
|
+
export type PutFirewallConfigRulesSecurityAction$Outbound = {
|
|
1611
|
+
mitigate?: PutFirewallConfigRulesSecurityMitigate$Outbound | undefined;
|
|
1612
|
+
};
|
|
1613
|
+
/** @internal */
|
|
1614
|
+
export declare const PutFirewallConfigRulesSecurityAction$outboundSchema: z.ZodType<PutFirewallConfigRulesSecurityAction$Outbound, z.ZodTypeDef, PutFirewallConfigRulesSecurityAction>;
|
|
1615
|
+
export declare function putFirewallConfigRulesSecurityActionToJSON(putFirewallConfigRulesSecurityAction: PutFirewallConfigRulesSecurityAction): string;
|
|
1616
|
+
export declare function putFirewallConfigRulesSecurityActionFromJSON(jsonString: string): SafeParseResult<PutFirewallConfigRulesSecurityAction, SDKValidationError>;
|
|
1617
|
+
/** @internal */
|
|
1618
|
+
export declare const PutFirewallConfigRules1$inboundSchema: z.ZodType<PutFirewallConfigRules1, z.ZodTypeDef, unknown>;
|
|
1619
|
+
/** @internal */
|
|
1620
|
+
export type PutFirewallConfigRules1$Outbound = {
|
|
1621
|
+
id: string;
|
|
1622
|
+
name: string;
|
|
1623
|
+
description?: string | undefined;
|
|
1624
|
+
active: boolean;
|
|
1625
|
+
conditionGroup: Array<PutFirewallConfigRulesSecurityConditionGroup$Outbound>;
|
|
1626
|
+
action: PutFirewallConfigRulesSecurityAction$Outbound;
|
|
1627
|
+
valid: boolean;
|
|
1628
|
+
validationErrors?: any | null | undefined;
|
|
1629
|
+
};
|
|
1630
|
+
/** @internal */
|
|
1631
|
+
export declare const PutFirewallConfigRules1$outboundSchema: z.ZodType<PutFirewallConfigRules1$Outbound, z.ZodTypeDef, PutFirewallConfigRules1>;
|
|
1632
|
+
export declare function putFirewallConfigRules1ToJSON(putFirewallConfigRules1: PutFirewallConfigRules1): string;
|
|
1633
|
+
export declare function putFirewallConfigRules1FromJSON(jsonString: string): SafeParseResult<PutFirewallConfigRules1, SDKValidationError>;
|
|
1634
|
+
/** @internal */
|
|
1635
|
+
export declare const PutFirewallConfigSecurityRules$inboundSchema: z.ZodType<PutFirewallConfigSecurityRules, z.ZodTypeDef, unknown>;
|
|
1636
|
+
/** @internal */
|
|
1637
|
+
export type PutFirewallConfigSecurityRules$Outbound = PutFirewallConfigRules1$Outbound | PutFirewallConfigRules2$Outbound;
|
|
1638
|
+
/** @internal */
|
|
1377
1639
|
export declare const PutFirewallConfigSecurityRules$outboundSchema: z.ZodType<PutFirewallConfigSecurityRules$Outbound, z.ZodTypeDef, PutFirewallConfigSecurityRules>;
|
|
1378
1640
|
export declare function putFirewallConfigSecurityRulesToJSON(putFirewallConfigSecurityRules: PutFirewallConfigSecurityRules): string;
|
|
1379
1641
|
export declare function putFirewallConfigSecurityRulesFromJSON(jsonString: string): SafeParseResult<PutFirewallConfigSecurityRules, SDKValidationError>;
|
|
1380
1642
|
/** @internal */
|
|
1381
|
-
export declare const
|
|
1643
|
+
export declare const PutFirewallConfigSecurityResponseAction$inboundSchema: z.ZodNativeEnum<typeof PutFirewallConfigSecurityResponseAction>;
|
|
1382
1644
|
/** @internal */
|
|
1383
|
-
export declare const
|
|
1645
|
+
export declare const PutFirewallConfigSecurityResponseAction$outboundSchema: z.ZodNativeEnum<typeof PutFirewallConfigSecurityResponseAction>;
|
|
1384
1646
|
/** @internal */
|
|
1385
1647
|
export declare const PutFirewallConfigIps$inboundSchema: z.ZodType<PutFirewallConfigIps, z.ZodTypeDef, unknown>;
|
|
1386
1648
|
/** @internal */
|
|
@@ -1480,7 +1742,7 @@ export type Active$Outbound = {
|
|
|
1480
1742
|
updatedAt: string;
|
|
1481
1743
|
firewallEnabled: boolean;
|
|
1482
1744
|
crs: PutFirewallConfigCrs$Outbound;
|
|
1483
|
-
rules: Array<
|
|
1745
|
+
rules: Array<PutFirewallConfigRules1$Outbound | PutFirewallConfigRules2$Outbound>;
|
|
1484
1746
|
ips: Array<PutFirewallConfigIps$Outbound>;
|
|
1485
1747
|
changes: Array<PutFirewallConfigChanges$Outbound>;
|
|
1486
1748
|
managedRules?: PutFirewallConfigManagedRules$Outbound | undefined;
|