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