@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
@@ -0,0 +1,4513 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v4";
6
+ import { remap as remap$ } from "../lib/primitives.js";
7
+ import {
8
+ collectExtraKeys as collectExtraKeys$,
9
+ safeParse,
10
+ } from "../lib/schemas.js";
11
+ import { ClosedEnum } from "../types/enums.js";
12
+ import { Result as SafeParseResult } from "../types/fp.js";
13
+ import { SDKValidationError } from "./errors/sdkvalidationerror.js";
14
+ import {
15
+ ExternalBindingUnion,
16
+ ExternalBindingUnion$inboundSchema,
17
+ } from "./externalbindingunion.js";
18
+
19
+ /**
20
+ * Deployment status in the deployment lifecycle.
21
+ *
22
+ * @remarks
23
+ *
24
+ * For observe-only deployments with no release or stack state, `Running`
25
+ * means the Operator is attached. Connectivity comes from `lastHeartbeatAt`;
26
+ * resource health comes from inventory and resource heartbeat data.
27
+ */
28
+ export const DeploymentStatus = {
29
+ Pending: "pending",
30
+ PreflightsFailed: "preflights-failed",
31
+ InitialSetup: "initial-setup",
32
+ InitialSetupFailed: "initial-setup-failed",
33
+ Provisioning: "provisioning",
34
+ WaitingForMachines: "waiting-for-machines",
35
+ WaitingForSecrets: "waiting-for-secrets",
36
+ ProvisioningFailed: "provisioning-failed",
37
+ Running: "running",
38
+ RefreshFailed: "refresh-failed",
39
+ UpdatePending: "update-pending",
40
+ Updating: "updating",
41
+ UpdateFailed: "update-failed",
42
+ DeletePending: "delete-pending",
43
+ Deleting: "deleting",
44
+ DeleteFailed: "delete-failed",
45
+ TeardownRequired: "teardown-required",
46
+ TeardownFailed: "teardown-failed",
47
+ RetentionRequired: "retention-required",
48
+ Retained: "retained",
49
+ Deleted: "deleted",
50
+ Error: "error",
51
+ } as const;
52
+ /**
53
+ * Deployment status in the deployment lifecycle.
54
+ *
55
+ * @remarks
56
+ *
57
+ * For observe-only deployments with no release or stack state, `Running`
58
+ * means the Operator is attached. Connectivity comes from `lastHeartbeatAt`;
59
+ * resource health comes from inventory and resource heartbeat data.
60
+ */
61
+ export type DeploymentStatus = ClosedEnum<typeof DeploymentStatus>;
62
+
63
+ /**
64
+ * Target platform for the deployment
65
+ */
66
+ export const DeploymentPlatform = {
67
+ Aws: "aws",
68
+ Gcp: "gcp",
69
+ Azure: "azure",
70
+ Kubernetes: "kubernetes",
71
+ Machines: "machines",
72
+ Local: "local",
73
+ Test: "test",
74
+ } as const;
75
+ /**
76
+ * Target platform for the deployment
77
+ */
78
+ export type DeploymentPlatform = ClosedEnum<typeof DeploymentPlatform>;
79
+
80
+ /**
81
+ * Underlying cloud platform for Kubernetes deployments.
82
+ */
83
+ export const DeploymentBasePlatform = {
84
+ Aws: "aws",
85
+ Gcp: "gcp",
86
+ Azure: "azure",
87
+ } as const;
88
+ /**
89
+ * Underlying cloud platform for Kubernetes deployments.
90
+ */
91
+ export type DeploymentBasePlatform = ClosedEnum<typeof DeploymentBasePlatform>;
92
+
93
+ export const DeploymentPlatformTest = {
94
+ Test: "test",
95
+ } as const;
96
+ export type DeploymentPlatformTest = ClosedEnum<typeof DeploymentPlatformTest>;
97
+
98
+ /**
99
+ * Test platform environment information (mock)
100
+ */
101
+ export type DeploymentEnvironmentInfoTest = {
102
+ /**
103
+ * Test identifier for this environment
104
+ */
105
+ testId: string;
106
+ platform: DeploymentPlatformTest;
107
+ };
108
+
109
+ export const DeploymentPlatformLocal = {
110
+ Local: "local",
111
+ } as const;
112
+ export type DeploymentPlatformLocal = ClosedEnum<
113
+ typeof DeploymentPlatformLocal
114
+ >;
115
+
116
+ /**
117
+ * Local platform environment information
118
+ */
119
+ export type DeploymentEnvironmentInfoLocal = {
120
+ /**
121
+ * Architecture (e.g., "x86_64", "aarch64")
122
+ */
123
+ arch: string;
124
+ /**
125
+ * Hostname of the machine running the deployment
126
+ */
127
+ hostname: string;
128
+ /**
129
+ * Operating system (e.g., "linux", "macos", "windows")
130
+ */
131
+ os: string;
132
+ platform: DeploymentPlatformLocal;
133
+ };
134
+
135
+ export const DeploymentPlatformAzure = {
136
+ Azure: "azure",
137
+ } as const;
138
+ export type DeploymentPlatformAzure = ClosedEnum<
139
+ typeof DeploymentPlatformAzure
140
+ >;
141
+
142
+ /**
143
+ * Azure-specific environment information
144
+ */
145
+ export type DeploymentEnvironmentInfoAzure = {
146
+ /**
147
+ * Azure location/region
148
+ */
149
+ location: string;
150
+ /**
151
+ * Azure subscription ID
152
+ */
153
+ subscriptionId: string;
154
+ /**
155
+ * Azure tenant ID
156
+ */
157
+ tenantId: string;
158
+ platform: DeploymentPlatformAzure;
159
+ };
160
+
161
+ export const DeploymentPlatformGcp = {
162
+ Gcp: "gcp",
163
+ } as const;
164
+ export type DeploymentPlatformGcp = ClosedEnum<typeof DeploymentPlatformGcp>;
165
+
166
+ /**
167
+ * GCP-specific environment information
168
+ */
169
+ export type DeploymentEnvironmentInfoGcp = {
170
+ /**
171
+ * GCP project ID (e.g., "my-project")
172
+ */
173
+ projectId: string;
174
+ /**
175
+ * GCP project number (e.g., "123456789012")
176
+ */
177
+ projectNumber: string;
178
+ /**
179
+ * GCP region
180
+ */
181
+ region: string;
182
+ platform: DeploymentPlatformGcp;
183
+ };
184
+
185
+ export const DeploymentPlatformAws = {
186
+ Aws: "aws",
187
+ } as const;
188
+ export type DeploymentPlatformAws = ClosedEnum<typeof DeploymentPlatformAws>;
189
+
190
+ /**
191
+ * AWS-specific environment information
192
+ */
193
+ export type DeploymentEnvironmentInfoAws = {
194
+ /**
195
+ * AWS account ID
196
+ */
197
+ accountId: string;
198
+ /**
199
+ * AWS region
200
+ */
201
+ region: string;
202
+ platform: DeploymentPlatformAws;
203
+ };
204
+
205
+ /**
206
+ * Cloud environment information
207
+ */
208
+ export type DeploymentEnvironmentInfoUnion =
209
+ | DeploymentEnvironmentInfoGcp
210
+ | DeploymentEnvironmentInfoAzure
211
+ | DeploymentEnvironmentInfoLocal
212
+ | DeploymentEnvironmentInfoAws
213
+ | DeploymentEnvironmentInfoTest
214
+ | string;
215
+
216
+ /**
217
+ * Deployment-time resource allocation for a container. Omitted fields use release defaults.
218
+ */
219
+ export type DeploymentContainers = {
220
+ /**
221
+ * CPU allocation in vCPUs.
222
+ */
223
+ cpu?: number | null | undefined;
224
+ /**
225
+ * Memory allocation, using binary units such as Mi or Gi.
226
+ */
227
+ memory?: string | null | undefined;
228
+ /**
229
+ * Persistent volume capacity per replica, in whole GiB. Omitted values
230
+ *
231
+ * @remarks
232
+ * use the release default. Existing volumes can only grow.
233
+ */
234
+ volumeSizeGib?: number | null | undefined;
235
+ };
236
+
237
+ /**
238
+ * Failure-domain policy selected for a compute pool.
239
+ */
240
+ export type DeploymentFailureDomains2 = {
241
+ /**
242
+ * Concrete provider domains selected during setup.
243
+ *
244
+ * @remarks
245
+ * Empty delegates deterministic selection to the provider setup implementation.
246
+ */
247
+ selectedFailureDomains?: Array<string> | undefined;
248
+ /**
249
+ * Number of distinct failure domains across which new stateful replicas may be spread.
250
+ */
251
+ spread: number;
252
+ };
253
+
254
+ export type DeploymentFailureDomainsUnion2 = DeploymentFailureDomains2 | string;
255
+
256
+ export type DeploymentPoolsAutoscale = {
257
+ failureDomains?: DeploymentFailureDomains2 | string | null | undefined;
258
+ /**
259
+ * Provider machine type selected for this deployment.
260
+ */
261
+ machine?: string | null | undefined;
262
+ /**
263
+ * Maximum machine count.
264
+ */
265
+ max: number;
266
+ /**
267
+ * Minimum machine count.
268
+ */
269
+ min: number;
270
+ mode: "autoscale";
271
+ };
272
+
273
+ /**
274
+ * Failure-domain policy selected for a compute pool.
275
+ */
276
+ export type DeploymentFailureDomains1 = {
277
+ /**
278
+ * Concrete provider domains selected during setup.
279
+ *
280
+ * @remarks
281
+ * Empty delegates deterministic selection to the provider setup implementation.
282
+ */
283
+ selectedFailureDomains?: Array<string> | undefined;
284
+ /**
285
+ * Number of distinct failure domains across which new stateful replicas may be spread.
286
+ */
287
+ spread: number;
288
+ };
289
+
290
+ export type DeploymentFailureDomainsUnion1 = DeploymentFailureDomains1 | string;
291
+
292
+ export type DeploymentPoolsFixed = {
293
+ failureDomains?: DeploymentFailureDomains1 | string | null | undefined;
294
+ /**
295
+ * Provider machine type selected for this deployment.
296
+ */
297
+ machine?: string | null | undefined;
298
+ /**
299
+ * Number of machines to run.
300
+ */
301
+ machines: number;
302
+ mode: "fixed";
303
+ };
304
+
305
+ /**
306
+ * User-selected deployment settings for one compute pool.
307
+ */
308
+ export type DeploymentPoolsUnion =
309
+ | DeploymentPoolsFixed
310
+ | DeploymentPoolsAutoscale;
311
+
312
+ /**
313
+ * Deployment-time compute choices for Alien-managed compute pools.
314
+ *
315
+ * @remarks
316
+ *
317
+ * Application source declares portable pool requirements. This settings
318
+ * object stores the concrete choices made for one deployment, such as the
319
+ * provider machine type and selected machine counts.
320
+ */
321
+ export type DeploymentCompute = {
322
+ /**
323
+ * Per-replica resources selected within each container's declared ranges.
324
+ */
325
+ containers?: { [k: string]: DeploymentContainers } | undefined;
326
+ /**
327
+ * Selected compute choices keyed by pool ID.
328
+ */
329
+ pools?:
330
+ | { [k: string]: DeploymentPoolsFixed | DeploymentPoolsAutoscale }
331
+ | undefined;
332
+ };
333
+
334
+ export type DeploymentComputeUnion = DeploymentCompute | string;
335
+
336
+ /**
337
+ * Deployment model: how updates are delivered to the remote environment.
338
+ */
339
+ export const DeploymentDeploymentModel = {
340
+ Push: "push",
341
+ Pull: "pull",
342
+ } as const;
343
+ /**
344
+ * Deployment model: how updates are delivered to the remote environment.
345
+ */
346
+ export type DeploymentDeploymentModel = ClosedEnum<
347
+ typeof DeploymentDeploymentModel
348
+ >;
349
+
350
+ export type DeploymentAws = {
351
+ certificateArn: string;
352
+ };
353
+
354
+ export type DeploymentAwsUnion = DeploymentAws | string;
355
+
356
+ export type DeploymentAzureStackSettings = {
357
+ keyVaultCertificateId: string;
358
+ keyVaultResourceId?: string | null | undefined;
359
+ };
360
+
361
+ export type DeploymentAzureUnion = DeploymentAzureStackSettings | string;
362
+
363
+ export type DeploymentGcpStackSettings = {
364
+ certificateName: string;
365
+ };
366
+
367
+ export type DeploymentGcpUnion = DeploymentGcpStackSettings | string;
368
+
369
+ /**
370
+ * Namespace-scoped Kubernetes TLS Secret reference.
371
+ */
372
+ export type DeploymentTlsSecretRef = {
373
+ /**
374
+ * Secret namespace. Defaults to the release namespace when omitted.
375
+ */
376
+ namespace?: string | null | undefined;
377
+ /**
378
+ * Secret name.
379
+ */
380
+ secretName: string;
381
+ };
382
+
383
+ export type DeploymentDomainsKubernetes = {
384
+ /**
385
+ * Namespace-scoped Kubernetes TLS Secret reference.
386
+ */
387
+ tlsSecretRef: DeploymentTlsSecretRef;
388
+ };
389
+
390
+ export type DeploymentDomainsKubernetesUnion =
391
+ | DeploymentDomainsKubernetes
392
+ | string;
393
+
394
+ /**
395
+ * Platform-specific certificate references for custom domains.
396
+ */
397
+ export type DeploymentDomainsCertificate = {
398
+ aws?: DeploymentAws | string | null | undefined;
399
+ azure?: DeploymentAzureStackSettings | string | null | undefined;
400
+ gcp?: DeploymentGcpStackSettings | string | null | undefined;
401
+ kubernetes?: DeploymentDomainsKubernetes | string | null | undefined;
402
+ };
403
+
404
+ /**
405
+ * Custom domain configuration for a single resource.
406
+ */
407
+ export type DeploymentCustomDomains = {
408
+ /**
409
+ * Platform-specific certificate references for custom domains.
410
+ */
411
+ certificate: DeploymentDomainsCertificate;
412
+ /**
413
+ * Fully qualified domain name to use.
414
+ */
415
+ domain: string;
416
+ };
417
+
418
+ export const DeploymentModeLoadBalancer = {
419
+ LoadBalancer: "loadBalancer",
420
+ } as const;
421
+ export type DeploymentModeLoadBalancer = ClosedEnum<
422
+ typeof DeploymentModeLoadBalancer
423
+ >;
424
+
425
+ export type DeploymentPublicEndpointTargetLoadBalancer = {
426
+ /**
427
+ * DNS name or URL for the external load balancer.
428
+ */
429
+ cnameTarget: string;
430
+ mode: DeploymentModeLoadBalancer;
431
+ };
432
+
433
+ export const DeploymentModeMachineAddresses = {
434
+ MachineAddresses: "machineAddresses",
435
+ } as const;
436
+ export type DeploymentModeMachineAddresses = ClosedEnum<
437
+ typeof DeploymentModeMachineAddresses
438
+ >;
439
+
440
+ export type DeploymentPublicEndpointTargetMachineAddresses = {
441
+ mode: DeploymentModeMachineAddresses;
442
+ };
443
+
444
+ export type DeploymentPublicEndpointTargetUnion =
445
+ | DeploymentPublicEndpointTargetLoadBalancer
446
+ | DeploymentPublicEndpointTargetMachineAddresses
447
+ | string;
448
+
449
+ /**
450
+ * Domain configuration for the stack.
451
+ *
452
+ * @remarks
453
+ *
454
+ * When `custom_domains` is set, the specified resources use customer-provided
455
+ * domains and certificates. Otherwise, Alien auto-generates domains.
456
+ */
457
+ export type DeploymentDomains = {
458
+ /**
459
+ * Custom domain configuration per resource ID.
460
+ */
461
+ customDomains?: { [k: string]: DeploymentCustomDomains } | null | undefined;
462
+ publicEndpointTarget?:
463
+ | DeploymentPublicEndpointTargetLoadBalancer
464
+ | DeploymentPublicEndpointTargetMachineAddresses
465
+ | string
466
+ | null
467
+ | undefined;
468
+ };
469
+
470
+ export type DeploymentDomainsUnion = DeploymentDomains | string;
471
+
472
+ /**
473
+ * Reachability of the deployment's public endpoints, fixed at setup.
474
+ */
475
+ export const DeploymentEndpointAccess = {
476
+ Internet: "internet",
477
+ Private: "private",
478
+ } as const;
479
+ /**
480
+ * Reachability of the deployment's public endpoints, fixed at setup.
481
+ */
482
+ export type DeploymentEndpointAccess = ClosedEnum<
483
+ typeof DeploymentEndpointAccess
484
+ >;
485
+
486
+ /**
487
+ * How heartbeat health checks are handled.
488
+ */
489
+ export const DeploymentHeartbeats = {
490
+ Off: "off",
491
+ On: "on",
492
+ } as const;
493
+ /**
494
+ * How heartbeat health checks are handled.
495
+ */
496
+ export type DeploymentHeartbeats = ClosedEnum<typeof DeploymentHeartbeats>;
497
+
498
+ /**
499
+ * Optional provider-specific identity for a cloud-backed Kubernetes cluster.
500
+ */
501
+ export type DeploymentCloud = {
502
+ accountId?: string | null | undefined;
503
+ clusterId?: string | null | undefined;
504
+ clusterName?: string | null | undefined;
505
+ projectId?: string | null | undefined;
506
+ region?: string | null | undefined;
507
+ resourceGroup?: string | null | undefined;
508
+ subscriptionId?: string | null | undefined;
509
+ };
510
+
511
+ export type DeploymentCloudUnion = DeploymentCloud | string;
512
+
513
+ /**
514
+ * Ownership model for the Kubernetes cluster.
515
+ */
516
+ export const DeploymentOwnership = {
517
+ Managed: "managed",
518
+ Existing: "existing",
519
+ External: "external",
520
+ } as const;
521
+ /**
522
+ * Ownership model for the Kubernetes cluster.
523
+ */
524
+ export type DeploymentOwnership = ClosedEnum<typeof DeploymentOwnership>;
525
+
526
+ /**
527
+ * Kubernetes cluster setup settings.
528
+ */
529
+ export type DeploymentCluster = {
530
+ cloud?: DeploymentCloud | string | null | undefined;
531
+ /**
532
+ * Namespace where the Alien chart and application resources run.
533
+ */
534
+ namespace?: string | null | undefined;
535
+ /**
536
+ * Ownership model for the Kubernetes cluster.
537
+ */
538
+ ownership: DeploymentOwnership;
539
+ };
540
+
541
+ export type DeploymentClusterUnion = DeploymentCluster | string;
542
+
543
+ export type DeploymentCertificateNone2 = {
544
+ mode: "none";
545
+ };
546
+
547
+ export type DeploymentCertificateManagedTLSSecret2 = {
548
+ mode: "managedTlsSecret";
549
+ /**
550
+ * Secret name template. Runtime may substitute resource/deployment tokens.
551
+ */
552
+ secretNameTemplate: string;
553
+ };
554
+
555
+ export type DeploymentCertificateAwsAcmArn2 = {
556
+ /**
557
+ * Existing ACM certificate ARN.
558
+ */
559
+ certificateArn: string;
560
+ mode: "awsAcmArn";
561
+ };
562
+
563
+ export type DeploymentCertificateManagedAcmImport2 = {
564
+ mode: "managedAcmImport";
565
+ /**
566
+ * ACM region. Defaults to the deployment region when omitted.
567
+ */
568
+ region?: string | null | undefined;
569
+ /**
570
+ * Tags applied to runtime-imported ACM certificates.
571
+ */
572
+ tags?: { [k: string]: string } | undefined;
573
+ };
574
+
575
+ /**
576
+ * Namespace-scoped Kubernetes TLS Secret reference.
577
+ */
578
+ export type DeploymentCertificateTLSSecretRef2 = {
579
+ /**
580
+ * Secret namespace. Defaults to the release namespace when omitted.
581
+ */
582
+ namespace?: string | null | undefined;
583
+ /**
584
+ * Secret name.
585
+ */
586
+ secretName: string;
587
+ mode: "tlsSecretRef";
588
+ };
589
+
590
+ /**
591
+ * Certificate publication or reference mode for Kubernetes public endpoints.
592
+ */
593
+ export type DeploymentCertificateUnion2 =
594
+ | DeploymentCertificateTLSSecretRef2
595
+ | DeploymentCertificateManagedAcmImport2
596
+ | DeploymentCertificateAwsAcmArn2
597
+ | DeploymentCertificateManagedTLSSecret2
598
+ | DeploymentCertificateNone2;
599
+
600
+ export const DeploymentModeCustom = {
601
+ Custom: "custom",
602
+ } as const;
603
+ export type DeploymentModeCustom = ClosedEnum<typeof DeploymentModeCustom>;
604
+
605
+ export const DeploymentProviderAzureApplicationGatewayForContainersEnum4 = {
606
+ AzureApplicationGatewayForContainers: "azureApplicationGatewayForContainers",
607
+ } as const;
608
+ export type DeploymentProviderAzureApplicationGatewayForContainersEnum4 =
609
+ ClosedEnum<
610
+ typeof DeploymentProviderAzureApplicationGatewayForContainersEnum4
611
+ >;
612
+
613
+ export type DeploymentProviderAzureApplicationGatewayForContainers4 = {
614
+ /**
615
+ * Optional ALB name when using BYO Application Gateway resources.
616
+ */
617
+ albName?: string | null | undefined;
618
+ /**
619
+ * Optional ALB namespace when using BYO Application Gateway resources.
620
+ */
621
+ albNamespace?: string | null | undefined;
622
+ /**
623
+ * Public or internal frontend exposure.
624
+ */
625
+ frontend: string;
626
+ provider: DeploymentProviderAzureApplicationGatewayForContainersEnum4;
627
+ };
628
+
629
+ export const DeploymentProviderGkeGatewayEnum4 = {
630
+ GkeGateway: "gkeGateway",
631
+ } as const;
632
+ export type DeploymentProviderGkeGatewayEnum4 = ClosedEnum<
633
+ typeof DeploymentProviderGkeGatewayEnum4
634
+ >;
635
+
636
+ export type DeploymentProviderGkeGateway4 = {
637
+ provider: DeploymentProviderGkeGatewayEnum4;
638
+ /**
639
+ * Optional static address name for the Gateway frontend.
640
+ */
641
+ staticAddressName?: string | null | undefined;
642
+ };
643
+
644
+ export const DeploymentProviderAwsAlbEnum4 = {
645
+ AwsAlb: "awsAlb",
646
+ } as const;
647
+ export type DeploymentProviderAwsAlbEnum4 = ClosedEnum<
648
+ typeof DeploymentProviderAwsAlbEnum4
649
+ >;
650
+
651
+ export type DeploymentProviderAwsAlb4 = {
652
+ /**
653
+ * Optional ALB IP address type, such as `dualstack`.
654
+ */
655
+ ipAddressType?: string | null | undefined;
656
+ provider: DeploymentProviderAwsAlbEnum4;
657
+ /**
658
+ * Internet-facing or internal ALB scheme.
659
+ */
660
+ scheme: string;
661
+ /**
662
+ * Explicit subnet IDs when the profile cannot rely on controller discovery.
663
+ */
664
+ subnetIds?: Array<string> | undefined;
665
+ /**
666
+ * ALB target type, usually `ip`.
667
+ */
668
+ targetType: string;
669
+ };
670
+
671
+ export type DeploymentProviderUnion4 =
672
+ | DeploymentProviderAwsAlb4
673
+ | DeploymentProviderAzureApplicationGatewayForContainers4
674
+ | DeploymentProviderGkeGateway4
675
+ | string;
676
+
677
+ /**
678
+ * Shared Gateway API route profile values.
679
+ */
680
+ export type DeploymentRouteGateway2 = {
681
+ /**
682
+ * Annotations applied to route objects.
683
+ */
684
+ annotations?: { [k: string]: string } | undefined;
685
+ /**
686
+ * Route controller identifier, for example a cloud Gateway controller.
687
+ */
688
+ controller?: string | null | undefined;
689
+ /**
690
+ * GatewayClass selected for generated Gateways.
691
+ */
692
+ gatewayClassName: string;
693
+ /**
694
+ * Labels applied to route objects.
695
+ */
696
+ labels?: { [k: string]: string } | undefined;
697
+ /**
698
+ * Listener port, usually 443.
699
+ */
700
+ listenerPort: number;
701
+ provider?:
702
+ | DeploymentProviderAwsAlb4
703
+ | DeploymentProviderAzureApplicationGatewayForContainers4
704
+ | DeploymentProviderGkeGateway4
705
+ | string
706
+ | null
707
+ | undefined;
708
+ routeApi: "gateway";
709
+ };
710
+
711
+ export const DeploymentProviderAzureApplicationGatewayForContainersEnum3 = {
712
+ AzureApplicationGatewayForContainers: "azureApplicationGatewayForContainers",
713
+ } as const;
714
+ export type DeploymentProviderAzureApplicationGatewayForContainersEnum3 =
715
+ ClosedEnum<
716
+ typeof DeploymentProviderAzureApplicationGatewayForContainersEnum3
717
+ >;
718
+
719
+ export type DeploymentProviderAzureApplicationGatewayForContainers3 = {
720
+ /**
721
+ * Optional ALB name when using BYO Application Gateway resources.
722
+ */
723
+ albName?: string | null | undefined;
724
+ /**
725
+ * Optional ALB namespace when using BYO Application Gateway resources.
726
+ */
727
+ albNamespace?: string | null | undefined;
728
+ /**
729
+ * Public or internal frontend exposure.
730
+ */
731
+ frontend: string;
732
+ provider: DeploymentProviderAzureApplicationGatewayForContainersEnum3;
733
+ };
734
+
735
+ export const DeploymentProviderGkeGatewayEnum3 = {
736
+ GkeGateway: "gkeGateway",
737
+ } as const;
738
+ export type DeploymentProviderGkeGatewayEnum3 = ClosedEnum<
739
+ typeof DeploymentProviderGkeGatewayEnum3
740
+ >;
741
+
742
+ export type DeploymentProviderGkeGateway3 = {
743
+ provider: DeploymentProviderGkeGatewayEnum3;
744
+ /**
745
+ * Optional static address name for the Gateway frontend.
746
+ */
747
+ staticAddressName?: string | null | undefined;
748
+ };
749
+
750
+ export const DeploymentProviderAwsAlbEnum3 = {
751
+ AwsAlb: "awsAlb",
752
+ } as const;
753
+ export type DeploymentProviderAwsAlbEnum3 = ClosedEnum<
754
+ typeof DeploymentProviderAwsAlbEnum3
755
+ >;
756
+
757
+ export type DeploymentProviderAwsAlb3 = {
758
+ /**
759
+ * Optional ALB IP address type, such as `dualstack`.
760
+ */
761
+ ipAddressType?: string | null | undefined;
762
+ provider: DeploymentProviderAwsAlbEnum3;
763
+ /**
764
+ * Internet-facing or internal ALB scheme.
765
+ */
766
+ scheme: string;
767
+ /**
768
+ * Explicit subnet IDs when the profile cannot rely on controller discovery.
769
+ */
770
+ subnetIds?: Array<string> | undefined;
771
+ /**
772
+ * ALB target type, usually `ip`.
773
+ */
774
+ targetType: string;
775
+ };
776
+
777
+ export type DeploymentProviderUnion3 =
778
+ | DeploymentProviderAwsAlb3
779
+ | DeploymentProviderAzureApplicationGatewayForContainers3
780
+ | DeploymentProviderGkeGateway3
781
+ | string;
782
+
783
+ /**
784
+ * Shared Ingress route profile values.
785
+ */
786
+ export type DeploymentRouteIngress2 = {
787
+ /**
788
+ * Annotations applied to route objects.
789
+ */
790
+ annotations?: { [k: string]: string } | undefined;
791
+ /**
792
+ * Route controller identifier, for example `eks.amazonaws.com/alb`.
793
+ */
794
+ controller?: string | null | undefined;
795
+ /**
796
+ * `spec.ingressClassName` for generated Ingresses.
797
+ */
798
+ ingressClassName: string;
799
+ /**
800
+ * Labels applied to route objects.
801
+ */
802
+ labels?: { [k: string]: string } | undefined;
803
+ provider?:
804
+ | DeploymentProviderAwsAlb3
805
+ | DeploymentProviderAzureApplicationGatewayForContainers3
806
+ | DeploymentProviderGkeGateway3
807
+ | string
808
+ | null
809
+ | undefined;
810
+ routeApi: "ingress";
811
+ };
812
+
813
+ /**
814
+ * Kubernetes route API selected for public endpoints.
815
+ */
816
+ export type DeploymentRouteUnion2 =
817
+ | DeploymentRouteIngress2
818
+ | DeploymentRouteGateway2;
819
+
820
+ export type DeploymentExposureCustom = {
821
+ /**
822
+ * Certificate publication or reference mode for Kubernetes public endpoints.
823
+ */
824
+ certificate:
825
+ | DeploymentCertificateTLSSecretRef2
826
+ | DeploymentCertificateManagedAcmImport2
827
+ | DeploymentCertificateAwsAcmArn2
828
+ | DeploymentCertificateManagedTLSSecret2
829
+ | DeploymentCertificateNone2;
830
+ /**
831
+ * Hostname routed by the Kubernetes public endpoint.
832
+ */
833
+ domain: string;
834
+ mode: DeploymentModeCustom;
835
+ /**
836
+ * Kubernetes route API selected for public endpoints.
837
+ */
838
+ route: DeploymentRouteIngress2 | DeploymentRouteGateway2;
839
+ };
840
+
841
+ export type DeploymentCertificateNone1 = {
842
+ mode: "none";
843
+ };
844
+
845
+ export type DeploymentCertificateManagedTLSSecret1 = {
846
+ mode: "managedTlsSecret";
847
+ /**
848
+ * Secret name template. Runtime may substitute resource/deployment tokens.
849
+ */
850
+ secretNameTemplate: string;
851
+ };
852
+
853
+ export type DeploymentCertificateAwsAcmArn1 = {
854
+ /**
855
+ * Existing ACM certificate ARN.
856
+ */
857
+ certificateArn: string;
858
+ mode: "awsAcmArn";
859
+ };
860
+
861
+ export type DeploymentCertificateManagedAcmImport1 = {
862
+ mode: "managedAcmImport";
863
+ /**
864
+ * ACM region. Defaults to the deployment region when omitted.
865
+ */
866
+ region?: string | null | undefined;
867
+ /**
868
+ * Tags applied to runtime-imported ACM certificates.
869
+ */
870
+ tags?: { [k: string]: string } | undefined;
871
+ };
872
+
873
+ /**
874
+ * Namespace-scoped Kubernetes TLS Secret reference.
875
+ */
876
+ export type DeploymentCertificateTLSSecretRef1 = {
877
+ /**
878
+ * Secret namespace. Defaults to the release namespace when omitted.
879
+ */
880
+ namespace?: string | null | undefined;
881
+ /**
882
+ * Secret name.
883
+ */
884
+ secretName: string;
885
+ mode: "tlsSecretRef";
886
+ };
887
+
888
+ /**
889
+ * Certificate publication or reference mode for Kubernetes public endpoints.
890
+ */
891
+ export type DeploymentCertificateUnion1 =
892
+ | DeploymentCertificateTLSSecretRef1
893
+ | DeploymentCertificateManagedAcmImport1
894
+ | DeploymentCertificateAwsAcmArn1
895
+ | DeploymentCertificateManagedTLSSecret1
896
+ | DeploymentCertificateNone1;
897
+
898
+ export const DeploymentModeGenerated = {
899
+ Generated: "generated",
900
+ } as const;
901
+ export type DeploymentModeGenerated = ClosedEnum<
902
+ typeof DeploymentModeGenerated
903
+ >;
904
+
905
+ export const DeploymentProviderAzureApplicationGatewayForContainersEnum2 = {
906
+ AzureApplicationGatewayForContainers: "azureApplicationGatewayForContainers",
907
+ } as const;
908
+ export type DeploymentProviderAzureApplicationGatewayForContainersEnum2 =
909
+ ClosedEnum<
910
+ typeof DeploymentProviderAzureApplicationGatewayForContainersEnum2
911
+ >;
912
+
913
+ export type DeploymentProviderAzureApplicationGatewayForContainers2 = {
914
+ /**
915
+ * Optional ALB name when using BYO Application Gateway resources.
916
+ */
917
+ albName?: string | null | undefined;
918
+ /**
919
+ * Optional ALB namespace when using BYO Application Gateway resources.
920
+ */
921
+ albNamespace?: string | null | undefined;
922
+ /**
923
+ * Public or internal frontend exposure.
924
+ */
925
+ frontend: string;
926
+ provider: DeploymentProviderAzureApplicationGatewayForContainersEnum2;
927
+ };
928
+
929
+ export const DeploymentProviderGkeGatewayEnum2 = {
930
+ GkeGateway: "gkeGateway",
931
+ } as const;
932
+ export type DeploymentProviderGkeGatewayEnum2 = ClosedEnum<
933
+ typeof DeploymentProviderGkeGatewayEnum2
934
+ >;
935
+
936
+ export type DeploymentProviderGkeGateway2 = {
937
+ provider: DeploymentProviderGkeGatewayEnum2;
938
+ /**
939
+ * Optional static address name for the Gateway frontend.
940
+ */
941
+ staticAddressName?: string | null | undefined;
942
+ };
943
+
944
+ export const DeploymentProviderAwsAlbEnum2 = {
945
+ AwsAlb: "awsAlb",
946
+ } as const;
947
+ export type DeploymentProviderAwsAlbEnum2 = ClosedEnum<
948
+ typeof DeploymentProviderAwsAlbEnum2
949
+ >;
950
+
951
+ export type DeploymentProviderAwsAlb2 = {
952
+ /**
953
+ * Optional ALB IP address type, such as `dualstack`.
954
+ */
955
+ ipAddressType?: string | null | undefined;
956
+ provider: DeploymentProviderAwsAlbEnum2;
957
+ /**
958
+ * Internet-facing or internal ALB scheme.
959
+ */
960
+ scheme: string;
961
+ /**
962
+ * Explicit subnet IDs when the profile cannot rely on controller discovery.
963
+ */
964
+ subnetIds?: Array<string> | undefined;
965
+ /**
966
+ * ALB target type, usually `ip`.
967
+ */
968
+ targetType: string;
969
+ };
970
+
971
+ export type DeploymentProviderUnion2 =
972
+ | DeploymentProviderAwsAlb2
973
+ | DeploymentProviderAzureApplicationGatewayForContainers2
974
+ | DeploymentProviderGkeGateway2
975
+ | string;
976
+
977
+ /**
978
+ * Shared Gateway API route profile values.
979
+ */
980
+ export type DeploymentRouteGateway1 = {
981
+ /**
982
+ * Annotations applied to route objects.
983
+ */
984
+ annotations?: { [k: string]: string } | undefined;
985
+ /**
986
+ * Route controller identifier, for example a cloud Gateway controller.
987
+ */
988
+ controller?: string | null | undefined;
989
+ /**
990
+ * GatewayClass selected for generated Gateways.
991
+ */
992
+ gatewayClassName: string;
993
+ /**
994
+ * Labels applied to route objects.
995
+ */
996
+ labels?: { [k: string]: string } | undefined;
997
+ /**
998
+ * Listener port, usually 443.
999
+ */
1000
+ listenerPort: number;
1001
+ provider?:
1002
+ | DeploymentProviderAwsAlb2
1003
+ | DeploymentProviderAzureApplicationGatewayForContainers2
1004
+ | DeploymentProviderGkeGateway2
1005
+ | string
1006
+ | null
1007
+ | undefined;
1008
+ routeApi: "gateway";
1009
+ };
1010
+
1011
+ export const DeploymentProviderAzureApplicationGatewayForContainersEnum1 = {
1012
+ AzureApplicationGatewayForContainers: "azureApplicationGatewayForContainers",
1013
+ } as const;
1014
+ export type DeploymentProviderAzureApplicationGatewayForContainersEnum1 =
1015
+ ClosedEnum<
1016
+ typeof DeploymentProviderAzureApplicationGatewayForContainersEnum1
1017
+ >;
1018
+
1019
+ export type DeploymentProviderAzureApplicationGatewayForContainers1 = {
1020
+ /**
1021
+ * Optional ALB name when using BYO Application Gateway resources.
1022
+ */
1023
+ albName?: string | null | undefined;
1024
+ /**
1025
+ * Optional ALB namespace when using BYO Application Gateway resources.
1026
+ */
1027
+ albNamespace?: string | null | undefined;
1028
+ /**
1029
+ * Public or internal frontend exposure.
1030
+ */
1031
+ frontend: string;
1032
+ provider: DeploymentProviderAzureApplicationGatewayForContainersEnum1;
1033
+ };
1034
+
1035
+ export const DeploymentProviderGkeGatewayEnum1 = {
1036
+ GkeGateway: "gkeGateway",
1037
+ } as const;
1038
+ export type DeploymentProviderGkeGatewayEnum1 = ClosedEnum<
1039
+ typeof DeploymentProviderGkeGatewayEnum1
1040
+ >;
1041
+
1042
+ export type DeploymentProviderGkeGateway1 = {
1043
+ provider: DeploymentProviderGkeGatewayEnum1;
1044
+ /**
1045
+ * Optional static address name for the Gateway frontend.
1046
+ */
1047
+ staticAddressName?: string | null | undefined;
1048
+ };
1049
+
1050
+ export const DeploymentProviderAwsAlbEnum1 = {
1051
+ AwsAlb: "awsAlb",
1052
+ } as const;
1053
+ export type DeploymentProviderAwsAlbEnum1 = ClosedEnum<
1054
+ typeof DeploymentProviderAwsAlbEnum1
1055
+ >;
1056
+
1057
+ export type DeploymentProviderAwsAlb1 = {
1058
+ /**
1059
+ * Optional ALB IP address type, such as `dualstack`.
1060
+ */
1061
+ ipAddressType?: string | null | undefined;
1062
+ provider: DeploymentProviderAwsAlbEnum1;
1063
+ /**
1064
+ * Internet-facing or internal ALB scheme.
1065
+ */
1066
+ scheme: string;
1067
+ /**
1068
+ * Explicit subnet IDs when the profile cannot rely on controller discovery.
1069
+ */
1070
+ subnetIds?: Array<string> | undefined;
1071
+ /**
1072
+ * ALB target type, usually `ip`.
1073
+ */
1074
+ targetType: string;
1075
+ };
1076
+
1077
+ export type DeploymentProviderUnion1 =
1078
+ | DeploymentProviderAwsAlb1
1079
+ | DeploymentProviderAzureApplicationGatewayForContainers1
1080
+ | DeploymentProviderGkeGateway1
1081
+ | string;
1082
+
1083
+ /**
1084
+ * Shared Ingress route profile values.
1085
+ */
1086
+ export type DeploymentRouteIngress1 = {
1087
+ /**
1088
+ * Annotations applied to route objects.
1089
+ */
1090
+ annotations?: { [k: string]: string } | undefined;
1091
+ /**
1092
+ * Route controller identifier, for example `eks.amazonaws.com/alb`.
1093
+ */
1094
+ controller?: string | null | undefined;
1095
+ /**
1096
+ * `spec.ingressClassName` for generated Ingresses.
1097
+ */
1098
+ ingressClassName: string;
1099
+ /**
1100
+ * Labels applied to route objects.
1101
+ */
1102
+ labels?: { [k: string]: string } | undefined;
1103
+ provider?:
1104
+ | DeploymentProviderAwsAlb1
1105
+ | DeploymentProviderAzureApplicationGatewayForContainers1
1106
+ | DeploymentProviderGkeGateway1
1107
+ | string
1108
+ | null
1109
+ | undefined;
1110
+ routeApi: "ingress";
1111
+ };
1112
+
1113
+ /**
1114
+ * Kubernetes route API selected for public endpoints.
1115
+ */
1116
+ export type DeploymentRouteUnion1 =
1117
+ | DeploymentRouteIngress1
1118
+ | DeploymentRouteGateway1;
1119
+
1120
+ export type DeploymentExposureGenerated = {
1121
+ /**
1122
+ * Certificate publication or reference mode for Kubernetes public endpoints.
1123
+ */
1124
+ certificate:
1125
+ | DeploymentCertificateTLSSecretRef1
1126
+ | DeploymentCertificateManagedAcmImport1
1127
+ | DeploymentCertificateAwsAcmArn1
1128
+ | DeploymentCertificateManagedTLSSecret1
1129
+ | DeploymentCertificateNone1;
1130
+ mode: DeploymentModeGenerated;
1131
+ /**
1132
+ * Kubernetes route API selected for public endpoints.
1133
+ */
1134
+ route: DeploymentRouteIngress1 | DeploymentRouteGateway1;
1135
+ };
1136
+
1137
+ export const DeploymentModeDisabled = {
1138
+ Disabled: "disabled",
1139
+ } as const;
1140
+ export type DeploymentModeDisabled = ClosedEnum<typeof DeploymentModeDisabled>;
1141
+
1142
+ export type DeploymentExposureDisabled = {
1143
+ mode: DeploymentModeDisabled;
1144
+ };
1145
+
1146
+ export type DeploymentExposureUnion =
1147
+ | DeploymentExposureCustom
1148
+ | DeploymentExposureGenerated
1149
+ | DeploymentExposureDisabled
1150
+ | string;
1151
+
1152
+ /**
1153
+ * Kubernetes runtime substrate configuration.
1154
+ *
1155
+ * @remarks
1156
+ *
1157
+ * This controls how setup chooses the cluster backing `Platform::Kubernetes`
1158
+ * deployments. When omitted, cloud-backed Kubernetes deployments default to a
1159
+ * managed cluster and generic/on-prem Kubernetes defaults to an external
1160
+ * cluster.
1161
+ */
1162
+ export type DeploymentKubernetes = {
1163
+ cluster?: DeploymentCluster | string | null | undefined;
1164
+ exposure?:
1165
+ | DeploymentExposureCustom
1166
+ | DeploymentExposureGenerated
1167
+ | DeploymentExposureDisabled
1168
+ | string
1169
+ | null
1170
+ | undefined;
1171
+ };
1172
+
1173
+ export type DeploymentKubernetesUnion = DeploymentKubernetes | string;
1174
+
1175
+ export const DeploymentTypeByoVnetAzure = {
1176
+ ByoVnetAzure: "byo-vnet-azure",
1177
+ } as const;
1178
+ export type DeploymentTypeByoVnetAzure = ClosedEnum<
1179
+ typeof DeploymentTypeByoVnetAzure
1180
+ >;
1181
+
1182
+ export type DeploymentNetworkByoVnetAzure = {
1183
+ /**
1184
+ * Name of the dedicated classic Application Gateway subnet within the VNet.
1185
+ */
1186
+ applicationGatewaySubnetName?: string | null | undefined;
1187
+ /**
1188
+ * Name of the dedicated subnet that hosts Private Endpoints (e.g. for a
1189
+ *
1190
+ * @remarks
1191
+ * Postgres Flexible Server). A Private Endpoint must not share the private
1192
+ * subnet, which is already claimed by the Container Apps environment's
1193
+ * `infrastructure_subnet_id`. Required only when the stack contains a
1194
+ * Postgres resource; otherwise unused.
1195
+ */
1196
+ privateEndpointSubnetName?: string | null | undefined;
1197
+ /**
1198
+ * Name of the private subnet within the VNet
1199
+ */
1200
+ privateSubnetName: string;
1201
+ /**
1202
+ * Name of the public subnet within the VNet
1203
+ */
1204
+ publicSubnetName: string;
1205
+ type: DeploymentTypeByoVnetAzure;
1206
+ /**
1207
+ * The full resource ID of the existing VNet
1208
+ */
1209
+ vnetResourceId: string;
1210
+ };
1211
+
1212
+ export const DeploymentTypeByoVpcGcp = {
1213
+ ByoVpcGcp: "byo-vpc-gcp",
1214
+ } as const;
1215
+ export type DeploymentTypeByoVpcGcp = ClosedEnum<
1216
+ typeof DeploymentTypeByoVpcGcp
1217
+ >;
1218
+
1219
+ export type DeploymentNetworkByoVpcGcp = {
1220
+ /**
1221
+ * The name of the existing VPC network
1222
+ */
1223
+ networkName: string;
1224
+ /**
1225
+ * The region of the subnet
1226
+ */
1227
+ region: string;
1228
+ /**
1229
+ * The name of the subnet to use
1230
+ */
1231
+ subnetName: string;
1232
+ type: DeploymentTypeByoVpcGcp;
1233
+ };
1234
+
1235
+ export const DeploymentTypeByoVpcAws = {
1236
+ ByoVpcAws: "byo-vpc-aws",
1237
+ } as const;
1238
+ export type DeploymentTypeByoVpcAws = ClosedEnum<
1239
+ typeof DeploymentTypeByoVpcAws
1240
+ >;
1241
+
1242
+ export type DeploymentNetworkByoVpcAws = {
1243
+ /**
1244
+ * IDs of private subnets
1245
+ */
1246
+ privateSubnetIds: Array<string>;
1247
+ /**
1248
+ * IDs of public subnets (required for public ingress)
1249
+ */
1250
+ publicSubnetIds: Array<string>;
1251
+ /**
1252
+ * Optional security group IDs to use
1253
+ */
1254
+ securityGroupIds?: Array<string> | undefined;
1255
+ type: DeploymentTypeByoVpcAws;
1256
+ /**
1257
+ * The ID of the existing VPC
1258
+ */
1259
+ vpcId: string;
1260
+ };
1261
+
1262
+ export const DeploymentTypeCreate = {
1263
+ Create: "create",
1264
+ } as const;
1265
+ export type DeploymentTypeCreate = ClosedEnum<typeof DeploymentTypeCreate>;
1266
+
1267
+ export type DeploymentNetworkCreate = {
1268
+ /**
1269
+ * Number of availability zones (default: 2).
1270
+ */
1271
+ availabilityZones?: number | undefined;
1272
+ /**
1273
+ * VPC/VNet CIDR block. If not specified, auto-generated from stack ID
1274
+ *
1275
+ * @remarks
1276
+ * to reduce conflicts (e.g., "10.{hash}.0.0/16").
1277
+ */
1278
+ cidr?: string | null | undefined;
1279
+ type: DeploymentTypeCreate;
1280
+ };
1281
+
1282
+ export const DeploymentTypeUseDefault = {
1283
+ UseDefault: "use-default",
1284
+ } as const;
1285
+ export type DeploymentTypeUseDefault = ClosedEnum<
1286
+ typeof DeploymentTypeUseDefault
1287
+ >;
1288
+
1289
+ export type DeploymentNetworkUseDefault = {
1290
+ type: DeploymentTypeUseDefault;
1291
+ };
1292
+
1293
+ export type DeploymentNetworkUnion =
1294
+ | DeploymentNetworkByoVpcAws
1295
+ | DeploymentNetworkByoVpcGcp
1296
+ | DeploymentNetworkByoVnetAzure
1297
+ | DeploymentNetworkUseDefault
1298
+ | DeploymentNetworkCreate
1299
+ | string;
1300
+
1301
+ /**
1302
+ * Whether setup remains a separate administrator operation.
1303
+ */
1304
+ export const DeploymentSetupManagement = {
1305
+ Manual: "manual",
1306
+ Automatic: "automatic",
1307
+ } as const;
1308
+ /**
1309
+ * Whether setup remains a separate administrator operation.
1310
+ */
1311
+ export type DeploymentSetupManagement = ClosedEnum<
1312
+ typeof DeploymentSetupManagement
1313
+ >;
1314
+
1315
+ /**
1316
+ * How telemetry (logs, metrics, traces) is handled.
1317
+ */
1318
+ export const DeploymentTelemetry = {
1319
+ Off: "off",
1320
+ Auto: "auto",
1321
+ ApprovalRequired: "approval-required",
1322
+ } as const;
1323
+ /**
1324
+ * How telemetry (logs, metrics, traces) is handled.
1325
+ */
1326
+ export type DeploymentTelemetry = ClosedEnum<typeof DeploymentTelemetry>;
1327
+
1328
+ /**
1329
+ * How updates are delivered to the deployment.
1330
+ */
1331
+ export const DeploymentUpdates = {
1332
+ Auto: "auto",
1333
+ ApprovalRequired: "approval-required",
1334
+ } as const;
1335
+ /**
1336
+ * How updates are delivered to the deployment.
1337
+ */
1338
+ export type DeploymentUpdates = ClosedEnum<typeof DeploymentUpdates>;
1339
+
1340
+ /**
1341
+ * User-provided configuration (network, deployment model, approvals)
1342
+ */
1343
+ export type DeploymentStackSettings = {
1344
+ compute?: DeploymentCompute | string | null | undefined;
1345
+ /**
1346
+ * Deployment model: how updates are delivered to the remote environment.
1347
+ */
1348
+ deploymentModel?: DeploymentDeploymentModel | undefined;
1349
+ domains?: DeploymentDomains | string | null | undefined;
1350
+ /**
1351
+ * Reachability of the deployment's public endpoints, fixed at setup.
1352
+ */
1353
+ endpointAccess?: DeploymentEndpointAccess | undefined;
1354
+ externalBindings?: { [k: string]: ExternalBindingUnion } | null | undefined;
1355
+ /**
1356
+ * How heartbeat health checks are handled.
1357
+ */
1358
+ heartbeats?: DeploymentHeartbeats | undefined;
1359
+ kubernetes?: DeploymentKubernetes | string | null | undefined;
1360
+ network?:
1361
+ | DeploymentNetworkByoVpcAws
1362
+ | DeploymentNetworkByoVpcGcp
1363
+ | DeploymentNetworkByoVnetAzure
1364
+ | DeploymentNetworkUseDefault
1365
+ | DeploymentNetworkCreate
1366
+ | string
1367
+ | null
1368
+ | undefined;
1369
+ /**
1370
+ * Exact externally managed endpoint URLs, keyed by resource ID and endpoint name.
1371
+ *
1372
+ * @remarks
1373
+ *
1374
+ * This is intended for adopted Machines deployments whose DNS and certificates remain
1375
+ * customer-owned. The platform passes these URLs to the runtime without creating or
1376
+ * replacing DNS records or certificates.
1377
+ */
1378
+ publicEndpoints?: { [k: string]: { [k: string]: string } } | null | undefined;
1379
+ /**
1380
+ * Provider quota identities whose preflight failures become visible warnings
1381
+ *
1382
+ * @remarks
1383
+ * for this deployment. Checks still run; deploy-time provider limits still apply.
1384
+ * Unknown identities are rejected. An empty list restores normal blocking.
1385
+ */
1386
+ quotaWarningOverrides?: Array<string> | undefined;
1387
+ /**
1388
+ * Whether setup remains a separate administrator operation.
1389
+ */
1390
+ setupManagement?: DeploymentSetupManagement | undefined;
1391
+ /**
1392
+ * How telemetry (logs, metrics, traces) is handled.
1393
+ */
1394
+ telemetry?: DeploymentTelemetry | undefined;
1395
+ /**
1396
+ * How updates are delivered to the deployment.
1397
+ */
1398
+ updates?: DeploymentUpdates | undefined;
1399
+ };
1400
+
1401
+ /**
1402
+ * Represents the target cloud platform.
1403
+ */
1404
+ export const DeploymentStackStatePlatform = {
1405
+ Aws: "aws",
1406
+ Gcp: "gcp",
1407
+ Azure: "azure",
1408
+ Kubernetes: "kubernetes",
1409
+ Machines: "machines",
1410
+ Local: "local",
1411
+ Test: "test",
1412
+ } as const;
1413
+ /**
1414
+ * Represents the target cloud platform.
1415
+ */
1416
+ export type DeploymentStackStatePlatform = ClosedEnum<
1417
+ typeof DeploymentStackStatePlatform
1418
+ >;
1419
+
1420
+ /**
1421
+ * Resource that can hold any resource type in the Alien system. All resources share common 'type' and 'id' fields with additional type-specific properties.
1422
+ */
1423
+ export type DeploymentStackStateConfig = {
1424
+ /**
1425
+ * The unique identifier for this specific resource instance. Must contain only alphanumeric characters, hyphens, and underscores ([A-Za-z0-9-_]). Maximum 64 characters.
1426
+ */
1427
+ id: string;
1428
+ /**
1429
+ * Resource type identifier that determines the specific kind of resource. This field is used for polymorphic deserialization and resource-specific behavior.
1430
+ */
1431
+ type: string;
1432
+ additionalProperties?: { [k: string]: any | null } | undefined;
1433
+ };
1434
+
1435
+ /**
1436
+ * Represents the target cloud platform.
1437
+ */
1438
+ export const DeploymentControllerPlatformEnum = {
1439
+ Aws: "aws",
1440
+ Gcp: "gcp",
1441
+ Azure: "azure",
1442
+ Kubernetes: "kubernetes",
1443
+ Machines: "machines",
1444
+ Local: "local",
1445
+ Test: "test",
1446
+ } as const;
1447
+ /**
1448
+ * Represents the target cloud platform.
1449
+ */
1450
+ export type DeploymentControllerPlatformEnum = ClosedEnum<
1451
+ typeof DeploymentControllerPlatformEnum
1452
+ >;
1453
+
1454
+ export type DeploymentControllerPlatformUnion =
1455
+ | DeploymentControllerPlatformEnum
1456
+ | string;
1457
+
1458
+ /**
1459
+ * Reference to a resource by its stable id and resource type.
1460
+ */
1461
+ export type DeploymentStackStateDependency = {
1462
+ id: string;
1463
+ /**
1464
+ * Resource type identifier that determines the specific kind of resource. This field is used for polymorphic deserialization and resource-specific behavior.
1465
+ */
1466
+ type: string;
1467
+ };
1468
+
1469
+ /**
1470
+ * Canonical error container that provides a structured way to represent errors
1471
+ *
1472
+ * @remarks
1473
+ * with rich metadata including error codes, human-readable messages, context,
1474
+ * and chaining capabilities for error propagation.
1475
+ *
1476
+ * This struct is designed to be both machine-readable and user-friendly,
1477
+ * supporting serialization for API responses and detailed error reporting
1478
+ * in distributed systems.
1479
+ */
1480
+ export type DeploymentErrorStackState = {
1481
+ /**
1482
+ * A unique identifier for the type of error.
1483
+ *
1484
+ * @remarks
1485
+ *
1486
+ * This should be a short, machine-readable string that can be used
1487
+ * by clients to programmatically handle different error types.
1488
+ * Examples: "NOT_FOUND", "VALIDATION_ERROR", "TIMEOUT"
1489
+ */
1490
+ code: string;
1491
+ /**
1492
+ * Additional diagnostic information about the error context.
1493
+ *
1494
+ * @remarks
1495
+ *
1496
+ * This optional field can contain structured data providing more details
1497
+ * about the error, such as validation errors, request parameters that
1498
+ * caused the issue, or other relevant context information.
1499
+ */
1500
+ context?: any | null | undefined;
1501
+ /**
1502
+ * Optional human-facing remediation hint.
1503
+ */
1504
+ hint?: string | null | undefined;
1505
+ /**
1506
+ * HTTP status code for this error.
1507
+ *
1508
+ * @remarks
1509
+ *
1510
+ * Used when converting the error to an HTTP response. If None, falls back to
1511
+ * the error type's default status code or 500.
1512
+ */
1513
+ httpStatusCode?: number | null | undefined;
1514
+ /**
1515
+ * Indicates if this is an internal error that should not be exposed to users.
1516
+ *
1517
+ * @remarks
1518
+ *
1519
+ * When `true`, this error contains sensitive information or implementation
1520
+ * details that should not be shown to end-users. Such errors should be
1521
+ * logged for debugging but replaced with generic error messages in responses.
1522
+ */
1523
+ internal: boolean;
1524
+ /**
1525
+ * Human-readable error message.
1526
+ *
1527
+ * @remarks
1528
+ *
1529
+ * This message should be clear and actionable for developers or end-users,
1530
+ * providing context about what went wrong and potentially how to fix it.
1531
+ */
1532
+ message: string;
1533
+ /**
1534
+ * Indicates whether the operation that caused the error should be retried.
1535
+ *
1536
+ * @remarks
1537
+ *
1538
+ * When `true`, the error is transient and the operation might succeed
1539
+ * if attempted again. When `false`, retrying the same operation is
1540
+ * unlikely to succeed without changes.
1541
+ */
1542
+ retryable: boolean;
1543
+ /**
1544
+ * The underlying error that caused this error, creating an error chain.
1545
+ *
1546
+ * @remarks
1547
+ *
1548
+ * This allows for proper error propagation and debugging by maintaining
1549
+ * the full context of how an error occurred through multiple layers
1550
+ * of an application.
1551
+ */
1552
+ source?: any | null | undefined;
1553
+ };
1554
+
1555
+ export type DeploymentErrorUnion = DeploymentErrorStackState | string;
1556
+
1557
+ /**
1558
+ * Describes the lifecycle of a resource within a stack, determining how it's managed and deployed.
1559
+ */
1560
+ export const DeploymentLifecycleStackStateEnum = {
1561
+ Frozen: "frozen",
1562
+ Live: "live",
1563
+ } as const;
1564
+ /**
1565
+ * Describes the lifecycle of a resource within a stack, determining how it's managed and deployed.
1566
+ */
1567
+ export type DeploymentLifecycleStackStateEnum = ClosedEnum<
1568
+ typeof DeploymentLifecycleStackStateEnum
1569
+ >;
1570
+
1571
+ export type DeploymentLifecycleUnion =
1572
+ | DeploymentLifecycleStackStateEnum
1573
+ | string;
1574
+
1575
+ /**
1576
+ * Resource outputs that can hold output data for any resource type in the Alien system. All resource outputs share a common 'type' field with additional type-specific output properties.
1577
+ */
1578
+ export type DeploymentOutputs = {
1579
+ /**
1580
+ * Resource type identifier that determines the specific kind of resource. This field is used for polymorphic deserialization and resource-specific behavior.
1581
+ */
1582
+ type: string;
1583
+ additionalProperties?: { [k: string]: any | null } | undefined;
1584
+ };
1585
+
1586
+ export type DeploymentOutputsUnion = DeploymentOutputs | string;
1587
+
1588
+ /**
1589
+ * Resource that can hold any resource type in the Alien system. All resources share common 'type' and 'id' fields with additional type-specific properties.
1590
+ */
1591
+ export type DeploymentPreviousConfig = {
1592
+ /**
1593
+ * The unique identifier for this specific resource instance. Must contain only alphanumeric characters, hyphens, and underscores ([A-Za-z0-9-_]). Maximum 64 characters.
1594
+ */
1595
+ id: string;
1596
+ /**
1597
+ * Resource type identifier that determines the specific kind of resource. This field is used for polymorphic deserialization and resource-specific behavior.
1598
+ */
1599
+ type: string;
1600
+ additionalProperties?: { [k: string]: any | null } | undefined;
1601
+ };
1602
+
1603
+ export type DeploymentPreviousConfigUnion = DeploymentPreviousConfig | string;
1604
+
1605
+ /**
1606
+ * Represents the high-level status of a resource during its lifecycle.
1607
+ */
1608
+ export const DeploymentStackStateStatus = {
1609
+ Pending: "pending",
1610
+ Provisioning: "provisioning",
1611
+ ProvisionFailed: "provision-failed",
1612
+ Running: "running",
1613
+ Updating: "updating",
1614
+ UpdateFailed: "update-failed",
1615
+ Deleting: "deleting",
1616
+ DeleteFailed: "delete-failed",
1617
+ TeardownRequired: "teardown-required",
1618
+ Deleted: "deleted",
1619
+ RefreshFailed: "refresh-failed",
1620
+ } as const;
1621
+ /**
1622
+ * Represents the high-level status of a resource during its lifecycle.
1623
+ */
1624
+ export type DeploymentStackStateStatus = ClosedEnum<
1625
+ typeof DeploymentStackStateStatus
1626
+ >;
1627
+
1628
+ /**
1629
+ * Represents the state of a single resource within the stack for a specific platform.
1630
+ */
1631
+ export type DeploymentStackStateResources = {
1632
+ /**
1633
+ * The platform-specific resource controller that manages this resource's lifecycle.
1634
+ *
1635
+ * @remarks
1636
+ * This is None when the resource status is Pending.
1637
+ * Stored as JSON to make the struct serializable and movable to alien-core.
1638
+ */
1639
+ internal?: any | null | undefined;
1640
+ /**
1641
+ * Resource that can hold any resource type in the Alien system. All resources share common 'type' and 'id' fields with additional type-specific properties.
1642
+ */
1643
+ config: DeploymentStackStateConfig;
1644
+ controllerPlatform?:
1645
+ | DeploymentControllerPlatformEnum
1646
+ | string
1647
+ | null
1648
+ | undefined;
1649
+ /**
1650
+ * Complete list of dependencies for this resource, including infrastructure dependencies.
1651
+ *
1652
+ * @remarks
1653
+ * This preserves the full dependency information from the stack definition.
1654
+ */
1655
+ dependencies?: Array<DeploymentStackStateDependency> | undefined;
1656
+ description?: string | null | undefined;
1657
+ /**
1658
+ * Presentation metadata from the effective resource entry, outside runtime configuration.
1659
+ */
1660
+ displayName?: string | null | undefined;
1661
+ error?: DeploymentErrorStackState | string | null | undefined;
1662
+ /**
1663
+ * Stores the controller state that failed, used for manual retry operations.
1664
+ *
1665
+ * @remarks
1666
+ * This allows resuming from the exact point where the failure occurred.
1667
+ * Stored as JSON to make the struct serializable and movable to alien-core.
1668
+ */
1669
+ lastFailedState?: any | null | undefined;
1670
+ lifecycle?: DeploymentLifecycleStackStateEnum | string | null | undefined;
1671
+ outputs?: DeploymentOutputs | string | null | undefined;
1672
+ previousConfig?: DeploymentPreviousConfig | string | null | undefined;
1673
+ /**
1674
+ * Last reported step explanation for display only; not a machine-readable status.
1675
+ */
1676
+ progress?: string | null | undefined;
1677
+ /**
1678
+ * Binding parameters for remote access.
1679
+ *
1680
+ * @remarks
1681
+ * Only populated when the resource has `remote_access: true` in its ResourceEntry.
1682
+ * This is the JSON serialization of the binding configuration (e.g., StorageBinding, VaultBinding).
1683
+ * Populated by controllers during provisioning using get_binding_params().
1684
+ */
1685
+ remoteBindingParams?: any | null | undefined;
1686
+ /**
1687
+ * Tracks consecutive retry attempts for the current state transition.
1688
+ */
1689
+ retryAttempt?: number | undefined;
1690
+ /**
1691
+ * Represents the high-level status of a resource during its lifecycle.
1692
+ */
1693
+ status: DeploymentStackStateStatus;
1694
+ /**
1695
+ * The high-level type of the resource (e.g., Worker::RESOURCE_TYPE, Storage::RESOURCE_TYPE).
1696
+ */
1697
+ type: string;
1698
+ };
1699
+
1700
+ /**
1701
+ * Raw engine state for installers and the CLI to resume, update, and destroy deployments. UIs should read resources[] for resource status and errors.
1702
+ */
1703
+ export type DeploymentStackState = {
1704
+ /**
1705
+ * Represents the target cloud platform.
1706
+ */
1707
+ platform: DeploymentStackStatePlatform;
1708
+ /**
1709
+ * A prefix used for resource naming to ensure uniqueness across deployments.
1710
+ */
1711
+ resourcePrefix: string;
1712
+ /**
1713
+ * The state of individual resources, keyed by resource ID.
1714
+ */
1715
+ resources: { [k: string]: DeploymentStackStateResources };
1716
+ };
1717
+
1718
+ /**
1719
+ * Changing phase starts a new window instead of carrying a previous outage forward.
1720
+ */
1721
+ export const DeploymentCredentialRetryStatus = {
1722
+ Pending: "pending",
1723
+ PreflightsFailed: "preflights-failed",
1724
+ InitialSetup: "initial-setup",
1725
+ InitialSetupFailed: "initial-setup-failed",
1726
+ Provisioning: "provisioning",
1727
+ WaitingForMachines: "waiting-for-machines",
1728
+ WaitingForSecrets: "waiting-for-secrets",
1729
+ ProvisioningFailed: "provisioning-failed",
1730
+ Running: "running",
1731
+ RefreshFailed: "refresh-failed",
1732
+ UpdatePending: "update-pending",
1733
+ Updating: "updating",
1734
+ UpdateFailed: "update-failed",
1735
+ DeletePending: "delete-pending",
1736
+ Deleting: "deleting",
1737
+ DeleteFailed: "delete-failed",
1738
+ TeardownRequired: "teardown-required",
1739
+ TeardownFailed: "teardown-failed",
1740
+ RetentionRequired: "retention-required",
1741
+ Retained: "retained",
1742
+ Deleted: "deleted",
1743
+ Error: "error",
1744
+ } as const;
1745
+ /**
1746
+ * Changing phase starts a new window instead of carrying a previous outage forward.
1747
+ */
1748
+ export type DeploymentCredentialRetryStatus = ClosedEnum<
1749
+ typeof DeploymentCredentialRetryStatus
1750
+ >;
1751
+
1752
+ /**
1753
+ * A credential outage's durable retry window, scoped to its deployment phase.
1754
+ */
1755
+ export type DeploymentCredentialRetry = {
1756
+ /**
1757
+ * First credential failure in this phase; subsequent attempts keep this timestamp.
1758
+ */
1759
+ startedAt: Date;
1760
+ /**
1761
+ * Changing phase starts a new window instead of carrying a previous outage forward.
1762
+ */
1763
+ status: DeploymentCredentialRetryStatus;
1764
+ };
1765
+
1766
+ /**
1767
+ * Bounded credential retry state shared by all deployment drivers.
1768
+ */
1769
+ export type DeploymentCredentialRetryUnion = DeploymentCredentialRetry | string;
1770
+
1771
+ /**
1772
+ * Explicit disposition of durable data when deleting a deployment.
1773
+ *
1774
+ * @remarks
1775
+ * Missing values from older checkpoints always preserve data.
1776
+ */
1777
+ export const DeploymentDeletionPolicy = {
1778
+ Retain: "retain",
1779
+ Erase: "erase",
1780
+ } as const;
1781
+ /**
1782
+ * Explicit disposition of durable data when deleting a deployment.
1783
+ *
1784
+ * @remarks
1785
+ * Missing values from older checkpoints always preserve data.
1786
+ */
1787
+ export type DeploymentDeletionPolicy = ClosedEnum<
1788
+ typeof DeploymentDeletionPolicy
1789
+ >;
1790
+
1791
+ /**
1792
+ * Commands for a shell family. Values are never sent to the control plane.
1793
+ */
1794
+ export type DeploymentUnix = {
1795
+ /**
1796
+ * Command with a visible value placeholder; shell history can retain it.
1797
+ */
1798
+ inline: string;
1799
+ /**
1800
+ * Hidden-input command, without the value in shell history or process arguments.
1801
+ */
1802
+ prompt: string;
1803
+ };
1804
+
1805
+ /**
1806
+ * Commands for a shell family. Values are never sent to the control plane.
1807
+ */
1808
+ export type DeploymentWindows = {
1809
+ /**
1810
+ * Command with a visible value placeholder; shell history can retain it.
1811
+ */
1812
+ inline: string;
1813
+ /**
1814
+ * Hidden-input command, without the value in shell history or process arguments.
1815
+ */
1816
+ prompt: string;
1817
+ };
1818
+
1819
+ /**
1820
+ * Shell-specific instructions generated beside the secret location.
1821
+ */
1822
+ export type DeploymentCommands = {
1823
+ /**
1824
+ * Read-only identity check, valid in both shell families.
1825
+ */
1826
+ checkCommand?: string | null | undefined;
1827
+ /**
1828
+ * Expected account, project, subscription or Kubernetes namespace.
1829
+ */
1830
+ target?: string | null | undefined;
1831
+ /**
1832
+ * Commands for a shell family. Values are never sent to the control plane.
1833
+ */
1834
+ unix: DeploymentUnix;
1835
+ /**
1836
+ * Commands for a shell family. Values are never sent to the control plane.
1837
+ */
1838
+ windows: DeploymentWindows;
1839
+ };
1840
+
1841
+ export type DeploymentCommandsUnion = DeploymentCommands | string;
1842
+
1843
+ /**
1844
+ * The secret store a deployer writes a vault-native secret into.
1845
+ */
1846
+ export const DeploymentStore = {
1847
+ AwsParameterStore: "aws-parameter-store",
1848
+ GcpSecretManager: "gcp-secret-manager",
1849
+ AzureKeyVault: "azure-key-vault",
1850
+ KubernetesSecret: "kubernetes-secret",
1851
+ LocalVault: "local-vault",
1852
+ } as const;
1853
+ /**
1854
+ * The secret store a deployer writes a vault-native secret into.
1855
+ */
1856
+ export type DeploymentStore = ClosedEnum<typeof DeploymentStore>;
1857
+
1858
+ /**
1859
+ * Where a deployer writes a vault-native secret.
1860
+ */
1861
+ export type DeploymentLocation = {
1862
+ /**
1863
+ * Command that prompts without echoing and writes the value through stdin.
1864
+ */
1865
+ cliCommand: string;
1866
+ commands?: DeploymentCommands | string | null | undefined;
1867
+ /**
1868
+ * Cloud console page where the secret is created, when the store has one.
1869
+ */
1870
+ consoleUrl?: string | null | undefined;
1871
+ /**
1872
+ * Command that deletes the secret. Deleting a deployment keeps the
1873
+ *
1874
+ * @remarks
1875
+ * secrets the deployer wrote, since Alien never owned their values.
1876
+ */
1877
+ deleteCommand?: string | null | undefined;
1878
+ /**
1879
+ * Full name of the secret in that store.
1880
+ */
1881
+ name: string;
1882
+ /**
1883
+ * The secret store a deployer writes a vault-native secret into.
1884
+ */
1885
+ store: DeploymentStore;
1886
+ /**
1887
+ * The Azure Key Vault that holds the secret. Other stores resolve `name`
1888
+ *
1889
+ * @remarks
1890
+ * in the stack's own account or project.
1891
+ */
1892
+ vaultName?: string | null | undefined;
1893
+ };
1894
+
1895
+ /**
1896
+ * Whether a deployer secret slot holds a usable value. Alien learns this from
1897
+ *
1898
+ * @remarks
1899
+ * metadata only and never reads the value.
1900
+ */
1901
+ export const DeploymentDeployerSecretStatus = {
1902
+ Present: "present",
1903
+ Missing: "missing",
1904
+ Invalid: "invalid",
1905
+ } as const;
1906
+ /**
1907
+ * Whether a deployer secret slot holds a usable value. Alien learns this from
1908
+ *
1909
+ * @remarks
1910
+ * metadata only and never reads the value.
1911
+ */
1912
+ export type DeploymentDeployerSecretStatus = ClosedEnum<
1913
+ typeof DeploymentDeployerSecretStatus
1914
+ >;
1915
+
1916
+ /**
1917
+ * The state of one deployer secret slot, reported with the deployment.
1918
+ */
1919
+ export type DeploymentDeployerSecret = {
1920
+ /**
1921
+ * Stack input id.
1922
+ */
1923
+ inputId: string;
1924
+ /**
1925
+ * The input's label.
1926
+ */
1927
+ label: string;
1928
+ /**
1929
+ * Where a deployer writes a vault-native secret.
1930
+ */
1931
+ location: DeploymentLocation;
1932
+ /**
1933
+ * Why the slot is invalid.
1934
+ */
1935
+ message?: string | null | undefined;
1936
+ /**
1937
+ * Whether the workload cannot start without it.
1938
+ */
1939
+ required: boolean;
1940
+ /**
1941
+ * Whether a deployer secret slot holds a usable value. Alien learns this from
1942
+ *
1943
+ * @remarks
1944
+ * metadata only and never reads the value.
1945
+ */
1946
+ status: DeploymentDeployerSecretStatus;
1947
+ /**
1948
+ * The secret store's version of the present value (never the value or a
1949
+ *
1950
+ * @remarks
1951
+ * hash of it). A new version reaches workloads with the next update.
1952
+ */
1953
+ version?: string | null | undefined;
1954
+ };
1955
+
1956
+ /**
1957
+ * Actor that owns structural work during the initial setup phase.
1958
+ */
1959
+ export const DeploymentInitialSetupAuthority = {
1960
+ ImportedHandoff: "importedHandoff",
1961
+ DirectSetup: "directSetup",
1962
+ } as const;
1963
+ /**
1964
+ * Actor that owns structural work during the initial setup phase.
1965
+ */
1966
+ export type DeploymentInitialSetupAuthority = ClosedEnum<
1967
+ typeof DeploymentInitialSetupAuthority
1968
+ >;
1969
+
1970
+ export const DeploymentPendingPreparedStackTypeStringList = {
1971
+ StringList: "stringList",
1972
+ } as const;
1973
+ export type DeploymentPendingPreparedStackTypeStringList = ClosedEnum<
1974
+ typeof DeploymentPendingPreparedStackTypeStringList
1975
+ >;
1976
+
1977
+ /** @internal */
1978
+ export const DeploymentStatus$inboundSchema: z.ZodEnum<
1979
+ typeof DeploymentStatus
1980
+ > = z.enum(DeploymentStatus);
1981
+
1982
+ /** @internal */
1983
+ export const DeploymentPlatform$inboundSchema: z.ZodEnum<
1984
+ typeof DeploymentPlatform
1985
+ > = z.enum(DeploymentPlatform);
1986
+
1987
+ /** @internal */
1988
+ export const DeploymentBasePlatform$inboundSchema: z.ZodEnum<
1989
+ typeof DeploymentBasePlatform
1990
+ > = z.enum(DeploymentBasePlatform);
1991
+
1992
+ /** @internal */
1993
+ export const DeploymentPlatformTest$inboundSchema: z.ZodEnum<
1994
+ typeof DeploymentPlatformTest
1995
+ > = z.enum(DeploymentPlatformTest);
1996
+
1997
+ /** @internal */
1998
+ export const DeploymentEnvironmentInfoTest$inboundSchema: z.ZodType<
1999
+ DeploymentEnvironmentInfoTest,
2000
+ unknown
2001
+ > = z.object({
2002
+ testId: z.string(),
2003
+ platform: DeploymentPlatformTest$inboundSchema,
2004
+ });
2005
+
2006
+ export function deploymentEnvironmentInfoTestFromJSON(
2007
+ jsonString: string,
2008
+ ): SafeParseResult<DeploymentEnvironmentInfoTest, SDKValidationError> {
2009
+ return safeParse(
2010
+ jsonString,
2011
+ (x) => DeploymentEnvironmentInfoTest$inboundSchema.parse(JSON.parse(x)),
2012
+ `Failed to parse 'DeploymentEnvironmentInfoTest' from JSON`,
2013
+ );
2014
+ }
2015
+
2016
+ /** @internal */
2017
+ export const DeploymentPlatformLocal$inboundSchema: z.ZodEnum<
2018
+ typeof DeploymentPlatformLocal
2019
+ > = z.enum(DeploymentPlatformLocal);
2020
+
2021
+ /** @internal */
2022
+ export const DeploymentEnvironmentInfoLocal$inboundSchema: z.ZodType<
2023
+ DeploymentEnvironmentInfoLocal,
2024
+ unknown
2025
+ > = z.object({
2026
+ arch: z.string(),
2027
+ hostname: z.string(),
2028
+ os: z.string(),
2029
+ platform: DeploymentPlatformLocal$inboundSchema,
2030
+ });
2031
+
2032
+ export function deploymentEnvironmentInfoLocalFromJSON(
2033
+ jsonString: string,
2034
+ ): SafeParseResult<DeploymentEnvironmentInfoLocal, SDKValidationError> {
2035
+ return safeParse(
2036
+ jsonString,
2037
+ (x) => DeploymentEnvironmentInfoLocal$inboundSchema.parse(JSON.parse(x)),
2038
+ `Failed to parse 'DeploymentEnvironmentInfoLocal' from JSON`,
2039
+ );
2040
+ }
2041
+
2042
+ /** @internal */
2043
+ export const DeploymentPlatformAzure$inboundSchema: z.ZodEnum<
2044
+ typeof DeploymentPlatformAzure
2045
+ > = z.enum(DeploymentPlatformAzure);
2046
+
2047
+ /** @internal */
2048
+ export const DeploymentEnvironmentInfoAzure$inboundSchema: z.ZodType<
2049
+ DeploymentEnvironmentInfoAzure,
2050
+ unknown
2051
+ > = z.object({
2052
+ location: z.string(),
2053
+ subscriptionId: z.string(),
2054
+ tenantId: z.string(),
2055
+ platform: DeploymentPlatformAzure$inboundSchema,
2056
+ });
2057
+
2058
+ export function deploymentEnvironmentInfoAzureFromJSON(
2059
+ jsonString: string,
2060
+ ): SafeParseResult<DeploymentEnvironmentInfoAzure, SDKValidationError> {
2061
+ return safeParse(
2062
+ jsonString,
2063
+ (x) => DeploymentEnvironmentInfoAzure$inboundSchema.parse(JSON.parse(x)),
2064
+ `Failed to parse 'DeploymentEnvironmentInfoAzure' from JSON`,
2065
+ );
2066
+ }
2067
+
2068
+ /** @internal */
2069
+ export const DeploymentPlatformGcp$inboundSchema: z.ZodEnum<
2070
+ typeof DeploymentPlatformGcp
2071
+ > = z.enum(DeploymentPlatformGcp);
2072
+
2073
+ /** @internal */
2074
+ export const DeploymentEnvironmentInfoGcp$inboundSchema: z.ZodType<
2075
+ DeploymentEnvironmentInfoGcp,
2076
+ unknown
2077
+ > = z.object({
2078
+ projectId: z.string(),
2079
+ projectNumber: z.string(),
2080
+ region: z.string(),
2081
+ platform: DeploymentPlatformGcp$inboundSchema,
2082
+ });
2083
+
2084
+ export function deploymentEnvironmentInfoGcpFromJSON(
2085
+ jsonString: string,
2086
+ ): SafeParseResult<DeploymentEnvironmentInfoGcp, SDKValidationError> {
2087
+ return safeParse(
2088
+ jsonString,
2089
+ (x) => DeploymentEnvironmentInfoGcp$inboundSchema.parse(JSON.parse(x)),
2090
+ `Failed to parse 'DeploymentEnvironmentInfoGcp' from JSON`,
2091
+ );
2092
+ }
2093
+
2094
+ /** @internal */
2095
+ export const DeploymentPlatformAws$inboundSchema: z.ZodEnum<
2096
+ typeof DeploymentPlatformAws
2097
+ > = z.enum(DeploymentPlatformAws);
2098
+
2099
+ /** @internal */
2100
+ export const DeploymentEnvironmentInfoAws$inboundSchema: z.ZodType<
2101
+ DeploymentEnvironmentInfoAws,
2102
+ unknown
2103
+ > = z.object({
2104
+ accountId: z.string(),
2105
+ region: z.string(),
2106
+ platform: DeploymentPlatformAws$inboundSchema,
2107
+ });
2108
+
2109
+ export function deploymentEnvironmentInfoAwsFromJSON(
2110
+ jsonString: string,
2111
+ ): SafeParseResult<DeploymentEnvironmentInfoAws, SDKValidationError> {
2112
+ return safeParse(
2113
+ jsonString,
2114
+ (x) => DeploymentEnvironmentInfoAws$inboundSchema.parse(JSON.parse(x)),
2115
+ `Failed to parse 'DeploymentEnvironmentInfoAws' from JSON`,
2116
+ );
2117
+ }
2118
+
2119
+ /** @internal */
2120
+ export const DeploymentEnvironmentInfoUnion$inboundSchema: z.ZodType<
2121
+ DeploymentEnvironmentInfoUnion,
2122
+ unknown
2123
+ > = z.union([
2124
+ z.lazy(() => DeploymentEnvironmentInfoGcp$inboundSchema),
2125
+ z.lazy(() => DeploymentEnvironmentInfoAzure$inboundSchema),
2126
+ z.lazy(() => DeploymentEnvironmentInfoLocal$inboundSchema),
2127
+ z.lazy(() => DeploymentEnvironmentInfoAws$inboundSchema),
2128
+ z.lazy(() => DeploymentEnvironmentInfoTest$inboundSchema),
2129
+ z.string(),
2130
+ ]);
2131
+
2132
+ export function deploymentEnvironmentInfoUnionFromJSON(
2133
+ jsonString: string,
2134
+ ): SafeParseResult<DeploymentEnvironmentInfoUnion, SDKValidationError> {
2135
+ return safeParse(
2136
+ jsonString,
2137
+ (x) => DeploymentEnvironmentInfoUnion$inboundSchema.parse(JSON.parse(x)),
2138
+ `Failed to parse 'DeploymentEnvironmentInfoUnion' from JSON`,
2139
+ );
2140
+ }
2141
+
2142
+ /** @internal */
2143
+ export const DeploymentContainers$inboundSchema: z.ZodType<
2144
+ DeploymentContainers,
2145
+ unknown
2146
+ > = z.object({
2147
+ cpu: z.nullable(z.number()).optional(),
2148
+ memory: z.nullable(z.string()).optional(),
2149
+ volumeSizeGib: z.nullable(z.int()).optional(),
2150
+ });
2151
+
2152
+ export function deploymentContainersFromJSON(
2153
+ jsonString: string,
2154
+ ): SafeParseResult<DeploymentContainers, SDKValidationError> {
2155
+ return safeParse(
2156
+ jsonString,
2157
+ (x) => DeploymentContainers$inboundSchema.parse(JSON.parse(x)),
2158
+ `Failed to parse 'DeploymentContainers' from JSON`,
2159
+ );
2160
+ }
2161
+
2162
+ /** @internal */
2163
+ export const DeploymentFailureDomains2$inboundSchema: z.ZodType<
2164
+ DeploymentFailureDomains2,
2165
+ unknown
2166
+ > = z.object({
2167
+ selectedFailureDomains: z.array(z.string()).optional(),
2168
+ spread: z.int(),
2169
+ });
2170
+
2171
+ export function deploymentFailureDomains2FromJSON(
2172
+ jsonString: string,
2173
+ ): SafeParseResult<DeploymentFailureDomains2, SDKValidationError> {
2174
+ return safeParse(
2175
+ jsonString,
2176
+ (x) => DeploymentFailureDomains2$inboundSchema.parse(JSON.parse(x)),
2177
+ `Failed to parse 'DeploymentFailureDomains2' from JSON`,
2178
+ );
2179
+ }
2180
+
2181
+ /** @internal */
2182
+ export const DeploymentFailureDomainsUnion2$inboundSchema: z.ZodType<
2183
+ DeploymentFailureDomainsUnion2,
2184
+ unknown
2185
+ > = z.union([
2186
+ z.lazy(() => DeploymentFailureDomains2$inboundSchema),
2187
+ z.string(),
2188
+ ]);
2189
+
2190
+ export function deploymentFailureDomainsUnion2FromJSON(
2191
+ jsonString: string,
2192
+ ): SafeParseResult<DeploymentFailureDomainsUnion2, SDKValidationError> {
2193
+ return safeParse(
2194
+ jsonString,
2195
+ (x) => DeploymentFailureDomainsUnion2$inboundSchema.parse(JSON.parse(x)),
2196
+ `Failed to parse 'DeploymentFailureDomainsUnion2' from JSON`,
2197
+ );
2198
+ }
2199
+
2200
+ /** @internal */
2201
+ export const DeploymentPoolsAutoscale$inboundSchema: z.ZodType<
2202
+ DeploymentPoolsAutoscale,
2203
+ unknown
2204
+ > = z.object({
2205
+ failure_domains: z.nullable(
2206
+ z.union([
2207
+ z.lazy(() => DeploymentFailureDomains2$inboundSchema),
2208
+ z.string(),
2209
+ ]),
2210
+ ).optional(),
2211
+ machine: z.nullable(z.string()).optional(),
2212
+ max: z.int(),
2213
+ min: z.int(),
2214
+ mode: z.literal("autoscale"),
2215
+ }).transform((v) => {
2216
+ return remap$(v, {
2217
+ "failure_domains": "failureDomains",
2218
+ });
2219
+ });
2220
+
2221
+ export function deploymentPoolsAutoscaleFromJSON(
2222
+ jsonString: string,
2223
+ ): SafeParseResult<DeploymentPoolsAutoscale, SDKValidationError> {
2224
+ return safeParse(
2225
+ jsonString,
2226
+ (x) => DeploymentPoolsAutoscale$inboundSchema.parse(JSON.parse(x)),
2227
+ `Failed to parse 'DeploymentPoolsAutoscale' from JSON`,
2228
+ );
2229
+ }
2230
+
2231
+ /** @internal */
2232
+ export const DeploymentFailureDomains1$inboundSchema: z.ZodType<
2233
+ DeploymentFailureDomains1,
2234
+ unknown
2235
+ > = z.object({
2236
+ selectedFailureDomains: z.array(z.string()).optional(),
2237
+ spread: z.int(),
2238
+ });
2239
+
2240
+ export function deploymentFailureDomains1FromJSON(
2241
+ jsonString: string,
2242
+ ): SafeParseResult<DeploymentFailureDomains1, SDKValidationError> {
2243
+ return safeParse(
2244
+ jsonString,
2245
+ (x) => DeploymentFailureDomains1$inboundSchema.parse(JSON.parse(x)),
2246
+ `Failed to parse 'DeploymentFailureDomains1' from JSON`,
2247
+ );
2248
+ }
2249
+
2250
+ /** @internal */
2251
+ export const DeploymentFailureDomainsUnion1$inboundSchema: z.ZodType<
2252
+ DeploymentFailureDomainsUnion1,
2253
+ unknown
2254
+ > = z.union([
2255
+ z.lazy(() => DeploymentFailureDomains1$inboundSchema),
2256
+ z.string(),
2257
+ ]);
2258
+
2259
+ export function deploymentFailureDomainsUnion1FromJSON(
2260
+ jsonString: string,
2261
+ ): SafeParseResult<DeploymentFailureDomainsUnion1, SDKValidationError> {
2262
+ return safeParse(
2263
+ jsonString,
2264
+ (x) => DeploymentFailureDomainsUnion1$inboundSchema.parse(JSON.parse(x)),
2265
+ `Failed to parse 'DeploymentFailureDomainsUnion1' from JSON`,
2266
+ );
2267
+ }
2268
+
2269
+ /** @internal */
2270
+ export const DeploymentPoolsFixed$inboundSchema: z.ZodType<
2271
+ DeploymentPoolsFixed,
2272
+ unknown
2273
+ > = z.object({
2274
+ failure_domains: z.nullable(
2275
+ z.union([
2276
+ z.lazy(() => DeploymentFailureDomains1$inboundSchema),
2277
+ z.string(),
2278
+ ]),
2279
+ ).optional(),
2280
+ machine: z.nullable(z.string()).optional(),
2281
+ machines: z.int(),
2282
+ mode: z.literal("fixed"),
2283
+ }).transform((v) => {
2284
+ return remap$(v, {
2285
+ "failure_domains": "failureDomains",
2286
+ });
2287
+ });
2288
+
2289
+ export function deploymentPoolsFixedFromJSON(
2290
+ jsonString: string,
2291
+ ): SafeParseResult<DeploymentPoolsFixed, SDKValidationError> {
2292
+ return safeParse(
2293
+ jsonString,
2294
+ (x) => DeploymentPoolsFixed$inboundSchema.parse(JSON.parse(x)),
2295
+ `Failed to parse 'DeploymentPoolsFixed' from JSON`,
2296
+ );
2297
+ }
2298
+
2299
+ /** @internal */
2300
+ export const DeploymentPoolsUnion$inboundSchema: z.ZodType<
2301
+ DeploymentPoolsUnion,
2302
+ unknown
2303
+ > = z.union([
2304
+ z.lazy(() => DeploymentPoolsFixed$inboundSchema),
2305
+ z.lazy(() => DeploymentPoolsAutoscale$inboundSchema),
2306
+ ]);
2307
+
2308
+ export function deploymentPoolsUnionFromJSON(
2309
+ jsonString: string,
2310
+ ): SafeParseResult<DeploymentPoolsUnion, SDKValidationError> {
2311
+ return safeParse(
2312
+ jsonString,
2313
+ (x) => DeploymentPoolsUnion$inboundSchema.parse(JSON.parse(x)),
2314
+ `Failed to parse 'DeploymentPoolsUnion' from JSON`,
2315
+ );
2316
+ }
2317
+
2318
+ /** @internal */
2319
+ export const DeploymentCompute$inboundSchema: z.ZodType<
2320
+ DeploymentCompute,
2321
+ unknown
2322
+ > = z.object({
2323
+ containers: z.record(
2324
+ z.string(),
2325
+ z.lazy(() => DeploymentContainers$inboundSchema),
2326
+ ).optional(),
2327
+ pools: z.record(
2328
+ z.string(),
2329
+ z.union([
2330
+ z.lazy(() => DeploymentPoolsFixed$inboundSchema),
2331
+ z.lazy(() => DeploymentPoolsAutoscale$inboundSchema),
2332
+ ]),
2333
+ ).optional(),
2334
+ });
2335
+
2336
+ export function deploymentComputeFromJSON(
2337
+ jsonString: string,
2338
+ ): SafeParseResult<DeploymentCompute, SDKValidationError> {
2339
+ return safeParse(
2340
+ jsonString,
2341
+ (x) => DeploymentCompute$inboundSchema.parse(JSON.parse(x)),
2342
+ `Failed to parse 'DeploymentCompute' from JSON`,
2343
+ );
2344
+ }
2345
+
2346
+ /** @internal */
2347
+ export const DeploymentComputeUnion$inboundSchema: z.ZodType<
2348
+ DeploymentComputeUnion,
2349
+ unknown
2350
+ > = z.union([z.lazy(() => DeploymentCompute$inboundSchema), z.string()]);
2351
+
2352
+ export function deploymentComputeUnionFromJSON(
2353
+ jsonString: string,
2354
+ ): SafeParseResult<DeploymentComputeUnion, SDKValidationError> {
2355
+ return safeParse(
2356
+ jsonString,
2357
+ (x) => DeploymentComputeUnion$inboundSchema.parse(JSON.parse(x)),
2358
+ `Failed to parse 'DeploymentComputeUnion' from JSON`,
2359
+ );
2360
+ }
2361
+
2362
+ /** @internal */
2363
+ export const DeploymentDeploymentModel$inboundSchema: z.ZodEnum<
2364
+ typeof DeploymentDeploymentModel
2365
+ > = z.enum(DeploymentDeploymentModel);
2366
+
2367
+ /** @internal */
2368
+ export const DeploymentAws$inboundSchema: z.ZodType<DeploymentAws, unknown> = z
2369
+ .object({
2370
+ certificateArn: z.string(),
2371
+ });
2372
+
2373
+ export function deploymentAwsFromJSON(
2374
+ jsonString: string,
2375
+ ): SafeParseResult<DeploymentAws, SDKValidationError> {
2376
+ return safeParse(
2377
+ jsonString,
2378
+ (x) => DeploymentAws$inboundSchema.parse(JSON.parse(x)),
2379
+ `Failed to parse 'DeploymentAws' from JSON`,
2380
+ );
2381
+ }
2382
+
2383
+ /** @internal */
2384
+ export const DeploymentAwsUnion$inboundSchema: z.ZodType<
2385
+ DeploymentAwsUnion,
2386
+ unknown
2387
+ > = z.union([z.lazy(() => DeploymentAws$inboundSchema), z.string()]);
2388
+
2389
+ export function deploymentAwsUnionFromJSON(
2390
+ jsonString: string,
2391
+ ): SafeParseResult<DeploymentAwsUnion, SDKValidationError> {
2392
+ return safeParse(
2393
+ jsonString,
2394
+ (x) => DeploymentAwsUnion$inboundSchema.parse(JSON.parse(x)),
2395
+ `Failed to parse 'DeploymentAwsUnion' from JSON`,
2396
+ );
2397
+ }
2398
+
2399
+ /** @internal */
2400
+ export const DeploymentAzureStackSettings$inboundSchema: z.ZodType<
2401
+ DeploymentAzureStackSettings,
2402
+ unknown
2403
+ > = z.object({
2404
+ keyVaultCertificateId: z.string(),
2405
+ keyVaultResourceId: z.nullable(z.string()).optional(),
2406
+ });
2407
+
2408
+ export function deploymentAzureStackSettingsFromJSON(
2409
+ jsonString: string,
2410
+ ): SafeParseResult<DeploymentAzureStackSettings, SDKValidationError> {
2411
+ return safeParse(
2412
+ jsonString,
2413
+ (x) => DeploymentAzureStackSettings$inboundSchema.parse(JSON.parse(x)),
2414
+ `Failed to parse 'DeploymentAzureStackSettings' from JSON`,
2415
+ );
2416
+ }
2417
+
2418
+ /** @internal */
2419
+ export const DeploymentAzureUnion$inboundSchema: z.ZodType<
2420
+ DeploymentAzureUnion,
2421
+ unknown
2422
+ > = z.union([
2423
+ z.lazy(() => DeploymentAzureStackSettings$inboundSchema),
2424
+ z.string(),
2425
+ ]);
2426
+
2427
+ export function deploymentAzureUnionFromJSON(
2428
+ jsonString: string,
2429
+ ): SafeParseResult<DeploymentAzureUnion, SDKValidationError> {
2430
+ return safeParse(
2431
+ jsonString,
2432
+ (x) => DeploymentAzureUnion$inboundSchema.parse(JSON.parse(x)),
2433
+ `Failed to parse 'DeploymentAzureUnion' from JSON`,
2434
+ );
2435
+ }
2436
+
2437
+ /** @internal */
2438
+ export const DeploymentGcpStackSettings$inboundSchema: z.ZodType<
2439
+ DeploymentGcpStackSettings,
2440
+ unknown
2441
+ > = z.object({
2442
+ certificateName: z.string(),
2443
+ });
2444
+
2445
+ export function deploymentGcpStackSettingsFromJSON(
2446
+ jsonString: string,
2447
+ ): SafeParseResult<DeploymentGcpStackSettings, SDKValidationError> {
2448
+ return safeParse(
2449
+ jsonString,
2450
+ (x) => DeploymentGcpStackSettings$inboundSchema.parse(JSON.parse(x)),
2451
+ `Failed to parse 'DeploymentGcpStackSettings' from JSON`,
2452
+ );
2453
+ }
2454
+
2455
+ /** @internal */
2456
+ export const DeploymentGcpUnion$inboundSchema: z.ZodType<
2457
+ DeploymentGcpUnion,
2458
+ unknown
2459
+ > = z.union([
2460
+ z.lazy(() => DeploymentGcpStackSettings$inboundSchema),
2461
+ z.string(),
2462
+ ]);
2463
+
2464
+ export function deploymentGcpUnionFromJSON(
2465
+ jsonString: string,
2466
+ ): SafeParseResult<DeploymentGcpUnion, SDKValidationError> {
2467
+ return safeParse(
2468
+ jsonString,
2469
+ (x) => DeploymentGcpUnion$inboundSchema.parse(JSON.parse(x)),
2470
+ `Failed to parse 'DeploymentGcpUnion' from JSON`,
2471
+ );
2472
+ }
2473
+
2474
+ /** @internal */
2475
+ export const DeploymentTlsSecretRef$inboundSchema: z.ZodType<
2476
+ DeploymentTlsSecretRef,
2477
+ unknown
2478
+ > = z.object({
2479
+ namespace: z.nullable(z.string()).optional(),
2480
+ secretName: z.string(),
2481
+ });
2482
+
2483
+ export function deploymentTlsSecretRefFromJSON(
2484
+ jsonString: string,
2485
+ ): SafeParseResult<DeploymentTlsSecretRef, SDKValidationError> {
2486
+ return safeParse(
2487
+ jsonString,
2488
+ (x) => DeploymentTlsSecretRef$inboundSchema.parse(JSON.parse(x)),
2489
+ `Failed to parse 'DeploymentTlsSecretRef' from JSON`,
2490
+ );
2491
+ }
2492
+
2493
+ /** @internal */
2494
+ export const DeploymentDomainsKubernetes$inboundSchema: z.ZodType<
2495
+ DeploymentDomainsKubernetes,
2496
+ unknown
2497
+ > = z.object({
2498
+ tlsSecretRef: z.lazy(() => DeploymentTlsSecretRef$inboundSchema),
2499
+ });
2500
+
2501
+ export function deploymentDomainsKubernetesFromJSON(
2502
+ jsonString: string,
2503
+ ): SafeParseResult<DeploymentDomainsKubernetes, SDKValidationError> {
2504
+ return safeParse(
2505
+ jsonString,
2506
+ (x) => DeploymentDomainsKubernetes$inboundSchema.parse(JSON.parse(x)),
2507
+ `Failed to parse 'DeploymentDomainsKubernetes' from JSON`,
2508
+ );
2509
+ }
2510
+
2511
+ /** @internal */
2512
+ export const DeploymentDomainsKubernetesUnion$inboundSchema: z.ZodType<
2513
+ DeploymentDomainsKubernetesUnion,
2514
+ unknown
2515
+ > = z.union([
2516
+ z.lazy(() => DeploymentDomainsKubernetes$inboundSchema),
2517
+ z.string(),
2518
+ ]);
2519
+
2520
+ export function deploymentDomainsKubernetesUnionFromJSON(
2521
+ jsonString: string,
2522
+ ): SafeParseResult<DeploymentDomainsKubernetesUnion, SDKValidationError> {
2523
+ return safeParse(
2524
+ jsonString,
2525
+ (x) => DeploymentDomainsKubernetesUnion$inboundSchema.parse(JSON.parse(x)),
2526
+ `Failed to parse 'DeploymentDomainsKubernetesUnion' from JSON`,
2527
+ );
2528
+ }
2529
+
2530
+ /** @internal */
2531
+ export const DeploymentDomainsCertificate$inboundSchema: z.ZodType<
2532
+ DeploymentDomainsCertificate,
2533
+ unknown
2534
+ > = z.object({
2535
+ aws: z.nullable(
2536
+ z.union([z.lazy(() => DeploymentAws$inboundSchema), z.string()]),
2537
+ ).optional(),
2538
+ azure: z.nullable(
2539
+ z.union([
2540
+ z.lazy(() => DeploymentAzureStackSettings$inboundSchema),
2541
+ z.string(),
2542
+ ]),
2543
+ ).optional(),
2544
+ gcp: z.nullable(
2545
+ z.union([
2546
+ z.lazy(() => DeploymentGcpStackSettings$inboundSchema),
2547
+ z.string(),
2548
+ ]),
2549
+ ).optional(),
2550
+ kubernetes: z.nullable(
2551
+ z.union([
2552
+ z.lazy(() => DeploymentDomainsKubernetes$inboundSchema),
2553
+ z.string(),
2554
+ ]),
2555
+ ).optional(),
2556
+ });
2557
+
2558
+ export function deploymentDomainsCertificateFromJSON(
2559
+ jsonString: string,
2560
+ ): SafeParseResult<DeploymentDomainsCertificate, SDKValidationError> {
2561
+ return safeParse(
2562
+ jsonString,
2563
+ (x) => DeploymentDomainsCertificate$inboundSchema.parse(JSON.parse(x)),
2564
+ `Failed to parse 'DeploymentDomainsCertificate' from JSON`,
2565
+ );
2566
+ }
2567
+
2568
+ /** @internal */
2569
+ export const DeploymentCustomDomains$inboundSchema: z.ZodType<
2570
+ DeploymentCustomDomains,
2571
+ unknown
2572
+ > = z.object({
2573
+ certificate: z.lazy(() => DeploymentDomainsCertificate$inboundSchema),
2574
+ domain: z.string(),
2575
+ });
2576
+
2577
+ export function deploymentCustomDomainsFromJSON(
2578
+ jsonString: string,
2579
+ ): SafeParseResult<DeploymentCustomDomains, SDKValidationError> {
2580
+ return safeParse(
2581
+ jsonString,
2582
+ (x) => DeploymentCustomDomains$inboundSchema.parse(JSON.parse(x)),
2583
+ `Failed to parse 'DeploymentCustomDomains' from JSON`,
2584
+ );
2585
+ }
2586
+
2587
+ /** @internal */
2588
+ export const DeploymentModeLoadBalancer$inboundSchema: z.ZodEnum<
2589
+ typeof DeploymentModeLoadBalancer
2590
+ > = z.enum(DeploymentModeLoadBalancer);
2591
+
2592
+ /** @internal */
2593
+ export const DeploymentPublicEndpointTargetLoadBalancer$inboundSchema:
2594
+ z.ZodType<DeploymentPublicEndpointTargetLoadBalancer, unknown> = z.object({
2595
+ cnameTarget: z.string(),
2596
+ mode: DeploymentModeLoadBalancer$inboundSchema,
2597
+ });
2598
+
2599
+ export function deploymentPublicEndpointTargetLoadBalancerFromJSON(
2600
+ jsonString: string,
2601
+ ): SafeParseResult<
2602
+ DeploymentPublicEndpointTargetLoadBalancer,
2603
+ SDKValidationError
2604
+ > {
2605
+ return safeParse(
2606
+ jsonString,
2607
+ (x) =>
2608
+ DeploymentPublicEndpointTargetLoadBalancer$inboundSchema.parse(
2609
+ JSON.parse(x),
2610
+ ),
2611
+ `Failed to parse 'DeploymentPublicEndpointTargetLoadBalancer' from JSON`,
2612
+ );
2613
+ }
2614
+
2615
+ /** @internal */
2616
+ export const DeploymentModeMachineAddresses$inboundSchema: z.ZodEnum<
2617
+ typeof DeploymentModeMachineAddresses
2618
+ > = z.enum(DeploymentModeMachineAddresses);
2619
+
2620
+ /** @internal */
2621
+ export const DeploymentPublicEndpointTargetMachineAddresses$inboundSchema:
2622
+ z.ZodType<DeploymentPublicEndpointTargetMachineAddresses, unknown> = z.object(
2623
+ {
2624
+ mode: DeploymentModeMachineAddresses$inboundSchema,
2625
+ },
2626
+ );
2627
+
2628
+ export function deploymentPublicEndpointTargetMachineAddressesFromJSON(
2629
+ jsonString: string,
2630
+ ): SafeParseResult<
2631
+ DeploymentPublicEndpointTargetMachineAddresses,
2632
+ SDKValidationError
2633
+ > {
2634
+ return safeParse(
2635
+ jsonString,
2636
+ (x) =>
2637
+ DeploymentPublicEndpointTargetMachineAddresses$inboundSchema.parse(
2638
+ JSON.parse(x),
2639
+ ),
2640
+ `Failed to parse 'DeploymentPublicEndpointTargetMachineAddresses' from JSON`,
2641
+ );
2642
+ }
2643
+
2644
+ /** @internal */
2645
+ export const DeploymentPublicEndpointTargetUnion$inboundSchema: z.ZodType<
2646
+ DeploymentPublicEndpointTargetUnion,
2647
+ unknown
2648
+ > = z.union([
2649
+ z.lazy(() => DeploymentPublicEndpointTargetLoadBalancer$inboundSchema),
2650
+ z.lazy(() => DeploymentPublicEndpointTargetMachineAddresses$inboundSchema),
2651
+ z.string(),
2652
+ ]);
2653
+
2654
+ export function deploymentPublicEndpointTargetUnionFromJSON(
2655
+ jsonString: string,
2656
+ ): SafeParseResult<DeploymentPublicEndpointTargetUnion, SDKValidationError> {
2657
+ return safeParse(
2658
+ jsonString,
2659
+ (x) =>
2660
+ DeploymentPublicEndpointTargetUnion$inboundSchema.parse(JSON.parse(x)),
2661
+ `Failed to parse 'DeploymentPublicEndpointTargetUnion' from JSON`,
2662
+ );
2663
+ }
2664
+
2665
+ /** @internal */
2666
+ export const DeploymentDomains$inboundSchema: z.ZodType<
2667
+ DeploymentDomains,
2668
+ unknown
2669
+ > = z.object({
2670
+ customDomains: z.nullable(
2671
+ z.record(z.string(), z.lazy(() => DeploymentCustomDomains$inboundSchema)),
2672
+ ).optional(),
2673
+ publicEndpointTarget: z.nullable(
2674
+ z.union([
2675
+ z.lazy(() => DeploymentPublicEndpointTargetLoadBalancer$inboundSchema),
2676
+ z.lazy(() =>
2677
+ DeploymentPublicEndpointTargetMachineAddresses$inboundSchema
2678
+ ),
2679
+ z.string(),
2680
+ ]),
2681
+ ).optional(),
2682
+ });
2683
+
2684
+ export function deploymentDomainsFromJSON(
2685
+ jsonString: string,
2686
+ ): SafeParseResult<DeploymentDomains, SDKValidationError> {
2687
+ return safeParse(
2688
+ jsonString,
2689
+ (x) => DeploymentDomains$inboundSchema.parse(JSON.parse(x)),
2690
+ `Failed to parse 'DeploymentDomains' from JSON`,
2691
+ );
2692
+ }
2693
+
2694
+ /** @internal */
2695
+ export const DeploymentDomainsUnion$inboundSchema: z.ZodType<
2696
+ DeploymentDomainsUnion,
2697
+ unknown
2698
+ > = z.union([z.lazy(() => DeploymentDomains$inboundSchema), z.string()]);
2699
+
2700
+ export function deploymentDomainsUnionFromJSON(
2701
+ jsonString: string,
2702
+ ): SafeParseResult<DeploymentDomainsUnion, SDKValidationError> {
2703
+ return safeParse(
2704
+ jsonString,
2705
+ (x) => DeploymentDomainsUnion$inboundSchema.parse(JSON.parse(x)),
2706
+ `Failed to parse 'DeploymentDomainsUnion' from JSON`,
2707
+ );
2708
+ }
2709
+
2710
+ /** @internal */
2711
+ export const DeploymentEndpointAccess$inboundSchema: z.ZodEnum<
2712
+ typeof DeploymentEndpointAccess
2713
+ > = z.enum(DeploymentEndpointAccess);
2714
+
2715
+ /** @internal */
2716
+ export const DeploymentHeartbeats$inboundSchema: z.ZodEnum<
2717
+ typeof DeploymentHeartbeats
2718
+ > = z.enum(DeploymentHeartbeats);
2719
+
2720
+ /** @internal */
2721
+ export const DeploymentCloud$inboundSchema: z.ZodType<
2722
+ DeploymentCloud,
2723
+ unknown
2724
+ > = z.object({
2725
+ accountId: z.nullable(z.string()).optional(),
2726
+ clusterId: z.nullable(z.string()).optional(),
2727
+ clusterName: z.nullable(z.string()).optional(),
2728
+ projectId: z.nullable(z.string()).optional(),
2729
+ region: z.nullable(z.string()).optional(),
2730
+ resourceGroup: z.nullable(z.string()).optional(),
2731
+ subscriptionId: z.nullable(z.string()).optional(),
2732
+ });
2733
+
2734
+ export function deploymentCloudFromJSON(
2735
+ jsonString: string,
2736
+ ): SafeParseResult<DeploymentCloud, SDKValidationError> {
2737
+ return safeParse(
2738
+ jsonString,
2739
+ (x) => DeploymentCloud$inboundSchema.parse(JSON.parse(x)),
2740
+ `Failed to parse 'DeploymentCloud' from JSON`,
2741
+ );
2742
+ }
2743
+
2744
+ /** @internal */
2745
+ export const DeploymentCloudUnion$inboundSchema: z.ZodType<
2746
+ DeploymentCloudUnion,
2747
+ unknown
2748
+ > = z.union([z.lazy(() => DeploymentCloud$inboundSchema), z.string()]);
2749
+
2750
+ export function deploymentCloudUnionFromJSON(
2751
+ jsonString: string,
2752
+ ): SafeParseResult<DeploymentCloudUnion, SDKValidationError> {
2753
+ return safeParse(
2754
+ jsonString,
2755
+ (x) => DeploymentCloudUnion$inboundSchema.parse(JSON.parse(x)),
2756
+ `Failed to parse 'DeploymentCloudUnion' from JSON`,
2757
+ );
2758
+ }
2759
+
2760
+ /** @internal */
2761
+ export const DeploymentOwnership$inboundSchema: z.ZodEnum<
2762
+ typeof DeploymentOwnership
2763
+ > = z.enum(DeploymentOwnership);
2764
+
2765
+ /** @internal */
2766
+ export const DeploymentCluster$inboundSchema: z.ZodType<
2767
+ DeploymentCluster,
2768
+ unknown
2769
+ > = z.object({
2770
+ cloud: z.nullable(
2771
+ z.union([z.lazy(() => DeploymentCloud$inboundSchema), z.string()]),
2772
+ ).optional(),
2773
+ namespace: z.nullable(z.string()).optional(),
2774
+ ownership: DeploymentOwnership$inboundSchema,
2775
+ });
2776
+
2777
+ export function deploymentClusterFromJSON(
2778
+ jsonString: string,
2779
+ ): SafeParseResult<DeploymentCluster, SDKValidationError> {
2780
+ return safeParse(
2781
+ jsonString,
2782
+ (x) => DeploymentCluster$inboundSchema.parse(JSON.parse(x)),
2783
+ `Failed to parse 'DeploymentCluster' from JSON`,
2784
+ );
2785
+ }
2786
+
2787
+ /** @internal */
2788
+ export const DeploymentClusterUnion$inboundSchema: z.ZodType<
2789
+ DeploymentClusterUnion,
2790
+ unknown
2791
+ > = z.union([z.lazy(() => DeploymentCluster$inboundSchema), z.string()]);
2792
+
2793
+ export function deploymentClusterUnionFromJSON(
2794
+ jsonString: string,
2795
+ ): SafeParseResult<DeploymentClusterUnion, SDKValidationError> {
2796
+ return safeParse(
2797
+ jsonString,
2798
+ (x) => DeploymentClusterUnion$inboundSchema.parse(JSON.parse(x)),
2799
+ `Failed to parse 'DeploymentClusterUnion' from JSON`,
2800
+ );
2801
+ }
2802
+
2803
+ /** @internal */
2804
+ export const DeploymentCertificateNone2$inboundSchema: z.ZodType<
2805
+ DeploymentCertificateNone2,
2806
+ unknown
2807
+ > = z.object({
2808
+ mode: z.literal("none"),
2809
+ });
2810
+
2811
+ export function deploymentCertificateNone2FromJSON(
2812
+ jsonString: string,
2813
+ ): SafeParseResult<DeploymentCertificateNone2, SDKValidationError> {
2814
+ return safeParse(
2815
+ jsonString,
2816
+ (x) => DeploymentCertificateNone2$inboundSchema.parse(JSON.parse(x)),
2817
+ `Failed to parse 'DeploymentCertificateNone2' from JSON`,
2818
+ );
2819
+ }
2820
+
2821
+ /** @internal */
2822
+ export const DeploymentCertificateManagedTLSSecret2$inboundSchema: z.ZodType<
2823
+ DeploymentCertificateManagedTLSSecret2,
2824
+ unknown
2825
+ > = z.object({
2826
+ mode: z.literal("managedTlsSecret"),
2827
+ secretNameTemplate: z.string(),
2828
+ });
2829
+
2830
+ export function deploymentCertificateManagedTLSSecret2FromJSON(
2831
+ jsonString: string,
2832
+ ): SafeParseResult<DeploymentCertificateManagedTLSSecret2, SDKValidationError> {
2833
+ return safeParse(
2834
+ jsonString,
2835
+ (x) =>
2836
+ DeploymentCertificateManagedTLSSecret2$inboundSchema.parse(JSON.parse(x)),
2837
+ `Failed to parse 'DeploymentCertificateManagedTLSSecret2' from JSON`,
2838
+ );
2839
+ }
2840
+
2841
+ /** @internal */
2842
+ export const DeploymentCertificateAwsAcmArn2$inboundSchema: z.ZodType<
2843
+ DeploymentCertificateAwsAcmArn2,
2844
+ unknown
2845
+ > = z.object({
2846
+ certificateArn: z.string(),
2847
+ mode: z.literal("awsAcmArn"),
2848
+ });
2849
+
2850
+ export function deploymentCertificateAwsAcmArn2FromJSON(
2851
+ jsonString: string,
2852
+ ): SafeParseResult<DeploymentCertificateAwsAcmArn2, SDKValidationError> {
2853
+ return safeParse(
2854
+ jsonString,
2855
+ (x) => DeploymentCertificateAwsAcmArn2$inboundSchema.parse(JSON.parse(x)),
2856
+ `Failed to parse 'DeploymentCertificateAwsAcmArn2' from JSON`,
2857
+ );
2858
+ }
2859
+
2860
+ /** @internal */
2861
+ export const DeploymentCertificateManagedAcmImport2$inboundSchema: z.ZodType<
2862
+ DeploymentCertificateManagedAcmImport2,
2863
+ unknown
2864
+ > = z.object({
2865
+ mode: z.literal("managedAcmImport"),
2866
+ region: z.nullable(z.string()).optional(),
2867
+ tags: z.record(z.string(), z.string()).optional(),
2868
+ });
2869
+
2870
+ export function deploymentCertificateManagedAcmImport2FromJSON(
2871
+ jsonString: string,
2872
+ ): SafeParseResult<DeploymentCertificateManagedAcmImport2, SDKValidationError> {
2873
+ return safeParse(
2874
+ jsonString,
2875
+ (x) =>
2876
+ DeploymentCertificateManagedAcmImport2$inboundSchema.parse(JSON.parse(x)),
2877
+ `Failed to parse 'DeploymentCertificateManagedAcmImport2' from JSON`,
2878
+ );
2879
+ }
2880
+
2881
+ /** @internal */
2882
+ export const DeploymentCertificateTLSSecretRef2$inboundSchema: z.ZodType<
2883
+ DeploymentCertificateTLSSecretRef2,
2884
+ unknown
2885
+ > = z.object({
2886
+ namespace: z.nullable(z.string()).optional(),
2887
+ secretName: z.string(),
2888
+ mode: z.literal("tlsSecretRef"),
2889
+ });
2890
+
2891
+ export function deploymentCertificateTLSSecretRef2FromJSON(
2892
+ jsonString: string,
2893
+ ): SafeParseResult<DeploymentCertificateTLSSecretRef2, SDKValidationError> {
2894
+ return safeParse(
2895
+ jsonString,
2896
+ (x) =>
2897
+ DeploymentCertificateTLSSecretRef2$inboundSchema.parse(JSON.parse(x)),
2898
+ `Failed to parse 'DeploymentCertificateTLSSecretRef2' from JSON`,
2899
+ );
2900
+ }
2901
+
2902
+ /** @internal */
2903
+ export const DeploymentCertificateUnion2$inboundSchema: z.ZodType<
2904
+ DeploymentCertificateUnion2,
2905
+ unknown
2906
+ > = z.union([
2907
+ z.lazy(() => DeploymentCertificateTLSSecretRef2$inboundSchema),
2908
+ z.lazy(() => DeploymentCertificateManagedAcmImport2$inboundSchema),
2909
+ z.lazy(() => DeploymentCertificateAwsAcmArn2$inboundSchema),
2910
+ z.lazy(() => DeploymentCertificateManagedTLSSecret2$inboundSchema),
2911
+ z.lazy(() => DeploymentCertificateNone2$inboundSchema),
2912
+ ]);
2913
+
2914
+ export function deploymentCertificateUnion2FromJSON(
2915
+ jsonString: string,
2916
+ ): SafeParseResult<DeploymentCertificateUnion2, SDKValidationError> {
2917
+ return safeParse(
2918
+ jsonString,
2919
+ (x) => DeploymentCertificateUnion2$inboundSchema.parse(JSON.parse(x)),
2920
+ `Failed to parse 'DeploymentCertificateUnion2' from JSON`,
2921
+ );
2922
+ }
2923
+
2924
+ /** @internal */
2925
+ export const DeploymentModeCustom$inboundSchema: z.ZodEnum<
2926
+ typeof DeploymentModeCustom
2927
+ > = z.enum(DeploymentModeCustom);
2928
+
2929
+ /** @internal */
2930
+ export const DeploymentProviderAzureApplicationGatewayForContainersEnum4$inboundSchema:
2931
+ z.ZodEnum<
2932
+ typeof DeploymentProviderAzureApplicationGatewayForContainersEnum4
2933
+ > = z.enum(DeploymentProviderAzureApplicationGatewayForContainersEnum4);
2934
+
2935
+ /** @internal */
2936
+ export const DeploymentProviderAzureApplicationGatewayForContainers4$inboundSchema:
2937
+ z.ZodType<DeploymentProviderAzureApplicationGatewayForContainers4, unknown> =
2938
+ z.object({
2939
+ albName: z.nullable(z.string()).optional(),
2940
+ albNamespace: z.nullable(z.string()).optional(),
2941
+ frontend: z.string(),
2942
+ provider:
2943
+ DeploymentProviderAzureApplicationGatewayForContainersEnum4$inboundSchema,
2944
+ });
2945
+
2946
+ export function deploymentProviderAzureApplicationGatewayForContainers4FromJSON(
2947
+ jsonString: string,
2948
+ ): SafeParseResult<
2949
+ DeploymentProviderAzureApplicationGatewayForContainers4,
2950
+ SDKValidationError
2951
+ > {
2952
+ return safeParse(
2953
+ jsonString,
2954
+ (x) =>
2955
+ DeploymentProviderAzureApplicationGatewayForContainers4$inboundSchema
2956
+ .parse(JSON.parse(x)),
2957
+ `Failed to parse 'DeploymentProviderAzureApplicationGatewayForContainers4' from JSON`,
2958
+ );
2959
+ }
2960
+
2961
+ /** @internal */
2962
+ export const DeploymentProviderGkeGatewayEnum4$inboundSchema: z.ZodEnum<
2963
+ typeof DeploymentProviderGkeGatewayEnum4
2964
+ > = z.enum(DeploymentProviderGkeGatewayEnum4);
2965
+
2966
+ /** @internal */
2967
+ export const DeploymentProviderGkeGateway4$inboundSchema: z.ZodType<
2968
+ DeploymentProviderGkeGateway4,
2969
+ unknown
2970
+ > = z.object({
2971
+ provider: DeploymentProviderGkeGatewayEnum4$inboundSchema,
2972
+ staticAddressName: z.nullable(z.string()).optional(),
2973
+ });
2974
+
2975
+ export function deploymentProviderGkeGateway4FromJSON(
2976
+ jsonString: string,
2977
+ ): SafeParseResult<DeploymentProviderGkeGateway4, SDKValidationError> {
2978
+ return safeParse(
2979
+ jsonString,
2980
+ (x) => DeploymentProviderGkeGateway4$inboundSchema.parse(JSON.parse(x)),
2981
+ `Failed to parse 'DeploymentProviderGkeGateway4' from JSON`,
2982
+ );
2983
+ }
2984
+
2985
+ /** @internal */
2986
+ export const DeploymentProviderAwsAlbEnum4$inboundSchema: z.ZodEnum<
2987
+ typeof DeploymentProviderAwsAlbEnum4
2988
+ > = z.enum(DeploymentProviderAwsAlbEnum4);
2989
+
2990
+ /** @internal */
2991
+ export const DeploymentProviderAwsAlb4$inboundSchema: z.ZodType<
2992
+ DeploymentProviderAwsAlb4,
2993
+ unknown
2994
+ > = z.object({
2995
+ ipAddressType: z.nullable(z.string()).optional(),
2996
+ provider: DeploymentProviderAwsAlbEnum4$inboundSchema,
2997
+ scheme: z.string(),
2998
+ subnetIds: z.array(z.string()).optional(),
2999
+ targetType: z.string(),
3000
+ });
3001
+
3002
+ export function deploymentProviderAwsAlb4FromJSON(
3003
+ jsonString: string,
3004
+ ): SafeParseResult<DeploymentProviderAwsAlb4, SDKValidationError> {
3005
+ return safeParse(
3006
+ jsonString,
3007
+ (x) => DeploymentProviderAwsAlb4$inboundSchema.parse(JSON.parse(x)),
3008
+ `Failed to parse 'DeploymentProviderAwsAlb4' from JSON`,
3009
+ );
3010
+ }
3011
+
3012
+ /** @internal */
3013
+ export const DeploymentProviderUnion4$inboundSchema: z.ZodType<
3014
+ DeploymentProviderUnion4,
3015
+ unknown
3016
+ > = z.union([
3017
+ z.lazy(() => DeploymentProviderAwsAlb4$inboundSchema),
3018
+ z.lazy(() =>
3019
+ DeploymentProviderAzureApplicationGatewayForContainers4$inboundSchema
3020
+ ),
3021
+ z.lazy(() => DeploymentProviderGkeGateway4$inboundSchema),
3022
+ z.string(),
3023
+ ]);
3024
+
3025
+ export function deploymentProviderUnion4FromJSON(
3026
+ jsonString: string,
3027
+ ): SafeParseResult<DeploymentProviderUnion4, SDKValidationError> {
3028
+ return safeParse(
3029
+ jsonString,
3030
+ (x) => DeploymentProviderUnion4$inboundSchema.parse(JSON.parse(x)),
3031
+ `Failed to parse 'DeploymentProviderUnion4' from JSON`,
3032
+ );
3033
+ }
3034
+
3035
+ /** @internal */
3036
+ export const DeploymentRouteGateway2$inboundSchema: z.ZodType<
3037
+ DeploymentRouteGateway2,
3038
+ unknown
3039
+ > = z.object({
3040
+ annotations: z.record(z.string(), z.string()).optional(),
3041
+ controller: z.nullable(z.string()).optional(),
3042
+ gatewayClassName: z.string(),
3043
+ labels: z.record(z.string(), z.string()).optional(),
3044
+ listenerPort: z.int(),
3045
+ provider: z.nullable(
3046
+ z.union([
3047
+ z.lazy(() => DeploymentProviderAwsAlb4$inboundSchema),
3048
+ z.lazy(() =>
3049
+ DeploymentProviderAzureApplicationGatewayForContainers4$inboundSchema
3050
+ ),
3051
+ z.lazy(() => DeploymentProviderGkeGateway4$inboundSchema),
3052
+ z.string(),
3053
+ ]),
3054
+ ).optional(),
3055
+ routeApi: z.literal("gateway"),
3056
+ });
3057
+
3058
+ export function deploymentRouteGateway2FromJSON(
3059
+ jsonString: string,
3060
+ ): SafeParseResult<DeploymentRouteGateway2, SDKValidationError> {
3061
+ return safeParse(
3062
+ jsonString,
3063
+ (x) => DeploymentRouteGateway2$inboundSchema.parse(JSON.parse(x)),
3064
+ `Failed to parse 'DeploymentRouteGateway2' from JSON`,
3065
+ );
3066
+ }
3067
+
3068
+ /** @internal */
3069
+ export const DeploymentProviderAzureApplicationGatewayForContainersEnum3$inboundSchema:
3070
+ z.ZodEnum<
3071
+ typeof DeploymentProviderAzureApplicationGatewayForContainersEnum3
3072
+ > = z.enum(DeploymentProviderAzureApplicationGatewayForContainersEnum3);
3073
+
3074
+ /** @internal */
3075
+ export const DeploymentProviderAzureApplicationGatewayForContainers3$inboundSchema:
3076
+ z.ZodType<DeploymentProviderAzureApplicationGatewayForContainers3, unknown> =
3077
+ z.object({
3078
+ albName: z.nullable(z.string()).optional(),
3079
+ albNamespace: z.nullable(z.string()).optional(),
3080
+ frontend: z.string(),
3081
+ provider:
3082
+ DeploymentProviderAzureApplicationGatewayForContainersEnum3$inboundSchema,
3083
+ });
3084
+
3085
+ export function deploymentProviderAzureApplicationGatewayForContainers3FromJSON(
3086
+ jsonString: string,
3087
+ ): SafeParseResult<
3088
+ DeploymentProviderAzureApplicationGatewayForContainers3,
3089
+ SDKValidationError
3090
+ > {
3091
+ return safeParse(
3092
+ jsonString,
3093
+ (x) =>
3094
+ DeploymentProviderAzureApplicationGatewayForContainers3$inboundSchema
3095
+ .parse(JSON.parse(x)),
3096
+ `Failed to parse 'DeploymentProviderAzureApplicationGatewayForContainers3' from JSON`,
3097
+ );
3098
+ }
3099
+
3100
+ /** @internal */
3101
+ export const DeploymentProviderGkeGatewayEnum3$inboundSchema: z.ZodEnum<
3102
+ typeof DeploymentProviderGkeGatewayEnum3
3103
+ > = z.enum(DeploymentProviderGkeGatewayEnum3);
3104
+
3105
+ /** @internal */
3106
+ export const DeploymentProviderGkeGateway3$inboundSchema: z.ZodType<
3107
+ DeploymentProviderGkeGateway3,
3108
+ unknown
3109
+ > = z.object({
3110
+ provider: DeploymentProviderGkeGatewayEnum3$inboundSchema,
3111
+ staticAddressName: z.nullable(z.string()).optional(),
3112
+ });
3113
+
3114
+ export function deploymentProviderGkeGateway3FromJSON(
3115
+ jsonString: string,
3116
+ ): SafeParseResult<DeploymentProviderGkeGateway3, SDKValidationError> {
3117
+ return safeParse(
3118
+ jsonString,
3119
+ (x) => DeploymentProviderGkeGateway3$inboundSchema.parse(JSON.parse(x)),
3120
+ `Failed to parse 'DeploymentProviderGkeGateway3' from JSON`,
3121
+ );
3122
+ }
3123
+
3124
+ /** @internal */
3125
+ export const DeploymentProviderAwsAlbEnum3$inboundSchema: z.ZodEnum<
3126
+ typeof DeploymentProviderAwsAlbEnum3
3127
+ > = z.enum(DeploymentProviderAwsAlbEnum3);
3128
+
3129
+ /** @internal */
3130
+ export const DeploymentProviderAwsAlb3$inboundSchema: z.ZodType<
3131
+ DeploymentProviderAwsAlb3,
3132
+ unknown
3133
+ > = z.object({
3134
+ ipAddressType: z.nullable(z.string()).optional(),
3135
+ provider: DeploymentProviderAwsAlbEnum3$inboundSchema,
3136
+ scheme: z.string(),
3137
+ subnetIds: z.array(z.string()).optional(),
3138
+ targetType: z.string(),
3139
+ });
3140
+
3141
+ export function deploymentProviderAwsAlb3FromJSON(
3142
+ jsonString: string,
3143
+ ): SafeParseResult<DeploymentProviderAwsAlb3, SDKValidationError> {
3144
+ return safeParse(
3145
+ jsonString,
3146
+ (x) => DeploymentProviderAwsAlb3$inboundSchema.parse(JSON.parse(x)),
3147
+ `Failed to parse 'DeploymentProviderAwsAlb3' from JSON`,
3148
+ );
3149
+ }
3150
+
3151
+ /** @internal */
3152
+ export const DeploymentProviderUnion3$inboundSchema: z.ZodType<
3153
+ DeploymentProviderUnion3,
3154
+ unknown
3155
+ > = z.union([
3156
+ z.lazy(() => DeploymentProviderAwsAlb3$inboundSchema),
3157
+ z.lazy(() =>
3158
+ DeploymentProviderAzureApplicationGatewayForContainers3$inboundSchema
3159
+ ),
3160
+ z.lazy(() => DeploymentProviderGkeGateway3$inboundSchema),
3161
+ z.string(),
3162
+ ]);
3163
+
3164
+ export function deploymentProviderUnion3FromJSON(
3165
+ jsonString: string,
3166
+ ): SafeParseResult<DeploymentProviderUnion3, SDKValidationError> {
3167
+ return safeParse(
3168
+ jsonString,
3169
+ (x) => DeploymentProviderUnion3$inboundSchema.parse(JSON.parse(x)),
3170
+ `Failed to parse 'DeploymentProviderUnion3' from JSON`,
3171
+ );
3172
+ }
3173
+
3174
+ /** @internal */
3175
+ export const DeploymentRouteIngress2$inboundSchema: z.ZodType<
3176
+ DeploymentRouteIngress2,
3177
+ unknown
3178
+ > = z.object({
3179
+ annotations: z.record(z.string(), z.string()).optional(),
3180
+ controller: z.nullable(z.string()).optional(),
3181
+ ingressClassName: z.string(),
3182
+ labels: z.record(z.string(), z.string()).optional(),
3183
+ provider: z.nullable(
3184
+ z.union([
3185
+ z.lazy(() => DeploymentProviderAwsAlb3$inboundSchema),
3186
+ z.lazy(() =>
3187
+ DeploymentProviderAzureApplicationGatewayForContainers3$inboundSchema
3188
+ ),
3189
+ z.lazy(() => DeploymentProviderGkeGateway3$inboundSchema),
3190
+ z.string(),
3191
+ ]),
3192
+ ).optional(),
3193
+ routeApi: z.literal("ingress"),
3194
+ });
3195
+
3196
+ export function deploymentRouteIngress2FromJSON(
3197
+ jsonString: string,
3198
+ ): SafeParseResult<DeploymentRouteIngress2, SDKValidationError> {
3199
+ return safeParse(
3200
+ jsonString,
3201
+ (x) => DeploymentRouteIngress2$inboundSchema.parse(JSON.parse(x)),
3202
+ `Failed to parse 'DeploymentRouteIngress2' from JSON`,
3203
+ );
3204
+ }
3205
+
3206
+ /** @internal */
3207
+ export const DeploymentRouteUnion2$inboundSchema: z.ZodType<
3208
+ DeploymentRouteUnion2,
3209
+ unknown
3210
+ > = z.union([
3211
+ z.lazy(() => DeploymentRouteIngress2$inboundSchema),
3212
+ z.lazy(() => DeploymentRouteGateway2$inboundSchema),
3213
+ ]);
3214
+
3215
+ export function deploymentRouteUnion2FromJSON(
3216
+ jsonString: string,
3217
+ ): SafeParseResult<DeploymentRouteUnion2, SDKValidationError> {
3218
+ return safeParse(
3219
+ jsonString,
3220
+ (x) => DeploymentRouteUnion2$inboundSchema.parse(JSON.parse(x)),
3221
+ `Failed to parse 'DeploymentRouteUnion2' from JSON`,
3222
+ );
3223
+ }
3224
+
3225
+ /** @internal */
3226
+ export const DeploymentExposureCustom$inboundSchema: z.ZodType<
3227
+ DeploymentExposureCustom,
3228
+ unknown
3229
+ > = z.object({
3230
+ certificate: z.union([
3231
+ z.lazy(() => DeploymentCertificateTLSSecretRef2$inboundSchema),
3232
+ z.lazy(() => DeploymentCertificateManagedAcmImport2$inboundSchema),
3233
+ z.lazy(() => DeploymentCertificateAwsAcmArn2$inboundSchema),
3234
+ z.lazy(() => DeploymentCertificateManagedTLSSecret2$inboundSchema),
3235
+ z.lazy(() => DeploymentCertificateNone2$inboundSchema),
3236
+ ]),
3237
+ domain: z.string(),
3238
+ mode: DeploymentModeCustom$inboundSchema,
3239
+ route: z.union([
3240
+ z.lazy(() => DeploymentRouteIngress2$inboundSchema),
3241
+ z.lazy(() => DeploymentRouteGateway2$inboundSchema),
3242
+ ]),
3243
+ });
3244
+
3245
+ export function deploymentExposureCustomFromJSON(
3246
+ jsonString: string,
3247
+ ): SafeParseResult<DeploymentExposureCustom, SDKValidationError> {
3248
+ return safeParse(
3249
+ jsonString,
3250
+ (x) => DeploymentExposureCustom$inboundSchema.parse(JSON.parse(x)),
3251
+ `Failed to parse 'DeploymentExposureCustom' from JSON`,
3252
+ );
3253
+ }
3254
+
3255
+ /** @internal */
3256
+ export const DeploymentCertificateNone1$inboundSchema: z.ZodType<
3257
+ DeploymentCertificateNone1,
3258
+ unknown
3259
+ > = z.object({
3260
+ mode: z.literal("none"),
3261
+ });
3262
+
3263
+ export function deploymentCertificateNone1FromJSON(
3264
+ jsonString: string,
3265
+ ): SafeParseResult<DeploymentCertificateNone1, SDKValidationError> {
3266
+ return safeParse(
3267
+ jsonString,
3268
+ (x) => DeploymentCertificateNone1$inboundSchema.parse(JSON.parse(x)),
3269
+ `Failed to parse 'DeploymentCertificateNone1' from JSON`,
3270
+ );
3271
+ }
3272
+
3273
+ /** @internal */
3274
+ export const DeploymentCertificateManagedTLSSecret1$inboundSchema: z.ZodType<
3275
+ DeploymentCertificateManagedTLSSecret1,
3276
+ unknown
3277
+ > = z.object({
3278
+ mode: z.literal("managedTlsSecret"),
3279
+ secretNameTemplate: z.string(),
3280
+ });
3281
+
3282
+ export function deploymentCertificateManagedTLSSecret1FromJSON(
3283
+ jsonString: string,
3284
+ ): SafeParseResult<DeploymentCertificateManagedTLSSecret1, SDKValidationError> {
3285
+ return safeParse(
3286
+ jsonString,
3287
+ (x) =>
3288
+ DeploymentCertificateManagedTLSSecret1$inboundSchema.parse(JSON.parse(x)),
3289
+ `Failed to parse 'DeploymentCertificateManagedTLSSecret1' from JSON`,
3290
+ );
3291
+ }
3292
+
3293
+ /** @internal */
3294
+ export const DeploymentCertificateAwsAcmArn1$inboundSchema: z.ZodType<
3295
+ DeploymentCertificateAwsAcmArn1,
3296
+ unknown
3297
+ > = z.object({
3298
+ certificateArn: z.string(),
3299
+ mode: z.literal("awsAcmArn"),
3300
+ });
3301
+
3302
+ export function deploymentCertificateAwsAcmArn1FromJSON(
3303
+ jsonString: string,
3304
+ ): SafeParseResult<DeploymentCertificateAwsAcmArn1, SDKValidationError> {
3305
+ return safeParse(
3306
+ jsonString,
3307
+ (x) => DeploymentCertificateAwsAcmArn1$inboundSchema.parse(JSON.parse(x)),
3308
+ `Failed to parse 'DeploymentCertificateAwsAcmArn1' from JSON`,
3309
+ );
3310
+ }
3311
+
3312
+ /** @internal */
3313
+ export const DeploymentCertificateManagedAcmImport1$inboundSchema: z.ZodType<
3314
+ DeploymentCertificateManagedAcmImport1,
3315
+ unknown
3316
+ > = z.object({
3317
+ mode: z.literal("managedAcmImport"),
3318
+ region: z.nullable(z.string()).optional(),
3319
+ tags: z.record(z.string(), z.string()).optional(),
3320
+ });
3321
+
3322
+ export function deploymentCertificateManagedAcmImport1FromJSON(
3323
+ jsonString: string,
3324
+ ): SafeParseResult<DeploymentCertificateManagedAcmImport1, SDKValidationError> {
3325
+ return safeParse(
3326
+ jsonString,
3327
+ (x) =>
3328
+ DeploymentCertificateManagedAcmImport1$inboundSchema.parse(JSON.parse(x)),
3329
+ `Failed to parse 'DeploymentCertificateManagedAcmImport1' from JSON`,
3330
+ );
3331
+ }
3332
+
3333
+ /** @internal */
3334
+ export const DeploymentCertificateTLSSecretRef1$inboundSchema: z.ZodType<
3335
+ DeploymentCertificateTLSSecretRef1,
3336
+ unknown
3337
+ > = z.object({
3338
+ namespace: z.nullable(z.string()).optional(),
3339
+ secretName: z.string(),
3340
+ mode: z.literal("tlsSecretRef"),
3341
+ });
3342
+
3343
+ export function deploymentCertificateTLSSecretRef1FromJSON(
3344
+ jsonString: string,
3345
+ ): SafeParseResult<DeploymentCertificateTLSSecretRef1, SDKValidationError> {
3346
+ return safeParse(
3347
+ jsonString,
3348
+ (x) =>
3349
+ DeploymentCertificateTLSSecretRef1$inboundSchema.parse(JSON.parse(x)),
3350
+ `Failed to parse 'DeploymentCertificateTLSSecretRef1' from JSON`,
3351
+ );
3352
+ }
3353
+
3354
+ /** @internal */
3355
+ export const DeploymentCertificateUnion1$inboundSchema: z.ZodType<
3356
+ DeploymentCertificateUnion1,
3357
+ unknown
3358
+ > = z.union([
3359
+ z.lazy(() => DeploymentCertificateTLSSecretRef1$inboundSchema),
3360
+ z.lazy(() => DeploymentCertificateManagedAcmImport1$inboundSchema),
3361
+ z.lazy(() => DeploymentCertificateAwsAcmArn1$inboundSchema),
3362
+ z.lazy(() => DeploymentCertificateManagedTLSSecret1$inboundSchema),
3363
+ z.lazy(() => DeploymentCertificateNone1$inboundSchema),
3364
+ ]);
3365
+
3366
+ export function deploymentCertificateUnion1FromJSON(
3367
+ jsonString: string,
3368
+ ): SafeParseResult<DeploymentCertificateUnion1, SDKValidationError> {
3369
+ return safeParse(
3370
+ jsonString,
3371
+ (x) => DeploymentCertificateUnion1$inboundSchema.parse(JSON.parse(x)),
3372
+ `Failed to parse 'DeploymentCertificateUnion1' from JSON`,
3373
+ );
3374
+ }
3375
+
3376
+ /** @internal */
3377
+ export const DeploymentModeGenerated$inboundSchema: z.ZodEnum<
3378
+ typeof DeploymentModeGenerated
3379
+ > = z.enum(DeploymentModeGenerated);
3380
+
3381
+ /** @internal */
3382
+ export const DeploymentProviderAzureApplicationGatewayForContainersEnum2$inboundSchema:
3383
+ z.ZodEnum<
3384
+ typeof DeploymentProviderAzureApplicationGatewayForContainersEnum2
3385
+ > = z.enum(DeploymentProviderAzureApplicationGatewayForContainersEnum2);
3386
+
3387
+ /** @internal */
3388
+ export const DeploymentProviderAzureApplicationGatewayForContainers2$inboundSchema:
3389
+ z.ZodType<DeploymentProviderAzureApplicationGatewayForContainers2, unknown> =
3390
+ z.object({
3391
+ albName: z.nullable(z.string()).optional(),
3392
+ albNamespace: z.nullable(z.string()).optional(),
3393
+ frontend: z.string(),
3394
+ provider:
3395
+ DeploymentProviderAzureApplicationGatewayForContainersEnum2$inboundSchema,
3396
+ });
3397
+
3398
+ export function deploymentProviderAzureApplicationGatewayForContainers2FromJSON(
3399
+ jsonString: string,
3400
+ ): SafeParseResult<
3401
+ DeploymentProviderAzureApplicationGatewayForContainers2,
3402
+ SDKValidationError
3403
+ > {
3404
+ return safeParse(
3405
+ jsonString,
3406
+ (x) =>
3407
+ DeploymentProviderAzureApplicationGatewayForContainers2$inboundSchema
3408
+ .parse(JSON.parse(x)),
3409
+ `Failed to parse 'DeploymentProviderAzureApplicationGatewayForContainers2' from JSON`,
3410
+ );
3411
+ }
3412
+
3413
+ /** @internal */
3414
+ export const DeploymentProviderGkeGatewayEnum2$inboundSchema: z.ZodEnum<
3415
+ typeof DeploymentProviderGkeGatewayEnum2
3416
+ > = z.enum(DeploymentProviderGkeGatewayEnum2);
3417
+
3418
+ /** @internal */
3419
+ export const DeploymentProviderGkeGateway2$inboundSchema: z.ZodType<
3420
+ DeploymentProviderGkeGateway2,
3421
+ unknown
3422
+ > = z.object({
3423
+ provider: DeploymentProviderGkeGatewayEnum2$inboundSchema,
3424
+ staticAddressName: z.nullable(z.string()).optional(),
3425
+ });
3426
+
3427
+ export function deploymentProviderGkeGateway2FromJSON(
3428
+ jsonString: string,
3429
+ ): SafeParseResult<DeploymentProviderGkeGateway2, SDKValidationError> {
3430
+ return safeParse(
3431
+ jsonString,
3432
+ (x) => DeploymentProviderGkeGateway2$inboundSchema.parse(JSON.parse(x)),
3433
+ `Failed to parse 'DeploymentProviderGkeGateway2' from JSON`,
3434
+ );
3435
+ }
3436
+
3437
+ /** @internal */
3438
+ export const DeploymentProviderAwsAlbEnum2$inboundSchema: z.ZodEnum<
3439
+ typeof DeploymentProviderAwsAlbEnum2
3440
+ > = z.enum(DeploymentProviderAwsAlbEnum2);
3441
+
3442
+ /** @internal */
3443
+ export const DeploymentProviderAwsAlb2$inboundSchema: z.ZodType<
3444
+ DeploymentProviderAwsAlb2,
3445
+ unknown
3446
+ > = z.object({
3447
+ ipAddressType: z.nullable(z.string()).optional(),
3448
+ provider: DeploymentProviderAwsAlbEnum2$inboundSchema,
3449
+ scheme: z.string(),
3450
+ subnetIds: z.array(z.string()).optional(),
3451
+ targetType: z.string(),
3452
+ });
3453
+
3454
+ export function deploymentProviderAwsAlb2FromJSON(
3455
+ jsonString: string,
3456
+ ): SafeParseResult<DeploymentProviderAwsAlb2, SDKValidationError> {
3457
+ return safeParse(
3458
+ jsonString,
3459
+ (x) => DeploymentProviderAwsAlb2$inboundSchema.parse(JSON.parse(x)),
3460
+ `Failed to parse 'DeploymentProviderAwsAlb2' from JSON`,
3461
+ );
3462
+ }
3463
+
3464
+ /** @internal */
3465
+ export const DeploymentProviderUnion2$inboundSchema: z.ZodType<
3466
+ DeploymentProviderUnion2,
3467
+ unknown
3468
+ > = z.union([
3469
+ z.lazy(() => DeploymentProviderAwsAlb2$inboundSchema),
3470
+ z.lazy(() =>
3471
+ DeploymentProviderAzureApplicationGatewayForContainers2$inboundSchema
3472
+ ),
3473
+ z.lazy(() => DeploymentProviderGkeGateway2$inboundSchema),
3474
+ z.string(),
3475
+ ]);
3476
+
3477
+ export function deploymentProviderUnion2FromJSON(
3478
+ jsonString: string,
3479
+ ): SafeParseResult<DeploymentProviderUnion2, SDKValidationError> {
3480
+ return safeParse(
3481
+ jsonString,
3482
+ (x) => DeploymentProviderUnion2$inboundSchema.parse(JSON.parse(x)),
3483
+ `Failed to parse 'DeploymentProviderUnion2' from JSON`,
3484
+ );
3485
+ }
3486
+
3487
+ /** @internal */
3488
+ export const DeploymentRouteGateway1$inboundSchema: z.ZodType<
3489
+ DeploymentRouteGateway1,
3490
+ unknown
3491
+ > = z.object({
3492
+ annotations: z.record(z.string(), z.string()).optional(),
3493
+ controller: z.nullable(z.string()).optional(),
3494
+ gatewayClassName: z.string(),
3495
+ labels: z.record(z.string(), z.string()).optional(),
3496
+ listenerPort: z.int(),
3497
+ provider: z.nullable(
3498
+ z.union([
3499
+ z.lazy(() => DeploymentProviderAwsAlb2$inboundSchema),
3500
+ z.lazy(() =>
3501
+ DeploymentProviderAzureApplicationGatewayForContainers2$inboundSchema
3502
+ ),
3503
+ z.lazy(() => DeploymentProviderGkeGateway2$inboundSchema),
3504
+ z.string(),
3505
+ ]),
3506
+ ).optional(),
3507
+ routeApi: z.literal("gateway"),
3508
+ });
3509
+
3510
+ export function deploymentRouteGateway1FromJSON(
3511
+ jsonString: string,
3512
+ ): SafeParseResult<DeploymentRouteGateway1, SDKValidationError> {
3513
+ return safeParse(
3514
+ jsonString,
3515
+ (x) => DeploymentRouteGateway1$inboundSchema.parse(JSON.parse(x)),
3516
+ `Failed to parse 'DeploymentRouteGateway1' from JSON`,
3517
+ );
3518
+ }
3519
+
3520
+ /** @internal */
3521
+ export const DeploymentProviderAzureApplicationGatewayForContainersEnum1$inboundSchema:
3522
+ z.ZodEnum<
3523
+ typeof DeploymentProviderAzureApplicationGatewayForContainersEnum1
3524
+ > = z.enum(DeploymentProviderAzureApplicationGatewayForContainersEnum1);
3525
+
3526
+ /** @internal */
3527
+ export const DeploymentProviderAzureApplicationGatewayForContainers1$inboundSchema:
3528
+ z.ZodType<DeploymentProviderAzureApplicationGatewayForContainers1, unknown> =
3529
+ z.object({
3530
+ albName: z.nullable(z.string()).optional(),
3531
+ albNamespace: z.nullable(z.string()).optional(),
3532
+ frontend: z.string(),
3533
+ provider:
3534
+ DeploymentProviderAzureApplicationGatewayForContainersEnum1$inboundSchema,
3535
+ });
3536
+
3537
+ export function deploymentProviderAzureApplicationGatewayForContainers1FromJSON(
3538
+ jsonString: string,
3539
+ ): SafeParseResult<
3540
+ DeploymentProviderAzureApplicationGatewayForContainers1,
3541
+ SDKValidationError
3542
+ > {
3543
+ return safeParse(
3544
+ jsonString,
3545
+ (x) =>
3546
+ DeploymentProviderAzureApplicationGatewayForContainers1$inboundSchema
3547
+ .parse(JSON.parse(x)),
3548
+ `Failed to parse 'DeploymentProviderAzureApplicationGatewayForContainers1' from JSON`,
3549
+ );
3550
+ }
3551
+
3552
+ /** @internal */
3553
+ export const DeploymentProviderGkeGatewayEnum1$inboundSchema: z.ZodEnum<
3554
+ typeof DeploymentProviderGkeGatewayEnum1
3555
+ > = z.enum(DeploymentProviderGkeGatewayEnum1);
3556
+
3557
+ /** @internal */
3558
+ export const DeploymentProviderGkeGateway1$inboundSchema: z.ZodType<
3559
+ DeploymentProviderGkeGateway1,
3560
+ unknown
3561
+ > = z.object({
3562
+ provider: DeploymentProviderGkeGatewayEnum1$inboundSchema,
3563
+ staticAddressName: z.nullable(z.string()).optional(),
3564
+ });
3565
+
3566
+ export function deploymentProviderGkeGateway1FromJSON(
3567
+ jsonString: string,
3568
+ ): SafeParseResult<DeploymentProviderGkeGateway1, SDKValidationError> {
3569
+ return safeParse(
3570
+ jsonString,
3571
+ (x) => DeploymentProviderGkeGateway1$inboundSchema.parse(JSON.parse(x)),
3572
+ `Failed to parse 'DeploymentProviderGkeGateway1' from JSON`,
3573
+ );
3574
+ }
3575
+
3576
+ /** @internal */
3577
+ export const DeploymentProviderAwsAlbEnum1$inboundSchema: z.ZodEnum<
3578
+ typeof DeploymentProviderAwsAlbEnum1
3579
+ > = z.enum(DeploymentProviderAwsAlbEnum1);
3580
+
3581
+ /** @internal */
3582
+ export const DeploymentProviderAwsAlb1$inboundSchema: z.ZodType<
3583
+ DeploymentProviderAwsAlb1,
3584
+ unknown
3585
+ > = z.object({
3586
+ ipAddressType: z.nullable(z.string()).optional(),
3587
+ provider: DeploymentProviderAwsAlbEnum1$inboundSchema,
3588
+ scheme: z.string(),
3589
+ subnetIds: z.array(z.string()).optional(),
3590
+ targetType: z.string(),
3591
+ });
3592
+
3593
+ export function deploymentProviderAwsAlb1FromJSON(
3594
+ jsonString: string,
3595
+ ): SafeParseResult<DeploymentProviderAwsAlb1, SDKValidationError> {
3596
+ return safeParse(
3597
+ jsonString,
3598
+ (x) => DeploymentProviderAwsAlb1$inboundSchema.parse(JSON.parse(x)),
3599
+ `Failed to parse 'DeploymentProviderAwsAlb1' from JSON`,
3600
+ );
3601
+ }
3602
+
3603
+ /** @internal */
3604
+ export const DeploymentProviderUnion1$inboundSchema: z.ZodType<
3605
+ DeploymentProviderUnion1,
3606
+ unknown
3607
+ > = z.union([
3608
+ z.lazy(() => DeploymentProviderAwsAlb1$inboundSchema),
3609
+ z.lazy(() =>
3610
+ DeploymentProviderAzureApplicationGatewayForContainers1$inboundSchema
3611
+ ),
3612
+ z.lazy(() => DeploymentProviderGkeGateway1$inboundSchema),
3613
+ z.string(),
3614
+ ]);
3615
+
3616
+ export function deploymentProviderUnion1FromJSON(
3617
+ jsonString: string,
3618
+ ): SafeParseResult<DeploymentProviderUnion1, SDKValidationError> {
3619
+ return safeParse(
3620
+ jsonString,
3621
+ (x) => DeploymentProviderUnion1$inboundSchema.parse(JSON.parse(x)),
3622
+ `Failed to parse 'DeploymentProviderUnion1' from JSON`,
3623
+ );
3624
+ }
3625
+
3626
+ /** @internal */
3627
+ export const DeploymentRouteIngress1$inboundSchema: z.ZodType<
3628
+ DeploymentRouteIngress1,
3629
+ unknown
3630
+ > = z.object({
3631
+ annotations: z.record(z.string(), z.string()).optional(),
3632
+ controller: z.nullable(z.string()).optional(),
3633
+ ingressClassName: z.string(),
3634
+ labels: z.record(z.string(), z.string()).optional(),
3635
+ provider: z.nullable(
3636
+ z.union([
3637
+ z.lazy(() => DeploymentProviderAwsAlb1$inboundSchema),
3638
+ z.lazy(() =>
3639
+ DeploymentProviderAzureApplicationGatewayForContainers1$inboundSchema
3640
+ ),
3641
+ z.lazy(() => DeploymentProviderGkeGateway1$inboundSchema),
3642
+ z.string(),
3643
+ ]),
3644
+ ).optional(),
3645
+ routeApi: z.literal("ingress"),
3646
+ });
3647
+
3648
+ export function deploymentRouteIngress1FromJSON(
3649
+ jsonString: string,
3650
+ ): SafeParseResult<DeploymentRouteIngress1, SDKValidationError> {
3651
+ return safeParse(
3652
+ jsonString,
3653
+ (x) => DeploymentRouteIngress1$inboundSchema.parse(JSON.parse(x)),
3654
+ `Failed to parse 'DeploymentRouteIngress1' from JSON`,
3655
+ );
3656
+ }
3657
+
3658
+ /** @internal */
3659
+ export const DeploymentRouteUnion1$inboundSchema: z.ZodType<
3660
+ DeploymentRouteUnion1,
3661
+ unknown
3662
+ > = z.union([
3663
+ z.lazy(() => DeploymentRouteIngress1$inboundSchema),
3664
+ z.lazy(() => DeploymentRouteGateway1$inboundSchema),
3665
+ ]);
3666
+
3667
+ export function deploymentRouteUnion1FromJSON(
3668
+ jsonString: string,
3669
+ ): SafeParseResult<DeploymentRouteUnion1, SDKValidationError> {
3670
+ return safeParse(
3671
+ jsonString,
3672
+ (x) => DeploymentRouteUnion1$inboundSchema.parse(JSON.parse(x)),
3673
+ `Failed to parse 'DeploymentRouteUnion1' from JSON`,
3674
+ );
3675
+ }
3676
+
3677
+ /** @internal */
3678
+ export const DeploymentExposureGenerated$inboundSchema: z.ZodType<
3679
+ DeploymentExposureGenerated,
3680
+ unknown
3681
+ > = z.object({
3682
+ certificate: z.union([
3683
+ z.lazy(() => DeploymentCertificateTLSSecretRef1$inboundSchema),
3684
+ z.lazy(() => DeploymentCertificateManagedAcmImport1$inboundSchema),
3685
+ z.lazy(() => DeploymentCertificateAwsAcmArn1$inboundSchema),
3686
+ z.lazy(() => DeploymentCertificateManagedTLSSecret1$inboundSchema),
3687
+ z.lazy(() => DeploymentCertificateNone1$inboundSchema),
3688
+ ]),
3689
+ mode: DeploymentModeGenerated$inboundSchema,
3690
+ route: z.union([
3691
+ z.lazy(() => DeploymentRouteIngress1$inboundSchema),
3692
+ z.lazy(() => DeploymentRouteGateway1$inboundSchema),
3693
+ ]),
3694
+ });
3695
+
3696
+ export function deploymentExposureGeneratedFromJSON(
3697
+ jsonString: string,
3698
+ ): SafeParseResult<DeploymentExposureGenerated, SDKValidationError> {
3699
+ return safeParse(
3700
+ jsonString,
3701
+ (x) => DeploymentExposureGenerated$inboundSchema.parse(JSON.parse(x)),
3702
+ `Failed to parse 'DeploymentExposureGenerated' from JSON`,
3703
+ );
3704
+ }
3705
+
3706
+ /** @internal */
3707
+ export const DeploymentModeDisabled$inboundSchema: z.ZodEnum<
3708
+ typeof DeploymentModeDisabled
3709
+ > = z.enum(DeploymentModeDisabled);
3710
+
3711
+ /** @internal */
3712
+ export const DeploymentExposureDisabled$inboundSchema: z.ZodType<
3713
+ DeploymentExposureDisabled,
3714
+ unknown
3715
+ > = z.object({
3716
+ mode: DeploymentModeDisabled$inboundSchema,
3717
+ });
3718
+
3719
+ export function deploymentExposureDisabledFromJSON(
3720
+ jsonString: string,
3721
+ ): SafeParseResult<DeploymentExposureDisabled, SDKValidationError> {
3722
+ return safeParse(
3723
+ jsonString,
3724
+ (x) => DeploymentExposureDisabled$inboundSchema.parse(JSON.parse(x)),
3725
+ `Failed to parse 'DeploymentExposureDisabled' from JSON`,
3726
+ );
3727
+ }
3728
+
3729
+ /** @internal */
3730
+ export const DeploymentExposureUnion$inboundSchema: z.ZodType<
3731
+ DeploymentExposureUnion,
3732
+ unknown
3733
+ > = z.union([
3734
+ z.lazy(() => DeploymentExposureCustom$inboundSchema),
3735
+ z.lazy(() => DeploymentExposureGenerated$inboundSchema),
3736
+ z.lazy(() => DeploymentExposureDisabled$inboundSchema),
3737
+ z.string(),
3738
+ ]);
3739
+
3740
+ export function deploymentExposureUnionFromJSON(
3741
+ jsonString: string,
3742
+ ): SafeParseResult<DeploymentExposureUnion, SDKValidationError> {
3743
+ return safeParse(
3744
+ jsonString,
3745
+ (x) => DeploymentExposureUnion$inboundSchema.parse(JSON.parse(x)),
3746
+ `Failed to parse 'DeploymentExposureUnion' from JSON`,
3747
+ );
3748
+ }
3749
+
3750
+ /** @internal */
3751
+ export const DeploymentKubernetes$inboundSchema: z.ZodType<
3752
+ DeploymentKubernetes,
3753
+ unknown
3754
+ > = z.object({
3755
+ cluster: z.nullable(
3756
+ z.union([z.lazy(() => DeploymentCluster$inboundSchema), z.string()]),
3757
+ ).optional(),
3758
+ exposure: z.nullable(
3759
+ z.union([
3760
+ z.lazy(() => DeploymentExposureCustom$inboundSchema),
3761
+ z.lazy(() => DeploymentExposureGenerated$inboundSchema),
3762
+ z.lazy(() => DeploymentExposureDisabled$inboundSchema),
3763
+ z.string(),
3764
+ ]),
3765
+ ).optional(),
3766
+ });
3767
+
3768
+ export function deploymentKubernetesFromJSON(
3769
+ jsonString: string,
3770
+ ): SafeParseResult<DeploymentKubernetes, SDKValidationError> {
3771
+ return safeParse(
3772
+ jsonString,
3773
+ (x) => DeploymentKubernetes$inboundSchema.parse(JSON.parse(x)),
3774
+ `Failed to parse 'DeploymentKubernetes' from JSON`,
3775
+ );
3776
+ }
3777
+
3778
+ /** @internal */
3779
+ export const DeploymentKubernetesUnion$inboundSchema: z.ZodType<
3780
+ DeploymentKubernetesUnion,
3781
+ unknown
3782
+ > = z.union([z.lazy(() => DeploymentKubernetes$inboundSchema), z.string()]);
3783
+
3784
+ export function deploymentKubernetesUnionFromJSON(
3785
+ jsonString: string,
3786
+ ): SafeParseResult<DeploymentKubernetesUnion, SDKValidationError> {
3787
+ return safeParse(
3788
+ jsonString,
3789
+ (x) => DeploymentKubernetesUnion$inboundSchema.parse(JSON.parse(x)),
3790
+ `Failed to parse 'DeploymentKubernetesUnion' from JSON`,
3791
+ );
3792
+ }
3793
+
3794
+ /** @internal */
3795
+ export const DeploymentTypeByoVnetAzure$inboundSchema: z.ZodEnum<
3796
+ typeof DeploymentTypeByoVnetAzure
3797
+ > = z.enum(DeploymentTypeByoVnetAzure);
3798
+
3799
+ /** @internal */
3800
+ export const DeploymentNetworkByoVnetAzure$inboundSchema: z.ZodType<
3801
+ DeploymentNetworkByoVnetAzure,
3802
+ unknown
3803
+ > = z.object({
3804
+ application_gateway_subnet_name: z.nullable(z.string()).optional(),
3805
+ private_endpoint_subnet_name: z.nullable(z.string()).optional(),
3806
+ private_subnet_name: z.string(),
3807
+ public_subnet_name: z.string(),
3808
+ type: DeploymentTypeByoVnetAzure$inboundSchema,
3809
+ vnet_resource_id: z.string(),
3810
+ }).transform((v) => {
3811
+ return remap$(v, {
3812
+ "application_gateway_subnet_name": "applicationGatewaySubnetName",
3813
+ "private_endpoint_subnet_name": "privateEndpointSubnetName",
3814
+ "private_subnet_name": "privateSubnetName",
3815
+ "public_subnet_name": "publicSubnetName",
3816
+ "vnet_resource_id": "vnetResourceId",
3817
+ });
3818
+ });
3819
+
3820
+ export function deploymentNetworkByoVnetAzureFromJSON(
3821
+ jsonString: string,
3822
+ ): SafeParseResult<DeploymentNetworkByoVnetAzure, SDKValidationError> {
3823
+ return safeParse(
3824
+ jsonString,
3825
+ (x) => DeploymentNetworkByoVnetAzure$inboundSchema.parse(JSON.parse(x)),
3826
+ `Failed to parse 'DeploymentNetworkByoVnetAzure' from JSON`,
3827
+ );
3828
+ }
3829
+
3830
+ /** @internal */
3831
+ export const DeploymentTypeByoVpcGcp$inboundSchema: z.ZodEnum<
3832
+ typeof DeploymentTypeByoVpcGcp
3833
+ > = z.enum(DeploymentTypeByoVpcGcp);
3834
+
3835
+ /** @internal */
3836
+ export const DeploymentNetworkByoVpcGcp$inboundSchema: z.ZodType<
3837
+ DeploymentNetworkByoVpcGcp,
3838
+ unknown
3839
+ > = z.object({
3840
+ network_name: z.string(),
3841
+ region: z.string(),
3842
+ subnet_name: z.string(),
3843
+ type: DeploymentTypeByoVpcGcp$inboundSchema,
3844
+ }).transform((v) => {
3845
+ return remap$(v, {
3846
+ "network_name": "networkName",
3847
+ "subnet_name": "subnetName",
3848
+ });
3849
+ });
3850
+
3851
+ export function deploymentNetworkByoVpcGcpFromJSON(
3852
+ jsonString: string,
3853
+ ): SafeParseResult<DeploymentNetworkByoVpcGcp, SDKValidationError> {
3854
+ return safeParse(
3855
+ jsonString,
3856
+ (x) => DeploymentNetworkByoVpcGcp$inboundSchema.parse(JSON.parse(x)),
3857
+ `Failed to parse 'DeploymentNetworkByoVpcGcp' from JSON`,
3858
+ );
3859
+ }
3860
+
3861
+ /** @internal */
3862
+ export const DeploymentTypeByoVpcAws$inboundSchema: z.ZodEnum<
3863
+ typeof DeploymentTypeByoVpcAws
3864
+ > = z.enum(DeploymentTypeByoVpcAws);
3865
+
3866
+ /** @internal */
3867
+ export const DeploymentNetworkByoVpcAws$inboundSchema: z.ZodType<
3868
+ DeploymentNetworkByoVpcAws,
3869
+ unknown
3870
+ > = z.object({
3871
+ private_subnet_ids: z.array(z.string()),
3872
+ public_subnet_ids: z.array(z.string()),
3873
+ security_group_ids: z.array(z.string()).optional(),
3874
+ type: DeploymentTypeByoVpcAws$inboundSchema,
3875
+ vpc_id: z.string(),
3876
+ }).transform((v) => {
3877
+ return remap$(v, {
3878
+ "private_subnet_ids": "privateSubnetIds",
3879
+ "public_subnet_ids": "publicSubnetIds",
3880
+ "security_group_ids": "securityGroupIds",
3881
+ "vpc_id": "vpcId",
3882
+ });
3883
+ });
3884
+
3885
+ export function deploymentNetworkByoVpcAwsFromJSON(
3886
+ jsonString: string,
3887
+ ): SafeParseResult<DeploymentNetworkByoVpcAws, SDKValidationError> {
3888
+ return safeParse(
3889
+ jsonString,
3890
+ (x) => DeploymentNetworkByoVpcAws$inboundSchema.parse(JSON.parse(x)),
3891
+ `Failed to parse 'DeploymentNetworkByoVpcAws' from JSON`,
3892
+ );
3893
+ }
3894
+
3895
+ /** @internal */
3896
+ export const DeploymentTypeCreate$inboundSchema: z.ZodEnum<
3897
+ typeof DeploymentTypeCreate
3898
+ > = z.enum(DeploymentTypeCreate);
3899
+
3900
+ /** @internal */
3901
+ export const DeploymentNetworkCreate$inboundSchema: z.ZodType<
3902
+ DeploymentNetworkCreate,
3903
+ unknown
3904
+ > = z.object({
3905
+ availability_zones: z.int().optional(),
3906
+ cidr: z.nullable(z.string()).optional(),
3907
+ type: DeploymentTypeCreate$inboundSchema,
3908
+ }).transform((v) => {
3909
+ return remap$(v, {
3910
+ "availability_zones": "availabilityZones",
3911
+ });
3912
+ });
3913
+
3914
+ export function deploymentNetworkCreateFromJSON(
3915
+ jsonString: string,
3916
+ ): SafeParseResult<DeploymentNetworkCreate, SDKValidationError> {
3917
+ return safeParse(
3918
+ jsonString,
3919
+ (x) => DeploymentNetworkCreate$inboundSchema.parse(JSON.parse(x)),
3920
+ `Failed to parse 'DeploymentNetworkCreate' from JSON`,
3921
+ );
3922
+ }
3923
+
3924
+ /** @internal */
3925
+ export const DeploymentTypeUseDefault$inboundSchema: z.ZodEnum<
3926
+ typeof DeploymentTypeUseDefault
3927
+ > = z.enum(DeploymentTypeUseDefault);
3928
+
3929
+ /** @internal */
3930
+ export const DeploymentNetworkUseDefault$inboundSchema: z.ZodType<
3931
+ DeploymentNetworkUseDefault,
3932
+ unknown
3933
+ > = z.object({
3934
+ type: DeploymentTypeUseDefault$inboundSchema,
3935
+ });
3936
+
3937
+ export function deploymentNetworkUseDefaultFromJSON(
3938
+ jsonString: string,
3939
+ ): SafeParseResult<DeploymentNetworkUseDefault, SDKValidationError> {
3940
+ return safeParse(
3941
+ jsonString,
3942
+ (x) => DeploymentNetworkUseDefault$inboundSchema.parse(JSON.parse(x)),
3943
+ `Failed to parse 'DeploymentNetworkUseDefault' from JSON`,
3944
+ );
3945
+ }
3946
+
3947
+ /** @internal */
3948
+ export const DeploymentNetworkUnion$inboundSchema: z.ZodType<
3949
+ DeploymentNetworkUnion,
3950
+ unknown
3951
+ > = z.union([
3952
+ z.lazy(() => DeploymentNetworkByoVpcAws$inboundSchema),
3953
+ z.lazy(() => DeploymentNetworkByoVpcGcp$inboundSchema),
3954
+ z.lazy(() => DeploymentNetworkByoVnetAzure$inboundSchema),
3955
+ z.lazy(() => DeploymentNetworkUseDefault$inboundSchema),
3956
+ z.lazy(() => DeploymentNetworkCreate$inboundSchema),
3957
+ z.string(),
3958
+ ]);
3959
+
3960
+ export function deploymentNetworkUnionFromJSON(
3961
+ jsonString: string,
3962
+ ): SafeParseResult<DeploymentNetworkUnion, SDKValidationError> {
3963
+ return safeParse(
3964
+ jsonString,
3965
+ (x) => DeploymentNetworkUnion$inboundSchema.parse(JSON.parse(x)),
3966
+ `Failed to parse 'DeploymentNetworkUnion' from JSON`,
3967
+ );
3968
+ }
3969
+
3970
+ /** @internal */
3971
+ export const DeploymentSetupManagement$inboundSchema: z.ZodEnum<
3972
+ typeof DeploymentSetupManagement
3973
+ > = z.enum(DeploymentSetupManagement);
3974
+
3975
+ /** @internal */
3976
+ export const DeploymentTelemetry$inboundSchema: z.ZodEnum<
3977
+ typeof DeploymentTelemetry
3978
+ > = z.enum(DeploymentTelemetry);
3979
+
3980
+ /** @internal */
3981
+ export const DeploymentUpdates$inboundSchema: z.ZodEnum<
3982
+ typeof DeploymentUpdates
3983
+ > = z.enum(DeploymentUpdates);
3984
+
3985
+ /** @internal */
3986
+ export const DeploymentStackSettings$inboundSchema: z.ZodType<
3987
+ DeploymentStackSettings,
3988
+ unknown
3989
+ > = z.object({
3990
+ compute: z.nullable(
3991
+ z.union([z.lazy(() => DeploymentCompute$inboundSchema), z.string()]),
3992
+ ).optional(),
3993
+ deploymentModel: DeploymentDeploymentModel$inboundSchema.optional(),
3994
+ domains: z.nullable(
3995
+ z.union([z.lazy(() => DeploymentDomains$inboundSchema), z.string()]),
3996
+ ).optional(),
3997
+ endpointAccess: DeploymentEndpointAccess$inboundSchema.optional(),
3998
+ externalBindings: z.nullable(
3999
+ z.record(z.string(), ExternalBindingUnion$inboundSchema),
4000
+ ).optional(),
4001
+ heartbeats: DeploymentHeartbeats$inboundSchema.optional(),
4002
+ kubernetes: z.nullable(
4003
+ z.union([z.lazy(() => DeploymentKubernetes$inboundSchema), z.string()]),
4004
+ ).optional(),
4005
+ network: z.nullable(
4006
+ z.union([
4007
+ z.lazy(() => DeploymentNetworkByoVpcAws$inboundSchema),
4008
+ z.lazy(() => DeploymentNetworkByoVpcGcp$inboundSchema),
4009
+ z.lazy(() => DeploymentNetworkByoVnetAzure$inboundSchema),
4010
+ z.lazy(() => DeploymentNetworkUseDefault$inboundSchema),
4011
+ z.lazy(() => DeploymentNetworkCreate$inboundSchema),
4012
+ z.string(),
4013
+ ]),
4014
+ ).optional(),
4015
+ publicEndpoints: z.nullable(
4016
+ z.record(z.string(), z.record(z.string(), z.string())),
4017
+ ).optional(),
4018
+ quotaWarningOverrides: z.array(z.string()).optional(),
4019
+ setupManagement: DeploymentSetupManagement$inboundSchema.optional(),
4020
+ telemetry: DeploymentTelemetry$inboundSchema.optional(),
4021
+ updates: DeploymentUpdates$inboundSchema.optional(),
4022
+ });
4023
+
4024
+ export function deploymentStackSettingsFromJSON(
4025
+ jsonString: string,
4026
+ ): SafeParseResult<DeploymentStackSettings, SDKValidationError> {
4027
+ return safeParse(
4028
+ jsonString,
4029
+ (x) => DeploymentStackSettings$inboundSchema.parse(JSON.parse(x)),
4030
+ `Failed to parse 'DeploymentStackSettings' from JSON`,
4031
+ );
4032
+ }
4033
+
4034
+ /** @internal */
4035
+ export const DeploymentStackStatePlatform$inboundSchema: z.ZodEnum<
4036
+ typeof DeploymentStackStatePlatform
4037
+ > = z.enum(DeploymentStackStatePlatform);
4038
+
4039
+ /** @internal */
4040
+ export const DeploymentStackStateConfig$inboundSchema: z.ZodType<
4041
+ DeploymentStackStateConfig,
4042
+ unknown
4043
+ > = collectExtraKeys$(
4044
+ z.object({
4045
+ id: z.string(),
4046
+ type: z.string(),
4047
+ }).catchall(z.any()),
4048
+ "additionalProperties",
4049
+ true,
4050
+ );
4051
+
4052
+ export function deploymentStackStateConfigFromJSON(
4053
+ jsonString: string,
4054
+ ): SafeParseResult<DeploymentStackStateConfig, SDKValidationError> {
4055
+ return safeParse(
4056
+ jsonString,
4057
+ (x) => DeploymentStackStateConfig$inboundSchema.parse(JSON.parse(x)),
4058
+ `Failed to parse 'DeploymentStackStateConfig' from JSON`,
4059
+ );
4060
+ }
4061
+
4062
+ /** @internal */
4063
+ export const DeploymentControllerPlatformEnum$inboundSchema: z.ZodEnum<
4064
+ typeof DeploymentControllerPlatformEnum
4065
+ > = z.enum(DeploymentControllerPlatformEnum);
4066
+
4067
+ /** @internal */
4068
+ export const DeploymentControllerPlatformUnion$inboundSchema: z.ZodType<
4069
+ DeploymentControllerPlatformUnion,
4070
+ unknown
4071
+ > = z.union([DeploymentControllerPlatformEnum$inboundSchema, z.string()]);
4072
+
4073
+ export function deploymentControllerPlatformUnionFromJSON(
4074
+ jsonString: string,
4075
+ ): SafeParseResult<DeploymentControllerPlatformUnion, SDKValidationError> {
4076
+ return safeParse(
4077
+ jsonString,
4078
+ (x) => DeploymentControllerPlatformUnion$inboundSchema.parse(JSON.parse(x)),
4079
+ `Failed to parse 'DeploymentControllerPlatformUnion' from JSON`,
4080
+ );
4081
+ }
4082
+
4083
+ /** @internal */
4084
+ export const DeploymentStackStateDependency$inboundSchema: z.ZodType<
4085
+ DeploymentStackStateDependency,
4086
+ unknown
4087
+ > = z.object({
4088
+ id: z.string(),
4089
+ type: z.string(),
4090
+ });
4091
+
4092
+ export function deploymentStackStateDependencyFromJSON(
4093
+ jsonString: string,
4094
+ ): SafeParseResult<DeploymentStackStateDependency, SDKValidationError> {
4095
+ return safeParse(
4096
+ jsonString,
4097
+ (x) => DeploymentStackStateDependency$inboundSchema.parse(JSON.parse(x)),
4098
+ `Failed to parse 'DeploymentStackStateDependency' from JSON`,
4099
+ );
4100
+ }
4101
+
4102
+ /** @internal */
4103
+ export const DeploymentErrorStackState$inboundSchema: z.ZodType<
4104
+ DeploymentErrorStackState,
4105
+ unknown
4106
+ > = z.object({
4107
+ code: z.string(),
4108
+ context: z.nullable(z.any()).optional(),
4109
+ hint: z.nullable(z.string()).optional(),
4110
+ httpStatusCode: z.nullable(z.int()).optional(),
4111
+ internal: z.boolean(),
4112
+ message: z.string(),
4113
+ retryable: z.boolean().default(false),
4114
+ source: z.nullable(z.any()).optional(),
4115
+ });
4116
+
4117
+ export function deploymentErrorStackStateFromJSON(
4118
+ jsonString: string,
4119
+ ): SafeParseResult<DeploymentErrorStackState, SDKValidationError> {
4120
+ return safeParse(
4121
+ jsonString,
4122
+ (x) => DeploymentErrorStackState$inboundSchema.parse(JSON.parse(x)),
4123
+ `Failed to parse 'DeploymentErrorStackState' from JSON`,
4124
+ );
4125
+ }
4126
+
4127
+ /** @internal */
4128
+ export const DeploymentErrorUnion$inboundSchema: z.ZodType<
4129
+ DeploymentErrorUnion,
4130
+ unknown
4131
+ > = z.union([
4132
+ z.lazy(() => DeploymentErrorStackState$inboundSchema),
4133
+ z.string(),
4134
+ ]);
4135
+
4136
+ export function deploymentErrorUnionFromJSON(
4137
+ jsonString: string,
4138
+ ): SafeParseResult<DeploymentErrorUnion, SDKValidationError> {
4139
+ return safeParse(
4140
+ jsonString,
4141
+ (x) => DeploymentErrorUnion$inboundSchema.parse(JSON.parse(x)),
4142
+ `Failed to parse 'DeploymentErrorUnion' from JSON`,
4143
+ );
4144
+ }
4145
+
4146
+ /** @internal */
4147
+ export const DeploymentLifecycleStackStateEnum$inboundSchema: z.ZodEnum<
4148
+ typeof DeploymentLifecycleStackStateEnum
4149
+ > = z.enum(DeploymentLifecycleStackStateEnum);
4150
+
4151
+ /** @internal */
4152
+ export const DeploymentLifecycleUnion$inboundSchema: z.ZodType<
4153
+ DeploymentLifecycleUnion,
4154
+ unknown
4155
+ > = z.union([DeploymentLifecycleStackStateEnum$inboundSchema, z.string()]);
4156
+
4157
+ export function deploymentLifecycleUnionFromJSON(
4158
+ jsonString: string,
4159
+ ): SafeParseResult<DeploymentLifecycleUnion, SDKValidationError> {
4160
+ return safeParse(
4161
+ jsonString,
4162
+ (x) => DeploymentLifecycleUnion$inboundSchema.parse(JSON.parse(x)),
4163
+ `Failed to parse 'DeploymentLifecycleUnion' from JSON`,
4164
+ );
4165
+ }
4166
+
4167
+ /** @internal */
4168
+ export const DeploymentOutputs$inboundSchema: z.ZodType<
4169
+ DeploymentOutputs,
4170
+ unknown
4171
+ > = collectExtraKeys$(
4172
+ z.object({
4173
+ type: z.string(),
4174
+ }).catchall(z.any()),
4175
+ "additionalProperties",
4176
+ true,
4177
+ );
4178
+
4179
+ export function deploymentOutputsFromJSON(
4180
+ jsonString: string,
4181
+ ): SafeParseResult<DeploymentOutputs, SDKValidationError> {
4182
+ return safeParse(
4183
+ jsonString,
4184
+ (x) => DeploymentOutputs$inboundSchema.parse(JSON.parse(x)),
4185
+ `Failed to parse 'DeploymentOutputs' from JSON`,
4186
+ );
4187
+ }
4188
+
4189
+ /** @internal */
4190
+ export const DeploymentOutputsUnion$inboundSchema: z.ZodType<
4191
+ DeploymentOutputsUnion,
4192
+ unknown
4193
+ > = z.union([z.lazy(() => DeploymentOutputs$inboundSchema), z.string()]);
4194
+
4195
+ export function deploymentOutputsUnionFromJSON(
4196
+ jsonString: string,
4197
+ ): SafeParseResult<DeploymentOutputsUnion, SDKValidationError> {
4198
+ return safeParse(
4199
+ jsonString,
4200
+ (x) => DeploymentOutputsUnion$inboundSchema.parse(JSON.parse(x)),
4201
+ `Failed to parse 'DeploymentOutputsUnion' from JSON`,
4202
+ );
4203
+ }
4204
+
4205
+ /** @internal */
4206
+ export const DeploymentPreviousConfig$inboundSchema: z.ZodType<
4207
+ DeploymentPreviousConfig,
4208
+ unknown
4209
+ > = collectExtraKeys$(
4210
+ z.object({
4211
+ id: z.string(),
4212
+ type: z.string(),
4213
+ }).catchall(z.any()),
4214
+ "additionalProperties",
4215
+ true,
4216
+ );
4217
+
4218
+ export function deploymentPreviousConfigFromJSON(
4219
+ jsonString: string,
4220
+ ): SafeParseResult<DeploymentPreviousConfig, SDKValidationError> {
4221
+ return safeParse(
4222
+ jsonString,
4223
+ (x) => DeploymentPreviousConfig$inboundSchema.parse(JSON.parse(x)),
4224
+ `Failed to parse 'DeploymentPreviousConfig' from JSON`,
4225
+ );
4226
+ }
4227
+
4228
+ /** @internal */
4229
+ export const DeploymentPreviousConfigUnion$inboundSchema: z.ZodType<
4230
+ DeploymentPreviousConfigUnion,
4231
+ unknown
4232
+ > = z.union([z.lazy(() => DeploymentPreviousConfig$inboundSchema), z.string()]);
4233
+
4234
+ export function deploymentPreviousConfigUnionFromJSON(
4235
+ jsonString: string,
4236
+ ): SafeParseResult<DeploymentPreviousConfigUnion, SDKValidationError> {
4237
+ return safeParse(
4238
+ jsonString,
4239
+ (x) => DeploymentPreviousConfigUnion$inboundSchema.parse(JSON.parse(x)),
4240
+ `Failed to parse 'DeploymentPreviousConfigUnion' from JSON`,
4241
+ );
4242
+ }
4243
+
4244
+ /** @internal */
4245
+ export const DeploymentStackStateStatus$inboundSchema: z.ZodEnum<
4246
+ typeof DeploymentStackStateStatus
4247
+ > = z.enum(DeploymentStackStateStatus);
4248
+
4249
+ /** @internal */
4250
+ export const DeploymentStackStateResources$inboundSchema: z.ZodType<
4251
+ DeploymentStackStateResources,
4252
+ unknown
4253
+ > = z.object({
4254
+ _internal: z.nullable(z.any()).optional(),
4255
+ config: z.lazy(() => DeploymentStackStateConfig$inboundSchema),
4256
+ controllerPlatform: z.nullable(
4257
+ z.union([DeploymentControllerPlatformEnum$inboundSchema, z.string()]),
4258
+ ).optional(),
4259
+ dependencies: z.array(
4260
+ z.lazy(() => DeploymentStackStateDependency$inboundSchema),
4261
+ ).optional(),
4262
+ description: z.nullable(z.string()).optional(),
4263
+ displayName: z.nullable(z.string()).optional(),
4264
+ error: z.nullable(
4265
+ z.union([
4266
+ z.lazy(() => DeploymentErrorStackState$inboundSchema),
4267
+ z.string(),
4268
+ ]),
4269
+ ).optional(),
4270
+ lastFailedState: z.nullable(z.any()).optional(),
4271
+ lifecycle: z.nullable(
4272
+ z.union([DeploymentLifecycleStackStateEnum$inboundSchema, z.string()]),
4273
+ ).optional(),
4274
+ outputs: z.nullable(
4275
+ z.union([z.lazy(() => DeploymentOutputs$inboundSchema), z.string()]),
4276
+ ).optional(),
4277
+ previousConfig: z.nullable(
4278
+ z.union([z.lazy(() => DeploymentPreviousConfig$inboundSchema), z.string()]),
4279
+ ).optional(),
4280
+ progress: z.nullable(z.string()).optional(),
4281
+ remoteBindingParams: z.nullable(z.any()).optional(),
4282
+ retryAttempt: z.int().optional(),
4283
+ status: DeploymentStackStateStatus$inboundSchema,
4284
+ type: z.string(),
4285
+ }).transform((v) => {
4286
+ return remap$(v, {
4287
+ "_internal": "internal",
4288
+ });
4289
+ });
4290
+
4291
+ export function deploymentStackStateResourcesFromJSON(
4292
+ jsonString: string,
4293
+ ): SafeParseResult<DeploymentStackStateResources, SDKValidationError> {
4294
+ return safeParse(
4295
+ jsonString,
4296
+ (x) => DeploymentStackStateResources$inboundSchema.parse(JSON.parse(x)),
4297
+ `Failed to parse 'DeploymentStackStateResources' from JSON`,
4298
+ );
4299
+ }
4300
+
4301
+ /** @internal */
4302
+ export const DeploymentStackState$inboundSchema: z.ZodType<
4303
+ DeploymentStackState,
4304
+ unknown
4305
+ > = z.object({
4306
+ platform: DeploymentStackStatePlatform$inboundSchema,
4307
+ resourcePrefix: z.string(),
4308
+ resources: z.record(
4309
+ z.string(),
4310
+ z.lazy(() => DeploymentStackStateResources$inboundSchema),
4311
+ ),
4312
+ });
4313
+
4314
+ export function deploymentStackStateFromJSON(
4315
+ jsonString: string,
4316
+ ): SafeParseResult<DeploymentStackState, SDKValidationError> {
4317
+ return safeParse(
4318
+ jsonString,
4319
+ (x) => DeploymentStackState$inboundSchema.parse(JSON.parse(x)),
4320
+ `Failed to parse 'DeploymentStackState' from JSON`,
4321
+ );
4322
+ }
4323
+
4324
+ /** @internal */
4325
+ export const DeploymentCredentialRetryStatus$inboundSchema: z.ZodEnum<
4326
+ typeof DeploymentCredentialRetryStatus
4327
+ > = z.enum(DeploymentCredentialRetryStatus);
4328
+
4329
+ /** @internal */
4330
+ export const DeploymentCredentialRetry$inboundSchema: z.ZodType<
4331
+ DeploymentCredentialRetry,
4332
+ unknown
4333
+ > = z.object({
4334
+ startedAt: z.iso.datetime({ offset: true }).transform(v => new Date(v)),
4335
+ status: DeploymentCredentialRetryStatus$inboundSchema,
4336
+ });
4337
+
4338
+ export function deploymentCredentialRetryFromJSON(
4339
+ jsonString: string,
4340
+ ): SafeParseResult<DeploymentCredentialRetry, SDKValidationError> {
4341
+ return safeParse(
4342
+ jsonString,
4343
+ (x) => DeploymentCredentialRetry$inboundSchema.parse(JSON.parse(x)),
4344
+ `Failed to parse 'DeploymentCredentialRetry' from JSON`,
4345
+ );
4346
+ }
4347
+
4348
+ /** @internal */
4349
+ export const DeploymentCredentialRetryUnion$inboundSchema: z.ZodType<
4350
+ DeploymentCredentialRetryUnion,
4351
+ unknown
4352
+ > = z.union([
4353
+ z.lazy(() => DeploymentCredentialRetry$inboundSchema),
4354
+ z.string(),
4355
+ ]);
4356
+
4357
+ export function deploymentCredentialRetryUnionFromJSON(
4358
+ jsonString: string,
4359
+ ): SafeParseResult<DeploymentCredentialRetryUnion, SDKValidationError> {
4360
+ return safeParse(
4361
+ jsonString,
4362
+ (x) => DeploymentCredentialRetryUnion$inboundSchema.parse(JSON.parse(x)),
4363
+ `Failed to parse 'DeploymentCredentialRetryUnion' from JSON`,
4364
+ );
4365
+ }
4366
+
4367
+ /** @internal */
4368
+ export const DeploymentDeletionPolicy$inboundSchema: z.ZodEnum<
4369
+ typeof DeploymentDeletionPolicy
4370
+ > = z.enum(DeploymentDeletionPolicy);
4371
+
4372
+ /** @internal */
4373
+ export const DeploymentUnix$inboundSchema: z.ZodType<DeploymentUnix, unknown> =
4374
+ z.object({
4375
+ inline: z.string(),
4376
+ prompt: z.string(),
4377
+ });
4378
+
4379
+ export function deploymentUnixFromJSON(
4380
+ jsonString: string,
4381
+ ): SafeParseResult<DeploymentUnix, SDKValidationError> {
4382
+ return safeParse(
4383
+ jsonString,
4384
+ (x) => DeploymentUnix$inboundSchema.parse(JSON.parse(x)),
4385
+ `Failed to parse 'DeploymentUnix' from JSON`,
4386
+ );
4387
+ }
4388
+
4389
+ /** @internal */
4390
+ export const DeploymentWindows$inboundSchema: z.ZodType<
4391
+ DeploymentWindows,
4392
+ unknown
4393
+ > = z.object({
4394
+ inline: z.string(),
4395
+ prompt: z.string(),
4396
+ });
4397
+
4398
+ export function deploymentWindowsFromJSON(
4399
+ jsonString: string,
4400
+ ): SafeParseResult<DeploymentWindows, SDKValidationError> {
4401
+ return safeParse(
4402
+ jsonString,
4403
+ (x) => DeploymentWindows$inboundSchema.parse(JSON.parse(x)),
4404
+ `Failed to parse 'DeploymentWindows' from JSON`,
4405
+ );
4406
+ }
4407
+
4408
+ /** @internal */
4409
+ export const DeploymentCommands$inboundSchema: z.ZodType<
4410
+ DeploymentCommands,
4411
+ unknown
4412
+ > = z.object({
4413
+ checkCommand: z.nullable(z.string()).optional(),
4414
+ target: z.nullable(z.string()).optional(),
4415
+ unix: z.lazy(() => DeploymentUnix$inboundSchema),
4416
+ windows: z.lazy(() => DeploymentWindows$inboundSchema),
4417
+ });
4418
+
4419
+ export function deploymentCommandsFromJSON(
4420
+ jsonString: string,
4421
+ ): SafeParseResult<DeploymentCommands, SDKValidationError> {
4422
+ return safeParse(
4423
+ jsonString,
4424
+ (x) => DeploymentCommands$inboundSchema.parse(JSON.parse(x)),
4425
+ `Failed to parse 'DeploymentCommands' from JSON`,
4426
+ );
4427
+ }
4428
+
4429
+ /** @internal */
4430
+ export const DeploymentCommandsUnion$inboundSchema: z.ZodType<
4431
+ DeploymentCommandsUnion,
4432
+ unknown
4433
+ > = z.union([z.lazy(() => DeploymentCommands$inboundSchema), z.string()]);
4434
+
4435
+ export function deploymentCommandsUnionFromJSON(
4436
+ jsonString: string,
4437
+ ): SafeParseResult<DeploymentCommandsUnion, SDKValidationError> {
4438
+ return safeParse(
4439
+ jsonString,
4440
+ (x) => DeploymentCommandsUnion$inboundSchema.parse(JSON.parse(x)),
4441
+ `Failed to parse 'DeploymentCommandsUnion' from JSON`,
4442
+ );
4443
+ }
4444
+
4445
+ /** @internal */
4446
+ export const DeploymentStore$inboundSchema: z.ZodEnum<typeof DeploymentStore> =
4447
+ z.enum(DeploymentStore);
4448
+
4449
+ /** @internal */
4450
+ export const DeploymentLocation$inboundSchema: z.ZodType<
4451
+ DeploymentLocation,
4452
+ unknown
4453
+ > = z.object({
4454
+ cliCommand: z.string(),
4455
+ commands: z.nullable(
4456
+ z.union([z.lazy(() => DeploymentCommands$inboundSchema), z.string()]),
4457
+ ).optional(),
4458
+ consoleUrl: z.nullable(z.string()).optional(),
4459
+ deleteCommand: z.nullable(z.string()).optional(),
4460
+ name: z.string(),
4461
+ store: DeploymentStore$inboundSchema,
4462
+ vaultName: z.nullable(z.string()).optional(),
4463
+ });
4464
+
4465
+ export function deploymentLocationFromJSON(
4466
+ jsonString: string,
4467
+ ): SafeParseResult<DeploymentLocation, SDKValidationError> {
4468
+ return safeParse(
4469
+ jsonString,
4470
+ (x) => DeploymentLocation$inboundSchema.parse(JSON.parse(x)),
4471
+ `Failed to parse 'DeploymentLocation' from JSON`,
4472
+ );
4473
+ }
4474
+
4475
+ /** @internal */
4476
+ export const DeploymentDeployerSecretStatus$inboundSchema: z.ZodEnum<
4477
+ typeof DeploymentDeployerSecretStatus
4478
+ > = z.enum(DeploymentDeployerSecretStatus);
4479
+
4480
+ /** @internal */
4481
+ export const DeploymentDeployerSecret$inboundSchema: z.ZodType<
4482
+ DeploymentDeployerSecret,
4483
+ unknown
4484
+ > = z.object({
4485
+ inputId: z.string(),
4486
+ label: z.string(),
4487
+ location: z.lazy(() => DeploymentLocation$inboundSchema),
4488
+ message: z.nullable(z.string()).optional(),
4489
+ required: z.boolean(),
4490
+ status: DeploymentDeployerSecretStatus$inboundSchema,
4491
+ version: z.nullable(z.string()).optional(),
4492
+ });
4493
+
4494
+ export function deploymentDeployerSecretFromJSON(
4495
+ jsonString: string,
4496
+ ): SafeParseResult<DeploymentDeployerSecret, SDKValidationError> {
4497
+ return safeParse(
4498
+ jsonString,
4499
+ (x) => DeploymentDeployerSecret$inboundSchema.parse(JSON.parse(x)),
4500
+ `Failed to parse 'DeploymentDeployerSecret' from JSON`,
4501
+ );
4502
+ }
4503
+
4504
+ /** @internal */
4505
+ export const DeploymentInitialSetupAuthority$inboundSchema: z.ZodEnum<
4506
+ typeof DeploymentInitialSetupAuthority
4507
+ > = z.enum(DeploymentInitialSetupAuthority);
4508
+
4509
+ /** @internal */
4510
+ export const DeploymentPendingPreparedStackTypeStringList$inboundSchema:
4511
+ z.ZodEnum<typeof DeploymentPendingPreparedStackTypeStringList> = z.enum(
4512
+ DeploymentPendingPreparedStackTypeStringList,
4513
+ );