@alienplatform/platform-api 3.3.31 → 3.3.33

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