@vercel/sdk 1.6.2 → 1.6.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 (271) hide show
  1. package/README.md +2 -10
  2. package/bin/mcp-server.js +4541 -3497
  3. package/bin/mcp-server.js.map +36 -48
  4. package/docs/sdks/edgeconfig/README.md +2 -6
  5. package/docs/sdks/integrations/README.md +0 -161
  6. package/docs/sdks/logdrains/README.md +0 -260
  7. package/docs/sdks/marketplace/README.md +2 -6
  8. package/docs/sdks/security/README.md +90 -0
  9. package/docs/sdks/webhooks/README.md +2 -6
  10. package/esm/__tests__/deployments.test.js +16 -1
  11. package/esm/__tests__/deployments.test.js.map +1 -1
  12. package/esm/__tests__/integrations.test.js +5 -40
  13. package/esm/__tests__/integrations.test.js.map +1 -1
  14. package/esm/__tests__/logdrains.test.js +7 -89
  15. package/esm/__tests__/logdrains.test.js.map +1 -1
  16. package/esm/__tests__/marketplace.test.js +7 -2
  17. package/esm/__tests__/marketplace.test.js.map +1 -1
  18. package/esm/__tests__/projects.test.js +4 -4
  19. package/esm/__tests__/projects.test.js.map +1 -1
  20. package/esm/__tests__/security.test.js +164 -17
  21. package/esm/__tests__/security.test.js.map +1 -1
  22. package/esm/funcs/securityPutFirewallConfig.d.ts +19 -0
  23. package/esm/funcs/securityPutFirewallConfig.d.ts.map +1 -0
  24. package/esm/funcs/{logDrainsCreateConfigurableLogDrain.js → securityPutFirewallConfig.js} +13 -11
  25. package/esm/funcs/securityPutFirewallConfig.js.map +1 -0
  26. package/esm/lib/config.d.ts +3 -3
  27. package/esm/lib/config.js +3 -3
  28. package/esm/lib/matchers.d.ts +3 -1
  29. package/esm/lib/matchers.d.ts.map +1 -1
  30. package/esm/lib/matchers.js +10 -0
  31. package/esm/lib/matchers.js.map +1 -1
  32. package/esm/lib/sdks.js +7 -2
  33. package/esm/lib/sdks.js.map +1 -1
  34. package/esm/mcp-server/mcp-server.js +1 -1
  35. package/esm/mcp-server/server.d.ts.map +1 -1
  36. package/esm/mcp-server/server.js +3 -11
  37. package/esm/mcp-server/server.js.map +1 -1
  38. package/esm/mcp-server/tools/securityPutFirewallConfig.d.ts +7 -0
  39. package/esm/mcp-server/tools/securityPutFirewallConfig.d.ts.map +1 -0
  40. package/esm/mcp-server/tools/securityPutFirewallConfig.js +28 -0
  41. package/esm/mcp-server/tools/{integrationsGitNamespaces.js.map → securityPutFirewallConfig.js.map} +1 -1
  42. package/esm/models/authtoken.d.ts +6 -0
  43. package/esm/models/authtoken.d.ts.map +1 -1
  44. package/esm/models/authtoken.js +2 -0
  45. package/esm/models/authtoken.js.map +1 -1
  46. package/esm/models/authuser.d.ts +87 -0
  47. package/esm/models/authuser.d.ts.map +1 -1
  48. package/esm/models/authuser.js +57 -0
  49. package/esm/models/authuser.js.map +1 -1
  50. package/esm/models/canceldeploymentop.d.ts +277 -76
  51. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  52. package/esm/models/canceldeploymentop.js +271 -73
  53. package/esm/models/canceldeploymentop.js.map +1 -1
  54. package/esm/models/createdeploymentop.d.ts +274 -73
  55. package/esm/models/createdeploymentop.d.ts.map +1 -1
  56. package/esm/models/createdeploymentop.js +270 -72
  57. package/esm/models/createdeploymentop.js.map +1 -1
  58. package/esm/models/createlogdrainop.d.ts +51 -51
  59. package/esm/models/createlogdrainop.d.ts.map +1 -1
  60. package/esm/models/createlogdrainop.js +74 -75
  61. package/esm/models/createlogdrainop.js.map +1 -1
  62. package/esm/models/createprojectenvop.d.ts +12 -18
  63. package/esm/models/createprojectenvop.d.ts.map +1 -1
  64. package/esm/models/createprojectenvop.js +12 -12
  65. package/esm/models/createprojectenvop.js.map +1 -1
  66. package/esm/models/createprojectop.d.ts +221 -29
  67. package/esm/models/createprojectop.d.ts.map +1 -1
  68. package/esm/models/createprojectop.js +174 -11
  69. package/esm/models/createprojectop.js.map +1 -1
  70. package/esm/models/editprojectenvop.d.ts +4 -7
  71. package/esm/models/editprojectenvop.d.ts.map +1 -1
  72. package/esm/models/editprojectenvop.js +4 -4
  73. package/esm/models/editprojectenvop.js.map +1 -1
  74. package/esm/models/exchangessotokenop.d.ts +34 -0
  75. package/esm/models/exchangessotokenop.d.ts.map +1 -1
  76. package/esm/models/exchangessotokenop.js +25 -0
  77. package/esm/models/exchangessotokenop.js.map +1 -1
  78. package/esm/models/filterprojectenvsop.d.ts +18 -27
  79. package/esm/models/filterprojectenvsop.d.ts.map +1 -1
  80. package/esm/models/filterprojectenvsop.js +18 -18
  81. package/esm/models/filterprojectenvsop.js.map +1 -1
  82. package/esm/models/getconfigurationsop.d.ts +19 -16
  83. package/esm/models/getconfigurationsop.d.ts.map +1 -1
  84. package/esm/models/getconfigurationsop.js +25 -27
  85. package/esm/models/getconfigurationsop.js.map +1 -1
  86. package/esm/models/getcustomenvironmentop.d.ts +3 -0
  87. package/esm/models/getcustomenvironmentop.d.ts.map +1 -1
  88. package/esm/models/getcustomenvironmentop.js.map +1 -1
  89. package/esm/models/getdeploymentop.d.ts +574 -172
  90. package/esm/models/getdeploymentop.d.ts.map +1 -1
  91. package/esm/models/getdeploymentop.js +567 -171
  92. package/esm/models/getdeploymentop.js.map +1 -1
  93. package/esm/models/getfirewallconfigop.d.ts +214 -214
  94. package/esm/models/getfirewallconfigop.d.ts.map +1 -1
  95. package/esm/models/getfirewallconfigop.js +210 -231
  96. package/esm/models/getfirewallconfigop.js.map +1 -1
  97. package/esm/models/getintegrationlogdrainsop.d.ts +11 -11
  98. package/esm/models/getintegrationlogdrainsop.d.ts.map +1 -1
  99. package/esm/models/getintegrationlogdrainsop.js +14 -13
  100. package/esm/models/getintegrationlogdrainsop.js.map +1 -1
  101. package/esm/models/getprojectdomainsop.d.ts +198 -36
  102. package/esm/models/getprojectdomainsop.d.ts.map +1 -1
  103. package/esm/models/getprojectdomainsop.js +193 -32
  104. package/esm/models/getprojectdomainsop.js.map +1 -1
  105. package/esm/models/getprojectenvop.d.ts +10 -16
  106. package/esm/models/getprojectenvop.d.ts.map +1 -1
  107. package/esm/models/getprojectenvop.js +10 -10
  108. package/esm/models/getprojectenvop.js.map +1 -1
  109. package/esm/models/getprojectsop.d.ts +221 -29
  110. package/esm/models/getprojectsop.d.ts.map +1 -1
  111. package/esm/models/getprojectsop.js +173 -11
  112. package/esm/models/getprojectsop.js.map +1 -1
  113. package/esm/models/getteammembersop.d.ts +9 -9
  114. package/esm/models/getteammembersop.js +3 -3
  115. package/esm/models/getteammembersop.js.map +1 -1
  116. package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts +3 -0
  117. package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts.map +1 -1
  118. package/esm/models/getv9projectsidornamecustomenvironmentsop.js.map +1 -1
  119. package/esm/models/putfirewallconfigop.d.ts +2901 -0
  120. package/esm/models/putfirewallconfigop.d.ts.map +1 -0
  121. package/esm/models/putfirewallconfigop.js +2383 -0
  122. package/esm/models/putfirewallconfigop.js.map +1 -0
  123. package/esm/models/removeprojectenvop.d.ts +18 -27
  124. package/esm/models/removeprojectenvop.d.ts.map +1 -1
  125. package/esm/models/removeprojectenvop.js +18 -18
  126. package/esm/models/removeprojectenvop.js.map +1 -1
  127. package/esm/models/updatefirewallconfigop.d.ts +323 -323
  128. package/esm/models/updatefirewallconfigop.d.ts.map +1 -1
  129. package/esm/models/updatefirewallconfigop.js +379 -357
  130. package/esm/models/updatefirewallconfigop.js.map +1 -1
  131. package/esm/models/updateprojectdatacacheop.d.ts +229 -37
  132. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  133. package/esm/models/updateprojectdatacacheop.js +189 -23
  134. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  135. package/esm/models/updateprojectop.d.ts +221 -29
  136. package/esm/models/updateprojectop.d.ts.map +1 -1
  137. package/esm/models/updateprojectop.js +174 -11
  138. package/esm/models/updateprojectop.js.map +1 -1
  139. package/esm/models/userevent.d.ts +608 -524
  140. package/esm/models/userevent.d.ts.map +1 -1
  141. package/esm/models/userevent.js +748 -666
  142. package/esm/models/userevent.js.map +1 -1
  143. package/esm/sdk/integrations.d.ts +0 -16
  144. package/esm/sdk/integrations.d.ts.map +1 -1
  145. package/esm/sdk/integrations.js +0 -20
  146. package/esm/sdk/integrations.js.map +1 -1
  147. package/esm/sdk/logdrains.d.ts +0 -24
  148. package/esm/sdk/logdrains.d.ts.map +1 -1
  149. package/esm/sdk/logdrains.js +0 -30
  150. package/esm/sdk/logdrains.js.map +1 -1
  151. package/esm/sdk/security.d.ts +8 -0
  152. package/esm/sdk/security.d.ts.map +1 -1
  153. package/esm/sdk/security.js +10 -0
  154. package/esm/sdk/security.js.map +1 -1
  155. package/jsr.json +1 -1
  156. package/package.json +3 -3
  157. package/src/__tests__/deployments.test.ts +16 -1
  158. package/src/__tests__/integrations.test.ts +9 -44
  159. package/src/__tests__/logdrains.test.ts +13 -95
  160. package/src/__tests__/marketplace.test.ts +7 -2
  161. package/src/__tests__/projects.test.ts +4 -4
  162. package/src/__tests__/security.test.ts +166 -19
  163. package/src/funcs/{logDrainsCreateConfigurableLogDrain.ts → securityPutFirewallConfig.ts} +31 -22
  164. package/src/lib/config.ts +3 -3
  165. package/src/lib/matchers.ts +20 -0
  166. package/src/lib/sdks.ts +8 -2
  167. package/src/mcp-server/mcp-server.ts +1 -1
  168. package/src/mcp-server/server.ts +3 -11
  169. package/src/mcp-server/tools/securityPutFirewallConfig.ts +37 -0
  170. package/src/models/authtoken.ts +2 -0
  171. package/src/models/authuser.ts +126 -0
  172. package/src/models/canceldeploymentop.ts +592 -149
  173. package/src/models/createdeploymentop.ts +616 -165
  174. package/src/models/createlogdrainop.ts +95 -112
  175. package/src/models/createprojectenvop.ts +24 -30
  176. package/src/models/createprojectop.ts +378 -21
  177. package/src/models/editprojectenvop.ts +8 -11
  178. package/src/models/exchangessotokenop.ts +44 -0
  179. package/src/models/filterprojectenvsop.ts +36 -45
  180. package/src/models/getconfigurationsop.ts +34 -39
  181. package/src/models/getcustomenvironmentop.ts +3 -0
  182. package/src/models/getdeploymentop.ts +1288 -353
  183. package/src/models/getfirewallconfigop.ts +555 -410
  184. package/src/models/getintegrationlogdrainsop.ts +15 -20
  185. package/src/models/getprojectdomainsop.ts +470 -63
  186. package/src/models/getprojectenvop.ts +20 -26
  187. package/src/models/getprojectsop.ts +380 -22
  188. package/src/models/getteammembersop.ts +3 -3
  189. package/src/models/getv9projectsidornamecustomenvironmentsop.ts +3 -0
  190. package/src/models/putfirewallconfigop.ts +4932 -0
  191. package/src/models/removeprojectenvop.ts +36 -45
  192. package/src/models/updatefirewallconfigop.ts +820 -612
  193. package/src/models/updateprojectdatacacheop.ts +395 -40
  194. package/src/models/updateprojectop.ts +378 -21
  195. package/src/models/userevent.ts +1363 -1203
  196. package/src/sdk/integrations.ts +0 -44
  197. package/src/sdk/logdrains.ts +0 -66
  198. package/src/sdk/security.ts +22 -0
  199. package/vercel-spec.json +1780 -1622
  200. package/esm/funcs/integrationsGitNamespaces.d.ts +0 -18
  201. package/esm/funcs/integrationsGitNamespaces.d.ts.map +0 -1
  202. package/esm/funcs/integrationsGitNamespaces.js +0 -86
  203. package/esm/funcs/integrationsGitNamespaces.js.map +0 -1
  204. package/esm/funcs/integrationsSearchRepo.d.ts +0 -17
  205. package/esm/funcs/integrationsSearchRepo.d.ts.map +0 -1
  206. package/esm/funcs/integrationsSearchRepo.js +0 -89
  207. package/esm/funcs/integrationsSearchRepo.js.map +0 -1
  208. package/esm/funcs/logDrainsCreateConfigurableLogDrain.d.ts +0 -18
  209. package/esm/funcs/logDrainsCreateConfigurableLogDrain.d.ts.map +0 -1
  210. package/esm/funcs/logDrainsCreateConfigurableLogDrain.js.map +0 -1
  211. package/esm/funcs/logDrainsGetAllLogDrains.d.ts +0 -18
  212. package/esm/funcs/logDrainsGetAllLogDrains.d.ts.map +0 -1
  213. package/esm/funcs/logDrainsGetAllLogDrains.js +0 -88
  214. package/esm/funcs/logDrainsGetAllLogDrains.js.map +0 -1
  215. package/esm/funcs/logDrainsGetConfigurableLogDrain.d.ts +0 -19
  216. package/esm/funcs/logDrainsGetConfigurableLogDrain.d.ts.map +0 -1
  217. package/esm/funcs/logDrainsGetConfigurableLogDrain.js +0 -92
  218. package/esm/funcs/logDrainsGetConfigurableLogDrain.js.map +0 -1
  219. package/esm/mcp-server/tools/integrationsGitNamespaces.d.ts +0 -7
  220. package/esm/mcp-server/tools/integrationsGitNamespaces.d.ts.map +0 -1
  221. package/esm/mcp-server/tools/integrationsGitNamespaces.js +0 -28
  222. package/esm/mcp-server/tools/integrationsSearchRepo.d.ts +0 -7
  223. package/esm/mcp-server/tools/integrationsSearchRepo.d.ts.map +0 -1
  224. package/esm/mcp-server/tools/integrationsSearchRepo.js +0 -28
  225. package/esm/mcp-server/tools/integrationsSearchRepo.js.map +0 -1
  226. package/esm/mcp-server/tools/logDrainsCreateConfigurableLogDrain.d.ts +0 -7
  227. package/esm/mcp-server/tools/logDrainsCreateConfigurableLogDrain.d.ts.map +0 -1
  228. package/esm/mcp-server/tools/logDrainsCreateConfigurableLogDrain.js +0 -28
  229. package/esm/mcp-server/tools/logDrainsCreateConfigurableLogDrain.js.map +0 -1
  230. package/esm/mcp-server/tools/logDrainsGetAllLogDrains.d.ts +0 -7
  231. package/esm/mcp-server/tools/logDrainsGetAllLogDrains.d.ts.map +0 -1
  232. package/esm/mcp-server/tools/logDrainsGetAllLogDrains.js +0 -28
  233. package/esm/mcp-server/tools/logDrainsGetAllLogDrains.js.map +0 -1
  234. package/esm/mcp-server/tools/logDrainsGetConfigurableLogDrain.d.ts +0 -7
  235. package/esm/mcp-server/tools/logDrainsGetConfigurableLogDrain.d.ts.map +0 -1
  236. package/esm/mcp-server/tools/logDrainsGetConfigurableLogDrain.js +0 -28
  237. package/esm/mcp-server/tools/logDrainsGetConfigurableLogDrain.js.map +0 -1
  238. package/esm/models/createconfigurablelogdrainop.d.ts +0 -451
  239. package/esm/models/createconfigurablelogdrainop.d.ts.map +0 -1
  240. package/esm/models/createconfigurablelogdrainop.js +0 -348
  241. package/esm/models/createconfigurablelogdrainop.js.map +0 -1
  242. package/esm/models/getalllogdrainsop.d.ts +0 -294
  243. package/esm/models/getalllogdrainsop.d.ts.map +0 -1
  244. package/esm/models/getalllogdrainsop.js +0 -231
  245. package/esm/models/getalllogdrainsop.js.map +0 -1
  246. package/esm/models/getconfigurablelogdrainop.d.ts +0 -292
  247. package/esm/models/getconfigurablelogdrainop.d.ts.map +0 -1
  248. package/esm/models/getconfigurablelogdrainop.js +0 -230
  249. package/esm/models/getconfigurablelogdrainop.js.map +0 -1
  250. package/esm/models/gitnamespacesop.d.ts +0 -126
  251. package/esm/models/gitnamespacesop.d.ts.map +0 -1
  252. package/esm/models/gitnamespacesop.js +0 -115
  253. package/esm/models/gitnamespacesop.js.map +0 -1
  254. package/esm/models/searchrepoop.d.ts +0 -421
  255. package/esm/models/searchrepoop.d.ts.map +0 -1
  256. package/esm/models/searchrepoop.js +0 -385
  257. package/esm/models/searchrepoop.js.map +0 -1
  258. package/src/funcs/integrationsGitNamespaces.ts +0 -185
  259. package/src/funcs/integrationsSearchRepo.ts +0 -181
  260. package/src/funcs/logDrainsGetAllLogDrains.ts +0 -187
  261. package/src/funcs/logDrainsGetConfigurableLogDrain.ts +0 -199
  262. package/src/mcp-server/tools/integrationsGitNamespaces.ts +0 -37
  263. package/src/mcp-server/tools/integrationsSearchRepo.ts +0 -37
  264. package/src/mcp-server/tools/logDrainsCreateConfigurableLogDrain.ts +0 -39
  265. package/src/mcp-server/tools/logDrainsGetAllLogDrains.ts +0 -37
  266. package/src/mcp-server/tools/logDrainsGetConfigurableLogDrain.ts +0 -39
  267. package/src/models/createconfigurablelogdrainop.ts +0 -652
  268. package/src/models/getalllogdrainsop.ts +0 -416
  269. package/src/models/getconfigurablelogdrainop.ts +0 -420
  270. package/src/models/gitnamespacesop.ts +0 -235
  271. package/src/models/searchrepoop.ts +0 -784
@@ -97,7 +97,7 @@ export const UpdateFirewallConfigRequestBodySecurityRequest9ValueAction = {
97
97
  export type UpdateFirewallConfigRequestBodySecurityRequest9ValueAction =
98
98
  ClosedEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest9ValueAction>;
99
99
 
100
- export type UpdateFirewallConfigRequestBodySecurityRequestValue = {
100
+ export type UpdateFirewallConfigRequestBodySecurityRequest9Value = {
101
101
  hostname: string;
102
102
  ip: string;
103
103
  notes?: string | undefined;
@@ -110,7 +110,7 @@ export type UpdateFirewallConfigRequestBodySecurityRequestValue = {
110
110
  export type UpdateFirewallConfigRequestBody9 = {
111
111
  action: UpdateFirewallConfigRequestBodySecurityRequest9Action;
112
112
  id: string;
113
- value: UpdateFirewallConfigRequestBodySecurityRequestValue;
113
+ value: UpdateFirewallConfigRequestBodySecurityRequest9Value;
114
114
  };
115
115
 
116
116
  export const UpdateFirewallConfigRequestBodySecurityRequest8Action = {
@@ -129,7 +129,7 @@ export const UpdateFirewallConfigRequestBodySecurityRequest8ValueAction = {
129
129
  export type UpdateFirewallConfigRequestBodySecurityRequest8ValueAction =
130
130
  ClosedEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest8ValueAction>;
131
131
 
132
- export type UpdateFirewallConfigRequestBodySecurityValue = {
132
+ export type UpdateFirewallConfigRequestBodySecurityRequestValue = {
133
133
  hostname: string;
134
134
  ip: string;
135
135
  notes?: string | undefined;
@@ -142,7 +142,7 @@ export type UpdateFirewallConfigRequestBodySecurityValue = {
142
142
  export type UpdateFirewallConfigRequestBody8 = {
143
143
  action: UpdateFirewallConfigRequestBodySecurityRequest8Action;
144
144
  id?: any | null | undefined;
145
- value: UpdateFirewallConfigRequestBodySecurityValue;
145
+ value: UpdateFirewallConfigRequestBodySecurityRequestValue;
146
146
  };
147
147
 
148
148
  export const UpdateFirewallConfigRequestBodySecurityRequest7Action = {
@@ -190,7 +190,7 @@ export const UpdateFirewallConfigRequestBodySecurityRequest6ValueAction = {
190
190
  export type UpdateFirewallConfigRequestBodySecurityRequest6ValueAction =
191
191
  ClosedEnum<typeof UpdateFirewallConfigRequestBodySecurityRequest6ValueAction>;
192
192
 
193
- export type UpdateFirewallConfigRequestBodyValue = {
193
+ export type UpdateFirewallConfigRequestBodySecurityValue = {
194
194
  active: boolean;
195
195
  action: UpdateFirewallConfigRequestBodySecurityRequest6ValueAction;
196
196
  };
@@ -201,7 +201,7 @@ export type UpdateFirewallConfigRequestBodyValue = {
201
201
  export type UpdateFirewallConfigRequestBody6 = {
202
202
  action: UpdateFirewallConfigRequestBodySecurityRequest6Action;
203
203
  id: Id;
204
- value: UpdateFirewallConfigRequestBodyValue;
204
+ value: UpdateFirewallConfigRequestBodySecurityValue;
205
205
  };
206
206
 
207
207
  export const UpdateFirewallConfigRequestBodySecurityRequest5Action = {
@@ -280,7 +280,7 @@ export type UpdateFirewallConfigRequestBodySecurityType = ClosedEnum<
280
280
  /**
281
281
  * [Operator](https://vercel.com/docs/security/vercel-waf/rule-configuration#operators) used to compare the parameter with a value
282
282
  */
283
- export const RequestBodyOp = {
283
+ export const UpdateFirewallConfigRequestBodyOp = {
284
284
  Re: "re",
285
285
  Eq: "eq",
286
286
  Neq: "neq",
@@ -299,14 +299,16 @@ export const RequestBodyOp = {
299
299
  /**
300
300
  * [Operator](https://vercel.com/docs/security/vercel-waf/rule-configuration#operators) used to compare the parameter with a value
301
301
  */
302
- export type RequestBodyOp = ClosedEnum<typeof RequestBodyOp>;
302
+ export type UpdateFirewallConfigRequestBodyOp = ClosedEnum<
303
+ typeof UpdateFirewallConfigRequestBodyOp
304
+ >;
303
305
 
304
306
  export type UpdateFirewallConfigRequestBodySecurityRequest3Value =
305
307
  | string
306
308
  | Array<string>
307
309
  | number;
308
310
 
309
- export type RequestBodyConditions = {
311
+ export type UpdateFirewallConfigRequestBodyConditions = {
310
312
  /**
311
313
  * [Parameter](https://vercel.com/docs/security/vercel-waf/rule-configuration#parameters) from the incoming traffic.
312
314
  */
@@ -314,14 +316,14 @@ export type RequestBodyConditions = {
314
316
  /**
315
317
  * [Operator](https://vercel.com/docs/security/vercel-waf/rule-configuration#operators) used to compare the parameter with a value
316
318
  */
317
- op: RequestBodyOp;
319
+ op: UpdateFirewallConfigRequestBodyOp;
318
320
  neg?: boolean | undefined;
319
321
  key?: string | undefined;
320
322
  value?: string | Array<string> | number | undefined;
321
323
  };
322
324
 
323
- export type RequestBodyConditionGroup = {
324
- conditions: Array<RequestBodyConditions>;
325
+ export type UpdateFirewallConfigRequestBodyConditionGroup = {
326
+ conditions: Array<UpdateFirewallConfigRequestBodyConditions>;
325
327
  };
326
328
 
327
329
  export const UpdateFirewallConfigRequestBodySecurityRequest3ValueAction = {
@@ -343,54 +345,58 @@ export type UpdateFirewallConfigRateLimitAlgo = ClosedEnum<
343
345
  typeof UpdateFirewallConfigRateLimitAlgo
344
346
  >;
345
347
 
346
- export const UpdateFirewallConfigAction1 = {
348
+ export const UpdateFirewallConfigActionSecurity1 = {
347
349
  Log: "log",
348
350
  Challenge: "challenge",
349
351
  Deny: "deny",
350
352
  RateLimit: "rate_limit",
351
353
  } as const;
352
- export type UpdateFirewallConfigAction1 = ClosedEnum<
353
- typeof UpdateFirewallConfigAction1
354
+ export type UpdateFirewallConfigActionSecurity1 = ClosedEnum<
355
+ typeof UpdateFirewallConfigActionSecurity1
354
356
  >;
355
357
 
356
- export type UpdateFirewallConfigRateLimitAction =
357
- | UpdateFirewallConfigAction1
358
+ export type UpdateFirewallConfigRateLimitSecurityAction =
359
+ | UpdateFirewallConfigActionSecurity1
358
360
  | any;
359
361
 
360
- export type UpdateFirewallConfigRateLimit1 = {
362
+ export type UpdateFirewallConfigRateLimitSecurity1 = {
361
363
  algo: UpdateFirewallConfigRateLimitAlgo;
362
364
  window: number;
363
365
  limit: number;
364
366
  keys: Array<string>;
365
- action?: UpdateFirewallConfigAction1 | any | null | undefined;
367
+ action?: UpdateFirewallConfigActionSecurity1 | any | null | undefined;
366
368
  };
367
369
 
368
- export type RequestBodyRateLimit = UpdateFirewallConfigRateLimit1 | any;
370
+ export type UpdateFirewallConfigRequestBodyRateLimit =
371
+ | UpdateFirewallConfigRateLimitSecurity1
372
+ | any;
369
373
 
370
- export type UpdateFirewallConfigRedirect1 = {
374
+ export type UpdateFirewallConfigRedirectSecurity1 = {
371
375
  location: string;
372
376
  permanent: boolean;
373
377
  };
374
378
 
375
- export type RequestBodyRedirect = UpdateFirewallConfigRedirect1 | any;
379
+ export type UpdateFirewallConfigRequestBodyRedirect =
380
+ | UpdateFirewallConfigRedirectSecurity1
381
+ | any;
376
382
 
377
- export type RequestBodyMitigate = {
383
+ export type UpdateFirewallConfigRequestBodyMitigate = {
378
384
  action: UpdateFirewallConfigRequestBodySecurityRequest3ValueAction;
379
- rateLimit?: UpdateFirewallConfigRateLimit1 | any | null | undefined;
380
- redirect?: UpdateFirewallConfigRedirect1 | any | null | undefined;
385
+ rateLimit?: UpdateFirewallConfigRateLimitSecurity1 | any | null | undefined;
386
+ redirect?: UpdateFirewallConfigRedirectSecurity1 | any | null | undefined;
381
387
  actionDuration?: string | null | undefined;
382
388
  bypassSystem?: boolean | null | undefined;
383
389
  };
384
390
 
385
391
  export type UpdateFirewallConfigRequestBodySecurityRequest3Action = {
386
- mitigate?: RequestBodyMitigate | undefined;
392
+ mitigate?: UpdateFirewallConfigRequestBodyMitigate | undefined;
387
393
  };
388
394
 
389
- export type RequestBodyValue = {
395
+ export type UpdateFirewallConfigRequestBodyValue = {
390
396
  name: string;
391
397
  description?: string | undefined;
392
398
  active: boolean;
393
- conditionGroup: Array<RequestBodyConditionGroup>;
399
+ conditionGroup: Array<UpdateFirewallConfigRequestBodyConditionGroup>;
394
400
  action: UpdateFirewallConfigRequestBodySecurityRequest3Action;
395
401
  };
396
402
 
@@ -400,7 +406,7 @@ export type RequestBodyValue = {
400
406
  export type UpdateFirewallConfigRequestBody3 = {
401
407
  action: UpdateFirewallConfigRequestBodySecurityAction;
402
408
  id: string;
403
- value: RequestBodyValue;
409
+ value: UpdateFirewallConfigRequestBodyValue;
404
410
  };
405
411
 
406
412
  export const UpdateFirewallConfigRequestBodyAction = {
@@ -447,7 +453,7 @@ export type UpdateFirewallConfigRequestBodyType = ClosedEnum<
447
453
  /**
448
454
  * [Operator](https://vercel.com/docs/security/vercel-waf/rule-configuration#operators) used to compare the parameter with a value.
449
455
  */
450
- export const Op = {
456
+ export const RequestBodyOp = {
451
457
  Re: "re",
452
458
  Eq: "eq",
453
459
  Neq: "neq",
@@ -466,14 +472,14 @@ export const Op = {
466
472
  /**
467
473
  * [Operator](https://vercel.com/docs/security/vercel-waf/rule-configuration#operators) used to compare the parameter with a value.
468
474
  */
469
- export type Op = ClosedEnum<typeof Op>;
475
+ export type RequestBodyOp = ClosedEnum<typeof RequestBodyOp>;
470
476
 
471
477
  export type UpdateFirewallConfigRequestBodySecurityRequest2Value =
472
478
  | string
473
479
  | Array<string>
474
480
  | number;
475
481
 
476
- export type Conditions = {
482
+ export type RequestBodyConditions = {
477
483
  /**
478
484
  * [Parameter](https://vercel.com/docs/security/vercel-waf/rule-configuration#parameters) from the incoming traffic.
479
485
  */
@@ -481,14 +487,14 @@ export type Conditions = {
481
487
  /**
482
488
  * [Operator](https://vercel.com/docs/security/vercel-waf/rule-configuration#operators) used to compare the parameter with a value.
483
489
  */
484
- op: Op;
490
+ op: RequestBodyOp;
485
491
  neg?: boolean | undefined;
486
492
  key?: string | undefined;
487
493
  value?: string | Array<string> | number | undefined;
488
494
  };
489
495
 
490
- export type ConditionGroup = {
491
- conditions: Array<Conditions>;
496
+ export type RequestBodyConditionGroup = {
497
+ conditions: Array<RequestBodyConditions>;
492
498
  };
493
499
 
494
500
  export const UpdateFirewallConfigRequestBodySecurityRequest2ValueAction = {
@@ -508,50 +514,54 @@ export const RateLimitAlgo = {
508
514
  } as const;
509
515
  export type RateLimitAlgo = ClosedEnum<typeof RateLimitAlgo>;
510
516
 
511
- export const Action1 = {
517
+ export const UpdateFirewallConfigAction1 = {
512
518
  Log: "log",
513
519
  Challenge: "challenge",
514
520
  Deny: "deny",
515
521
  RateLimit: "rate_limit",
516
522
  } as const;
517
- export type Action1 = ClosedEnum<typeof Action1>;
523
+ export type UpdateFirewallConfigAction1 = ClosedEnum<
524
+ typeof UpdateFirewallConfigAction1
525
+ >;
518
526
 
519
- export type RateLimitAction = Action1 | any;
527
+ export type UpdateFirewallConfigRateLimitAction =
528
+ | UpdateFirewallConfigAction1
529
+ | any;
520
530
 
521
- export type RateLimit1 = {
531
+ export type UpdateFirewallConfigRateLimit1 = {
522
532
  algo: RateLimitAlgo;
523
533
  window: number;
524
534
  limit: number;
525
535
  keys: Array<string>;
526
- action?: Action1 | any | null | undefined;
536
+ action?: UpdateFirewallConfigAction1 | any | null | undefined;
527
537
  };
528
538
 
529
- export type RateLimit = RateLimit1 | any;
539
+ export type RequestBodyRateLimit = UpdateFirewallConfigRateLimit1 | any;
530
540
 
531
- export type Redirect1 = {
541
+ export type UpdateFirewallConfigRedirect1 = {
532
542
  location: string;
533
543
  permanent: boolean;
534
544
  };
535
545
 
536
- export type Redirect = Redirect1 | any;
546
+ export type RequestBodyRedirect = UpdateFirewallConfigRedirect1 | any;
537
547
 
538
- export type Mitigate = {
548
+ export type RequestBodyMitigate = {
539
549
  action: UpdateFirewallConfigRequestBodySecurityRequest2ValueAction;
540
- rateLimit?: RateLimit1 | any | null | undefined;
541
- redirect?: Redirect1 | any | null | undefined;
550
+ rateLimit?: UpdateFirewallConfigRateLimit1 | any | null | undefined;
551
+ redirect?: UpdateFirewallConfigRedirect1 | any | null | undefined;
542
552
  actionDuration?: string | null | undefined;
543
553
  bypassSystem?: boolean | null | undefined;
544
554
  };
545
555
 
546
556
  export type UpdateFirewallConfigRequestBodySecurityRequest2Action = {
547
- mitigate?: Mitigate | undefined;
557
+ mitigate?: RequestBodyMitigate | undefined;
548
558
  };
549
559
 
550
- export type Value = {
560
+ export type RequestBodyValue = {
551
561
  name: string;
552
562
  description?: string | undefined;
553
563
  active: boolean;
554
- conditionGroup: Array<ConditionGroup>;
564
+ conditionGroup: Array<RequestBodyConditionGroup>;
555
565
  action: UpdateFirewallConfigRequestBodySecurityRequest2Action;
556
566
  };
557
567
 
@@ -561,7 +571,7 @@ export type Value = {
561
571
  export type UpdateFirewallConfigRequestBody2 = {
562
572
  action: UpdateFirewallConfigRequestBodyAction;
563
573
  id?: any | null | undefined;
564
- value: Value;
574
+ value: RequestBodyValue;
565
575
  };
566
576
 
567
577
  export const RequestBodyAction = {
@@ -1108,9 +1118,9 @@ export namespace UpdateFirewallConfigRequestBodySecurityRequest9ValueAction$ {
1108
1118
  }
1109
1119
 
1110
1120
  /** @internal */
1111
- export const UpdateFirewallConfigRequestBodySecurityRequestValue$inboundSchema:
1121
+ export const UpdateFirewallConfigRequestBodySecurityRequest9Value$inboundSchema:
1112
1122
  z.ZodType<
1113
- UpdateFirewallConfigRequestBodySecurityRequestValue,
1123
+ UpdateFirewallConfigRequestBodySecurityRequest9Value,
1114
1124
  z.ZodTypeDef,
1115
1125
  unknown
1116
1126
  > = z.object({
@@ -1122,7 +1132,7 @@ export const UpdateFirewallConfigRequestBodySecurityRequestValue$inboundSchema:
1122
1132
  });
1123
1133
 
1124
1134
  /** @internal */
1125
- export type UpdateFirewallConfigRequestBodySecurityRequestValue$Outbound = {
1135
+ export type UpdateFirewallConfigRequestBodySecurityRequest9Value$Outbound = {
1126
1136
  hostname: string;
1127
1137
  ip: string;
1128
1138
  notes?: string | undefined;
@@ -1130,11 +1140,11 @@ export type UpdateFirewallConfigRequestBodySecurityRequestValue$Outbound = {
1130
1140
  };
1131
1141
 
1132
1142
  /** @internal */
1133
- export const UpdateFirewallConfigRequestBodySecurityRequestValue$outboundSchema:
1143
+ export const UpdateFirewallConfigRequestBodySecurityRequest9Value$outboundSchema:
1134
1144
  z.ZodType<
1135
- UpdateFirewallConfigRequestBodySecurityRequestValue$Outbound,
1145
+ UpdateFirewallConfigRequestBodySecurityRequest9Value$Outbound,
1136
1146
  z.ZodTypeDef,
1137
- UpdateFirewallConfigRequestBodySecurityRequestValue
1147
+ UpdateFirewallConfigRequestBodySecurityRequest9Value
1138
1148
  > = z.object({
1139
1149
  hostname: z.string(),
1140
1150
  ip: z.string(),
@@ -1147,42 +1157,42 @@ export const UpdateFirewallConfigRequestBodySecurityRequestValue$outboundSchema:
1147
1157
  * @internal
1148
1158
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1149
1159
  */
1150
- export namespace UpdateFirewallConfigRequestBodySecurityRequestValue$ {
1151
- /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequestValue$inboundSchema` instead. */
1160
+ export namespace UpdateFirewallConfigRequestBodySecurityRequest9Value$ {
1161
+ /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest9Value$inboundSchema` instead. */
1152
1162
  export const inboundSchema =
1153
- UpdateFirewallConfigRequestBodySecurityRequestValue$inboundSchema;
1154
- /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequestValue$outboundSchema` instead. */
1163
+ UpdateFirewallConfigRequestBodySecurityRequest9Value$inboundSchema;
1164
+ /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest9Value$outboundSchema` instead. */
1155
1165
  export const outboundSchema =
1156
- UpdateFirewallConfigRequestBodySecurityRequestValue$outboundSchema;
1157
- /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequestValue$Outbound` instead. */
1166
+ UpdateFirewallConfigRequestBodySecurityRequest9Value$outboundSchema;
1167
+ /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest9Value$Outbound` instead. */
1158
1168
  export type Outbound =
1159
- UpdateFirewallConfigRequestBodySecurityRequestValue$Outbound;
1169
+ UpdateFirewallConfigRequestBodySecurityRequest9Value$Outbound;
1160
1170
  }
1161
1171
 
1162
- export function updateFirewallConfigRequestBodySecurityRequestValueToJSON(
1163
- updateFirewallConfigRequestBodySecurityRequestValue:
1164
- UpdateFirewallConfigRequestBodySecurityRequestValue,
1172
+ export function updateFirewallConfigRequestBodySecurityRequest9ValueToJSON(
1173
+ updateFirewallConfigRequestBodySecurityRequest9Value:
1174
+ UpdateFirewallConfigRequestBodySecurityRequest9Value,
1165
1175
  ): string {
1166
1176
  return JSON.stringify(
1167
- UpdateFirewallConfigRequestBodySecurityRequestValue$outboundSchema.parse(
1168
- updateFirewallConfigRequestBodySecurityRequestValue,
1177
+ UpdateFirewallConfigRequestBodySecurityRequest9Value$outboundSchema.parse(
1178
+ updateFirewallConfigRequestBodySecurityRequest9Value,
1169
1179
  ),
1170
1180
  );
1171
1181
  }
1172
1182
 
1173
- export function updateFirewallConfigRequestBodySecurityRequestValueFromJSON(
1183
+ export function updateFirewallConfigRequestBodySecurityRequest9ValueFromJSON(
1174
1184
  jsonString: string,
1175
1185
  ): SafeParseResult<
1176
- UpdateFirewallConfigRequestBodySecurityRequestValue,
1186
+ UpdateFirewallConfigRequestBodySecurityRequest9Value,
1177
1187
  SDKValidationError
1178
1188
  > {
1179
1189
  return safeParse(
1180
1190
  jsonString,
1181
1191
  (x) =>
1182
- UpdateFirewallConfigRequestBodySecurityRequestValue$inboundSchema.parse(
1192
+ UpdateFirewallConfigRequestBodySecurityRequest9Value$inboundSchema.parse(
1183
1193
  JSON.parse(x),
1184
1194
  ),
1185
- `Failed to parse 'UpdateFirewallConfigRequestBodySecurityRequestValue' from JSON`,
1195
+ `Failed to parse 'UpdateFirewallConfigRequestBodySecurityRequest9Value' from JSON`,
1186
1196
  );
1187
1197
  }
1188
1198
 
@@ -1195,7 +1205,7 @@ export const UpdateFirewallConfigRequestBody9$inboundSchema: z.ZodType<
1195
1205
  action: UpdateFirewallConfigRequestBodySecurityRequest9Action$inboundSchema,
1196
1206
  id: z.string(),
1197
1207
  value: z.lazy(() =>
1198
- UpdateFirewallConfigRequestBodySecurityRequestValue$inboundSchema
1208
+ UpdateFirewallConfigRequestBodySecurityRequest9Value$inboundSchema
1199
1209
  ),
1200
1210
  });
1201
1211
 
@@ -1203,7 +1213,7 @@ export const UpdateFirewallConfigRequestBody9$inboundSchema: z.ZodType<
1203
1213
  export type UpdateFirewallConfigRequestBody9$Outbound = {
1204
1214
  action: string;
1205
1215
  id: string;
1206
- value: UpdateFirewallConfigRequestBodySecurityRequestValue$Outbound;
1216
+ value: UpdateFirewallConfigRequestBodySecurityRequest9Value$Outbound;
1207
1217
  };
1208
1218
 
1209
1219
  /** @internal */
@@ -1215,7 +1225,7 @@ export const UpdateFirewallConfigRequestBody9$outboundSchema: z.ZodType<
1215
1225
  action: UpdateFirewallConfigRequestBodySecurityRequest9Action$outboundSchema,
1216
1226
  id: z.string(),
1217
1227
  value: z.lazy(() =>
1218
- UpdateFirewallConfigRequestBodySecurityRequestValue$outboundSchema
1228
+ UpdateFirewallConfigRequestBodySecurityRequest9Value$outboundSchema
1219
1229
  ),
1220
1230
  });
1221
1231
 
@@ -1303,9 +1313,9 @@ export namespace UpdateFirewallConfigRequestBodySecurityRequest8ValueAction$ {
1303
1313
  }
1304
1314
 
1305
1315
  /** @internal */
1306
- export const UpdateFirewallConfigRequestBodySecurityValue$inboundSchema:
1316
+ export const UpdateFirewallConfigRequestBodySecurityRequestValue$inboundSchema:
1307
1317
  z.ZodType<
1308
- UpdateFirewallConfigRequestBodySecurityValue,
1318
+ UpdateFirewallConfigRequestBodySecurityRequestValue,
1309
1319
  z.ZodTypeDef,
1310
1320
  unknown
1311
1321
  > = z.object({
@@ -1317,7 +1327,7 @@ export const UpdateFirewallConfigRequestBodySecurityValue$inboundSchema:
1317
1327
  });
1318
1328
 
1319
1329
  /** @internal */
1320
- export type UpdateFirewallConfigRequestBodySecurityValue$Outbound = {
1330
+ export type UpdateFirewallConfigRequestBodySecurityRequestValue$Outbound = {
1321
1331
  hostname: string;
1322
1332
  ip: string;
1323
1333
  notes?: string | undefined;
@@ -1325,11 +1335,11 @@ export type UpdateFirewallConfigRequestBodySecurityValue$Outbound = {
1325
1335
  };
1326
1336
 
1327
1337
  /** @internal */
1328
- export const UpdateFirewallConfigRequestBodySecurityValue$outboundSchema:
1338
+ export const UpdateFirewallConfigRequestBodySecurityRequestValue$outboundSchema:
1329
1339
  z.ZodType<
1330
- UpdateFirewallConfigRequestBodySecurityValue$Outbound,
1340
+ UpdateFirewallConfigRequestBodySecurityRequestValue$Outbound,
1331
1341
  z.ZodTypeDef,
1332
- UpdateFirewallConfigRequestBodySecurityValue
1342
+ UpdateFirewallConfigRequestBodySecurityRequestValue
1333
1343
  > = z.object({
1334
1344
  hostname: z.string(),
1335
1345
  ip: z.string(),
@@ -1342,41 +1352,42 @@ export const UpdateFirewallConfigRequestBodySecurityValue$outboundSchema:
1342
1352
  * @internal
1343
1353
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1344
1354
  */
1345
- export namespace UpdateFirewallConfigRequestBodySecurityValue$ {
1346
- /** @deprecated use `UpdateFirewallConfigRequestBodySecurityValue$inboundSchema` instead. */
1355
+ export namespace UpdateFirewallConfigRequestBodySecurityRequestValue$ {
1356
+ /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequestValue$inboundSchema` instead. */
1347
1357
  export const inboundSchema =
1348
- UpdateFirewallConfigRequestBodySecurityValue$inboundSchema;
1349
- /** @deprecated use `UpdateFirewallConfigRequestBodySecurityValue$outboundSchema` instead. */
1358
+ UpdateFirewallConfigRequestBodySecurityRequestValue$inboundSchema;
1359
+ /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequestValue$outboundSchema` instead. */
1350
1360
  export const outboundSchema =
1351
- UpdateFirewallConfigRequestBodySecurityValue$outboundSchema;
1352
- /** @deprecated use `UpdateFirewallConfigRequestBodySecurityValue$Outbound` instead. */
1353
- export type Outbound = UpdateFirewallConfigRequestBodySecurityValue$Outbound;
1361
+ UpdateFirewallConfigRequestBodySecurityRequestValue$outboundSchema;
1362
+ /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequestValue$Outbound` instead. */
1363
+ export type Outbound =
1364
+ UpdateFirewallConfigRequestBodySecurityRequestValue$Outbound;
1354
1365
  }
1355
1366
 
1356
- export function updateFirewallConfigRequestBodySecurityValueToJSON(
1357
- updateFirewallConfigRequestBodySecurityValue:
1358
- UpdateFirewallConfigRequestBodySecurityValue,
1367
+ export function updateFirewallConfigRequestBodySecurityRequestValueToJSON(
1368
+ updateFirewallConfigRequestBodySecurityRequestValue:
1369
+ UpdateFirewallConfigRequestBodySecurityRequestValue,
1359
1370
  ): string {
1360
1371
  return JSON.stringify(
1361
- UpdateFirewallConfigRequestBodySecurityValue$outboundSchema.parse(
1362
- updateFirewallConfigRequestBodySecurityValue,
1372
+ UpdateFirewallConfigRequestBodySecurityRequestValue$outboundSchema.parse(
1373
+ updateFirewallConfigRequestBodySecurityRequestValue,
1363
1374
  ),
1364
1375
  );
1365
1376
  }
1366
1377
 
1367
- export function updateFirewallConfigRequestBodySecurityValueFromJSON(
1378
+ export function updateFirewallConfigRequestBodySecurityRequestValueFromJSON(
1368
1379
  jsonString: string,
1369
1380
  ): SafeParseResult<
1370
- UpdateFirewallConfigRequestBodySecurityValue,
1381
+ UpdateFirewallConfigRequestBodySecurityRequestValue,
1371
1382
  SDKValidationError
1372
1383
  > {
1373
1384
  return safeParse(
1374
1385
  jsonString,
1375
1386
  (x) =>
1376
- UpdateFirewallConfigRequestBodySecurityValue$inboundSchema.parse(
1387
+ UpdateFirewallConfigRequestBodySecurityRequestValue$inboundSchema.parse(
1377
1388
  JSON.parse(x),
1378
1389
  ),
1379
- `Failed to parse 'UpdateFirewallConfigRequestBodySecurityValue' from JSON`,
1390
+ `Failed to parse 'UpdateFirewallConfigRequestBodySecurityRequestValue' from JSON`,
1380
1391
  );
1381
1392
  }
1382
1393
 
@@ -1389,7 +1400,7 @@ export const UpdateFirewallConfigRequestBody8$inboundSchema: z.ZodType<
1389
1400
  action: UpdateFirewallConfigRequestBodySecurityRequest8Action$inboundSchema,
1390
1401
  id: z.nullable(z.any()).optional(),
1391
1402
  value: z.lazy(() =>
1392
- UpdateFirewallConfigRequestBodySecurityValue$inboundSchema
1403
+ UpdateFirewallConfigRequestBodySecurityRequestValue$inboundSchema
1393
1404
  ),
1394
1405
  });
1395
1406
 
@@ -1397,7 +1408,7 @@ export const UpdateFirewallConfigRequestBody8$inboundSchema: z.ZodType<
1397
1408
  export type UpdateFirewallConfigRequestBody8$Outbound = {
1398
1409
  action: string;
1399
1410
  id?: any | null | undefined;
1400
- value: UpdateFirewallConfigRequestBodySecurityValue$Outbound;
1411
+ value: UpdateFirewallConfigRequestBodySecurityRequestValue$Outbound;
1401
1412
  };
1402
1413
 
1403
1414
  /** @internal */
@@ -1409,7 +1420,7 @@ export const UpdateFirewallConfigRequestBody8$outboundSchema: z.ZodType<
1409
1420
  action: UpdateFirewallConfigRequestBodySecurityRequest8Action$outboundSchema,
1410
1421
  id: z.nullable(z.any()).optional(),
1411
1422
  value: z.lazy(() =>
1412
- UpdateFirewallConfigRequestBodySecurityValue$outboundSchema
1423
+ UpdateFirewallConfigRequestBodySecurityRequestValue$outboundSchema
1413
1424
  ),
1414
1425
  });
1415
1426
 
@@ -1601,66 +1612,74 @@ export namespace UpdateFirewallConfigRequestBodySecurityRequest6ValueAction$ {
1601
1612
  }
1602
1613
 
1603
1614
  /** @internal */
1604
- export const UpdateFirewallConfigRequestBodyValue$inboundSchema: z.ZodType<
1605
- UpdateFirewallConfigRequestBodyValue,
1606
- z.ZodTypeDef,
1607
- unknown
1608
- > = z.object({
1609
- active: z.boolean(),
1610
- action:
1611
- UpdateFirewallConfigRequestBodySecurityRequest6ValueAction$inboundSchema,
1612
- });
1615
+ export const UpdateFirewallConfigRequestBodySecurityValue$inboundSchema:
1616
+ z.ZodType<
1617
+ UpdateFirewallConfigRequestBodySecurityValue,
1618
+ z.ZodTypeDef,
1619
+ unknown
1620
+ > = z.object({
1621
+ active: z.boolean(),
1622
+ action:
1623
+ UpdateFirewallConfigRequestBodySecurityRequest6ValueAction$inboundSchema,
1624
+ });
1613
1625
 
1614
1626
  /** @internal */
1615
- export type UpdateFirewallConfigRequestBodyValue$Outbound = {
1627
+ export type UpdateFirewallConfigRequestBodySecurityValue$Outbound = {
1616
1628
  active: boolean;
1617
1629
  action: string;
1618
1630
  };
1619
1631
 
1620
1632
  /** @internal */
1621
- export const UpdateFirewallConfigRequestBodyValue$outboundSchema: z.ZodType<
1622
- UpdateFirewallConfigRequestBodyValue$Outbound,
1623
- z.ZodTypeDef,
1624
- UpdateFirewallConfigRequestBodyValue
1625
- > = z.object({
1626
- active: z.boolean(),
1627
- action:
1628
- UpdateFirewallConfigRequestBodySecurityRequest6ValueAction$outboundSchema,
1629
- });
1633
+ export const UpdateFirewallConfigRequestBodySecurityValue$outboundSchema:
1634
+ z.ZodType<
1635
+ UpdateFirewallConfigRequestBodySecurityValue$Outbound,
1636
+ z.ZodTypeDef,
1637
+ UpdateFirewallConfigRequestBodySecurityValue
1638
+ > = z.object({
1639
+ active: z.boolean(),
1640
+ action:
1641
+ UpdateFirewallConfigRequestBodySecurityRequest6ValueAction$outboundSchema,
1642
+ });
1630
1643
 
1631
1644
  /**
1632
1645
  * @internal
1633
1646
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1634
1647
  */
1635
- export namespace UpdateFirewallConfigRequestBodyValue$ {
1636
- /** @deprecated use `UpdateFirewallConfigRequestBodyValue$inboundSchema` instead. */
1648
+ export namespace UpdateFirewallConfigRequestBodySecurityValue$ {
1649
+ /** @deprecated use `UpdateFirewallConfigRequestBodySecurityValue$inboundSchema` instead. */
1637
1650
  export const inboundSchema =
1638
- UpdateFirewallConfigRequestBodyValue$inboundSchema;
1639
- /** @deprecated use `UpdateFirewallConfigRequestBodyValue$outboundSchema` instead. */
1651
+ UpdateFirewallConfigRequestBodySecurityValue$inboundSchema;
1652
+ /** @deprecated use `UpdateFirewallConfigRequestBodySecurityValue$outboundSchema` instead. */
1640
1653
  export const outboundSchema =
1641
- UpdateFirewallConfigRequestBodyValue$outboundSchema;
1642
- /** @deprecated use `UpdateFirewallConfigRequestBodyValue$Outbound` instead. */
1643
- export type Outbound = UpdateFirewallConfigRequestBodyValue$Outbound;
1654
+ UpdateFirewallConfigRequestBodySecurityValue$outboundSchema;
1655
+ /** @deprecated use `UpdateFirewallConfigRequestBodySecurityValue$Outbound` instead. */
1656
+ export type Outbound = UpdateFirewallConfigRequestBodySecurityValue$Outbound;
1644
1657
  }
1645
1658
 
1646
- export function updateFirewallConfigRequestBodyValueToJSON(
1647
- updateFirewallConfigRequestBodyValue: UpdateFirewallConfigRequestBodyValue,
1659
+ export function updateFirewallConfigRequestBodySecurityValueToJSON(
1660
+ updateFirewallConfigRequestBodySecurityValue:
1661
+ UpdateFirewallConfigRequestBodySecurityValue,
1648
1662
  ): string {
1649
1663
  return JSON.stringify(
1650
- UpdateFirewallConfigRequestBodyValue$outboundSchema.parse(
1651
- updateFirewallConfigRequestBodyValue,
1664
+ UpdateFirewallConfigRequestBodySecurityValue$outboundSchema.parse(
1665
+ updateFirewallConfigRequestBodySecurityValue,
1652
1666
  ),
1653
1667
  );
1654
1668
  }
1655
1669
 
1656
- export function updateFirewallConfigRequestBodyValueFromJSON(
1670
+ export function updateFirewallConfigRequestBodySecurityValueFromJSON(
1657
1671
  jsonString: string,
1658
- ): SafeParseResult<UpdateFirewallConfigRequestBodyValue, SDKValidationError> {
1672
+ ): SafeParseResult<
1673
+ UpdateFirewallConfigRequestBodySecurityValue,
1674
+ SDKValidationError
1675
+ > {
1659
1676
  return safeParse(
1660
1677
  jsonString,
1661
1678
  (x) =>
1662
- UpdateFirewallConfigRequestBodyValue$inboundSchema.parse(JSON.parse(x)),
1663
- `Failed to parse 'UpdateFirewallConfigRequestBodyValue' from JSON`,
1679
+ UpdateFirewallConfigRequestBodySecurityValue$inboundSchema.parse(
1680
+ JSON.parse(x),
1681
+ ),
1682
+ `Failed to parse 'UpdateFirewallConfigRequestBodySecurityValue' from JSON`,
1664
1683
  );
1665
1684
  }
1666
1685
 
@@ -1672,14 +1691,16 @@ export const UpdateFirewallConfigRequestBody6$inboundSchema: z.ZodType<
1672
1691
  > = z.object({
1673
1692
  action: UpdateFirewallConfigRequestBodySecurityRequest6Action$inboundSchema,
1674
1693
  id: Id$inboundSchema,
1675
- value: z.lazy(() => UpdateFirewallConfigRequestBodyValue$inboundSchema),
1694
+ value: z.lazy(() =>
1695
+ UpdateFirewallConfigRequestBodySecurityValue$inboundSchema
1696
+ ),
1676
1697
  });
1677
1698
 
1678
1699
  /** @internal */
1679
1700
  export type UpdateFirewallConfigRequestBody6$Outbound = {
1680
1701
  action: string;
1681
1702
  id: string;
1682
- value: UpdateFirewallConfigRequestBodyValue$Outbound;
1703
+ value: UpdateFirewallConfigRequestBodySecurityValue$Outbound;
1683
1704
  };
1684
1705
 
1685
1706
  /** @internal */
@@ -1690,7 +1711,9 @@ export const UpdateFirewallConfigRequestBody6$outboundSchema: z.ZodType<
1690
1711
  > = z.object({
1691
1712
  action: UpdateFirewallConfigRequestBodySecurityRequest6Action$outboundSchema,
1692
1713
  id: Id$outboundSchema,
1693
- value: z.lazy(() => UpdateFirewallConfigRequestBodyValue$outboundSchema),
1714
+ value: z.lazy(() =>
1715
+ UpdateFirewallConfigRequestBodySecurityValue$outboundSchema
1716
+ ),
1694
1717
  });
1695
1718
 
1696
1719
  /**
@@ -1945,24 +1968,25 @@ export namespace UpdateFirewallConfigRequestBodySecurityType$ {
1945
1968
  }
1946
1969
 
1947
1970
  /** @internal */
1948
- export const RequestBodyOp$inboundSchema: z.ZodNativeEnum<
1949
- typeof RequestBodyOp
1950
- > = z.nativeEnum(RequestBodyOp);
1971
+ export const UpdateFirewallConfigRequestBodyOp$inboundSchema: z.ZodNativeEnum<
1972
+ typeof UpdateFirewallConfigRequestBodyOp
1973
+ > = z.nativeEnum(UpdateFirewallConfigRequestBodyOp);
1951
1974
 
1952
1975
  /** @internal */
1953
- export const RequestBodyOp$outboundSchema: z.ZodNativeEnum<
1954
- typeof RequestBodyOp
1955
- > = RequestBodyOp$inboundSchema;
1976
+ export const UpdateFirewallConfigRequestBodyOp$outboundSchema: z.ZodNativeEnum<
1977
+ typeof UpdateFirewallConfigRequestBodyOp
1978
+ > = UpdateFirewallConfigRequestBodyOp$inboundSchema;
1956
1979
 
1957
1980
  /**
1958
1981
  * @internal
1959
1982
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1960
1983
  */
1961
- export namespace RequestBodyOp$ {
1962
- /** @deprecated use `RequestBodyOp$inboundSchema` instead. */
1963
- export const inboundSchema = RequestBodyOp$inboundSchema;
1964
- /** @deprecated use `RequestBodyOp$outboundSchema` instead. */
1965
- export const outboundSchema = RequestBodyOp$outboundSchema;
1984
+ export namespace UpdateFirewallConfigRequestBodyOp$ {
1985
+ /** @deprecated use `UpdateFirewallConfigRequestBodyOp$inboundSchema` instead. */
1986
+ export const inboundSchema = UpdateFirewallConfigRequestBodyOp$inboundSchema;
1987
+ /** @deprecated use `UpdateFirewallConfigRequestBodyOp$outboundSchema` instead. */
1988
+ export const outboundSchema =
1989
+ UpdateFirewallConfigRequestBodyOp$outboundSchema;
1966
1990
  }
1967
1991
 
1968
1992
  /** @internal */
@@ -2031,20 +2055,20 @@ export function updateFirewallConfigRequestBodySecurityRequest3ValueFromJSON(
2031
2055
  }
2032
2056
 
2033
2057
  /** @internal */
2034
- export const RequestBodyConditions$inboundSchema: z.ZodType<
2035
- RequestBodyConditions,
2058
+ export const UpdateFirewallConfigRequestBodyConditions$inboundSchema: z.ZodType<
2059
+ UpdateFirewallConfigRequestBodyConditions,
2036
2060
  z.ZodTypeDef,
2037
2061
  unknown
2038
2062
  > = z.object({
2039
2063
  type: UpdateFirewallConfigRequestBodySecurityType$inboundSchema,
2040
- op: RequestBodyOp$inboundSchema,
2064
+ op: UpdateFirewallConfigRequestBodyOp$inboundSchema,
2041
2065
  neg: z.boolean().optional(),
2042
2066
  key: z.string().optional(),
2043
2067
  value: z.union([z.string(), z.array(z.string()), z.number()]).optional(),
2044
2068
  });
2045
2069
 
2046
2070
  /** @internal */
2047
- export type RequestBodyConditions$Outbound = {
2071
+ export type UpdateFirewallConfigRequestBodyConditions$Outbound = {
2048
2072
  type: string;
2049
2073
  op: string;
2050
2074
  neg?: boolean | undefined;
@@ -2053,100 +2077,129 @@ export type RequestBodyConditions$Outbound = {
2053
2077
  };
2054
2078
 
2055
2079
  /** @internal */
2056
- export const RequestBodyConditions$outboundSchema: z.ZodType<
2057
- RequestBodyConditions$Outbound,
2058
- z.ZodTypeDef,
2059
- RequestBodyConditions
2060
- > = z.object({
2061
- type: UpdateFirewallConfigRequestBodySecurityType$outboundSchema,
2062
- op: RequestBodyOp$outboundSchema,
2063
- neg: z.boolean().optional(),
2064
- key: z.string().optional(),
2065
- value: z.union([z.string(), z.array(z.string()), z.number()]).optional(),
2066
- });
2080
+ export const UpdateFirewallConfigRequestBodyConditions$outboundSchema:
2081
+ z.ZodType<
2082
+ UpdateFirewallConfigRequestBodyConditions$Outbound,
2083
+ z.ZodTypeDef,
2084
+ UpdateFirewallConfigRequestBodyConditions
2085
+ > = z.object({
2086
+ type: UpdateFirewallConfigRequestBodySecurityType$outboundSchema,
2087
+ op: UpdateFirewallConfigRequestBodyOp$outboundSchema,
2088
+ neg: z.boolean().optional(),
2089
+ key: z.string().optional(),
2090
+ value: z.union([z.string(), z.array(z.string()), z.number()]).optional(),
2091
+ });
2067
2092
 
2068
2093
  /**
2069
2094
  * @internal
2070
2095
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2071
2096
  */
2072
- export namespace RequestBodyConditions$ {
2073
- /** @deprecated use `RequestBodyConditions$inboundSchema` instead. */
2074
- export const inboundSchema = RequestBodyConditions$inboundSchema;
2075
- /** @deprecated use `RequestBodyConditions$outboundSchema` instead. */
2076
- export const outboundSchema = RequestBodyConditions$outboundSchema;
2077
- /** @deprecated use `RequestBodyConditions$Outbound` instead. */
2078
- export type Outbound = RequestBodyConditions$Outbound;
2097
+ export namespace UpdateFirewallConfigRequestBodyConditions$ {
2098
+ /** @deprecated use `UpdateFirewallConfigRequestBodyConditions$inboundSchema` instead. */
2099
+ export const inboundSchema =
2100
+ UpdateFirewallConfigRequestBodyConditions$inboundSchema;
2101
+ /** @deprecated use `UpdateFirewallConfigRequestBodyConditions$outboundSchema` instead. */
2102
+ export const outboundSchema =
2103
+ UpdateFirewallConfigRequestBodyConditions$outboundSchema;
2104
+ /** @deprecated use `UpdateFirewallConfigRequestBodyConditions$Outbound` instead. */
2105
+ export type Outbound = UpdateFirewallConfigRequestBodyConditions$Outbound;
2079
2106
  }
2080
2107
 
2081
- export function requestBodyConditionsToJSON(
2082
- requestBodyConditions: RequestBodyConditions,
2108
+ export function updateFirewallConfigRequestBodyConditionsToJSON(
2109
+ updateFirewallConfigRequestBodyConditions:
2110
+ UpdateFirewallConfigRequestBodyConditions,
2083
2111
  ): string {
2084
2112
  return JSON.stringify(
2085
- RequestBodyConditions$outboundSchema.parse(requestBodyConditions),
2113
+ UpdateFirewallConfigRequestBodyConditions$outboundSchema.parse(
2114
+ updateFirewallConfigRequestBodyConditions,
2115
+ ),
2086
2116
  );
2087
2117
  }
2088
2118
 
2089
- export function requestBodyConditionsFromJSON(
2119
+ export function updateFirewallConfigRequestBodyConditionsFromJSON(
2090
2120
  jsonString: string,
2091
- ): SafeParseResult<RequestBodyConditions, SDKValidationError> {
2121
+ ): SafeParseResult<
2122
+ UpdateFirewallConfigRequestBodyConditions,
2123
+ SDKValidationError
2124
+ > {
2092
2125
  return safeParse(
2093
2126
  jsonString,
2094
- (x) => RequestBodyConditions$inboundSchema.parse(JSON.parse(x)),
2095
- `Failed to parse 'RequestBodyConditions' from JSON`,
2127
+ (x) =>
2128
+ UpdateFirewallConfigRequestBodyConditions$inboundSchema.parse(
2129
+ JSON.parse(x),
2130
+ ),
2131
+ `Failed to parse 'UpdateFirewallConfigRequestBodyConditions' from JSON`,
2096
2132
  );
2097
2133
  }
2098
2134
 
2099
2135
  /** @internal */
2100
- export const RequestBodyConditionGroup$inboundSchema: z.ZodType<
2101
- RequestBodyConditionGroup,
2102
- z.ZodTypeDef,
2103
- unknown
2104
- > = z.object({
2105
- conditions: z.array(z.lazy(() => RequestBodyConditions$inboundSchema)),
2106
- });
2136
+ export const UpdateFirewallConfigRequestBodyConditionGroup$inboundSchema:
2137
+ z.ZodType<
2138
+ UpdateFirewallConfigRequestBodyConditionGroup,
2139
+ z.ZodTypeDef,
2140
+ unknown
2141
+ > = z.object({
2142
+ conditions: z.array(
2143
+ z.lazy(() => UpdateFirewallConfigRequestBodyConditions$inboundSchema),
2144
+ ),
2145
+ });
2107
2146
 
2108
2147
  /** @internal */
2109
- export type RequestBodyConditionGroup$Outbound = {
2110
- conditions: Array<RequestBodyConditions$Outbound>;
2148
+ export type UpdateFirewallConfigRequestBodyConditionGroup$Outbound = {
2149
+ conditions: Array<UpdateFirewallConfigRequestBodyConditions$Outbound>;
2111
2150
  };
2112
2151
 
2113
2152
  /** @internal */
2114
- export const RequestBodyConditionGroup$outboundSchema: z.ZodType<
2115
- RequestBodyConditionGroup$Outbound,
2116
- z.ZodTypeDef,
2117
- RequestBodyConditionGroup
2118
- > = z.object({
2119
- conditions: z.array(z.lazy(() => RequestBodyConditions$outboundSchema)),
2120
- });
2153
+ export const UpdateFirewallConfigRequestBodyConditionGroup$outboundSchema:
2154
+ z.ZodType<
2155
+ UpdateFirewallConfigRequestBodyConditionGroup$Outbound,
2156
+ z.ZodTypeDef,
2157
+ UpdateFirewallConfigRequestBodyConditionGroup
2158
+ > = z.object({
2159
+ conditions: z.array(
2160
+ z.lazy(() => UpdateFirewallConfigRequestBodyConditions$outboundSchema),
2161
+ ),
2162
+ });
2121
2163
 
2122
2164
  /**
2123
2165
  * @internal
2124
2166
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2125
2167
  */
2126
- export namespace RequestBodyConditionGroup$ {
2127
- /** @deprecated use `RequestBodyConditionGroup$inboundSchema` instead. */
2128
- export const inboundSchema = RequestBodyConditionGroup$inboundSchema;
2129
- /** @deprecated use `RequestBodyConditionGroup$outboundSchema` instead. */
2130
- export const outboundSchema = RequestBodyConditionGroup$outboundSchema;
2131
- /** @deprecated use `RequestBodyConditionGroup$Outbound` instead. */
2132
- export type Outbound = RequestBodyConditionGroup$Outbound;
2168
+ export namespace UpdateFirewallConfigRequestBodyConditionGroup$ {
2169
+ /** @deprecated use `UpdateFirewallConfigRequestBodyConditionGroup$inboundSchema` instead. */
2170
+ export const inboundSchema =
2171
+ UpdateFirewallConfigRequestBodyConditionGroup$inboundSchema;
2172
+ /** @deprecated use `UpdateFirewallConfigRequestBodyConditionGroup$outboundSchema` instead. */
2173
+ export const outboundSchema =
2174
+ UpdateFirewallConfigRequestBodyConditionGroup$outboundSchema;
2175
+ /** @deprecated use `UpdateFirewallConfigRequestBodyConditionGroup$Outbound` instead. */
2176
+ export type Outbound = UpdateFirewallConfigRequestBodyConditionGroup$Outbound;
2133
2177
  }
2134
2178
 
2135
- export function requestBodyConditionGroupToJSON(
2136
- requestBodyConditionGroup: RequestBodyConditionGroup,
2179
+ export function updateFirewallConfigRequestBodyConditionGroupToJSON(
2180
+ updateFirewallConfigRequestBodyConditionGroup:
2181
+ UpdateFirewallConfigRequestBodyConditionGroup,
2137
2182
  ): string {
2138
2183
  return JSON.stringify(
2139
- RequestBodyConditionGroup$outboundSchema.parse(requestBodyConditionGroup),
2184
+ UpdateFirewallConfigRequestBodyConditionGroup$outboundSchema.parse(
2185
+ updateFirewallConfigRequestBodyConditionGroup,
2186
+ ),
2140
2187
  );
2141
2188
  }
2142
2189
 
2143
- export function requestBodyConditionGroupFromJSON(
2190
+ export function updateFirewallConfigRequestBodyConditionGroupFromJSON(
2144
2191
  jsonString: string,
2145
- ): SafeParseResult<RequestBodyConditionGroup, SDKValidationError> {
2192
+ ): SafeParseResult<
2193
+ UpdateFirewallConfigRequestBodyConditionGroup,
2194
+ SDKValidationError
2195
+ > {
2146
2196
  return safeParse(
2147
2197
  jsonString,
2148
- (x) => RequestBodyConditionGroup$inboundSchema.parse(JSON.parse(x)),
2149
- `Failed to parse 'RequestBodyConditionGroup' from JSON`,
2198
+ (x) =>
2199
+ UpdateFirewallConfigRequestBodyConditionGroup$inboundSchema.parse(
2200
+ JSON.parse(x),
2201
+ ),
2202
+ `Failed to parse 'UpdateFirewallConfigRequestBodyConditionGroup' from JSON`,
2150
2203
  );
2151
2204
  }
2152
2205
 
@@ -2198,82 +2251,92 @@ export namespace UpdateFirewallConfigRateLimitAlgo$ {
2198
2251
  }
2199
2252
 
2200
2253
  /** @internal */
2201
- export const UpdateFirewallConfigAction1$inboundSchema: z.ZodNativeEnum<
2202
- typeof UpdateFirewallConfigAction1
2203
- > = z.nativeEnum(UpdateFirewallConfigAction1);
2254
+ export const UpdateFirewallConfigActionSecurity1$inboundSchema: z.ZodNativeEnum<
2255
+ typeof UpdateFirewallConfigActionSecurity1
2256
+ > = z.nativeEnum(UpdateFirewallConfigActionSecurity1);
2204
2257
 
2205
2258
  /** @internal */
2206
- export const UpdateFirewallConfigAction1$outboundSchema: z.ZodNativeEnum<
2207
- typeof UpdateFirewallConfigAction1
2208
- > = UpdateFirewallConfigAction1$inboundSchema;
2259
+ export const UpdateFirewallConfigActionSecurity1$outboundSchema:
2260
+ z.ZodNativeEnum<typeof UpdateFirewallConfigActionSecurity1> =
2261
+ UpdateFirewallConfigActionSecurity1$inboundSchema;
2209
2262
 
2210
2263
  /**
2211
2264
  * @internal
2212
2265
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2213
2266
  */
2214
- export namespace UpdateFirewallConfigAction1$ {
2215
- /** @deprecated use `UpdateFirewallConfigAction1$inboundSchema` instead. */
2216
- export const inboundSchema = UpdateFirewallConfigAction1$inboundSchema;
2217
- /** @deprecated use `UpdateFirewallConfigAction1$outboundSchema` instead. */
2218
- export const outboundSchema = UpdateFirewallConfigAction1$outboundSchema;
2267
+ export namespace UpdateFirewallConfigActionSecurity1$ {
2268
+ /** @deprecated use `UpdateFirewallConfigActionSecurity1$inboundSchema` instead. */
2269
+ export const inboundSchema =
2270
+ UpdateFirewallConfigActionSecurity1$inboundSchema;
2271
+ /** @deprecated use `UpdateFirewallConfigActionSecurity1$outboundSchema` instead. */
2272
+ export const outboundSchema =
2273
+ UpdateFirewallConfigActionSecurity1$outboundSchema;
2219
2274
  }
2220
2275
 
2221
2276
  /** @internal */
2222
- export const UpdateFirewallConfigRateLimitAction$inboundSchema: z.ZodType<
2223
- UpdateFirewallConfigRateLimitAction,
2224
- z.ZodTypeDef,
2225
- unknown
2226
- > = z.union([UpdateFirewallConfigAction1$inboundSchema, z.any()]);
2277
+ export const UpdateFirewallConfigRateLimitSecurityAction$inboundSchema:
2278
+ z.ZodType<
2279
+ UpdateFirewallConfigRateLimitSecurityAction,
2280
+ z.ZodTypeDef,
2281
+ unknown
2282
+ > = z.union([UpdateFirewallConfigActionSecurity1$inboundSchema, z.any()]);
2227
2283
 
2228
2284
  /** @internal */
2229
- export type UpdateFirewallConfigRateLimitAction$Outbound = string | any;
2285
+ export type UpdateFirewallConfigRateLimitSecurityAction$Outbound = string | any;
2230
2286
 
2231
2287
  /** @internal */
2232
- export const UpdateFirewallConfigRateLimitAction$outboundSchema: z.ZodType<
2233
- UpdateFirewallConfigRateLimitAction$Outbound,
2234
- z.ZodTypeDef,
2235
- UpdateFirewallConfigRateLimitAction
2236
- > = z.union([UpdateFirewallConfigAction1$outboundSchema, z.any()]);
2288
+ export const UpdateFirewallConfigRateLimitSecurityAction$outboundSchema:
2289
+ z.ZodType<
2290
+ UpdateFirewallConfigRateLimitSecurityAction$Outbound,
2291
+ z.ZodTypeDef,
2292
+ UpdateFirewallConfigRateLimitSecurityAction
2293
+ > = z.union([UpdateFirewallConfigActionSecurity1$outboundSchema, z.any()]);
2237
2294
 
2238
2295
  /**
2239
2296
  * @internal
2240
2297
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2241
2298
  */
2242
- export namespace UpdateFirewallConfigRateLimitAction$ {
2243
- /** @deprecated use `UpdateFirewallConfigRateLimitAction$inboundSchema` instead. */
2299
+ export namespace UpdateFirewallConfigRateLimitSecurityAction$ {
2300
+ /** @deprecated use `UpdateFirewallConfigRateLimitSecurityAction$inboundSchema` instead. */
2244
2301
  export const inboundSchema =
2245
- UpdateFirewallConfigRateLimitAction$inboundSchema;
2246
- /** @deprecated use `UpdateFirewallConfigRateLimitAction$outboundSchema` instead. */
2302
+ UpdateFirewallConfigRateLimitSecurityAction$inboundSchema;
2303
+ /** @deprecated use `UpdateFirewallConfigRateLimitSecurityAction$outboundSchema` instead. */
2247
2304
  export const outboundSchema =
2248
- UpdateFirewallConfigRateLimitAction$outboundSchema;
2249
- /** @deprecated use `UpdateFirewallConfigRateLimitAction$Outbound` instead. */
2250
- export type Outbound = UpdateFirewallConfigRateLimitAction$Outbound;
2305
+ UpdateFirewallConfigRateLimitSecurityAction$outboundSchema;
2306
+ /** @deprecated use `UpdateFirewallConfigRateLimitSecurityAction$Outbound` instead. */
2307
+ export type Outbound = UpdateFirewallConfigRateLimitSecurityAction$Outbound;
2251
2308
  }
2252
2309
 
2253
- export function updateFirewallConfigRateLimitActionToJSON(
2254
- updateFirewallConfigRateLimitAction: UpdateFirewallConfigRateLimitAction,
2310
+ export function updateFirewallConfigRateLimitSecurityActionToJSON(
2311
+ updateFirewallConfigRateLimitSecurityAction:
2312
+ UpdateFirewallConfigRateLimitSecurityAction,
2255
2313
  ): string {
2256
2314
  return JSON.stringify(
2257
- UpdateFirewallConfigRateLimitAction$outboundSchema.parse(
2258
- updateFirewallConfigRateLimitAction,
2315
+ UpdateFirewallConfigRateLimitSecurityAction$outboundSchema.parse(
2316
+ updateFirewallConfigRateLimitSecurityAction,
2259
2317
  ),
2260
2318
  );
2261
2319
  }
2262
2320
 
2263
- export function updateFirewallConfigRateLimitActionFromJSON(
2321
+ export function updateFirewallConfigRateLimitSecurityActionFromJSON(
2264
2322
  jsonString: string,
2265
- ): SafeParseResult<UpdateFirewallConfigRateLimitAction, SDKValidationError> {
2323
+ ): SafeParseResult<
2324
+ UpdateFirewallConfigRateLimitSecurityAction,
2325
+ SDKValidationError
2326
+ > {
2266
2327
  return safeParse(
2267
2328
  jsonString,
2268
2329
  (x) =>
2269
- UpdateFirewallConfigRateLimitAction$inboundSchema.parse(JSON.parse(x)),
2270
- `Failed to parse 'UpdateFirewallConfigRateLimitAction' from JSON`,
2330
+ UpdateFirewallConfigRateLimitSecurityAction$inboundSchema.parse(
2331
+ JSON.parse(x),
2332
+ ),
2333
+ `Failed to parse 'UpdateFirewallConfigRateLimitSecurityAction' from JSON`,
2271
2334
  );
2272
2335
  }
2273
2336
 
2274
2337
  /** @internal */
2275
- export const UpdateFirewallConfigRateLimit1$inboundSchema: z.ZodType<
2276
- UpdateFirewallConfigRateLimit1,
2338
+ export const UpdateFirewallConfigRateLimitSecurity1$inboundSchema: z.ZodType<
2339
+ UpdateFirewallConfigRateLimitSecurity1,
2277
2340
  z.ZodTypeDef,
2278
2341
  unknown
2279
2342
  > = z.object({
@@ -2282,12 +2345,12 @@ export const UpdateFirewallConfigRateLimit1$inboundSchema: z.ZodType<
2282
2345
  limit: z.number(),
2283
2346
  keys: z.array(z.string()),
2284
2347
  action: z.nullable(
2285
- z.union([UpdateFirewallConfigAction1$inboundSchema, z.any()]),
2348
+ z.union([UpdateFirewallConfigActionSecurity1$inboundSchema, z.any()]),
2286
2349
  ).optional(),
2287
2350
  });
2288
2351
 
2289
2352
  /** @internal */
2290
- export type UpdateFirewallConfigRateLimit1$Outbound = {
2353
+ export type UpdateFirewallConfigRateLimitSecurity1$Outbound = {
2291
2354
  algo: string;
2292
2355
  window: number;
2293
2356
  limit: number;
@@ -2296,17 +2359,17 @@ export type UpdateFirewallConfigRateLimit1$Outbound = {
2296
2359
  };
2297
2360
 
2298
2361
  /** @internal */
2299
- export const UpdateFirewallConfigRateLimit1$outboundSchema: z.ZodType<
2300
- UpdateFirewallConfigRateLimit1$Outbound,
2362
+ export const UpdateFirewallConfigRateLimitSecurity1$outboundSchema: z.ZodType<
2363
+ UpdateFirewallConfigRateLimitSecurity1$Outbound,
2301
2364
  z.ZodTypeDef,
2302
- UpdateFirewallConfigRateLimit1
2365
+ UpdateFirewallConfigRateLimitSecurity1
2303
2366
  > = z.object({
2304
2367
  algo: UpdateFirewallConfigRateLimitAlgo$outboundSchema,
2305
2368
  window: z.number(),
2306
2369
  limit: z.number(),
2307
2370
  keys: z.array(z.string()),
2308
2371
  action: z.nullable(
2309
- z.union([UpdateFirewallConfigAction1$outboundSchema, z.any()]),
2372
+ z.union([UpdateFirewallConfigActionSecurity1$outboundSchema, z.any()]),
2310
2373
  ).optional(),
2311
2374
  });
2312
2375
 
@@ -2314,57 +2377,61 @@ export const UpdateFirewallConfigRateLimit1$outboundSchema: z.ZodType<
2314
2377
  * @internal
2315
2378
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2316
2379
  */
2317
- export namespace UpdateFirewallConfigRateLimit1$ {
2318
- /** @deprecated use `UpdateFirewallConfigRateLimit1$inboundSchema` instead. */
2319
- export const inboundSchema = UpdateFirewallConfigRateLimit1$inboundSchema;
2320
- /** @deprecated use `UpdateFirewallConfigRateLimit1$outboundSchema` instead. */
2321
- export const outboundSchema = UpdateFirewallConfigRateLimit1$outboundSchema;
2322
- /** @deprecated use `UpdateFirewallConfigRateLimit1$Outbound` instead. */
2323
- export type Outbound = UpdateFirewallConfigRateLimit1$Outbound;
2380
+ export namespace UpdateFirewallConfigRateLimitSecurity1$ {
2381
+ /** @deprecated use `UpdateFirewallConfigRateLimitSecurity1$inboundSchema` instead. */
2382
+ export const inboundSchema =
2383
+ UpdateFirewallConfigRateLimitSecurity1$inboundSchema;
2384
+ /** @deprecated use `UpdateFirewallConfigRateLimitSecurity1$outboundSchema` instead. */
2385
+ export const outboundSchema =
2386
+ UpdateFirewallConfigRateLimitSecurity1$outboundSchema;
2387
+ /** @deprecated use `UpdateFirewallConfigRateLimitSecurity1$Outbound` instead. */
2388
+ export type Outbound = UpdateFirewallConfigRateLimitSecurity1$Outbound;
2324
2389
  }
2325
2390
 
2326
- export function updateFirewallConfigRateLimit1ToJSON(
2327
- updateFirewallConfigRateLimit1: UpdateFirewallConfigRateLimit1,
2391
+ export function updateFirewallConfigRateLimitSecurity1ToJSON(
2392
+ updateFirewallConfigRateLimitSecurity1:
2393
+ UpdateFirewallConfigRateLimitSecurity1,
2328
2394
  ): string {
2329
2395
  return JSON.stringify(
2330
- UpdateFirewallConfigRateLimit1$outboundSchema.parse(
2331
- updateFirewallConfigRateLimit1,
2396
+ UpdateFirewallConfigRateLimitSecurity1$outboundSchema.parse(
2397
+ updateFirewallConfigRateLimitSecurity1,
2332
2398
  ),
2333
2399
  );
2334
2400
  }
2335
2401
 
2336
- export function updateFirewallConfigRateLimit1FromJSON(
2402
+ export function updateFirewallConfigRateLimitSecurity1FromJSON(
2337
2403
  jsonString: string,
2338
- ): SafeParseResult<UpdateFirewallConfigRateLimit1, SDKValidationError> {
2404
+ ): SafeParseResult<UpdateFirewallConfigRateLimitSecurity1, SDKValidationError> {
2339
2405
  return safeParse(
2340
2406
  jsonString,
2341
- (x) => UpdateFirewallConfigRateLimit1$inboundSchema.parse(JSON.parse(x)),
2342
- `Failed to parse 'UpdateFirewallConfigRateLimit1' from JSON`,
2407
+ (x) =>
2408
+ UpdateFirewallConfigRateLimitSecurity1$inboundSchema.parse(JSON.parse(x)),
2409
+ `Failed to parse 'UpdateFirewallConfigRateLimitSecurity1' from JSON`,
2343
2410
  );
2344
2411
  }
2345
2412
 
2346
2413
  /** @internal */
2347
- export const RequestBodyRateLimit$inboundSchema: z.ZodType<
2348
- RequestBodyRateLimit,
2414
+ export const UpdateFirewallConfigRequestBodyRateLimit$inboundSchema: z.ZodType<
2415
+ UpdateFirewallConfigRequestBodyRateLimit,
2349
2416
  z.ZodTypeDef,
2350
2417
  unknown
2351
2418
  > = z.union([
2352
- z.lazy(() => UpdateFirewallConfigRateLimit1$inboundSchema),
2419
+ z.lazy(() => UpdateFirewallConfigRateLimitSecurity1$inboundSchema),
2353
2420
  z.any(),
2354
2421
  ]);
2355
2422
 
2356
2423
  /** @internal */
2357
- export type RequestBodyRateLimit$Outbound =
2358
- | UpdateFirewallConfigRateLimit1$Outbound
2424
+ export type UpdateFirewallConfigRequestBodyRateLimit$Outbound =
2425
+ | UpdateFirewallConfigRateLimitSecurity1$Outbound
2359
2426
  | any;
2360
2427
 
2361
2428
  /** @internal */
2362
- export const RequestBodyRateLimit$outboundSchema: z.ZodType<
2363
- RequestBodyRateLimit$Outbound,
2429
+ export const UpdateFirewallConfigRequestBodyRateLimit$outboundSchema: z.ZodType<
2430
+ UpdateFirewallConfigRequestBodyRateLimit$Outbound,
2364
2431
  z.ZodTypeDef,
2365
- RequestBodyRateLimit
2432
+ UpdateFirewallConfigRequestBodyRateLimit
2366
2433
  > = z.union([
2367
- z.lazy(() => UpdateFirewallConfigRateLimit1$outboundSchema),
2434
+ z.lazy(() => UpdateFirewallConfigRateLimitSecurity1$outboundSchema),
2368
2435
  z.any(),
2369
2436
  ]);
2370
2437
 
@@ -2372,36 +2439,47 @@ export const RequestBodyRateLimit$outboundSchema: z.ZodType<
2372
2439
  * @internal
2373
2440
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2374
2441
  */
2375
- export namespace RequestBodyRateLimit$ {
2376
- /** @deprecated use `RequestBodyRateLimit$inboundSchema` instead. */
2377
- export const inboundSchema = RequestBodyRateLimit$inboundSchema;
2378
- /** @deprecated use `RequestBodyRateLimit$outboundSchema` instead. */
2379
- export const outboundSchema = RequestBodyRateLimit$outboundSchema;
2380
- /** @deprecated use `RequestBodyRateLimit$Outbound` instead. */
2381
- export type Outbound = RequestBodyRateLimit$Outbound;
2442
+ export namespace UpdateFirewallConfigRequestBodyRateLimit$ {
2443
+ /** @deprecated use `UpdateFirewallConfigRequestBodyRateLimit$inboundSchema` instead. */
2444
+ export const inboundSchema =
2445
+ UpdateFirewallConfigRequestBodyRateLimit$inboundSchema;
2446
+ /** @deprecated use `UpdateFirewallConfigRequestBodyRateLimit$outboundSchema` instead. */
2447
+ export const outboundSchema =
2448
+ UpdateFirewallConfigRequestBodyRateLimit$outboundSchema;
2449
+ /** @deprecated use `UpdateFirewallConfigRequestBodyRateLimit$Outbound` instead. */
2450
+ export type Outbound = UpdateFirewallConfigRequestBodyRateLimit$Outbound;
2382
2451
  }
2383
2452
 
2384
- export function requestBodyRateLimitToJSON(
2385
- requestBodyRateLimit: RequestBodyRateLimit,
2453
+ export function updateFirewallConfigRequestBodyRateLimitToJSON(
2454
+ updateFirewallConfigRequestBodyRateLimit:
2455
+ UpdateFirewallConfigRequestBodyRateLimit,
2386
2456
  ): string {
2387
2457
  return JSON.stringify(
2388
- RequestBodyRateLimit$outboundSchema.parse(requestBodyRateLimit),
2458
+ UpdateFirewallConfigRequestBodyRateLimit$outboundSchema.parse(
2459
+ updateFirewallConfigRequestBodyRateLimit,
2460
+ ),
2389
2461
  );
2390
2462
  }
2391
2463
 
2392
- export function requestBodyRateLimitFromJSON(
2464
+ export function updateFirewallConfigRequestBodyRateLimitFromJSON(
2393
2465
  jsonString: string,
2394
- ): SafeParseResult<RequestBodyRateLimit, SDKValidationError> {
2466
+ ): SafeParseResult<
2467
+ UpdateFirewallConfigRequestBodyRateLimit,
2468
+ SDKValidationError
2469
+ > {
2395
2470
  return safeParse(
2396
2471
  jsonString,
2397
- (x) => RequestBodyRateLimit$inboundSchema.parse(JSON.parse(x)),
2398
- `Failed to parse 'RequestBodyRateLimit' from JSON`,
2472
+ (x) =>
2473
+ UpdateFirewallConfigRequestBodyRateLimit$inboundSchema.parse(
2474
+ JSON.parse(x),
2475
+ ),
2476
+ `Failed to parse 'UpdateFirewallConfigRequestBodyRateLimit' from JSON`,
2399
2477
  );
2400
2478
  }
2401
2479
 
2402
2480
  /** @internal */
2403
- export const UpdateFirewallConfigRedirect1$inboundSchema: z.ZodType<
2404
- UpdateFirewallConfigRedirect1,
2481
+ export const UpdateFirewallConfigRedirectSecurity1$inboundSchema: z.ZodType<
2482
+ UpdateFirewallConfigRedirectSecurity1,
2405
2483
  z.ZodTypeDef,
2406
2484
  unknown
2407
2485
  > = z.object({
@@ -2410,16 +2488,16 @@ export const UpdateFirewallConfigRedirect1$inboundSchema: z.ZodType<
2410
2488
  });
2411
2489
 
2412
2490
  /** @internal */
2413
- export type UpdateFirewallConfigRedirect1$Outbound = {
2491
+ export type UpdateFirewallConfigRedirectSecurity1$Outbound = {
2414
2492
  location: string;
2415
2493
  permanent: boolean;
2416
2494
  };
2417
2495
 
2418
2496
  /** @internal */
2419
- export const UpdateFirewallConfigRedirect1$outboundSchema: z.ZodType<
2420
- UpdateFirewallConfigRedirect1$Outbound,
2497
+ export const UpdateFirewallConfigRedirectSecurity1$outboundSchema: z.ZodType<
2498
+ UpdateFirewallConfigRedirectSecurity1$Outbound,
2421
2499
  z.ZodTypeDef,
2422
- UpdateFirewallConfigRedirect1
2500
+ UpdateFirewallConfigRedirectSecurity1
2423
2501
  > = z.object({
2424
2502
  location: z.string(),
2425
2503
  permanent: z.boolean(),
@@ -2429,57 +2507,60 @@ export const UpdateFirewallConfigRedirect1$outboundSchema: z.ZodType<
2429
2507
  * @internal
2430
2508
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2431
2509
  */
2432
- export namespace UpdateFirewallConfigRedirect1$ {
2433
- /** @deprecated use `UpdateFirewallConfigRedirect1$inboundSchema` instead. */
2434
- export const inboundSchema = UpdateFirewallConfigRedirect1$inboundSchema;
2435
- /** @deprecated use `UpdateFirewallConfigRedirect1$outboundSchema` instead. */
2436
- export const outboundSchema = UpdateFirewallConfigRedirect1$outboundSchema;
2437
- /** @deprecated use `UpdateFirewallConfigRedirect1$Outbound` instead. */
2438
- export type Outbound = UpdateFirewallConfigRedirect1$Outbound;
2510
+ export namespace UpdateFirewallConfigRedirectSecurity1$ {
2511
+ /** @deprecated use `UpdateFirewallConfigRedirectSecurity1$inboundSchema` instead. */
2512
+ export const inboundSchema =
2513
+ UpdateFirewallConfigRedirectSecurity1$inboundSchema;
2514
+ /** @deprecated use `UpdateFirewallConfigRedirectSecurity1$outboundSchema` instead. */
2515
+ export const outboundSchema =
2516
+ UpdateFirewallConfigRedirectSecurity1$outboundSchema;
2517
+ /** @deprecated use `UpdateFirewallConfigRedirectSecurity1$Outbound` instead. */
2518
+ export type Outbound = UpdateFirewallConfigRedirectSecurity1$Outbound;
2439
2519
  }
2440
2520
 
2441
- export function updateFirewallConfigRedirect1ToJSON(
2442
- updateFirewallConfigRedirect1: UpdateFirewallConfigRedirect1,
2521
+ export function updateFirewallConfigRedirectSecurity1ToJSON(
2522
+ updateFirewallConfigRedirectSecurity1: UpdateFirewallConfigRedirectSecurity1,
2443
2523
  ): string {
2444
2524
  return JSON.stringify(
2445
- UpdateFirewallConfigRedirect1$outboundSchema.parse(
2446
- updateFirewallConfigRedirect1,
2525
+ UpdateFirewallConfigRedirectSecurity1$outboundSchema.parse(
2526
+ updateFirewallConfigRedirectSecurity1,
2447
2527
  ),
2448
2528
  );
2449
2529
  }
2450
2530
 
2451
- export function updateFirewallConfigRedirect1FromJSON(
2531
+ export function updateFirewallConfigRedirectSecurity1FromJSON(
2452
2532
  jsonString: string,
2453
- ): SafeParseResult<UpdateFirewallConfigRedirect1, SDKValidationError> {
2533
+ ): SafeParseResult<UpdateFirewallConfigRedirectSecurity1, SDKValidationError> {
2454
2534
  return safeParse(
2455
2535
  jsonString,
2456
- (x) => UpdateFirewallConfigRedirect1$inboundSchema.parse(JSON.parse(x)),
2457
- `Failed to parse 'UpdateFirewallConfigRedirect1' from JSON`,
2536
+ (x) =>
2537
+ UpdateFirewallConfigRedirectSecurity1$inboundSchema.parse(JSON.parse(x)),
2538
+ `Failed to parse 'UpdateFirewallConfigRedirectSecurity1' from JSON`,
2458
2539
  );
2459
2540
  }
2460
2541
 
2461
2542
  /** @internal */
2462
- export const RequestBodyRedirect$inboundSchema: z.ZodType<
2463
- RequestBodyRedirect,
2543
+ export const UpdateFirewallConfigRequestBodyRedirect$inboundSchema: z.ZodType<
2544
+ UpdateFirewallConfigRequestBodyRedirect,
2464
2545
  z.ZodTypeDef,
2465
2546
  unknown
2466
2547
  > = z.union([
2467
- z.lazy(() => UpdateFirewallConfigRedirect1$inboundSchema),
2548
+ z.lazy(() => UpdateFirewallConfigRedirectSecurity1$inboundSchema),
2468
2549
  z.any(),
2469
2550
  ]);
2470
2551
 
2471
2552
  /** @internal */
2472
- export type RequestBodyRedirect$Outbound =
2473
- | UpdateFirewallConfigRedirect1$Outbound
2553
+ export type UpdateFirewallConfigRequestBodyRedirect$Outbound =
2554
+ | UpdateFirewallConfigRedirectSecurity1$Outbound
2474
2555
  | any;
2475
2556
 
2476
2557
  /** @internal */
2477
- export const RequestBodyRedirect$outboundSchema: z.ZodType<
2478
- RequestBodyRedirect$Outbound,
2558
+ export const UpdateFirewallConfigRequestBodyRedirect$outboundSchema: z.ZodType<
2559
+ UpdateFirewallConfigRequestBodyRedirect$Outbound,
2479
2560
  z.ZodTypeDef,
2480
- RequestBodyRedirect
2561
+ UpdateFirewallConfigRequestBodyRedirect
2481
2562
  > = z.union([
2482
- z.lazy(() => UpdateFirewallConfigRedirect1$outboundSchema),
2563
+ z.lazy(() => UpdateFirewallConfigRedirectSecurity1$outboundSchema),
2483
2564
  z.any(),
2484
2565
  ]);
2485
2566
 
@@ -2487,36 +2568,47 @@ export const RequestBodyRedirect$outboundSchema: z.ZodType<
2487
2568
  * @internal
2488
2569
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2489
2570
  */
2490
- export namespace RequestBodyRedirect$ {
2491
- /** @deprecated use `RequestBodyRedirect$inboundSchema` instead. */
2492
- export const inboundSchema = RequestBodyRedirect$inboundSchema;
2493
- /** @deprecated use `RequestBodyRedirect$outboundSchema` instead. */
2494
- export const outboundSchema = RequestBodyRedirect$outboundSchema;
2495
- /** @deprecated use `RequestBodyRedirect$Outbound` instead. */
2496
- export type Outbound = RequestBodyRedirect$Outbound;
2571
+ export namespace UpdateFirewallConfigRequestBodyRedirect$ {
2572
+ /** @deprecated use `UpdateFirewallConfigRequestBodyRedirect$inboundSchema` instead. */
2573
+ export const inboundSchema =
2574
+ UpdateFirewallConfigRequestBodyRedirect$inboundSchema;
2575
+ /** @deprecated use `UpdateFirewallConfigRequestBodyRedirect$outboundSchema` instead. */
2576
+ export const outboundSchema =
2577
+ UpdateFirewallConfigRequestBodyRedirect$outboundSchema;
2578
+ /** @deprecated use `UpdateFirewallConfigRequestBodyRedirect$Outbound` instead. */
2579
+ export type Outbound = UpdateFirewallConfigRequestBodyRedirect$Outbound;
2497
2580
  }
2498
2581
 
2499
- export function requestBodyRedirectToJSON(
2500
- requestBodyRedirect: RequestBodyRedirect,
2582
+ export function updateFirewallConfigRequestBodyRedirectToJSON(
2583
+ updateFirewallConfigRequestBodyRedirect:
2584
+ UpdateFirewallConfigRequestBodyRedirect,
2501
2585
  ): string {
2502
2586
  return JSON.stringify(
2503
- RequestBodyRedirect$outboundSchema.parse(requestBodyRedirect),
2587
+ UpdateFirewallConfigRequestBodyRedirect$outboundSchema.parse(
2588
+ updateFirewallConfigRequestBodyRedirect,
2589
+ ),
2504
2590
  );
2505
2591
  }
2506
2592
 
2507
- export function requestBodyRedirectFromJSON(
2593
+ export function updateFirewallConfigRequestBodyRedirectFromJSON(
2508
2594
  jsonString: string,
2509
- ): SafeParseResult<RequestBodyRedirect, SDKValidationError> {
2595
+ ): SafeParseResult<
2596
+ UpdateFirewallConfigRequestBodyRedirect,
2597
+ SDKValidationError
2598
+ > {
2510
2599
  return safeParse(
2511
2600
  jsonString,
2512
- (x) => RequestBodyRedirect$inboundSchema.parse(JSON.parse(x)),
2513
- `Failed to parse 'RequestBodyRedirect' from JSON`,
2601
+ (x) =>
2602
+ UpdateFirewallConfigRequestBodyRedirect$inboundSchema.parse(
2603
+ JSON.parse(x),
2604
+ ),
2605
+ `Failed to parse 'UpdateFirewallConfigRequestBodyRedirect' from JSON`,
2514
2606
  );
2515
2607
  }
2516
2608
 
2517
2609
  /** @internal */
2518
- export const RequestBodyMitigate$inboundSchema: z.ZodType<
2519
- RequestBodyMitigate,
2610
+ export const UpdateFirewallConfigRequestBodyMitigate$inboundSchema: z.ZodType<
2611
+ UpdateFirewallConfigRequestBodyMitigate,
2520
2612
  z.ZodTypeDef,
2521
2613
  unknown
2522
2614
  > = z.object({
@@ -2524,13 +2616,13 @@ export const RequestBodyMitigate$inboundSchema: z.ZodType<
2524
2616
  UpdateFirewallConfigRequestBodySecurityRequest3ValueAction$inboundSchema,
2525
2617
  rateLimit: z.nullable(
2526
2618
  z.union([
2527
- z.lazy(() => UpdateFirewallConfigRateLimit1$inboundSchema),
2619
+ z.lazy(() => UpdateFirewallConfigRateLimitSecurity1$inboundSchema),
2528
2620
  z.any(),
2529
2621
  ]),
2530
2622
  ).optional(),
2531
2623
  redirect: z.nullable(
2532
2624
  z.union([
2533
- z.lazy(() => UpdateFirewallConfigRedirect1$inboundSchema),
2625
+ z.lazy(() => UpdateFirewallConfigRedirectSecurity1$inboundSchema),
2534
2626
  z.any(),
2535
2627
  ]),
2536
2628
  ).optional(),
@@ -2539,31 +2631,39 @@ export const RequestBodyMitigate$inboundSchema: z.ZodType<
2539
2631
  });
2540
2632
 
2541
2633
  /** @internal */
2542
- export type RequestBodyMitigate$Outbound = {
2634
+ export type UpdateFirewallConfigRequestBodyMitigate$Outbound = {
2543
2635
  action: string;
2544
- rateLimit?: UpdateFirewallConfigRateLimit1$Outbound | any | null | undefined;
2545
- redirect?: UpdateFirewallConfigRedirect1$Outbound | any | null | undefined;
2636
+ rateLimit?:
2637
+ | UpdateFirewallConfigRateLimitSecurity1$Outbound
2638
+ | any
2639
+ | null
2640
+ | undefined;
2641
+ redirect?:
2642
+ | UpdateFirewallConfigRedirectSecurity1$Outbound
2643
+ | any
2644
+ | null
2645
+ | undefined;
2546
2646
  actionDuration?: string | null | undefined;
2547
2647
  bypassSystem?: boolean | null | undefined;
2548
2648
  };
2549
2649
 
2550
2650
  /** @internal */
2551
- export const RequestBodyMitigate$outboundSchema: z.ZodType<
2552
- RequestBodyMitigate$Outbound,
2651
+ export const UpdateFirewallConfigRequestBodyMitigate$outboundSchema: z.ZodType<
2652
+ UpdateFirewallConfigRequestBodyMitigate$Outbound,
2553
2653
  z.ZodTypeDef,
2554
- RequestBodyMitigate
2654
+ UpdateFirewallConfigRequestBodyMitigate
2555
2655
  > = z.object({
2556
2656
  action:
2557
2657
  UpdateFirewallConfigRequestBodySecurityRequest3ValueAction$outboundSchema,
2558
2658
  rateLimit: z.nullable(
2559
2659
  z.union([
2560
- z.lazy(() => UpdateFirewallConfigRateLimit1$outboundSchema),
2660
+ z.lazy(() => UpdateFirewallConfigRateLimitSecurity1$outboundSchema),
2561
2661
  z.any(),
2562
2662
  ]),
2563
2663
  ).optional(),
2564
2664
  redirect: z.nullable(
2565
2665
  z.union([
2566
- z.lazy(() => UpdateFirewallConfigRedirect1$outboundSchema),
2666
+ z.lazy(() => UpdateFirewallConfigRedirectSecurity1$outboundSchema),
2567
2667
  z.any(),
2568
2668
  ]),
2569
2669
  ).optional(),
@@ -2575,30 +2675,41 @@ export const RequestBodyMitigate$outboundSchema: z.ZodType<
2575
2675
  * @internal
2576
2676
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2577
2677
  */
2578
- export namespace RequestBodyMitigate$ {
2579
- /** @deprecated use `RequestBodyMitigate$inboundSchema` instead. */
2580
- export const inboundSchema = RequestBodyMitigate$inboundSchema;
2581
- /** @deprecated use `RequestBodyMitigate$outboundSchema` instead. */
2582
- export const outboundSchema = RequestBodyMitigate$outboundSchema;
2583
- /** @deprecated use `RequestBodyMitigate$Outbound` instead. */
2584
- export type Outbound = RequestBodyMitigate$Outbound;
2678
+ export namespace UpdateFirewallConfigRequestBodyMitigate$ {
2679
+ /** @deprecated use `UpdateFirewallConfigRequestBodyMitigate$inboundSchema` instead. */
2680
+ export const inboundSchema =
2681
+ UpdateFirewallConfigRequestBodyMitigate$inboundSchema;
2682
+ /** @deprecated use `UpdateFirewallConfigRequestBodyMitigate$outboundSchema` instead. */
2683
+ export const outboundSchema =
2684
+ UpdateFirewallConfigRequestBodyMitigate$outboundSchema;
2685
+ /** @deprecated use `UpdateFirewallConfigRequestBodyMitigate$Outbound` instead. */
2686
+ export type Outbound = UpdateFirewallConfigRequestBodyMitigate$Outbound;
2585
2687
  }
2586
2688
 
2587
- export function requestBodyMitigateToJSON(
2588
- requestBodyMitigate: RequestBodyMitigate,
2689
+ export function updateFirewallConfigRequestBodyMitigateToJSON(
2690
+ updateFirewallConfigRequestBodyMitigate:
2691
+ UpdateFirewallConfigRequestBodyMitigate,
2589
2692
  ): string {
2590
2693
  return JSON.stringify(
2591
- RequestBodyMitigate$outboundSchema.parse(requestBodyMitigate),
2694
+ UpdateFirewallConfigRequestBodyMitigate$outboundSchema.parse(
2695
+ updateFirewallConfigRequestBodyMitigate,
2696
+ ),
2592
2697
  );
2593
2698
  }
2594
2699
 
2595
- export function requestBodyMitigateFromJSON(
2700
+ export function updateFirewallConfigRequestBodyMitigateFromJSON(
2596
2701
  jsonString: string,
2597
- ): SafeParseResult<RequestBodyMitigate, SDKValidationError> {
2702
+ ): SafeParseResult<
2703
+ UpdateFirewallConfigRequestBodyMitigate,
2704
+ SDKValidationError
2705
+ > {
2598
2706
  return safeParse(
2599
2707
  jsonString,
2600
- (x) => RequestBodyMitigate$inboundSchema.parse(JSON.parse(x)),
2601
- `Failed to parse 'RequestBodyMitigate' from JSON`,
2708
+ (x) =>
2709
+ UpdateFirewallConfigRequestBodyMitigate$inboundSchema.parse(
2710
+ JSON.parse(x),
2711
+ ),
2712
+ `Failed to parse 'UpdateFirewallConfigRequestBodyMitigate' from JSON`,
2602
2713
  );
2603
2714
  }
2604
2715
 
@@ -2609,12 +2720,14 @@ export const UpdateFirewallConfigRequestBodySecurityRequest3Action$inboundSchema
2609
2720
  z.ZodTypeDef,
2610
2721
  unknown
2611
2722
  > = z.object({
2612
- mitigate: z.lazy(() => RequestBodyMitigate$inboundSchema).optional(),
2723
+ mitigate: z.lazy(() =>
2724
+ UpdateFirewallConfigRequestBodyMitigate$inboundSchema
2725
+ ).optional(),
2613
2726
  });
2614
2727
 
2615
2728
  /** @internal */
2616
2729
  export type UpdateFirewallConfigRequestBodySecurityRequest3Action$Outbound = {
2617
- mitigate?: RequestBodyMitigate$Outbound | undefined;
2730
+ mitigate?: UpdateFirewallConfigRequestBodyMitigate$Outbound | undefined;
2618
2731
  };
2619
2732
 
2620
2733
  /** @internal */
@@ -2624,7 +2737,9 @@ export const UpdateFirewallConfigRequestBodySecurityRequest3Action$outboundSchem
2624
2737
  z.ZodTypeDef,
2625
2738
  UpdateFirewallConfigRequestBodySecurityRequest3Action
2626
2739
  > = z.object({
2627
- mitigate: z.lazy(() => RequestBodyMitigate$outboundSchema).optional(),
2740
+ mitigate: z.lazy(() =>
2741
+ UpdateFirewallConfigRequestBodyMitigate$outboundSchema
2742
+ ).optional(),
2628
2743
  });
2629
2744
 
2630
2745
  /**
@@ -2671,8 +2786,8 @@ export function updateFirewallConfigRequestBodySecurityRequest3ActionFromJSON(
2671
2786
  }
2672
2787
 
2673
2788
  /** @internal */
2674
- export const RequestBodyValue$inboundSchema: z.ZodType<
2675
- RequestBodyValue,
2789
+ export const UpdateFirewallConfigRequestBodyValue$inboundSchema: z.ZodType<
2790
+ UpdateFirewallConfigRequestBodyValue,
2676
2791
  z.ZodTypeDef,
2677
2792
  unknown
2678
2793
  > = z.object({
@@ -2680,7 +2795,7 @@ export const RequestBodyValue$inboundSchema: z.ZodType<
2680
2795
  description: z.string().optional(),
2681
2796
  active: z.boolean(),
2682
2797
  conditionGroup: z.array(
2683
- z.lazy(() => RequestBodyConditionGroup$inboundSchema),
2798
+ z.lazy(() => UpdateFirewallConfigRequestBodyConditionGroup$inboundSchema),
2684
2799
  ),
2685
2800
  action: z.lazy(() =>
2686
2801
  UpdateFirewallConfigRequestBodySecurityRequest3Action$inboundSchema
@@ -2688,25 +2803,25 @@ export const RequestBodyValue$inboundSchema: z.ZodType<
2688
2803
  });
2689
2804
 
2690
2805
  /** @internal */
2691
- export type RequestBodyValue$Outbound = {
2806
+ export type UpdateFirewallConfigRequestBodyValue$Outbound = {
2692
2807
  name: string;
2693
2808
  description?: string | undefined;
2694
2809
  active: boolean;
2695
- conditionGroup: Array<RequestBodyConditionGroup$Outbound>;
2810
+ conditionGroup: Array<UpdateFirewallConfigRequestBodyConditionGroup$Outbound>;
2696
2811
  action: UpdateFirewallConfigRequestBodySecurityRequest3Action$Outbound;
2697
2812
  };
2698
2813
 
2699
2814
  /** @internal */
2700
- export const RequestBodyValue$outboundSchema: z.ZodType<
2701
- RequestBodyValue$Outbound,
2815
+ export const UpdateFirewallConfigRequestBodyValue$outboundSchema: z.ZodType<
2816
+ UpdateFirewallConfigRequestBodyValue$Outbound,
2702
2817
  z.ZodTypeDef,
2703
- RequestBodyValue
2818
+ UpdateFirewallConfigRequestBodyValue
2704
2819
  > = z.object({
2705
2820
  name: z.string(),
2706
2821
  description: z.string().optional(),
2707
2822
  active: z.boolean(),
2708
2823
  conditionGroup: z.array(
2709
- z.lazy(() => RequestBodyConditionGroup$outboundSchema),
2824
+ z.lazy(() => UpdateFirewallConfigRequestBodyConditionGroup$outboundSchema),
2710
2825
  ),
2711
2826
  action: z.lazy(() =>
2712
2827
  UpdateFirewallConfigRequestBodySecurityRequest3Action$outboundSchema
@@ -2717,30 +2832,35 @@ export const RequestBodyValue$outboundSchema: z.ZodType<
2717
2832
  * @internal
2718
2833
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2719
2834
  */
2720
- export namespace RequestBodyValue$ {
2721
- /** @deprecated use `RequestBodyValue$inboundSchema` instead. */
2722
- export const inboundSchema = RequestBodyValue$inboundSchema;
2723
- /** @deprecated use `RequestBodyValue$outboundSchema` instead. */
2724
- export const outboundSchema = RequestBodyValue$outboundSchema;
2725
- /** @deprecated use `RequestBodyValue$Outbound` instead. */
2726
- export type Outbound = RequestBodyValue$Outbound;
2835
+ export namespace UpdateFirewallConfigRequestBodyValue$ {
2836
+ /** @deprecated use `UpdateFirewallConfigRequestBodyValue$inboundSchema` instead. */
2837
+ export const inboundSchema =
2838
+ UpdateFirewallConfigRequestBodyValue$inboundSchema;
2839
+ /** @deprecated use `UpdateFirewallConfigRequestBodyValue$outboundSchema` instead. */
2840
+ export const outboundSchema =
2841
+ UpdateFirewallConfigRequestBodyValue$outboundSchema;
2842
+ /** @deprecated use `UpdateFirewallConfigRequestBodyValue$Outbound` instead. */
2843
+ export type Outbound = UpdateFirewallConfigRequestBodyValue$Outbound;
2727
2844
  }
2728
2845
 
2729
- export function requestBodyValueToJSON(
2730
- requestBodyValue: RequestBodyValue,
2846
+ export function updateFirewallConfigRequestBodyValueToJSON(
2847
+ updateFirewallConfigRequestBodyValue: UpdateFirewallConfigRequestBodyValue,
2731
2848
  ): string {
2732
2849
  return JSON.stringify(
2733
- RequestBodyValue$outboundSchema.parse(requestBodyValue),
2850
+ UpdateFirewallConfigRequestBodyValue$outboundSchema.parse(
2851
+ updateFirewallConfigRequestBodyValue,
2852
+ ),
2734
2853
  );
2735
2854
  }
2736
2855
 
2737
- export function requestBodyValueFromJSON(
2856
+ export function updateFirewallConfigRequestBodyValueFromJSON(
2738
2857
  jsonString: string,
2739
- ): SafeParseResult<RequestBodyValue, SDKValidationError> {
2858
+ ): SafeParseResult<UpdateFirewallConfigRequestBodyValue, SDKValidationError> {
2740
2859
  return safeParse(
2741
2860
  jsonString,
2742
- (x) => RequestBodyValue$inboundSchema.parse(JSON.parse(x)),
2743
- `Failed to parse 'RequestBodyValue' from JSON`,
2861
+ (x) =>
2862
+ UpdateFirewallConfigRequestBodyValue$inboundSchema.parse(JSON.parse(x)),
2863
+ `Failed to parse 'UpdateFirewallConfigRequestBodyValue' from JSON`,
2744
2864
  );
2745
2865
  }
2746
2866
 
@@ -2752,14 +2872,14 @@ export const UpdateFirewallConfigRequestBody3$inboundSchema: z.ZodType<
2752
2872
  > = z.object({
2753
2873
  action: UpdateFirewallConfigRequestBodySecurityAction$inboundSchema,
2754
2874
  id: z.string(),
2755
- value: z.lazy(() => RequestBodyValue$inboundSchema),
2875
+ value: z.lazy(() => UpdateFirewallConfigRequestBodyValue$inboundSchema),
2756
2876
  });
2757
2877
 
2758
2878
  /** @internal */
2759
2879
  export type UpdateFirewallConfigRequestBody3$Outbound = {
2760
2880
  action: string;
2761
2881
  id: string;
2762
- value: RequestBodyValue$Outbound;
2882
+ value: UpdateFirewallConfigRequestBodyValue$Outbound;
2763
2883
  };
2764
2884
 
2765
2885
  /** @internal */
@@ -2770,7 +2890,7 @@ export const UpdateFirewallConfigRequestBody3$outboundSchema: z.ZodType<
2770
2890
  > = z.object({
2771
2891
  action: UpdateFirewallConfigRequestBodySecurityAction$outboundSchema,
2772
2892
  id: z.string(),
2773
- value: z.lazy(() => RequestBodyValue$outboundSchema),
2893
+ value: z.lazy(() => UpdateFirewallConfigRequestBodyValue$outboundSchema),
2774
2894
  });
2775
2895
 
2776
2896
  /**
@@ -2854,20 +2974,24 @@ export namespace UpdateFirewallConfigRequestBodyType$ {
2854
2974
  }
2855
2975
 
2856
2976
  /** @internal */
2857
- export const Op$inboundSchema: z.ZodNativeEnum<typeof Op> = z.nativeEnum(Op);
2977
+ export const RequestBodyOp$inboundSchema: z.ZodNativeEnum<
2978
+ typeof RequestBodyOp
2979
+ > = z.nativeEnum(RequestBodyOp);
2858
2980
 
2859
2981
  /** @internal */
2860
- export const Op$outboundSchema: z.ZodNativeEnum<typeof Op> = Op$inboundSchema;
2982
+ export const RequestBodyOp$outboundSchema: z.ZodNativeEnum<
2983
+ typeof RequestBodyOp
2984
+ > = RequestBodyOp$inboundSchema;
2861
2985
 
2862
2986
  /**
2863
2987
  * @internal
2864
2988
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2865
2989
  */
2866
- export namespace Op$ {
2867
- /** @deprecated use `Op$inboundSchema` instead. */
2868
- export const inboundSchema = Op$inboundSchema;
2869
- /** @deprecated use `Op$outboundSchema` instead. */
2870
- export const outboundSchema = Op$outboundSchema;
2990
+ export namespace RequestBodyOp$ {
2991
+ /** @deprecated use `RequestBodyOp$inboundSchema` instead. */
2992
+ export const inboundSchema = RequestBodyOp$inboundSchema;
2993
+ /** @deprecated use `RequestBodyOp$outboundSchema` instead. */
2994
+ export const outboundSchema = RequestBodyOp$outboundSchema;
2871
2995
  }
2872
2996
 
2873
2997
  /** @internal */
@@ -2936,20 +3060,20 @@ export function updateFirewallConfigRequestBodySecurityRequest2ValueFromJSON(
2936
3060
  }
2937
3061
 
2938
3062
  /** @internal */
2939
- export const Conditions$inboundSchema: z.ZodType<
2940
- Conditions,
3063
+ export const RequestBodyConditions$inboundSchema: z.ZodType<
3064
+ RequestBodyConditions,
2941
3065
  z.ZodTypeDef,
2942
3066
  unknown
2943
3067
  > = z.object({
2944
3068
  type: UpdateFirewallConfigRequestBodyType$inboundSchema,
2945
- op: Op$inboundSchema,
3069
+ op: RequestBodyOp$inboundSchema,
2946
3070
  neg: z.boolean().optional(),
2947
3071
  key: z.string().optional(),
2948
3072
  value: z.union([z.string(), z.array(z.string()), z.number()]).optional(),
2949
3073
  });
2950
3074
 
2951
3075
  /** @internal */
2952
- export type Conditions$Outbound = {
3076
+ export type RequestBodyConditions$Outbound = {
2953
3077
  type: string;
2954
3078
  op: string;
2955
3079
  neg?: boolean | undefined;
@@ -2958,13 +3082,13 @@ export type Conditions$Outbound = {
2958
3082
  };
2959
3083
 
2960
3084
  /** @internal */
2961
- export const Conditions$outboundSchema: z.ZodType<
2962
- Conditions$Outbound,
3085
+ export const RequestBodyConditions$outboundSchema: z.ZodType<
3086
+ RequestBodyConditions$Outbound,
2963
3087
  z.ZodTypeDef,
2964
- Conditions
3088
+ RequestBodyConditions
2965
3089
  > = z.object({
2966
3090
  type: UpdateFirewallConfigRequestBodyType$outboundSchema,
2967
- op: Op$outboundSchema,
3091
+ op: RequestBodyOp$outboundSchema,
2968
3092
  neg: z.boolean().optional(),
2969
3093
  key: z.string().optional(),
2970
3094
  value: z.union([z.string(), z.array(z.string()), z.number()]).optional(),
@@ -2974,76 +3098,84 @@ export const Conditions$outboundSchema: z.ZodType<
2974
3098
  * @internal
2975
3099
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2976
3100
  */
2977
- export namespace Conditions$ {
2978
- /** @deprecated use `Conditions$inboundSchema` instead. */
2979
- export const inboundSchema = Conditions$inboundSchema;
2980
- /** @deprecated use `Conditions$outboundSchema` instead. */
2981
- export const outboundSchema = Conditions$outboundSchema;
2982
- /** @deprecated use `Conditions$Outbound` instead. */
2983
- export type Outbound = Conditions$Outbound;
3101
+ export namespace RequestBodyConditions$ {
3102
+ /** @deprecated use `RequestBodyConditions$inboundSchema` instead. */
3103
+ export const inboundSchema = RequestBodyConditions$inboundSchema;
3104
+ /** @deprecated use `RequestBodyConditions$outboundSchema` instead. */
3105
+ export const outboundSchema = RequestBodyConditions$outboundSchema;
3106
+ /** @deprecated use `RequestBodyConditions$Outbound` instead. */
3107
+ export type Outbound = RequestBodyConditions$Outbound;
2984
3108
  }
2985
3109
 
2986
- export function conditionsToJSON(conditions: Conditions): string {
2987
- return JSON.stringify(Conditions$outboundSchema.parse(conditions));
3110
+ export function requestBodyConditionsToJSON(
3111
+ requestBodyConditions: RequestBodyConditions,
3112
+ ): string {
3113
+ return JSON.stringify(
3114
+ RequestBodyConditions$outboundSchema.parse(requestBodyConditions),
3115
+ );
2988
3116
  }
2989
3117
 
2990
- export function conditionsFromJSON(
3118
+ export function requestBodyConditionsFromJSON(
2991
3119
  jsonString: string,
2992
- ): SafeParseResult<Conditions, SDKValidationError> {
3120
+ ): SafeParseResult<RequestBodyConditions, SDKValidationError> {
2993
3121
  return safeParse(
2994
3122
  jsonString,
2995
- (x) => Conditions$inboundSchema.parse(JSON.parse(x)),
2996
- `Failed to parse 'Conditions' from JSON`,
3123
+ (x) => RequestBodyConditions$inboundSchema.parse(JSON.parse(x)),
3124
+ `Failed to parse 'RequestBodyConditions' from JSON`,
2997
3125
  );
2998
3126
  }
2999
3127
 
3000
3128
  /** @internal */
3001
- export const ConditionGroup$inboundSchema: z.ZodType<
3002
- ConditionGroup,
3129
+ export const RequestBodyConditionGroup$inboundSchema: z.ZodType<
3130
+ RequestBodyConditionGroup,
3003
3131
  z.ZodTypeDef,
3004
3132
  unknown
3005
3133
  > = z.object({
3006
- conditions: z.array(z.lazy(() => Conditions$inboundSchema)),
3134
+ conditions: z.array(z.lazy(() => RequestBodyConditions$inboundSchema)),
3007
3135
  });
3008
3136
 
3009
3137
  /** @internal */
3010
- export type ConditionGroup$Outbound = {
3011
- conditions: Array<Conditions$Outbound>;
3138
+ export type RequestBodyConditionGroup$Outbound = {
3139
+ conditions: Array<RequestBodyConditions$Outbound>;
3012
3140
  };
3013
3141
 
3014
3142
  /** @internal */
3015
- export const ConditionGroup$outboundSchema: z.ZodType<
3016
- ConditionGroup$Outbound,
3143
+ export const RequestBodyConditionGroup$outboundSchema: z.ZodType<
3144
+ RequestBodyConditionGroup$Outbound,
3017
3145
  z.ZodTypeDef,
3018
- ConditionGroup
3146
+ RequestBodyConditionGroup
3019
3147
  > = z.object({
3020
- conditions: z.array(z.lazy(() => Conditions$outboundSchema)),
3148
+ conditions: z.array(z.lazy(() => RequestBodyConditions$outboundSchema)),
3021
3149
  });
3022
3150
 
3023
3151
  /**
3024
3152
  * @internal
3025
3153
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3026
3154
  */
3027
- export namespace ConditionGroup$ {
3028
- /** @deprecated use `ConditionGroup$inboundSchema` instead. */
3029
- export const inboundSchema = ConditionGroup$inboundSchema;
3030
- /** @deprecated use `ConditionGroup$outboundSchema` instead. */
3031
- export const outboundSchema = ConditionGroup$outboundSchema;
3032
- /** @deprecated use `ConditionGroup$Outbound` instead. */
3033
- export type Outbound = ConditionGroup$Outbound;
3155
+ export namespace RequestBodyConditionGroup$ {
3156
+ /** @deprecated use `RequestBodyConditionGroup$inboundSchema` instead. */
3157
+ export const inboundSchema = RequestBodyConditionGroup$inboundSchema;
3158
+ /** @deprecated use `RequestBodyConditionGroup$outboundSchema` instead. */
3159
+ export const outboundSchema = RequestBodyConditionGroup$outboundSchema;
3160
+ /** @deprecated use `RequestBodyConditionGroup$Outbound` instead. */
3161
+ export type Outbound = RequestBodyConditionGroup$Outbound;
3034
3162
  }
3035
3163
 
3036
- export function conditionGroupToJSON(conditionGroup: ConditionGroup): string {
3037
- return JSON.stringify(ConditionGroup$outboundSchema.parse(conditionGroup));
3164
+ export function requestBodyConditionGroupToJSON(
3165
+ requestBodyConditionGroup: RequestBodyConditionGroup,
3166
+ ): string {
3167
+ return JSON.stringify(
3168
+ RequestBodyConditionGroup$outboundSchema.parse(requestBodyConditionGroup),
3169
+ );
3038
3170
  }
3039
3171
 
3040
- export function conditionGroupFromJSON(
3172
+ export function requestBodyConditionGroupFromJSON(
3041
3173
  jsonString: string,
3042
- ): SafeParseResult<ConditionGroup, SDKValidationError> {
3174
+ ): SafeParseResult<RequestBodyConditionGroup, SDKValidationError> {
3043
3175
  return safeParse(
3044
3176
  jsonString,
3045
- (x) => ConditionGroup$inboundSchema.parse(JSON.parse(x)),
3046
- `Failed to parse 'ConditionGroup' from JSON`,
3177
+ (x) => RequestBodyConditionGroup$inboundSchema.parse(JSON.parse(x)),
3178
+ `Failed to parse 'RequestBodyConditionGroup' from JSON`,
3047
3179
  );
3048
3180
  }
3049
3181
 
@@ -3094,73 +3226,82 @@ export namespace RateLimitAlgo$ {
3094
3226
  }
3095
3227
 
3096
3228
  /** @internal */
3097
- export const Action1$inboundSchema: z.ZodNativeEnum<typeof Action1> = z
3098
- .nativeEnum(Action1);
3229
+ export const UpdateFirewallConfigAction1$inboundSchema: z.ZodNativeEnum<
3230
+ typeof UpdateFirewallConfigAction1
3231
+ > = z.nativeEnum(UpdateFirewallConfigAction1);
3099
3232
 
3100
3233
  /** @internal */
3101
- export const Action1$outboundSchema: z.ZodNativeEnum<typeof Action1> =
3102
- Action1$inboundSchema;
3234
+ export const UpdateFirewallConfigAction1$outboundSchema: z.ZodNativeEnum<
3235
+ typeof UpdateFirewallConfigAction1
3236
+ > = UpdateFirewallConfigAction1$inboundSchema;
3103
3237
 
3104
3238
  /**
3105
3239
  * @internal
3106
3240
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3107
3241
  */
3108
- export namespace Action1$ {
3109
- /** @deprecated use `Action1$inboundSchema` instead. */
3110
- export const inboundSchema = Action1$inboundSchema;
3111
- /** @deprecated use `Action1$outboundSchema` instead. */
3112
- export const outboundSchema = Action1$outboundSchema;
3242
+ export namespace UpdateFirewallConfigAction1$ {
3243
+ /** @deprecated use `UpdateFirewallConfigAction1$inboundSchema` instead. */
3244
+ export const inboundSchema = UpdateFirewallConfigAction1$inboundSchema;
3245
+ /** @deprecated use `UpdateFirewallConfigAction1$outboundSchema` instead. */
3246
+ export const outboundSchema = UpdateFirewallConfigAction1$outboundSchema;
3113
3247
  }
3114
3248
 
3115
3249
  /** @internal */
3116
- export const RateLimitAction$inboundSchema: z.ZodType<
3117
- RateLimitAction,
3250
+ export const UpdateFirewallConfigRateLimitAction$inboundSchema: z.ZodType<
3251
+ UpdateFirewallConfigRateLimitAction,
3118
3252
  z.ZodTypeDef,
3119
3253
  unknown
3120
- > = z.union([Action1$inboundSchema, z.any()]);
3254
+ > = z.union([UpdateFirewallConfigAction1$inboundSchema, z.any()]);
3121
3255
 
3122
3256
  /** @internal */
3123
- export type RateLimitAction$Outbound = string | any;
3257
+ export type UpdateFirewallConfigRateLimitAction$Outbound = string | any;
3124
3258
 
3125
3259
  /** @internal */
3126
- export const RateLimitAction$outboundSchema: z.ZodType<
3127
- RateLimitAction$Outbound,
3260
+ export const UpdateFirewallConfigRateLimitAction$outboundSchema: z.ZodType<
3261
+ UpdateFirewallConfigRateLimitAction$Outbound,
3128
3262
  z.ZodTypeDef,
3129
- RateLimitAction
3130
- > = z.union([Action1$outboundSchema, z.any()]);
3263
+ UpdateFirewallConfigRateLimitAction
3264
+ > = z.union([UpdateFirewallConfigAction1$outboundSchema, z.any()]);
3131
3265
 
3132
3266
  /**
3133
3267
  * @internal
3134
3268
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3135
3269
  */
3136
- export namespace RateLimitAction$ {
3137
- /** @deprecated use `RateLimitAction$inboundSchema` instead. */
3138
- export const inboundSchema = RateLimitAction$inboundSchema;
3139
- /** @deprecated use `RateLimitAction$outboundSchema` instead. */
3140
- export const outboundSchema = RateLimitAction$outboundSchema;
3141
- /** @deprecated use `RateLimitAction$Outbound` instead. */
3142
- export type Outbound = RateLimitAction$Outbound;
3270
+ export namespace UpdateFirewallConfigRateLimitAction$ {
3271
+ /** @deprecated use `UpdateFirewallConfigRateLimitAction$inboundSchema` instead. */
3272
+ export const inboundSchema =
3273
+ UpdateFirewallConfigRateLimitAction$inboundSchema;
3274
+ /** @deprecated use `UpdateFirewallConfigRateLimitAction$outboundSchema` instead. */
3275
+ export const outboundSchema =
3276
+ UpdateFirewallConfigRateLimitAction$outboundSchema;
3277
+ /** @deprecated use `UpdateFirewallConfigRateLimitAction$Outbound` instead. */
3278
+ export type Outbound = UpdateFirewallConfigRateLimitAction$Outbound;
3143
3279
  }
3144
3280
 
3145
- export function rateLimitActionToJSON(
3146
- rateLimitAction: RateLimitAction,
3281
+ export function updateFirewallConfigRateLimitActionToJSON(
3282
+ updateFirewallConfigRateLimitAction: UpdateFirewallConfigRateLimitAction,
3147
3283
  ): string {
3148
- return JSON.stringify(RateLimitAction$outboundSchema.parse(rateLimitAction));
3284
+ return JSON.stringify(
3285
+ UpdateFirewallConfigRateLimitAction$outboundSchema.parse(
3286
+ updateFirewallConfigRateLimitAction,
3287
+ ),
3288
+ );
3149
3289
  }
3150
3290
 
3151
- export function rateLimitActionFromJSON(
3291
+ export function updateFirewallConfigRateLimitActionFromJSON(
3152
3292
  jsonString: string,
3153
- ): SafeParseResult<RateLimitAction, SDKValidationError> {
3293
+ ): SafeParseResult<UpdateFirewallConfigRateLimitAction, SDKValidationError> {
3154
3294
  return safeParse(
3155
3295
  jsonString,
3156
- (x) => RateLimitAction$inboundSchema.parse(JSON.parse(x)),
3157
- `Failed to parse 'RateLimitAction' from JSON`,
3296
+ (x) =>
3297
+ UpdateFirewallConfigRateLimitAction$inboundSchema.parse(JSON.parse(x)),
3298
+ `Failed to parse 'UpdateFirewallConfigRateLimitAction' from JSON`,
3158
3299
  );
3159
3300
  }
3160
3301
 
3161
3302
  /** @internal */
3162
- export const RateLimit1$inboundSchema: z.ZodType<
3163
- RateLimit1,
3303
+ export const UpdateFirewallConfigRateLimit1$inboundSchema: z.ZodType<
3304
+ UpdateFirewallConfigRateLimit1,
3164
3305
  z.ZodTypeDef,
3165
3306
  unknown
3166
3307
  > = z.object({
@@ -3168,11 +3309,13 @@ export const RateLimit1$inboundSchema: z.ZodType<
3168
3309
  window: z.number(),
3169
3310
  limit: z.number(),
3170
3311
  keys: z.array(z.string()),
3171
- action: z.nullable(z.union([Action1$inboundSchema, z.any()])).optional(),
3312
+ action: z.nullable(
3313
+ z.union([UpdateFirewallConfigAction1$inboundSchema, z.any()]),
3314
+ ).optional(),
3172
3315
  });
3173
3316
 
3174
3317
  /** @internal */
3175
- export type RateLimit1$Outbound = {
3318
+ export type UpdateFirewallConfigRateLimit1$Outbound = {
3176
3319
  algo: string;
3177
3320
  window: number;
3178
3321
  limit: number;
@@ -3181,92 +3324,112 @@ export type RateLimit1$Outbound = {
3181
3324
  };
3182
3325
 
3183
3326
  /** @internal */
3184
- export const RateLimit1$outboundSchema: z.ZodType<
3185
- RateLimit1$Outbound,
3327
+ export const UpdateFirewallConfigRateLimit1$outboundSchema: z.ZodType<
3328
+ UpdateFirewallConfigRateLimit1$Outbound,
3186
3329
  z.ZodTypeDef,
3187
- RateLimit1
3330
+ UpdateFirewallConfigRateLimit1
3188
3331
  > = z.object({
3189
3332
  algo: RateLimitAlgo$outboundSchema,
3190
3333
  window: z.number(),
3191
3334
  limit: z.number(),
3192
3335
  keys: z.array(z.string()),
3193
- action: z.nullable(z.union([Action1$outboundSchema, z.any()])).optional(),
3336
+ action: z.nullable(
3337
+ z.union([UpdateFirewallConfigAction1$outboundSchema, z.any()]),
3338
+ ).optional(),
3194
3339
  });
3195
3340
 
3196
3341
  /**
3197
3342
  * @internal
3198
3343
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3199
3344
  */
3200
- export namespace RateLimit1$ {
3201
- /** @deprecated use `RateLimit1$inboundSchema` instead. */
3202
- export const inboundSchema = RateLimit1$inboundSchema;
3203
- /** @deprecated use `RateLimit1$outboundSchema` instead. */
3204
- export const outboundSchema = RateLimit1$outboundSchema;
3205
- /** @deprecated use `RateLimit1$Outbound` instead. */
3206
- export type Outbound = RateLimit1$Outbound;
3345
+ export namespace UpdateFirewallConfigRateLimit1$ {
3346
+ /** @deprecated use `UpdateFirewallConfigRateLimit1$inboundSchema` instead. */
3347
+ export const inboundSchema = UpdateFirewallConfigRateLimit1$inboundSchema;
3348
+ /** @deprecated use `UpdateFirewallConfigRateLimit1$outboundSchema` instead. */
3349
+ export const outboundSchema = UpdateFirewallConfigRateLimit1$outboundSchema;
3350
+ /** @deprecated use `UpdateFirewallConfigRateLimit1$Outbound` instead. */
3351
+ export type Outbound = UpdateFirewallConfigRateLimit1$Outbound;
3207
3352
  }
3208
3353
 
3209
- export function rateLimit1ToJSON(rateLimit1: RateLimit1): string {
3210
- return JSON.stringify(RateLimit1$outboundSchema.parse(rateLimit1));
3354
+ export function updateFirewallConfigRateLimit1ToJSON(
3355
+ updateFirewallConfigRateLimit1: UpdateFirewallConfigRateLimit1,
3356
+ ): string {
3357
+ return JSON.stringify(
3358
+ UpdateFirewallConfigRateLimit1$outboundSchema.parse(
3359
+ updateFirewallConfigRateLimit1,
3360
+ ),
3361
+ );
3211
3362
  }
3212
3363
 
3213
- export function rateLimit1FromJSON(
3364
+ export function updateFirewallConfigRateLimit1FromJSON(
3214
3365
  jsonString: string,
3215
- ): SafeParseResult<RateLimit1, SDKValidationError> {
3366
+ ): SafeParseResult<UpdateFirewallConfigRateLimit1, SDKValidationError> {
3216
3367
  return safeParse(
3217
3368
  jsonString,
3218
- (x) => RateLimit1$inboundSchema.parse(JSON.parse(x)),
3219
- `Failed to parse 'RateLimit1' from JSON`,
3369
+ (x) => UpdateFirewallConfigRateLimit1$inboundSchema.parse(JSON.parse(x)),
3370
+ `Failed to parse 'UpdateFirewallConfigRateLimit1' from JSON`,
3220
3371
  );
3221
3372
  }
3222
3373
 
3223
3374
  /** @internal */
3224
- export const RateLimit$inboundSchema: z.ZodType<
3225
- RateLimit,
3375
+ export const RequestBodyRateLimit$inboundSchema: z.ZodType<
3376
+ RequestBodyRateLimit,
3226
3377
  z.ZodTypeDef,
3227
3378
  unknown
3228
- > = z.union([z.lazy(() => RateLimit1$inboundSchema), z.any()]);
3379
+ > = z.union([
3380
+ z.lazy(() => UpdateFirewallConfigRateLimit1$inboundSchema),
3381
+ z.any(),
3382
+ ]);
3229
3383
 
3230
3384
  /** @internal */
3231
- export type RateLimit$Outbound = RateLimit1$Outbound | any;
3385
+ export type RequestBodyRateLimit$Outbound =
3386
+ | UpdateFirewallConfigRateLimit1$Outbound
3387
+ | any;
3232
3388
 
3233
3389
  /** @internal */
3234
- export const RateLimit$outboundSchema: z.ZodType<
3235
- RateLimit$Outbound,
3390
+ export const RequestBodyRateLimit$outboundSchema: z.ZodType<
3391
+ RequestBodyRateLimit$Outbound,
3236
3392
  z.ZodTypeDef,
3237
- RateLimit
3238
- > = z.union([z.lazy(() => RateLimit1$outboundSchema), z.any()]);
3393
+ RequestBodyRateLimit
3394
+ > = z.union([
3395
+ z.lazy(() => UpdateFirewallConfigRateLimit1$outboundSchema),
3396
+ z.any(),
3397
+ ]);
3239
3398
 
3240
3399
  /**
3241
3400
  * @internal
3242
3401
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3243
3402
  */
3244
- export namespace RateLimit$ {
3245
- /** @deprecated use `RateLimit$inboundSchema` instead. */
3246
- export const inboundSchema = RateLimit$inboundSchema;
3247
- /** @deprecated use `RateLimit$outboundSchema` instead. */
3248
- export const outboundSchema = RateLimit$outboundSchema;
3249
- /** @deprecated use `RateLimit$Outbound` instead. */
3250
- export type Outbound = RateLimit$Outbound;
3403
+ export namespace RequestBodyRateLimit$ {
3404
+ /** @deprecated use `RequestBodyRateLimit$inboundSchema` instead. */
3405
+ export const inboundSchema = RequestBodyRateLimit$inboundSchema;
3406
+ /** @deprecated use `RequestBodyRateLimit$outboundSchema` instead. */
3407
+ export const outboundSchema = RequestBodyRateLimit$outboundSchema;
3408
+ /** @deprecated use `RequestBodyRateLimit$Outbound` instead. */
3409
+ export type Outbound = RequestBodyRateLimit$Outbound;
3251
3410
  }
3252
3411
 
3253
- export function rateLimitToJSON(rateLimit: RateLimit): string {
3254
- return JSON.stringify(RateLimit$outboundSchema.parse(rateLimit));
3412
+ export function requestBodyRateLimitToJSON(
3413
+ requestBodyRateLimit: RequestBodyRateLimit,
3414
+ ): string {
3415
+ return JSON.stringify(
3416
+ RequestBodyRateLimit$outboundSchema.parse(requestBodyRateLimit),
3417
+ );
3255
3418
  }
3256
3419
 
3257
- export function rateLimitFromJSON(
3420
+ export function requestBodyRateLimitFromJSON(
3258
3421
  jsonString: string,
3259
- ): SafeParseResult<RateLimit, SDKValidationError> {
3422
+ ): SafeParseResult<RequestBodyRateLimit, SDKValidationError> {
3260
3423
  return safeParse(
3261
3424
  jsonString,
3262
- (x) => RateLimit$inboundSchema.parse(JSON.parse(x)),
3263
- `Failed to parse 'RateLimit' from JSON`,
3425
+ (x) => RequestBodyRateLimit$inboundSchema.parse(JSON.parse(x)),
3426
+ `Failed to parse 'RequestBodyRateLimit' from JSON`,
3264
3427
  );
3265
3428
  }
3266
3429
 
3267
3430
  /** @internal */
3268
- export const Redirect1$inboundSchema: z.ZodType<
3269
- Redirect1,
3431
+ export const UpdateFirewallConfigRedirect1$inboundSchema: z.ZodType<
3432
+ UpdateFirewallConfigRedirect1,
3270
3433
  z.ZodTypeDef,
3271
3434
  unknown
3272
3435
  > = z.object({
@@ -3275,16 +3438,16 @@ export const Redirect1$inboundSchema: z.ZodType<
3275
3438
  });
3276
3439
 
3277
3440
  /** @internal */
3278
- export type Redirect1$Outbound = {
3441
+ export type UpdateFirewallConfigRedirect1$Outbound = {
3279
3442
  location: string;
3280
3443
  permanent: boolean;
3281
3444
  };
3282
3445
 
3283
3446
  /** @internal */
3284
- export const Redirect1$outboundSchema: z.ZodType<
3285
- Redirect1$Outbound,
3447
+ export const UpdateFirewallConfigRedirect1$outboundSchema: z.ZodType<
3448
+ UpdateFirewallConfigRedirect1$Outbound,
3286
3449
  z.ZodTypeDef,
3287
- Redirect1
3450
+ UpdateFirewallConfigRedirect1
3288
3451
  > = z.object({
3289
3452
  location: z.string(),
3290
3453
  permanent: z.boolean(),
@@ -3294,113 +3457,143 @@ export const Redirect1$outboundSchema: z.ZodType<
3294
3457
  * @internal
3295
3458
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3296
3459
  */
3297
- export namespace Redirect1$ {
3298
- /** @deprecated use `Redirect1$inboundSchema` instead. */
3299
- export const inboundSchema = Redirect1$inboundSchema;
3300
- /** @deprecated use `Redirect1$outboundSchema` instead. */
3301
- export const outboundSchema = Redirect1$outboundSchema;
3302
- /** @deprecated use `Redirect1$Outbound` instead. */
3303
- export type Outbound = Redirect1$Outbound;
3460
+ export namespace UpdateFirewallConfigRedirect1$ {
3461
+ /** @deprecated use `UpdateFirewallConfigRedirect1$inboundSchema` instead. */
3462
+ export const inboundSchema = UpdateFirewallConfigRedirect1$inboundSchema;
3463
+ /** @deprecated use `UpdateFirewallConfigRedirect1$outboundSchema` instead. */
3464
+ export const outboundSchema = UpdateFirewallConfigRedirect1$outboundSchema;
3465
+ /** @deprecated use `UpdateFirewallConfigRedirect1$Outbound` instead. */
3466
+ export type Outbound = UpdateFirewallConfigRedirect1$Outbound;
3304
3467
  }
3305
3468
 
3306
- export function redirect1ToJSON(redirect1: Redirect1): string {
3307
- return JSON.stringify(Redirect1$outboundSchema.parse(redirect1));
3469
+ export function updateFirewallConfigRedirect1ToJSON(
3470
+ updateFirewallConfigRedirect1: UpdateFirewallConfigRedirect1,
3471
+ ): string {
3472
+ return JSON.stringify(
3473
+ UpdateFirewallConfigRedirect1$outboundSchema.parse(
3474
+ updateFirewallConfigRedirect1,
3475
+ ),
3476
+ );
3308
3477
  }
3309
3478
 
3310
- export function redirect1FromJSON(
3479
+ export function updateFirewallConfigRedirect1FromJSON(
3311
3480
  jsonString: string,
3312
- ): SafeParseResult<Redirect1, SDKValidationError> {
3481
+ ): SafeParseResult<UpdateFirewallConfigRedirect1, SDKValidationError> {
3313
3482
  return safeParse(
3314
3483
  jsonString,
3315
- (x) => Redirect1$inboundSchema.parse(JSON.parse(x)),
3316
- `Failed to parse 'Redirect1' from JSON`,
3484
+ (x) => UpdateFirewallConfigRedirect1$inboundSchema.parse(JSON.parse(x)),
3485
+ `Failed to parse 'UpdateFirewallConfigRedirect1' from JSON`,
3317
3486
  );
3318
3487
  }
3319
3488
 
3320
3489
  /** @internal */
3321
- export const Redirect$inboundSchema: z.ZodType<
3322
- Redirect,
3490
+ export const RequestBodyRedirect$inboundSchema: z.ZodType<
3491
+ RequestBodyRedirect,
3323
3492
  z.ZodTypeDef,
3324
3493
  unknown
3325
- > = z.union([z.lazy(() => Redirect1$inboundSchema), z.any()]);
3494
+ > = z.union([
3495
+ z.lazy(() => UpdateFirewallConfigRedirect1$inboundSchema),
3496
+ z.any(),
3497
+ ]);
3326
3498
 
3327
3499
  /** @internal */
3328
- export type Redirect$Outbound = Redirect1$Outbound | any;
3500
+ export type RequestBodyRedirect$Outbound =
3501
+ | UpdateFirewallConfigRedirect1$Outbound
3502
+ | any;
3329
3503
 
3330
3504
  /** @internal */
3331
- export const Redirect$outboundSchema: z.ZodType<
3332
- Redirect$Outbound,
3505
+ export const RequestBodyRedirect$outboundSchema: z.ZodType<
3506
+ RequestBodyRedirect$Outbound,
3333
3507
  z.ZodTypeDef,
3334
- Redirect
3335
- > = z.union([z.lazy(() => Redirect1$outboundSchema), z.any()]);
3508
+ RequestBodyRedirect
3509
+ > = z.union([
3510
+ z.lazy(() => UpdateFirewallConfigRedirect1$outboundSchema),
3511
+ z.any(),
3512
+ ]);
3336
3513
 
3337
3514
  /**
3338
3515
  * @internal
3339
3516
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3340
3517
  */
3341
- export namespace Redirect$ {
3342
- /** @deprecated use `Redirect$inboundSchema` instead. */
3343
- export const inboundSchema = Redirect$inboundSchema;
3344
- /** @deprecated use `Redirect$outboundSchema` instead. */
3345
- export const outboundSchema = Redirect$outboundSchema;
3346
- /** @deprecated use `Redirect$Outbound` instead. */
3347
- export type Outbound = Redirect$Outbound;
3518
+ export namespace RequestBodyRedirect$ {
3519
+ /** @deprecated use `RequestBodyRedirect$inboundSchema` instead. */
3520
+ export const inboundSchema = RequestBodyRedirect$inboundSchema;
3521
+ /** @deprecated use `RequestBodyRedirect$outboundSchema` instead. */
3522
+ export const outboundSchema = RequestBodyRedirect$outboundSchema;
3523
+ /** @deprecated use `RequestBodyRedirect$Outbound` instead. */
3524
+ export type Outbound = RequestBodyRedirect$Outbound;
3348
3525
  }
3349
3526
 
3350
- export function redirectToJSON(redirect: Redirect): string {
3351
- return JSON.stringify(Redirect$outboundSchema.parse(redirect));
3527
+ export function requestBodyRedirectToJSON(
3528
+ requestBodyRedirect: RequestBodyRedirect,
3529
+ ): string {
3530
+ return JSON.stringify(
3531
+ RequestBodyRedirect$outboundSchema.parse(requestBodyRedirect),
3532
+ );
3352
3533
  }
3353
3534
 
3354
- export function redirectFromJSON(
3535
+ export function requestBodyRedirectFromJSON(
3355
3536
  jsonString: string,
3356
- ): SafeParseResult<Redirect, SDKValidationError> {
3537
+ ): SafeParseResult<RequestBodyRedirect, SDKValidationError> {
3357
3538
  return safeParse(
3358
3539
  jsonString,
3359
- (x) => Redirect$inboundSchema.parse(JSON.parse(x)),
3360
- `Failed to parse 'Redirect' from JSON`,
3540
+ (x) => RequestBodyRedirect$inboundSchema.parse(JSON.parse(x)),
3541
+ `Failed to parse 'RequestBodyRedirect' from JSON`,
3361
3542
  );
3362
3543
  }
3363
3544
 
3364
3545
  /** @internal */
3365
- export const Mitigate$inboundSchema: z.ZodType<
3366
- Mitigate,
3546
+ export const RequestBodyMitigate$inboundSchema: z.ZodType<
3547
+ RequestBodyMitigate,
3367
3548
  z.ZodTypeDef,
3368
3549
  unknown
3369
3550
  > = z.object({
3370
3551
  action:
3371
3552
  UpdateFirewallConfigRequestBodySecurityRequest2ValueAction$inboundSchema,
3372
3553
  rateLimit: z.nullable(
3373
- z.union([z.lazy(() => RateLimit1$inboundSchema), z.any()]),
3554
+ z.union([
3555
+ z.lazy(() => UpdateFirewallConfigRateLimit1$inboundSchema),
3556
+ z.any(),
3557
+ ]),
3374
3558
  ).optional(),
3375
3559
  redirect: z.nullable(
3376
- z.union([z.lazy(() => Redirect1$inboundSchema), z.any()]),
3560
+ z.union([
3561
+ z.lazy(() => UpdateFirewallConfigRedirect1$inboundSchema),
3562
+ z.any(),
3563
+ ]),
3377
3564
  ).optional(),
3378
3565
  actionDuration: z.nullable(z.string()).optional(),
3379
3566
  bypassSystem: z.nullable(z.boolean()).optional(),
3380
3567
  });
3381
3568
 
3382
3569
  /** @internal */
3383
- export type Mitigate$Outbound = {
3570
+ export type RequestBodyMitigate$Outbound = {
3384
3571
  action: string;
3385
- rateLimit?: RateLimit1$Outbound | any | null | undefined;
3386
- redirect?: Redirect1$Outbound | any | null | undefined;
3572
+ rateLimit?: UpdateFirewallConfigRateLimit1$Outbound | any | null | undefined;
3573
+ redirect?: UpdateFirewallConfigRedirect1$Outbound | any | null | undefined;
3387
3574
  actionDuration?: string | null | undefined;
3388
3575
  bypassSystem?: boolean | null | undefined;
3389
3576
  };
3390
3577
 
3391
3578
  /** @internal */
3392
- export const Mitigate$outboundSchema: z.ZodType<
3393
- Mitigate$Outbound,
3579
+ export const RequestBodyMitigate$outboundSchema: z.ZodType<
3580
+ RequestBodyMitigate$Outbound,
3394
3581
  z.ZodTypeDef,
3395
- Mitigate
3582
+ RequestBodyMitigate
3396
3583
  > = z.object({
3397
3584
  action:
3398
3585
  UpdateFirewallConfigRequestBodySecurityRequest2ValueAction$outboundSchema,
3399
3586
  rateLimit: z.nullable(
3400
- z.union([z.lazy(() => RateLimit1$outboundSchema), z.any()]),
3587
+ z.union([
3588
+ z.lazy(() => UpdateFirewallConfigRateLimit1$outboundSchema),
3589
+ z.any(),
3590
+ ]),
3401
3591
  ).optional(),
3402
3592
  redirect: z.nullable(
3403
- z.union([z.lazy(() => Redirect1$outboundSchema), z.any()]),
3593
+ z.union([
3594
+ z.lazy(() => UpdateFirewallConfigRedirect1$outboundSchema),
3595
+ z.any(),
3596
+ ]),
3404
3597
  ).optional(),
3405
3598
  actionDuration: z.nullable(z.string()).optional(),
3406
3599
  bypassSystem: z.nullable(z.boolean()).optional(),
@@ -3410,26 +3603,30 @@ export const Mitigate$outboundSchema: z.ZodType<
3410
3603
  * @internal
3411
3604
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3412
3605
  */
3413
- export namespace Mitigate$ {
3414
- /** @deprecated use `Mitigate$inboundSchema` instead. */
3415
- export const inboundSchema = Mitigate$inboundSchema;
3416
- /** @deprecated use `Mitigate$outboundSchema` instead. */
3417
- export const outboundSchema = Mitigate$outboundSchema;
3418
- /** @deprecated use `Mitigate$Outbound` instead. */
3419
- export type Outbound = Mitigate$Outbound;
3606
+ export namespace RequestBodyMitigate$ {
3607
+ /** @deprecated use `RequestBodyMitigate$inboundSchema` instead. */
3608
+ export const inboundSchema = RequestBodyMitigate$inboundSchema;
3609
+ /** @deprecated use `RequestBodyMitigate$outboundSchema` instead. */
3610
+ export const outboundSchema = RequestBodyMitigate$outboundSchema;
3611
+ /** @deprecated use `RequestBodyMitigate$Outbound` instead. */
3612
+ export type Outbound = RequestBodyMitigate$Outbound;
3420
3613
  }
3421
3614
 
3422
- export function mitigateToJSON(mitigate: Mitigate): string {
3423
- return JSON.stringify(Mitigate$outboundSchema.parse(mitigate));
3615
+ export function requestBodyMitigateToJSON(
3616
+ requestBodyMitigate: RequestBodyMitigate,
3617
+ ): string {
3618
+ return JSON.stringify(
3619
+ RequestBodyMitigate$outboundSchema.parse(requestBodyMitigate),
3620
+ );
3424
3621
  }
3425
3622
 
3426
- export function mitigateFromJSON(
3623
+ export function requestBodyMitigateFromJSON(
3427
3624
  jsonString: string,
3428
- ): SafeParseResult<Mitigate, SDKValidationError> {
3625
+ ): SafeParseResult<RequestBodyMitigate, SDKValidationError> {
3429
3626
  return safeParse(
3430
3627
  jsonString,
3431
- (x) => Mitigate$inboundSchema.parse(JSON.parse(x)),
3432
- `Failed to parse 'Mitigate' from JSON`,
3628
+ (x) => RequestBodyMitigate$inboundSchema.parse(JSON.parse(x)),
3629
+ `Failed to parse 'RequestBodyMitigate' from JSON`,
3433
3630
  );
3434
3631
  }
3435
3632
 
@@ -3440,12 +3637,12 @@ export const UpdateFirewallConfigRequestBodySecurityRequest2Action$inboundSchema
3440
3637
  z.ZodTypeDef,
3441
3638
  unknown
3442
3639
  > = z.object({
3443
- mitigate: z.lazy(() => Mitigate$inboundSchema).optional(),
3640
+ mitigate: z.lazy(() => RequestBodyMitigate$inboundSchema).optional(),
3444
3641
  });
3445
3642
 
3446
3643
  /** @internal */
3447
3644
  export type UpdateFirewallConfigRequestBodySecurityRequest2Action$Outbound = {
3448
- mitigate?: Mitigate$Outbound | undefined;
3645
+ mitigate?: RequestBodyMitigate$Outbound | undefined;
3449
3646
  };
3450
3647
 
3451
3648
  /** @internal */
@@ -3455,7 +3652,7 @@ export const UpdateFirewallConfigRequestBodySecurityRequest2Action$outboundSchem
3455
3652
  z.ZodTypeDef,
3456
3653
  UpdateFirewallConfigRequestBodySecurityRequest2Action
3457
3654
  > = z.object({
3458
- mitigate: z.lazy(() => Mitigate$outboundSchema).optional(),
3655
+ mitigate: z.lazy(() => RequestBodyMitigate$outboundSchema).optional(),
3459
3656
  });
3460
3657
 
3461
3658
  /**
@@ -3502,36 +3699,43 @@ export function updateFirewallConfigRequestBodySecurityRequest2ActionFromJSON(
3502
3699
  }
3503
3700
 
3504
3701
  /** @internal */
3505
- export const Value$inboundSchema: z.ZodType<Value, z.ZodTypeDef, unknown> = z
3506
- .object({
3507
- name: z.string(),
3508
- description: z.string().optional(),
3509
- active: z.boolean(),
3510
- conditionGroup: z.array(z.lazy(() => ConditionGroup$inboundSchema)),
3511
- action: z.lazy(() =>
3512
- UpdateFirewallConfigRequestBodySecurityRequest2Action$inboundSchema
3513
- ),
3514
- });
3702
+ export const RequestBodyValue$inboundSchema: z.ZodType<
3703
+ RequestBodyValue,
3704
+ z.ZodTypeDef,
3705
+ unknown
3706
+ > = z.object({
3707
+ name: z.string(),
3708
+ description: z.string().optional(),
3709
+ active: z.boolean(),
3710
+ conditionGroup: z.array(
3711
+ z.lazy(() => RequestBodyConditionGroup$inboundSchema),
3712
+ ),
3713
+ action: z.lazy(() =>
3714
+ UpdateFirewallConfigRequestBodySecurityRequest2Action$inboundSchema
3715
+ ),
3716
+ });
3515
3717
 
3516
3718
  /** @internal */
3517
- export type Value$Outbound = {
3719
+ export type RequestBodyValue$Outbound = {
3518
3720
  name: string;
3519
3721
  description?: string | undefined;
3520
3722
  active: boolean;
3521
- conditionGroup: Array<ConditionGroup$Outbound>;
3723
+ conditionGroup: Array<RequestBodyConditionGroup$Outbound>;
3522
3724
  action: UpdateFirewallConfigRequestBodySecurityRequest2Action$Outbound;
3523
3725
  };
3524
3726
 
3525
3727
  /** @internal */
3526
- export const Value$outboundSchema: z.ZodType<
3527
- Value$Outbound,
3728
+ export const RequestBodyValue$outboundSchema: z.ZodType<
3729
+ RequestBodyValue$Outbound,
3528
3730
  z.ZodTypeDef,
3529
- Value
3731
+ RequestBodyValue
3530
3732
  > = z.object({
3531
3733
  name: z.string(),
3532
3734
  description: z.string().optional(),
3533
3735
  active: z.boolean(),
3534
- conditionGroup: z.array(z.lazy(() => ConditionGroup$outboundSchema)),
3736
+ conditionGroup: z.array(
3737
+ z.lazy(() => RequestBodyConditionGroup$outboundSchema),
3738
+ ),
3535
3739
  action: z.lazy(() =>
3536
3740
  UpdateFirewallConfigRequestBodySecurityRequest2Action$outboundSchema
3537
3741
  ),
@@ -3541,26 +3745,30 @@ export const Value$outboundSchema: z.ZodType<
3541
3745
  * @internal
3542
3746
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3543
3747
  */
3544
- export namespace Value$ {
3545
- /** @deprecated use `Value$inboundSchema` instead. */
3546
- export const inboundSchema = Value$inboundSchema;
3547
- /** @deprecated use `Value$outboundSchema` instead. */
3548
- export const outboundSchema = Value$outboundSchema;
3549
- /** @deprecated use `Value$Outbound` instead. */
3550
- export type Outbound = Value$Outbound;
3748
+ export namespace RequestBodyValue$ {
3749
+ /** @deprecated use `RequestBodyValue$inboundSchema` instead. */
3750
+ export const inboundSchema = RequestBodyValue$inboundSchema;
3751
+ /** @deprecated use `RequestBodyValue$outboundSchema` instead. */
3752
+ export const outboundSchema = RequestBodyValue$outboundSchema;
3753
+ /** @deprecated use `RequestBodyValue$Outbound` instead. */
3754
+ export type Outbound = RequestBodyValue$Outbound;
3551
3755
  }
3552
3756
 
3553
- export function valueToJSON(value: Value): string {
3554
- return JSON.stringify(Value$outboundSchema.parse(value));
3757
+ export function requestBodyValueToJSON(
3758
+ requestBodyValue: RequestBodyValue,
3759
+ ): string {
3760
+ return JSON.stringify(
3761
+ RequestBodyValue$outboundSchema.parse(requestBodyValue),
3762
+ );
3555
3763
  }
3556
3764
 
3557
- export function valueFromJSON(
3765
+ export function requestBodyValueFromJSON(
3558
3766
  jsonString: string,
3559
- ): SafeParseResult<Value, SDKValidationError> {
3767
+ ): SafeParseResult<RequestBodyValue, SDKValidationError> {
3560
3768
  return safeParse(
3561
3769
  jsonString,
3562
- (x) => Value$inboundSchema.parse(JSON.parse(x)),
3563
- `Failed to parse 'Value' from JSON`,
3770
+ (x) => RequestBodyValue$inboundSchema.parse(JSON.parse(x)),
3771
+ `Failed to parse 'RequestBodyValue' from JSON`,
3564
3772
  );
3565
3773
  }
3566
3774
 
@@ -3572,14 +3780,14 @@ export const UpdateFirewallConfigRequestBody2$inboundSchema: z.ZodType<
3572
3780
  > = z.object({
3573
3781
  action: UpdateFirewallConfigRequestBodyAction$inboundSchema,
3574
3782
  id: z.nullable(z.any()).optional(),
3575
- value: z.lazy(() => Value$inboundSchema),
3783
+ value: z.lazy(() => RequestBodyValue$inboundSchema),
3576
3784
  });
3577
3785
 
3578
3786
  /** @internal */
3579
3787
  export type UpdateFirewallConfigRequestBody2$Outbound = {
3580
3788
  action: string;
3581
3789
  id?: any | null | undefined;
3582
- value: Value$Outbound;
3790
+ value: RequestBodyValue$Outbound;
3583
3791
  };
3584
3792
 
3585
3793
  /** @internal */
@@ -3590,7 +3798,7 @@ export const UpdateFirewallConfigRequestBody2$outboundSchema: z.ZodType<
3590
3798
  > = z.object({
3591
3799
  action: UpdateFirewallConfigRequestBodyAction$outboundSchema,
3592
3800
  id: z.nullable(z.any()).optional(),
3593
- value: z.lazy(() => Value$outboundSchema),
3801
+ value: z.lazy(() => RequestBodyValue$outboundSchema),
3594
3802
  });
3595
3803
 
3596
3804
  /**