@vercel/sdk 1.18.1 → 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 +75 -80
- package/bin/mcp-server.js +4746 -2929
- package/bin/mcp-server.js.map +63 -45
- package/esm/__tests__/domains.test.js +12 -65
- 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 +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/integrationsGetBillingPlans.js +1 -0
- package/esm/funcs/integrationsGetBillingPlans.js.map +1 -1
- 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 -5
- 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/authuser.d.ts +5 -0
- package/esm/models/authuser.d.ts.map +1 -1
- package/esm/models/authuser.js +2 -0
- package/esm/models/authuser.js.map +1 -1
- package/esm/models/canceldeploymentop.d.ts +48 -2
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +44 -2
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +48 -2
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +48 -2
- 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 +222 -152
- package/esm/models/createintegrationstoredirectop.d.ts.map +1 -1
- package/esm/models/createintegrationstoredirectop.js +298 -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 +138 -6
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +126 -6
- 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/getbillingplansop.d.ts +2 -0
- package/esm/models/getbillingplansop.d.ts.map +1 -1
- package/esm/models/getbillingplansop.js +2 -0
- package/esm/models/getbillingplansop.js.map +1 -1
- package/esm/models/getconfigurationop.d.ts +61 -1
- package/esm/models/getconfigurationop.d.ts.map +1 -1
- package/esm/models/getconfigurationop.js +44 -1
- package/esm/models/getconfigurationop.js.map +1 -1
- package/esm/models/getconfigurationproductsop.d.ts +200 -200
- package/esm/models/getconfigurationproductsop.js +290 -290
- package/esm/models/getconfigurationsop.d.ts +61 -0
- package/esm/models/getconfigurationsop.d.ts.map +1 -1
- package/esm/models/getconfigurationsop.js +44 -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 +94 -4
- package/esm/models/getdeploymentop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.js +86 -4
- 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/getorderop.d.ts +126 -42
- package/esm/models/getorderop.d.ts.map +1 -1
- package/esm/models/getorderop.js +138 -24
- package/esm/models/getorderop.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 +109 -6
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +97 -6
- 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/updateinstallationop.d.ts +18 -0
- package/esm/models/updateinstallationop.d.ts.map +1 -1
- package/esm/models/updateinstallationop.js +17 -0
- package/esm/models/updateinstallationop.js.map +1 -1
- package/esm/models/updateprojectdatacacheop.d.ts +124 -21
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +118 -24
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +138 -6
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +126 -6
- 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 +792 -966
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +1047 -1248
- package/esm/models/userevent.js.map +1 -1
- package/esm/sdk/domains.d.ts +0 -16
- package/esm/sdk/domains.d.ts.map +1 -1
- package/esm/sdk/domains.js +0 -20
- 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 +16 -70
- 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/integrationsGetBillingPlans.ts +1 -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 -5
- 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/authuser.ts +7 -0
- package/src/models/canceldeploymentop.ts +133 -4
- package/src/models/createdeploymentop.ts +116 -4
- package/src/models/createedgeconfigop.ts +7 -0
- package/src/models/createintegrationstoredirectop.ts +708 -471
- package/src/models/createortransferdomainop.ts +0 -83
- package/src/models/createprojectop.ts +346 -12
- package/src/models/createwebhookop.ts +4 -2
- package/src/models/deletev1bulkredirectsop.ts +267 -0
- package/src/models/getbillingplansop.ts +4 -0
- package/src/models/getconfigurationop.ts +87 -1
- package/src/models/getconfigurationproductsop.ts +627 -627
- package/src/models/getconfigurationsop.ts +87 -0
- package/src/models/getdeploymenteventsop.ts +17 -13
- package/src/models/getdeploymentop.ts +271 -8
- package/src/models/getedgeconfigop.ts +7 -0
- package/src/models/getfirewallconfigop.ts +835 -274
- package/src/models/getorderop.ts +469 -112
- package/src/models/getprojectdomainsop.ts +11 -9
- package/src/models/getprojectsop.ts +260 -12
- 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/updateinstallationop.ts +30 -0
- package/src/models/updateprojectdatacacheop.ts +322 -63
- package/src/models/updateprojectop.ts +346 -12
- package/src/models/updateprojectprotectionbypassop.ts +84 -0
- package/src/models/userevent.ts +2415 -2887
- package/src/sdk/domains.ts +0 -41
- package/src/sdk/sdk.ts +132 -1
- package/src/sdk/teams.ts +22 -0
- package/vercel-spec.json +3260 -1294
- 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
|
@@ -29,17 +29,17 @@ export type GetFirewallConfigSd = {
|
|
|
29
29
|
active: boolean;
|
|
30
30
|
action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction;
|
|
31
31
|
};
|
|
32
|
-
export declare const
|
|
32
|
+
export declare const GetFirewallConfigSecurityAction: {
|
|
33
33
|
readonly Deny: "deny";
|
|
34
34
|
readonly Log: "log";
|
|
35
35
|
};
|
|
36
|
-
export type
|
|
36
|
+
export type GetFirewallConfigSecurityAction = ClosedEnum<typeof GetFirewallConfigSecurityAction>;
|
|
37
37
|
/**
|
|
38
38
|
* Multipart Attack - Block attempts to bypass security controls using multipart/form-data encoding.
|
|
39
39
|
*/
|
|
40
40
|
export type GetFirewallConfigMa = {
|
|
41
41
|
active: boolean;
|
|
42
|
-
action:
|
|
42
|
+
action: GetFirewallConfigSecurityAction;
|
|
43
43
|
};
|
|
44
44
|
export declare const GetFirewallConfigSecurityResponseAction: {
|
|
45
45
|
readonly Deny: "deny";
|
|
@@ -198,10 +198,7 @@ export type GetFirewallConfigCrs = {
|
|
|
198
198
|
*/
|
|
199
199
|
java: GetFirewallConfigJava;
|
|
200
200
|
};
|
|
201
|
-
|
|
202
|
-
* [Parameter](https://vercel.com/docs/security/vercel-waf/rule-configuration#parameters) from the incoming traffic.
|
|
203
|
-
*/
|
|
204
|
-
export declare const GetFirewallConfigType: {
|
|
201
|
+
export declare const GetFirewallConfigRulesType: {
|
|
205
202
|
readonly Host: "host";
|
|
206
203
|
readonly Path: "path";
|
|
207
204
|
readonly Method: "method";
|
|
@@ -226,12 +223,11 @@ export declare const GetFirewallConfigType: {
|
|
|
226
223
|
readonly Ja3Digest: "ja3_digest";
|
|
227
224
|
readonly RateLimitApiId: "rate_limit_api_id";
|
|
228
225
|
readonly ServerAction: "server_action";
|
|
226
|
+
readonly BotName: "bot_name";
|
|
227
|
+
readonly BotCategory: "bot_category";
|
|
229
228
|
};
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
*/
|
|
233
|
-
export type GetFirewallConfigType = ClosedEnum<typeof GetFirewallConfigType>;
|
|
234
|
-
export declare const GetFirewallConfigOp: {
|
|
229
|
+
export type GetFirewallConfigRulesType = ClosedEnum<typeof GetFirewallConfigRulesType>;
|
|
230
|
+
export declare const GetFirewallConfigRulesOp: {
|
|
235
231
|
readonly Re: "re";
|
|
236
232
|
readonly Eq: "eq";
|
|
237
233
|
readonly Ex: "ex";
|
|
@@ -247,22 +243,19 @@ export declare const GetFirewallConfigOp: {
|
|
|
247
243
|
readonly Ninc: "ninc";
|
|
248
244
|
readonly Neq: "neq";
|
|
249
245
|
};
|
|
250
|
-
export type
|
|
251
|
-
export type
|
|
252
|
-
export type
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
*/
|
|
256
|
-
type: GetFirewallConfigType;
|
|
257
|
-
op: GetFirewallConfigOp;
|
|
246
|
+
export type GetFirewallConfigRulesOp = ClosedEnum<typeof GetFirewallConfigRulesOp>;
|
|
247
|
+
export type GetFirewallConfigRulesValue = string | number | Array<string>;
|
|
248
|
+
export type GetFirewallConfigRulesConditions = {
|
|
249
|
+
type: GetFirewallConfigRulesType;
|
|
250
|
+
op: GetFirewallConfigRulesOp;
|
|
258
251
|
neg?: boolean | undefined;
|
|
259
252
|
key?: string | undefined;
|
|
260
253
|
value?: string | number | Array<string> | undefined;
|
|
261
254
|
};
|
|
262
|
-
export type
|
|
263
|
-
conditions: Array<
|
|
255
|
+
export type GetFirewallConfigRulesConditionGroup = {
|
|
256
|
+
conditions: Array<GetFirewallConfigRulesConditions>;
|
|
264
257
|
};
|
|
265
|
-
export declare const
|
|
258
|
+
export declare const GetFirewallConfigRulesSecurityAction: {
|
|
266
259
|
readonly Deny: "deny";
|
|
267
260
|
readonly Log: "log";
|
|
268
261
|
readonly Challenge: "challenge";
|
|
@@ -270,61 +263,173 @@ export declare const GetFirewallConfigSecurityResponse200ApplicationJSONResponse
|
|
|
270
263
|
readonly RateLimit: "rate_limit";
|
|
271
264
|
readonly Redirect: "redirect";
|
|
272
265
|
};
|
|
273
|
-
export type
|
|
274
|
-
export declare const
|
|
266
|
+
export type GetFirewallConfigRulesSecurityAction = ClosedEnum<typeof GetFirewallConfigRulesSecurityAction>;
|
|
267
|
+
export declare const GetFirewallConfigRulesAlgo: {
|
|
275
268
|
readonly FixedWindow: "fixed_window";
|
|
276
269
|
readonly TokenBucket: "token_bucket";
|
|
277
270
|
};
|
|
278
|
-
export type
|
|
279
|
-
export declare const
|
|
271
|
+
export type GetFirewallConfigRulesAlgo = ClosedEnum<typeof GetFirewallConfigRulesAlgo>;
|
|
272
|
+
export declare const GetFirewallConfigRulesSecurityResponse200Action: {
|
|
280
273
|
readonly Deny: "deny";
|
|
281
274
|
readonly Log: "log";
|
|
282
275
|
readonly Challenge: "challenge";
|
|
283
276
|
readonly RateLimit: "rate_limit";
|
|
284
277
|
};
|
|
285
|
-
export type
|
|
286
|
-
export type
|
|
287
|
-
algo:
|
|
278
|
+
export type GetFirewallConfigRulesSecurityResponse200Action = ClosedEnum<typeof GetFirewallConfigRulesSecurityResponse200Action>;
|
|
279
|
+
export type GetFirewallConfigRulesRateLimit = {
|
|
280
|
+
algo: GetFirewallConfigRulesAlgo;
|
|
288
281
|
window: number;
|
|
289
282
|
limit: number;
|
|
290
283
|
keys: Array<string>;
|
|
291
|
-
action?:
|
|
284
|
+
action?: GetFirewallConfigRulesSecurityResponse200Action | null | undefined;
|
|
292
285
|
};
|
|
293
|
-
export type
|
|
286
|
+
export type GetFirewallConfigRulesRedirect = {
|
|
294
287
|
location: string;
|
|
295
288
|
permanent: boolean;
|
|
296
289
|
};
|
|
297
|
-
export type
|
|
298
|
-
action:
|
|
299
|
-
rateLimit?:
|
|
300
|
-
redirect?:
|
|
290
|
+
export type GetFirewallConfigRulesMitigate = {
|
|
291
|
+
action: GetFirewallConfigRulesSecurityAction;
|
|
292
|
+
rateLimit?: GetFirewallConfigRulesRateLimit | null | undefined;
|
|
293
|
+
redirect?: GetFirewallConfigRulesRedirect | null | undefined;
|
|
301
294
|
actionDuration?: string | null | undefined;
|
|
302
295
|
bypassSystem?: boolean | null | undefined;
|
|
303
296
|
};
|
|
304
|
-
export type
|
|
305
|
-
mitigate?:
|
|
297
|
+
export type GetFirewallConfigRulesAction = {
|
|
298
|
+
mitigate?: GetFirewallConfigRulesMitigate | undefined;
|
|
306
299
|
};
|
|
307
|
-
export type
|
|
300
|
+
export type Rules2 = {
|
|
308
301
|
id: string;
|
|
309
302
|
name: string;
|
|
310
303
|
description?: string | undefined;
|
|
311
304
|
active: boolean;
|
|
312
|
-
conditionGroup: Array<
|
|
313
|
-
action:
|
|
305
|
+
conditionGroup: Array<GetFirewallConfigRulesConditionGroup>;
|
|
306
|
+
action: GetFirewallConfigRulesAction;
|
|
307
|
+
valid: boolean;
|
|
308
|
+
validationErrors: Array<string>;
|
|
314
309
|
};
|
|
315
|
-
export declare const
|
|
310
|
+
export declare const RulesType: {
|
|
311
|
+
readonly Host: "host";
|
|
312
|
+
readonly Path: "path";
|
|
313
|
+
readonly Method: "method";
|
|
314
|
+
readonly Header: "header";
|
|
315
|
+
readonly Query: "query";
|
|
316
|
+
readonly Cookie: "cookie";
|
|
317
|
+
readonly TargetPath: "target_path";
|
|
318
|
+
readonly Route: "route";
|
|
319
|
+
readonly RawPath: "raw_path";
|
|
320
|
+
readonly IpAddress: "ip_address";
|
|
321
|
+
readonly Protocol: "protocol";
|
|
322
|
+
readonly Region: "region";
|
|
323
|
+
readonly Scheme: "scheme";
|
|
324
|
+
readonly Environment: "environment";
|
|
325
|
+
readonly UserAgent: "user_agent";
|
|
326
|
+
readonly GeoContinent: "geo_continent";
|
|
327
|
+
readonly GeoCountry: "geo_country";
|
|
328
|
+
readonly GeoCountryRegion: "geo_country_region";
|
|
329
|
+
readonly GeoCity: "geo_city";
|
|
330
|
+
readonly GeoAsNumber: "geo_as_number";
|
|
331
|
+
readonly Ja4Digest: "ja4_digest";
|
|
332
|
+
readonly Ja3Digest: "ja3_digest";
|
|
333
|
+
readonly RateLimitApiId: "rate_limit_api_id";
|
|
334
|
+
readonly ServerAction: "server_action";
|
|
335
|
+
readonly BotName: "bot_name";
|
|
336
|
+
readonly BotCategory: "bot_category";
|
|
337
|
+
};
|
|
338
|
+
export type RulesType = ClosedEnum<typeof RulesType>;
|
|
339
|
+
export declare const RulesOp: {
|
|
340
|
+
readonly Re: "re";
|
|
341
|
+
readonly Eq: "eq";
|
|
342
|
+
readonly Ex: "ex";
|
|
343
|
+
readonly Inc: "inc";
|
|
344
|
+
readonly Pre: "pre";
|
|
345
|
+
readonly Suf: "suf";
|
|
346
|
+
readonly Sub: "sub";
|
|
347
|
+
readonly Gt: "gt";
|
|
348
|
+
readonly Gte: "gte";
|
|
349
|
+
readonly Lt: "lt";
|
|
350
|
+
readonly Lte: "lte";
|
|
351
|
+
readonly Nex: "nex";
|
|
352
|
+
readonly Ninc: "ninc";
|
|
353
|
+
readonly Neq: "neq";
|
|
354
|
+
};
|
|
355
|
+
export type RulesOp = ClosedEnum<typeof RulesOp>;
|
|
356
|
+
export type RulesValue = string | number | Array<string>;
|
|
357
|
+
export type RulesConditions = {
|
|
358
|
+
type: RulesType;
|
|
359
|
+
op: RulesOp;
|
|
360
|
+
neg?: boolean | undefined;
|
|
361
|
+
key?: string | undefined;
|
|
362
|
+
value?: string | number | Array<string> | undefined;
|
|
363
|
+
};
|
|
364
|
+
export type RulesConditionGroup = {
|
|
365
|
+
conditions: Array<RulesConditions>;
|
|
366
|
+
};
|
|
367
|
+
export declare const GetFirewallConfigRulesSecurityResponseAction: {
|
|
316
368
|
readonly Deny: "deny";
|
|
317
369
|
readonly Log: "log";
|
|
318
370
|
readonly Challenge: "challenge";
|
|
319
371
|
readonly Bypass: "bypass";
|
|
372
|
+
readonly RateLimit: "rate_limit";
|
|
373
|
+
readonly Redirect: "redirect";
|
|
320
374
|
};
|
|
321
|
-
export type
|
|
375
|
+
export type GetFirewallConfigRulesSecurityResponseAction = ClosedEnum<typeof GetFirewallConfigRulesSecurityResponseAction>;
|
|
376
|
+
export declare const RulesAlgo: {
|
|
377
|
+
readonly FixedWindow: "fixed_window";
|
|
378
|
+
readonly TokenBucket: "token_bucket";
|
|
379
|
+
};
|
|
380
|
+
export type RulesAlgo = ClosedEnum<typeof RulesAlgo>;
|
|
381
|
+
export declare const GetFirewallConfigRulesSecurityResponse200ApplicationJSONAction: {
|
|
382
|
+
readonly Deny: "deny";
|
|
383
|
+
readonly Log: "log";
|
|
384
|
+
readonly Challenge: "challenge";
|
|
385
|
+
readonly RateLimit: "rate_limit";
|
|
386
|
+
};
|
|
387
|
+
export type GetFirewallConfigRulesSecurityResponse200ApplicationJSONAction = ClosedEnum<typeof GetFirewallConfigRulesSecurityResponse200ApplicationJSONAction>;
|
|
388
|
+
export type RulesRateLimit = {
|
|
389
|
+
algo: RulesAlgo;
|
|
390
|
+
window: number;
|
|
391
|
+
limit: number;
|
|
392
|
+
keys: Array<string>;
|
|
393
|
+
action?: GetFirewallConfigRulesSecurityResponse200ApplicationJSONAction | null | undefined;
|
|
394
|
+
};
|
|
395
|
+
export type RulesRedirect = {
|
|
396
|
+
location: string;
|
|
397
|
+
permanent: boolean;
|
|
398
|
+
};
|
|
399
|
+
export type RulesMitigate = {
|
|
400
|
+
action: GetFirewallConfigRulesSecurityResponseAction;
|
|
401
|
+
rateLimit?: RulesRateLimit | null | undefined;
|
|
402
|
+
redirect?: RulesRedirect | null | undefined;
|
|
403
|
+
actionDuration?: string | null | undefined;
|
|
404
|
+
bypassSystem?: boolean | null | undefined;
|
|
405
|
+
};
|
|
406
|
+
export type RulesAction = {
|
|
407
|
+
mitigate?: RulesMitigate | undefined;
|
|
408
|
+
};
|
|
409
|
+
export type Rules1 = {
|
|
410
|
+
id: string;
|
|
411
|
+
name: string;
|
|
412
|
+
description?: string | undefined;
|
|
413
|
+
active: boolean;
|
|
414
|
+
conditionGroup: Array<RulesConditionGroup>;
|
|
415
|
+
action: RulesAction;
|
|
416
|
+
valid: boolean;
|
|
417
|
+
validationErrors?: any | null | undefined;
|
|
418
|
+
};
|
|
419
|
+
export type GetFirewallConfigRules = Rules1 | Rules2;
|
|
420
|
+
export declare const GetFirewallConfigAction: {
|
|
421
|
+
readonly Deny: "deny";
|
|
422
|
+
readonly Log: "log";
|
|
423
|
+
readonly Challenge: "challenge";
|
|
424
|
+
readonly Bypass: "bypass";
|
|
425
|
+
};
|
|
426
|
+
export type GetFirewallConfigAction = ClosedEnum<typeof GetFirewallConfigAction>;
|
|
322
427
|
export type GetFirewallConfigIps = {
|
|
323
428
|
id: string;
|
|
324
429
|
hostname: string;
|
|
325
430
|
ip: string;
|
|
326
431
|
notes?: string | undefined;
|
|
327
|
-
action:
|
|
432
|
+
action: GetFirewallConfigAction;
|
|
328
433
|
};
|
|
329
434
|
export type Changes = {};
|
|
330
435
|
export declare const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesAction: {
|
|
@@ -385,7 +490,7 @@ export type GetFirewallConfigResponseBody = {
|
|
|
385
490
|
* Custom Ruleset
|
|
386
491
|
*/
|
|
387
492
|
crs: GetFirewallConfigCrs;
|
|
388
|
-
rules: Array<
|
|
493
|
+
rules: Array<Rules1 | Rules2>;
|
|
389
494
|
ips: Array<GetFirewallConfigIps>;
|
|
390
495
|
changes: Array<Changes>;
|
|
391
496
|
managedRules?: ManagedRules | undefined;
|
|
@@ -420,9 +525,9 @@ export declare const GetFirewallConfigSd$outboundSchema: z.ZodType<GetFirewallCo
|
|
|
420
525
|
export declare function getFirewallConfigSdToJSON(getFirewallConfigSd: GetFirewallConfigSd): string;
|
|
421
526
|
export declare function getFirewallConfigSdFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigSd, SDKValidationError>;
|
|
422
527
|
/** @internal */
|
|
423
|
-
export declare const
|
|
528
|
+
export declare const GetFirewallConfigSecurityAction$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigSecurityAction>;
|
|
424
529
|
/** @internal */
|
|
425
|
-
export declare const
|
|
530
|
+
export declare const GetFirewallConfigSecurityAction$outboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigSecurityAction>;
|
|
426
531
|
/** @internal */
|
|
427
532
|
export declare const GetFirewallConfigMa$inboundSchema: z.ZodType<GetFirewallConfigMa, z.ZodTypeDef, unknown>;
|
|
428
533
|
/** @internal */
|
|
@@ -590,25 +695,25 @@ export declare const GetFirewallConfigCrs$outboundSchema: z.ZodType<GetFirewallC
|
|
|
590
695
|
export declare function getFirewallConfigCrsToJSON(getFirewallConfigCrs: GetFirewallConfigCrs): string;
|
|
591
696
|
export declare function getFirewallConfigCrsFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigCrs, SDKValidationError>;
|
|
592
697
|
/** @internal */
|
|
593
|
-
export declare const
|
|
698
|
+
export declare const GetFirewallConfigRulesType$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigRulesType>;
|
|
594
699
|
/** @internal */
|
|
595
|
-
export declare const
|
|
700
|
+
export declare const GetFirewallConfigRulesType$outboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigRulesType>;
|
|
596
701
|
/** @internal */
|
|
597
|
-
export declare const
|
|
702
|
+
export declare const GetFirewallConfigRulesOp$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigRulesOp>;
|
|
598
703
|
/** @internal */
|
|
599
|
-
export declare const
|
|
704
|
+
export declare const GetFirewallConfigRulesOp$outboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigRulesOp>;
|
|
600
705
|
/** @internal */
|
|
601
|
-
export declare const
|
|
706
|
+
export declare const GetFirewallConfigRulesValue$inboundSchema: z.ZodType<GetFirewallConfigRulesValue, z.ZodTypeDef, unknown>;
|
|
602
707
|
/** @internal */
|
|
603
|
-
export type
|
|
708
|
+
export type GetFirewallConfigRulesValue$Outbound = string | number | Array<string>;
|
|
604
709
|
/** @internal */
|
|
605
|
-
export declare const
|
|
606
|
-
export declare function
|
|
607
|
-
export declare function
|
|
710
|
+
export declare const GetFirewallConfigRulesValue$outboundSchema: z.ZodType<GetFirewallConfigRulesValue$Outbound, z.ZodTypeDef, GetFirewallConfigRulesValue>;
|
|
711
|
+
export declare function getFirewallConfigRulesValueToJSON(getFirewallConfigRulesValue: GetFirewallConfigRulesValue): string;
|
|
712
|
+
export declare function getFirewallConfigRulesValueFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigRulesValue, SDKValidationError>;
|
|
608
713
|
/** @internal */
|
|
609
|
-
export declare const
|
|
714
|
+
export declare const GetFirewallConfigRulesConditions$inboundSchema: z.ZodType<GetFirewallConfigRulesConditions, z.ZodTypeDef, unknown>;
|
|
610
715
|
/** @internal */
|
|
611
|
-
export type
|
|
716
|
+
export type GetFirewallConfigRulesConditions$Outbound = {
|
|
612
717
|
type: string;
|
|
613
718
|
op: string;
|
|
614
719
|
neg?: boolean | undefined;
|
|
@@ -616,35 +721,35 @@ export type GetFirewallConfigConditions$Outbound = {
|
|
|
616
721
|
value?: string | number | Array<string> | undefined;
|
|
617
722
|
};
|
|
618
723
|
/** @internal */
|
|
619
|
-
export declare const
|
|
620
|
-
export declare function
|
|
621
|
-
export declare function
|
|
724
|
+
export declare const GetFirewallConfigRulesConditions$outboundSchema: z.ZodType<GetFirewallConfigRulesConditions$Outbound, z.ZodTypeDef, GetFirewallConfigRulesConditions>;
|
|
725
|
+
export declare function getFirewallConfigRulesConditionsToJSON(getFirewallConfigRulesConditions: GetFirewallConfigRulesConditions): string;
|
|
726
|
+
export declare function getFirewallConfigRulesConditionsFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigRulesConditions, SDKValidationError>;
|
|
622
727
|
/** @internal */
|
|
623
|
-
export declare const
|
|
728
|
+
export declare const GetFirewallConfigRulesConditionGroup$inboundSchema: z.ZodType<GetFirewallConfigRulesConditionGroup, z.ZodTypeDef, unknown>;
|
|
624
729
|
/** @internal */
|
|
625
|
-
export type
|
|
626
|
-
conditions: Array<
|
|
730
|
+
export type GetFirewallConfigRulesConditionGroup$Outbound = {
|
|
731
|
+
conditions: Array<GetFirewallConfigRulesConditions$Outbound>;
|
|
627
732
|
};
|
|
628
733
|
/** @internal */
|
|
629
|
-
export declare const
|
|
630
|
-
export declare function
|
|
631
|
-
export declare function
|
|
734
|
+
export declare const GetFirewallConfigRulesConditionGroup$outboundSchema: z.ZodType<GetFirewallConfigRulesConditionGroup$Outbound, z.ZodTypeDef, GetFirewallConfigRulesConditionGroup>;
|
|
735
|
+
export declare function getFirewallConfigRulesConditionGroupToJSON(getFirewallConfigRulesConditionGroup: GetFirewallConfigRulesConditionGroup): string;
|
|
736
|
+
export declare function getFirewallConfigRulesConditionGroupFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigRulesConditionGroup, SDKValidationError>;
|
|
632
737
|
/** @internal */
|
|
633
|
-
export declare const
|
|
738
|
+
export declare const GetFirewallConfigRulesSecurityAction$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigRulesSecurityAction>;
|
|
634
739
|
/** @internal */
|
|
635
|
-
export declare const
|
|
740
|
+
export declare const GetFirewallConfigRulesSecurityAction$outboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigRulesSecurityAction>;
|
|
636
741
|
/** @internal */
|
|
637
|
-
export declare const
|
|
742
|
+
export declare const GetFirewallConfigRulesAlgo$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigRulesAlgo>;
|
|
638
743
|
/** @internal */
|
|
639
|
-
export declare const
|
|
744
|
+
export declare const GetFirewallConfigRulesAlgo$outboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigRulesAlgo>;
|
|
640
745
|
/** @internal */
|
|
641
|
-
export declare const
|
|
746
|
+
export declare const GetFirewallConfigRulesSecurityResponse200Action$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigRulesSecurityResponse200Action>;
|
|
642
747
|
/** @internal */
|
|
643
|
-
export declare const
|
|
748
|
+
export declare const GetFirewallConfigRulesSecurityResponse200Action$outboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigRulesSecurityResponse200Action>;
|
|
644
749
|
/** @internal */
|
|
645
|
-
export declare const
|
|
750
|
+
export declare const GetFirewallConfigRulesRateLimit$inboundSchema: z.ZodType<GetFirewallConfigRulesRateLimit, z.ZodTypeDef, unknown>;
|
|
646
751
|
/** @internal */
|
|
647
|
-
export type
|
|
752
|
+
export type GetFirewallConfigRulesRateLimit$Outbound = {
|
|
648
753
|
algo: string;
|
|
649
754
|
window: number;
|
|
650
755
|
limit: number;
|
|
@@ -652,63 +757,191 @@ export type GetFirewallConfigRateLimit$Outbound = {
|
|
|
652
757
|
action?: string | null | undefined;
|
|
653
758
|
};
|
|
654
759
|
/** @internal */
|
|
655
|
-
export declare const
|
|
656
|
-
export declare function
|
|
657
|
-
export declare function
|
|
760
|
+
export declare const GetFirewallConfigRulesRateLimit$outboundSchema: z.ZodType<GetFirewallConfigRulesRateLimit$Outbound, z.ZodTypeDef, GetFirewallConfigRulesRateLimit>;
|
|
761
|
+
export declare function getFirewallConfigRulesRateLimitToJSON(getFirewallConfigRulesRateLimit: GetFirewallConfigRulesRateLimit): string;
|
|
762
|
+
export declare function getFirewallConfigRulesRateLimitFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigRulesRateLimit, SDKValidationError>;
|
|
658
763
|
/** @internal */
|
|
659
|
-
export declare const
|
|
764
|
+
export declare const GetFirewallConfigRulesRedirect$inboundSchema: z.ZodType<GetFirewallConfigRulesRedirect, z.ZodTypeDef, unknown>;
|
|
660
765
|
/** @internal */
|
|
661
|
-
export type
|
|
766
|
+
export type GetFirewallConfigRulesRedirect$Outbound = {
|
|
662
767
|
location: string;
|
|
663
768
|
permanent: boolean;
|
|
664
769
|
};
|
|
665
770
|
/** @internal */
|
|
666
|
-
export declare const
|
|
667
|
-
export declare function
|
|
668
|
-
export declare function
|
|
771
|
+
export declare const GetFirewallConfigRulesRedirect$outboundSchema: z.ZodType<GetFirewallConfigRulesRedirect$Outbound, z.ZodTypeDef, GetFirewallConfigRulesRedirect>;
|
|
772
|
+
export declare function getFirewallConfigRulesRedirectToJSON(getFirewallConfigRulesRedirect: GetFirewallConfigRulesRedirect): string;
|
|
773
|
+
export declare function getFirewallConfigRulesRedirectFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigRulesRedirect, SDKValidationError>;
|
|
669
774
|
/** @internal */
|
|
670
|
-
export declare const
|
|
775
|
+
export declare const GetFirewallConfigRulesMitigate$inboundSchema: z.ZodType<GetFirewallConfigRulesMitigate, z.ZodTypeDef, unknown>;
|
|
671
776
|
/** @internal */
|
|
672
|
-
export type
|
|
777
|
+
export type GetFirewallConfigRulesMitigate$Outbound = {
|
|
673
778
|
action: string;
|
|
674
|
-
rateLimit?:
|
|
675
|
-
redirect?:
|
|
779
|
+
rateLimit?: GetFirewallConfigRulesRateLimit$Outbound | null | undefined;
|
|
780
|
+
redirect?: GetFirewallConfigRulesRedirect$Outbound | null | undefined;
|
|
676
781
|
actionDuration?: string | null | undefined;
|
|
677
782
|
bypassSystem?: boolean | null | undefined;
|
|
678
783
|
};
|
|
679
784
|
/** @internal */
|
|
680
|
-
export declare const
|
|
681
|
-
export declare function
|
|
682
|
-
export declare function
|
|
785
|
+
export declare const GetFirewallConfigRulesMitigate$outboundSchema: z.ZodType<GetFirewallConfigRulesMitigate$Outbound, z.ZodTypeDef, GetFirewallConfigRulesMitigate>;
|
|
786
|
+
export declare function getFirewallConfigRulesMitigateToJSON(getFirewallConfigRulesMitigate: GetFirewallConfigRulesMitigate): string;
|
|
787
|
+
export declare function getFirewallConfigRulesMitigateFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigRulesMitigate, SDKValidationError>;
|
|
683
788
|
/** @internal */
|
|
684
|
-
export declare const
|
|
789
|
+
export declare const GetFirewallConfigRulesAction$inboundSchema: z.ZodType<GetFirewallConfigRulesAction, z.ZodTypeDef, unknown>;
|
|
685
790
|
/** @internal */
|
|
686
|
-
export type
|
|
687
|
-
mitigate?:
|
|
791
|
+
export type GetFirewallConfigRulesAction$Outbound = {
|
|
792
|
+
mitigate?: GetFirewallConfigRulesMitigate$Outbound | undefined;
|
|
688
793
|
};
|
|
689
794
|
/** @internal */
|
|
690
|
-
export declare const
|
|
691
|
-
export declare function
|
|
692
|
-
export declare function
|
|
795
|
+
export declare const GetFirewallConfigRulesAction$outboundSchema: z.ZodType<GetFirewallConfigRulesAction$Outbound, z.ZodTypeDef, GetFirewallConfigRulesAction>;
|
|
796
|
+
export declare function getFirewallConfigRulesActionToJSON(getFirewallConfigRulesAction: GetFirewallConfigRulesAction): string;
|
|
797
|
+
export declare function getFirewallConfigRulesActionFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigRulesAction, SDKValidationError>;
|
|
693
798
|
/** @internal */
|
|
694
|
-
export declare const
|
|
799
|
+
export declare const Rules2$inboundSchema: z.ZodType<Rules2, z.ZodTypeDef, unknown>;
|
|
695
800
|
/** @internal */
|
|
696
|
-
export type
|
|
801
|
+
export type Rules2$Outbound = {
|
|
697
802
|
id: string;
|
|
698
803
|
name: string;
|
|
699
804
|
description?: string | undefined;
|
|
700
805
|
active: boolean;
|
|
701
|
-
conditionGroup: Array<
|
|
702
|
-
action:
|
|
806
|
+
conditionGroup: Array<GetFirewallConfigRulesConditionGroup$Outbound>;
|
|
807
|
+
action: GetFirewallConfigRulesAction$Outbound;
|
|
808
|
+
valid: boolean;
|
|
809
|
+
validationErrors: Array<string>;
|
|
810
|
+
};
|
|
811
|
+
/** @internal */
|
|
812
|
+
export declare const Rules2$outboundSchema: z.ZodType<Rules2$Outbound, z.ZodTypeDef, Rules2>;
|
|
813
|
+
export declare function rules2ToJSON(rules2: Rules2): string;
|
|
814
|
+
export declare function rules2FromJSON(jsonString: string): SafeParseResult<Rules2, SDKValidationError>;
|
|
815
|
+
/** @internal */
|
|
816
|
+
export declare const RulesType$inboundSchema: z.ZodNativeEnum<typeof RulesType>;
|
|
817
|
+
/** @internal */
|
|
818
|
+
export declare const RulesType$outboundSchema: z.ZodNativeEnum<typeof RulesType>;
|
|
819
|
+
/** @internal */
|
|
820
|
+
export declare const RulesOp$inboundSchema: z.ZodNativeEnum<typeof RulesOp>;
|
|
821
|
+
/** @internal */
|
|
822
|
+
export declare const RulesOp$outboundSchema: z.ZodNativeEnum<typeof RulesOp>;
|
|
823
|
+
/** @internal */
|
|
824
|
+
export declare const RulesValue$inboundSchema: z.ZodType<RulesValue, z.ZodTypeDef, unknown>;
|
|
825
|
+
/** @internal */
|
|
826
|
+
export type RulesValue$Outbound = string | number | Array<string>;
|
|
827
|
+
/** @internal */
|
|
828
|
+
export declare const RulesValue$outboundSchema: z.ZodType<RulesValue$Outbound, z.ZodTypeDef, RulesValue>;
|
|
829
|
+
export declare function rulesValueToJSON(rulesValue: RulesValue): string;
|
|
830
|
+
export declare function rulesValueFromJSON(jsonString: string): SafeParseResult<RulesValue, SDKValidationError>;
|
|
831
|
+
/** @internal */
|
|
832
|
+
export declare const RulesConditions$inboundSchema: z.ZodType<RulesConditions, z.ZodTypeDef, unknown>;
|
|
833
|
+
/** @internal */
|
|
834
|
+
export type RulesConditions$Outbound = {
|
|
835
|
+
type: string;
|
|
836
|
+
op: string;
|
|
837
|
+
neg?: boolean | undefined;
|
|
838
|
+
key?: string | undefined;
|
|
839
|
+
value?: string | number | Array<string> | undefined;
|
|
840
|
+
};
|
|
841
|
+
/** @internal */
|
|
842
|
+
export declare const RulesConditions$outboundSchema: z.ZodType<RulesConditions$Outbound, z.ZodTypeDef, RulesConditions>;
|
|
843
|
+
export declare function rulesConditionsToJSON(rulesConditions: RulesConditions): string;
|
|
844
|
+
export declare function rulesConditionsFromJSON(jsonString: string): SafeParseResult<RulesConditions, SDKValidationError>;
|
|
845
|
+
/** @internal */
|
|
846
|
+
export declare const RulesConditionGroup$inboundSchema: z.ZodType<RulesConditionGroup, z.ZodTypeDef, unknown>;
|
|
847
|
+
/** @internal */
|
|
848
|
+
export type RulesConditionGroup$Outbound = {
|
|
849
|
+
conditions: Array<RulesConditions$Outbound>;
|
|
703
850
|
};
|
|
704
851
|
/** @internal */
|
|
852
|
+
export declare const RulesConditionGroup$outboundSchema: z.ZodType<RulesConditionGroup$Outbound, z.ZodTypeDef, RulesConditionGroup>;
|
|
853
|
+
export declare function rulesConditionGroupToJSON(rulesConditionGroup: RulesConditionGroup): string;
|
|
854
|
+
export declare function rulesConditionGroupFromJSON(jsonString: string): SafeParseResult<RulesConditionGroup, SDKValidationError>;
|
|
855
|
+
/** @internal */
|
|
856
|
+
export declare const GetFirewallConfigRulesSecurityResponseAction$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigRulesSecurityResponseAction>;
|
|
857
|
+
/** @internal */
|
|
858
|
+
export declare const GetFirewallConfigRulesSecurityResponseAction$outboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigRulesSecurityResponseAction>;
|
|
859
|
+
/** @internal */
|
|
860
|
+
export declare const RulesAlgo$inboundSchema: z.ZodNativeEnum<typeof RulesAlgo>;
|
|
861
|
+
/** @internal */
|
|
862
|
+
export declare const RulesAlgo$outboundSchema: z.ZodNativeEnum<typeof RulesAlgo>;
|
|
863
|
+
/** @internal */
|
|
864
|
+
export declare const GetFirewallConfigRulesSecurityResponse200ApplicationJSONAction$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigRulesSecurityResponse200ApplicationJSONAction>;
|
|
865
|
+
/** @internal */
|
|
866
|
+
export declare const GetFirewallConfigRulesSecurityResponse200ApplicationJSONAction$outboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigRulesSecurityResponse200ApplicationJSONAction>;
|
|
867
|
+
/** @internal */
|
|
868
|
+
export declare const RulesRateLimit$inboundSchema: z.ZodType<RulesRateLimit, z.ZodTypeDef, unknown>;
|
|
869
|
+
/** @internal */
|
|
870
|
+
export type RulesRateLimit$Outbound = {
|
|
871
|
+
algo: string;
|
|
872
|
+
window: number;
|
|
873
|
+
limit: number;
|
|
874
|
+
keys: Array<string>;
|
|
875
|
+
action?: string | null | undefined;
|
|
876
|
+
};
|
|
877
|
+
/** @internal */
|
|
878
|
+
export declare const RulesRateLimit$outboundSchema: z.ZodType<RulesRateLimit$Outbound, z.ZodTypeDef, RulesRateLimit>;
|
|
879
|
+
export declare function rulesRateLimitToJSON(rulesRateLimit: RulesRateLimit): string;
|
|
880
|
+
export declare function rulesRateLimitFromJSON(jsonString: string): SafeParseResult<RulesRateLimit, SDKValidationError>;
|
|
881
|
+
/** @internal */
|
|
882
|
+
export declare const RulesRedirect$inboundSchema: z.ZodType<RulesRedirect, z.ZodTypeDef, unknown>;
|
|
883
|
+
/** @internal */
|
|
884
|
+
export type RulesRedirect$Outbound = {
|
|
885
|
+
location: string;
|
|
886
|
+
permanent: boolean;
|
|
887
|
+
};
|
|
888
|
+
/** @internal */
|
|
889
|
+
export declare const RulesRedirect$outboundSchema: z.ZodType<RulesRedirect$Outbound, z.ZodTypeDef, RulesRedirect>;
|
|
890
|
+
export declare function rulesRedirectToJSON(rulesRedirect: RulesRedirect): string;
|
|
891
|
+
export declare function rulesRedirectFromJSON(jsonString: string): SafeParseResult<RulesRedirect, SDKValidationError>;
|
|
892
|
+
/** @internal */
|
|
893
|
+
export declare const RulesMitigate$inboundSchema: z.ZodType<RulesMitigate, z.ZodTypeDef, unknown>;
|
|
894
|
+
/** @internal */
|
|
895
|
+
export type RulesMitigate$Outbound = {
|
|
896
|
+
action: string;
|
|
897
|
+
rateLimit?: RulesRateLimit$Outbound | null | undefined;
|
|
898
|
+
redirect?: RulesRedirect$Outbound | null | undefined;
|
|
899
|
+
actionDuration?: string | null | undefined;
|
|
900
|
+
bypassSystem?: boolean | null | undefined;
|
|
901
|
+
};
|
|
902
|
+
/** @internal */
|
|
903
|
+
export declare const RulesMitigate$outboundSchema: z.ZodType<RulesMitigate$Outbound, z.ZodTypeDef, RulesMitigate>;
|
|
904
|
+
export declare function rulesMitigateToJSON(rulesMitigate: RulesMitigate): string;
|
|
905
|
+
export declare function rulesMitigateFromJSON(jsonString: string): SafeParseResult<RulesMitigate, SDKValidationError>;
|
|
906
|
+
/** @internal */
|
|
907
|
+
export declare const RulesAction$inboundSchema: z.ZodType<RulesAction, z.ZodTypeDef, unknown>;
|
|
908
|
+
/** @internal */
|
|
909
|
+
export type RulesAction$Outbound = {
|
|
910
|
+
mitigate?: RulesMitigate$Outbound | undefined;
|
|
911
|
+
};
|
|
912
|
+
/** @internal */
|
|
913
|
+
export declare const RulesAction$outboundSchema: z.ZodType<RulesAction$Outbound, z.ZodTypeDef, RulesAction>;
|
|
914
|
+
export declare function rulesActionToJSON(rulesAction: RulesAction): string;
|
|
915
|
+
export declare function rulesActionFromJSON(jsonString: string): SafeParseResult<RulesAction, SDKValidationError>;
|
|
916
|
+
/** @internal */
|
|
917
|
+
export declare const Rules1$inboundSchema: z.ZodType<Rules1, z.ZodTypeDef, unknown>;
|
|
918
|
+
/** @internal */
|
|
919
|
+
export type Rules1$Outbound = {
|
|
920
|
+
id: string;
|
|
921
|
+
name: string;
|
|
922
|
+
description?: string | undefined;
|
|
923
|
+
active: boolean;
|
|
924
|
+
conditionGroup: Array<RulesConditionGroup$Outbound>;
|
|
925
|
+
action: RulesAction$Outbound;
|
|
926
|
+
valid: boolean;
|
|
927
|
+
validationErrors?: any | null | undefined;
|
|
928
|
+
};
|
|
929
|
+
/** @internal */
|
|
930
|
+
export declare const Rules1$outboundSchema: z.ZodType<Rules1$Outbound, z.ZodTypeDef, Rules1>;
|
|
931
|
+
export declare function rules1ToJSON(rules1: Rules1): string;
|
|
932
|
+
export declare function rules1FromJSON(jsonString: string): SafeParseResult<Rules1, SDKValidationError>;
|
|
933
|
+
/** @internal */
|
|
934
|
+
export declare const GetFirewallConfigRules$inboundSchema: z.ZodType<GetFirewallConfigRules, z.ZodTypeDef, unknown>;
|
|
935
|
+
/** @internal */
|
|
936
|
+
export type GetFirewallConfigRules$Outbound = Rules1$Outbound | Rules2$Outbound;
|
|
937
|
+
/** @internal */
|
|
705
938
|
export declare const GetFirewallConfigRules$outboundSchema: z.ZodType<GetFirewallConfigRules$Outbound, z.ZodTypeDef, GetFirewallConfigRules>;
|
|
706
939
|
export declare function getFirewallConfigRulesToJSON(getFirewallConfigRules: GetFirewallConfigRules): string;
|
|
707
940
|
export declare function getFirewallConfigRulesFromJSON(jsonString: string): SafeParseResult<GetFirewallConfigRules, SDKValidationError>;
|
|
708
941
|
/** @internal */
|
|
709
|
-
export declare const
|
|
942
|
+
export declare const GetFirewallConfigAction$inboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigAction>;
|
|
710
943
|
/** @internal */
|
|
711
|
-
export declare const
|
|
944
|
+
export declare const GetFirewallConfigAction$outboundSchema: z.ZodNativeEnum<typeof GetFirewallConfigAction>;
|
|
712
945
|
/** @internal */
|
|
713
946
|
export declare const GetFirewallConfigIps$inboundSchema: z.ZodType<GetFirewallConfigIps, z.ZodTypeDef, unknown>;
|
|
714
947
|
/** @internal */
|
|
@@ -808,7 +1041,7 @@ export type GetFirewallConfigResponseBody$Outbound = {
|
|
|
808
1041
|
updatedAt: string;
|
|
809
1042
|
firewallEnabled: boolean;
|
|
810
1043
|
crs: GetFirewallConfigCrs$Outbound;
|
|
811
|
-
rules: Array<
|
|
1044
|
+
rules: Array<Rules1$Outbound | Rules2$Outbound>;
|
|
812
1045
|
ips: Array<GetFirewallConfigIps$Outbound>;
|
|
813
1046
|
changes: Array<Changes$Outbound>;
|
|
814
1047
|
managedRules?: ManagedRules$Outbound | undefined;
|