@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
@@ -169,13 +169,12 @@ export var GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdA
169
169
  GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction$.outboundSchema = GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction$outboundSchema;
170
170
  })(GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction$ || (GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction$ = {}));
171
171
  /** @internal */
172
- export const Sd$inboundSchema = z.object({
172
+ export const GetFirewallConfigSd$inboundSchema = z.object({
173
173
  active: z.boolean(),
174
174
  action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction$inboundSchema,
175
175
  });
176
176
  /** @internal */
177
- export const Sd$outboundSchema = z
178
- .object({
177
+ export const GetFirewallConfigSd$outboundSchema = z.object({
179
178
  active: z.boolean(),
180
179
  action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction$outboundSchema,
181
180
  });
@@ -183,18 +182,18 @@ export const Sd$outboundSchema = z
183
182
  * @internal
184
183
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
185
184
  */
186
- export var Sd$;
187
- (function (Sd$) {
188
- /** @deprecated use `Sd$inboundSchema` instead. */
189
- Sd$.inboundSchema = Sd$inboundSchema;
190
- /** @deprecated use `Sd$outboundSchema` instead. */
191
- Sd$.outboundSchema = Sd$outboundSchema;
192
- })(Sd$ || (Sd$ = {}));
193
- export function sdToJSON(sd) {
194
- return JSON.stringify(Sd$outboundSchema.parse(sd));
185
+ export var GetFirewallConfigSd$;
186
+ (function (GetFirewallConfigSd$) {
187
+ /** @deprecated use `GetFirewallConfigSd$inboundSchema` instead. */
188
+ GetFirewallConfigSd$.inboundSchema = GetFirewallConfigSd$inboundSchema;
189
+ /** @deprecated use `GetFirewallConfigSd$outboundSchema` instead. */
190
+ GetFirewallConfigSd$.outboundSchema = GetFirewallConfigSd$outboundSchema;
191
+ })(GetFirewallConfigSd$ || (GetFirewallConfigSd$ = {}));
192
+ export function getFirewallConfigSdToJSON(getFirewallConfigSd) {
193
+ return JSON.stringify(GetFirewallConfigSd$outboundSchema.parse(getFirewallConfigSd));
195
194
  }
196
- export function sdFromJSON(jsonString) {
197
- return safeParse(jsonString, (x) => Sd$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Sd' from JSON`);
195
+ export function getFirewallConfigSdFromJSON(jsonString) {
196
+ return safeParse(jsonString, (x) => GetFirewallConfigSd$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetFirewallConfigSd' from JSON`);
198
197
  }
199
198
  /** @internal */
200
199
  export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction$inboundSchema = z.nativeEnum(GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction);
@@ -212,13 +211,12 @@ export var GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaA
212
211
  GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction$.outboundSchema = GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction$outboundSchema;
213
212
  })(GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction$ || (GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction$ = {}));
214
213
  /** @internal */
215
- export const Ma$inboundSchema = z.object({
214
+ export const GetFirewallConfigMa$inboundSchema = z.object({
216
215
  active: z.boolean(),
217
216
  action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction$inboundSchema,
218
217
  });
219
218
  /** @internal */
220
- export const Ma$outboundSchema = z
221
- .object({
219
+ export const GetFirewallConfigMa$outboundSchema = z.object({
222
220
  active: z.boolean(),
223
221
  action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction$outboundSchema,
224
222
  });
@@ -226,18 +224,18 @@ export const Ma$outboundSchema = z
226
224
  * @internal
227
225
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
228
226
  */
229
- export var Ma$;
230
- (function (Ma$) {
231
- /** @deprecated use `Ma$inboundSchema` instead. */
232
- Ma$.inboundSchema = Ma$inboundSchema;
233
- /** @deprecated use `Ma$outboundSchema` instead. */
234
- Ma$.outboundSchema = Ma$outboundSchema;
235
- })(Ma$ || (Ma$ = {}));
236
- export function maToJSON(ma) {
237
- return JSON.stringify(Ma$outboundSchema.parse(ma));
227
+ export var GetFirewallConfigMa$;
228
+ (function (GetFirewallConfigMa$) {
229
+ /** @deprecated use `GetFirewallConfigMa$inboundSchema` instead. */
230
+ GetFirewallConfigMa$.inboundSchema = GetFirewallConfigMa$inboundSchema;
231
+ /** @deprecated use `GetFirewallConfigMa$outboundSchema` instead. */
232
+ GetFirewallConfigMa$.outboundSchema = GetFirewallConfigMa$outboundSchema;
233
+ })(GetFirewallConfigMa$ || (GetFirewallConfigMa$ = {}));
234
+ export function getFirewallConfigMaToJSON(getFirewallConfigMa) {
235
+ return JSON.stringify(GetFirewallConfigMa$outboundSchema.parse(getFirewallConfigMa));
238
236
  }
239
- export function maFromJSON(jsonString) {
240
- return safeParse(jsonString, (x) => Ma$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Ma' from JSON`);
237
+ export function getFirewallConfigMaFromJSON(jsonString) {
238
+ return safeParse(jsonString, (x) => GetFirewallConfigMa$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetFirewallConfigMa' from JSON`);
241
239
  }
242
240
  /** @internal */
243
241
  export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsLfiAction$inboundSchema = z.nativeEnum(GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsLfiAction);
@@ -255,14 +253,12 @@ export var GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsLfi
255
253
  GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsLfiAction$.outboundSchema = GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsLfiAction$outboundSchema;
256
254
  })(GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsLfiAction$ || (GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsLfiAction$ = {}));
257
255
  /** @internal */
258
- export const Lfi$inboundSchema = z
259
- .object({
256
+ export const GetFirewallConfigLfi$inboundSchema = z.object({
260
257
  active: z.boolean(),
261
258
  action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsLfiAction$inboundSchema,
262
259
  });
263
260
  /** @internal */
264
- export const Lfi$outboundSchema = z
265
- .object({
261
+ export const GetFirewallConfigLfi$outboundSchema = z.object({
266
262
  active: z.boolean(),
267
263
  action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsLfiAction$outboundSchema,
268
264
  });
@@ -270,18 +266,18 @@ export const Lfi$outboundSchema = z
270
266
  * @internal
271
267
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
272
268
  */
273
- export var Lfi$;
274
- (function (Lfi$) {
275
- /** @deprecated use `Lfi$inboundSchema` instead. */
276
- Lfi$.inboundSchema = Lfi$inboundSchema;
277
- /** @deprecated use `Lfi$outboundSchema` instead. */
278
- Lfi$.outboundSchema = Lfi$outboundSchema;
279
- })(Lfi$ || (Lfi$ = {}));
280
- export function lfiToJSON(lfi) {
281
- return JSON.stringify(Lfi$outboundSchema.parse(lfi));
269
+ export var GetFirewallConfigLfi$;
270
+ (function (GetFirewallConfigLfi$) {
271
+ /** @deprecated use `GetFirewallConfigLfi$inboundSchema` instead. */
272
+ GetFirewallConfigLfi$.inboundSchema = GetFirewallConfigLfi$inboundSchema;
273
+ /** @deprecated use `GetFirewallConfigLfi$outboundSchema` instead. */
274
+ GetFirewallConfigLfi$.outboundSchema = GetFirewallConfigLfi$outboundSchema;
275
+ })(GetFirewallConfigLfi$ || (GetFirewallConfigLfi$ = {}));
276
+ export function getFirewallConfigLfiToJSON(getFirewallConfigLfi) {
277
+ return JSON.stringify(GetFirewallConfigLfi$outboundSchema.parse(getFirewallConfigLfi));
282
278
  }
283
- export function lfiFromJSON(jsonString) {
284
- return safeParse(jsonString, (x) => Lfi$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Lfi' from JSON`);
279
+ export function getFirewallConfigLfiFromJSON(jsonString) {
280
+ return safeParse(jsonString, (x) => GetFirewallConfigLfi$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetFirewallConfigLfi' from JSON`);
285
281
  }
286
282
  /** @internal */
287
283
  export const GetFirewallConfigSecurityResponse200Action$inboundSchema = z
@@ -300,14 +296,12 @@ export var GetFirewallConfigSecurityResponse200Action$;
300
296
  GetFirewallConfigSecurityResponse200Action$.outboundSchema = GetFirewallConfigSecurityResponse200Action$outboundSchema;
301
297
  })(GetFirewallConfigSecurityResponse200Action$ || (GetFirewallConfigSecurityResponse200Action$ = {}));
302
298
  /** @internal */
303
- export const Rfi$inboundSchema = z
304
- .object({
299
+ export const GetFirewallConfigRfi$inboundSchema = z.object({
305
300
  active: z.boolean(),
306
301
  action: GetFirewallConfigSecurityResponse200Action$inboundSchema,
307
302
  });
308
303
  /** @internal */
309
- export const Rfi$outboundSchema = z
310
- .object({
304
+ export const GetFirewallConfigRfi$outboundSchema = z.object({
311
305
  active: z.boolean(),
312
306
  action: GetFirewallConfigSecurityResponse200Action$outboundSchema,
313
307
  });
@@ -315,18 +309,18 @@ export const Rfi$outboundSchema = z
315
309
  * @internal
316
310
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
317
311
  */
318
- export var Rfi$;
319
- (function (Rfi$) {
320
- /** @deprecated use `Rfi$inboundSchema` instead. */
321
- Rfi$.inboundSchema = Rfi$inboundSchema;
322
- /** @deprecated use `Rfi$outboundSchema` instead. */
323
- Rfi$.outboundSchema = Rfi$outboundSchema;
324
- })(Rfi$ || (Rfi$ = {}));
325
- export function rfiToJSON(rfi) {
326
- return JSON.stringify(Rfi$outboundSchema.parse(rfi));
312
+ export var GetFirewallConfigRfi$;
313
+ (function (GetFirewallConfigRfi$) {
314
+ /** @deprecated use `GetFirewallConfigRfi$inboundSchema` instead. */
315
+ GetFirewallConfigRfi$.inboundSchema = GetFirewallConfigRfi$inboundSchema;
316
+ /** @deprecated use `GetFirewallConfigRfi$outboundSchema` instead. */
317
+ GetFirewallConfigRfi$.outboundSchema = GetFirewallConfigRfi$outboundSchema;
318
+ })(GetFirewallConfigRfi$ || (GetFirewallConfigRfi$ = {}));
319
+ export function getFirewallConfigRfiToJSON(getFirewallConfigRfi) {
320
+ return JSON.stringify(GetFirewallConfigRfi$outboundSchema.parse(getFirewallConfigRfi));
327
321
  }
328
- export function rfiFromJSON(jsonString) {
329
- return safeParse(jsonString, (x) => Rfi$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Rfi' from JSON`);
322
+ export function getFirewallConfigRfiFromJSON(jsonString) {
323
+ return safeParse(jsonString, (x) => GetFirewallConfigRfi$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetFirewallConfigRfi' from JSON`);
330
324
  }
331
325
  /** @internal */
332
326
  export const GetFirewallConfigSecurityResponse200ApplicationJSONAction$inboundSchema = z.nativeEnum(GetFirewallConfigSecurityResponse200ApplicationJSONAction);
@@ -344,14 +338,12 @@ export var GetFirewallConfigSecurityResponse200ApplicationJSONAction$;
344
338
  GetFirewallConfigSecurityResponse200ApplicationJSONAction$.outboundSchema = GetFirewallConfigSecurityResponse200ApplicationJSONAction$outboundSchema;
345
339
  })(GetFirewallConfigSecurityResponse200ApplicationJSONAction$ || (GetFirewallConfigSecurityResponse200ApplicationJSONAction$ = {}));
346
340
  /** @internal */
347
- export const Rce$inboundSchema = z
348
- .object({
341
+ export const GetFirewallConfigRce$inboundSchema = z.object({
349
342
  active: z.boolean(),
350
343
  action: GetFirewallConfigSecurityResponse200ApplicationJSONAction$inboundSchema,
351
344
  });
352
345
  /** @internal */
353
- export const Rce$outboundSchema = z
354
- .object({
346
+ export const GetFirewallConfigRce$outboundSchema = z.object({
355
347
  active: z.boolean(),
356
348
  action: GetFirewallConfigSecurityResponse200ApplicationJSONAction$outboundSchema,
357
349
  });
@@ -359,18 +351,18 @@ export const Rce$outboundSchema = z
359
351
  * @internal
360
352
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
361
353
  */
362
- export var Rce$;
363
- (function (Rce$) {
364
- /** @deprecated use `Rce$inboundSchema` instead. */
365
- Rce$.inboundSchema = Rce$inboundSchema;
366
- /** @deprecated use `Rce$outboundSchema` instead. */
367
- Rce$.outboundSchema = Rce$outboundSchema;
368
- })(Rce$ || (Rce$ = {}));
369
- export function rceToJSON(rce) {
370
- return JSON.stringify(Rce$outboundSchema.parse(rce));
354
+ export var GetFirewallConfigRce$;
355
+ (function (GetFirewallConfigRce$) {
356
+ /** @deprecated use `GetFirewallConfigRce$inboundSchema` instead. */
357
+ GetFirewallConfigRce$.inboundSchema = GetFirewallConfigRce$inboundSchema;
358
+ /** @deprecated use `GetFirewallConfigRce$outboundSchema` instead. */
359
+ GetFirewallConfigRce$.outboundSchema = GetFirewallConfigRce$outboundSchema;
360
+ })(GetFirewallConfigRce$ || (GetFirewallConfigRce$ = {}));
361
+ export function getFirewallConfigRceToJSON(getFirewallConfigRce) {
362
+ return JSON.stringify(GetFirewallConfigRce$outboundSchema.parse(getFirewallConfigRce));
371
363
  }
372
- export function rceFromJSON(jsonString) {
373
- return safeParse(jsonString, (x) => Rce$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Rce' from JSON`);
364
+ export function getFirewallConfigRceFromJSON(jsonString) {
365
+ return safeParse(jsonString, (x) => GetFirewallConfigRce$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetFirewallConfigRce' from JSON`);
374
366
  }
375
367
  /** @internal */
376
368
  export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema = z.nativeEnum(GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction);
@@ -388,14 +380,12 @@ export var GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction
388
380
  GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$.outboundSchema = GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$outboundSchema;
389
381
  })(GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$ || (GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$ = {}));
390
382
  /** @internal */
391
- export const Php$inboundSchema = z
392
- .object({
383
+ export const GetFirewallConfigPhp$inboundSchema = z.object({
393
384
  active: z.boolean(),
394
385
  action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema,
395
386
  });
396
387
  /** @internal */
397
- export const Php$outboundSchema = z
398
- .object({
388
+ export const GetFirewallConfigPhp$outboundSchema = z.object({
399
389
  active: z.boolean(),
400
390
  action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$outboundSchema,
401
391
  });
@@ -403,18 +393,18 @@ export const Php$outboundSchema = z
403
393
  * @internal
404
394
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
405
395
  */
406
- export var Php$;
407
- (function (Php$) {
408
- /** @deprecated use `Php$inboundSchema` instead. */
409
- Php$.inboundSchema = Php$inboundSchema;
410
- /** @deprecated use `Php$outboundSchema` instead. */
411
- Php$.outboundSchema = Php$outboundSchema;
412
- })(Php$ || (Php$ = {}));
413
- export function phpToJSON(php) {
414
- return JSON.stringify(Php$outboundSchema.parse(php));
396
+ export var GetFirewallConfigPhp$;
397
+ (function (GetFirewallConfigPhp$) {
398
+ /** @deprecated use `GetFirewallConfigPhp$inboundSchema` instead. */
399
+ GetFirewallConfigPhp$.inboundSchema = GetFirewallConfigPhp$inboundSchema;
400
+ /** @deprecated use `GetFirewallConfigPhp$outboundSchema` instead. */
401
+ GetFirewallConfigPhp$.outboundSchema = GetFirewallConfigPhp$outboundSchema;
402
+ })(GetFirewallConfigPhp$ || (GetFirewallConfigPhp$ = {}));
403
+ export function getFirewallConfigPhpToJSON(getFirewallConfigPhp) {
404
+ return JSON.stringify(GetFirewallConfigPhp$outboundSchema.parse(getFirewallConfigPhp));
415
405
  }
416
- export function phpFromJSON(jsonString) {
417
- return safeParse(jsonString, (x) => Php$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Php' from JSON`);
406
+ export function getFirewallConfigPhpFromJSON(jsonString) {
407
+ return safeParse(jsonString, (x) => GetFirewallConfigPhp$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetFirewallConfigPhp' from JSON`);
418
408
  }
419
409
  /** @internal */
420
410
  export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction$inboundSchema = z.nativeEnum(GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction);
@@ -432,14 +422,12 @@ export var GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAct
432
422
  GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction$.outboundSchema = GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction$outboundSchema;
433
423
  })(GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction$ || (GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction$ = {}));
434
424
  /** @internal */
435
- export const Gen$inboundSchema = z
436
- .object({
425
+ export const GetFirewallConfigGen$inboundSchema = z.object({
437
426
  active: z.boolean(),
438
427
  action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction$inboundSchema,
439
428
  });
440
429
  /** @internal */
441
- export const Gen$outboundSchema = z
442
- .object({
430
+ export const GetFirewallConfigGen$outboundSchema = z.object({
443
431
  active: z.boolean(),
444
432
  action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction$outboundSchema,
445
433
  });
@@ -447,18 +435,18 @@ export const Gen$outboundSchema = z
447
435
  * @internal
448
436
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
449
437
  */
450
- export var Gen$;
451
- (function (Gen$) {
452
- /** @deprecated use `Gen$inboundSchema` instead. */
453
- Gen$.inboundSchema = Gen$inboundSchema;
454
- /** @deprecated use `Gen$outboundSchema` instead. */
455
- Gen$.outboundSchema = Gen$outboundSchema;
456
- })(Gen$ || (Gen$ = {}));
457
- export function genToJSON(gen) {
458
- return JSON.stringify(Gen$outboundSchema.parse(gen));
438
+ export var GetFirewallConfigGen$;
439
+ (function (GetFirewallConfigGen$) {
440
+ /** @deprecated use `GetFirewallConfigGen$inboundSchema` instead. */
441
+ GetFirewallConfigGen$.inboundSchema = GetFirewallConfigGen$inboundSchema;
442
+ /** @deprecated use `GetFirewallConfigGen$outboundSchema` instead. */
443
+ GetFirewallConfigGen$.outboundSchema = GetFirewallConfigGen$outboundSchema;
444
+ })(GetFirewallConfigGen$ || (GetFirewallConfigGen$ = {}));
445
+ export function getFirewallConfigGenToJSON(getFirewallConfigGen) {
446
+ return JSON.stringify(GetFirewallConfigGen$outboundSchema.parse(getFirewallConfigGen));
459
447
  }
460
- export function genFromJSON(jsonString) {
461
- return safeParse(jsonString, (x) => Gen$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Gen' from JSON`);
448
+ export function getFirewallConfigGenFromJSON(jsonString) {
449
+ return safeParse(jsonString, (x) => GetFirewallConfigGen$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetFirewallConfigGen' from JSON`);
462
450
  }
463
451
  /** @internal */
464
452
  export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction$inboundSchema = z.nativeEnum(GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction);
@@ -476,14 +464,12 @@ export var GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXss
476
464
  GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction$.outboundSchema = GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction$outboundSchema;
477
465
  })(GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction$ || (GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction$ = {}));
478
466
  /** @internal */
479
- export const Xss$inboundSchema = z
480
- .object({
467
+ export const GetFirewallConfigXss$inboundSchema = z.object({
481
468
  active: z.boolean(),
482
469
  action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction$inboundSchema,
483
470
  });
484
471
  /** @internal */
485
- export const Xss$outboundSchema = z
486
- .object({
472
+ export const GetFirewallConfigXss$outboundSchema = z.object({
487
473
  active: z.boolean(),
488
474
  action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction$outboundSchema,
489
475
  });
@@ -491,18 +477,18 @@ export const Xss$outboundSchema = z
491
477
  * @internal
492
478
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
493
479
  */
494
- export var Xss$;
495
- (function (Xss$) {
496
- /** @deprecated use `Xss$inboundSchema` instead. */
497
- Xss$.inboundSchema = Xss$inboundSchema;
498
- /** @deprecated use `Xss$outboundSchema` instead. */
499
- Xss$.outboundSchema = Xss$outboundSchema;
500
- })(Xss$ || (Xss$ = {}));
501
- export function xssToJSON(xss) {
502
- return JSON.stringify(Xss$outboundSchema.parse(xss));
480
+ export var GetFirewallConfigXss$;
481
+ (function (GetFirewallConfigXss$) {
482
+ /** @deprecated use `GetFirewallConfigXss$inboundSchema` instead. */
483
+ GetFirewallConfigXss$.inboundSchema = GetFirewallConfigXss$inboundSchema;
484
+ /** @deprecated use `GetFirewallConfigXss$outboundSchema` instead. */
485
+ GetFirewallConfigXss$.outboundSchema = GetFirewallConfigXss$outboundSchema;
486
+ })(GetFirewallConfigXss$ || (GetFirewallConfigXss$ = {}));
487
+ export function getFirewallConfigXssToJSON(getFirewallConfigXss) {
488
+ return JSON.stringify(GetFirewallConfigXss$outboundSchema.parse(getFirewallConfigXss));
503
489
  }
504
- export function xssFromJSON(jsonString) {
505
- return safeParse(jsonString, (x) => Xss$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Xss' from JSON`);
490
+ export function getFirewallConfigXssFromJSON(jsonString) {
491
+ return safeParse(jsonString, (x) => GetFirewallConfigXss$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetFirewallConfigXss' from JSON`);
506
492
  }
507
493
  /** @internal */
508
494
  export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction$inboundSchema = z.nativeEnum(GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction);
@@ -520,13 +506,12 @@ export var GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSql
520
506
  GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction$.outboundSchema = GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction$outboundSchema;
521
507
  })(GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction$ || (GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction$ = {}));
522
508
  /** @internal */
523
- export const Sqli$inboundSchema = z
524
- .object({
509
+ export const GetFirewallConfigSqli$inboundSchema = z.object({
525
510
  active: z.boolean(),
526
511
  action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction$inboundSchema,
527
512
  });
528
513
  /** @internal */
529
- export const Sqli$outboundSchema = z.object({
514
+ export const GetFirewallConfigSqli$outboundSchema = z.object({
530
515
  active: z.boolean(),
531
516
  action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction$outboundSchema,
532
517
  });
@@ -534,18 +519,18 @@ export const Sqli$outboundSchema = z.object({
534
519
  * @internal
535
520
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
536
521
  */
537
- export var Sqli$;
538
- (function (Sqli$) {
539
- /** @deprecated use `Sqli$inboundSchema` instead. */
540
- Sqli$.inboundSchema = Sqli$inboundSchema;
541
- /** @deprecated use `Sqli$outboundSchema` instead. */
542
- Sqli$.outboundSchema = Sqli$outboundSchema;
543
- })(Sqli$ || (Sqli$ = {}));
544
- export function sqliToJSON(sqli) {
545
- return JSON.stringify(Sqli$outboundSchema.parse(sqli));
522
+ export var GetFirewallConfigSqli$;
523
+ (function (GetFirewallConfigSqli$) {
524
+ /** @deprecated use `GetFirewallConfigSqli$inboundSchema` instead. */
525
+ GetFirewallConfigSqli$.inboundSchema = GetFirewallConfigSqli$inboundSchema;
526
+ /** @deprecated use `GetFirewallConfigSqli$outboundSchema` instead. */
527
+ GetFirewallConfigSqli$.outboundSchema = GetFirewallConfigSqli$outboundSchema;
528
+ })(GetFirewallConfigSqli$ || (GetFirewallConfigSqli$ = {}));
529
+ export function getFirewallConfigSqliToJSON(getFirewallConfigSqli) {
530
+ return JSON.stringify(GetFirewallConfigSqli$outboundSchema.parse(getFirewallConfigSqli));
546
531
  }
547
- export function sqliFromJSON(jsonString) {
548
- return safeParse(jsonString, (x) => Sqli$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Sqli' from JSON`);
532
+ export function getFirewallConfigSqliFromJSON(jsonString) {
533
+ return safeParse(jsonString, (x) => GetFirewallConfigSqli$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetFirewallConfigSqli' from JSON`);
549
534
  }
550
535
  /** @internal */
551
536
  export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction$inboundSchema = z.nativeEnum(GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction);
@@ -563,13 +548,12 @@ export var GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfA
563
548
  GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction$.outboundSchema = GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction$outboundSchema;
564
549
  })(GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction$ || (GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction$ = {}));
565
550
  /** @internal */
566
- export const Sf$inboundSchema = z.object({
551
+ export const GetFirewallConfigSf$inboundSchema = z.object({
567
552
  active: z.boolean(),
568
553
  action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction$inboundSchema,
569
554
  });
570
555
  /** @internal */
571
- export const Sf$outboundSchema = z
572
- .object({
556
+ export const GetFirewallConfigSf$outboundSchema = z.object({
573
557
  active: z.boolean(),
574
558
  action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction$outboundSchema,
575
559
  });
@@ -577,18 +561,18 @@ export const Sf$outboundSchema = z
577
561
  * @internal
578
562
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
579
563
  */
580
- export var Sf$;
581
- (function (Sf$) {
582
- /** @deprecated use `Sf$inboundSchema` instead. */
583
- Sf$.inboundSchema = Sf$inboundSchema;
584
- /** @deprecated use `Sf$outboundSchema` instead. */
585
- Sf$.outboundSchema = Sf$outboundSchema;
586
- })(Sf$ || (Sf$ = {}));
587
- export function sfToJSON(sf) {
588
- return JSON.stringify(Sf$outboundSchema.parse(sf));
564
+ export var GetFirewallConfigSf$;
565
+ (function (GetFirewallConfigSf$) {
566
+ /** @deprecated use `GetFirewallConfigSf$inboundSchema` instead. */
567
+ GetFirewallConfigSf$.inboundSchema = GetFirewallConfigSf$inboundSchema;
568
+ /** @deprecated use `GetFirewallConfigSf$outboundSchema` instead. */
569
+ GetFirewallConfigSf$.outboundSchema = GetFirewallConfigSf$outboundSchema;
570
+ })(GetFirewallConfigSf$ || (GetFirewallConfigSf$ = {}));
571
+ export function getFirewallConfigSfToJSON(getFirewallConfigSf) {
572
+ return JSON.stringify(GetFirewallConfigSf$outboundSchema.parse(getFirewallConfigSf));
589
573
  }
590
- export function sfFromJSON(jsonString) {
591
- return safeParse(jsonString, (x) => Sf$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Sf' from JSON`);
574
+ export function getFirewallConfigSfFromJSON(jsonString) {
575
+ return safeParse(jsonString, (x) => GetFirewallConfigSf$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetFirewallConfigSf' from JSON`);
592
576
  }
593
577
  /** @internal */
594
578
  export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction$inboundSchema = z.nativeEnum(GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction);
@@ -606,13 +590,12 @@ export var GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJav
606
590
  GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction$.outboundSchema = GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction$outboundSchema;
607
591
  })(GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction$ || (GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction$ = {}));
608
592
  /** @internal */
609
- export const Java$inboundSchema = z
610
- .object({
593
+ export const GetFirewallConfigJava$inboundSchema = z.object({
611
594
  active: z.boolean(),
612
595
  action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction$inboundSchema,
613
596
  });
614
597
  /** @internal */
615
- export const Java$outboundSchema = z.object({
598
+ export const GetFirewallConfigJava$outboundSchema = z.object({
616
599
  active: z.boolean(),
617
600
  action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction$outboundSchema,
618
601
  });
@@ -620,65 +603,63 @@ export const Java$outboundSchema = z.object({
620
603
  * @internal
621
604
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
622
605
  */
623
- export var Java$;
624
- (function (Java$) {
625
- /** @deprecated use `Java$inboundSchema` instead. */
626
- Java$.inboundSchema = Java$inboundSchema;
627
- /** @deprecated use `Java$outboundSchema` instead. */
628
- Java$.outboundSchema = Java$outboundSchema;
629
- })(Java$ || (Java$ = {}));
630
- export function javaToJSON(java) {
631
- return JSON.stringify(Java$outboundSchema.parse(java));
606
+ export var GetFirewallConfigJava$;
607
+ (function (GetFirewallConfigJava$) {
608
+ /** @deprecated use `GetFirewallConfigJava$inboundSchema` instead. */
609
+ GetFirewallConfigJava$.inboundSchema = GetFirewallConfigJava$inboundSchema;
610
+ /** @deprecated use `GetFirewallConfigJava$outboundSchema` instead. */
611
+ GetFirewallConfigJava$.outboundSchema = GetFirewallConfigJava$outboundSchema;
612
+ })(GetFirewallConfigJava$ || (GetFirewallConfigJava$ = {}));
613
+ export function getFirewallConfigJavaToJSON(getFirewallConfigJava) {
614
+ return JSON.stringify(GetFirewallConfigJava$outboundSchema.parse(getFirewallConfigJava));
632
615
  }
633
- export function javaFromJSON(jsonString) {
634
- return safeParse(jsonString, (x) => Java$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Java' from JSON`);
616
+ export function getFirewallConfigJavaFromJSON(jsonString) {
617
+ return safeParse(jsonString, (x) => GetFirewallConfigJava$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetFirewallConfigJava' from JSON`);
635
618
  }
636
619
  /** @internal */
637
- export const Crs$inboundSchema = z
638
- .object({
639
- sd: z.lazy(() => Sd$inboundSchema),
640
- ma: z.lazy(() => Ma$inboundSchema),
641
- lfi: z.lazy(() => Lfi$inboundSchema),
642
- rfi: z.lazy(() => Rfi$inboundSchema),
643
- rce: z.lazy(() => Rce$inboundSchema),
644
- php: z.lazy(() => Php$inboundSchema),
645
- gen: z.lazy(() => Gen$inboundSchema),
646
- xss: z.lazy(() => Xss$inboundSchema),
647
- sqli: z.lazy(() => Sqli$inboundSchema),
648
- sf: z.lazy(() => Sf$inboundSchema),
649
- java: z.lazy(() => Java$inboundSchema),
620
+ export const GetFirewallConfigCrs$inboundSchema = z.object({
621
+ sd: z.lazy(() => GetFirewallConfigSd$inboundSchema),
622
+ ma: z.lazy(() => GetFirewallConfigMa$inboundSchema),
623
+ lfi: z.lazy(() => GetFirewallConfigLfi$inboundSchema),
624
+ rfi: z.lazy(() => GetFirewallConfigRfi$inboundSchema),
625
+ rce: z.lazy(() => GetFirewallConfigRce$inboundSchema),
626
+ php: z.lazy(() => GetFirewallConfigPhp$inboundSchema),
627
+ gen: z.lazy(() => GetFirewallConfigGen$inboundSchema),
628
+ xss: z.lazy(() => GetFirewallConfigXss$inboundSchema),
629
+ sqli: z.lazy(() => GetFirewallConfigSqli$inboundSchema),
630
+ sf: z.lazy(() => GetFirewallConfigSf$inboundSchema),
631
+ java: z.lazy(() => GetFirewallConfigJava$inboundSchema),
650
632
  });
651
633
  /** @internal */
652
- export const Crs$outboundSchema = z
653
- .object({
654
- sd: z.lazy(() => Sd$outboundSchema),
655
- ma: z.lazy(() => Ma$outboundSchema),
656
- lfi: z.lazy(() => Lfi$outboundSchema),
657
- rfi: z.lazy(() => Rfi$outboundSchema),
658
- rce: z.lazy(() => Rce$outboundSchema),
659
- php: z.lazy(() => Php$outboundSchema),
660
- gen: z.lazy(() => Gen$outboundSchema),
661
- xss: z.lazy(() => Xss$outboundSchema),
662
- sqli: z.lazy(() => Sqli$outboundSchema),
663
- sf: z.lazy(() => Sf$outboundSchema),
664
- java: z.lazy(() => Java$outboundSchema),
634
+ export const GetFirewallConfigCrs$outboundSchema = z.object({
635
+ sd: z.lazy(() => GetFirewallConfigSd$outboundSchema),
636
+ ma: z.lazy(() => GetFirewallConfigMa$outboundSchema),
637
+ lfi: z.lazy(() => GetFirewallConfigLfi$outboundSchema),
638
+ rfi: z.lazy(() => GetFirewallConfigRfi$outboundSchema),
639
+ rce: z.lazy(() => GetFirewallConfigRce$outboundSchema),
640
+ php: z.lazy(() => GetFirewallConfigPhp$outboundSchema),
641
+ gen: z.lazy(() => GetFirewallConfigGen$outboundSchema),
642
+ xss: z.lazy(() => GetFirewallConfigXss$outboundSchema),
643
+ sqli: z.lazy(() => GetFirewallConfigSqli$outboundSchema),
644
+ sf: z.lazy(() => GetFirewallConfigSf$outboundSchema),
645
+ java: z.lazy(() => GetFirewallConfigJava$outboundSchema),
665
646
  });
666
647
  /**
667
648
  * @internal
668
649
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
669
650
  */
670
- export var Crs$;
671
- (function (Crs$) {
672
- /** @deprecated use `Crs$inboundSchema` instead. */
673
- Crs$.inboundSchema = Crs$inboundSchema;
674
- /** @deprecated use `Crs$outboundSchema` instead. */
675
- Crs$.outboundSchema = Crs$outboundSchema;
676
- })(Crs$ || (Crs$ = {}));
677
- export function crsToJSON(crs) {
678
- return JSON.stringify(Crs$outboundSchema.parse(crs));
651
+ export var GetFirewallConfigCrs$;
652
+ (function (GetFirewallConfigCrs$) {
653
+ /** @deprecated use `GetFirewallConfigCrs$inboundSchema` instead. */
654
+ GetFirewallConfigCrs$.inboundSchema = GetFirewallConfigCrs$inboundSchema;
655
+ /** @deprecated use `GetFirewallConfigCrs$outboundSchema` instead. */
656
+ GetFirewallConfigCrs$.outboundSchema = GetFirewallConfigCrs$outboundSchema;
657
+ })(GetFirewallConfigCrs$ || (GetFirewallConfigCrs$ = {}));
658
+ export function getFirewallConfigCrsToJSON(getFirewallConfigCrs) {
659
+ return JSON.stringify(GetFirewallConfigCrs$outboundSchema.parse(getFirewallConfigCrs));
679
660
  }
680
- export function crsFromJSON(jsonString) {
681
- return safeParse(jsonString, (x) => Crs$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Crs' from JSON`);
661
+ export function getFirewallConfigCrsFromJSON(jsonString) {
662
+ return safeParse(jsonString, (x) => GetFirewallConfigCrs$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetFirewallConfigCrs' from JSON`);
682
663
  }
683
664
  /** @internal */
684
665
  export const GetFirewallConfigType$inboundSchema = z.nativeEnum(GetFirewallConfigType);
@@ -1007,8 +988,7 @@ export var GetFirewallConfigSecurityAction$;
1007
988
  GetFirewallConfigSecurityAction$.outboundSchema = GetFirewallConfigSecurityAction$outboundSchema;
1008
989
  })(GetFirewallConfigSecurityAction$ || (GetFirewallConfigSecurityAction$ = {}));
1009
990
  /** @internal */
1010
- export const Ips$inboundSchema = z
1011
- .object({
991
+ export const GetFirewallConfigIps$inboundSchema = z.object({
1012
992
  id: z.string(),
1013
993
  hostname: z.string(),
1014
994
  ip: z.string(),
@@ -1016,8 +996,7 @@ export const Ips$inboundSchema = z
1016
996
  action: GetFirewallConfigSecurityAction$inboundSchema,
1017
997
  });
1018
998
  /** @internal */
1019
- export const Ips$outboundSchema = z
1020
- .object({
999
+ export const GetFirewallConfigIps$outboundSchema = z.object({
1021
1000
  id: z.string(),
1022
1001
  hostname: z.string(),
1023
1002
  ip: z.string(),
@@ -1028,18 +1007,18 @@ export const Ips$outboundSchema = z
1028
1007
  * @internal
1029
1008
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1030
1009
  */
1031
- export var Ips$;
1032
- (function (Ips$) {
1033
- /** @deprecated use `Ips$inboundSchema` instead. */
1034
- Ips$.inboundSchema = Ips$inboundSchema;
1035
- /** @deprecated use `Ips$outboundSchema` instead. */
1036
- Ips$.outboundSchema = Ips$outboundSchema;
1037
- })(Ips$ || (Ips$ = {}));
1038
- export function ipsToJSON(ips) {
1039
- return JSON.stringify(Ips$outboundSchema.parse(ips));
1010
+ export var GetFirewallConfigIps$;
1011
+ (function (GetFirewallConfigIps$) {
1012
+ /** @deprecated use `GetFirewallConfigIps$inboundSchema` instead. */
1013
+ GetFirewallConfigIps$.inboundSchema = GetFirewallConfigIps$inboundSchema;
1014
+ /** @deprecated use `GetFirewallConfigIps$outboundSchema` instead. */
1015
+ GetFirewallConfigIps$.outboundSchema = GetFirewallConfigIps$outboundSchema;
1016
+ })(GetFirewallConfigIps$ || (GetFirewallConfigIps$ = {}));
1017
+ export function getFirewallConfigIpsToJSON(getFirewallConfigIps) {
1018
+ return JSON.stringify(GetFirewallConfigIps$outboundSchema.parse(getFirewallConfigIps));
1040
1019
  }
1041
- export function ipsFromJSON(jsonString) {
1042
- return safeParse(jsonString, (x) => Ips$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Ips' from JSON`);
1020
+ export function getFirewallConfigIpsFromJSON(jsonString) {
1021
+ return safeParse(jsonString, (x) => GetFirewallConfigIps$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetFirewallConfigIps' from JSON`);
1043
1022
  }
1044
1023
  /** @internal */
1045
1024
  export const Changes$inboundSchema = z.object({});
@@ -1079,7 +1058,7 @@ export var GetFirewallConfigSecurityResponseAction$;
1079
1058
  GetFirewallConfigSecurityResponseAction$.outboundSchema = GetFirewallConfigSecurityResponseAction$outboundSchema;
1080
1059
  })(GetFirewallConfigSecurityResponseAction$ || (GetFirewallConfigSecurityResponseAction$ = {}));
1081
1060
  /** @internal */
1082
- export const ManagedRules$inboundSchema = z.object({
1061
+ export const GetFirewallConfigManagedRules$inboundSchema = z.object({
1083
1062
  active: z.boolean(),
1084
1063
  action: GetFirewallConfigSecurityResponseAction$inboundSchema.optional(),
1085
1064
  updatedAt: z.string().optional(),
@@ -1087,7 +1066,7 @@ export const ManagedRules$inboundSchema = z.object({
1087
1066
  username: z.string().optional(),
1088
1067
  });
1089
1068
  /** @internal */
1090
- export const ManagedRules$outboundSchema = z.object({
1069
+ export const GetFirewallConfigManagedRules$outboundSchema = z.object({
1091
1070
  active: z.boolean(),
1092
1071
  action: GetFirewallConfigSecurityResponseAction$outboundSchema.optional(),
1093
1072
  updatedAt: z.string().optional(),
@@ -1098,18 +1077,18 @@ export const ManagedRules$outboundSchema = z.object({
1098
1077
  * @internal
1099
1078
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1100
1079
  */
1101
- export var ManagedRules$;
1102
- (function (ManagedRules$) {
1103
- /** @deprecated use `ManagedRules$inboundSchema` instead. */
1104
- ManagedRules$.inboundSchema = ManagedRules$inboundSchema;
1105
- /** @deprecated use `ManagedRules$outboundSchema` instead. */
1106
- ManagedRules$.outboundSchema = ManagedRules$outboundSchema;
1107
- })(ManagedRules$ || (ManagedRules$ = {}));
1108
- export function managedRulesToJSON(managedRules) {
1109
- return JSON.stringify(ManagedRules$outboundSchema.parse(managedRules));
1080
+ export var GetFirewallConfigManagedRules$;
1081
+ (function (GetFirewallConfigManagedRules$) {
1082
+ /** @deprecated use `GetFirewallConfigManagedRules$inboundSchema` instead. */
1083
+ GetFirewallConfigManagedRules$.inboundSchema = GetFirewallConfigManagedRules$inboundSchema;
1084
+ /** @deprecated use `GetFirewallConfigManagedRules$outboundSchema` instead. */
1085
+ GetFirewallConfigManagedRules$.outboundSchema = GetFirewallConfigManagedRules$outboundSchema;
1086
+ })(GetFirewallConfigManagedRules$ || (GetFirewallConfigManagedRules$ = {}));
1087
+ export function getFirewallConfigManagedRulesToJSON(getFirewallConfigManagedRules) {
1088
+ return JSON.stringify(GetFirewallConfigManagedRules$outboundSchema.parse(getFirewallConfigManagedRules));
1110
1089
  }
1111
- export function managedRulesFromJSON(jsonString) {
1112
- return safeParse(jsonString, (x) => ManagedRules$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ManagedRules' from JSON`);
1090
+ export function getFirewallConfigManagedRulesFromJSON(jsonString) {
1091
+ return safeParse(jsonString, (x) => GetFirewallConfigManagedRules$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetFirewallConfigManagedRules' from JSON`);
1113
1092
  }
1114
1093
  /** @internal */
1115
1094
  export const GetFirewallConfigResponseBody$inboundSchema = z.object({
@@ -1119,11 +1098,11 @@ export const GetFirewallConfigResponseBody$inboundSchema = z.object({
1119
1098
  version: z.number(),
1120
1099
  updatedAt: z.string(),
1121
1100
  firewallEnabled: z.boolean(),
1122
- crs: z.lazy(() => Crs$inboundSchema),
1101
+ crs: z.lazy(() => GetFirewallConfigCrs$inboundSchema),
1123
1102
  rules: z.array(z.lazy(() => GetFirewallConfigRules$inboundSchema)),
1124
- ips: z.array(z.lazy(() => Ips$inboundSchema)),
1103
+ ips: z.array(z.lazy(() => GetFirewallConfigIps$inboundSchema)),
1125
1104
  changes: z.array(z.lazy(() => Changes$inboundSchema)),
1126
- managedRules: z.record(z.lazy(() => ManagedRules$inboundSchema)).optional(),
1105
+ managedRules: z.record(z.lazy(() => GetFirewallConfigManagedRules$inboundSchema)).optional(),
1127
1106
  });
1128
1107
  /** @internal */
1129
1108
  export const GetFirewallConfigResponseBody$outboundSchema = z.object({
@@ -1133,11 +1112,11 @@ export const GetFirewallConfigResponseBody$outboundSchema = z.object({
1133
1112
  version: z.number(),
1134
1113
  updatedAt: z.string(),
1135
1114
  firewallEnabled: z.boolean(),
1136
- crs: z.lazy(() => Crs$outboundSchema),
1115
+ crs: z.lazy(() => GetFirewallConfigCrs$outboundSchema),
1137
1116
  rules: z.array(z.lazy(() => GetFirewallConfigRules$outboundSchema)),
1138
- ips: z.array(z.lazy(() => Ips$outboundSchema)),
1117
+ ips: z.array(z.lazy(() => GetFirewallConfigIps$outboundSchema)),
1139
1118
  changes: z.array(z.lazy(() => Changes$outboundSchema)),
1140
- managedRules: z.record(z.lazy(() => ManagedRules$outboundSchema)).optional(),
1119
+ managedRules: z.record(z.lazy(() => GetFirewallConfigManagedRules$outboundSchema)).optional(),
1141
1120
  });
1142
1121
  /**
1143
1122
  * @internal