@vercel/sdk 1.18.2 → 1.18.3
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 +48 -51
- package/bin/mcp-server.js +4061 -2335
- package/bin/mcp-server.js.map +57 -36
- package/esm/__tests__/domains.test.js +2 -38
- package/esm/__tests__/domains.test.js.map +1 -1
- package/esm/__tests__/edgeconfig.test.js +6 -6
- 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 +20 -35
- 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 +150 -1
- package/esm/__tests__/vercel.test.js.map +1 -1
- package/esm/funcs/deleteV1BulkRedirects.d.ts +14 -0
- package/esm/funcs/deleteV1BulkRedirects.d.ts.map +1 -0
- package/esm/funcs/deleteV1BulkRedirects.js +74 -0
- package/esm/funcs/deleteV1BulkRedirects.js.map +1 -0
- package/esm/funcs/domainsCreateOrTransferDomain.js +2 -2
- package/esm/funcs/domainsCreateOrTransferDomain.js.map +1 -1
- package/esm/funcs/getV1BulkRedirects.d.ts +14 -0
- package/esm/funcs/getV1BulkRedirects.d.ts.map +1 -0
- package/esm/funcs/getV1BulkRedirects.js +80 -0
- package/esm/funcs/getV1BulkRedirects.js.map +1 -0
- package/esm/funcs/getV1BulkRedirectsVersions.d.ts +14 -0
- package/esm/funcs/getV1BulkRedirectsVersions.d.ts.map +1 -0
- package/esm/funcs/getV1BulkRedirectsVersions.js +73 -0
- package/esm/funcs/getV1BulkRedirectsVersions.js.map +1 -0
- package/esm/funcs/patchV1BulkRedirects.d.ts +14 -0
- package/esm/funcs/patchV1BulkRedirects.d.ts.map +1 -0
- package/esm/funcs/patchV1BulkRedirects.js +74 -0
- package/esm/funcs/patchV1BulkRedirects.js.map +1 -0
- package/esm/funcs/postV1BulkRedirectsRestore.d.ts +14 -0
- package/esm/funcs/postV1BulkRedirectsRestore.d.ts.map +1 -0
- package/esm/funcs/postV1BulkRedirectsRestore.js +74 -0
- package/esm/funcs/postV1BulkRedirectsRestore.js.map +1 -0
- package/esm/funcs/postV1BulkRedirectsVersions.d.ts +14 -0
- package/esm/funcs/postV1BulkRedirectsVersions.d.ts.map +1 -0
- package/esm/funcs/postV1BulkRedirectsVersions.js +74 -0
- package/esm/funcs/postV1BulkRedirectsVersions.js.map +1 -0
- package/esm/funcs/putV1BulkRedirects.d.ts +11 -0
- package/esm/funcs/putV1BulkRedirects.d.ts.map +1 -0
- package/esm/funcs/putV1BulkRedirects.js +69 -0
- package/esm/funcs/putV1BulkRedirects.js.map +1 -0
- package/esm/funcs/teamsPostTeamDsyncRoles.d.ts +17 -0
- package/esm/funcs/teamsPostTeamDsyncRoles.d.ts.map +1 -0
- package/esm/funcs/{domainsBuyDomain.js → teamsPostTeamDsyncRoles.js} +17 -12
- 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/deleteV1BulkRedirects.d.ts +7 -0
- package/esm/mcp-server/tools/deleteV1BulkRedirects.d.ts.map +1 -0
- package/esm/mcp-server/tools/deleteV1BulkRedirects.js +26 -0
- package/esm/mcp-server/tools/deleteV1BulkRedirects.js.map +1 -0
- package/esm/mcp-server/tools/getV1BulkRedirects.d.ts +7 -0
- package/esm/mcp-server/tools/getV1BulkRedirects.d.ts.map +1 -0
- package/esm/mcp-server/tools/getV1BulkRedirects.js +26 -0
- package/esm/mcp-server/tools/getV1BulkRedirects.js.map +1 -0
- package/esm/mcp-server/tools/getV1BulkRedirectsVersions.d.ts +7 -0
- package/esm/mcp-server/tools/getV1BulkRedirectsVersions.d.ts.map +1 -0
- package/esm/mcp-server/tools/getV1BulkRedirectsVersions.js +26 -0
- package/esm/mcp-server/tools/getV1BulkRedirectsVersions.js.map +1 -0
- package/esm/mcp-server/tools/patchV1BulkRedirects.d.ts +7 -0
- package/esm/mcp-server/tools/patchV1BulkRedirects.d.ts.map +1 -0
- package/esm/mcp-server/tools/patchV1BulkRedirects.js +26 -0
- package/esm/mcp-server/tools/patchV1BulkRedirects.js.map +1 -0
- package/esm/mcp-server/tools/postV1BulkRedirectsRestore.d.ts +7 -0
- package/esm/mcp-server/tools/postV1BulkRedirectsRestore.d.ts.map +1 -0
- package/esm/mcp-server/tools/postV1BulkRedirectsRestore.js +26 -0
- package/esm/mcp-server/tools/postV1BulkRedirectsRestore.js.map +1 -0
- package/esm/mcp-server/tools/postV1BulkRedirectsVersions.d.ts +7 -0
- package/esm/mcp-server/tools/postV1BulkRedirectsVersions.d.ts.map +1 -0
- package/esm/mcp-server/tools/postV1BulkRedirectsVersions.js +26 -0
- package/esm/mcp-server/tools/postV1BulkRedirectsVersions.js.map +1 -0
- package/esm/mcp-server/tools/putV1BulkRedirects.d.ts +7 -0
- package/esm/mcp-server/tools/putV1BulkRedirects.d.ts.map +1 -0
- package/esm/mcp-server/tools/putV1BulkRedirects.js +26 -0
- package/esm/mcp-server/tools/putV1BulkRedirects.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/artifactqueryop.d.ts +8 -8
- package/esm/models/artifactqueryop.d.ts.map +1 -1
- package/esm/models/artifactqueryop.js +8 -8
- package/esm/models/artifactqueryop.js.map +1 -1
- 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/deletev1bulkredirectsop.d.ts +102 -0
- package/esm/models/deletev1bulkredirectsop.d.ts.map +1 -0
- package/esm/models/deletev1bulkredirectsop.js +95 -0
- package/esm/models/deletev1bulkredirectsop.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 +336 -103
- package/esm/models/getfirewallconfigop.d.ts.map +1 -1
- package/esm/models/getfirewallconfigop.js +358 -98
- 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/getv1bulkredirectsop.d.ts +190 -0
- package/esm/models/getv1bulkredirectsop.d.ts.map +1 -0
- package/esm/models/getv1bulkredirectsop.js +195 -0
- package/esm/models/getv1bulkredirectsop.js.map +1 -0
- package/esm/models/getv1bulkredirectsversionsop.d.ts +80 -0
- package/esm/models/getv1bulkredirectsversionsop.d.ts.map +1 -0
- package/esm/models/getv1bulkredirectsversionsop.js +64 -0
- package/esm/models/getv1bulkredirectsversionsop.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/listaccessgroupsop.d.ts +8 -8
- package/esm/models/listaccessgroupsop.d.ts.map +1 -1
- package/esm/models/listaccessgroupsop.js +8 -8
- package/esm/models/listaccessgroupsop.js.map +1 -1
- package/esm/models/patchv1bulkredirectsop.d.ts +133 -0
- package/esm/models/patchv1bulkredirectsop.d.ts.map +1 -0
- package/esm/models/patchv1bulkredirectsop.js +121 -0
- package/esm/models/patchv1bulkredirectsop.js.map +1 -0
- 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/postv1bulkredirectsrestoreop.d.ts +104 -0
- package/esm/models/postv1bulkredirectsrestoreop.d.ts.map +1 -0
- package/esm/models/postv1bulkredirectsrestoreop.js +96 -0
- package/esm/models/postv1bulkredirectsrestoreop.js.map +1 -0
- package/esm/models/postv1bulkredirectsversionsop.d.ts +110 -0
- package/esm/models/postv1bulkredirectsversionsop.d.ts.map +1 -0
- package/esm/models/postv1bulkredirectsversionsop.js +102 -0
- package/esm/models/postv1bulkredirectsversionsop.js.map +1 -0
- package/esm/models/putfirewallconfigop.d.ts +357 -100
- package/esm/models/putfirewallconfigop.d.ts.map +1 -1
- package/esm/models/putfirewallconfigop.js +379 -102
- package/esm/models/putfirewallconfigop.js.map +1 -1
- package/esm/models/putv1bulkredirectsop.d.ts +122 -0
- package/esm/models/putv1bulkredirectsop.d.ts.map +1 -0
- package/esm/models/putv1bulkredirectsop.js +108 -0
- package/esm/models/putv1bulkredirectsop.js.map +1 -0
- 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/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/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 +33 -1
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +47 -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__/domains.test.ts +4 -41
- 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 +20 -35
- package/src/__tests__/teams.test.ts +19 -0
- package/src/__tests__/vercel.test.ts +177 -1
- package/src/funcs/deleteV1BulkRedirects.ts +161 -0
- package/src/funcs/domainsCreateOrTransferDomain.ts +2 -2
- package/src/funcs/getV1BulkRedirects.ts +167 -0
- package/src/funcs/getV1BulkRedirectsVersions.ts +160 -0
- package/src/funcs/patchV1BulkRedirects.ts +161 -0
- package/src/funcs/postV1BulkRedirectsRestore.ts +161 -0
- package/src/funcs/postV1BulkRedirectsVersions.ts +161 -0
- package/src/funcs/putV1BulkRedirects.ts +156 -0
- package/src/funcs/{domainsBuyDomain.ts → teamsPostTeamDsyncRoles.ts} +29 -24
- 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/deleteV1BulkRedirects.ts +36 -0
- package/src/mcp-server/tools/getV1BulkRedirects.ts +35 -0
- package/src/mcp-server/tools/getV1BulkRedirectsVersions.ts +35 -0
- package/src/mcp-server/tools/patchV1BulkRedirects.ts +36 -0
- package/src/mcp-server/tools/postV1BulkRedirectsRestore.ts +36 -0
- package/src/mcp-server/tools/postV1BulkRedirectsVersions.ts +36 -0
- package/src/mcp-server/tools/putV1BulkRedirects.ts +35 -0
- package/src/mcp-server/tools/teamsPostTeamDsyncRoles.ts +37 -0
- package/src/models/artifactqueryop.ts +21 -17
- 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/deletev1bulkredirectsop.ts +267 -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 +835 -274
- package/src/models/getprojectdomainsop.ts +11 -9
- package/src/models/getprojectsop.ts +214 -4
- package/src/models/getv1bulkredirectsop.ts +467 -0
- package/src/models/getv1bulkredirectsversionsop.ts +192 -0
- package/src/models/getwebhookop.ts +2 -1
- package/src/models/getwebhooksop.ts +4 -2
- package/src/models/listaccessgroupsop.ts +26 -18
- package/src/models/patchv1bulkredirectsop.ts +336 -0
- package/src/models/postteamdsyncrolesop.ts +291 -0
- package/src/models/postv1bulkredirectsrestoreop.ts +275 -0
- package/src/models/postv1bulkredirectsversionsop.ts +296 -0
- package/src/models/putfirewallconfigop.ts +1025 -284
- package/src/models/putv1bulkredirectsop.ts +304 -0
- 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/userevent.ts +2357 -2909
- package/src/sdk/domains.ts +0 -19
- package/src/sdk/sdk.ts +132 -1
- package/src/sdk/teams.ts +22 -0
- package/vercel-spec.json +3003 -1259
- 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
|
@@ -75,6 +75,8 @@ export const PutFirewallConfigType = {
|
|
|
75
75
|
Ja4Digest: "ja4_digest",
|
|
76
76
|
Ja3Digest: "ja3_digest",
|
|
77
77
|
RateLimitApiId: "rate_limit_api_id",
|
|
78
|
+
BotName: "bot_name",
|
|
79
|
+
BotCategory: "bot_category",
|
|
78
80
|
};
|
|
79
81
|
export const Op = {
|
|
80
82
|
Re: "re",
|
|
@@ -120,7 +122,7 @@ export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActi
|
|
|
120
122
|
Deny: "deny",
|
|
121
123
|
Log: "log",
|
|
122
124
|
};
|
|
123
|
-
export const
|
|
125
|
+
export const PutFirewallConfigSecurityResponse200Action = {
|
|
124
126
|
Deny: "deny",
|
|
125
127
|
Log: "log",
|
|
126
128
|
};
|
|
@@ -160,7 +162,7 @@ export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActi
|
|
|
160
162
|
Deny: "deny",
|
|
161
163
|
Log: "log",
|
|
162
164
|
};
|
|
163
|
-
export const
|
|
165
|
+
export const PutFirewallConfigRulesType = {
|
|
164
166
|
Host: "host",
|
|
165
167
|
Path: "path",
|
|
166
168
|
Method: "method",
|
|
@@ -185,8 +187,10 @@ export const PutFirewallConfigSecurityType = {
|
|
|
185
187
|
Ja3Digest: "ja3_digest",
|
|
186
188
|
RateLimitApiId: "rate_limit_api_id",
|
|
187
189
|
ServerAction: "server_action",
|
|
190
|
+
BotName: "bot_name",
|
|
191
|
+
BotCategory: "bot_category",
|
|
188
192
|
};
|
|
189
|
-
export const
|
|
193
|
+
export const PutFirewallConfigRulesOp = {
|
|
190
194
|
Re: "re",
|
|
191
195
|
Eq: "eq",
|
|
192
196
|
Ex: "ex",
|
|
@@ -202,7 +206,7 @@ export const PutFirewallConfigOp = {
|
|
|
202
206
|
Ninc: "ninc",
|
|
203
207
|
Neq: "neq",
|
|
204
208
|
};
|
|
205
|
-
export const
|
|
209
|
+
export const PutFirewallConfigRulesSecurityResponse200Action = {
|
|
206
210
|
Deny: "deny",
|
|
207
211
|
Log: "log",
|
|
208
212
|
Challenge: "challenge",
|
|
@@ -210,17 +214,79 @@ export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActi
|
|
|
210
214
|
RateLimit: "rate_limit",
|
|
211
215
|
Redirect: "redirect",
|
|
212
216
|
};
|
|
213
|
-
export const
|
|
217
|
+
export const PutFirewallConfigRulesAlgo = {
|
|
214
218
|
FixedWindow: "fixed_window",
|
|
215
219
|
TokenBucket: "token_bucket",
|
|
216
220
|
};
|
|
217
|
-
export const
|
|
221
|
+
export const PutFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyAction = {
|
|
218
222
|
Deny: "deny",
|
|
219
223
|
Log: "log",
|
|
220
224
|
Challenge: "challenge",
|
|
221
225
|
RateLimit: "rate_limit",
|
|
222
226
|
};
|
|
223
|
-
export const
|
|
227
|
+
export const PutFirewallConfigRulesSecurityType = {
|
|
228
|
+
Host: "host",
|
|
229
|
+
Path: "path",
|
|
230
|
+
Method: "method",
|
|
231
|
+
Header: "header",
|
|
232
|
+
Query: "query",
|
|
233
|
+
Cookie: "cookie",
|
|
234
|
+
TargetPath: "target_path",
|
|
235
|
+
Route: "route",
|
|
236
|
+
RawPath: "raw_path",
|
|
237
|
+
IpAddress: "ip_address",
|
|
238
|
+
Protocol: "protocol",
|
|
239
|
+
Region: "region",
|
|
240
|
+
Scheme: "scheme",
|
|
241
|
+
Environment: "environment",
|
|
242
|
+
UserAgent: "user_agent",
|
|
243
|
+
GeoContinent: "geo_continent",
|
|
244
|
+
GeoCountry: "geo_country",
|
|
245
|
+
GeoCountryRegion: "geo_country_region",
|
|
246
|
+
GeoCity: "geo_city",
|
|
247
|
+
GeoAsNumber: "geo_as_number",
|
|
248
|
+
Ja4Digest: "ja4_digest",
|
|
249
|
+
Ja3Digest: "ja3_digest",
|
|
250
|
+
RateLimitApiId: "rate_limit_api_id",
|
|
251
|
+
ServerAction: "server_action",
|
|
252
|
+
BotName: "bot_name",
|
|
253
|
+
BotCategory: "bot_category",
|
|
254
|
+
};
|
|
255
|
+
export const PutFirewallConfigRulesSecurityOp = {
|
|
256
|
+
Re: "re",
|
|
257
|
+
Eq: "eq",
|
|
258
|
+
Ex: "ex",
|
|
259
|
+
Inc: "inc",
|
|
260
|
+
Pre: "pre",
|
|
261
|
+
Suf: "suf",
|
|
262
|
+
Sub: "sub",
|
|
263
|
+
Gt: "gt",
|
|
264
|
+
Gte: "gte",
|
|
265
|
+
Lt: "lt",
|
|
266
|
+
Lte: "lte",
|
|
267
|
+
Nex: "nex",
|
|
268
|
+
Ninc: "ninc",
|
|
269
|
+
Neq: "neq",
|
|
270
|
+
};
|
|
271
|
+
export const PutFirewallConfigRulesSecurityResponseAction = {
|
|
272
|
+
Deny: "deny",
|
|
273
|
+
Log: "log",
|
|
274
|
+
Challenge: "challenge",
|
|
275
|
+
Bypass: "bypass",
|
|
276
|
+
RateLimit: "rate_limit",
|
|
277
|
+
Redirect: "redirect",
|
|
278
|
+
};
|
|
279
|
+
export const PutFirewallConfigRulesSecurityAlgo = {
|
|
280
|
+
FixedWindow: "fixed_window",
|
|
281
|
+
TokenBucket: "token_bucket",
|
|
282
|
+
};
|
|
283
|
+
export const PutFirewallConfigRulesSecurityResponse200ApplicationJSONAction = {
|
|
284
|
+
Deny: "deny",
|
|
285
|
+
Log: "log",
|
|
286
|
+
Challenge: "challenge",
|
|
287
|
+
RateLimit: "rate_limit",
|
|
288
|
+
};
|
|
289
|
+
export const PutFirewallConfigSecurityResponseAction = {
|
|
224
290
|
Deny: "deny",
|
|
225
291
|
Log: "log",
|
|
226
292
|
Challenge: "challenge",
|
|
@@ -642,14 +708,14 @@ export function redirect1FromJSON(jsonString) {
|
|
|
642
708
|
return safeParse(jsonString, (x) => Redirect1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Redirect1' from JSON`);
|
|
643
709
|
}
|
|
644
710
|
/** @internal */
|
|
645
|
-
export const
|
|
711
|
+
export const PutFirewallConfigRedirect$inboundSchema = z.union([z.lazy(() => Redirect1$inboundSchema), z.any()]);
|
|
646
712
|
/** @internal */
|
|
647
|
-
export const
|
|
648
|
-
export function
|
|
649
|
-
return JSON.stringify(
|
|
713
|
+
export const PutFirewallConfigRedirect$outboundSchema = z.union([z.lazy(() => Redirect1$outboundSchema), z.any()]);
|
|
714
|
+
export function putFirewallConfigRedirectToJSON(putFirewallConfigRedirect) {
|
|
715
|
+
return JSON.stringify(PutFirewallConfigRedirect$outboundSchema.parse(putFirewallConfigRedirect));
|
|
650
716
|
}
|
|
651
|
-
export function
|
|
652
|
-
return safeParse(jsonString, (x) =>
|
|
717
|
+
export function putFirewallConfigRedirectFromJSON(jsonString) {
|
|
718
|
+
return safeParse(jsonString, (x) => PutFirewallConfigRedirect$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PutFirewallConfigRedirect' from JSON`);
|
|
653
719
|
}
|
|
654
720
|
/** @internal */
|
|
655
721
|
export const Mitigate$inboundSchema = z.object({
|
|
@@ -689,6 +755,16 @@ export function putFirewallConfigSecurityRequestRequestBodyRulesActionFromJSON(j
|
|
|
689
755
|
.parse(JSON.parse(x)), `Failed to parse 'PutFirewallConfigSecurityRequestRequestBodyRulesAction' from JSON`);
|
|
690
756
|
}
|
|
691
757
|
/** @internal */
|
|
758
|
+
export const ValidationErrors$inboundSchema = z.union([z.string(), z.array(z.string())]);
|
|
759
|
+
/** @internal */
|
|
760
|
+
export const ValidationErrors$outboundSchema = z.union([z.string(), z.array(z.string())]);
|
|
761
|
+
export function validationErrorsToJSON(validationErrors) {
|
|
762
|
+
return JSON.stringify(ValidationErrors$outboundSchema.parse(validationErrors));
|
|
763
|
+
}
|
|
764
|
+
export function validationErrorsFromJSON(jsonString) {
|
|
765
|
+
return safeParse(jsonString, (x) => ValidationErrors$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ValidationErrors' from JSON`);
|
|
766
|
+
}
|
|
767
|
+
/** @internal */
|
|
692
768
|
export const PutFirewallConfigRules$inboundSchema = z.object({
|
|
693
769
|
id: z.string().optional(),
|
|
694
770
|
name: z.string(),
|
|
@@ -696,6 +772,8 @@ export const PutFirewallConfigRules$inboundSchema = z.object({
|
|
|
696
772
|
active: z.boolean(),
|
|
697
773
|
conditionGroup: z.array(z.lazy(() => ConditionGroup$inboundSchema)),
|
|
698
774
|
action: z.lazy(() => PutFirewallConfigSecurityRequestRequestBodyRulesAction$inboundSchema),
|
|
775
|
+
valid: z.boolean().optional(),
|
|
776
|
+
validationErrors: z.union([z.string(), z.array(z.string())]).optional(),
|
|
699
777
|
});
|
|
700
778
|
/** @internal */
|
|
701
779
|
export const PutFirewallConfigRules$outboundSchema = z.object({
|
|
@@ -705,6 +783,8 @@ export const PutFirewallConfigRules$outboundSchema = z.object({
|
|
|
705
783
|
active: z.boolean(),
|
|
706
784
|
conditionGroup: z.array(z.lazy(() => ConditionGroup$outboundSchema)),
|
|
707
785
|
action: z.lazy(() => PutFirewallConfigSecurityRequestRequestBodyRulesAction$outboundSchema),
|
|
786
|
+
valid: z.boolean().optional(),
|
|
787
|
+
validationErrors: z.union([z.string(), z.array(z.string())]).optional(),
|
|
708
788
|
});
|
|
709
789
|
export function putFirewallConfigRulesToJSON(putFirewallConfigRules) {
|
|
710
790
|
return JSON.stringify(PutFirewallConfigRules$outboundSchema.parse(putFirewallConfigRules));
|
|
@@ -814,18 +894,19 @@ export function putFirewallConfigSdFromJSON(jsonString) {
|
|
|
814
894
|
return safeParse(jsonString, (x) => PutFirewallConfigSd$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PutFirewallConfigSd' from JSON`);
|
|
815
895
|
}
|
|
816
896
|
/** @internal */
|
|
817
|
-
export const
|
|
897
|
+
export const PutFirewallConfigSecurityResponse200Action$inboundSchema = z
|
|
898
|
+
.nativeEnum(PutFirewallConfigSecurityResponse200Action);
|
|
818
899
|
/** @internal */
|
|
819
|
-
export const
|
|
900
|
+
export const PutFirewallConfigSecurityResponse200Action$outboundSchema = PutFirewallConfigSecurityResponse200Action$inboundSchema;
|
|
820
901
|
/** @internal */
|
|
821
902
|
export const PutFirewallConfigMa$inboundSchema = z.object({
|
|
822
903
|
active: z.boolean(),
|
|
823
|
-
action:
|
|
904
|
+
action: PutFirewallConfigSecurityResponse200Action$inboundSchema,
|
|
824
905
|
});
|
|
825
906
|
/** @internal */
|
|
826
907
|
export const PutFirewallConfigMa$outboundSchema = z.object({
|
|
827
908
|
active: z.boolean(),
|
|
828
|
-
action:
|
|
909
|
+
action: PutFirewallConfigSecurityResponse200Action$outboundSchema,
|
|
829
910
|
});
|
|
830
911
|
export function putFirewallConfigMaToJSON(putFirewallConfigMa) {
|
|
831
912
|
return JSON.stringify(PutFirewallConfigMa$outboundSchema.parse(putFirewallConfigMa));
|
|
@@ -1048,167 +1129,357 @@ export function putFirewallConfigCrsFromJSON(jsonString) {
|
|
|
1048
1129
|
return safeParse(jsonString, (x) => PutFirewallConfigCrs$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PutFirewallConfigCrs' from JSON`);
|
|
1049
1130
|
}
|
|
1050
1131
|
/** @internal */
|
|
1051
|
-
export const
|
|
1132
|
+
export const PutFirewallConfigRulesType$inboundSchema = z.nativeEnum(PutFirewallConfigRulesType);
|
|
1052
1133
|
/** @internal */
|
|
1053
|
-
export const
|
|
1134
|
+
export const PutFirewallConfigRulesType$outboundSchema = PutFirewallConfigRulesType$inboundSchema;
|
|
1054
1135
|
/** @internal */
|
|
1055
|
-
export const
|
|
1136
|
+
export const PutFirewallConfigRulesOp$inboundSchema = z.nativeEnum(PutFirewallConfigRulesOp);
|
|
1056
1137
|
/** @internal */
|
|
1057
|
-
export const
|
|
1138
|
+
export const PutFirewallConfigRulesOp$outboundSchema = PutFirewallConfigRulesOp$inboundSchema;
|
|
1058
1139
|
/** @internal */
|
|
1059
|
-
export const
|
|
1140
|
+
export const PutFirewallConfigRulesValue$inboundSchema = z.union([z.string(), z.number(), z.array(z.string())]);
|
|
1060
1141
|
/** @internal */
|
|
1061
|
-
export const
|
|
1062
|
-
export function
|
|
1063
|
-
return JSON.stringify(
|
|
1142
|
+
export const PutFirewallConfigRulesValue$outboundSchema = z.union([z.string(), z.number(), z.array(z.string())]);
|
|
1143
|
+
export function putFirewallConfigRulesValueToJSON(putFirewallConfigRulesValue) {
|
|
1144
|
+
return JSON.stringify(PutFirewallConfigRulesValue$outboundSchema.parse(putFirewallConfigRulesValue));
|
|
1064
1145
|
}
|
|
1065
|
-
export function
|
|
1066
|
-
return safeParse(jsonString, (x) =>
|
|
1146
|
+
export function putFirewallConfigRulesValueFromJSON(jsonString) {
|
|
1147
|
+
return safeParse(jsonString, (x) => PutFirewallConfigRulesValue$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PutFirewallConfigRulesValue' from JSON`);
|
|
1067
1148
|
}
|
|
1068
1149
|
/** @internal */
|
|
1069
|
-
export const
|
|
1070
|
-
type:
|
|
1071
|
-
op:
|
|
1150
|
+
export const PutFirewallConfigRulesConditions$inboundSchema = z.object({
|
|
1151
|
+
type: PutFirewallConfigRulesType$inboundSchema,
|
|
1152
|
+
op: PutFirewallConfigRulesOp$inboundSchema,
|
|
1072
1153
|
neg: z.boolean().optional(),
|
|
1073
1154
|
key: z.string().optional(),
|
|
1074
1155
|
value: z.union([z.string(), z.number(), z.array(z.string())]).optional(),
|
|
1075
1156
|
});
|
|
1076
1157
|
/** @internal */
|
|
1077
|
-
export const
|
|
1078
|
-
type:
|
|
1079
|
-
op:
|
|
1158
|
+
export const PutFirewallConfigRulesConditions$outboundSchema = z.object({
|
|
1159
|
+
type: PutFirewallConfigRulesType$outboundSchema,
|
|
1160
|
+
op: PutFirewallConfigRulesOp$outboundSchema,
|
|
1080
1161
|
neg: z.boolean().optional(),
|
|
1081
1162
|
key: z.string().optional(),
|
|
1082
1163
|
value: z.union([z.string(), z.number(), z.array(z.string())]).optional(),
|
|
1083
1164
|
});
|
|
1084
|
-
export function
|
|
1085
|
-
return JSON.stringify(
|
|
1165
|
+
export function putFirewallConfigRulesConditionsToJSON(putFirewallConfigRulesConditions) {
|
|
1166
|
+
return JSON.stringify(PutFirewallConfigRulesConditions$outboundSchema.parse(putFirewallConfigRulesConditions));
|
|
1086
1167
|
}
|
|
1087
|
-
export function
|
|
1088
|
-
return safeParse(jsonString, (x) =>
|
|
1168
|
+
export function putFirewallConfigRulesConditionsFromJSON(jsonString) {
|
|
1169
|
+
return safeParse(jsonString, (x) => PutFirewallConfigRulesConditions$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PutFirewallConfigRulesConditions' from JSON`);
|
|
1089
1170
|
}
|
|
1090
1171
|
/** @internal */
|
|
1091
|
-
export const
|
|
1092
|
-
conditions: z.array(z.lazy(() =>
|
|
1172
|
+
export const PutFirewallConfigRulesConditionGroup$inboundSchema = z.object({
|
|
1173
|
+
conditions: z.array(z.lazy(() => PutFirewallConfigRulesConditions$inboundSchema)),
|
|
1093
1174
|
});
|
|
1094
1175
|
/** @internal */
|
|
1095
|
-
export const
|
|
1096
|
-
conditions: z.array(z.lazy(() =>
|
|
1176
|
+
export const PutFirewallConfigRulesConditionGroup$outboundSchema = z.object({
|
|
1177
|
+
conditions: z.array(z.lazy(() => PutFirewallConfigRulesConditions$outboundSchema)),
|
|
1097
1178
|
});
|
|
1098
|
-
export function
|
|
1099
|
-
return JSON.stringify(
|
|
1179
|
+
export function putFirewallConfigRulesConditionGroupToJSON(putFirewallConfigRulesConditionGroup) {
|
|
1180
|
+
return JSON.stringify(PutFirewallConfigRulesConditionGroup$outboundSchema.parse(putFirewallConfigRulesConditionGroup));
|
|
1100
1181
|
}
|
|
1101
|
-
export function
|
|
1102
|
-
return safeParse(jsonString, (x) =>
|
|
1182
|
+
export function putFirewallConfigRulesConditionGroupFromJSON(jsonString) {
|
|
1183
|
+
return safeParse(jsonString, (x) => PutFirewallConfigRulesConditionGroup$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PutFirewallConfigRulesConditionGroup' from JSON`);
|
|
1103
1184
|
}
|
|
1104
1185
|
/** @internal */
|
|
1105
|
-
export const
|
|
1186
|
+
export const PutFirewallConfigRulesSecurityResponse200Action$inboundSchema = z
|
|
1187
|
+
.nativeEnum(PutFirewallConfigRulesSecurityResponse200Action);
|
|
1106
1188
|
/** @internal */
|
|
1107
|
-
export const
|
|
1189
|
+
export const PutFirewallConfigRulesSecurityResponse200Action$outboundSchema = PutFirewallConfigRulesSecurityResponse200Action$inboundSchema;
|
|
1108
1190
|
/** @internal */
|
|
1109
|
-
export const
|
|
1191
|
+
export const PutFirewallConfigRulesAlgo$inboundSchema = z.nativeEnum(PutFirewallConfigRulesAlgo);
|
|
1110
1192
|
/** @internal */
|
|
1111
|
-
export const
|
|
1193
|
+
export const PutFirewallConfigRulesAlgo$outboundSchema = PutFirewallConfigRulesAlgo$inboundSchema;
|
|
1112
1194
|
/** @internal */
|
|
1113
|
-
export const
|
|
1195
|
+
export const PutFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema = z.nativeEnum(PutFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyAction);
|
|
1114
1196
|
/** @internal */
|
|
1115
|
-
export const
|
|
1197
|
+
export const PutFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyAction$outboundSchema = PutFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema;
|
|
1116
1198
|
/** @internal */
|
|
1117
|
-
export const
|
|
1118
|
-
algo:
|
|
1199
|
+
export const PutFirewallConfigRulesRateLimit$inboundSchema = z.object({
|
|
1200
|
+
algo: PutFirewallConfigRulesAlgo$inboundSchema,
|
|
1119
1201
|
window: z.number(),
|
|
1120
1202
|
limit: z.number(),
|
|
1121
1203
|
keys: z.array(z.string()),
|
|
1122
|
-
action: z.nullable(
|
|
1204
|
+
action: z.nullable(PutFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema).optional(),
|
|
1123
1205
|
});
|
|
1124
1206
|
/** @internal */
|
|
1125
|
-
export const
|
|
1126
|
-
algo:
|
|
1207
|
+
export const PutFirewallConfigRulesRateLimit$outboundSchema = z.object({
|
|
1208
|
+
algo: PutFirewallConfigRulesAlgo$outboundSchema,
|
|
1127
1209
|
window: z.number(),
|
|
1128
1210
|
limit: z.number(),
|
|
1129
1211
|
keys: z.array(z.string()),
|
|
1130
|
-
action: z.nullable(
|
|
1212
|
+
action: z.nullable(PutFirewallConfigRulesSecurityResponse200ApplicationJSONResponseBodyAction$outboundSchema).optional(),
|
|
1131
1213
|
});
|
|
1132
|
-
export function
|
|
1133
|
-
return JSON.stringify(
|
|
1214
|
+
export function putFirewallConfigRulesRateLimitToJSON(putFirewallConfigRulesRateLimit) {
|
|
1215
|
+
return JSON.stringify(PutFirewallConfigRulesRateLimit$outboundSchema.parse(putFirewallConfigRulesRateLimit));
|
|
1134
1216
|
}
|
|
1135
|
-
export function
|
|
1136
|
-
return safeParse(jsonString, (x) =>
|
|
1217
|
+
export function putFirewallConfigRulesRateLimitFromJSON(jsonString) {
|
|
1218
|
+
return safeParse(jsonString, (x) => PutFirewallConfigRulesRateLimit$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PutFirewallConfigRulesRateLimit' from JSON`);
|
|
1137
1219
|
}
|
|
1138
1220
|
/** @internal */
|
|
1139
|
-
export const
|
|
1221
|
+
export const PutFirewallConfigRulesRedirect$inboundSchema = z.object({
|
|
1140
1222
|
location: z.string(),
|
|
1141
1223
|
permanent: z.boolean(),
|
|
1142
1224
|
});
|
|
1143
1225
|
/** @internal */
|
|
1144
|
-
export const
|
|
1226
|
+
export const PutFirewallConfigRulesRedirect$outboundSchema = z.object({
|
|
1145
1227
|
location: z.string(),
|
|
1146
1228
|
permanent: z.boolean(),
|
|
1147
1229
|
});
|
|
1148
|
-
export function
|
|
1149
|
-
return JSON.stringify(
|
|
1230
|
+
export function putFirewallConfigRulesRedirectToJSON(putFirewallConfigRulesRedirect) {
|
|
1231
|
+
return JSON.stringify(PutFirewallConfigRulesRedirect$outboundSchema.parse(putFirewallConfigRulesRedirect));
|
|
1150
1232
|
}
|
|
1151
|
-
export function
|
|
1152
|
-
return safeParse(jsonString, (x) =>
|
|
1233
|
+
export function putFirewallConfigRulesRedirectFromJSON(jsonString) {
|
|
1234
|
+
return safeParse(jsonString, (x) => PutFirewallConfigRulesRedirect$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PutFirewallConfigRulesRedirect' from JSON`);
|
|
1153
1235
|
}
|
|
1154
1236
|
/** @internal */
|
|
1155
|
-
export const
|
|
1156
|
-
action:
|
|
1157
|
-
rateLimit: z.nullable(z.lazy(() =>
|
|
1158
|
-
|
|
1159
|
-
redirect: z.nullable(z.lazy(() => PutFirewallConfigRedirect$inboundSchema))
|
|
1160
|
-
.optional(),
|
|
1237
|
+
export const PutFirewallConfigRulesMitigate$inboundSchema = z.object({
|
|
1238
|
+
action: PutFirewallConfigRulesSecurityResponse200Action$inboundSchema,
|
|
1239
|
+
rateLimit: z.nullable(z.lazy(() => PutFirewallConfigRulesRateLimit$inboundSchema)).optional(),
|
|
1240
|
+
redirect: z.nullable(z.lazy(() => PutFirewallConfigRulesRedirect$inboundSchema)).optional(),
|
|
1161
1241
|
actionDuration: z.nullable(z.string()).optional(),
|
|
1162
1242
|
bypassSystem: z.nullable(z.boolean()).optional(),
|
|
1163
1243
|
});
|
|
1164
1244
|
/** @internal */
|
|
1165
|
-
export const
|
|
1166
|
-
action:
|
|
1167
|
-
rateLimit: z.nullable(z.lazy(() =>
|
|
1245
|
+
export const PutFirewallConfigRulesMitigate$outboundSchema = z.object({
|
|
1246
|
+
action: PutFirewallConfigRulesSecurityResponse200Action$outboundSchema,
|
|
1247
|
+
rateLimit: z.nullable(z.lazy(() => PutFirewallConfigRulesRateLimit$outboundSchema)).optional(),
|
|
1248
|
+
redirect: z.nullable(z.lazy(() => PutFirewallConfigRulesRedirect$outboundSchema)).optional(),
|
|
1249
|
+
actionDuration: z.nullable(z.string()).optional(),
|
|
1250
|
+
bypassSystem: z.nullable(z.boolean()).optional(),
|
|
1251
|
+
});
|
|
1252
|
+
export function putFirewallConfigRulesMitigateToJSON(putFirewallConfigRulesMitigate) {
|
|
1253
|
+
return JSON.stringify(PutFirewallConfigRulesMitigate$outboundSchema.parse(putFirewallConfigRulesMitigate));
|
|
1254
|
+
}
|
|
1255
|
+
export function putFirewallConfigRulesMitigateFromJSON(jsonString) {
|
|
1256
|
+
return safeParse(jsonString, (x) => PutFirewallConfigRulesMitigate$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PutFirewallConfigRulesMitigate' from JSON`);
|
|
1257
|
+
}
|
|
1258
|
+
/** @internal */
|
|
1259
|
+
export const PutFirewallConfigRulesAction$inboundSchema = z.object({
|
|
1260
|
+
mitigate: z.lazy(() => PutFirewallConfigRulesMitigate$inboundSchema)
|
|
1168
1261
|
.optional(),
|
|
1169
|
-
|
|
1262
|
+
});
|
|
1263
|
+
/** @internal */
|
|
1264
|
+
export const PutFirewallConfigRulesAction$outboundSchema = z.object({
|
|
1265
|
+
mitigate: z.lazy(() => PutFirewallConfigRulesMitigate$outboundSchema)
|
|
1170
1266
|
.optional(),
|
|
1267
|
+
});
|
|
1268
|
+
export function putFirewallConfigRulesActionToJSON(putFirewallConfigRulesAction) {
|
|
1269
|
+
return JSON.stringify(PutFirewallConfigRulesAction$outboundSchema.parse(putFirewallConfigRulesAction));
|
|
1270
|
+
}
|
|
1271
|
+
export function putFirewallConfigRulesActionFromJSON(jsonString) {
|
|
1272
|
+
return safeParse(jsonString, (x) => PutFirewallConfigRulesAction$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PutFirewallConfigRulesAction' from JSON`);
|
|
1273
|
+
}
|
|
1274
|
+
/** @internal */
|
|
1275
|
+
export const PutFirewallConfigRules2$inboundSchema = z.object({
|
|
1276
|
+
id: z.string(),
|
|
1277
|
+
name: z.string(),
|
|
1278
|
+
description: z.string().optional(),
|
|
1279
|
+
active: z.boolean(),
|
|
1280
|
+
conditionGroup: z.array(z.lazy(() => PutFirewallConfigRulesConditionGroup$inboundSchema)),
|
|
1281
|
+
action: z.lazy(() => PutFirewallConfigRulesAction$inboundSchema),
|
|
1282
|
+
valid: z.boolean(),
|
|
1283
|
+
validationErrors: z.array(z.string()),
|
|
1284
|
+
});
|
|
1285
|
+
/** @internal */
|
|
1286
|
+
export const PutFirewallConfigRules2$outboundSchema = z.object({
|
|
1287
|
+
id: z.string(),
|
|
1288
|
+
name: z.string(),
|
|
1289
|
+
description: z.string().optional(),
|
|
1290
|
+
active: z.boolean(),
|
|
1291
|
+
conditionGroup: z.array(z.lazy(() => PutFirewallConfigRulesConditionGroup$outboundSchema)),
|
|
1292
|
+
action: z.lazy(() => PutFirewallConfigRulesAction$outboundSchema),
|
|
1293
|
+
valid: z.boolean(),
|
|
1294
|
+
validationErrors: z.array(z.string()),
|
|
1295
|
+
});
|
|
1296
|
+
export function putFirewallConfigRules2ToJSON(putFirewallConfigRules2) {
|
|
1297
|
+
return JSON.stringify(PutFirewallConfigRules2$outboundSchema.parse(putFirewallConfigRules2));
|
|
1298
|
+
}
|
|
1299
|
+
export function putFirewallConfigRules2FromJSON(jsonString) {
|
|
1300
|
+
return safeParse(jsonString, (x) => PutFirewallConfigRules2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PutFirewallConfigRules2' from JSON`);
|
|
1301
|
+
}
|
|
1302
|
+
/** @internal */
|
|
1303
|
+
export const PutFirewallConfigRulesSecurityType$inboundSchema = z.nativeEnum(PutFirewallConfigRulesSecurityType);
|
|
1304
|
+
/** @internal */
|
|
1305
|
+
export const PutFirewallConfigRulesSecurityType$outboundSchema = PutFirewallConfigRulesSecurityType$inboundSchema;
|
|
1306
|
+
/** @internal */
|
|
1307
|
+
export const PutFirewallConfigRulesSecurityOp$inboundSchema = z.nativeEnum(PutFirewallConfigRulesSecurityOp);
|
|
1308
|
+
/** @internal */
|
|
1309
|
+
export const PutFirewallConfigRulesSecurityOp$outboundSchema = PutFirewallConfigRulesSecurityOp$inboundSchema;
|
|
1310
|
+
/** @internal */
|
|
1311
|
+
export const PutFirewallConfigRulesSecurityValue$inboundSchema = z.union([z.string(), z.number(), z.array(z.string())]);
|
|
1312
|
+
/** @internal */
|
|
1313
|
+
export const PutFirewallConfigRulesSecurityValue$outboundSchema = z.union([z.string(), z.number(), z.array(z.string())]);
|
|
1314
|
+
export function putFirewallConfigRulesSecurityValueToJSON(putFirewallConfigRulesSecurityValue) {
|
|
1315
|
+
return JSON.stringify(PutFirewallConfigRulesSecurityValue$outboundSchema.parse(putFirewallConfigRulesSecurityValue));
|
|
1316
|
+
}
|
|
1317
|
+
export function putFirewallConfigRulesSecurityValueFromJSON(jsonString) {
|
|
1318
|
+
return safeParse(jsonString, (x) => PutFirewallConfigRulesSecurityValue$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PutFirewallConfigRulesSecurityValue' from JSON`);
|
|
1319
|
+
}
|
|
1320
|
+
/** @internal */
|
|
1321
|
+
export const PutFirewallConfigRulesSecurityConditions$inboundSchema = z.object({
|
|
1322
|
+
type: PutFirewallConfigRulesSecurityType$inboundSchema,
|
|
1323
|
+
op: PutFirewallConfigRulesSecurityOp$inboundSchema,
|
|
1324
|
+
neg: z.boolean().optional(),
|
|
1325
|
+
key: z.string().optional(),
|
|
1326
|
+
value: z.union([z.string(), z.number(), z.array(z.string())]).optional(),
|
|
1327
|
+
});
|
|
1328
|
+
/** @internal */
|
|
1329
|
+
export const PutFirewallConfigRulesSecurityConditions$outboundSchema = z.object({
|
|
1330
|
+
type: PutFirewallConfigRulesSecurityType$outboundSchema,
|
|
1331
|
+
op: PutFirewallConfigRulesSecurityOp$outboundSchema,
|
|
1332
|
+
neg: z.boolean().optional(),
|
|
1333
|
+
key: z.string().optional(),
|
|
1334
|
+
value: z.union([z.string(), z.number(), z.array(z.string())]).optional(),
|
|
1335
|
+
});
|
|
1336
|
+
export function putFirewallConfigRulesSecurityConditionsToJSON(putFirewallConfigRulesSecurityConditions) {
|
|
1337
|
+
return JSON.stringify(PutFirewallConfigRulesSecurityConditions$outboundSchema.parse(putFirewallConfigRulesSecurityConditions));
|
|
1338
|
+
}
|
|
1339
|
+
export function putFirewallConfigRulesSecurityConditionsFromJSON(jsonString) {
|
|
1340
|
+
return safeParse(jsonString, (x) => PutFirewallConfigRulesSecurityConditions$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PutFirewallConfigRulesSecurityConditions' from JSON`);
|
|
1341
|
+
}
|
|
1342
|
+
/** @internal */
|
|
1343
|
+
export const PutFirewallConfigRulesSecurityConditionGroup$inboundSchema = z.object({
|
|
1344
|
+
conditions: z.array(z.lazy(() => PutFirewallConfigRulesSecurityConditions$inboundSchema)),
|
|
1345
|
+
});
|
|
1346
|
+
/** @internal */
|
|
1347
|
+
export const PutFirewallConfigRulesSecurityConditionGroup$outboundSchema = z.object({
|
|
1348
|
+
conditions: z.array(z.lazy(() => PutFirewallConfigRulesSecurityConditions$outboundSchema)),
|
|
1349
|
+
});
|
|
1350
|
+
export function putFirewallConfigRulesSecurityConditionGroupToJSON(putFirewallConfigRulesSecurityConditionGroup) {
|
|
1351
|
+
return JSON.stringify(PutFirewallConfigRulesSecurityConditionGroup$outboundSchema.parse(putFirewallConfigRulesSecurityConditionGroup));
|
|
1352
|
+
}
|
|
1353
|
+
export function putFirewallConfigRulesSecurityConditionGroupFromJSON(jsonString) {
|
|
1354
|
+
return safeParse(jsonString, (x) => PutFirewallConfigRulesSecurityConditionGroup$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PutFirewallConfigRulesSecurityConditionGroup' from JSON`);
|
|
1355
|
+
}
|
|
1356
|
+
/** @internal */
|
|
1357
|
+
export const PutFirewallConfigRulesSecurityResponseAction$inboundSchema = z
|
|
1358
|
+
.nativeEnum(PutFirewallConfigRulesSecurityResponseAction);
|
|
1359
|
+
/** @internal */
|
|
1360
|
+
export const PutFirewallConfigRulesSecurityResponseAction$outboundSchema = PutFirewallConfigRulesSecurityResponseAction$inboundSchema;
|
|
1361
|
+
/** @internal */
|
|
1362
|
+
export const PutFirewallConfigRulesSecurityAlgo$inboundSchema = z.nativeEnum(PutFirewallConfigRulesSecurityAlgo);
|
|
1363
|
+
/** @internal */
|
|
1364
|
+
export const PutFirewallConfigRulesSecurityAlgo$outboundSchema = PutFirewallConfigRulesSecurityAlgo$inboundSchema;
|
|
1365
|
+
/** @internal */
|
|
1366
|
+
export const PutFirewallConfigRulesSecurityResponse200ApplicationJSONAction$inboundSchema = z.nativeEnum(PutFirewallConfigRulesSecurityResponse200ApplicationJSONAction);
|
|
1367
|
+
/** @internal */
|
|
1368
|
+
export const PutFirewallConfigRulesSecurityResponse200ApplicationJSONAction$outboundSchema = PutFirewallConfigRulesSecurityResponse200ApplicationJSONAction$inboundSchema;
|
|
1369
|
+
/** @internal */
|
|
1370
|
+
export const PutFirewallConfigRulesSecurityRateLimit$inboundSchema = z.object({
|
|
1371
|
+
algo: PutFirewallConfigRulesSecurityAlgo$inboundSchema,
|
|
1372
|
+
window: z.number(),
|
|
1373
|
+
limit: z.number(),
|
|
1374
|
+
keys: z.array(z.string()),
|
|
1375
|
+
action: z.nullable(PutFirewallConfigRulesSecurityResponse200ApplicationJSONAction$inboundSchema).optional(),
|
|
1376
|
+
});
|
|
1377
|
+
/** @internal */
|
|
1378
|
+
export const PutFirewallConfigRulesSecurityRateLimit$outboundSchema = z.object({
|
|
1379
|
+
algo: PutFirewallConfigRulesSecurityAlgo$outboundSchema,
|
|
1380
|
+
window: z.number(),
|
|
1381
|
+
limit: z.number(),
|
|
1382
|
+
keys: z.array(z.string()),
|
|
1383
|
+
action: z.nullable(PutFirewallConfigRulesSecurityResponse200ApplicationJSONAction$outboundSchema).optional(),
|
|
1384
|
+
});
|
|
1385
|
+
export function putFirewallConfigRulesSecurityRateLimitToJSON(putFirewallConfigRulesSecurityRateLimit) {
|
|
1386
|
+
return JSON.stringify(PutFirewallConfigRulesSecurityRateLimit$outboundSchema.parse(putFirewallConfigRulesSecurityRateLimit));
|
|
1387
|
+
}
|
|
1388
|
+
export function putFirewallConfigRulesSecurityRateLimitFromJSON(jsonString) {
|
|
1389
|
+
return safeParse(jsonString, (x) => PutFirewallConfigRulesSecurityRateLimit$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PutFirewallConfigRulesSecurityRateLimit' from JSON`);
|
|
1390
|
+
}
|
|
1391
|
+
/** @internal */
|
|
1392
|
+
export const PutFirewallConfigRulesSecurityRedirect$inboundSchema = z.object({
|
|
1393
|
+
location: z.string(),
|
|
1394
|
+
permanent: z.boolean(),
|
|
1395
|
+
});
|
|
1396
|
+
/** @internal */
|
|
1397
|
+
export const PutFirewallConfigRulesSecurityRedirect$outboundSchema = z.object({
|
|
1398
|
+
location: z.string(),
|
|
1399
|
+
permanent: z.boolean(),
|
|
1400
|
+
});
|
|
1401
|
+
export function putFirewallConfigRulesSecurityRedirectToJSON(putFirewallConfigRulesSecurityRedirect) {
|
|
1402
|
+
return JSON.stringify(PutFirewallConfigRulesSecurityRedirect$outboundSchema.parse(putFirewallConfigRulesSecurityRedirect));
|
|
1403
|
+
}
|
|
1404
|
+
export function putFirewallConfigRulesSecurityRedirectFromJSON(jsonString) {
|
|
1405
|
+
return safeParse(jsonString, (x) => PutFirewallConfigRulesSecurityRedirect$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PutFirewallConfigRulesSecurityRedirect' from JSON`);
|
|
1406
|
+
}
|
|
1407
|
+
/** @internal */
|
|
1408
|
+
export const PutFirewallConfigRulesSecurityMitigate$inboundSchema = z.object({
|
|
1409
|
+
action: PutFirewallConfigRulesSecurityResponseAction$inboundSchema,
|
|
1410
|
+
rateLimit: z.nullable(z.lazy(() => PutFirewallConfigRulesSecurityRateLimit$inboundSchema)).optional(),
|
|
1411
|
+
redirect: z.nullable(z.lazy(() => PutFirewallConfigRulesSecurityRedirect$inboundSchema)).optional(),
|
|
1171
1412
|
actionDuration: z.nullable(z.string()).optional(),
|
|
1172
1413
|
bypassSystem: z.nullable(z.boolean()).optional(),
|
|
1173
1414
|
});
|
|
1174
|
-
|
|
1175
|
-
|
|
1415
|
+
/** @internal */
|
|
1416
|
+
export const PutFirewallConfigRulesSecurityMitigate$outboundSchema = z.object({
|
|
1417
|
+
action: PutFirewallConfigRulesSecurityResponseAction$outboundSchema,
|
|
1418
|
+
rateLimit: z.nullable(z.lazy(() => PutFirewallConfigRulesSecurityRateLimit$outboundSchema)).optional(),
|
|
1419
|
+
redirect: z.nullable(z.lazy(() => PutFirewallConfigRulesSecurityRedirect$outboundSchema)).optional(),
|
|
1420
|
+
actionDuration: z.nullable(z.string()).optional(),
|
|
1421
|
+
bypassSystem: z.nullable(z.boolean()).optional(),
|
|
1422
|
+
});
|
|
1423
|
+
export function putFirewallConfigRulesSecurityMitigateToJSON(putFirewallConfigRulesSecurityMitigate) {
|
|
1424
|
+
return JSON.stringify(PutFirewallConfigRulesSecurityMitigate$outboundSchema.parse(putFirewallConfigRulesSecurityMitigate));
|
|
1176
1425
|
}
|
|
1177
|
-
export function
|
|
1178
|
-
return safeParse(jsonString, (x) =>
|
|
1426
|
+
export function putFirewallConfigRulesSecurityMitigateFromJSON(jsonString) {
|
|
1427
|
+
return safeParse(jsonString, (x) => PutFirewallConfigRulesSecurityMitigate$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PutFirewallConfigRulesSecurityMitigate' from JSON`);
|
|
1179
1428
|
}
|
|
1180
1429
|
/** @internal */
|
|
1181
|
-
export const
|
|
1182
|
-
mitigate: z.lazy(() =>
|
|
1430
|
+
export const PutFirewallConfigRulesSecurityAction$inboundSchema = z.object({
|
|
1431
|
+
mitigate: z.lazy(() => PutFirewallConfigRulesSecurityMitigate$inboundSchema)
|
|
1432
|
+
.optional(),
|
|
1183
1433
|
});
|
|
1184
1434
|
/** @internal */
|
|
1185
|
-
export const
|
|
1186
|
-
mitigate: z.lazy(() =>
|
|
1435
|
+
export const PutFirewallConfigRulesSecurityAction$outboundSchema = z.object({
|
|
1436
|
+
mitigate: z.lazy(() => PutFirewallConfigRulesSecurityMitigate$outboundSchema)
|
|
1437
|
+
.optional(),
|
|
1187
1438
|
});
|
|
1188
|
-
export function
|
|
1189
|
-
return JSON.stringify(
|
|
1439
|
+
export function putFirewallConfigRulesSecurityActionToJSON(putFirewallConfigRulesSecurityAction) {
|
|
1440
|
+
return JSON.stringify(PutFirewallConfigRulesSecurityAction$outboundSchema.parse(putFirewallConfigRulesSecurityAction));
|
|
1190
1441
|
}
|
|
1191
|
-
export function
|
|
1192
|
-
return safeParse(jsonString, (x) =>
|
|
1442
|
+
export function putFirewallConfigRulesSecurityActionFromJSON(jsonString) {
|
|
1443
|
+
return safeParse(jsonString, (x) => PutFirewallConfigRulesSecurityAction$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PutFirewallConfigRulesSecurityAction' from JSON`);
|
|
1193
1444
|
}
|
|
1194
1445
|
/** @internal */
|
|
1195
|
-
export const
|
|
1446
|
+
export const PutFirewallConfigRules1$inboundSchema = z.object({
|
|
1196
1447
|
id: z.string(),
|
|
1197
1448
|
name: z.string(),
|
|
1198
1449
|
description: z.string().optional(),
|
|
1199
1450
|
active: z.boolean(),
|
|
1200
|
-
conditionGroup: z.array(z.lazy(() =>
|
|
1201
|
-
action: z.lazy(() =>
|
|
1451
|
+
conditionGroup: z.array(z.lazy(() => PutFirewallConfigRulesSecurityConditionGroup$inboundSchema)),
|
|
1452
|
+
action: z.lazy(() => PutFirewallConfigRulesSecurityAction$inboundSchema),
|
|
1453
|
+
valid: z.boolean(),
|
|
1454
|
+
validationErrors: z.nullable(z.any()).optional(),
|
|
1202
1455
|
});
|
|
1203
1456
|
/** @internal */
|
|
1204
|
-
export const
|
|
1457
|
+
export const PutFirewallConfigRules1$outboundSchema = z.object({
|
|
1205
1458
|
id: z.string(),
|
|
1206
1459
|
name: z.string(),
|
|
1207
1460
|
description: z.string().optional(),
|
|
1208
1461
|
active: z.boolean(),
|
|
1209
|
-
conditionGroup: z.array(z.lazy(() =>
|
|
1210
|
-
action: z.lazy(() =>
|
|
1462
|
+
conditionGroup: z.array(z.lazy(() => PutFirewallConfigRulesSecurityConditionGroup$outboundSchema)),
|
|
1463
|
+
action: z.lazy(() => PutFirewallConfigRulesSecurityAction$outboundSchema),
|
|
1464
|
+
valid: z.boolean(),
|
|
1465
|
+
validationErrors: z.nullable(z.any()).optional(),
|
|
1211
1466
|
});
|
|
1467
|
+
export function putFirewallConfigRules1ToJSON(putFirewallConfigRules1) {
|
|
1468
|
+
return JSON.stringify(PutFirewallConfigRules1$outboundSchema.parse(putFirewallConfigRules1));
|
|
1469
|
+
}
|
|
1470
|
+
export function putFirewallConfigRules1FromJSON(jsonString) {
|
|
1471
|
+
return safeParse(jsonString, (x) => PutFirewallConfigRules1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PutFirewallConfigRules1' from JSON`);
|
|
1472
|
+
}
|
|
1473
|
+
/** @internal */
|
|
1474
|
+
export const PutFirewallConfigSecurityRules$inboundSchema = z.union([
|
|
1475
|
+
z.lazy(() => PutFirewallConfigRules1$inboundSchema),
|
|
1476
|
+
z.lazy(() => PutFirewallConfigRules2$inboundSchema),
|
|
1477
|
+
]);
|
|
1478
|
+
/** @internal */
|
|
1479
|
+
export const PutFirewallConfigSecurityRules$outboundSchema = z.union([
|
|
1480
|
+
z.lazy(() => PutFirewallConfigRules1$outboundSchema),
|
|
1481
|
+
z.lazy(() => PutFirewallConfigRules2$outboundSchema),
|
|
1482
|
+
]);
|
|
1212
1483
|
export function putFirewallConfigSecurityRulesToJSON(putFirewallConfigSecurityRules) {
|
|
1213
1484
|
return JSON.stringify(PutFirewallConfigSecurityRules$outboundSchema.parse(putFirewallConfigSecurityRules));
|
|
1214
1485
|
}
|
|
@@ -1216,17 +1487,17 @@ export function putFirewallConfigSecurityRulesFromJSON(jsonString) {
|
|
|
1216
1487
|
return safeParse(jsonString, (x) => PutFirewallConfigSecurityRules$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PutFirewallConfigSecurityRules' from JSON`);
|
|
1217
1488
|
}
|
|
1218
1489
|
/** @internal */
|
|
1219
|
-
export const
|
|
1220
|
-
.nativeEnum(
|
|
1490
|
+
export const PutFirewallConfigSecurityResponseAction$inboundSchema = z
|
|
1491
|
+
.nativeEnum(PutFirewallConfigSecurityResponseAction);
|
|
1221
1492
|
/** @internal */
|
|
1222
|
-
export const
|
|
1493
|
+
export const PutFirewallConfigSecurityResponseAction$outboundSchema = PutFirewallConfigSecurityResponseAction$inboundSchema;
|
|
1223
1494
|
/** @internal */
|
|
1224
1495
|
export const PutFirewallConfigIps$inboundSchema = z.object({
|
|
1225
1496
|
id: z.string(),
|
|
1226
1497
|
hostname: z.string(),
|
|
1227
1498
|
ip: z.string(),
|
|
1228
1499
|
notes: z.string().optional(),
|
|
1229
|
-
action:
|
|
1500
|
+
action: PutFirewallConfigSecurityResponseAction$inboundSchema,
|
|
1230
1501
|
});
|
|
1231
1502
|
/** @internal */
|
|
1232
1503
|
export const PutFirewallConfigIps$outboundSchema = z.object({
|
|
@@ -1234,7 +1505,7 @@ export const PutFirewallConfigIps$outboundSchema = z.object({
|
|
|
1234
1505
|
hostname: z.string(),
|
|
1235
1506
|
ip: z.string(),
|
|
1236
1507
|
notes: z.string().optional(),
|
|
1237
|
-
action:
|
|
1508
|
+
action: PutFirewallConfigSecurityResponseAction$outboundSchema,
|
|
1238
1509
|
});
|
|
1239
1510
|
export function putFirewallConfigIpsToJSON(putFirewallConfigIps) {
|
|
1240
1511
|
return JSON.stringify(PutFirewallConfigIps$outboundSchema.parse(putFirewallConfigIps));
|
|
@@ -1376,7 +1647,10 @@ export const Active$inboundSchema = z
|
|
|
1376
1647
|
updatedAt: z.string(),
|
|
1377
1648
|
firewallEnabled: z.boolean(),
|
|
1378
1649
|
crs: z.lazy(() => PutFirewallConfigCrs$inboundSchema),
|
|
1379
|
-
rules: z.array(z.
|
|
1650
|
+
rules: z.array(z.union([
|
|
1651
|
+
z.lazy(() => PutFirewallConfigRules1$inboundSchema),
|
|
1652
|
+
z.lazy(() => PutFirewallConfigRules2$inboundSchema),
|
|
1653
|
+
])),
|
|
1380
1654
|
ips: z.array(z.lazy(() => PutFirewallConfigIps$inboundSchema)),
|
|
1381
1655
|
changes: z.array(z.lazy(() => PutFirewallConfigChanges$inboundSchema)),
|
|
1382
1656
|
managedRules: z.lazy(() => PutFirewallConfigManagedRules$inboundSchema)
|
|
@@ -1392,7 +1666,10 @@ export const Active$outboundSchema = z.object({
|
|
|
1392
1666
|
updatedAt: z.string(),
|
|
1393
1667
|
firewallEnabled: z.boolean(),
|
|
1394
1668
|
crs: z.lazy(() => PutFirewallConfigCrs$outboundSchema),
|
|
1395
|
-
rules: z.array(z.
|
|
1669
|
+
rules: z.array(z.union([
|
|
1670
|
+
z.lazy(() => PutFirewallConfigRules1$outboundSchema),
|
|
1671
|
+
z.lazy(() => PutFirewallConfigRules2$outboundSchema),
|
|
1672
|
+
])),
|
|
1396
1673
|
ips: z.array(z.lazy(() => PutFirewallConfigIps$outboundSchema)),
|
|
1397
1674
|
changes: z.array(z.lazy(() => PutFirewallConfigChanges$outboundSchema)),
|
|
1398
1675
|
managedRules: z.lazy(() => PutFirewallConfigManagedRules$outboundSchema)
|