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