@alienplatform/platform-api 3.3.31 → 3.3.32

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