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