@alienplatform/platform-api 3.3.36 → 3.3.38

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