@alienplatform/platform-api 3.3.37 → 3.3.38

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