@alienplatform/platform-api 3.3.42 → 3.3.44

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 (714) hide show
  1. package/README.md +54 -3
  2. package/esm/funcs/acceptTerraformKeySetup.d.ts +13 -0
  3. package/esm/funcs/acceptTerraformKeySetup.d.ts.map +1 -0
  4. package/esm/funcs/acceptTerraformKeySetup.js +80 -0
  5. package/esm/funcs/acceptTerraformKeySetup.js.map +1 -0
  6. package/esm/funcs/deploymentsCreate.d.ts +1 -1
  7. package/esm/funcs/deploymentsCreate.js +1 -1
  8. package/esm/funcs/deploymentsReportDeploymentSetupProgress.d.ts +15 -0
  9. package/esm/funcs/deploymentsReportDeploymentSetupProgress.d.ts.map +1 -0
  10. package/esm/funcs/deploymentsReportDeploymentSetupProgress.js +87 -0
  11. package/esm/funcs/deploymentsReportDeploymentSetupProgress.js.map +1 -0
  12. package/esm/funcs/getDeploymentPreparation.d.ts +13 -0
  13. package/esm/funcs/getDeploymentPreparation.d.ts.map +1 -0
  14. package/esm/funcs/getDeploymentPreparation.js +87 -0
  15. package/esm/funcs/getDeploymentPreparation.js.map +1 -0
  16. package/esm/funcs/getInstallationDeployment.d.ts +13 -0
  17. package/esm/funcs/getInstallationDeployment.d.ts.map +1 -0
  18. package/esm/funcs/getInstallationDeployment.js +87 -0
  19. package/esm/funcs/getInstallationDeployment.js.map +1 -0
  20. package/esm/funcs/getTerraformKeySetupOperation.d.ts +12 -0
  21. package/esm/funcs/getTerraformKeySetupOperation.d.ts.map +1 -0
  22. package/esm/funcs/getTerraformKeySetupOperation.js +86 -0
  23. package/esm/funcs/getTerraformKeySetupOperation.js.map +1 -0
  24. package/esm/funcs/prepareDeploymentInstallation.d.ts +13 -0
  25. package/esm/funcs/prepareDeploymentInstallation.d.ts.map +1 -0
  26. package/esm/funcs/prepareDeploymentInstallation.js +92 -0
  27. package/esm/funcs/prepareDeploymentInstallation.js.map +1 -0
  28. package/esm/funcs/webhooksCreateWebhookEndpoint.d.ts +16 -0
  29. package/esm/funcs/webhooksCreateWebhookEndpoint.d.ts.map +1 -0
  30. package/esm/funcs/webhooksCreateWebhookEndpoint.js +90 -0
  31. package/esm/funcs/webhooksCreateWebhookEndpoint.js.map +1 -0
  32. package/esm/funcs/webhooksDeleteWebhookEndpoint.d.ts +16 -0
  33. package/esm/funcs/webhooksDeleteWebhookEndpoint.d.ts.map +1 -0
  34. package/esm/funcs/webhooksDeleteWebhookEndpoint.js +91 -0
  35. package/esm/funcs/webhooksDeleteWebhookEndpoint.js.map +1 -0
  36. package/esm/funcs/webhooksGetWebhookEndpoint.d.ts +13 -0
  37. package/esm/funcs/webhooksGetWebhookEndpoint.d.ts.map +1 -0
  38. package/esm/funcs/webhooksGetWebhookEndpoint.js +88 -0
  39. package/esm/funcs/webhooksGetWebhookEndpoint.js.map +1 -0
  40. package/esm/funcs/webhooksGetWebhookSigningSecret.d.ts +13 -0
  41. package/esm/funcs/webhooksGetWebhookSigningSecret.d.ts.map +1 -0
  42. package/esm/funcs/webhooksGetWebhookSigningSecret.js +88 -0
  43. package/esm/funcs/webhooksGetWebhookSigningSecret.js.map +1 -0
  44. package/esm/funcs/webhooksListWebhookDeliveries.d.ts +13 -0
  45. package/esm/funcs/webhooksListWebhookDeliveries.d.ts.map +1 -0
  46. package/esm/funcs/webhooksListWebhookDeliveries.js +89 -0
  47. package/esm/funcs/webhooksListWebhookDeliveries.js.map +1 -0
  48. package/esm/funcs/webhooksListWebhookEndpoints.d.ts +13 -0
  49. package/esm/funcs/webhooksListWebhookEndpoints.d.ts.map +1 -0
  50. package/esm/funcs/webhooksListWebhookEndpoints.js +83 -0
  51. package/esm/funcs/webhooksListWebhookEndpoints.js.map +1 -0
  52. package/esm/funcs/webhooksRetryWebhookDelivery.d.ts +13 -0
  53. package/esm/funcs/webhooksRetryWebhookDelivery.d.ts.map +1 -0
  54. package/esm/funcs/webhooksRetryWebhookDelivery.js +89 -0
  55. package/esm/funcs/webhooksRetryWebhookDelivery.js.map +1 -0
  56. package/esm/funcs/webhooksRotateWebhookSigningSecret.d.ts +13 -0
  57. package/esm/funcs/webhooksRotateWebhookSigningSecret.d.ts.map +1 -0
  58. package/esm/funcs/webhooksRotateWebhookSigningSecret.js +88 -0
  59. package/esm/funcs/webhooksRotateWebhookSigningSecret.js.map +1 -0
  60. package/esm/funcs/webhooksTestWebhookEndpoint.d.ts +13 -0
  61. package/esm/funcs/webhooksTestWebhookEndpoint.d.ts.map +1 -0
  62. package/esm/funcs/webhooksTestWebhookEndpoint.js +88 -0
  63. package/esm/funcs/webhooksTestWebhookEndpoint.js.map +1 -0
  64. package/esm/funcs/webhooksUpdateWebhookEndpoint.d.ts +13 -0
  65. package/esm/funcs/webhooksUpdateWebhookEndpoint.d.ts.map +1 -0
  66. package/esm/funcs/webhooksUpdateWebhookEndpoint.js +89 -0
  67. package/esm/funcs/webhooksUpdateWebhookEndpoint.js.map +1 -0
  68. package/esm/lib/config.d.ts +2 -2
  69. package/esm/lib/config.js +2 -2
  70. package/esm/models/apikeydeploymentsetupconfig.d.ts +8 -0
  71. package/esm/models/apikeydeploymentsetupconfig.d.ts.map +1 -1
  72. package/esm/models/apikeydeploymentsetupconfig.js +2 -0
  73. package/esm/models/apikeydeploymentsetupconfig.js.map +1 -1
  74. package/esm/models/createdeploymentgrouptokenrequest.d.ts +10 -0
  75. package/esm/models/createdeploymentgrouptokenrequest.d.ts.map +1 -1
  76. package/esm/models/createdeploymentgrouptokenrequest.js +2 -0
  77. package/esm/models/createdeploymentgrouptokenrequest.js.map +1 -1
  78. package/esm/models/createdeploymentresponse.d.ts +5 -1
  79. package/esm/models/createdeploymentresponse.d.ts.map +1 -1
  80. package/esm/models/createdeploymentresponse.js +4 -0
  81. package/esm/models/createdeploymentresponse.js.map +1 -1
  82. package/esm/models/createmanagerresponsepublicendpointtargetmachineaddresses2.d.ts +8 -0
  83. package/esm/models/createmanagerresponsepublicendpointtargetmachineaddresses2.d.ts.map +1 -1
  84. package/esm/models/createmanagerresponsepublicendpointtargetmachineaddresses2.js +2 -0
  85. package/esm/models/createmanagerresponsepublicendpointtargetmachineaddresses2.js.map +1 -1
  86. package/esm/models/createsetuplinkrequest.d.ts +10 -0
  87. package/esm/models/createsetuplinkrequest.d.ts.map +1 -1
  88. package/esm/models/createsetuplinkrequest.js +2 -0
  89. package/esm/models/createsetuplinkrequest.js.map +1 -1
  90. package/esm/models/deletedeploymentrequest.d.ts +2 -0
  91. package/esm/models/deletedeploymentrequest.d.ts.map +1 -1
  92. package/esm/models/deletedeploymentrequest.js +2 -0
  93. package/esm/models/deletedeploymentrequest.js.map +1 -1
  94. package/esm/models/deletedeploymentresponse.d.ts +2 -0
  95. package/esm/models/deletedeploymentresponse.d.ts.map +1 -1
  96. package/esm/models/deletedeploymentresponse.js +2 -0
  97. package/esm/models/deletedeploymentresponse.js.map +1 -1
  98. package/esm/models/deployment.d.ts +65 -3
  99. package/esm/models/deployment.d.ts.map +1 -1
  100. package/esm/models/deployment.js +19 -4
  101. package/esm/models/deployment.js.map +1 -1
  102. package/esm/models/deploymentconnectioninfo.d.ts +2 -0
  103. package/esm/models/deploymentconnectioninfo.d.ts.map +1 -1
  104. package/esm/models/deploymentconnectioninfo.js +2 -0
  105. package/esm/models/deploymentconnectioninfo.js.map +1 -1
  106. package/esm/models/deploymentdetailresponse.d.ts +70 -3
  107. package/esm/models/deploymentdetailresponse.d.ts.map +1 -1
  108. package/esm/models/deploymentdetailresponse.js +23 -4
  109. package/esm/models/deploymentdetailresponse.js.map +1 -1
  110. package/esm/models/deploymentdetailresponsependingpreparedstackdefaultstringlist.d.ts +1 -2048
  111. package/esm/models/deploymentdetailresponsependingpreparedstackdefaultstringlist.d.ts.map +1 -1
  112. package/esm/models/deploymentdetailresponsependingpreparedstackdefaultstringlist.js +2 -1508
  113. package/esm/models/deploymentdetailresponsependingpreparedstackdefaultstringlist.js.map +1 -1
  114. package/esm/models/deploymentdetailresponsependingpreparedstackdefaultunion.d.ts +1 -1
  115. package/esm/models/deploymentdetailresponsependingpreparedstackdefaultunion.d.ts.map +1 -1
  116. package/esm/models/deploymentdetailresponsependingpreparedstackdefaultunion.js +1 -1
  117. package/esm/models/deploymentdetailresponsependingpreparedstackdefaultunion.js.map +1 -1
  118. package/esm/models/deploymentdetailresponsependingpreparedstacktypestringlist.d.ts +2071 -0
  119. package/esm/models/deploymentdetailresponsependingpreparedstacktypestringlist.d.ts.map +1 -0
  120. package/esm/models/deploymentdetailresponsependingpreparedstacktypestringlist.js +1519 -0
  121. package/esm/models/deploymentdetailresponsependingpreparedstacktypestringlist.js.map +1 -0
  122. package/esm/models/deploymentdetailresponsepreparedstackapprovalplugins.d.ts +4 -2333
  123. package/esm/models/deploymentdetailresponsepreparedstackapprovalplugins.d.ts.map +1 -1
  124. package/esm/models/deploymentdetailresponsepreparedstackapprovalplugins.js +4 -1554
  125. package/esm/models/deploymentdetailresponsepreparedstackapprovalplugins.js.map +1 -1
  126. package/esm/models/deploymentdetailresponsepreparedstackpluginsdecision.d.ts +2336 -0
  127. package/esm/models/deploymentdetailresponsepreparedstackpluginsdecision.d.ts.map +1 -0
  128. package/esm/models/deploymentdetailresponsepreparedstackpluginsdecision.js +1557 -0
  129. package/esm/models/deploymentdetailresponsepreparedstackpluginsdecision.js.map +1 -0
  130. package/esm/models/deploymentinfosetupconfig.d.ts +8 -0
  131. package/esm/models/deploymentinfosetupconfig.d.ts.map +1 -1
  132. package/esm/models/deploymentinfosetupconfig.js +2 -0
  133. package/esm/models/deploymentinfosetupconfig.js.map +1 -1
  134. package/esm/models/deploymentinstallation.d.ts +55 -0
  135. package/esm/models/deploymentinstallation.d.ts.map +1 -1
  136. package/esm/models/deploymentinstallation.js +62 -0
  137. package/esm/models/deploymentinstallation.js.map +1 -1
  138. package/esm/models/deploymentinstallationoptions.d.ts +52 -0
  139. package/esm/models/deploymentinstallationoptions.d.ts.map +1 -0
  140. package/esm/models/deploymentinstallationoptions.js +33 -0
  141. package/esm/models/deploymentinstallationoptions.js.map +1 -0
  142. package/esm/models/deploymentlistitemresponse.d.ts +2 -0
  143. package/esm/models/deploymentlistitemresponse.d.ts.map +1 -1
  144. package/esm/models/deploymentlistitemresponse.js +2 -0
  145. package/esm/models/deploymentlistitemresponse.js.map +1 -1
  146. package/esm/models/deploymentpendingpreparedstackdefaultstringlist.d.ts +1 -2048
  147. package/esm/models/deploymentpendingpreparedstackdefaultstringlist.d.ts.map +1 -1
  148. package/esm/models/deploymentpendingpreparedstackdefaultstringlist.js +2 -1434
  149. package/esm/models/deploymentpendingpreparedstackdefaultstringlist.js.map +1 -1
  150. package/esm/models/deploymentpendingpreparedstackdefaultunion.d.ts +1 -1
  151. package/esm/models/deploymentpendingpreparedstackdefaultunion.d.ts.map +1 -1
  152. package/esm/models/deploymentpendingpreparedstackdefaultunion.js +1 -1
  153. package/esm/models/deploymentpendingpreparedstackdefaultunion.js.map +1 -1
  154. package/esm/models/deploymentpendingpreparedstacktypestringlist.d.ts +2071 -0
  155. package/esm/models/deploymentpendingpreparedstacktypestringlist.d.ts.map +1 -0
  156. package/esm/models/deploymentpendingpreparedstacktypestringlist.js +1445 -0
  157. package/esm/models/deploymentpendingpreparedstacktypestringlist.js.map +1 -0
  158. package/esm/models/deploymentportalappearance.d.ts +4 -4
  159. package/esm/models/deploymentportalappearanceinput.d.ts +58 -0
  160. package/esm/models/deploymentportalappearanceinput.d.ts.map +1 -0
  161. package/esm/models/deploymentportalappearanceinput.js +23 -0
  162. package/esm/models/deploymentportalappearanceinput.js.map +1 -0
  163. package/esm/models/deploymentpreparationresponse.d.ts +109 -0
  164. package/esm/models/deploymentpreparationresponse.d.ts.map +1 -0
  165. package/esm/models/deploymentpreparationresponse.js +101 -0
  166. package/esm/models/deploymentpreparationresponse.js.map +1 -0
  167. package/esm/models/deploymentpreparedstackapprovalplugins.d.ts +4 -2333
  168. package/esm/models/deploymentpreparedstackapprovalplugins.d.ts.map +1 -1
  169. package/esm/models/deploymentpreparedstackapprovalplugins.js +4 -1451
  170. package/esm/models/deploymentpreparedstackapprovalplugins.js.map +1 -1
  171. package/esm/models/deploymentpreparedstackpluginsdecision.d.ts +2336 -0
  172. package/esm/models/deploymentpreparedstackpluginsdecision.d.ts.map +1 -0
  173. package/esm/models/deploymentpreparedstackpluginsdecision.js +1455 -0
  174. package/esm/models/deploymentpreparedstackpluginsdecision.js.map +1 -0
  175. package/esm/models/deploymentresource.d.ts +154 -0
  176. package/esm/models/deploymentresource.d.ts.map +1 -0
  177. package/esm/models/deploymentresource.js +53 -0
  178. package/esm/models/deploymentresource.js.map +1 -0
  179. package/esm/models/deploymentsetupprogressrequest.d.ts +36 -0
  180. package/esm/models/deploymentsetupprogressrequest.d.ts.map +1 -0
  181. package/esm/models/deploymentsetupprogressrequest.js +28 -0
  182. package/esm/models/deploymentsetupprogressrequest.js.map +1 -0
  183. package/esm/models/deploymentstate.d.ts +27 -2
  184. package/esm/models/deploymentstate.d.ts.map +1 -1
  185. package/esm/models/deploymentstate.js +17 -2
  186. package/esm/models/deploymentstate.js.map +1 -1
  187. package/esm/models/deploymentstatependingpreparedstackdefaultstringlist.d.ts +1 -3582
  188. package/esm/models/deploymentstatependingpreparedstackdefaultstringlist.d.ts.map +1 -1
  189. package/esm/models/deploymentstatependingpreparedstackdefaultstringlist.js +2 -2594
  190. package/esm/models/deploymentstatependingpreparedstackdefaultstringlist.js.map +1 -1
  191. package/esm/models/deploymentstatependingpreparedstackdefaultunion.d.ts +1 -1
  192. package/esm/models/deploymentstatependingpreparedstackdefaultunion.d.ts.map +1 -1
  193. package/esm/models/deploymentstatependingpreparedstackdefaultunion.js +1 -1
  194. package/esm/models/deploymentstatependingpreparedstackdefaultunion.js.map +1 -1
  195. package/esm/models/deploymentstatependingpreparedstacktypestringlist.d.ts +3598 -0
  196. package/esm/models/deploymentstatependingpreparedstacktypestringlist.d.ts.map +1 -0
  197. package/esm/models/deploymentstatependingpreparedstacktypestringlist.js +2598 -0
  198. package/esm/models/deploymentstatependingpreparedstacktypestringlist.js.map +1 -0
  199. package/esm/models/deploymentstatepreparedstackapprovalplugins.d.ts +7 -3426
  200. package/esm/models/deploymentstatepreparedstackapprovalplugins.d.ts.map +1 -1
  201. package/esm/models/deploymentstatepreparedstackapprovalplugins.js +6 -2756
  202. package/esm/models/deploymentstatepreparedstackapprovalplugins.js.map +1 -1
  203. package/esm/models/deploymentstatepreparedstackpluginsdecision.d.ts +3431 -0
  204. package/esm/models/deploymentstatepreparedstackpluginsdecision.d.ts.map +1 -0
  205. package/esm/models/deploymentstatepreparedstackpluginsdecision.js +2762 -0
  206. package/esm/models/deploymentstatepreparedstackpluginsdecision.js.map +1 -0
  207. package/esm/models/event.d.ts +9 -0
  208. package/esm/models/event.d.ts.map +1 -1
  209. package/esm/models/event.js +3 -0
  210. package/esm/models/event.js.map +1 -1
  211. package/esm/models/eventlistitemresponse.d.ts +9 -0
  212. package/esm/models/eventlistitemresponse.d.ts.map +1 -1
  213. package/esm/models/eventlistitemresponse.js +3 -0
  214. package/esm/models/eventlistitemresponse.js.map +1 -1
  215. package/esm/models/externalaibinding.d.ts +13 -4
  216. package/esm/models/externalaibinding.d.ts.map +1 -1
  217. package/esm/models/externalaibinding.js +6 -4
  218. package/esm/models/externalaibinding.js.map +1 -1
  219. package/esm/models/externalbindingecr.d.ts +2868 -0
  220. package/esm/models/externalbindingecr.d.ts.map +1 -0
  221. package/esm/models/externalbindingecr.js +2290 -0
  222. package/esm/models/externalbindingecr.js.map +1 -0
  223. package/esm/models/externalbindingunion.d.ts +216 -5
  224. package/esm/models/externalbindingunion.d.ts.map +1 -1
  225. package/esm/models/externalbindingunion.js +233 -11
  226. package/esm/models/externalbindingunion.js.map +1 -1
  227. package/esm/models/generatemanagertokenrequest.d.ts +3 -3
  228. package/esm/models/generatemanagertokenrequest.d.ts.map +1 -1
  229. package/esm/models/generatemanagertokenrequest.js +1 -1
  230. package/esm/models/generatemanagertokenrequest.js.map +1 -1
  231. package/esm/models/index.d.ts +25 -12
  232. package/esm/models/index.d.ts.map +1 -1
  233. package/esm/models/index.js +25 -12
  234. package/esm/models/index.js.map +1 -1
  235. package/esm/models/installationdeploymentresponse.d.ts +13 -0
  236. package/esm/models/installationdeploymentresponse.d.ts.map +1 -0
  237. package/esm/models/installationdeploymentresponse.js +13 -0
  238. package/esm/models/installationdeploymentresponse.js.map +1 -0
  239. package/esm/models/keyprefixsecretref1.d.ts +76 -2803
  240. package/esm/models/keyprefixsecretref1.d.ts.map +1 -1
  241. package/esm/models/keyprefixsecretref1.js +53 -2279
  242. package/esm/models/keyprefixsecretref1.js.map +1 -1
  243. package/esm/models/managerdeployment.d.ts +2 -0
  244. package/esm/models/managerdeployment.d.ts.map +1 -1
  245. package/esm/models/managerdeployment.js +2 -0
  246. package/esm/models/managerdeployment.js.map +1 -1
  247. package/esm/models/managerretryresponsepublicendpointtargetunion2.d.ts +8 -0
  248. package/esm/models/managerretryresponsepublicendpointtargetunion2.d.ts.map +1 -1
  249. package/esm/models/managerretryresponsepublicendpointtargetunion2.js +2 -0
  250. package/esm/models/managerretryresponsepublicendpointtargetunion2.js.map +1 -1
  251. package/esm/models/newdeploymentrequest.d.ts +14 -3
  252. package/esm/models/newdeploymentrequest.d.ts.map +1 -1
  253. package/esm/models/newdeploymentrequest.js +4 -1
  254. package/esm/models/newdeploymentrequest.js.map +1 -1
  255. package/esm/models/operations/acceptawskeysetup.d.ts +11 -0
  256. package/esm/models/operations/acceptawskeysetup.d.ts.map +1 -1
  257. package/esm/models/operations/acceptawskeysetup.js +3 -0
  258. package/esm/models/operations/acceptawskeysetup.js.map +1 -1
  259. package/esm/models/operations/acceptterraformkeysetup.d.ts +14 -0
  260. package/esm/models/operations/acceptterraformkeysetup.d.ts.map +1 -0
  261. package/esm/models/operations/acceptterraformkeysetup.js +14 -0
  262. package/esm/models/operations/acceptterraformkeysetup.js.map +1 -0
  263. package/esm/models/operations/configureprojectsource.d.ts +4 -4
  264. package/esm/models/operations/createproject.d.ts +4 -4
  265. package/esm/models/operations/createprojectfromtemplate.d.ts +4 -4
  266. package/esm/models/operations/createwebhookendpoint.d.ts +55 -0
  267. package/esm/models/operations/createwebhookendpoint.d.ts.map +1 -0
  268. package/esm/models/operations/createwebhookendpoint.js +45 -0
  269. package/esm/models/operations/createwebhookendpoint.js.map +1 -0
  270. package/esm/models/operations/deletewebhookendpoint.d.ts +20 -0
  271. package/esm/models/operations/deletewebhookendpoint.d.ts.map +1 -0
  272. package/esm/models/operations/deletewebhookendpoint.js +13 -0
  273. package/esm/models/operations/deletewebhookendpoint.js.map +1 -0
  274. package/esm/models/operations/getdeploymentpreparation.d.ts +18 -0
  275. package/esm/models/operations/getdeploymentpreparation.d.ts.map +1 -0
  276. package/esm/models/operations/getdeploymentpreparation.js +12 -0
  277. package/esm/models/operations/getdeploymentpreparation.js.map +1 -0
  278. package/esm/models/operations/getdeploymentstats.d.ts +2 -0
  279. package/esm/models/operations/getdeploymentstats.d.ts.map +1 -1
  280. package/esm/models/operations/getdeploymentstats.js +2 -0
  281. package/esm/models/operations/getdeploymentstats.js.map +1 -1
  282. package/esm/models/operations/getinstallationdeployment.d.ts +18 -0
  283. package/esm/models/operations/getinstallationdeployment.d.ts.map +1 -0
  284. package/esm/models/operations/getinstallationdeployment.js +12 -0
  285. package/esm/models/operations/getinstallationdeployment.js.map +1 -0
  286. package/esm/models/operations/getterraformkeysetupoperation.d.ts +44 -0
  287. package/esm/models/operations/getterraformkeysetupoperation.d.ts.map +1 -0
  288. package/esm/models/operations/getterraformkeysetupoperation.js +35 -0
  289. package/esm/models/operations/getterraformkeysetupoperation.js.map +1 -0
  290. package/esm/models/operations/getwebhookendpoint.d.ts +20 -0
  291. package/esm/models/operations/getwebhookendpoint.d.ts.map +1 -0
  292. package/esm/models/operations/getwebhookendpoint.js +13 -0
  293. package/esm/models/operations/getwebhookendpoint.js.map +1 -0
  294. package/esm/models/operations/getwebhooksigningsecret.d.ts +20 -0
  295. package/esm/models/operations/getwebhooksigningsecret.d.ts.map +1 -0
  296. package/esm/models/operations/getwebhooksigningsecret.js +13 -0
  297. package/esm/models/operations/getwebhooksigningsecret.js.map +1 -0
  298. package/esm/models/operations/index.d.ts +16 -0
  299. package/esm/models/operations/index.d.ts.map +1 -1
  300. package/esm/models/operations/index.js +16 -0
  301. package/esm/models/operations/index.js.map +1 -1
  302. package/esm/models/operations/listdeployments.d.ts +2 -0
  303. package/esm/models/operations/listdeployments.d.ts.map +1 -1
  304. package/esm/models/operations/listdeployments.js +2 -0
  305. package/esm/models/operations/listdeployments.js.map +1 -1
  306. package/esm/models/operations/listwebhookdeliveries.d.ts +22 -0
  307. package/esm/models/operations/listwebhookdeliveries.d.ts.map +1 -0
  308. package/esm/models/operations/listwebhookdeliveries.js +14 -0
  309. package/esm/models/operations/listwebhookdeliveries.js.map +1 -0
  310. package/esm/models/operations/listwebhookendpoints.d.ts +20 -0
  311. package/esm/models/operations/listwebhookendpoints.d.ts.map +1 -0
  312. package/esm/models/operations/listwebhookendpoints.js +13 -0
  313. package/esm/models/operations/listwebhookendpoints.js.map +1 -0
  314. package/esm/models/operations/preparedeploymentinstallation.d.ts +136 -0
  315. package/esm/models/operations/preparedeploymentinstallation.d.ts.map +1 -0
  316. package/esm/models/operations/preparedeploymentinstallation.js +97 -0
  317. package/esm/models/operations/preparedeploymentinstallation.js.map +1 -0
  318. package/esm/models/operations/reportdeploymentsetupprogress.d.ts +7 -0
  319. package/esm/models/operations/reportdeploymentsetupprogress.d.ts.map +1 -0
  320. package/esm/models/operations/reportdeploymentsetupprogress.js +5 -0
  321. package/esm/models/operations/reportdeploymentsetupprogress.js.map +1 -0
  322. package/esm/models/operations/retrywebhookdelivery.d.ts +32 -0
  323. package/esm/models/operations/retrywebhookdelivery.d.ts.map +1 -0
  324. package/esm/models/operations/retrywebhookdelivery.js +26 -0
  325. package/esm/models/operations/retrywebhookdelivery.js.map +1 -0
  326. package/esm/models/operations/rotatewebhooksigningsecret.d.ts +20 -0
  327. package/esm/models/operations/rotatewebhooksigningsecret.d.ts.map +1 -0
  328. package/esm/models/operations/rotatewebhooksigningsecret.js +13 -0
  329. package/esm/models/operations/rotatewebhooksigningsecret.js.map +1 -0
  330. package/esm/models/operations/testwebhookendpoint.d.ts +20 -0
  331. package/esm/models/operations/testwebhookendpoint.d.ts.map +1 -0
  332. package/esm/models/operations/testwebhookendpoint.js +13 -0
  333. package/esm/models/operations/testwebhookendpoint.js.map +1 -0
  334. package/esm/models/operations/updatewebhookendpoint.d.ts +55 -0
  335. package/esm/models/operations/updatewebhookendpoint.d.ts.map +1 -0
  336. package/esm/models/operations/updatewebhookendpoint.js +45 -0
  337. package/esm/models/operations/updatewebhookendpoint.js.map +1 -0
  338. package/esm/models/persistimporteddeploymentrequest.d.ts +73 -2
  339. package/esm/models/persistimporteddeploymentrequest.d.ts.map +1 -1
  340. package/esm/models/persistimporteddeploymentrequest.js +20 -4
  341. package/esm/models/persistimporteddeploymentrequest.js.map +1 -1
  342. package/esm/models/persistimporteddeploymentrequestpendingpreparedstackvalidation.d.ts +2459 -0
  343. package/esm/models/persistimporteddeploymentrequestpendingpreparedstackvalidation.d.ts.map +1 -0
  344. package/esm/models/persistimporteddeploymentrequestpendingpreparedstackvalidation.js +1470 -0
  345. package/esm/models/persistimporteddeploymentrequestpendingpreparedstackvalidation.js.map +1 -0
  346. package/esm/models/persistimporteddeploymentrequestpendingpreparedstackvalidationunion.d.ts +1 -2443
  347. package/esm/models/persistimporteddeploymentrequestpendingpreparedstackvalidationunion.d.ts.map +1 -1
  348. package/esm/models/persistimporteddeploymentrequestpendingpreparedstackvalidationunion.js +2 -1464
  349. package/esm/models/persistimporteddeploymentrequestpendingpreparedstackvalidationunion.js.map +1 -1
  350. package/esm/models/persistimporteddeploymentrequestpreparedstackoverrideaw.d.ts +3089 -0
  351. package/esm/models/persistimporteddeploymentrequestpreparedstackoverrideaw.d.ts.map +1 -0
  352. package/esm/models/persistimporteddeploymentrequestpreparedstackoverrideaw.js +1545 -0
  353. package/esm/models/persistimporteddeploymentrequestpreparedstackoverrideaw.js.map +1 -0
  354. package/esm/models/persistimporteddeploymentrequestpreparedstackoverrideazureresource.d.ts +5 -3088
  355. package/esm/models/persistimporteddeploymentrequestpreparedstackoverrideazureresource.d.ts.map +1 -1
  356. package/esm/models/persistimporteddeploymentrequestpreparedstackoverrideazureresource.js +4 -1538
  357. package/esm/models/persistimporteddeploymentrequestpreparedstackoverrideazureresource.js.map +1 -1
  358. package/esm/models/prepareddeploymentstack.d.ts +8 -0
  359. package/esm/models/prepareddeploymentstack.d.ts.map +1 -1
  360. package/esm/models/prepareddeploymentstack.js +2 -0
  361. package/esm/models/prepareddeploymentstack.js.map +1 -1
  362. package/esm/models/project.d.ts +4 -4
  363. package/esm/models/projectlistitemresponse.d.ts +4 -4
  364. package/esm/models/releasedeploymentitem.d.ts +2 -0
  365. package/esm/models/releasedeploymentitem.d.ts.map +1 -1
  366. package/esm/models/releasedeploymentitem.js +2 -0
  367. package/esm/models/releasedeploymentitem.js.map +1 -1
  368. package/esm/models/syncacquirerequest.d.ts +2 -0
  369. package/esm/models/syncacquirerequest.d.ts.map +1 -1
  370. package/esm/models/syncacquirerequest.js +2 -0
  371. package/esm/models/syncacquirerequest.js.map +1 -1
  372. package/esm/models/synclistrequest.d.ts +2 -0
  373. package/esm/models/synclistrequest.d.ts.map +1 -1
  374. package/esm/models/synclistrequest.js +2 -0
  375. package/esm/models/synclistrequest.js.map +1 -1
  376. package/esm/models/synclistresponse.d.ts +65 -3
  377. package/esm/models/synclistresponse.d.ts.map +1 -1
  378. package/esm/models/synclistresponse.js +19 -4
  379. package/esm/models/synclistresponse.js.map +1 -1
  380. package/esm/models/synclistresponsependingpreparedstackdefaultstringlist.d.ts +1 -2048
  381. package/esm/models/synclistresponsependingpreparedstackdefaultstringlist.d.ts.map +1 -1
  382. package/esm/models/synclistresponsependingpreparedstackdefaultstringlist.js +2 -1453
  383. package/esm/models/synclistresponsependingpreparedstackdefaultstringlist.js.map +1 -1
  384. package/esm/models/synclistresponsependingpreparedstackdefaultunion.d.ts +1 -1
  385. package/esm/models/synclistresponsependingpreparedstackdefaultunion.d.ts.map +1 -1
  386. package/esm/models/synclistresponsependingpreparedstackdefaultunion.js +1 -1
  387. package/esm/models/synclistresponsependingpreparedstackdefaultunion.js.map +1 -1
  388. package/esm/models/synclistresponsependingpreparedstacktypestringlist.d.ts +2071 -0
  389. package/esm/models/synclistresponsependingpreparedstacktypestringlist.d.ts.map +1 -0
  390. package/esm/models/synclistresponsependingpreparedstacktypestringlist.js +1464 -0
  391. package/esm/models/synclistresponsependingpreparedstacktypestringlist.js.map +1 -0
  392. package/esm/models/synclistresponsepreparedstackapprovalplugins.d.ts +4 -2333
  393. package/esm/models/synclistresponsepreparedstackapprovalplugins.d.ts.map +1 -1
  394. package/esm/models/synclistresponsepreparedstackapprovalplugins.js +4 -1514
  395. package/esm/models/synclistresponsepreparedstackapprovalplugins.js.map +1 -1
  396. package/esm/models/synclistresponsepreparedstackpluginsdecision.d.ts +2336 -0
  397. package/esm/models/synclistresponsepreparedstackpluginsdecision.d.ts.map +1 -0
  398. package/esm/models/synclistresponsepreparedstackpluginsdecision.js +1518 -0
  399. package/esm/models/synclistresponsepreparedstackpluginsdecision.js.map +1 -0
  400. package/esm/models/targetdeployment.d.ts +8 -0
  401. package/esm/models/targetdeployment.d.ts.map +1 -1
  402. package/esm/models/targetdeployment.js +2 -0
  403. package/esm/models/targetdeployment.js.map +1 -1
  404. package/esm/models/targetreleaseapprovalplugins.d.ts +3767 -0
  405. package/esm/models/targetreleaseapprovalplugins.d.ts.map +1 -0
  406. package/esm/models/targetreleaseapprovalplugins.js +2764 -0
  407. package/esm/models/targetreleaseapprovalplugins.js.map +1 -0
  408. package/esm/models/targetreleaseapprovalpluginsenum.d.ts +4 -3690
  409. package/esm/models/targetreleaseapprovalpluginsenum.d.ts.map +1 -1
  410. package/esm/models/targetreleaseapprovalpluginsenum.js +5 -2736
  411. package/esm/models/targetreleaseapprovalpluginsenum.js.map +1 -1
  412. package/esm/models/terraformkeysetuprequest.d.ts +41 -0
  413. package/esm/models/terraformkeysetuprequest.d.ts.map +1 -0
  414. package/esm/models/terraformkeysetuprequest.js +39 -0
  415. package/esm/models/terraformkeysetuprequest.js.map +1 -0
  416. package/esm/models/terraformkeysetuptarget.d.ts +27 -0
  417. package/esm/models/terraformkeysetuptarget.d.ts.map +1 -0
  418. package/esm/models/terraformkeysetuptarget.js +30 -0
  419. package/esm/models/terraformkeysetuptarget.js.map +1 -0
  420. package/esm/models/updatedeploymentsetuppolicy.d.ts +10 -0
  421. package/esm/models/updatedeploymentsetuppolicy.d.ts.map +1 -1
  422. package/esm/models/updatedeploymentsetuppolicy.js +2 -0
  423. package/esm/models/updatedeploymentsetuppolicy.js.map +1 -1
  424. package/esm/models/updateproject.d.ts +7 -64
  425. package/esm/models/updateproject.d.ts.map +1 -1
  426. package/esm/models/updateproject.js +4 -19
  427. package/esm/models/updateproject.js.map +1 -1
  428. package/esm/models/userprofile.d.ts +24 -0
  429. package/esm/models/userprofile.d.ts.map +1 -1
  430. package/esm/models/userprofile.js +22 -0
  431. package/esm/models/userprofile.js.map +1 -1
  432. package/esm/models/userprofilesetuprequest.d.ts +16 -3
  433. package/esm/models/userprofilesetuprequest.d.ts.map +1 -1
  434. package/esm/models/userprofilesetuprequest.js +15 -0
  435. package/esm/models/userprofilesetuprequest.js.map +1 -1
  436. package/esm/models/webhookactionresult.d.ts +10 -0
  437. package/esm/models/webhookactionresult.d.ts.map +1 -0
  438. package/esm/models/webhookactionresult.js +13 -0
  439. package/esm/models/webhookactionresult.js.map +1 -0
  440. package/esm/models/webhookdeliverylist.d.ts +22 -0
  441. package/esm/models/webhookdeliverylist.d.ts.map +1 -0
  442. package/esm/models/webhookdeliverylist.js +26 -0
  443. package/esm/models/webhookdeliverylist.js.map +1 -0
  444. package/esm/models/webhookendpoint.d.ts +34 -0
  445. package/esm/models/webhookendpoint.d.ts.map +1 -0
  446. package/esm/models/webhookendpoint.js +35 -0
  447. package/esm/models/webhookendpoint.js.map +1 -0
  448. package/esm/models/webhookendpointlist.d.ts +12 -0
  449. package/esm/models/webhookendpointlist.d.ts.map +1 -0
  450. package/esm/models/webhookendpointlist.js +15 -0
  451. package/esm/models/webhookendpointlist.js.map +1 -0
  452. package/esm/models/webhooksigningsecret.d.ts +10 -0
  453. package/esm/models/webhooksigningsecret.d.ts.map +1 -0
  454. package/esm/models/webhooksigningsecret.js +13 -0
  455. package/esm/models/webhooksigningsecret.js.map +1 -0
  456. package/esm/react-query/acceptTerraformKeySetup.d.ts +24 -0
  457. package/esm/react-query/acceptTerraformKeySetup.d.ts.map +1 -0
  458. package/esm/react-query/acceptTerraformKeySetup.js +36 -0
  459. package/esm/react-query/acceptTerraformKeySetup.js.map +1 -0
  460. package/esm/react-query/deploymentsCreate.d.ts +1 -1
  461. package/esm/react-query/deploymentsCreate.js +1 -1
  462. package/esm/react-query/deploymentsReportDeploymentSetupProgress.d.ts +26 -0
  463. package/esm/react-query/deploymentsReportDeploymentSetupProgress.d.ts.map +1 -0
  464. package/esm/react-query/deploymentsReportDeploymentSetupProgress.js +43 -0
  465. package/esm/react-query/deploymentsReportDeploymentSetupProgress.js.map +1 -0
  466. package/esm/react-query/getDeploymentPreparation.core.d.ts +13 -0
  467. package/esm/react-query/getDeploymentPreparation.core.d.ts.map +1 -0
  468. package/esm/react-query/getDeploymentPreparation.core.js +29 -0
  469. package/esm/react-query/getDeploymentPreparation.core.js.map +1 -0
  470. package/esm/react-query/getDeploymentPreparation.d.ts +17 -0
  471. package/esm/react-query/getDeploymentPreparation.d.ts.map +1 -0
  472. package/esm/react-query/getDeploymentPreparation.js +42 -0
  473. package/esm/react-query/getDeploymentPreparation.js.map +1 -0
  474. package/esm/react-query/getInstallationDeployment.core.d.ts +13 -0
  475. package/esm/react-query/getInstallationDeployment.core.d.ts.map +1 -0
  476. package/esm/react-query/getInstallationDeployment.core.js +33 -0
  477. package/esm/react-query/getInstallationDeployment.core.js.map +1 -0
  478. package/esm/react-query/getInstallationDeployment.d.ts +17 -0
  479. package/esm/react-query/getInstallationDeployment.d.ts.map +1 -0
  480. package/esm/react-query/getInstallationDeployment.js +42 -0
  481. package/esm/react-query/getInstallationDeployment.js.map +1 -0
  482. package/esm/react-query/getTerraformKeySetupOperation.core.d.ts +12 -0
  483. package/esm/react-query/getTerraformKeySetupOperation.core.d.ts.map +1 -0
  484. package/esm/react-query/getTerraformKeySetupOperation.core.js +34 -0
  485. package/esm/react-query/getTerraformKeySetupOperation.core.js.map +1 -0
  486. package/esm/react-query/getTerraformKeySetupOperation.d.ts +17 -0
  487. package/esm/react-query/getTerraformKeySetupOperation.d.ts.map +1 -0
  488. package/esm/react-query/getTerraformKeySetupOperation.js +42 -0
  489. package/esm/react-query/getTerraformKeySetupOperation.js.map +1 -0
  490. package/esm/react-query/index.d.ts +16 -0
  491. package/esm/react-query/index.d.ts.map +1 -1
  492. package/esm/react-query/index.js +16 -0
  493. package/esm/react-query/index.js.map +1 -1
  494. package/esm/react-query/prepareDeploymentInstallation.d.ts +25 -0
  495. package/esm/react-query/prepareDeploymentInstallation.d.ts.map +1 -0
  496. package/esm/react-query/prepareDeploymentInstallation.js +36 -0
  497. package/esm/react-query/prepareDeploymentInstallation.js.map +1 -0
  498. package/esm/react-query/webhooksCreateWebhookEndpoint.d.ts +28 -0
  499. package/esm/react-query/webhooksCreateWebhookEndpoint.d.ts.map +1 -0
  500. package/esm/react-query/webhooksCreateWebhookEndpoint.js +39 -0
  501. package/esm/react-query/webhooksCreateWebhookEndpoint.js.map +1 -0
  502. package/esm/react-query/webhooksDeleteWebhookEndpoint.d.ts +27 -0
  503. package/esm/react-query/webhooksDeleteWebhookEndpoint.d.ts.map +1 -0
  504. package/esm/react-query/webhooksDeleteWebhookEndpoint.js +39 -0
  505. package/esm/react-query/webhooksDeleteWebhookEndpoint.js.map +1 -0
  506. package/esm/react-query/webhooksGetWebhookEndpoint.core.d.ts +15 -0
  507. package/esm/react-query/webhooksGetWebhookEndpoint.core.d.ts.map +1 -0
  508. package/esm/react-query/webhooksGetWebhookEndpoint.core.js +37 -0
  509. package/esm/react-query/webhooksGetWebhookEndpoint.core.js.map +1 -0
  510. package/esm/react-query/webhooksGetWebhookEndpoint.d.ts +24 -0
  511. package/esm/react-query/webhooksGetWebhookEndpoint.d.ts.map +1 -0
  512. package/esm/react-query/webhooksGetWebhookEndpoint.js +43 -0
  513. package/esm/react-query/webhooksGetWebhookEndpoint.js.map +1 -0
  514. package/esm/react-query/webhooksGetWebhookSigningSecret.core.d.ts +15 -0
  515. package/esm/react-query/webhooksGetWebhookSigningSecret.core.d.ts.map +1 -0
  516. package/esm/react-query/webhooksGetWebhookSigningSecret.core.js +37 -0
  517. package/esm/react-query/webhooksGetWebhookSigningSecret.core.js.map +1 -0
  518. package/esm/react-query/webhooksGetWebhookSigningSecret.d.ts +24 -0
  519. package/esm/react-query/webhooksGetWebhookSigningSecret.d.ts.map +1 -0
  520. package/esm/react-query/webhooksGetWebhookSigningSecret.js +47 -0
  521. package/esm/react-query/webhooksGetWebhookSigningSecret.js.map +1 -0
  522. package/esm/react-query/webhooksListWebhookDeliveries.core.d.ts +16 -0
  523. package/esm/react-query/webhooksListWebhookDeliveries.core.d.ts.map +1 -0
  524. package/esm/react-query/webhooksListWebhookDeliveries.core.js +38 -0
  525. package/esm/react-query/webhooksListWebhookDeliveries.core.js.map +1 -0
  526. package/esm/react-query/webhooksListWebhookDeliveries.d.ts +29 -0
  527. package/esm/react-query/webhooksListWebhookDeliveries.d.ts.map +1 -0
  528. package/esm/react-query/webhooksListWebhookDeliveries.js +47 -0
  529. package/esm/react-query/webhooksListWebhookDeliveries.js.map +1 -0
  530. package/esm/react-query/webhooksListWebhookEndpoints.core.d.ts +16 -0
  531. package/esm/react-query/webhooksListWebhookEndpoints.core.d.ts.map +1 -0
  532. package/esm/react-query/webhooksListWebhookEndpoints.core.js +37 -0
  533. package/esm/react-query/webhooksListWebhookEndpoints.core.js.map +1 -0
  534. package/esm/react-query/webhooksListWebhookEndpoints.d.ts +27 -0
  535. package/esm/react-query/webhooksListWebhookEndpoints.d.ts.map +1 -0
  536. package/esm/react-query/webhooksListWebhookEndpoints.js +47 -0
  537. package/esm/react-query/webhooksListWebhookEndpoints.js.map +1 -0
  538. package/esm/react-query/webhooksRetryWebhookDelivery.d.ts +24 -0
  539. package/esm/react-query/webhooksRetryWebhookDelivery.d.ts.map +1 -0
  540. package/esm/react-query/webhooksRetryWebhookDelivery.js +36 -0
  541. package/esm/react-query/webhooksRetryWebhookDelivery.js.map +1 -0
  542. package/esm/react-query/webhooksRotateWebhookSigningSecret.d.ts +24 -0
  543. package/esm/react-query/webhooksRotateWebhookSigningSecret.d.ts.map +1 -0
  544. package/esm/react-query/webhooksRotateWebhookSigningSecret.js +40 -0
  545. package/esm/react-query/webhooksRotateWebhookSigningSecret.js.map +1 -0
  546. package/esm/react-query/webhooksTestWebhookEndpoint.d.ts +24 -0
  547. package/esm/react-query/webhooksTestWebhookEndpoint.d.ts.map +1 -0
  548. package/esm/react-query/webhooksTestWebhookEndpoint.js +36 -0
  549. package/esm/react-query/webhooksTestWebhookEndpoint.js.map +1 -0
  550. package/esm/react-query/webhooksUpdateWebhookEndpoint.d.ts +24 -0
  551. package/esm/react-query/webhooksUpdateWebhookEndpoint.d.ts.map +1 -0
  552. package/esm/react-query/webhooksUpdateWebhookEndpoint.js +36 -0
  553. package/esm/react-query/webhooksUpdateWebhookEndpoint.js.map +1 -0
  554. package/esm/sdk/deployments.d.ts +5 -1
  555. package/esm/sdk/deployments.d.ts.map +1 -1
  556. package/esm/sdk/deployments.js +8 -1
  557. package/esm/sdk/deployments.js.map +1 -1
  558. package/esm/sdk/sdk.d.ts +8 -0
  559. package/esm/sdk/sdk.d.ts.map +1 -1
  560. package/esm/sdk/sdk.js +24 -0
  561. package/esm/sdk/sdk.js.map +1 -1
  562. package/esm/sdk/webhooks.d.ts +22 -0
  563. package/esm/sdk/webhooks.d.ts.map +1 -0
  564. package/esm/sdk/webhooks.js +54 -0
  565. package/esm/sdk/webhooks.js.map +1 -0
  566. package/jsr.json +1 -1
  567. package/package.json +3 -3
  568. package/src/funcs/acceptTerraformKeySetup.ts +170 -0
  569. package/src/funcs/deploymentsCreate.ts +1 -1
  570. package/src/funcs/deploymentsReportDeploymentSetupProgress.ts +180 -0
  571. package/src/funcs/getDeploymentPreparation.ts +180 -0
  572. package/src/funcs/getInstallationDeployment.ts +180 -0
  573. package/src/funcs/getTerraformKeySetupOperation.ts +180 -0
  574. package/src/funcs/prepareDeploymentInstallation.ts +191 -0
  575. package/src/funcs/webhooksCreateWebhookEndpoint.ts +185 -0
  576. package/src/funcs/webhooksDeleteWebhookEndpoint.ts +182 -0
  577. package/src/funcs/webhooksGetWebhookEndpoint.ts +178 -0
  578. package/src/funcs/webhooksGetWebhookSigningSecret.ts +179 -0
  579. package/src/funcs/webhooksListWebhookDeliveries.ts +180 -0
  580. package/src/funcs/webhooksListWebhookEndpoints.ts +176 -0
  581. package/src/funcs/webhooksRetryWebhookDelivery.ts +180 -0
  582. package/src/funcs/webhooksRotateWebhookSigningSecret.ts +181 -0
  583. package/src/funcs/webhooksTestWebhookEndpoint.ts +179 -0
  584. package/src/funcs/webhooksUpdateWebhookEndpoint.ts +180 -0
  585. package/src/lib/config.ts +2 -2
  586. package/src/models/apikeydeploymentsetupconfig.ts +10 -0
  587. package/src/models/createdeploymentgrouptokenrequest.ts +12 -0
  588. package/src/models/createdeploymentresponse.ts +11 -1
  589. package/src/models/createmanagerresponsepublicendpointtargetmachineaddresses2.ts +10 -0
  590. package/src/models/createsetuplinkrequest.ts +12 -0
  591. package/src/models/deletedeploymentrequest.ts +2 -0
  592. package/src/models/deletedeploymentresponse.ts +2 -0
  593. package/src/models/deployment.ts +100 -7
  594. package/src/models/deploymentconnectioninfo.ts +2 -0
  595. package/src/models/deploymentdetailresponse.ts +119 -7
  596. package/src/models/deploymentdetailresponsependingpreparedstackdefaultstringlist.ts +2 -5032
  597. package/src/models/deploymentdetailresponsependingpreparedstackdefaultunion.ts +1 -1
  598. package/src/models/deploymentdetailresponsependingpreparedstacktypestringlist.ts +5039 -0
  599. package/src/models/deploymentdetailresponsepreparedstackapprovalplugins.ts +5 -6049
  600. package/src/models/deploymentdetailresponsepreparedstackpluginsdecision.ts +6058 -0
  601. package/src/models/deploymentinfosetupconfig.ts +10 -0
  602. package/src/models/deploymentinstallation.ts +168 -0
  603. package/src/models/deploymentinstallationoptions.ts +79 -0
  604. package/src/models/deploymentlistitemresponse.ts +2 -0
  605. package/src/models/deploymentpendingpreparedstackdefaultstringlist.ts +2 -4504
  606. package/src/models/deploymentpendingpreparedstackdefaultunion.ts +1 -1
  607. package/src/models/deploymentpendingpreparedstacktypestringlist.ts +4513 -0
  608. package/src/models/deploymentportalappearance.ts +4 -4
  609. package/src/models/deploymentportalappearanceinput.ts +95 -0
  610. package/src/models/deploymentpreparationresponse.ts +251 -0
  611. package/src/models/deploymentpreparedstackapprovalplugins.ts +5 -5607
  612. package/src/models/deploymentpreparedstackpluginsdecision.ts +5617 -0
  613. package/src/models/deploymentresource.ts +212 -0
  614. package/src/models/deploymentsetupprogressrequest.ts +84 -0
  615. package/src/models/deploymentstate.ts +39 -5
  616. package/src/models/deploymentstatependingpreparedstackdefaultstringlist.ts +2 -8226
  617. package/src/models/deploymentstatependingpreparedstackdefaultunion.ts +1 -1
  618. package/src/models/deploymentstatependingpreparedstacktypestringlist.ts +8214 -0
  619. package/src/models/deploymentstatepreparedstackapprovalplugins.ts +8 -9700
  620. package/src/models/deploymentstatepreparedstackpluginsdecision.ts +9716 -0
  621. package/src/models/event.ts +12 -0
  622. package/src/models/eventlistitemresponse.ts +12 -0
  623. package/src/models/externalaibinding.ts +14 -6
  624. package/src/models/externalbindingecr.ts +6694 -0
  625. package/src/models/externalbindingunion.ts +608 -31
  626. package/src/models/generatemanagertokenrequest.ts +4 -4
  627. package/src/models/index.ts +25 -12
  628. package/src/models/installationdeploymentresponse.ts +33 -0
  629. package/src/models/keyprefixsecretref1.ts +77 -6618
  630. package/src/models/managerdeployment.ts +2 -0
  631. package/src/models/managerretryresponsepublicendpointtargetunion2.ts +10 -0
  632. package/src/models/newdeploymentrequest.ts +20 -3
  633. package/src/models/operations/acceptawskeysetup.ts +5 -0
  634. package/src/models/operations/acceptterraformkeysetup.ts +35 -0
  635. package/src/models/operations/configureprojectsource.ts +4 -4
  636. package/src/models/operations/createproject.ts +4 -4
  637. package/src/models/operations/createprojectfromtemplate.ts +4 -4
  638. package/src/models/operations/createwebhookendpoint.ts +110 -0
  639. package/src/models/operations/deletewebhookendpoint.ts +42 -0
  640. package/src/models/operations/getdeploymentpreparation.ts +39 -0
  641. package/src/models/operations/getdeploymentstats.ts +2 -0
  642. package/src/models/operations/getinstallationdeployment.ts +39 -0
  643. package/src/models/operations/getterraformkeysetupoperation.ts +95 -0
  644. package/src/models/operations/getwebhookendpoint.ts +40 -0
  645. package/src/models/operations/getwebhooksigningsecret.ts +42 -0
  646. package/src/models/operations/index.ts +16 -0
  647. package/src/models/operations/listdeployments.ts +2 -0
  648. package/src/models/operations/listwebhookdeliveries.ts +45 -0
  649. package/src/models/operations/listwebhookendpoints.ts +42 -0
  650. package/src/models/operations/preparedeploymentinstallation.ts +252 -0
  651. package/src/models/operations/reportdeploymentsetupprogress.ts +10 -0
  652. package/src/models/operations/retrywebhookdelivery.ts +77 -0
  653. package/src/models/operations/rotatewebhooksigningsecret.ts +42 -0
  654. package/src/models/operations/testwebhookendpoint.ts +40 -0
  655. package/src/models/operations/updatewebhookendpoint.ts +110 -0
  656. package/src/models/persistimporteddeploymentrequest.ts +111 -7
  657. package/src/models/persistimporteddeploymentrequestpendingpreparedstackvalidation.ts +5675 -0
  658. package/src/models/persistimporteddeploymentrequestpendingpreparedstackvalidationunion.ts +2 -5680
  659. package/src/models/persistimporteddeploymentrequestpreparedstackoverrideaw.ts +7077 -0
  660. package/src/models/persistimporteddeploymentrequestpreparedstackoverrideazureresource.ts +6 -7067
  661. package/src/models/prepareddeploymentstack.ts +10 -0
  662. package/src/models/project.ts +4 -4
  663. package/src/models/projectlistitemresponse.ts +4 -4
  664. package/src/models/releasedeploymentitem.ts +2 -0
  665. package/src/models/syncacquirerequest.ts +2 -0
  666. package/src/models/synclistrequest.ts +2 -0
  667. package/src/models/synclistresponse.ts +103 -7
  668. package/src/models/synclistresponsependingpreparedstackdefaultstringlist.ts +2 -4655
  669. package/src/models/synclistresponsependingpreparedstackdefaultunion.ts +1 -1
  670. package/src/models/synclistresponsependingpreparedstacktypestringlist.ts +4664 -0
  671. package/src/models/synclistresponsepreparedstackapprovalplugins.ts +5 -5833
  672. package/src/models/synclistresponsepreparedstackpluginsdecision.ts +5842 -0
  673. package/src/models/targetdeployment.ts +10 -0
  674. package/src/models/targetreleaseapprovalplugins.ts +9599 -0
  675. package/src/models/targetreleaseapprovalpluginsenum.ts +5 -9463
  676. package/src/models/terraformkeysetuprequest.ts +96 -0
  677. package/src/models/terraformkeysetuptarget.ts +69 -0
  678. package/src/models/updatedeploymentsetuppolicy.ts +12 -0
  679. package/src/models/updateproject.ts +13 -99
  680. package/src/models/userprofile.ts +36 -0
  681. package/src/models/userprofilesetuprequest.ts +24 -3
  682. package/src/models/webhookactionresult.ts +30 -0
  683. package/src/models/webhookdeliverylist.ts +64 -0
  684. package/src/models/webhookendpoint.ts +65 -0
  685. package/src/models/webhookendpointlist.ts +36 -0
  686. package/src/models/webhooksigningsecret.ts +30 -0
  687. package/src/react-query/acceptTerraformKeySetup.ts +106 -0
  688. package/src/react-query/deploymentsCreate.ts +1 -1
  689. package/src/react-query/deploymentsReportDeploymentSetupProgress.ts +111 -0
  690. package/src/react-query/getDeploymentPreparation.core.ts +72 -0
  691. package/src/react-query/getDeploymentPreparation.ts +130 -0
  692. package/src/react-query/getInstallationDeployment.core.ts +76 -0
  693. package/src/react-query/getInstallationDeployment.ts +130 -0
  694. package/src/react-query/getTerraformKeySetupOperation.core.ts +82 -0
  695. package/src/react-query/getTerraformKeySetupOperation.ts +130 -0
  696. package/src/react-query/index.ts +16 -0
  697. package/src/react-query/prepareDeploymentInstallation.ts +109 -0
  698. package/src/react-query/webhooksCreateWebhookEndpoint.ts +111 -0
  699. package/src/react-query/webhooksDeleteWebhookEndpoint.ts +109 -0
  700. package/src/react-query/webhooksGetWebhookEndpoint.core.ts +82 -0
  701. package/src/react-query/webhooksGetWebhookEndpoint.ts +133 -0
  702. package/src/react-query/webhooksGetWebhookSigningSecret.core.ts +83 -0
  703. package/src/react-query/webhooksGetWebhookSigningSecret.ts +140 -0
  704. package/src/react-query/webhooksListWebhookDeliveries.core.ts +83 -0
  705. package/src/react-query/webhooksListWebhookDeliveries.ts +146 -0
  706. package/src/react-query/webhooksListWebhookEndpoints.core.ts +81 -0
  707. package/src/react-query/webhooksListWebhookEndpoints.ts +142 -0
  708. package/src/react-query/webhooksRetryWebhookDelivery.ts +106 -0
  709. package/src/react-query/webhooksRotateWebhookSigningSecret.ts +110 -0
  710. package/src/react-query/webhooksTestWebhookEndpoint.ts +106 -0
  711. package/src/react-query/webhooksUpdateWebhookEndpoint.ts +105 -0
  712. package/src/sdk/deployments.ts +16 -1
  713. package/src/sdk/sdk.ts +68 -0
  714. package/src/sdk/webhooks.ts +138 -0
@@ -1,2595 +1,3 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
- import * as z from "zod/v4";
5
- import { remap as remap$ } from "../lib/primitives.js";
6
- import { collectExtraKeys as collectExtraKeys$, safeParse, } from "../lib/schemas.js";
7
- export const CurrentReleaseTypeStringList = {
8
- StringList: "stringList",
9
- };
10
- export const CurrentReleaseTypeBoolean = {
11
- Boolean: "boolean",
12
- };
13
- export const CurrentReleaseTypeNumber = {
14
- Number: "number",
15
- };
16
- export const CurrentReleaseTypeString = {
17
- String: "string",
18
- };
19
- /**
20
- * Environment variable handling for a stack input mapping.
21
- */
22
- export const CurrentReleaseTypeEnvEnum = {
23
- Plain: "plain",
24
- Secret: "secret",
25
- };
26
- /**
27
- * Primitive stack input kind.
28
- */
29
- export const CurrentReleaseKind = {
30
- String: "string",
31
- Secret: "secret",
32
- Number: "number",
33
- Integer: "integer",
34
- Boolean: "boolean",
35
- Enum: "enum",
36
- StringList: "stringList",
37
- };
38
- /**
39
- * Represents the target cloud platform.
40
- */
41
- export const CurrentReleasePlatform = {
42
- Aws: "aws",
43
- Gcp: "gcp",
44
- Azure: "azure",
45
- Kubernetes: "kubernetes",
46
- Machines: "machines",
47
- Local: "local",
48
- Test: "test",
49
- };
50
- /**
51
- * Who can provide a stack input value.
52
- */
53
- export const CurrentReleaseProvidedBy = {
54
- Developer: "developer",
55
- Deployer: "deployer",
56
- };
57
- /**
58
- * Whether matching operations run without approval.
59
- */
60
- export const CurrentReleaseCustomDecision = {
61
- Auto: "auto",
62
- Manual: "manual",
63
- };
64
- /**
65
- * Whether matching operations run without approval.
66
- */
67
- export const CurrentReleaseApprovalCustomEnum = {
68
- Auto: "auto",
69
- Manual: "manual",
70
- };
71
- /**
72
- * Whether matching operations run without approval.
73
- */
74
- export const CurrentReleasePluginsDecision = {
75
- Auto: "auto",
76
- Manual: "manual",
77
- };
78
- /**
79
- * Whether matching operations run without approval.
80
- */
81
- export const CurrentReleaseApprovalPluginsEnum = {
82
- Auto: "auto",
83
- Manual: "manual",
84
- };
85
- export const CurrentReleaseManagementEnum = {
86
- Auto: "auto",
87
- };
88
- /**
89
- * IAM effect. Defaults to Allow.
90
- */
91
- export const CurrentReleaseOverrideEffect = {
92
- Allow: "Allow",
93
- Deny: "Deny",
94
- };
95
- /**
96
- * IAM effect. Defaults to Allow.
97
- */
98
- export const CurrentReleaseExtendEffect = {
99
- Allow: "Allow",
100
- Deny: "Deny",
101
- };
102
- /**
103
- * IAM effect. Defaults to Allow.
104
- */
105
- export const CurrentReleaseProfileEffect = {
106
- Allow: "Allow",
107
- Deny: "Deny",
108
- };
109
- /**
110
- * Describes the lifecycle of a resource within a stack, determining how it's managed and deployed.
111
- */
112
- export const CurrentReleaseLifecycle = {
113
- Frozen: "frozen",
114
- Live: "live",
115
- };
116
- /**
117
- * Represents the target cloud platform.
118
- */
119
- export const CurrentReleaseSupportedPlatform = {
120
- Aws: "aws",
121
- Gcp: "gcp",
122
- Azure: "azure",
123
- Kubernetes: "kubernetes",
124
- Machines: "machines",
125
- Local: "local",
126
- Test: "test",
127
- };
128
- export const DeploymentStatePlatformTest = {
129
- Test: "test",
130
- };
131
- export const DeploymentStatePlatformLocal = {
132
- Local: "local",
133
- };
134
- export const DeploymentStatePlatformAzure = {
135
- Azure: "azure",
136
- };
137
- export const DeploymentStatePlatformGcp = {
138
- Gcp: "gcp",
139
- };
140
- export const DeploymentStatePlatformAws = {
141
- Aws: "aws",
142
- };
143
- /**
144
- * Represents the target cloud platform.
145
- */
146
- export const DeploymentStatePlatform = {
147
- Aws: "aws",
148
- Gcp: "gcp",
149
- Azure: "azure",
150
- Kubernetes: "kubernetes",
151
- Machines: "machines",
152
- Local: "local",
153
- Test: "test",
154
- };
155
- /**
156
- * Changing phase starts a new window instead of carrying a previous outage forward.
157
- */
158
- export const DeploymentStateCredentialRetryStatus = {
159
- Pending: "pending",
160
- PreflightsFailed: "preflights-failed",
161
- InitialSetup: "initial-setup",
162
- InitialSetupFailed: "initial-setup-failed",
163
- Provisioning: "provisioning",
164
- WaitingForMachines: "waiting-for-machines",
165
- WaitingForSecrets: "waiting-for-secrets",
166
- ProvisioningFailed: "provisioning-failed",
167
- Running: "running",
168
- RefreshFailed: "refresh-failed",
169
- UpdatePending: "update-pending",
170
- Updating: "updating",
171
- UpdateFailed: "update-failed",
172
- DeletePending: "delete-pending",
173
- Deleting: "deleting",
174
- DeleteFailed: "delete-failed",
175
- TeardownRequired: "teardown-required",
176
- TeardownFailed: "teardown-failed",
177
- Deleted: "deleted",
178
- Error: "error",
179
- };
180
- /**
181
- * The secret store a deployer writes a vault-native secret into.
182
- */
183
- export const DeploymentStateStore = {
184
- AwsParameterStore: "aws-parameter-store",
185
- GcpSecretManager: "gcp-secret-manager",
186
- AzureKeyVault: "azure-key-vault",
187
- KubernetesSecret: "kubernetes-secret",
188
- LocalVault: "local-vault",
189
- };
190
- /**
191
- * Whether a deployer secret slot holds a usable value. Alien learns this from
192
- *
193
- * @remarks
194
- * metadata only and never reads the value.
195
- */
196
- export const DeploymentStateDeployerSecretStatus = {
197
- Present: "present",
198
- Missing: "missing",
199
- Invalid: "invalid",
200
- };
201
- /**
202
- * Actor that owns structural work during the initial setup phase.
203
- */
204
- export const DeploymentStateInitialSetupAuthority = {
205
- ImportedHandoff: "importedHandoff",
206
- DirectSetup: "directSetup",
207
- };
208
- export const DeploymentStatePendingPreparedStackTypeStringList = {
209
- StringList: "stringList",
210
- };
211
- /** @internal */
212
- export const CurrentReleaseTypeStringList$inboundSchema = z.enum(CurrentReleaseTypeStringList);
213
- /** @internal */
214
- export const CurrentReleaseTypeStringList$outboundSchema = CurrentReleaseTypeStringList$inboundSchema;
215
- /** @internal */
216
- export const CurrentReleaseDefaultStringList$inboundSchema = z.object({
217
- type: CurrentReleaseTypeStringList$inboundSchema,
218
- value: z.array(z.string()),
219
- });
220
- /** @internal */
221
- export const CurrentReleaseDefaultStringList$outboundSchema = z.object({
222
- type: CurrentReleaseTypeStringList$outboundSchema,
223
- value: z.array(z.string()),
224
- });
225
- export function currentReleaseDefaultStringListToJSON(currentReleaseDefaultStringList) {
226
- return JSON.stringify(CurrentReleaseDefaultStringList$outboundSchema.parse(currentReleaseDefaultStringList));
227
- }
228
- export function currentReleaseDefaultStringListFromJSON(jsonString) {
229
- return safeParse(jsonString, (x) => CurrentReleaseDefaultStringList$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseDefaultStringList' from JSON`);
230
- }
231
- /** @internal */
232
- export const CurrentReleaseTypeBoolean$inboundSchema = z.enum(CurrentReleaseTypeBoolean);
233
- /** @internal */
234
- export const CurrentReleaseTypeBoolean$outboundSchema = CurrentReleaseTypeBoolean$inboundSchema;
235
- /** @internal */
236
- export const CurrentReleaseDefaultBoolean$inboundSchema = z.object({
237
- type: CurrentReleaseTypeBoolean$inboundSchema,
238
- value: z.boolean(),
239
- });
240
- /** @internal */
241
- export const CurrentReleaseDefaultBoolean$outboundSchema = z.object({
242
- type: CurrentReleaseTypeBoolean$outboundSchema,
243
- value: z.boolean(),
244
- });
245
- export function currentReleaseDefaultBooleanToJSON(currentReleaseDefaultBoolean) {
246
- return JSON.stringify(CurrentReleaseDefaultBoolean$outboundSchema.parse(currentReleaseDefaultBoolean));
247
- }
248
- export function currentReleaseDefaultBooleanFromJSON(jsonString) {
249
- return safeParse(jsonString, (x) => CurrentReleaseDefaultBoolean$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseDefaultBoolean' from JSON`);
250
- }
251
- /** @internal */
252
- export const CurrentReleaseTypeNumber$inboundSchema = z.enum(CurrentReleaseTypeNumber);
253
- /** @internal */
254
- export const CurrentReleaseTypeNumber$outboundSchema = CurrentReleaseTypeNumber$inboundSchema;
255
- /** @internal */
256
- export const CurrentReleaseDefaultNumber$inboundSchema = z.object({
257
- type: CurrentReleaseTypeNumber$inboundSchema,
258
- value: z.string(),
259
- });
260
- /** @internal */
261
- export const CurrentReleaseDefaultNumber$outboundSchema = z.object({
262
- type: CurrentReleaseTypeNumber$outboundSchema,
263
- value: z.string(),
264
- });
265
- export function currentReleaseDefaultNumberToJSON(currentReleaseDefaultNumber) {
266
- return JSON.stringify(CurrentReleaseDefaultNumber$outboundSchema.parse(currentReleaseDefaultNumber));
267
- }
268
- export function currentReleaseDefaultNumberFromJSON(jsonString) {
269
- return safeParse(jsonString, (x) => CurrentReleaseDefaultNumber$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseDefaultNumber' from JSON`);
270
- }
271
- /** @internal */
272
- export const CurrentReleaseTypeString$inboundSchema = z.enum(CurrentReleaseTypeString);
273
- /** @internal */
274
- export const CurrentReleaseTypeString$outboundSchema = CurrentReleaseTypeString$inboundSchema;
275
- /** @internal */
276
- export const CurrentReleaseDefaultString$inboundSchema = z.object({
277
- type: CurrentReleaseTypeString$inboundSchema,
278
- value: z.string(),
279
- });
280
- /** @internal */
281
- export const CurrentReleaseDefaultString$outboundSchema = z.object({
282
- type: CurrentReleaseTypeString$outboundSchema,
283
- value: z.string(),
284
- });
285
- export function currentReleaseDefaultStringToJSON(currentReleaseDefaultString) {
286
- return JSON.stringify(CurrentReleaseDefaultString$outboundSchema.parse(currentReleaseDefaultString));
287
- }
288
- export function currentReleaseDefaultStringFromJSON(jsonString) {
289
- return safeParse(jsonString, (x) => CurrentReleaseDefaultString$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseDefaultString' from JSON`);
290
- }
291
- /** @internal */
292
- export const CurrentReleaseDefaultUnion$inboundSchema = z.union([
293
- z.lazy(() => CurrentReleaseDefaultString$inboundSchema),
294
- z.lazy(() => CurrentReleaseDefaultNumber$inboundSchema),
295
- z.lazy(() => CurrentReleaseDefaultBoolean$inboundSchema),
296
- z.lazy(() => CurrentReleaseDefaultStringList$inboundSchema),
297
- z.string(),
298
- ]);
299
- /** @internal */
300
- export const CurrentReleaseDefaultUnion$outboundSchema = z.union([
301
- z.lazy(() => CurrentReleaseDefaultString$outboundSchema),
302
- z.lazy(() => CurrentReleaseDefaultNumber$outboundSchema),
303
- z.lazy(() => CurrentReleaseDefaultBoolean$outboundSchema),
304
- z.lazy(() => CurrentReleaseDefaultStringList$outboundSchema),
305
- z.string(),
306
- ]);
307
- export function currentReleaseDefaultUnionToJSON(currentReleaseDefaultUnion) {
308
- return JSON.stringify(CurrentReleaseDefaultUnion$outboundSchema.parse(currentReleaseDefaultUnion));
309
- }
310
- export function currentReleaseDefaultUnionFromJSON(jsonString) {
311
- return safeParse(jsonString, (x) => CurrentReleaseDefaultUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseDefaultUnion' from JSON`);
312
- }
313
- /** @internal */
314
- export const CurrentReleaseTypeEnvEnum$inboundSchema = z.enum(CurrentReleaseTypeEnvEnum);
315
- /** @internal */
316
- export const CurrentReleaseTypeEnvEnum$outboundSchema = CurrentReleaseTypeEnvEnum$inboundSchema;
317
- /** @internal */
318
- export const CurrentReleaseTypeUnion$inboundSchema = z.union([CurrentReleaseTypeEnvEnum$inboundSchema, z.string()]);
319
- /** @internal */
320
- export const CurrentReleaseTypeUnion$outboundSchema = z.union([CurrentReleaseTypeEnvEnum$outboundSchema, z.string()]);
321
- export function currentReleaseTypeUnionToJSON(currentReleaseTypeUnion) {
322
- return JSON.stringify(CurrentReleaseTypeUnion$outboundSchema.parse(currentReleaseTypeUnion));
323
- }
324
- export function currentReleaseTypeUnionFromJSON(jsonString) {
325
- return safeParse(jsonString, (x) => CurrentReleaseTypeUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseTypeUnion' from JSON`);
326
- }
327
- /** @internal */
328
- export const CurrentReleaseEnv$inboundSchema = z.object({
329
- name: z.string(),
330
- targetResources: z.nullable(z.array(z.string())).optional(),
331
- type: z.nullable(z.union([CurrentReleaseTypeEnvEnum$inboundSchema, z.string()])).optional(),
332
- });
333
- /** @internal */
334
- export const CurrentReleaseEnv$outboundSchema = z.object({
335
- name: z.string(),
336
- targetResources: z.nullable(z.array(z.string())).optional(),
337
- type: z.nullable(z.union([CurrentReleaseTypeEnvEnum$outboundSchema, z.string()])).optional(),
338
- });
339
- export function currentReleaseEnvToJSON(currentReleaseEnv) {
340
- return JSON.stringify(CurrentReleaseEnv$outboundSchema.parse(currentReleaseEnv));
341
- }
342
- export function currentReleaseEnvFromJSON(jsonString) {
343
- return safeParse(jsonString, (x) => CurrentReleaseEnv$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseEnv' from JSON`);
344
- }
345
- /** @internal */
346
- export const CurrentReleaseGenerate$inboundSchema = z.object({
347
- length: z.int(),
348
- });
349
- /** @internal */
350
- export const CurrentReleaseGenerate$outboundSchema = z.object({
351
- length: z.int(),
352
- });
353
- export function currentReleaseGenerateToJSON(currentReleaseGenerate) {
354
- return JSON.stringify(CurrentReleaseGenerate$outboundSchema.parse(currentReleaseGenerate));
355
- }
356
- export function currentReleaseGenerateFromJSON(jsonString) {
357
- return safeParse(jsonString, (x) => CurrentReleaseGenerate$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseGenerate' from JSON`);
358
- }
359
- /** @internal */
360
- export const CurrentReleaseGenerateUnion$inboundSchema = z.union([z.lazy(() => CurrentReleaseGenerate$inboundSchema), z.string()]);
361
- /** @internal */
362
- export const CurrentReleaseGenerateUnion$outboundSchema = z.union([z.lazy(() => CurrentReleaseGenerate$outboundSchema), z.string()]);
363
- export function currentReleaseGenerateUnionToJSON(currentReleaseGenerateUnion) {
364
- return JSON.stringify(CurrentReleaseGenerateUnion$outboundSchema.parse(currentReleaseGenerateUnion));
365
- }
366
- export function currentReleaseGenerateUnionFromJSON(jsonString) {
367
- return safeParse(jsonString, (x) => CurrentReleaseGenerateUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseGenerateUnion' from JSON`);
368
- }
369
- /** @internal */
370
- export const CurrentReleaseKind$inboundSchema = z.enum(CurrentReleaseKind);
371
- /** @internal */
372
- export const CurrentReleaseKind$outboundSchema = CurrentReleaseKind$inboundSchema;
373
- /** @internal */
374
- export const CurrentReleasePlatform$inboundSchema = z.enum(CurrentReleasePlatform);
375
- /** @internal */
376
- export const CurrentReleasePlatform$outboundSchema = CurrentReleasePlatform$inboundSchema;
377
- /** @internal */
378
- export const CurrentReleaseProvidedBy$inboundSchema = z.enum(CurrentReleaseProvidedBy);
379
- /** @internal */
380
- export const CurrentReleaseProvidedBy$outboundSchema = CurrentReleaseProvidedBy$inboundSchema;
381
- /** @internal */
382
- export const CurrentReleaseValidation$inboundSchema = z.object({
383
- format: z.nullable(z.string()).optional(),
384
- max: z.nullable(z.string()).optional(),
385
- maxItems: z.nullable(z.int()).optional(),
386
- maxLength: z.nullable(z.int()).optional(),
387
- min: z.nullable(z.string()).optional(),
388
- minItems: z.nullable(z.int()).optional(),
389
- minLength: z.nullable(z.int()).optional(),
390
- pattern: z.nullable(z.string()).optional(),
391
- values: z.nullable(z.array(z.string())).optional(),
392
- });
393
- /** @internal */
394
- export const CurrentReleaseValidation$outboundSchema = z.object({
395
- format: z.nullable(z.string()).optional(),
396
- max: z.nullable(z.string()).optional(),
397
- maxItems: z.nullable(z.int()).optional(),
398
- maxLength: z.nullable(z.int()).optional(),
399
- min: z.nullable(z.string()).optional(),
400
- minItems: z.nullable(z.int()).optional(),
401
- minLength: z.nullable(z.int()).optional(),
402
- pattern: z.nullable(z.string()).optional(),
403
- values: z.nullable(z.array(z.string())).optional(),
404
- });
405
- export function currentReleaseValidationToJSON(currentReleaseValidation) {
406
- return JSON.stringify(CurrentReleaseValidation$outboundSchema.parse(currentReleaseValidation));
407
- }
408
- export function currentReleaseValidationFromJSON(jsonString) {
409
- return safeParse(jsonString, (x) => CurrentReleaseValidation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseValidation' from JSON`);
410
- }
411
- /** @internal */
412
- export const CurrentReleaseValidationUnion$inboundSchema = z.union([z.lazy(() => CurrentReleaseValidation$inboundSchema), z.string()]);
413
- /** @internal */
414
- export const CurrentReleaseValidationUnion$outboundSchema = z.union([
415
- z.lazy(() => CurrentReleaseValidation$outboundSchema),
416
- z.string(),
417
- ]);
418
- export function currentReleaseValidationUnionToJSON(currentReleaseValidationUnion) {
419
- return JSON.stringify(CurrentReleaseValidationUnion$outboundSchema.parse(currentReleaseValidationUnion));
420
- }
421
- export function currentReleaseValidationUnionFromJSON(jsonString) {
422
- return safeParse(jsonString, (x) => CurrentReleaseValidationUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseValidationUnion' from JSON`);
423
- }
424
- /** @internal */
425
- export const CurrentReleaseInput$inboundSchema = z.object({
426
- default: z.nullable(z.union([
427
- z.lazy(() => CurrentReleaseDefaultString$inboundSchema),
428
- z.lazy(() => CurrentReleaseDefaultNumber$inboundSchema),
429
- z.lazy(() => CurrentReleaseDefaultBoolean$inboundSchema),
430
- z.lazy(() => CurrentReleaseDefaultStringList$inboundSchema),
431
- z.string(),
432
- ])).optional(),
433
- description: z.string(),
434
- env: z.array(z.lazy(() => CurrentReleaseEnv$inboundSchema)).optional(),
435
- generate: z.nullable(z.union([z.lazy(() => CurrentReleaseGenerate$inboundSchema), z.string()])).optional(),
436
- id: z.string(),
437
- kind: CurrentReleaseKind$inboundSchema,
438
- label: z.string(),
439
- placeholder: z.nullable(z.string()).optional(),
440
- platforms: z.nullable(z.array(CurrentReleasePlatform$inboundSchema))
441
- .optional(),
442
- providedBy: z.array(CurrentReleaseProvidedBy$inboundSchema),
443
- required: z.boolean(),
444
- validation: z.nullable(z.union([z.lazy(() => CurrentReleaseValidation$inboundSchema), z.string()])).optional(),
445
- });
446
- /** @internal */
447
- export const CurrentReleaseInput$outboundSchema = z.object({
448
- default: z.nullable(z.union([
449
- z.lazy(() => CurrentReleaseDefaultString$outboundSchema),
450
- z.lazy(() => CurrentReleaseDefaultNumber$outboundSchema),
451
- z.lazy(() => CurrentReleaseDefaultBoolean$outboundSchema),
452
- z.lazy(() => CurrentReleaseDefaultStringList$outboundSchema),
453
- z.string(),
454
- ])).optional(),
455
- description: z.string(),
456
- env: z.array(z.lazy(() => CurrentReleaseEnv$outboundSchema)).optional(),
457
- generate: z.nullable(z.union([z.lazy(() => CurrentReleaseGenerate$outboundSchema), z.string()])).optional(),
458
- id: z.string(),
459
- kind: CurrentReleaseKind$outboundSchema,
460
- label: z.string(),
461
- placeholder: z.nullable(z.string()).optional(),
462
- platforms: z.nullable(z.array(CurrentReleasePlatform$outboundSchema))
463
- .optional(),
464
- providedBy: z.array(CurrentReleaseProvidedBy$outboundSchema),
465
- required: z.boolean(),
466
- validation: z.nullable(z.union([
467
- z.lazy(() => CurrentReleaseValidation$outboundSchema),
468
- z.string(),
469
- ])).optional(),
470
- });
471
- export function currentReleaseInputToJSON(currentReleaseInput) {
472
- return JSON.stringify(CurrentReleaseInput$outboundSchema.parse(currentReleaseInput));
473
- }
474
- export function currentReleaseInputFromJSON(jsonString) {
475
- return safeParse(jsonString, (x) => CurrentReleaseInput$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseInput' from JSON`);
476
- }
477
- /** @internal */
478
- export const CurrentReleaseCustomDecision$inboundSchema = z.enum(CurrentReleaseCustomDecision);
479
- /** @internal */
480
- export const CurrentReleaseCustomDecision$outboundSchema = CurrentReleaseCustomDecision$inboundSchema;
481
- /** @internal */
482
- export const CurrentReleaseApprovalCustom$inboundSchema = z.object({
483
- decision: CurrentReleaseCustomDecision$inboundSchema,
484
- maxRisk: z.nullable(z.string()).optional(),
485
- });
486
- /** @internal */
487
- export const CurrentReleaseApprovalCustom$outboundSchema = z.object({
488
- decision: CurrentReleaseCustomDecision$outboundSchema,
489
- maxRisk: z.nullable(z.string()).optional(),
490
- });
491
- export function currentReleaseApprovalCustomToJSON(currentReleaseApprovalCustom) {
492
- return JSON.stringify(CurrentReleaseApprovalCustom$outboundSchema.parse(currentReleaseApprovalCustom));
493
- }
494
- export function currentReleaseApprovalCustomFromJSON(jsonString) {
495
- return safeParse(jsonString, (x) => CurrentReleaseApprovalCustom$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseApprovalCustom' from JSON`);
496
- }
497
- /** @internal */
498
- export const CurrentReleaseApprovalCustomEnum$inboundSchema = z.enum(CurrentReleaseApprovalCustomEnum);
499
- /** @internal */
500
- export const CurrentReleaseApprovalCustomEnum$outboundSchema = CurrentReleaseApprovalCustomEnum$inboundSchema;
501
- /** @internal */
502
- export const CurrentReleaseCustomApprovalUnion$inboundSchema = z.union([
503
- z.lazy(() => CurrentReleaseApprovalCustom$inboundSchema),
504
- CurrentReleaseApprovalCustomEnum$inboundSchema,
505
- ]);
506
- /** @internal */
507
- export const CurrentReleaseCustomApprovalUnion$outboundSchema = z.union([
508
- z.lazy(() => CurrentReleaseApprovalCustom$outboundSchema),
509
- CurrentReleaseApprovalCustomEnum$outboundSchema,
510
- ]);
511
- export function currentReleaseCustomApprovalUnionToJSON(currentReleaseCustomApprovalUnion) {
512
- return JSON.stringify(CurrentReleaseCustomApprovalUnion$outboundSchema.parse(currentReleaseCustomApprovalUnion));
513
- }
514
- export function currentReleaseCustomApprovalUnionFromJSON(jsonString) {
515
- return safeParse(jsonString, (x) => CurrentReleaseCustomApprovalUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseCustomApprovalUnion' from JSON`);
516
- }
517
- /** @internal */
518
- export const CurrentReleaseSettingsCustom3$inboundSchema = z.object({
519
- env: z.string(),
520
- });
521
- /** @internal */
522
- export const CurrentReleaseSettingsCustom3$outboundSchema = z.object({
523
- env: z.string(),
524
- });
525
- export function currentReleaseSettingsCustom3ToJSON(currentReleaseSettingsCustom3) {
526
- return JSON.stringify(CurrentReleaseSettingsCustom3$outboundSchema.parse(currentReleaseSettingsCustom3));
527
- }
528
- export function currentReleaseSettingsCustom3FromJSON(jsonString) {
529
- return safeParse(jsonString, (x) => CurrentReleaseSettingsCustom3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseSettingsCustom3' from JSON`);
530
- }
531
- /** @internal */
532
- export const CurrentReleaseSettingsCustom2$inboundSchema = z.object({
533
- resources: z.array(z.string()),
534
- });
535
- /** @internal */
536
- export const CurrentReleaseSettingsCustom2$outboundSchema = z.object({
537
- resources: z.array(z.string()),
538
- });
539
- export function currentReleaseSettingsCustom2ToJSON(currentReleaseSettingsCustom2) {
540
- return JSON.stringify(CurrentReleaseSettingsCustom2$outboundSchema.parse(currentReleaseSettingsCustom2));
541
- }
542
- export function currentReleaseSettingsCustom2FromJSON(jsonString) {
543
- return safeParse(jsonString, (x) => CurrentReleaseSettingsCustom2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseSettingsCustom2' from JSON`);
544
- }
545
- /** @internal */
546
- export const CurrentReleaseSettingsCustom1$inboundSchema = z.object({
547
- input: z.string(),
548
- });
549
- /** @internal */
550
- export const CurrentReleaseSettingsCustom1$outboundSchema = z.object({
551
- input: z.string(),
552
- });
553
- export function currentReleaseSettingsCustom1ToJSON(currentReleaseSettingsCustom1) {
554
- return JSON.stringify(CurrentReleaseSettingsCustom1$outboundSchema.parse(currentReleaseSettingsCustom1));
555
- }
556
- export function currentReleaseSettingsCustom1FromJSON(jsonString) {
557
- return safeParse(jsonString, (x) => CurrentReleaseSettingsCustom1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseSettingsCustom1' from JSON`);
558
- }
559
- /** @internal */
560
- export const CurrentReleaseCustomSettingsUnion$inboundSchema = z.union([
561
- z.lazy(() => CurrentReleaseSettingsCustom1$inboundSchema),
562
- z.lazy(() => CurrentReleaseSettingsCustom2$inboundSchema),
563
- z.lazy(() => CurrentReleaseSettingsCustom3$inboundSchema),
564
- z.string(),
565
- ]);
566
- /** @internal */
567
- export const CurrentReleaseCustomSettingsUnion$outboundSchema = z.union([
568
- z.lazy(() => CurrentReleaseSettingsCustom1$outboundSchema),
569
- z.lazy(() => CurrentReleaseSettingsCustom2$outboundSchema),
570
- z.lazy(() => CurrentReleaseSettingsCustom3$outboundSchema),
571
- z.string(),
572
- ]);
573
- export function currentReleaseCustomSettingsUnionToJSON(currentReleaseCustomSettingsUnion) {
574
- return JSON.stringify(CurrentReleaseCustomSettingsUnion$outboundSchema.parse(currentReleaseCustomSettingsUnion));
575
- }
576
- export function currentReleaseCustomSettingsUnionFromJSON(jsonString) {
577
- return safeParse(jsonString, (x) => CurrentReleaseCustomSettingsUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseCustomSettingsUnion' from JSON`);
578
- }
579
- /** @internal */
580
- export const CurrentReleaseCustom$inboundSchema = z.object({
581
- approval: z.record(z.string(), z.union([
582
- z.lazy(() => CurrentReleaseApprovalCustom$inboundSchema),
583
- CurrentReleaseApprovalCustomEnum$inboundSchema,
584
- ])).optional(),
585
- settings: z.record(z.string(), z.union([
586
- z.lazy(() => CurrentReleaseSettingsCustom1$inboundSchema),
587
- z.lazy(() => CurrentReleaseSettingsCustom2$inboundSchema),
588
- z.lazy(() => CurrentReleaseSettingsCustom3$inboundSchema),
589
- z.string(),
590
- ])).optional(),
591
- name: z.string(),
592
- version: z.string(),
593
- });
594
- /** @internal */
595
- export const CurrentReleaseCustom$outboundSchema = z.object({
596
- approval: z.record(z.string(), z.union([
597
- z.lazy(() => CurrentReleaseApprovalCustom$outboundSchema),
598
- CurrentReleaseApprovalCustomEnum$outboundSchema,
599
- ])).optional(),
600
- settings: z.record(z.string(), z.union([
601
- z.lazy(() => CurrentReleaseSettingsCustom1$outboundSchema),
602
- z.lazy(() => CurrentReleaseSettingsCustom2$outboundSchema),
603
- z.lazy(() => CurrentReleaseSettingsCustom3$outboundSchema),
604
- z.string(),
605
- ])).optional(),
606
- name: z.string(),
607
- version: z.string(),
608
- });
609
- export function currentReleaseCustomToJSON(currentReleaseCustom) {
610
- return JSON.stringify(CurrentReleaseCustom$outboundSchema.parse(currentReleaseCustom));
611
- }
612
- export function currentReleaseCustomFromJSON(jsonString) {
613
- return safeParse(jsonString, (x) => CurrentReleaseCustom$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseCustom' from JSON`);
614
- }
615
- /** @internal */
616
- export const CurrentReleasePluginsDecision$inboundSchema = z.enum(CurrentReleasePluginsDecision);
617
- /** @internal */
618
- export const CurrentReleasePluginsDecision$outboundSchema = CurrentReleasePluginsDecision$inboundSchema;
619
- /** @internal */
620
- export const CurrentReleaseApprovalPlugins$inboundSchema = z.object({
621
- decision: CurrentReleasePluginsDecision$inboundSchema,
622
- maxRisk: z.nullable(z.string()).optional(),
623
- });
624
- /** @internal */
625
- export const CurrentReleaseApprovalPlugins$outboundSchema = z.object({
626
- decision: CurrentReleasePluginsDecision$outboundSchema,
627
- maxRisk: z.nullable(z.string()).optional(),
628
- });
629
- export function currentReleaseApprovalPluginsToJSON(currentReleaseApprovalPlugins) {
630
- return JSON.stringify(CurrentReleaseApprovalPlugins$outboundSchema.parse(currentReleaseApprovalPlugins));
631
- }
632
- export function currentReleaseApprovalPluginsFromJSON(jsonString) {
633
- return safeParse(jsonString, (x) => CurrentReleaseApprovalPlugins$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseApprovalPlugins' from JSON`);
634
- }
635
- /** @internal */
636
- export const CurrentReleaseApprovalPluginsEnum$inboundSchema = z.enum(CurrentReleaseApprovalPluginsEnum);
637
- /** @internal */
638
- export const CurrentReleaseApprovalPluginsEnum$outboundSchema = CurrentReleaseApprovalPluginsEnum$inboundSchema;
639
- /** @internal */
640
- export const CurrentReleasePluginsApprovalUnion$inboundSchema = z.union([
641
- z.lazy(() => CurrentReleaseApprovalPlugins$inboundSchema),
642
- CurrentReleaseApprovalPluginsEnum$inboundSchema,
643
- ]);
644
- /** @internal */
645
- export const CurrentReleasePluginsApprovalUnion$outboundSchema = z.union([
646
- z.lazy(() => CurrentReleaseApprovalPlugins$outboundSchema),
647
- CurrentReleaseApprovalPluginsEnum$outboundSchema,
648
- ]);
649
- export function currentReleasePluginsApprovalUnionToJSON(currentReleasePluginsApprovalUnion) {
650
- return JSON.stringify(CurrentReleasePluginsApprovalUnion$outboundSchema.parse(currentReleasePluginsApprovalUnion));
651
- }
652
- export function currentReleasePluginsApprovalUnionFromJSON(jsonString) {
653
- return safeParse(jsonString, (x) => CurrentReleasePluginsApprovalUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleasePluginsApprovalUnion' from JSON`);
654
- }
655
- /** @internal */
656
- export const CurrentReleaseSettingsPlugins3$inboundSchema = z.object({
657
- env: z.string(),
658
- });
659
- /** @internal */
660
- export const CurrentReleaseSettingsPlugins3$outboundSchema = z.object({
661
- env: z.string(),
662
- });
663
- export function currentReleaseSettingsPlugins3ToJSON(currentReleaseSettingsPlugins3) {
664
- return JSON.stringify(CurrentReleaseSettingsPlugins3$outboundSchema.parse(currentReleaseSettingsPlugins3));
665
- }
666
- export function currentReleaseSettingsPlugins3FromJSON(jsonString) {
667
- return safeParse(jsonString, (x) => CurrentReleaseSettingsPlugins3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseSettingsPlugins3' from JSON`);
668
- }
669
- /** @internal */
670
- export const CurrentReleaseSettingsPlugins2$inboundSchema = z.object({
671
- resources: z.array(z.string()),
672
- });
673
- /** @internal */
674
- export const CurrentReleaseSettingsPlugins2$outboundSchema = z.object({
675
- resources: z.array(z.string()),
676
- });
677
- export function currentReleaseSettingsPlugins2ToJSON(currentReleaseSettingsPlugins2) {
678
- return JSON.stringify(CurrentReleaseSettingsPlugins2$outboundSchema.parse(currentReleaseSettingsPlugins2));
679
- }
680
- export function currentReleaseSettingsPlugins2FromJSON(jsonString) {
681
- return safeParse(jsonString, (x) => CurrentReleaseSettingsPlugins2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseSettingsPlugins2' from JSON`);
682
- }
683
- /** @internal */
684
- export const CurrentReleaseSettingsPlugins1$inboundSchema = z.object({
685
- input: z.string(),
686
- });
687
- /** @internal */
688
- export const CurrentReleaseSettingsPlugins1$outboundSchema = z.object({
689
- input: z.string(),
690
- });
691
- export function currentReleaseSettingsPlugins1ToJSON(currentReleaseSettingsPlugins1) {
692
- return JSON.stringify(CurrentReleaseSettingsPlugins1$outboundSchema.parse(currentReleaseSettingsPlugins1));
693
- }
694
- export function currentReleaseSettingsPlugins1FromJSON(jsonString) {
695
- return safeParse(jsonString, (x) => CurrentReleaseSettingsPlugins1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseSettingsPlugins1' from JSON`);
696
- }
697
- /** @internal */
698
- export const CurrentReleasePluginsSettingsUnion$inboundSchema = z.union([
699
- z.lazy(() => CurrentReleaseSettingsPlugins1$inboundSchema),
700
- z.lazy(() => CurrentReleaseSettingsPlugins2$inboundSchema),
701
- z.lazy(() => CurrentReleaseSettingsPlugins3$inboundSchema),
702
- z.string(),
703
- ]);
704
- /** @internal */
705
- export const CurrentReleasePluginsSettingsUnion$outboundSchema = z.union([
706
- z.lazy(() => CurrentReleaseSettingsPlugins1$outboundSchema),
707
- z.lazy(() => CurrentReleaseSettingsPlugins2$outboundSchema),
708
- z.lazy(() => CurrentReleaseSettingsPlugins3$outboundSchema),
709
- z.string(),
710
- ]);
711
- export function currentReleasePluginsSettingsUnionToJSON(currentReleasePluginsSettingsUnion) {
712
- return JSON.stringify(CurrentReleasePluginsSettingsUnion$outboundSchema.parse(currentReleasePluginsSettingsUnion));
713
- }
714
- export function currentReleasePluginsSettingsUnionFromJSON(jsonString) {
715
- return safeParse(jsonString, (x) => CurrentReleasePluginsSettingsUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleasePluginsSettingsUnion' from JSON`);
716
- }
717
- /** @internal */
718
- export const CurrentReleasePlugins$inboundSchema = z.object({
719
- approval: z.record(z.string(), z.union([
720
- z.lazy(() => CurrentReleaseApprovalPlugins$inboundSchema),
721
- CurrentReleaseApprovalPluginsEnum$inboundSchema,
722
- ])).optional(),
723
- settings: z.record(z.string(), z.union([
724
- z.lazy(() => CurrentReleaseSettingsPlugins1$inboundSchema),
725
- z.lazy(() => CurrentReleaseSettingsPlugins2$inboundSchema),
726
- z.lazy(() => CurrentReleaseSettingsPlugins3$inboundSchema),
727
- z.string(),
728
- ])).optional(),
729
- });
730
- /** @internal */
731
- export const CurrentReleasePlugins$outboundSchema = z.object({
732
- approval: z.record(z.string(), z.union([
733
- z.lazy(() => CurrentReleaseApprovalPlugins$outboundSchema),
734
- CurrentReleaseApprovalPluginsEnum$outboundSchema,
735
- ])).optional(),
736
- settings: z.record(z.string(), z.union([
737
- z.lazy(() => CurrentReleaseSettingsPlugins1$outboundSchema),
738
- z.lazy(() => CurrentReleaseSettingsPlugins2$outboundSchema),
739
- z.lazy(() => CurrentReleaseSettingsPlugins3$outboundSchema),
740
- z.string(),
741
- ])).optional(),
742
- });
743
- export function currentReleasePluginsToJSON(currentReleasePlugins) {
744
- return JSON.stringify(CurrentReleasePlugins$outboundSchema.parse(currentReleasePlugins));
745
- }
746
- export function currentReleasePluginsFromJSON(jsonString) {
747
- return safeParse(jsonString, (x) => CurrentReleasePlugins$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleasePlugins' from JSON`);
748
- }
749
- /** @internal */
750
- export const CurrentReleaseOperations$inboundSchema = z.object({
751
- custom: z.array(z.lazy(() => CurrentReleaseCustom$inboundSchema)).optional(),
752
- plugins: z.record(z.string(), z.lazy(() => CurrentReleasePlugins$inboundSchema)).optional(),
753
- });
754
- /** @internal */
755
- export const CurrentReleaseOperations$outboundSchema = z.object({
756
- custom: z.array(z.lazy(() => CurrentReleaseCustom$outboundSchema)).optional(),
757
- plugins: z.record(z.string(), z.lazy(() => CurrentReleasePlugins$outboundSchema)).optional(),
758
- });
759
- export function currentReleaseOperationsToJSON(currentReleaseOperations) {
760
- return JSON.stringify(CurrentReleaseOperations$outboundSchema.parse(currentReleaseOperations));
761
- }
762
- export function currentReleaseOperationsFromJSON(jsonString) {
763
- return safeParse(jsonString, (x) => CurrentReleaseOperations$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseOperations' from JSON`);
764
- }
765
- /** @internal */
766
- export const CurrentReleaseOperationsUnion$inboundSchema = z.union([z.lazy(() => CurrentReleaseOperations$inboundSchema), z.string()]);
767
- /** @internal */
768
- export const CurrentReleaseOperationsUnion$outboundSchema = z.union([
769
- z.lazy(() => CurrentReleaseOperations$outboundSchema),
770
- z.string(),
771
- ]);
772
- export function currentReleaseOperationsUnionToJSON(currentReleaseOperationsUnion) {
773
- return JSON.stringify(CurrentReleaseOperationsUnion$outboundSchema.parse(currentReleaseOperationsUnion));
774
- }
775
- export function currentReleaseOperationsUnionFromJSON(jsonString) {
776
- return safeParse(jsonString, (x) => CurrentReleaseOperationsUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseOperationsUnion' from JSON`);
777
- }
778
- /** @internal */
779
- export const CurrentReleaseManagementEnum$inboundSchema = z.enum(CurrentReleaseManagementEnum);
780
- /** @internal */
781
- export const CurrentReleaseManagementEnum$outboundSchema = CurrentReleaseManagementEnum$inboundSchema;
782
- /** @internal */
783
- export const CurrentReleaseOverrideAwResource$inboundSchema = z.object({
784
- condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string())))
785
- .optional(),
786
- notResources: z.array(z.string()).optional(),
787
- resources: z.array(z.string()),
788
- });
789
- /** @internal */
790
- export const CurrentReleaseOverrideAwResource$outboundSchema = z.object({
791
- condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string())))
792
- .optional(),
793
- notResources: z.array(z.string()).optional(),
794
- resources: z.array(z.string()),
795
- });
796
- export function currentReleaseOverrideAwResourceToJSON(currentReleaseOverrideAwResource) {
797
- return JSON.stringify(CurrentReleaseOverrideAwResource$outboundSchema.parse(currentReleaseOverrideAwResource));
798
- }
799
- export function currentReleaseOverrideAwResourceFromJSON(jsonString) {
800
- return safeParse(jsonString, (x) => CurrentReleaseOverrideAwResource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseOverrideAwResource' from JSON`);
801
- }
802
- /** @internal */
803
- export const CurrentReleaseOverrideAwStack$inboundSchema = z.object({
804
- condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string())))
805
- .optional(),
806
- notResources: z.array(z.string()).optional(),
807
- resources: z.array(z.string()),
808
- });
809
- /** @internal */
810
- export const CurrentReleaseOverrideAwStack$outboundSchema = z.object({
811
- condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string())))
812
- .optional(),
813
- notResources: z.array(z.string()).optional(),
814
- resources: z.array(z.string()),
815
- });
816
- export function currentReleaseOverrideAwStackToJSON(currentReleaseOverrideAwStack) {
817
- return JSON.stringify(CurrentReleaseOverrideAwStack$outboundSchema.parse(currentReleaseOverrideAwStack));
818
- }
819
- export function currentReleaseOverrideAwStackFromJSON(jsonString) {
820
- return safeParse(jsonString, (x) => CurrentReleaseOverrideAwStack$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseOverrideAwStack' from JSON`);
821
- }
822
- /** @internal */
823
- export const CurrentReleaseOverrideAwBinding$inboundSchema = z.object({
824
- resource: z.lazy(() => CurrentReleaseOverrideAwResource$inboundSchema)
825
- .optional(),
826
- stack: z.lazy(() => CurrentReleaseOverrideAwStack$inboundSchema).optional(),
827
- });
828
- /** @internal */
829
- export const CurrentReleaseOverrideAwBinding$outboundSchema = z.object({
830
- resource: z.lazy(() => CurrentReleaseOverrideAwResource$outboundSchema)
831
- .optional(),
832
- stack: z.lazy(() => CurrentReleaseOverrideAwStack$outboundSchema).optional(),
833
- });
834
- export function currentReleaseOverrideAwBindingToJSON(currentReleaseOverrideAwBinding) {
835
- return JSON.stringify(CurrentReleaseOverrideAwBinding$outboundSchema.parse(currentReleaseOverrideAwBinding));
836
- }
837
- export function currentReleaseOverrideAwBindingFromJSON(jsonString) {
838
- return safeParse(jsonString, (x) => CurrentReleaseOverrideAwBinding$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseOverrideAwBinding' from JSON`);
839
- }
840
- /** @internal */
841
- export const CurrentReleaseOverrideEffect$inboundSchema = z.enum(CurrentReleaseOverrideEffect);
842
- /** @internal */
843
- export const CurrentReleaseOverrideEffect$outboundSchema = CurrentReleaseOverrideEffect$inboundSchema;
844
- /** @internal */
845
- export const CurrentReleaseOverrideAwGrant$inboundSchema = z.object({
846
- actions: z.nullable(z.array(z.string())).optional(),
847
- dataActions: z.nullable(z.array(z.string())).optional(),
848
- permissions: z.nullable(z.array(z.string())).optional(),
849
- predefinedRoles: z.nullable(z.array(z.string())).optional(),
850
- residualPermissions: z.nullable(z.array(z.string())).optional(),
851
- });
852
- /** @internal */
853
- export const CurrentReleaseOverrideAwGrant$outboundSchema = z.object({
854
- actions: z.nullable(z.array(z.string())).optional(),
855
- dataActions: z.nullable(z.array(z.string())).optional(),
856
- permissions: z.nullable(z.array(z.string())).optional(),
857
- predefinedRoles: z.nullable(z.array(z.string())).optional(),
858
- residualPermissions: z.nullable(z.array(z.string())).optional(),
859
- });
860
- export function currentReleaseOverrideAwGrantToJSON(currentReleaseOverrideAwGrant) {
861
- return JSON.stringify(CurrentReleaseOverrideAwGrant$outboundSchema.parse(currentReleaseOverrideAwGrant));
862
- }
863
- export function currentReleaseOverrideAwGrantFromJSON(jsonString) {
864
- return safeParse(jsonString, (x) => CurrentReleaseOverrideAwGrant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseOverrideAwGrant' from JSON`);
865
- }
866
- /** @internal */
867
- export const CurrentReleaseOverrideAw$inboundSchema = z.object({
868
- binding: z.lazy(() => CurrentReleaseOverrideAwBinding$inboundSchema),
869
- description: z.nullable(z.string()).optional(),
870
- effect: CurrentReleaseOverrideEffect$inboundSchema.optional(),
871
- grant: z.lazy(() => CurrentReleaseOverrideAwGrant$inboundSchema),
872
- label: z.nullable(z.string()).optional(),
873
- });
874
- /** @internal */
875
- export const CurrentReleaseOverrideAw$outboundSchema = z.object({
876
- binding: z.lazy(() => CurrentReleaseOverrideAwBinding$outboundSchema),
877
- description: z.nullable(z.string()).optional(),
878
- effect: CurrentReleaseOverrideEffect$outboundSchema.optional(),
879
- grant: z.lazy(() => CurrentReleaseOverrideAwGrant$outboundSchema),
880
- label: z.nullable(z.string()).optional(),
881
- });
882
- export function currentReleaseOverrideAwToJSON(currentReleaseOverrideAw) {
883
- return JSON.stringify(CurrentReleaseOverrideAw$outboundSchema.parse(currentReleaseOverrideAw));
884
- }
885
- export function currentReleaseOverrideAwFromJSON(jsonString) {
886
- return safeParse(jsonString, (x) => CurrentReleaseOverrideAw$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseOverrideAw' from JSON`);
887
- }
888
- /** @internal */
889
- export const CurrentReleaseOverrideAzureResource$inboundSchema = z.object({
890
- scope: z.string(),
891
- });
892
- /** @internal */
893
- export const CurrentReleaseOverrideAzureResource$outboundSchema = z.object({
894
- scope: z.string(),
895
- });
896
- export function currentReleaseOverrideAzureResourceToJSON(currentReleaseOverrideAzureResource) {
897
- return JSON.stringify(CurrentReleaseOverrideAzureResource$outboundSchema.parse(currentReleaseOverrideAzureResource));
898
- }
899
- export function currentReleaseOverrideAzureResourceFromJSON(jsonString) {
900
- return safeParse(jsonString, (x) => CurrentReleaseOverrideAzureResource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseOverrideAzureResource' from JSON`);
901
- }
902
- /** @internal */
903
- export const CurrentReleaseOverrideAzureStack$inboundSchema = z.object({
904
- scope: z.string(),
905
- });
906
- /** @internal */
907
- export const CurrentReleaseOverrideAzureStack$outboundSchema = z.object({
908
- scope: z.string(),
909
- });
910
- export function currentReleaseOverrideAzureStackToJSON(currentReleaseOverrideAzureStack) {
911
- return JSON.stringify(CurrentReleaseOverrideAzureStack$outboundSchema.parse(currentReleaseOverrideAzureStack));
912
- }
913
- export function currentReleaseOverrideAzureStackFromJSON(jsonString) {
914
- return safeParse(jsonString, (x) => CurrentReleaseOverrideAzureStack$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseOverrideAzureStack' from JSON`);
915
- }
916
- /** @internal */
917
- export const CurrentReleaseOverrideAzureBinding$inboundSchema = z.object({
918
- resource: z.lazy(() => CurrentReleaseOverrideAzureResource$inboundSchema)
919
- .optional(),
920
- stack: z.lazy(() => CurrentReleaseOverrideAzureStack$inboundSchema)
921
- .optional(),
922
- });
923
- /** @internal */
924
- export const CurrentReleaseOverrideAzureBinding$outboundSchema = z.object({
925
- resource: z.lazy(() => CurrentReleaseOverrideAzureResource$outboundSchema)
926
- .optional(),
927
- stack: z.lazy(() => CurrentReleaseOverrideAzureStack$outboundSchema)
928
- .optional(),
929
- });
930
- export function currentReleaseOverrideAzureBindingToJSON(currentReleaseOverrideAzureBinding) {
931
- return JSON.stringify(CurrentReleaseOverrideAzureBinding$outboundSchema.parse(currentReleaseOverrideAzureBinding));
932
- }
933
- export function currentReleaseOverrideAzureBindingFromJSON(jsonString) {
934
- return safeParse(jsonString, (x) => CurrentReleaseOverrideAzureBinding$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseOverrideAzureBinding' from JSON`);
935
- }
936
- /** @internal */
937
- export const CurrentReleaseOverrideAzureGrant$inboundSchema = z.object({
938
- actions: z.nullable(z.array(z.string())).optional(),
939
- dataActions: z.nullable(z.array(z.string())).optional(),
940
- permissions: z.nullable(z.array(z.string())).optional(),
941
- predefinedRoles: z.nullable(z.array(z.string())).optional(),
942
- residualPermissions: z.nullable(z.array(z.string())).optional(),
943
- });
944
- /** @internal */
945
- export const CurrentReleaseOverrideAzureGrant$outboundSchema = z.object({
946
- actions: z.nullable(z.array(z.string())).optional(),
947
- dataActions: z.nullable(z.array(z.string())).optional(),
948
- permissions: z.nullable(z.array(z.string())).optional(),
949
- predefinedRoles: z.nullable(z.array(z.string())).optional(),
950
- residualPermissions: z.nullable(z.array(z.string())).optional(),
951
- });
952
- export function currentReleaseOverrideAzureGrantToJSON(currentReleaseOverrideAzureGrant) {
953
- return JSON.stringify(CurrentReleaseOverrideAzureGrant$outboundSchema.parse(currentReleaseOverrideAzureGrant));
954
- }
955
- export function currentReleaseOverrideAzureGrantFromJSON(jsonString) {
956
- return safeParse(jsonString, (x) => CurrentReleaseOverrideAzureGrant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseOverrideAzureGrant' from JSON`);
957
- }
958
- /** @internal */
959
- export const CurrentReleaseOverrideAzure$inboundSchema = z.object({
960
- binding: z.lazy(() => CurrentReleaseOverrideAzureBinding$inboundSchema),
961
- description: z.nullable(z.string()).optional(),
962
- grant: z.lazy(() => CurrentReleaseOverrideAzureGrant$inboundSchema),
963
- label: z.nullable(z.string()).optional(),
964
- });
965
- /** @internal */
966
- export const CurrentReleaseOverrideAzure$outboundSchema = z.object({
967
- binding: z.lazy(() => CurrentReleaseOverrideAzureBinding$outboundSchema),
968
- description: z.nullable(z.string()).optional(),
969
- grant: z.lazy(() => CurrentReleaseOverrideAzureGrant$outboundSchema),
970
- label: z.nullable(z.string()).optional(),
971
- });
972
- export function currentReleaseOverrideAzureToJSON(currentReleaseOverrideAzure) {
973
- return JSON.stringify(CurrentReleaseOverrideAzure$outboundSchema.parse(currentReleaseOverrideAzure));
974
- }
975
- export function currentReleaseOverrideAzureFromJSON(jsonString) {
976
- return safeParse(jsonString, (x) => CurrentReleaseOverrideAzure$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseOverrideAzure' from JSON`);
977
- }
978
- /** @internal */
979
- export const CurrentReleaseOverrideConditionResource$inboundSchema = z.object({
980
- expression: z.string(),
981
- title: z.string(),
982
- });
983
- /** @internal */
984
- export const CurrentReleaseOverrideConditionResource$outboundSchema = z.object({
985
- expression: z.string(),
986
- title: z.string(),
987
- });
988
- export function currentReleaseOverrideConditionResourceToJSON(currentReleaseOverrideConditionResource) {
989
- return JSON.stringify(CurrentReleaseOverrideConditionResource$outboundSchema.parse(currentReleaseOverrideConditionResource));
990
- }
991
- export function currentReleaseOverrideConditionResourceFromJSON(jsonString) {
992
- return safeParse(jsonString, (x) => CurrentReleaseOverrideConditionResource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseOverrideConditionResource' from JSON`);
993
- }
994
- /** @internal */
995
- export const CurrentReleaseOverrideResourceConditionUnion$inboundSchema = z.union([
996
- z.lazy(() => CurrentReleaseOverrideConditionResource$inboundSchema),
997
- z.string(),
998
- ]);
999
- /** @internal */
1000
- export const CurrentReleaseOverrideResourceConditionUnion$outboundSchema = z.union([
1001
- z.lazy(() => CurrentReleaseOverrideConditionResource$outboundSchema),
1002
- z.string(),
1003
- ]);
1004
- export function currentReleaseOverrideResourceConditionUnionToJSON(currentReleaseOverrideResourceConditionUnion) {
1005
- return JSON.stringify(CurrentReleaseOverrideResourceConditionUnion$outboundSchema.parse(currentReleaseOverrideResourceConditionUnion));
1006
- }
1007
- export function currentReleaseOverrideResourceConditionUnionFromJSON(jsonString) {
1008
- return safeParse(jsonString, (x) => CurrentReleaseOverrideResourceConditionUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseOverrideResourceConditionUnion' from JSON`);
1009
- }
1010
- /** @internal */
1011
- export const CurrentReleaseOverrideGcpResource$inboundSchema = z.object({
1012
- condition: z.nullable(z.union([
1013
- z.lazy(() => CurrentReleaseOverrideConditionResource$inboundSchema),
1014
- z.string(),
1015
- ])).optional(),
1016
- scope: z.string(),
1017
- });
1018
- /** @internal */
1019
- export const CurrentReleaseOverrideGcpResource$outboundSchema = z.object({
1020
- condition: z.nullable(z.union([
1021
- z.lazy(() => CurrentReleaseOverrideConditionResource$outboundSchema),
1022
- z.string(),
1023
- ])).optional(),
1024
- scope: z.string(),
1025
- });
1026
- export function currentReleaseOverrideGcpResourceToJSON(currentReleaseOverrideGcpResource) {
1027
- return JSON.stringify(CurrentReleaseOverrideGcpResource$outboundSchema.parse(currentReleaseOverrideGcpResource));
1028
- }
1029
- export function currentReleaseOverrideGcpResourceFromJSON(jsonString) {
1030
- return safeParse(jsonString, (x) => CurrentReleaseOverrideGcpResource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseOverrideGcpResource' from JSON`);
1031
- }
1032
- /** @internal */
1033
- export const CurrentReleaseOverrideCondition$inboundSchema = z.object({
1034
- expression: z.string(),
1035
- title: z.string(),
1036
- });
1037
- /** @internal */
1038
- export const CurrentReleaseOverrideCondition$outboundSchema = z.object({
1039
- expression: z.string(),
1040
- title: z.string(),
1041
- });
1042
- export function currentReleaseOverrideConditionToJSON(currentReleaseOverrideCondition) {
1043
- return JSON.stringify(CurrentReleaseOverrideCondition$outboundSchema.parse(currentReleaseOverrideCondition));
1044
- }
1045
- export function currentReleaseOverrideConditionFromJSON(jsonString) {
1046
- return safeParse(jsonString, (x) => CurrentReleaseOverrideCondition$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseOverrideCondition' from JSON`);
1047
- }
1048
- /** @internal */
1049
- export const CurrentReleaseOverrideConditionUnion$inboundSchema = z.union([
1050
- z.lazy(() => CurrentReleaseOverrideCondition$inboundSchema),
1051
- z.string(),
1052
- ]);
1053
- /** @internal */
1054
- export const CurrentReleaseOverrideConditionUnion$outboundSchema = z.union([
1055
- z.lazy(() => CurrentReleaseOverrideCondition$outboundSchema),
1056
- z.string(),
1057
- ]);
1058
- export function currentReleaseOverrideConditionUnionToJSON(currentReleaseOverrideConditionUnion) {
1059
- return JSON.stringify(CurrentReleaseOverrideConditionUnion$outboundSchema.parse(currentReleaseOverrideConditionUnion));
1060
- }
1061
- export function currentReleaseOverrideConditionUnionFromJSON(jsonString) {
1062
- return safeParse(jsonString, (x) => CurrentReleaseOverrideConditionUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseOverrideConditionUnion' from JSON`);
1063
- }
1064
- /** @internal */
1065
- export const CurrentReleaseOverrideGcpStack$inboundSchema = z.object({
1066
- condition: z.nullable(z.union([
1067
- z.lazy(() => CurrentReleaseOverrideCondition$inboundSchema),
1068
- z.string(),
1069
- ])).optional(),
1070
- scope: z.string(),
1071
- });
1072
- /** @internal */
1073
- export const CurrentReleaseOverrideGcpStack$outboundSchema = z.object({
1074
- condition: z.nullable(z.union([
1075
- z.lazy(() => CurrentReleaseOverrideCondition$outboundSchema),
1076
- z.string(),
1077
- ])).optional(),
1078
- scope: z.string(),
1079
- });
1080
- export function currentReleaseOverrideGcpStackToJSON(currentReleaseOverrideGcpStack) {
1081
- return JSON.stringify(CurrentReleaseOverrideGcpStack$outboundSchema.parse(currentReleaseOverrideGcpStack));
1082
- }
1083
- export function currentReleaseOverrideGcpStackFromJSON(jsonString) {
1084
- return safeParse(jsonString, (x) => CurrentReleaseOverrideGcpStack$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseOverrideGcpStack' from JSON`);
1085
- }
1086
- /** @internal */
1087
- export const CurrentReleaseOverrideGcpBinding$inboundSchema = z.object({
1088
- resource: z.lazy(() => CurrentReleaseOverrideGcpResource$inboundSchema)
1089
- .optional(),
1090
- stack: z.lazy(() => CurrentReleaseOverrideGcpStack$inboundSchema).optional(),
1091
- });
1092
- /** @internal */
1093
- export const CurrentReleaseOverrideGcpBinding$outboundSchema = z.object({
1094
- resource: z.lazy(() => CurrentReleaseOverrideGcpResource$outboundSchema)
1095
- .optional(),
1096
- stack: z.lazy(() => CurrentReleaseOverrideGcpStack$outboundSchema).optional(),
1097
- });
1098
- export function currentReleaseOverrideGcpBindingToJSON(currentReleaseOverrideGcpBinding) {
1099
- return JSON.stringify(CurrentReleaseOverrideGcpBinding$outboundSchema.parse(currentReleaseOverrideGcpBinding));
1100
- }
1101
- export function currentReleaseOverrideGcpBindingFromJSON(jsonString) {
1102
- return safeParse(jsonString, (x) => CurrentReleaseOverrideGcpBinding$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseOverrideGcpBinding' from JSON`);
1103
- }
1104
- /** @internal */
1105
- export const CurrentReleaseOverrideGcpGrant$inboundSchema = z.object({
1106
- actions: z.nullable(z.array(z.string())).optional(),
1107
- dataActions: z.nullable(z.array(z.string())).optional(),
1108
- permissions: z.nullable(z.array(z.string())).optional(),
1109
- predefinedRoles: z.nullable(z.array(z.string())).optional(),
1110
- residualPermissions: z.nullable(z.array(z.string())).optional(),
1111
- });
1112
- /** @internal */
1113
- export const CurrentReleaseOverrideGcpGrant$outboundSchema = z.object({
1114
- actions: z.nullable(z.array(z.string())).optional(),
1115
- dataActions: z.nullable(z.array(z.string())).optional(),
1116
- permissions: z.nullable(z.array(z.string())).optional(),
1117
- predefinedRoles: z.nullable(z.array(z.string())).optional(),
1118
- residualPermissions: z.nullable(z.array(z.string())).optional(),
1119
- });
1120
- export function currentReleaseOverrideGcpGrantToJSON(currentReleaseOverrideGcpGrant) {
1121
- return JSON.stringify(CurrentReleaseOverrideGcpGrant$outboundSchema.parse(currentReleaseOverrideGcpGrant));
1122
- }
1123
- export function currentReleaseOverrideGcpGrantFromJSON(jsonString) {
1124
- return safeParse(jsonString, (x) => CurrentReleaseOverrideGcpGrant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseOverrideGcpGrant' from JSON`);
1125
- }
1126
- /** @internal */
1127
- export const CurrentReleaseOverrideGcp$inboundSchema = z.object({
1128
- binding: z.lazy(() => CurrentReleaseOverrideGcpBinding$inboundSchema),
1129
- description: z.nullable(z.string()).optional(),
1130
- grant: z.lazy(() => CurrentReleaseOverrideGcpGrant$inboundSchema),
1131
- label: z.nullable(z.string()).optional(),
1132
- });
1133
- /** @internal */
1134
- export const CurrentReleaseOverrideGcp$outboundSchema = z.object({
1135
- binding: z.lazy(() => CurrentReleaseOverrideGcpBinding$outboundSchema),
1136
- description: z.nullable(z.string()).optional(),
1137
- grant: z.lazy(() => CurrentReleaseOverrideGcpGrant$outboundSchema),
1138
- label: z.nullable(z.string()).optional(),
1139
- });
1140
- export function currentReleaseOverrideGcpToJSON(currentReleaseOverrideGcp) {
1141
- return JSON.stringify(CurrentReleaseOverrideGcp$outboundSchema.parse(currentReleaseOverrideGcp));
1142
- }
1143
- export function currentReleaseOverrideGcpFromJSON(jsonString) {
1144
- return safeParse(jsonString, (x) => CurrentReleaseOverrideGcp$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseOverrideGcp' from JSON`);
1145
- }
1146
- /** @internal */
1147
- export const CurrentReleaseOverridePlatforms$inboundSchema = z.object({
1148
- aws: z.nullable(z.array(z.lazy(() => CurrentReleaseOverrideAw$inboundSchema)))
1149
- .optional(),
1150
- azure: z.nullable(z.array(z.lazy(() => CurrentReleaseOverrideAzure$inboundSchema))).optional(),
1151
- gcp: z.nullable(z.array(z.lazy(() => CurrentReleaseOverrideGcp$inboundSchema))).optional(),
1152
- });
1153
- /** @internal */
1154
- export const CurrentReleaseOverridePlatforms$outboundSchema = z.object({
1155
- aws: z.nullable(z.array(z.lazy(() => CurrentReleaseOverrideAw$outboundSchema))).optional(),
1156
- azure: z.nullable(z.array(z.lazy(() => CurrentReleaseOverrideAzure$outboundSchema))).optional(),
1157
- gcp: z.nullable(z.array(z.lazy(() => CurrentReleaseOverrideGcp$outboundSchema))).optional(),
1158
- });
1159
- export function currentReleaseOverridePlatformsToJSON(currentReleaseOverridePlatforms) {
1160
- return JSON.stringify(CurrentReleaseOverridePlatforms$outboundSchema.parse(currentReleaseOverridePlatforms));
1161
- }
1162
- export function currentReleaseOverridePlatformsFromJSON(jsonString) {
1163
- return safeParse(jsonString, (x) => CurrentReleaseOverridePlatforms$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseOverridePlatforms' from JSON`);
1164
- }
1165
- /** @internal */
1166
- export const CurrentReleaseOverride$inboundSchema = z.object({
1167
- description: z.string(),
1168
- id: z.string(),
1169
- platforms: z.lazy(() => CurrentReleaseOverridePlatforms$inboundSchema),
1170
- });
1171
- /** @internal */
1172
- export const CurrentReleaseOverride$outboundSchema = z.object({
1173
- description: z.string(),
1174
- id: z.string(),
1175
- platforms: z.lazy(() => CurrentReleaseOverridePlatforms$outboundSchema),
1176
- });
1177
- export function currentReleaseOverrideToJSON(currentReleaseOverride) {
1178
- return JSON.stringify(CurrentReleaseOverride$outboundSchema.parse(currentReleaseOverride));
1179
- }
1180
- export function currentReleaseOverrideFromJSON(jsonString) {
1181
- return safeParse(jsonString, (x) => CurrentReleaseOverride$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseOverride' from JSON`);
1182
- }
1183
- /** @internal */
1184
- export const CurrentReleaseOverrideUnion$inboundSchema = z.union([z.lazy(() => CurrentReleaseOverride$inboundSchema), z.string()]);
1185
- /** @internal */
1186
- export const CurrentReleaseOverrideUnion$outboundSchema = z.union([z.lazy(() => CurrentReleaseOverride$outboundSchema), z.string()]);
1187
- export function currentReleaseOverrideUnionToJSON(currentReleaseOverrideUnion) {
1188
- return JSON.stringify(CurrentReleaseOverrideUnion$outboundSchema.parse(currentReleaseOverrideUnion));
1189
- }
1190
- export function currentReleaseOverrideUnionFromJSON(jsonString) {
1191
- return safeParse(jsonString, (x) => CurrentReleaseOverrideUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseOverrideUnion' from JSON`);
1192
- }
1193
- /** @internal */
1194
- export const CurrentReleaseManagement2$inboundSchema = z.object({
1195
- override: z.record(z.string(), z.array(z.union([z.lazy(() => CurrentReleaseOverride$inboundSchema), z.string()]))),
1196
- });
1197
- /** @internal */
1198
- export const CurrentReleaseManagement2$outboundSchema = z.object({
1199
- override: z.record(z.string(), z.array(z.union([
1200
- z.lazy(() => CurrentReleaseOverride$outboundSchema),
1201
- z.string(),
1202
- ]))),
1203
- });
1204
- export function currentReleaseManagement2ToJSON(currentReleaseManagement2) {
1205
- return JSON.stringify(CurrentReleaseManagement2$outboundSchema.parse(currentReleaseManagement2));
1206
- }
1207
- export function currentReleaseManagement2FromJSON(jsonString) {
1208
- return safeParse(jsonString, (x) => CurrentReleaseManagement2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseManagement2' from JSON`);
1209
- }
1210
- /** @internal */
1211
- export const CurrentReleaseExtendAwResource$inboundSchema = z.object({
1212
- condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string())))
1213
- .optional(),
1214
- notResources: z.array(z.string()).optional(),
1215
- resources: z.array(z.string()),
1216
- });
1217
- /** @internal */
1218
- export const CurrentReleaseExtendAwResource$outboundSchema = z.object({
1219
- condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string())))
1220
- .optional(),
1221
- notResources: z.array(z.string()).optional(),
1222
- resources: z.array(z.string()),
1223
- });
1224
- export function currentReleaseExtendAwResourceToJSON(currentReleaseExtendAwResource) {
1225
- return JSON.stringify(CurrentReleaseExtendAwResource$outboundSchema.parse(currentReleaseExtendAwResource));
1226
- }
1227
- export function currentReleaseExtendAwResourceFromJSON(jsonString) {
1228
- return safeParse(jsonString, (x) => CurrentReleaseExtendAwResource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseExtendAwResource' from JSON`);
1229
- }
1230
- /** @internal */
1231
- export const CurrentReleaseExtendAwStack$inboundSchema = z.object({
1232
- condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string())))
1233
- .optional(),
1234
- notResources: z.array(z.string()).optional(),
1235
- resources: z.array(z.string()),
1236
- });
1237
- /** @internal */
1238
- export const CurrentReleaseExtendAwStack$outboundSchema = z.object({
1239
- condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string())))
1240
- .optional(),
1241
- notResources: z.array(z.string()).optional(),
1242
- resources: z.array(z.string()),
1243
- });
1244
- export function currentReleaseExtendAwStackToJSON(currentReleaseExtendAwStack) {
1245
- return JSON.stringify(CurrentReleaseExtendAwStack$outboundSchema.parse(currentReleaseExtendAwStack));
1246
- }
1247
- export function currentReleaseExtendAwStackFromJSON(jsonString) {
1248
- return safeParse(jsonString, (x) => CurrentReleaseExtendAwStack$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseExtendAwStack' from JSON`);
1249
- }
1250
- /** @internal */
1251
- export const CurrentReleaseExtendAwBinding$inboundSchema = z.object({
1252
- resource: z.lazy(() => CurrentReleaseExtendAwResource$inboundSchema)
1253
- .optional(),
1254
- stack: z.lazy(() => CurrentReleaseExtendAwStack$inboundSchema).optional(),
1255
- });
1256
- /** @internal */
1257
- export const CurrentReleaseExtendAwBinding$outboundSchema = z.object({
1258
- resource: z.lazy(() => CurrentReleaseExtendAwResource$outboundSchema)
1259
- .optional(),
1260
- stack: z.lazy(() => CurrentReleaseExtendAwStack$outboundSchema).optional(),
1261
- });
1262
- export function currentReleaseExtendAwBindingToJSON(currentReleaseExtendAwBinding) {
1263
- return JSON.stringify(CurrentReleaseExtendAwBinding$outboundSchema.parse(currentReleaseExtendAwBinding));
1264
- }
1265
- export function currentReleaseExtendAwBindingFromJSON(jsonString) {
1266
- return safeParse(jsonString, (x) => CurrentReleaseExtendAwBinding$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseExtendAwBinding' from JSON`);
1267
- }
1268
- /** @internal */
1269
- export const CurrentReleaseExtendEffect$inboundSchema = z.enum(CurrentReleaseExtendEffect);
1270
- /** @internal */
1271
- export const CurrentReleaseExtendEffect$outboundSchema = CurrentReleaseExtendEffect$inboundSchema;
1272
- /** @internal */
1273
- export const CurrentReleaseExtendAwGrant$inboundSchema = z.object({
1274
- actions: z.nullable(z.array(z.string())).optional(),
1275
- dataActions: z.nullable(z.array(z.string())).optional(),
1276
- permissions: z.nullable(z.array(z.string())).optional(),
1277
- predefinedRoles: z.nullable(z.array(z.string())).optional(),
1278
- residualPermissions: z.nullable(z.array(z.string())).optional(),
1279
- });
1280
- /** @internal */
1281
- export const CurrentReleaseExtendAwGrant$outboundSchema = z.object({
1282
- actions: z.nullable(z.array(z.string())).optional(),
1283
- dataActions: z.nullable(z.array(z.string())).optional(),
1284
- permissions: z.nullable(z.array(z.string())).optional(),
1285
- predefinedRoles: z.nullable(z.array(z.string())).optional(),
1286
- residualPermissions: z.nullable(z.array(z.string())).optional(),
1287
- });
1288
- export function currentReleaseExtendAwGrantToJSON(currentReleaseExtendAwGrant) {
1289
- return JSON.stringify(CurrentReleaseExtendAwGrant$outboundSchema.parse(currentReleaseExtendAwGrant));
1290
- }
1291
- export function currentReleaseExtendAwGrantFromJSON(jsonString) {
1292
- return safeParse(jsonString, (x) => CurrentReleaseExtendAwGrant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseExtendAwGrant' from JSON`);
1293
- }
1294
- /** @internal */
1295
- export const CurrentReleaseExtendAw$inboundSchema = z.object({
1296
- binding: z.lazy(() => CurrentReleaseExtendAwBinding$inboundSchema),
1297
- description: z.nullable(z.string()).optional(),
1298
- effect: CurrentReleaseExtendEffect$inboundSchema.optional(),
1299
- grant: z.lazy(() => CurrentReleaseExtendAwGrant$inboundSchema),
1300
- label: z.nullable(z.string()).optional(),
1301
- });
1302
- /** @internal */
1303
- export const CurrentReleaseExtendAw$outboundSchema = z.object({
1304
- binding: z.lazy(() => CurrentReleaseExtendAwBinding$outboundSchema),
1305
- description: z.nullable(z.string()).optional(),
1306
- effect: CurrentReleaseExtendEffect$outboundSchema.optional(),
1307
- grant: z.lazy(() => CurrentReleaseExtendAwGrant$outboundSchema),
1308
- label: z.nullable(z.string()).optional(),
1309
- });
1310
- export function currentReleaseExtendAwToJSON(currentReleaseExtendAw) {
1311
- return JSON.stringify(CurrentReleaseExtendAw$outboundSchema.parse(currentReleaseExtendAw));
1312
- }
1313
- export function currentReleaseExtendAwFromJSON(jsonString) {
1314
- return safeParse(jsonString, (x) => CurrentReleaseExtendAw$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseExtendAw' from JSON`);
1315
- }
1316
- /** @internal */
1317
- export const CurrentReleaseExtendAzureResource$inboundSchema = z.object({
1318
- scope: z.string(),
1319
- });
1320
- /** @internal */
1321
- export const CurrentReleaseExtendAzureResource$outboundSchema = z.object({
1322
- scope: z.string(),
1323
- });
1324
- export function currentReleaseExtendAzureResourceToJSON(currentReleaseExtendAzureResource) {
1325
- return JSON.stringify(CurrentReleaseExtendAzureResource$outboundSchema.parse(currentReleaseExtendAzureResource));
1326
- }
1327
- export function currentReleaseExtendAzureResourceFromJSON(jsonString) {
1328
- return safeParse(jsonString, (x) => CurrentReleaseExtendAzureResource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseExtendAzureResource' from JSON`);
1329
- }
1330
- /** @internal */
1331
- export const CurrentReleaseExtendAzureStack$inboundSchema = z.object({
1332
- scope: z.string(),
1333
- });
1334
- /** @internal */
1335
- export const CurrentReleaseExtendAzureStack$outboundSchema = z.object({
1336
- scope: z.string(),
1337
- });
1338
- export function currentReleaseExtendAzureStackToJSON(currentReleaseExtendAzureStack) {
1339
- return JSON.stringify(CurrentReleaseExtendAzureStack$outboundSchema.parse(currentReleaseExtendAzureStack));
1340
- }
1341
- export function currentReleaseExtendAzureStackFromJSON(jsonString) {
1342
- return safeParse(jsonString, (x) => CurrentReleaseExtendAzureStack$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseExtendAzureStack' from JSON`);
1343
- }
1344
- /** @internal */
1345
- export const CurrentReleaseExtendAzureBinding$inboundSchema = z.object({
1346
- resource: z.lazy(() => CurrentReleaseExtendAzureResource$inboundSchema)
1347
- .optional(),
1348
- stack: z.lazy(() => CurrentReleaseExtendAzureStack$inboundSchema).optional(),
1349
- });
1350
- /** @internal */
1351
- export const CurrentReleaseExtendAzureBinding$outboundSchema = z.object({
1352
- resource: z.lazy(() => CurrentReleaseExtendAzureResource$outboundSchema)
1353
- .optional(),
1354
- stack: z.lazy(() => CurrentReleaseExtendAzureStack$outboundSchema).optional(),
1355
- });
1356
- export function currentReleaseExtendAzureBindingToJSON(currentReleaseExtendAzureBinding) {
1357
- return JSON.stringify(CurrentReleaseExtendAzureBinding$outboundSchema.parse(currentReleaseExtendAzureBinding));
1358
- }
1359
- export function currentReleaseExtendAzureBindingFromJSON(jsonString) {
1360
- return safeParse(jsonString, (x) => CurrentReleaseExtendAzureBinding$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseExtendAzureBinding' from JSON`);
1361
- }
1362
- /** @internal */
1363
- export const CurrentReleaseExtendAzureGrant$inboundSchema = z.object({
1364
- actions: z.nullable(z.array(z.string())).optional(),
1365
- dataActions: z.nullable(z.array(z.string())).optional(),
1366
- permissions: z.nullable(z.array(z.string())).optional(),
1367
- predefinedRoles: z.nullable(z.array(z.string())).optional(),
1368
- residualPermissions: z.nullable(z.array(z.string())).optional(),
1369
- });
1370
- /** @internal */
1371
- export const CurrentReleaseExtendAzureGrant$outboundSchema = z.object({
1372
- actions: z.nullable(z.array(z.string())).optional(),
1373
- dataActions: z.nullable(z.array(z.string())).optional(),
1374
- permissions: z.nullable(z.array(z.string())).optional(),
1375
- predefinedRoles: z.nullable(z.array(z.string())).optional(),
1376
- residualPermissions: z.nullable(z.array(z.string())).optional(),
1377
- });
1378
- export function currentReleaseExtendAzureGrantToJSON(currentReleaseExtendAzureGrant) {
1379
- return JSON.stringify(CurrentReleaseExtendAzureGrant$outboundSchema.parse(currentReleaseExtendAzureGrant));
1380
- }
1381
- export function currentReleaseExtendAzureGrantFromJSON(jsonString) {
1382
- return safeParse(jsonString, (x) => CurrentReleaseExtendAzureGrant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseExtendAzureGrant' from JSON`);
1383
- }
1384
- /** @internal */
1385
- export const CurrentReleaseExtendAzure$inboundSchema = z.object({
1386
- binding: z.lazy(() => CurrentReleaseExtendAzureBinding$inboundSchema),
1387
- description: z.nullable(z.string()).optional(),
1388
- grant: z.lazy(() => CurrentReleaseExtendAzureGrant$inboundSchema),
1389
- label: z.nullable(z.string()).optional(),
1390
- });
1391
- /** @internal */
1392
- export const CurrentReleaseExtendAzure$outboundSchema = z.object({
1393
- binding: z.lazy(() => CurrentReleaseExtendAzureBinding$outboundSchema),
1394
- description: z.nullable(z.string()).optional(),
1395
- grant: z.lazy(() => CurrentReleaseExtendAzureGrant$outboundSchema),
1396
- label: z.nullable(z.string()).optional(),
1397
- });
1398
- export function currentReleaseExtendAzureToJSON(currentReleaseExtendAzure) {
1399
- return JSON.stringify(CurrentReleaseExtendAzure$outboundSchema.parse(currentReleaseExtendAzure));
1400
- }
1401
- export function currentReleaseExtendAzureFromJSON(jsonString) {
1402
- return safeParse(jsonString, (x) => CurrentReleaseExtendAzure$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseExtendAzure' from JSON`);
1403
- }
1404
- /** @internal */
1405
- export const CurrentReleaseExtendConditionResource$inboundSchema = z.object({
1406
- expression: z.string(),
1407
- title: z.string(),
1408
- });
1409
- /** @internal */
1410
- export const CurrentReleaseExtendConditionResource$outboundSchema = z.object({
1411
- expression: z.string(),
1412
- title: z.string(),
1413
- });
1414
- export function currentReleaseExtendConditionResourceToJSON(currentReleaseExtendConditionResource) {
1415
- return JSON.stringify(CurrentReleaseExtendConditionResource$outboundSchema.parse(currentReleaseExtendConditionResource));
1416
- }
1417
- export function currentReleaseExtendConditionResourceFromJSON(jsonString) {
1418
- return safeParse(jsonString, (x) => CurrentReleaseExtendConditionResource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseExtendConditionResource' from JSON`);
1419
- }
1420
- /** @internal */
1421
- export const CurrentReleaseExtendResourceConditionUnion$inboundSchema = z.union([
1422
- z.lazy(() => CurrentReleaseExtendConditionResource$inboundSchema),
1423
- z.string(),
1424
- ]);
1425
- /** @internal */
1426
- export const CurrentReleaseExtendResourceConditionUnion$outboundSchema = z.union([
1427
- z.lazy(() => CurrentReleaseExtendConditionResource$outboundSchema),
1428
- z.string(),
1429
- ]);
1430
- export function currentReleaseExtendResourceConditionUnionToJSON(currentReleaseExtendResourceConditionUnion) {
1431
- return JSON.stringify(CurrentReleaseExtendResourceConditionUnion$outboundSchema.parse(currentReleaseExtendResourceConditionUnion));
1432
- }
1433
- export function currentReleaseExtendResourceConditionUnionFromJSON(jsonString) {
1434
- return safeParse(jsonString, (x) => CurrentReleaseExtendResourceConditionUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseExtendResourceConditionUnion' from JSON`);
1435
- }
1436
- /** @internal */
1437
- export const CurrentReleaseExtendGcpResource$inboundSchema = z.object({
1438
- condition: z.nullable(z.union([
1439
- z.lazy(() => CurrentReleaseExtendConditionResource$inboundSchema),
1440
- z.string(),
1441
- ])).optional(),
1442
- scope: z.string(),
1443
- });
1444
- /** @internal */
1445
- export const CurrentReleaseExtendGcpResource$outboundSchema = z.object({
1446
- condition: z.nullable(z.union([
1447
- z.lazy(() => CurrentReleaseExtendConditionResource$outboundSchema),
1448
- z.string(),
1449
- ])).optional(),
1450
- scope: z.string(),
1451
- });
1452
- export function currentReleaseExtendGcpResourceToJSON(currentReleaseExtendGcpResource) {
1453
- return JSON.stringify(CurrentReleaseExtendGcpResource$outboundSchema.parse(currentReleaseExtendGcpResource));
1454
- }
1455
- export function currentReleaseExtendGcpResourceFromJSON(jsonString) {
1456
- return safeParse(jsonString, (x) => CurrentReleaseExtendGcpResource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseExtendGcpResource' from JSON`);
1457
- }
1458
- /** @internal */
1459
- export const CurrentReleaseExtendCondition$inboundSchema = z.object({
1460
- expression: z.string(),
1461
- title: z.string(),
1462
- });
1463
- /** @internal */
1464
- export const CurrentReleaseExtendCondition$outboundSchema = z.object({
1465
- expression: z.string(),
1466
- title: z.string(),
1467
- });
1468
- export function currentReleaseExtendConditionToJSON(currentReleaseExtendCondition) {
1469
- return JSON.stringify(CurrentReleaseExtendCondition$outboundSchema.parse(currentReleaseExtendCondition));
1470
- }
1471
- export function currentReleaseExtendConditionFromJSON(jsonString) {
1472
- return safeParse(jsonString, (x) => CurrentReleaseExtendCondition$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseExtendCondition' from JSON`);
1473
- }
1474
- /** @internal */
1475
- export const CurrentReleaseExtendConditionUnion$inboundSchema = z.union([
1476
- z.lazy(() => CurrentReleaseExtendCondition$inboundSchema),
1477
- z.string(),
1478
- ]);
1479
- /** @internal */
1480
- export const CurrentReleaseExtendConditionUnion$outboundSchema = z.union([
1481
- z.lazy(() => CurrentReleaseExtendCondition$outboundSchema),
1482
- z.string(),
1483
- ]);
1484
- export function currentReleaseExtendConditionUnionToJSON(currentReleaseExtendConditionUnion) {
1485
- return JSON.stringify(CurrentReleaseExtendConditionUnion$outboundSchema.parse(currentReleaseExtendConditionUnion));
1486
- }
1487
- export function currentReleaseExtendConditionUnionFromJSON(jsonString) {
1488
- return safeParse(jsonString, (x) => CurrentReleaseExtendConditionUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseExtendConditionUnion' from JSON`);
1489
- }
1490
- /** @internal */
1491
- export const CurrentReleaseExtendGcpStack$inboundSchema = z.object({
1492
- condition: z.nullable(z.union([
1493
- z.lazy(() => CurrentReleaseExtendCondition$inboundSchema),
1494
- z.string(),
1495
- ])).optional(),
1496
- scope: z.string(),
1497
- });
1498
- /** @internal */
1499
- export const CurrentReleaseExtendGcpStack$outboundSchema = z.object({
1500
- condition: z.nullable(z.union([
1501
- z.lazy(() => CurrentReleaseExtendCondition$outboundSchema),
1502
- z.string(),
1503
- ])).optional(),
1504
- scope: z.string(),
1505
- });
1506
- export function currentReleaseExtendGcpStackToJSON(currentReleaseExtendGcpStack) {
1507
- return JSON.stringify(CurrentReleaseExtendGcpStack$outboundSchema.parse(currentReleaseExtendGcpStack));
1508
- }
1509
- export function currentReleaseExtendGcpStackFromJSON(jsonString) {
1510
- return safeParse(jsonString, (x) => CurrentReleaseExtendGcpStack$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseExtendGcpStack' from JSON`);
1511
- }
1512
- /** @internal */
1513
- export const CurrentReleaseExtendGcpBinding$inboundSchema = z.object({
1514
- resource: z.lazy(() => CurrentReleaseExtendGcpResource$inboundSchema)
1515
- .optional(),
1516
- stack: z.lazy(() => CurrentReleaseExtendGcpStack$inboundSchema).optional(),
1517
- });
1518
- /** @internal */
1519
- export const CurrentReleaseExtendGcpBinding$outboundSchema = z.object({
1520
- resource: z.lazy(() => CurrentReleaseExtendGcpResource$outboundSchema)
1521
- .optional(),
1522
- stack: z.lazy(() => CurrentReleaseExtendGcpStack$outboundSchema).optional(),
1523
- });
1524
- export function currentReleaseExtendGcpBindingToJSON(currentReleaseExtendGcpBinding) {
1525
- return JSON.stringify(CurrentReleaseExtendGcpBinding$outboundSchema.parse(currentReleaseExtendGcpBinding));
1526
- }
1527
- export function currentReleaseExtendGcpBindingFromJSON(jsonString) {
1528
- return safeParse(jsonString, (x) => CurrentReleaseExtendGcpBinding$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseExtendGcpBinding' from JSON`);
1529
- }
1530
- /** @internal */
1531
- export const CurrentReleaseExtendGcpGrant$inboundSchema = z.object({
1532
- actions: z.nullable(z.array(z.string())).optional(),
1533
- dataActions: z.nullable(z.array(z.string())).optional(),
1534
- permissions: z.nullable(z.array(z.string())).optional(),
1535
- predefinedRoles: z.nullable(z.array(z.string())).optional(),
1536
- residualPermissions: z.nullable(z.array(z.string())).optional(),
1537
- });
1538
- /** @internal */
1539
- export const CurrentReleaseExtendGcpGrant$outboundSchema = z.object({
1540
- actions: z.nullable(z.array(z.string())).optional(),
1541
- dataActions: z.nullable(z.array(z.string())).optional(),
1542
- permissions: z.nullable(z.array(z.string())).optional(),
1543
- predefinedRoles: z.nullable(z.array(z.string())).optional(),
1544
- residualPermissions: z.nullable(z.array(z.string())).optional(),
1545
- });
1546
- export function currentReleaseExtendGcpGrantToJSON(currentReleaseExtendGcpGrant) {
1547
- return JSON.stringify(CurrentReleaseExtendGcpGrant$outboundSchema.parse(currentReleaseExtendGcpGrant));
1548
- }
1549
- export function currentReleaseExtendGcpGrantFromJSON(jsonString) {
1550
- return safeParse(jsonString, (x) => CurrentReleaseExtendGcpGrant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseExtendGcpGrant' from JSON`);
1551
- }
1552
- /** @internal */
1553
- export const CurrentReleaseExtendGcp$inboundSchema = z.object({
1554
- binding: z.lazy(() => CurrentReleaseExtendGcpBinding$inboundSchema),
1555
- description: z.nullable(z.string()).optional(),
1556
- grant: z.lazy(() => CurrentReleaseExtendGcpGrant$inboundSchema),
1557
- label: z.nullable(z.string()).optional(),
1558
- });
1559
- /** @internal */
1560
- export const CurrentReleaseExtendGcp$outboundSchema = z.object({
1561
- binding: z.lazy(() => CurrentReleaseExtendGcpBinding$outboundSchema),
1562
- description: z.nullable(z.string()).optional(),
1563
- grant: z.lazy(() => CurrentReleaseExtendGcpGrant$outboundSchema),
1564
- label: z.nullable(z.string()).optional(),
1565
- });
1566
- export function currentReleaseExtendGcpToJSON(currentReleaseExtendGcp) {
1567
- return JSON.stringify(CurrentReleaseExtendGcp$outboundSchema.parse(currentReleaseExtendGcp));
1568
- }
1569
- export function currentReleaseExtendGcpFromJSON(jsonString) {
1570
- return safeParse(jsonString, (x) => CurrentReleaseExtendGcp$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseExtendGcp' from JSON`);
1571
- }
1572
- /** @internal */
1573
- export const CurrentReleaseExtendPlatforms$inboundSchema = z.object({
1574
- aws: z.nullable(z.array(z.lazy(() => CurrentReleaseExtendAw$inboundSchema)))
1575
- .optional(),
1576
- azure: z.nullable(z.array(z.lazy(() => CurrentReleaseExtendAzure$inboundSchema))).optional(),
1577
- gcp: z.nullable(z.array(z.lazy(() => CurrentReleaseExtendGcp$inboundSchema)))
1578
- .optional(),
1579
- });
1580
- /** @internal */
1581
- export const CurrentReleaseExtendPlatforms$outboundSchema = z.object({
1582
- aws: z.nullable(z.array(z.lazy(() => CurrentReleaseExtendAw$outboundSchema)))
1583
- .optional(),
1584
- azure: z.nullable(z.array(z.lazy(() => CurrentReleaseExtendAzure$outboundSchema))).optional(),
1585
- gcp: z.nullable(z.array(z.lazy(() => CurrentReleaseExtendGcp$outboundSchema)))
1586
- .optional(),
1587
- });
1588
- export function currentReleaseExtendPlatformsToJSON(currentReleaseExtendPlatforms) {
1589
- return JSON.stringify(CurrentReleaseExtendPlatforms$outboundSchema.parse(currentReleaseExtendPlatforms));
1590
- }
1591
- export function currentReleaseExtendPlatformsFromJSON(jsonString) {
1592
- return safeParse(jsonString, (x) => CurrentReleaseExtendPlatforms$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseExtendPlatforms' from JSON`);
1593
- }
1594
- /** @internal */
1595
- export const CurrentReleaseExtend$inboundSchema = z.object({
1596
- description: z.string(),
1597
- id: z.string(),
1598
- platforms: z.lazy(() => CurrentReleaseExtendPlatforms$inboundSchema),
1599
- });
1600
- /** @internal */
1601
- export const CurrentReleaseExtend$outboundSchema = z.object({
1602
- description: z.string(),
1603
- id: z.string(),
1604
- platforms: z.lazy(() => CurrentReleaseExtendPlatforms$outboundSchema),
1605
- });
1606
- export function currentReleaseExtendToJSON(currentReleaseExtend) {
1607
- return JSON.stringify(CurrentReleaseExtend$outboundSchema.parse(currentReleaseExtend));
1608
- }
1609
- export function currentReleaseExtendFromJSON(jsonString) {
1610
- return safeParse(jsonString, (x) => CurrentReleaseExtend$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseExtend' from JSON`);
1611
- }
1612
- /** @internal */
1613
- export const CurrentReleaseExtendUnion$inboundSchema = z.union([z.lazy(() => CurrentReleaseExtend$inboundSchema), z.string()]);
1614
- /** @internal */
1615
- export const CurrentReleaseExtendUnion$outboundSchema = z.union([z.lazy(() => CurrentReleaseExtend$outboundSchema), z.string()]);
1616
- export function currentReleaseExtendUnionToJSON(currentReleaseExtendUnion) {
1617
- return JSON.stringify(CurrentReleaseExtendUnion$outboundSchema.parse(currentReleaseExtendUnion));
1618
- }
1619
- export function currentReleaseExtendUnionFromJSON(jsonString) {
1620
- return safeParse(jsonString, (x) => CurrentReleaseExtendUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseExtendUnion' from JSON`);
1621
- }
1622
- /** @internal */
1623
- export const CurrentReleaseManagement1$inboundSchema = z.object({
1624
- extend: z.record(z.string(), z.array(z.union([z.lazy(() => CurrentReleaseExtend$inboundSchema), z.string()]))),
1625
- });
1626
- /** @internal */
1627
- export const CurrentReleaseManagement1$outboundSchema = z.object({
1628
- extend: z.record(z.string(), z.array(z.union([z.lazy(() => CurrentReleaseExtend$outboundSchema), z.string()]))),
1629
- });
1630
- export function currentReleaseManagement1ToJSON(currentReleaseManagement1) {
1631
- return JSON.stringify(CurrentReleaseManagement1$outboundSchema.parse(currentReleaseManagement1));
1632
- }
1633
- export function currentReleaseManagement1FromJSON(jsonString) {
1634
- return safeParse(jsonString, (x) => CurrentReleaseManagement1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseManagement1' from JSON`);
1635
- }
1636
- /** @internal */
1637
- export const CurrentReleaseManagementUnion$inboundSchema = z.union([
1638
- z.lazy(() => CurrentReleaseManagement1$inboundSchema),
1639
- z.lazy(() => CurrentReleaseManagement2$inboundSchema),
1640
- CurrentReleaseManagementEnum$inboundSchema,
1641
- ]);
1642
- /** @internal */
1643
- export const CurrentReleaseManagementUnion$outboundSchema = z.union([
1644
- z.lazy(() => CurrentReleaseManagement1$outboundSchema),
1645
- z.lazy(() => CurrentReleaseManagement2$outboundSchema),
1646
- CurrentReleaseManagementEnum$outboundSchema,
1647
- ]);
1648
- export function currentReleaseManagementUnionToJSON(currentReleaseManagementUnion) {
1649
- return JSON.stringify(CurrentReleaseManagementUnion$outboundSchema.parse(currentReleaseManagementUnion));
1650
- }
1651
- export function currentReleaseManagementUnionFromJSON(jsonString) {
1652
- return safeParse(jsonString, (x) => CurrentReleaseManagementUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseManagementUnion' from JSON`);
1653
- }
1654
- /** @internal */
1655
- export const CurrentReleaseProfileAwResource$inboundSchema = z.object({
1656
- condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string())))
1657
- .optional(),
1658
- notResources: z.array(z.string()).optional(),
1659
- resources: z.array(z.string()),
1660
- });
1661
- /** @internal */
1662
- export const CurrentReleaseProfileAwResource$outboundSchema = z.object({
1663
- condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string())))
1664
- .optional(),
1665
- notResources: z.array(z.string()).optional(),
1666
- resources: z.array(z.string()),
1667
- });
1668
- export function currentReleaseProfileAwResourceToJSON(currentReleaseProfileAwResource) {
1669
- return JSON.stringify(CurrentReleaseProfileAwResource$outboundSchema.parse(currentReleaseProfileAwResource));
1670
- }
1671
- export function currentReleaseProfileAwResourceFromJSON(jsonString) {
1672
- return safeParse(jsonString, (x) => CurrentReleaseProfileAwResource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseProfileAwResource' from JSON`);
1673
- }
1674
- /** @internal */
1675
- export const CurrentReleaseProfileAwStack$inboundSchema = z.object({
1676
- condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string())))
1677
- .optional(),
1678
- notResources: z.array(z.string()).optional(),
1679
- resources: z.array(z.string()),
1680
- });
1681
- /** @internal */
1682
- export const CurrentReleaseProfileAwStack$outboundSchema = z.object({
1683
- condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string())))
1684
- .optional(),
1685
- notResources: z.array(z.string()).optional(),
1686
- resources: z.array(z.string()),
1687
- });
1688
- export function currentReleaseProfileAwStackToJSON(currentReleaseProfileAwStack) {
1689
- return JSON.stringify(CurrentReleaseProfileAwStack$outboundSchema.parse(currentReleaseProfileAwStack));
1690
- }
1691
- export function currentReleaseProfileAwStackFromJSON(jsonString) {
1692
- return safeParse(jsonString, (x) => CurrentReleaseProfileAwStack$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseProfileAwStack' from JSON`);
1693
- }
1694
- /** @internal */
1695
- export const CurrentReleaseProfileAwBinding$inboundSchema = z.object({
1696
- resource: z.lazy(() => CurrentReleaseProfileAwResource$inboundSchema)
1697
- .optional(),
1698
- stack: z.lazy(() => CurrentReleaseProfileAwStack$inboundSchema).optional(),
1699
- });
1700
- /** @internal */
1701
- export const CurrentReleaseProfileAwBinding$outboundSchema = z.object({
1702
- resource: z.lazy(() => CurrentReleaseProfileAwResource$outboundSchema)
1703
- .optional(),
1704
- stack: z.lazy(() => CurrentReleaseProfileAwStack$outboundSchema).optional(),
1705
- });
1706
- export function currentReleaseProfileAwBindingToJSON(currentReleaseProfileAwBinding) {
1707
- return JSON.stringify(CurrentReleaseProfileAwBinding$outboundSchema.parse(currentReleaseProfileAwBinding));
1708
- }
1709
- export function currentReleaseProfileAwBindingFromJSON(jsonString) {
1710
- return safeParse(jsonString, (x) => CurrentReleaseProfileAwBinding$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseProfileAwBinding' from JSON`);
1711
- }
1712
- /** @internal */
1713
- export const CurrentReleaseProfileEffect$inboundSchema = z.enum(CurrentReleaseProfileEffect);
1714
- /** @internal */
1715
- export const CurrentReleaseProfileEffect$outboundSchema = CurrentReleaseProfileEffect$inboundSchema;
1716
- /** @internal */
1717
- export const CurrentReleaseProfileAwGrant$inboundSchema = z.object({
1718
- actions: z.nullable(z.array(z.string())).optional(),
1719
- dataActions: z.nullable(z.array(z.string())).optional(),
1720
- permissions: z.nullable(z.array(z.string())).optional(),
1721
- predefinedRoles: z.nullable(z.array(z.string())).optional(),
1722
- residualPermissions: z.nullable(z.array(z.string())).optional(),
1723
- });
1724
- /** @internal */
1725
- export const CurrentReleaseProfileAwGrant$outboundSchema = z.object({
1726
- actions: z.nullable(z.array(z.string())).optional(),
1727
- dataActions: z.nullable(z.array(z.string())).optional(),
1728
- permissions: z.nullable(z.array(z.string())).optional(),
1729
- predefinedRoles: z.nullable(z.array(z.string())).optional(),
1730
- residualPermissions: z.nullable(z.array(z.string())).optional(),
1731
- });
1732
- export function currentReleaseProfileAwGrantToJSON(currentReleaseProfileAwGrant) {
1733
- return JSON.stringify(CurrentReleaseProfileAwGrant$outboundSchema.parse(currentReleaseProfileAwGrant));
1734
- }
1735
- export function currentReleaseProfileAwGrantFromJSON(jsonString) {
1736
- return safeParse(jsonString, (x) => CurrentReleaseProfileAwGrant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseProfileAwGrant' from JSON`);
1737
- }
1738
- /** @internal */
1739
- export const CurrentReleaseProfileAw$inboundSchema = z.object({
1740
- binding: z.lazy(() => CurrentReleaseProfileAwBinding$inboundSchema),
1741
- description: z.nullable(z.string()).optional(),
1742
- effect: CurrentReleaseProfileEffect$inboundSchema.optional(),
1743
- grant: z.lazy(() => CurrentReleaseProfileAwGrant$inboundSchema),
1744
- label: z.nullable(z.string()).optional(),
1745
- });
1746
- /** @internal */
1747
- export const CurrentReleaseProfileAw$outboundSchema = z.object({
1748
- binding: z.lazy(() => CurrentReleaseProfileAwBinding$outboundSchema),
1749
- description: z.nullable(z.string()).optional(),
1750
- effect: CurrentReleaseProfileEffect$outboundSchema.optional(),
1751
- grant: z.lazy(() => CurrentReleaseProfileAwGrant$outboundSchema),
1752
- label: z.nullable(z.string()).optional(),
1753
- });
1754
- export function currentReleaseProfileAwToJSON(currentReleaseProfileAw) {
1755
- return JSON.stringify(CurrentReleaseProfileAw$outboundSchema.parse(currentReleaseProfileAw));
1756
- }
1757
- export function currentReleaseProfileAwFromJSON(jsonString) {
1758
- return safeParse(jsonString, (x) => CurrentReleaseProfileAw$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseProfileAw' from JSON`);
1759
- }
1760
- /** @internal */
1761
- export const CurrentReleaseProfileAzureResource$inboundSchema = z.object({
1762
- scope: z.string(),
1763
- });
1764
- /** @internal */
1765
- export const CurrentReleaseProfileAzureResource$outboundSchema = z.object({
1766
- scope: z.string(),
1767
- });
1768
- export function currentReleaseProfileAzureResourceToJSON(currentReleaseProfileAzureResource) {
1769
- return JSON.stringify(CurrentReleaseProfileAzureResource$outboundSchema.parse(currentReleaseProfileAzureResource));
1770
- }
1771
- export function currentReleaseProfileAzureResourceFromJSON(jsonString) {
1772
- return safeParse(jsonString, (x) => CurrentReleaseProfileAzureResource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseProfileAzureResource' from JSON`);
1773
- }
1774
- /** @internal */
1775
- export const CurrentReleaseProfileAzureStack$inboundSchema = z.object({
1776
- scope: z.string(),
1777
- });
1778
- /** @internal */
1779
- export const CurrentReleaseProfileAzureStack$outboundSchema = z.object({
1780
- scope: z.string(),
1781
- });
1782
- export function currentReleaseProfileAzureStackToJSON(currentReleaseProfileAzureStack) {
1783
- return JSON.stringify(CurrentReleaseProfileAzureStack$outboundSchema.parse(currentReleaseProfileAzureStack));
1784
- }
1785
- export function currentReleaseProfileAzureStackFromJSON(jsonString) {
1786
- return safeParse(jsonString, (x) => CurrentReleaseProfileAzureStack$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseProfileAzureStack' from JSON`);
1787
- }
1788
- /** @internal */
1789
- export const CurrentReleaseProfileAzureBinding$inboundSchema = z.object({
1790
- resource: z.lazy(() => CurrentReleaseProfileAzureResource$inboundSchema)
1791
- .optional(),
1792
- stack: z.lazy(() => CurrentReleaseProfileAzureStack$inboundSchema).optional(),
1793
- });
1794
- /** @internal */
1795
- export const CurrentReleaseProfileAzureBinding$outboundSchema = z.object({
1796
- resource: z.lazy(() => CurrentReleaseProfileAzureResource$outboundSchema)
1797
- .optional(),
1798
- stack: z.lazy(() => CurrentReleaseProfileAzureStack$outboundSchema)
1799
- .optional(),
1800
- });
1801
- export function currentReleaseProfileAzureBindingToJSON(currentReleaseProfileAzureBinding) {
1802
- return JSON.stringify(CurrentReleaseProfileAzureBinding$outboundSchema.parse(currentReleaseProfileAzureBinding));
1803
- }
1804
- export function currentReleaseProfileAzureBindingFromJSON(jsonString) {
1805
- return safeParse(jsonString, (x) => CurrentReleaseProfileAzureBinding$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseProfileAzureBinding' from JSON`);
1806
- }
1807
- /** @internal */
1808
- export const CurrentReleaseProfileAzureGrant$inboundSchema = z.object({
1809
- actions: z.nullable(z.array(z.string())).optional(),
1810
- dataActions: z.nullable(z.array(z.string())).optional(),
1811
- permissions: z.nullable(z.array(z.string())).optional(),
1812
- predefinedRoles: z.nullable(z.array(z.string())).optional(),
1813
- residualPermissions: z.nullable(z.array(z.string())).optional(),
1814
- });
1815
- /** @internal */
1816
- export const CurrentReleaseProfileAzureGrant$outboundSchema = z.object({
1817
- actions: z.nullable(z.array(z.string())).optional(),
1818
- dataActions: z.nullable(z.array(z.string())).optional(),
1819
- permissions: z.nullable(z.array(z.string())).optional(),
1820
- predefinedRoles: z.nullable(z.array(z.string())).optional(),
1821
- residualPermissions: z.nullable(z.array(z.string())).optional(),
1822
- });
1823
- export function currentReleaseProfileAzureGrantToJSON(currentReleaseProfileAzureGrant) {
1824
- return JSON.stringify(CurrentReleaseProfileAzureGrant$outboundSchema.parse(currentReleaseProfileAzureGrant));
1825
- }
1826
- export function currentReleaseProfileAzureGrantFromJSON(jsonString) {
1827
- return safeParse(jsonString, (x) => CurrentReleaseProfileAzureGrant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseProfileAzureGrant' from JSON`);
1828
- }
1829
- /** @internal */
1830
- export const CurrentReleaseProfileAzure$inboundSchema = z.object({
1831
- binding: z.lazy(() => CurrentReleaseProfileAzureBinding$inboundSchema),
1832
- description: z.nullable(z.string()).optional(),
1833
- grant: z.lazy(() => CurrentReleaseProfileAzureGrant$inboundSchema),
1834
- label: z.nullable(z.string()).optional(),
1835
- });
1836
- /** @internal */
1837
- export const CurrentReleaseProfileAzure$outboundSchema = z.object({
1838
- binding: z.lazy(() => CurrentReleaseProfileAzureBinding$outboundSchema),
1839
- description: z.nullable(z.string()).optional(),
1840
- grant: z.lazy(() => CurrentReleaseProfileAzureGrant$outboundSchema),
1841
- label: z.nullable(z.string()).optional(),
1842
- });
1843
- export function currentReleaseProfileAzureToJSON(currentReleaseProfileAzure) {
1844
- return JSON.stringify(CurrentReleaseProfileAzure$outboundSchema.parse(currentReleaseProfileAzure));
1845
- }
1846
- export function currentReleaseProfileAzureFromJSON(jsonString) {
1847
- return safeParse(jsonString, (x) => CurrentReleaseProfileAzure$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseProfileAzure' from JSON`);
1848
- }
1849
- /** @internal */
1850
- export const CurrentReleaseProfileConditionResource$inboundSchema = z.object({
1851
- expression: z.string(),
1852
- title: z.string(),
1853
- });
1854
- /** @internal */
1855
- export const CurrentReleaseProfileConditionResource$outboundSchema = z.object({
1856
- expression: z.string(),
1857
- title: z.string(),
1858
- });
1859
- export function currentReleaseProfileConditionResourceToJSON(currentReleaseProfileConditionResource) {
1860
- return JSON.stringify(CurrentReleaseProfileConditionResource$outboundSchema.parse(currentReleaseProfileConditionResource));
1861
- }
1862
- export function currentReleaseProfileConditionResourceFromJSON(jsonString) {
1863
- return safeParse(jsonString, (x) => CurrentReleaseProfileConditionResource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseProfileConditionResource' from JSON`);
1864
- }
1865
- /** @internal */
1866
- export const CurrentReleaseProfileResourceConditionUnion$inboundSchema = z.union([
1867
- z.lazy(() => CurrentReleaseProfileConditionResource$inboundSchema),
1868
- z.string(),
1869
- ]);
1870
- /** @internal */
1871
- export const CurrentReleaseProfileResourceConditionUnion$outboundSchema = z.union([
1872
- z.lazy(() => CurrentReleaseProfileConditionResource$outboundSchema),
1873
- z.string(),
1874
- ]);
1875
- export function currentReleaseProfileResourceConditionUnionToJSON(currentReleaseProfileResourceConditionUnion) {
1876
- return JSON.stringify(CurrentReleaseProfileResourceConditionUnion$outboundSchema.parse(currentReleaseProfileResourceConditionUnion));
1877
- }
1878
- export function currentReleaseProfileResourceConditionUnionFromJSON(jsonString) {
1879
- return safeParse(jsonString, (x) => CurrentReleaseProfileResourceConditionUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseProfileResourceConditionUnion' from JSON`);
1880
- }
1881
- /** @internal */
1882
- export const CurrentReleaseProfileGcpResource$inboundSchema = z.object({
1883
- condition: z.nullable(z.union([
1884
- z.lazy(() => CurrentReleaseProfileConditionResource$inboundSchema),
1885
- z.string(),
1886
- ])).optional(),
1887
- scope: z.string(),
1888
- });
1889
- /** @internal */
1890
- export const CurrentReleaseProfileGcpResource$outboundSchema = z.object({
1891
- condition: z.nullable(z.union([
1892
- z.lazy(() => CurrentReleaseProfileConditionResource$outboundSchema),
1893
- z.string(),
1894
- ])).optional(),
1895
- scope: z.string(),
1896
- });
1897
- export function currentReleaseProfileGcpResourceToJSON(currentReleaseProfileGcpResource) {
1898
- return JSON.stringify(CurrentReleaseProfileGcpResource$outboundSchema.parse(currentReleaseProfileGcpResource));
1899
- }
1900
- export function currentReleaseProfileGcpResourceFromJSON(jsonString) {
1901
- return safeParse(jsonString, (x) => CurrentReleaseProfileGcpResource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseProfileGcpResource' from JSON`);
1902
- }
1903
- /** @internal */
1904
- export const CurrentReleaseProfileCondition$inboundSchema = z.object({
1905
- expression: z.string(),
1906
- title: z.string(),
1907
- });
1908
- /** @internal */
1909
- export const CurrentReleaseProfileCondition$outboundSchema = z.object({
1910
- expression: z.string(),
1911
- title: z.string(),
1912
- });
1913
- export function currentReleaseProfileConditionToJSON(currentReleaseProfileCondition) {
1914
- return JSON.stringify(CurrentReleaseProfileCondition$outboundSchema.parse(currentReleaseProfileCondition));
1915
- }
1916
- export function currentReleaseProfileConditionFromJSON(jsonString) {
1917
- return safeParse(jsonString, (x) => CurrentReleaseProfileCondition$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseProfileCondition' from JSON`);
1918
- }
1919
- /** @internal */
1920
- export const CurrentReleaseProfileConditionUnion$inboundSchema = z.union([
1921
- z.lazy(() => CurrentReleaseProfileCondition$inboundSchema),
1922
- z.string(),
1923
- ]);
1924
- /** @internal */
1925
- export const CurrentReleaseProfileConditionUnion$outboundSchema = z.union([
1926
- z.lazy(() => CurrentReleaseProfileCondition$outboundSchema),
1927
- z.string(),
1928
- ]);
1929
- export function currentReleaseProfileConditionUnionToJSON(currentReleaseProfileConditionUnion) {
1930
- return JSON.stringify(CurrentReleaseProfileConditionUnion$outboundSchema.parse(currentReleaseProfileConditionUnion));
1931
- }
1932
- export function currentReleaseProfileConditionUnionFromJSON(jsonString) {
1933
- return safeParse(jsonString, (x) => CurrentReleaseProfileConditionUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseProfileConditionUnion' from JSON`);
1934
- }
1935
- /** @internal */
1936
- export const CurrentReleaseProfileGcpStack$inboundSchema = z.object({
1937
- condition: z.nullable(z.union([
1938
- z.lazy(() => CurrentReleaseProfileCondition$inboundSchema),
1939
- z.string(),
1940
- ])).optional(),
1941
- scope: z.string(),
1942
- });
1943
- /** @internal */
1944
- export const CurrentReleaseProfileGcpStack$outboundSchema = z.object({
1945
- condition: z.nullable(z.union([
1946
- z.lazy(() => CurrentReleaseProfileCondition$outboundSchema),
1947
- z.string(),
1948
- ])).optional(),
1949
- scope: z.string(),
1950
- });
1951
- export function currentReleaseProfileGcpStackToJSON(currentReleaseProfileGcpStack) {
1952
- return JSON.stringify(CurrentReleaseProfileGcpStack$outboundSchema.parse(currentReleaseProfileGcpStack));
1953
- }
1954
- export function currentReleaseProfileGcpStackFromJSON(jsonString) {
1955
- return safeParse(jsonString, (x) => CurrentReleaseProfileGcpStack$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseProfileGcpStack' from JSON`);
1956
- }
1957
- /** @internal */
1958
- export const CurrentReleaseProfileGcpBinding$inboundSchema = z.object({
1959
- resource: z.lazy(() => CurrentReleaseProfileGcpResource$inboundSchema)
1960
- .optional(),
1961
- stack: z.lazy(() => CurrentReleaseProfileGcpStack$inboundSchema).optional(),
1962
- });
1963
- /** @internal */
1964
- export const CurrentReleaseProfileGcpBinding$outboundSchema = z.object({
1965
- resource: z.lazy(() => CurrentReleaseProfileGcpResource$outboundSchema)
1966
- .optional(),
1967
- stack: z.lazy(() => CurrentReleaseProfileGcpStack$outboundSchema).optional(),
1968
- });
1969
- export function currentReleaseProfileGcpBindingToJSON(currentReleaseProfileGcpBinding) {
1970
- return JSON.stringify(CurrentReleaseProfileGcpBinding$outboundSchema.parse(currentReleaseProfileGcpBinding));
1971
- }
1972
- export function currentReleaseProfileGcpBindingFromJSON(jsonString) {
1973
- return safeParse(jsonString, (x) => CurrentReleaseProfileGcpBinding$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseProfileGcpBinding' from JSON`);
1974
- }
1975
- /** @internal */
1976
- export const CurrentReleaseProfileGcpGrant$inboundSchema = z.object({
1977
- actions: z.nullable(z.array(z.string())).optional(),
1978
- dataActions: z.nullable(z.array(z.string())).optional(),
1979
- permissions: z.nullable(z.array(z.string())).optional(),
1980
- predefinedRoles: z.nullable(z.array(z.string())).optional(),
1981
- residualPermissions: z.nullable(z.array(z.string())).optional(),
1982
- });
1983
- /** @internal */
1984
- export const CurrentReleaseProfileGcpGrant$outboundSchema = z.object({
1985
- actions: z.nullable(z.array(z.string())).optional(),
1986
- dataActions: z.nullable(z.array(z.string())).optional(),
1987
- permissions: z.nullable(z.array(z.string())).optional(),
1988
- predefinedRoles: z.nullable(z.array(z.string())).optional(),
1989
- residualPermissions: z.nullable(z.array(z.string())).optional(),
1990
- });
1991
- export function currentReleaseProfileGcpGrantToJSON(currentReleaseProfileGcpGrant) {
1992
- return JSON.stringify(CurrentReleaseProfileGcpGrant$outboundSchema.parse(currentReleaseProfileGcpGrant));
1993
- }
1994
- export function currentReleaseProfileGcpGrantFromJSON(jsonString) {
1995
- return safeParse(jsonString, (x) => CurrentReleaseProfileGcpGrant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseProfileGcpGrant' from JSON`);
1996
- }
1997
- /** @internal */
1998
- export const CurrentReleaseProfileGcp$inboundSchema = z.object({
1999
- binding: z.lazy(() => CurrentReleaseProfileGcpBinding$inboundSchema),
2000
- description: z.nullable(z.string()).optional(),
2001
- grant: z.lazy(() => CurrentReleaseProfileGcpGrant$inboundSchema),
2002
- label: z.nullable(z.string()).optional(),
2003
- });
2004
- /** @internal */
2005
- export const CurrentReleaseProfileGcp$outboundSchema = z.object({
2006
- binding: z.lazy(() => CurrentReleaseProfileGcpBinding$outboundSchema),
2007
- description: z.nullable(z.string()).optional(),
2008
- grant: z.lazy(() => CurrentReleaseProfileGcpGrant$outboundSchema),
2009
- label: z.nullable(z.string()).optional(),
2010
- });
2011
- export function currentReleaseProfileGcpToJSON(currentReleaseProfileGcp) {
2012
- return JSON.stringify(CurrentReleaseProfileGcp$outboundSchema.parse(currentReleaseProfileGcp));
2013
- }
2014
- export function currentReleaseProfileGcpFromJSON(jsonString) {
2015
- return safeParse(jsonString, (x) => CurrentReleaseProfileGcp$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseProfileGcp' from JSON`);
2016
- }
2017
- /** @internal */
2018
- export const CurrentReleaseProfilePlatforms$inboundSchema = z.object({
2019
- aws: z.nullable(z.array(z.lazy(() => CurrentReleaseProfileAw$inboundSchema)))
2020
- .optional(),
2021
- azure: z.nullable(z.array(z.lazy(() => CurrentReleaseProfileAzure$inboundSchema))).optional(),
2022
- gcp: z.nullable(z.array(z.lazy(() => CurrentReleaseProfileGcp$inboundSchema)))
2023
- .optional(),
2024
- });
2025
- /** @internal */
2026
- export const CurrentReleaseProfilePlatforms$outboundSchema = z.object({
2027
- aws: z.nullable(z.array(z.lazy(() => CurrentReleaseProfileAw$outboundSchema)))
2028
- .optional(),
2029
- azure: z.nullable(z.array(z.lazy(() => CurrentReleaseProfileAzure$outboundSchema))).optional(),
2030
- gcp: z.nullable(z.array(z.lazy(() => CurrentReleaseProfileGcp$outboundSchema))).optional(),
2031
- });
2032
- export function currentReleaseProfilePlatformsToJSON(currentReleaseProfilePlatforms) {
2033
- return JSON.stringify(CurrentReleaseProfilePlatforms$outboundSchema.parse(currentReleaseProfilePlatforms));
2034
- }
2035
- export function currentReleaseProfilePlatformsFromJSON(jsonString) {
2036
- return safeParse(jsonString, (x) => CurrentReleaseProfilePlatforms$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseProfilePlatforms' from JSON`);
2037
- }
2038
- /** @internal */
2039
- export const CurrentReleaseProfile$inboundSchema = z.object({
2040
- description: z.string(),
2041
- id: z.string(),
2042
- platforms: z.lazy(() => CurrentReleaseProfilePlatforms$inboundSchema),
2043
- });
2044
- /** @internal */
2045
- export const CurrentReleaseProfile$outboundSchema = z.object({
2046
- description: z.string(),
2047
- id: z.string(),
2048
- platforms: z.lazy(() => CurrentReleaseProfilePlatforms$outboundSchema),
2049
- });
2050
- export function currentReleaseProfileToJSON(currentReleaseProfile) {
2051
- return JSON.stringify(CurrentReleaseProfile$outboundSchema.parse(currentReleaseProfile));
2052
- }
2053
- export function currentReleaseProfileFromJSON(jsonString) {
2054
- return safeParse(jsonString, (x) => CurrentReleaseProfile$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseProfile' from JSON`);
2055
- }
2056
- /** @internal */
2057
- export const CurrentReleaseProfileUnion$inboundSchema = z.union([z.lazy(() => CurrentReleaseProfile$inboundSchema), z.string()]);
2058
- /** @internal */
2059
- export const CurrentReleaseProfileUnion$outboundSchema = z.union([z.lazy(() => CurrentReleaseProfile$outboundSchema), z.string()]);
2060
- export function currentReleaseProfileUnionToJSON(currentReleaseProfileUnion) {
2061
- return JSON.stringify(CurrentReleaseProfileUnion$outboundSchema.parse(currentReleaseProfileUnion));
2062
- }
2063
- export function currentReleaseProfileUnionFromJSON(jsonString) {
2064
- return safeParse(jsonString, (x) => CurrentReleaseProfileUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseProfileUnion' from JSON`);
2065
- }
2066
- /** @internal */
2067
- export const CurrentReleasePermissions$inboundSchema = z.object({
2068
- management: z.union([
2069
- z.lazy(() => CurrentReleaseManagement1$inboundSchema),
2070
- z.lazy(() => CurrentReleaseManagement2$inboundSchema),
2071
- CurrentReleaseManagementEnum$inboundSchema,
2072
- ]).optional(),
2073
- profiles: z.record(z.string(), z.record(z.string(), z.array(z.union([
2074
- z.lazy(() => CurrentReleaseProfile$inboundSchema),
2075
- z.string(),
2076
- ])))),
2077
- });
2078
- /** @internal */
2079
- export const CurrentReleasePermissions$outboundSchema = z.object({
2080
- management: z.union([
2081
- z.lazy(() => CurrentReleaseManagement1$outboundSchema),
2082
- z.lazy(() => CurrentReleaseManagement2$outboundSchema),
2083
- CurrentReleaseManagementEnum$outboundSchema,
2084
- ]).optional(),
2085
- profiles: z.record(z.string(), z.record(z.string(), z.array(z.union([
2086
- z.lazy(() => CurrentReleaseProfile$outboundSchema),
2087
- z.string(),
2088
- ])))),
2089
- });
2090
- export function currentReleasePermissionsToJSON(currentReleasePermissions) {
2091
- return JSON.stringify(CurrentReleasePermissions$outboundSchema.parse(currentReleasePermissions));
2092
- }
2093
- export function currentReleasePermissionsFromJSON(jsonString) {
2094
- return safeParse(jsonString, (x) => CurrentReleasePermissions$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleasePermissions' from JSON`);
2095
- }
2096
- /** @internal */
2097
- export const CurrentReleaseConfig$inboundSchema = collectExtraKeys$(z.object({
2098
- id: z.string(),
2099
- type: z.string(),
2100
- }).catchall(z.any()), "additionalProperties", true);
2101
- /** @internal */
2102
- export const CurrentReleaseConfig$outboundSchema = z.object({
2103
- id: z.string(),
2104
- type: z.string(),
2105
- additionalProperties: z.record(z.string(), z.nullable(z.any())).optional(),
2106
- }).transform((v) => {
2107
- return {
2108
- ...v.additionalProperties,
2109
- ...remap$(v, {
2110
- additionalProperties: null,
2111
- }),
2112
- };
2113
- });
2114
- export function currentReleaseConfigToJSON(currentReleaseConfig) {
2115
- return JSON.stringify(CurrentReleaseConfig$outboundSchema.parse(currentReleaseConfig));
2116
- }
2117
- export function currentReleaseConfigFromJSON(jsonString) {
2118
- return safeParse(jsonString, (x) => CurrentReleaseConfig$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseConfig' from JSON`);
2119
- }
2120
- /** @internal */
2121
- export const CurrentReleaseDependency$inboundSchema = z.object({
2122
- id: z.string(),
2123
- type: z.string(),
2124
- });
2125
- /** @internal */
2126
- export const CurrentReleaseDependency$outboundSchema = z.object({
2127
- id: z.string(),
2128
- type: z.string(),
2129
- });
2130
- export function currentReleaseDependencyToJSON(currentReleaseDependency) {
2131
- return JSON.stringify(CurrentReleaseDependency$outboundSchema.parse(currentReleaseDependency));
2132
- }
2133
- export function currentReleaseDependencyFromJSON(jsonString) {
2134
- return safeParse(jsonString, (x) => CurrentReleaseDependency$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseDependency' from JSON`);
2135
- }
2136
- /** @internal */
2137
- export const CurrentReleaseLifecycle$inboundSchema = z.enum(CurrentReleaseLifecycle);
2138
- /** @internal */
2139
- export const CurrentReleaseLifecycle$outboundSchema = CurrentReleaseLifecycle$inboundSchema;
2140
- /** @internal */
2141
- export const CurrentReleaseResources$inboundSchema = z.object({
2142
- config: z.lazy(() => CurrentReleaseConfig$inboundSchema),
2143
- dependencies: z.array(z.lazy(() => CurrentReleaseDependency$inboundSchema)),
2144
- enabledWhen: z.nullable(z.string()).optional(),
2145
- lifecycle: CurrentReleaseLifecycle$inboundSchema,
2146
- remoteAccess: z.boolean().optional(),
2147
- });
2148
- /** @internal */
2149
- export const CurrentReleaseResources$outboundSchema = z.object({
2150
- config: z.lazy(() => CurrentReleaseConfig$outboundSchema),
2151
- dependencies: z.array(z.lazy(() => CurrentReleaseDependency$outboundSchema)),
2152
- enabledWhen: z.nullable(z.string()).optional(),
2153
- lifecycle: CurrentReleaseLifecycle$outboundSchema,
2154
- remoteAccess: z.boolean().optional(),
2155
- });
2156
- export function currentReleaseResourcesToJSON(currentReleaseResources) {
2157
- return JSON.stringify(CurrentReleaseResources$outboundSchema.parse(currentReleaseResources));
2158
- }
2159
- export function currentReleaseResourcesFromJSON(jsonString) {
2160
- return safeParse(jsonString, (x) => CurrentReleaseResources$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseResources' from JSON`);
2161
- }
2162
- /** @internal */
2163
- export const CurrentReleaseSupportedPlatform$inboundSchema = z.enum(CurrentReleaseSupportedPlatform);
2164
- /** @internal */
2165
- export const CurrentReleaseSupportedPlatform$outboundSchema = CurrentReleaseSupportedPlatform$inboundSchema;
2166
- /** @internal */
2167
- export const CurrentReleaseStack$inboundSchema = z.object({
2168
- dynamicContainerImageResources: z.array(z.string()).optional(),
2169
- dynamicContainerRepositories: z.array(z.string()).optional(),
2170
- id: z.string(),
2171
- inputs: z.array(z.lazy(() => CurrentReleaseInput$inboundSchema)).optional(),
2172
- operations: z.nullable(z.union([z.lazy(() => CurrentReleaseOperations$inboundSchema), z.string()])).optional(),
2173
- permissions: z.lazy(() => CurrentReleasePermissions$inboundSchema).optional(),
2174
- resources: z.record(z.string(), z.lazy(() => CurrentReleaseResources$inboundSchema)),
2175
- supportedPlatforms: z.nullable(z.array(CurrentReleaseSupportedPlatform$inboundSchema)).optional(),
2176
- });
2177
- /** @internal */
2178
- export const CurrentReleaseStack$outboundSchema = z.object({
2179
- dynamicContainerImageResources: z.array(z.string()).optional(),
2180
- dynamicContainerRepositories: z.array(z.string()).optional(),
2181
- id: z.string(),
2182
- inputs: z.array(z.lazy(() => CurrentReleaseInput$outboundSchema)).optional(),
2183
- operations: z.nullable(z.union([
2184
- z.lazy(() => CurrentReleaseOperations$outboundSchema),
2185
- z.string(),
2186
- ])).optional(),
2187
- permissions: z.lazy(() => CurrentReleasePermissions$outboundSchema)
2188
- .optional(),
2189
- resources: z.record(z.string(), z.lazy(() => CurrentReleaseResources$outboundSchema)),
2190
- supportedPlatforms: z.nullable(z.array(CurrentReleaseSupportedPlatform$outboundSchema)).optional(),
2191
- });
2192
- export function currentReleaseStackToJSON(currentReleaseStack) {
2193
- return JSON.stringify(CurrentReleaseStack$outboundSchema.parse(currentReleaseStack));
2194
- }
2195
- export function currentReleaseStackFromJSON(jsonString) {
2196
- return safeParse(jsonString, (x) => CurrentReleaseStack$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseStack' from JSON`);
2197
- }
2198
- /** @internal */
2199
- export const CurrentRelease$inboundSchema = z.object({
2200
- description: z.nullable(z.string()).optional(),
2201
- releaseId: z.nullable(z.string()).optional(),
2202
- stack: z.lazy(() => CurrentReleaseStack$inboundSchema),
2203
- version: z.nullable(z.string()).optional(),
2204
- });
2205
- /** @internal */
2206
- export const CurrentRelease$outboundSchema = z.object({
2207
- description: z.nullable(z.string()).optional(),
2208
- releaseId: z.nullable(z.string()).optional(),
2209
- stack: z.lazy(() => CurrentReleaseStack$outboundSchema),
2210
- version: z.nullable(z.string()).optional(),
2211
- });
2212
- export function currentReleaseToJSON(currentRelease) {
2213
- return JSON.stringify(CurrentRelease$outboundSchema.parse(currentRelease));
2214
- }
2215
- export function currentReleaseFromJSON(jsonString) {
2216
- return safeParse(jsonString, (x) => CurrentRelease$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentRelease' from JSON`);
2217
- }
2218
- /** @internal */
2219
- export const CurrentReleaseUnion$inboundSchema = z.union([z.lazy(() => CurrentRelease$inboundSchema), z.string()]);
2220
- /** @internal */
2221
- export const CurrentReleaseUnion$outboundSchema = z.union([z.lazy(() => CurrentRelease$outboundSchema), z.string()]);
2222
- export function currentReleaseUnionToJSON(currentReleaseUnion) {
2223
- return JSON.stringify(CurrentReleaseUnion$outboundSchema.parse(currentReleaseUnion));
2224
- }
2225
- export function currentReleaseUnionFromJSON(jsonString) {
2226
- return safeParse(jsonString, (x) => CurrentReleaseUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CurrentReleaseUnion' from JSON`);
2227
- }
2228
- /** @internal */
2229
- export const DeploymentStatePlatformTest$inboundSchema = z.enum(DeploymentStatePlatformTest);
2230
- /** @internal */
2231
- export const DeploymentStatePlatformTest$outboundSchema = DeploymentStatePlatformTest$inboundSchema;
2232
- /** @internal */
2233
- export const DeploymentStateEnvironmentInfoTest$inboundSchema = z.object({
2234
- testId: z.string(),
2235
- platform: DeploymentStatePlatformTest$inboundSchema,
2236
- });
2237
- /** @internal */
2238
- export const DeploymentStateEnvironmentInfoTest$outboundSchema = z.object({
2239
- testId: z.string(),
2240
- platform: DeploymentStatePlatformTest$outboundSchema,
2241
- });
2242
- export function deploymentStateEnvironmentInfoTestToJSON(deploymentStateEnvironmentInfoTest) {
2243
- return JSON.stringify(DeploymentStateEnvironmentInfoTest$outboundSchema.parse(deploymentStateEnvironmentInfoTest));
2244
- }
2245
- export function deploymentStateEnvironmentInfoTestFromJSON(jsonString) {
2246
- return safeParse(jsonString, (x) => DeploymentStateEnvironmentInfoTest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateEnvironmentInfoTest' from JSON`);
2247
- }
2248
- /** @internal */
2249
- export const DeploymentStatePlatformLocal$inboundSchema = z.enum(DeploymentStatePlatformLocal);
2250
- /** @internal */
2251
- export const DeploymentStatePlatformLocal$outboundSchema = DeploymentStatePlatformLocal$inboundSchema;
2252
- /** @internal */
2253
- export const DeploymentStateEnvironmentInfoLocal$inboundSchema = z.object({
2254
- arch: z.string(),
2255
- hostname: z.string(),
2256
- os: z.string(),
2257
- platform: DeploymentStatePlatformLocal$inboundSchema,
2258
- });
2259
- /** @internal */
2260
- export const DeploymentStateEnvironmentInfoLocal$outboundSchema = z.object({
2261
- arch: z.string(),
2262
- hostname: z.string(),
2263
- os: z.string(),
2264
- platform: DeploymentStatePlatformLocal$outboundSchema,
2265
- });
2266
- export function deploymentStateEnvironmentInfoLocalToJSON(deploymentStateEnvironmentInfoLocal) {
2267
- return JSON.stringify(DeploymentStateEnvironmentInfoLocal$outboundSchema.parse(deploymentStateEnvironmentInfoLocal));
2268
- }
2269
- export function deploymentStateEnvironmentInfoLocalFromJSON(jsonString) {
2270
- return safeParse(jsonString, (x) => DeploymentStateEnvironmentInfoLocal$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateEnvironmentInfoLocal' from JSON`);
2271
- }
2272
- /** @internal */
2273
- export const DeploymentStatePlatformAzure$inboundSchema = z.enum(DeploymentStatePlatformAzure);
2274
- /** @internal */
2275
- export const DeploymentStatePlatformAzure$outboundSchema = DeploymentStatePlatformAzure$inboundSchema;
2276
- /** @internal */
2277
- export const DeploymentStateEnvironmentInfoAzure$inboundSchema = z.object({
2278
- location: z.string(),
2279
- subscriptionId: z.string(),
2280
- tenantId: z.string(),
2281
- platform: DeploymentStatePlatformAzure$inboundSchema,
2282
- });
2283
- /** @internal */
2284
- export const DeploymentStateEnvironmentInfoAzure$outboundSchema = z.object({
2285
- location: z.string(),
2286
- subscriptionId: z.string(),
2287
- tenantId: z.string(),
2288
- platform: DeploymentStatePlatformAzure$outboundSchema,
2289
- });
2290
- export function deploymentStateEnvironmentInfoAzureToJSON(deploymentStateEnvironmentInfoAzure) {
2291
- return JSON.stringify(DeploymentStateEnvironmentInfoAzure$outboundSchema.parse(deploymentStateEnvironmentInfoAzure));
2292
- }
2293
- export function deploymentStateEnvironmentInfoAzureFromJSON(jsonString) {
2294
- return safeParse(jsonString, (x) => DeploymentStateEnvironmentInfoAzure$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateEnvironmentInfoAzure' from JSON`);
2295
- }
2296
- /** @internal */
2297
- export const DeploymentStatePlatformGcp$inboundSchema = z.enum(DeploymentStatePlatformGcp);
2298
- /** @internal */
2299
- export const DeploymentStatePlatformGcp$outboundSchema = DeploymentStatePlatformGcp$inboundSchema;
2300
- /** @internal */
2301
- export const DeploymentStateEnvironmentInfoGcp$inboundSchema = z.object({
2302
- projectId: z.string(),
2303
- projectNumber: z.string(),
2304
- region: z.string(),
2305
- platform: DeploymentStatePlatformGcp$inboundSchema,
2306
- });
2307
- /** @internal */
2308
- export const DeploymentStateEnvironmentInfoGcp$outboundSchema = z.object({
2309
- projectId: z.string(),
2310
- projectNumber: z.string(),
2311
- region: z.string(),
2312
- platform: DeploymentStatePlatformGcp$outboundSchema,
2313
- });
2314
- export function deploymentStateEnvironmentInfoGcpToJSON(deploymentStateEnvironmentInfoGcp) {
2315
- return JSON.stringify(DeploymentStateEnvironmentInfoGcp$outboundSchema.parse(deploymentStateEnvironmentInfoGcp));
2316
- }
2317
- export function deploymentStateEnvironmentInfoGcpFromJSON(jsonString) {
2318
- return safeParse(jsonString, (x) => DeploymentStateEnvironmentInfoGcp$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateEnvironmentInfoGcp' from JSON`);
2319
- }
2320
- /** @internal */
2321
- export const DeploymentStatePlatformAws$inboundSchema = z.enum(DeploymentStatePlatformAws);
2322
- /** @internal */
2323
- export const DeploymentStatePlatformAws$outboundSchema = DeploymentStatePlatformAws$inboundSchema;
2324
- /** @internal */
2325
- export const DeploymentStateEnvironmentInfoAws$inboundSchema = z.object({
2326
- accountId: z.string(),
2327
- region: z.string(),
2328
- platform: DeploymentStatePlatformAws$inboundSchema,
2329
- });
2330
- /** @internal */
2331
- export const DeploymentStateEnvironmentInfoAws$outboundSchema = z.object({
2332
- accountId: z.string(),
2333
- region: z.string(),
2334
- platform: DeploymentStatePlatformAws$outboundSchema,
2335
- });
2336
- export function deploymentStateEnvironmentInfoAwsToJSON(deploymentStateEnvironmentInfoAws) {
2337
- return JSON.stringify(DeploymentStateEnvironmentInfoAws$outboundSchema.parse(deploymentStateEnvironmentInfoAws));
2338
- }
2339
- export function deploymentStateEnvironmentInfoAwsFromJSON(jsonString) {
2340
- return safeParse(jsonString, (x) => DeploymentStateEnvironmentInfoAws$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateEnvironmentInfoAws' from JSON`);
2341
- }
2342
- /** @internal */
2343
- export const DeploymentStateEnvironmentInfoUnion$inboundSchema = z.union([
2344
- z.lazy(() => DeploymentStateEnvironmentInfoGcp$inboundSchema),
2345
- z.lazy(() => DeploymentStateEnvironmentInfoAzure$inboundSchema),
2346
- z.lazy(() => DeploymentStateEnvironmentInfoLocal$inboundSchema),
2347
- z.lazy(() => DeploymentStateEnvironmentInfoAws$inboundSchema),
2348
- z.lazy(() => DeploymentStateEnvironmentInfoTest$inboundSchema),
2349
- z.string(),
2350
- ]);
2351
- /** @internal */
2352
- export const DeploymentStateEnvironmentInfoUnion$outboundSchema = z.union([
2353
- z.lazy(() => DeploymentStateEnvironmentInfoGcp$outboundSchema),
2354
- z.lazy(() => DeploymentStateEnvironmentInfoAzure$outboundSchema),
2355
- z.lazy(() => DeploymentStateEnvironmentInfoLocal$outboundSchema),
2356
- z.lazy(() => DeploymentStateEnvironmentInfoAws$outboundSchema),
2357
- z.lazy(() => DeploymentStateEnvironmentInfoTest$outboundSchema),
2358
- z.string(),
2359
- ]);
2360
- export function deploymentStateEnvironmentInfoUnionToJSON(deploymentStateEnvironmentInfoUnion) {
2361
- return JSON.stringify(DeploymentStateEnvironmentInfoUnion$outboundSchema.parse(deploymentStateEnvironmentInfoUnion));
2362
- }
2363
- export function deploymentStateEnvironmentInfoUnionFromJSON(jsonString) {
2364
- return safeParse(jsonString, (x) => DeploymentStateEnvironmentInfoUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateEnvironmentInfoUnion' from JSON`);
2365
- }
2366
- /** @internal */
2367
- export const DeploymentStateError$inboundSchema = z.object({
2368
- code: z.string(),
2369
- context: z.nullable(z.any()).optional(),
2370
- hint: z.nullable(z.string()).optional(),
2371
- httpStatusCode: z.nullable(z.int()).optional(),
2372
- internal: z.boolean(),
2373
- message: z.string(),
2374
- retryable: z.boolean().default(false),
2375
- source: z.nullable(z.any()).optional(),
2376
- });
2377
- /** @internal */
2378
- export const DeploymentStateError$outboundSchema = z.object({
2379
- code: z.string(),
2380
- context: z.nullable(z.any()).optional(),
2381
- hint: z.nullable(z.string()).optional(),
2382
- httpStatusCode: z.nullable(z.int()).optional(),
2383
- internal: z.boolean(),
2384
- message: z.string(),
2385
- retryable: z.boolean().default(false),
2386
- source: z.nullable(z.any()).optional(),
2387
- });
2388
- export function deploymentStateErrorToJSON(deploymentStateError) {
2389
- return JSON.stringify(DeploymentStateError$outboundSchema.parse(deploymentStateError));
2390
- }
2391
- export function deploymentStateErrorFromJSON(jsonString) {
2392
- return safeParse(jsonString, (x) => DeploymentStateError$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateError' from JSON`);
2393
- }
2394
- /** @internal */
2395
- export const DeploymentStateErrorUnion$inboundSchema = z.union([z.lazy(() => DeploymentStateError$inboundSchema), z.string()]);
2396
- /** @internal */
2397
- export const DeploymentStateErrorUnion$outboundSchema = z.union([z.lazy(() => DeploymentStateError$outboundSchema), z.string()]);
2398
- export function deploymentStateErrorUnionToJSON(deploymentStateErrorUnion) {
2399
- return JSON.stringify(DeploymentStateErrorUnion$outboundSchema.parse(deploymentStateErrorUnion));
2400
- }
2401
- export function deploymentStateErrorUnionFromJSON(jsonString) {
2402
- return safeParse(jsonString, (x) => DeploymentStateErrorUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateErrorUnion' from JSON`);
2403
- }
2404
- /** @internal */
2405
- export const DeploymentStatePlatform$inboundSchema = z.enum(DeploymentStatePlatform);
2406
- /** @internal */
2407
- export const DeploymentStatePlatform$outboundSchema = DeploymentStatePlatform$inboundSchema;
2408
- /** @internal */
2409
- export const DeploymentStateCredentialRetryStatus$inboundSchema = z.enum(DeploymentStateCredentialRetryStatus);
2410
- /** @internal */
2411
- export const DeploymentStateCredentialRetryStatus$outboundSchema = DeploymentStateCredentialRetryStatus$inboundSchema;
2412
- /** @internal */
2413
- export const DeploymentStateCredentialRetry$inboundSchema = z.object({
2414
- startedAt: z.iso.datetime({ offset: true }).transform(v => new Date(v)),
2415
- status: DeploymentStateCredentialRetryStatus$inboundSchema,
2416
- });
2417
- /** @internal */
2418
- export const DeploymentStateCredentialRetry$outboundSchema = z.object({
2419
- startedAt: z.date().transform(v => v.toISOString()),
2420
- status: DeploymentStateCredentialRetryStatus$outboundSchema,
2421
- });
2422
- export function deploymentStateCredentialRetryToJSON(deploymentStateCredentialRetry) {
2423
- return JSON.stringify(DeploymentStateCredentialRetry$outboundSchema.parse(deploymentStateCredentialRetry));
2424
- }
2425
- export function deploymentStateCredentialRetryFromJSON(jsonString) {
2426
- return safeParse(jsonString, (x) => DeploymentStateCredentialRetry$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateCredentialRetry' from JSON`);
2427
- }
2428
- /** @internal */
2429
- export const DeploymentStateCredentialRetryUnion$inboundSchema = z.union([
2430
- z.lazy(() => DeploymentStateCredentialRetry$inboundSchema),
2431
- z.string(),
2432
- ]);
2433
- /** @internal */
2434
- export const DeploymentStateCredentialRetryUnion$outboundSchema = z.union([
2435
- z.lazy(() => DeploymentStateCredentialRetry$outboundSchema),
2436
- z.string(),
2437
- ]);
2438
- export function deploymentStateCredentialRetryUnionToJSON(deploymentStateCredentialRetryUnion) {
2439
- return JSON.stringify(DeploymentStateCredentialRetryUnion$outboundSchema.parse(deploymentStateCredentialRetryUnion));
2440
- }
2441
- export function deploymentStateCredentialRetryUnionFromJSON(jsonString) {
2442
- return safeParse(jsonString, (x) => DeploymentStateCredentialRetryUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateCredentialRetryUnion' from JSON`);
2443
- }
2444
- /** @internal */
2445
- export const DeploymentStateUnix$inboundSchema = z.object({
2446
- inline: z.string(),
2447
- prompt: z.string(),
2448
- });
2449
- /** @internal */
2450
- export const DeploymentStateUnix$outboundSchema = z.object({
2451
- inline: z.string(),
2452
- prompt: z.string(),
2453
- });
2454
- export function deploymentStateUnixToJSON(deploymentStateUnix) {
2455
- return JSON.stringify(DeploymentStateUnix$outboundSchema.parse(deploymentStateUnix));
2456
- }
2457
- export function deploymentStateUnixFromJSON(jsonString) {
2458
- return safeParse(jsonString, (x) => DeploymentStateUnix$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateUnix' from JSON`);
2459
- }
2460
- /** @internal */
2461
- export const DeploymentStateWindows$inboundSchema = z.object({
2462
- inline: z.string(),
2463
- prompt: z.string(),
2464
- });
2465
- /** @internal */
2466
- export const DeploymentStateWindows$outboundSchema = z.object({
2467
- inline: z.string(),
2468
- prompt: z.string(),
2469
- });
2470
- export function deploymentStateWindowsToJSON(deploymentStateWindows) {
2471
- return JSON.stringify(DeploymentStateWindows$outboundSchema.parse(deploymentStateWindows));
2472
- }
2473
- export function deploymentStateWindowsFromJSON(jsonString) {
2474
- return safeParse(jsonString, (x) => DeploymentStateWindows$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateWindows' from JSON`);
2475
- }
2476
- /** @internal */
2477
- export const DeploymentStateCommands$inboundSchema = z.object({
2478
- checkCommand: z.nullable(z.string()).optional(),
2479
- target: z.nullable(z.string()).optional(),
2480
- unix: z.lazy(() => DeploymentStateUnix$inboundSchema),
2481
- windows: z.lazy(() => DeploymentStateWindows$inboundSchema),
2482
- });
2483
- /** @internal */
2484
- export const DeploymentStateCommands$outboundSchema = z.object({
2485
- checkCommand: z.nullable(z.string()).optional(),
2486
- target: z.nullable(z.string()).optional(),
2487
- unix: z.lazy(() => DeploymentStateUnix$outboundSchema),
2488
- windows: z.lazy(() => DeploymentStateWindows$outboundSchema),
2489
- });
2490
- export function deploymentStateCommandsToJSON(deploymentStateCommands) {
2491
- return JSON.stringify(DeploymentStateCommands$outboundSchema.parse(deploymentStateCommands));
2492
- }
2493
- export function deploymentStateCommandsFromJSON(jsonString) {
2494
- return safeParse(jsonString, (x) => DeploymentStateCommands$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateCommands' from JSON`);
2495
- }
2496
- /** @internal */
2497
- export const DeploymentStateCommandsUnion$inboundSchema = z.union([z.lazy(() => DeploymentStateCommands$inboundSchema), z.string()]);
2498
- /** @internal */
2499
- export const DeploymentStateCommandsUnion$outboundSchema = z.union([z.lazy(() => DeploymentStateCommands$outboundSchema), z.string()]);
2500
- export function deploymentStateCommandsUnionToJSON(deploymentStateCommandsUnion) {
2501
- return JSON.stringify(DeploymentStateCommandsUnion$outboundSchema.parse(deploymentStateCommandsUnion));
2502
- }
2503
- export function deploymentStateCommandsUnionFromJSON(jsonString) {
2504
- return safeParse(jsonString, (x) => DeploymentStateCommandsUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateCommandsUnion' from JSON`);
2505
- }
2506
- /** @internal */
2507
- export const DeploymentStateStore$inboundSchema = z.enum(DeploymentStateStore);
2508
- /** @internal */
2509
- export const DeploymentStateStore$outboundSchema = DeploymentStateStore$inboundSchema;
2510
- /** @internal */
2511
- export const DeploymentStateLocation$inboundSchema = z.object({
2512
- cliCommand: z.string(),
2513
- commands: z.nullable(z.union([z.lazy(() => DeploymentStateCommands$inboundSchema), z.string()])).optional(),
2514
- consoleUrl: z.nullable(z.string()).optional(),
2515
- deleteCommand: z.nullable(z.string()).optional(),
2516
- name: z.string(),
2517
- store: DeploymentStateStore$inboundSchema,
2518
- vaultName: z.nullable(z.string()).optional(),
2519
- });
2520
- /** @internal */
2521
- export const DeploymentStateLocation$outboundSchema = z.object({
2522
- cliCommand: z.string(),
2523
- commands: z.nullable(z.union([z.lazy(() => DeploymentStateCommands$outboundSchema), z.string()])).optional(),
2524
- consoleUrl: z.nullable(z.string()).optional(),
2525
- deleteCommand: z.nullable(z.string()).optional(),
2526
- name: z.string(),
2527
- store: DeploymentStateStore$outboundSchema,
2528
- vaultName: z.nullable(z.string()).optional(),
2529
- });
2530
- export function deploymentStateLocationToJSON(deploymentStateLocation) {
2531
- return JSON.stringify(DeploymentStateLocation$outboundSchema.parse(deploymentStateLocation));
2532
- }
2533
- export function deploymentStateLocationFromJSON(jsonString) {
2534
- return safeParse(jsonString, (x) => DeploymentStateLocation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateLocation' from JSON`);
2535
- }
2536
- /** @internal */
2537
- export const DeploymentStateDeployerSecretStatus$inboundSchema = z.enum(DeploymentStateDeployerSecretStatus);
2538
- /** @internal */
2539
- export const DeploymentStateDeployerSecretStatus$outboundSchema = DeploymentStateDeployerSecretStatus$inboundSchema;
2540
- /** @internal */
2541
- export const DeploymentStateDeployerSecret$inboundSchema = z.object({
2542
- inputId: z.string(),
2543
- label: z.string(),
2544
- location: z.lazy(() => DeploymentStateLocation$inboundSchema),
2545
- message: z.nullable(z.string()).optional(),
2546
- required: z.boolean(),
2547
- status: DeploymentStateDeployerSecretStatus$inboundSchema,
2548
- version: z.nullable(z.string()).optional(),
2549
- });
2550
- /** @internal */
2551
- export const DeploymentStateDeployerSecret$outboundSchema = z.object({
2552
- inputId: z.string(),
2553
- label: z.string(),
2554
- location: z.lazy(() => DeploymentStateLocation$outboundSchema),
2555
- message: z.nullable(z.string()).optional(),
2556
- required: z.boolean(),
2557
- status: DeploymentStateDeployerSecretStatus$outboundSchema,
2558
- version: z.nullable(z.string()).optional(),
2559
- });
2560
- export function deploymentStateDeployerSecretToJSON(deploymentStateDeployerSecret) {
2561
- return JSON.stringify(DeploymentStateDeployerSecret$outboundSchema.parse(deploymentStateDeployerSecret));
2562
- }
2563
- export function deploymentStateDeployerSecretFromJSON(jsonString) {
2564
- return safeParse(jsonString, (x) => DeploymentStateDeployerSecret$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateDeployerSecret' from JSON`);
2565
- }
2566
- /** @internal */
2567
- export const DeploymentStateInitialSetupAuthority$inboundSchema = z.enum(DeploymentStateInitialSetupAuthority);
2568
- /** @internal */
2569
- export const DeploymentStateInitialSetupAuthority$outboundSchema = DeploymentStateInitialSetupAuthority$inboundSchema;
2570
- /** @internal */
2571
- export const DeploymentStatePendingPreparedStackTypeStringList$inboundSchema = z.enum(DeploymentStatePendingPreparedStackTypeStringList);
2572
- /** @internal */
2573
- export const DeploymentStatePendingPreparedStackTypeStringList$outboundSchema = DeploymentStatePendingPreparedStackTypeStringList$inboundSchema;
2574
- /** @internal */
2575
- export const DeploymentStatePendingPreparedStackDefaultStringList$inboundSchema = z
2576
- .object({
2577
- type: DeploymentStatePendingPreparedStackTypeStringList$inboundSchema,
2578
- value: z.array(z.string()),
2579
- });
2580
- /** @internal */
2581
- export const DeploymentStatePendingPreparedStackDefaultStringList$outboundSchema = z.object({
2582
- type: DeploymentStatePendingPreparedStackTypeStringList$outboundSchema,
2583
- value: z.array(z.string()),
2584
- });
2585
- export function deploymentStatePendingPreparedStackDefaultStringListToJSON(deploymentStatePendingPreparedStackDefaultStringList) {
2586
- return JSON.stringify(DeploymentStatePendingPreparedStackDefaultStringList$outboundSchema.parse(deploymentStatePendingPreparedStackDefaultStringList));
2587
- }
2588
- export function deploymentStatePendingPreparedStackDefaultStringListFromJSON(jsonString) {
2589
- return safeParse(jsonString, (x) => DeploymentStatePendingPreparedStackDefaultStringList$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePendingPreparedStackDefaultStringList' from JSON`);
2590
- }
2591
- // Published deployment-state readiness exports.
2592
- export const DeploymentStateRuntimeMetadataStatus = DeploymentStateDeployerSecretStatus;
2593
- export const DeploymentStateRuntimeMetadataStatus$inboundSchema = DeploymentStateDeployerSecretStatus$inboundSchema;
2594
- export const DeploymentStateRuntimeMetadataStatus$outboundSchema = DeploymentStateDeployerSecretStatus$outboundSchema;
1
+ // Generated by generate-compatibility-exports.mjs. DO NOT EDIT.
2
+ export * from "./deploymentstatependingpreparedstacktypestringlist.js";
2595
3
  //# sourceMappingURL=deploymentstatependingpreparedstackdefaultstringlist.js.map