@alienplatform/platform-api 1.7.1 → 1.9.0

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 (497) hide show
  1. package/FUNCTIONS.md +3 -3
  2. package/README.md +20 -7
  3. package/esm/funcs/authWhoami.d.ts +2 -1
  4. package/esm/funcs/authWhoami.d.ts.map +1 -1
  5. package/esm/funcs/authWhoami.js +19 -5
  6. package/esm/funcs/authWhoami.js.map +1 -1
  7. package/esm/funcs/debugSessionsCreate.d.ts +16 -0
  8. package/esm/funcs/debugSessionsCreate.d.ts.map +1 -0
  9. package/esm/funcs/debugSessionsCreate.js +86 -0
  10. package/esm/funcs/debugSessionsCreate.js.map +1 -0
  11. package/esm/funcs/debugSessionsGet.d.ts +16 -0
  12. package/esm/funcs/debugSessionsGet.d.ts.map +1 -0
  13. package/esm/funcs/debugSessionsGet.js +89 -0
  14. package/esm/funcs/debugSessionsGet.js.map +1 -0
  15. package/esm/funcs/debugSessionsList.d.ts +16 -0
  16. package/esm/funcs/debugSessionsList.d.ts.map +1 -0
  17. package/esm/funcs/debugSessionsList.js +90 -0
  18. package/esm/funcs/debugSessionsList.js.map +1 -0
  19. package/esm/funcs/debugSessionsUpdate.d.ts +16 -0
  20. package/esm/funcs/debugSessionsUpdate.d.ts.map +1 -0
  21. package/esm/funcs/debugSessionsUpdate.js +92 -0
  22. package/esm/funcs/debugSessionsUpdate.js.map +1 -0
  23. package/esm/funcs/deploymentPlanCompute.d.ts +16 -0
  24. package/esm/funcs/deploymentPlanCompute.d.ts.map +1 -0
  25. package/esm/funcs/deploymentPlanCompute.js +84 -0
  26. package/esm/funcs/deploymentPlanCompute.js.map +1 -0
  27. package/esm/funcs/deploymentsList.js +3 -2
  28. package/esm/funcs/deploymentsList.js.map +1 -1
  29. package/esm/lib/config.d.ts +2 -2
  30. package/esm/lib/config.js +2 -2
  31. package/esm/models/commanddeploymentinfo.d.ts +1 -1
  32. package/esm/models/commanddeploymentinfo.d.ts.map +1 -1
  33. package/esm/models/commanddeploymentinfo.js +1 -1
  34. package/esm/models/commanddeploymentinfo.js.map +1 -1
  35. package/esm/models/createdebugsessionrequest.d.ts +27 -0
  36. package/esm/models/createdebugsessionrequest.d.ts.map +1 -0
  37. package/esm/models/createdebugsessionrequest.js +17 -0
  38. package/esm/models/createdebugsessionrequest.js.map +1 -0
  39. package/esm/models/createdeploymentgrouptokenrequest.d.ts +7 -0
  40. package/esm/models/createdeploymentgrouptokenrequest.d.ts.map +1 -1
  41. package/esm/models/createdeploymentgrouptokenrequest.js +3 -0
  42. package/esm/models/createdeploymentgrouptokenrequest.js.map +1 -1
  43. package/esm/models/createmanagerresponse.d.ts +196 -0
  44. package/esm/models/createmanagerresponse.d.ts.map +1 -1
  45. package/esm/models/createmanagerresponse.js +150 -0
  46. package/esm/models/createmanagerresponse.js.map +1 -1
  47. package/esm/models/createreleaserequest.d.ts +5 -5
  48. package/esm/models/createreleaserequest.d.ts.map +1 -1
  49. package/esm/models/createreleaserequest.js +2 -2
  50. package/esm/models/createreleaserequest.js.map +1 -1
  51. package/esm/models/createsetupregistrationoperationrequest.d.ts +95 -0
  52. package/esm/models/createsetupregistrationoperationrequest.d.ts.map +1 -1
  53. package/esm/models/createsetupregistrationoperationrequest.js +52 -0
  54. package/esm/models/createsetupregistrationoperationrequest.js.map +1 -1
  55. package/esm/models/debugpackagepresignedurls.d.ts +11 -0
  56. package/esm/models/debugpackagepresignedurls.d.ts.map +1 -0
  57. package/esm/models/debugpackagepresignedurls.js +14 -0
  58. package/esm/models/debugpackagepresignedurls.js.map +1 -0
  59. package/esm/models/debugsession.d.ts +74 -0
  60. package/esm/models/debugsession.d.ts.map +1 -0
  61. package/esm/models/debugsession.js +49 -0
  62. package/esm/models/debugsession.js.map +1 -0
  63. package/esm/models/debugsessionlistresponse.d.ts +21 -0
  64. package/esm/models/debugsessionlistresponse.d.ts.map +1 -0
  65. package/esm/models/debugsessionlistresponse.js +15 -0
  66. package/esm/models/debugsessionlistresponse.js.map +1 -0
  67. package/esm/models/debugsessionstate.d.ts +22 -0
  68. package/esm/models/debugsessionstate.d.ts.map +1 -0
  69. package/esm/models/debugsessionstate.js +20 -0
  70. package/esm/models/debugsessionstate.js.map +1 -0
  71. package/esm/models/deployment.d.ts +313 -4
  72. package/esm/models/deployment.d.ts.map +1 -1
  73. package/esm/models/deployment.js +214 -1
  74. package/esm/models/deployment.js.map +1 -1
  75. package/esm/models/deploymentcomputeplan.d.ts +165 -0
  76. package/esm/models/deploymentcomputeplan.d.ts.map +1 -0
  77. package/esm/models/deploymentcomputeplan.js +206 -0
  78. package/esm/models/deploymentcomputeplan.js.map +1 -0
  79. package/esm/models/deploymentconnectioninfo.d.ts +13 -3
  80. package/esm/models/deploymentconnectioninfo.d.ts.map +1 -1
  81. package/esm/models/deploymentconnectioninfo.js +10 -1
  82. package/esm/models/deploymentconnectioninfo.js.map +1 -1
  83. package/esm/models/deploymentdetailresponse.d.ts +313 -4
  84. package/esm/models/deploymentdetailresponse.d.ts.map +1 -1
  85. package/esm/models/deploymentdetailresponse.js +224 -1
  86. package/esm/models/deploymentdetailresponse.js.map +1 -1
  87. package/esm/models/deploymentinfo.d.ts +18 -1
  88. package/esm/models/deploymentinfo.d.ts.map +1 -1
  89. package/esm/models/deploymentinfo.js +12 -0
  90. package/esm/models/deploymentinfo.js.map +1 -1
  91. package/esm/models/deploymentinfosetupconfig.d.ts +248 -0
  92. package/esm/models/deploymentinfosetupconfig.d.ts.map +1 -1
  93. package/esm/models/deploymentinfosetupconfig.js +176 -0
  94. package/esm/models/deploymentinfosetupconfig.js.map +1 -1
  95. package/esm/models/deploymentlistitemresponse.d.ts +1 -1
  96. package/esm/models/deploymentlistitemresponse.d.ts.map +1 -1
  97. package/esm/models/deploymentlistitemresponse.js +1 -1
  98. package/esm/models/deploymentlistitemresponse.js.map +1 -1
  99. package/esm/models/deploymentsetupconfig.d.ts +7 -0
  100. package/esm/models/deploymentsetupconfig.d.ts.map +1 -1
  101. package/esm/models/deploymentsetupconfig.js +3 -0
  102. package/esm/models/deploymentsetupconfig.js.map +1 -1
  103. package/esm/models/deploymentsetupstacksettingspolicy.d.ts +103 -0
  104. package/esm/models/deploymentsetupstacksettingspolicy.d.ts.map +1 -1
  105. package/esm/models/deploymentsetupstacksettingspolicy.js +99 -0
  106. package/esm/models/deploymentsetupstacksettingspolicy.js.map +1 -1
  107. package/esm/models/encryptedstackinputvalue.d.ts +42 -0
  108. package/esm/models/encryptedstackinputvalue.d.ts.map +1 -0
  109. package/esm/models/encryptedstackinputvalue.js +37 -0
  110. package/esm/models/encryptedstackinputvalue.js.map +1 -0
  111. package/esm/models/forwardimportrequest.d.ts +7 -3
  112. package/esm/models/forwardimportrequest.d.ts.map +1 -1
  113. package/esm/models/forwardimportrequest.js +3 -0
  114. package/esm/models/forwardimportrequest.js.map +1 -1
  115. package/esm/models/importsource.d.ts +88 -0
  116. package/esm/models/importsource.d.ts.map +1 -1
  117. package/esm/models/importsource.js +43 -0
  118. package/esm/models/importsource.js.map +1 -1
  119. package/esm/models/index.d.ts +11 -0
  120. package/esm/models/index.d.ts.map +1 -1
  121. package/esm/models/index.js +11 -0
  122. package/esm/models/index.js.map +1 -1
  123. package/esm/models/managerretryresponse.d.ts +196 -0
  124. package/esm/models/managerretryresponse.d.ts.map +1 -1
  125. package/esm/models/managerretryresponse.js +150 -0
  126. package/esm/models/managerretryresponse.js.map +1 -1
  127. package/esm/models/newdeploymentrequest.d.ts +100 -5
  128. package/esm/models/newdeploymentrequest.d.ts.map +1 -1
  129. package/esm/models/newdeploymentrequest.js +53 -1
  130. package/esm/models/newdeploymentrequest.js.map +1 -1
  131. package/esm/models/operations/addworkspacemember.d.ts +1 -1
  132. package/esm/models/operations/cancelmanagersetup.d.ts +1 -1
  133. package/esm/models/operations/cancelpackage.d.ts +1 -1
  134. package/esm/models/operations/createapikey.d.ts +1 -1
  135. package/esm/models/operations/createcommand.d.ts +1 -1
  136. package/esm/models/operations/createdebugsession.d.ts +18 -0
  137. package/esm/models/operations/createdebugsession.d.ts.map +1 -0
  138. package/esm/models/operations/createdebugsession.js +20 -0
  139. package/esm/models/operations/createdebugsession.js.map +1 -0
  140. package/esm/models/operations/createdeployment.d.ts +1 -1
  141. package/esm/models/operations/createdeploymentgroup.d.ts +1 -1
  142. package/esm/models/operations/createdeploymentgrouptoken.d.ts +1 -1
  143. package/esm/models/operations/createdeploymenttoken.d.ts +1 -1
  144. package/esm/models/operations/createdomain.d.ts +1 -1
  145. package/esm/models/operations/createdomainendpoint.d.ts +1 -1
  146. package/esm/models/operations/createmanager.d.ts +1 -1
  147. package/esm/models/operations/createproject.d.ts +3 -3
  148. package/esm/models/operations/createprojectfromtemplate.d.ts +3 -3
  149. package/esm/models/operations/createrelease.d.ts +1 -1
  150. package/esm/models/operations/createsetupregistrationoperation.d.ts +1 -1
  151. package/esm/models/operations/deleteapikeys.d.ts +1 -1
  152. package/esm/models/operations/deletedeployment.d.ts +1 -1
  153. package/esm/models/operations/deletedeploymentgroup.d.ts +1 -1
  154. package/esm/models/operations/deletedomain.d.ts +1 -1
  155. package/esm/models/operations/deletemanager.d.ts +1 -1
  156. package/esm/models/operations/deleteproject.d.ts +1 -1
  157. package/esm/models/operations/deleteworkspace.d.ts +1 -1
  158. package/esm/models/operations/dismissworkspaceonboarding.d.ts +1 -1
  159. package/esm/models/operations/generatemanagertoken.d.ts +1 -1
  160. package/esm/models/operations/getapikey.d.ts +1 -1
  161. package/esm/models/operations/getcloudregions.d.ts +1 -1
  162. package/esm/models/operations/getcommand.d.ts +1 -1
  163. package/esm/models/operations/getdebugsession.d.ts +20 -0
  164. package/esm/models/operations/getdebugsession.d.ts.map +1 -0
  165. package/esm/models/operations/getdebugsession.js +13 -0
  166. package/esm/models/operations/getdebugsession.js.map +1 -0
  167. package/esm/models/operations/getdeployment.d.ts +1 -1
  168. package/esm/models/operations/getdeploymentconnectioninfo.d.ts +1 -1
  169. package/esm/models/operations/getdeploymentgroup.d.ts +1 -1
  170. package/esm/models/operations/getdeploymentinfo.d.ts +1 -1
  171. package/esm/models/operations/getdeploymentstats.d.ts +1 -1
  172. package/esm/models/operations/getdomain.d.ts +1 -1
  173. package/esm/models/operations/getevent.d.ts +1 -1
  174. package/esm/models/operations/getmanager.d.ts +1 -1
  175. package/esm/models/operations/getmanagerdeployment.d.ts +1 -1
  176. package/esm/models/operations/getmanagerdomainbinding.d.ts +1 -1
  177. package/esm/models/operations/getmanagermanagementconfig.d.ts +1 -1
  178. package/esm/models/operations/getpackage.d.ts +1 -1
  179. package/esm/models/operations/getproject.d.ts +1 -1
  180. package/esm/models/operations/getprojectactiverelease.d.ts +1 -1
  181. package/esm/models/operations/getprojectdeploymentportaldomain.d.ts +1 -1
  182. package/esm/models/operations/getprojectgcpoauthprovider.d.ts +1 -1
  183. package/esm/models/operations/getprojecttemplateurls.d.ts +1 -1
  184. package/esm/models/operations/getrelease.d.ts +1 -1
  185. package/esm/models/operations/getresourcedeploymentdetail.d.ts +1 -1
  186. package/esm/models/operations/getsetupregistrationoperation.d.ts +1 -1
  187. package/esm/models/operations/getworkspace.d.ts +1 -1
  188. package/esm/models/operations/getworkspacebillingentitlements.d.ts +1 -1
  189. package/esm/models/operations/importdeployment.d.ts +1 -1
  190. package/esm/models/operations/index.d.ts +6 -0
  191. package/esm/models/operations/index.d.ts.map +1 -1
  192. package/esm/models/operations/index.js +6 -0
  193. package/esm/models/operations/index.js.map +1 -1
  194. package/esm/models/operations/listapikeys.d.ts +1 -1
  195. package/esm/models/operations/listbillingauditlog.d.ts +1 -1
  196. package/esm/models/operations/listcommanddeployments.d.ts +1 -1
  197. package/esm/models/operations/listcommandnames.d.ts +1 -1
  198. package/esm/models/operations/listcommands.d.ts +1 -1
  199. package/esm/models/operations/listdebugsessions.d.ts +82 -0
  200. package/esm/models/operations/listdebugsessions.d.ts.map +1 -0
  201. package/esm/models/operations/listdebugsessions.js +42 -0
  202. package/esm/models/operations/listdebugsessions.js.map +1 -0
  203. package/esm/models/operations/listdeploymentfilterdeploymentgroups.d.ts +1 -1
  204. package/esm/models/operations/listdeploymentfilterenvironments.d.ts +1 -1
  205. package/esm/models/operations/listdeploymentgroups.d.ts +1 -1
  206. package/esm/models/operations/listdeployments.d.ts +6 -1
  207. package/esm/models/operations/listdeployments.d.ts.map +1 -1
  208. package/esm/models/operations/listdeployments.js +1 -0
  209. package/esm/models/operations/listdeployments.js.map +1 -1
  210. package/esm/models/operations/listdomains.d.ts +1 -1
  211. package/esm/models/operations/listevents.d.ts +1 -1
  212. package/esm/models/operations/listmanagerevents.d.ts +1 -1
  213. package/esm/models/operations/listmanagers.d.ts +1 -1
  214. package/esm/models/operations/listpackages.d.ts +1 -1
  215. package/esm/models/operations/listprojects.d.ts +1 -1
  216. package/esm/models/operations/listreleaseauthors.d.ts +1 -1
  217. package/esm/models/operations/listreleasebranches.d.ts +1 -1
  218. package/esm/models/operations/listreleases.d.ts +1 -1
  219. package/esm/models/operations/listresourcedeployments.d.ts +1 -1
  220. package/esm/models/operations/listresourceoverview.d.ts +1 -1
  221. package/esm/models/operations/listworkspacemembers.d.ts +1 -1
  222. package/esm/models/operations/listworkspaces.d.ts +1 -1
  223. package/esm/models/operations/pindeploymentrelease.d.ts +1 -1
  224. package/esm/models/operations/plandeploymentcompute.d.ts +1470 -0
  225. package/esm/models/operations/plandeploymentcompute.d.ts.map +1 -0
  226. package/esm/models/operations/plandeploymentcompute.js +897 -0
  227. package/esm/models/operations/plandeploymentcompute.js.map +1 -0
  228. package/esm/models/operations/preparedeploymentstack.d.ts +435 -407
  229. package/esm/models/operations/preparedeploymentstack.d.ts.map +1 -1
  230. package/esm/models/operations/preparedeploymentstack.js +401 -352
  231. package/esm/models/operations/preparedeploymentstack.js.map +1 -1
  232. package/esm/models/operations/provisionmanager.d.ts +1 -1
  233. package/esm/models/operations/rebuildpackages.d.ts +1 -1
  234. package/esm/models/operations/redeploydeployment.d.ts +1 -1
  235. package/esm/models/operations/refreshdomain.d.ts +1 -1
  236. package/esm/models/operations/removeworkspacemember.d.ts +1 -1
  237. package/esm/models/operations/reportmanagerheartbeat.d.ts +1 -1
  238. package/esm/models/operations/resolve.d.ts +1 -1
  239. package/esm/models/operations/resolvemanagergcpoauthprovider.d.ts +1 -1
  240. package/esm/models/operations/retrydeployment.d.ts +1 -1
  241. package/esm/models/operations/retrymanager.d.ts +1 -1
  242. package/esm/models/operations/retrymanagersetup.d.ts +1 -1
  243. package/esm/models/operations/revokeapikey.d.ts +1 -1
  244. package/esm/models/operations/syncacquire.d.ts +1 -1
  245. package/esm/models/operations/synclist.d.ts +1 -1
  246. package/esm/models/operations/syncreconcile.d.ts +1 -1
  247. package/esm/models/operations/syncrelease.d.ts +1 -1
  248. package/esm/models/operations/updateapikey.d.ts +1 -1
  249. package/esm/models/operations/updatecommand.d.ts +1 -1
  250. package/esm/models/operations/updatedebugsession.d.ts +23 -0
  251. package/esm/models/operations/updatedebugsession.d.ts.map +1 -0
  252. package/esm/models/operations/updatedebugsession.js +21 -0
  253. package/esm/models/operations/updatedebugsession.js.map +1 -0
  254. package/esm/models/operations/updatedeploymentenvironmentvariables.d.ts +1 -1
  255. package/esm/models/operations/updatedeploymentgroup.d.ts +1 -1
  256. package/esm/models/operations/updatemanager.d.ts +1 -1
  257. package/esm/models/operations/updatemanagerdomainbinding.d.ts +1 -1
  258. package/esm/models/operations/updateproject.d.ts +1 -1
  259. package/esm/models/operations/updateprojectgcpoauthprovider.d.ts +1 -1
  260. package/esm/models/operations/updateworkspace.d.ts +1 -1
  261. package/esm/models/operations/updateworkspacemember.d.ts +1 -1
  262. package/esm/models/operations/whoami.d.ts +15 -0
  263. package/esm/models/operations/whoami.d.ts.map +1 -0
  264. package/esm/models/operations/whoami.js +12 -0
  265. package/esm/models/operations/whoami.js.map +1 -0
  266. package/esm/models/package.d.ts +1 -1
  267. package/esm/models/persistimporteddeploymentrequest.d.ts +402 -0
  268. package/esm/models/persistimporteddeploymentrequest.d.ts.map +1 -1
  269. package/esm/models/persistimporteddeploymentrequest.js +232 -0
  270. package/esm/models/persistimporteddeploymentrequest.js.map +1 -1
  271. package/esm/models/prepareddeploymentstack.d.ts +248 -0
  272. package/esm/models/prepareddeploymentstack.d.ts.map +1 -1
  273. package/esm/models/prepareddeploymentstack.js +174 -0
  274. package/esm/models/prepareddeploymentstack.js.map +1 -1
  275. package/esm/models/project.d.ts +1 -1
  276. package/esm/models/projectlistitemresponse.d.ts +1 -1
  277. package/esm/models/resolvedstackinputsummary.d.ts +23 -0
  278. package/esm/models/resolvedstackinputsummary.d.ts.map +1 -0
  279. package/esm/models/resolvedstackinputsummary.js +24 -0
  280. package/esm/models/resolvedstackinputsummary.js.map +1 -0
  281. package/esm/models/stackinputvaluerequest.d.ts +8 -0
  282. package/esm/models/stackinputvaluerequest.d.ts.map +1 -0
  283. package/esm/models/stackinputvaluerequest.js +10 -0
  284. package/esm/models/stackinputvaluerequest.js.map +1 -0
  285. package/esm/models/syncacquireresponse.d.ts +916 -18
  286. package/esm/models/syncacquireresponse.d.ts.map +1 -1
  287. package/esm/models/syncacquireresponse.js +628 -1
  288. package/esm/models/syncacquireresponse.js.map +1 -1
  289. package/esm/models/synclistresponse.d.ts +313 -4
  290. package/esm/models/synclistresponse.d.ts.map +1 -1
  291. package/esm/models/synclistresponse.js +210 -1
  292. package/esm/models/synclistresponse.js.map +1 -1
  293. package/esm/models/syncreconcilerequest.d.ts +921 -0
  294. package/esm/models/syncreconcilerequest.d.ts.map +1 -1
  295. package/esm/models/syncreconcilerequest.js +534 -0
  296. package/esm/models/syncreconcilerequest.js.map +1 -1
  297. package/esm/models/syncreconcileresponse.d.ts +1318 -174
  298. package/esm/models/syncreconcileresponse.d.ts.map +1 -1
  299. package/esm/models/syncreconcileresponse.js +901 -91
  300. package/esm/models/syncreconcileresponse.js.map +1 -1
  301. package/esm/models/updateapikeyrequest.d.ts +11 -0
  302. package/esm/models/updateapikeyrequest.d.ts.map +1 -1
  303. package/esm/models/updateapikeyrequest.js +3 -0
  304. package/esm/models/updateapikeyrequest.js.map +1 -1
  305. package/esm/models/updatedebugsessionrequest.d.ts +21 -0
  306. package/esm/models/updatedebugsessionrequest.d.ts.map +1 -0
  307. package/esm/models/updatedebugsessionrequest.js +15 -0
  308. package/esm/models/updatedebugsessionrequest.js.map +1 -0
  309. package/esm/models/updatedeploymentsetuppolicy.d.ts +22 -0
  310. package/esm/models/updatedeploymentsetuppolicy.d.ts.map +1 -0
  311. package/esm/models/updatedeploymentsetuppolicy.js +14 -0
  312. package/esm/models/updatedeploymentsetuppolicy.js.map +1 -0
  313. package/esm/models/updateproject.d.ts +1 -1
  314. package/esm/sdk/auth.d.ts +2 -1
  315. package/esm/sdk/auth.d.ts.map +1 -1
  316. package/esm/sdk/auth.js +2 -2
  317. package/esm/sdk/auth.js.map +1 -1
  318. package/esm/sdk/debugsessions.d.ts +22 -0
  319. package/esm/sdk/debugsessions.d.ts.map +1 -0
  320. package/esm/sdk/debugsessions.js +36 -0
  321. package/esm/sdk/debugsessions.js.map +1 -0
  322. package/esm/sdk/deployment.d.ts +4 -0
  323. package/esm/sdk/deployment.d.ts.map +1 -1
  324. package/esm/sdk/deployment.js +7 -0
  325. package/esm/sdk/deployment.js.map +1 -1
  326. package/esm/sdk/sdk.d.ts +3 -0
  327. package/esm/sdk/sdk.d.ts.map +1 -1
  328. package/esm/sdk/sdk.js +4 -0
  329. package/esm/sdk/sdk.js.map +1 -1
  330. package/esm/sdk/user.d.ts +4 -4
  331. package/esm/sdk/user.d.ts.map +1 -1
  332. package/esm/sdk/user.js +6 -6
  333. package/esm/sdk/user.js.map +1 -1
  334. package/examples/{userGetProfile.example.ts → userListMemberships.example.ts} +2 -2
  335. package/jsr.json +1 -1
  336. package/package.json +1 -1
  337. package/src/funcs/authWhoami.ts +25 -2
  338. package/src/funcs/debugSessionsCreate.ts +178 -0
  339. package/src/funcs/debugSessionsGet.ts +179 -0
  340. package/src/funcs/debugSessionsList.ts +181 -0
  341. package/src/funcs/debugSessionsUpdate.ts +182 -0
  342. package/src/funcs/deploymentPlanCompute.ts +176 -0
  343. package/src/funcs/deploymentsList.ts +3 -1
  344. package/src/lib/config.ts +2 -2
  345. package/src/models/commanddeploymentinfo.ts +2 -2
  346. package/src/models/createdebugsessionrequest.ts +52 -0
  347. package/src/models/createdeploymentgrouptokenrequest.ts +9 -0
  348. package/src/models/createmanagerresponse.ts +520 -0
  349. package/src/models/createreleaserequest.ts +7 -7
  350. package/src/models/createsetupregistrationoperationrequest.ts +241 -0
  351. package/src/models/debugpackagepresignedurls.ts +32 -0
  352. package/src/models/debugsession.ts +118 -0
  353. package/src/models/debugsessionlistresponse.ts +42 -0
  354. package/src/models/debugsessionstate.ts +31 -0
  355. package/src/models/deployment.ts +651 -5
  356. package/src/models/deploymentcomputeplan.ts +500 -0
  357. package/src/models/deploymentconnectioninfo.ts +33 -4
  358. package/src/models/deploymentdetailresponse.ts +715 -5
  359. package/src/models/deploymentinfo.ts +37 -1
  360. package/src/models/deploymentinfosetupconfig.ts +544 -0
  361. package/src/models/deploymentlistitemresponse.ts +2 -2
  362. package/src/models/deploymentsetupconfig.ts +9 -0
  363. package/src/models/deploymentsetupstacksettingspolicy.ts +350 -0
  364. package/src/models/encryptedstackinputvalue.ts +86 -0
  365. package/src/models/forwardimportrequest.ts +9 -3
  366. package/src/models/importsource.ts +184 -0
  367. package/src/models/index.ts +11 -0
  368. package/src/models/managerretryresponse.ts +517 -0
  369. package/src/models/newdeploymentrequest.ts +219 -6
  370. package/src/models/operations/addworkspacemember.ts +1 -1
  371. package/src/models/operations/cancelmanagersetup.ts +1 -1
  372. package/src/models/operations/cancelpackage.ts +1 -1
  373. package/src/models/operations/createapikey.ts +1 -1
  374. package/src/models/operations/createcommand.ts +1 -1
  375. package/src/models/operations/createdebugsession.ts +45 -0
  376. package/src/models/operations/createdeployment.ts +1 -1
  377. package/src/models/operations/createdeploymentgroup.ts +1 -1
  378. package/src/models/operations/createdeploymentgrouptoken.ts +1 -1
  379. package/src/models/operations/createdeploymenttoken.ts +1 -1
  380. package/src/models/operations/createdomain.ts +1 -1
  381. package/src/models/operations/createdomainendpoint.ts +1 -1
  382. package/src/models/operations/createmanager.ts +1 -1
  383. package/src/models/operations/createproject.ts +3 -3
  384. package/src/models/operations/createprojectfromtemplate.ts +3 -3
  385. package/src/models/operations/createrelease.ts +1 -1
  386. package/src/models/operations/createsetupregistrationoperation.ts +1 -1
  387. package/src/models/operations/deleteapikeys.ts +1 -1
  388. package/src/models/operations/deletedeployment.ts +1 -1
  389. package/src/models/operations/deletedeploymentgroup.ts +1 -1
  390. package/src/models/operations/deletedomain.ts +1 -1
  391. package/src/models/operations/deletemanager.ts +1 -1
  392. package/src/models/operations/deleteproject.ts +1 -1
  393. package/src/models/operations/deleteworkspace.ts +1 -1
  394. package/src/models/operations/dismissworkspaceonboarding.ts +1 -1
  395. package/src/models/operations/generatemanagertoken.ts +1 -1
  396. package/src/models/operations/getapikey.ts +1 -1
  397. package/src/models/operations/getcloudregions.ts +1 -1
  398. package/src/models/operations/getcommand.ts +1 -1
  399. package/src/models/operations/getdebugsession.ts +39 -0
  400. package/src/models/operations/getdeployment.ts +1 -1
  401. package/src/models/operations/getdeploymentconnectioninfo.ts +1 -1
  402. package/src/models/operations/getdeploymentgroup.ts +1 -1
  403. package/src/models/operations/getdeploymentinfo.ts +1 -1
  404. package/src/models/operations/getdeploymentstats.ts +1 -1
  405. package/src/models/operations/getdomain.ts +1 -1
  406. package/src/models/operations/getevent.ts +1 -1
  407. package/src/models/operations/getmanager.ts +1 -1
  408. package/src/models/operations/getmanagerdeployment.ts +1 -1
  409. package/src/models/operations/getmanagerdomainbinding.ts +1 -1
  410. package/src/models/operations/getmanagermanagementconfig.ts +1 -1
  411. package/src/models/operations/getpackage.ts +1 -1
  412. package/src/models/operations/getproject.ts +1 -1
  413. package/src/models/operations/getprojectactiverelease.ts +1 -1
  414. package/src/models/operations/getprojectdeploymentportaldomain.ts +1 -1
  415. package/src/models/operations/getprojectgcpoauthprovider.ts +1 -1
  416. package/src/models/operations/getprojecttemplateurls.ts +1 -1
  417. package/src/models/operations/getrelease.ts +1 -1
  418. package/src/models/operations/getresourcedeploymentdetail.ts +1 -1
  419. package/src/models/operations/getsetupregistrationoperation.ts +1 -1
  420. package/src/models/operations/getworkspace.ts +1 -1
  421. package/src/models/operations/getworkspacebillingentitlements.ts +1 -1
  422. package/src/models/operations/importdeployment.ts +1 -1
  423. package/src/models/operations/index.ts +6 -0
  424. package/src/models/operations/listapikeys.ts +1 -1
  425. package/src/models/operations/listbillingauditlog.ts +1 -1
  426. package/src/models/operations/listcommanddeployments.ts +1 -1
  427. package/src/models/operations/listcommandnames.ts +1 -1
  428. package/src/models/operations/listcommands.ts +1 -1
  429. package/src/models/operations/listdebugsessions.ts +117 -0
  430. package/src/models/operations/listdeploymentfilterdeploymentgroups.ts +1 -1
  431. package/src/models/operations/listdeploymentfilterenvironments.ts +1 -1
  432. package/src/models/operations/listdeploymentgroups.ts +1 -1
  433. package/src/models/operations/listdeployments.ts +7 -1
  434. package/src/models/operations/listdomains.ts +1 -1
  435. package/src/models/operations/listevents.ts +1 -1
  436. package/src/models/operations/listmanagerevents.ts +1 -1
  437. package/src/models/operations/listmanagers.ts +1 -1
  438. package/src/models/operations/listpackages.ts +1 -1
  439. package/src/models/operations/listprojects.ts +1 -1
  440. package/src/models/operations/listreleaseauthors.ts +1 -1
  441. package/src/models/operations/listreleasebranches.ts +1 -1
  442. package/src/models/operations/listreleases.ts +1 -1
  443. package/src/models/operations/listresourcedeployments.ts +1 -1
  444. package/src/models/operations/listresourceoverview.ts +1 -1
  445. package/src/models/operations/listworkspacemembers.ts +1 -1
  446. package/src/models/operations/listworkspaces.ts +1 -1
  447. package/src/models/operations/pindeploymentrelease.ts +1 -1
  448. package/src/models/operations/plandeploymentcompute.ts +3412 -0
  449. package/src/models/operations/preparedeploymentstack.ts +1656 -1063
  450. package/src/models/operations/provisionmanager.ts +1 -1
  451. package/src/models/operations/rebuildpackages.ts +1 -1
  452. package/src/models/operations/redeploydeployment.ts +1 -1
  453. package/src/models/operations/refreshdomain.ts +1 -1
  454. package/src/models/operations/removeworkspacemember.ts +1 -1
  455. package/src/models/operations/reportmanagerheartbeat.ts +1 -1
  456. package/src/models/operations/resolve.ts +1 -1
  457. package/src/models/operations/resolvemanagergcpoauthprovider.ts +1 -1
  458. package/src/models/operations/retrydeployment.ts +1 -1
  459. package/src/models/operations/retrymanager.ts +1 -1
  460. package/src/models/operations/retrymanagersetup.ts +1 -1
  461. package/src/models/operations/revokeapikey.ts +1 -1
  462. package/src/models/operations/syncacquire.ts +1 -1
  463. package/src/models/operations/synclist.ts +1 -1
  464. package/src/models/operations/syncreconcile.ts +1 -1
  465. package/src/models/operations/syncrelease.ts +1 -1
  466. package/src/models/operations/updateapikey.ts +1 -1
  467. package/src/models/operations/updatecommand.ts +1 -1
  468. package/src/models/operations/updatedebugsession.ts +51 -0
  469. package/src/models/operations/updatedeploymentenvironmentvariables.ts +1 -1
  470. package/src/models/operations/updatedeploymentgroup.ts +1 -1
  471. package/src/models/operations/updatemanager.ts +1 -1
  472. package/src/models/operations/updatemanagerdomainbinding.ts +1 -1
  473. package/src/models/operations/updateproject.ts +1 -1
  474. package/src/models/operations/updateprojectgcpoauthprovider.ts +1 -1
  475. package/src/models/operations/updateworkspace.ts +1 -1
  476. package/src/models/operations/updateworkspacemember.ts +1 -1
  477. package/src/models/operations/whoami.ts +29 -0
  478. package/src/models/package.ts +1 -1
  479. package/src/models/persistimporteddeploymentrequest.ts +884 -0
  480. package/src/models/prepareddeploymentstack.ts +530 -0
  481. package/src/models/project.ts +1 -1
  482. package/src/models/projectlistitemresponse.ts +1 -1
  483. package/src/models/resolvedstackinputsummary.ts +54 -0
  484. package/src/models/stackinputvaluerequest.ts +28 -0
  485. package/src/models/syncacquireresponse.ts +2216 -154
  486. package/src/models/synclistresponse.ts +666 -5
  487. package/src/models/syncreconcilerequest.ts +2059 -82
  488. package/src/models/syncreconcileresponse.ts +2978 -444
  489. package/src/models/updateapikeyrequest.ts +17 -0
  490. package/src/models/updatedebugsessionrequest.ts +40 -0
  491. package/src/models/updatedeploymentsetuppolicy.ts +43 -0
  492. package/src/models/updateproject.ts +1 -1
  493. package/src/sdk/auth.ts +3 -0
  494. package/src/sdk/debugsessions.ts +70 -0
  495. package/src/sdk/deployment.ts +15 -0
  496. package/src/sdk/sdk.ts +6 -0
  497. package/src/sdk/user.ts +12 -12
@@ -0,0 +1,3412 @@
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 { ClosedEnum } from "../../types/enums.js";
8
+ import * as models from "../index.js";
9
+
10
+ export const PlanDeploymentComputePlatform = {
11
+ Aws: "aws",
12
+ Gcp: "gcp",
13
+ Azure: "azure",
14
+ } as const;
15
+ export type PlanDeploymentComputePlatform = ClosedEnum<
16
+ typeof PlanDeploymentComputePlatform
17
+ >;
18
+
19
+ export type PlanDeploymentComputePoolsAutoscale = {
20
+ mode: "autoscale";
21
+ min: number;
22
+ max: number;
23
+ machine?: string | undefined;
24
+ };
25
+
26
+ export type PlanDeploymentComputePoolsFixed = {
27
+ mode: "fixed";
28
+ machines: number;
29
+ machine?: string | undefined;
30
+ };
31
+
32
+ export type PlanDeploymentComputePoolsUnion =
33
+ | PlanDeploymentComputePoolsFixed
34
+ | PlanDeploymentComputePoolsAutoscale;
35
+
36
+ export type PlanDeploymentComputeCompute = {
37
+ pools?: {
38
+ [k: string]:
39
+ | PlanDeploymentComputePoolsFixed
40
+ | PlanDeploymentComputePoolsAutoscale;
41
+ } | undefined;
42
+ };
43
+
44
+ /**
45
+ * Deployment model: how updates are delivered to the remote environment.
46
+ */
47
+ export const PlanDeploymentComputeDeploymentModel = {
48
+ Push: "push",
49
+ Pull: "pull",
50
+ } as const;
51
+ /**
52
+ * Deployment model: how updates are delivered to the remote environment.
53
+ */
54
+ export type PlanDeploymentComputeDeploymentModel = ClosedEnum<
55
+ typeof PlanDeploymentComputeDeploymentModel
56
+ >;
57
+
58
+ export type PlanDeploymentComputeAws = {
59
+ certificateArn: string;
60
+ };
61
+
62
+ export type PlanDeploymentComputeAwsUnion = PlanDeploymentComputeAws | any;
63
+
64
+ export type PlanDeploymentComputeAzure = {
65
+ keyVaultCertificateId: string;
66
+ keyVaultResourceId?: string | null | undefined;
67
+ };
68
+
69
+ export type PlanDeploymentComputeAzureUnion = PlanDeploymentComputeAzure | any;
70
+
71
+ export type PlanDeploymentComputeGcp = {
72
+ certificateName: string;
73
+ };
74
+
75
+ export type PlanDeploymentComputeGcpUnion = PlanDeploymentComputeGcp | any;
76
+
77
+ /**
78
+ * Namespace-scoped Kubernetes TLS Secret reference.
79
+ */
80
+ export type PlanDeploymentComputeTlsSecretRef = {
81
+ /**
82
+ * Secret namespace. Defaults to the release namespace when omitted.
83
+ */
84
+ namespace?: string | null | undefined;
85
+ /**
86
+ * Secret name.
87
+ */
88
+ secretName: string;
89
+ };
90
+
91
+ export type PlanDeploymentComputeDomainsKubernetes = {
92
+ /**
93
+ * Namespace-scoped Kubernetes TLS Secret reference.
94
+ */
95
+ tlsSecretRef: PlanDeploymentComputeTlsSecretRef;
96
+ };
97
+
98
+ export type PlanDeploymentComputeDomainsKubernetesUnion =
99
+ | PlanDeploymentComputeDomainsKubernetes
100
+ | any;
101
+
102
+ /**
103
+ * Platform-specific certificate references for custom domains.
104
+ */
105
+ export type PlanDeploymentComputeDomainsCertificate = {
106
+ aws?: PlanDeploymentComputeAws | any | null | undefined;
107
+ azure?: PlanDeploymentComputeAzure | any | null | undefined;
108
+ gcp?: PlanDeploymentComputeGcp | any | null | undefined;
109
+ kubernetes?: PlanDeploymentComputeDomainsKubernetes | any | null | undefined;
110
+ };
111
+
112
+ /**
113
+ * Custom domain configuration for a single resource.
114
+ */
115
+ export type PlanDeploymentComputeCustomDomains = {
116
+ /**
117
+ * Platform-specific certificate references for custom domains.
118
+ */
119
+ certificate: PlanDeploymentComputeDomainsCertificate;
120
+ /**
121
+ * Fully qualified domain name to use.
122
+ */
123
+ domain: string;
124
+ };
125
+
126
+ /**
127
+ * Domain configuration for the stack.
128
+ *
129
+ * @remarks
130
+ *
131
+ * When `custom_domains` is set, the specified resources use customer-provided
132
+ * domains and certificates. Otherwise, Alien auto-generates domains.
133
+ */
134
+ export type PlanDeploymentComputeDomains = {
135
+ /**
136
+ * Custom domain configuration per resource ID.
137
+ */
138
+ customDomains?:
139
+ | { [k: string]: PlanDeploymentComputeCustomDomains }
140
+ | null
141
+ | undefined;
142
+ };
143
+
144
+ export type PlanDeploymentComputeDomainsUnion =
145
+ | PlanDeploymentComputeDomains
146
+ | any;
147
+
148
+ /**
149
+ * External bindings for pre-existing infrastructure.
150
+ *
151
+ * @remarks
152
+ * Allows using existing resources (MinIO, Redis, shared Container Apps
153
+ * Environment, etc.) instead of having Alien provision them.
154
+ * Required for Kubernetes platform, optional for cloud platforms.
155
+ */
156
+ export type PlanDeploymentComputeExternalBindings = {};
157
+
158
+ /**
159
+ * How heartbeat health checks are handled.
160
+ */
161
+ export const PlanDeploymentComputeHeartbeats = {
162
+ Off: "off",
163
+ On: "on",
164
+ } as const;
165
+ /**
166
+ * How heartbeat health checks are handled.
167
+ */
168
+ export type PlanDeploymentComputeHeartbeats = ClosedEnum<
169
+ typeof PlanDeploymentComputeHeartbeats
170
+ >;
171
+
172
+ /**
173
+ * Optional provider-specific identity for a cloud-backed Kubernetes cluster.
174
+ */
175
+ export type PlanDeploymentComputeCloud = {
176
+ accountId?: string | null | undefined;
177
+ clusterId?: string | null | undefined;
178
+ clusterName?: string | null | undefined;
179
+ projectId?: string | null | undefined;
180
+ region?: string | null | undefined;
181
+ resourceGroup?: string | null | undefined;
182
+ subscriptionId?: string | null | undefined;
183
+ };
184
+
185
+ export type PlanDeploymentComputeCloudUnion = PlanDeploymentComputeCloud | any;
186
+
187
+ /**
188
+ * Ownership model for the Kubernetes cluster.
189
+ */
190
+ export const PlanDeploymentComputeOwnership = {
191
+ Managed: "managed",
192
+ Existing: "existing",
193
+ External: "external",
194
+ } as const;
195
+ /**
196
+ * Ownership model for the Kubernetes cluster.
197
+ */
198
+ export type PlanDeploymentComputeOwnership = ClosedEnum<
199
+ typeof PlanDeploymentComputeOwnership
200
+ >;
201
+
202
+ /**
203
+ * Kubernetes cluster setup settings.
204
+ */
205
+ export type PlanDeploymentComputeCluster = {
206
+ cloud?: PlanDeploymentComputeCloud | any | null | undefined;
207
+ /**
208
+ * Namespace where the Alien chart and application resources run.
209
+ */
210
+ namespace?: string | null | undefined;
211
+ /**
212
+ * Ownership model for the Kubernetes cluster.
213
+ */
214
+ ownership: PlanDeploymentComputeOwnership;
215
+ };
216
+
217
+ export type PlanDeploymentComputeClusterUnion =
218
+ | PlanDeploymentComputeCluster
219
+ | any;
220
+
221
+ export type PlanDeploymentComputeCertificateNone2 = {
222
+ mode: "none";
223
+ };
224
+
225
+ export type PlanDeploymentComputeCertificateManagedTLSSecret2 = {
226
+ mode: "managedTlsSecret";
227
+ /**
228
+ * Secret name template. Runtime may substitute resource/deployment tokens.
229
+ */
230
+ secretNameTemplate: string;
231
+ };
232
+
233
+ export type PlanDeploymentComputeCertificateAwsAcmArn2 = {
234
+ /**
235
+ * Existing ACM certificate ARN.
236
+ */
237
+ certificateArn: string;
238
+ mode: "awsAcmArn";
239
+ };
240
+
241
+ export type PlanDeploymentComputeCertificateManagedAcmImport2 = {
242
+ mode: "managedAcmImport";
243
+ /**
244
+ * ACM region. Defaults to the deployment region when omitted.
245
+ */
246
+ region?: string | null | undefined;
247
+ /**
248
+ * Tags applied to runtime-imported ACM certificates.
249
+ */
250
+ tags?: { [k: string]: string } | undefined;
251
+ };
252
+
253
+ /**
254
+ * Namespace-scoped Kubernetes TLS Secret reference.
255
+ */
256
+ export type PlanDeploymentComputeCertificateTLSSecretRef2 = {
257
+ /**
258
+ * Secret namespace. Defaults to the release namespace when omitted.
259
+ */
260
+ namespace?: string | null | undefined;
261
+ /**
262
+ * Secret name.
263
+ */
264
+ secretName: string;
265
+ mode: "tlsSecretRef";
266
+ };
267
+
268
+ /**
269
+ * Certificate publication or reference mode for Kubernetes public endpoints.
270
+ */
271
+ export type PlanDeploymentComputeCertificateUnion2 =
272
+ | PlanDeploymentComputeCertificateTLSSecretRef2
273
+ | PlanDeploymentComputeCertificateManagedAcmImport2
274
+ | PlanDeploymentComputeCertificateAwsAcmArn2
275
+ | PlanDeploymentComputeCertificateManagedTLSSecret2
276
+ | PlanDeploymentComputeCertificateNone2;
277
+
278
+ export const PlanDeploymentComputeModeCustom = {
279
+ Custom: "custom",
280
+ } as const;
281
+ export type PlanDeploymentComputeModeCustom = ClosedEnum<
282
+ typeof PlanDeploymentComputeModeCustom
283
+ >;
284
+
285
+ export const PlanDeploymentComputeProviderAzureApplicationGatewayForContainersEnum4 =
286
+ {
287
+ AzureApplicationGatewayForContainers:
288
+ "azureApplicationGatewayForContainers",
289
+ } as const;
290
+ export type PlanDeploymentComputeProviderAzureApplicationGatewayForContainersEnum4 =
291
+ ClosedEnum<
292
+ typeof PlanDeploymentComputeProviderAzureApplicationGatewayForContainersEnum4
293
+ >;
294
+
295
+ export type PlanDeploymentComputeProviderAzureApplicationGatewayForContainers4 =
296
+ {
297
+ /**
298
+ * Optional ALB name when using BYO Application Gateway resources.
299
+ */
300
+ albName?: string | null | undefined;
301
+ /**
302
+ * Optional ALB namespace when using BYO Application Gateway resources.
303
+ */
304
+ albNamespace?: string | null | undefined;
305
+ /**
306
+ * Public or internal frontend exposure.
307
+ */
308
+ frontend: string;
309
+ provider:
310
+ PlanDeploymentComputeProviderAzureApplicationGatewayForContainersEnum4;
311
+ };
312
+
313
+ export const PlanDeploymentComputeProviderGkeGatewayEnum4 = {
314
+ GkeGateway: "gkeGateway",
315
+ } as const;
316
+ export type PlanDeploymentComputeProviderGkeGatewayEnum4 = ClosedEnum<
317
+ typeof PlanDeploymentComputeProviderGkeGatewayEnum4
318
+ >;
319
+
320
+ export type PlanDeploymentComputeProviderGkeGateway4 = {
321
+ provider: PlanDeploymentComputeProviderGkeGatewayEnum4;
322
+ /**
323
+ * Optional static address name for the Gateway frontend.
324
+ */
325
+ staticAddressName?: string | null | undefined;
326
+ };
327
+
328
+ export const PlanDeploymentComputeProviderAwsAlbEnum4 = {
329
+ AwsAlb: "awsAlb",
330
+ } as const;
331
+ export type PlanDeploymentComputeProviderAwsAlbEnum4 = ClosedEnum<
332
+ typeof PlanDeploymentComputeProviderAwsAlbEnum4
333
+ >;
334
+
335
+ export type PlanDeploymentComputeProviderAwsAlb4 = {
336
+ /**
337
+ * Optional ALB IP address type, such as `dualstack`.
338
+ */
339
+ ipAddressType?: string | null | undefined;
340
+ provider: PlanDeploymentComputeProviderAwsAlbEnum4;
341
+ /**
342
+ * Internet-facing or internal ALB scheme.
343
+ */
344
+ scheme: string;
345
+ /**
346
+ * Explicit subnet IDs when the profile cannot rely on controller discovery.
347
+ */
348
+ subnetIds?: Array<string> | undefined;
349
+ /**
350
+ * ALB target type, usually `ip`.
351
+ */
352
+ targetType: string;
353
+ };
354
+
355
+ export type PlanDeploymentComputeProviderUnion4 =
356
+ | PlanDeploymentComputeProviderAwsAlb4
357
+ | PlanDeploymentComputeProviderAzureApplicationGatewayForContainers4
358
+ | PlanDeploymentComputeProviderGkeGateway4
359
+ | any;
360
+
361
+ /**
362
+ * Shared Gateway API route profile values.
363
+ */
364
+ export type PlanDeploymentComputeRouteGateway2 = {
365
+ /**
366
+ * Annotations applied to route objects.
367
+ */
368
+ annotations?: { [k: string]: string } | undefined;
369
+ /**
370
+ * Route controller identifier, for example a cloud Gateway controller.
371
+ */
372
+ controller?: string | null | undefined;
373
+ /**
374
+ * GatewayClass selected for generated Gateways.
375
+ */
376
+ gatewayClassName: string;
377
+ /**
378
+ * Labels applied to route objects.
379
+ */
380
+ labels?: { [k: string]: string } | undefined;
381
+ /**
382
+ * Listener port, usually 443.
383
+ */
384
+ listenerPort: number;
385
+ provider?:
386
+ | PlanDeploymentComputeProviderAwsAlb4
387
+ | PlanDeploymentComputeProviderAzureApplicationGatewayForContainers4
388
+ | PlanDeploymentComputeProviderGkeGateway4
389
+ | any
390
+ | null
391
+ | undefined;
392
+ routeApi: "gateway";
393
+ };
394
+
395
+ export const PlanDeploymentComputeProviderAzureApplicationGatewayForContainersEnum3 =
396
+ {
397
+ AzureApplicationGatewayForContainers:
398
+ "azureApplicationGatewayForContainers",
399
+ } as const;
400
+ export type PlanDeploymentComputeProviderAzureApplicationGatewayForContainersEnum3 =
401
+ ClosedEnum<
402
+ typeof PlanDeploymentComputeProviderAzureApplicationGatewayForContainersEnum3
403
+ >;
404
+
405
+ export type PlanDeploymentComputeProviderAzureApplicationGatewayForContainers3 =
406
+ {
407
+ /**
408
+ * Optional ALB name when using BYO Application Gateway resources.
409
+ */
410
+ albName?: string | null | undefined;
411
+ /**
412
+ * Optional ALB namespace when using BYO Application Gateway resources.
413
+ */
414
+ albNamespace?: string | null | undefined;
415
+ /**
416
+ * Public or internal frontend exposure.
417
+ */
418
+ frontend: string;
419
+ provider:
420
+ PlanDeploymentComputeProviderAzureApplicationGatewayForContainersEnum3;
421
+ };
422
+
423
+ export const PlanDeploymentComputeProviderGkeGatewayEnum3 = {
424
+ GkeGateway: "gkeGateway",
425
+ } as const;
426
+ export type PlanDeploymentComputeProviderGkeGatewayEnum3 = ClosedEnum<
427
+ typeof PlanDeploymentComputeProviderGkeGatewayEnum3
428
+ >;
429
+
430
+ export type PlanDeploymentComputeProviderGkeGateway3 = {
431
+ provider: PlanDeploymentComputeProviderGkeGatewayEnum3;
432
+ /**
433
+ * Optional static address name for the Gateway frontend.
434
+ */
435
+ staticAddressName?: string | null | undefined;
436
+ };
437
+
438
+ export const PlanDeploymentComputeProviderAwsAlbEnum3 = {
439
+ AwsAlb: "awsAlb",
440
+ } as const;
441
+ export type PlanDeploymentComputeProviderAwsAlbEnum3 = ClosedEnum<
442
+ typeof PlanDeploymentComputeProviderAwsAlbEnum3
443
+ >;
444
+
445
+ export type PlanDeploymentComputeProviderAwsAlb3 = {
446
+ /**
447
+ * Optional ALB IP address type, such as `dualstack`.
448
+ */
449
+ ipAddressType?: string | null | undefined;
450
+ provider: PlanDeploymentComputeProviderAwsAlbEnum3;
451
+ /**
452
+ * Internet-facing or internal ALB scheme.
453
+ */
454
+ scheme: string;
455
+ /**
456
+ * Explicit subnet IDs when the profile cannot rely on controller discovery.
457
+ */
458
+ subnetIds?: Array<string> | undefined;
459
+ /**
460
+ * ALB target type, usually `ip`.
461
+ */
462
+ targetType: string;
463
+ };
464
+
465
+ export type PlanDeploymentComputeProviderUnion3 =
466
+ | PlanDeploymentComputeProviderAwsAlb3
467
+ | PlanDeploymentComputeProviderAzureApplicationGatewayForContainers3
468
+ | PlanDeploymentComputeProviderGkeGateway3
469
+ | any;
470
+
471
+ /**
472
+ * Shared Ingress route profile values.
473
+ */
474
+ export type PlanDeploymentComputeRouteIngress2 = {
475
+ /**
476
+ * Annotations applied to route objects.
477
+ */
478
+ annotations?: { [k: string]: string } | undefined;
479
+ /**
480
+ * Route controller identifier, for example `eks.amazonaws.com/alb`.
481
+ */
482
+ controller?: string | null | undefined;
483
+ /**
484
+ * `spec.ingressClassName` for generated Ingresses.
485
+ */
486
+ ingressClassName: string;
487
+ /**
488
+ * Labels applied to route objects.
489
+ */
490
+ labels?: { [k: string]: string } | undefined;
491
+ provider?:
492
+ | PlanDeploymentComputeProviderAwsAlb3
493
+ | PlanDeploymentComputeProviderAzureApplicationGatewayForContainers3
494
+ | PlanDeploymentComputeProviderGkeGateway3
495
+ | any
496
+ | null
497
+ | undefined;
498
+ routeApi: "ingress";
499
+ };
500
+
501
+ /**
502
+ * Kubernetes route API selected for public endpoints.
503
+ */
504
+ export type PlanDeploymentComputeRouteUnion2 =
505
+ | PlanDeploymentComputeRouteIngress2
506
+ | PlanDeploymentComputeRouteGateway2;
507
+
508
+ export type PlanDeploymentComputeExposureCustom = {
509
+ /**
510
+ * Certificate publication or reference mode for Kubernetes public endpoints.
511
+ */
512
+ certificate:
513
+ | PlanDeploymentComputeCertificateTLSSecretRef2
514
+ | PlanDeploymentComputeCertificateManagedAcmImport2
515
+ | PlanDeploymentComputeCertificateAwsAcmArn2
516
+ | PlanDeploymentComputeCertificateManagedTLSSecret2
517
+ | PlanDeploymentComputeCertificateNone2;
518
+ /**
519
+ * Hostname routed by the Kubernetes public endpoint.
520
+ */
521
+ domain: string;
522
+ mode: PlanDeploymentComputeModeCustom;
523
+ /**
524
+ * Kubernetes route API selected for public endpoints.
525
+ */
526
+ route:
527
+ | PlanDeploymentComputeRouteIngress2
528
+ | PlanDeploymentComputeRouteGateway2;
529
+ };
530
+
531
+ export type PlanDeploymentComputeCertificateNone1 = {
532
+ mode: "none";
533
+ };
534
+
535
+ export type PlanDeploymentComputeCertificateManagedTLSSecret1 = {
536
+ mode: "managedTlsSecret";
537
+ /**
538
+ * Secret name template. Runtime may substitute resource/deployment tokens.
539
+ */
540
+ secretNameTemplate: string;
541
+ };
542
+
543
+ export type PlanDeploymentComputeCertificateAwsAcmArn1 = {
544
+ /**
545
+ * Existing ACM certificate ARN.
546
+ */
547
+ certificateArn: string;
548
+ mode: "awsAcmArn";
549
+ };
550
+
551
+ export type PlanDeploymentComputeCertificateManagedAcmImport1 = {
552
+ mode: "managedAcmImport";
553
+ /**
554
+ * ACM region. Defaults to the deployment region when omitted.
555
+ */
556
+ region?: string | null | undefined;
557
+ /**
558
+ * Tags applied to runtime-imported ACM certificates.
559
+ */
560
+ tags?: { [k: string]: string } | undefined;
561
+ };
562
+
563
+ /**
564
+ * Namespace-scoped Kubernetes TLS Secret reference.
565
+ */
566
+ export type PlanDeploymentComputeCertificateTLSSecretRef1 = {
567
+ /**
568
+ * Secret namespace. Defaults to the release namespace when omitted.
569
+ */
570
+ namespace?: string | null | undefined;
571
+ /**
572
+ * Secret name.
573
+ */
574
+ secretName: string;
575
+ mode: "tlsSecretRef";
576
+ };
577
+
578
+ /**
579
+ * Certificate publication or reference mode for Kubernetes public endpoints.
580
+ */
581
+ export type PlanDeploymentComputeCertificateUnion1 =
582
+ | PlanDeploymentComputeCertificateTLSSecretRef1
583
+ | PlanDeploymentComputeCertificateManagedAcmImport1
584
+ | PlanDeploymentComputeCertificateAwsAcmArn1
585
+ | PlanDeploymentComputeCertificateManagedTLSSecret1
586
+ | PlanDeploymentComputeCertificateNone1;
587
+
588
+ export const PlanDeploymentComputeModeGenerated = {
589
+ Generated: "generated",
590
+ } as const;
591
+ export type PlanDeploymentComputeModeGenerated = ClosedEnum<
592
+ typeof PlanDeploymentComputeModeGenerated
593
+ >;
594
+
595
+ export const PlanDeploymentComputeProviderAzureApplicationGatewayForContainersEnum2 =
596
+ {
597
+ AzureApplicationGatewayForContainers:
598
+ "azureApplicationGatewayForContainers",
599
+ } as const;
600
+ export type PlanDeploymentComputeProviderAzureApplicationGatewayForContainersEnum2 =
601
+ ClosedEnum<
602
+ typeof PlanDeploymentComputeProviderAzureApplicationGatewayForContainersEnum2
603
+ >;
604
+
605
+ export type PlanDeploymentComputeProviderAzureApplicationGatewayForContainers2 =
606
+ {
607
+ /**
608
+ * Optional ALB name when using BYO Application Gateway resources.
609
+ */
610
+ albName?: string | null | undefined;
611
+ /**
612
+ * Optional ALB namespace when using BYO Application Gateway resources.
613
+ */
614
+ albNamespace?: string | null | undefined;
615
+ /**
616
+ * Public or internal frontend exposure.
617
+ */
618
+ frontend: string;
619
+ provider:
620
+ PlanDeploymentComputeProviderAzureApplicationGatewayForContainersEnum2;
621
+ };
622
+
623
+ export const PlanDeploymentComputeProviderGkeGatewayEnum2 = {
624
+ GkeGateway: "gkeGateway",
625
+ } as const;
626
+ export type PlanDeploymentComputeProviderGkeGatewayEnum2 = ClosedEnum<
627
+ typeof PlanDeploymentComputeProviderGkeGatewayEnum2
628
+ >;
629
+
630
+ export type PlanDeploymentComputeProviderGkeGateway2 = {
631
+ provider: PlanDeploymentComputeProviderGkeGatewayEnum2;
632
+ /**
633
+ * Optional static address name for the Gateway frontend.
634
+ */
635
+ staticAddressName?: string | null | undefined;
636
+ };
637
+
638
+ export const PlanDeploymentComputeProviderAwsAlbEnum2 = {
639
+ AwsAlb: "awsAlb",
640
+ } as const;
641
+ export type PlanDeploymentComputeProviderAwsAlbEnum2 = ClosedEnum<
642
+ typeof PlanDeploymentComputeProviderAwsAlbEnum2
643
+ >;
644
+
645
+ export type PlanDeploymentComputeProviderAwsAlb2 = {
646
+ /**
647
+ * Optional ALB IP address type, such as `dualstack`.
648
+ */
649
+ ipAddressType?: string | null | undefined;
650
+ provider: PlanDeploymentComputeProviderAwsAlbEnum2;
651
+ /**
652
+ * Internet-facing or internal ALB scheme.
653
+ */
654
+ scheme: string;
655
+ /**
656
+ * Explicit subnet IDs when the profile cannot rely on controller discovery.
657
+ */
658
+ subnetIds?: Array<string> | undefined;
659
+ /**
660
+ * ALB target type, usually `ip`.
661
+ */
662
+ targetType: string;
663
+ };
664
+
665
+ export type PlanDeploymentComputeProviderUnion2 =
666
+ | PlanDeploymentComputeProviderAwsAlb2
667
+ | PlanDeploymentComputeProviderAzureApplicationGatewayForContainers2
668
+ | PlanDeploymentComputeProviderGkeGateway2
669
+ | any;
670
+
671
+ /**
672
+ * Shared Gateway API route profile values.
673
+ */
674
+ export type PlanDeploymentComputeRouteGateway1 = {
675
+ /**
676
+ * Annotations applied to route objects.
677
+ */
678
+ annotations?: { [k: string]: string } | undefined;
679
+ /**
680
+ * Route controller identifier, for example a cloud Gateway controller.
681
+ */
682
+ controller?: string | null | undefined;
683
+ /**
684
+ * GatewayClass selected for generated Gateways.
685
+ */
686
+ gatewayClassName: string;
687
+ /**
688
+ * Labels applied to route objects.
689
+ */
690
+ labels?: { [k: string]: string } | undefined;
691
+ /**
692
+ * Listener port, usually 443.
693
+ */
694
+ listenerPort: number;
695
+ provider?:
696
+ | PlanDeploymentComputeProviderAwsAlb2
697
+ | PlanDeploymentComputeProviderAzureApplicationGatewayForContainers2
698
+ | PlanDeploymentComputeProviderGkeGateway2
699
+ | any
700
+ | null
701
+ | undefined;
702
+ routeApi: "gateway";
703
+ };
704
+
705
+ export const PlanDeploymentComputeProviderAzureApplicationGatewayForContainersEnum1 =
706
+ {
707
+ AzureApplicationGatewayForContainers:
708
+ "azureApplicationGatewayForContainers",
709
+ } as const;
710
+ export type PlanDeploymentComputeProviderAzureApplicationGatewayForContainersEnum1 =
711
+ ClosedEnum<
712
+ typeof PlanDeploymentComputeProviderAzureApplicationGatewayForContainersEnum1
713
+ >;
714
+
715
+ export type PlanDeploymentComputeProviderAzureApplicationGatewayForContainers1 =
716
+ {
717
+ /**
718
+ * Optional ALB name when using BYO Application Gateway resources.
719
+ */
720
+ albName?: string | null | undefined;
721
+ /**
722
+ * Optional ALB namespace when using BYO Application Gateway resources.
723
+ */
724
+ albNamespace?: string | null | undefined;
725
+ /**
726
+ * Public or internal frontend exposure.
727
+ */
728
+ frontend: string;
729
+ provider:
730
+ PlanDeploymentComputeProviderAzureApplicationGatewayForContainersEnum1;
731
+ };
732
+
733
+ export const PlanDeploymentComputeProviderGkeGatewayEnum1 = {
734
+ GkeGateway: "gkeGateway",
735
+ } as const;
736
+ export type PlanDeploymentComputeProviderGkeGatewayEnum1 = ClosedEnum<
737
+ typeof PlanDeploymentComputeProviderGkeGatewayEnum1
738
+ >;
739
+
740
+ export type PlanDeploymentComputeProviderGkeGateway1 = {
741
+ provider: PlanDeploymentComputeProviderGkeGatewayEnum1;
742
+ /**
743
+ * Optional static address name for the Gateway frontend.
744
+ */
745
+ staticAddressName?: string | null | undefined;
746
+ };
747
+
748
+ export const PlanDeploymentComputeProviderAwsAlbEnum1 = {
749
+ AwsAlb: "awsAlb",
750
+ } as const;
751
+ export type PlanDeploymentComputeProviderAwsAlbEnum1 = ClosedEnum<
752
+ typeof PlanDeploymentComputeProviderAwsAlbEnum1
753
+ >;
754
+
755
+ export type PlanDeploymentComputeProviderAwsAlb1 = {
756
+ /**
757
+ * Optional ALB IP address type, such as `dualstack`.
758
+ */
759
+ ipAddressType?: string | null | undefined;
760
+ provider: PlanDeploymentComputeProviderAwsAlbEnum1;
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 PlanDeploymentComputeProviderUnion1 =
776
+ | PlanDeploymentComputeProviderAwsAlb1
777
+ | PlanDeploymentComputeProviderAzureApplicationGatewayForContainers1
778
+ | PlanDeploymentComputeProviderGkeGateway1
779
+ | any;
780
+
781
+ /**
782
+ * Shared Ingress route profile values.
783
+ */
784
+ export type PlanDeploymentComputeRouteIngress1 = {
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
+ | PlanDeploymentComputeProviderAwsAlb1
803
+ | PlanDeploymentComputeProviderAzureApplicationGatewayForContainers1
804
+ | PlanDeploymentComputeProviderGkeGateway1
805
+ | any
806
+ | null
807
+ | undefined;
808
+ routeApi: "ingress";
809
+ };
810
+
811
+ /**
812
+ * Kubernetes route API selected for public endpoints.
813
+ */
814
+ export type PlanDeploymentComputeRouteUnion1 =
815
+ | PlanDeploymentComputeRouteIngress1
816
+ | PlanDeploymentComputeRouteGateway1;
817
+
818
+ export type PlanDeploymentComputeExposureGenerated = {
819
+ /**
820
+ * Certificate publication or reference mode for Kubernetes public endpoints.
821
+ */
822
+ certificate:
823
+ | PlanDeploymentComputeCertificateTLSSecretRef1
824
+ | PlanDeploymentComputeCertificateManagedAcmImport1
825
+ | PlanDeploymentComputeCertificateAwsAcmArn1
826
+ | PlanDeploymentComputeCertificateManagedTLSSecret1
827
+ | PlanDeploymentComputeCertificateNone1;
828
+ mode: PlanDeploymentComputeModeGenerated;
829
+ /**
830
+ * Kubernetes route API selected for public endpoints.
831
+ */
832
+ route:
833
+ | PlanDeploymentComputeRouteIngress1
834
+ | PlanDeploymentComputeRouteGateway1;
835
+ };
836
+
837
+ export const PlanDeploymentComputeModeDisabled = {
838
+ Disabled: "disabled",
839
+ } as const;
840
+ export type PlanDeploymentComputeModeDisabled = ClosedEnum<
841
+ typeof PlanDeploymentComputeModeDisabled
842
+ >;
843
+
844
+ export type PlanDeploymentComputeExposureDisabled = {
845
+ mode: PlanDeploymentComputeModeDisabled;
846
+ };
847
+
848
+ export type PlanDeploymentComputeExposureUnion =
849
+ | PlanDeploymentComputeExposureCustom
850
+ | PlanDeploymentComputeExposureGenerated
851
+ | PlanDeploymentComputeExposureDisabled
852
+ | any;
853
+
854
+ /**
855
+ * Kubernetes runtime substrate configuration.
856
+ *
857
+ * @remarks
858
+ *
859
+ * This controls how setup chooses the cluster backing `Platform::Kubernetes`
860
+ * deployments. When omitted, cloud-backed Kubernetes deployments default to a
861
+ * managed cluster and generic/on-prem Kubernetes defaults to an external
862
+ * cluster.
863
+ */
864
+ export type PlanDeploymentComputeKubernetes = {
865
+ cluster?: PlanDeploymentComputeCluster | any | null | undefined;
866
+ exposure?:
867
+ | PlanDeploymentComputeExposureCustom
868
+ | PlanDeploymentComputeExposureGenerated
869
+ | PlanDeploymentComputeExposureDisabled
870
+ | any
871
+ | null
872
+ | undefined;
873
+ };
874
+
875
+ export type PlanDeploymentComputeKubernetesUnion =
876
+ | PlanDeploymentComputeKubernetes
877
+ | any;
878
+
879
+ export const PlanDeploymentComputeTypeByoVnetAzure = {
880
+ ByoVnetAzure: "byo-vnet-azure",
881
+ } as const;
882
+ export type PlanDeploymentComputeTypeByoVnetAzure = ClosedEnum<
883
+ typeof PlanDeploymentComputeTypeByoVnetAzure
884
+ >;
885
+
886
+ export type PlanDeploymentComputeNetworkByoVnetAzure = {
887
+ /**
888
+ * Name of the dedicated classic Application Gateway subnet within the VNet.
889
+ */
890
+ applicationGatewaySubnetName?: string | null | undefined;
891
+ /**
892
+ * Name of the private subnet within the VNet
893
+ */
894
+ privateSubnetName: string;
895
+ /**
896
+ * Name of the public subnet within the VNet
897
+ */
898
+ publicSubnetName: string;
899
+ type: PlanDeploymentComputeTypeByoVnetAzure;
900
+ /**
901
+ * The full resource ID of the existing VNet
902
+ */
903
+ vnetResourceId: string;
904
+ };
905
+
906
+ export const PlanDeploymentComputeTypeByoVpcGcp = {
907
+ ByoVpcGcp: "byo-vpc-gcp",
908
+ } as const;
909
+ export type PlanDeploymentComputeTypeByoVpcGcp = ClosedEnum<
910
+ typeof PlanDeploymentComputeTypeByoVpcGcp
911
+ >;
912
+
913
+ export type PlanDeploymentComputeNetworkByoVpcGcp = {
914
+ /**
915
+ * The name of the existing VPC network
916
+ */
917
+ networkName: string;
918
+ /**
919
+ * The region of the subnet
920
+ */
921
+ region: string;
922
+ /**
923
+ * The name of the subnet to use
924
+ */
925
+ subnetName: string;
926
+ type: PlanDeploymentComputeTypeByoVpcGcp;
927
+ };
928
+
929
+ export const PlanDeploymentComputeTypeByoVpcAws = {
930
+ ByoVpcAws: "byo-vpc-aws",
931
+ } as const;
932
+ export type PlanDeploymentComputeTypeByoVpcAws = ClosedEnum<
933
+ typeof PlanDeploymentComputeTypeByoVpcAws
934
+ >;
935
+
936
+ export type PlanDeploymentComputeNetworkByoVpcAws = {
937
+ /**
938
+ * IDs of private subnets
939
+ */
940
+ privateSubnetIds: Array<string>;
941
+ /**
942
+ * IDs of public subnets (required for public ingress)
943
+ */
944
+ publicSubnetIds: Array<string>;
945
+ /**
946
+ * Optional security group IDs to use
947
+ */
948
+ securityGroupIds?: Array<string> | undefined;
949
+ type: PlanDeploymentComputeTypeByoVpcAws;
950
+ /**
951
+ * The ID of the existing VPC
952
+ */
953
+ vpcId: string;
954
+ };
955
+
956
+ export const PlanDeploymentComputeTypeCreate = {
957
+ Create: "create",
958
+ } as const;
959
+ export type PlanDeploymentComputeTypeCreate = ClosedEnum<
960
+ typeof PlanDeploymentComputeTypeCreate
961
+ >;
962
+
963
+ export type PlanDeploymentComputeNetworkCreate = {
964
+ /**
965
+ * Number of availability zones (default: 2).
966
+ */
967
+ availabilityZones?: number | undefined;
968
+ /**
969
+ * VPC/VNet CIDR block. If not specified, auto-generated from stack ID
970
+ *
971
+ * @remarks
972
+ * to reduce conflicts (e.g., "10.{hash}.0.0/16").
973
+ */
974
+ cidr?: string | null | undefined;
975
+ type: PlanDeploymentComputeTypeCreate;
976
+ };
977
+
978
+ export const PlanDeploymentComputeTypeUseDefault = {
979
+ UseDefault: "use-default",
980
+ } as const;
981
+ export type PlanDeploymentComputeTypeUseDefault = ClosedEnum<
982
+ typeof PlanDeploymentComputeTypeUseDefault
983
+ >;
984
+
985
+ export type PlanDeploymentComputeNetworkUseDefault = {
986
+ type: PlanDeploymentComputeTypeUseDefault;
987
+ };
988
+
989
+ export type PlanDeploymentComputeNetworkUnion =
990
+ | PlanDeploymentComputeNetworkByoVpcAws
991
+ | PlanDeploymentComputeNetworkByoVpcGcp
992
+ | PlanDeploymentComputeNetworkByoVnetAzure
993
+ | PlanDeploymentComputeNetworkUseDefault
994
+ | PlanDeploymentComputeNetworkCreate
995
+ | any;
996
+
997
+ /**
998
+ * How telemetry (logs, metrics, traces) is handled.
999
+ */
1000
+ export const PlanDeploymentComputeTelemetry = {
1001
+ Off: "off",
1002
+ Auto: "auto",
1003
+ ApprovalRequired: "approval-required",
1004
+ } as const;
1005
+ /**
1006
+ * How telemetry (logs, metrics, traces) is handled.
1007
+ */
1008
+ export type PlanDeploymentComputeTelemetry = ClosedEnum<
1009
+ typeof PlanDeploymentComputeTelemetry
1010
+ >;
1011
+
1012
+ /**
1013
+ * How updates are delivered to the deployment.
1014
+ */
1015
+ export const PlanDeploymentComputeUpdates = {
1016
+ Auto: "auto",
1017
+ ApprovalRequired: "approval-required",
1018
+ } as const;
1019
+ /**
1020
+ * How updates are delivered to the deployment.
1021
+ */
1022
+ export type PlanDeploymentComputeUpdates = ClosedEnum<
1023
+ typeof PlanDeploymentComputeUpdates
1024
+ >;
1025
+
1026
+ export type PlanDeploymentComputeStackSettings = {
1027
+ compute?: PlanDeploymentComputeCompute | undefined;
1028
+ /**
1029
+ * Deployment model: how updates are delivered to the remote environment.
1030
+ */
1031
+ deploymentModel?: PlanDeploymentComputeDeploymentModel | undefined;
1032
+ domains?: PlanDeploymentComputeDomains | any | null | undefined;
1033
+ /**
1034
+ * External bindings for pre-existing infrastructure.
1035
+ *
1036
+ * @remarks
1037
+ * Allows using existing resources (MinIO, Redis, shared Container Apps
1038
+ * Environment, etc.) instead of having Alien provision them.
1039
+ * Required for Kubernetes platform, optional for cloud platforms.
1040
+ */
1041
+ externalBindings?: PlanDeploymentComputeExternalBindings | null | undefined;
1042
+ /**
1043
+ * How heartbeat health checks are handled.
1044
+ */
1045
+ heartbeats?: PlanDeploymentComputeHeartbeats | undefined;
1046
+ kubernetes?: PlanDeploymentComputeKubernetes | any | null | undefined;
1047
+ network?:
1048
+ | PlanDeploymentComputeNetworkByoVpcAws
1049
+ | PlanDeploymentComputeNetworkByoVpcGcp
1050
+ | PlanDeploymentComputeNetworkByoVnetAzure
1051
+ | PlanDeploymentComputeNetworkUseDefault
1052
+ | PlanDeploymentComputeNetworkCreate
1053
+ | any
1054
+ | null
1055
+ | undefined;
1056
+ /**
1057
+ * How telemetry (logs, metrics, traces) is handled.
1058
+ */
1059
+ telemetry?: PlanDeploymentComputeTelemetry | undefined;
1060
+ /**
1061
+ * How updates are delivered to the deployment.
1062
+ */
1063
+ updates?: PlanDeploymentComputeUpdates | undefined;
1064
+ };
1065
+
1066
+ export type PlanDeploymentComputeRequestBody = {
1067
+ platform: PlanDeploymentComputePlatform;
1068
+ setupMethod: models.DeploymentSetupMethod;
1069
+ region?: string | undefined;
1070
+ stackSettings: PlanDeploymentComputeStackSettings;
1071
+ };
1072
+
1073
+ export type PlanDeploymentComputeRequest = {
1074
+ /**
1075
+ * Workspace name. Required for user/session/OAuth requests. Optional for API keys because API keys are workspace-scoped; if provided with an API key, it must match the key's workspace.
1076
+ */
1077
+ workspace?: string | undefined;
1078
+ requestBody?: PlanDeploymentComputeRequestBody | undefined;
1079
+ };
1080
+
1081
+ /** @internal */
1082
+ export const PlanDeploymentComputePlatform$outboundSchema: z.ZodEnum<
1083
+ typeof PlanDeploymentComputePlatform
1084
+ > = z.enum(PlanDeploymentComputePlatform);
1085
+
1086
+ /** @internal */
1087
+ export type PlanDeploymentComputePoolsAutoscale$Outbound = {
1088
+ mode: "autoscale";
1089
+ min: number;
1090
+ max: number;
1091
+ machine?: string | undefined;
1092
+ };
1093
+
1094
+ /** @internal */
1095
+ export const PlanDeploymentComputePoolsAutoscale$outboundSchema: z.ZodType<
1096
+ PlanDeploymentComputePoolsAutoscale$Outbound,
1097
+ PlanDeploymentComputePoolsAutoscale
1098
+ > = z.object({
1099
+ mode: z.literal("autoscale"),
1100
+ min: z.int(),
1101
+ max: z.int(),
1102
+ machine: z.string().optional(),
1103
+ });
1104
+
1105
+ export function planDeploymentComputePoolsAutoscaleToJSON(
1106
+ planDeploymentComputePoolsAutoscale: PlanDeploymentComputePoolsAutoscale,
1107
+ ): string {
1108
+ return JSON.stringify(
1109
+ PlanDeploymentComputePoolsAutoscale$outboundSchema.parse(
1110
+ planDeploymentComputePoolsAutoscale,
1111
+ ),
1112
+ );
1113
+ }
1114
+
1115
+ /** @internal */
1116
+ export type PlanDeploymentComputePoolsFixed$Outbound = {
1117
+ mode: "fixed";
1118
+ machines: number;
1119
+ machine?: string | undefined;
1120
+ };
1121
+
1122
+ /** @internal */
1123
+ export const PlanDeploymentComputePoolsFixed$outboundSchema: z.ZodType<
1124
+ PlanDeploymentComputePoolsFixed$Outbound,
1125
+ PlanDeploymentComputePoolsFixed
1126
+ > = z.object({
1127
+ mode: z.literal("fixed"),
1128
+ machines: z.int(),
1129
+ machine: z.string().optional(),
1130
+ });
1131
+
1132
+ export function planDeploymentComputePoolsFixedToJSON(
1133
+ planDeploymentComputePoolsFixed: PlanDeploymentComputePoolsFixed,
1134
+ ): string {
1135
+ return JSON.stringify(
1136
+ PlanDeploymentComputePoolsFixed$outboundSchema.parse(
1137
+ planDeploymentComputePoolsFixed,
1138
+ ),
1139
+ );
1140
+ }
1141
+
1142
+ /** @internal */
1143
+ export type PlanDeploymentComputePoolsUnion$Outbound =
1144
+ | PlanDeploymentComputePoolsFixed$Outbound
1145
+ | PlanDeploymentComputePoolsAutoscale$Outbound;
1146
+
1147
+ /** @internal */
1148
+ export const PlanDeploymentComputePoolsUnion$outboundSchema: z.ZodType<
1149
+ PlanDeploymentComputePoolsUnion$Outbound,
1150
+ PlanDeploymentComputePoolsUnion
1151
+ > = z.union([
1152
+ z.lazy(() => PlanDeploymentComputePoolsFixed$outboundSchema),
1153
+ z.lazy(() => PlanDeploymentComputePoolsAutoscale$outboundSchema),
1154
+ ]);
1155
+
1156
+ export function planDeploymentComputePoolsUnionToJSON(
1157
+ planDeploymentComputePoolsUnion: PlanDeploymentComputePoolsUnion,
1158
+ ): string {
1159
+ return JSON.stringify(
1160
+ PlanDeploymentComputePoolsUnion$outboundSchema.parse(
1161
+ planDeploymentComputePoolsUnion,
1162
+ ),
1163
+ );
1164
+ }
1165
+
1166
+ /** @internal */
1167
+ export type PlanDeploymentComputeCompute$Outbound = {
1168
+ pools?: {
1169
+ [k: string]:
1170
+ | PlanDeploymentComputePoolsFixed$Outbound
1171
+ | PlanDeploymentComputePoolsAutoscale$Outbound;
1172
+ } | undefined;
1173
+ };
1174
+
1175
+ /** @internal */
1176
+ export const PlanDeploymentComputeCompute$outboundSchema: z.ZodType<
1177
+ PlanDeploymentComputeCompute$Outbound,
1178
+ PlanDeploymentComputeCompute
1179
+ > = z.object({
1180
+ pools: z.record(
1181
+ z.string(),
1182
+ z.union([
1183
+ z.lazy(() => PlanDeploymentComputePoolsFixed$outboundSchema),
1184
+ z.lazy(() => PlanDeploymentComputePoolsAutoscale$outboundSchema),
1185
+ ]),
1186
+ ).optional(),
1187
+ });
1188
+
1189
+ export function planDeploymentComputeComputeToJSON(
1190
+ planDeploymentComputeCompute: PlanDeploymentComputeCompute,
1191
+ ): string {
1192
+ return JSON.stringify(
1193
+ PlanDeploymentComputeCompute$outboundSchema.parse(
1194
+ planDeploymentComputeCompute,
1195
+ ),
1196
+ );
1197
+ }
1198
+
1199
+ /** @internal */
1200
+ export const PlanDeploymentComputeDeploymentModel$outboundSchema: z.ZodEnum<
1201
+ typeof PlanDeploymentComputeDeploymentModel
1202
+ > = z.enum(PlanDeploymentComputeDeploymentModel);
1203
+
1204
+ /** @internal */
1205
+ export type PlanDeploymentComputeAws$Outbound = {
1206
+ certificateArn: string;
1207
+ };
1208
+
1209
+ /** @internal */
1210
+ export const PlanDeploymentComputeAws$outboundSchema: z.ZodType<
1211
+ PlanDeploymentComputeAws$Outbound,
1212
+ PlanDeploymentComputeAws
1213
+ > = z.object({
1214
+ certificateArn: z.string(),
1215
+ });
1216
+
1217
+ export function planDeploymentComputeAwsToJSON(
1218
+ planDeploymentComputeAws: PlanDeploymentComputeAws,
1219
+ ): string {
1220
+ return JSON.stringify(
1221
+ PlanDeploymentComputeAws$outboundSchema.parse(planDeploymentComputeAws),
1222
+ );
1223
+ }
1224
+
1225
+ /** @internal */
1226
+ export type PlanDeploymentComputeAwsUnion$Outbound =
1227
+ | PlanDeploymentComputeAws$Outbound
1228
+ | any;
1229
+
1230
+ /** @internal */
1231
+ export const PlanDeploymentComputeAwsUnion$outboundSchema: z.ZodType<
1232
+ PlanDeploymentComputeAwsUnion$Outbound,
1233
+ PlanDeploymentComputeAwsUnion
1234
+ > = z.union([z.lazy(() => PlanDeploymentComputeAws$outboundSchema), z.any()]);
1235
+
1236
+ export function planDeploymentComputeAwsUnionToJSON(
1237
+ planDeploymentComputeAwsUnion: PlanDeploymentComputeAwsUnion,
1238
+ ): string {
1239
+ return JSON.stringify(
1240
+ PlanDeploymentComputeAwsUnion$outboundSchema.parse(
1241
+ planDeploymentComputeAwsUnion,
1242
+ ),
1243
+ );
1244
+ }
1245
+
1246
+ /** @internal */
1247
+ export type PlanDeploymentComputeAzure$Outbound = {
1248
+ keyVaultCertificateId: string;
1249
+ keyVaultResourceId?: string | null | undefined;
1250
+ };
1251
+
1252
+ /** @internal */
1253
+ export const PlanDeploymentComputeAzure$outboundSchema: z.ZodType<
1254
+ PlanDeploymentComputeAzure$Outbound,
1255
+ PlanDeploymentComputeAzure
1256
+ > = z.object({
1257
+ keyVaultCertificateId: z.string(),
1258
+ keyVaultResourceId: z.nullable(z.string()).optional(),
1259
+ });
1260
+
1261
+ export function planDeploymentComputeAzureToJSON(
1262
+ planDeploymentComputeAzure: PlanDeploymentComputeAzure,
1263
+ ): string {
1264
+ return JSON.stringify(
1265
+ PlanDeploymentComputeAzure$outboundSchema.parse(planDeploymentComputeAzure),
1266
+ );
1267
+ }
1268
+
1269
+ /** @internal */
1270
+ export type PlanDeploymentComputeAzureUnion$Outbound =
1271
+ | PlanDeploymentComputeAzure$Outbound
1272
+ | any;
1273
+
1274
+ /** @internal */
1275
+ export const PlanDeploymentComputeAzureUnion$outboundSchema: z.ZodType<
1276
+ PlanDeploymentComputeAzureUnion$Outbound,
1277
+ PlanDeploymentComputeAzureUnion
1278
+ > = z.union([z.lazy(() => PlanDeploymentComputeAzure$outboundSchema), z.any()]);
1279
+
1280
+ export function planDeploymentComputeAzureUnionToJSON(
1281
+ planDeploymentComputeAzureUnion: PlanDeploymentComputeAzureUnion,
1282
+ ): string {
1283
+ return JSON.stringify(
1284
+ PlanDeploymentComputeAzureUnion$outboundSchema.parse(
1285
+ planDeploymentComputeAzureUnion,
1286
+ ),
1287
+ );
1288
+ }
1289
+
1290
+ /** @internal */
1291
+ export type PlanDeploymentComputeGcp$Outbound = {
1292
+ certificateName: string;
1293
+ };
1294
+
1295
+ /** @internal */
1296
+ export const PlanDeploymentComputeGcp$outboundSchema: z.ZodType<
1297
+ PlanDeploymentComputeGcp$Outbound,
1298
+ PlanDeploymentComputeGcp
1299
+ > = z.object({
1300
+ certificateName: z.string(),
1301
+ });
1302
+
1303
+ export function planDeploymentComputeGcpToJSON(
1304
+ planDeploymentComputeGcp: PlanDeploymentComputeGcp,
1305
+ ): string {
1306
+ return JSON.stringify(
1307
+ PlanDeploymentComputeGcp$outboundSchema.parse(planDeploymentComputeGcp),
1308
+ );
1309
+ }
1310
+
1311
+ /** @internal */
1312
+ export type PlanDeploymentComputeGcpUnion$Outbound =
1313
+ | PlanDeploymentComputeGcp$Outbound
1314
+ | any;
1315
+
1316
+ /** @internal */
1317
+ export const PlanDeploymentComputeGcpUnion$outboundSchema: z.ZodType<
1318
+ PlanDeploymentComputeGcpUnion$Outbound,
1319
+ PlanDeploymentComputeGcpUnion
1320
+ > = z.union([z.lazy(() => PlanDeploymentComputeGcp$outboundSchema), z.any()]);
1321
+
1322
+ export function planDeploymentComputeGcpUnionToJSON(
1323
+ planDeploymentComputeGcpUnion: PlanDeploymentComputeGcpUnion,
1324
+ ): string {
1325
+ return JSON.stringify(
1326
+ PlanDeploymentComputeGcpUnion$outboundSchema.parse(
1327
+ planDeploymentComputeGcpUnion,
1328
+ ),
1329
+ );
1330
+ }
1331
+
1332
+ /** @internal */
1333
+ export type PlanDeploymentComputeTlsSecretRef$Outbound = {
1334
+ namespace?: string | null | undefined;
1335
+ secretName: string;
1336
+ };
1337
+
1338
+ /** @internal */
1339
+ export const PlanDeploymentComputeTlsSecretRef$outboundSchema: z.ZodType<
1340
+ PlanDeploymentComputeTlsSecretRef$Outbound,
1341
+ PlanDeploymentComputeTlsSecretRef
1342
+ > = z.object({
1343
+ namespace: z.nullable(z.string()).optional(),
1344
+ secretName: z.string(),
1345
+ });
1346
+
1347
+ export function planDeploymentComputeTlsSecretRefToJSON(
1348
+ planDeploymentComputeTlsSecretRef: PlanDeploymentComputeTlsSecretRef,
1349
+ ): string {
1350
+ return JSON.stringify(
1351
+ PlanDeploymentComputeTlsSecretRef$outboundSchema.parse(
1352
+ planDeploymentComputeTlsSecretRef,
1353
+ ),
1354
+ );
1355
+ }
1356
+
1357
+ /** @internal */
1358
+ export type PlanDeploymentComputeDomainsKubernetes$Outbound = {
1359
+ tlsSecretRef: PlanDeploymentComputeTlsSecretRef$Outbound;
1360
+ };
1361
+
1362
+ /** @internal */
1363
+ export const PlanDeploymentComputeDomainsKubernetes$outboundSchema: z.ZodType<
1364
+ PlanDeploymentComputeDomainsKubernetes$Outbound,
1365
+ PlanDeploymentComputeDomainsKubernetes
1366
+ > = z.object({
1367
+ tlsSecretRef: z.lazy(() => PlanDeploymentComputeTlsSecretRef$outboundSchema),
1368
+ });
1369
+
1370
+ export function planDeploymentComputeDomainsKubernetesToJSON(
1371
+ planDeploymentComputeDomainsKubernetes:
1372
+ PlanDeploymentComputeDomainsKubernetes,
1373
+ ): string {
1374
+ return JSON.stringify(
1375
+ PlanDeploymentComputeDomainsKubernetes$outboundSchema.parse(
1376
+ planDeploymentComputeDomainsKubernetes,
1377
+ ),
1378
+ );
1379
+ }
1380
+
1381
+ /** @internal */
1382
+ export type PlanDeploymentComputeDomainsKubernetesUnion$Outbound =
1383
+ | PlanDeploymentComputeDomainsKubernetes$Outbound
1384
+ | any;
1385
+
1386
+ /** @internal */
1387
+ export const PlanDeploymentComputeDomainsKubernetesUnion$outboundSchema:
1388
+ z.ZodType<
1389
+ PlanDeploymentComputeDomainsKubernetesUnion$Outbound,
1390
+ PlanDeploymentComputeDomainsKubernetesUnion
1391
+ > = z.union([
1392
+ z.lazy(() => PlanDeploymentComputeDomainsKubernetes$outboundSchema),
1393
+ z.any(),
1394
+ ]);
1395
+
1396
+ export function planDeploymentComputeDomainsKubernetesUnionToJSON(
1397
+ planDeploymentComputeDomainsKubernetesUnion:
1398
+ PlanDeploymentComputeDomainsKubernetesUnion,
1399
+ ): string {
1400
+ return JSON.stringify(
1401
+ PlanDeploymentComputeDomainsKubernetesUnion$outboundSchema.parse(
1402
+ planDeploymentComputeDomainsKubernetesUnion,
1403
+ ),
1404
+ );
1405
+ }
1406
+
1407
+ /** @internal */
1408
+ export type PlanDeploymentComputeDomainsCertificate$Outbound = {
1409
+ aws?: PlanDeploymentComputeAws$Outbound | any | null | undefined;
1410
+ azure?: PlanDeploymentComputeAzure$Outbound | any | null | undefined;
1411
+ gcp?: PlanDeploymentComputeGcp$Outbound | any | null | undefined;
1412
+ kubernetes?:
1413
+ | PlanDeploymentComputeDomainsKubernetes$Outbound
1414
+ | any
1415
+ | null
1416
+ | undefined;
1417
+ };
1418
+
1419
+ /** @internal */
1420
+ export const PlanDeploymentComputeDomainsCertificate$outboundSchema: z.ZodType<
1421
+ PlanDeploymentComputeDomainsCertificate$Outbound,
1422
+ PlanDeploymentComputeDomainsCertificate
1423
+ > = z.object({
1424
+ aws: z.nullable(
1425
+ z.union([z.lazy(() => PlanDeploymentComputeAws$outboundSchema), z.any()]),
1426
+ ).optional(),
1427
+ azure: z.nullable(
1428
+ z.union([z.lazy(() => PlanDeploymentComputeAzure$outboundSchema), z.any()]),
1429
+ ).optional(),
1430
+ gcp: z.nullable(
1431
+ z.union([z.lazy(() => PlanDeploymentComputeGcp$outboundSchema), z.any()]),
1432
+ ).optional(),
1433
+ kubernetes: z.nullable(
1434
+ z.union([
1435
+ z.lazy(() => PlanDeploymentComputeDomainsKubernetes$outboundSchema),
1436
+ z.any(),
1437
+ ]),
1438
+ ).optional(),
1439
+ });
1440
+
1441
+ export function planDeploymentComputeDomainsCertificateToJSON(
1442
+ planDeploymentComputeDomainsCertificate:
1443
+ PlanDeploymentComputeDomainsCertificate,
1444
+ ): string {
1445
+ return JSON.stringify(
1446
+ PlanDeploymentComputeDomainsCertificate$outboundSchema.parse(
1447
+ planDeploymentComputeDomainsCertificate,
1448
+ ),
1449
+ );
1450
+ }
1451
+
1452
+ /** @internal */
1453
+ export type PlanDeploymentComputeCustomDomains$Outbound = {
1454
+ certificate: PlanDeploymentComputeDomainsCertificate$Outbound;
1455
+ domain: string;
1456
+ };
1457
+
1458
+ /** @internal */
1459
+ export const PlanDeploymentComputeCustomDomains$outboundSchema: z.ZodType<
1460
+ PlanDeploymentComputeCustomDomains$Outbound,
1461
+ PlanDeploymentComputeCustomDomains
1462
+ > = z.object({
1463
+ certificate: z.lazy(() =>
1464
+ PlanDeploymentComputeDomainsCertificate$outboundSchema
1465
+ ),
1466
+ domain: z.string(),
1467
+ });
1468
+
1469
+ export function planDeploymentComputeCustomDomainsToJSON(
1470
+ planDeploymentComputeCustomDomains: PlanDeploymentComputeCustomDomains,
1471
+ ): string {
1472
+ return JSON.stringify(
1473
+ PlanDeploymentComputeCustomDomains$outboundSchema.parse(
1474
+ planDeploymentComputeCustomDomains,
1475
+ ),
1476
+ );
1477
+ }
1478
+
1479
+ /** @internal */
1480
+ export type PlanDeploymentComputeDomains$Outbound = {
1481
+ customDomains?:
1482
+ | { [k: string]: PlanDeploymentComputeCustomDomains$Outbound }
1483
+ | null
1484
+ | undefined;
1485
+ };
1486
+
1487
+ /** @internal */
1488
+ export const PlanDeploymentComputeDomains$outboundSchema: z.ZodType<
1489
+ PlanDeploymentComputeDomains$Outbound,
1490
+ PlanDeploymentComputeDomains
1491
+ > = z.object({
1492
+ customDomains: z.nullable(
1493
+ z.record(
1494
+ z.string(),
1495
+ z.lazy(() => PlanDeploymentComputeCustomDomains$outboundSchema),
1496
+ ),
1497
+ ).optional(),
1498
+ });
1499
+
1500
+ export function planDeploymentComputeDomainsToJSON(
1501
+ planDeploymentComputeDomains: PlanDeploymentComputeDomains,
1502
+ ): string {
1503
+ return JSON.stringify(
1504
+ PlanDeploymentComputeDomains$outboundSchema.parse(
1505
+ planDeploymentComputeDomains,
1506
+ ),
1507
+ );
1508
+ }
1509
+
1510
+ /** @internal */
1511
+ export type PlanDeploymentComputeDomainsUnion$Outbound =
1512
+ | PlanDeploymentComputeDomains$Outbound
1513
+ | any;
1514
+
1515
+ /** @internal */
1516
+ export const PlanDeploymentComputeDomainsUnion$outboundSchema: z.ZodType<
1517
+ PlanDeploymentComputeDomainsUnion$Outbound,
1518
+ PlanDeploymentComputeDomainsUnion
1519
+ > = z.union([
1520
+ z.lazy(() => PlanDeploymentComputeDomains$outboundSchema),
1521
+ z.any(),
1522
+ ]);
1523
+
1524
+ export function planDeploymentComputeDomainsUnionToJSON(
1525
+ planDeploymentComputeDomainsUnion: PlanDeploymentComputeDomainsUnion,
1526
+ ): string {
1527
+ return JSON.stringify(
1528
+ PlanDeploymentComputeDomainsUnion$outboundSchema.parse(
1529
+ planDeploymentComputeDomainsUnion,
1530
+ ),
1531
+ );
1532
+ }
1533
+
1534
+ /** @internal */
1535
+ export type PlanDeploymentComputeExternalBindings$Outbound = {};
1536
+
1537
+ /** @internal */
1538
+ export const PlanDeploymentComputeExternalBindings$outboundSchema: z.ZodType<
1539
+ PlanDeploymentComputeExternalBindings$Outbound,
1540
+ PlanDeploymentComputeExternalBindings
1541
+ > = z.object({});
1542
+
1543
+ export function planDeploymentComputeExternalBindingsToJSON(
1544
+ planDeploymentComputeExternalBindings: PlanDeploymentComputeExternalBindings,
1545
+ ): string {
1546
+ return JSON.stringify(
1547
+ PlanDeploymentComputeExternalBindings$outboundSchema.parse(
1548
+ planDeploymentComputeExternalBindings,
1549
+ ),
1550
+ );
1551
+ }
1552
+
1553
+ /** @internal */
1554
+ export const PlanDeploymentComputeHeartbeats$outboundSchema: z.ZodEnum<
1555
+ typeof PlanDeploymentComputeHeartbeats
1556
+ > = z.enum(PlanDeploymentComputeHeartbeats);
1557
+
1558
+ /** @internal */
1559
+ export type PlanDeploymentComputeCloud$Outbound = {
1560
+ accountId?: string | null | undefined;
1561
+ clusterId?: string | null | undefined;
1562
+ clusterName?: string | null | undefined;
1563
+ projectId?: string | null | undefined;
1564
+ region?: string | null | undefined;
1565
+ resourceGroup?: string | null | undefined;
1566
+ subscriptionId?: string | null | undefined;
1567
+ };
1568
+
1569
+ /** @internal */
1570
+ export const PlanDeploymentComputeCloud$outboundSchema: z.ZodType<
1571
+ PlanDeploymentComputeCloud$Outbound,
1572
+ PlanDeploymentComputeCloud
1573
+ > = z.object({
1574
+ accountId: z.nullable(z.string()).optional(),
1575
+ clusterId: z.nullable(z.string()).optional(),
1576
+ clusterName: z.nullable(z.string()).optional(),
1577
+ projectId: z.nullable(z.string()).optional(),
1578
+ region: z.nullable(z.string()).optional(),
1579
+ resourceGroup: z.nullable(z.string()).optional(),
1580
+ subscriptionId: z.nullable(z.string()).optional(),
1581
+ });
1582
+
1583
+ export function planDeploymentComputeCloudToJSON(
1584
+ planDeploymentComputeCloud: PlanDeploymentComputeCloud,
1585
+ ): string {
1586
+ return JSON.stringify(
1587
+ PlanDeploymentComputeCloud$outboundSchema.parse(planDeploymentComputeCloud),
1588
+ );
1589
+ }
1590
+
1591
+ /** @internal */
1592
+ export type PlanDeploymentComputeCloudUnion$Outbound =
1593
+ | PlanDeploymentComputeCloud$Outbound
1594
+ | any;
1595
+
1596
+ /** @internal */
1597
+ export const PlanDeploymentComputeCloudUnion$outboundSchema: z.ZodType<
1598
+ PlanDeploymentComputeCloudUnion$Outbound,
1599
+ PlanDeploymentComputeCloudUnion
1600
+ > = z.union([z.lazy(() => PlanDeploymentComputeCloud$outboundSchema), z.any()]);
1601
+
1602
+ export function planDeploymentComputeCloudUnionToJSON(
1603
+ planDeploymentComputeCloudUnion: PlanDeploymentComputeCloudUnion,
1604
+ ): string {
1605
+ return JSON.stringify(
1606
+ PlanDeploymentComputeCloudUnion$outboundSchema.parse(
1607
+ planDeploymentComputeCloudUnion,
1608
+ ),
1609
+ );
1610
+ }
1611
+
1612
+ /** @internal */
1613
+ export const PlanDeploymentComputeOwnership$outboundSchema: z.ZodEnum<
1614
+ typeof PlanDeploymentComputeOwnership
1615
+ > = z.enum(PlanDeploymentComputeOwnership);
1616
+
1617
+ /** @internal */
1618
+ export type PlanDeploymentComputeCluster$Outbound = {
1619
+ cloud?: PlanDeploymentComputeCloud$Outbound | any | null | undefined;
1620
+ namespace?: string | null | undefined;
1621
+ ownership: string;
1622
+ };
1623
+
1624
+ /** @internal */
1625
+ export const PlanDeploymentComputeCluster$outboundSchema: z.ZodType<
1626
+ PlanDeploymentComputeCluster$Outbound,
1627
+ PlanDeploymentComputeCluster
1628
+ > = z.object({
1629
+ cloud: z.nullable(
1630
+ z.union([z.lazy(() => PlanDeploymentComputeCloud$outboundSchema), z.any()]),
1631
+ ).optional(),
1632
+ namespace: z.nullable(z.string()).optional(),
1633
+ ownership: PlanDeploymentComputeOwnership$outboundSchema,
1634
+ });
1635
+
1636
+ export function planDeploymentComputeClusterToJSON(
1637
+ planDeploymentComputeCluster: PlanDeploymentComputeCluster,
1638
+ ): string {
1639
+ return JSON.stringify(
1640
+ PlanDeploymentComputeCluster$outboundSchema.parse(
1641
+ planDeploymentComputeCluster,
1642
+ ),
1643
+ );
1644
+ }
1645
+
1646
+ /** @internal */
1647
+ export type PlanDeploymentComputeClusterUnion$Outbound =
1648
+ | PlanDeploymentComputeCluster$Outbound
1649
+ | any;
1650
+
1651
+ /** @internal */
1652
+ export const PlanDeploymentComputeClusterUnion$outboundSchema: z.ZodType<
1653
+ PlanDeploymentComputeClusterUnion$Outbound,
1654
+ PlanDeploymentComputeClusterUnion
1655
+ > = z.union([
1656
+ z.lazy(() => PlanDeploymentComputeCluster$outboundSchema),
1657
+ z.any(),
1658
+ ]);
1659
+
1660
+ export function planDeploymentComputeClusterUnionToJSON(
1661
+ planDeploymentComputeClusterUnion: PlanDeploymentComputeClusterUnion,
1662
+ ): string {
1663
+ return JSON.stringify(
1664
+ PlanDeploymentComputeClusterUnion$outboundSchema.parse(
1665
+ planDeploymentComputeClusterUnion,
1666
+ ),
1667
+ );
1668
+ }
1669
+
1670
+ /** @internal */
1671
+ export type PlanDeploymentComputeCertificateNone2$Outbound = {
1672
+ mode: "none";
1673
+ };
1674
+
1675
+ /** @internal */
1676
+ export const PlanDeploymentComputeCertificateNone2$outboundSchema: z.ZodType<
1677
+ PlanDeploymentComputeCertificateNone2$Outbound,
1678
+ PlanDeploymentComputeCertificateNone2
1679
+ > = z.object({
1680
+ mode: z.literal("none"),
1681
+ });
1682
+
1683
+ export function planDeploymentComputeCertificateNone2ToJSON(
1684
+ planDeploymentComputeCertificateNone2: PlanDeploymentComputeCertificateNone2,
1685
+ ): string {
1686
+ return JSON.stringify(
1687
+ PlanDeploymentComputeCertificateNone2$outboundSchema.parse(
1688
+ planDeploymentComputeCertificateNone2,
1689
+ ),
1690
+ );
1691
+ }
1692
+
1693
+ /** @internal */
1694
+ export type PlanDeploymentComputeCertificateManagedTLSSecret2$Outbound = {
1695
+ mode: "managedTlsSecret";
1696
+ secretNameTemplate: string;
1697
+ };
1698
+
1699
+ /** @internal */
1700
+ export const PlanDeploymentComputeCertificateManagedTLSSecret2$outboundSchema:
1701
+ z.ZodType<
1702
+ PlanDeploymentComputeCertificateManagedTLSSecret2$Outbound,
1703
+ PlanDeploymentComputeCertificateManagedTLSSecret2
1704
+ > = z.object({
1705
+ mode: z.literal("managedTlsSecret"),
1706
+ secretNameTemplate: z.string(),
1707
+ });
1708
+
1709
+ export function planDeploymentComputeCertificateManagedTLSSecret2ToJSON(
1710
+ planDeploymentComputeCertificateManagedTLSSecret2:
1711
+ PlanDeploymentComputeCertificateManagedTLSSecret2,
1712
+ ): string {
1713
+ return JSON.stringify(
1714
+ PlanDeploymentComputeCertificateManagedTLSSecret2$outboundSchema.parse(
1715
+ planDeploymentComputeCertificateManagedTLSSecret2,
1716
+ ),
1717
+ );
1718
+ }
1719
+
1720
+ /** @internal */
1721
+ export type PlanDeploymentComputeCertificateAwsAcmArn2$Outbound = {
1722
+ certificateArn: string;
1723
+ mode: "awsAcmArn";
1724
+ };
1725
+
1726
+ /** @internal */
1727
+ export const PlanDeploymentComputeCertificateAwsAcmArn2$outboundSchema:
1728
+ z.ZodType<
1729
+ PlanDeploymentComputeCertificateAwsAcmArn2$Outbound,
1730
+ PlanDeploymentComputeCertificateAwsAcmArn2
1731
+ > = z.object({
1732
+ certificateArn: z.string(),
1733
+ mode: z.literal("awsAcmArn"),
1734
+ });
1735
+
1736
+ export function planDeploymentComputeCertificateAwsAcmArn2ToJSON(
1737
+ planDeploymentComputeCertificateAwsAcmArn2:
1738
+ PlanDeploymentComputeCertificateAwsAcmArn2,
1739
+ ): string {
1740
+ return JSON.stringify(
1741
+ PlanDeploymentComputeCertificateAwsAcmArn2$outboundSchema.parse(
1742
+ planDeploymentComputeCertificateAwsAcmArn2,
1743
+ ),
1744
+ );
1745
+ }
1746
+
1747
+ /** @internal */
1748
+ export type PlanDeploymentComputeCertificateManagedAcmImport2$Outbound = {
1749
+ mode: "managedAcmImport";
1750
+ region?: string | null | undefined;
1751
+ tags?: { [k: string]: string } | undefined;
1752
+ };
1753
+
1754
+ /** @internal */
1755
+ export const PlanDeploymentComputeCertificateManagedAcmImport2$outboundSchema:
1756
+ z.ZodType<
1757
+ PlanDeploymentComputeCertificateManagedAcmImport2$Outbound,
1758
+ PlanDeploymentComputeCertificateManagedAcmImport2
1759
+ > = z.object({
1760
+ mode: z.literal("managedAcmImport"),
1761
+ region: z.nullable(z.string()).optional(),
1762
+ tags: z.record(z.string(), z.string()).optional(),
1763
+ });
1764
+
1765
+ export function planDeploymentComputeCertificateManagedAcmImport2ToJSON(
1766
+ planDeploymentComputeCertificateManagedAcmImport2:
1767
+ PlanDeploymentComputeCertificateManagedAcmImport2,
1768
+ ): string {
1769
+ return JSON.stringify(
1770
+ PlanDeploymentComputeCertificateManagedAcmImport2$outboundSchema.parse(
1771
+ planDeploymentComputeCertificateManagedAcmImport2,
1772
+ ),
1773
+ );
1774
+ }
1775
+
1776
+ /** @internal */
1777
+ export type PlanDeploymentComputeCertificateTLSSecretRef2$Outbound = {
1778
+ namespace?: string | null | undefined;
1779
+ secretName: string;
1780
+ mode: "tlsSecretRef";
1781
+ };
1782
+
1783
+ /** @internal */
1784
+ export const PlanDeploymentComputeCertificateTLSSecretRef2$outboundSchema:
1785
+ z.ZodType<
1786
+ PlanDeploymentComputeCertificateTLSSecretRef2$Outbound,
1787
+ PlanDeploymentComputeCertificateTLSSecretRef2
1788
+ > = z.object({
1789
+ namespace: z.nullable(z.string()).optional(),
1790
+ secretName: z.string(),
1791
+ mode: z.literal("tlsSecretRef"),
1792
+ });
1793
+
1794
+ export function planDeploymentComputeCertificateTLSSecretRef2ToJSON(
1795
+ planDeploymentComputeCertificateTLSSecretRef2:
1796
+ PlanDeploymentComputeCertificateTLSSecretRef2,
1797
+ ): string {
1798
+ return JSON.stringify(
1799
+ PlanDeploymentComputeCertificateTLSSecretRef2$outboundSchema.parse(
1800
+ planDeploymentComputeCertificateTLSSecretRef2,
1801
+ ),
1802
+ );
1803
+ }
1804
+
1805
+ /** @internal */
1806
+ export type PlanDeploymentComputeCertificateUnion2$Outbound =
1807
+ | PlanDeploymentComputeCertificateTLSSecretRef2$Outbound
1808
+ | PlanDeploymentComputeCertificateManagedAcmImport2$Outbound
1809
+ | PlanDeploymentComputeCertificateAwsAcmArn2$Outbound
1810
+ | PlanDeploymentComputeCertificateManagedTLSSecret2$Outbound
1811
+ | PlanDeploymentComputeCertificateNone2$Outbound;
1812
+
1813
+ /** @internal */
1814
+ export const PlanDeploymentComputeCertificateUnion2$outboundSchema: z.ZodType<
1815
+ PlanDeploymentComputeCertificateUnion2$Outbound,
1816
+ PlanDeploymentComputeCertificateUnion2
1817
+ > = z.union([
1818
+ z.lazy(() => PlanDeploymentComputeCertificateTLSSecretRef2$outboundSchema),
1819
+ z.lazy(() =>
1820
+ PlanDeploymentComputeCertificateManagedAcmImport2$outboundSchema
1821
+ ),
1822
+ z.lazy(() => PlanDeploymentComputeCertificateAwsAcmArn2$outboundSchema),
1823
+ z.lazy(() =>
1824
+ PlanDeploymentComputeCertificateManagedTLSSecret2$outboundSchema
1825
+ ),
1826
+ z.lazy(() => PlanDeploymentComputeCertificateNone2$outboundSchema),
1827
+ ]);
1828
+
1829
+ export function planDeploymentComputeCertificateUnion2ToJSON(
1830
+ planDeploymentComputeCertificateUnion2:
1831
+ PlanDeploymentComputeCertificateUnion2,
1832
+ ): string {
1833
+ return JSON.stringify(
1834
+ PlanDeploymentComputeCertificateUnion2$outboundSchema.parse(
1835
+ planDeploymentComputeCertificateUnion2,
1836
+ ),
1837
+ );
1838
+ }
1839
+
1840
+ /** @internal */
1841
+ export const PlanDeploymentComputeModeCustom$outboundSchema: z.ZodEnum<
1842
+ typeof PlanDeploymentComputeModeCustom
1843
+ > = z.enum(PlanDeploymentComputeModeCustom);
1844
+
1845
+ /** @internal */
1846
+ export const PlanDeploymentComputeProviderAzureApplicationGatewayForContainersEnum4$outboundSchema:
1847
+ z.ZodEnum<
1848
+ typeof PlanDeploymentComputeProviderAzureApplicationGatewayForContainersEnum4
1849
+ > = z.enum(
1850
+ PlanDeploymentComputeProviderAzureApplicationGatewayForContainersEnum4,
1851
+ );
1852
+
1853
+ /** @internal */
1854
+ export type PlanDeploymentComputeProviderAzureApplicationGatewayForContainers4$Outbound =
1855
+ {
1856
+ albName?: string | null | undefined;
1857
+ albNamespace?: string | null | undefined;
1858
+ frontend: string;
1859
+ provider: string;
1860
+ };
1861
+
1862
+ /** @internal */
1863
+ export const PlanDeploymentComputeProviderAzureApplicationGatewayForContainers4$outboundSchema:
1864
+ z.ZodType<
1865
+ PlanDeploymentComputeProviderAzureApplicationGatewayForContainers4$Outbound,
1866
+ PlanDeploymentComputeProviderAzureApplicationGatewayForContainers4
1867
+ > = z.object({
1868
+ albName: z.nullable(z.string()).optional(),
1869
+ albNamespace: z.nullable(z.string()).optional(),
1870
+ frontend: z.string(),
1871
+ provider:
1872
+ PlanDeploymentComputeProviderAzureApplicationGatewayForContainersEnum4$outboundSchema,
1873
+ });
1874
+
1875
+ export function planDeploymentComputeProviderAzureApplicationGatewayForContainers4ToJSON(
1876
+ planDeploymentComputeProviderAzureApplicationGatewayForContainers4:
1877
+ PlanDeploymentComputeProviderAzureApplicationGatewayForContainers4,
1878
+ ): string {
1879
+ return JSON.stringify(
1880
+ PlanDeploymentComputeProviderAzureApplicationGatewayForContainers4$outboundSchema
1881
+ .parse(
1882
+ planDeploymentComputeProviderAzureApplicationGatewayForContainers4,
1883
+ ),
1884
+ );
1885
+ }
1886
+
1887
+ /** @internal */
1888
+ export const PlanDeploymentComputeProviderGkeGatewayEnum4$outboundSchema:
1889
+ z.ZodEnum<typeof PlanDeploymentComputeProviderGkeGatewayEnum4> = z.enum(
1890
+ PlanDeploymentComputeProviderGkeGatewayEnum4,
1891
+ );
1892
+
1893
+ /** @internal */
1894
+ export type PlanDeploymentComputeProviderGkeGateway4$Outbound = {
1895
+ provider: string;
1896
+ staticAddressName?: string | null | undefined;
1897
+ };
1898
+
1899
+ /** @internal */
1900
+ export const PlanDeploymentComputeProviderGkeGateway4$outboundSchema: z.ZodType<
1901
+ PlanDeploymentComputeProviderGkeGateway4$Outbound,
1902
+ PlanDeploymentComputeProviderGkeGateway4
1903
+ > = z.object({
1904
+ provider: PlanDeploymentComputeProviderGkeGatewayEnum4$outboundSchema,
1905
+ staticAddressName: z.nullable(z.string()).optional(),
1906
+ });
1907
+
1908
+ export function planDeploymentComputeProviderGkeGateway4ToJSON(
1909
+ planDeploymentComputeProviderGkeGateway4:
1910
+ PlanDeploymentComputeProviderGkeGateway4,
1911
+ ): string {
1912
+ return JSON.stringify(
1913
+ PlanDeploymentComputeProviderGkeGateway4$outboundSchema.parse(
1914
+ planDeploymentComputeProviderGkeGateway4,
1915
+ ),
1916
+ );
1917
+ }
1918
+
1919
+ /** @internal */
1920
+ export const PlanDeploymentComputeProviderAwsAlbEnum4$outboundSchema: z.ZodEnum<
1921
+ typeof PlanDeploymentComputeProviderAwsAlbEnum4
1922
+ > = z.enum(PlanDeploymentComputeProviderAwsAlbEnum4);
1923
+
1924
+ /** @internal */
1925
+ export type PlanDeploymentComputeProviderAwsAlb4$Outbound = {
1926
+ ipAddressType?: string | null | undefined;
1927
+ provider: string;
1928
+ scheme: string;
1929
+ subnetIds?: Array<string> | undefined;
1930
+ targetType: string;
1931
+ };
1932
+
1933
+ /** @internal */
1934
+ export const PlanDeploymentComputeProviderAwsAlb4$outboundSchema: z.ZodType<
1935
+ PlanDeploymentComputeProviderAwsAlb4$Outbound,
1936
+ PlanDeploymentComputeProviderAwsAlb4
1937
+ > = z.object({
1938
+ ipAddressType: z.nullable(z.string()).optional(),
1939
+ provider: PlanDeploymentComputeProviderAwsAlbEnum4$outboundSchema,
1940
+ scheme: z.string(),
1941
+ subnetIds: z.array(z.string()).optional(),
1942
+ targetType: z.string(),
1943
+ });
1944
+
1945
+ export function planDeploymentComputeProviderAwsAlb4ToJSON(
1946
+ planDeploymentComputeProviderAwsAlb4: PlanDeploymentComputeProviderAwsAlb4,
1947
+ ): string {
1948
+ return JSON.stringify(
1949
+ PlanDeploymentComputeProviderAwsAlb4$outboundSchema.parse(
1950
+ planDeploymentComputeProviderAwsAlb4,
1951
+ ),
1952
+ );
1953
+ }
1954
+
1955
+ /** @internal */
1956
+ export type PlanDeploymentComputeProviderUnion4$Outbound =
1957
+ | PlanDeploymentComputeProviderAwsAlb4$Outbound
1958
+ | PlanDeploymentComputeProviderAzureApplicationGatewayForContainers4$Outbound
1959
+ | PlanDeploymentComputeProviderGkeGateway4$Outbound
1960
+ | any;
1961
+
1962
+ /** @internal */
1963
+ export const PlanDeploymentComputeProviderUnion4$outboundSchema: z.ZodType<
1964
+ PlanDeploymentComputeProviderUnion4$Outbound,
1965
+ PlanDeploymentComputeProviderUnion4
1966
+ > = z.union([
1967
+ z.lazy(() => PlanDeploymentComputeProviderAwsAlb4$outboundSchema),
1968
+ z.lazy(() =>
1969
+ PlanDeploymentComputeProviderAzureApplicationGatewayForContainers4$outboundSchema
1970
+ ),
1971
+ z.lazy(() => PlanDeploymentComputeProviderGkeGateway4$outboundSchema),
1972
+ z.any(),
1973
+ ]);
1974
+
1975
+ export function planDeploymentComputeProviderUnion4ToJSON(
1976
+ planDeploymentComputeProviderUnion4: PlanDeploymentComputeProviderUnion4,
1977
+ ): string {
1978
+ return JSON.stringify(
1979
+ PlanDeploymentComputeProviderUnion4$outboundSchema.parse(
1980
+ planDeploymentComputeProviderUnion4,
1981
+ ),
1982
+ );
1983
+ }
1984
+
1985
+ /** @internal */
1986
+ export type PlanDeploymentComputeRouteGateway2$Outbound = {
1987
+ annotations?: { [k: string]: string } | undefined;
1988
+ controller?: string | null | undefined;
1989
+ gatewayClassName: string;
1990
+ labels?: { [k: string]: string } | undefined;
1991
+ listenerPort: number;
1992
+ provider?:
1993
+ | PlanDeploymentComputeProviderAwsAlb4$Outbound
1994
+ | PlanDeploymentComputeProviderAzureApplicationGatewayForContainers4$Outbound
1995
+ | PlanDeploymentComputeProviderGkeGateway4$Outbound
1996
+ | any
1997
+ | null
1998
+ | undefined;
1999
+ routeApi: "gateway";
2000
+ };
2001
+
2002
+ /** @internal */
2003
+ export const PlanDeploymentComputeRouteGateway2$outboundSchema: z.ZodType<
2004
+ PlanDeploymentComputeRouteGateway2$Outbound,
2005
+ PlanDeploymentComputeRouteGateway2
2006
+ > = z.object({
2007
+ annotations: z.record(z.string(), z.string()).optional(),
2008
+ controller: z.nullable(z.string()).optional(),
2009
+ gatewayClassName: z.string(),
2010
+ labels: z.record(z.string(), z.string()).optional(),
2011
+ listenerPort: z.int(),
2012
+ provider: z.nullable(
2013
+ z.union([
2014
+ z.lazy(() => PlanDeploymentComputeProviderAwsAlb4$outboundSchema),
2015
+ z.lazy(() =>
2016
+ PlanDeploymentComputeProviderAzureApplicationGatewayForContainers4$outboundSchema
2017
+ ),
2018
+ z.lazy(() => PlanDeploymentComputeProviderGkeGateway4$outboundSchema),
2019
+ z.any(),
2020
+ ]),
2021
+ ).optional(),
2022
+ routeApi: z.literal("gateway"),
2023
+ });
2024
+
2025
+ export function planDeploymentComputeRouteGateway2ToJSON(
2026
+ planDeploymentComputeRouteGateway2: PlanDeploymentComputeRouteGateway2,
2027
+ ): string {
2028
+ return JSON.stringify(
2029
+ PlanDeploymentComputeRouteGateway2$outboundSchema.parse(
2030
+ planDeploymentComputeRouteGateway2,
2031
+ ),
2032
+ );
2033
+ }
2034
+
2035
+ /** @internal */
2036
+ export const PlanDeploymentComputeProviderAzureApplicationGatewayForContainersEnum3$outboundSchema:
2037
+ z.ZodEnum<
2038
+ typeof PlanDeploymentComputeProviderAzureApplicationGatewayForContainersEnum3
2039
+ > = z.enum(
2040
+ PlanDeploymentComputeProviderAzureApplicationGatewayForContainersEnum3,
2041
+ );
2042
+
2043
+ /** @internal */
2044
+ export type PlanDeploymentComputeProviderAzureApplicationGatewayForContainers3$Outbound =
2045
+ {
2046
+ albName?: string | null | undefined;
2047
+ albNamespace?: string | null | undefined;
2048
+ frontend: string;
2049
+ provider: string;
2050
+ };
2051
+
2052
+ /** @internal */
2053
+ export const PlanDeploymentComputeProviderAzureApplicationGatewayForContainers3$outboundSchema:
2054
+ z.ZodType<
2055
+ PlanDeploymentComputeProviderAzureApplicationGatewayForContainers3$Outbound,
2056
+ PlanDeploymentComputeProviderAzureApplicationGatewayForContainers3
2057
+ > = z.object({
2058
+ albName: z.nullable(z.string()).optional(),
2059
+ albNamespace: z.nullable(z.string()).optional(),
2060
+ frontend: z.string(),
2061
+ provider:
2062
+ PlanDeploymentComputeProviderAzureApplicationGatewayForContainersEnum3$outboundSchema,
2063
+ });
2064
+
2065
+ export function planDeploymentComputeProviderAzureApplicationGatewayForContainers3ToJSON(
2066
+ planDeploymentComputeProviderAzureApplicationGatewayForContainers3:
2067
+ PlanDeploymentComputeProviderAzureApplicationGatewayForContainers3,
2068
+ ): string {
2069
+ return JSON.stringify(
2070
+ PlanDeploymentComputeProviderAzureApplicationGatewayForContainers3$outboundSchema
2071
+ .parse(
2072
+ planDeploymentComputeProviderAzureApplicationGatewayForContainers3,
2073
+ ),
2074
+ );
2075
+ }
2076
+
2077
+ /** @internal */
2078
+ export const PlanDeploymentComputeProviderGkeGatewayEnum3$outboundSchema:
2079
+ z.ZodEnum<typeof PlanDeploymentComputeProviderGkeGatewayEnum3> = z.enum(
2080
+ PlanDeploymentComputeProviderGkeGatewayEnum3,
2081
+ );
2082
+
2083
+ /** @internal */
2084
+ export type PlanDeploymentComputeProviderGkeGateway3$Outbound = {
2085
+ provider: string;
2086
+ staticAddressName?: string | null | undefined;
2087
+ };
2088
+
2089
+ /** @internal */
2090
+ export const PlanDeploymentComputeProviderGkeGateway3$outboundSchema: z.ZodType<
2091
+ PlanDeploymentComputeProviderGkeGateway3$Outbound,
2092
+ PlanDeploymentComputeProviderGkeGateway3
2093
+ > = z.object({
2094
+ provider: PlanDeploymentComputeProviderGkeGatewayEnum3$outboundSchema,
2095
+ staticAddressName: z.nullable(z.string()).optional(),
2096
+ });
2097
+
2098
+ export function planDeploymentComputeProviderGkeGateway3ToJSON(
2099
+ planDeploymentComputeProviderGkeGateway3:
2100
+ PlanDeploymentComputeProviderGkeGateway3,
2101
+ ): string {
2102
+ return JSON.stringify(
2103
+ PlanDeploymentComputeProviderGkeGateway3$outboundSchema.parse(
2104
+ planDeploymentComputeProviderGkeGateway3,
2105
+ ),
2106
+ );
2107
+ }
2108
+
2109
+ /** @internal */
2110
+ export const PlanDeploymentComputeProviderAwsAlbEnum3$outboundSchema: z.ZodEnum<
2111
+ typeof PlanDeploymentComputeProviderAwsAlbEnum3
2112
+ > = z.enum(PlanDeploymentComputeProviderAwsAlbEnum3);
2113
+
2114
+ /** @internal */
2115
+ export type PlanDeploymentComputeProviderAwsAlb3$Outbound = {
2116
+ ipAddressType?: string | null | undefined;
2117
+ provider: string;
2118
+ scheme: string;
2119
+ subnetIds?: Array<string> | undefined;
2120
+ targetType: string;
2121
+ };
2122
+
2123
+ /** @internal */
2124
+ export const PlanDeploymentComputeProviderAwsAlb3$outboundSchema: z.ZodType<
2125
+ PlanDeploymentComputeProviderAwsAlb3$Outbound,
2126
+ PlanDeploymentComputeProviderAwsAlb3
2127
+ > = z.object({
2128
+ ipAddressType: z.nullable(z.string()).optional(),
2129
+ provider: PlanDeploymentComputeProviderAwsAlbEnum3$outboundSchema,
2130
+ scheme: z.string(),
2131
+ subnetIds: z.array(z.string()).optional(),
2132
+ targetType: z.string(),
2133
+ });
2134
+
2135
+ export function planDeploymentComputeProviderAwsAlb3ToJSON(
2136
+ planDeploymentComputeProviderAwsAlb3: PlanDeploymentComputeProviderAwsAlb3,
2137
+ ): string {
2138
+ return JSON.stringify(
2139
+ PlanDeploymentComputeProviderAwsAlb3$outboundSchema.parse(
2140
+ planDeploymentComputeProviderAwsAlb3,
2141
+ ),
2142
+ );
2143
+ }
2144
+
2145
+ /** @internal */
2146
+ export type PlanDeploymentComputeProviderUnion3$Outbound =
2147
+ | PlanDeploymentComputeProviderAwsAlb3$Outbound
2148
+ | PlanDeploymentComputeProviderAzureApplicationGatewayForContainers3$Outbound
2149
+ | PlanDeploymentComputeProviderGkeGateway3$Outbound
2150
+ | any;
2151
+
2152
+ /** @internal */
2153
+ export const PlanDeploymentComputeProviderUnion3$outboundSchema: z.ZodType<
2154
+ PlanDeploymentComputeProviderUnion3$Outbound,
2155
+ PlanDeploymentComputeProviderUnion3
2156
+ > = z.union([
2157
+ z.lazy(() => PlanDeploymentComputeProviderAwsAlb3$outboundSchema),
2158
+ z.lazy(() =>
2159
+ PlanDeploymentComputeProviderAzureApplicationGatewayForContainers3$outboundSchema
2160
+ ),
2161
+ z.lazy(() => PlanDeploymentComputeProviderGkeGateway3$outboundSchema),
2162
+ z.any(),
2163
+ ]);
2164
+
2165
+ export function planDeploymentComputeProviderUnion3ToJSON(
2166
+ planDeploymentComputeProviderUnion3: PlanDeploymentComputeProviderUnion3,
2167
+ ): string {
2168
+ return JSON.stringify(
2169
+ PlanDeploymentComputeProviderUnion3$outboundSchema.parse(
2170
+ planDeploymentComputeProviderUnion3,
2171
+ ),
2172
+ );
2173
+ }
2174
+
2175
+ /** @internal */
2176
+ export type PlanDeploymentComputeRouteIngress2$Outbound = {
2177
+ annotations?: { [k: string]: string } | undefined;
2178
+ controller?: string | null | undefined;
2179
+ ingressClassName: string;
2180
+ labels?: { [k: string]: string } | undefined;
2181
+ provider?:
2182
+ | PlanDeploymentComputeProviderAwsAlb3$Outbound
2183
+ | PlanDeploymentComputeProviderAzureApplicationGatewayForContainers3$Outbound
2184
+ | PlanDeploymentComputeProviderGkeGateway3$Outbound
2185
+ | any
2186
+ | null
2187
+ | undefined;
2188
+ routeApi: "ingress";
2189
+ };
2190
+
2191
+ /** @internal */
2192
+ export const PlanDeploymentComputeRouteIngress2$outboundSchema: z.ZodType<
2193
+ PlanDeploymentComputeRouteIngress2$Outbound,
2194
+ PlanDeploymentComputeRouteIngress2
2195
+ > = z.object({
2196
+ annotations: z.record(z.string(), z.string()).optional(),
2197
+ controller: z.nullable(z.string()).optional(),
2198
+ ingressClassName: z.string(),
2199
+ labels: z.record(z.string(), z.string()).optional(),
2200
+ provider: z.nullable(
2201
+ z.union([
2202
+ z.lazy(() => PlanDeploymentComputeProviderAwsAlb3$outboundSchema),
2203
+ z.lazy(() =>
2204
+ PlanDeploymentComputeProviderAzureApplicationGatewayForContainers3$outboundSchema
2205
+ ),
2206
+ z.lazy(() => PlanDeploymentComputeProviderGkeGateway3$outboundSchema),
2207
+ z.any(),
2208
+ ]),
2209
+ ).optional(),
2210
+ routeApi: z.literal("ingress"),
2211
+ });
2212
+
2213
+ export function planDeploymentComputeRouteIngress2ToJSON(
2214
+ planDeploymentComputeRouteIngress2: PlanDeploymentComputeRouteIngress2,
2215
+ ): string {
2216
+ return JSON.stringify(
2217
+ PlanDeploymentComputeRouteIngress2$outboundSchema.parse(
2218
+ planDeploymentComputeRouteIngress2,
2219
+ ),
2220
+ );
2221
+ }
2222
+
2223
+ /** @internal */
2224
+ export type PlanDeploymentComputeRouteUnion2$Outbound =
2225
+ | PlanDeploymentComputeRouteIngress2$Outbound
2226
+ | PlanDeploymentComputeRouteGateway2$Outbound;
2227
+
2228
+ /** @internal */
2229
+ export const PlanDeploymentComputeRouteUnion2$outboundSchema: z.ZodType<
2230
+ PlanDeploymentComputeRouteUnion2$Outbound,
2231
+ PlanDeploymentComputeRouteUnion2
2232
+ > = z.union([
2233
+ z.lazy(() => PlanDeploymentComputeRouteIngress2$outboundSchema),
2234
+ z.lazy(() => PlanDeploymentComputeRouteGateway2$outboundSchema),
2235
+ ]);
2236
+
2237
+ export function planDeploymentComputeRouteUnion2ToJSON(
2238
+ planDeploymentComputeRouteUnion2: PlanDeploymentComputeRouteUnion2,
2239
+ ): string {
2240
+ return JSON.stringify(
2241
+ PlanDeploymentComputeRouteUnion2$outboundSchema.parse(
2242
+ planDeploymentComputeRouteUnion2,
2243
+ ),
2244
+ );
2245
+ }
2246
+
2247
+ /** @internal */
2248
+ export type PlanDeploymentComputeExposureCustom$Outbound = {
2249
+ certificate:
2250
+ | PlanDeploymentComputeCertificateTLSSecretRef2$Outbound
2251
+ | PlanDeploymentComputeCertificateManagedAcmImport2$Outbound
2252
+ | PlanDeploymentComputeCertificateAwsAcmArn2$Outbound
2253
+ | PlanDeploymentComputeCertificateManagedTLSSecret2$Outbound
2254
+ | PlanDeploymentComputeCertificateNone2$Outbound;
2255
+ domain: string;
2256
+ mode: string;
2257
+ route:
2258
+ | PlanDeploymentComputeRouteIngress2$Outbound
2259
+ | PlanDeploymentComputeRouteGateway2$Outbound;
2260
+ };
2261
+
2262
+ /** @internal */
2263
+ export const PlanDeploymentComputeExposureCustom$outboundSchema: z.ZodType<
2264
+ PlanDeploymentComputeExposureCustom$Outbound,
2265
+ PlanDeploymentComputeExposureCustom
2266
+ > = z.object({
2267
+ certificate: z.union([
2268
+ z.lazy(() => PlanDeploymentComputeCertificateTLSSecretRef2$outboundSchema),
2269
+ z.lazy(() =>
2270
+ PlanDeploymentComputeCertificateManagedAcmImport2$outboundSchema
2271
+ ),
2272
+ z.lazy(() => PlanDeploymentComputeCertificateAwsAcmArn2$outboundSchema),
2273
+ z.lazy(() =>
2274
+ PlanDeploymentComputeCertificateManagedTLSSecret2$outboundSchema
2275
+ ),
2276
+ z.lazy(() => PlanDeploymentComputeCertificateNone2$outboundSchema),
2277
+ ]),
2278
+ domain: z.string(),
2279
+ mode: PlanDeploymentComputeModeCustom$outboundSchema,
2280
+ route: z.union([
2281
+ z.lazy(() => PlanDeploymentComputeRouteIngress2$outboundSchema),
2282
+ z.lazy(() => PlanDeploymentComputeRouteGateway2$outboundSchema),
2283
+ ]),
2284
+ });
2285
+
2286
+ export function planDeploymentComputeExposureCustomToJSON(
2287
+ planDeploymentComputeExposureCustom: PlanDeploymentComputeExposureCustom,
2288
+ ): string {
2289
+ return JSON.stringify(
2290
+ PlanDeploymentComputeExposureCustom$outboundSchema.parse(
2291
+ planDeploymentComputeExposureCustom,
2292
+ ),
2293
+ );
2294
+ }
2295
+
2296
+ /** @internal */
2297
+ export type PlanDeploymentComputeCertificateNone1$Outbound = {
2298
+ mode: "none";
2299
+ };
2300
+
2301
+ /** @internal */
2302
+ export const PlanDeploymentComputeCertificateNone1$outboundSchema: z.ZodType<
2303
+ PlanDeploymentComputeCertificateNone1$Outbound,
2304
+ PlanDeploymentComputeCertificateNone1
2305
+ > = z.object({
2306
+ mode: z.literal("none"),
2307
+ });
2308
+
2309
+ export function planDeploymentComputeCertificateNone1ToJSON(
2310
+ planDeploymentComputeCertificateNone1: PlanDeploymentComputeCertificateNone1,
2311
+ ): string {
2312
+ return JSON.stringify(
2313
+ PlanDeploymentComputeCertificateNone1$outboundSchema.parse(
2314
+ planDeploymentComputeCertificateNone1,
2315
+ ),
2316
+ );
2317
+ }
2318
+
2319
+ /** @internal */
2320
+ export type PlanDeploymentComputeCertificateManagedTLSSecret1$Outbound = {
2321
+ mode: "managedTlsSecret";
2322
+ secretNameTemplate: string;
2323
+ };
2324
+
2325
+ /** @internal */
2326
+ export const PlanDeploymentComputeCertificateManagedTLSSecret1$outboundSchema:
2327
+ z.ZodType<
2328
+ PlanDeploymentComputeCertificateManagedTLSSecret1$Outbound,
2329
+ PlanDeploymentComputeCertificateManagedTLSSecret1
2330
+ > = z.object({
2331
+ mode: z.literal("managedTlsSecret"),
2332
+ secretNameTemplate: z.string(),
2333
+ });
2334
+
2335
+ export function planDeploymentComputeCertificateManagedTLSSecret1ToJSON(
2336
+ planDeploymentComputeCertificateManagedTLSSecret1:
2337
+ PlanDeploymentComputeCertificateManagedTLSSecret1,
2338
+ ): string {
2339
+ return JSON.stringify(
2340
+ PlanDeploymentComputeCertificateManagedTLSSecret1$outboundSchema.parse(
2341
+ planDeploymentComputeCertificateManagedTLSSecret1,
2342
+ ),
2343
+ );
2344
+ }
2345
+
2346
+ /** @internal */
2347
+ export type PlanDeploymentComputeCertificateAwsAcmArn1$Outbound = {
2348
+ certificateArn: string;
2349
+ mode: "awsAcmArn";
2350
+ };
2351
+
2352
+ /** @internal */
2353
+ export const PlanDeploymentComputeCertificateAwsAcmArn1$outboundSchema:
2354
+ z.ZodType<
2355
+ PlanDeploymentComputeCertificateAwsAcmArn1$Outbound,
2356
+ PlanDeploymentComputeCertificateAwsAcmArn1
2357
+ > = z.object({
2358
+ certificateArn: z.string(),
2359
+ mode: z.literal("awsAcmArn"),
2360
+ });
2361
+
2362
+ export function planDeploymentComputeCertificateAwsAcmArn1ToJSON(
2363
+ planDeploymentComputeCertificateAwsAcmArn1:
2364
+ PlanDeploymentComputeCertificateAwsAcmArn1,
2365
+ ): string {
2366
+ return JSON.stringify(
2367
+ PlanDeploymentComputeCertificateAwsAcmArn1$outboundSchema.parse(
2368
+ planDeploymentComputeCertificateAwsAcmArn1,
2369
+ ),
2370
+ );
2371
+ }
2372
+
2373
+ /** @internal */
2374
+ export type PlanDeploymentComputeCertificateManagedAcmImport1$Outbound = {
2375
+ mode: "managedAcmImport";
2376
+ region?: string | null | undefined;
2377
+ tags?: { [k: string]: string } | undefined;
2378
+ };
2379
+
2380
+ /** @internal */
2381
+ export const PlanDeploymentComputeCertificateManagedAcmImport1$outboundSchema:
2382
+ z.ZodType<
2383
+ PlanDeploymentComputeCertificateManagedAcmImport1$Outbound,
2384
+ PlanDeploymentComputeCertificateManagedAcmImport1
2385
+ > = z.object({
2386
+ mode: z.literal("managedAcmImport"),
2387
+ region: z.nullable(z.string()).optional(),
2388
+ tags: z.record(z.string(), z.string()).optional(),
2389
+ });
2390
+
2391
+ export function planDeploymentComputeCertificateManagedAcmImport1ToJSON(
2392
+ planDeploymentComputeCertificateManagedAcmImport1:
2393
+ PlanDeploymentComputeCertificateManagedAcmImport1,
2394
+ ): string {
2395
+ return JSON.stringify(
2396
+ PlanDeploymentComputeCertificateManagedAcmImport1$outboundSchema.parse(
2397
+ planDeploymentComputeCertificateManagedAcmImport1,
2398
+ ),
2399
+ );
2400
+ }
2401
+
2402
+ /** @internal */
2403
+ export type PlanDeploymentComputeCertificateTLSSecretRef1$Outbound = {
2404
+ namespace?: string | null | undefined;
2405
+ secretName: string;
2406
+ mode: "tlsSecretRef";
2407
+ };
2408
+
2409
+ /** @internal */
2410
+ export const PlanDeploymentComputeCertificateTLSSecretRef1$outboundSchema:
2411
+ z.ZodType<
2412
+ PlanDeploymentComputeCertificateTLSSecretRef1$Outbound,
2413
+ PlanDeploymentComputeCertificateTLSSecretRef1
2414
+ > = z.object({
2415
+ namespace: z.nullable(z.string()).optional(),
2416
+ secretName: z.string(),
2417
+ mode: z.literal("tlsSecretRef"),
2418
+ });
2419
+
2420
+ export function planDeploymentComputeCertificateTLSSecretRef1ToJSON(
2421
+ planDeploymentComputeCertificateTLSSecretRef1:
2422
+ PlanDeploymentComputeCertificateTLSSecretRef1,
2423
+ ): string {
2424
+ return JSON.stringify(
2425
+ PlanDeploymentComputeCertificateTLSSecretRef1$outboundSchema.parse(
2426
+ planDeploymentComputeCertificateTLSSecretRef1,
2427
+ ),
2428
+ );
2429
+ }
2430
+
2431
+ /** @internal */
2432
+ export type PlanDeploymentComputeCertificateUnion1$Outbound =
2433
+ | PlanDeploymentComputeCertificateTLSSecretRef1$Outbound
2434
+ | PlanDeploymentComputeCertificateManagedAcmImport1$Outbound
2435
+ | PlanDeploymentComputeCertificateAwsAcmArn1$Outbound
2436
+ | PlanDeploymentComputeCertificateManagedTLSSecret1$Outbound
2437
+ | PlanDeploymentComputeCertificateNone1$Outbound;
2438
+
2439
+ /** @internal */
2440
+ export const PlanDeploymentComputeCertificateUnion1$outboundSchema: z.ZodType<
2441
+ PlanDeploymentComputeCertificateUnion1$Outbound,
2442
+ PlanDeploymentComputeCertificateUnion1
2443
+ > = z.union([
2444
+ z.lazy(() => PlanDeploymentComputeCertificateTLSSecretRef1$outboundSchema),
2445
+ z.lazy(() =>
2446
+ PlanDeploymentComputeCertificateManagedAcmImport1$outboundSchema
2447
+ ),
2448
+ z.lazy(() => PlanDeploymentComputeCertificateAwsAcmArn1$outboundSchema),
2449
+ z.lazy(() =>
2450
+ PlanDeploymentComputeCertificateManagedTLSSecret1$outboundSchema
2451
+ ),
2452
+ z.lazy(() => PlanDeploymentComputeCertificateNone1$outboundSchema),
2453
+ ]);
2454
+
2455
+ export function planDeploymentComputeCertificateUnion1ToJSON(
2456
+ planDeploymentComputeCertificateUnion1:
2457
+ PlanDeploymentComputeCertificateUnion1,
2458
+ ): string {
2459
+ return JSON.stringify(
2460
+ PlanDeploymentComputeCertificateUnion1$outboundSchema.parse(
2461
+ planDeploymentComputeCertificateUnion1,
2462
+ ),
2463
+ );
2464
+ }
2465
+
2466
+ /** @internal */
2467
+ export const PlanDeploymentComputeModeGenerated$outboundSchema: z.ZodEnum<
2468
+ typeof PlanDeploymentComputeModeGenerated
2469
+ > = z.enum(PlanDeploymentComputeModeGenerated);
2470
+
2471
+ /** @internal */
2472
+ export const PlanDeploymentComputeProviderAzureApplicationGatewayForContainersEnum2$outboundSchema:
2473
+ z.ZodEnum<
2474
+ typeof PlanDeploymentComputeProviderAzureApplicationGatewayForContainersEnum2
2475
+ > = z.enum(
2476
+ PlanDeploymentComputeProviderAzureApplicationGatewayForContainersEnum2,
2477
+ );
2478
+
2479
+ /** @internal */
2480
+ export type PlanDeploymentComputeProviderAzureApplicationGatewayForContainers2$Outbound =
2481
+ {
2482
+ albName?: string | null | undefined;
2483
+ albNamespace?: string | null | undefined;
2484
+ frontend: string;
2485
+ provider: string;
2486
+ };
2487
+
2488
+ /** @internal */
2489
+ export const PlanDeploymentComputeProviderAzureApplicationGatewayForContainers2$outboundSchema:
2490
+ z.ZodType<
2491
+ PlanDeploymentComputeProviderAzureApplicationGatewayForContainers2$Outbound,
2492
+ PlanDeploymentComputeProviderAzureApplicationGatewayForContainers2
2493
+ > = z.object({
2494
+ albName: z.nullable(z.string()).optional(),
2495
+ albNamespace: z.nullable(z.string()).optional(),
2496
+ frontend: z.string(),
2497
+ provider:
2498
+ PlanDeploymentComputeProviderAzureApplicationGatewayForContainersEnum2$outboundSchema,
2499
+ });
2500
+
2501
+ export function planDeploymentComputeProviderAzureApplicationGatewayForContainers2ToJSON(
2502
+ planDeploymentComputeProviderAzureApplicationGatewayForContainers2:
2503
+ PlanDeploymentComputeProviderAzureApplicationGatewayForContainers2,
2504
+ ): string {
2505
+ return JSON.stringify(
2506
+ PlanDeploymentComputeProviderAzureApplicationGatewayForContainers2$outboundSchema
2507
+ .parse(
2508
+ planDeploymentComputeProviderAzureApplicationGatewayForContainers2,
2509
+ ),
2510
+ );
2511
+ }
2512
+
2513
+ /** @internal */
2514
+ export const PlanDeploymentComputeProviderGkeGatewayEnum2$outboundSchema:
2515
+ z.ZodEnum<typeof PlanDeploymentComputeProviderGkeGatewayEnum2> = z.enum(
2516
+ PlanDeploymentComputeProviderGkeGatewayEnum2,
2517
+ );
2518
+
2519
+ /** @internal */
2520
+ export type PlanDeploymentComputeProviderGkeGateway2$Outbound = {
2521
+ provider: string;
2522
+ staticAddressName?: string | null | undefined;
2523
+ };
2524
+
2525
+ /** @internal */
2526
+ export const PlanDeploymentComputeProviderGkeGateway2$outboundSchema: z.ZodType<
2527
+ PlanDeploymentComputeProviderGkeGateway2$Outbound,
2528
+ PlanDeploymentComputeProviderGkeGateway2
2529
+ > = z.object({
2530
+ provider: PlanDeploymentComputeProviderGkeGatewayEnum2$outboundSchema,
2531
+ staticAddressName: z.nullable(z.string()).optional(),
2532
+ });
2533
+
2534
+ export function planDeploymentComputeProviderGkeGateway2ToJSON(
2535
+ planDeploymentComputeProviderGkeGateway2:
2536
+ PlanDeploymentComputeProviderGkeGateway2,
2537
+ ): string {
2538
+ return JSON.stringify(
2539
+ PlanDeploymentComputeProviderGkeGateway2$outboundSchema.parse(
2540
+ planDeploymentComputeProviderGkeGateway2,
2541
+ ),
2542
+ );
2543
+ }
2544
+
2545
+ /** @internal */
2546
+ export const PlanDeploymentComputeProviderAwsAlbEnum2$outboundSchema: z.ZodEnum<
2547
+ typeof PlanDeploymentComputeProviderAwsAlbEnum2
2548
+ > = z.enum(PlanDeploymentComputeProviderAwsAlbEnum2);
2549
+
2550
+ /** @internal */
2551
+ export type PlanDeploymentComputeProviderAwsAlb2$Outbound = {
2552
+ ipAddressType?: string | null | undefined;
2553
+ provider: string;
2554
+ scheme: string;
2555
+ subnetIds?: Array<string> | undefined;
2556
+ targetType: string;
2557
+ };
2558
+
2559
+ /** @internal */
2560
+ export const PlanDeploymentComputeProviderAwsAlb2$outboundSchema: z.ZodType<
2561
+ PlanDeploymentComputeProviderAwsAlb2$Outbound,
2562
+ PlanDeploymentComputeProviderAwsAlb2
2563
+ > = z.object({
2564
+ ipAddressType: z.nullable(z.string()).optional(),
2565
+ provider: PlanDeploymentComputeProviderAwsAlbEnum2$outboundSchema,
2566
+ scheme: z.string(),
2567
+ subnetIds: z.array(z.string()).optional(),
2568
+ targetType: z.string(),
2569
+ });
2570
+
2571
+ export function planDeploymentComputeProviderAwsAlb2ToJSON(
2572
+ planDeploymentComputeProviderAwsAlb2: PlanDeploymentComputeProviderAwsAlb2,
2573
+ ): string {
2574
+ return JSON.stringify(
2575
+ PlanDeploymentComputeProviderAwsAlb2$outboundSchema.parse(
2576
+ planDeploymentComputeProviderAwsAlb2,
2577
+ ),
2578
+ );
2579
+ }
2580
+
2581
+ /** @internal */
2582
+ export type PlanDeploymentComputeProviderUnion2$Outbound =
2583
+ | PlanDeploymentComputeProviderAwsAlb2$Outbound
2584
+ | PlanDeploymentComputeProviderAzureApplicationGatewayForContainers2$Outbound
2585
+ | PlanDeploymentComputeProviderGkeGateway2$Outbound
2586
+ | any;
2587
+
2588
+ /** @internal */
2589
+ export const PlanDeploymentComputeProviderUnion2$outboundSchema: z.ZodType<
2590
+ PlanDeploymentComputeProviderUnion2$Outbound,
2591
+ PlanDeploymentComputeProviderUnion2
2592
+ > = z.union([
2593
+ z.lazy(() => PlanDeploymentComputeProviderAwsAlb2$outboundSchema),
2594
+ z.lazy(() =>
2595
+ PlanDeploymentComputeProviderAzureApplicationGatewayForContainers2$outboundSchema
2596
+ ),
2597
+ z.lazy(() => PlanDeploymentComputeProviderGkeGateway2$outboundSchema),
2598
+ z.any(),
2599
+ ]);
2600
+
2601
+ export function planDeploymentComputeProviderUnion2ToJSON(
2602
+ planDeploymentComputeProviderUnion2: PlanDeploymentComputeProviderUnion2,
2603
+ ): string {
2604
+ return JSON.stringify(
2605
+ PlanDeploymentComputeProviderUnion2$outboundSchema.parse(
2606
+ planDeploymentComputeProviderUnion2,
2607
+ ),
2608
+ );
2609
+ }
2610
+
2611
+ /** @internal */
2612
+ export type PlanDeploymentComputeRouteGateway1$Outbound = {
2613
+ annotations?: { [k: string]: string } | undefined;
2614
+ controller?: string | null | undefined;
2615
+ gatewayClassName: string;
2616
+ labels?: { [k: string]: string } | undefined;
2617
+ listenerPort: number;
2618
+ provider?:
2619
+ | PlanDeploymentComputeProviderAwsAlb2$Outbound
2620
+ | PlanDeploymentComputeProviderAzureApplicationGatewayForContainers2$Outbound
2621
+ | PlanDeploymentComputeProviderGkeGateway2$Outbound
2622
+ | any
2623
+ | null
2624
+ | undefined;
2625
+ routeApi: "gateway";
2626
+ };
2627
+
2628
+ /** @internal */
2629
+ export const PlanDeploymentComputeRouteGateway1$outboundSchema: z.ZodType<
2630
+ PlanDeploymentComputeRouteGateway1$Outbound,
2631
+ PlanDeploymentComputeRouteGateway1
2632
+ > = z.object({
2633
+ annotations: z.record(z.string(), z.string()).optional(),
2634
+ controller: z.nullable(z.string()).optional(),
2635
+ gatewayClassName: z.string(),
2636
+ labels: z.record(z.string(), z.string()).optional(),
2637
+ listenerPort: z.int(),
2638
+ provider: z.nullable(
2639
+ z.union([
2640
+ z.lazy(() => PlanDeploymentComputeProviderAwsAlb2$outboundSchema),
2641
+ z.lazy(() =>
2642
+ PlanDeploymentComputeProviderAzureApplicationGatewayForContainers2$outboundSchema
2643
+ ),
2644
+ z.lazy(() => PlanDeploymentComputeProviderGkeGateway2$outboundSchema),
2645
+ z.any(),
2646
+ ]),
2647
+ ).optional(),
2648
+ routeApi: z.literal("gateway"),
2649
+ });
2650
+
2651
+ export function planDeploymentComputeRouteGateway1ToJSON(
2652
+ planDeploymentComputeRouteGateway1: PlanDeploymentComputeRouteGateway1,
2653
+ ): string {
2654
+ return JSON.stringify(
2655
+ PlanDeploymentComputeRouteGateway1$outboundSchema.parse(
2656
+ planDeploymentComputeRouteGateway1,
2657
+ ),
2658
+ );
2659
+ }
2660
+
2661
+ /** @internal */
2662
+ export const PlanDeploymentComputeProviderAzureApplicationGatewayForContainersEnum1$outboundSchema:
2663
+ z.ZodEnum<
2664
+ typeof PlanDeploymentComputeProviderAzureApplicationGatewayForContainersEnum1
2665
+ > = z.enum(
2666
+ PlanDeploymentComputeProviderAzureApplicationGatewayForContainersEnum1,
2667
+ );
2668
+
2669
+ /** @internal */
2670
+ export type PlanDeploymentComputeProviderAzureApplicationGatewayForContainers1$Outbound =
2671
+ {
2672
+ albName?: string | null | undefined;
2673
+ albNamespace?: string | null | undefined;
2674
+ frontend: string;
2675
+ provider: string;
2676
+ };
2677
+
2678
+ /** @internal */
2679
+ export const PlanDeploymentComputeProviderAzureApplicationGatewayForContainers1$outboundSchema:
2680
+ z.ZodType<
2681
+ PlanDeploymentComputeProviderAzureApplicationGatewayForContainers1$Outbound,
2682
+ PlanDeploymentComputeProviderAzureApplicationGatewayForContainers1
2683
+ > = z.object({
2684
+ albName: z.nullable(z.string()).optional(),
2685
+ albNamespace: z.nullable(z.string()).optional(),
2686
+ frontend: z.string(),
2687
+ provider:
2688
+ PlanDeploymentComputeProviderAzureApplicationGatewayForContainersEnum1$outboundSchema,
2689
+ });
2690
+
2691
+ export function planDeploymentComputeProviderAzureApplicationGatewayForContainers1ToJSON(
2692
+ planDeploymentComputeProviderAzureApplicationGatewayForContainers1:
2693
+ PlanDeploymentComputeProviderAzureApplicationGatewayForContainers1,
2694
+ ): string {
2695
+ return JSON.stringify(
2696
+ PlanDeploymentComputeProviderAzureApplicationGatewayForContainers1$outboundSchema
2697
+ .parse(
2698
+ planDeploymentComputeProviderAzureApplicationGatewayForContainers1,
2699
+ ),
2700
+ );
2701
+ }
2702
+
2703
+ /** @internal */
2704
+ export const PlanDeploymentComputeProviderGkeGatewayEnum1$outboundSchema:
2705
+ z.ZodEnum<typeof PlanDeploymentComputeProviderGkeGatewayEnum1> = z.enum(
2706
+ PlanDeploymentComputeProviderGkeGatewayEnum1,
2707
+ );
2708
+
2709
+ /** @internal */
2710
+ export type PlanDeploymentComputeProviderGkeGateway1$Outbound = {
2711
+ provider: string;
2712
+ staticAddressName?: string | null | undefined;
2713
+ };
2714
+
2715
+ /** @internal */
2716
+ export const PlanDeploymentComputeProviderGkeGateway1$outboundSchema: z.ZodType<
2717
+ PlanDeploymentComputeProviderGkeGateway1$Outbound,
2718
+ PlanDeploymentComputeProviderGkeGateway1
2719
+ > = z.object({
2720
+ provider: PlanDeploymentComputeProviderGkeGatewayEnum1$outboundSchema,
2721
+ staticAddressName: z.nullable(z.string()).optional(),
2722
+ });
2723
+
2724
+ export function planDeploymentComputeProviderGkeGateway1ToJSON(
2725
+ planDeploymentComputeProviderGkeGateway1:
2726
+ PlanDeploymentComputeProviderGkeGateway1,
2727
+ ): string {
2728
+ return JSON.stringify(
2729
+ PlanDeploymentComputeProviderGkeGateway1$outboundSchema.parse(
2730
+ planDeploymentComputeProviderGkeGateway1,
2731
+ ),
2732
+ );
2733
+ }
2734
+
2735
+ /** @internal */
2736
+ export const PlanDeploymentComputeProviderAwsAlbEnum1$outboundSchema: z.ZodEnum<
2737
+ typeof PlanDeploymentComputeProviderAwsAlbEnum1
2738
+ > = z.enum(PlanDeploymentComputeProviderAwsAlbEnum1);
2739
+
2740
+ /** @internal */
2741
+ export type PlanDeploymentComputeProviderAwsAlb1$Outbound = {
2742
+ ipAddressType?: string | null | undefined;
2743
+ provider: string;
2744
+ scheme: string;
2745
+ subnetIds?: Array<string> | undefined;
2746
+ targetType: string;
2747
+ };
2748
+
2749
+ /** @internal */
2750
+ export const PlanDeploymentComputeProviderAwsAlb1$outboundSchema: z.ZodType<
2751
+ PlanDeploymentComputeProviderAwsAlb1$Outbound,
2752
+ PlanDeploymentComputeProviderAwsAlb1
2753
+ > = z.object({
2754
+ ipAddressType: z.nullable(z.string()).optional(),
2755
+ provider: PlanDeploymentComputeProviderAwsAlbEnum1$outboundSchema,
2756
+ scheme: z.string(),
2757
+ subnetIds: z.array(z.string()).optional(),
2758
+ targetType: z.string(),
2759
+ });
2760
+
2761
+ export function planDeploymentComputeProviderAwsAlb1ToJSON(
2762
+ planDeploymentComputeProviderAwsAlb1: PlanDeploymentComputeProviderAwsAlb1,
2763
+ ): string {
2764
+ return JSON.stringify(
2765
+ PlanDeploymentComputeProviderAwsAlb1$outboundSchema.parse(
2766
+ planDeploymentComputeProviderAwsAlb1,
2767
+ ),
2768
+ );
2769
+ }
2770
+
2771
+ /** @internal */
2772
+ export type PlanDeploymentComputeProviderUnion1$Outbound =
2773
+ | PlanDeploymentComputeProviderAwsAlb1$Outbound
2774
+ | PlanDeploymentComputeProviderAzureApplicationGatewayForContainers1$Outbound
2775
+ | PlanDeploymentComputeProviderGkeGateway1$Outbound
2776
+ | any;
2777
+
2778
+ /** @internal */
2779
+ export const PlanDeploymentComputeProviderUnion1$outboundSchema: z.ZodType<
2780
+ PlanDeploymentComputeProviderUnion1$Outbound,
2781
+ PlanDeploymentComputeProviderUnion1
2782
+ > = z.union([
2783
+ z.lazy(() => PlanDeploymentComputeProviderAwsAlb1$outboundSchema),
2784
+ z.lazy(() =>
2785
+ PlanDeploymentComputeProviderAzureApplicationGatewayForContainers1$outboundSchema
2786
+ ),
2787
+ z.lazy(() => PlanDeploymentComputeProviderGkeGateway1$outboundSchema),
2788
+ z.any(),
2789
+ ]);
2790
+
2791
+ export function planDeploymentComputeProviderUnion1ToJSON(
2792
+ planDeploymentComputeProviderUnion1: PlanDeploymentComputeProviderUnion1,
2793
+ ): string {
2794
+ return JSON.stringify(
2795
+ PlanDeploymentComputeProviderUnion1$outboundSchema.parse(
2796
+ planDeploymentComputeProviderUnion1,
2797
+ ),
2798
+ );
2799
+ }
2800
+
2801
+ /** @internal */
2802
+ export type PlanDeploymentComputeRouteIngress1$Outbound = {
2803
+ annotations?: { [k: string]: string } | undefined;
2804
+ controller?: string | null | undefined;
2805
+ ingressClassName: string;
2806
+ labels?: { [k: string]: string } | undefined;
2807
+ provider?:
2808
+ | PlanDeploymentComputeProviderAwsAlb1$Outbound
2809
+ | PlanDeploymentComputeProviderAzureApplicationGatewayForContainers1$Outbound
2810
+ | PlanDeploymentComputeProviderGkeGateway1$Outbound
2811
+ | any
2812
+ | null
2813
+ | undefined;
2814
+ routeApi: "ingress";
2815
+ };
2816
+
2817
+ /** @internal */
2818
+ export const PlanDeploymentComputeRouteIngress1$outboundSchema: z.ZodType<
2819
+ PlanDeploymentComputeRouteIngress1$Outbound,
2820
+ PlanDeploymentComputeRouteIngress1
2821
+ > = z.object({
2822
+ annotations: z.record(z.string(), z.string()).optional(),
2823
+ controller: z.nullable(z.string()).optional(),
2824
+ ingressClassName: z.string(),
2825
+ labels: z.record(z.string(), z.string()).optional(),
2826
+ provider: z.nullable(
2827
+ z.union([
2828
+ z.lazy(() => PlanDeploymentComputeProviderAwsAlb1$outboundSchema),
2829
+ z.lazy(() =>
2830
+ PlanDeploymentComputeProviderAzureApplicationGatewayForContainers1$outboundSchema
2831
+ ),
2832
+ z.lazy(() => PlanDeploymentComputeProviderGkeGateway1$outboundSchema),
2833
+ z.any(),
2834
+ ]),
2835
+ ).optional(),
2836
+ routeApi: z.literal("ingress"),
2837
+ });
2838
+
2839
+ export function planDeploymentComputeRouteIngress1ToJSON(
2840
+ planDeploymentComputeRouteIngress1: PlanDeploymentComputeRouteIngress1,
2841
+ ): string {
2842
+ return JSON.stringify(
2843
+ PlanDeploymentComputeRouteIngress1$outboundSchema.parse(
2844
+ planDeploymentComputeRouteIngress1,
2845
+ ),
2846
+ );
2847
+ }
2848
+
2849
+ /** @internal */
2850
+ export type PlanDeploymentComputeRouteUnion1$Outbound =
2851
+ | PlanDeploymentComputeRouteIngress1$Outbound
2852
+ | PlanDeploymentComputeRouteGateway1$Outbound;
2853
+
2854
+ /** @internal */
2855
+ export const PlanDeploymentComputeRouteUnion1$outboundSchema: z.ZodType<
2856
+ PlanDeploymentComputeRouteUnion1$Outbound,
2857
+ PlanDeploymentComputeRouteUnion1
2858
+ > = z.union([
2859
+ z.lazy(() => PlanDeploymentComputeRouteIngress1$outboundSchema),
2860
+ z.lazy(() => PlanDeploymentComputeRouteGateway1$outboundSchema),
2861
+ ]);
2862
+
2863
+ export function planDeploymentComputeRouteUnion1ToJSON(
2864
+ planDeploymentComputeRouteUnion1: PlanDeploymentComputeRouteUnion1,
2865
+ ): string {
2866
+ return JSON.stringify(
2867
+ PlanDeploymentComputeRouteUnion1$outboundSchema.parse(
2868
+ planDeploymentComputeRouteUnion1,
2869
+ ),
2870
+ );
2871
+ }
2872
+
2873
+ /** @internal */
2874
+ export type PlanDeploymentComputeExposureGenerated$Outbound = {
2875
+ certificate:
2876
+ | PlanDeploymentComputeCertificateTLSSecretRef1$Outbound
2877
+ | PlanDeploymentComputeCertificateManagedAcmImport1$Outbound
2878
+ | PlanDeploymentComputeCertificateAwsAcmArn1$Outbound
2879
+ | PlanDeploymentComputeCertificateManagedTLSSecret1$Outbound
2880
+ | PlanDeploymentComputeCertificateNone1$Outbound;
2881
+ mode: string;
2882
+ route:
2883
+ | PlanDeploymentComputeRouteIngress1$Outbound
2884
+ | PlanDeploymentComputeRouteGateway1$Outbound;
2885
+ };
2886
+
2887
+ /** @internal */
2888
+ export const PlanDeploymentComputeExposureGenerated$outboundSchema: z.ZodType<
2889
+ PlanDeploymentComputeExposureGenerated$Outbound,
2890
+ PlanDeploymentComputeExposureGenerated
2891
+ > = z.object({
2892
+ certificate: z.union([
2893
+ z.lazy(() => PlanDeploymentComputeCertificateTLSSecretRef1$outboundSchema),
2894
+ z.lazy(() =>
2895
+ PlanDeploymentComputeCertificateManagedAcmImport1$outboundSchema
2896
+ ),
2897
+ z.lazy(() => PlanDeploymentComputeCertificateAwsAcmArn1$outboundSchema),
2898
+ z.lazy(() =>
2899
+ PlanDeploymentComputeCertificateManagedTLSSecret1$outboundSchema
2900
+ ),
2901
+ z.lazy(() => PlanDeploymentComputeCertificateNone1$outboundSchema),
2902
+ ]),
2903
+ mode: PlanDeploymentComputeModeGenerated$outboundSchema,
2904
+ route: z.union([
2905
+ z.lazy(() => PlanDeploymentComputeRouteIngress1$outboundSchema),
2906
+ z.lazy(() => PlanDeploymentComputeRouteGateway1$outboundSchema),
2907
+ ]),
2908
+ });
2909
+
2910
+ export function planDeploymentComputeExposureGeneratedToJSON(
2911
+ planDeploymentComputeExposureGenerated:
2912
+ PlanDeploymentComputeExposureGenerated,
2913
+ ): string {
2914
+ return JSON.stringify(
2915
+ PlanDeploymentComputeExposureGenerated$outboundSchema.parse(
2916
+ planDeploymentComputeExposureGenerated,
2917
+ ),
2918
+ );
2919
+ }
2920
+
2921
+ /** @internal */
2922
+ export const PlanDeploymentComputeModeDisabled$outboundSchema: z.ZodEnum<
2923
+ typeof PlanDeploymentComputeModeDisabled
2924
+ > = z.enum(PlanDeploymentComputeModeDisabled);
2925
+
2926
+ /** @internal */
2927
+ export type PlanDeploymentComputeExposureDisabled$Outbound = {
2928
+ mode: string;
2929
+ };
2930
+
2931
+ /** @internal */
2932
+ export const PlanDeploymentComputeExposureDisabled$outboundSchema: z.ZodType<
2933
+ PlanDeploymentComputeExposureDisabled$Outbound,
2934
+ PlanDeploymentComputeExposureDisabled
2935
+ > = z.object({
2936
+ mode: PlanDeploymentComputeModeDisabled$outboundSchema,
2937
+ });
2938
+
2939
+ export function planDeploymentComputeExposureDisabledToJSON(
2940
+ planDeploymentComputeExposureDisabled: PlanDeploymentComputeExposureDisabled,
2941
+ ): string {
2942
+ return JSON.stringify(
2943
+ PlanDeploymentComputeExposureDisabled$outboundSchema.parse(
2944
+ planDeploymentComputeExposureDisabled,
2945
+ ),
2946
+ );
2947
+ }
2948
+
2949
+ /** @internal */
2950
+ export type PlanDeploymentComputeExposureUnion$Outbound =
2951
+ | PlanDeploymentComputeExposureCustom$Outbound
2952
+ | PlanDeploymentComputeExposureGenerated$Outbound
2953
+ | PlanDeploymentComputeExposureDisabled$Outbound
2954
+ | any;
2955
+
2956
+ /** @internal */
2957
+ export const PlanDeploymentComputeExposureUnion$outboundSchema: z.ZodType<
2958
+ PlanDeploymentComputeExposureUnion$Outbound,
2959
+ PlanDeploymentComputeExposureUnion
2960
+ > = z.union([
2961
+ z.lazy(() => PlanDeploymentComputeExposureCustom$outboundSchema),
2962
+ z.lazy(() => PlanDeploymentComputeExposureGenerated$outboundSchema),
2963
+ z.lazy(() => PlanDeploymentComputeExposureDisabled$outboundSchema),
2964
+ z.any(),
2965
+ ]);
2966
+
2967
+ export function planDeploymentComputeExposureUnionToJSON(
2968
+ planDeploymentComputeExposureUnion: PlanDeploymentComputeExposureUnion,
2969
+ ): string {
2970
+ return JSON.stringify(
2971
+ PlanDeploymentComputeExposureUnion$outboundSchema.parse(
2972
+ planDeploymentComputeExposureUnion,
2973
+ ),
2974
+ );
2975
+ }
2976
+
2977
+ /** @internal */
2978
+ export type PlanDeploymentComputeKubernetes$Outbound = {
2979
+ cluster?: PlanDeploymentComputeCluster$Outbound | any | null | undefined;
2980
+ exposure?:
2981
+ | PlanDeploymentComputeExposureCustom$Outbound
2982
+ | PlanDeploymentComputeExposureGenerated$Outbound
2983
+ | PlanDeploymentComputeExposureDisabled$Outbound
2984
+ | any
2985
+ | null
2986
+ | undefined;
2987
+ };
2988
+
2989
+ /** @internal */
2990
+ export const PlanDeploymentComputeKubernetes$outboundSchema: z.ZodType<
2991
+ PlanDeploymentComputeKubernetes$Outbound,
2992
+ PlanDeploymentComputeKubernetes
2993
+ > = z.object({
2994
+ cluster: z.nullable(
2995
+ z.union([
2996
+ z.lazy(() => PlanDeploymentComputeCluster$outboundSchema),
2997
+ z.any(),
2998
+ ]),
2999
+ ).optional(),
3000
+ exposure: z.nullable(
3001
+ z.union([
3002
+ z.lazy(() => PlanDeploymentComputeExposureCustom$outboundSchema),
3003
+ z.lazy(() => PlanDeploymentComputeExposureGenerated$outboundSchema),
3004
+ z.lazy(() => PlanDeploymentComputeExposureDisabled$outboundSchema),
3005
+ z.any(),
3006
+ ]),
3007
+ ).optional(),
3008
+ });
3009
+
3010
+ export function planDeploymentComputeKubernetesToJSON(
3011
+ planDeploymentComputeKubernetes: PlanDeploymentComputeKubernetes,
3012
+ ): string {
3013
+ return JSON.stringify(
3014
+ PlanDeploymentComputeKubernetes$outboundSchema.parse(
3015
+ planDeploymentComputeKubernetes,
3016
+ ),
3017
+ );
3018
+ }
3019
+
3020
+ /** @internal */
3021
+ export type PlanDeploymentComputeKubernetesUnion$Outbound =
3022
+ | PlanDeploymentComputeKubernetes$Outbound
3023
+ | any;
3024
+
3025
+ /** @internal */
3026
+ export const PlanDeploymentComputeKubernetesUnion$outboundSchema: z.ZodType<
3027
+ PlanDeploymentComputeKubernetesUnion$Outbound,
3028
+ PlanDeploymentComputeKubernetesUnion
3029
+ > = z.union([
3030
+ z.lazy(() => PlanDeploymentComputeKubernetes$outboundSchema),
3031
+ z.any(),
3032
+ ]);
3033
+
3034
+ export function planDeploymentComputeKubernetesUnionToJSON(
3035
+ planDeploymentComputeKubernetesUnion: PlanDeploymentComputeKubernetesUnion,
3036
+ ): string {
3037
+ return JSON.stringify(
3038
+ PlanDeploymentComputeKubernetesUnion$outboundSchema.parse(
3039
+ planDeploymentComputeKubernetesUnion,
3040
+ ),
3041
+ );
3042
+ }
3043
+
3044
+ /** @internal */
3045
+ export const PlanDeploymentComputeTypeByoVnetAzure$outboundSchema: z.ZodEnum<
3046
+ typeof PlanDeploymentComputeTypeByoVnetAzure
3047
+ > = z.enum(PlanDeploymentComputeTypeByoVnetAzure);
3048
+
3049
+ /** @internal */
3050
+ export type PlanDeploymentComputeNetworkByoVnetAzure$Outbound = {
3051
+ application_gateway_subnet_name?: string | null | undefined;
3052
+ private_subnet_name: string;
3053
+ public_subnet_name: string;
3054
+ type: string;
3055
+ vnet_resource_id: string;
3056
+ };
3057
+
3058
+ /** @internal */
3059
+ export const PlanDeploymentComputeNetworkByoVnetAzure$outboundSchema: z.ZodType<
3060
+ PlanDeploymentComputeNetworkByoVnetAzure$Outbound,
3061
+ PlanDeploymentComputeNetworkByoVnetAzure
3062
+ > = z.object({
3063
+ applicationGatewaySubnetName: z.nullable(z.string()).optional(),
3064
+ privateSubnetName: z.string(),
3065
+ publicSubnetName: z.string(),
3066
+ type: PlanDeploymentComputeTypeByoVnetAzure$outboundSchema,
3067
+ vnetResourceId: z.string(),
3068
+ }).transform((v) => {
3069
+ return remap$(v, {
3070
+ applicationGatewaySubnetName: "application_gateway_subnet_name",
3071
+ privateSubnetName: "private_subnet_name",
3072
+ publicSubnetName: "public_subnet_name",
3073
+ vnetResourceId: "vnet_resource_id",
3074
+ });
3075
+ });
3076
+
3077
+ export function planDeploymentComputeNetworkByoVnetAzureToJSON(
3078
+ planDeploymentComputeNetworkByoVnetAzure:
3079
+ PlanDeploymentComputeNetworkByoVnetAzure,
3080
+ ): string {
3081
+ return JSON.stringify(
3082
+ PlanDeploymentComputeNetworkByoVnetAzure$outboundSchema.parse(
3083
+ planDeploymentComputeNetworkByoVnetAzure,
3084
+ ),
3085
+ );
3086
+ }
3087
+
3088
+ /** @internal */
3089
+ export const PlanDeploymentComputeTypeByoVpcGcp$outboundSchema: z.ZodEnum<
3090
+ typeof PlanDeploymentComputeTypeByoVpcGcp
3091
+ > = z.enum(PlanDeploymentComputeTypeByoVpcGcp);
3092
+
3093
+ /** @internal */
3094
+ export type PlanDeploymentComputeNetworkByoVpcGcp$Outbound = {
3095
+ network_name: string;
3096
+ region: string;
3097
+ subnet_name: string;
3098
+ type: string;
3099
+ };
3100
+
3101
+ /** @internal */
3102
+ export const PlanDeploymentComputeNetworkByoVpcGcp$outboundSchema: z.ZodType<
3103
+ PlanDeploymentComputeNetworkByoVpcGcp$Outbound,
3104
+ PlanDeploymentComputeNetworkByoVpcGcp
3105
+ > = z.object({
3106
+ networkName: z.string(),
3107
+ region: z.string(),
3108
+ subnetName: z.string(),
3109
+ type: PlanDeploymentComputeTypeByoVpcGcp$outboundSchema,
3110
+ }).transform((v) => {
3111
+ return remap$(v, {
3112
+ networkName: "network_name",
3113
+ subnetName: "subnet_name",
3114
+ });
3115
+ });
3116
+
3117
+ export function planDeploymentComputeNetworkByoVpcGcpToJSON(
3118
+ planDeploymentComputeNetworkByoVpcGcp: PlanDeploymentComputeNetworkByoVpcGcp,
3119
+ ): string {
3120
+ return JSON.stringify(
3121
+ PlanDeploymentComputeNetworkByoVpcGcp$outboundSchema.parse(
3122
+ planDeploymentComputeNetworkByoVpcGcp,
3123
+ ),
3124
+ );
3125
+ }
3126
+
3127
+ /** @internal */
3128
+ export const PlanDeploymentComputeTypeByoVpcAws$outboundSchema: z.ZodEnum<
3129
+ typeof PlanDeploymentComputeTypeByoVpcAws
3130
+ > = z.enum(PlanDeploymentComputeTypeByoVpcAws);
3131
+
3132
+ /** @internal */
3133
+ export type PlanDeploymentComputeNetworkByoVpcAws$Outbound = {
3134
+ private_subnet_ids: Array<string>;
3135
+ public_subnet_ids: Array<string>;
3136
+ security_group_ids?: Array<string> | undefined;
3137
+ type: string;
3138
+ vpc_id: string;
3139
+ };
3140
+
3141
+ /** @internal */
3142
+ export const PlanDeploymentComputeNetworkByoVpcAws$outboundSchema: z.ZodType<
3143
+ PlanDeploymentComputeNetworkByoVpcAws$Outbound,
3144
+ PlanDeploymentComputeNetworkByoVpcAws
3145
+ > = z.object({
3146
+ privateSubnetIds: z.array(z.string()),
3147
+ publicSubnetIds: z.array(z.string()),
3148
+ securityGroupIds: z.array(z.string()).optional(),
3149
+ type: PlanDeploymentComputeTypeByoVpcAws$outboundSchema,
3150
+ vpcId: z.string(),
3151
+ }).transform((v) => {
3152
+ return remap$(v, {
3153
+ privateSubnetIds: "private_subnet_ids",
3154
+ publicSubnetIds: "public_subnet_ids",
3155
+ securityGroupIds: "security_group_ids",
3156
+ vpcId: "vpc_id",
3157
+ });
3158
+ });
3159
+
3160
+ export function planDeploymentComputeNetworkByoVpcAwsToJSON(
3161
+ planDeploymentComputeNetworkByoVpcAws: PlanDeploymentComputeNetworkByoVpcAws,
3162
+ ): string {
3163
+ return JSON.stringify(
3164
+ PlanDeploymentComputeNetworkByoVpcAws$outboundSchema.parse(
3165
+ planDeploymentComputeNetworkByoVpcAws,
3166
+ ),
3167
+ );
3168
+ }
3169
+
3170
+ /** @internal */
3171
+ export const PlanDeploymentComputeTypeCreate$outboundSchema: z.ZodEnum<
3172
+ typeof PlanDeploymentComputeTypeCreate
3173
+ > = z.enum(PlanDeploymentComputeTypeCreate);
3174
+
3175
+ /** @internal */
3176
+ export type PlanDeploymentComputeNetworkCreate$Outbound = {
3177
+ availability_zones?: number | undefined;
3178
+ cidr?: string | null | undefined;
3179
+ type: string;
3180
+ };
3181
+
3182
+ /** @internal */
3183
+ export const PlanDeploymentComputeNetworkCreate$outboundSchema: z.ZodType<
3184
+ PlanDeploymentComputeNetworkCreate$Outbound,
3185
+ PlanDeploymentComputeNetworkCreate
3186
+ > = z.object({
3187
+ availabilityZones: z.int().optional(),
3188
+ cidr: z.nullable(z.string()).optional(),
3189
+ type: PlanDeploymentComputeTypeCreate$outboundSchema,
3190
+ }).transform((v) => {
3191
+ return remap$(v, {
3192
+ availabilityZones: "availability_zones",
3193
+ });
3194
+ });
3195
+
3196
+ export function planDeploymentComputeNetworkCreateToJSON(
3197
+ planDeploymentComputeNetworkCreate: PlanDeploymentComputeNetworkCreate,
3198
+ ): string {
3199
+ return JSON.stringify(
3200
+ PlanDeploymentComputeNetworkCreate$outboundSchema.parse(
3201
+ planDeploymentComputeNetworkCreate,
3202
+ ),
3203
+ );
3204
+ }
3205
+
3206
+ /** @internal */
3207
+ export const PlanDeploymentComputeTypeUseDefault$outboundSchema: z.ZodEnum<
3208
+ typeof PlanDeploymentComputeTypeUseDefault
3209
+ > = z.enum(PlanDeploymentComputeTypeUseDefault);
3210
+
3211
+ /** @internal */
3212
+ export type PlanDeploymentComputeNetworkUseDefault$Outbound = {
3213
+ type: string;
3214
+ };
3215
+
3216
+ /** @internal */
3217
+ export const PlanDeploymentComputeNetworkUseDefault$outboundSchema: z.ZodType<
3218
+ PlanDeploymentComputeNetworkUseDefault$Outbound,
3219
+ PlanDeploymentComputeNetworkUseDefault
3220
+ > = z.object({
3221
+ type: PlanDeploymentComputeTypeUseDefault$outboundSchema,
3222
+ });
3223
+
3224
+ export function planDeploymentComputeNetworkUseDefaultToJSON(
3225
+ planDeploymentComputeNetworkUseDefault:
3226
+ PlanDeploymentComputeNetworkUseDefault,
3227
+ ): string {
3228
+ return JSON.stringify(
3229
+ PlanDeploymentComputeNetworkUseDefault$outboundSchema.parse(
3230
+ planDeploymentComputeNetworkUseDefault,
3231
+ ),
3232
+ );
3233
+ }
3234
+
3235
+ /** @internal */
3236
+ export type PlanDeploymentComputeNetworkUnion$Outbound =
3237
+ | PlanDeploymentComputeNetworkByoVpcAws$Outbound
3238
+ | PlanDeploymentComputeNetworkByoVpcGcp$Outbound
3239
+ | PlanDeploymentComputeNetworkByoVnetAzure$Outbound
3240
+ | PlanDeploymentComputeNetworkUseDefault$Outbound
3241
+ | PlanDeploymentComputeNetworkCreate$Outbound
3242
+ | any;
3243
+
3244
+ /** @internal */
3245
+ export const PlanDeploymentComputeNetworkUnion$outboundSchema: z.ZodType<
3246
+ PlanDeploymentComputeNetworkUnion$Outbound,
3247
+ PlanDeploymentComputeNetworkUnion
3248
+ > = z.union([
3249
+ z.lazy(() => PlanDeploymentComputeNetworkByoVpcAws$outboundSchema),
3250
+ z.lazy(() => PlanDeploymentComputeNetworkByoVpcGcp$outboundSchema),
3251
+ z.lazy(() => PlanDeploymentComputeNetworkByoVnetAzure$outboundSchema),
3252
+ z.lazy(() => PlanDeploymentComputeNetworkUseDefault$outboundSchema),
3253
+ z.lazy(() => PlanDeploymentComputeNetworkCreate$outboundSchema),
3254
+ z.any(),
3255
+ ]);
3256
+
3257
+ export function planDeploymentComputeNetworkUnionToJSON(
3258
+ planDeploymentComputeNetworkUnion: PlanDeploymentComputeNetworkUnion,
3259
+ ): string {
3260
+ return JSON.stringify(
3261
+ PlanDeploymentComputeNetworkUnion$outboundSchema.parse(
3262
+ planDeploymentComputeNetworkUnion,
3263
+ ),
3264
+ );
3265
+ }
3266
+
3267
+ /** @internal */
3268
+ export const PlanDeploymentComputeTelemetry$outboundSchema: z.ZodEnum<
3269
+ typeof PlanDeploymentComputeTelemetry
3270
+ > = z.enum(PlanDeploymentComputeTelemetry);
3271
+
3272
+ /** @internal */
3273
+ export const PlanDeploymentComputeUpdates$outboundSchema: z.ZodEnum<
3274
+ typeof PlanDeploymentComputeUpdates
3275
+ > = z.enum(PlanDeploymentComputeUpdates);
3276
+
3277
+ /** @internal */
3278
+ export type PlanDeploymentComputeStackSettings$Outbound = {
3279
+ compute?: PlanDeploymentComputeCompute$Outbound | undefined;
3280
+ deploymentModel?: string | undefined;
3281
+ domains?: PlanDeploymentComputeDomains$Outbound | any | null | undefined;
3282
+ externalBindings?:
3283
+ | PlanDeploymentComputeExternalBindings$Outbound
3284
+ | null
3285
+ | undefined;
3286
+ heartbeats?: string | undefined;
3287
+ kubernetes?:
3288
+ | PlanDeploymentComputeKubernetes$Outbound
3289
+ | any
3290
+ | null
3291
+ | undefined;
3292
+ network?:
3293
+ | PlanDeploymentComputeNetworkByoVpcAws$Outbound
3294
+ | PlanDeploymentComputeNetworkByoVpcGcp$Outbound
3295
+ | PlanDeploymentComputeNetworkByoVnetAzure$Outbound
3296
+ | PlanDeploymentComputeNetworkUseDefault$Outbound
3297
+ | PlanDeploymentComputeNetworkCreate$Outbound
3298
+ | any
3299
+ | null
3300
+ | undefined;
3301
+ telemetry?: string | undefined;
3302
+ updates?: string | undefined;
3303
+ };
3304
+
3305
+ /** @internal */
3306
+ export const PlanDeploymentComputeStackSettings$outboundSchema: z.ZodType<
3307
+ PlanDeploymentComputeStackSettings$Outbound,
3308
+ PlanDeploymentComputeStackSettings
3309
+ > = z.object({
3310
+ compute: z.lazy(() => PlanDeploymentComputeCompute$outboundSchema).optional(),
3311
+ deploymentModel: PlanDeploymentComputeDeploymentModel$outboundSchema
3312
+ .optional(),
3313
+ domains: z.nullable(
3314
+ z.union([
3315
+ z.lazy(() => PlanDeploymentComputeDomains$outboundSchema),
3316
+ z.any(),
3317
+ ]),
3318
+ ).optional(),
3319
+ externalBindings: z.nullable(
3320
+ z.lazy(() => PlanDeploymentComputeExternalBindings$outboundSchema),
3321
+ ).optional(),
3322
+ heartbeats: PlanDeploymentComputeHeartbeats$outboundSchema.optional(),
3323
+ kubernetes: z.nullable(
3324
+ z.union([
3325
+ z.lazy(() => PlanDeploymentComputeKubernetes$outboundSchema),
3326
+ z.any(),
3327
+ ]),
3328
+ ).optional(),
3329
+ network: z.nullable(
3330
+ z.union([
3331
+ z.lazy(() => PlanDeploymentComputeNetworkByoVpcAws$outboundSchema),
3332
+ z.lazy(() => PlanDeploymentComputeNetworkByoVpcGcp$outboundSchema),
3333
+ z.lazy(() => PlanDeploymentComputeNetworkByoVnetAzure$outboundSchema),
3334
+ z.lazy(() => PlanDeploymentComputeNetworkUseDefault$outboundSchema),
3335
+ z.lazy(() => PlanDeploymentComputeNetworkCreate$outboundSchema),
3336
+ z.any(),
3337
+ ]),
3338
+ ).optional(),
3339
+ telemetry: PlanDeploymentComputeTelemetry$outboundSchema.optional(),
3340
+ updates: PlanDeploymentComputeUpdates$outboundSchema.optional(),
3341
+ });
3342
+
3343
+ export function planDeploymentComputeStackSettingsToJSON(
3344
+ planDeploymentComputeStackSettings: PlanDeploymentComputeStackSettings,
3345
+ ): string {
3346
+ return JSON.stringify(
3347
+ PlanDeploymentComputeStackSettings$outboundSchema.parse(
3348
+ planDeploymentComputeStackSettings,
3349
+ ),
3350
+ );
3351
+ }
3352
+
3353
+ /** @internal */
3354
+ export type PlanDeploymentComputeRequestBody$Outbound = {
3355
+ platform: string;
3356
+ setupMethod: string;
3357
+ region?: string | undefined;
3358
+ stackSettings: PlanDeploymentComputeStackSettings$Outbound;
3359
+ };
3360
+
3361
+ /** @internal */
3362
+ export const PlanDeploymentComputeRequestBody$outboundSchema: z.ZodType<
3363
+ PlanDeploymentComputeRequestBody$Outbound,
3364
+ PlanDeploymentComputeRequestBody
3365
+ > = z.object({
3366
+ platform: PlanDeploymentComputePlatform$outboundSchema,
3367
+ setupMethod: models.DeploymentSetupMethod$outboundSchema,
3368
+ region: z.string().optional(),
3369
+ stackSettings: z.lazy(() =>
3370
+ PlanDeploymentComputeStackSettings$outboundSchema
3371
+ ),
3372
+ });
3373
+
3374
+ export function planDeploymentComputeRequestBodyToJSON(
3375
+ planDeploymentComputeRequestBody: PlanDeploymentComputeRequestBody,
3376
+ ): string {
3377
+ return JSON.stringify(
3378
+ PlanDeploymentComputeRequestBody$outboundSchema.parse(
3379
+ planDeploymentComputeRequestBody,
3380
+ ),
3381
+ );
3382
+ }
3383
+
3384
+ /** @internal */
3385
+ export type PlanDeploymentComputeRequest$Outbound = {
3386
+ workspace?: string | undefined;
3387
+ RequestBody?: PlanDeploymentComputeRequestBody$Outbound | undefined;
3388
+ };
3389
+
3390
+ /** @internal */
3391
+ export const PlanDeploymentComputeRequest$outboundSchema: z.ZodType<
3392
+ PlanDeploymentComputeRequest$Outbound,
3393
+ PlanDeploymentComputeRequest
3394
+ > = z.object({
3395
+ workspace: z.string().optional(),
3396
+ requestBody: z.lazy(() => PlanDeploymentComputeRequestBody$outboundSchema)
3397
+ .optional(),
3398
+ }).transform((v) => {
3399
+ return remap$(v, {
3400
+ requestBody: "RequestBody",
3401
+ });
3402
+ });
3403
+
3404
+ export function planDeploymentComputeRequestToJSON(
3405
+ planDeploymentComputeRequest: PlanDeploymentComputeRequest,
3406
+ ): string {
3407
+ return JSON.stringify(
3408
+ PlanDeploymentComputeRequest$outboundSchema.parse(
3409
+ planDeploymentComputeRequest,
3410
+ ),
3411
+ );
3412
+ }