@vercel/sdk 14.0.0-canary.6 → 14.0.0-canary.9

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 (897) hide show
  1. package/.devcontainer/README.md +1 -1
  2. package/LICENSE +201 -0
  3. package/README.md +33 -4
  4. package/docs/sdks/accessgroups/README.md +326 -0
  5. package/docs/sdks/authentication/README.md +69 -0
  6. package/docs/sdks/marketplace/README.md +694 -0
  7. package/docs/sdks/projects/README.md +85 -150
  8. package/esm/funcs/accessGroupsCreateAccessGroupProject.d.ts +15 -0
  9. package/esm/funcs/accessGroupsCreateAccessGroupProject.d.ts.map +1 -0
  10. package/esm/funcs/accessGroupsCreateAccessGroupProject.js +77 -0
  11. package/esm/funcs/accessGroupsCreateAccessGroupProject.js.map +1 -0
  12. package/esm/funcs/accessGroupsDeleteAccessGroupProject.d.ts +15 -0
  13. package/esm/funcs/accessGroupsDeleteAccessGroupProject.d.ts.map +1 -0
  14. package/esm/funcs/{projectsPauseProject.js → accessGroupsDeleteAccessGroupProject.js} +12 -11
  15. package/esm/funcs/accessGroupsDeleteAccessGroupProject.js.map +1 -0
  16. package/esm/funcs/accessGroupsReadAccessGroupProject.d.ts +15 -0
  17. package/esm/funcs/accessGroupsReadAccessGroupProject.d.ts.map +1 -0
  18. package/esm/funcs/{projectsUnpauseProject.js → accessGroupsReadAccessGroupProject.js} +13 -13
  19. package/esm/funcs/accessGroupsReadAccessGroupProject.js.map +1 -0
  20. package/esm/funcs/accessGroupsUpdateAccessGroupProject.d.ts +15 -0
  21. package/esm/funcs/accessGroupsUpdateAccessGroupProject.d.ts.map +1 -0
  22. package/esm/funcs/accessGroupsUpdateAccessGroupProject.js +81 -0
  23. package/esm/funcs/accessGroupsUpdateAccessGroupProject.js.map +1 -0
  24. package/esm/funcs/authenticationExchangeSsoToken.d.ts +15 -0
  25. package/esm/funcs/authenticationExchangeSsoToken.d.ts.map +1 -0
  26. package/esm/funcs/authenticationExchangeSsoToken.js +66 -0
  27. package/esm/funcs/authenticationExchangeSsoToken.js.map +1 -0
  28. package/esm/funcs/marketplaceCreateEvent.d.ts +15 -0
  29. package/esm/funcs/marketplaceCreateEvent.d.ts.map +1 -0
  30. package/esm/funcs/marketplaceCreateEvent.js +73 -0
  31. package/esm/funcs/marketplaceCreateEvent.js.map +1 -0
  32. package/esm/funcs/marketplaceExchangeSsoToken.d.ts +15 -0
  33. package/esm/funcs/marketplaceExchangeSsoToken.d.ts.map +1 -0
  34. package/esm/funcs/marketplaceExchangeSsoToken.js +66 -0
  35. package/esm/funcs/marketplaceExchangeSsoToken.js.map +1 -0
  36. package/esm/funcs/marketplaceGetAccountInfo.d.ts +15 -0
  37. package/esm/funcs/marketplaceGetAccountInfo.d.ts.map +1 -0
  38. package/esm/funcs/marketplaceGetAccountInfo.js +71 -0
  39. package/esm/funcs/marketplaceGetAccountInfo.js.map +1 -0
  40. package/esm/funcs/marketplaceGetInvoice.d.ts +15 -0
  41. package/esm/funcs/marketplaceGetInvoice.d.ts.map +1 -0
  42. package/esm/funcs/marketplaceGetInvoice.js +75 -0
  43. package/esm/funcs/marketplaceGetInvoice.js.map +1 -0
  44. package/esm/funcs/marketplaceGetMember.d.ts +15 -0
  45. package/esm/funcs/marketplaceGetMember.d.ts.map +1 -0
  46. package/esm/funcs/marketplaceGetMember.js +75 -0
  47. package/esm/funcs/marketplaceGetMember.js.map +1 -0
  48. package/esm/funcs/marketplaceSubmitBillingData.d.ts +15 -0
  49. package/esm/funcs/marketplaceSubmitBillingData.d.ts.map +1 -0
  50. package/esm/funcs/marketplaceSubmitBillingData.js +73 -0
  51. package/esm/funcs/marketplaceSubmitBillingData.js.map +1 -0
  52. package/esm/funcs/marketplaceSubmitInvoice.d.ts +15 -0
  53. package/esm/funcs/marketplaceSubmitInvoice.d.ts.map +1 -0
  54. package/esm/funcs/marketplaceSubmitInvoice.js +72 -0
  55. package/esm/funcs/marketplaceSubmitInvoice.js.map +1 -0
  56. package/esm/funcs/marketplaceUpdateInvoice.d.ts +15 -0
  57. package/esm/funcs/marketplaceUpdateInvoice.d.ts.map +1 -0
  58. package/esm/funcs/marketplaceUpdateInvoice.js +77 -0
  59. package/esm/funcs/marketplaceUpdateInvoice.js.map +1 -0
  60. package/esm/funcs/marketplaceUpdateResourceSecrets.d.ts +15 -0
  61. package/esm/funcs/marketplaceUpdateResourceSecrets.d.ts.map +1 -0
  62. package/esm/funcs/marketplaceUpdateResourceSecrets.js +78 -0
  63. package/esm/funcs/marketplaceUpdateResourceSecrets.js.map +1 -0
  64. package/esm/funcs/projectsGetProjectDomains.d.ts +15 -0
  65. package/esm/funcs/projectsGetProjectDomains.d.ts.map +1 -0
  66. package/esm/funcs/projectsGetProjectDomains.js +89 -0
  67. package/esm/funcs/projectsGetProjectDomains.js.map +1 -0
  68. package/esm/lib/base64.d.ts +2 -2
  69. package/esm/lib/base64.d.ts.map +1 -1
  70. package/esm/lib/config.d.ts +3 -3
  71. package/esm/lib/config.js +3 -3
  72. package/esm/lib/matchers.js +1 -1
  73. package/esm/lib/matchers.js.map +1 -1
  74. package/esm/models/components/authtoken.d.ts +10 -0
  75. package/esm/models/components/authtoken.d.ts.map +1 -1
  76. package/esm/models/components/authtoken.js +25 -0
  77. package/esm/models/components/authtoken.js.map +1 -1
  78. package/esm/models/components/authuser.d.ts +56 -3
  79. package/esm/models/components/authuser.d.ts.map +1 -1
  80. package/esm/models/components/authuser.js +121 -1
  81. package/esm/models/components/authuser.js.map +1 -1
  82. package/esm/models/components/authuserlimited.d.ts +4 -0
  83. package/esm/models/components/authuserlimited.d.ts.map +1 -1
  84. package/esm/models/components/authuserlimited.js +7 -0
  85. package/esm/models/components/authuserlimited.js.map +1 -1
  86. package/esm/models/components/edgeconfigitem.d.ts +4 -0
  87. package/esm/models/components/edgeconfigitem.d.ts.map +1 -1
  88. package/esm/models/components/edgeconfigitem.js +7 -0
  89. package/esm/models/components/edgeconfigitem.js.map +1 -1
  90. package/esm/models/components/edgeconfigitemvalue.d.ts +4 -0
  91. package/esm/models/components/edgeconfigitemvalue.d.ts.map +1 -1
  92. package/esm/models/components/edgeconfigitemvalue.js +7 -0
  93. package/esm/models/components/edgeconfigitemvalue.js.map +1 -1
  94. package/esm/models/components/edgeconfigtoken.d.ts +4 -0
  95. package/esm/models/components/edgeconfigtoken.d.ts.map +1 -1
  96. package/esm/models/components/edgeconfigtoken.js +7 -0
  97. package/esm/models/components/edgeconfigtoken.js.map +1 -1
  98. package/esm/models/components/filetree.d.ts +4 -0
  99. package/esm/models/components/filetree.d.ts.map +1 -1
  100. package/esm/models/components/filetree.js +7 -0
  101. package/esm/models/components/filetree.js.map +1 -1
  102. package/esm/models/components/flagjsonvalue.d.ts +4 -0
  103. package/esm/models/components/flagjsonvalue.d.ts.map +1 -1
  104. package/esm/models/components/flagjsonvalue.js +7 -0
  105. package/esm/models/components/flagjsonvalue.js.map +1 -1
  106. package/esm/models/components/pagination.d.ts +4 -0
  107. package/esm/models/components/pagination.d.ts.map +1 -1
  108. package/esm/models/components/pagination.js +7 -0
  109. package/esm/models/components/pagination.js.map +1 -1
  110. package/esm/models/components/security.d.ts +6 -2
  111. package/esm/models/components/security.d.ts.map +1 -1
  112. package/esm/models/components/security.js +9 -2
  113. package/esm/models/components/security.js.map +1 -1
  114. package/esm/models/components/teamlimited.d.ts +18 -0
  115. package/esm/models/components/teamlimited.d.ts.map +1 -1
  116. package/esm/models/components/teamlimited.js +49 -0
  117. package/esm/models/components/teamlimited.js.map +1 -1
  118. package/esm/models/components/userevent.d.ts +4 -0
  119. package/esm/models/components/userevent.d.ts.map +1 -1
  120. package/esm/models/components/userevent.js +7 -0
  121. package/esm/models/components/userevent.js.map +1 -1
  122. package/esm/models/operations/addprojectdomain.d.ts +10 -0
  123. package/esm/models/operations/addprojectdomain.d.ts.map +1 -1
  124. package/esm/models/operations/addprojectdomain.js +25 -0
  125. package/esm/models/operations/addprojectdomain.js.map +1 -1
  126. package/esm/models/operations/addprojectmember.d.ts +14 -0
  127. package/esm/models/operations/addprojectmember.d.ts.map +1 -1
  128. package/esm/models/operations/addprojectmember.js +37 -0
  129. package/esm/models/operations/addprojectmember.js.map +1 -1
  130. package/esm/models/operations/artifactexists.d.ts +4 -0
  131. package/esm/models/operations/artifactexists.d.ts.map +1 -1
  132. package/esm/models/operations/artifactexists.js +7 -0
  133. package/esm/models/operations/artifactexists.js.map +1 -1
  134. package/esm/models/operations/artifactquery.d.ts +14 -0
  135. package/esm/models/operations/artifactquery.d.ts.map +1 -1
  136. package/esm/models/operations/artifactquery.js +37 -0
  137. package/esm/models/operations/artifactquery.js.map +1 -1
  138. package/esm/models/operations/assignalias.d.ts +8 -0
  139. package/esm/models/operations/assignalias.d.ts.map +1 -1
  140. package/esm/models/operations/assignalias.js +19 -0
  141. package/esm/models/operations/assignalias.js.map +1 -1
  142. package/esm/models/operations/buydomain.d.ts +16 -0
  143. package/esm/models/operations/buydomain.d.ts.map +1 -1
  144. package/esm/models/operations/buydomain.js +43 -0
  145. package/esm/models/operations/buydomain.js.map +1 -1
  146. package/esm/models/operations/canceldeployment.d.ts +259 -0
  147. package/esm/models/operations/canceldeployment.d.ts.map +1 -1
  148. package/esm/models/operations/canceldeployment.js +451 -0
  149. package/esm/models/operations/canceldeployment.js.map +1 -1
  150. package/esm/models/operations/checkdomainprice.d.ts +6 -0
  151. package/esm/models/operations/checkdomainprice.d.ts.map +1 -1
  152. package/esm/models/operations/checkdomainprice.js +13 -0
  153. package/esm/models/operations/checkdomainprice.js.map +1 -1
  154. package/esm/models/operations/checkdomainstatus.d.ts +6 -0
  155. package/esm/models/operations/checkdomainstatus.d.ts.map +1 -1
  156. package/esm/models/operations/checkdomainstatus.js +13 -0
  157. package/esm/models/operations/checkdomainstatus.js.map +1 -1
  158. package/esm/models/operations/createaccessgroup.d.ts +10 -0
  159. package/esm/models/operations/createaccessgroup.d.ts.map +1 -1
  160. package/esm/models/operations/createaccessgroup.js +25 -0
  161. package/esm/models/operations/createaccessgroup.js.map +1 -1
  162. package/esm/models/operations/createaccessgroupproject.d.ts +172 -0
  163. package/esm/models/operations/createaccessgroupproject.d.ts.map +1 -0
  164. package/esm/models/operations/createaccessgroupproject.js +154 -0
  165. package/esm/models/operations/createaccessgroupproject.js.map +1 -0
  166. package/esm/models/operations/createauthtoken.d.ts +8 -0
  167. package/esm/models/operations/createauthtoken.d.ts.map +1 -1
  168. package/esm/models/operations/createauthtoken.js +19 -0
  169. package/esm/models/operations/createauthtoken.js.map +1 -1
  170. package/esm/models/operations/createcheck.d.ts +22 -0
  171. package/esm/models/operations/createcheck.d.ts.map +1 -1
  172. package/esm/models/operations/createcheck.js +61 -0
  173. package/esm/models/operations/createcheck.js.map +1 -1
  174. package/esm/models/operations/createconfigurablelogdrain.d.ts +8 -0
  175. package/esm/models/operations/createconfigurablelogdrain.d.ts.map +1 -1
  176. package/esm/models/operations/createconfigurablelogdrain.js +19 -0
  177. package/esm/models/operations/createconfigurablelogdrain.js.map +1 -1
  178. package/esm/models/operations/createdeployment.d.ts +287 -0
  179. package/esm/models/operations/createdeployment.d.ts.map +1 -1
  180. package/esm/models/operations/createdeployment.js +534 -0
  181. package/esm/models/operations/createdeployment.js.map +1 -1
  182. package/esm/models/operations/createedgeconfig.d.ts +24 -0
  183. package/esm/models/operations/createedgeconfig.d.ts.map +1 -1
  184. package/esm/models/operations/createedgeconfig.js +67 -0
  185. package/esm/models/operations/createedgeconfig.js.map +1 -1
  186. package/esm/models/operations/createedgeconfigtoken.d.ts +8 -0
  187. package/esm/models/operations/createedgeconfigtoken.d.ts.map +1 -1
  188. package/esm/models/operations/createedgeconfigtoken.js +19 -0
  189. package/esm/models/operations/createedgeconfigtoken.js.map +1 -1
  190. package/esm/models/operations/createevent.d.ts +187 -0
  191. package/esm/models/operations/createevent.d.ts.map +1 -0
  192. package/esm/models/operations/createevent.js +195 -0
  193. package/esm/models/operations/createevent.js.map +1 -0
  194. package/esm/models/operations/createlogdrain.d.ts +8 -0
  195. package/esm/models/operations/createlogdrain.d.ts.map +1 -1
  196. package/esm/models/operations/createlogdrain.js +19 -0
  197. package/esm/models/operations/createlogdrain.js.map +1 -1
  198. package/esm/models/operations/createortransferdomain.d.ts +18 -0
  199. package/esm/models/operations/createortransferdomain.d.ts.map +1 -1
  200. package/esm/models/operations/createortransferdomain.js +49 -0
  201. package/esm/models/operations/createortransferdomain.js.map +1 -1
  202. package/esm/models/operations/createproject.d.ts +194 -46
  203. package/esm/models/operations/createproject.d.ts.map +1 -1
  204. package/esm/models/operations/createproject.js +522 -26
  205. package/esm/models/operations/createproject.js.map +1 -1
  206. package/esm/models/operations/createprojectenv.d.ts +112 -6
  207. package/esm/models/operations/createprojectenv.d.ts.map +1 -1
  208. package/esm/models/operations/createprojectenv.js +315 -2
  209. package/esm/models/operations/createprojectenv.js.map +1 -1
  210. package/esm/models/operations/createrecord.d.ts +36 -0
  211. package/esm/models/operations/createrecord.d.ts.map +1 -1
  212. package/esm/models/operations/createrecord.js +103 -0
  213. package/esm/models/operations/createrecord.js.map +1 -1
  214. package/esm/models/operations/createteam.d.ts +25 -13
  215. package/esm/models/operations/createteam.d.ts.map +1 -1
  216. package/esm/models/operations/createteam.js +42 -11
  217. package/esm/models/operations/createteam.js.map +1 -1
  218. package/esm/models/operations/createwebhook.d.ts +8 -0
  219. package/esm/models/operations/createwebhook.d.ts.map +1 -1
  220. package/esm/models/operations/createwebhook.js +19 -0
  221. package/esm/models/operations/createwebhook.js.map +1 -1
  222. package/esm/models/operations/deleteaccessgroup.d.ts +4 -0
  223. package/esm/models/operations/deleteaccessgroup.d.ts.map +1 -1
  224. package/esm/models/operations/deleteaccessgroup.js +7 -0
  225. package/esm/models/operations/deleteaccessgroup.js.map +1 -1
  226. package/esm/models/operations/deleteaccessgroupproject.d.ts +41 -0
  227. package/esm/models/operations/deleteaccessgroupproject.d.ts.map +1 -0
  228. package/esm/models/operations/deleteaccessgroupproject.js +37 -0
  229. package/esm/models/operations/deleteaccessgroupproject.js.map +1 -0
  230. package/esm/models/operations/deletealias.d.ts +6 -0
  231. package/esm/models/operations/deletealias.d.ts.map +1 -1
  232. package/esm/models/operations/deletealias.js +13 -0
  233. package/esm/models/operations/deletealias.js.map +1 -1
  234. package/esm/models/operations/deleteauthtoken.d.ts +6 -0
  235. package/esm/models/operations/deleteauthtoken.d.ts.map +1 -1
  236. package/esm/models/operations/deleteauthtoken.js +13 -0
  237. package/esm/models/operations/deleteauthtoken.js.map +1 -1
  238. package/esm/models/operations/deleteconfigurablelogdrain.d.ts +4 -0
  239. package/esm/models/operations/deleteconfigurablelogdrain.d.ts.map +1 -1
  240. package/esm/models/operations/deleteconfigurablelogdrain.js +7 -0
  241. package/esm/models/operations/deleteconfigurablelogdrain.js.map +1 -1
  242. package/esm/models/operations/deleteconfiguration.d.ts +4 -0
  243. package/esm/models/operations/deleteconfiguration.d.ts.map +1 -1
  244. package/esm/models/operations/deleteconfiguration.js +7 -0
  245. package/esm/models/operations/deleteconfiguration.js.map +1 -1
  246. package/esm/models/operations/deletedeployment.d.ts +14 -8
  247. package/esm/models/operations/deletedeployment.d.ts.map +1 -1
  248. package/esm/models/operations/deletedeployment.js +25 -12
  249. package/esm/models/operations/deletedeployment.js.map +1 -1
  250. package/esm/models/operations/deletedomain.d.ts +6 -0
  251. package/esm/models/operations/deletedomain.d.ts.map +1 -1
  252. package/esm/models/operations/deletedomain.js +13 -0
  253. package/esm/models/operations/deletedomain.js.map +1 -1
  254. package/esm/models/operations/deleteedgeconfig.d.ts +4 -0
  255. package/esm/models/operations/deleteedgeconfig.d.ts.map +1 -1
  256. package/esm/models/operations/deleteedgeconfig.js +7 -0
  257. package/esm/models/operations/deleteedgeconfig.js.map +1 -1
  258. package/esm/models/operations/deleteedgeconfigschema.d.ts +4 -0
  259. package/esm/models/operations/deleteedgeconfigschema.d.ts.map +1 -1
  260. package/esm/models/operations/deleteedgeconfigschema.js +7 -0
  261. package/esm/models/operations/deleteedgeconfigschema.js.map +1 -1
  262. package/esm/models/operations/deleteedgeconfigtokens.d.ts +6 -0
  263. package/esm/models/operations/deleteedgeconfigtokens.d.ts.map +1 -1
  264. package/esm/models/operations/deleteedgeconfigtokens.js +13 -0
  265. package/esm/models/operations/deleteedgeconfigtokens.js.map +1 -1
  266. package/esm/models/operations/deleteintegrationlogdrain.d.ts +4 -0
  267. package/esm/models/operations/deleteintegrationlogdrain.d.ts.map +1 -1
  268. package/esm/models/operations/deleteintegrationlogdrain.js +7 -0
  269. package/esm/models/operations/deleteintegrationlogdrain.js.map +1 -1
  270. package/esm/models/operations/deleteproject.d.ts +4 -0
  271. package/esm/models/operations/deleteproject.d.ts.map +1 -1
  272. package/esm/models/operations/deleteproject.js +7 -0
  273. package/esm/models/operations/deleteproject.js.map +1 -1
  274. package/esm/models/operations/deleteteam.d.ts +10 -0
  275. package/esm/models/operations/deleteteam.d.ts.map +1 -1
  276. package/esm/models/operations/deleteteam.js +25 -0
  277. package/esm/models/operations/deleteteam.js.map +1 -1
  278. package/esm/models/operations/deleteteaminvitecode.d.ts +6 -0
  279. package/esm/models/operations/deleteteaminvitecode.d.ts.map +1 -1
  280. package/esm/models/operations/deleteteaminvitecode.js +13 -0
  281. package/esm/models/operations/deleteteaminvitecode.js.map +1 -1
  282. package/esm/models/operations/deletewebhook.d.ts +4 -0
  283. package/esm/models/operations/deletewebhook.d.ts.map +1 -1
  284. package/esm/models/operations/deletewebhook.js +7 -0
  285. package/esm/models/operations/deletewebhook.js.map +1 -1
  286. package/esm/models/operations/downloadartifact.d.ts +4 -0
  287. package/esm/models/operations/downloadartifact.d.ts.map +1 -1
  288. package/esm/models/operations/downloadartifact.js +7 -0
  289. package/esm/models/operations/downloadartifact.js.map +1 -1
  290. package/esm/models/operations/editprojectenv.d.ts +51 -3
  291. package/esm/models/operations/editprojectenv.d.ts.map +1 -1
  292. package/esm/models/operations/editprojectenv.js +140 -1
  293. package/esm/models/operations/editprojectenv.js.map +1 -1
  294. package/esm/models/operations/exchangessotoken.d.ts +81 -0
  295. package/esm/models/operations/exchangessotoken.d.ts.map +1 -0
  296. package/esm/models/operations/exchangessotoken.js +93 -0
  297. package/esm/models/operations/exchangessotoken.js.map +1 -0
  298. package/esm/models/operations/filterprojectenvs.d.ts +124 -0
  299. package/esm/models/operations/filterprojectenvs.d.ts.map +1 -1
  300. package/esm/models/operations/filterprojectenvs.js +369 -0
  301. package/esm/models/operations/filterprojectenvs.js.map +1 -1
  302. package/esm/models/operations/getaccountinfo.d.ts +85 -0
  303. package/esm/models/operations/getaccountinfo.d.ts.map +1 -0
  304. package/esm/models/operations/getaccountinfo.js +87 -0
  305. package/esm/models/operations/getaccountinfo.js.map +1 -0
  306. package/esm/models/operations/getalias.d.ts +20 -0
  307. package/esm/models/operations/getalias.d.ts.map +1 -1
  308. package/esm/models/operations/getalias.js +55 -0
  309. package/esm/models/operations/getalias.js.map +1 -1
  310. package/esm/models/operations/getallchecks.d.ts +22 -0
  311. package/esm/models/operations/getallchecks.d.ts.map +1 -1
  312. package/esm/models/operations/getallchecks.js +61 -0
  313. package/esm/models/operations/getallchecks.js.map +1 -1
  314. package/esm/models/operations/getalllogdrains.d.ts +6 -0
  315. package/esm/models/operations/getalllogdrains.d.ts.map +1 -1
  316. package/esm/models/operations/getalllogdrains.js +13 -0
  317. package/esm/models/operations/getalllogdrains.js.map +1 -1
  318. package/esm/models/operations/getauthtoken.d.ts +6 -0
  319. package/esm/models/operations/getauthtoken.d.ts.map +1 -1
  320. package/esm/models/operations/getauthtoken.js +13 -0
  321. package/esm/models/operations/getauthtoken.js.map +1 -1
  322. package/esm/models/operations/getauthuser.d.ts +6 -0
  323. package/esm/models/operations/getauthuser.d.ts.map +1 -1
  324. package/esm/models/operations/getauthuser.js +13 -0
  325. package/esm/models/operations/getauthuser.js.map +1 -1
  326. package/esm/models/operations/getcertbyid.d.ts +6 -0
  327. package/esm/models/operations/getcertbyid.d.ts.map +1 -1
  328. package/esm/models/operations/getcertbyid.js +13 -0
  329. package/esm/models/operations/getcertbyid.js.map +1 -1
  330. package/esm/models/operations/getcheck.d.ts +20 -0
  331. package/esm/models/operations/getcheck.d.ts.map +1 -1
  332. package/esm/models/operations/getcheck.js +55 -0
  333. package/esm/models/operations/getcheck.js.map +1 -1
  334. package/esm/models/operations/getconfigurablelogdrain.d.ts +6 -0
  335. package/esm/models/operations/getconfigurablelogdrain.d.ts.map +1 -1
  336. package/esm/models/operations/getconfigurablelogdrain.js +13 -0
  337. package/esm/models/operations/getconfigurablelogdrain.js.map +1 -1
  338. package/esm/models/operations/getconfiguration.d.ts +18 -0
  339. package/esm/models/operations/getconfiguration.d.ts.map +1 -1
  340. package/esm/models/operations/getconfiguration.js +49 -0
  341. package/esm/models/operations/getconfiguration.js.map +1 -1
  342. package/esm/models/operations/getconfigurations.d.ts +28 -0
  343. package/esm/models/operations/getconfigurations.d.ts.map +1 -1
  344. package/esm/models/operations/getconfigurations.js +79 -0
  345. package/esm/models/operations/getconfigurations.js.map +1 -1
  346. package/esm/models/operations/getdeployment.d.ts +315 -0
  347. package/esm/models/operations/getdeployment.d.ts.map +1 -1
  348. package/esm/models/operations/getdeployment.js +601 -0
  349. package/esm/models/operations/getdeployment.js.map +1 -1
  350. package/esm/models/operations/getdeploymentevents.d.ts +6 -0
  351. package/esm/models/operations/getdeploymentevents.d.ts.map +1 -1
  352. package/esm/models/operations/getdeploymentevents.js +13 -0
  353. package/esm/models/operations/getdeploymentevents.js.map +1 -1
  354. package/esm/models/operations/getdeploymentfilecontents.d.ts +4 -0
  355. package/esm/models/operations/getdeploymentfilecontents.d.ts.map +1 -1
  356. package/esm/models/operations/getdeploymentfilecontents.js +7 -0
  357. package/esm/models/operations/getdeploymentfilecontents.js.map +1 -1
  358. package/esm/models/operations/getdeployments.d.ts +27 -0
  359. package/esm/models/operations/getdeployments.d.ts.map +1 -1
  360. package/esm/models/operations/getdeployments.js +68 -0
  361. package/esm/models/operations/getdeployments.js.map +1 -1
  362. package/esm/models/operations/getdomain.d.ts +10 -0
  363. package/esm/models/operations/getdomain.d.ts.map +1 -1
  364. package/esm/models/operations/getdomain.js +25 -0
  365. package/esm/models/operations/getdomain.js.map +1 -1
  366. package/esm/models/operations/getdomainconfig.d.ts +6 -0
  367. package/esm/models/operations/getdomainconfig.d.ts.map +1 -1
  368. package/esm/models/operations/getdomainconfig.js +13 -0
  369. package/esm/models/operations/getdomainconfig.js.map +1 -1
  370. package/esm/models/operations/getdomains.d.ts +10 -0
  371. package/esm/models/operations/getdomains.d.ts.map +1 -1
  372. package/esm/models/operations/getdomains.js +25 -0
  373. package/esm/models/operations/getdomains.js.map +1 -1
  374. package/esm/models/operations/getdomaintransfer.d.ts +6 -0
  375. package/esm/models/operations/getdomaintransfer.d.ts.map +1 -1
  376. package/esm/models/operations/getdomaintransfer.js +13 -0
  377. package/esm/models/operations/getdomaintransfer.js.map +1 -1
  378. package/esm/models/operations/getedgeconfig.d.ts +12 -0
  379. package/esm/models/operations/getedgeconfig.d.ts.map +1 -1
  380. package/esm/models/operations/getedgeconfig.js +31 -0
  381. package/esm/models/operations/getedgeconfig.js.map +1 -1
  382. package/esm/models/operations/getedgeconfigbackup.d.ts +26 -0
  383. package/esm/models/operations/getedgeconfigbackup.d.ts.map +1 -1
  384. package/esm/models/operations/getedgeconfigbackup.js +73 -0
  385. package/esm/models/operations/getedgeconfigbackup.js.map +1 -1
  386. package/esm/models/operations/getedgeconfigbackups.d.ts +12 -0
  387. package/esm/models/operations/getedgeconfigbackups.d.ts.map +1 -1
  388. package/esm/models/operations/getedgeconfigbackups.js +31 -0
  389. package/esm/models/operations/getedgeconfigbackups.js.map +1 -1
  390. package/esm/models/operations/getedgeconfigitem.d.ts +4 -0
  391. package/esm/models/operations/getedgeconfigitem.d.ts.map +1 -1
  392. package/esm/models/operations/getedgeconfigitem.js +7 -0
  393. package/esm/models/operations/getedgeconfigitem.js.map +1 -1
  394. package/esm/models/operations/getedgeconfigitems.d.ts +4 -0
  395. package/esm/models/operations/getedgeconfigitems.d.ts.map +1 -1
  396. package/esm/models/operations/getedgeconfigitems.js +7 -0
  397. package/esm/models/operations/getedgeconfigitems.js.map +1 -1
  398. package/esm/models/operations/getedgeconfigs.d.ts +12 -0
  399. package/esm/models/operations/getedgeconfigs.d.ts.map +1 -1
  400. package/esm/models/operations/getedgeconfigs.js +31 -0
  401. package/esm/models/operations/getedgeconfigs.js.map +1 -1
  402. package/esm/models/operations/getedgeconfigschema.d.ts +6 -0
  403. package/esm/models/operations/getedgeconfigschema.d.ts.map +1 -1
  404. package/esm/models/operations/getedgeconfigschema.js +13 -0
  405. package/esm/models/operations/getedgeconfigschema.js.map +1 -1
  406. package/esm/models/operations/getedgeconfigtoken.d.ts +4 -0
  407. package/esm/models/operations/getedgeconfigtoken.d.ts.map +1 -1
  408. package/esm/models/operations/getedgeconfigtoken.js +7 -0
  409. package/esm/models/operations/getedgeconfigtoken.js.map +1 -1
  410. package/esm/models/operations/getedgeconfigtokens.d.ts +4 -0
  411. package/esm/models/operations/getedgeconfigtokens.d.ts.map +1 -1
  412. package/esm/models/operations/getedgeconfigtokens.js +7 -0
  413. package/esm/models/operations/getedgeconfigtokens.js.map +1 -1
  414. package/esm/models/operations/getfirewallconfig.d.ts +56 -0
  415. package/esm/models/operations/getfirewallconfig.d.ts.map +1 -1
  416. package/esm/models/operations/getfirewallconfig.js +163 -0
  417. package/esm/models/operations/getfirewallconfig.js.map +1 -1
  418. package/esm/models/operations/getintegrationlogdrains.d.ts +6 -0
  419. package/esm/models/operations/getintegrationlogdrains.d.ts.map +1 -1
  420. package/esm/models/operations/getintegrationlogdrains.js +13 -0
  421. package/esm/models/operations/getintegrationlogdrains.js.map +1 -1
  422. package/esm/models/operations/getinvoice.d.ts +232 -0
  423. package/esm/models/operations/getinvoice.d.ts.map +1 -0
  424. package/esm/models/operations/getinvoice.js +219 -0
  425. package/esm/models/operations/getinvoice.js.map +1 -0
  426. package/esm/models/operations/getmember.d.ts +84 -0
  427. package/esm/models/operations/getmember.d.ts.map +1 -0
  428. package/esm/models/operations/getmember.js +79 -0
  429. package/esm/models/operations/getmember.js.map +1 -0
  430. package/esm/models/operations/getprojectdomain.d.ts +8 -0
  431. package/esm/models/operations/getprojectdomain.d.ts.map +1 -1
  432. package/esm/models/operations/getprojectdomain.js +19 -0
  433. package/esm/models/operations/getprojectdomain.js.map +1 -1
  434. package/esm/models/operations/getprojectdomains.d.ts +367 -0
  435. package/esm/models/operations/getprojectdomains.d.ts.map +1 -0
  436. package/esm/models/operations/getprojectdomains.js +272 -0
  437. package/esm/models/operations/getprojectdomains.js.map +1 -0
  438. package/esm/models/operations/getprojectenv.d.ts +120 -0
  439. package/esm/models/operations/getprojectenv.d.ts.map +1 -1
  440. package/esm/models/operations/getprojectenv.js +357 -0
  441. package/esm/models/operations/getprojectenv.js.map +1 -1
  442. package/esm/models/operations/getprojectmembers.d.ts +14 -0
  443. package/esm/models/operations/getprojectmembers.d.ts.map +1 -1
  444. package/esm/models/operations/getprojectmembers.js +37 -0
  445. package/esm/models/operations/getprojectmembers.js.map +1 -1
  446. package/esm/models/operations/getprojects.d.ts +177 -37
  447. package/esm/models/operations/getprojects.d.ts.map +1 -1
  448. package/esm/models/operations/getprojects.js +495 -23
  449. package/esm/models/operations/getprojects.js.map +1 -1
  450. package/esm/models/operations/getrecords.d.ts +14 -0
  451. package/esm/models/operations/getrecords.d.ts.map +1 -1
  452. package/esm/models/operations/getrecords.js +37 -0
  453. package/esm/models/operations/getrecords.js.map +1 -1
  454. package/esm/models/operations/getteam.d.ts +4 -0
  455. package/esm/models/operations/getteam.d.ts.map +1 -1
  456. package/esm/models/operations/getteam.js +7 -0
  457. package/esm/models/operations/getteam.js.map +1 -1
  458. package/esm/models/operations/getteamaccessrequest.d.ts +16 -0
  459. package/esm/models/operations/getteamaccessrequest.d.ts.map +1 -1
  460. package/esm/models/operations/getteamaccessrequest.js +43 -0
  461. package/esm/models/operations/getteamaccessrequest.js.map +1 -1
  462. package/esm/models/operations/getteammembers.d.ts +24 -0
  463. package/esm/models/operations/getteammembers.d.ts.map +1 -1
  464. package/esm/models/operations/getteammembers.js +67 -0
  465. package/esm/models/operations/getteammembers.js.map +1 -1
  466. package/esm/models/operations/getteams.d.ts +8 -0
  467. package/esm/models/operations/getteams.d.ts.map +1 -1
  468. package/esm/models/operations/getteams.js +19 -0
  469. package/esm/models/operations/getteams.js.map +1 -1
  470. package/esm/models/operations/getwebhook.d.ts +6 -0
  471. package/esm/models/operations/getwebhook.d.ts.map +1 -1
  472. package/esm/models/operations/getwebhook.js +13 -0
  473. package/esm/models/operations/getwebhook.js.map +1 -1
  474. package/esm/models/operations/getwebhooks.d.ts +12 -0
  475. package/esm/models/operations/getwebhooks.d.ts.map +1 -1
  476. package/esm/models/operations/getwebhooks.js +31 -0
  477. package/esm/models/operations/getwebhooks.js.map +1 -1
  478. package/esm/models/operations/gitnamespaces.d.ts +8 -0
  479. package/esm/models/operations/gitnamespaces.d.ts.map +1 -1
  480. package/esm/models/operations/gitnamespaces.js +19 -0
  481. package/esm/models/operations/gitnamespaces.js.map +1 -1
  482. package/esm/models/operations/inviteusertoteam.d.ts +14 -0
  483. package/esm/models/operations/inviteusertoteam.d.ts.map +1 -1
  484. package/esm/models/operations/inviteusertoteam.js +37 -0
  485. package/esm/models/operations/inviteusertoteam.js.map +1 -1
  486. package/esm/models/operations/issuecert.d.ts +8 -0
  487. package/esm/models/operations/issuecert.d.ts.map +1 -1
  488. package/esm/models/operations/issuecert.js +19 -0
  489. package/esm/models/operations/issuecert.js.map +1 -1
  490. package/esm/models/operations/jointeam.d.ts +8 -0
  491. package/esm/models/operations/jointeam.d.ts.map +1 -1
  492. package/esm/models/operations/jointeam.js +19 -0
  493. package/esm/models/operations/jointeam.js.map +1 -1
  494. package/esm/models/operations/listaccessgroupmembers.d.ts +10 -0
  495. package/esm/models/operations/listaccessgroupmembers.d.ts.map +1 -1
  496. package/esm/models/operations/listaccessgroupmembers.js +25 -0
  497. package/esm/models/operations/listaccessgroupmembers.js.map +1 -1
  498. package/esm/models/operations/listaccessgroupprojects.d.ts +12 -0
  499. package/esm/models/operations/listaccessgroupprojects.d.ts.map +1 -1
  500. package/esm/models/operations/listaccessgroupprojects.js +31 -0
  501. package/esm/models/operations/listaccessgroupprojects.js.map +1 -1
  502. package/esm/models/operations/listaccessgroups.d.ts +14 -0
  503. package/esm/models/operations/listaccessgroups.d.ts.map +1 -1
  504. package/esm/models/operations/listaccessgroups.js +37 -0
  505. package/esm/models/operations/listaccessgroups.js.map +1 -1
  506. package/esm/models/operations/listaliases.d.ts +24 -0
  507. package/esm/models/operations/listaliases.d.ts.map +1 -1
  508. package/esm/models/operations/listaliases.js +67 -0
  509. package/esm/models/operations/listaliases.js.map +1 -1
  510. package/esm/models/operations/listauthtokens.d.ts +4 -0
  511. package/esm/models/operations/listauthtokens.d.ts.map +1 -1
  512. package/esm/models/operations/listauthtokens.js +7 -0
  513. package/esm/models/operations/listauthtokens.js.map +1 -1
  514. package/esm/models/operations/listdeploymentaliases.d.ts +18 -0
  515. package/esm/models/operations/listdeploymentaliases.d.ts.map +1 -1
  516. package/esm/models/operations/listdeploymentaliases.js +49 -0
  517. package/esm/models/operations/listdeploymentaliases.js.map +1 -1
  518. package/esm/models/operations/listdeploymentfiles.d.ts +4 -0
  519. package/esm/models/operations/listdeploymentfiles.d.ts.map +1 -1
  520. package/esm/models/operations/listdeploymentfiles.js +7 -0
  521. package/esm/models/operations/listdeploymentfiles.js.map +1 -1
  522. package/esm/models/operations/listpromotealiases.d.ts +12 -0
  523. package/esm/models/operations/listpromotealiases.d.ts.map +1 -1
  524. package/esm/models/operations/listpromotealiases.js +31 -0
  525. package/esm/models/operations/listpromotealiases.js.map +1 -1
  526. package/esm/models/operations/listuserevents.d.ts +6 -0
  527. package/esm/models/operations/listuserevents.d.ts.map +1 -1
  528. package/esm/models/operations/listuserevents.js +13 -0
  529. package/esm/models/operations/listuserevents.js.map +1 -1
  530. package/esm/models/operations/patchdomain.d.ts +18 -0
  531. package/esm/models/operations/patchdomain.d.ts.map +1 -1
  532. package/esm/models/operations/patchdomain.js +49 -0
  533. package/esm/models/operations/patchdomain.js.map +1 -1
  534. package/esm/models/operations/patchedgeconfigschema.d.ts +8 -0
  535. package/esm/models/operations/patchedgeconfigschema.d.ts.map +1 -1
  536. package/esm/models/operations/patchedgeconfigschema.js +19 -0
  537. package/esm/models/operations/patchedgeconfigschema.js.map +1 -1
  538. package/esm/models/operations/patchteam.d.ts +14 -0
  539. package/esm/models/operations/patchteam.d.ts.map +1 -1
  540. package/esm/models/operations/patchteam.js +37 -0
  541. package/esm/models/operations/patchteam.js.map +1 -1
  542. package/esm/models/operations/putfirewallconfig.d.ts +156 -44
  543. package/esm/models/operations/putfirewallconfig.d.ts.map +1 -1
  544. package/esm/models/operations/putfirewallconfig.js +403 -72
  545. package/esm/models/operations/putfirewallconfig.js.map +1 -1
  546. package/esm/models/operations/readaccessgroup.d.ts +6 -0
  547. package/esm/models/operations/readaccessgroup.d.ts.map +1 -1
  548. package/esm/models/operations/readaccessgroup.js +13 -0
  549. package/esm/models/operations/readaccessgroup.js.map +1 -1
  550. package/esm/models/operations/readaccessgroupproject.d.ts +105 -0
  551. package/esm/models/operations/readaccessgroupproject.d.ts.map +1 -0
  552. package/esm/models/operations/readaccessgroupproject.js +92 -0
  553. package/esm/models/operations/readaccessgroupproject.js.map +1 -0
  554. package/esm/models/operations/recordevents.d.ts +6 -0
  555. package/esm/models/operations/recordevents.d.ts.map +1 -1
  556. package/esm/models/operations/recordevents.js +13 -0
  557. package/esm/models/operations/recordevents.js.map +1 -1
  558. package/esm/models/operations/removecert.d.ts +6 -0
  559. package/esm/models/operations/removecert.d.ts.map +1 -1
  560. package/esm/models/operations/removecert.js +13 -0
  561. package/esm/models/operations/removecert.js.map +1 -1
  562. package/esm/models/operations/removeprojectdomain.d.ts +6 -0
  563. package/esm/models/operations/removeprojectdomain.d.ts.map +1 -1
  564. package/esm/models/operations/removeprojectdomain.js +13 -0
  565. package/esm/models/operations/removeprojectdomain.js.map +1 -1
  566. package/esm/models/operations/removeprojectenv.d.ts +129 -9
  567. package/esm/models/operations/removeprojectenv.d.ts.map +1 -1
  568. package/esm/models/operations/removeprojectenv.js +364 -3
  569. package/esm/models/operations/removeprojectenv.js.map +1 -1
  570. package/esm/models/operations/removeprojectmember.d.ts +6 -0
  571. package/esm/models/operations/removeprojectmember.d.ts.map +1 -1
  572. package/esm/models/operations/removeprojectmember.js +13 -0
  573. package/esm/models/operations/removeprojectmember.js.map +1 -1
  574. package/esm/models/operations/removerecord.d.ts +6 -0
  575. package/esm/models/operations/removerecord.d.ts.map +1 -1
  576. package/esm/models/operations/removerecord.js +13 -0
  577. package/esm/models/operations/removerecord.js.map +1 -1
  578. package/esm/models/operations/removeteammember.d.ts +6 -0
  579. package/esm/models/operations/removeteammember.d.ts.map +1 -1
  580. package/esm/models/operations/removeteammember.js +13 -0
  581. package/esm/models/operations/removeteammember.js.map +1 -1
  582. package/esm/models/operations/requestaccesstoteam.d.ts +22 -0
  583. package/esm/models/operations/requestaccesstoteam.d.ts.map +1 -1
  584. package/esm/models/operations/requestaccesstoteam.js +61 -0
  585. package/esm/models/operations/requestaccesstoteam.js.map +1 -1
  586. package/esm/models/operations/requestdelete.d.ts +8 -0
  587. package/esm/models/operations/requestdelete.d.ts.map +1 -1
  588. package/esm/models/operations/requestdelete.js +19 -0
  589. package/esm/models/operations/requestdelete.js.map +1 -1
  590. package/esm/models/operations/requestpromote.d.ts +4 -0
  591. package/esm/models/operations/requestpromote.d.ts.map +1 -1
  592. package/esm/models/operations/requestpromote.js +7 -0
  593. package/esm/models/operations/requestpromote.js.map +1 -1
  594. package/esm/models/operations/rerequestcheck.d.ts +6 -0
  595. package/esm/models/operations/rerequestcheck.d.ts.map +1 -1
  596. package/esm/models/operations/rerequestcheck.js +13 -0
  597. package/esm/models/operations/rerequestcheck.js.map +1 -1
  598. package/esm/models/operations/searchrepo.d.ts +24 -0
  599. package/esm/models/operations/searchrepo.d.ts.map +1 -1
  600. package/esm/models/operations/searchrepo.js +67 -0
  601. package/esm/models/operations/searchrepo.js.map +1 -1
  602. package/esm/models/operations/status.d.ts +6 -0
  603. package/esm/models/operations/status.d.ts.map +1 -1
  604. package/esm/models/operations/status.js +13 -0
  605. package/esm/models/operations/status.js.map +1 -1
  606. package/esm/models/operations/submitbillingdata.d.ts +448 -0
  607. package/esm/models/operations/submitbillingdata.d.ts.map +1 -0
  608. package/esm/models/operations/submitbillingdata.js +355 -0
  609. package/esm/models/operations/submitbillingdata.js.map +1 -0
  610. package/esm/models/operations/submitinvoice.d.ts +299 -0
  611. package/esm/models/operations/submitinvoice.d.ts.map +1 -0
  612. package/esm/models/operations/submitinvoice.js +269 -0
  613. package/esm/models/operations/submitinvoice.js.map +1 -0
  614. package/esm/models/operations/updateaccessgroup.d.ts +10 -0
  615. package/esm/models/operations/updateaccessgroup.d.ts.map +1 -1
  616. package/esm/models/operations/updateaccessgroup.js +25 -0
  617. package/esm/models/operations/updateaccessgroup.js.map +1 -1
  618. package/esm/models/operations/updateaccessgroupproject.d.ts +169 -0
  619. package/esm/models/operations/updateaccessgroupproject.d.ts.map +1 -0
  620. package/esm/models/operations/updateaccessgroupproject.js +154 -0
  621. package/esm/models/operations/updateaccessgroupproject.js.map +1 -0
  622. package/esm/models/operations/updateattackchallengemode.d.ts +8 -0
  623. package/esm/models/operations/updateattackchallengemode.d.ts.map +1 -1
  624. package/esm/models/operations/updateattackchallengemode.js +19 -0
  625. package/esm/models/operations/updateattackchallengemode.js.map +1 -1
  626. package/esm/models/operations/updatecheck.d.ts +36 -0
  627. package/esm/models/operations/updatecheck.d.ts.map +1 -1
  628. package/esm/models/operations/updatecheck.js +103 -0
  629. package/esm/models/operations/updatecheck.js.map +1 -1
  630. package/esm/models/operations/updateedgeconfig.d.ts +14 -0
  631. package/esm/models/operations/updateedgeconfig.d.ts.map +1 -1
  632. package/esm/models/operations/updateedgeconfig.js +37 -0
  633. package/esm/models/operations/updateedgeconfig.js.map +1 -1
  634. package/esm/models/operations/updatefirewallconfig.d.ts +82 -0
  635. package/esm/models/operations/updatefirewallconfig.d.ts.map +1 -1
  636. package/esm/models/operations/updatefirewallconfig.js +241 -0
  637. package/esm/models/operations/updatefirewallconfig.js.map +1 -1
  638. package/esm/models/operations/updateinvoice.d.ts +91 -0
  639. package/esm/models/operations/updateinvoice.d.ts.map +1 -0
  640. package/esm/models/operations/updateinvoice.js +92 -0
  641. package/esm/models/operations/updateinvoice.js.map +1 -0
  642. package/esm/models/operations/updateproject.d.ts +200 -46
  643. package/esm/models/operations/updateproject.d.ts.map +1 -1
  644. package/esm/models/operations/updateproject.js +540 -26
  645. package/esm/models/operations/updateproject.js.map +1 -1
  646. package/esm/models/operations/updateprojectdatacache.d.ts +177 -37
  647. package/esm/models/operations/updateprojectdatacache.d.ts.map +1 -1
  648. package/esm/models/operations/updateprojectdatacache.js +495 -24
  649. package/esm/models/operations/updateprojectdatacache.js.map +1 -1
  650. package/esm/models/operations/updateprojectdomain.d.ts +10 -0
  651. package/esm/models/operations/updateprojectdomain.d.ts.map +1 -1
  652. package/esm/models/operations/updateprojectdomain.js +25 -0
  653. package/esm/models/operations/updateprojectdomain.js.map +1 -1
  654. package/esm/models/operations/updateprojectprotectionbypass.d.ts +14 -0
  655. package/esm/models/operations/updateprojectprotectionbypass.d.ts.map +1 -1
  656. package/esm/models/operations/updateprojectprotectionbypass.js +37 -0
  657. package/esm/models/operations/updateprojectprotectionbypass.js.map +1 -1
  658. package/esm/models/operations/updaterecord.d.ts +12 -0
  659. package/esm/models/operations/updaterecord.d.ts.map +1 -1
  660. package/esm/models/operations/updaterecord.js +31 -0
  661. package/esm/models/operations/updaterecord.js.map +1 -1
  662. package/esm/models/operations/updateresourcesecrets.d.ts +87 -0
  663. package/esm/models/operations/updateresourcesecrets.d.ts.map +1 -0
  664. package/esm/models/operations/updateresourcesecrets.js +100 -0
  665. package/esm/models/operations/updateresourcesecrets.js.map +1 -0
  666. package/esm/models/operations/updateteammember.d.ts +12 -0
  667. package/esm/models/operations/updateteammember.d.ts.map +1 -1
  668. package/esm/models/operations/updateteammember.js +31 -0
  669. package/esm/models/operations/updateteammember.js.map +1 -1
  670. package/esm/models/operations/uploadartifact.d.ts +6 -0
  671. package/esm/models/operations/uploadartifact.d.ts.map +1 -1
  672. package/esm/models/operations/uploadartifact.js +13 -0
  673. package/esm/models/operations/uploadartifact.js.map +1 -1
  674. package/esm/models/operations/uploadcert.d.ts +8 -0
  675. package/esm/models/operations/uploadcert.d.ts.map +1 -1
  676. package/esm/models/operations/uploadcert.js +19 -0
  677. package/esm/models/operations/uploadcert.js.map +1 -1
  678. package/esm/models/operations/uploadfile.d.ts +10 -0
  679. package/esm/models/operations/uploadfile.d.ts.map +1 -1
  680. package/esm/models/operations/uploadfile.js +25 -0
  681. package/esm/models/operations/uploadfile.js.map +1 -1
  682. package/esm/models/operations/verifyprojectdomain.d.ts +8 -0
  683. package/esm/models/operations/verifyprojectdomain.d.ts.map +1 -1
  684. package/esm/models/operations/verifyprojectdomain.js +19 -0
  685. package/esm/models/operations/verifyprojectdomain.js.map +1 -1
  686. package/esm/sdk/accessgroups.d.ts +32 -0
  687. package/esm/sdk/accessgroups.d.ts.map +1 -1
  688. package/esm/sdk/accessgroups.js +40 -0
  689. package/esm/sdk/accessgroups.js.map +1 -1
  690. package/esm/sdk/authentication.d.ts +8 -0
  691. package/esm/sdk/authentication.d.ts.map +1 -1
  692. package/esm/sdk/authentication.js +10 -0
  693. package/esm/sdk/authentication.js.map +1 -1
  694. package/esm/sdk/marketplace.d.ts +76 -0
  695. package/esm/sdk/marketplace.d.ts.map +1 -0
  696. package/esm/sdk/marketplace.js +98 -0
  697. package/esm/sdk/marketplace.js.map +1 -0
  698. package/esm/sdk/projects.d.ts +8 -16
  699. package/esm/sdk/projects.d.ts.map +1 -1
  700. package/esm/sdk/projects.js +10 -20
  701. package/esm/sdk/projects.js.map +1 -1
  702. package/esm/sdk/sdk.d.ts +5 -2
  703. package/esm/sdk/sdk.d.ts.map +1 -1
  704. package/esm/sdk/sdk.js +9 -4
  705. package/esm/sdk/sdk.js.map +1 -1
  706. package/package.json +2 -2
  707. package/src/funcs/accessGroupsCreateAccessGroupProject.ts +144 -0
  708. package/src/funcs/{projectsPauseProject.ts → accessGroupsDeleteAccessGroupProject.ts} +20 -13
  709. package/src/funcs/{projectsUnpauseProject.ts → accessGroupsReadAccessGroupProject.ts} +26 -18
  710. package/src/funcs/accessGroupsUpdateAccessGroupProject.ts +148 -0
  711. package/src/funcs/authenticationExchangeSsoToken.ts +125 -0
  712. package/src/funcs/marketplaceCreateEvent.ts +137 -0
  713. package/src/funcs/marketplaceExchangeSsoToken.ts +125 -0
  714. package/src/funcs/marketplaceGetAccountInfo.ts +137 -0
  715. package/src/funcs/marketplaceGetInvoice.ts +141 -0
  716. package/src/funcs/marketplaceGetMember.ts +141 -0
  717. package/src/funcs/marketplaceSubmitBillingData.ts +137 -0
  718. package/src/funcs/marketplaceSubmitInvoice.ts +138 -0
  719. package/src/funcs/marketplaceUpdateInvoice.ts +141 -0
  720. package/src/funcs/marketplaceUpdateResourceSecrets.ts +146 -0
  721. package/src/funcs/projectsGetProjectDomains.ts +150 -0
  722. package/src/lib/config.ts +3 -3
  723. package/src/lib/matchers.ts +1 -1
  724. package/src/models/components/authtoken.ts +59 -0
  725. package/src/models/components/authuser.ts +313 -1
  726. package/src/models/components/authuserlimited.ts +19 -0
  727. package/src/models/components/edgeconfigitem.ts +17 -0
  728. package/src/models/components/edgeconfigitemvalue.ts +21 -0
  729. package/src/models/components/edgeconfigtoken.ts +19 -0
  730. package/src/models/components/filetree.ts +17 -0
  731. package/src/models/components/flagjsonvalue.ts +17 -0
  732. package/src/models/components/pagination.ts +17 -0
  733. package/src/models/components/security.ts +21 -4
  734. package/src/models/components/teamlimited.ts +115 -0
  735. package/src/models/components/userevent.ts +17 -0
  736. package/src/models/operations/addprojectdomain.ts +81 -0
  737. package/src/models/operations/addprojectmember.ts +121 -0
  738. package/src/models/operations/artifactexists.ts +21 -0
  739. package/src/models/operations/artifactquery.ts +95 -0
  740. package/src/models/operations/assignalias.ts +57 -0
  741. package/src/models/operations/buydomain.ts +129 -0
  742. package/src/models/operations/canceldeployment.ts +1304 -0
  743. package/src/models/operations/checkdomainprice.ts +41 -0
  744. package/src/models/operations/checkdomainstatus.ts +41 -0
  745. package/src/models/operations/createaccessgroup.ts +79 -0
  746. package/src/models/operations/createaccessgroupproject.ts +322 -0
  747. package/src/models/operations/createauthtoken.ts +59 -0
  748. package/src/models/operations/createcheck.ts +169 -0
  749. package/src/models/operations/createconfigurablelogdrain.ts +66 -0
  750. package/src/models/operations/createdeployment.ts +1343 -0
  751. package/src/models/operations/createedgeconfig.ts +185 -0
  752. package/src/models/operations/createedgeconfigtoken.ts +63 -0
  753. package/src/models/operations/createevent.ts +373 -0
  754. package/src/models/operations/createlogdrain.ts +57 -0
  755. package/src/models/operations/createortransferdomain.ts +167 -0
  756. package/src/models/operations/createproject.ts +1580 -59
  757. package/src/models/operations/createprojectenv.ts +1010 -2
  758. package/src/models/operations/createrecord.ts +265 -0
  759. package/src/models/operations/createteam.ts +106 -18
  760. package/src/models/operations/createwebhook.ts +57 -0
  761. package/src/models/operations/deleteaccessgroup.ts +21 -0
  762. package/src/models/operations/deleteaccessgroupproject.ts +86 -0
  763. package/src/models/operations/deletealias.ts +39 -0
  764. package/src/models/operations/deleteauthtoken.ts +41 -0
  765. package/src/models/operations/deleteconfigurablelogdrain.ts +23 -0
  766. package/src/models/operations/deleteconfiguration.ts +21 -0
  767. package/src/models/operations/deletedeployment.ts +57 -15
  768. package/src/models/operations/deletedomain.ts +39 -0
  769. package/src/models/operations/deleteedgeconfig.ts +21 -0
  770. package/src/models/operations/deleteedgeconfigschema.ts +23 -0
  771. package/src/models/operations/deleteedgeconfigtokens.ts +43 -0
  772. package/src/models/operations/deleteintegrationlogdrain.ts +23 -0
  773. package/src/models/operations/deleteproject.ts +21 -0
  774. package/src/models/operations/deleteteam.ts +71 -0
  775. package/src/models/operations/deleteteaminvitecode.ts +43 -0
  776. package/src/models/operations/deletewebhook.ts +21 -0
  777. package/src/models/operations/downloadartifact.ts +21 -0
  778. package/src/models/operations/editprojectenv.ts +448 -1
  779. package/src/models/operations/exchangessotoken.ts +192 -0
  780. package/src/models/operations/filterprojectenvs.ts +1378 -0
  781. package/src/models/operations/getaccountinfo.ts +187 -0
  782. package/src/models/operations/getalias.ts +157 -0
  783. package/src/models/operations/getallchecks.ts +174 -0
  784. package/src/models/operations/getalllogdrains.ts +41 -0
  785. package/src/models/operations/getauthtoken.ts +39 -0
  786. package/src/models/operations/getauthuser.ts +35 -0
  787. package/src/models/operations/getcertbyid.ts +39 -0
  788. package/src/models/operations/getcheck.ts +143 -0
  789. package/src/models/operations/getconfigurablelogdrain.ts +44 -0
  790. package/src/models/operations/getconfiguration.ts +176 -0
  791. package/src/models/operations/getconfigurations.ts +229 -0
  792. package/src/models/operations/getdeployment.ts +1881 -2
  793. package/src/models/operations/getdeploymentevents.ts +35 -0
  794. package/src/models/operations/getdeploymentfilecontents.ts +23 -0
  795. package/src/models/operations/getdeployments.ts +206 -0
  796. package/src/models/operations/getdomain.ts +73 -0
  797. package/src/models/operations/getdomainconfig.ts +41 -0
  798. package/src/models/operations/getdomains.ts +71 -0
  799. package/src/models/operations/getdomaintransfer.ts +41 -0
  800. package/src/models/operations/getedgeconfig.ts +93 -0
  801. package/src/models/operations/getedgeconfigbackup.ts +223 -0
  802. package/src/models/operations/getedgeconfigbackups.ts +97 -0
  803. package/src/models/operations/getedgeconfigitem.ts +21 -0
  804. package/src/models/operations/getedgeconfigitems.ts +21 -0
  805. package/src/models/operations/getedgeconfigs.ts +81 -0
  806. package/src/models/operations/getedgeconfigschema.ts +41 -0
  807. package/src/models/operations/getedgeconfigtoken.ts +21 -0
  808. package/src/models/operations/getedgeconfigtokens.ts +21 -0
  809. package/src/models/operations/getfirewallconfig.ts +493 -0
  810. package/src/models/operations/getintegrationlogdrains.ts +44 -0
  811. package/src/models/operations/getinvoice.ts +454 -0
  812. package/src/models/operations/getmember.ts +160 -0
  813. package/src/models/operations/getprojectdomain.ts +55 -0
  814. package/src/models/operations/getprojectdomains.ts +571 -0
  815. package/src/models/operations/getprojectenv.ts +1302 -0
  816. package/src/models/operations/getprojectmembers.ts +126 -0
  817. package/src/models/operations/getprojects.ts +1490 -55
  818. package/src/models/operations/getrecords.ts +103 -0
  819. package/src/models/operations/getteam.ts +17 -0
  820. package/src/models/operations/getteamaccessrequest.ts +139 -0
  821. package/src/models/operations/getteammembers.ts +201 -0
  822. package/src/models/operations/getteams.ts +51 -0
  823. package/src/models/operations/getwebhook.ts +39 -0
  824. package/src/models/operations/getwebhooks.ts +93 -0
  825. package/src/models/operations/gitnamespaces.ts +55 -0
  826. package/src/models/operations/inviteusertoteam.ts +119 -0
  827. package/src/models/operations/issuecert.ts +57 -0
  828. package/src/models/operations/jointeam.ts +55 -0
  829. package/src/models/operations/listaccessgroupmembers.ts +72 -0
  830. package/src/models/operations/listaccessgroupprojects.ts +104 -0
  831. package/src/models/operations/listaccessgroups.ts +113 -0
  832. package/src/models/operations/listaliases.ts +203 -0
  833. package/src/models/operations/listauthtokens.ts +21 -0
  834. package/src/models/operations/listdeploymentaliases.ts +172 -0
  835. package/src/models/operations/listdeploymentfiles.ts +21 -0
  836. package/src/models/operations/listpromotealiases.ts +99 -0
  837. package/src/models/operations/listuserevents.ts +39 -0
  838. package/src/models/operations/patchdomain.ts +147 -0
  839. package/src/models/operations/patchedgeconfigschema.ts +63 -0
  840. package/src/models/operations/patchteam.ts +95 -0
  841. package/src/models/operations/putfirewallconfig.ts +1029 -93
  842. package/src/models/operations/readaccessgroup.ts +41 -0
  843. package/src/models/operations/readaccessgroupproject.ts +199 -0
  844. package/src/models/operations/recordevents.ts +35 -0
  845. package/src/models/operations/removecert.ts +39 -0
  846. package/src/models/operations/removeprojectdomain.ts +41 -0
  847. package/src/models/operations/removeprojectenv.ts +1355 -3
  848. package/src/models/operations/removeprojectmember.ts +41 -0
  849. package/src/models/operations/removerecord.ts +39 -0
  850. package/src/models/operations/removeteammember.ts +41 -0
  851. package/src/models/operations/requestaccesstoteam.ts +171 -0
  852. package/src/models/operations/requestdelete.ts +57 -0
  853. package/src/models/operations/requestpromote.ts +21 -0
  854. package/src/models/operations/rerequestcheck.ts +39 -0
  855. package/src/models/operations/searchrepo.ts +181 -0
  856. package/src/models/operations/status.ts +35 -0
  857. package/src/models/operations/submitbillingdata.ts +813 -0
  858. package/src/models/operations/submitinvoice.ts +593 -0
  859. package/src/models/operations/updateaccessgroup.ts +75 -0
  860. package/src/models/operations/updateaccessgroupproject.ts +319 -0
  861. package/src/models/operations/updateattackchallengemode.ts +65 -0
  862. package/src/models/operations/updatecheck.ts +271 -0
  863. package/src/models/operations/updateedgeconfig.ts +115 -0
  864. package/src/models/operations/updatefirewallconfig.ts +858 -0
  865. package/src/models/operations/updateinvoice.ts +180 -0
  866. package/src/models/operations/updateproject.ts +1651 -63
  867. package/src/models/operations/updateprojectdatacache.ts +1389 -52
  868. package/src/models/operations/updateprojectdomain.ts +81 -0
  869. package/src/models/operations/updateprojectprotectionbypass.ts +133 -0
  870. package/src/models/operations/updaterecord.ts +85 -0
  871. package/src/models/operations/updateresourcesecrets.ts +206 -0
  872. package/src/models/operations/updateteammember.ts +97 -0
  873. package/src/models/operations/uploadartifact.ts +39 -0
  874. package/src/models/operations/uploadcert.ts +57 -0
  875. package/src/models/operations/uploadfile.ts +75 -0
  876. package/src/models/operations/verifyprojectdomain.ts +61 -0
  877. package/src/sdk/accessgroups.ts +85 -0
  878. package/src/sdk/authentication.ts +22 -0
  879. package/src/sdk/marketplace.ts +194 -0
  880. package/src/sdk/projects.ts +22 -38
  881. package/src/sdk/sdk.ts +11 -5
  882. package/esm/funcs/projectsPauseProject.d.ts +0 -15
  883. package/esm/funcs/projectsPauseProject.d.ts.map +0 -1
  884. package/esm/funcs/projectsPauseProject.js.map +0 -1
  885. package/esm/funcs/projectsUnpauseProject.d.ts +0 -15
  886. package/esm/funcs/projectsUnpauseProject.d.ts.map +0 -1
  887. package/esm/funcs/projectsUnpauseProject.js.map +0 -1
  888. package/esm/models/operations/pauseproject.d.ts +0 -38
  889. package/esm/models/operations/pauseproject.d.ts.map +0 -1
  890. package/esm/models/operations/pauseproject.js +0 -28
  891. package/esm/models/operations/pauseproject.js.map +0 -1
  892. package/esm/models/operations/unpauseproject.d.ts +0 -38
  893. package/esm/models/operations/unpauseproject.d.ts.map +0 -1
  894. package/esm/models/operations/unpauseproject.js +0 -28
  895. package/esm/models/operations/unpauseproject.js.map +0 -1
  896. package/src/models/operations/pauseproject.ts +0 -62
  897. package/src/models/operations/unpauseproject.ts +0 -62
@@ -4,7 +4,10 @@
4
4
 
5
5
  import * as z from "zod";
6
6
  import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { safeParse } from "../../lib/schemas.js";
7
8
  import { ClosedEnum } from "../../types/enums.js";
9
+ import { Result as SafeParseResult } from "../../types/fp.js";
10
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
8
11
 
9
12
  export type Owasp = {
10
13
  active: boolean;
@@ -14,17 +17,6 @@ export type ManagedRules = {
14
17
  owasp: Owasp;
15
18
  };
16
19
 
17
- export const Action = {
18
- Deny: "deny",
19
- Log: "log",
20
- } as const;
21
- export type Action = ClosedEnum<typeof Action>;
22
-
23
- export type Sd = {
24
- active: boolean;
25
- action: Action;
26
- };
27
-
28
20
  export const PutFirewallConfigAction = {
29
21
  Deny: "deny",
30
22
  Log: "log",
@@ -33,7 +25,7 @@ export type PutFirewallConfigAction = ClosedEnum<
33
25
  typeof PutFirewallConfigAction
34
26
  >;
35
27
 
36
- export type Ma = {
28
+ export type Sd = {
37
29
  active: boolean;
38
30
  action: PutFirewallConfigAction;
39
31
  };
@@ -46,7 +38,7 @@ export type PutFirewallConfigSecurityAction = ClosedEnum<
46
38
  typeof PutFirewallConfigSecurityAction
47
39
  >;
48
40
 
49
- export type Lfi = {
41
+ export type Ma = {
50
42
  active: boolean;
51
43
  action: PutFirewallConfigSecurityAction;
52
44
  };
@@ -59,7 +51,7 @@ export type PutFirewallConfigSecurityRequestAction = ClosedEnum<
59
51
  typeof PutFirewallConfigSecurityRequestAction
60
52
  >;
61
53
 
62
- export type Rfi = {
54
+ export type Lfi = {
63
55
  active: boolean;
64
56
  action: PutFirewallConfigSecurityRequestAction;
65
57
  };
@@ -72,7 +64,7 @@ export type PutFirewallConfigSecurityRequestRequestBodyAction = ClosedEnum<
72
64
  typeof PutFirewallConfigSecurityRequestRequestBodyAction
73
65
  >;
74
66
 
75
- export type Rce = {
67
+ export type Rfi = {
76
68
  active: boolean;
77
69
  action: PutFirewallConfigSecurityRequestRequestBodyAction;
78
70
  };
@@ -85,11 +77,23 @@ export type PutFirewallConfigSecurityRequestRequestBodyCrsAction = ClosedEnum<
85
77
  typeof PutFirewallConfigSecurityRequestRequestBodyCrsAction
86
78
  >;
87
79
 
88
- export type Php = {
80
+ export type Rce = {
89
81
  active: boolean;
90
82
  action: PutFirewallConfigSecurityRequestRequestBodyCrsAction;
91
83
  };
92
84
 
85
+ export const PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction = {
86
+ Deny: "deny",
87
+ Log: "log",
88
+ } as const;
89
+ export type PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction =
90
+ ClosedEnum<typeof PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction>;
91
+
92
+ export type Php = {
93
+ active: boolean;
94
+ action: PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction;
95
+ };
96
+
93
97
  export const PutFirewallConfigSecurityRequestRequestBodyCrsGenAction = {
94
98
  Deny: "deny",
95
99
  Log: "log",
@@ -730,6 +734,20 @@ export namespace Owasp$ {
730
734
  export type Outbound = Owasp$Outbound;
731
735
  }
732
736
 
737
+ export function owaspToJSON(owasp: Owasp): string {
738
+ return JSON.stringify(Owasp$outboundSchema.parse(owasp));
739
+ }
740
+
741
+ export function owaspFromJSON(
742
+ jsonString: string,
743
+ ): SafeParseResult<Owasp, SDKValidationError> {
744
+ return safeParse(
745
+ jsonString,
746
+ (x) => Owasp$inboundSchema.parse(JSON.parse(x)),
747
+ `Failed to parse 'Owasp' from JSON`,
748
+ );
749
+ }
750
+
733
751
  /** @internal */
734
752
  export const ManagedRules$inboundSchema: z.ZodType<
735
753
  ManagedRules,
@@ -766,29 +784,45 @@ export namespace ManagedRules$ {
766
784
  export type Outbound = ManagedRules$Outbound;
767
785
  }
768
786
 
787
+ export function managedRulesToJSON(managedRules: ManagedRules): string {
788
+ return JSON.stringify(ManagedRules$outboundSchema.parse(managedRules));
789
+ }
790
+
791
+ export function managedRulesFromJSON(
792
+ jsonString: string,
793
+ ): SafeParseResult<ManagedRules, SDKValidationError> {
794
+ return safeParse(
795
+ jsonString,
796
+ (x) => ManagedRules$inboundSchema.parse(JSON.parse(x)),
797
+ `Failed to parse 'ManagedRules' from JSON`,
798
+ );
799
+ }
800
+
769
801
  /** @internal */
770
- export const Action$inboundSchema: z.ZodNativeEnum<typeof Action> = z
771
- .nativeEnum(Action);
802
+ export const PutFirewallConfigAction$inboundSchema: z.ZodNativeEnum<
803
+ typeof PutFirewallConfigAction
804
+ > = z.nativeEnum(PutFirewallConfigAction);
772
805
 
773
806
  /** @internal */
774
- export const Action$outboundSchema: z.ZodNativeEnum<typeof Action> =
775
- Action$inboundSchema;
807
+ export const PutFirewallConfigAction$outboundSchema: z.ZodNativeEnum<
808
+ typeof PutFirewallConfigAction
809
+ > = PutFirewallConfigAction$inboundSchema;
776
810
 
777
811
  /**
778
812
  * @internal
779
813
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
780
814
  */
781
- export namespace Action$ {
782
- /** @deprecated use `Action$inboundSchema` instead. */
783
- export const inboundSchema = Action$inboundSchema;
784
- /** @deprecated use `Action$outboundSchema` instead. */
785
- export const outboundSchema = Action$outboundSchema;
815
+ export namespace PutFirewallConfigAction$ {
816
+ /** @deprecated use `PutFirewallConfigAction$inboundSchema` instead. */
817
+ export const inboundSchema = PutFirewallConfigAction$inboundSchema;
818
+ /** @deprecated use `PutFirewallConfigAction$outboundSchema` instead. */
819
+ export const outboundSchema = PutFirewallConfigAction$outboundSchema;
786
820
  }
787
821
 
788
822
  /** @internal */
789
823
  export const Sd$inboundSchema: z.ZodType<Sd, z.ZodTypeDef, unknown> = z.object({
790
824
  active: z.boolean(),
791
- action: Action$inboundSchema,
825
+ action: PutFirewallConfigAction$inboundSchema,
792
826
  });
793
827
 
794
828
  /** @internal */
@@ -801,7 +835,7 @@ export type Sd$Outbound = {
801
835
  export const Sd$outboundSchema: z.ZodType<Sd$Outbound, z.ZodTypeDef, Sd> = z
802
836
  .object({
803
837
  active: z.boolean(),
804
- action: Action$outboundSchema,
838
+ action: PutFirewallConfigAction$outboundSchema,
805
839
  });
806
840
 
807
841
  /**
@@ -817,31 +851,45 @@ export namespace Sd$ {
817
851
  export type Outbound = Sd$Outbound;
818
852
  }
819
853
 
854
+ export function sdToJSON(sd: Sd): string {
855
+ return JSON.stringify(Sd$outboundSchema.parse(sd));
856
+ }
857
+
858
+ export function sdFromJSON(
859
+ jsonString: string,
860
+ ): SafeParseResult<Sd, SDKValidationError> {
861
+ return safeParse(
862
+ jsonString,
863
+ (x) => Sd$inboundSchema.parse(JSON.parse(x)),
864
+ `Failed to parse 'Sd' from JSON`,
865
+ );
866
+ }
867
+
820
868
  /** @internal */
821
- export const PutFirewallConfigAction$inboundSchema: z.ZodNativeEnum<
822
- typeof PutFirewallConfigAction
823
- > = z.nativeEnum(PutFirewallConfigAction);
869
+ export const PutFirewallConfigSecurityAction$inboundSchema: z.ZodNativeEnum<
870
+ typeof PutFirewallConfigSecurityAction
871
+ > = z.nativeEnum(PutFirewallConfigSecurityAction);
824
872
 
825
873
  /** @internal */
826
- export const PutFirewallConfigAction$outboundSchema: z.ZodNativeEnum<
827
- typeof PutFirewallConfigAction
828
- > = PutFirewallConfigAction$inboundSchema;
874
+ export const PutFirewallConfigSecurityAction$outboundSchema: z.ZodNativeEnum<
875
+ typeof PutFirewallConfigSecurityAction
876
+ > = PutFirewallConfigSecurityAction$inboundSchema;
829
877
 
830
878
  /**
831
879
  * @internal
832
880
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
833
881
  */
834
- export namespace PutFirewallConfigAction$ {
835
- /** @deprecated use `PutFirewallConfigAction$inboundSchema` instead. */
836
- export const inboundSchema = PutFirewallConfigAction$inboundSchema;
837
- /** @deprecated use `PutFirewallConfigAction$outboundSchema` instead. */
838
- export const outboundSchema = PutFirewallConfigAction$outboundSchema;
882
+ export namespace PutFirewallConfigSecurityAction$ {
883
+ /** @deprecated use `PutFirewallConfigSecurityAction$inboundSchema` instead. */
884
+ export const inboundSchema = PutFirewallConfigSecurityAction$inboundSchema;
885
+ /** @deprecated use `PutFirewallConfigSecurityAction$outboundSchema` instead. */
886
+ export const outboundSchema = PutFirewallConfigSecurityAction$outboundSchema;
839
887
  }
840
888
 
841
889
  /** @internal */
842
890
  export const Ma$inboundSchema: z.ZodType<Ma, z.ZodTypeDef, unknown> = z.object({
843
891
  active: z.boolean(),
844
- action: PutFirewallConfigAction$inboundSchema,
892
+ action: PutFirewallConfigSecurityAction$inboundSchema,
845
893
  });
846
894
 
847
895
  /** @internal */
@@ -854,7 +902,7 @@ export type Ma$Outbound = {
854
902
  export const Ma$outboundSchema: z.ZodType<Ma$Outbound, z.ZodTypeDef, Ma> = z
855
903
  .object({
856
904
  active: z.boolean(),
857
- action: PutFirewallConfigAction$outboundSchema,
905
+ action: PutFirewallConfigSecurityAction$outboundSchema,
858
906
  });
859
907
 
860
908
  /**
@@ -870,32 +918,49 @@ export namespace Ma$ {
870
918
  export type Outbound = Ma$Outbound;
871
919
  }
872
920
 
921
+ export function maToJSON(ma: Ma): string {
922
+ return JSON.stringify(Ma$outboundSchema.parse(ma));
923
+ }
924
+
925
+ export function maFromJSON(
926
+ jsonString: string,
927
+ ): SafeParseResult<Ma, SDKValidationError> {
928
+ return safeParse(
929
+ jsonString,
930
+ (x) => Ma$inboundSchema.parse(JSON.parse(x)),
931
+ `Failed to parse 'Ma' from JSON`,
932
+ );
933
+ }
934
+
873
935
  /** @internal */
874
- export const PutFirewallConfigSecurityAction$inboundSchema: z.ZodNativeEnum<
875
- typeof PutFirewallConfigSecurityAction
876
- > = z.nativeEnum(PutFirewallConfigSecurityAction);
936
+ export const PutFirewallConfigSecurityRequestAction$inboundSchema:
937
+ z.ZodNativeEnum<typeof PutFirewallConfigSecurityRequestAction> = z.nativeEnum(
938
+ PutFirewallConfigSecurityRequestAction,
939
+ );
877
940
 
878
941
  /** @internal */
879
- export const PutFirewallConfigSecurityAction$outboundSchema: z.ZodNativeEnum<
880
- typeof PutFirewallConfigSecurityAction
881
- > = PutFirewallConfigSecurityAction$inboundSchema;
942
+ export const PutFirewallConfigSecurityRequestAction$outboundSchema:
943
+ z.ZodNativeEnum<typeof PutFirewallConfigSecurityRequestAction> =
944
+ PutFirewallConfigSecurityRequestAction$inboundSchema;
882
945
 
883
946
  /**
884
947
  * @internal
885
948
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
886
949
  */
887
- export namespace PutFirewallConfigSecurityAction$ {
888
- /** @deprecated use `PutFirewallConfigSecurityAction$inboundSchema` instead. */
889
- export const inboundSchema = PutFirewallConfigSecurityAction$inboundSchema;
890
- /** @deprecated use `PutFirewallConfigSecurityAction$outboundSchema` instead. */
891
- export const outboundSchema = PutFirewallConfigSecurityAction$outboundSchema;
950
+ export namespace PutFirewallConfigSecurityRequestAction$ {
951
+ /** @deprecated use `PutFirewallConfigSecurityRequestAction$inboundSchema` instead. */
952
+ export const inboundSchema =
953
+ PutFirewallConfigSecurityRequestAction$inboundSchema;
954
+ /** @deprecated use `PutFirewallConfigSecurityRequestAction$outboundSchema` instead. */
955
+ export const outboundSchema =
956
+ PutFirewallConfigSecurityRequestAction$outboundSchema;
892
957
  }
893
958
 
894
959
  /** @internal */
895
960
  export const Lfi$inboundSchema: z.ZodType<Lfi, z.ZodTypeDef, unknown> = z
896
961
  .object({
897
962
  active: z.boolean(),
898
- action: PutFirewallConfigSecurityAction$inboundSchema,
963
+ action: PutFirewallConfigSecurityRequestAction$inboundSchema,
899
964
  });
900
965
 
901
966
  /** @internal */
@@ -908,7 +973,7 @@ export type Lfi$Outbound = {
908
973
  export const Lfi$outboundSchema: z.ZodType<Lfi$Outbound, z.ZodTypeDef, Lfi> = z
909
974
  .object({
910
975
  active: z.boolean(),
911
- action: PutFirewallConfigSecurityAction$outboundSchema,
976
+ action: PutFirewallConfigSecurityRequestAction$outboundSchema,
912
977
  });
913
978
 
914
979
  /**
@@ -924,35 +989,48 @@ export namespace Lfi$ {
924
989
  export type Outbound = Lfi$Outbound;
925
990
  }
926
991
 
927
- /** @internal */
928
- export const PutFirewallConfigSecurityRequestAction$inboundSchema:
929
- z.ZodNativeEnum<typeof PutFirewallConfigSecurityRequestAction> = z.nativeEnum(
930
- PutFirewallConfigSecurityRequestAction,
992
+ export function lfiToJSON(lfi: Lfi): string {
993
+ return JSON.stringify(Lfi$outboundSchema.parse(lfi));
994
+ }
995
+
996
+ export function lfiFromJSON(
997
+ jsonString: string,
998
+ ): SafeParseResult<Lfi, SDKValidationError> {
999
+ return safeParse(
1000
+ jsonString,
1001
+ (x) => Lfi$inboundSchema.parse(JSON.parse(x)),
1002
+ `Failed to parse 'Lfi' from JSON`,
931
1003
  );
1004
+ }
932
1005
 
933
1006
  /** @internal */
934
- export const PutFirewallConfigSecurityRequestAction$outboundSchema:
935
- z.ZodNativeEnum<typeof PutFirewallConfigSecurityRequestAction> =
936
- PutFirewallConfigSecurityRequestAction$inboundSchema;
1007
+ export const PutFirewallConfigSecurityRequestRequestBodyAction$inboundSchema:
1008
+ z.ZodNativeEnum<typeof PutFirewallConfigSecurityRequestRequestBodyAction> = z
1009
+ .nativeEnum(PutFirewallConfigSecurityRequestRequestBodyAction);
1010
+
1011
+ /** @internal */
1012
+ export const PutFirewallConfigSecurityRequestRequestBodyAction$outboundSchema:
1013
+ z.ZodNativeEnum<typeof PutFirewallConfigSecurityRequestRequestBodyAction> =
1014
+ PutFirewallConfigSecurityRequestRequestBodyAction$inboundSchema;
937
1015
 
938
1016
  /**
939
1017
  * @internal
940
1018
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
941
1019
  */
942
- export namespace PutFirewallConfigSecurityRequestAction$ {
943
- /** @deprecated use `PutFirewallConfigSecurityRequestAction$inboundSchema` instead. */
1020
+ export namespace PutFirewallConfigSecurityRequestRequestBodyAction$ {
1021
+ /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyAction$inboundSchema` instead. */
944
1022
  export const inboundSchema =
945
- PutFirewallConfigSecurityRequestAction$inboundSchema;
946
- /** @deprecated use `PutFirewallConfigSecurityRequestAction$outboundSchema` instead. */
1023
+ PutFirewallConfigSecurityRequestRequestBodyAction$inboundSchema;
1024
+ /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyAction$outboundSchema` instead. */
947
1025
  export const outboundSchema =
948
- PutFirewallConfigSecurityRequestAction$outboundSchema;
1026
+ PutFirewallConfigSecurityRequestRequestBodyAction$outboundSchema;
949
1027
  }
950
1028
 
951
1029
  /** @internal */
952
1030
  export const Rfi$inboundSchema: z.ZodType<Rfi, z.ZodTypeDef, unknown> = z
953
1031
  .object({
954
1032
  active: z.boolean(),
955
- action: PutFirewallConfigSecurityRequestAction$inboundSchema,
1033
+ action: PutFirewallConfigSecurityRequestRequestBodyAction$inboundSchema,
956
1034
  });
957
1035
 
958
1036
  /** @internal */
@@ -965,7 +1043,7 @@ export type Rfi$Outbound = {
965
1043
  export const Rfi$outboundSchema: z.ZodType<Rfi$Outbound, z.ZodTypeDef, Rfi> = z
966
1044
  .object({
967
1045
  active: z.boolean(),
968
- action: PutFirewallConfigSecurityRequestAction$outboundSchema,
1046
+ action: PutFirewallConfigSecurityRequestRequestBodyAction$outboundSchema,
969
1047
  });
970
1048
 
971
1049
  /**
@@ -981,34 +1059,48 @@ export namespace Rfi$ {
981
1059
  export type Outbound = Rfi$Outbound;
982
1060
  }
983
1061
 
1062
+ export function rfiToJSON(rfi: Rfi): string {
1063
+ return JSON.stringify(Rfi$outboundSchema.parse(rfi));
1064
+ }
1065
+
1066
+ export function rfiFromJSON(
1067
+ jsonString: string,
1068
+ ): SafeParseResult<Rfi, SDKValidationError> {
1069
+ return safeParse(
1070
+ jsonString,
1071
+ (x) => Rfi$inboundSchema.parse(JSON.parse(x)),
1072
+ `Failed to parse 'Rfi' from JSON`,
1073
+ );
1074
+ }
1075
+
984
1076
  /** @internal */
985
- export const PutFirewallConfigSecurityRequestRequestBodyAction$inboundSchema:
986
- z.ZodNativeEnum<typeof PutFirewallConfigSecurityRequestRequestBodyAction> = z
987
- .nativeEnum(PutFirewallConfigSecurityRequestRequestBodyAction);
1077
+ export const PutFirewallConfigSecurityRequestRequestBodyCrsAction$inboundSchema:
1078
+ z.ZodNativeEnum<typeof PutFirewallConfigSecurityRequestRequestBodyCrsAction> =
1079
+ z.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyCrsAction);
988
1080
 
989
1081
  /** @internal */
990
- export const PutFirewallConfigSecurityRequestRequestBodyAction$outboundSchema:
991
- z.ZodNativeEnum<typeof PutFirewallConfigSecurityRequestRequestBodyAction> =
992
- PutFirewallConfigSecurityRequestRequestBodyAction$inboundSchema;
1082
+ export const PutFirewallConfigSecurityRequestRequestBodyCrsAction$outboundSchema:
1083
+ z.ZodNativeEnum<typeof PutFirewallConfigSecurityRequestRequestBodyCrsAction> =
1084
+ PutFirewallConfigSecurityRequestRequestBodyCrsAction$inboundSchema;
993
1085
 
994
1086
  /**
995
1087
  * @internal
996
1088
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
997
1089
  */
998
- export namespace PutFirewallConfigSecurityRequestRequestBodyAction$ {
999
- /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyAction$inboundSchema` instead. */
1090
+ export namespace PutFirewallConfigSecurityRequestRequestBodyCrsAction$ {
1091
+ /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsAction$inboundSchema` instead. */
1000
1092
  export const inboundSchema =
1001
- PutFirewallConfigSecurityRequestRequestBodyAction$inboundSchema;
1002
- /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyAction$outboundSchema` instead. */
1093
+ PutFirewallConfigSecurityRequestRequestBodyCrsAction$inboundSchema;
1094
+ /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsAction$outboundSchema` instead. */
1003
1095
  export const outboundSchema =
1004
- PutFirewallConfigSecurityRequestRequestBodyAction$outboundSchema;
1096
+ PutFirewallConfigSecurityRequestRequestBodyCrsAction$outboundSchema;
1005
1097
  }
1006
1098
 
1007
1099
  /** @internal */
1008
1100
  export const Rce$inboundSchema: z.ZodType<Rce, z.ZodTypeDef, unknown> = z
1009
1101
  .object({
1010
1102
  active: z.boolean(),
1011
- action: PutFirewallConfigSecurityRequestRequestBodyAction$inboundSchema,
1103
+ action: PutFirewallConfigSecurityRequestRequestBodyCrsAction$inboundSchema,
1012
1104
  });
1013
1105
 
1014
1106
  /** @internal */
@@ -1021,7 +1113,7 @@ export type Rce$Outbound = {
1021
1113
  export const Rce$outboundSchema: z.ZodType<Rce$Outbound, z.ZodTypeDef, Rce> = z
1022
1114
  .object({
1023
1115
  active: z.boolean(),
1024
- action: PutFirewallConfigSecurityRequestRequestBodyAction$outboundSchema,
1116
+ action: PutFirewallConfigSecurityRequestRequestBodyCrsAction$outboundSchema,
1025
1117
  });
1026
1118
 
1027
1119
  /**
@@ -1037,34 +1129,51 @@ export namespace Rce$ {
1037
1129
  export type Outbound = Rce$Outbound;
1038
1130
  }
1039
1131
 
1132
+ export function rceToJSON(rce: Rce): string {
1133
+ return JSON.stringify(Rce$outboundSchema.parse(rce));
1134
+ }
1135
+
1136
+ export function rceFromJSON(
1137
+ jsonString: string,
1138
+ ): SafeParseResult<Rce, SDKValidationError> {
1139
+ return safeParse(
1140
+ jsonString,
1141
+ (x) => Rce$inboundSchema.parse(JSON.parse(x)),
1142
+ `Failed to parse 'Rce' from JSON`,
1143
+ );
1144
+ }
1145
+
1040
1146
  /** @internal */
1041
- export const PutFirewallConfigSecurityRequestRequestBodyCrsAction$inboundSchema:
1042
- z.ZodNativeEnum<typeof PutFirewallConfigSecurityRequestRequestBodyCrsAction> =
1043
- z.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyCrsAction);
1147
+ export const PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$inboundSchema:
1148
+ z.ZodNativeEnum<
1149
+ typeof PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction
1150
+ > = z.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction);
1044
1151
 
1045
1152
  /** @internal */
1046
- export const PutFirewallConfigSecurityRequestRequestBodyCrsAction$outboundSchema:
1047
- z.ZodNativeEnum<typeof PutFirewallConfigSecurityRequestRequestBodyCrsAction> =
1048
- PutFirewallConfigSecurityRequestRequestBodyCrsAction$inboundSchema;
1153
+ export const PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$outboundSchema:
1154
+ z.ZodNativeEnum<
1155
+ typeof PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction
1156
+ > = PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$inboundSchema;
1049
1157
 
1050
1158
  /**
1051
1159
  * @internal
1052
1160
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1053
1161
  */
1054
- export namespace PutFirewallConfigSecurityRequestRequestBodyCrsAction$ {
1055
- /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsAction$inboundSchema` instead. */
1162
+ export namespace PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$ {
1163
+ /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$inboundSchema` instead. */
1056
1164
  export const inboundSchema =
1057
- PutFirewallConfigSecurityRequestRequestBodyCrsAction$inboundSchema;
1058
- /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsAction$outboundSchema` instead. */
1165
+ PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$inboundSchema;
1166
+ /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$outboundSchema` instead. */
1059
1167
  export const outboundSchema =
1060
- PutFirewallConfigSecurityRequestRequestBodyCrsAction$outboundSchema;
1168
+ PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$outboundSchema;
1061
1169
  }
1062
1170
 
1063
1171
  /** @internal */
1064
1172
  export const Php$inboundSchema: z.ZodType<Php, z.ZodTypeDef, unknown> = z
1065
1173
  .object({
1066
1174
  active: z.boolean(),
1067
- action: PutFirewallConfigSecurityRequestRequestBodyCrsAction$inboundSchema,
1175
+ action:
1176
+ PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$inboundSchema,
1068
1177
  });
1069
1178
 
1070
1179
  /** @internal */
@@ -1077,7 +1186,8 @@ export type Php$Outbound = {
1077
1186
  export const Php$outboundSchema: z.ZodType<Php$Outbound, z.ZodTypeDef, Php> = z
1078
1187
  .object({
1079
1188
  active: z.boolean(),
1080
- action: PutFirewallConfigSecurityRequestRequestBodyCrsAction$outboundSchema,
1189
+ action:
1190
+ PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$outboundSchema,
1081
1191
  });
1082
1192
 
1083
1193
  /**
@@ -1093,6 +1203,20 @@ export namespace Php$ {
1093
1203
  export type Outbound = Php$Outbound;
1094
1204
  }
1095
1205
 
1206
+ export function phpToJSON(php: Php): string {
1207
+ return JSON.stringify(Php$outboundSchema.parse(php));
1208
+ }
1209
+
1210
+ export function phpFromJSON(
1211
+ jsonString: string,
1212
+ ): SafeParseResult<Php, SDKValidationError> {
1213
+ return safeParse(
1214
+ jsonString,
1215
+ (x) => Php$inboundSchema.parse(JSON.parse(x)),
1216
+ `Failed to parse 'Php' from JSON`,
1217
+ );
1218
+ }
1219
+
1096
1220
  /** @internal */
1097
1221
  export const PutFirewallConfigSecurityRequestRequestBodyCrsGenAction$inboundSchema:
1098
1222
  z.ZodNativeEnum<
@@ -1153,6 +1277,20 @@ export namespace Gen$ {
1153
1277
  export type Outbound = Gen$Outbound;
1154
1278
  }
1155
1279
 
1280
+ export function genToJSON(gen: Gen): string {
1281
+ return JSON.stringify(Gen$outboundSchema.parse(gen));
1282
+ }
1283
+
1284
+ export function genFromJSON(
1285
+ jsonString: string,
1286
+ ): SafeParseResult<Gen, SDKValidationError> {
1287
+ return safeParse(
1288
+ jsonString,
1289
+ (x) => Gen$inboundSchema.parse(JSON.parse(x)),
1290
+ `Failed to parse 'Gen' from JSON`,
1291
+ );
1292
+ }
1293
+
1156
1294
  /** @internal */
1157
1295
  export const PutFirewallConfigSecurityRequestRequestBodyCrsXssAction$inboundSchema:
1158
1296
  z.ZodNativeEnum<
@@ -1213,6 +1351,20 @@ export namespace Xss$ {
1213
1351
  export type Outbound = Xss$Outbound;
1214
1352
  }
1215
1353
 
1354
+ export function xssToJSON(xss: Xss): string {
1355
+ return JSON.stringify(Xss$outboundSchema.parse(xss));
1356
+ }
1357
+
1358
+ export function xssFromJSON(
1359
+ jsonString: string,
1360
+ ): SafeParseResult<Xss, SDKValidationError> {
1361
+ return safeParse(
1362
+ jsonString,
1363
+ (x) => Xss$inboundSchema.parse(JSON.parse(x)),
1364
+ `Failed to parse 'Xss' from JSON`,
1365
+ );
1366
+ }
1367
+
1216
1368
  /** @internal */
1217
1369
  export const PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction$inboundSchema:
1218
1370
  z.ZodNativeEnum<
@@ -1273,6 +1425,20 @@ export namespace Sqli$ {
1273
1425
  export type Outbound = Sqli$Outbound;
1274
1426
  }
1275
1427
 
1428
+ export function sqliToJSON(sqli: Sqli): string {
1429
+ return JSON.stringify(Sqli$outboundSchema.parse(sqli));
1430
+ }
1431
+
1432
+ export function sqliFromJSON(
1433
+ jsonString: string,
1434
+ ): SafeParseResult<Sqli, SDKValidationError> {
1435
+ return safeParse(
1436
+ jsonString,
1437
+ (x) => Sqli$inboundSchema.parse(JSON.parse(x)),
1438
+ `Failed to parse 'Sqli' from JSON`,
1439
+ );
1440
+ }
1441
+
1276
1442
  /** @internal */
1277
1443
  export const PutFirewallConfigSecurityRequestRequestBodyCrsSfAction$inboundSchema:
1278
1444
  z.ZodNativeEnum<
@@ -1331,6 +1497,20 @@ export namespace Sf$ {
1331
1497
  export type Outbound = Sf$Outbound;
1332
1498
  }
1333
1499
 
1500
+ export function sfToJSON(sf: Sf): string {
1501
+ return JSON.stringify(Sf$outboundSchema.parse(sf));
1502
+ }
1503
+
1504
+ export function sfFromJSON(
1505
+ jsonString: string,
1506
+ ): SafeParseResult<Sf, SDKValidationError> {
1507
+ return safeParse(
1508
+ jsonString,
1509
+ (x) => Sf$inboundSchema.parse(JSON.parse(x)),
1510
+ `Failed to parse 'Sf' from JSON`,
1511
+ );
1512
+ }
1513
+
1334
1514
  /** @internal */
1335
1515
  export const PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction$inboundSchema:
1336
1516
  z.ZodNativeEnum<
@@ -1391,6 +1571,20 @@ export namespace Java$ {
1391
1571
  export type Outbound = Java$Outbound;
1392
1572
  }
1393
1573
 
1574
+ export function javaToJSON(java: Java): string {
1575
+ return JSON.stringify(Java$outboundSchema.parse(java));
1576
+ }
1577
+
1578
+ export function javaFromJSON(
1579
+ jsonString: string,
1580
+ ): SafeParseResult<Java, SDKValidationError> {
1581
+ return safeParse(
1582
+ jsonString,
1583
+ (x) => Java$inboundSchema.parse(JSON.parse(x)),
1584
+ `Failed to parse 'Java' from JSON`,
1585
+ );
1586
+ }
1587
+
1394
1588
  /** @internal */
1395
1589
  export const Crs$inboundSchema: z.ZodType<Crs, z.ZodTypeDef, unknown> = z
1396
1590
  .object({
@@ -1451,6 +1645,20 @@ export namespace Crs$ {
1451
1645
  export type Outbound = Crs$Outbound;
1452
1646
  }
1453
1647
 
1648
+ export function crsToJSON(crs: Crs): string {
1649
+ return JSON.stringify(Crs$outboundSchema.parse(crs));
1650
+ }
1651
+
1652
+ export function crsFromJSON(
1653
+ jsonString: string,
1654
+ ): SafeParseResult<Crs, SDKValidationError> {
1655
+ return safeParse(
1656
+ jsonString,
1657
+ (x) => Crs$inboundSchema.parse(JSON.parse(x)),
1658
+ `Failed to parse 'Crs' from JSON`,
1659
+ );
1660
+ }
1661
+
1454
1662
  /** @internal */
1455
1663
  export const PutFirewallConfigType$inboundSchema: z.ZodNativeEnum<
1456
1664
  typeof PutFirewallConfigType
@@ -1519,6 +1727,24 @@ export namespace PutFirewallConfigValue$ {
1519
1727
  export type Outbound = PutFirewallConfigValue$Outbound;
1520
1728
  }
1521
1729
 
1730
+ export function putFirewallConfigValueToJSON(
1731
+ putFirewallConfigValue: PutFirewallConfigValue,
1732
+ ): string {
1733
+ return JSON.stringify(
1734
+ PutFirewallConfigValue$outboundSchema.parse(putFirewallConfigValue),
1735
+ );
1736
+ }
1737
+
1738
+ export function putFirewallConfigValueFromJSON(
1739
+ jsonString: string,
1740
+ ): SafeParseResult<PutFirewallConfigValue, SDKValidationError> {
1741
+ return safeParse(
1742
+ jsonString,
1743
+ (x) => PutFirewallConfigValue$inboundSchema.parse(JSON.parse(x)),
1744
+ `Failed to parse 'PutFirewallConfigValue' from JSON`,
1745
+ );
1746
+ }
1747
+
1522
1748
  /** @internal */
1523
1749
  export const Conditions$inboundSchema: z.ZodType<
1524
1750
  Conditions,
@@ -1567,6 +1793,20 @@ export namespace Conditions$ {
1567
1793
  export type Outbound = Conditions$Outbound;
1568
1794
  }
1569
1795
 
1796
+ export function conditionsToJSON(conditions: Conditions): string {
1797
+ return JSON.stringify(Conditions$outboundSchema.parse(conditions));
1798
+ }
1799
+
1800
+ export function conditionsFromJSON(
1801
+ jsonString: string,
1802
+ ): SafeParseResult<Conditions, SDKValidationError> {
1803
+ return safeParse(
1804
+ jsonString,
1805
+ (x) => Conditions$inboundSchema.parse(JSON.parse(x)),
1806
+ `Failed to parse 'Conditions' from JSON`,
1807
+ );
1808
+ }
1809
+
1570
1810
  /** @internal */
1571
1811
  export const ConditionGroup$inboundSchema: z.ZodType<
1572
1812
  ConditionGroup,
@@ -1603,6 +1843,20 @@ export namespace ConditionGroup$ {
1603
1843
  export type Outbound = ConditionGroup$Outbound;
1604
1844
  }
1605
1845
 
1846
+ export function conditionGroupToJSON(conditionGroup: ConditionGroup): string {
1847
+ return JSON.stringify(ConditionGroup$outboundSchema.parse(conditionGroup));
1848
+ }
1849
+
1850
+ export function conditionGroupFromJSON(
1851
+ jsonString: string,
1852
+ ): SafeParseResult<ConditionGroup, SDKValidationError> {
1853
+ return safeParse(
1854
+ jsonString,
1855
+ (x) => ConditionGroup$inboundSchema.parse(JSON.parse(x)),
1856
+ `Failed to parse 'ConditionGroup' from JSON`,
1857
+ );
1858
+ }
1859
+
1606
1860
  /** @internal */
1607
1861
  export const PutFirewallConfigSecurityRequestRequestBodyRulesActionAction$inboundSchema:
1608
1862
  z.ZodNativeEnum<
@@ -1700,6 +1954,22 @@ export namespace RateLimitAction$ {
1700
1954
  export type Outbound = RateLimitAction$Outbound;
1701
1955
  }
1702
1956
 
1957
+ export function rateLimitActionToJSON(
1958
+ rateLimitAction: RateLimitAction,
1959
+ ): string {
1960
+ return JSON.stringify(RateLimitAction$outboundSchema.parse(rateLimitAction));
1961
+ }
1962
+
1963
+ export function rateLimitActionFromJSON(
1964
+ jsonString: string,
1965
+ ): SafeParseResult<RateLimitAction, SDKValidationError> {
1966
+ return safeParse(
1967
+ jsonString,
1968
+ (x) => RateLimitAction$inboundSchema.parse(JSON.parse(x)),
1969
+ `Failed to parse 'RateLimitAction' from JSON`,
1970
+ );
1971
+ }
1972
+
1703
1973
  /** @internal */
1704
1974
  export const RateLimit1$inboundSchema: z.ZodType<
1705
1975
  RateLimit1,
@@ -1748,6 +2018,20 @@ export namespace RateLimit1$ {
1748
2018
  export type Outbound = RateLimit1$Outbound;
1749
2019
  }
1750
2020
 
2021
+ export function rateLimit1ToJSON(rateLimit1: RateLimit1): string {
2022
+ return JSON.stringify(RateLimit1$outboundSchema.parse(rateLimit1));
2023
+ }
2024
+
2025
+ export function rateLimit1FromJSON(
2026
+ jsonString: string,
2027
+ ): SafeParseResult<RateLimit1, SDKValidationError> {
2028
+ return safeParse(
2029
+ jsonString,
2030
+ (x) => RateLimit1$inboundSchema.parse(JSON.parse(x)),
2031
+ `Failed to parse 'RateLimit1' from JSON`,
2032
+ );
2033
+ }
2034
+
1751
2035
  /** @internal */
1752
2036
  export const RateLimit$inboundSchema: z.ZodType<
1753
2037
  RateLimit,
@@ -1778,6 +2062,20 @@ export namespace RateLimit$ {
1778
2062
  export type Outbound = RateLimit$Outbound;
1779
2063
  }
1780
2064
 
2065
+ export function rateLimitToJSON(rateLimit: RateLimit): string {
2066
+ return JSON.stringify(RateLimit$outboundSchema.parse(rateLimit));
2067
+ }
2068
+
2069
+ export function rateLimitFromJSON(
2070
+ jsonString: string,
2071
+ ): SafeParseResult<RateLimit, SDKValidationError> {
2072
+ return safeParse(
2073
+ jsonString,
2074
+ (x) => RateLimit$inboundSchema.parse(JSON.parse(x)),
2075
+ `Failed to parse 'RateLimit' from JSON`,
2076
+ );
2077
+ }
2078
+
1781
2079
  /** @internal */
1782
2080
  export const Redirect1$inboundSchema: z.ZodType<
1783
2081
  Redirect1,
@@ -1817,6 +2115,20 @@ export namespace Redirect1$ {
1817
2115
  export type Outbound = Redirect1$Outbound;
1818
2116
  }
1819
2117
 
2118
+ export function redirect1ToJSON(redirect1: Redirect1): string {
2119
+ return JSON.stringify(Redirect1$outboundSchema.parse(redirect1));
2120
+ }
2121
+
2122
+ export function redirect1FromJSON(
2123
+ jsonString: string,
2124
+ ): SafeParseResult<Redirect1, SDKValidationError> {
2125
+ return safeParse(
2126
+ jsonString,
2127
+ (x) => Redirect1$inboundSchema.parse(JSON.parse(x)),
2128
+ `Failed to parse 'Redirect1' from JSON`,
2129
+ );
2130
+ }
2131
+
1820
2132
  /** @internal */
1821
2133
  export const Redirect$inboundSchema: z.ZodType<
1822
2134
  Redirect,
@@ -1847,6 +2159,20 @@ export namespace Redirect$ {
1847
2159
  export type Outbound = Redirect$Outbound;
1848
2160
  }
1849
2161
 
2162
+ export function redirectToJSON(redirect: Redirect): string {
2163
+ return JSON.stringify(Redirect$outboundSchema.parse(redirect));
2164
+ }
2165
+
2166
+ export function redirectFromJSON(
2167
+ jsonString: string,
2168
+ ): SafeParseResult<Redirect, SDKValidationError> {
2169
+ return safeParse(
2170
+ jsonString,
2171
+ (x) => Redirect$inboundSchema.parse(JSON.parse(x)),
2172
+ `Failed to parse 'Redirect' from JSON`,
2173
+ );
2174
+ }
2175
+
1850
2176
  /** @internal */
1851
2177
  export const Mitigate$inboundSchema: z.ZodType<
1852
2178
  Mitigate,
@@ -1902,6 +2228,20 @@ export namespace Mitigate$ {
1902
2228
  export type Outbound = Mitigate$Outbound;
1903
2229
  }
1904
2230
 
2231
+ export function mitigateToJSON(mitigate: Mitigate): string {
2232
+ return JSON.stringify(Mitigate$outboundSchema.parse(mitigate));
2233
+ }
2234
+
2235
+ export function mitigateFromJSON(
2236
+ jsonString: string,
2237
+ ): SafeParseResult<Mitigate, SDKValidationError> {
2238
+ return safeParse(
2239
+ jsonString,
2240
+ (x) => Mitigate$inboundSchema.parse(JSON.parse(x)),
2241
+ `Failed to parse 'Mitigate' from JSON`,
2242
+ );
2243
+ }
2244
+
1905
2245
  /** @internal */
1906
2246
  export const PutFirewallConfigSecurityRequestRequestBodyRulesAction$inboundSchema:
1907
2247
  z.ZodType<
@@ -1943,6 +2283,32 @@ export namespace PutFirewallConfigSecurityRequestRequestBodyRulesAction$ {
1943
2283
  PutFirewallConfigSecurityRequestRequestBodyRulesAction$Outbound;
1944
2284
  }
1945
2285
 
2286
+ export function putFirewallConfigSecurityRequestRequestBodyRulesActionToJSON(
2287
+ putFirewallConfigSecurityRequestRequestBodyRulesAction:
2288
+ PutFirewallConfigSecurityRequestRequestBodyRulesAction,
2289
+ ): string {
2290
+ return JSON.stringify(
2291
+ PutFirewallConfigSecurityRequestRequestBodyRulesAction$outboundSchema.parse(
2292
+ putFirewallConfigSecurityRequestRequestBodyRulesAction,
2293
+ ),
2294
+ );
2295
+ }
2296
+
2297
+ export function putFirewallConfigSecurityRequestRequestBodyRulesActionFromJSON(
2298
+ jsonString: string,
2299
+ ): SafeParseResult<
2300
+ PutFirewallConfigSecurityRequestRequestBodyRulesAction,
2301
+ SDKValidationError
2302
+ > {
2303
+ return safeParse(
2304
+ jsonString,
2305
+ (x) =>
2306
+ PutFirewallConfigSecurityRequestRequestBodyRulesAction$inboundSchema
2307
+ .parse(JSON.parse(x)),
2308
+ `Failed to parse 'PutFirewallConfigSecurityRequestRequestBodyRulesAction' from JSON`,
2309
+ );
2310
+ }
2311
+
1946
2312
  /** @internal */
1947
2313
  export const Rules$inboundSchema: z.ZodType<Rules, z.ZodTypeDef, unknown> = z
1948
2314
  .object({
@@ -1995,6 +2361,20 @@ export namespace Rules$ {
1995
2361
  export type Outbound = Rules$Outbound;
1996
2362
  }
1997
2363
 
2364
+ export function rulesToJSON(rules: Rules): string {
2365
+ return JSON.stringify(Rules$outboundSchema.parse(rules));
2366
+ }
2367
+
2368
+ export function rulesFromJSON(
2369
+ jsonString: string,
2370
+ ): SafeParseResult<Rules, SDKValidationError> {
2371
+ return safeParse(
2372
+ jsonString,
2373
+ (x) => Rules$inboundSchema.parse(JSON.parse(x)),
2374
+ `Failed to parse 'Rules' from JSON`,
2375
+ );
2376
+ }
2377
+
1998
2378
  /** @internal */
1999
2379
  export const PutFirewallConfigSecurityRequestRequestBodyIpsAction$inboundSchema:
2000
2380
  z.ZodNativeEnum<typeof PutFirewallConfigSecurityRequestRequestBodyIpsAction> =
@@ -2060,6 +2440,20 @@ export namespace Ips$ {
2060
2440
  export type Outbound = Ips$Outbound;
2061
2441
  }
2062
2442
 
2443
+ export function ipsToJSON(ips: Ips): string {
2444
+ return JSON.stringify(Ips$outboundSchema.parse(ips));
2445
+ }
2446
+
2447
+ export function ipsFromJSON(
2448
+ jsonString: string,
2449
+ ): SafeParseResult<Ips, SDKValidationError> {
2450
+ return safeParse(
2451
+ jsonString,
2452
+ (x) => Ips$inboundSchema.parse(JSON.parse(x)),
2453
+ `Failed to parse 'Ips' from JSON`,
2454
+ );
2455
+ }
2456
+
2063
2457
  /** @internal */
2064
2458
  export const PutFirewallConfigRequestBody$inboundSchema: z.ZodType<
2065
2459
  PutFirewallConfigRequestBody,
@@ -2108,6 +2502,26 @@ export namespace PutFirewallConfigRequestBody$ {
2108
2502
  export type Outbound = PutFirewallConfigRequestBody$Outbound;
2109
2503
  }
2110
2504
 
2505
+ export function putFirewallConfigRequestBodyToJSON(
2506
+ putFirewallConfigRequestBody: PutFirewallConfigRequestBody,
2507
+ ): string {
2508
+ return JSON.stringify(
2509
+ PutFirewallConfigRequestBody$outboundSchema.parse(
2510
+ putFirewallConfigRequestBody,
2511
+ ),
2512
+ );
2513
+ }
2514
+
2515
+ export function putFirewallConfigRequestBodyFromJSON(
2516
+ jsonString: string,
2517
+ ): SafeParseResult<PutFirewallConfigRequestBody, SDKValidationError> {
2518
+ return safeParse(
2519
+ jsonString,
2520
+ (x) => PutFirewallConfigRequestBody$inboundSchema.parse(JSON.parse(x)),
2521
+ `Failed to parse 'PutFirewallConfigRequestBody' from JSON`,
2522
+ );
2523
+ }
2524
+
2111
2525
  /** @internal */
2112
2526
  export const PutFirewallConfigRequest$inboundSchema: z.ZodType<
2113
2527
  PutFirewallConfigRequest,
@@ -2163,6 +2577,24 @@ export namespace PutFirewallConfigRequest$ {
2163
2577
  export type Outbound = PutFirewallConfigRequest$Outbound;
2164
2578
  }
2165
2579
 
2580
+ export function putFirewallConfigRequestToJSON(
2581
+ putFirewallConfigRequest: PutFirewallConfigRequest,
2582
+ ): string {
2583
+ return JSON.stringify(
2584
+ PutFirewallConfigRequest$outboundSchema.parse(putFirewallConfigRequest),
2585
+ );
2586
+ }
2587
+
2588
+ export function putFirewallConfigRequestFromJSON(
2589
+ jsonString: string,
2590
+ ): SafeParseResult<PutFirewallConfigRequest, SDKValidationError> {
2591
+ return safeParse(
2592
+ jsonString,
2593
+ (x) => PutFirewallConfigRequest$inboundSchema.parse(JSON.parse(x)),
2594
+ `Failed to parse 'PutFirewallConfigRequest' from JSON`,
2595
+ );
2596
+ }
2597
+
2166
2598
  /** @internal */
2167
2599
  export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction$inboundSchema:
2168
2600
  z.ZodNativeEnum<
@@ -2232,6 +2664,24 @@ export namespace PutFirewallConfigSd$ {
2232
2664
  export type Outbound = PutFirewallConfigSd$Outbound;
2233
2665
  }
2234
2666
 
2667
+ export function putFirewallConfigSdToJSON(
2668
+ putFirewallConfigSd: PutFirewallConfigSd,
2669
+ ): string {
2670
+ return JSON.stringify(
2671
+ PutFirewallConfigSd$outboundSchema.parse(putFirewallConfigSd),
2672
+ );
2673
+ }
2674
+
2675
+ export function putFirewallConfigSdFromJSON(
2676
+ jsonString: string,
2677
+ ): SafeParseResult<PutFirewallConfigSd, SDKValidationError> {
2678
+ return safeParse(
2679
+ jsonString,
2680
+ (x) => PutFirewallConfigSd$inboundSchema.parse(JSON.parse(x)),
2681
+ `Failed to parse 'PutFirewallConfigSd' from JSON`,
2682
+ );
2683
+ }
2684
+
2235
2685
  /** @internal */
2236
2686
  export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction$inboundSchema:
2237
2687
  z.ZodNativeEnum<
@@ -2301,6 +2751,24 @@ export namespace PutFirewallConfigMa$ {
2301
2751
  export type Outbound = PutFirewallConfigMa$Outbound;
2302
2752
  }
2303
2753
 
2754
+ export function putFirewallConfigMaToJSON(
2755
+ putFirewallConfigMa: PutFirewallConfigMa,
2756
+ ): string {
2757
+ return JSON.stringify(
2758
+ PutFirewallConfigMa$outboundSchema.parse(putFirewallConfigMa),
2759
+ );
2760
+ }
2761
+
2762
+ export function putFirewallConfigMaFromJSON(
2763
+ jsonString: string,
2764
+ ): SafeParseResult<PutFirewallConfigMa, SDKValidationError> {
2765
+ return safeParse(
2766
+ jsonString,
2767
+ (x) => PutFirewallConfigMa$inboundSchema.parse(JSON.parse(x)),
2768
+ `Failed to parse 'PutFirewallConfigMa' from JSON`,
2769
+ );
2770
+ }
2771
+
2304
2772
  /** @internal */
2305
2773
  export const PutFirewallConfigSecurityResponse200ApplicationJSONAction$inboundSchema:
2306
2774
  z.ZodNativeEnum<
@@ -2367,6 +2835,24 @@ export namespace PutFirewallConfigLfi$ {
2367
2835
  export type Outbound = PutFirewallConfigLfi$Outbound;
2368
2836
  }
2369
2837
 
2838
+ export function putFirewallConfigLfiToJSON(
2839
+ putFirewallConfigLfi: PutFirewallConfigLfi,
2840
+ ): string {
2841
+ return JSON.stringify(
2842
+ PutFirewallConfigLfi$outboundSchema.parse(putFirewallConfigLfi),
2843
+ );
2844
+ }
2845
+
2846
+ export function putFirewallConfigLfiFromJSON(
2847
+ jsonString: string,
2848
+ ): SafeParseResult<PutFirewallConfigLfi, SDKValidationError> {
2849
+ return safeParse(
2850
+ jsonString,
2851
+ (x) => PutFirewallConfigLfi$inboundSchema.parse(JSON.parse(x)),
2852
+ `Failed to parse 'PutFirewallConfigLfi' from JSON`,
2853
+ );
2854
+ }
2855
+
2370
2856
  /** @internal */
2371
2857
  export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema:
2372
2858
  z.ZodNativeEnum<
@@ -2436,6 +2922,24 @@ export namespace PutFirewallConfigRfi$ {
2436
2922
  export type Outbound = PutFirewallConfigRfi$Outbound;
2437
2923
  }
2438
2924
 
2925
+ export function putFirewallConfigRfiToJSON(
2926
+ putFirewallConfigRfi: PutFirewallConfigRfi,
2927
+ ): string {
2928
+ return JSON.stringify(
2929
+ PutFirewallConfigRfi$outboundSchema.parse(putFirewallConfigRfi),
2930
+ );
2931
+ }
2932
+
2933
+ export function putFirewallConfigRfiFromJSON(
2934
+ jsonString: string,
2935
+ ): SafeParseResult<PutFirewallConfigRfi, SDKValidationError> {
2936
+ return safeParse(
2937
+ jsonString,
2938
+ (x) => PutFirewallConfigRfi$inboundSchema.parse(JSON.parse(x)),
2939
+ `Failed to parse 'PutFirewallConfigRfi' from JSON`,
2940
+ );
2941
+ }
2942
+
2439
2943
  /** @internal */
2440
2944
  export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction$inboundSchema:
2441
2945
  z.ZodNativeEnum<
@@ -2505,6 +3009,24 @@ export namespace PutFirewallConfigRce$ {
2505
3009
  export type Outbound = PutFirewallConfigRce$Outbound;
2506
3010
  }
2507
3011
 
3012
+ export function putFirewallConfigRceToJSON(
3013
+ putFirewallConfigRce: PutFirewallConfigRce,
3014
+ ): string {
3015
+ return JSON.stringify(
3016
+ PutFirewallConfigRce$outboundSchema.parse(putFirewallConfigRce),
3017
+ );
3018
+ }
3019
+
3020
+ export function putFirewallConfigRceFromJSON(
3021
+ jsonString: string,
3022
+ ): SafeParseResult<PutFirewallConfigRce, SDKValidationError> {
3023
+ return safeParse(
3024
+ jsonString,
3025
+ (x) => PutFirewallConfigRce$inboundSchema.parse(JSON.parse(x)),
3026
+ `Failed to parse 'PutFirewallConfigRce' from JSON`,
3027
+ );
3028
+ }
3029
+
2508
3030
  /** @internal */
2509
3031
  export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction$inboundSchema:
2510
3032
  z.ZodNativeEnum<
@@ -2574,6 +3096,24 @@ export namespace PutFirewallConfigPhp$ {
2574
3096
  export type Outbound = PutFirewallConfigPhp$Outbound;
2575
3097
  }
2576
3098
 
3099
+ export function putFirewallConfigPhpToJSON(
3100
+ putFirewallConfigPhp: PutFirewallConfigPhp,
3101
+ ): string {
3102
+ return JSON.stringify(
3103
+ PutFirewallConfigPhp$outboundSchema.parse(putFirewallConfigPhp),
3104
+ );
3105
+ }
3106
+
3107
+ export function putFirewallConfigPhpFromJSON(
3108
+ jsonString: string,
3109
+ ): SafeParseResult<PutFirewallConfigPhp, SDKValidationError> {
3110
+ return safeParse(
3111
+ jsonString,
3112
+ (x) => PutFirewallConfigPhp$inboundSchema.parse(JSON.parse(x)),
3113
+ `Failed to parse 'PutFirewallConfigPhp' from JSON`,
3114
+ );
3115
+ }
3116
+
2577
3117
  /** @internal */
2578
3118
  export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction$inboundSchema:
2579
3119
  z.ZodNativeEnum<
@@ -2643,6 +3183,24 @@ export namespace PutFirewallConfigGen$ {
2643
3183
  export type Outbound = PutFirewallConfigGen$Outbound;
2644
3184
  }
2645
3185
 
3186
+ export function putFirewallConfigGenToJSON(
3187
+ putFirewallConfigGen: PutFirewallConfigGen,
3188
+ ): string {
3189
+ return JSON.stringify(
3190
+ PutFirewallConfigGen$outboundSchema.parse(putFirewallConfigGen),
3191
+ );
3192
+ }
3193
+
3194
+ export function putFirewallConfigGenFromJSON(
3195
+ jsonString: string,
3196
+ ): SafeParseResult<PutFirewallConfigGen, SDKValidationError> {
3197
+ return safeParse(
3198
+ jsonString,
3199
+ (x) => PutFirewallConfigGen$inboundSchema.parse(JSON.parse(x)),
3200
+ `Failed to parse 'PutFirewallConfigGen' from JSON`,
3201
+ );
3202
+ }
3203
+
2646
3204
  /** @internal */
2647
3205
  export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction$inboundSchema:
2648
3206
  z.ZodNativeEnum<
@@ -2712,6 +3270,24 @@ export namespace PutFirewallConfigXss$ {
2712
3270
  export type Outbound = PutFirewallConfigXss$Outbound;
2713
3271
  }
2714
3272
 
3273
+ export function putFirewallConfigXssToJSON(
3274
+ putFirewallConfigXss: PutFirewallConfigXss,
3275
+ ): string {
3276
+ return JSON.stringify(
3277
+ PutFirewallConfigXss$outboundSchema.parse(putFirewallConfigXss),
3278
+ );
3279
+ }
3280
+
3281
+ export function putFirewallConfigXssFromJSON(
3282
+ jsonString: string,
3283
+ ): SafeParseResult<PutFirewallConfigXss, SDKValidationError> {
3284
+ return safeParse(
3285
+ jsonString,
3286
+ (x) => PutFirewallConfigXss$inboundSchema.parse(JSON.parse(x)),
3287
+ `Failed to parse 'PutFirewallConfigXss' from JSON`,
3288
+ );
3289
+ }
3290
+
2715
3291
  /** @internal */
2716
3292
  export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction$inboundSchema:
2717
3293
  z.ZodNativeEnum<
@@ -2781,6 +3357,24 @@ export namespace PutFirewallConfigSqli$ {
2781
3357
  export type Outbound = PutFirewallConfigSqli$Outbound;
2782
3358
  }
2783
3359
 
3360
+ export function putFirewallConfigSqliToJSON(
3361
+ putFirewallConfigSqli: PutFirewallConfigSqli,
3362
+ ): string {
3363
+ return JSON.stringify(
3364
+ PutFirewallConfigSqli$outboundSchema.parse(putFirewallConfigSqli),
3365
+ );
3366
+ }
3367
+
3368
+ export function putFirewallConfigSqliFromJSON(
3369
+ jsonString: string,
3370
+ ): SafeParseResult<PutFirewallConfigSqli, SDKValidationError> {
3371
+ return safeParse(
3372
+ jsonString,
3373
+ (x) => PutFirewallConfigSqli$inboundSchema.parse(JSON.parse(x)),
3374
+ `Failed to parse 'PutFirewallConfigSqli' from JSON`,
3375
+ );
3376
+ }
3377
+
2784
3378
  /** @internal */
2785
3379
  export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction$inboundSchema:
2786
3380
  z.ZodNativeEnum<
@@ -2850,6 +3444,24 @@ export namespace PutFirewallConfigSf$ {
2850
3444
  export type Outbound = PutFirewallConfigSf$Outbound;
2851
3445
  }
2852
3446
 
3447
+ export function putFirewallConfigSfToJSON(
3448
+ putFirewallConfigSf: PutFirewallConfigSf,
3449
+ ): string {
3450
+ return JSON.stringify(
3451
+ PutFirewallConfigSf$outboundSchema.parse(putFirewallConfigSf),
3452
+ );
3453
+ }
3454
+
3455
+ export function putFirewallConfigSfFromJSON(
3456
+ jsonString: string,
3457
+ ): SafeParseResult<PutFirewallConfigSf, SDKValidationError> {
3458
+ return safeParse(
3459
+ jsonString,
3460
+ (x) => PutFirewallConfigSf$inboundSchema.parse(JSON.parse(x)),
3461
+ `Failed to parse 'PutFirewallConfigSf' from JSON`,
3462
+ );
3463
+ }
3464
+
2853
3465
  /** @internal */
2854
3466
  export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction$inboundSchema:
2855
3467
  z.ZodNativeEnum<
@@ -2919,6 +3531,24 @@ export namespace PutFirewallConfigJava$ {
2919
3531
  export type Outbound = PutFirewallConfigJava$Outbound;
2920
3532
  }
2921
3533
 
3534
+ export function putFirewallConfigJavaToJSON(
3535
+ putFirewallConfigJava: PutFirewallConfigJava,
3536
+ ): string {
3537
+ return JSON.stringify(
3538
+ PutFirewallConfigJava$outboundSchema.parse(putFirewallConfigJava),
3539
+ );
3540
+ }
3541
+
3542
+ export function putFirewallConfigJavaFromJSON(
3543
+ jsonString: string,
3544
+ ): SafeParseResult<PutFirewallConfigJava, SDKValidationError> {
3545
+ return safeParse(
3546
+ jsonString,
3547
+ (x) => PutFirewallConfigJava$inboundSchema.parse(JSON.parse(x)),
3548
+ `Failed to parse 'PutFirewallConfigJava' from JSON`,
3549
+ );
3550
+ }
3551
+
2922
3552
  /** @internal */
2923
3553
  export const PutFirewallConfigCrs$inboundSchema: z.ZodType<
2924
3554
  PutFirewallConfigCrs,
@@ -2985,6 +3615,24 @@ export namespace PutFirewallConfigCrs$ {
2985
3615
  export type Outbound = PutFirewallConfigCrs$Outbound;
2986
3616
  }
2987
3617
 
3618
+ export function putFirewallConfigCrsToJSON(
3619
+ putFirewallConfigCrs: PutFirewallConfigCrs,
3620
+ ): string {
3621
+ return JSON.stringify(
3622
+ PutFirewallConfigCrs$outboundSchema.parse(putFirewallConfigCrs),
3623
+ );
3624
+ }
3625
+
3626
+ export function putFirewallConfigCrsFromJSON(
3627
+ jsonString: string,
3628
+ ): SafeParseResult<PutFirewallConfigCrs, SDKValidationError> {
3629
+ return safeParse(
3630
+ jsonString,
3631
+ (x) => PutFirewallConfigCrs$inboundSchema.parse(JSON.parse(x)),
3632
+ `Failed to parse 'PutFirewallConfigCrs' from JSON`,
3633
+ );
3634
+ }
3635
+
2988
3636
  /** @internal */
2989
3637
  export const PutFirewallConfigSecurityType$inboundSchema: z.ZodNativeEnum<
2990
3638
  typeof PutFirewallConfigSecurityType
@@ -3060,6 +3708,26 @@ export namespace PutFirewallConfigSecurityValue$ {
3060
3708
  export type Outbound = PutFirewallConfigSecurityValue$Outbound;
3061
3709
  }
3062
3710
 
3711
+ export function putFirewallConfigSecurityValueToJSON(
3712
+ putFirewallConfigSecurityValue: PutFirewallConfigSecurityValue,
3713
+ ): string {
3714
+ return JSON.stringify(
3715
+ PutFirewallConfigSecurityValue$outboundSchema.parse(
3716
+ putFirewallConfigSecurityValue,
3717
+ ),
3718
+ );
3719
+ }
3720
+
3721
+ export function putFirewallConfigSecurityValueFromJSON(
3722
+ jsonString: string,
3723
+ ): SafeParseResult<PutFirewallConfigSecurityValue, SDKValidationError> {
3724
+ return safeParse(
3725
+ jsonString,
3726
+ (x) => PutFirewallConfigSecurityValue$inboundSchema.parse(JSON.parse(x)),
3727
+ `Failed to parse 'PutFirewallConfigSecurityValue' from JSON`,
3728
+ );
3729
+ }
3730
+
3063
3731
  /** @internal */
3064
3732
  export const PutFirewallConfigConditions$inboundSchema: z.ZodType<
3065
3733
  PutFirewallConfigConditions,
@@ -3108,6 +3776,26 @@ export namespace PutFirewallConfigConditions$ {
3108
3776
  export type Outbound = PutFirewallConfigConditions$Outbound;
3109
3777
  }
3110
3778
 
3779
+ export function putFirewallConfigConditionsToJSON(
3780
+ putFirewallConfigConditions: PutFirewallConfigConditions,
3781
+ ): string {
3782
+ return JSON.stringify(
3783
+ PutFirewallConfigConditions$outboundSchema.parse(
3784
+ putFirewallConfigConditions,
3785
+ ),
3786
+ );
3787
+ }
3788
+
3789
+ export function putFirewallConfigConditionsFromJSON(
3790
+ jsonString: string,
3791
+ ): SafeParseResult<PutFirewallConfigConditions, SDKValidationError> {
3792
+ return safeParse(
3793
+ jsonString,
3794
+ (x) => PutFirewallConfigConditions$inboundSchema.parse(JSON.parse(x)),
3795
+ `Failed to parse 'PutFirewallConfigConditions' from JSON`,
3796
+ );
3797
+ }
3798
+
3111
3799
  /** @internal */
3112
3800
  export const PutFirewallConfigConditionGroup$inboundSchema: z.ZodType<
3113
3801
  PutFirewallConfigConditionGroup,
@@ -3144,6 +3832,26 @@ export namespace PutFirewallConfigConditionGroup$ {
3144
3832
  export type Outbound = PutFirewallConfigConditionGroup$Outbound;
3145
3833
  }
3146
3834
 
3835
+ export function putFirewallConfigConditionGroupToJSON(
3836
+ putFirewallConfigConditionGroup: PutFirewallConfigConditionGroup,
3837
+ ): string {
3838
+ return JSON.stringify(
3839
+ PutFirewallConfigConditionGroup$outboundSchema.parse(
3840
+ putFirewallConfigConditionGroup,
3841
+ ),
3842
+ );
3843
+ }
3844
+
3845
+ export function putFirewallConfigConditionGroupFromJSON(
3846
+ jsonString: string,
3847
+ ): SafeParseResult<PutFirewallConfigConditionGroup, SDKValidationError> {
3848
+ return safeParse(
3849
+ jsonString,
3850
+ (x) => PutFirewallConfigConditionGroup$inboundSchema.parse(JSON.parse(x)),
3851
+ `Failed to parse 'PutFirewallConfigConditionGroup' from JSON`,
3852
+ );
3853
+ }
3854
+
3147
3855
  /** @internal */
3148
3856
  export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction$inboundSchema:
3149
3857
  z.ZodNativeEnum<
@@ -3273,6 +3981,24 @@ export namespace PutFirewallConfigRateLimit$ {
3273
3981
  export type Outbound = PutFirewallConfigRateLimit$Outbound;
3274
3982
  }
3275
3983
 
3984
+ export function putFirewallConfigRateLimitToJSON(
3985
+ putFirewallConfigRateLimit: PutFirewallConfigRateLimit,
3986
+ ): string {
3987
+ return JSON.stringify(
3988
+ PutFirewallConfigRateLimit$outboundSchema.parse(putFirewallConfigRateLimit),
3989
+ );
3990
+ }
3991
+
3992
+ export function putFirewallConfigRateLimitFromJSON(
3993
+ jsonString: string,
3994
+ ): SafeParseResult<PutFirewallConfigRateLimit, SDKValidationError> {
3995
+ return safeParse(
3996
+ jsonString,
3997
+ (x) => PutFirewallConfigRateLimit$inboundSchema.parse(JSON.parse(x)),
3998
+ `Failed to parse 'PutFirewallConfigRateLimit' from JSON`,
3999
+ );
4000
+ }
4001
+
3276
4002
  /** @internal */
3277
4003
  export const PutFirewallConfigRedirect$inboundSchema: z.ZodType<
3278
4004
  PutFirewallConfigRedirect,
@@ -3312,6 +4038,24 @@ export namespace PutFirewallConfigRedirect$ {
3312
4038
  export type Outbound = PutFirewallConfigRedirect$Outbound;
3313
4039
  }
3314
4040
 
4041
+ export function putFirewallConfigRedirectToJSON(
4042
+ putFirewallConfigRedirect: PutFirewallConfigRedirect,
4043
+ ): string {
4044
+ return JSON.stringify(
4045
+ PutFirewallConfigRedirect$outboundSchema.parse(putFirewallConfigRedirect),
4046
+ );
4047
+ }
4048
+
4049
+ export function putFirewallConfigRedirectFromJSON(
4050
+ jsonString: string,
4051
+ ): SafeParseResult<PutFirewallConfigRedirect, SDKValidationError> {
4052
+ return safeParse(
4053
+ jsonString,
4054
+ (x) => PutFirewallConfigRedirect$inboundSchema.parse(JSON.parse(x)),
4055
+ `Failed to parse 'PutFirewallConfigRedirect' from JSON`,
4056
+ );
4057
+ }
4058
+
3315
4059
  /** @internal */
3316
4060
  export const PutFirewallConfigMitigate$inboundSchema: z.ZodType<
3317
4061
  PutFirewallConfigMitigate,
@@ -3363,6 +4107,24 @@ export namespace PutFirewallConfigMitigate$ {
3363
4107
  export type Outbound = PutFirewallConfigMitigate$Outbound;
3364
4108
  }
3365
4109
 
4110
+ export function putFirewallConfigMitigateToJSON(
4111
+ putFirewallConfigMitigate: PutFirewallConfigMitigate,
4112
+ ): string {
4113
+ return JSON.stringify(
4114
+ PutFirewallConfigMitigate$outboundSchema.parse(putFirewallConfigMitigate),
4115
+ );
4116
+ }
4117
+
4118
+ export function putFirewallConfigMitigateFromJSON(
4119
+ jsonString: string,
4120
+ ): SafeParseResult<PutFirewallConfigMitigate, SDKValidationError> {
4121
+ return safeParse(
4122
+ jsonString,
4123
+ (x) => PutFirewallConfigMitigate$inboundSchema.parse(JSON.parse(x)),
4124
+ `Failed to parse 'PutFirewallConfigMitigate' from JSON`,
4125
+ );
4126
+ }
4127
+
3366
4128
  /** @internal */
3367
4129
  export const PutFirewallConfigSecurityResponseAction$inboundSchema: z.ZodType<
3368
4130
  PutFirewallConfigSecurityResponseAction,
@@ -3401,6 +4163,33 @@ export namespace PutFirewallConfigSecurityResponseAction$ {
3401
4163
  export type Outbound = PutFirewallConfigSecurityResponseAction$Outbound;
3402
4164
  }
3403
4165
 
4166
+ export function putFirewallConfigSecurityResponseActionToJSON(
4167
+ putFirewallConfigSecurityResponseAction:
4168
+ PutFirewallConfigSecurityResponseAction,
4169
+ ): string {
4170
+ return JSON.stringify(
4171
+ PutFirewallConfigSecurityResponseAction$outboundSchema.parse(
4172
+ putFirewallConfigSecurityResponseAction,
4173
+ ),
4174
+ );
4175
+ }
4176
+
4177
+ export function putFirewallConfigSecurityResponseActionFromJSON(
4178
+ jsonString: string,
4179
+ ): SafeParseResult<
4180
+ PutFirewallConfigSecurityResponseAction,
4181
+ SDKValidationError
4182
+ > {
4183
+ return safeParse(
4184
+ jsonString,
4185
+ (x) =>
4186
+ PutFirewallConfigSecurityResponseAction$inboundSchema.parse(
4187
+ JSON.parse(x),
4188
+ ),
4189
+ `Failed to parse 'PutFirewallConfigSecurityResponseAction' from JSON`,
4190
+ );
4191
+ }
4192
+
3404
4193
  /** @internal */
3405
4194
  export const PutFirewallConfigRules$inboundSchema: z.ZodType<
3406
4195
  PutFirewallConfigRules,
@@ -3456,6 +4245,24 @@ export namespace PutFirewallConfigRules$ {
3456
4245
  export type Outbound = PutFirewallConfigRules$Outbound;
3457
4246
  }
3458
4247
 
4248
+ export function putFirewallConfigRulesToJSON(
4249
+ putFirewallConfigRules: PutFirewallConfigRules,
4250
+ ): string {
4251
+ return JSON.stringify(
4252
+ PutFirewallConfigRules$outboundSchema.parse(putFirewallConfigRules),
4253
+ );
4254
+ }
4255
+
4256
+ export function putFirewallConfigRulesFromJSON(
4257
+ jsonString: string,
4258
+ ): SafeParseResult<PutFirewallConfigRules, SDKValidationError> {
4259
+ return safeParse(
4260
+ jsonString,
4261
+ (x) => PutFirewallConfigRules$inboundSchema.parse(JSON.parse(x)),
4262
+ `Failed to parse 'PutFirewallConfigRules' from JSON`,
4263
+ );
4264
+ }
4265
+
3459
4266
  /** @internal */
3460
4267
  export const PutFirewallConfigSecurityResponse200Action$inboundSchema:
3461
4268
  z.ZodNativeEnum<typeof PutFirewallConfigSecurityResponse200Action> = z
@@ -3527,6 +4334,24 @@ export namespace PutFirewallConfigIps$ {
3527
4334
  export type Outbound = PutFirewallConfigIps$Outbound;
3528
4335
  }
3529
4336
 
4337
+ export function putFirewallConfigIpsToJSON(
4338
+ putFirewallConfigIps: PutFirewallConfigIps,
4339
+ ): string {
4340
+ return JSON.stringify(
4341
+ PutFirewallConfigIps$outboundSchema.parse(putFirewallConfigIps),
4342
+ );
4343
+ }
4344
+
4345
+ export function putFirewallConfigIpsFromJSON(
4346
+ jsonString: string,
4347
+ ): SafeParseResult<PutFirewallConfigIps, SDKValidationError> {
4348
+ return safeParse(
4349
+ jsonString,
4350
+ (x) => PutFirewallConfigIps$inboundSchema.parse(JSON.parse(x)),
4351
+ `Failed to parse 'PutFirewallConfigIps' from JSON`,
4352
+ );
4353
+ }
4354
+
3530
4355
  /** @internal */
3531
4356
  export const PutFirewallConfigChanges$inboundSchema: z.ZodType<
3532
4357
  PutFirewallConfigChanges,
@@ -3557,6 +4382,24 @@ export namespace PutFirewallConfigChanges$ {
3557
4382
  export type Outbound = PutFirewallConfigChanges$Outbound;
3558
4383
  }
3559
4384
 
4385
+ export function putFirewallConfigChangesToJSON(
4386
+ putFirewallConfigChanges: PutFirewallConfigChanges,
4387
+ ): string {
4388
+ return JSON.stringify(
4389
+ PutFirewallConfigChanges$outboundSchema.parse(putFirewallConfigChanges),
4390
+ );
4391
+ }
4392
+
4393
+ export function putFirewallConfigChangesFromJSON(
4394
+ jsonString: string,
4395
+ ): SafeParseResult<PutFirewallConfigChanges, SDKValidationError> {
4396
+ return safeParse(
4397
+ jsonString,
4398
+ (x) => PutFirewallConfigChanges$inboundSchema.parse(JSON.parse(x)),
4399
+ `Failed to parse 'PutFirewallConfigChanges' from JSON`,
4400
+ );
4401
+ }
4402
+
3560
4403
  /** @internal */
3561
4404
  export const PutFirewallConfigOwasp$inboundSchema: z.ZodType<
3562
4405
  PutFirewallConfigOwasp,
@@ -3602,6 +4445,24 @@ export namespace PutFirewallConfigOwasp$ {
3602
4445
  export type Outbound = PutFirewallConfigOwasp$Outbound;
3603
4446
  }
3604
4447
 
4448
+ export function putFirewallConfigOwaspToJSON(
4449
+ putFirewallConfigOwasp: PutFirewallConfigOwasp,
4450
+ ): string {
4451
+ return JSON.stringify(
4452
+ PutFirewallConfigOwasp$outboundSchema.parse(putFirewallConfigOwasp),
4453
+ );
4454
+ }
4455
+
4456
+ export function putFirewallConfigOwaspFromJSON(
4457
+ jsonString: string,
4458
+ ): SafeParseResult<PutFirewallConfigOwasp, SDKValidationError> {
4459
+ return safeParse(
4460
+ jsonString,
4461
+ (x) => PutFirewallConfigOwasp$inboundSchema.parse(JSON.parse(x)),
4462
+ `Failed to parse 'PutFirewallConfigOwasp' from JSON`,
4463
+ );
4464
+ }
4465
+
3605
4466
  /** @internal */
3606
4467
  export const PutFirewallConfigVerifiedBotsBypass$inboundSchema: z.ZodType<
3607
4468
  PutFirewallConfigVerifiedBotsBypass,
@@ -3649,6 +4510,27 @@ export namespace PutFirewallConfigVerifiedBotsBypass$ {
3649
4510
  export type Outbound = PutFirewallConfigVerifiedBotsBypass$Outbound;
3650
4511
  }
3651
4512
 
4513
+ export function putFirewallConfigVerifiedBotsBypassToJSON(
4514
+ putFirewallConfigVerifiedBotsBypass: PutFirewallConfigVerifiedBotsBypass,
4515
+ ): string {
4516
+ return JSON.stringify(
4517
+ PutFirewallConfigVerifiedBotsBypass$outboundSchema.parse(
4518
+ putFirewallConfigVerifiedBotsBypass,
4519
+ ),
4520
+ );
4521
+ }
4522
+
4523
+ export function putFirewallConfigVerifiedBotsBypassFromJSON(
4524
+ jsonString: string,
4525
+ ): SafeParseResult<PutFirewallConfigVerifiedBotsBypass, SDKValidationError> {
4526
+ return safeParse(
4527
+ jsonString,
4528
+ (x) =>
4529
+ PutFirewallConfigVerifiedBotsBypass$inboundSchema.parse(JSON.parse(x)),
4530
+ `Failed to parse 'PutFirewallConfigVerifiedBotsBypass' from JSON`,
4531
+ );
4532
+ }
4533
+
3652
4534
  /** @internal */
3653
4535
  export const PutFirewallConfigManagedRules$inboundSchema: z.ZodType<
3654
4536
  PutFirewallConfigManagedRules,
@@ -3692,6 +4574,26 @@ export namespace PutFirewallConfigManagedRules$ {
3692
4574
  export type Outbound = PutFirewallConfigManagedRules$Outbound;
3693
4575
  }
3694
4576
 
4577
+ export function putFirewallConfigManagedRulesToJSON(
4578
+ putFirewallConfigManagedRules: PutFirewallConfigManagedRules,
4579
+ ): string {
4580
+ return JSON.stringify(
4581
+ PutFirewallConfigManagedRules$outboundSchema.parse(
4582
+ putFirewallConfigManagedRules,
4583
+ ),
4584
+ );
4585
+ }
4586
+
4587
+ export function putFirewallConfigManagedRulesFromJSON(
4588
+ jsonString: string,
4589
+ ): SafeParseResult<PutFirewallConfigManagedRules, SDKValidationError> {
4590
+ return safeParse(
4591
+ jsonString,
4592
+ (x) => PutFirewallConfigManagedRules$inboundSchema.parse(JSON.parse(x)),
4593
+ `Failed to parse 'PutFirewallConfigManagedRules' from JSON`,
4594
+ );
4595
+ }
4596
+
3695
4597
  /** @internal */
3696
4598
  export const Active$inboundSchema: z.ZodType<Active, z.ZodTypeDef, unknown> = z
3697
4599
  .object({
@@ -3757,6 +4659,20 @@ export namespace Active$ {
3757
4659
  export type Outbound = Active$Outbound;
3758
4660
  }
3759
4661
 
4662
+ export function activeToJSON(active: Active): string {
4663
+ return JSON.stringify(Active$outboundSchema.parse(active));
4664
+ }
4665
+
4666
+ export function activeFromJSON(
4667
+ jsonString: string,
4668
+ ): SafeParseResult<Active, SDKValidationError> {
4669
+ return safeParse(
4670
+ jsonString,
4671
+ (x) => Active$inboundSchema.parse(JSON.parse(x)),
4672
+ `Failed to parse 'Active' from JSON`,
4673
+ );
4674
+ }
4675
+
3760
4676
  /** @internal */
3761
4677
  export const PutFirewallConfigResponseBody$inboundSchema: z.ZodType<
3762
4678
  PutFirewallConfigResponseBody,
@@ -3792,3 +4708,23 @@ export namespace PutFirewallConfigResponseBody$ {
3792
4708
  /** @deprecated use `PutFirewallConfigResponseBody$Outbound` instead. */
3793
4709
  export type Outbound = PutFirewallConfigResponseBody$Outbound;
3794
4710
  }
4711
+
4712
+ export function putFirewallConfigResponseBodyToJSON(
4713
+ putFirewallConfigResponseBody: PutFirewallConfigResponseBody,
4714
+ ): string {
4715
+ return JSON.stringify(
4716
+ PutFirewallConfigResponseBody$outboundSchema.parse(
4717
+ putFirewallConfigResponseBody,
4718
+ ),
4719
+ );
4720
+ }
4721
+
4722
+ export function putFirewallConfigResponseBodyFromJSON(
4723
+ jsonString: string,
4724
+ ): SafeParseResult<PutFirewallConfigResponseBody, SDKValidationError> {
4725
+ return safeParse(
4726
+ jsonString,
4727
+ (x) => PutFirewallConfigResponseBody$inboundSchema.parse(JSON.parse(x)),
4728
+ `Failed to parse 'PutFirewallConfigResponseBody' from JSON`,
4729
+ );
4730
+ }