@alienplatform/platform-api 3.3.37 → 3.3.38

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