@alienplatform/platform-api 3.3.32 → 3.3.33

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 (281) hide show
  1. package/FUNCTIONS.md +1 -1
  2. package/REACT_QUERY.md +6 -6
  3. package/esm/funcs/apiKeysRevoke.js +1 -1
  4. package/esm/funcs/apiKeysRevoke.js.map +1 -1
  5. package/esm/funcs/deploymentsImport.js +1 -1
  6. package/esm/funcs/deploymentsImport.js.map +1 -1
  7. package/esm/funcs/deploymentsUpdateCompute.d.ts +1 -1
  8. package/esm/funcs/deploymentsUpdateCompute.js +1 -1
  9. package/esm/funcs/projectsConfigureRemoteSandbox.d.ts +1 -1
  10. package/esm/funcs/projectsConfigureRemoteSandbox.js +1 -1
  11. package/esm/lib/config.d.ts +2 -2
  12. package/esm/lib/config.js +2 -2
  13. package/esm/models/configureremotesandboxrequest.d.ts +4 -0
  14. package/esm/models/configureremotesandboxrequest.d.ts.map +1 -1
  15. package/esm/models/configureremotesandboxrequest.js +2 -0
  16. package/esm/models/configureremotesandboxrequest.js.map +1 -1
  17. package/esm/models/createmanagerresponse.d.ts +51 -2
  18. package/esm/models/createmanagerresponse.d.ts.map +1 -1
  19. package/esm/models/createmanagerresponse.js +32 -4
  20. package/esm/models/createmanagerresponse.js.map +1 -1
  21. package/esm/models/createmanagerresponseproviderazureapplicationgatewayforcontainersenum2.d.ts +1780 -0
  22. package/esm/models/createmanagerresponseproviderazureapplicationgatewayforcontainersenum2.d.ts.map +1 -0
  23. package/esm/models/createmanagerresponseproviderazureapplicationgatewayforcontainersenum2.js +1431 -0
  24. package/esm/models/createmanagerresponseproviderazureapplicationgatewayforcontainersenum2.js.map +1 -0
  25. package/esm/models/createmanagerresponseprovidergkegatewayenum2.d.ts +6 -1767
  26. package/esm/models/createmanagerresponseprovidergkegatewayenum2.d.ts.map +1 -1
  27. package/esm/models/createmanagerresponseprovidergkegatewayenum2.js +6 -1420
  28. package/esm/models/createmanagerresponseprovidergkegatewayenum2.js.map +1 -1
  29. package/esm/models/createmanagerresponsepublicendpointtargetmachineaddresses2.d.ts +1751 -0
  30. package/esm/models/createmanagerresponsepublicendpointtargetmachineaddresses2.d.ts.map +1 -0
  31. package/esm/models/createmanagerresponsepublicendpointtargetmachineaddresses2.js +1450 -0
  32. package/esm/models/createmanagerresponsepublicendpointtargetmachineaddresses2.js.map +1 -0
  33. package/esm/models/createmanagerresponsepublicendpointtargetunion2.d.ts +4 -1715
  34. package/esm/models/createmanagerresponsepublicendpointtargetunion2.d.ts.map +1 -1
  35. package/esm/models/createmanagerresponsepublicendpointtargetunion2.js +4 -1444
  36. package/esm/models/createmanagerresponsepublicendpointtargetunion2.js.map +1 -1
  37. package/esm/models/createsetupregistrationoperationrequest.d.ts +35 -0
  38. package/esm/models/createsetupregistrationoperationrequest.d.ts.map +1 -1
  39. package/esm/models/createsetupregistrationoperationrequest.js +14 -0
  40. package/esm/models/createsetupregistrationoperationrequest.js.map +1 -1
  41. package/esm/models/deployment.d.ts +44 -8
  42. package/esm/models/deployment.d.ts.map +1 -1
  43. package/esm/models/deployment.js +21 -4
  44. package/esm/models/deployment.js.map +1 -1
  45. package/esm/models/deploymentcomputeplan.d.ts +3 -0
  46. package/esm/models/deploymentcomputeplan.d.ts.map +1 -1
  47. package/esm/models/deploymentcomputeplan.js +3 -0
  48. package/esm/models/deploymentcomputeplan.js.map +1 -1
  49. package/esm/models/deploymentconfig.d.ts +32 -0
  50. package/esm/models/deploymentconfig.d.ts.map +1 -1
  51. package/esm/models/deploymentconfig.js +12 -0
  52. package/esm/models/deploymentconfig.js.map +1 -1
  53. package/esm/models/deploymentdetailresponse.d.ts +44 -8
  54. package/esm/models/deploymentdetailresponse.d.ts.map +1 -1
  55. package/esm/models/deploymentdetailresponse.js +16 -4
  56. package/esm/models/deploymentdetailresponse.js.map +1 -1
  57. package/esm/models/deploymentdetailresponsependingpreparedstackdefaultunion.d.ts +1986 -0
  58. package/esm/models/deploymentdetailresponsependingpreparedstackdefaultunion.d.ts.map +1 -0
  59. package/esm/models/deploymentdetailresponsependingpreparedstackdefaultunion.js +1485 -0
  60. package/esm/models/deploymentdetailresponsependingpreparedstackdefaultunion.js.map +1 -0
  61. package/esm/models/deploymentdetailresponsependingpreparedstacktypeenvenum.d.ts +3 -1966
  62. package/esm/models/deploymentdetailresponsependingpreparedstacktypeenvenum.d.ts.map +1 -1
  63. package/esm/models/deploymentdetailresponsependingpreparedstacktypeenvenum.js +4 -1481
  64. package/esm/models/deploymentdetailresponsependingpreparedstacktypeenvenum.js.map +1 -1
  65. package/esm/models/deploymentdetailresponsepreparedstackoperations.d.ts +4 -2363
  66. package/esm/models/deploymentdetailresponsepreparedstackoperations.d.ts.map +1 -1
  67. package/esm/models/deploymentdetailresponsepreparedstackoperations.js +4 -1560
  68. package/esm/models/deploymentdetailresponsepreparedstackoperations.js.map +1 -1
  69. package/esm/models/deploymentdetailresponsepreparedstackplugins.d.ts +2359 -0
  70. package/esm/models/deploymentdetailresponsepreparedstackplugins.d.ts.map +1 -0
  71. package/esm/models/deploymentdetailresponsepreparedstackplugins.js +1562 -0
  72. package/esm/models/deploymentdetailresponsepreparedstackplugins.js.map +1 -0
  73. package/esm/models/deploymentinfo.d.ts +184 -12
  74. package/esm/models/deploymentinfo.d.ts.map +1 -1
  75. package/esm/models/deploymentinfo.js +127 -9
  76. package/esm/models/deploymentinfo.js.map +1 -1
  77. package/esm/models/deploymentpendingpreparedstackdefaultunion.d.ts +1986 -0
  78. package/esm/models/deploymentpendingpreparedstackdefaultunion.d.ts.map +1 -0
  79. package/esm/models/deploymentpendingpreparedstackdefaultunion.js +1410 -0
  80. package/esm/models/deploymentpendingpreparedstackdefaultunion.js.map +1 -0
  81. package/esm/models/deploymentpendingpreparedstacktypeenvenum.d.ts +3 -1966
  82. package/esm/models/deploymentpendingpreparedstacktypeenvenum.d.ts.map +1 -1
  83. package/esm/models/deploymentpendingpreparedstacktypeenvenum.js +4 -1406
  84. package/esm/models/deploymentpendingpreparedstacktypeenvenum.js.map +1 -1
  85. package/esm/models/deploymentpreparedstackoperations.d.ts +4 -2363
  86. package/esm/models/deploymentpreparedstackoperations.d.ts.map +1 -1
  87. package/esm/models/deploymentpreparedstackoperations.js +4 -1460
  88. package/esm/models/deploymentpreparedstackoperations.js.map +1 -1
  89. package/esm/models/deploymentpreparedstackplugins.d.ts +2359 -0
  90. package/esm/models/deploymentpreparedstackplugins.d.ts.map +1 -0
  91. package/esm/models/deploymentpreparedstackplugins.js +1461 -0
  92. package/esm/models/deploymentpreparedstackplugins.js.map +1 -0
  93. package/esm/models/deploymentsetupconfiginput.d.ts +18 -0
  94. package/esm/models/deploymentsetupconfiginput.d.ts.map +1 -1
  95. package/esm/models/deploymentsetupconfiginput.js +10 -0
  96. package/esm/models/deploymentsetupconfiginput.js.map +1 -1
  97. package/esm/models/deploymentsetuppolicy.d.ts +20 -0
  98. package/esm/models/deploymentsetuppolicy.d.ts.map +1 -1
  99. package/esm/models/deploymentsetuppolicy.js +15 -0
  100. package/esm/models/deploymentsetuppolicy.js.map +1 -1
  101. package/esm/models/deploymentsetupstacksettingspolicy.d.ts +37 -0
  102. package/esm/models/deploymentsetupstacksettingspolicy.d.ts.map +1 -1
  103. package/esm/models/deploymentsetupstacksettingspolicy.js +18 -0
  104. package/esm/models/deploymentsetupstacksettingspolicy.js.map +1 -1
  105. package/esm/models/importsource.d.ts +35 -0
  106. package/esm/models/importsource.d.ts.map +1 -1
  107. package/esm/models/importsource.js +12 -0
  108. package/esm/models/importsource.js.map +1 -1
  109. package/esm/models/managerretryresponse.d.ts +43 -2
  110. package/esm/models/managerretryresponse.d.ts.map +1 -1
  111. package/esm/models/managerretryresponse.js +29 -4
  112. package/esm/models/managerretryresponse.js.map +1 -1
  113. package/esm/models/managerretryresponsedomains2.d.ts +4 -1729
  114. package/esm/models/managerretryresponsedomains2.d.ts.map +1 -1
  115. package/esm/models/managerretryresponsedomains2.js +4 -1425
  116. package/esm/models/managerretryresponsedomains2.js.map +1 -1
  117. package/esm/models/managerretryresponseproviderazureapplicationgatewayforcontainers2.d.ts +1794 -0
  118. package/esm/models/managerretryresponseproviderazureapplicationgatewayforcontainers2.d.ts.map +1 -0
  119. package/esm/models/managerretryresponseproviderazureapplicationgatewayforcontainers2.js +1416 -0
  120. package/esm/models/managerretryresponseproviderazureapplicationgatewayforcontainers2.js.map +1 -0
  121. package/esm/models/managerretryresponseprovidergkegateway2.d.ts +6 -1757
  122. package/esm/models/managerretryresponseprovidergkegateway2.d.ts.map +1 -1
  123. package/esm/models/managerretryresponseprovidergkegateway2.js +6 -1401
  124. package/esm/models/managerretryresponseprovidergkegateway2.js.map +1 -1
  125. package/esm/models/managerretryresponsepublicendpointtargetunion2.d.ts +1749 -0
  126. package/esm/models/managerretryresponsepublicendpointtargetunion2.d.ts.map +1 -0
  127. package/esm/models/managerretryresponsepublicendpointtargetunion2.js +1428 -0
  128. package/esm/models/managerretryresponsepublicendpointtargetunion2.js.map +1 -0
  129. package/esm/models/newdeploymentrequest.d.ts +35 -0
  130. package/esm/models/newdeploymentrequest.d.ts.map +1 -1
  131. package/esm/models/newdeploymentrequest.js +13 -0
  132. package/esm/models/newdeploymentrequest.js.map +1 -1
  133. package/esm/models/operations/plandeploymentcompute.d.ts +35 -0
  134. package/esm/models/operations/plandeploymentcompute.d.ts.map +1 -1
  135. package/esm/models/operations/plandeploymentcompute.js +13 -0
  136. package/esm/models/operations/plandeploymentcompute.js.map +1 -1
  137. package/esm/models/operations/preparedeploymentstack.d.ts +35 -0
  138. package/esm/models/operations/preparedeploymentstack.d.ts.map +1 -1
  139. package/esm/models/operations/preparedeploymentstack.js +13 -0
  140. package/esm/models/operations/preparedeploymentstack.js.map +1 -1
  141. package/esm/models/package.d.ts +134 -0
  142. package/esm/models/package.d.ts.map +1 -1
  143. package/esm/models/package.js +99 -0
  144. package/esm/models/package.js.map +1 -1
  145. package/esm/models/persistimporteddeploymentrequest.d.ts +38 -8
  146. package/esm/models/persistimporteddeploymentrequest.d.ts.map +1 -1
  147. package/esm/models/persistimporteddeploymentrequest.js +14 -4
  148. package/esm/models/persistimporteddeploymentrequest.js.map +1 -1
  149. package/esm/models/persistimporteddeploymentrequestpendingpreparedstacksettingscustom1.d.ts +5 -2412
  150. package/esm/models/persistimporteddeploymentrequestpendingpreparedstacksettingscustom1.d.ts.map +1 -1
  151. package/esm/models/persistimporteddeploymentrequestpendingpreparedstacksettingscustom1.js +4 -1458
  152. package/esm/models/persistimporteddeploymentrequestpendingpreparedstacksettingscustom1.js.map +1 -1
  153. package/esm/models/persistimporteddeploymentrequestpendingpreparedstacksettingscustom2.d.ts +2435 -0
  154. package/esm/models/persistimporteddeploymentrequestpendingpreparedstacksettingscustom2.d.ts.map +1 -0
  155. package/esm/models/persistimporteddeploymentrequestpendingpreparedstacksettingscustom2.js +1463 -0
  156. package/esm/models/persistimporteddeploymentrequestpendingpreparedstacksettingscustom2.js.map +1 -0
  157. package/esm/models/persistimporteddeploymentrequestpreparedstackoverrideconditionstack.d.ts +5 -3089
  158. package/esm/models/persistimporteddeploymentrequestpreparedstackoverrideconditionstack.d.ts.map +1 -1
  159. package/esm/models/persistimporteddeploymentrequestpreparedstackoverrideconditionstack.js +4 -1535
  160. package/esm/models/persistimporteddeploymentrequestpreparedstackoverrideconditionstack.js.map +1 -1
  161. package/esm/models/persistimporteddeploymentrequestpreparedstackoverridegcpresource.d.ts +3088 -0
  162. package/esm/models/persistimporteddeploymentrequestpreparedstackoverridegcpresource.d.ts.map +1 -0
  163. package/esm/models/persistimporteddeploymentrequestpreparedstackoverridegcpresource.js +1535 -0
  164. package/esm/models/persistimporteddeploymentrequestpreparedstackoverridegcpresource.js.map +1 -0
  165. package/esm/models/projectrole.d.ts +1 -0
  166. package/esm/models/projectrole.d.ts.map +1 -1
  167. package/esm/models/projectrole.js +1 -0
  168. package/esm/models/projectrole.js.map +1 -1
  169. package/esm/models/stacksettings.d.ts +35 -0
  170. package/esm/models/stacksettings.d.ts.map +1 -1
  171. package/esm/models/stacksettings.js +12 -0
  172. package/esm/models/stacksettings.js.map +1 -1
  173. package/esm/models/synclistresponse.d.ts +40 -8
  174. package/esm/models/synclistresponse.d.ts.map +1 -1
  175. package/esm/models/synclistresponse.js +13 -4
  176. package/esm/models/synclistresponse.js.map +1 -1
  177. package/esm/models/synclistresponsependingpreparedstackdefaultunion.d.ts +1986 -0
  178. package/esm/models/synclistresponsependingpreparedstackdefaultunion.d.ts.map +1 -0
  179. package/esm/models/synclistresponsependingpreparedstackdefaultunion.js +1433 -0
  180. package/esm/models/synclistresponsependingpreparedstackdefaultunion.js.map +1 -0
  181. package/esm/models/synclistresponsependingpreparedstacktypeenvenum.d.ts +3 -1966
  182. package/esm/models/synclistresponsependingpreparedstacktypeenvenum.d.ts.map +1 -1
  183. package/esm/models/synclistresponsependingpreparedstacktypeenvenum.js +4 -1429
  184. package/esm/models/synclistresponsependingpreparedstacktypeenvenum.js.map +1 -1
  185. package/esm/models/synclistresponsepreparedstackoperations.d.ts +4 -2363
  186. package/esm/models/synclistresponsepreparedstackoperations.d.ts.map +1 -1
  187. package/esm/models/synclistresponsepreparedstackoperations.js +4 -1519
  188. package/esm/models/synclistresponsepreparedstackoperations.js.map +1 -1
  189. package/esm/models/synclistresponsepreparedstackplugins.d.ts +2359 -0
  190. package/esm/models/synclistresponsepreparedstackplugins.d.ts.map +1 -0
  191. package/esm/models/synclistresponsepreparedstackplugins.js +1521 -0
  192. package/esm/models/synclistresponsepreparedstackplugins.js.map +1 -0
  193. package/esm/models/targetdeployment.d.ts +179 -1
  194. package/esm/models/targetdeployment.d.ts.map +1 -1
  195. package/esm/models/targetdeployment.js +35 -2
  196. package/esm/models/targetdeployment.js.map +1 -1
  197. package/esm/models/targetdeploymentconfig.d.ts +4 -2185
  198. package/esm/models/targetdeploymentconfig.d.ts.map +1 -1
  199. package/esm/models/targetdeploymentconfig.js +4 -1436
  200. package/esm/models/targetdeploymentconfig.js.map +1 -1
  201. package/esm/models/targetdeploymentvolumerestore.d.ts +2041 -0
  202. package/esm/models/targetdeploymentvolumerestore.d.ts.map +1 -0
  203. package/esm/models/targetdeploymentvolumerestore.js +1406 -0
  204. package/esm/models/targetdeploymentvolumerestore.js.map +1 -0
  205. package/esm/models/targetreleaseoperations.d.ts +21 -6
  206. package/esm/models/targetreleaseoperations.d.ts.map +1 -1
  207. package/esm/models/targetreleaseoperations.js +2 -0
  208. package/esm/models/targetreleaseoperations.js.map +1 -1
  209. package/esm/models/updatedeploymentcomputerequest.d.ts +17 -0
  210. package/esm/models/updatedeploymentcomputerequest.d.ts.map +1 -1
  211. package/esm/models/updatedeploymentcomputerequest.js +2 -0
  212. package/esm/models/updatedeploymentcomputerequest.js.map +1 -1
  213. package/esm/react-query/deploymentsUpdateCompute.d.ts +1 -1
  214. package/esm/react-query/deploymentsUpdateCompute.js +1 -1
  215. package/esm/react-query/projectsConfigureRemoteSandbox.d.ts +1 -1
  216. package/esm/react-query/projectsConfigureRemoteSandbox.js +1 -1
  217. package/esm/sdk/deployments.d.ts +1 -1
  218. package/esm/sdk/deployments.js +1 -1
  219. package/esm/sdk/projects.d.ts +1 -1
  220. package/esm/sdk/projects.js +1 -1
  221. package/jsr.json +1 -1
  222. package/package.json +3 -3
  223. package/src/funcs/apiKeysRevoke.ts +1 -1
  224. package/src/funcs/deploymentsImport.ts +1 -1
  225. package/src/funcs/deploymentsUpdateCompute.ts +1 -1
  226. package/src/funcs/projectsConfigureRemoteSandbox.ts +1 -1
  227. package/src/lib/config.ts +2 -2
  228. package/src/models/configureremotesandboxrequest.ts +6 -0
  229. package/src/models/createmanagerresponse.ts +102 -9
  230. package/src/models/createmanagerresponseproviderazureapplicationgatewayforcontainersenum2.ts +4765 -0
  231. package/src/models/createmanagerresponseprovidergkegatewayenum2.ts +7 -4743
  232. package/src/models/createmanagerresponsepublicendpointtargetmachineaddresses2.ts +4690 -0
  233. package/src/models/createmanagerresponsepublicendpointtargetunion2.ts +5 -4675
  234. package/src/models/createsetupregistrationoperationrequest.ts +48 -0
  235. package/src/models/deployment.ts +74 -12
  236. package/src/models/deploymentcomputeplan.ts +6 -0
  237. package/src/models/deploymentconfig.ts +41 -0
  238. package/src/models/deploymentdetailresponse.ts +82 -12
  239. package/src/models/deploymentdetailresponsependingpreparedstackdefaultunion.ts +4960 -0
  240. package/src/models/deploymentdetailresponsependingpreparedstacktypeenvenum.ts +4 -4936
  241. package/src/models/deploymentdetailresponsepreparedstackoperations.ts +5 -6147
  242. package/src/models/deploymentdetailresponsepreparedstackplugins.ts +6116 -0
  243. package/src/models/deploymentinfo.ts +328 -25
  244. package/src/models/deploymentpendingpreparedstackdefaultunion.ts +4443 -0
  245. package/src/models/deploymentpendingpreparedstacktypeenvenum.ts +4 -4421
  246. package/src/models/deploymentpreparedstackoperations.ts +5 -5688
  247. package/src/models/deploymentpreparedstackplugins.ts +5668 -0
  248. package/src/models/deploymentsetupconfiginput.ts +29 -0
  249. package/src/models/deploymentsetuppolicy.ts +32 -0
  250. package/src/models/deploymentsetupstacksettingspolicy.ts +57 -0
  251. package/src/models/importsource.ts +44 -0
  252. package/src/models/managerretryresponse.ts +91 -11
  253. package/src/models/managerretryresponsedomains2.ts +5 -4656
  254. package/src/models/managerretryresponseproviderazureapplicationgatewayforcontainers2.ts +4730 -0
  255. package/src/models/managerretryresponseprovidergkegateway2.ts +7 -4681
  256. package/src/models/managerretryresponsepublicendpointtargetunion2.ts +4648 -0
  257. package/src/models/newdeploymentrequest.ts +45 -0
  258. package/src/models/operations/plandeploymentcompute.ts +45 -0
  259. package/src/models/operations/preparedeploymentstack.ts +45 -0
  260. package/src/models/package.ts +263 -0
  261. package/src/models/persistimporteddeploymentrequest.ts +68 -13
  262. package/src/models/persistimporteddeploymentrequestpendingpreparedstacksettingscustom1.ts +6 -5746
  263. package/src/models/persistimporteddeploymentrequestpendingpreparedstacksettingscustom2.ts +5757 -0
  264. package/src/models/persistimporteddeploymentrequestpreparedstackoverrideconditionstack.ts +6 -7043
  265. package/src/models/persistimporteddeploymentrequestpreparedstackoverridegcpresource.ts +7041 -0
  266. package/src/models/projectrole.ts +1 -0
  267. package/src/models/stacksettings.ts +44 -0
  268. package/src/models/synclistresponse.ts +71 -12
  269. package/src/models/synclistresponsependingpreparedstackdefaultunion.ts +4604 -0
  270. package/src/models/synclistresponsependingpreparedstacktypeenvenum.ts +4 -4583
  271. package/src/models/synclistresponsepreparedstackoperations.ts +5 -5899
  272. package/src/models/synclistresponsepreparedstackplugins.ts +5873 -0
  273. package/src/models/targetdeployment.ts +236 -4
  274. package/src/models/targetdeploymentconfig.ts +5 -4878
  275. package/src/models/targetdeploymentvolumerestore.ts +4671 -0
  276. package/src/models/targetreleaseoperations.ts +23 -6
  277. package/src/models/updatedeploymentcomputerequest.ts +19 -0
  278. package/src/react-query/deploymentsUpdateCompute.ts +1 -1
  279. package/src/react-query/projectsConfigureRemoteSandbox.ts +1 -1
  280. package/src/sdk/deployments.ts +1 -1
  281. package/src/sdk/projects.ts +1 -1
@@ -1,1536 +1,5 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
- import * as z from "zod/v4";
5
- import { remap as remap$ } from "../lib/primitives.js";
6
- import { PersistImportedDeploymentRequestPendingPreparedStackCustomApprovalUnion$outboundSchema, PersistImportedDeploymentRequestPendingPreparedStackInput$outboundSchema, PersistImportedDeploymentRequestPendingPreparedStackSettingsCustom1$outboundSchema, PersistImportedDeploymentRequestPendingPreparedStackSettingsCustom2$outboundSchema, PersistImportedDeploymentRequestPendingPreparedStackSettingsCustom3$outboundSchema, } from "./persistimporteddeploymentrequestpendingpreparedstacksettingscustom1.js";
7
- /**
8
- * Whether matching operations run without approval.
9
- */
10
- export const PersistImportedDeploymentRequestPendingPreparedStackPluginsDecision = {
11
- Auto: "auto",
12
- Manual: "manual",
13
- };
14
- /**
15
- * Whether matching operations run without approval.
16
- */
17
- export const PersistImportedDeploymentRequestPendingPreparedStackApprovalPluginsEnum = {
18
- Auto: "auto",
19
- Manual: "manual",
20
- };
21
- export const PersistImportedDeploymentRequestPendingPreparedStackManagementEnum = {
22
- Auto: "auto",
23
- };
24
- /**
25
- * IAM effect. Defaults to Allow.
26
- */
27
- export const PersistImportedDeploymentRequestPendingPreparedStackOverrideEffect = {
28
- Allow: "Allow",
29
- Deny: "Deny",
30
- };
31
- /**
32
- * IAM effect. Defaults to Allow.
33
- */
34
- export const PersistImportedDeploymentRequestPendingPreparedStackExtendEffect = {
35
- Allow: "Allow",
36
- Deny: "Deny",
37
- };
38
- /**
39
- * IAM effect. Defaults to Allow.
40
- */
41
- export const PersistImportedDeploymentRequestPendingPreparedStackProfileEffect = {
42
- Allow: "Allow",
43
- Deny: "Deny",
44
- };
45
- /**
46
- * Describes the lifecycle of a resource within a stack, determining how it's managed and deployed.
47
- */
48
- export const PersistImportedDeploymentRequestPendingPreparedStackLifecycle = {
49
- Frozen: "frozen",
50
- Live: "live",
51
- };
52
- /**
53
- * Represents the target cloud platform.
54
- */
55
- export const PersistImportedDeploymentRequestPendingPreparedStackSupportedPlatform = {
56
- Aws: "aws",
57
- Gcp: "gcp",
58
- Azure: "azure",
59
- Kubernetes: "kubernetes",
60
- Machines: "machines",
61
- Local: "local",
62
- Test: "test",
63
- };
64
- export const PersistImportedDeploymentRequestPreparedStackTypeStringList = {
65
- StringList: "stringList",
66
- };
67
- export const PersistImportedDeploymentRequestPreparedStackTypeBoolean = {
68
- Boolean: "boolean",
69
- };
70
- export const PersistImportedDeploymentRequestPreparedStackTypeNumber = {
71
- Number: "number",
72
- };
73
- export const PersistImportedDeploymentRequestPreparedStackTypeString = {
74
- String: "string",
75
- };
76
- /**
77
- * Environment variable handling for a stack input mapping.
78
- */
79
- export const PersistImportedDeploymentRequestPreparedStackTypeEnvEnum = {
80
- Plain: "plain",
81
- Secret: "secret",
82
- };
83
- /**
84
- * Primitive stack input kind.
85
- */
86
- export const PersistImportedDeploymentRequestPreparedStackKind = {
87
- String: "string",
88
- Secret: "secret",
89
- Number: "number",
90
- Integer: "integer",
91
- Boolean: "boolean",
92
- Enum: "enum",
93
- StringList: "stringList",
94
- };
95
- /**
96
- * Represents the target cloud platform.
97
- */
98
- export const PersistImportedDeploymentRequestPreparedStackPlatform = {
99
- Aws: "aws",
100
- Gcp: "gcp",
101
- Azure: "azure",
102
- Kubernetes: "kubernetes",
103
- Machines: "machines",
104
- Local: "local",
105
- Test: "test",
106
- };
107
- /**
108
- * Who can provide a stack input value.
109
- */
110
- export const PersistImportedDeploymentRequestPreparedStackProvidedBy = {
111
- Developer: "developer",
112
- Deployer: "deployer",
113
- };
114
- /**
115
- * Whether matching operations run without approval.
116
- */
117
- export const PersistImportedDeploymentRequestPreparedStackCustomDecision = {
118
- Auto: "auto",
119
- Manual: "manual",
120
- };
121
- /**
122
- * Whether matching operations run without approval.
123
- */
124
- export const PersistImportedDeploymentRequestPreparedStackApprovalCustomEnum = {
125
- Auto: "auto",
126
- Manual: "manual",
127
- };
128
- /**
129
- * Whether matching operations run without approval.
130
- */
131
- export const PersistImportedDeploymentRequestPreparedStackPluginsDecision = {
132
- Auto: "auto",
133
- Manual: "manual",
134
- };
135
- /**
136
- * Whether matching operations run without approval.
137
- */
138
- export const PersistImportedDeploymentRequestPreparedStackApprovalPluginsEnum = {
139
- Auto: "auto",
140
- Manual: "manual",
141
- };
142
- export const PersistImportedDeploymentRequestPreparedStackManagementEnum = {
143
- Auto: "auto",
144
- };
145
- /**
146
- * IAM effect. Defaults to Allow.
147
- */
148
- export const PersistImportedDeploymentRequestPreparedStackOverrideEffect = {
149
- Allow: "Allow",
150
- Deny: "Deny",
151
- };
152
- /** @internal */
153
- export const PersistImportedDeploymentRequestPendingPreparedStackCustomSettingsUnion$outboundSchema = z.union([
154
- PersistImportedDeploymentRequestPendingPreparedStackSettingsCustom1$outboundSchema,
155
- PersistImportedDeploymentRequestPendingPreparedStackSettingsCustom2$outboundSchema,
156
- PersistImportedDeploymentRequestPendingPreparedStackSettingsCustom3$outboundSchema,
157
- z.string(),
158
- ]);
159
- export function persistImportedDeploymentRequestPendingPreparedStackCustomSettingsUnionToJSON(persistImportedDeploymentRequestPendingPreparedStackCustomSettingsUnion) {
160
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackCustomSettingsUnion$outboundSchema
161
- .parse(persistImportedDeploymentRequestPendingPreparedStackCustomSettingsUnion));
162
- }
163
- /** @internal */
164
- export const PersistImportedDeploymentRequestPendingPreparedStackCustom$outboundSchema = z.object({
165
- approval: z.record(z.string(), PersistImportedDeploymentRequestPendingPreparedStackCustomApprovalUnion$outboundSchema).optional(),
166
- settings: z.record(z.string(), z.union([
167
- PersistImportedDeploymentRequestPendingPreparedStackSettingsCustom1$outboundSchema,
168
- PersistImportedDeploymentRequestPendingPreparedStackSettingsCustom2$outboundSchema,
169
- PersistImportedDeploymentRequestPendingPreparedStackSettingsCustom3$outboundSchema,
170
- z.string(),
171
- ])).optional(),
172
- name: z.string(),
173
- version: z.string(),
174
- });
175
- export function persistImportedDeploymentRequestPendingPreparedStackCustomToJSON(persistImportedDeploymentRequestPendingPreparedStackCustom) {
176
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackCustom$outboundSchema
177
- .parse(persistImportedDeploymentRequestPendingPreparedStackCustom));
178
- }
179
- /** @internal */
180
- export const PersistImportedDeploymentRequestPendingPreparedStackPluginsDecision$outboundSchema = z.enum(PersistImportedDeploymentRequestPendingPreparedStackPluginsDecision);
181
- /** @internal */
182
- export const PersistImportedDeploymentRequestPendingPreparedStackApprovalPlugins$outboundSchema = z.object({
183
- decision: PersistImportedDeploymentRequestPendingPreparedStackPluginsDecision$outboundSchema,
184
- maxRisk: z.nullable(z.string()).optional(),
185
- });
186
- export function persistImportedDeploymentRequestPendingPreparedStackApprovalPluginsToJSON(persistImportedDeploymentRequestPendingPreparedStackApprovalPlugins) {
187
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackApprovalPlugins$outboundSchema
188
- .parse(persistImportedDeploymentRequestPendingPreparedStackApprovalPlugins));
189
- }
190
- /** @internal */
191
- export const PersistImportedDeploymentRequestPendingPreparedStackApprovalPluginsEnum$outboundSchema = z.enum(PersistImportedDeploymentRequestPendingPreparedStackApprovalPluginsEnum);
192
- /** @internal */
193
- export const PersistImportedDeploymentRequestPendingPreparedStackPluginsApprovalUnion$outboundSchema = z.union([
194
- z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackApprovalPlugins$outboundSchema),
195
- PersistImportedDeploymentRequestPendingPreparedStackApprovalPluginsEnum$outboundSchema,
196
- ]);
197
- export function persistImportedDeploymentRequestPendingPreparedStackPluginsApprovalUnionToJSON(persistImportedDeploymentRequestPendingPreparedStackPluginsApprovalUnion) {
198
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackPluginsApprovalUnion$outboundSchema
199
- .parse(persistImportedDeploymentRequestPendingPreparedStackPluginsApprovalUnion));
200
- }
201
- /** @internal */
202
- export const PersistImportedDeploymentRequestPendingPreparedStackSettingsPlugins3$outboundSchema = z.object({
203
- env: z.string(),
204
- });
205
- export function persistImportedDeploymentRequestPendingPreparedStackSettingsPlugins3ToJSON(persistImportedDeploymentRequestPendingPreparedStackSettingsPlugins3) {
206
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackSettingsPlugins3$outboundSchema
207
- .parse(persistImportedDeploymentRequestPendingPreparedStackSettingsPlugins3));
208
- }
209
- /** @internal */
210
- export const PersistImportedDeploymentRequestPendingPreparedStackSettingsPlugins2$outboundSchema = z.object({
211
- resources: z.array(z.string()),
212
- });
213
- export function persistImportedDeploymentRequestPendingPreparedStackSettingsPlugins2ToJSON(persistImportedDeploymentRequestPendingPreparedStackSettingsPlugins2) {
214
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackSettingsPlugins2$outboundSchema
215
- .parse(persistImportedDeploymentRequestPendingPreparedStackSettingsPlugins2));
216
- }
217
- /** @internal */
218
- export const PersistImportedDeploymentRequestPendingPreparedStackSettingsPlugins1$outboundSchema = z.object({
219
- input: z.string(),
220
- });
221
- export function persistImportedDeploymentRequestPendingPreparedStackSettingsPlugins1ToJSON(persistImportedDeploymentRequestPendingPreparedStackSettingsPlugins1) {
222
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackSettingsPlugins1$outboundSchema
223
- .parse(persistImportedDeploymentRequestPendingPreparedStackSettingsPlugins1));
224
- }
225
- /** @internal */
226
- export const PersistImportedDeploymentRequestPendingPreparedStackPluginsSettingsUnion$outboundSchema = z.union([
227
- z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackSettingsPlugins1$outboundSchema),
228
- z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackSettingsPlugins2$outboundSchema),
229
- z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackSettingsPlugins3$outboundSchema),
230
- z.string(),
231
- ]);
232
- export function persistImportedDeploymentRequestPendingPreparedStackPluginsSettingsUnionToJSON(persistImportedDeploymentRequestPendingPreparedStackPluginsSettingsUnion) {
233
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackPluginsSettingsUnion$outboundSchema
234
- .parse(persistImportedDeploymentRequestPendingPreparedStackPluginsSettingsUnion));
235
- }
236
- /** @internal */
237
- export const PersistImportedDeploymentRequestPendingPreparedStackPlugins$outboundSchema = z.object({
238
- approval: z.record(z.string(), z.union([
239
- z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackApprovalPlugins$outboundSchema),
240
- PersistImportedDeploymentRequestPendingPreparedStackApprovalPluginsEnum$outboundSchema,
241
- ])).optional(),
242
- settings: z.record(z.string(), z.union([
243
- z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackSettingsPlugins1$outboundSchema),
244
- z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackSettingsPlugins2$outboundSchema),
245
- z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackSettingsPlugins3$outboundSchema),
246
- z.string(),
247
- ])).optional(),
248
- });
249
- export function persistImportedDeploymentRequestPendingPreparedStackPluginsToJSON(persistImportedDeploymentRequestPendingPreparedStackPlugins) {
250
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackPlugins$outboundSchema
251
- .parse(persistImportedDeploymentRequestPendingPreparedStackPlugins));
252
- }
253
- /** @internal */
254
- export const PersistImportedDeploymentRequestPendingPreparedStackOperations$outboundSchema = z.object({
255
- custom: z.array(z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackCustom$outboundSchema)).optional(),
256
- plugins: z.record(z.string(), z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackPlugins$outboundSchema)).optional(),
257
- });
258
- export function persistImportedDeploymentRequestPendingPreparedStackOperationsToJSON(persistImportedDeploymentRequestPendingPreparedStackOperations) {
259
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackOperations$outboundSchema
260
- .parse(persistImportedDeploymentRequestPendingPreparedStackOperations));
261
- }
262
- /** @internal */
263
- export const PersistImportedDeploymentRequestPendingPreparedStackOperationsUnion$outboundSchema = z.union([
264
- z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackOperations$outboundSchema),
265
- z.string(),
266
- ]);
267
- export function persistImportedDeploymentRequestPendingPreparedStackOperationsUnionToJSON(persistImportedDeploymentRequestPendingPreparedStackOperationsUnion) {
268
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackOperationsUnion$outboundSchema
269
- .parse(persistImportedDeploymentRequestPendingPreparedStackOperationsUnion));
270
- }
271
- /** @internal */
272
- export const PersistImportedDeploymentRequestPendingPreparedStackManagementEnum$outboundSchema = z.enum(PersistImportedDeploymentRequestPendingPreparedStackManagementEnum);
273
- /** @internal */
274
- export const PersistImportedDeploymentRequestPendingPreparedStackOverrideAwResource$outboundSchema = z.object({
275
- condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string()))).optional(),
276
- notResources: z.array(z.string()).optional(),
277
- resources: z.array(z.string()),
278
- });
279
- export function persistImportedDeploymentRequestPendingPreparedStackOverrideAwResourceToJSON(persistImportedDeploymentRequestPendingPreparedStackOverrideAwResource) {
280
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackOverrideAwResource$outboundSchema
281
- .parse(persistImportedDeploymentRequestPendingPreparedStackOverrideAwResource));
282
- }
283
- /** @internal */
284
- export const PersistImportedDeploymentRequestPendingPreparedStackOverrideAwStack$outboundSchema = z.object({
285
- condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string()))).optional(),
286
- notResources: z.array(z.string()).optional(),
287
- resources: z.array(z.string()),
288
- });
289
- export function persistImportedDeploymentRequestPendingPreparedStackOverrideAwStackToJSON(persistImportedDeploymentRequestPendingPreparedStackOverrideAwStack) {
290
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackOverrideAwStack$outboundSchema
291
- .parse(persistImportedDeploymentRequestPendingPreparedStackOverrideAwStack));
292
- }
293
- /** @internal */
294
- export const PersistImportedDeploymentRequestPendingPreparedStackOverrideAwBinding$outboundSchema = z.object({
295
- resource: z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackOverrideAwResource$outboundSchema).optional(),
296
- stack: z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackOverrideAwStack$outboundSchema).optional(),
297
- });
298
- export function persistImportedDeploymentRequestPendingPreparedStackOverrideAwBindingToJSON(persistImportedDeploymentRequestPendingPreparedStackOverrideAwBinding) {
299
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackOverrideAwBinding$outboundSchema
300
- .parse(persistImportedDeploymentRequestPendingPreparedStackOverrideAwBinding));
301
- }
302
- /** @internal */
303
- export const PersistImportedDeploymentRequestPendingPreparedStackOverrideEffect$outboundSchema = z.enum(PersistImportedDeploymentRequestPendingPreparedStackOverrideEffect);
304
- /** @internal */
305
- export const PersistImportedDeploymentRequestPendingPreparedStackOverrideAwGrant$outboundSchema = z.object({
306
- actions: z.nullable(z.array(z.string())).optional(),
307
- dataActions: z.nullable(z.array(z.string())).optional(),
308
- permissions: z.nullable(z.array(z.string())).optional(),
309
- predefinedRoles: z.nullable(z.array(z.string())).optional(),
310
- residualPermissions: z.nullable(z.array(z.string())).optional(),
311
- });
312
- export function persistImportedDeploymentRequestPendingPreparedStackOverrideAwGrantToJSON(persistImportedDeploymentRequestPendingPreparedStackOverrideAwGrant) {
313
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackOverrideAwGrant$outboundSchema
314
- .parse(persistImportedDeploymentRequestPendingPreparedStackOverrideAwGrant));
315
- }
316
- /** @internal */
317
- export const PersistImportedDeploymentRequestPendingPreparedStackOverrideAw$outboundSchema = z.object({
318
- binding: z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackOverrideAwBinding$outboundSchema),
319
- description: z.nullable(z.string()).optional(),
320
- effect: PersistImportedDeploymentRequestPendingPreparedStackOverrideEffect$outboundSchema
321
- .optional(),
322
- grant: z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackOverrideAwGrant$outboundSchema),
323
- label: z.nullable(z.string()).optional(),
324
- });
325
- export function persistImportedDeploymentRequestPendingPreparedStackOverrideAwToJSON(persistImportedDeploymentRequestPendingPreparedStackOverrideAw) {
326
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackOverrideAw$outboundSchema
327
- .parse(persistImportedDeploymentRequestPendingPreparedStackOverrideAw));
328
- }
329
- /** @internal */
330
- export const PersistImportedDeploymentRequestPendingPreparedStackOverrideAzureResource$outboundSchema = z.object({
331
- scope: z.string(),
332
- });
333
- export function persistImportedDeploymentRequestPendingPreparedStackOverrideAzureResourceToJSON(persistImportedDeploymentRequestPendingPreparedStackOverrideAzureResource) {
334
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackOverrideAzureResource$outboundSchema
335
- .parse(persistImportedDeploymentRequestPendingPreparedStackOverrideAzureResource));
336
- }
337
- /** @internal */
338
- export const PersistImportedDeploymentRequestPendingPreparedStackOverrideAzureStack$outboundSchema = z.object({
339
- scope: z.string(),
340
- });
341
- export function persistImportedDeploymentRequestPendingPreparedStackOverrideAzureStackToJSON(persistImportedDeploymentRequestPendingPreparedStackOverrideAzureStack) {
342
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackOverrideAzureStack$outboundSchema
343
- .parse(persistImportedDeploymentRequestPendingPreparedStackOverrideAzureStack));
344
- }
345
- /** @internal */
346
- export const PersistImportedDeploymentRequestPendingPreparedStackOverrideAzureBinding$outboundSchema = z.object({
347
- resource: z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackOverrideAzureResource$outboundSchema).optional(),
348
- stack: z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackOverrideAzureStack$outboundSchema).optional(),
349
- });
350
- export function persistImportedDeploymentRequestPendingPreparedStackOverrideAzureBindingToJSON(persistImportedDeploymentRequestPendingPreparedStackOverrideAzureBinding) {
351
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackOverrideAzureBinding$outboundSchema
352
- .parse(persistImportedDeploymentRequestPendingPreparedStackOverrideAzureBinding));
353
- }
354
- /** @internal */
355
- export const PersistImportedDeploymentRequestPendingPreparedStackOverrideAzureGrant$outboundSchema = z.object({
356
- actions: z.nullable(z.array(z.string())).optional(),
357
- dataActions: z.nullable(z.array(z.string())).optional(),
358
- permissions: z.nullable(z.array(z.string())).optional(),
359
- predefinedRoles: z.nullable(z.array(z.string())).optional(),
360
- residualPermissions: z.nullable(z.array(z.string())).optional(),
361
- });
362
- export function persistImportedDeploymentRequestPendingPreparedStackOverrideAzureGrantToJSON(persistImportedDeploymentRequestPendingPreparedStackOverrideAzureGrant) {
363
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackOverrideAzureGrant$outboundSchema
364
- .parse(persistImportedDeploymentRequestPendingPreparedStackOverrideAzureGrant));
365
- }
366
- /** @internal */
367
- export const PersistImportedDeploymentRequestPendingPreparedStackOverrideAzure$outboundSchema = z.object({
368
- binding: z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackOverrideAzureBinding$outboundSchema),
369
- description: z.nullable(z.string()).optional(),
370
- grant: z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackOverrideAzureGrant$outboundSchema),
371
- label: z.nullable(z.string()).optional(),
372
- });
373
- export function persistImportedDeploymentRequestPendingPreparedStackOverrideAzureToJSON(persistImportedDeploymentRequestPendingPreparedStackOverrideAzure) {
374
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackOverrideAzure$outboundSchema
375
- .parse(persistImportedDeploymentRequestPendingPreparedStackOverrideAzure));
376
- }
377
- /** @internal */
378
- export const PersistImportedDeploymentRequestPendingPreparedStackOverrideConditionResource$outboundSchema = z.object({
379
- expression: z.string(),
380
- title: z.string(),
381
- });
382
- export function persistImportedDeploymentRequestPendingPreparedStackOverrideConditionResourceToJSON(persistImportedDeploymentRequestPendingPreparedStackOverrideConditionResource) {
383
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackOverrideConditionResource$outboundSchema
384
- .parse(persistImportedDeploymentRequestPendingPreparedStackOverrideConditionResource));
385
- }
386
- /** @internal */
387
- export const PersistImportedDeploymentRequestPendingPreparedStackOverrideResourceConditionUnion$outboundSchema = z.union([
388
- z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackOverrideConditionResource$outboundSchema),
389
- z.string(),
390
- ]);
391
- export function persistImportedDeploymentRequestPendingPreparedStackOverrideResourceConditionUnionToJSON(persistImportedDeploymentRequestPendingPreparedStackOverrideResourceConditionUnion) {
392
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackOverrideResourceConditionUnion$outboundSchema
393
- .parse(persistImportedDeploymentRequestPendingPreparedStackOverrideResourceConditionUnion));
394
- }
395
- /** @internal */
396
- export const PersistImportedDeploymentRequestPendingPreparedStackOverrideGcpResource$outboundSchema = z.object({
397
- condition: z.nullable(z.union([
398
- z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackOverrideConditionResource$outboundSchema),
399
- z.string(),
400
- ])).optional(),
401
- scope: z.string(),
402
- });
403
- export function persistImportedDeploymentRequestPendingPreparedStackOverrideGcpResourceToJSON(persistImportedDeploymentRequestPendingPreparedStackOverrideGcpResource) {
404
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackOverrideGcpResource$outboundSchema
405
- .parse(persistImportedDeploymentRequestPendingPreparedStackOverrideGcpResource));
406
- }
407
- /** @internal */
408
- export const PersistImportedDeploymentRequestPendingPreparedStackOverrideConditionStack$outboundSchema = z.object({
409
- expression: z.string(),
410
- title: z.string(),
411
- });
412
- export function persistImportedDeploymentRequestPendingPreparedStackOverrideConditionStackToJSON(persistImportedDeploymentRequestPendingPreparedStackOverrideConditionStack) {
413
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackOverrideConditionStack$outboundSchema
414
- .parse(persistImportedDeploymentRequestPendingPreparedStackOverrideConditionStack));
415
- }
416
- /** @internal */
417
- export const PersistImportedDeploymentRequestPendingPreparedStackOverrideStackConditionUnion$outboundSchema = z.union([
418
- z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackOverrideConditionStack$outboundSchema),
419
- z.string(),
420
- ]);
421
- export function persistImportedDeploymentRequestPendingPreparedStackOverrideStackConditionUnionToJSON(persistImportedDeploymentRequestPendingPreparedStackOverrideStackConditionUnion) {
422
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackOverrideStackConditionUnion$outboundSchema
423
- .parse(persistImportedDeploymentRequestPendingPreparedStackOverrideStackConditionUnion));
424
- }
425
- /** @internal */
426
- export const PersistImportedDeploymentRequestPendingPreparedStackOverrideGcpStack$outboundSchema = z.object({
427
- condition: z.nullable(z.union([
428
- z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackOverrideConditionStack$outboundSchema),
429
- z.string(),
430
- ])).optional(),
431
- scope: z.string(),
432
- });
433
- export function persistImportedDeploymentRequestPendingPreparedStackOverrideGcpStackToJSON(persistImportedDeploymentRequestPendingPreparedStackOverrideGcpStack) {
434
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackOverrideGcpStack$outboundSchema
435
- .parse(persistImportedDeploymentRequestPendingPreparedStackOverrideGcpStack));
436
- }
437
- /** @internal */
438
- export const PersistImportedDeploymentRequestPendingPreparedStackOverrideGcpBinding$outboundSchema = z.object({
439
- resource: z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackOverrideGcpResource$outboundSchema).optional(),
440
- stack: z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackOverrideGcpStack$outboundSchema).optional(),
441
- });
442
- export function persistImportedDeploymentRequestPendingPreparedStackOverrideGcpBindingToJSON(persistImportedDeploymentRequestPendingPreparedStackOverrideGcpBinding) {
443
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackOverrideGcpBinding$outboundSchema
444
- .parse(persistImportedDeploymentRequestPendingPreparedStackOverrideGcpBinding));
445
- }
446
- /** @internal */
447
- export const PersistImportedDeploymentRequestPendingPreparedStackOverrideGcpGrant$outboundSchema = z.object({
448
- actions: z.nullable(z.array(z.string())).optional(),
449
- dataActions: z.nullable(z.array(z.string())).optional(),
450
- permissions: z.nullable(z.array(z.string())).optional(),
451
- predefinedRoles: z.nullable(z.array(z.string())).optional(),
452
- residualPermissions: z.nullable(z.array(z.string())).optional(),
453
- });
454
- export function persistImportedDeploymentRequestPendingPreparedStackOverrideGcpGrantToJSON(persistImportedDeploymentRequestPendingPreparedStackOverrideGcpGrant) {
455
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackOverrideGcpGrant$outboundSchema
456
- .parse(persistImportedDeploymentRequestPendingPreparedStackOverrideGcpGrant));
457
- }
458
- /** @internal */
459
- export const PersistImportedDeploymentRequestPendingPreparedStackOverrideGcp$outboundSchema = z.object({
460
- binding: z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackOverrideGcpBinding$outboundSchema),
461
- description: z.nullable(z.string()).optional(),
462
- grant: z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackOverrideGcpGrant$outboundSchema),
463
- label: z.nullable(z.string()).optional(),
464
- });
465
- export function persistImportedDeploymentRequestPendingPreparedStackOverrideGcpToJSON(persistImportedDeploymentRequestPendingPreparedStackOverrideGcp) {
466
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackOverrideGcp$outboundSchema
467
- .parse(persistImportedDeploymentRequestPendingPreparedStackOverrideGcp));
468
- }
469
- /** @internal */
470
- export const PersistImportedDeploymentRequestPendingPreparedStackOverridePlatforms$outboundSchema = z.object({
471
- aws: z.nullable(z.array(z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackOverrideAw$outboundSchema))).optional(),
472
- azure: z.nullable(z.array(z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackOverrideAzure$outboundSchema))).optional(),
473
- gcp: z.nullable(z.array(z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackOverrideGcp$outboundSchema))).optional(),
474
- });
475
- export function persistImportedDeploymentRequestPendingPreparedStackOverridePlatformsToJSON(persistImportedDeploymentRequestPendingPreparedStackOverridePlatforms) {
476
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackOverridePlatforms$outboundSchema
477
- .parse(persistImportedDeploymentRequestPendingPreparedStackOverridePlatforms));
478
- }
479
- /** @internal */
480
- export const PersistImportedDeploymentRequestPendingPreparedStackOverride$outboundSchema = z.object({
481
- description: z.string(),
482
- id: z.string(),
483
- platforms: z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackOverridePlatforms$outboundSchema),
484
- });
485
- export function persistImportedDeploymentRequestPendingPreparedStackOverrideToJSON(persistImportedDeploymentRequestPendingPreparedStackOverride) {
486
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackOverride$outboundSchema
487
- .parse(persistImportedDeploymentRequestPendingPreparedStackOverride));
488
- }
489
- /** @internal */
490
- export const PersistImportedDeploymentRequestPendingPreparedStackOverrideUnion$outboundSchema = z.union([
491
- z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackOverride$outboundSchema),
492
- z.string(),
493
- ]);
494
- export function persistImportedDeploymentRequestPendingPreparedStackOverrideUnionToJSON(persistImportedDeploymentRequestPendingPreparedStackOverrideUnion) {
495
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackOverrideUnion$outboundSchema
496
- .parse(persistImportedDeploymentRequestPendingPreparedStackOverrideUnion));
497
- }
498
- /** @internal */
499
- export const PersistImportedDeploymentRequestPendingPreparedStackManagement2$outboundSchema = z.object({
500
- override: z.record(z.string(), z.array(z.union([
501
- z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackOverride$outboundSchema),
502
- z.string(),
503
- ]))),
504
- });
505
- export function persistImportedDeploymentRequestPendingPreparedStackManagement2ToJSON(persistImportedDeploymentRequestPendingPreparedStackManagement2) {
506
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackManagement2$outboundSchema
507
- .parse(persistImportedDeploymentRequestPendingPreparedStackManagement2));
508
- }
509
- /** @internal */
510
- export const PersistImportedDeploymentRequestPendingPreparedStackExtendAwResource$outboundSchema = z.object({
511
- condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string()))).optional(),
512
- notResources: z.array(z.string()).optional(),
513
- resources: z.array(z.string()),
514
- });
515
- export function persistImportedDeploymentRequestPendingPreparedStackExtendAwResourceToJSON(persistImportedDeploymentRequestPendingPreparedStackExtendAwResource) {
516
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackExtendAwResource$outboundSchema
517
- .parse(persistImportedDeploymentRequestPendingPreparedStackExtendAwResource));
518
- }
519
- /** @internal */
520
- export const PersistImportedDeploymentRequestPendingPreparedStackExtendAwStack$outboundSchema = z.object({
521
- condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string()))).optional(),
522
- notResources: z.array(z.string()).optional(),
523
- resources: z.array(z.string()),
524
- });
525
- export function persistImportedDeploymentRequestPendingPreparedStackExtendAwStackToJSON(persistImportedDeploymentRequestPendingPreparedStackExtendAwStack) {
526
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackExtendAwStack$outboundSchema
527
- .parse(persistImportedDeploymentRequestPendingPreparedStackExtendAwStack));
528
- }
529
- /** @internal */
530
- export const PersistImportedDeploymentRequestPendingPreparedStackExtendAwBinding$outboundSchema = z.object({
531
- resource: z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackExtendAwResource$outboundSchema).optional(),
532
- stack: z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackExtendAwStack$outboundSchema).optional(),
533
- });
534
- export function persistImportedDeploymentRequestPendingPreparedStackExtendAwBindingToJSON(persistImportedDeploymentRequestPendingPreparedStackExtendAwBinding) {
535
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackExtendAwBinding$outboundSchema
536
- .parse(persistImportedDeploymentRequestPendingPreparedStackExtendAwBinding));
537
- }
538
- /** @internal */
539
- export const PersistImportedDeploymentRequestPendingPreparedStackExtendEffect$outboundSchema = z.enum(PersistImportedDeploymentRequestPendingPreparedStackExtendEffect);
540
- /** @internal */
541
- export const PersistImportedDeploymentRequestPendingPreparedStackExtendAwGrant$outboundSchema = z.object({
542
- actions: z.nullable(z.array(z.string())).optional(),
543
- dataActions: z.nullable(z.array(z.string())).optional(),
544
- permissions: z.nullable(z.array(z.string())).optional(),
545
- predefinedRoles: z.nullable(z.array(z.string())).optional(),
546
- residualPermissions: z.nullable(z.array(z.string())).optional(),
547
- });
548
- export function persistImportedDeploymentRequestPendingPreparedStackExtendAwGrantToJSON(persistImportedDeploymentRequestPendingPreparedStackExtendAwGrant) {
549
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackExtendAwGrant$outboundSchema
550
- .parse(persistImportedDeploymentRequestPendingPreparedStackExtendAwGrant));
551
- }
552
- /** @internal */
553
- export const PersistImportedDeploymentRequestPendingPreparedStackExtendAw$outboundSchema = z.object({
554
- binding: z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackExtendAwBinding$outboundSchema),
555
- description: z.nullable(z.string()).optional(),
556
- effect: PersistImportedDeploymentRequestPendingPreparedStackExtendEffect$outboundSchema
557
- .optional(),
558
- grant: z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackExtendAwGrant$outboundSchema),
559
- label: z.nullable(z.string()).optional(),
560
- });
561
- export function persistImportedDeploymentRequestPendingPreparedStackExtendAwToJSON(persistImportedDeploymentRequestPendingPreparedStackExtendAw) {
562
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackExtendAw$outboundSchema
563
- .parse(persistImportedDeploymentRequestPendingPreparedStackExtendAw));
564
- }
565
- /** @internal */
566
- export const PersistImportedDeploymentRequestPendingPreparedStackExtendAzureResource$outboundSchema = z.object({
567
- scope: z.string(),
568
- });
569
- export function persistImportedDeploymentRequestPendingPreparedStackExtendAzureResourceToJSON(persistImportedDeploymentRequestPendingPreparedStackExtendAzureResource) {
570
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackExtendAzureResource$outboundSchema
571
- .parse(persistImportedDeploymentRequestPendingPreparedStackExtendAzureResource));
572
- }
573
- /** @internal */
574
- export const PersistImportedDeploymentRequestPendingPreparedStackExtendAzureStack$outboundSchema = z.object({
575
- scope: z.string(),
576
- });
577
- export function persistImportedDeploymentRequestPendingPreparedStackExtendAzureStackToJSON(persistImportedDeploymentRequestPendingPreparedStackExtendAzureStack) {
578
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackExtendAzureStack$outboundSchema
579
- .parse(persistImportedDeploymentRequestPendingPreparedStackExtendAzureStack));
580
- }
581
- /** @internal */
582
- export const PersistImportedDeploymentRequestPendingPreparedStackExtendAzureBinding$outboundSchema = z.object({
583
- resource: z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackExtendAzureResource$outboundSchema).optional(),
584
- stack: z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackExtendAzureStack$outboundSchema).optional(),
585
- });
586
- export function persistImportedDeploymentRequestPendingPreparedStackExtendAzureBindingToJSON(persistImportedDeploymentRequestPendingPreparedStackExtendAzureBinding) {
587
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackExtendAzureBinding$outboundSchema
588
- .parse(persistImportedDeploymentRequestPendingPreparedStackExtendAzureBinding));
589
- }
590
- /** @internal */
591
- export const PersistImportedDeploymentRequestPendingPreparedStackExtendAzureGrant$outboundSchema = z.object({
592
- actions: z.nullable(z.array(z.string())).optional(),
593
- dataActions: z.nullable(z.array(z.string())).optional(),
594
- permissions: z.nullable(z.array(z.string())).optional(),
595
- predefinedRoles: z.nullable(z.array(z.string())).optional(),
596
- residualPermissions: z.nullable(z.array(z.string())).optional(),
597
- });
598
- export function persistImportedDeploymentRequestPendingPreparedStackExtendAzureGrantToJSON(persistImportedDeploymentRequestPendingPreparedStackExtendAzureGrant) {
599
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackExtendAzureGrant$outboundSchema
600
- .parse(persistImportedDeploymentRequestPendingPreparedStackExtendAzureGrant));
601
- }
602
- /** @internal */
603
- export const PersistImportedDeploymentRequestPendingPreparedStackExtendAzure$outboundSchema = z.object({
604
- binding: z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackExtendAzureBinding$outboundSchema),
605
- description: z.nullable(z.string()).optional(),
606
- grant: z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackExtendAzureGrant$outboundSchema),
607
- label: z.nullable(z.string()).optional(),
608
- });
609
- export function persistImportedDeploymentRequestPendingPreparedStackExtendAzureToJSON(persistImportedDeploymentRequestPendingPreparedStackExtendAzure) {
610
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackExtendAzure$outboundSchema
611
- .parse(persistImportedDeploymentRequestPendingPreparedStackExtendAzure));
612
- }
613
- /** @internal */
614
- export const PersistImportedDeploymentRequestPendingPreparedStackExtendConditionResource$outboundSchema = z.object({
615
- expression: z.string(),
616
- title: z.string(),
617
- });
618
- export function persistImportedDeploymentRequestPendingPreparedStackExtendConditionResourceToJSON(persistImportedDeploymentRequestPendingPreparedStackExtendConditionResource) {
619
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackExtendConditionResource$outboundSchema
620
- .parse(persistImportedDeploymentRequestPendingPreparedStackExtendConditionResource));
621
- }
622
- /** @internal */
623
- export const PersistImportedDeploymentRequestPendingPreparedStackExtendResourceConditionUnion$outboundSchema = z.union([
624
- z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackExtendConditionResource$outboundSchema),
625
- z.string(),
626
- ]);
627
- export function persistImportedDeploymentRequestPendingPreparedStackExtendResourceConditionUnionToJSON(persistImportedDeploymentRequestPendingPreparedStackExtendResourceConditionUnion) {
628
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackExtendResourceConditionUnion$outboundSchema
629
- .parse(persistImportedDeploymentRequestPendingPreparedStackExtendResourceConditionUnion));
630
- }
631
- /** @internal */
632
- export const PersistImportedDeploymentRequestPendingPreparedStackExtendGcpResource$outboundSchema = z.object({
633
- condition: z.nullable(z.union([
634
- z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackExtendConditionResource$outboundSchema),
635
- z.string(),
636
- ])).optional(),
637
- scope: z.string(),
638
- });
639
- export function persistImportedDeploymentRequestPendingPreparedStackExtendGcpResourceToJSON(persistImportedDeploymentRequestPendingPreparedStackExtendGcpResource) {
640
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackExtendGcpResource$outboundSchema
641
- .parse(persistImportedDeploymentRequestPendingPreparedStackExtendGcpResource));
642
- }
643
- /** @internal */
644
- export const PersistImportedDeploymentRequestPendingPreparedStackExtendConditionStack$outboundSchema = z.object({
645
- expression: z.string(),
646
- title: z.string(),
647
- });
648
- export function persistImportedDeploymentRequestPendingPreparedStackExtendConditionStackToJSON(persistImportedDeploymentRequestPendingPreparedStackExtendConditionStack) {
649
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackExtendConditionStack$outboundSchema
650
- .parse(persistImportedDeploymentRequestPendingPreparedStackExtendConditionStack));
651
- }
652
- /** @internal */
653
- export const PersistImportedDeploymentRequestPendingPreparedStackExtendStackConditionUnion$outboundSchema = z.union([
654
- z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackExtendConditionStack$outboundSchema),
655
- z.string(),
656
- ]);
657
- export function persistImportedDeploymentRequestPendingPreparedStackExtendStackConditionUnionToJSON(persistImportedDeploymentRequestPendingPreparedStackExtendStackConditionUnion) {
658
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackExtendStackConditionUnion$outboundSchema
659
- .parse(persistImportedDeploymentRequestPendingPreparedStackExtendStackConditionUnion));
660
- }
661
- /** @internal */
662
- export const PersistImportedDeploymentRequestPendingPreparedStackExtendGcpStack$outboundSchema = z.object({
663
- condition: z.nullable(z.union([
664
- z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackExtendConditionStack$outboundSchema),
665
- z.string(),
666
- ])).optional(),
667
- scope: z.string(),
668
- });
669
- export function persistImportedDeploymentRequestPendingPreparedStackExtendGcpStackToJSON(persistImportedDeploymentRequestPendingPreparedStackExtendGcpStack) {
670
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackExtendGcpStack$outboundSchema
671
- .parse(persistImportedDeploymentRequestPendingPreparedStackExtendGcpStack));
672
- }
673
- /** @internal */
674
- export const PersistImportedDeploymentRequestPendingPreparedStackExtendGcpBinding$outboundSchema = z.object({
675
- resource: z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackExtendGcpResource$outboundSchema).optional(),
676
- stack: z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackExtendGcpStack$outboundSchema).optional(),
677
- });
678
- export function persistImportedDeploymentRequestPendingPreparedStackExtendGcpBindingToJSON(persistImportedDeploymentRequestPendingPreparedStackExtendGcpBinding) {
679
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackExtendGcpBinding$outboundSchema
680
- .parse(persistImportedDeploymentRequestPendingPreparedStackExtendGcpBinding));
681
- }
682
- /** @internal */
683
- export const PersistImportedDeploymentRequestPendingPreparedStackExtendGcpGrant$outboundSchema = z.object({
684
- actions: z.nullable(z.array(z.string())).optional(),
685
- dataActions: z.nullable(z.array(z.string())).optional(),
686
- permissions: z.nullable(z.array(z.string())).optional(),
687
- predefinedRoles: z.nullable(z.array(z.string())).optional(),
688
- residualPermissions: z.nullable(z.array(z.string())).optional(),
689
- });
690
- export function persistImportedDeploymentRequestPendingPreparedStackExtendGcpGrantToJSON(persistImportedDeploymentRequestPendingPreparedStackExtendGcpGrant) {
691
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackExtendGcpGrant$outboundSchema
692
- .parse(persistImportedDeploymentRequestPendingPreparedStackExtendGcpGrant));
693
- }
694
- /** @internal */
695
- export const PersistImportedDeploymentRequestPendingPreparedStackExtendGcp$outboundSchema = z.object({
696
- binding: z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackExtendGcpBinding$outboundSchema),
697
- description: z.nullable(z.string()).optional(),
698
- grant: z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackExtendGcpGrant$outboundSchema),
699
- label: z.nullable(z.string()).optional(),
700
- });
701
- export function persistImportedDeploymentRequestPendingPreparedStackExtendGcpToJSON(persistImportedDeploymentRequestPendingPreparedStackExtendGcp) {
702
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackExtendGcp$outboundSchema
703
- .parse(persistImportedDeploymentRequestPendingPreparedStackExtendGcp));
704
- }
705
- /** @internal */
706
- export const PersistImportedDeploymentRequestPendingPreparedStackExtendPlatforms$outboundSchema = z.object({
707
- aws: z.nullable(z.array(z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackExtendAw$outboundSchema))).optional(),
708
- azure: z.nullable(z.array(z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackExtendAzure$outboundSchema))).optional(),
709
- gcp: z.nullable(z.array(z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackExtendGcp$outboundSchema))).optional(),
710
- });
711
- export function persistImportedDeploymentRequestPendingPreparedStackExtendPlatformsToJSON(persistImportedDeploymentRequestPendingPreparedStackExtendPlatforms) {
712
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackExtendPlatforms$outboundSchema
713
- .parse(persistImportedDeploymentRequestPendingPreparedStackExtendPlatforms));
714
- }
715
- /** @internal */
716
- export const PersistImportedDeploymentRequestPendingPreparedStackExtend$outboundSchema = z.object({
717
- description: z.string(),
718
- id: z.string(),
719
- platforms: z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackExtendPlatforms$outboundSchema),
720
- });
721
- export function persistImportedDeploymentRequestPendingPreparedStackExtendToJSON(persistImportedDeploymentRequestPendingPreparedStackExtend) {
722
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackExtend$outboundSchema
723
- .parse(persistImportedDeploymentRequestPendingPreparedStackExtend));
724
- }
725
- /** @internal */
726
- export const PersistImportedDeploymentRequestPendingPreparedStackExtendUnion$outboundSchema = z.union([
727
- z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackExtend$outboundSchema),
728
- z.string(),
729
- ]);
730
- export function persistImportedDeploymentRequestPendingPreparedStackExtendUnionToJSON(persistImportedDeploymentRequestPendingPreparedStackExtendUnion) {
731
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackExtendUnion$outboundSchema
732
- .parse(persistImportedDeploymentRequestPendingPreparedStackExtendUnion));
733
- }
734
- /** @internal */
735
- export const PersistImportedDeploymentRequestPendingPreparedStackManagement1$outboundSchema = z.object({
736
- extend: z.record(z.string(), z.array(z.union([
737
- z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackExtend$outboundSchema),
738
- z.string(),
739
- ]))),
740
- });
741
- export function persistImportedDeploymentRequestPendingPreparedStackManagement1ToJSON(persistImportedDeploymentRequestPendingPreparedStackManagement1) {
742
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackManagement1$outboundSchema
743
- .parse(persistImportedDeploymentRequestPendingPreparedStackManagement1));
744
- }
745
- /** @internal */
746
- export const PersistImportedDeploymentRequestPendingPreparedStackManagementUnion$outboundSchema = z.union([
747
- z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackManagement1$outboundSchema),
748
- z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackManagement2$outboundSchema),
749
- PersistImportedDeploymentRequestPendingPreparedStackManagementEnum$outboundSchema,
750
- ]);
751
- export function persistImportedDeploymentRequestPendingPreparedStackManagementUnionToJSON(persistImportedDeploymentRequestPendingPreparedStackManagementUnion) {
752
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackManagementUnion$outboundSchema
753
- .parse(persistImportedDeploymentRequestPendingPreparedStackManagementUnion));
754
- }
755
- /** @internal */
756
- export const PersistImportedDeploymentRequestPendingPreparedStackProfileAwResource$outboundSchema = z.object({
757
- condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string()))).optional(),
758
- notResources: z.array(z.string()).optional(),
759
- resources: z.array(z.string()),
760
- });
761
- export function persistImportedDeploymentRequestPendingPreparedStackProfileAwResourceToJSON(persistImportedDeploymentRequestPendingPreparedStackProfileAwResource) {
762
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackProfileAwResource$outboundSchema
763
- .parse(persistImportedDeploymentRequestPendingPreparedStackProfileAwResource));
764
- }
765
- /** @internal */
766
- export const PersistImportedDeploymentRequestPendingPreparedStackProfileAwStack$outboundSchema = z.object({
767
- condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string()))).optional(),
768
- notResources: z.array(z.string()).optional(),
769
- resources: z.array(z.string()),
770
- });
771
- export function persistImportedDeploymentRequestPendingPreparedStackProfileAwStackToJSON(persistImportedDeploymentRequestPendingPreparedStackProfileAwStack) {
772
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackProfileAwStack$outboundSchema
773
- .parse(persistImportedDeploymentRequestPendingPreparedStackProfileAwStack));
774
- }
775
- /** @internal */
776
- export const PersistImportedDeploymentRequestPendingPreparedStackProfileAwBinding$outboundSchema = z.object({
777
- resource: z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackProfileAwResource$outboundSchema).optional(),
778
- stack: z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackProfileAwStack$outboundSchema).optional(),
779
- });
780
- export function persistImportedDeploymentRequestPendingPreparedStackProfileAwBindingToJSON(persistImportedDeploymentRequestPendingPreparedStackProfileAwBinding) {
781
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackProfileAwBinding$outboundSchema
782
- .parse(persistImportedDeploymentRequestPendingPreparedStackProfileAwBinding));
783
- }
784
- /** @internal */
785
- export const PersistImportedDeploymentRequestPendingPreparedStackProfileEffect$outboundSchema = z.enum(PersistImportedDeploymentRequestPendingPreparedStackProfileEffect);
786
- /** @internal */
787
- export const PersistImportedDeploymentRequestPendingPreparedStackProfileAwGrant$outboundSchema = z.object({
788
- actions: z.nullable(z.array(z.string())).optional(),
789
- dataActions: z.nullable(z.array(z.string())).optional(),
790
- permissions: z.nullable(z.array(z.string())).optional(),
791
- predefinedRoles: z.nullable(z.array(z.string())).optional(),
792
- residualPermissions: z.nullable(z.array(z.string())).optional(),
793
- });
794
- export function persistImportedDeploymentRequestPendingPreparedStackProfileAwGrantToJSON(persistImportedDeploymentRequestPendingPreparedStackProfileAwGrant) {
795
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackProfileAwGrant$outboundSchema
796
- .parse(persistImportedDeploymentRequestPendingPreparedStackProfileAwGrant));
797
- }
798
- /** @internal */
799
- export const PersistImportedDeploymentRequestPendingPreparedStackProfileAw$outboundSchema = z.object({
800
- binding: z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackProfileAwBinding$outboundSchema),
801
- description: z.nullable(z.string()).optional(),
802
- effect: PersistImportedDeploymentRequestPendingPreparedStackProfileEffect$outboundSchema
803
- .optional(),
804
- grant: z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackProfileAwGrant$outboundSchema),
805
- label: z.nullable(z.string()).optional(),
806
- });
807
- export function persistImportedDeploymentRequestPendingPreparedStackProfileAwToJSON(persistImportedDeploymentRequestPendingPreparedStackProfileAw) {
808
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackProfileAw$outboundSchema
809
- .parse(persistImportedDeploymentRequestPendingPreparedStackProfileAw));
810
- }
811
- /** @internal */
812
- export const PersistImportedDeploymentRequestPendingPreparedStackProfileAzureResource$outboundSchema = z.object({
813
- scope: z.string(),
814
- });
815
- export function persistImportedDeploymentRequestPendingPreparedStackProfileAzureResourceToJSON(persistImportedDeploymentRequestPendingPreparedStackProfileAzureResource) {
816
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackProfileAzureResource$outboundSchema
817
- .parse(persistImportedDeploymentRequestPendingPreparedStackProfileAzureResource));
818
- }
819
- /** @internal */
820
- export const PersistImportedDeploymentRequestPendingPreparedStackProfileAzureStack$outboundSchema = z.object({
821
- scope: z.string(),
822
- });
823
- export function persistImportedDeploymentRequestPendingPreparedStackProfileAzureStackToJSON(persistImportedDeploymentRequestPendingPreparedStackProfileAzureStack) {
824
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackProfileAzureStack$outboundSchema
825
- .parse(persistImportedDeploymentRequestPendingPreparedStackProfileAzureStack));
826
- }
827
- /** @internal */
828
- export const PersistImportedDeploymentRequestPendingPreparedStackProfileAzureBinding$outboundSchema = z.object({
829
- resource: z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackProfileAzureResource$outboundSchema).optional(),
830
- stack: z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackProfileAzureStack$outboundSchema).optional(),
831
- });
832
- export function persistImportedDeploymentRequestPendingPreparedStackProfileAzureBindingToJSON(persistImportedDeploymentRequestPendingPreparedStackProfileAzureBinding) {
833
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackProfileAzureBinding$outboundSchema
834
- .parse(persistImportedDeploymentRequestPendingPreparedStackProfileAzureBinding));
835
- }
836
- /** @internal */
837
- export const PersistImportedDeploymentRequestPendingPreparedStackProfileAzureGrant$outboundSchema = z.object({
838
- actions: z.nullable(z.array(z.string())).optional(),
839
- dataActions: z.nullable(z.array(z.string())).optional(),
840
- permissions: z.nullable(z.array(z.string())).optional(),
841
- predefinedRoles: z.nullable(z.array(z.string())).optional(),
842
- residualPermissions: z.nullable(z.array(z.string())).optional(),
843
- });
844
- export function persistImportedDeploymentRequestPendingPreparedStackProfileAzureGrantToJSON(persistImportedDeploymentRequestPendingPreparedStackProfileAzureGrant) {
845
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackProfileAzureGrant$outboundSchema
846
- .parse(persistImportedDeploymentRequestPendingPreparedStackProfileAzureGrant));
847
- }
848
- /** @internal */
849
- export const PersistImportedDeploymentRequestPendingPreparedStackProfileAzure$outboundSchema = z.object({
850
- binding: z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackProfileAzureBinding$outboundSchema),
851
- description: z.nullable(z.string()).optional(),
852
- grant: z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackProfileAzureGrant$outboundSchema),
853
- label: z.nullable(z.string()).optional(),
854
- });
855
- export function persistImportedDeploymentRequestPendingPreparedStackProfileAzureToJSON(persistImportedDeploymentRequestPendingPreparedStackProfileAzure) {
856
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackProfileAzure$outboundSchema
857
- .parse(persistImportedDeploymentRequestPendingPreparedStackProfileAzure));
858
- }
859
- /** @internal */
860
- export const PersistImportedDeploymentRequestPendingPreparedStackProfileConditionResource$outboundSchema = z.object({
861
- expression: z.string(),
862
- title: z.string(),
863
- });
864
- export function persistImportedDeploymentRequestPendingPreparedStackProfileConditionResourceToJSON(persistImportedDeploymentRequestPendingPreparedStackProfileConditionResource) {
865
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackProfileConditionResource$outboundSchema
866
- .parse(persistImportedDeploymentRequestPendingPreparedStackProfileConditionResource));
867
- }
868
- /** @internal */
869
- export const PersistImportedDeploymentRequestPendingPreparedStackProfileResourceConditionUnion$outboundSchema = z.union([
870
- z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackProfileConditionResource$outboundSchema),
871
- z.string(),
872
- ]);
873
- export function persistImportedDeploymentRequestPendingPreparedStackProfileResourceConditionUnionToJSON(persistImportedDeploymentRequestPendingPreparedStackProfileResourceConditionUnion) {
874
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackProfileResourceConditionUnion$outboundSchema
875
- .parse(persistImportedDeploymentRequestPendingPreparedStackProfileResourceConditionUnion));
876
- }
877
- /** @internal */
878
- export const PersistImportedDeploymentRequestPendingPreparedStackProfileGcpResource$outboundSchema = z.object({
879
- condition: z.nullable(z.union([
880
- z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackProfileConditionResource$outboundSchema),
881
- z.string(),
882
- ])).optional(),
883
- scope: z.string(),
884
- });
885
- export function persistImportedDeploymentRequestPendingPreparedStackProfileGcpResourceToJSON(persistImportedDeploymentRequestPendingPreparedStackProfileGcpResource) {
886
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackProfileGcpResource$outboundSchema
887
- .parse(persistImportedDeploymentRequestPendingPreparedStackProfileGcpResource));
888
- }
889
- /** @internal */
890
- export const PersistImportedDeploymentRequestPendingPreparedStackProfileConditionStack$outboundSchema = z.object({
891
- expression: z.string(),
892
- title: z.string(),
893
- });
894
- export function persistImportedDeploymentRequestPendingPreparedStackProfileConditionStackToJSON(persistImportedDeploymentRequestPendingPreparedStackProfileConditionStack) {
895
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackProfileConditionStack$outboundSchema
896
- .parse(persistImportedDeploymentRequestPendingPreparedStackProfileConditionStack));
897
- }
898
- /** @internal */
899
- export const PersistImportedDeploymentRequestPendingPreparedStackProfileStackConditionUnion$outboundSchema = z.union([
900
- z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackProfileConditionStack$outboundSchema),
901
- z.string(),
902
- ]);
903
- export function persistImportedDeploymentRequestPendingPreparedStackProfileStackConditionUnionToJSON(persistImportedDeploymentRequestPendingPreparedStackProfileStackConditionUnion) {
904
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackProfileStackConditionUnion$outboundSchema
905
- .parse(persistImportedDeploymentRequestPendingPreparedStackProfileStackConditionUnion));
906
- }
907
- /** @internal */
908
- export const PersistImportedDeploymentRequestPendingPreparedStackProfileGcpStack$outboundSchema = z.object({
909
- condition: z.nullable(z.union([
910
- z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackProfileConditionStack$outboundSchema),
911
- z.string(),
912
- ])).optional(),
913
- scope: z.string(),
914
- });
915
- export function persistImportedDeploymentRequestPendingPreparedStackProfileGcpStackToJSON(persistImportedDeploymentRequestPendingPreparedStackProfileGcpStack) {
916
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackProfileGcpStack$outboundSchema
917
- .parse(persistImportedDeploymentRequestPendingPreparedStackProfileGcpStack));
918
- }
919
- /** @internal */
920
- export const PersistImportedDeploymentRequestPendingPreparedStackProfileGcpBinding$outboundSchema = z.object({
921
- resource: z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackProfileGcpResource$outboundSchema).optional(),
922
- stack: z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackProfileGcpStack$outboundSchema).optional(),
923
- });
924
- export function persistImportedDeploymentRequestPendingPreparedStackProfileGcpBindingToJSON(persistImportedDeploymentRequestPendingPreparedStackProfileGcpBinding) {
925
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackProfileGcpBinding$outboundSchema
926
- .parse(persistImportedDeploymentRequestPendingPreparedStackProfileGcpBinding));
927
- }
928
- /** @internal */
929
- export const PersistImportedDeploymentRequestPendingPreparedStackProfileGcpGrant$outboundSchema = z.object({
930
- actions: z.nullable(z.array(z.string())).optional(),
931
- dataActions: z.nullable(z.array(z.string())).optional(),
932
- permissions: z.nullable(z.array(z.string())).optional(),
933
- predefinedRoles: z.nullable(z.array(z.string())).optional(),
934
- residualPermissions: z.nullable(z.array(z.string())).optional(),
935
- });
936
- export function persistImportedDeploymentRequestPendingPreparedStackProfileGcpGrantToJSON(persistImportedDeploymentRequestPendingPreparedStackProfileGcpGrant) {
937
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackProfileGcpGrant$outboundSchema
938
- .parse(persistImportedDeploymentRequestPendingPreparedStackProfileGcpGrant));
939
- }
940
- /** @internal */
941
- export const PersistImportedDeploymentRequestPendingPreparedStackProfileGcp$outboundSchema = z.object({
942
- binding: z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackProfileGcpBinding$outboundSchema),
943
- description: z.nullable(z.string()).optional(),
944
- grant: z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackProfileGcpGrant$outboundSchema),
945
- label: z.nullable(z.string()).optional(),
946
- });
947
- export function persistImportedDeploymentRequestPendingPreparedStackProfileGcpToJSON(persistImportedDeploymentRequestPendingPreparedStackProfileGcp) {
948
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackProfileGcp$outboundSchema
949
- .parse(persistImportedDeploymentRequestPendingPreparedStackProfileGcp));
950
- }
951
- /** @internal */
952
- export const PersistImportedDeploymentRequestPendingPreparedStackProfilePlatforms$outboundSchema = z.object({
953
- aws: z.nullable(z.array(z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackProfileAw$outboundSchema))).optional(),
954
- azure: z.nullable(z.array(z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackProfileAzure$outboundSchema))).optional(),
955
- gcp: z.nullable(z.array(z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackProfileGcp$outboundSchema))).optional(),
956
- });
957
- export function persistImportedDeploymentRequestPendingPreparedStackProfilePlatformsToJSON(persistImportedDeploymentRequestPendingPreparedStackProfilePlatforms) {
958
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackProfilePlatforms$outboundSchema
959
- .parse(persistImportedDeploymentRequestPendingPreparedStackProfilePlatforms));
960
- }
961
- /** @internal */
962
- export const PersistImportedDeploymentRequestPendingPreparedStackProfile$outboundSchema = z.object({
963
- description: z.string(),
964
- id: z.string(),
965
- platforms: z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackProfilePlatforms$outboundSchema),
966
- });
967
- export function persistImportedDeploymentRequestPendingPreparedStackProfileToJSON(persistImportedDeploymentRequestPendingPreparedStackProfile) {
968
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackProfile$outboundSchema
969
- .parse(persistImportedDeploymentRequestPendingPreparedStackProfile));
970
- }
971
- /** @internal */
972
- export const PersistImportedDeploymentRequestPendingPreparedStackProfileUnion$outboundSchema = z.union([
973
- z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackProfile$outboundSchema),
974
- z.string(),
975
- ]);
976
- export function persistImportedDeploymentRequestPendingPreparedStackProfileUnionToJSON(persistImportedDeploymentRequestPendingPreparedStackProfileUnion) {
977
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackProfileUnion$outboundSchema
978
- .parse(persistImportedDeploymentRequestPendingPreparedStackProfileUnion));
979
- }
980
- /** @internal */
981
- export const PersistImportedDeploymentRequestPendingPreparedStackPermissions$outboundSchema = z.object({
982
- management: z.union([
983
- z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackManagement1$outboundSchema),
984
- z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackManagement2$outboundSchema),
985
- PersistImportedDeploymentRequestPendingPreparedStackManagementEnum$outboundSchema,
986
- ]).optional(),
987
- profiles: z.record(z.string(), z.record(z.string(), z.array(z.union([
988
- z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackProfile$outboundSchema),
989
- z.string(),
990
- ])))),
991
- });
992
- export function persistImportedDeploymentRequestPendingPreparedStackPermissionsToJSON(persistImportedDeploymentRequestPendingPreparedStackPermissions) {
993
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackPermissions$outboundSchema
994
- .parse(persistImportedDeploymentRequestPendingPreparedStackPermissions));
995
- }
996
- /** @internal */
997
- export const PersistImportedDeploymentRequestPendingPreparedStackConfig$outboundSchema = z.object({
998
- id: z.string(),
999
- type: z.string(),
1000
- additionalProperties: z.record(z.string(), z.nullable(z.any())).optional(),
1001
- }).transform((v) => {
1002
- return {
1003
- ...v.additionalProperties,
1004
- ...remap$(v, {
1005
- additionalProperties: null,
1006
- }),
1007
- };
1008
- });
1009
- export function persistImportedDeploymentRequestPendingPreparedStackConfigToJSON(persistImportedDeploymentRequestPendingPreparedStackConfig) {
1010
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackConfig$outboundSchema
1011
- .parse(persistImportedDeploymentRequestPendingPreparedStackConfig));
1012
- }
1013
- /** @internal */
1014
- export const PersistImportedDeploymentRequestPendingPreparedStackDependency$outboundSchema = z.object({
1015
- id: z.string(),
1016
- type: z.string(),
1017
- });
1018
- export function persistImportedDeploymentRequestPendingPreparedStackDependencyToJSON(persistImportedDeploymentRequestPendingPreparedStackDependency) {
1019
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackDependency$outboundSchema
1020
- .parse(persistImportedDeploymentRequestPendingPreparedStackDependency));
1021
- }
1022
- /** @internal */
1023
- export const PersistImportedDeploymentRequestPendingPreparedStackLifecycle$outboundSchema = z.enum(PersistImportedDeploymentRequestPendingPreparedStackLifecycle);
1024
- /** @internal */
1025
- export const PersistImportedDeploymentRequestPendingPreparedStackResources$outboundSchema = z.object({
1026
- config: z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackConfig$outboundSchema),
1027
- dependencies: z.array(z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackDependency$outboundSchema)),
1028
- enabledWhen: z.nullable(z.string()).optional(),
1029
- lifecycle: PersistImportedDeploymentRequestPendingPreparedStackLifecycle$outboundSchema,
1030
- remoteAccess: z.boolean().optional(),
1031
- });
1032
- export function persistImportedDeploymentRequestPendingPreparedStackResourcesToJSON(persistImportedDeploymentRequestPendingPreparedStackResources) {
1033
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackResources$outboundSchema
1034
- .parse(persistImportedDeploymentRequestPendingPreparedStackResources));
1035
- }
1036
- /** @internal */
1037
- export const PersistImportedDeploymentRequestPendingPreparedStackSupportedPlatform$outboundSchema = z.enum(PersistImportedDeploymentRequestPendingPreparedStackSupportedPlatform);
1038
- /** @internal */
1039
- export const PersistImportedDeploymentRequestPendingPreparedStack$outboundSchema = z.object({
1040
- dynamicContainerImageResources: z.array(z.string()).optional(),
1041
- dynamicContainerRepositories: z.array(z.string()).optional(),
1042
- id: z.string(),
1043
- inputs: z.array(PersistImportedDeploymentRequestPendingPreparedStackInput$outboundSchema).optional(),
1044
- operations: z.nullable(z.union([
1045
- z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackOperations$outboundSchema),
1046
- z.string(),
1047
- ])).optional(),
1048
- permissions: z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackPermissions$outboundSchema).optional(),
1049
- resources: z.record(z.string(), z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStackResources$outboundSchema)),
1050
- supportedPlatforms: z.nullable(z.array(PersistImportedDeploymentRequestPendingPreparedStackSupportedPlatform$outboundSchema)).optional(),
1051
- });
1052
- export function persistImportedDeploymentRequestPendingPreparedStackToJSON(persistImportedDeploymentRequestPendingPreparedStack) {
1053
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStack$outboundSchema.parse(persistImportedDeploymentRequestPendingPreparedStack));
1054
- }
1055
- /** @internal */
1056
- export const PersistImportedDeploymentRequestPendingPreparedStackUnion$outboundSchema = z.union([
1057
- z.lazy(() => PersistImportedDeploymentRequestPendingPreparedStack$outboundSchema),
1058
- z.string(),
1059
- ]);
1060
- export function persistImportedDeploymentRequestPendingPreparedStackUnionToJSON(persistImportedDeploymentRequestPendingPreparedStackUnion) {
1061
- return JSON.stringify(PersistImportedDeploymentRequestPendingPreparedStackUnion$outboundSchema
1062
- .parse(persistImportedDeploymentRequestPendingPreparedStackUnion));
1063
- }
1064
- /** @internal */
1065
- export const PersistImportedDeploymentRequestPreparedStackTypeStringList$outboundSchema = z.enum(PersistImportedDeploymentRequestPreparedStackTypeStringList);
1066
- /** @internal */
1067
- export const PersistImportedDeploymentRequestPreparedStackDefaultStringList$outboundSchema = z.object({
1068
- type: PersistImportedDeploymentRequestPreparedStackTypeStringList$outboundSchema,
1069
- value: z.array(z.string()),
1070
- });
1071
- export function persistImportedDeploymentRequestPreparedStackDefaultStringListToJSON(persistImportedDeploymentRequestPreparedStackDefaultStringList) {
1072
- return JSON.stringify(PersistImportedDeploymentRequestPreparedStackDefaultStringList$outboundSchema
1073
- .parse(persistImportedDeploymentRequestPreparedStackDefaultStringList));
1074
- }
1075
- /** @internal */
1076
- export const PersistImportedDeploymentRequestPreparedStackTypeBoolean$outboundSchema = z
1077
- .enum(PersistImportedDeploymentRequestPreparedStackTypeBoolean);
1078
- /** @internal */
1079
- export const PersistImportedDeploymentRequestPreparedStackDefaultBoolean$outboundSchema = z.object({
1080
- type: PersistImportedDeploymentRequestPreparedStackTypeBoolean$outboundSchema,
1081
- value: z.boolean(),
1082
- });
1083
- export function persistImportedDeploymentRequestPreparedStackDefaultBooleanToJSON(persistImportedDeploymentRequestPreparedStackDefaultBoolean) {
1084
- return JSON.stringify(PersistImportedDeploymentRequestPreparedStackDefaultBoolean$outboundSchema
1085
- .parse(persistImportedDeploymentRequestPreparedStackDefaultBoolean));
1086
- }
1087
- /** @internal */
1088
- export const PersistImportedDeploymentRequestPreparedStackTypeNumber$outboundSchema = z
1089
- .enum(PersistImportedDeploymentRequestPreparedStackTypeNumber);
1090
- /** @internal */
1091
- export const PersistImportedDeploymentRequestPreparedStackDefaultNumber$outboundSchema = z.object({
1092
- type: PersistImportedDeploymentRequestPreparedStackTypeNumber$outboundSchema,
1093
- value: z.string(),
1094
- });
1095
- export function persistImportedDeploymentRequestPreparedStackDefaultNumberToJSON(persistImportedDeploymentRequestPreparedStackDefaultNumber) {
1096
- return JSON.stringify(PersistImportedDeploymentRequestPreparedStackDefaultNumber$outboundSchema
1097
- .parse(persistImportedDeploymentRequestPreparedStackDefaultNumber));
1098
- }
1099
- /** @internal */
1100
- export const PersistImportedDeploymentRequestPreparedStackTypeString$outboundSchema = z
1101
- .enum(PersistImportedDeploymentRequestPreparedStackTypeString);
1102
- /** @internal */
1103
- export const PersistImportedDeploymentRequestPreparedStackDefaultString$outboundSchema = z.object({
1104
- type: PersistImportedDeploymentRequestPreparedStackTypeString$outboundSchema,
1105
- value: z.string(),
1106
- });
1107
- export function persistImportedDeploymentRequestPreparedStackDefaultStringToJSON(persistImportedDeploymentRequestPreparedStackDefaultString) {
1108
- return JSON.stringify(PersistImportedDeploymentRequestPreparedStackDefaultString$outboundSchema
1109
- .parse(persistImportedDeploymentRequestPreparedStackDefaultString));
1110
- }
1111
- /** @internal */
1112
- export const PersistImportedDeploymentRequestPreparedStackDefaultUnion$outboundSchema = z.union([
1113
- z.lazy(() => PersistImportedDeploymentRequestPreparedStackDefaultString$outboundSchema),
1114
- z.lazy(() => PersistImportedDeploymentRequestPreparedStackDefaultNumber$outboundSchema),
1115
- z.lazy(() => PersistImportedDeploymentRequestPreparedStackDefaultBoolean$outboundSchema),
1116
- z.lazy(() => PersistImportedDeploymentRequestPreparedStackDefaultStringList$outboundSchema),
1117
- z.string(),
1118
- ]);
1119
- export function persistImportedDeploymentRequestPreparedStackDefaultUnionToJSON(persistImportedDeploymentRequestPreparedStackDefaultUnion) {
1120
- return JSON.stringify(PersistImportedDeploymentRequestPreparedStackDefaultUnion$outboundSchema
1121
- .parse(persistImportedDeploymentRequestPreparedStackDefaultUnion));
1122
- }
1123
- /** @internal */
1124
- export const PersistImportedDeploymentRequestPreparedStackTypeEnvEnum$outboundSchema = z
1125
- .enum(PersistImportedDeploymentRequestPreparedStackTypeEnvEnum);
1126
- /** @internal */
1127
- export const PersistImportedDeploymentRequestPreparedStackTypeUnion$outboundSchema = z.union([
1128
- PersistImportedDeploymentRequestPreparedStackTypeEnvEnum$outboundSchema,
1129
- z.string(),
1130
- ]);
1131
- export function persistImportedDeploymentRequestPreparedStackTypeUnionToJSON(persistImportedDeploymentRequestPreparedStackTypeUnion) {
1132
- return JSON.stringify(PersistImportedDeploymentRequestPreparedStackTypeUnion$outboundSchema.parse(persistImportedDeploymentRequestPreparedStackTypeUnion));
1133
- }
1134
- /** @internal */
1135
- export const PersistImportedDeploymentRequestPreparedStackEnv$outboundSchema = z.object({
1136
- name: z.string(),
1137
- targetResources: z.nullable(z.array(z.string())).optional(),
1138
- type: z.nullable(z.union([
1139
- PersistImportedDeploymentRequestPreparedStackTypeEnvEnum$outboundSchema,
1140
- z.string(),
1141
- ])).optional(),
1142
- });
1143
- export function persistImportedDeploymentRequestPreparedStackEnvToJSON(persistImportedDeploymentRequestPreparedStackEnv) {
1144
- return JSON.stringify(PersistImportedDeploymentRequestPreparedStackEnv$outboundSchema.parse(persistImportedDeploymentRequestPreparedStackEnv));
1145
- }
1146
- /** @internal */
1147
- export const PersistImportedDeploymentRequestPreparedStackGenerate$outboundSchema = z.object({
1148
- length: z.int(),
1149
- });
1150
- export function persistImportedDeploymentRequestPreparedStackGenerateToJSON(persistImportedDeploymentRequestPreparedStackGenerate) {
1151
- return JSON.stringify(PersistImportedDeploymentRequestPreparedStackGenerate$outboundSchema.parse(persistImportedDeploymentRequestPreparedStackGenerate));
1152
- }
1153
- /** @internal */
1154
- export const PersistImportedDeploymentRequestPreparedStackGenerateUnion$outboundSchema = z.union([
1155
- z.lazy(() => PersistImportedDeploymentRequestPreparedStackGenerate$outboundSchema),
1156
- z.string(),
1157
- ]);
1158
- export function persistImportedDeploymentRequestPreparedStackGenerateUnionToJSON(persistImportedDeploymentRequestPreparedStackGenerateUnion) {
1159
- return JSON.stringify(PersistImportedDeploymentRequestPreparedStackGenerateUnion$outboundSchema
1160
- .parse(persistImportedDeploymentRequestPreparedStackGenerateUnion));
1161
- }
1162
- /** @internal */
1163
- export const PersistImportedDeploymentRequestPreparedStackKind$outboundSchema = z.enum(PersistImportedDeploymentRequestPreparedStackKind);
1164
- /** @internal */
1165
- export const PersistImportedDeploymentRequestPreparedStackPlatform$outboundSchema = z
1166
- .enum(PersistImportedDeploymentRequestPreparedStackPlatform);
1167
- /** @internal */
1168
- export const PersistImportedDeploymentRequestPreparedStackProvidedBy$outboundSchema = z
1169
- .enum(PersistImportedDeploymentRequestPreparedStackProvidedBy);
1170
- /** @internal */
1171
- export const PersistImportedDeploymentRequestPreparedStackValidation$outboundSchema = z.object({
1172
- format: z.nullable(z.string()).optional(),
1173
- max: z.nullable(z.string()).optional(),
1174
- maxItems: z.nullable(z.int()).optional(),
1175
- maxLength: z.nullable(z.int()).optional(),
1176
- min: z.nullable(z.string()).optional(),
1177
- minItems: z.nullable(z.int()).optional(),
1178
- minLength: z.nullable(z.int()).optional(),
1179
- pattern: z.nullable(z.string()).optional(),
1180
- values: z.nullable(z.array(z.string())).optional(),
1181
- });
1182
- export function persistImportedDeploymentRequestPreparedStackValidationToJSON(persistImportedDeploymentRequestPreparedStackValidation) {
1183
- return JSON.stringify(PersistImportedDeploymentRequestPreparedStackValidation$outboundSchema
1184
- .parse(persistImportedDeploymentRequestPreparedStackValidation));
1185
- }
1186
- /** @internal */
1187
- export const PersistImportedDeploymentRequestPreparedStackValidationUnion$outboundSchema = z.union([
1188
- z.lazy(() => PersistImportedDeploymentRequestPreparedStackValidation$outboundSchema),
1189
- z.string(),
1190
- ]);
1191
- export function persistImportedDeploymentRequestPreparedStackValidationUnionToJSON(persistImportedDeploymentRequestPreparedStackValidationUnion) {
1192
- return JSON.stringify(PersistImportedDeploymentRequestPreparedStackValidationUnion$outboundSchema
1193
- .parse(persistImportedDeploymentRequestPreparedStackValidationUnion));
1194
- }
1195
- /** @internal */
1196
- export const PersistImportedDeploymentRequestPreparedStackInput$outboundSchema = z.object({
1197
- default: z.nullable(z.union([
1198
- z.lazy(() => PersistImportedDeploymentRequestPreparedStackDefaultString$outboundSchema),
1199
- z.lazy(() => PersistImportedDeploymentRequestPreparedStackDefaultNumber$outboundSchema),
1200
- z.lazy(() => PersistImportedDeploymentRequestPreparedStackDefaultBoolean$outboundSchema),
1201
- z.lazy(() => PersistImportedDeploymentRequestPreparedStackDefaultStringList$outboundSchema),
1202
- z.string(),
1203
- ])).optional(),
1204
- description: z.string(),
1205
- env: z.array(z.lazy(() => PersistImportedDeploymentRequestPreparedStackEnv$outboundSchema)).optional(),
1206
- generate: z.nullable(z.union([
1207
- z.lazy(() => PersistImportedDeploymentRequestPreparedStackGenerate$outboundSchema),
1208
- z.string(),
1209
- ])).optional(),
1210
- id: z.string(),
1211
- kind: PersistImportedDeploymentRequestPreparedStackKind$outboundSchema,
1212
- label: z.string(),
1213
- placeholder: z.nullable(z.string()).optional(),
1214
- platforms: z.nullable(z.array(PersistImportedDeploymentRequestPreparedStackPlatform$outboundSchema)).optional(),
1215
- providedBy: z.array(PersistImportedDeploymentRequestPreparedStackProvidedBy$outboundSchema),
1216
- required: z.boolean(),
1217
- validation: z.nullable(z.union([
1218
- z.lazy(() => PersistImportedDeploymentRequestPreparedStackValidation$outboundSchema),
1219
- z.string(),
1220
- ])).optional(),
1221
- });
1222
- export function persistImportedDeploymentRequestPreparedStackInputToJSON(persistImportedDeploymentRequestPreparedStackInput) {
1223
- return JSON.stringify(PersistImportedDeploymentRequestPreparedStackInput$outboundSchema.parse(persistImportedDeploymentRequestPreparedStackInput));
1224
- }
1225
- /** @internal */
1226
- export const PersistImportedDeploymentRequestPreparedStackCustomDecision$outboundSchema = z.enum(PersistImportedDeploymentRequestPreparedStackCustomDecision);
1227
- /** @internal */
1228
- export const PersistImportedDeploymentRequestPreparedStackApprovalCustom$outboundSchema = z.object({
1229
- decision: PersistImportedDeploymentRequestPreparedStackCustomDecision$outboundSchema,
1230
- maxRisk: z.nullable(z.string()).optional(),
1231
- });
1232
- export function persistImportedDeploymentRequestPreparedStackApprovalCustomToJSON(persistImportedDeploymentRequestPreparedStackApprovalCustom) {
1233
- return JSON.stringify(PersistImportedDeploymentRequestPreparedStackApprovalCustom$outboundSchema
1234
- .parse(persistImportedDeploymentRequestPreparedStackApprovalCustom));
1235
- }
1236
- /** @internal */
1237
- export const PersistImportedDeploymentRequestPreparedStackApprovalCustomEnum$outboundSchema = z.enum(PersistImportedDeploymentRequestPreparedStackApprovalCustomEnum);
1238
- /** @internal */
1239
- export const PersistImportedDeploymentRequestPreparedStackCustomApprovalUnion$outboundSchema = z.union([
1240
- z.lazy(() => PersistImportedDeploymentRequestPreparedStackApprovalCustom$outboundSchema),
1241
- PersistImportedDeploymentRequestPreparedStackApprovalCustomEnum$outboundSchema,
1242
- ]);
1243
- export function persistImportedDeploymentRequestPreparedStackCustomApprovalUnionToJSON(persistImportedDeploymentRequestPreparedStackCustomApprovalUnion) {
1244
- return JSON.stringify(PersistImportedDeploymentRequestPreparedStackCustomApprovalUnion$outboundSchema
1245
- .parse(persistImportedDeploymentRequestPreparedStackCustomApprovalUnion));
1246
- }
1247
- /** @internal */
1248
- export const PersistImportedDeploymentRequestPreparedStackSettingsCustom3$outboundSchema = z.object({
1249
- env: z.string(),
1250
- });
1251
- export function persistImportedDeploymentRequestPreparedStackSettingsCustom3ToJSON(persistImportedDeploymentRequestPreparedStackSettingsCustom3) {
1252
- return JSON.stringify(PersistImportedDeploymentRequestPreparedStackSettingsCustom3$outboundSchema
1253
- .parse(persistImportedDeploymentRequestPreparedStackSettingsCustom3));
1254
- }
1255
- /** @internal */
1256
- export const PersistImportedDeploymentRequestPreparedStackSettingsCustom2$outboundSchema = z.object({
1257
- resources: z.array(z.string()),
1258
- });
1259
- export function persistImportedDeploymentRequestPreparedStackSettingsCustom2ToJSON(persistImportedDeploymentRequestPreparedStackSettingsCustom2) {
1260
- return JSON.stringify(PersistImportedDeploymentRequestPreparedStackSettingsCustom2$outboundSchema
1261
- .parse(persistImportedDeploymentRequestPreparedStackSettingsCustom2));
1262
- }
1263
- /** @internal */
1264
- export const PersistImportedDeploymentRequestPreparedStackSettingsCustom1$outboundSchema = z.object({
1265
- input: z.string(),
1266
- });
1267
- export function persistImportedDeploymentRequestPreparedStackSettingsCustom1ToJSON(persistImportedDeploymentRequestPreparedStackSettingsCustom1) {
1268
- return JSON.stringify(PersistImportedDeploymentRequestPreparedStackSettingsCustom1$outboundSchema
1269
- .parse(persistImportedDeploymentRequestPreparedStackSettingsCustom1));
1270
- }
1271
- /** @internal */
1272
- export const PersistImportedDeploymentRequestPreparedStackCustomSettingsUnion$outboundSchema = z.union([
1273
- z.lazy(() => PersistImportedDeploymentRequestPreparedStackSettingsCustom1$outboundSchema),
1274
- z.lazy(() => PersistImportedDeploymentRequestPreparedStackSettingsCustom2$outboundSchema),
1275
- z.lazy(() => PersistImportedDeploymentRequestPreparedStackSettingsCustom3$outboundSchema),
1276
- z.string(),
1277
- ]);
1278
- export function persistImportedDeploymentRequestPreparedStackCustomSettingsUnionToJSON(persistImportedDeploymentRequestPreparedStackCustomSettingsUnion) {
1279
- return JSON.stringify(PersistImportedDeploymentRequestPreparedStackCustomSettingsUnion$outboundSchema
1280
- .parse(persistImportedDeploymentRequestPreparedStackCustomSettingsUnion));
1281
- }
1282
- /** @internal */
1283
- export const PersistImportedDeploymentRequestPreparedStackCustom$outboundSchema = z.object({
1284
- approval: z.record(z.string(), z.union([
1285
- z.lazy(() => PersistImportedDeploymentRequestPreparedStackApprovalCustom$outboundSchema),
1286
- PersistImportedDeploymentRequestPreparedStackApprovalCustomEnum$outboundSchema,
1287
- ])).optional(),
1288
- settings: z.record(z.string(), z.union([
1289
- z.lazy(() => PersistImportedDeploymentRequestPreparedStackSettingsCustom1$outboundSchema),
1290
- z.lazy(() => PersistImportedDeploymentRequestPreparedStackSettingsCustom2$outboundSchema),
1291
- z.lazy(() => PersistImportedDeploymentRequestPreparedStackSettingsCustom3$outboundSchema),
1292
- z.string(),
1293
- ])).optional(),
1294
- name: z.string(),
1295
- version: z.string(),
1296
- });
1297
- export function persistImportedDeploymentRequestPreparedStackCustomToJSON(persistImportedDeploymentRequestPreparedStackCustom) {
1298
- return JSON.stringify(PersistImportedDeploymentRequestPreparedStackCustom$outboundSchema.parse(persistImportedDeploymentRequestPreparedStackCustom));
1299
- }
1300
- /** @internal */
1301
- export const PersistImportedDeploymentRequestPreparedStackPluginsDecision$outboundSchema = z.enum(PersistImportedDeploymentRequestPreparedStackPluginsDecision);
1302
- /** @internal */
1303
- export const PersistImportedDeploymentRequestPreparedStackApprovalPlugins$outboundSchema = z.object({
1304
- decision: PersistImportedDeploymentRequestPreparedStackPluginsDecision$outboundSchema,
1305
- maxRisk: z.nullable(z.string()).optional(),
1306
- });
1307
- export function persistImportedDeploymentRequestPreparedStackApprovalPluginsToJSON(persistImportedDeploymentRequestPreparedStackApprovalPlugins) {
1308
- return JSON.stringify(PersistImportedDeploymentRequestPreparedStackApprovalPlugins$outboundSchema
1309
- .parse(persistImportedDeploymentRequestPreparedStackApprovalPlugins));
1310
- }
1311
- /** @internal */
1312
- export const PersistImportedDeploymentRequestPreparedStackApprovalPluginsEnum$outboundSchema = z.enum(PersistImportedDeploymentRequestPreparedStackApprovalPluginsEnum);
1313
- /** @internal */
1314
- export const PersistImportedDeploymentRequestPreparedStackPluginsApprovalUnion$outboundSchema = z.union([
1315
- z.lazy(() => PersistImportedDeploymentRequestPreparedStackApprovalPlugins$outboundSchema),
1316
- PersistImportedDeploymentRequestPreparedStackApprovalPluginsEnum$outboundSchema,
1317
- ]);
1318
- export function persistImportedDeploymentRequestPreparedStackPluginsApprovalUnionToJSON(persistImportedDeploymentRequestPreparedStackPluginsApprovalUnion) {
1319
- return JSON.stringify(PersistImportedDeploymentRequestPreparedStackPluginsApprovalUnion$outboundSchema
1320
- .parse(persistImportedDeploymentRequestPreparedStackPluginsApprovalUnion));
1321
- }
1322
- /** @internal */
1323
- export const PersistImportedDeploymentRequestPreparedStackSettingsPlugins3$outboundSchema = z.object({
1324
- env: z.string(),
1325
- });
1326
- export function persistImportedDeploymentRequestPreparedStackSettingsPlugins3ToJSON(persistImportedDeploymentRequestPreparedStackSettingsPlugins3) {
1327
- return JSON.stringify(PersistImportedDeploymentRequestPreparedStackSettingsPlugins3$outboundSchema
1328
- .parse(persistImportedDeploymentRequestPreparedStackSettingsPlugins3));
1329
- }
1330
- /** @internal */
1331
- export const PersistImportedDeploymentRequestPreparedStackSettingsPlugins2$outboundSchema = z.object({
1332
- resources: z.array(z.string()),
1333
- });
1334
- export function persistImportedDeploymentRequestPreparedStackSettingsPlugins2ToJSON(persistImportedDeploymentRequestPreparedStackSettingsPlugins2) {
1335
- return JSON.stringify(PersistImportedDeploymentRequestPreparedStackSettingsPlugins2$outboundSchema
1336
- .parse(persistImportedDeploymentRequestPreparedStackSettingsPlugins2));
1337
- }
1338
- /** @internal */
1339
- export const PersistImportedDeploymentRequestPreparedStackSettingsPlugins1$outboundSchema = z.object({
1340
- input: z.string(),
1341
- });
1342
- export function persistImportedDeploymentRequestPreparedStackSettingsPlugins1ToJSON(persistImportedDeploymentRequestPreparedStackSettingsPlugins1) {
1343
- return JSON.stringify(PersistImportedDeploymentRequestPreparedStackSettingsPlugins1$outboundSchema
1344
- .parse(persistImportedDeploymentRequestPreparedStackSettingsPlugins1));
1345
- }
1346
- /** @internal */
1347
- export const PersistImportedDeploymentRequestPreparedStackPluginsSettingsUnion$outboundSchema = z.union([
1348
- z.lazy(() => PersistImportedDeploymentRequestPreparedStackSettingsPlugins1$outboundSchema),
1349
- z.lazy(() => PersistImportedDeploymentRequestPreparedStackSettingsPlugins2$outboundSchema),
1350
- z.lazy(() => PersistImportedDeploymentRequestPreparedStackSettingsPlugins3$outboundSchema),
1351
- z.string(),
1352
- ]);
1353
- export function persistImportedDeploymentRequestPreparedStackPluginsSettingsUnionToJSON(persistImportedDeploymentRequestPreparedStackPluginsSettingsUnion) {
1354
- return JSON.stringify(PersistImportedDeploymentRequestPreparedStackPluginsSettingsUnion$outboundSchema
1355
- .parse(persistImportedDeploymentRequestPreparedStackPluginsSettingsUnion));
1356
- }
1357
- /** @internal */
1358
- export const PersistImportedDeploymentRequestPreparedStackPlugins$outboundSchema = z.object({
1359
- approval: z.record(z.string(), z.union([
1360
- z.lazy(() => PersistImportedDeploymentRequestPreparedStackApprovalPlugins$outboundSchema),
1361
- PersistImportedDeploymentRequestPreparedStackApprovalPluginsEnum$outboundSchema,
1362
- ])).optional(),
1363
- settings: z.record(z.string(), z.union([
1364
- z.lazy(() => PersistImportedDeploymentRequestPreparedStackSettingsPlugins1$outboundSchema),
1365
- z.lazy(() => PersistImportedDeploymentRequestPreparedStackSettingsPlugins2$outboundSchema),
1366
- z.lazy(() => PersistImportedDeploymentRequestPreparedStackSettingsPlugins3$outboundSchema),
1367
- z.string(),
1368
- ])).optional(),
1369
- });
1370
- export function persistImportedDeploymentRequestPreparedStackPluginsToJSON(persistImportedDeploymentRequestPreparedStackPlugins) {
1371
- return JSON.stringify(PersistImportedDeploymentRequestPreparedStackPlugins$outboundSchema.parse(persistImportedDeploymentRequestPreparedStackPlugins));
1372
- }
1373
- /** @internal */
1374
- export const PersistImportedDeploymentRequestPreparedStackOperations$outboundSchema = z.object({
1375
- custom: z.array(z.lazy(() => PersistImportedDeploymentRequestPreparedStackCustom$outboundSchema)).optional(),
1376
- plugins: z.record(z.string(), z.lazy(() => PersistImportedDeploymentRequestPreparedStackPlugins$outboundSchema)).optional(),
1377
- });
1378
- export function persistImportedDeploymentRequestPreparedStackOperationsToJSON(persistImportedDeploymentRequestPreparedStackOperations) {
1379
- return JSON.stringify(PersistImportedDeploymentRequestPreparedStackOperations$outboundSchema
1380
- .parse(persistImportedDeploymentRequestPreparedStackOperations));
1381
- }
1382
- /** @internal */
1383
- export const PersistImportedDeploymentRequestPreparedStackOperationsUnion$outboundSchema = z.union([
1384
- z.lazy(() => PersistImportedDeploymentRequestPreparedStackOperations$outboundSchema),
1385
- z.string(),
1386
- ]);
1387
- export function persistImportedDeploymentRequestPreparedStackOperationsUnionToJSON(persistImportedDeploymentRequestPreparedStackOperationsUnion) {
1388
- return JSON.stringify(PersistImportedDeploymentRequestPreparedStackOperationsUnion$outboundSchema
1389
- .parse(persistImportedDeploymentRequestPreparedStackOperationsUnion));
1390
- }
1391
- /** @internal */
1392
- export const PersistImportedDeploymentRequestPreparedStackManagementEnum$outboundSchema = z.enum(PersistImportedDeploymentRequestPreparedStackManagementEnum);
1393
- /** @internal */
1394
- export const PersistImportedDeploymentRequestPreparedStackOverrideAwResource$outboundSchema = z.object({
1395
- condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string()))).optional(),
1396
- notResources: z.array(z.string()).optional(),
1397
- resources: z.array(z.string()),
1398
- });
1399
- export function persistImportedDeploymentRequestPreparedStackOverrideAwResourceToJSON(persistImportedDeploymentRequestPreparedStackOverrideAwResource) {
1400
- return JSON.stringify(PersistImportedDeploymentRequestPreparedStackOverrideAwResource$outboundSchema
1401
- .parse(persistImportedDeploymentRequestPreparedStackOverrideAwResource));
1402
- }
1403
- /** @internal */
1404
- export const PersistImportedDeploymentRequestPreparedStackOverrideAwStack$outboundSchema = z.object({
1405
- condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string()))).optional(),
1406
- notResources: z.array(z.string()).optional(),
1407
- resources: z.array(z.string()),
1408
- });
1409
- export function persistImportedDeploymentRequestPreparedStackOverrideAwStackToJSON(persistImportedDeploymentRequestPreparedStackOverrideAwStack) {
1410
- return JSON.stringify(PersistImportedDeploymentRequestPreparedStackOverrideAwStack$outboundSchema
1411
- .parse(persistImportedDeploymentRequestPreparedStackOverrideAwStack));
1412
- }
1413
- /** @internal */
1414
- export const PersistImportedDeploymentRequestPreparedStackOverrideAwBinding$outboundSchema = z.object({
1415
- resource: z.lazy(() => PersistImportedDeploymentRequestPreparedStackOverrideAwResource$outboundSchema).optional(),
1416
- stack: z.lazy(() => PersistImportedDeploymentRequestPreparedStackOverrideAwStack$outboundSchema).optional(),
1417
- });
1418
- export function persistImportedDeploymentRequestPreparedStackOverrideAwBindingToJSON(persistImportedDeploymentRequestPreparedStackOverrideAwBinding) {
1419
- return JSON.stringify(PersistImportedDeploymentRequestPreparedStackOverrideAwBinding$outboundSchema
1420
- .parse(persistImportedDeploymentRequestPreparedStackOverrideAwBinding));
1421
- }
1422
- /** @internal */
1423
- export const PersistImportedDeploymentRequestPreparedStackOverrideEffect$outboundSchema = z.enum(PersistImportedDeploymentRequestPreparedStackOverrideEffect);
1424
- /** @internal */
1425
- export const PersistImportedDeploymentRequestPreparedStackOverrideAwGrant$outboundSchema = z.object({
1426
- actions: z.nullable(z.array(z.string())).optional(),
1427
- dataActions: z.nullable(z.array(z.string())).optional(),
1428
- permissions: z.nullable(z.array(z.string())).optional(),
1429
- predefinedRoles: z.nullable(z.array(z.string())).optional(),
1430
- residualPermissions: z.nullable(z.array(z.string())).optional(),
1431
- });
1432
- export function persistImportedDeploymentRequestPreparedStackOverrideAwGrantToJSON(persistImportedDeploymentRequestPreparedStackOverrideAwGrant) {
1433
- return JSON.stringify(PersistImportedDeploymentRequestPreparedStackOverrideAwGrant$outboundSchema
1434
- .parse(persistImportedDeploymentRequestPreparedStackOverrideAwGrant));
1435
- }
1436
- /** @internal */
1437
- export const PersistImportedDeploymentRequestPreparedStackOverrideAw$outboundSchema = z.object({
1438
- binding: z.lazy(() => PersistImportedDeploymentRequestPreparedStackOverrideAwBinding$outboundSchema),
1439
- description: z.nullable(z.string()).optional(),
1440
- effect: PersistImportedDeploymentRequestPreparedStackOverrideEffect$outboundSchema
1441
- .optional(),
1442
- grant: z.lazy(() => PersistImportedDeploymentRequestPreparedStackOverrideAwGrant$outboundSchema),
1443
- label: z.nullable(z.string()).optional(),
1444
- });
1445
- export function persistImportedDeploymentRequestPreparedStackOverrideAwToJSON(persistImportedDeploymentRequestPreparedStackOverrideAw) {
1446
- return JSON.stringify(PersistImportedDeploymentRequestPreparedStackOverrideAw$outboundSchema
1447
- .parse(persistImportedDeploymentRequestPreparedStackOverrideAw));
1448
- }
1449
- /** @internal */
1450
- export const PersistImportedDeploymentRequestPreparedStackOverrideAzureResource$outboundSchema = z.object({
1451
- scope: z.string(),
1452
- });
1453
- export function persistImportedDeploymentRequestPreparedStackOverrideAzureResourceToJSON(persistImportedDeploymentRequestPreparedStackOverrideAzureResource) {
1454
- return JSON.stringify(PersistImportedDeploymentRequestPreparedStackOverrideAzureResource$outboundSchema
1455
- .parse(persistImportedDeploymentRequestPreparedStackOverrideAzureResource));
1456
- }
1457
- /** @internal */
1458
- export const PersistImportedDeploymentRequestPreparedStackOverrideAzureStack$outboundSchema = z.object({
1459
- scope: z.string(),
1460
- });
1461
- export function persistImportedDeploymentRequestPreparedStackOverrideAzureStackToJSON(persistImportedDeploymentRequestPreparedStackOverrideAzureStack) {
1462
- return JSON.stringify(PersistImportedDeploymentRequestPreparedStackOverrideAzureStack$outboundSchema
1463
- .parse(persistImportedDeploymentRequestPreparedStackOverrideAzureStack));
1464
- }
1465
- /** @internal */
1466
- export const PersistImportedDeploymentRequestPreparedStackOverrideAzureBinding$outboundSchema = z.object({
1467
- resource: z.lazy(() => PersistImportedDeploymentRequestPreparedStackOverrideAzureResource$outboundSchema).optional(),
1468
- stack: z.lazy(() => PersistImportedDeploymentRequestPreparedStackOverrideAzureStack$outboundSchema).optional(),
1469
- });
1470
- export function persistImportedDeploymentRequestPreparedStackOverrideAzureBindingToJSON(persistImportedDeploymentRequestPreparedStackOverrideAzureBinding) {
1471
- return JSON.stringify(PersistImportedDeploymentRequestPreparedStackOverrideAzureBinding$outboundSchema
1472
- .parse(persistImportedDeploymentRequestPreparedStackOverrideAzureBinding));
1473
- }
1474
- /** @internal */
1475
- export const PersistImportedDeploymentRequestPreparedStackOverrideAzureGrant$outboundSchema = z.object({
1476
- actions: z.nullable(z.array(z.string())).optional(),
1477
- dataActions: z.nullable(z.array(z.string())).optional(),
1478
- permissions: z.nullable(z.array(z.string())).optional(),
1479
- predefinedRoles: z.nullable(z.array(z.string())).optional(),
1480
- residualPermissions: z.nullable(z.array(z.string())).optional(),
1481
- });
1482
- export function persistImportedDeploymentRequestPreparedStackOverrideAzureGrantToJSON(persistImportedDeploymentRequestPreparedStackOverrideAzureGrant) {
1483
- return JSON.stringify(PersistImportedDeploymentRequestPreparedStackOverrideAzureGrant$outboundSchema
1484
- .parse(persistImportedDeploymentRequestPreparedStackOverrideAzureGrant));
1485
- }
1486
- /** @internal */
1487
- export const PersistImportedDeploymentRequestPreparedStackOverrideAzure$outboundSchema = z.object({
1488
- binding: z.lazy(() => PersistImportedDeploymentRequestPreparedStackOverrideAzureBinding$outboundSchema),
1489
- description: z.nullable(z.string()).optional(),
1490
- grant: z.lazy(() => PersistImportedDeploymentRequestPreparedStackOverrideAzureGrant$outboundSchema),
1491
- label: z.nullable(z.string()).optional(),
1492
- });
1493
- export function persistImportedDeploymentRequestPreparedStackOverrideAzureToJSON(persistImportedDeploymentRequestPreparedStackOverrideAzure) {
1494
- return JSON.stringify(PersistImportedDeploymentRequestPreparedStackOverrideAzure$outboundSchema
1495
- .parse(persistImportedDeploymentRequestPreparedStackOverrideAzure));
1496
- }
1497
- /** @internal */
1498
- export const PersistImportedDeploymentRequestPreparedStackOverrideConditionResource$outboundSchema = z.object({
1499
- expression: z.string(),
1500
- title: z.string(),
1501
- });
1502
- export function persistImportedDeploymentRequestPreparedStackOverrideConditionResourceToJSON(persistImportedDeploymentRequestPreparedStackOverrideConditionResource) {
1503
- return JSON.stringify(PersistImportedDeploymentRequestPreparedStackOverrideConditionResource$outboundSchema
1504
- .parse(persistImportedDeploymentRequestPreparedStackOverrideConditionResource));
1505
- }
1506
- /** @internal */
1507
- export const PersistImportedDeploymentRequestPreparedStackOverrideResourceConditionUnion$outboundSchema = z.union([
1508
- z.lazy(() => PersistImportedDeploymentRequestPreparedStackOverrideConditionResource$outboundSchema),
1509
- z.string(),
1510
- ]);
1511
- export function persistImportedDeploymentRequestPreparedStackOverrideResourceConditionUnionToJSON(persistImportedDeploymentRequestPreparedStackOverrideResourceConditionUnion) {
1512
- return JSON.stringify(PersistImportedDeploymentRequestPreparedStackOverrideResourceConditionUnion$outboundSchema
1513
- .parse(persistImportedDeploymentRequestPreparedStackOverrideResourceConditionUnion));
1514
- }
1515
- /** @internal */
1516
- export const PersistImportedDeploymentRequestPreparedStackOverrideGcpResource$outboundSchema = z.object({
1517
- condition: z.nullable(z.union([
1518
- z.lazy(() => PersistImportedDeploymentRequestPreparedStackOverrideConditionResource$outboundSchema),
1519
- z.string(),
1520
- ])).optional(),
1521
- scope: z.string(),
1522
- });
1523
- export function persistImportedDeploymentRequestPreparedStackOverrideGcpResourceToJSON(persistImportedDeploymentRequestPreparedStackOverrideGcpResource) {
1524
- return JSON.stringify(PersistImportedDeploymentRequestPreparedStackOverrideGcpResource$outboundSchema
1525
- .parse(persistImportedDeploymentRequestPreparedStackOverrideGcpResource));
1526
- }
1527
- /** @internal */
1528
- export const PersistImportedDeploymentRequestPreparedStackOverrideConditionStack$outboundSchema = z.object({
1529
- expression: z.string(),
1530
- title: z.string(),
1531
- });
1532
- export function persistImportedDeploymentRequestPreparedStackOverrideConditionStackToJSON(persistImportedDeploymentRequestPreparedStackOverrideConditionStack) {
1533
- return JSON.stringify(PersistImportedDeploymentRequestPreparedStackOverrideConditionStack$outboundSchema
1534
- .parse(persistImportedDeploymentRequestPreparedStackOverrideConditionStack));
1535
- }
1
+ // Generated by generate-compatibility-exports.mjs. DO NOT EDIT.
2
+ export * from "./persistimporteddeploymentrequestpreparedstackoverridegcpresource.js";
3
+ export { PersistImportedDeploymentRequestPreparedStackOverrideConditionStack$outboundSchema } from "./persistimporteddeploymentrequest.js";
4
+ export { persistImportedDeploymentRequestPreparedStackOverrideConditionStackToJSON } from "./persistimporteddeploymentrequest.js";
1536
5
  //# sourceMappingURL=persistimporteddeploymentrequestpreparedstackoverrideconditionstack.js.map