@alienplatform/platform-api 3.3.31 → 3.3.32

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