@alienplatform/platform-api 3.3.42 → 3.3.43

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