@vercel/sdk 1.18.2 → 1.18.4

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