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

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 (775) hide show
  1. package/.devcontainer/README.md +1 -1
  2. package/LICENSE +201 -0
  3. package/README.md +8 -4
  4. package/docs/sdks/accessgroups/README.md +326 -0
  5. package/docs/sdks/projects/README.md +0 -150
  6. package/esm/funcs/accessGroupsCreateAccessGroupProject.d.ts +15 -0
  7. package/esm/funcs/accessGroupsCreateAccessGroupProject.d.ts.map +1 -0
  8. package/esm/funcs/accessGroupsCreateAccessGroupProject.js +77 -0
  9. package/esm/funcs/accessGroupsCreateAccessGroupProject.js.map +1 -0
  10. package/esm/funcs/accessGroupsDeleteAccessGroupProject.d.ts +15 -0
  11. package/esm/funcs/accessGroupsDeleteAccessGroupProject.d.ts.map +1 -0
  12. package/esm/funcs/{projectsPauseProject.js → accessGroupsDeleteAccessGroupProject.js} +12 -11
  13. package/esm/funcs/accessGroupsDeleteAccessGroupProject.js.map +1 -0
  14. package/esm/funcs/accessGroupsReadAccessGroupProject.d.ts +15 -0
  15. package/esm/funcs/accessGroupsReadAccessGroupProject.d.ts.map +1 -0
  16. package/esm/funcs/{projectsUnpauseProject.js → accessGroupsReadAccessGroupProject.js} +13 -13
  17. package/esm/funcs/accessGroupsReadAccessGroupProject.js.map +1 -0
  18. package/esm/funcs/accessGroupsUpdateAccessGroupProject.d.ts +15 -0
  19. package/esm/funcs/accessGroupsUpdateAccessGroupProject.d.ts.map +1 -0
  20. package/esm/funcs/accessGroupsUpdateAccessGroupProject.js +81 -0
  21. package/esm/funcs/accessGroupsUpdateAccessGroupProject.js.map +1 -0
  22. package/esm/lib/base64.d.ts +2 -2
  23. package/esm/lib/base64.d.ts.map +1 -1
  24. package/esm/lib/config.d.ts +3 -3
  25. package/esm/lib/config.js +3 -3
  26. package/esm/lib/matchers.js +1 -1
  27. package/esm/lib/matchers.js.map +1 -1
  28. package/esm/models/components/authtoken.d.ts +10 -0
  29. package/esm/models/components/authtoken.d.ts.map +1 -1
  30. package/esm/models/components/authtoken.js +25 -0
  31. package/esm/models/components/authtoken.js.map +1 -1
  32. package/esm/models/components/authuser.d.ts +50 -0
  33. package/esm/models/components/authuser.d.ts.map +1 -1
  34. package/esm/models/components/authuser.js +119 -0
  35. package/esm/models/components/authuser.js.map +1 -1
  36. package/esm/models/components/authuserlimited.d.ts +4 -0
  37. package/esm/models/components/authuserlimited.d.ts.map +1 -1
  38. package/esm/models/components/authuserlimited.js +7 -0
  39. package/esm/models/components/authuserlimited.js.map +1 -1
  40. package/esm/models/components/edgeconfigitem.d.ts +4 -0
  41. package/esm/models/components/edgeconfigitem.d.ts.map +1 -1
  42. package/esm/models/components/edgeconfigitem.js +7 -0
  43. package/esm/models/components/edgeconfigitem.js.map +1 -1
  44. package/esm/models/components/edgeconfigitemvalue.d.ts +4 -0
  45. package/esm/models/components/edgeconfigitemvalue.d.ts.map +1 -1
  46. package/esm/models/components/edgeconfigitemvalue.js +7 -0
  47. package/esm/models/components/edgeconfigitemvalue.js.map +1 -1
  48. package/esm/models/components/edgeconfigtoken.d.ts +4 -0
  49. package/esm/models/components/edgeconfigtoken.d.ts.map +1 -1
  50. package/esm/models/components/edgeconfigtoken.js +7 -0
  51. package/esm/models/components/edgeconfigtoken.js.map +1 -1
  52. package/esm/models/components/filetree.d.ts +4 -0
  53. package/esm/models/components/filetree.d.ts.map +1 -1
  54. package/esm/models/components/filetree.js +7 -0
  55. package/esm/models/components/filetree.js.map +1 -1
  56. package/esm/models/components/flagjsonvalue.d.ts +4 -0
  57. package/esm/models/components/flagjsonvalue.d.ts.map +1 -1
  58. package/esm/models/components/flagjsonvalue.js +7 -0
  59. package/esm/models/components/flagjsonvalue.js.map +1 -1
  60. package/esm/models/components/pagination.d.ts +4 -0
  61. package/esm/models/components/pagination.d.ts.map +1 -1
  62. package/esm/models/components/pagination.js +7 -0
  63. package/esm/models/components/pagination.js.map +1 -1
  64. package/esm/models/components/security.d.ts +4 -0
  65. package/esm/models/components/security.d.ts.map +1 -1
  66. package/esm/models/components/security.js +7 -0
  67. package/esm/models/components/security.js.map +1 -1
  68. package/esm/models/components/teamlimited.d.ts +18 -0
  69. package/esm/models/components/teamlimited.d.ts.map +1 -1
  70. package/esm/models/components/teamlimited.js +49 -0
  71. package/esm/models/components/teamlimited.js.map +1 -1
  72. package/esm/models/components/userevent.d.ts +4 -0
  73. package/esm/models/components/userevent.d.ts.map +1 -1
  74. package/esm/models/components/userevent.js +7 -0
  75. package/esm/models/components/userevent.js.map +1 -1
  76. package/esm/models/operations/addprojectdomain.d.ts +10 -0
  77. package/esm/models/operations/addprojectdomain.d.ts.map +1 -1
  78. package/esm/models/operations/addprojectdomain.js +25 -0
  79. package/esm/models/operations/addprojectdomain.js.map +1 -1
  80. package/esm/models/operations/addprojectmember.d.ts +14 -0
  81. package/esm/models/operations/addprojectmember.d.ts.map +1 -1
  82. package/esm/models/operations/addprojectmember.js +37 -0
  83. package/esm/models/operations/addprojectmember.js.map +1 -1
  84. package/esm/models/operations/artifactexists.d.ts +4 -0
  85. package/esm/models/operations/artifactexists.d.ts.map +1 -1
  86. package/esm/models/operations/artifactexists.js +7 -0
  87. package/esm/models/operations/artifactexists.js.map +1 -1
  88. package/esm/models/operations/artifactquery.d.ts +14 -0
  89. package/esm/models/operations/artifactquery.d.ts.map +1 -1
  90. package/esm/models/operations/artifactquery.js +37 -0
  91. package/esm/models/operations/artifactquery.js.map +1 -1
  92. package/esm/models/operations/assignalias.d.ts +8 -0
  93. package/esm/models/operations/assignalias.d.ts.map +1 -1
  94. package/esm/models/operations/assignalias.js +19 -0
  95. package/esm/models/operations/assignalias.js.map +1 -1
  96. package/esm/models/operations/buydomain.d.ts +16 -0
  97. package/esm/models/operations/buydomain.d.ts.map +1 -1
  98. package/esm/models/operations/buydomain.js +43 -0
  99. package/esm/models/operations/buydomain.js.map +1 -1
  100. package/esm/models/operations/canceldeployment.d.ts +259 -0
  101. package/esm/models/operations/canceldeployment.d.ts.map +1 -1
  102. package/esm/models/operations/canceldeployment.js +451 -0
  103. package/esm/models/operations/canceldeployment.js.map +1 -1
  104. package/esm/models/operations/checkdomainprice.d.ts +6 -0
  105. package/esm/models/operations/checkdomainprice.d.ts.map +1 -1
  106. package/esm/models/operations/checkdomainprice.js +13 -0
  107. package/esm/models/operations/checkdomainprice.js.map +1 -1
  108. package/esm/models/operations/checkdomainstatus.d.ts +6 -0
  109. package/esm/models/operations/checkdomainstatus.d.ts.map +1 -1
  110. package/esm/models/operations/checkdomainstatus.js +13 -0
  111. package/esm/models/operations/checkdomainstatus.js.map +1 -1
  112. package/esm/models/operations/createaccessgroup.d.ts +10 -0
  113. package/esm/models/operations/createaccessgroup.d.ts.map +1 -1
  114. package/esm/models/operations/createaccessgroup.js +25 -0
  115. package/esm/models/operations/createaccessgroup.js.map +1 -1
  116. package/esm/models/operations/createaccessgroupproject.d.ts +172 -0
  117. package/esm/models/operations/createaccessgroupproject.d.ts.map +1 -0
  118. package/esm/models/operations/createaccessgroupproject.js +154 -0
  119. package/esm/models/operations/createaccessgroupproject.js.map +1 -0
  120. package/esm/models/operations/createauthtoken.d.ts +8 -0
  121. package/esm/models/operations/createauthtoken.d.ts.map +1 -1
  122. package/esm/models/operations/createauthtoken.js +19 -0
  123. package/esm/models/operations/createauthtoken.js.map +1 -1
  124. package/esm/models/operations/createcheck.d.ts +22 -0
  125. package/esm/models/operations/createcheck.d.ts.map +1 -1
  126. package/esm/models/operations/createcheck.js +61 -0
  127. package/esm/models/operations/createcheck.js.map +1 -1
  128. package/esm/models/operations/createconfigurablelogdrain.d.ts +8 -0
  129. package/esm/models/operations/createconfigurablelogdrain.d.ts.map +1 -1
  130. package/esm/models/operations/createconfigurablelogdrain.js +19 -0
  131. package/esm/models/operations/createconfigurablelogdrain.js.map +1 -1
  132. package/esm/models/operations/createdeployment.d.ts +287 -0
  133. package/esm/models/operations/createdeployment.d.ts.map +1 -1
  134. package/esm/models/operations/createdeployment.js +534 -0
  135. package/esm/models/operations/createdeployment.js.map +1 -1
  136. package/esm/models/operations/createedgeconfig.d.ts +24 -0
  137. package/esm/models/operations/createedgeconfig.d.ts.map +1 -1
  138. package/esm/models/operations/createedgeconfig.js +67 -0
  139. package/esm/models/operations/createedgeconfig.js.map +1 -1
  140. package/esm/models/operations/createedgeconfigtoken.d.ts +8 -0
  141. package/esm/models/operations/createedgeconfigtoken.d.ts.map +1 -1
  142. package/esm/models/operations/createedgeconfigtoken.js +19 -0
  143. package/esm/models/operations/createedgeconfigtoken.js.map +1 -1
  144. package/esm/models/operations/createlogdrain.d.ts +8 -0
  145. package/esm/models/operations/createlogdrain.d.ts.map +1 -1
  146. package/esm/models/operations/createlogdrain.js +19 -0
  147. package/esm/models/operations/createlogdrain.js.map +1 -1
  148. package/esm/models/operations/createortransferdomain.d.ts +18 -0
  149. package/esm/models/operations/createortransferdomain.d.ts.map +1 -1
  150. package/esm/models/operations/createortransferdomain.js +49 -0
  151. package/esm/models/operations/createortransferdomain.js.map +1 -1
  152. package/esm/models/operations/createproject.d.ts +190 -46
  153. package/esm/models/operations/createproject.d.ts.map +1 -1
  154. package/esm/models/operations/createproject.js +518 -26
  155. package/esm/models/operations/createproject.js.map +1 -1
  156. package/esm/models/operations/createprojectenv.d.ts +112 -6
  157. package/esm/models/operations/createprojectenv.d.ts.map +1 -1
  158. package/esm/models/operations/createprojectenv.js +315 -2
  159. package/esm/models/operations/createprojectenv.js.map +1 -1
  160. package/esm/models/operations/createrecord.d.ts +36 -0
  161. package/esm/models/operations/createrecord.d.ts.map +1 -1
  162. package/esm/models/operations/createrecord.js +103 -0
  163. package/esm/models/operations/createrecord.js.map +1 -1
  164. package/esm/models/operations/createteam.d.ts +12 -0
  165. package/esm/models/operations/createteam.d.ts.map +1 -1
  166. package/esm/models/operations/createteam.js +31 -0
  167. package/esm/models/operations/createteam.js.map +1 -1
  168. package/esm/models/operations/createwebhook.d.ts +8 -0
  169. package/esm/models/operations/createwebhook.d.ts.map +1 -1
  170. package/esm/models/operations/createwebhook.js +19 -0
  171. package/esm/models/operations/createwebhook.js.map +1 -1
  172. package/esm/models/operations/deleteaccessgroup.d.ts +4 -0
  173. package/esm/models/operations/deleteaccessgroup.d.ts.map +1 -1
  174. package/esm/models/operations/deleteaccessgroup.js +7 -0
  175. package/esm/models/operations/deleteaccessgroup.js.map +1 -1
  176. package/esm/models/operations/deleteaccessgroupproject.d.ts +41 -0
  177. package/esm/models/operations/deleteaccessgroupproject.d.ts.map +1 -0
  178. package/esm/models/operations/deleteaccessgroupproject.js +37 -0
  179. package/esm/models/operations/deleteaccessgroupproject.js.map +1 -0
  180. package/esm/models/operations/deletealias.d.ts +6 -0
  181. package/esm/models/operations/deletealias.d.ts.map +1 -1
  182. package/esm/models/operations/deletealias.js +13 -0
  183. package/esm/models/operations/deletealias.js.map +1 -1
  184. package/esm/models/operations/deleteauthtoken.d.ts +6 -0
  185. package/esm/models/operations/deleteauthtoken.d.ts.map +1 -1
  186. package/esm/models/operations/deleteauthtoken.js +13 -0
  187. package/esm/models/operations/deleteauthtoken.js.map +1 -1
  188. package/esm/models/operations/deleteconfigurablelogdrain.d.ts +4 -0
  189. package/esm/models/operations/deleteconfigurablelogdrain.d.ts.map +1 -1
  190. package/esm/models/operations/deleteconfigurablelogdrain.js +7 -0
  191. package/esm/models/operations/deleteconfigurablelogdrain.js.map +1 -1
  192. package/esm/models/operations/deleteconfiguration.d.ts +4 -0
  193. package/esm/models/operations/deleteconfiguration.d.ts.map +1 -1
  194. package/esm/models/operations/deleteconfiguration.js +7 -0
  195. package/esm/models/operations/deleteconfiguration.js.map +1 -1
  196. package/esm/models/operations/deletedeployment.d.ts +6 -0
  197. package/esm/models/operations/deletedeployment.d.ts.map +1 -1
  198. package/esm/models/operations/deletedeployment.js +13 -0
  199. package/esm/models/operations/deletedeployment.js.map +1 -1
  200. package/esm/models/operations/deletedomain.d.ts +6 -0
  201. package/esm/models/operations/deletedomain.d.ts.map +1 -1
  202. package/esm/models/operations/deletedomain.js +13 -0
  203. package/esm/models/operations/deletedomain.js.map +1 -1
  204. package/esm/models/operations/deleteedgeconfig.d.ts +4 -0
  205. package/esm/models/operations/deleteedgeconfig.d.ts.map +1 -1
  206. package/esm/models/operations/deleteedgeconfig.js +7 -0
  207. package/esm/models/operations/deleteedgeconfig.js.map +1 -1
  208. package/esm/models/operations/deleteedgeconfigschema.d.ts +4 -0
  209. package/esm/models/operations/deleteedgeconfigschema.d.ts.map +1 -1
  210. package/esm/models/operations/deleteedgeconfigschema.js +7 -0
  211. package/esm/models/operations/deleteedgeconfigschema.js.map +1 -1
  212. package/esm/models/operations/deleteedgeconfigtokens.d.ts +6 -0
  213. package/esm/models/operations/deleteedgeconfigtokens.d.ts.map +1 -1
  214. package/esm/models/operations/deleteedgeconfigtokens.js +13 -0
  215. package/esm/models/operations/deleteedgeconfigtokens.js.map +1 -1
  216. package/esm/models/operations/deleteintegrationlogdrain.d.ts +4 -0
  217. package/esm/models/operations/deleteintegrationlogdrain.d.ts.map +1 -1
  218. package/esm/models/operations/deleteintegrationlogdrain.js +7 -0
  219. package/esm/models/operations/deleteintegrationlogdrain.js.map +1 -1
  220. package/esm/models/operations/deleteproject.d.ts +4 -0
  221. package/esm/models/operations/deleteproject.d.ts.map +1 -1
  222. package/esm/models/operations/deleteproject.js +7 -0
  223. package/esm/models/operations/deleteproject.js.map +1 -1
  224. package/esm/models/operations/deleteteam.d.ts +10 -0
  225. package/esm/models/operations/deleteteam.d.ts.map +1 -1
  226. package/esm/models/operations/deleteteam.js +25 -0
  227. package/esm/models/operations/deleteteam.js.map +1 -1
  228. package/esm/models/operations/deleteteaminvitecode.d.ts +6 -0
  229. package/esm/models/operations/deleteteaminvitecode.d.ts.map +1 -1
  230. package/esm/models/operations/deleteteaminvitecode.js +13 -0
  231. package/esm/models/operations/deleteteaminvitecode.js.map +1 -1
  232. package/esm/models/operations/deletewebhook.d.ts +4 -0
  233. package/esm/models/operations/deletewebhook.d.ts.map +1 -1
  234. package/esm/models/operations/deletewebhook.js +7 -0
  235. package/esm/models/operations/deletewebhook.js.map +1 -1
  236. package/esm/models/operations/downloadartifact.d.ts +4 -0
  237. package/esm/models/operations/downloadartifact.d.ts.map +1 -1
  238. package/esm/models/operations/downloadartifact.js +7 -0
  239. package/esm/models/operations/downloadartifact.js.map +1 -1
  240. package/esm/models/operations/editprojectenv.d.ts +51 -3
  241. package/esm/models/operations/editprojectenv.d.ts.map +1 -1
  242. package/esm/models/operations/editprojectenv.js +140 -1
  243. package/esm/models/operations/editprojectenv.js.map +1 -1
  244. package/esm/models/operations/filterprojectenvs.d.ts +124 -0
  245. package/esm/models/operations/filterprojectenvs.d.ts.map +1 -1
  246. package/esm/models/operations/filterprojectenvs.js +369 -0
  247. package/esm/models/operations/filterprojectenvs.js.map +1 -1
  248. package/esm/models/operations/getalias.d.ts +20 -0
  249. package/esm/models/operations/getalias.d.ts.map +1 -1
  250. package/esm/models/operations/getalias.js +55 -0
  251. package/esm/models/operations/getalias.js.map +1 -1
  252. package/esm/models/operations/getallchecks.d.ts +22 -0
  253. package/esm/models/operations/getallchecks.d.ts.map +1 -1
  254. package/esm/models/operations/getallchecks.js +61 -0
  255. package/esm/models/operations/getallchecks.js.map +1 -1
  256. package/esm/models/operations/getalllogdrains.d.ts +6 -0
  257. package/esm/models/operations/getalllogdrains.d.ts.map +1 -1
  258. package/esm/models/operations/getalllogdrains.js +13 -0
  259. package/esm/models/operations/getalllogdrains.js.map +1 -1
  260. package/esm/models/operations/getauthtoken.d.ts +6 -0
  261. package/esm/models/operations/getauthtoken.d.ts.map +1 -1
  262. package/esm/models/operations/getauthtoken.js +13 -0
  263. package/esm/models/operations/getauthtoken.js.map +1 -1
  264. package/esm/models/operations/getauthuser.d.ts +6 -0
  265. package/esm/models/operations/getauthuser.d.ts.map +1 -1
  266. package/esm/models/operations/getauthuser.js +13 -0
  267. package/esm/models/operations/getauthuser.js.map +1 -1
  268. package/esm/models/operations/getcertbyid.d.ts +6 -0
  269. package/esm/models/operations/getcertbyid.d.ts.map +1 -1
  270. package/esm/models/operations/getcertbyid.js +13 -0
  271. package/esm/models/operations/getcertbyid.js.map +1 -1
  272. package/esm/models/operations/getcheck.d.ts +20 -0
  273. package/esm/models/operations/getcheck.d.ts.map +1 -1
  274. package/esm/models/operations/getcheck.js +55 -0
  275. package/esm/models/operations/getcheck.js.map +1 -1
  276. package/esm/models/operations/getconfigurablelogdrain.d.ts +6 -0
  277. package/esm/models/operations/getconfigurablelogdrain.d.ts.map +1 -1
  278. package/esm/models/operations/getconfigurablelogdrain.js +13 -0
  279. package/esm/models/operations/getconfigurablelogdrain.js.map +1 -1
  280. package/esm/models/operations/getconfiguration.d.ts +18 -0
  281. package/esm/models/operations/getconfiguration.d.ts.map +1 -1
  282. package/esm/models/operations/getconfiguration.js +49 -0
  283. package/esm/models/operations/getconfiguration.js.map +1 -1
  284. package/esm/models/operations/getconfigurations.d.ts +28 -0
  285. package/esm/models/operations/getconfigurations.d.ts.map +1 -1
  286. package/esm/models/operations/getconfigurations.js +79 -0
  287. package/esm/models/operations/getconfigurations.js.map +1 -1
  288. package/esm/models/operations/getdeployment.d.ts +315 -0
  289. package/esm/models/operations/getdeployment.d.ts.map +1 -1
  290. package/esm/models/operations/getdeployment.js +601 -0
  291. package/esm/models/operations/getdeployment.js.map +1 -1
  292. package/esm/models/operations/getdeploymentevents.d.ts +6 -0
  293. package/esm/models/operations/getdeploymentevents.d.ts.map +1 -1
  294. package/esm/models/operations/getdeploymentevents.js +13 -0
  295. package/esm/models/operations/getdeploymentevents.js.map +1 -1
  296. package/esm/models/operations/getdeploymentfilecontents.d.ts +4 -0
  297. package/esm/models/operations/getdeploymentfilecontents.d.ts.map +1 -1
  298. package/esm/models/operations/getdeploymentfilecontents.js +7 -0
  299. package/esm/models/operations/getdeploymentfilecontents.js.map +1 -1
  300. package/esm/models/operations/getdeployments.d.ts +27 -0
  301. package/esm/models/operations/getdeployments.d.ts.map +1 -1
  302. package/esm/models/operations/getdeployments.js +68 -0
  303. package/esm/models/operations/getdeployments.js.map +1 -1
  304. package/esm/models/operations/getdomain.d.ts +10 -0
  305. package/esm/models/operations/getdomain.d.ts.map +1 -1
  306. package/esm/models/operations/getdomain.js +25 -0
  307. package/esm/models/operations/getdomain.js.map +1 -1
  308. package/esm/models/operations/getdomainconfig.d.ts +6 -0
  309. package/esm/models/operations/getdomainconfig.d.ts.map +1 -1
  310. package/esm/models/operations/getdomainconfig.js +13 -0
  311. package/esm/models/operations/getdomainconfig.js.map +1 -1
  312. package/esm/models/operations/getdomains.d.ts +10 -0
  313. package/esm/models/operations/getdomains.d.ts.map +1 -1
  314. package/esm/models/operations/getdomains.js +25 -0
  315. package/esm/models/operations/getdomains.js.map +1 -1
  316. package/esm/models/operations/getdomaintransfer.d.ts +6 -0
  317. package/esm/models/operations/getdomaintransfer.d.ts.map +1 -1
  318. package/esm/models/operations/getdomaintransfer.js +13 -0
  319. package/esm/models/operations/getdomaintransfer.js.map +1 -1
  320. package/esm/models/operations/getedgeconfig.d.ts +12 -0
  321. package/esm/models/operations/getedgeconfig.d.ts.map +1 -1
  322. package/esm/models/operations/getedgeconfig.js +31 -0
  323. package/esm/models/operations/getedgeconfig.js.map +1 -1
  324. package/esm/models/operations/getedgeconfigbackup.d.ts +26 -0
  325. package/esm/models/operations/getedgeconfigbackup.d.ts.map +1 -1
  326. package/esm/models/operations/getedgeconfigbackup.js +73 -0
  327. package/esm/models/operations/getedgeconfigbackup.js.map +1 -1
  328. package/esm/models/operations/getedgeconfigbackups.d.ts +12 -0
  329. package/esm/models/operations/getedgeconfigbackups.d.ts.map +1 -1
  330. package/esm/models/operations/getedgeconfigbackups.js +31 -0
  331. package/esm/models/operations/getedgeconfigbackups.js.map +1 -1
  332. package/esm/models/operations/getedgeconfigitem.d.ts +4 -0
  333. package/esm/models/operations/getedgeconfigitem.d.ts.map +1 -1
  334. package/esm/models/operations/getedgeconfigitem.js +7 -0
  335. package/esm/models/operations/getedgeconfigitem.js.map +1 -1
  336. package/esm/models/operations/getedgeconfigitems.d.ts +4 -0
  337. package/esm/models/operations/getedgeconfigitems.d.ts.map +1 -1
  338. package/esm/models/operations/getedgeconfigitems.js +7 -0
  339. package/esm/models/operations/getedgeconfigitems.js.map +1 -1
  340. package/esm/models/operations/getedgeconfigs.d.ts +12 -0
  341. package/esm/models/operations/getedgeconfigs.d.ts.map +1 -1
  342. package/esm/models/operations/getedgeconfigs.js +31 -0
  343. package/esm/models/operations/getedgeconfigs.js.map +1 -1
  344. package/esm/models/operations/getedgeconfigschema.d.ts +6 -0
  345. package/esm/models/operations/getedgeconfigschema.d.ts.map +1 -1
  346. package/esm/models/operations/getedgeconfigschema.js +13 -0
  347. package/esm/models/operations/getedgeconfigschema.js.map +1 -1
  348. package/esm/models/operations/getedgeconfigtoken.d.ts +4 -0
  349. package/esm/models/operations/getedgeconfigtoken.d.ts.map +1 -1
  350. package/esm/models/operations/getedgeconfigtoken.js +7 -0
  351. package/esm/models/operations/getedgeconfigtoken.js.map +1 -1
  352. package/esm/models/operations/getedgeconfigtokens.d.ts +4 -0
  353. package/esm/models/operations/getedgeconfigtokens.d.ts.map +1 -1
  354. package/esm/models/operations/getedgeconfigtokens.js +7 -0
  355. package/esm/models/operations/getedgeconfigtokens.js.map +1 -1
  356. package/esm/models/operations/getfirewallconfig.d.ts +56 -0
  357. package/esm/models/operations/getfirewallconfig.d.ts.map +1 -1
  358. package/esm/models/operations/getfirewallconfig.js +163 -0
  359. package/esm/models/operations/getfirewallconfig.js.map +1 -1
  360. package/esm/models/operations/getintegrationlogdrains.d.ts +6 -0
  361. package/esm/models/operations/getintegrationlogdrains.d.ts.map +1 -1
  362. package/esm/models/operations/getintegrationlogdrains.js +13 -0
  363. package/esm/models/operations/getintegrationlogdrains.js.map +1 -1
  364. package/esm/models/operations/getprojectdomain.d.ts +8 -0
  365. package/esm/models/operations/getprojectdomain.d.ts.map +1 -1
  366. package/esm/models/operations/getprojectdomain.js +19 -0
  367. package/esm/models/operations/getprojectdomain.js.map +1 -1
  368. package/esm/models/operations/getprojectenv.d.ts +120 -0
  369. package/esm/models/operations/getprojectenv.d.ts.map +1 -1
  370. package/esm/models/operations/getprojectenv.js +357 -0
  371. package/esm/models/operations/getprojectenv.js.map +1 -1
  372. package/esm/models/operations/getprojectmembers.d.ts +14 -0
  373. package/esm/models/operations/getprojectmembers.d.ts.map +1 -1
  374. package/esm/models/operations/getprojectmembers.js +37 -0
  375. package/esm/models/operations/getprojectmembers.js.map +1 -1
  376. package/esm/models/operations/getprojects.d.ts +173 -37
  377. package/esm/models/operations/getprojects.d.ts.map +1 -1
  378. package/esm/models/operations/getprojects.js +491 -23
  379. package/esm/models/operations/getprojects.js.map +1 -1
  380. package/esm/models/operations/getrecords.d.ts +14 -0
  381. package/esm/models/operations/getrecords.d.ts.map +1 -1
  382. package/esm/models/operations/getrecords.js +37 -0
  383. package/esm/models/operations/getrecords.js.map +1 -1
  384. package/esm/models/operations/getteam.d.ts +4 -0
  385. package/esm/models/operations/getteam.d.ts.map +1 -1
  386. package/esm/models/operations/getteam.js +7 -0
  387. package/esm/models/operations/getteam.js.map +1 -1
  388. package/esm/models/operations/getteamaccessrequest.d.ts +16 -0
  389. package/esm/models/operations/getteamaccessrequest.d.ts.map +1 -1
  390. package/esm/models/operations/getteamaccessrequest.js +43 -0
  391. package/esm/models/operations/getteamaccessrequest.js.map +1 -1
  392. package/esm/models/operations/getteammembers.d.ts +24 -0
  393. package/esm/models/operations/getteammembers.d.ts.map +1 -1
  394. package/esm/models/operations/getteammembers.js +67 -0
  395. package/esm/models/operations/getteammembers.js.map +1 -1
  396. package/esm/models/operations/getteams.d.ts +8 -0
  397. package/esm/models/operations/getteams.d.ts.map +1 -1
  398. package/esm/models/operations/getteams.js +19 -0
  399. package/esm/models/operations/getteams.js.map +1 -1
  400. package/esm/models/operations/getwebhook.d.ts +6 -0
  401. package/esm/models/operations/getwebhook.d.ts.map +1 -1
  402. package/esm/models/operations/getwebhook.js +13 -0
  403. package/esm/models/operations/getwebhook.js.map +1 -1
  404. package/esm/models/operations/getwebhooks.d.ts +12 -0
  405. package/esm/models/operations/getwebhooks.d.ts.map +1 -1
  406. package/esm/models/operations/getwebhooks.js +31 -0
  407. package/esm/models/operations/getwebhooks.js.map +1 -1
  408. package/esm/models/operations/gitnamespaces.d.ts +8 -0
  409. package/esm/models/operations/gitnamespaces.d.ts.map +1 -1
  410. package/esm/models/operations/gitnamespaces.js +19 -0
  411. package/esm/models/operations/gitnamespaces.js.map +1 -1
  412. package/esm/models/operations/inviteusertoteam.d.ts +14 -0
  413. package/esm/models/operations/inviteusertoteam.d.ts.map +1 -1
  414. package/esm/models/operations/inviteusertoteam.js +37 -0
  415. package/esm/models/operations/inviteusertoteam.js.map +1 -1
  416. package/esm/models/operations/issuecert.d.ts +8 -0
  417. package/esm/models/operations/issuecert.d.ts.map +1 -1
  418. package/esm/models/operations/issuecert.js +19 -0
  419. package/esm/models/operations/issuecert.js.map +1 -1
  420. package/esm/models/operations/jointeam.d.ts +8 -0
  421. package/esm/models/operations/jointeam.d.ts.map +1 -1
  422. package/esm/models/operations/jointeam.js +19 -0
  423. package/esm/models/operations/jointeam.js.map +1 -1
  424. package/esm/models/operations/listaccessgroupmembers.d.ts +10 -0
  425. package/esm/models/operations/listaccessgroupmembers.d.ts.map +1 -1
  426. package/esm/models/operations/listaccessgroupmembers.js +25 -0
  427. package/esm/models/operations/listaccessgroupmembers.js.map +1 -1
  428. package/esm/models/operations/listaccessgroupprojects.d.ts +12 -0
  429. package/esm/models/operations/listaccessgroupprojects.d.ts.map +1 -1
  430. package/esm/models/operations/listaccessgroupprojects.js +31 -0
  431. package/esm/models/operations/listaccessgroupprojects.js.map +1 -1
  432. package/esm/models/operations/listaccessgroups.d.ts +14 -0
  433. package/esm/models/operations/listaccessgroups.d.ts.map +1 -1
  434. package/esm/models/operations/listaccessgroups.js +37 -0
  435. package/esm/models/operations/listaccessgroups.js.map +1 -1
  436. package/esm/models/operations/listaliases.d.ts +24 -0
  437. package/esm/models/operations/listaliases.d.ts.map +1 -1
  438. package/esm/models/operations/listaliases.js +67 -0
  439. package/esm/models/operations/listaliases.js.map +1 -1
  440. package/esm/models/operations/listauthtokens.d.ts +4 -0
  441. package/esm/models/operations/listauthtokens.d.ts.map +1 -1
  442. package/esm/models/operations/listauthtokens.js +7 -0
  443. package/esm/models/operations/listauthtokens.js.map +1 -1
  444. package/esm/models/operations/listdeploymentaliases.d.ts +18 -0
  445. package/esm/models/operations/listdeploymentaliases.d.ts.map +1 -1
  446. package/esm/models/operations/listdeploymentaliases.js +49 -0
  447. package/esm/models/operations/listdeploymentaliases.js.map +1 -1
  448. package/esm/models/operations/listdeploymentfiles.d.ts +4 -0
  449. package/esm/models/operations/listdeploymentfiles.d.ts.map +1 -1
  450. package/esm/models/operations/listdeploymentfiles.js +7 -0
  451. package/esm/models/operations/listdeploymentfiles.js.map +1 -1
  452. package/esm/models/operations/listpromotealiases.d.ts +12 -0
  453. package/esm/models/operations/listpromotealiases.d.ts.map +1 -1
  454. package/esm/models/operations/listpromotealiases.js +31 -0
  455. package/esm/models/operations/listpromotealiases.js.map +1 -1
  456. package/esm/models/operations/listuserevents.d.ts +6 -0
  457. package/esm/models/operations/listuserevents.d.ts.map +1 -1
  458. package/esm/models/operations/listuserevents.js +13 -0
  459. package/esm/models/operations/listuserevents.js.map +1 -1
  460. package/esm/models/operations/patchdomain.d.ts +18 -0
  461. package/esm/models/operations/patchdomain.d.ts.map +1 -1
  462. package/esm/models/operations/patchdomain.js +49 -0
  463. package/esm/models/operations/patchdomain.js.map +1 -1
  464. package/esm/models/operations/patchedgeconfigschema.d.ts +8 -0
  465. package/esm/models/operations/patchedgeconfigschema.d.ts.map +1 -1
  466. package/esm/models/operations/patchedgeconfigschema.js +19 -0
  467. package/esm/models/operations/patchedgeconfigschema.js.map +1 -1
  468. package/esm/models/operations/patchteam.d.ts +14 -0
  469. package/esm/models/operations/patchteam.d.ts.map +1 -1
  470. package/esm/models/operations/patchteam.js +37 -0
  471. package/esm/models/operations/patchteam.js.map +1 -1
  472. package/esm/models/operations/putfirewallconfig.d.ts +112 -0
  473. package/esm/models/operations/putfirewallconfig.d.ts.map +1 -1
  474. package/esm/models/operations/putfirewallconfig.js +332 -0
  475. package/esm/models/operations/putfirewallconfig.js.map +1 -1
  476. package/esm/models/operations/readaccessgroup.d.ts +6 -0
  477. package/esm/models/operations/readaccessgroup.d.ts.map +1 -1
  478. package/esm/models/operations/readaccessgroup.js +13 -0
  479. package/esm/models/operations/readaccessgroup.js.map +1 -1
  480. package/esm/models/operations/readaccessgroupproject.d.ts +105 -0
  481. package/esm/models/operations/readaccessgroupproject.d.ts.map +1 -0
  482. package/esm/models/operations/readaccessgroupproject.js +92 -0
  483. package/esm/models/operations/readaccessgroupproject.js.map +1 -0
  484. package/esm/models/operations/recordevents.d.ts +6 -0
  485. package/esm/models/operations/recordevents.d.ts.map +1 -1
  486. package/esm/models/operations/recordevents.js +13 -0
  487. package/esm/models/operations/recordevents.js.map +1 -1
  488. package/esm/models/operations/removecert.d.ts +6 -0
  489. package/esm/models/operations/removecert.d.ts.map +1 -1
  490. package/esm/models/operations/removecert.js +13 -0
  491. package/esm/models/operations/removecert.js.map +1 -1
  492. package/esm/models/operations/removeprojectdomain.d.ts +6 -0
  493. package/esm/models/operations/removeprojectdomain.d.ts.map +1 -1
  494. package/esm/models/operations/removeprojectdomain.js +13 -0
  495. package/esm/models/operations/removeprojectdomain.js.map +1 -1
  496. package/esm/models/operations/removeprojectenv.d.ts +129 -9
  497. package/esm/models/operations/removeprojectenv.d.ts.map +1 -1
  498. package/esm/models/operations/removeprojectenv.js +364 -3
  499. package/esm/models/operations/removeprojectenv.js.map +1 -1
  500. package/esm/models/operations/removeprojectmember.d.ts +6 -0
  501. package/esm/models/operations/removeprojectmember.d.ts.map +1 -1
  502. package/esm/models/operations/removeprojectmember.js +13 -0
  503. package/esm/models/operations/removeprojectmember.js.map +1 -1
  504. package/esm/models/operations/removerecord.d.ts +6 -0
  505. package/esm/models/operations/removerecord.d.ts.map +1 -1
  506. package/esm/models/operations/removerecord.js +13 -0
  507. package/esm/models/operations/removerecord.js.map +1 -1
  508. package/esm/models/operations/removeteammember.d.ts +6 -0
  509. package/esm/models/operations/removeteammember.d.ts.map +1 -1
  510. package/esm/models/operations/removeteammember.js +13 -0
  511. package/esm/models/operations/removeteammember.js.map +1 -1
  512. package/esm/models/operations/requestaccesstoteam.d.ts +22 -0
  513. package/esm/models/operations/requestaccesstoteam.d.ts.map +1 -1
  514. package/esm/models/operations/requestaccesstoteam.js +61 -0
  515. package/esm/models/operations/requestaccesstoteam.js.map +1 -1
  516. package/esm/models/operations/requestdelete.d.ts +8 -0
  517. package/esm/models/operations/requestdelete.d.ts.map +1 -1
  518. package/esm/models/operations/requestdelete.js +19 -0
  519. package/esm/models/operations/requestdelete.js.map +1 -1
  520. package/esm/models/operations/requestpromote.d.ts +4 -0
  521. package/esm/models/operations/requestpromote.d.ts.map +1 -1
  522. package/esm/models/operations/requestpromote.js +7 -0
  523. package/esm/models/operations/requestpromote.js.map +1 -1
  524. package/esm/models/operations/rerequestcheck.d.ts +6 -0
  525. package/esm/models/operations/rerequestcheck.d.ts.map +1 -1
  526. package/esm/models/operations/rerequestcheck.js +13 -0
  527. package/esm/models/operations/rerequestcheck.js.map +1 -1
  528. package/esm/models/operations/searchrepo.d.ts +24 -0
  529. package/esm/models/operations/searchrepo.d.ts.map +1 -1
  530. package/esm/models/operations/searchrepo.js +67 -0
  531. package/esm/models/operations/searchrepo.js.map +1 -1
  532. package/esm/models/operations/status.d.ts +6 -0
  533. package/esm/models/operations/status.d.ts.map +1 -1
  534. package/esm/models/operations/status.js +13 -0
  535. package/esm/models/operations/status.js.map +1 -1
  536. package/esm/models/operations/updateaccessgroup.d.ts +10 -0
  537. package/esm/models/operations/updateaccessgroup.d.ts.map +1 -1
  538. package/esm/models/operations/updateaccessgroup.js +25 -0
  539. package/esm/models/operations/updateaccessgroup.js.map +1 -1
  540. package/esm/models/operations/updateaccessgroupproject.d.ts +169 -0
  541. package/esm/models/operations/updateaccessgroupproject.d.ts.map +1 -0
  542. package/esm/models/operations/updateaccessgroupproject.js +154 -0
  543. package/esm/models/operations/updateaccessgroupproject.js.map +1 -0
  544. package/esm/models/operations/updateattackchallengemode.d.ts +8 -0
  545. package/esm/models/operations/updateattackchallengemode.d.ts.map +1 -1
  546. package/esm/models/operations/updateattackchallengemode.js +19 -0
  547. package/esm/models/operations/updateattackchallengemode.js.map +1 -1
  548. package/esm/models/operations/updatecheck.d.ts +36 -0
  549. package/esm/models/operations/updatecheck.d.ts.map +1 -1
  550. package/esm/models/operations/updatecheck.js +103 -0
  551. package/esm/models/operations/updatecheck.js.map +1 -1
  552. package/esm/models/operations/updateedgeconfig.d.ts +14 -0
  553. package/esm/models/operations/updateedgeconfig.d.ts.map +1 -1
  554. package/esm/models/operations/updateedgeconfig.js +37 -0
  555. package/esm/models/operations/updateedgeconfig.js.map +1 -1
  556. package/esm/models/operations/updatefirewallconfig.d.ts +82 -0
  557. package/esm/models/operations/updatefirewallconfig.d.ts.map +1 -1
  558. package/esm/models/operations/updatefirewallconfig.js +241 -0
  559. package/esm/models/operations/updatefirewallconfig.js.map +1 -1
  560. package/esm/models/operations/updateproject.d.ts +196 -46
  561. package/esm/models/operations/updateproject.d.ts.map +1 -1
  562. package/esm/models/operations/updateproject.js +536 -26
  563. package/esm/models/operations/updateproject.js.map +1 -1
  564. package/esm/models/operations/updateprojectdatacache.d.ts +173 -37
  565. package/esm/models/operations/updateprojectdatacache.d.ts.map +1 -1
  566. package/esm/models/operations/updateprojectdatacache.js +491 -24
  567. package/esm/models/operations/updateprojectdatacache.js.map +1 -1
  568. package/esm/models/operations/updateprojectdomain.d.ts +10 -0
  569. package/esm/models/operations/updateprojectdomain.d.ts.map +1 -1
  570. package/esm/models/operations/updateprojectdomain.js +25 -0
  571. package/esm/models/operations/updateprojectdomain.js.map +1 -1
  572. package/esm/models/operations/updateprojectprotectionbypass.d.ts +14 -0
  573. package/esm/models/operations/updateprojectprotectionbypass.d.ts.map +1 -1
  574. package/esm/models/operations/updateprojectprotectionbypass.js +37 -0
  575. package/esm/models/operations/updateprojectprotectionbypass.js.map +1 -1
  576. package/esm/models/operations/updaterecord.d.ts +12 -0
  577. package/esm/models/operations/updaterecord.d.ts.map +1 -1
  578. package/esm/models/operations/updaterecord.js +31 -0
  579. package/esm/models/operations/updaterecord.js.map +1 -1
  580. package/esm/models/operations/updateteammember.d.ts +12 -0
  581. package/esm/models/operations/updateteammember.d.ts.map +1 -1
  582. package/esm/models/operations/updateteammember.js +31 -0
  583. package/esm/models/operations/updateteammember.js.map +1 -1
  584. package/esm/models/operations/uploadartifact.d.ts +6 -0
  585. package/esm/models/operations/uploadartifact.d.ts.map +1 -1
  586. package/esm/models/operations/uploadartifact.js +13 -0
  587. package/esm/models/operations/uploadartifact.js.map +1 -1
  588. package/esm/models/operations/uploadcert.d.ts +8 -0
  589. package/esm/models/operations/uploadcert.d.ts.map +1 -1
  590. package/esm/models/operations/uploadcert.js +19 -0
  591. package/esm/models/operations/uploadcert.js.map +1 -1
  592. package/esm/models/operations/uploadfile.d.ts +10 -0
  593. package/esm/models/operations/uploadfile.d.ts.map +1 -1
  594. package/esm/models/operations/uploadfile.js +25 -0
  595. package/esm/models/operations/uploadfile.js.map +1 -1
  596. package/esm/models/operations/verifyprojectdomain.d.ts +8 -0
  597. package/esm/models/operations/verifyprojectdomain.d.ts.map +1 -1
  598. package/esm/models/operations/verifyprojectdomain.js +19 -0
  599. package/esm/models/operations/verifyprojectdomain.js.map +1 -1
  600. package/esm/sdk/accessgroups.d.ts +32 -0
  601. package/esm/sdk/accessgroups.d.ts.map +1 -1
  602. package/esm/sdk/accessgroups.js +40 -0
  603. package/esm/sdk/accessgroups.js.map +1 -1
  604. package/esm/sdk/projects.d.ts +0 -16
  605. package/esm/sdk/projects.d.ts.map +1 -1
  606. package/esm/sdk/projects.js +0 -20
  607. package/esm/sdk/projects.js.map +1 -1
  608. package/package.json +2 -2
  609. package/src/funcs/accessGroupsCreateAccessGroupProject.ts +144 -0
  610. package/src/funcs/{projectsPauseProject.ts → accessGroupsDeleteAccessGroupProject.ts} +20 -13
  611. package/src/funcs/{projectsUnpauseProject.ts → accessGroupsReadAccessGroupProject.ts} +26 -18
  612. package/src/funcs/accessGroupsUpdateAccessGroupProject.ts +148 -0
  613. package/src/lib/config.ts +3 -3
  614. package/src/lib/matchers.ts +1 -1
  615. package/src/models/components/authtoken.ts +59 -0
  616. package/src/models/components/authuser.ts +311 -0
  617. package/src/models/components/authuserlimited.ts +19 -0
  618. package/src/models/components/edgeconfigitem.ts +17 -0
  619. package/src/models/components/edgeconfigitemvalue.ts +21 -0
  620. package/src/models/components/edgeconfigtoken.ts +19 -0
  621. package/src/models/components/filetree.ts +17 -0
  622. package/src/models/components/flagjsonvalue.ts +17 -0
  623. package/src/models/components/pagination.ts +17 -0
  624. package/src/models/components/security.ts +17 -0
  625. package/src/models/components/teamlimited.ts +115 -0
  626. package/src/models/components/userevent.ts +17 -0
  627. package/src/models/operations/addprojectdomain.ts +81 -0
  628. package/src/models/operations/addprojectmember.ts +121 -0
  629. package/src/models/operations/artifactexists.ts +21 -0
  630. package/src/models/operations/artifactquery.ts +95 -0
  631. package/src/models/operations/assignalias.ts +57 -0
  632. package/src/models/operations/buydomain.ts +129 -0
  633. package/src/models/operations/canceldeployment.ts +1304 -0
  634. package/src/models/operations/checkdomainprice.ts +41 -0
  635. package/src/models/operations/checkdomainstatus.ts +41 -0
  636. package/src/models/operations/createaccessgroup.ts +79 -0
  637. package/src/models/operations/createaccessgroupproject.ts +322 -0
  638. package/src/models/operations/createauthtoken.ts +59 -0
  639. package/src/models/operations/createcheck.ts +169 -0
  640. package/src/models/operations/createconfigurablelogdrain.ts +66 -0
  641. package/src/models/operations/createdeployment.ts +1343 -0
  642. package/src/models/operations/createedgeconfig.ts +185 -0
  643. package/src/models/operations/createedgeconfigtoken.ts +63 -0
  644. package/src/models/operations/createlogdrain.ts +57 -0
  645. package/src/models/operations/createortransferdomain.ts +167 -0
  646. package/src/models/operations/createproject.ts +1572 -59
  647. package/src/models/operations/createprojectenv.ts +1010 -2
  648. package/src/models/operations/createrecord.ts +265 -0
  649. package/src/models/operations/createteam.ts +81 -0
  650. package/src/models/operations/createwebhook.ts +57 -0
  651. package/src/models/operations/deleteaccessgroup.ts +21 -0
  652. package/src/models/operations/deleteaccessgroupproject.ts +86 -0
  653. package/src/models/operations/deletealias.ts +39 -0
  654. package/src/models/operations/deleteauthtoken.ts +41 -0
  655. package/src/models/operations/deleteconfigurablelogdrain.ts +23 -0
  656. package/src/models/operations/deleteconfiguration.ts +21 -0
  657. package/src/models/operations/deletedeployment.ts +41 -0
  658. package/src/models/operations/deletedomain.ts +39 -0
  659. package/src/models/operations/deleteedgeconfig.ts +21 -0
  660. package/src/models/operations/deleteedgeconfigschema.ts +23 -0
  661. package/src/models/operations/deleteedgeconfigtokens.ts +43 -0
  662. package/src/models/operations/deleteintegrationlogdrain.ts +23 -0
  663. package/src/models/operations/deleteproject.ts +21 -0
  664. package/src/models/operations/deleteteam.ts +71 -0
  665. package/src/models/operations/deleteteaminvitecode.ts +43 -0
  666. package/src/models/operations/deletewebhook.ts +21 -0
  667. package/src/models/operations/downloadartifact.ts +21 -0
  668. package/src/models/operations/editprojectenv.ts +448 -1
  669. package/src/models/operations/filterprojectenvs.ts +1378 -0
  670. package/src/models/operations/getalias.ts +157 -0
  671. package/src/models/operations/getallchecks.ts +174 -0
  672. package/src/models/operations/getalllogdrains.ts +41 -0
  673. package/src/models/operations/getauthtoken.ts +39 -0
  674. package/src/models/operations/getauthuser.ts +35 -0
  675. package/src/models/operations/getcertbyid.ts +39 -0
  676. package/src/models/operations/getcheck.ts +143 -0
  677. package/src/models/operations/getconfigurablelogdrain.ts +44 -0
  678. package/src/models/operations/getconfiguration.ts +176 -0
  679. package/src/models/operations/getconfigurations.ts +229 -0
  680. package/src/models/operations/getdeployment.ts +1881 -2
  681. package/src/models/operations/getdeploymentevents.ts +35 -0
  682. package/src/models/operations/getdeploymentfilecontents.ts +23 -0
  683. package/src/models/operations/getdeployments.ts +206 -0
  684. package/src/models/operations/getdomain.ts +73 -0
  685. package/src/models/operations/getdomainconfig.ts +41 -0
  686. package/src/models/operations/getdomains.ts +71 -0
  687. package/src/models/operations/getdomaintransfer.ts +41 -0
  688. package/src/models/operations/getedgeconfig.ts +93 -0
  689. package/src/models/operations/getedgeconfigbackup.ts +223 -0
  690. package/src/models/operations/getedgeconfigbackups.ts +97 -0
  691. package/src/models/operations/getedgeconfigitem.ts +21 -0
  692. package/src/models/operations/getedgeconfigitems.ts +21 -0
  693. package/src/models/operations/getedgeconfigs.ts +81 -0
  694. package/src/models/operations/getedgeconfigschema.ts +41 -0
  695. package/src/models/operations/getedgeconfigtoken.ts +21 -0
  696. package/src/models/operations/getedgeconfigtokens.ts +21 -0
  697. package/src/models/operations/getfirewallconfig.ts +493 -0
  698. package/src/models/operations/getintegrationlogdrains.ts +44 -0
  699. package/src/models/operations/getprojectdomain.ts +55 -0
  700. package/src/models/operations/getprojectenv.ts +1302 -0
  701. package/src/models/operations/getprojectmembers.ts +126 -0
  702. package/src/models/operations/getprojects.ts +1482 -55
  703. package/src/models/operations/getrecords.ts +103 -0
  704. package/src/models/operations/getteam.ts +17 -0
  705. package/src/models/operations/getteamaccessrequest.ts +139 -0
  706. package/src/models/operations/getteammembers.ts +201 -0
  707. package/src/models/operations/getteams.ts +51 -0
  708. package/src/models/operations/getwebhook.ts +39 -0
  709. package/src/models/operations/getwebhooks.ts +93 -0
  710. package/src/models/operations/gitnamespaces.ts +55 -0
  711. package/src/models/operations/inviteusertoteam.ts +119 -0
  712. package/src/models/operations/issuecert.ts +57 -0
  713. package/src/models/operations/jointeam.ts +55 -0
  714. package/src/models/operations/listaccessgroupmembers.ts +72 -0
  715. package/src/models/operations/listaccessgroupprojects.ts +104 -0
  716. package/src/models/operations/listaccessgroups.ts +113 -0
  717. package/src/models/operations/listaliases.ts +203 -0
  718. package/src/models/operations/listauthtokens.ts +21 -0
  719. package/src/models/operations/listdeploymentaliases.ts +172 -0
  720. package/src/models/operations/listdeploymentfiles.ts +21 -0
  721. package/src/models/operations/listpromotealiases.ts +99 -0
  722. package/src/models/operations/listuserevents.ts +39 -0
  723. package/src/models/operations/patchdomain.ts +147 -0
  724. package/src/models/operations/patchedgeconfigschema.ts +63 -0
  725. package/src/models/operations/patchteam.ts +95 -0
  726. package/src/models/operations/putfirewallconfig.ts +927 -0
  727. package/src/models/operations/readaccessgroup.ts +41 -0
  728. package/src/models/operations/readaccessgroupproject.ts +199 -0
  729. package/src/models/operations/recordevents.ts +35 -0
  730. package/src/models/operations/removecert.ts +39 -0
  731. package/src/models/operations/removeprojectdomain.ts +41 -0
  732. package/src/models/operations/removeprojectenv.ts +1355 -3
  733. package/src/models/operations/removeprojectmember.ts +41 -0
  734. package/src/models/operations/removerecord.ts +39 -0
  735. package/src/models/operations/removeteammember.ts +41 -0
  736. package/src/models/operations/requestaccesstoteam.ts +171 -0
  737. package/src/models/operations/requestdelete.ts +57 -0
  738. package/src/models/operations/requestpromote.ts +21 -0
  739. package/src/models/operations/rerequestcheck.ts +39 -0
  740. package/src/models/operations/searchrepo.ts +181 -0
  741. package/src/models/operations/status.ts +35 -0
  742. package/src/models/operations/updateaccessgroup.ts +75 -0
  743. package/src/models/operations/updateaccessgroupproject.ts +319 -0
  744. package/src/models/operations/updateattackchallengemode.ts +65 -0
  745. package/src/models/operations/updatecheck.ts +271 -0
  746. package/src/models/operations/updateedgeconfig.ts +115 -0
  747. package/src/models/operations/updatefirewallconfig.ts +858 -0
  748. package/src/models/operations/updateproject.ts +1643 -63
  749. package/src/models/operations/updateprojectdatacache.ts +1381 -52
  750. package/src/models/operations/updateprojectdomain.ts +81 -0
  751. package/src/models/operations/updateprojectprotectionbypass.ts +133 -0
  752. package/src/models/operations/updaterecord.ts +85 -0
  753. package/src/models/operations/updateteammember.ts +97 -0
  754. package/src/models/operations/uploadartifact.ts +39 -0
  755. package/src/models/operations/uploadcert.ts +57 -0
  756. package/src/models/operations/uploadfile.ts +75 -0
  757. package/src/models/operations/verifyprojectdomain.ts +61 -0
  758. package/src/sdk/accessgroups.ts +85 -0
  759. package/src/sdk/projects.ts +0 -38
  760. package/esm/funcs/projectsPauseProject.d.ts +0 -15
  761. package/esm/funcs/projectsPauseProject.d.ts.map +0 -1
  762. package/esm/funcs/projectsPauseProject.js.map +0 -1
  763. package/esm/funcs/projectsUnpauseProject.d.ts +0 -15
  764. package/esm/funcs/projectsUnpauseProject.d.ts.map +0 -1
  765. package/esm/funcs/projectsUnpauseProject.js.map +0 -1
  766. package/esm/models/operations/pauseproject.d.ts +0 -38
  767. package/esm/models/operations/pauseproject.d.ts.map +0 -1
  768. package/esm/models/operations/pauseproject.js +0 -28
  769. package/esm/models/operations/pauseproject.js.map +0 -1
  770. package/esm/models/operations/unpauseproject.d.ts +0 -38
  771. package/esm/models/operations/unpauseproject.d.ts.map +0 -1
  772. package/esm/models/operations/unpauseproject.js +0 -28
  773. package/esm/models/operations/unpauseproject.js.map +0 -1
  774. package/src/models/operations/pauseproject.ts +0 -62
  775. package/src/models/operations/unpauseproject.ts +0 -62
@@ -4,13 +4,16 @@
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";
8
10
  import {
9
11
  FlagJSONValue,
10
12
  FlagJSONValue$inboundSchema,
11
13
  FlagJSONValue$Outbound,
12
14
  FlagJSONValue$outboundSchema,
13
15
  } from "../components/flagjsonvalue.js";
16
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
14
17
 
15
18
  /**
16
19
  * Allows to skip framework detection so the API would not fail to ask for confirmation
@@ -631,6 +634,9 @@ export type CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespon
631
634
  typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type
632
635
  >;
633
636
 
637
+ /**
638
+ * Allows custom git sources (local folder mounted to the container) in test mode
639
+ */
634
640
  export type CreateDeploymentGitSource6 = {
635
641
  type:
636
642
  CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type;
@@ -764,6 +770,7 @@ export const CreateDeploymentSource = {
764
770
  CloneRepo: "clone/repo",
765
771
  ApiTriggerGitDeploy: "api-trigger-git-deploy",
766
772
  Redeploy: "redeploy",
773
+ V0Web: "v0-web",
767
774
  } as const;
768
775
  export type CreateDeploymentSource = ClosedEnum<typeof CreateDeploymentSource>;
769
776
 
@@ -824,6 +831,54 @@ export type OidcTokenClaims = {
824
831
  environment: string;
825
832
  };
826
833
 
834
+ /**
835
+ * A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment.
836
+ */
837
+ export type Applications = {
838
+ /**
839
+ * This is the production alias, it will always show the most up to date of each application.
840
+ */
841
+ productionHost: string;
842
+ /**
843
+ * Use the fixed deploymentAlias and deploymentHost so that the microfrontend preview stays in sync with the deployment. These are only present for mono-repos when a single commit creates multiple deployments. If they are not present, productionHost will be used.
844
+ */
845
+ deploymentAlias?: string | undefined;
846
+ deploymentHost?: string | undefined;
847
+ };
848
+
849
+ export type Microfrontends2 = {
850
+ /**
851
+ * A map of the other applications that are part of this group. Only defined on the default application. The field is set after deployments have been created, so can be undefined, but should be there for a successful deployment.
852
+ */
853
+ applications?: { [k: string]: Applications } | undefined;
854
+ isDefaultApp: boolean;
855
+ /**
856
+ * A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI.
857
+ */
858
+ defaultRoute?: string | undefined;
859
+ /**
860
+ * The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together.
861
+ */
862
+ groupIds: Array<string>;
863
+ };
864
+
865
+ export type Microfrontends1 = {
866
+ /**
867
+ * Whether this project is the default application for the microfrontends group. The default application is the one that is used as the top level shell for the microfrontends group and hosts the other microfrontends.
868
+ */
869
+ isDefaultApp?: boolean | undefined;
870
+ /**
871
+ * A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI.
872
+ */
873
+ defaultRoute?: string | undefined;
874
+ /**
875
+ * The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together.
876
+ */
877
+ groupIds: Array<string>;
878
+ };
879
+
880
+ export type CreateDeploymentMicrofrontends = Microfrontends1 | Microfrontends2;
881
+
827
882
  export type Functions = {
828
883
  memory?: number | undefined;
829
884
  maxDuration?: number | undefined;
@@ -1150,6 +1205,7 @@ export type CreateDeploymentResponseBody = {
1150
1205
  oidcTokenClaims?: OidcTokenClaims | undefined;
1151
1206
  projectId: string;
1152
1207
  ownerId: string;
1208
+ microfrontends?: Microfrontends1 | Microfrontends2 | undefined;
1153
1209
  monorepoManager?: string | null | undefined;
1154
1210
  functions?: { [k: string]: Functions } | null | undefined;
1155
1211
  routes: Array<Routes3 | Routes2 | Routes1> | null;
@@ -1248,6 +1304,20 @@ export namespace UploadedFile$ {
1248
1304
  export type Outbound = UploadedFile$Outbound;
1249
1305
  }
1250
1306
 
1307
+ export function uploadedFileToJSON(uploadedFile: UploadedFile): string {
1308
+ return JSON.stringify(UploadedFile$outboundSchema.parse(uploadedFile));
1309
+ }
1310
+
1311
+ export function uploadedFileFromJSON(
1312
+ jsonString: string,
1313
+ ): SafeParseResult<UploadedFile, SDKValidationError> {
1314
+ return safeParse(
1315
+ jsonString,
1316
+ (x) => UploadedFile$inboundSchema.parse(JSON.parse(x)),
1317
+ `Failed to parse 'UploadedFile' from JSON`,
1318
+ );
1319
+ }
1320
+
1251
1321
  /** @internal */
1252
1322
  export const Encoding$inboundSchema: z.ZodNativeEnum<typeof Encoding> = z
1253
1323
  .nativeEnum(Encoding);
@@ -1309,6 +1379,20 @@ export namespace InlinedFile$ {
1309
1379
  export type Outbound = InlinedFile$Outbound;
1310
1380
  }
1311
1381
 
1382
+ export function inlinedFileToJSON(inlinedFile: InlinedFile): string {
1383
+ return JSON.stringify(InlinedFile$outboundSchema.parse(inlinedFile));
1384
+ }
1385
+
1386
+ export function inlinedFileFromJSON(
1387
+ jsonString: string,
1388
+ ): SafeParseResult<InlinedFile, SDKValidationError> {
1389
+ return safeParse(
1390
+ jsonString,
1391
+ (x) => InlinedFile$inboundSchema.parse(JSON.parse(x)),
1392
+ `Failed to parse 'InlinedFile' from JSON`,
1393
+ );
1394
+ }
1395
+
1312
1396
  /** @internal */
1313
1397
  export const Files$inboundSchema: z.ZodType<Files, z.ZodTypeDef, unknown> = z
1314
1398
  .union([
@@ -1342,6 +1426,20 @@ export namespace Files$ {
1342
1426
  export type Outbound = Files$Outbound;
1343
1427
  }
1344
1428
 
1429
+ export function filesToJSON(files: Files): string {
1430
+ return JSON.stringify(Files$outboundSchema.parse(files));
1431
+ }
1432
+
1433
+ export function filesFromJSON(
1434
+ jsonString: string,
1435
+ ): SafeParseResult<Files, SDKValidationError> {
1436
+ return safeParse(
1437
+ jsonString,
1438
+ (x) => Files$inboundSchema.parse(JSON.parse(x)),
1439
+ `Failed to parse 'Files' from JSON`,
1440
+ );
1441
+ }
1442
+
1345
1443
  /** @internal */
1346
1444
  export const GitMetadata$inboundSchema: z.ZodType<
1347
1445
  GitMetadata,
@@ -1393,6 +1491,20 @@ export namespace GitMetadata$ {
1393
1491
  export type Outbound = GitMetadata$Outbound;
1394
1492
  }
1395
1493
 
1494
+ export function gitMetadataToJSON(gitMetadata: GitMetadata): string {
1495
+ return JSON.stringify(GitMetadata$outboundSchema.parse(gitMetadata));
1496
+ }
1497
+
1498
+ export function gitMetadataFromJSON(
1499
+ jsonString: string,
1500
+ ): SafeParseResult<GitMetadata, SDKValidationError> {
1501
+ return safeParse(
1502
+ jsonString,
1503
+ (x) => GitMetadata$inboundSchema.parse(JSON.parse(x)),
1504
+ `Failed to parse 'GitMetadata' from JSON`,
1505
+ );
1506
+ }
1507
+
1396
1508
  /** @internal */
1397
1509
  export const CreateDeploymentGitSourceDeploymentsRequestType$inboundSchema:
1398
1510
  z.ZodNativeEnum<typeof CreateDeploymentGitSourceDeploymentsRequestType> = z
@@ -1458,6 +1570,20 @@ export namespace Five$ {
1458
1570
  export type Outbound = Five$Outbound;
1459
1571
  }
1460
1572
 
1573
+ export function fiveToJSON(five: Five): string {
1574
+ return JSON.stringify(Five$outboundSchema.parse(five));
1575
+ }
1576
+
1577
+ export function fiveFromJSON(
1578
+ jsonString: string,
1579
+ ): SafeParseResult<Five, SDKValidationError> {
1580
+ return safeParse(
1581
+ jsonString,
1582
+ (x) => Five$inboundSchema.parse(JSON.parse(x)),
1583
+ `Failed to parse 'Five' from JSON`,
1584
+ );
1585
+ }
1586
+
1461
1587
  /** @internal */
1462
1588
  export const CreateDeploymentGitSourceDeploymentsType$inboundSchema:
1463
1589
  z.ZodNativeEnum<typeof CreateDeploymentGitSourceDeploymentsType> = z
@@ -1523,6 +1649,20 @@ export namespace Four$ {
1523
1649
  export type Outbound = Four$Outbound;
1524
1650
  }
1525
1651
 
1652
+ export function fourToJSON(four: Four): string {
1653
+ return JSON.stringify(Four$outboundSchema.parse(four));
1654
+ }
1655
+
1656
+ export function fourFromJSON(
1657
+ jsonString: string,
1658
+ ): SafeParseResult<Four, SDKValidationError> {
1659
+ return safeParse(
1660
+ jsonString,
1661
+ (x) => Four$inboundSchema.parse(JSON.parse(x)),
1662
+ `Failed to parse 'Four' from JSON`,
1663
+ );
1664
+ }
1665
+
1526
1666
  /** @internal */
1527
1667
  export const ProjectId$inboundSchema: z.ZodType<
1528
1668
  ProjectId,
@@ -1553,6 +1693,20 @@ export namespace ProjectId$ {
1553
1693
  export type Outbound = ProjectId$Outbound;
1554
1694
  }
1555
1695
 
1696
+ export function projectIdToJSON(projectId: ProjectId): string {
1697
+ return JSON.stringify(ProjectId$outboundSchema.parse(projectId));
1698
+ }
1699
+
1700
+ export function projectIdFromJSON(
1701
+ jsonString: string,
1702
+ ): SafeParseResult<ProjectId, SDKValidationError> {
1703
+ return safeParse(
1704
+ jsonString,
1705
+ (x) => ProjectId$inboundSchema.parse(JSON.parse(x)),
1706
+ `Failed to parse 'ProjectId' from JSON`,
1707
+ );
1708
+ }
1709
+
1556
1710
  /** @internal */
1557
1711
  export const CreateDeploymentGitSourceType$inboundSchema: z.ZodNativeEnum<
1558
1712
  typeof CreateDeploymentGitSourceType
@@ -1616,6 +1770,20 @@ export namespace Three$ {
1616
1770
  export type Outbound = Three$Outbound;
1617
1771
  }
1618
1772
 
1773
+ export function threeToJSON(three: Three): string {
1774
+ return JSON.stringify(Three$outboundSchema.parse(three));
1775
+ }
1776
+
1777
+ export function threeFromJSON(
1778
+ jsonString: string,
1779
+ ): SafeParseResult<Three, SDKValidationError> {
1780
+ return safeParse(
1781
+ jsonString,
1782
+ (x) => Three$inboundSchema.parse(JSON.parse(x)),
1783
+ `Failed to parse 'Three' from JSON`,
1784
+ );
1785
+ }
1786
+
1619
1787
  /** @internal */
1620
1788
  export const GitSourceType$inboundSchema: z.ZodNativeEnum<
1621
1789
  typeof GitSourceType
@@ -1679,6 +1847,20 @@ export namespace Two$ {
1679
1847
  export type Outbound = Two$Outbound;
1680
1848
  }
1681
1849
 
1850
+ export function twoToJSON(two: Two): string {
1851
+ return JSON.stringify(Two$outboundSchema.parse(two));
1852
+ }
1853
+
1854
+ export function twoFromJSON(
1855
+ jsonString: string,
1856
+ ): SafeParseResult<Two, SDKValidationError> {
1857
+ return safeParse(
1858
+ jsonString,
1859
+ (x) => Two$inboundSchema.parse(JSON.parse(x)),
1860
+ `Failed to parse 'Two' from JSON`,
1861
+ );
1862
+ }
1863
+
1682
1864
  /** @internal */
1683
1865
  export const RepoId$inboundSchema: z.ZodType<RepoId, z.ZodTypeDef, unknown> = z
1684
1866
  .union([z.number(), z.string()]);
@@ -1706,6 +1888,20 @@ export namespace RepoId$ {
1706
1888
  export type Outbound = RepoId$Outbound;
1707
1889
  }
1708
1890
 
1891
+ export function repoIdToJSON(repoId: RepoId): string {
1892
+ return JSON.stringify(RepoId$outboundSchema.parse(repoId));
1893
+ }
1894
+
1895
+ export function repoIdFromJSON(
1896
+ jsonString: string,
1897
+ ): SafeParseResult<RepoId, SDKValidationError> {
1898
+ return safeParse(
1899
+ jsonString,
1900
+ (x) => RepoId$inboundSchema.parse(JSON.parse(x)),
1901
+ `Failed to parse 'RepoId' from JSON`,
1902
+ );
1903
+ }
1904
+
1709
1905
  /** @internal */
1710
1906
  export const Type$inboundSchema: z.ZodNativeEnum<typeof Type> = z.nativeEnum(
1711
1907
  Type,
@@ -1765,6 +1961,20 @@ export namespace One$ {
1765
1961
  export type Outbound = One$Outbound;
1766
1962
  }
1767
1963
 
1964
+ export function oneToJSON(one: One): string {
1965
+ return JSON.stringify(One$outboundSchema.parse(one));
1966
+ }
1967
+
1968
+ export function oneFromJSON(
1969
+ jsonString: string,
1970
+ ): SafeParseResult<One, SDKValidationError> {
1971
+ return safeParse(
1972
+ jsonString,
1973
+ (x) => One$inboundSchema.parse(JSON.parse(x)),
1974
+ `Failed to parse 'One' from JSON`,
1975
+ );
1976
+ }
1977
+
1768
1978
  /** @internal */
1769
1979
  export const GitSource$inboundSchema: z.ZodType<
1770
1980
  GitSource,
@@ -1812,6 +2022,20 @@ export namespace GitSource$ {
1812
2022
  export type Outbound = GitSource$Outbound;
1813
2023
  }
1814
2024
 
2025
+ export function gitSourceToJSON(gitSource: GitSource): string {
2026
+ return JSON.stringify(GitSource$outboundSchema.parse(gitSource));
2027
+ }
2028
+
2029
+ export function gitSourceFromJSON(
2030
+ jsonString: string,
2031
+ ): SafeParseResult<GitSource, SDKValidationError> {
2032
+ return safeParse(
2033
+ jsonString,
2034
+ (x) => GitSource$inboundSchema.parse(JSON.parse(x)),
2035
+ `Failed to parse 'GitSource' from JSON`,
2036
+ );
2037
+ }
2038
+
1815
2039
  /** @internal */
1816
2040
  export const Framework$inboundSchema: z.ZodNativeEnum<typeof Framework> = z
1817
2041
  .nativeEnum(Framework);
@@ -1916,6 +2140,22 @@ export namespace ProjectSettings$ {
1916
2140
  export type Outbound = ProjectSettings$Outbound;
1917
2141
  }
1918
2142
 
2143
+ export function projectSettingsToJSON(
2144
+ projectSettings: ProjectSettings,
2145
+ ): string {
2146
+ return JSON.stringify(ProjectSettings$outboundSchema.parse(projectSettings));
2147
+ }
2148
+
2149
+ export function projectSettingsFromJSON(
2150
+ jsonString: string,
2151
+ ): SafeParseResult<ProjectSettings, SDKValidationError> {
2152
+ return safeParse(
2153
+ jsonString,
2154
+ (x) => ProjectSettings$inboundSchema.parse(JSON.parse(x)),
2155
+ `Failed to parse 'ProjectSettings' from JSON`,
2156
+ );
2157
+ }
2158
+
1919
2159
  /** @internal */
1920
2160
  export const Target$inboundSchema: z.ZodNativeEnum<typeof Target> = z
1921
2161
  .nativeEnum(Target);
@@ -2029,6 +2269,26 @@ export namespace CreateDeploymentRequestBody$ {
2029
2269
  export type Outbound = CreateDeploymentRequestBody$Outbound;
2030
2270
  }
2031
2271
 
2272
+ export function createDeploymentRequestBodyToJSON(
2273
+ createDeploymentRequestBody: CreateDeploymentRequestBody,
2274
+ ): string {
2275
+ return JSON.stringify(
2276
+ CreateDeploymentRequestBody$outboundSchema.parse(
2277
+ createDeploymentRequestBody,
2278
+ ),
2279
+ );
2280
+ }
2281
+
2282
+ export function createDeploymentRequestBodyFromJSON(
2283
+ jsonString: string,
2284
+ ): SafeParseResult<CreateDeploymentRequestBody, SDKValidationError> {
2285
+ return safeParse(
2286
+ jsonString,
2287
+ (x) => CreateDeploymentRequestBody$inboundSchema.parse(JSON.parse(x)),
2288
+ `Failed to parse 'CreateDeploymentRequestBody' from JSON`,
2289
+ );
2290
+ }
2291
+
2032
2292
  /** @internal */
2033
2293
  export const CreateDeploymentRequest$inboundSchema: z.ZodType<
2034
2294
  CreateDeploymentRequest,
@@ -2089,6 +2349,24 @@ export namespace CreateDeploymentRequest$ {
2089
2349
  export type Outbound = CreateDeploymentRequest$Outbound;
2090
2350
  }
2091
2351
 
2352
+ export function createDeploymentRequestToJSON(
2353
+ createDeploymentRequest: CreateDeploymentRequest,
2354
+ ): string {
2355
+ return JSON.stringify(
2356
+ CreateDeploymentRequest$outboundSchema.parse(createDeploymentRequest),
2357
+ );
2358
+ }
2359
+
2360
+ export function createDeploymentRequestFromJSON(
2361
+ jsonString: string,
2362
+ ): SafeParseResult<CreateDeploymentRequest, SDKValidationError> {
2363
+ return safeParse(
2364
+ jsonString,
2365
+ (x) => CreateDeploymentRequest$inboundSchema.parse(JSON.parse(x)),
2366
+ `Failed to parse 'CreateDeploymentRequest' from JSON`,
2367
+ );
2368
+ }
2369
+
2092
2370
  /** @internal */
2093
2371
  export const AliasAssignedAt$inboundSchema: z.ZodType<
2094
2372
  AliasAssignedAt,
@@ -2119,6 +2397,22 @@ export namespace AliasAssignedAt$ {
2119
2397
  export type Outbound = AliasAssignedAt$Outbound;
2120
2398
  }
2121
2399
 
2400
+ export function aliasAssignedAtToJSON(
2401
+ aliasAssignedAt: AliasAssignedAt,
2402
+ ): string {
2403
+ return JSON.stringify(AliasAssignedAt$outboundSchema.parse(aliasAssignedAt));
2404
+ }
2405
+
2406
+ export function aliasAssignedAtFromJSON(
2407
+ jsonString: string,
2408
+ ): SafeParseResult<AliasAssignedAt, SDKValidationError> {
2409
+ return safeParse(
2410
+ jsonString,
2411
+ (x) => AliasAssignedAt$inboundSchema.parse(JSON.parse(x)),
2412
+ `Failed to parse 'AliasAssignedAt' from JSON`,
2413
+ );
2414
+ }
2415
+
2122
2416
  /** @internal */
2123
2417
  export const Build$inboundSchema: z.ZodType<Build, z.ZodTypeDef, unknown> = z
2124
2418
  .object({
@@ -2152,6 +2446,20 @@ export namespace Build$ {
2152
2446
  export type Outbound = Build$Outbound;
2153
2447
  }
2154
2448
 
2449
+ export function buildToJSON(build: Build): string {
2450
+ return JSON.stringify(Build$outboundSchema.parse(build));
2451
+ }
2452
+
2453
+ export function buildFromJSON(
2454
+ jsonString: string,
2455
+ ): SafeParseResult<Build, SDKValidationError> {
2456
+ return safeParse(
2457
+ jsonString,
2458
+ (x) => Build$inboundSchema.parse(JSON.parse(x)),
2459
+ `Failed to parse 'Build' from JSON`,
2460
+ );
2461
+ }
2462
+
2155
2463
  /** @internal */
2156
2464
  export const Builds$inboundSchema: z.ZodType<Builds, z.ZodTypeDef, unknown> = z
2157
2465
  .object({});
@@ -2179,6 +2487,20 @@ export namespace Builds$ {
2179
2487
  export type Outbound = Builds$Outbound;
2180
2488
  }
2181
2489
 
2490
+ export function buildsToJSON(builds: Builds): string {
2491
+ return JSON.stringify(Builds$outboundSchema.parse(builds));
2492
+ }
2493
+
2494
+ export function buildsFromJSON(
2495
+ jsonString: string,
2496
+ ): SafeParseResult<Builds, SDKValidationError> {
2497
+ return safeParse(
2498
+ jsonString,
2499
+ (x) => Builds$inboundSchema.parse(JSON.parse(x)),
2500
+ `Failed to parse 'Builds' from JSON`,
2501
+ );
2502
+ }
2503
+
2182
2504
  /** @internal */
2183
2505
  export const CreateDeploymentFramework$inboundSchema: z.ZodNativeEnum<
2184
2506
  typeof CreateDeploymentFramework
@@ -2251,6 +2573,26 @@ export namespace CreateDeploymentSpeedInsights$ {
2251
2573
  export type Outbound = CreateDeploymentSpeedInsights$Outbound;
2252
2574
  }
2253
2575
 
2576
+ export function createDeploymentSpeedInsightsToJSON(
2577
+ createDeploymentSpeedInsights: CreateDeploymentSpeedInsights,
2578
+ ): string {
2579
+ return JSON.stringify(
2580
+ CreateDeploymentSpeedInsights$outboundSchema.parse(
2581
+ createDeploymentSpeedInsights,
2582
+ ),
2583
+ );
2584
+ }
2585
+
2586
+ export function createDeploymentSpeedInsightsFromJSON(
2587
+ jsonString: string,
2588
+ ): SafeParseResult<CreateDeploymentSpeedInsights, SDKValidationError> {
2589
+ return safeParse(
2590
+ jsonString,
2591
+ (x) => CreateDeploymentSpeedInsights$inboundSchema.parse(JSON.parse(x)),
2592
+ `Failed to parse 'CreateDeploymentSpeedInsights' from JSON`,
2593
+ );
2594
+ }
2595
+
2254
2596
  /** @internal */
2255
2597
  export const CreateDeploymentWebAnalytics$inboundSchema: z.ZodType<
2256
2598
  CreateDeploymentWebAnalytics,
@@ -2299,6 +2641,26 @@ export namespace CreateDeploymentWebAnalytics$ {
2299
2641
  export type Outbound = CreateDeploymentWebAnalytics$Outbound;
2300
2642
  }
2301
2643
 
2644
+ export function createDeploymentWebAnalyticsToJSON(
2645
+ createDeploymentWebAnalytics: CreateDeploymentWebAnalytics,
2646
+ ): string {
2647
+ return JSON.stringify(
2648
+ CreateDeploymentWebAnalytics$outboundSchema.parse(
2649
+ createDeploymentWebAnalytics,
2650
+ ),
2651
+ );
2652
+ }
2653
+
2654
+ export function createDeploymentWebAnalyticsFromJSON(
2655
+ jsonString: string,
2656
+ ): SafeParseResult<CreateDeploymentWebAnalytics, SDKValidationError> {
2657
+ return safeParse(
2658
+ jsonString,
2659
+ (x) => CreateDeploymentWebAnalytics$inboundSchema.parse(JSON.parse(x)),
2660
+ `Failed to parse 'CreateDeploymentWebAnalytics' from JSON`,
2661
+ );
2662
+ }
2663
+
2302
2664
  /** @internal */
2303
2665
  export const CreateDeploymentProjectSettings$inboundSchema: z.ZodType<
2304
2666
  CreateDeploymentProjectSettings,
@@ -2360,6 +2722,26 @@ export namespace CreateDeploymentProjectSettings$ {
2360
2722
  export type Outbound = CreateDeploymentProjectSettings$Outbound;
2361
2723
  }
2362
2724
 
2725
+ export function createDeploymentProjectSettingsToJSON(
2726
+ createDeploymentProjectSettings: CreateDeploymentProjectSettings,
2727
+ ): string {
2728
+ return JSON.stringify(
2729
+ CreateDeploymentProjectSettings$outboundSchema.parse(
2730
+ createDeploymentProjectSettings,
2731
+ ),
2732
+ );
2733
+ }
2734
+
2735
+ export function createDeploymentProjectSettingsFromJSON(
2736
+ jsonString: string,
2737
+ ): SafeParseResult<CreateDeploymentProjectSettings, SDKValidationError> {
2738
+ return safeParse(
2739
+ jsonString,
2740
+ (x) => CreateDeploymentProjectSettings$inboundSchema.parse(JSON.parse(x)),
2741
+ `Failed to parse 'CreateDeploymentProjectSettings' from JSON`,
2742
+ );
2743
+ }
2744
+
2363
2745
  /** @internal */
2364
2746
  export const CreateDeploymentDeploymentsStatus$inboundSchema: z.ZodNativeEnum<
2365
2747
  typeof CreateDeploymentDeploymentsStatus
@@ -2430,6 +2812,20 @@ export namespace Integrations$ {
2430
2812
  export type Outbound = Integrations$Outbound;
2431
2813
  }
2432
2814
 
2815
+ export function integrationsToJSON(integrations: Integrations): string {
2816
+ return JSON.stringify(Integrations$outboundSchema.parse(integrations));
2817
+ }
2818
+
2819
+ export function integrationsFromJSON(
2820
+ jsonString: string,
2821
+ ): SafeParseResult<Integrations, SDKValidationError> {
2822
+ return safeParse(
2823
+ jsonString,
2824
+ (x) => Integrations$inboundSchema.parse(JSON.parse(x)),
2825
+ `Failed to parse 'Integrations' from JSON`,
2826
+ );
2827
+ }
2828
+
2433
2829
  /** @internal */
2434
2830
  export const Creator$inboundSchema: z.ZodType<Creator, z.ZodTypeDef, unknown> =
2435
2831
  z.object({
@@ -2469,6 +2865,20 @@ export namespace Creator$ {
2469
2865
  export type Outbound = Creator$Outbound;
2470
2866
  }
2471
2867
 
2868
+ export function creatorToJSON(creator: Creator): string {
2869
+ return JSON.stringify(Creator$outboundSchema.parse(creator));
2870
+ }
2871
+
2872
+ export function creatorFromJSON(
2873
+ jsonString: string,
2874
+ ): SafeParseResult<Creator, SDKValidationError> {
2875
+ return safeParse(
2876
+ jsonString,
2877
+ (x) => Creator$inboundSchema.parse(JSON.parse(x)),
2878
+ `Failed to parse 'Creator' from JSON`,
2879
+ );
2880
+ }
2881
+
2472
2882
  /** @internal */
2473
2883
  export const CreateDeploymentReadyState$inboundSchema: z.ZodNativeEnum<
2474
2884
  typeof CreateDeploymentReadyState
@@ -2529,6 +2939,24 @@ export namespace CreateDeploymentOutput$ {
2529
2939
  export type Outbound = CreateDeploymentOutput$Outbound;
2530
2940
  }
2531
2941
 
2942
+ export function createDeploymentOutputToJSON(
2943
+ createDeploymentOutput: CreateDeploymentOutput,
2944
+ ): string {
2945
+ return JSON.stringify(
2946
+ CreateDeploymentOutput$outboundSchema.parse(createDeploymentOutput),
2947
+ );
2948
+ }
2949
+
2950
+ export function createDeploymentOutputFromJSON(
2951
+ jsonString: string,
2952
+ ): SafeParseResult<CreateDeploymentOutput, SDKValidationError> {
2953
+ return safeParse(
2954
+ jsonString,
2955
+ (x) => CreateDeploymentOutput$inboundSchema.parse(JSON.parse(x)),
2956
+ `Failed to parse 'CreateDeploymentOutput' from JSON`,
2957
+ );
2958
+ }
2959
+
2532
2960
  /** @internal */
2533
2961
  export const Lambdas$inboundSchema: z.ZodType<Lambdas, z.ZodTypeDef, unknown> =
2534
2962
  z.object({
@@ -2577,6 +3005,20 @@ export namespace Lambdas$ {
2577
3005
  export type Outbound = Lambdas$Outbound;
2578
3006
  }
2579
3007
 
3008
+ export function lambdasToJSON(lambdas: Lambdas): string {
3009
+ return JSON.stringify(Lambdas$outboundSchema.parse(lambdas));
3010
+ }
3011
+
3012
+ export function lambdasFromJSON(
3013
+ jsonString: string,
3014
+ ): SafeParseResult<Lambdas, SDKValidationError> {
3015
+ return safeParse(
3016
+ jsonString,
3017
+ (x) => Lambdas$inboundSchema.parse(JSON.parse(x)),
3018
+ `Failed to parse 'Lambdas' from JSON`,
3019
+ );
3020
+ }
3021
+
2580
3022
  /** @internal */
2581
3023
  export const CreateDeploymentStatus$inboundSchema: z.ZodNativeEnum<
2582
3024
  typeof CreateDeploymentStatus
@@ -2637,6 +3079,20 @@ export namespace Team$ {
2637
3079
  export type Outbound = Team$Outbound;
2638
3080
  }
2639
3081
 
3082
+ export function teamToJSON(team: Team): string {
3083
+ return JSON.stringify(Team$outboundSchema.parse(team));
3084
+ }
3085
+
3086
+ export function teamFromJSON(
3087
+ jsonString: string,
3088
+ ): SafeParseResult<Team, SDKValidationError> {
3089
+ return safeParse(
3090
+ jsonString,
3091
+ (x) => Team$inboundSchema.parse(JSON.parse(x)),
3092
+ `Failed to parse 'Team' from JSON`,
3093
+ );
3094
+ }
3095
+
2640
3096
  /** @internal */
2641
3097
  export const CustomEnvironment2$inboundSchema: z.ZodType<
2642
3098
  CustomEnvironment2,
@@ -2673,6 +3129,24 @@ export namespace CustomEnvironment2$ {
2673
3129
  export type Outbound = CustomEnvironment2$Outbound;
2674
3130
  }
2675
3131
 
3132
+ export function customEnvironment2ToJSON(
3133
+ customEnvironment2: CustomEnvironment2,
3134
+ ): string {
3135
+ return JSON.stringify(
3136
+ CustomEnvironment2$outboundSchema.parse(customEnvironment2),
3137
+ );
3138
+ }
3139
+
3140
+ export function customEnvironment2FromJSON(
3141
+ jsonString: string,
3142
+ ): SafeParseResult<CustomEnvironment2, SDKValidationError> {
3143
+ return safeParse(
3144
+ jsonString,
3145
+ (x) => CustomEnvironment2$inboundSchema.parse(JSON.parse(x)),
3146
+ `Failed to parse 'CustomEnvironment2' from JSON`,
3147
+ );
3148
+ }
3149
+
2676
3150
  /** @internal */
2677
3151
  export const CustomEnvironment1$inboundSchema: z.ZodType<
2678
3152
  CustomEnvironment1,
@@ -2703,6 +3177,24 @@ export namespace CustomEnvironment1$ {
2703
3177
  export type Outbound = CustomEnvironment1$Outbound;
2704
3178
  }
2705
3179
 
3180
+ export function customEnvironment1ToJSON(
3181
+ customEnvironment1: CustomEnvironment1,
3182
+ ): string {
3183
+ return JSON.stringify(
3184
+ CustomEnvironment1$outboundSchema.parse(customEnvironment1),
3185
+ );
3186
+ }
3187
+
3188
+ export function customEnvironment1FromJSON(
3189
+ jsonString: string,
3190
+ ): SafeParseResult<CustomEnvironment1, SDKValidationError> {
3191
+ return safeParse(
3192
+ jsonString,
3193
+ (x) => CustomEnvironment1$inboundSchema.parse(JSON.parse(x)),
3194
+ `Failed to parse 'CustomEnvironment1' from JSON`,
3195
+ );
3196
+ }
3197
+
2706
3198
  /** @internal */
2707
3199
  export const CustomEnvironment$inboundSchema: z.ZodType<
2708
3200
  CustomEnvironment,
@@ -2741,6 +3233,24 @@ export namespace CustomEnvironment$ {
2741
3233
  export type Outbound = CustomEnvironment$Outbound;
2742
3234
  }
2743
3235
 
3236
+ export function customEnvironmentToJSON(
3237
+ customEnvironment: CustomEnvironment,
3238
+ ): string {
3239
+ return JSON.stringify(
3240
+ CustomEnvironment$outboundSchema.parse(customEnvironment),
3241
+ );
3242
+ }
3243
+
3244
+ export function customEnvironmentFromJSON(
3245
+ jsonString: string,
3246
+ ): SafeParseResult<CustomEnvironment, SDKValidationError> {
3247
+ return safeParse(
3248
+ jsonString,
3249
+ (x) => CustomEnvironment$inboundSchema.parse(JSON.parse(x)),
3250
+ `Failed to parse 'CustomEnvironment' from JSON`,
3251
+ );
3252
+ }
3253
+
2744
3254
  /** @internal */
2745
3255
  export const CreateDeploymentType$inboundSchema: z.ZodNativeEnum<
2746
3256
  typeof CreateDeploymentType
@@ -2846,6 +3356,24 @@ export namespace CreateDeploymentGitSource9$ {
2846
3356
  export type Outbound = CreateDeploymentGitSource9$Outbound;
2847
3357
  }
2848
3358
 
3359
+ export function createDeploymentGitSource9ToJSON(
3360
+ createDeploymentGitSource9: CreateDeploymentGitSource9,
3361
+ ): string {
3362
+ return JSON.stringify(
3363
+ CreateDeploymentGitSource9$outboundSchema.parse(createDeploymentGitSource9),
3364
+ );
3365
+ }
3366
+
3367
+ export function createDeploymentGitSource9FromJSON(
3368
+ jsonString: string,
3369
+ ): SafeParseResult<CreateDeploymentGitSource9, SDKValidationError> {
3370
+ return safeParse(
3371
+ jsonString,
3372
+ (x) => CreateDeploymentGitSource9$inboundSchema.parse(JSON.parse(x)),
3373
+ `Failed to parse 'CreateDeploymentGitSource9' from JSON`,
3374
+ );
3375
+ }
3376
+
2849
3377
  /** @internal */
2850
3378
  export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$inboundSchema:
2851
3379
  z.ZodNativeEnum<
@@ -2921,6 +3449,24 @@ export namespace CreateDeploymentGitSource8$ {
2921
3449
  export type Outbound = CreateDeploymentGitSource8$Outbound;
2922
3450
  }
2923
3451
 
3452
+ export function createDeploymentGitSource8ToJSON(
3453
+ createDeploymentGitSource8: CreateDeploymentGitSource8,
3454
+ ): string {
3455
+ return JSON.stringify(
3456
+ CreateDeploymentGitSource8$outboundSchema.parse(createDeploymentGitSource8),
3457
+ );
3458
+ }
3459
+
3460
+ export function createDeploymentGitSource8FromJSON(
3461
+ jsonString: string,
3462
+ ): SafeParseResult<CreateDeploymentGitSource8, SDKValidationError> {
3463
+ return safeParse(
3464
+ jsonString,
3465
+ (x) => CreateDeploymentGitSource8$inboundSchema.parse(JSON.parse(x)),
3466
+ `Failed to parse 'CreateDeploymentGitSource8' from JSON`,
3467
+ );
3468
+ }
3469
+
2924
3470
  /** @internal */
2925
3471
  export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$inboundSchema:
2926
3472
  z.ZodNativeEnum<
@@ -3002,6 +3548,24 @@ export namespace CreateDeploymentGitSource7$ {
3002
3548
  export type Outbound = CreateDeploymentGitSource7$Outbound;
3003
3549
  }
3004
3550
 
3551
+ export function createDeploymentGitSource7ToJSON(
3552
+ createDeploymentGitSource7: CreateDeploymentGitSource7,
3553
+ ): string {
3554
+ return JSON.stringify(
3555
+ CreateDeploymentGitSource7$outboundSchema.parse(createDeploymentGitSource7),
3556
+ );
3557
+ }
3558
+
3559
+ export function createDeploymentGitSource7FromJSON(
3560
+ jsonString: string,
3561
+ ): SafeParseResult<CreateDeploymentGitSource7, SDKValidationError> {
3562
+ return safeParse(
3563
+ jsonString,
3564
+ (x) => CreateDeploymentGitSource7$inboundSchema.parse(JSON.parse(x)),
3565
+ `Failed to parse 'CreateDeploymentGitSource7' from JSON`,
3566
+ );
3567
+ }
3568
+
3005
3569
  /** @internal */
3006
3570
  export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type$inboundSchema:
3007
3571
  z.ZodNativeEnum<
@@ -3077,6 +3641,24 @@ export namespace CreateDeploymentGitSource6$ {
3077
3641
  export type Outbound = CreateDeploymentGitSource6$Outbound;
3078
3642
  }
3079
3643
 
3644
+ export function createDeploymentGitSource6ToJSON(
3645
+ createDeploymentGitSource6: CreateDeploymentGitSource6,
3646
+ ): string {
3647
+ return JSON.stringify(
3648
+ CreateDeploymentGitSource6$outboundSchema.parse(createDeploymentGitSource6),
3649
+ );
3650
+ }
3651
+
3652
+ export function createDeploymentGitSource6FromJSON(
3653
+ jsonString: string,
3654
+ ): SafeParseResult<CreateDeploymentGitSource6, SDKValidationError> {
3655
+ return safeParse(
3656
+ jsonString,
3657
+ (x) => CreateDeploymentGitSource6$inboundSchema.parse(JSON.parse(x)),
3658
+ `Failed to parse 'CreateDeploymentGitSource6' from JSON`,
3659
+ );
3660
+ }
3661
+
3080
3662
  /** @internal */
3081
3663
  export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type$inboundSchema:
3082
3664
  z.ZodNativeEnum<
@@ -3158,6 +3740,20 @@ export namespace GitSource5$ {
3158
3740
  export type Outbound = GitSource5$Outbound;
3159
3741
  }
3160
3742
 
3743
+ export function gitSource5ToJSON(gitSource5: GitSource5): string {
3744
+ return JSON.stringify(GitSource5$outboundSchema.parse(gitSource5));
3745
+ }
3746
+
3747
+ export function gitSource5FromJSON(
3748
+ jsonString: string,
3749
+ ): SafeParseResult<GitSource5, SDKValidationError> {
3750
+ return safeParse(
3751
+ jsonString,
3752
+ (x) => GitSource5$inboundSchema.parse(JSON.parse(x)),
3753
+ `Failed to parse 'GitSource5' from JSON`,
3754
+ );
3755
+ }
3756
+
3161
3757
  /** @internal */
3162
3758
  export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema:
3163
3759
  z.ZodNativeEnum<
@@ -3239,6 +3835,20 @@ export namespace GitSource4$ {
3239
3835
  export type Outbound = GitSource4$Outbound;
3240
3836
  }
3241
3837
 
3838
+ export function gitSource4ToJSON(gitSource4: GitSource4): string {
3839
+ return JSON.stringify(GitSource4$outboundSchema.parse(gitSource4));
3840
+ }
3841
+
3842
+ export function gitSource4FromJSON(
3843
+ jsonString: string,
3844
+ ): SafeParseResult<GitSource4, SDKValidationError> {
3845
+ return safeParse(
3846
+ jsonString,
3847
+ (x) => GitSource4$inboundSchema.parse(JSON.parse(x)),
3848
+ `Failed to parse 'GitSource4' from JSON`,
3849
+ );
3850
+ }
3851
+
3242
3852
  /** @internal */
3243
3853
  export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$inboundSchema:
3244
3854
  z.ZodNativeEnum<
@@ -3297,6 +3907,24 @@ export namespace GitSourceProjectId$ {
3297
3907
  export type Outbound = GitSourceProjectId$Outbound;
3298
3908
  }
3299
3909
 
3910
+ export function gitSourceProjectIdToJSON(
3911
+ gitSourceProjectId: GitSourceProjectId,
3912
+ ): string {
3913
+ return JSON.stringify(
3914
+ GitSourceProjectId$outboundSchema.parse(gitSourceProjectId),
3915
+ );
3916
+ }
3917
+
3918
+ export function gitSourceProjectIdFromJSON(
3919
+ jsonString: string,
3920
+ ): SafeParseResult<GitSourceProjectId, SDKValidationError> {
3921
+ return safeParse(
3922
+ jsonString,
3923
+ (x) => GitSourceProjectId$inboundSchema.parse(JSON.parse(x)),
3924
+ `Failed to parse 'GitSourceProjectId' from JSON`,
3925
+ );
3926
+ }
3927
+
3300
3928
  /** @internal */
3301
3929
  export const GitSource3$inboundSchema: z.ZodType<
3302
3930
  GitSource3,
@@ -3347,6 +3975,20 @@ export namespace GitSource3$ {
3347
3975
  export type Outbound = GitSource3$Outbound;
3348
3976
  }
3349
3977
 
3978
+ export function gitSource3ToJSON(gitSource3: GitSource3): string {
3979
+ return JSON.stringify(GitSource3$outboundSchema.parse(gitSource3));
3980
+ }
3981
+
3982
+ export function gitSource3FromJSON(
3983
+ jsonString: string,
3984
+ ): SafeParseResult<GitSource3, SDKValidationError> {
3985
+ return safeParse(
3986
+ jsonString,
3987
+ (x) => GitSource3$inboundSchema.parse(JSON.parse(x)),
3988
+ `Failed to parse 'GitSource3' from JSON`,
3989
+ );
3990
+ }
3991
+
3350
3992
  /** @internal */
3351
3993
  export const CreateDeploymentGitSourceDeploymentsResponse200Type$inboundSchema:
3352
3994
  z.ZodNativeEnum<typeof CreateDeploymentGitSourceDeploymentsResponse200Type> =
@@ -3421,6 +4063,20 @@ export namespace GitSource2$ {
3421
4063
  export type Outbound = GitSource2$Outbound;
3422
4064
  }
3423
4065
 
4066
+ export function gitSource2ToJSON(gitSource2: GitSource2): string {
4067
+ return JSON.stringify(GitSource2$outboundSchema.parse(gitSource2));
4068
+ }
4069
+
4070
+ export function gitSource2FromJSON(
4071
+ jsonString: string,
4072
+ ): SafeParseResult<GitSource2, SDKValidationError> {
4073
+ return safeParse(
4074
+ jsonString,
4075
+ (x) => GitSource2$inboundSchema.parse(JSON.parse(x)),
4076
+ `Failed to parse 'GitSource2' from JSON`,
4077
+ );
4078
+ }
4079
+
3424
4080
  /** @internal */
3425
4081
  export const CreateDeploymentGitSourceDeploymentsResponseType$inboundSchema:
3426
4082
  z.ZodNativeEnum<typeof CreateDeploymentGitSourceDeploymentsResponseType> = z
@@ -3474,6 +4130,22 @@ export namespace GitSourceRepoId$ {
3474
4130
  export type Outbound = GitSourceRepoId$Outbound;
3475
4131
  }
3476
4132
 
4133
+ export function gitSourceRepoIdToJSON(
4134
+ gitSourceRepoId: GitSourceRepoId,
4135
+ ): string {
4136
+ return JSON.stringify(GitSourceRepoId$outboundSchema.parse(gitSourceRepoId));
4137
+ }
4138
+
4139
+ export function gitSourceRepoIdFromJSON(
4140
+ jsonString: string,
4141
+ ): SafeParseResult<GitSourceRepoId, SDKValidationError> {
4142
+ return safeParse(
4143
+ jsonString,
4144
+ (x) => GitSourceRepoId$inboundSchema.parse(JSON.parse(x)),
4145
+ `Failed to parse 'GitSourceRepoId' from JSON`,
4146
+ );
4147
+ }
4148
+
3477
4149
  /** @internal */
3478
4150
  export const GitSource1$inboundSchema: z.ZodType<
3479
4151
  GitSource1,
@@ -3522,6 +4194,20 @@ export namespace GitSource1$ {
3522
4194
  export type Outbound = GitSource1$Outbound;
3523
4195
  }
3524
4196
 
4197
+ export function gitSource1ToJSON(gitSource1: GitSource1): string {
4198
+ return JSON.stringify(GitSource1$outboundSchema.parse(gitSource1));
4199
+ }
4200
+
4201
+ export function gitSource1FromJSON(
4202
+ jsonString: string,
4203
+ ): SafeParseResult<GitSource1, SDKValidationError> {
4204
+ return safeParse(
4205
+ jsonString,
4206
+ (x) => GitSource1$inboundSchema.parse(JSON.parse(x)),
4207
+ `Failed to parse 'GitSource1' from JSON`,
4208
+ );
4209
+ }
4210
+
3525
4211
  /** @internal */
3526
4212
  export const CreateDeploymentGitSource$inboundSchema: z.ZodType<
3527
4213
  CreateDeploymentGitSource,
@@ -3581,6 +4267,24 @@ export namespace CreateDeploymentGitSource$ {
3581
4267
  export type Outbound = CreateDeploymentGitSource$Outbound;
3582
4268
  }
3583
4269
 
4270
+ export function createDeploymentGitSourceToJSON(
4271
+ createDeploymentGitSource: CreateDeploymentGitSource,
4272
+ ): string {
4273
+ return JSON.stringify(
4274
+ CreateDeploymentGitSource$outboundSchema.parse(createDeploymentGitSource),
4275
+ );
4276
+ }
4277
+
4278
+ export function createDeploymentGitSourceFromJSON(
4279
+ jsonString: string,
4280
+ ): SafeParseResult<CreateDeploymentGitSource, SDKValidationError> {
4281
+ return safeParse(
4282
+ jsonString,
4283
+ (x) => CreateDeploymentGitSource$inboundSchema.parse(JSON.parse(x)),
4284
+ `Failed to parse 'CreateDeploymentGitSource' from JSON`,
4285
+ );
4286
+ }
4287
+
3584
4288
  /** @internal */
3585
4289
  export const Project$inboundSchema: z.ZodType<Project, z.ZodTypeDef, unknown> =
3586
4290
  z.object({
@@ -3620,6 +4324,20 @@ export namespace Project$ {
3620
4324
  export type Outbound = Project$Outbound;
3621
4325
  }
3622
4326
 
4327
+ export function projectToJSON(project: Project): string {
4328
+ return JSON.stringify(Project$outboundSchema.parse(project));
4329
+ }
4330
+
4331
+ export function projectFromJSON(
4332
+ jsonString: string,
4333
+ ): SafeParseResult<Project, SDKValidationError> {
4334
+ return safeParse(
4335
+ jsonString,
4336
+ (x) => Project$inboundSchema.parse(JSON.parse(x)),
4337
+ `Failed to parse 'Project' from JSON`,
4338
+ );
4339
+ }
4340
+
3623
4341
  /** @internal */
3624
4342
  export const ReadyState$inboundSchema: z.ZodNativeEnum<typeof ReadyState> = z
3625
4343
  .nativeEnum(ReadyState);
@@ -3726,6 +4444,20 @@ export namespace AliasWarning$ {
3726
4444
  export type Outbound = AliasWarning$Outbound;
3727
4445
  }
3728
4446
 
4447
+ export function aliasWarningToJSON(aliasWarning: AliasWarning): string {
4448
+ return JSON.stringify(AliasWarning$outboundSchema.parse(aliasWarning));
4449
+ }
4450
+
4451
+ export function aliasWarningFromJSON(
4452
+ jsonString: string,
4453
+ ): SafeParseResult<AliasWarning, SDKValidationError> {
4454
+ return safeParse(
4455
+ jsonString,
4456
+ (x) => AliasWarning$inboundSchema.parse(JSON.parse(x)),
4457
+ `Failed to parse 'AliasWarning' from JSON`,
4458
+ );
4459
+ }
4460
+
3729
4461
  /** @internal */
3730
4462
  export const AliasError$inboundSchema: z.ZodType<
3731
4463
  AliasError,
@@ -3765,6 +4497,20 @@ export namespace AliasError$ {
3765
4497
  export type Outbound = AliasError$Outbound;
3766
4498
  }
3767
4499
 
4500
+ export function aliasErrorToJSON(aliasError: AliasError): string {
4501
+ return JSON.stringify(AliasError$outboundSchema.parse(aliasError));
4502
+ }
4503
+
4504
+ export function aliasErrorFromJSON(
4505
+ jsonString: string,
4506
+ ): SafeParseResult<AliasError, SDKValidationError> {
4507
+ return safeParse(
4508
+ jsonString,
4509
+ (x) => AliasError$inboundSchema.parse(JSON.parse(x)),
4510
+ `Failed to parse 'AliasError' from JSON`,
4511
+ );
4512
+ }
4513
+
3768
4514
  /** @internal */
3769
4515
  export const ChecksState$inboundSchema: z.ZodNativeEnum<typeof ChecksState> = z
3770
4516
  .nativeEnum(ChecksState);
@@ -3896,6 +4642,255 @@ export namespace OidcTokenClaims$ {
3896
4642
  export type Outbound = OidcTokenClaims$Outbound;
3897
4643
  }
3898
4644
 
4645
+ export function oidcTokenClaimsToJSON(
4646
+ oidcTokenClaims: OidcTokenClaims,
4647
+ ): string {
4648
+ return JSON.stringify(OidcTokenClaims$outboundSchema.parse(oidcTokenClaims));
4649
+ }
4650
+
4651
+ export function oidcTokenClaimsFromJSON(
4652
+ jsonString: string,
4653
+ ): SafeParseResult<OidcTokenClaims, SDKValidationError> {
4654
+ return safeParse(
4655
+ jsonString,
4656
+ (x) => OidcTokenClaims$inboundSchema.parse(JSON.parse(x)),
4657
+ `Failed to parse 'OidcTokenClaims' from JSON`,
4658
+ );
4659
+ }
4660
+
4661
+ /** @internal */
4662
+ export const Applications$inboundSchema: z.ZodType<
4663
+ Applications,
4664
+ z.ZodTypeDef,
4665
+ unknown
4666
+ > = z.object({
4667
+ productionHost: z.string(),
4668
+ deploymentAlias: z.string().optional(),
4669
+ deploymentHost: z.string().optional(),
4670
+ });
4671
+
4672
+ /** @internal */
4673
+ export type Applications$Outbound = {
4674
+ productionHost: string;
4675
+ deploymentAlias?: string | undefined;
4676
+ deploymentHost?: string | undefined;
4677
+ };
4678
+
4679
+ /** @internal */
4680
+ export const Applications$outboundSchema: z.ZodType<
4681
+ Applications$Outbound,
4682
+ z.ZodTypeDef,
4683
+ Applications
4684
+ > = z.object({
4685
+ productionHost: z.string(),
4686
+ deploymentAlias: z.string().optional(),
4687
+ deploymentHost: z.string().optional(),
4688
+ });
4689
+
4690
+ /**
4691
+ * @internal
4692
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4693
+ */
4694
+ export namespace Applications$ {
4695
+ /** @deprecated use `Applications$inboundSchema` instead. */
4696
+ export const inboundSchema = Applications$inboundSchema;
4697
+ /** @deprecated use `Applications$outboundSchema` instead. */
4698
+ export const outboundSchema = Applications$outboundSchema;
4699
+ /** @deprecated use `Applications$Outbound` instead. */
4700
+ export type Outbound = Applications$Outbound;
4701
+ }
4702
+
4703
+ export function applicationsToJSON(applications: Applications): string {
4704
+ return JSON.stringify(Applications$outboundSchema.parse(applications));
4705
+ }
4706
+
4707
+ export function applicationsFromJSON(
4708
+ jsonString: string,
4709
+ ): SafeParseResult<Applications, SDKValidationError> {
4710
+ return safeParse(
4711
+ jsonString,
4712
+ (x) => Applications$inboundSchema.parse(JSON.parse(x)),
4713
+ `Failed to parse 'Applications' from JSON`,
4714
+ );
4715
+ }
4716
+
4717
+ /** @internal */
4718
+ export const Microfrontends2$inboundSchema: z.ZodType<
4719
+ Microfrontends2,
4720
+ z.ZodTypeDef,
4721
+ unknown
4722
+ > = z.object({
4723
+ applications: z.record(z.lazy(() => Applications$inboundSchema)).optional(),
4724
+ isDefaultApp: z.boolean(),
4725
+ defaultRoute: z.string().optional(),
4726
+ groupIds: z.array(z.string()),
4727
+ });
4728
+
4729
+ /** @internal */
4730
+ export type Microfrontends2$Outbound = {
4731
+ applications?: { [k: string]: Applications$Outbound } | undefined;
4732
+ isDefaultApp: boolean;
4733
+ defaultRoute?: string | undefined;
4734
+ groupIds: Array<string>;
4735
+ };
4736
+
4737
+ /** @internal */
4738
+ export const Microfrontends2$outboundSchema: z.ZodType<
4739
+ Microfrontends2$Outbound,
4740
+ z.ZodTypeDef,
4741
+ Microfrontends2
4742
+ > = z.object({
4743
+ applications: z.record(z.lazy(() => Applications$outboundSchema)).optional(),
4744
+ isDefaultApp: z.boolean(),
4745
+ defaultRoute: z.string().optional(),
4746
+ groupIds: z.array(z.string()),
4747
+ });
4748
+
4749
+ /**
4750
+ * @internal
4751
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4752
+ */
4753
+ export namespace Microfrontends2$ {
4754
+ /** @deprecated use `Microfrontends2$inboundSchema` instead. */
4755
+ export const inboundSchema = Microfrontends2$inboundSchema;
4756
+ /** @deprecated use `Microfrontends2$outboundSchema` instead. */
4757
+ export const outboundSchema = Microfrontends2$outboundSchema;
4758
+ /** @deprecated use `Microfrontends2$Outbound` instead. */
4759
+ export type Outbound = Microfrontends2$Outbound;
4760
+ }
4761
+
4762
+ export function microfrontends2ToJSON(
4763
+ microfrontends2: Microfrontends2,
4764
+ ): string {
4765
+ return JSON.stringify(Microfrontends2$outboundSchema.parse(microfrontends2));
4766
+ }
4767
+
4768
+ export function microfrontends2FromJSON(
4769
+ jsonString: string,
4770
+ ): SafeParseResult<Microfrontends2, SDKValidationError> {
4771
+ return safeParse(
4772
+ jsonString,
4773
+ (x) => Microfrontends2$inboundSchema.parse(JSON.parse(x)),
4774
+ `Failed to parse 'Microfrontends2' from JSON`,
4775
+ );
4776
+ }
4777
+
4778
+ /** @internal */
4779
+ export const Microfrontends1$inboundSchema: z.ZodType<
4780
+ Microfrontends1,
4781
+ z.ZodTypeDef,
4782
+ unknown
4783
+ > = z.object({
4784
+ isDefaultApp: z.boolean().optional(),
4785
+ defaultRoute: z.string().optional(),
4786
+ groupIds: z.array(z.string()),
4787
+ });
4788
+
4789
+ /** @internal */
4790
+ export type Microfrontends1$Outbound = {
4791
+ isDefaultApp?: boolean | undefined;
4792
+ defaultRoute?: string | undefined;
4793
+ groupIds: Array<string>;
4794
+ };
4795
+
4796
+ /** @internal */
4797
+ export const Microfrontends1$outboundSchema: z.ZodType<
4798
+ Microfrontends1$Outbound,
4799
+ z.ZodTypeDef,
4800
+ Microfrontends1
4801
+ > = z.object({
4802
+ isDefaultApp: z.boolean().optional(),
4803
+ defaultRoute: z.string().optional(),
4804
+ groupIds: z.array(z.string()),
4805
+ });
4806
+
4807
+ /**
4808
+ * @internal
4809
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4810
+ */
4811
+ export namespace Microfrontends1$ {
4812
+ /** @deprecated use `Microfrontends1$inboundSchema` instead. */
4813
+ export const inboundSchema = Microfrontends1$inboundSchema;
4814
+ /** @deprecated use `Microfrontends1$outboundSchema` instead. */
4815
+ export const outboundSchema = Microfrontends1$outboundSchema;
4816
+ /** @deprecated use `Microfrontends1$Outbound` instead. */
4817
+ export type Outbound = Microfrontends1$Outbound;
4818
+ }
4819
+
4820
+ export function microfrontends1ToJSON(
4821
+ microfrontends1: Microfrontends1,
4822
+ ): string {
4823
+ return JSON.stringify(Microfrontends1$outboundSchema.parse(microfrontends1));
4824
+ }
4825
+
4826
+ export function microfrontends1FromJSON(
4827
+ jsonString: string,
4828
+ ): SafeParseResult<Microfrontends1, SDKValidationError> {
4829
+ return safeParse(
4830
+ jsonString,
4831
+ (x) => Microfrontends1$inboundSchema.parse(JSON.parse(x)),
4832
+ `Failed to parse 'Microfrontends1' from JSON`,
4833
+ );
4834
+ }
4835
+
4836
+ /** @internal */
4837
+ export const CreateDeploymentMicrofrontends$inboundSchema: z.ZodType<
4838
+ CreateDeploymentMicrofrontends,
4839
+ z.ZodTypeDef,
4840
+ unknown
4841
+ > = z.union([
4842
+ z.lazy(() => Microfrontends1$inboundSchema),
4843
+ z.lazy(() => Microfrontends2$inboundSchema),
4844
+ ]);
4845
+
4846
+ /** @internal */
4847
+ export type CreateDeploymentMicrofrontends$Outbound =
4848
+ | Microfrontends1$Outbound
4849
+ | Microfrontends2$Outbound;
4850
+
4851
+ /** @internal */
4852
+ export const CreateDeploymentMicrofrontends$outboundSchema: z.ZodType<
4853
+ CreateDeploymentMicrofrontends$Outbound,
4854
+ z.ZodTypeDef,
4855
+ CreateDeploymentMicrofrontends
4856
+ > = z.union([
4857
+ z.lazy(() => Microfrontends1$outboundSchema),
4858
+ z.lazy(() => Microfrontends2$outboundSchema),
4859
+ ]);
4860
+
4861
+ /**
4862
+ * @internal
4863
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4864
+ */
4865
+ export namespace CreateDeploymentMicrofrontends$ {
4866
+ /** @deprecated use `CreateDeploymentMicrofrontends$inboundSchema` instead. */
4867
+ export const inboundSchema = CreateDeploymentMicrofrontends$inboundSchema;
4868
+ /** @deprecated use `CreateDeploymentMicrofrontends$outboundSchema` instead. */
4869
+ export const outboundSchema = CreateDeploymentMicrofrontends$outboundSchema;
4870
+ /** @deprecated use `CreateDeploymentMicrofrontends$Outbound` instead. */
4871
+ export type Outbound = CreateDeploymentMicrofrontends$Outbound;
4872
+ }
4873
+
4874
+ export function createDeploymentMicrofrontendsToJSON(
4875
+ createDeploymentMicrofrontends: CreateDeploymentMicrofrontends,
4876
+ ): string {
4877
+ return JSON.stringify(
4878
+ CreateDeploymentMicrofrontends$outboundSchema.parse(
4879
+ createDeploymentMicrofrontends,
4880
+ ),
4881
+ );
4882
+ }
4883
+
4884
+ export function createDeploymentMicrofrontendsFromJSON(
4885
+ jsonString: string,
4886
+ ): SafeParseResult<CreateDeploymentMicrofrontends, SDKValidationError> {
4887
+ return safeParse(
4888
+ jsonString,
4889
+ (x) => CreateDeploymentMicrofrontends$inboundSchema.parse(JSON.parse(x)),
4890
+ `Failed to parse 'CreateDeploymentMicrofrontends' from JSON`,
4891
+ );
4892
+ }
4893
+
3899
4894
  /** @internal */
3900
4895
  export const Functions$inboundSchema: z.ZodType<
3901
4896
  Functions,
@@ -3944,6 +4939,20 @@ export namespace Functions$ {
3944
4939
  export type Outbound = Functions$Outbound;
3945
4940
  }
3946
4941
 
4942
+ export function functionsToJSON(functions: Functions): string {
4943
+ return JSON.stringify(Functions$outboundSchema.parse(functions));
4944
+ }
4945
+
4946
+ export function functionsFromJSON(
4947
+ jsonString: string,
4948
+ ): SafeParseResult<Functions, SDKValidationError> {
4949
+ return safeParse(
4950
+ jsonString,
4951
+ (x) => Functions$inboundSchema.parse(JSON.parse(x)),
4952
+ `Failed to parse 'Functions' from JSON`,
4953
+ );
4954
+ }
4955
+
3947
4956
  /** @internal */
3948
4957
  export const Routes3$inboundSchema: z.ZodType<Routes3, z.ZodTypeDef, unknown> =
3949
4958
  z.object({
@@ -3983,6 +4992,20 @@ export namespace Routes3$ {
3983
4992
  export type Outbound = Routes3$Outbound;
3984
4993
  }
3985
4994
 
4995
+ export function routes3ToJSON(routes3: Routes3): string {
4996
+ return JSON.stringify(Routes3$outboundSchema.parse(routes3));
4997
+ }
4998
+
4999
+ export function routes3FromJSON(
5000
+ jsonString: string,
5001
+ ): SafeParseResult<Routes3, SDKValidationError> {
5002
+ return safeParse(
5003
+ jsonString,
5004
+ (x) => Routes3$inboundSchema.parse(JSON.parse(x)),
5005
+ `Failed to parse 'Routes3' from JSON`,
5006
+ );
5007
+ }
5008
+
3986
5009
  /** @internal */
3987
5010
  export const RoutesHandle$inboundSchema: z.ZodNativeEnum<typeof RoutesHandle> =
3988
5011
  z.nativeEnum(RoutesHandle);
@@ -4044,6 +5067,20 @@ export namespace Routes2$ {
4044
5067
  export type Outbound = Routes2$Outbound;
4045
5068
  }
4046
5069
 
5070
+ export function routes2ToJSON(routes2: Routes2): string {
5071
+ return JSON.stringify(Routes2$outboundSchema.parse(routes2));
5072
+ }
5073
+
5074
+ export function routes2FromJSON(
5075
+ jsonString: string,
5076
+ ): SafeParseResult<Routes2, SDKValidationError> {
5077
+ return safeParse(
5078
+ jsonString,
5079
+ (x) => Routes2$inboundSchema.parse(JSON.parse(x)),
5080
+ `Failed to parse 'Routes2' from JSON`,
5081
+ );
5082
+ }
5083
+
4047
5084
  /** @internal */
4048
5085
  export const CreateDeploymentHasType$inboundSchema: z.ZodNativeEnum<
4049
5086
  typeof CreateDeploymentHasType
@@ -4101,6 +5138,20 @@ export namespace Has2$ {
4101
5138
  export type Outbound = Has2$Outbound;
4102
5139
  }
4103
5140
 
5141
+ export function has2ToJSON(has2: Has2): string {
5142
+ return JSON.stringify(Has2$outboundSchema.parse(has2));
5143
+ }
5144
+
5145
+ export function has2FromJSON(
5146
+ jsonString: string,
5147
+ ): SafeParseResult<Has2, SDKValidationError> {
5148
+ return safeParse(
5149
+ jsonString,
5150
+ (x) => Has2$inboundSchema.parse(JSON.parse(x)),
5151
+ `Failed to parse 'Has2' from JSON`,
5152
+ );
5153
+ }
5154
+
4104
5155
  /** @internal */
4105
5156
  export const HasType$inboundSchema: z.ZodNativeEnum<typeof HasType> = z
4106
5157
  .nativeEnum(HasType);
@@ -4153,6 +5204,20 @@ export namespace Has1$ {
4153
5204
  export type Outbound = Has1$Outbound;
4154
5205
  }
4155
5206
 
5207
+ export function has1ToJSON(has1: Has1): string {
5208
+ return JSON.stringify(Has1$outboundSchema.parse(has1));
5209
+ }
5210
+
5211
+ export function has1FromJSON(
5212
+ jsonString: string,
5213
+ ): SafeParseResult<Has1, SDKValidationError> {
5214
+ return safeParse(
5215
+ jsonString,
5216
+ (x) => Has1$inboundSchema.parse(JSON.parse(x)),
5217
+ `Failed to parse 'Has1' from JSON`,
5218
+ );
5219
+ }
5220
+
4156
5221
  /** @internal */
4157
5222
  export const RoutesHas$inboundSchema: z.ZodType<
4158
5223
  RoutesHas,
@@ -4189,6 +5254,20 @@ export namespace RoutesHas$ {
4189
5254
  export type Outbound = RoutesHas$Outbound;
4190
5255
  }
4191
5256
 
5257
+ export function routesHasToJSON(routesHas: RoutesHas): string {
5258
+ return JSON.stringify(RoutesHas$outboundSchema.parse(routesHas));
5259
+ }
5260
+
5261
+ export function routesHasFromJSON(
5262
+ jsonString: string,
5263
+ ): SafeParseResult<RoutesHas, SDKValidationError> {
5264
+ return safeParse(
5265
+ jsonString,
5266
+ (x) => RoutesHas$inboundSchema.parse(JSON.parse(x)),
5267
+ `Failed to parse 'RoutesHas' from JSON`,
5268
+ );
5269
+ }
5270
+
4192
5271
  /** @internal */
4193
5272
  export const CreateDeploymentMissingType$inboundSchema: z.ZodNativeEnum<
4194
5273
  typeof CreateDeploymentMissingType
@@ -4252,6 +5331,20 @@ export namespace Missing2$ {
4252
5331
  export type Outbound = Missing2$Outbound;
4253
5332
  }
4254
5333
 
5334
+ export function missing2ToJSON(missing2: Missing2): string {
5335
+ return JSON.stringify(Missing2$outboundSchema.parse(missing2));
5336
+ }
5337
+
5338
+ export function missing2FromJSON(
5339
+ jsonString: string,
5340
+ ): SafeParseResult<Missing2, SDKValidationError> {
5341
+ return safeParse(
5342
+ jsonString,
5343
+ (x) => Missing2$inboundSchema.parse(JSON.parse(x)),
5344
+ `Failed to parse 'Missing2' from JSON`,
5345
+ );
5346
+ }
5347
+
4255
5348
  /** @internal */
4256
5349
  export const MissingType$inboundSchema: z.ZodNativeEnum<typeof MissingType> = z
4257
5350
  .nativeEnum(MissingType);
@@ -4310,6 +5403,20 @@ export namespace Missing1$ {
4310
5403
  export type Outbound = Missing1$Outbound;
4311
5404
  }
4312
5405
 
5406
+ export function missing1ToJSON(missing1: Missing1): string {
5407
+ return JSON.stringify(Missing1$outboundSchema.parse(missing1));
5408
+ }
5409
+
5410
+ export function missing1FromJSON(
5411
+ jsonString: string,
5412
+ ): SafeParseResult<Missing1, SDKValidationError> {
5413
+ return safeParse(
5414
+ jsonString,
5415
+ (x) => Missing1$inboundSchema.parse(JSON.parse(x)),
5416
+ `Failed to parse 'Missing1' from JSON`,
5417
+ );
5418
+ }
5419
+
4313
5420
  /** @internal */
4314
5421
  export const RoutesMissing$inboundSchema: z.ZodType<
4315
5422
  RoutesMissing,
@@ -4346,6 +5453,20 @@ export namespace RoutesMissing$ {
4346
5453
  export type Outbound = RoutesMissing$Outbound;
4347
5454
  }
4348
5455
 
5456
+ export function routesMissingToJSON(routesMissing: RoutesMissing): string {
5457
+ return JSON.stringify(RoutesMissing$outboundSchema.parse(routesMissing));
5458
+ }
5459
+
5460
+ export function routesMissingFromJSON(
5461
+ jsonString: string,
5462
+ ): SafeParseResult<RoutesMissing, SDKValidationError> {
5463
+ return safeParse(
5464
+ jsonString,
5465
+ (x) => RoutesMissing$inboundSchema.parse(JSON.parse(x)),
5466
+ `Failed to parse 'RoutesMissing' from JSON`,
5467
+ );
5468
+ }
5469
+
4349
5470
  /** @internal */
4350
5471
  export const Locale$inboundSchema: z.ZodType<Locale, z.ZodTypeDef, unknown> = z
4351
5472
  .object({
@@ -4382,6 +5503,20 @@ export namespace Locale$ {
4382
5503
  export type Outbound = Locale$Outbound;
4383
5504
  }
4384
5505
 
5506
+ export function localeToJSON(locale: Locale): string {
5507
+ return JSON.stringify(Locale$outboundSchema.parse(locale));
5508
+ }
5509
+
5510
+ export function localeFromJSON(
5511
+ jsonString: string,
5512
+ ): SafeParseResult<Locale, SDKValidationError> {
5513
+ return safeParse(
5514
+ jsonString,
5515
+ (x) => Locale$inboundSchema.parse(JSON.parse(x)),
5516
+ `Failed to parse 'Locale' from JSON`,
5517
+ );
5518
+ }
5519
+
4385
5520
  /** @internal */
4386
5521
  export const Routes1$inboundSchema: z.ZodType<Routes1, z.ZodTypeDef, unknown> =
4387
5522
  z.object({
@@ -4480,6 +5615,20 @@ export namespace Routes1$ {
4480
5615
  export type Outbound = Routes1$Outbound;
4481
5616
  }
4482
5617
 
5618
+ export function routes1ToJSON(routes1: Routes1): string {
5619
+ return JSON.stringify(Routes1$outboundSchema.parse(routes1));
5620
+ }
5621
+
5622
+ export function routes1FromJSON(
5623
+ jsonString: string,
5624
+ ): SafeParseResult<Routes1, SDKValidationError> {
5625
+ return safeParse(
5626
+ jsonString,
5627
+ (x) => Routes1$inboundSchema.parse(JSON.parse(x)),
5628
+ `Failed to parse 'Routes1' from JSON`,
5629
+ );
5630
+ }
5631
+
4483
5632
  /** @internal */
4484
5633
  export const Routes$inboundSchema: z.ZodType<Routes, z.ZodTypeDef, unknown> = z
4485
5634
  .union([
@@ -4518,6 +5667,20 @@ export namespace Routes$ {
4518
5667
  export type Outbound = Routes$Outbound;
4519
5668
  }
4520
5669
 
5670
+ export function routesToJSON(routes: Routes): string {
5671
+ return JSON.stringify(Routes$outboundSchema.parse(routes));
5672
+ }
5673
+
5674
+ export function routesFromJSON(
5675
+ jsonString: string,
5676
+ ): SafeParseResult<Routes, SDKValidationError> {
5677
+ return safeParse(
5678
+ jsonString,
5679
+ (x) => Routes$inboundSchema.parse(JSON.parse(x)),
5680
+ `Failed to parse 'Routes' from JSON`,
5681
+ );
5682
+ }
5683
+
4521
5684
  /** @internal */
4522
5685
  export const CreateDeploymentCrons$inboundSchema: z.ZodType<
4523
5686
  CreateDeploymentCrons,
@@ -4557,6 +5720,24 @@ export namespace CreateDeploymentCrons$ {
4557
5720
  export type Outbound = CreateDeploymentCrons$Outbound;
4558
5721
  }
4559
5722
 
5723
+ export function createDeploymentCronsToJSON(
5724
+ createDeploymentCrons: CreateDeploymentCrons,
5725
+ ): string {
5726
+ return JSON.stringify(
5727
+ CreateDeploymentCrons$outboundSchema.parse(createDeploymentCrons),
5728
+ );
5729
+ }
5730
+
5731
+ export function createDeploymentCronsFromJSON(
5732
+ jsonString: string,
5733
+ ): SafeParseResult<CreateDeploymentCrons, SDKValidationError> {
5734
+ return safeParse(
5735
+ jsonString,
5736
+ (x) => CreateDeploymentCrons$inboundSchema.parse(JSON.parse(x)),
5737
+ `Failed to parse 'CreateDeploymentCrons' from JSON`,
5738
+ );
5739
+ }
5740
+
4560
5741
  /** @internal */
4561
5742
  export const Plan$inboundSchema: z.ZodNativeEnum<typeof Plan> = z.nativeEnum(
4562
5743
  Plan,
@@ -4685,6 +5866,20 @@ export namespace GitRepo3$ {
4685
5866
  export type Outbound = GitRepo3$Outbound;
4686
5867
  }
4687
5868
 
5869
+ export function gitRepo3ToJSON(gitRepo3: GitRepo3): string {
5870
+ return JSON.stringify(GitRepo3$outboundSchema.parse(gitRepo3));
5871
+ }
5872
+
5873
+ export function gitRepo3FromJSON(
5874
+ jsonString: string,
5875
+ ): SafeParseResult<GitRepo3, SDKValidationError> {
5876
+ return safeParse(
5877
+ jsonString,
5878
+ (x) => GitRepo3$inboundSchema.parse(JSON.parse(x)),
5879
+ `Failed to parse 'GitRepo3' from JSON`,
5880
+ );
5881
+ }
5882
+
4688
5883
  /** @internal */
4689
5884
  export const CreateDeploymentGitRepoType$inboundSchema: z.ZodNativeEnum<
4690
5885
  typeof CreateDeploymentGitRepoType
@@ -4790,6 +5985,20 @@ export namespace GitRepo2$ {
4790
5985
  export type Outbound = GitRepo2$Outbound;
4791
5986
  }
4792
5987
 
5988
+ export function gitRepo2ToJSON(gitRepo2: GitRepo2): string {
5989
+ return JSON.stringify(GitRepo2$outboundSchema.parse(gitRepo2));
5990
+ }
5991
+
5992
+ export function gitRepo2FromJSON(
5993
+ jsonString: string,
5994
+ ): SafeParseResult<GitRepo2, SDKValidationError> {
5995
+ return safeParse(
5996
+ jsonString,
5997
+ (x) => GitRepo2$inboundSchema.parse(JSON.parse(x)),
5998
+ `Failed to parse 'GitRepo2' from JSON`,
5999
+ );
6000
+ }
6001
+
4793
6002
  /** @internal */
4794
6003
  export const GitRepoType$inboundSchema: z.ZodNativeEnum<typeof GitRepoType> = z
4795
6004
  .nativeEnum(GitRepoType);
@@ -4888,6 +6097,20 @@ export namespace GitRepo1$ {
4888
6097
  export type Outbound = GitRepo1$Outbound;
4889
6098
  }
4890
6099
 
6100
+ export function gitRepo1ToJSON(gitRepo1: GitRepo1): string {
6101
+ return JSON.stringify(GitRepo1$outboundSchema.parse(gitRepo1));
6102
+ }
6103
+
6104
+ export function gitRepo1FromJSON(
6105
+ jsonString: string,
6106
+ ): SafeParseResult<GitRepo1, SDKValidationError> {
6107
+ return safeParse(
6108
+ jsonString,
6109
+ (x) => GitRepo1$inboundSchema.parse(JSON.parse(x)),
6110
+ `Failed to parse 'GitRepo1' from JSON`,
6111
+ );
6112
+ }
6113
+
4891
6114
  /** @internal */
4892
6115
  export const GitRepo$inboundSchema: z.ZodType<GitRepo, z.ZodTypeDef, unknown> =
4893
6116
  z.union([
@@ -4926,6 +6149,20 @@ export namespace GitRepo$ {
4926
6149
  export type Outbound = GitRepo$Outbound;
4927
6150
  }
4928
6151
 
6152
+ export function gitRepoToJSON(gitRepo: GitRepo): string {
6153
+ return JSON.stringify(GitRepo$outboundSchema.parse(gitRepo));
6154
+ }
6155
+
6156
+ export function gitRepoFromJSON(
6157
+ jsonString: string,
6158
+ ): SafeParseResult<GitRepo, SDKValidationError> {
6159
+ return safeParse(
6160
+ jsonString,
6161
+ (x) => GitRepo$inboundSchema.parse(JSON.parse(x)),
6162
+ `Failed to parse 'GitRepo' from JSON`,
6163
+ );
6164
+ }
6165
+
4929
6166
  /** @internal */
4930
6167
  export const Flags2$inboundSchema: z.ZodType<Flags2, z.ZodTypeDef, unknown> = z
4931
6168
  .object({});
@@ -4953,6 +6190,20 @@ export namespace Flags2$ {
4953
6190
  export type Outbound = Flags2$Outbound;
4954
6191
  }
4955
6192
 
6193
+ export function flags2ToJSON(flags2: Flags2): string {
6194
+ return JSON.stringify(Flags2$outboundSchema.parse(flags2));
6195
+ }
6196
+
6197
+ export function flags2FromJSON(
6198
+ jsonString: string,
6199
+ ): SafeParseResult<Flags2, SDKValidationError> {
6200
+ return safeParse(
6201
+ jsonString,
6202
+ (x) => Flags2$inboundSchema.parse(JSON.parse(x)),
6203
+ `Failed to parse 'Flags2' from JSON`,
6204
+ );
6205
+ }
6206
+
4956
6207
  /** @internal */
4957
6208
  export const Options$inboundSchema: z.ZodType<Options, z.ZodTypeDef, unknown> =
4958
6209
  z.object({
@@ -4989,6 +6240,20 @@ export namespace Options$ {
4989
6240
  export type Outbound = Options$Outbound;
4990
6241
  }
4991
6242
 
6243
+ export function optionsToJSON(options: Options): string {
6244
+ return JSON.stringify(Options$outboundSchema.parse(options));
6245
+ }
6246
+
6247
+ export function optionsFromJSON(
6248
+ jsonString: string,
6249
+ ): SafeParseResult<Options, SDKValidationError> {
6250
+ return safeParse(
6251
+ jsonString,
6252
+ (x) => Options$inboundSchema.parse(JSON.parse(x)),
6253
+ `Failed to parse 'Options' from JSON`,
6254
+ );
6255
+ }
6256
+
4992
6257
  /** @internal */
4993
6258
  export const FlagsDefinitions$inboundSchema: z.ZodType<
4994
6259
  FlagsDefinitions,
@@ -5031,6 +6296,24 @@ export namespace FlagsDefinitions$ {
5031
6296
  export type Outbound = FlagsDefinitions$Outbound;
5032
6297
  }
5033
6298
 
6299
+ export function flagsDefinitionsToJSON(
6300
+ flagsDefinitions: FlagsDefinitions,
6301
+ ): string {
6302
+ return JSON.stringify(
6303
+ FlagsDefinitions$outboundSchema.parse(flagsDefinitions),
6304
+ );
6305
+ }
6306
+
6307
+ export function flagsDefinitionsFromJSON(
6308
+ jsonString: string,
6309
+ ): SafeParseResult<FlagsDefinitions, SDKValidationError> {
6310
+ return safeParse(
6311
+ jsonString,
6312
+ (x) => FlagsDefinitions$inboundSchema.parse(JSON.parse(x)),
6313
+ `Failed to parse 'FlagsDefinitions' from JSON`,
6314
+ );
6315
+ }
6316
+
5034
6317
  /** @internal */
5035
6318
  export const Flags1$inboundSchema: z.ZodType<Flags1, z.ZodTypeDef, unknown> = z
5036
6319
  .object({
@@ -5064,6 +6347,20 @@ export namespace Flags1$ {
5064
6347
  export type Outbound = Flags1$Outbound;
5065
6348
  }
5066
6349
 
6350
+ export function flags1ToJSON(flags1: Flags1): string {
6351
+ return JSON.stringify(Flags1$outboundSchema.parse(flags1));
6352
+ }
6353
+
6354
+ export function flags1FromJSON(
6355
+ jsonString: string,
6356
+ ): SafeParseResult<Flags1, SDKValidationError> {
6357
+ return safeParse(
6358
+ jsonString,
6359
+ (x) => Flags1$inboundSchema.parse(JSON.parse(x)),
6360
+ `Failed to parse 'Flags1' from JSON`,
6361
+ );
6362
+ }
6363
+
5067
6364
  /** @internal */
5068
6365
  export const Flags$inboundSchema: z.ZodType<Flags, z.ZodTypeDef, unknown> = z
5069
6366
  .union([
@@ -5097,6 +6394,20 @@ export namespace Flags$ {
5097
6394
  export type Outbound = Flags$Outbound;
5098
6395
  }
5099
6396
 
6397
+ export function flagsToJSON(flags: Flags): string {
6398
+ return JSON.stringify(Flags$outboundSchema.parse(flags));
6399
+ }
6400
+
6401
+ export function flagsFromJSON(
6402
+ jsonString: string,
6403
+ ): SafeParseResult<Flags, SDKValidationError> {
6404
+ return safeParse(
6405
+ jsonString,
6406
+ (x) => Flags$inboundSchema.parse(JSON.parse(x)),
6407
+ `Failed to parse 'Flags' from JSON`,
6408
+ );
6409
+ }
6410
+
5100
6411
  /** @internal */
5101
6412
  export const CreateDeploymentResponseBody$inboundSchema: z.ZodType<
5102
6413
  CreateDeploymentResponseBody,
@@ -5180,6 +6491,10 @@ export const CreateDeploymentResponseBody$inboundSchema: z.ZodType<
5180
6491
  oidcTokenClaims: z.lazy(() => OidcTokenClaims$inboundSchema).optional(),
5181
6492
  projectId: z.string(),
5182
6493
  ownerId: z.string(),
6494
+ microfrontends: z.union([
6495
+ z.lazy(() => Microfrontends1$inboundSchema),
6496
+ z.lazy(() => Microfrontends2$inboundSchema),
6497
+ ]).optional(),
5183
6498
  monorepoManager: z.nullable(z.string()).optional(),
5184
6499
  functions: z.nullable(z.record(z.lazy(() => Functions$inboundSchema)))
5185
6500
  .optional(),
@@ -5290,6 +6605,10 @@ export type CreateDeploymentResponseBody$Outbound = {
5290
6605
  oidcTokenClaims?: OidcTokenClaims$Outbound | undefined;
5291
6606
  projectId: string;
5292
6607
  ownerId: string;
6608
+ microfrontends?:
6609
+ | Microfrontends1$Outbound
6610
+ | Microfrontends2$Outbound
6611
+ | undefined;
5293
6612
  monorepoManager?: string | null | undefined;
5294
6613
  functions?: { [k: string]: Functions$Outbound } | null | undefined;
5295
6614
  routes: Array<Routes3$Outbound | Routes2$Outbound | Routes1$Outbound> | null;
@@ -5392,6 +6711,10 @@ export const CreateDeploymentResponseBody$outboundSchema: z.ZodType<
5392
6711
  oidcTokenClaims: z.lazy(() => OidcTokenClaims$outboundSchema).optional(),
5393
6712
  projectId: z.string(),
5394
6713
  ownerId: z.string(),
6714
+ microfrontends: z.union([
6715
+ z.lazy(() => Microfrontends1$outboundSchema),
6716
+ z.lazy(() => Microfrontends2$outboundSchema),
6717
+ ]).optional(),
5395
6718
  monorepoManager: z.nullable(z.string()).optional(),
5396
6719
  functions: z.nullable(z.record(z.lazy(() => Functions$outboundSchema)))
5397
6720
  .optional(),
@@ -5435,3 +6758,23 @@ export namespace CreateDeploymentResponseBody$ {
5435
6758
  /** @deprecated use `CreateDeploymentResponseBody$Outbound` instead. */
5436
6759
  export type Outbound = CreateDeploymentResponseBody$Outbound;
5437
6760
  }
6761
+
6762
+ export function createDeploymentResponseBodyToJSON(
6763
+ createDeploymentResponseBody: CreateDeploymentResponseBody,
6764
+ ): string {
6765
+ return JSON.stringify(
6766
+ CreateDeploymentResponseBody$outboundSchema.parse(
6767
+ createDeploymentResponseBody,
6768
+ ),
6769
+ );
6770
+ }
6771
+
6772
+ export function createDeploymentResponseBodyFromJSON(
6773
+ jsonString: string,
6774
+ ): SafeParseResult<CreateDeploymentResponseBody, SDKValidationError> {
6775
+ return safeParse(
6776
+ jsonString,
6777
+ (x) => CreateDeploymentResponseBody$inboundSchema.parse(JSON.parse(x)),
6778
+ `Failed to parse 'CreateDeploymentResponseBody' from JSON`,
6779
+ );
6780
+ }