@alienplatform/platform-api 3.3.31 → 3.3.33

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