@alienplatform/platform-api 3.3.31 → 3.3.32

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