@alienplatform/platform-api 3.3.37 → 3.3.39

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,1515 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+ import * as z from "zod/v4";
5
+ import { collectExtraKeys as collectExtraKeys$, safeParse, } from "../lib/schemas.js";
6
+ import { SyncListResponsePendingPreparedStackDefaultStringList$inboundSchema, } from "./synclistresponsependingpreparedstackdefaultstringlist.js";
7
+ export const SyncListResponsePendingPreparedStackTypeBoolean = {
8
+ Boolean: "boolean",
9
+ };
10
+ export const SyncListResponsePendingPreparedStackTypeNumber = {
11
+ Number: "number",
12
+ };
13
+ export const SyncListResponsePendingPreparedStackTypeString = {
14
+ String: "string",
15
+ };
16
+ /**
17
+ * Environment variable handling for a stack input mapping.
18
+ */
19
+ export const SyncListResponsePendingPreparedStackTypeEnvEnum = {
20
+ Plain: "plain",
21
+ Secret: "secret",
22
+ };
23
+ /**
24
+ * Primitive stack input kind.
25
+ */
26
+ export const SyncListResponsePendingPreparedStackKind = {
27
+ String: "string",
28
+ Secret: "secret",
29
+ Number: "number",
30
+ Integer: "integer",
31
+ Boolean: "boolean",
32
+ Enum: "enum",
33
+ StringList: "stringList",
34
+ };
35
+ /**
36
+ * Represents the target cloud platform.
37
+ */
38
+ export const SyncListResponsePendingPreparedStackPlatform = {
39
+ Aws: "aws",
40
+ Gcp: "gcp",
41
+ Azure: "azure",
42
+ Kubernetes: "kubernetes",
43
+ Machines: "machines",
44
+ Local: "local",
45
+ Test: "test",
46
+ };
47
+ /**
48
+ * Who can provide a stack input value.
49
+ */
50
+ export const SyncListResponsePendingPreparedStackProvidedBy = {
51
+ Developer: "developer",
52
+ Deployer: "deployer",
53
+ };
54
+ /**
55
+ * Whether matching operations run without approval.
56
+ */
57
+ export const SyncListResponsePendingPreparedStackCustomDecision = {
58
+ Auto: "auto",
59
+ Manual: "manual",
60
+ };
61
+ /**
62
+ * Whether matching operations run without approval.
63
+ */
64
+ export const SyncListResponsePendingPreparedStackApprovalCustomEnum = {
65
+ Auto: "auto",
66
+ Manual: "manual",
67
+ };
68
+ /**
69
+ * Whether matching operations run without approval.
70
+ */
71
+ export const SyncListResponsePendingPreparedStackPluginsDecision = {
72
+ Auto: "auto",
73
+ Manual: "manual",
74
+ };
75
+ /**
76
+ * Whether matching operations run without approval.
77
+ */
78
+ export const SyncListResponsePendingPreparedStackApprovalPluginsEnum = {
79
+ Auto: "auto",
80
+ Manual: "manual",
81
+ };
82
+ export const SyncListResponsePendingPreparedStackManagementEnum = {
83
+ Auto: "auto",
84
+ };
85
+ /**
86
+ * IAM effect. Defaults to Allow.
87
+ */
88
+ export const SyncListResponsePendingPreparedStackOverrideEffect = {
89
+ Allow: "Allow",
90
+ Deny: "Deny",
91
+ };
92
+ /**
93
+ * IAM effect. Defaults to Allow.
94
+ */
95
+ export const SyncListResponsePendingPreparedStackExtendEffect = {
96
+ Allow: "Allow",
97
+ Deny: "Deny",
98
+ };
99
+ /**
100
+ * IAM effect. Defaults to Allow.
101
+ */
102
+ export const SyncListResponsePendingPreparedStackProfileEffect = {
103
+ Allow: "Allow",
104
+ Deny: "Deny",
105
+ };
106
+ /**
107
+ * Describes the lifecycle of a resource within a stack, determining how it's managed and deployed.
108
+ */
109
+ export const SyncListResponsePendingPreparedStackLifecycle = {
110
+ Frozen: "frozen",
111
+ Live: "live",
112
+ };
113
+ /**
114
+ * Represents the target cloud platform.
115
+ */
116
+ export const SyncListResponsePendingPreparedStackSupportedPlatform = {
117
+ Aws: "aws",
118
+ Gcp: "gcp",
119
+ Azure: "azure",
120
+ Kubernetes: "kubernetes",
121
+ Machines: "machines",
122
+ Local: "local",
123
+ Test: "test",
124
+ };
125
+ export const SyncListResponsePreparedStackTypeStringList = {
126
+ StringList: "stringList",
127
+ };
128
+ export const SyncListResponsePreparedStackTypeBoolean = {
129
+ Boolean: "boolean",
130
+ };
131
+ export const SyncListResponsePreparedStackTypeNumber = {
132
+ Number: "number",
133
+ };
134
+ export const SyncListResponsePreparedStackTypeString = {
135
+ String: "string",
136
+ };
137
+ /**
138
+ * Environment variable handling for a stack input mapping.
139
+ */
140
+ export const SyncListResponsePreparedStackTypeEnvEnum = {
141
+ Plain: "plain",
142
+ Secret: "secret",
143
+ };
144
+ /**
145
+ * Primitive stack input kind.
146
+ */
147
+ export const SyncListResponsePreparedStackKind = {
148
+ String: "string",
149
+ Secret: "secret",
150
+ Number: "number",
151
+ Integer: "integer",
152
+ Boolean: "boolean",
153
+ Enum: "enum",
154
+ StringList: "stringList",
155
+ };
156
+ /**
157
+ * Represents the target cloud platform.
158
+ */
159
+ export const SyncListResponsePreparedStackPlatform = {
160
+ Aws: "aws",
161
+ Gcp: "gcp",
162
+ Azure: "azure",
163
+ Kubernetes: "kubernetes",
164
+ Machines: "machines",
165
+ Local: "local",
166
+ Test: "test",
167
+ };
168
+ /**
169
+ * Who can provide a stack input value.
170
+ */
171
+ export const SyncListResponsePreparedStackProvidedBy = {
172
+ Developer: "developer",
173
+ Deployer: "deployer",
174
+ };
175
+ /**
176
+ * Whether matching operations run without approval.
177
+ */
178
+ export const SyncListResponsePreparedStackCustomDecision = {
179
+ Auto: "auto",
180
+ Manual: "manual",
181
+ };
182
+ /**
183
+ * Whether matching operations run without approval.
184
+ */
185
+ export const SyncListResponsePreparedStackApprovalCustomEnum = {
186
+ Auto: "auto",
187
+ Manual: "manual",
188
+ };
189
+ /**
190
+ * Whether matching operations run without approval.
191
+ */
192
+ export const SyncListResponsePreparedStackPluginsDecision = {
193
+ Auto: "auto",
194
+ Manual: "manual",
195
+ };
196
+ /** @internal */
197
+ export const SyncListResponsePendingPreparedStackTypeBoolean$inboundSchema = z.enum(SyncListResponsePendingPreparedStackTypeBoolean);
198
+ /** @internal */
199
+ export const SyncListResponsePendingPreparedStackDefaultBoolean$inboundSchema = z
200
+ .object({
201
+ type: SyncListResponsePendingPreparedStackTypeBoolean$inboundSchema,
202
+ value: z.boolean(),
203
+ });
204
+ export function syncListResponsePendingPreparedStackDefaultBooleanFromJSON(jsonString) {
205
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackDefaultBoolean$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackDefaultBoolean' from JSON`);
206
+ }
207
+ /** @internal */
208
+ export const SyncListResponsePendingPreparedStackTypeNumber$inboundSchema = z.enum(SyncListResponsePendingPreparedStackTypeNumber);
209
+ /** @internal */
210
+ export const SyncListResponsePendingPreparedStackDefaultNumber$inboundSchema = z
211
+ .object({
212
+ type: SyncListResponsePendingPreparedStackTypeNumber$inboundSchema,
213
+ value: z.string(),
214
+ });
215
+ export function syncListResponsePendingPreparedStackDefaultNumberFromJSON(jsonString) {
216
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackDefaultNumber$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackDefaultNumber' from JSON`);
217
+ }
218
+ /** @internal */
219
+ export const SyncListResponsePendingPreparedStackTypeString$inboundSchema = z.enum(SyncListResponsePendingPreparedStackTypeString);
220
+ /** @internal */
221
+ export const SyncListResponsePendingPreparedStackDefaultString$inboundSchema = z
222
+ .object({
223
+ type: SyncListResponsePendingPreparedStackTypeString$inboundSchema,
224
+ value: z.string(),
225
+ });
226
+ export function syncListResponsePendingPreparedStackDefaultStringFromJSON(jsonString) {
227
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackDefaultString$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackDefaultString' from JSON`);
228
+ }
229
+ /** @internal */
230
+ export const SyncListResponsePendingPreparedStackDefaultUnion$inboundSchema = z
231
+ .union([
232
+ z.lazy(() => SyncListResponsePendingPreparedStackDefaultString$inboundSchema),
233
+ z.lazy(() => SyncListResponsePendingPreparedStackDefaultNumber$inboundSchema),
234
+ z.lazy(() => SyncListResponsePendingPreparedStackDefaultBoolean$inboundSchema),
235
+ SyncListResponsePendingPreparedStackDefaultStringList$inboundSchema,
236
+ z.string(),
237
+ ]);
238
+ export function syncListResponsePendingPreparedStackDefaultUnionFromJSON(jsonString) {
239
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackDefaultUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackDefaultUnion' from JSON`);
240
+ }
241
+ /** @internal */
242
+ export const SyncListResponsePendingPreparedStackTypeEnvEnum$inboundSchema = z.enum(SyncListResponsePendingPreparedStackTypeEnvEnum);
243
+ /** @internal */
244
+ export const SyncListResponsePendingPreparedStackTypeUnion$inboundSchema = z.union([
245
+ SyncListResponsePendingPreparedStackTypeEnvEnum$inboundSchema,
246
+ z.string(),
247
+ ]);
248
+ export function syncListResponsePendingPreparedStackTypeUnionFromJSON(jsonString) {
249
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackTypeUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackTypeUnion' from JSON`);
250
+ }
251
+ /** @internal */
252
+ export const SyncListResponsePendingPreparedStackEnv$inboundSchema = z.object({
253
+ name: z.string(),
254
+ targetResources: z.nullable(z.array(z.string())).optional(),
255
+ type: z.nullable(z.union([
256
+ SyncListResponsePendingPreparedStackTypeEnvEnum$inboundSchema,
257
+ z.string(),
258
+ ])).optional(),
259
+ });
260
+ export function syncListResponsePendingPreparedStackEnvFromJSON(jsonString) {
261
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackEnv$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackEnv' from JSON`);
262
+ }
263
+ /** @internal */
264
+ export const SyncListResponsePendingPreparedStackGenerate$inboundSchema = z.object({
265
+ length: z.int(),
266
+ });
267
+ export function syncListResponsePendingPreparedStackGenerateFromJSON(jsonString) {
268
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackGenerate$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackGenerate' from JSON`);
269
+ }
270
+ /** @internal */
271
+ export const SyncListResponsePendingPreparedStackGenerateUnion$inboundSchema = z
272
+ .union([
273
+ z.lazy(() => SyncListResponsePendingPreparedStackGenerate$inboundSchema),
274
+ z.string(),
275
+ ]);
276
+ export function syncListResponsePendingPreparedStackGenerateUnionFromJSON(jsonString) {
277
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackGenerateUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackGenerateUnion' from JSON`);
278
+ }
279
+ /** @internal */
280
+ export const SyncListResponsePendingPreparedStackKind$inboundSchema = z.enum(SyncListResponsePendingPreparedStackKind);
281
+ /** @internal */
282
+ export const SyncListResponsePendingPreparedStackPlatform$inboundSchema = z.enum(SyncListResponsePendingPreparedStackPlatform);
283
+ /** @internal */
284
+ export const SyncListResponsePendingPreparedStackProvidedBy$inboundSchema = z.enum(SyncListResponsePendingPreparedStackProvidedBy);
285
+ /** @internal */
286
+ export const SyncListResponsePendingPreparedStackValidation$inboundSchema = z.object({
287
+ format: z.nullable(z.string()).optional(),
288
+ max: z.nullable(z.string()).optional(),
289
+ maxItems: z.nullable(z.int()).optional(),
290
+ maxLength: z.nullable(z.int()).optional(),
291
+ min: z.nullable(z.string()).optional(),
292
+ minItems: z.nullable(z.int()).optional(),
293
+ minLength: z.nullable(z.int()).optional(),
294
+ pattern: z.nullable(z.string()).optional(),
295
+ values: z.nullable(z.array(z.string())).optional(),
296
+ });
297
+ export function syncListResponsePendingPreparedStackValidationFromJSON(jsonString) {
298
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackValidation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackValidation' from JSON`);
299
+ }
300
+ /** @internal */
301
+ export const SyncListResponsePendingPreparedStackValidationUnion$inboundSchema = z
302
+ .union([
303
+ z.lazy(() => SyncListResponsePendingPreparedStackValidation$inboundSchema),
304
+ z.string(),
305
+ ]);
306
+ export function syncListResponsePendingPreparedStackValidationUnionFromJSON(jsonString) {
307
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackValidationUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackValidationUnion' from JSON`);
308
+ }
309
+ /** @internal */
310
+ export const SyncListResponsePendingPreparedStackInput$inboundSchema = z.object({
311
+ default: z.nullable(z.union([
312
+ z.lazy(() => SyncListResponsePendingPreparedStackDefaultString$inboundSchema),
313
+ z.lazy(() => SyncListResponsePendingPreparedStackDefaultNumber$inboundSchema),
314
+ z.lazy(() => SyncListResponsePendingPreparedStackDefaultBoolean$inboundSchema),
315
+ SyncListResponsePendingPreparedStackDefaultStringList$inboundSchema,
316
+ z.string(),
317
+ ])).optional(),
318
+ description: z.string(),
319
+ env: z.array(z.lazy(() => SyncListResponsePendingPreparedStackEnv$inboundSchema)).optional(),
320
+ generate: z.nullable(z.union([
321
+ z.lazy(() => SyncListResponsePendingPreparedStackGenerate$inboundSchema),
322
+ z.string(),
323
+ ])).optional(),
324
+ id: z.string(),
325
+ kind: SyncListResponsePendingPreparedStackKind$inboundSchema,
326
+ label: z.string(),
327
+ placeholder: z.nullable(z.string()).optional(),
328
+ platforms: z.nullable(z.array(SyncListResponsePendingPreparedStackPlatform$inboundSchema)).optional(),
329
+ providedBy: z.array(SyncListResponsePendingPreparedStackProvidedBy$inboundSchema),
330
+ required: z.boolean(),
331
+ validation: z.nullable(z.union([
332
+ z.lazy(() => SyncListResponsePendingPreparedStackValidation$inboundSchema),
333
+ z.string(),
334
+ ])).optional(),
335
+ });
336
+ export function syncListResponsePendingPreparedStackInputFromJSON(jsonString) {
337
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackInput$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackInput' from JSON`);
338
+ }
339
+ /** @internal */
340
+ export const SyncListResponsePendingPreparedStackCustomDecision$inboundSchema = z.enum(SyncListResponsePendingPreparedStackCustomDecision);
341
+ /** @internal */
342
+ export const SyncListResponsePendingPreparedStackApprovalCustom$inboundSchema = z
343
+ .object({
344
+ decision: SyncListResponsePendingPreparedStackCustomDecision$inboundSchema,
345
+ maxRisk: z.nullable(z.string()).optional(),
346
+ });
347
+ export function syncListResponsePendingPreparedStackApprovalCustomFromJSON(jsonString) {
348
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackApprovalCustom$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackApprovalCustom' from JSON`);
349
+ }
350
+ /** @internal */
351
+ export const SyncListResponsePendingPreparedStackApprovalCustomEnum$inboundSchema = z
352
+ .enum(SyncListResponsePendingPreparedStackApprovalCustomEnum);
353
+ /** @internal */
354
+ export const SyncListResponsePendingPreparedStackCustomApprovalUnion$inboundSchema = z.union([
355
+ z.lazy(() => SyncListResponsePendingPreparedStackApprovalCustom$inboundSchema),
356
+ SyncListResponsePendingPreparedStackApprovalCustomEnum$inboundSchema,
357
+ ]);
358
+ export function syncListResponsePendingPreparedStackCustomApprovalUnionFromJSON(jsonString) {
359
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackCustomApprovalUnion$inboundSchema
360
+ .parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackCustomApprovalUnion' from JSON`);
361
+ }
362
+ /** @internal */
363
+ export const SyncListResponsePendingPreparedStackSettingsCustom3$inboundSchema = z
364
+ .object({
365
+ env: z.string(),
366
+ });
367
+ export function syncListResponsePendingPreparedStackSettingsCustom3FromJSON(jsonString) {
368
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackSettingsCustom3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackSettingsCustom3' from JSON`);
369
+ }
370
+ /** @internal */
371
+ export const SyncListResponsePendingPreparedStackSettingsCustom2$inboundSchema = z
372
+ .object({
373
+ resources: z.array(z.string()),
374
+ });
375
+ export function syncListResponsePendingPreparedStackSettingsCustom2FromJSON(jsonString) {
376
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackSettingsCustom2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackSettingsCustom2' from JSON`);
377
+ }
378
+ /** @internal */
379
+ export const SyncListResponsePendingPreparedStackSettingsCustom1$inboundSchema = z
380
+ .object({
381
+ input: z.string(),
382
+ });
383
+ export function syncListResponsePendingPreparedStackSettingsCustom1FromJSON(jsonString) {
384
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackSettingsCustom1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackSettingsCustom1' from JSON`);
385
+ }
386
+ /** @internal */
387
+ export const SyncListResponsePendingPreparedStackCustomSettingsUnion$inboundSchema = z.union([
388
+ z.lazy(() => SyncListResponsePendingPreparedStackSettingsCustom1$inboundSchema),
389
+ z.lazy(() => SyncListResponsePendingPreparedStackSettingsCustom2$inboundSchema),
390
+ z.lazy(() => SyncListResponsePendingPreparedStackSettingsCustom3$inboundSchema),
391
+ z.string(),
392
+ ]);
393
+ export function syncListResponsePendingPreparedStackCustomSettingsUnionFromJSON(jsonString) {
394
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackCustomSettingsUnion$inboundSchema
395
+ .parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackCustomSettingsUnion' from JSON`);
396
+ }
397
+ /** @internal */
398
+ export const SyncListResponsePendingPreparedStackCustom$inboundSchema = z.object({
399
+ approval: z.record(z.string(), z.union([
400
+ z.lazy(() => SyncListResponsePendingPreparedStackApprovalCustom$inboundSchema),
401
+ SyncListResponsePendingPreparedStackApprovalCustomEnum$inboundSchema,
402
+ ])).optional(),
403
+ settings: z.record(z.string(), z.union([
404
+ z.lazy(() => SyncListResponsePendingPreparedStackSettingsCustom1$inboundSchema),
405
+ z.lazy(() => SyncListResponsePendingPreparedStackSettingsCustom2$inboundSchema),
406
+ z.lazy(() => SyncListResponsePendingPreparedStackSettingsCustom3$inboundSchema),
407
+ z.string(),
408
+ ])).optional(),
409
+ name: z.string(),
410
+ version: z.string(),
411
+ });
412
+ export function syncListResponsePendingPreparedStackCustomFromJSON(jsonString) {
413
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackCustom$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackCustom' from JSON`);
414
+ }
415
+ /** @internal */
416
+ export const SyncListResponsePendingPreparedStackPluginsDecision$inboundSchema = z
417
+ .enum(SyncListResponsePendingPreparedStackPluginsDecision);
418
+ /** @internal */
419
+ export const SyncListResponsePendingPreparedStackApprovalPlugins$inboundSchema = z
420
+ .object({
421
+ decision: SyncListResponsePendingPreparedStackPluginsDecision$inboundSchema,
422
+ maxRisk: z.nullable(z.string()).optional(),
423
+ });
424
+ export function syncListResponsePendingPreparedStackApprovalPluginsFromJSON(jsonString) {
425
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackApprovalPlugins$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackApprovalPlugins' from JSON`);
426
+ }
427
+ /** @internal */
428
+ export const SyncListResponsePendingPreparedStackApprovalPluginsEnum$inboundSchema = z
429
+ .enum(SyncListResponsePendingPreparedStackApprovalPluginsEnum);
430
+ /** @internal */
431
+ export const SyncListResponsePendingPreparedStackPluginsApprovalUnion$inboundSchema = z.union([
432
+ z.lazy(() => SyncListResponsePendingPreparedStackApprovalPlugins$inboundSchema),
433
+ SyncListResponsePendingPreparedStackApprovalPluginsEnum$inboundSchema,
434
+ ]);
435
+ export function syncListResponsePendingPreparedStackPluginsApprovalUnionFromJSON(jsonString) {
436
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackPluginsApprovalUnion$inboundSchema
437
+ .parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackPluginsApprovalUnion' from JSON`);
438
+ }
439
+ /** @internal */
440
+ export const SyncListResponsePendingPreparedStackSettingsPlugins3$inboundSchema = z
441
+ .object({
442
+ env: z.string(),
443
+ });
444
+ export function syncListResponsePendingPreparedStackSettingsPlugins3FromJSON(jsonString) {
445
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackSettingsPlugins3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackSettingsPlugins3' from JSON`);
446
+ }
447
+ /** @internal */
448
+ export const SyncListResponsePendingPreparedStackSettingsPlugins2$inboundSchema = z
449
+ .object({
450
+ resources: z.array(z.string()),
451
+ });
452
+ export function syncListResponsePendingPreparedStackSettingsPlugins2FromJSON(jsonString) {
453
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackSettingsPlugins2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackSettingsPlugins2' from JSON`);
454
+ }
455
+ /** @internal */
456
+ export const SyncListResponsePendingPreparedStackSettingsPlugins1$inboundSchema = z
457
+ .object({
458
+ input: z.string(),
459
+ });
460
+ export function syncListResponsePendingPreparedStackSettingsPlugins1FromJSON(jsonString) {
461
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackSettingsPlugins1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackSettingsPlugins1' from JSON`);
462
+ }
463
+ /** @internal */
464
+ export const SyncListResponsePendingPreparedStackPluginsSettingsUnion$inboundSchema = z.union([
465
+ z.lazy(() => SyncListResponsePendingPreparedStackSettingsPlugins1$inboundSchema),
466
+ z.lazy(() => SyncListResponsePendingPreparedStackSettingsPlugins2$inboundSchema),
467
+ z.lazy(() => SyncListResponsePendingPreparedStackSettingsPlugins3$inboundSchema),
468
+ z.string(),
469
+ ]);
470
+ export function syncListResponsePendingPreparedStackPluginsSettingsUnionFromJSON(jsonString) {
471
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackPluginsSettingsUnion$inboundSchema
472
+ .parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackPluginsSettingsUnion' from JSON`);
473
+ }
474
+ /** @internal */
475
+ export const SyncListResponsePendingPreparedStackPlugins$inboundSchema = z.object({
476
+ approval: z.record(z.string(), z.union([
477
+ z.lazy(() => SyncListResponsePendingPreparedStackApprovalPlugins$inboundSchema),
478
+ SyncListResponsePendingPreparedStackApprovalPluginsEnum$inboundSchema,
479
+ ])).optional(),
480
+ settings: z.record(z.string(), z.union([
481
+ z.lazy(() => SyncListResponsePendingPreparedStackSettingsPlugins1$inboundSchema),
482
+ z.lazy(() => SyncListResponsePendingPreparedStackSettingsPlugins2$inboundSchema),
483
+ z.lazy(() => SyncListResponsePendingPreparedStackSettingsPlugins3$inboundSchema),
484
+ z.string(),
485
+ ])).optional(),
486
+ });
487
+ export function syncListResponsePendingPreparedStackPluginsFromJSON(jsonString) {
488
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackPlugins$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackPlugins' from JSON`);
489
+ }
490
+ /** @internal */
491
+ export const SyncListResponsePendingPreparedStackOperations$inboundSchema = z.object({
492
+ custom: z.array(z.lazy(() => SyncListResponsePendingPreparedStackCustom$inboundSchema)).optional(),
493
+ plugins: z.record(z.string(), z.lazy(() => SyncListResponsePendingPreparedStackPlugins$inboundSchema)).optional(),
494
+ });
495
+ export function syncListResponsePendingPreparedStackOperationsFromJSON(jsonString) {
496
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackOperations$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackOperations' from JSON`);
497
+ }
498
+ /** @internal */
499
+ export const SyncListResponsePendingPreparedStackOperationsUnion$inboundSchema = z
500
+ .union([
501
+ z.lazy(() => SyncListResponsePendingPreparedStackOperations$inboundSchema),
502
+ z.string(),
503
+ ]);
504
+ export function syncListResponsePendingPreparedStackOperationsUnionFromJSON(jsonString) {
505
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackOperationsUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackOperationsUnion' from JSON`);
506
+ }
507
+ /** @internal */
508
+ export const SyncListResponsePendingPreparedStackManagementEnum$inboundSchema = z.enum(SyncListResponsePendingPreparedStackManagementEnum);
509
+ /** @internal */
510
+ export const SyncListResponsePendingPreparedStackOverrideAwResource$inboundSchema = z
511
+ .object({
512
+ condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string()))).optional(),
513
+ notResources: z.array(z.string()).optional(),
514
+ resources: z.array(z.string()),
515
+ });
516
+ export function syncListResponsePendingPreparedStackOverrideAwResourceFromJSON(jsonString) {
517
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackOverrideAwResource$inboundSchema
518
+ .parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackOverrideAwResource' from JSON`);
519
+ }
520
+ /** @internal */
521
+ export const SyncListResponsePendingPreparedStackOverrideAwStack$inboundSchema = z
522
+ .object({
523
+ condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string()))).optional(),
524
+ notResources: z.array(z.string()).optional(),
525
+ resources: z.array(z.string()),
526
+ });
527
+ export function syncListResponsePendingPreparedStackOverrideAwStackFromJSON(jsonString) {
528
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackOverrideAwStack$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackOverrideAwStack' from JSON`);
529
+ }
530
+ /** @internal */
531
+ export const SyncListResponsePendingPreparedStackOverrideAwBinding$inboundSchema = z
532
+ .object({
533
+ resource: z.lazy(() => SyncListResponsePendingPreparedStackOverrideAwResource$inboundSchema).optional(),
534
+ stack: z.lazy(() => SyncListResponsePendingPreparedStackOverrideAwStack$inboundSchema).optional(),
535
+ });
536
+ export function syncListResponsePendingPreparedStackOverrideAwBindingFromJSON(jsonString) {
537
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackOverrideAwBinding$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackOverrideAwBinding' from JSON`);
538
+ }
539
+ /** @internal */
540
+ export const SyncListResponsePendingPreparedStackOverrideEffect$inboundSchema = z.enum(SyncListResponsePendingPreparedStackOverrideEffect);
541
+ /** @internal */
542
+ export const SyncListResponsePendingPreparedStackOverrideAwGrant$inboundSchema = z
543
+ .object({
544
+ actions: z.nullable(z.array(z.string())).optional(),
545
+ dataActions: z.nullable(z.array(z.string())).optional(),
546
+ permissions: z.nullable(z.array(z.string())).optional(),
547
+ predefinedRoles: z.nullable(z.array(z.string())).optional(),
548
+ residualPermissions: z.nullable(z.array(z.string())).optional(),
549
+ });
550
+ export function syncListResponsePendingPreparedStackOverrideAwGrantFromJSON(jsonString) {
551
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackOverrideAwGrant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackOverrideAwGrant' from JSON`);
552
+ }
553
+ /** @internal */
554
+ export const SyncListResponsePendingPreparedStackOverrideAw$inboundSchema = z.object({
555
+ binding: z.lazy(() => SyncListResponsePendingPreparedStackOverrideAwBinding$inboundSchema),
556
+ description: z.nullable(z.string()).optional(),
557
+ effect: SyncListResponsePendingPreparedStackOverrideEffect$inboundSchema
558
+ .optional(),
559
+ grant: z.lazy(() => SyncListResponsePendingPreparedStackOverrideAwGrant$inboundSchema),
560
+ label: z.nullable(z.string()).optional(),
561
+ });
562
+ export function syncListResponsePendingPreparedStackOverrideAwFromJSON(jsonString) {
563
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackOverrideAw$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackOverrideAw' from JSON`);
564
+ }
565
+ /** @internal */
566
+ export const SyncListResponsePendingPreparedStackOverrideAzureResource$inboundSchema = z.object({
567
+ scope: z.string(),
568
+ });
569
+ export function syncListResponsePendingPreparedStackOverrideAzureResourceFromJSON(jsonString) {
570
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackOverrideAzureResource$inboundSchema
571
+ .parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackOverrideAzureResource' from JSON`);
572
+ }
573
+ /** @internal */
574
+ export const SyncListResponsePendingPreparedStackOverrideAzureStack$inboundSchema = z
575
+ .object({
576
+ scope: z.string(),
577
+ });
578
+ export function syncListResponsePendingPreparedStackOverrideAzureStackFromJSON(jsonString) {
579
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackOverrideAzureStack$inboundSchema
580
+ .parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackOverrideAzureStack' from JSON`);
581
+ }
582
+ /** @internal */
583
+ export const SyncListResponsePendingPreparedStackOverrideAzureBinding$inboundSchema = z.object({
584
+ resource: z.lazy(() => SyncListResponsePendingPreparedStackOverrideAzureResource$inboundSchema).optional(),
585
+ stack: z.lazy(() => SyncListResponsePendingPreparedStackOverrideAzureStack$inboundSchema).optional(),
586
+ });
587
+ export function syncListResponsePendingPreparedStackOverrideAzureBindingFromJSON(jsonString) {
588
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackOverrideAzureBinding$inboundSchema
589
+ .parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackOverrideAzureBinding' from JSON`);
590
+ }
591
+ /** @internal */
592
+ export const SyncListResponsePendingPreparedStackOverrideAzureGrant$inboundSchema = z
593
+ .object({
594
+ actions: z.nullable(z.array(z.string())).optional(),
595
+ dataActions: z.nullable(z.array(z.string())).optional(),
596
+ permissions: z.nullable(z.array(z.string())).optional(),
597
+ predefinedRoles: z.nullable(z.array(z.string())).optional(),
598
+ residualPermissions: z.nullable(z.array(z.string())).optional(),
599
+ });
600
+ export function syncListResponsePendingPreparedStackOverrideAzureGrantFromJSON(jsonString) {
601
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackOverrideAzureGrant$inboundSchema
602
+ .parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackOverrideAzureGrant' from JSON`);
603
+ }
604
+ /** @internal */
605
+ export const SyncListResponsePendingPreparedStackOverrideAzure$inboundSchema = z
606
+ .object({
607
+ binding: z.lazy(() => SyncListResponsePendingPreparedStackOverrideAzureBinding$inboundSchema),
608
+ description: z.nullable(z.string()).optional(),
609
+ grant: z.lazy(() => SyncListResponsePendingPreparedStackOverrideAzureGrant$inboundSchema),
610
+ label: z.nullable(z.string()).optional(),
611
+ });
612
+ export function syncListResponsePendingPreparedStackOverrideAzureFromJSON(jsonString) {
613
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackOverrideAzure$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackOverrideAzure' from JSON`);
614
+ }
615
+ /** @internal */
616
+ export const SyncListResponsePendingPreparedStackOverrideConditionResource$inboundSchema = z.object({
617
+ expression: z.string(),
618
+ title: z.string(),
619
+ });
620
+ export function syncListResponsePendingPreparedStackOverrideConditionResourceFromJSON(jsonString) {
621
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackOverrideConditionResource$inboundSchema
622
+ .parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackOverrideConditionResource' from JSON`);
623
+ }
624
+ /** @internal */
625
+ export const SyncListResponsePendingPreparedStackOverrideResourceConditionUnion$inboundSchema = z.union([
626
+ z.lazy(() => SyncListResponsePendingPreparedStackOverrideConditionResource$inboundSchema),
627
+ z.string(),
628
+ ]);
629
+ export function syncListResponsePendingPreparedStackOverrideResourceConditionUnionFromJSON(jsonString) {
630
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackOverrideResourceConditionUnion$inboundSchema
631
+ .parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackOverrideResourceConditionUnion' from JSON`);
632
+ }
633
+ /** @internal */
634
+ export const SyncListResponsePendingPreparedStackOverrideGcpResource$inboundSchema = z.object({
635
+ condition: z.nullable(z.union([
636
+ z.lazy(() => SyncListResponsePendingPreparedStackOverrideConditionResource$inboundSchema),
637
+ z.string(),
638
+ ])).optional(),
639
+ scope: z.string(),
640
+ });
641
+ export function syncListResponsePendingPreparedStackOverrideGcpResourceFromJSON(jsonString) {
642
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackOverrideGcpResource$inboundSchema
643
+ .parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackOverrideGcpResource' from JSON`);
644
+ }
645
+ /** @internal */
646
+ export const SyncListResponsePendingPreparedStackOverrideConditionStack$inboundSchema = z.object({
647
+ expression: z.string(),
648
+ title: z.string(),
649
+ });
650
+ export function syncListResponsePendingPreparedStackOverrideConditionStackFromJSON(jsonString) {
651
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackOverrideConditionStack$inboundSchema
652
+ .parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackOverrideConditionStack' from JSON`);
653
+ }
654
+ /** @internal */
655
+ export const SyncListResponsePendingPreparedStackOverrideStackConditionUnion$inboundSchema = z.union([
656
+ z.lazy(() => SyncListResponsePendingPreparedStackOverrideConditionStack$inboundSchema),
657
+ z.string(),
658
+ ]);
659
+ export function syncListResponsePendingPreparedStackOverrideStackConditionUnionFromJSON(jsonString) {
660
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackOverrideStackConditionUnion$inboundSchema
661
+ .parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackOverrideStackConditionUnion' from JSON`);
662
+ }
663
+ /** @internal */
664
+ export const SyncListResponsePendingPreparedStackOverrideGcpStack$inboundSchema = z
665
+ .object({
666
+ condition: z.nullable(z.union([
667
+ z.lazy(() => SyncListResponsePendingPreparedStackOverrideConditionStack$inboundSchema),
668
+ z.string(),
669
+ ])).optional(),
670
+ scope: z.string(),
671
+ });
672
+ export function syncListResponsePendingPreparedStackOverrideGcpStackFromJSON(jsonString) {
673
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackOverrideGcpStack$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackOverrideGcpStack' from JSON`);
674
+ }
675
+ /** @internal */
676
+ export const SyncListResponsePendingPreparedStackOverrideGcpBinding$inboundSchema = z
677
+ .object({
678
+ resource: z.lazy(() => SyncListResponsePendingPreparedStackOverrideGcpResource$inboundSchema).optional(),
679
+ stack: z.lazy(() => SyncListResponsePendingPreparedStackOverrideGcpStack$inboundSchema).optional(),
680
+ });
681
+ export function syncListResponsePendingPreparedStackOverrideGcpBindingFromJSON(jsonString) {
682
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackOverrideGcpBinding$inboundSchema
683
+ .parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackOverrideGcpBinding' from JSON`);
684
+ }
685
+ /** @internal */
686
+ export const SyncListResponsePendingPreparedStackOverrideGcpGrant$inboundSchema = z
687
+ .object({
688
+ actions: z.nullable(z.array(z.string())).optional(),
689
+ dataActions: z.nullable(z.array(z.string())).optional(),
690
+ permissions: z.nullable(z.array(z.string())).optional(),
691
+ predefinedRoles: z.nullable(z.array(z.string())).optional(),
692
+ residualPermissions: z.nullable(z.array(z.string())).optional(),
693
+ });
694
+ export function syncListResponsePendingPreparedStackOverrideGcpGrantFromJSON(jsonString) {
695
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackOverrideGcpGrant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackOverrideGcpGrant' from JSON`);
696
+ }
697
+ /** @internal */
698
+ export const SyncListResponsePendingPreparedStackOverrideGcp$inboundSchema = z
699
+ .object({
700
+ binding: z.lazy(() => SyncListResponsePendingPreparedStackOverrideGcpBinding$inboundSchema),
701
+ description: z.nullable(z.string()).optional(),
702
+ grant: z.lazy(() => SyncListResponsePendingPreparedStackOverrideGcpGrant$inboundSchema),
703
+ label: z.nullable(z.string()).optional(),
704
+ });
705
+ export function syncListResponsePendingPreparedStackOverrideGcpFromJSON(jsonString) {
706
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackOverrideGcp$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackOverrideGcp' from JSON`);
707
+ }
708
+ /** @internal */
709
+ export const SyncListResponsePendingPreparedStackOverridePlatforms$inboundSchema = z
710
+ .object({
711
+ aws: z.nullable(z.array(z.lazy(() => SyncListResponsePendingPreparedStackOverrideAw$inboundSchema))).optional(),
712
+ azure: z.nullable(z.array(z.lazy(() => SyncListResponsePendingPreparedStackOverrideAzure$inboundSchema))).optional(),
713
+ gcp: z.nullable(z.array(z.lazy(() => SyncListResponsePendingPreparedStackOverrideGcp$inboundSchema))).optional(),
714
+ });
715
+ export function syncListResponsePendingPreparedStackOverridePlatformsFromJSON(jsonString) {
716
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackOverridePlatforms$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackOverridePlatforms' from JSON`);
717
+ }
718
+ /** @internal */
719
+ export const SyncListResponsePendingPreparedStackOverride$inboundSchema = z.object({
720
+ description: z.string(),
721
+ id: z.string(),
722
+ platforms: z.lazy(() => SyncListResponsePendingPreparedStackOverridePlatforms$inboundSchema),
723
+ });
724
+ export function syncListResponsePendingPreparedStackOverrideFromJSON(jsonString) {
725
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackOverride$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackOverride' from JSON`);
726
+ }
727
+ /** @internal */
728
+ export const SyncListResponsePendingPreparedStackOverrideUnion$inboundSchema = z
729
+ .union([
730
+ z.lazy(() => SyncListResponsePendingPreparedStackOverride$inboundSchema),
731
+ z.string(),
732
+ ]);
733
+ export function syncListResponsePendingPreparedStackOverrideUnionFromJSON(jsonString) {
734
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackOverrideUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackOverrideUnion' from JSON`);
735
+ }
736
+ /** @internal */
737
+ export const SyncListResponsePendingPreparedStackManagement2$inboundSchema = z
738
+ .object({
739
+ override: z.record(z.string(), z.array(z.union([
740
+ z.lazy(() => SyncListResponsePendingPreparedStackOverride$inboundSchema),
741
+ z.string(),
742
+ ]))),
743
+ });
744
+ export function syncListResponsePendingPreparedStackManagement2FromJSON(jsonString) {
745
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackManagement2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackManagement2' from JSON`);
746
+ }
747
+ /** @internal */
748
+ export const SyncListResponsePendingPreparedStackExtendAwResource$inboundSchema = z
749
+ .object({
750
+ condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string()))).optional(),
751
+ notResources: z.array(z.string()).optional(),
752
+ resources: z.array(z.string()),
753
+ });
754
+ export function syncListResponsePendingPreparedStackExtendAwResourceFromJSON(jsonString) {
755
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackExtendAwResource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackExtendAwResource' from JSON`);
756
+ }
757
+ /** @internal */
758
+ export const SyncListResponsePendingPreparedStackExtendAwStack$inboundSchema = z
759
+ .object({
760
+ condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string()))).optional(),
761
+ notResources: z.array(z.string()).optional(),
762
+ resources: z.array(z.string()),
763
+ });
764
+ export function syncListResponsePendingPreparedStackExtendAwStackFromJSON(jsonString) {
765
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackExtendAwStack$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackExtendAwStack' from JSON`);
766
+ }
767
+ /** @internal */
768
+ export const SyncListResponsePendingPreparedStackExtendAwBinding$inboundSchema = z
769
+ .object({
770
+ resource: z.lazy(() => SyncListResponsePendingPreparedStackExtendAwResource$inboundSchema).optional(),
771
+ stack: z.lazy(() => SyncListResponsePendingPreparedStackExtendAwStack$inboundSchema).optional(),
772
+ });
773
+ export function syncListResponsePendingPreparedStackExtendAwBindingFromJSON(jsonString) {
774
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackExtendAwBinding$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackExtendAwBinding' from JSON`);
775
+ }
776
+ /** @internal */
777
+ export const SyncListResponsePendingPreparedStackExtendEffect$inboundSchema = z.enum(SyncListResponsePendingPreparedStackExtendEffect);
778
+ /** @internal */
779
+ export const SyncListResponsePendingPreparedStackExtendAwGrant$inboundSchema = z
780
+ .object({
781
+ actions: z.nullable(z.array(z.string())).optional(),
782
+ dataActions: z.nullable(z.array(z.string())).optional(),
783
+ permissions: z.nullable(z.array(z.string())).optional(),
784
+ predefinedRoles: z.nullable(z.array(z.string())).optional(),
785
+ residualPermissions: z.nullable(z.array(z.string())).optional(),
786
+ });
787
+ export function syncListResponsePendingPreparedStackExtendAwGrantFromJSON(jsonString) {
788
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackExtendAwGrant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackExtendAwGrant' from JSON`);
789
+ }
790
+ /** @internal */
791
+ export const SyncListResponsePendingPreparedStackExtendAw$inboundSchema = z.object({
792
+ binding: z.lazy(() => SyncListResponsePendingPreparedStackExtendAwBinding$inboundSchema),
793
+ description: z.nullable(z.string()).optional(),
794
+ effect: SyncListResponsePendingPreparedStackExtendEffect$inboundSchema
795
+ .optional(),
796
+ grant: z.lazy(() => SyncListResponsePendingPreparedStackExtendAwGrant$inboundSchema),
797
+ label: z.nullable(z.string()).optional(),
798
+ });
799
+ export function syncListResponsePendingPreparedStackExtendAwFromJSON(jsonString) {
800
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackExtendAw$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackExtendAw' from JSON`);
801
+ }
802
+ /** @internal */
803
+ export const SyncListResponsePendingPreparedStackExtendAzureResource$inboundSchema = z.object({
804
+ scope: z.string(),
805
+ });
806
+ export function syncListResponsePendingPreparedStackExtendAzureResourceFromJSON(jsonString) {
807
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackExtendAzureResource$inboundSchema
808
+ .parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackExtendAzureResource' from JSON`);
809
+ }
810
+ /** @internal */
811
+ export const SyncListResponsePendingPreparedStackExtendAzureStack$inboundSchema = z
812
+ .object({
813
+ scope: z.string(),
814
+ });
815
+ export function syncListResponsePendingPreparedStackExtendAzureStackFromJSON(jsonString) {
816
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackExtendAzureStack$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackExtendAzureStack' from JSON`);
817
+ }
818
+ /** @internal */
819
+ export const SyncListResponsePendingPreparedStackExtendAzureBinding$inboundSchema = z
820
+ .object({
821
+ resource: z.lazy(() => SyncListResponsePendingPreparedStackExtendAzureResource$inboundSchema).optional(),
822
+ stack: z.lazy(() => SyncListResponsePendingPreparedStackExtendAzureStack$inboundSchema).optional(),
823
+ });
824
+ export function syncListResponsePendingPreparedStackExtendAzureBindingFromJSON(jsonString) {
825
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackExtendAzureBinding$inboundSchema
826
+ .parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackExtendAzureBinding' from JSON`);
827
+ }
828
+ /** @internal */
829
+ export const SyncListResponsePendingPreparedStackExtendAzureGrant$inboundSchema = z
830
+ .object({
831
+ actions: z.nullable(z.array(z.string())).optional(),
832
+ dataActions: z.nullable(z.array(z.string())).optional(),
833
+ permissions: z.nullable(z.array(z.string())).optional(),
834
+ predefinedRoles: z.nullable(z.array(z.string())).optional(),
835
+ residualPermissions: z.nullable(z.array(z.string())).optional(),
836
+ });
837
+ export function syncListResponsePendingPreparedStackExtendAzureGrantFromJSON(jsonString) {
838
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackExtendAzureGrant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackExtendAzureGrant' from JSON`);
839
+ }
840
+ /** @internal */
841
+ export const SyncListResponsePendingPreparedStackExtendAzure$inboundSchema = z
842
+ .object({
843
+ binding: z.lazy(() => SyncListResponsePendingPreparedStackExtendAzureBinding$inboundSchema),
844
+ description: z.nullable(z.string()).optional(),
845
+ grant: z.lazy(() => SyncListResponsePendingPreparedStackExtendAzureGrant$inboundSchema),
846
+ label: z.nullable(z.string()).optional(),
847
+ });
848
+ export function syncListResponsePendingPreparedStackExtendAzureFromJSON(jsonString) {
849
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackExtendAzure$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackExtendAzure' from JSON`);
850
+ }
851
+ /** @internal */
852
+ export const SyncListResponsePendingPreparedStackExtendConditionResource$inboundSchema = z.object({
853
+ expression: z.string(),
854
+ title: z.string(),
855
+ });
856
+ export function syncListResponsePendingPreparedStackExtendConditionResourceFromJSON(jsonString) {
857
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackExtendConditionResource$inboundSchema
858
+ .parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackExtendConditionResource' from JSON`);
859
+ }
860
+ /** @internal */
861
+ export const SyncListResponsePendingPreparedStackExtendResourceConditionUnion$inboundSchema = z.union([
862
+ z.lazy(() => SyncListResponsePendingPreparedStackExtendConditionResource$inboundSchema),
863
+ z.string(),
864
+ ]);
865
+ export function syncListResponsePendingPreparedStackExtendResourceConditionUnionFromJSON(jsonString) {
866
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackExtendResourceConditionUnion$inboundSchema
867
+ .parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackExtendResourceConditionUnion' from JSON`);
868
+ }
869
+ /** @internal */
870
+ export const SyncListResponsePendingPreparedStackExtendGcpResource$inboundSchema = z
871
+ .object({
872
+ condition: z.nullable(z.union([
873
+ z.lazy(() => SyncListResponsePendingPreparedStackExtendConditionResource$inboundSchema),
874
+ z.string(),
875
+ ])).optional(),
876
+ scope: z.string(),
877
+ });
878
+ export function syncListResponsePendingPreparedStackExtendGcpResourceFromJSON(jsonString) {
879
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackExtendGcpResource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackExtendGcpResource' from JSON`);
880
+ }
881
+ /** @internal */
882
+ export const SyncListResponsePendingPreparedStackExtendConditionStack$inboundSchema = z.object({
883
+ expression: z.string(),
884
+ title: z.string(),
885
+ });
886
+ export function syncListResponsePendingPreparedStackExtendConditionStackFromJSON(jsonString) {
887
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackExtendConditionStack$inboundSchema
888
+ .parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackExtendConditionStack' from JSON`);
889
+ }
890
+ /** @internal */
891
+ export const SyncListResponsePendingPreparedStackExtendStackConditionUnion$inboundSchema = z.union([
892
+ z.lazy(() => SyncListResponsePendingPreparedStackExtendConditionStack$inboundSchema),
893
+ z.string(),
894
+ ]);
895
+ export function syncListResponsePendingPreparedStackExtendStackConditionUnionFromJSON(jsonString) {
896
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackExtendStackConditionUnion$inboundSchema
897
+ .parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackExtendStackConditionUnion' from JSON`);
898
+ }
899
+ /** @internal */
900
+ export const SyncListResponsePendingPreparedStackExtendGcpStack$inboundSchema = z
901
+ .object({
902
+ condition: z.nullable(z.union([
903
+ z.lazy(() => SyncListResponsePendingPreparedStackExtendConditionStack$inboundSchema),
904
+ z.string(),
905
+ ])).optional(),
906
+ scope: z.string(),
907
+ });
908
+ export function syncListResponsePendingPreparedStackExtendGcpStackFromJSON(jsonString) {
909
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackExtendGcpStack$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackExtendGcpStack' from JSON`);
910
+ }
911
+ /** @internal */
912
+ export const SyncListResponsePendingPreparedStackExtendGcpBinding$inboundSchema = z
913
+ .object({
914
+ resource: z.lazy(() => SyncListResponsePendingPreparedStackExtendGcpResource$inboundSchema).optional(),
915
+ stack: z.lazy(() => SyncListResponsePendingPreparedStackExtendGcpStack$inboundSchema).optional(),
916
+ });
917
+ export function syncListResponsePendingPreparedStackExtendGcpBindingFromJSON(jsonString) {
918
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackExtendGcpBinding$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackExtendGcpBinding' from JSON`);
919
+ }
920
+ /** @internal */
921
+ export const SyncListResponsePendingPreparedStackExtendGcpGrant$inboundSchema = z
922
+ .object({
923
+ actions: z.nullable(z.array(z.string())).optional(),
924
+ dataActions: z.nullable(z.array(z.string())).optional(),
925
+ permissions: z.nullable(z.array(z.string())).optional(),
926
+ predefinedRoles: z.nullable(z.array(z.string())).optional(),
927
+ residualPermissions: z.nullable(z.array(z.string())).optional(),
928
+ });
929
+ export function syncListResponsePendingPreparedStackExtendGcpGrantFromJSON(jsonString) {
930
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackExtendGcpGrant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackExtendGcpGrant' from JSON`);
931
+ }
932
+ /** @internal */
933
+ export const SyncListResponsePendingPreparedStackExtendGcp$inboundSchema = z.object({
934
+ binding: z.lazy(() => SyncListResponsePendingPreparedStackExtendGcpBinding$inboundSchema),
935
+ description: z.nullable(z.string()).optional(),
936
+ grant: z.lazy(() => SyncListResponsePendingPreparedStackExtendGcpGrant$inboundSchema),
937
+ label: z.nullable(z.string()).optional(),
938
+ });
939
+ export function syncListResponsePendingPreparedStackExtendGcpFromJSON(jsonString) {
940
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackExtendGcp$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackExtendGcp' from JSON`);
941
+ }
942
+ /** @internal */
943
+ export const SyncListResponsePendingPreparedStackExtendPlatforms$inboundSchema = z
944
+ .object({
945
+ aws: z.nullable(z.array(z.lazy(() => SyncListResponsePendingPreparedStackExtendAw$inboundSchema))).optional(),
946
+ azure: z.nullable(z.array(z.lazy(() => SyncListResponsePendingPreparedStackExtendAzure$inboundSchema))).optional(),
947
+ gcp: z.nullable(z.array(z.lazy(() => SyncListResponsePendingPreparedStackExtendGcp$inboundSchema))).optional(),
948
+ });
949
+ export function syncListResponsePendingPreparedStackExtendPlatformsFromJSON(jsonString) {
950
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackExtendPlatforms$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackExtendPlatforms' from JSON`);
951
+ }
952
+ /** @internal */
953
+ export const SyncListResponsePendingPreparedStackExtend$inboundSchema = z.object({
954
+ description: z.string(),
955
+ id: z.string(),
956
+ platforms: z.lazy(() => SyncListResponsePendingPreparedStackExtendPlatforms$inboundSchema),
957
+ });
958
+ export function syncListResponsePendingPreparedStackExtendFromJSON(jsonString) {
959
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackExtend$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackExtend' from JSON`);
960
+ }
961
+ /** @internal */
962
+ export const SyncListResponsePendingPreparedStackExtendUnion$inboundSchema = z.union([
963
+ z.lazy(() => SyncListResponsePendingPreparedStackExtend$inboundSchema),
964
+ z.string(),
965
+ ]);
966
+ export function syncListResponsePendingPreparedStackExtendUnionFromJSON(jsonString) {
967
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackExtendUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackExtendUnion' from JSON`);
968
+ }
969
+ /** @internal */
970
+ export const SyncListResponsePendingPreparedStackManagement1$inboundSchema = z
971
+ .object({
972
+ extend: z.record(z.string(), z.array(z.union([
973
+ z.lazy(() => SyncListResponsePendingPreparedStackExtend$inboundSchema),
974
+ z.string(),
975
+ ]))),
976
+ });
977
+ export function syncListResponsePendingPreparedStackManagement1FromJSON(jsonString) {
978
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackManagement1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackManagement1' from JSON`);
979
+ }
980
+ /** @internal */
981
+ export const SyncListResponsePendingPreparedStackManagementUnion$inboundSchema = z
982
+ .union([
983
+ z.lazy(() => SyncListResponsePendingPreparedStackManagement1$inboundSchema),
984
+ z.lazy(() => SyncListResponsePendingPreparedStackManagement2$inboundSchema),
985
+ SyncListResponsePendingPreparedStackManagementEnum$inboundSchema,
986
+ ]);
987
+ export function syncListResponsePendingPreparedStackManagementUnionFromJSON(jsonString) {
988
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackManagementUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackManagementUnion' from JSON`);
989
+ }
990
+ /** @internal */
991
+ export const SyncListResponsePendingPreparedStackProfileAwResource$inboundSchema = z
992
+ .object({
993
+ condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string()))).optional(),
994
+ notResources: z.array(z.string()).optional(),
995
+ resources: z.array(z.string()),
996
+ });
997
+ export function syncListResponsePendingPreparedStackProfileAwResourceFromJSON(jsonString) {
998
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackProfileAwResource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackProfileAwResource' from JSON`);
999
+ }
1000
+ /** @internal */
1001
+ export const SyncListResponsePendingPreparedStackProfileAwStack$inboundSchema = z
1002
+ .object({
1003
+ condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string()))).optional(),
1004
+ notResources: z.array(z.string()).optional(),
1005
+ resources: z.array(z.string()),
1006
+ });
1007
+ export function syncListResponsePendingPreparedStackProfileAwStackFromJSON(jsonString) {
1008
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackProfileAwStack$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackProfileAwStack' from JSON`);
1009
+ }
1010
+ /** @internal */
1011
+ export const SyncListResponsePendingPreparedStackProfileAwBinding$inboundSchema = z
1012
+ .object({
1013
+ resource: z.lazy(() => SyncListResponsePendingPreparedStackProfileAwResource$inboundSchema).optional(),
1014
+ stack: z.lazy(() => SyncListResponsePendingPreparedStackProfileAwStack$inboundSchema).optional(),
1015
+ });
1016
+ export function syncListResponsePendingPreparedStackProfileAwBindingFromJSON(jsonString) {
1017
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackProfileAwBinding$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackProfileAwBinding' from JSON`);
1018
+ }
1019
+ /** @internal */
1020
+ export const SyncListResponsePendingPreparedStackProfileEffect$inboundSchema = z.enum(SyncListResponsePendingPreparedStackProfileEffect);
1021
+ /** @internal */
1022
+ export const SyncListResponsePendingPreparedStackProfileAwGrant$inboundSchema = z
1023
+ .object({
1024
+ actions: z.nullable(z.array(z.string())).optional(),
1025
+ dataActions: z.nullable(z.array(z.string())).optional(),
1026
+ permissions: z.nullable(z.array(z.string())).optional(),
1027
+ predefinedRoles: z.nullable(z.array(z.string())).optional(),
1028
+ residualPermissions: z.nullable(z.array(z.string())).optional(),
1029
+ });
1030
+ export function syncListResponsePendingPreparedStackProfileAwGrantFromJSON(jsonString) {
1031
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackProfileAwGrant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackProfileAwGrant' from JSON`);
1032
+ }
1033
+ /** @internal */
1034
+ export const SyncListResponsePendingPreparedStackProfileAw$inboundSchema = z.object({
1035
+ binding: z.lazy(() => SyncListResponsePendingPreparedStackProfileAwBinding$inboundSchema),
1036
+ description: z.nullable(z.string()).optional(),
1037
+ effect: SyncListResponsePendingPreparedStackProfileEffect$inboundSchema
1038
+ .optional(),
1039
+ grant: z.lazy(() => SyncListResponsePendingPreparedStackProfileAwGrant$inboundSchema),
1040
+ label: z.nullable(z.string()).optional(),
1041
+ });
1042
+ export function syncListResponsePendingPreparedStackProfileAwFromJSON(jsonString) {
1043
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackProfileAw$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackProfileAw' from JSON`);
1044
+ }
1045
+ /** @internal */
1046
+ export const SyncListResponsePendingPreparedStackProfileAzureResource$inboundSchema = z.object({
1047
+ scope: z.string(),
1048
+ });
1049
+ export function syncListResponsePendingPreparedStackProfileAzureResourceFromJSON(jsonString) {
1050
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackProfileAzureResource$inboundSchema
1051
+ .parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackProfileAzureResource' from JSON`);
1052
+ }
1053
+ /** @internal */
1054
+ export const SyncListResponsePendingPreparedStackProfileAzureStack$inboundSchema = z
1055
+ .object({
1056
+ scope: z.string(),
1057
+ });
1058
+ export function syncListResponsePendingPreparedStackProfileAzureStackFromJSON(jsonString) {
1059
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackProfileAzureStack$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackProfileAzureStack' from JSON`);
1060
+ }
1061
+ /** @internal */
1062
+ export const SyncListResponsePendingPreparedStackProfileAzureBinding$inboundSchema = z.object({
1063
+ resource: z.lazy(() => SyncListResponsePendingPreparedStackProfileAzureResource$inboundSchema).optional(),
1064
+ stack: z.lazy(() => SyncListResponsePendingPreparedStackProfileAzureStack$inboundSchema).optional(),
1065
+ });
1066
+ export function syncListResponsePendingPreparedStackProfileAzureBindingFromJSON(jsonString) {
1067
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackProfileAzureBinding$inboundSchema
1068
+ .parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackProfileAzureBinding' from JSON`);
1069
+ }
1070
+ /** @internal */
1071
+ export const SyncListResponsePendingPreparedStackProfileAzureGrant$inboundSchema = z
1072
+ .object({
1073
+ actions: z.nullable(z.array(z.string())).optional(),
1074
+ dataActions: z.nullable(z.array(z.string())).optional(),
1075
+ permissions: z.nullable(z.array(z.string())).optional(),
1076
+ predefinedRoles: z.nullable(z.array(z.string())).optional(),
1077
+ residualPermissions: z.nullable(z.array(z.string())).optional(),
1078
+ });
1079
+ export function syncListResponsePendingPreparedStackProfileAzureGrantFromJSON(jsonString) {
1080
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackProfileAzureGrant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackProfileAzureGrant' from JSON`);
1081
+ }
1082
+ /** @internal */
1083
+ export const SyncListResponsePendingPreparedStackProfileAzure$inboundSchema = z
1084
+ .object({
1085
+ binding: z.lazy(() => SyncListResponsePendingPreparedStackProfileAzureBinding$inboundSchema),
1086
+ description: z.nullable(z.string()).optional(),
1087
+ grant: z.lazy(() => SyncListResponsePendingPreparedStackProfileAzureGrant$inboundSchema),
1088
+ label: z.nullable(z.string()).optional(),
1089
+ });
1090
+ export function syncListResponsePendingPreparedStackProfileAzureFromJSON(jsonString) {
1091
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackProfileAzure$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackProfileAzure' from JSON`);
1092
+ }
1093
+ /** @internal */
1094
+ export const SyncListResponsePendingPreparedStackProfileConditionResource$inboundSchema = z.object({
1095
+ expression: z.string(),
1096
+ title: z.string(),
1097
+ });
1098
+ export function syncListResponsePendingPreparedStackProfileConditionResourceFromJSON(jsonString) {
1099
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackProfileConditionResource$inboundSchema
1100
+ .parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackProfileConditionResource' from JSON`);
1101
+ }
1102
+ /** @internal */
1103
+ export const SyncListResponsePendingPreparedStackProfileResourceConditionUnion$inboundSchema = z.union([
1104
+ z.lazy(() => SyncListResponsePendingPreparedStackProfileConditionResource$inboundSchema),
1105
+ z.string(),
1106
+ ]);
1107
+ export function syncListResponsePendingPreparedStackProfileResourceConditionUnionFromJSON(jsonString) {
1108
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackProfileResourceConditionUnion$inboundSchema
1109
+ .parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackProfileResourceConditionUnion' from JSON`);
1110
+ }
1111
+ /** @internal */
1112
+ export const SyncListResponsePendingPreparedStackProfileGcpResource$inboundSchema = z
1113
+ .object({
1114
+ condition: z.nullable(z.union([
1115
+ z.lazy(() => SyncListResponsePendingPreparedStackProfileConditionResource$inboundSchema),
1116
+ z.string(),
1117
+ ])).optional(),
1118
+ scope: z.string(),
1119
+ });
1120
+ export function syncListResponsePendingPreparedStackProfileGcpResourceFromJSON(jsonString) {
1121
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackProfileGcpResource$inboundSchema
1122
+ .parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackProfileGcpResource' from JSON`);
1123
+ }
1124
+ /** @internal */
1125
+ export const SyncListResponsePendingPreparedStackProfileConditionStack$inboundSchema = z.object({
1126
+ expression: z.string(),
1127
+ title: z.string(),
1128
+ });
1129
+ export function syncListResponsePendingPreparedStackProfileConditionStackFromJSON(jsonString) {
1130
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackProfileConditionStack$inboundSchema
1131
+ .parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackProfileConditionStack' from JSON`);
1132
+ }
1133
+ /** @internal */
1134
+ export const SyncListResponsePendingPreparedStackProfileStackConditionUnion$inboundSchema = z.union([
1135
+ z.lazy(() => SyncListResponsePendingPreparedStackProfileConditionStack$inboundSchema),
1136
+ z.string(),
1137
+ ]);
1138
+ export function syncListResponsePendingPreparedStackProfileStackConditionUnionFromJSON(jsonString) {
1139
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackProfileStackConditionUnion$inboundSchema
1140
+ .parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackProfileStackConditionUnion' from JSON`);
1141
+ }
1142
+ /** @internal */
1143
+ export const SyncListResponsePendingPreparedStackProfileGcpStack$inboundSchema = z
1144
+ .object({
1145
+ condition: z.nullable(z.union([
1146
+ z.lazy(() => SyncListResponsePendingPreparedStackProfileConditionStack$inboundSchema),
1147
+ z.string(),
1148
+ ])).optional(),
1149
+ scope: z.string(),
1150
+ });
1151
+ export function syncListResponsePendingPreparedStackProfileGcpStackFromJSON(jsonString) {
1152
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackProfileGcpStack$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackProfileGcpStack' from JSON`);
1153
+ }
1154
+ /** @internal */
1155
+ export const SyncListResponsePendingPreparedStackProfileGcpBinding$inboundSchema = z
1156
+ .object({
1157
+ resource: z.lazy(() => SyncListResponsePendingPreparedStackProfileGcpResource$inboundSchema).optional(),
1158
+ stack: z.lazy(() => SyncListResponsePendingPreparedStackProfileGcpStack$inboundSchema).optional(),
1159
+ });
1160
+ export function syncListResponsePendingPreparedStackProfileGcpBindingFromJSON(jsonString) {
1161
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackProfileGcpBinding$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackProfileGcpBinding' from JSON`);
1162
+ }
1163
+ /** @internal */
1164
+ export const SyncListResponsePendingPreparedStackProfileGcpGrant$inboundSchema = z
1165
+ .object({
1166
+ actions: z.nullable(z.array(z.string())).optional(),
1167
+ dataActions: z.nullable(z.array(z.string())).optional(),
1168
+ permissions: z.nullable(z.array(z.string())).optional(),
1169
+ predefinedRoles: z.nullable(z.array(z.string())).optional(),
1170
+ residualPermissions: z.nullable(z.array(z.string())).optional(),
1171
+ });
1172
+ export function syncListResponsePendingPreparedStackProfileGcpGrantFromJSON(jsonString) {
1173
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackProfileGcpGrant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackProfileGcpGrant' from JSON`);
1174
+ }
1175
+ /** @internal */
1176
+ export const SyncListResponsePendingPreparedStackProfileGcp$inboundSchema = z.object({
1177
+ binding: z.lazy(() => SyncListResponsePendingPreparedStackProfileGcpBinding$inboundSchema),
1178
+ description: z.nullable(z.string()).optional(),
1179
+ grant: z.lazy(() => SyncListResponsePendingPreparedStackProfileGcpGrant$inboundSchema),
1180
+ label: z.nullable(z.string()).optional(),
1181
+ });
1182
+ export function syncListResponsePendingPreparedStackProfileGcpFromJSON(jsonString) {
1183
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackProfileGcp$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackProfileGcp' from JSON`);
1184
+ }
1185
+ /** @internal */
1186
+ export const SyncListResponsePendingPreparedStackProfilePlatforms$inboundSchema = z
1187
+ .object({
1188
+ aws: z.nullable(z.array(z.lazy(() => SyncListResponsePendingPreparedStackProfileAw$inboundSchema))).optional(),
1189
+ azure: z.nullable(z.array(z.lazy(() => SyncListResponsePendingPreparedStackProfileAzure$inboundSchema))).optional(),
1190
+ gcp: z.nullable(z.array(z.lazy(() => SyncListResponsePendingPreparedStackProfileGcp$inboundSchema))).optional(),
1191
+ });
1192
+ export function syncListResponsePendingPreparedStackProfilePlatformsFromJSON(jsonString) {
1193
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackProfilePlatforms$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackProfilePlatforms' from JSON`);
1194
+ }
1195
+ /** @internal */
1196
+ export const SyncListResponsePendingPreparedStackProfile$inboundSchema = z.object({
1197
+ description: z.string(),
1198
+ id: z.string(),
1199
+ platforms: z.lazy(() => SyncListResponsePendingPreparedStackProfilePlatforms$inboundSchema),
1200
+ });
1201
+ export function syncListResponsePendingPreparedStackProfileFromJSON(jsonString) {
1202
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackProfile$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackProfile' from JSON`);
1203
+ }
1204
+ /** @internal */
1205
+ export const SyncListResponsePendingPreparedStackProfileUnion$inboundSchema = z
1206
+ .union([
1207
+ z.lazy(() => SyncListResponsePendingPreparedStackProfile$inboundSchema),
1208
+ z.string(),
1209
+ ]);
1210
+ export function syncListResponsePendingPreparedStackProfileUnionFromJSON(jsonString) {
1211
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackProfileUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackProfileUnion' from JSON`);
1212
+ }
1213
+ /** @internal */
1214
+ export const SyncListResponsePendingPreparedStackPermissions$inboundSchema = z
1215
+ .object({
1216
+ management: z.union([
1217
+ z.lazy(() => SyncListResponsePendingPreparedStackManagement1$inboundSchema),
1218
+ z.lazy(() => SyncListResponsePendingPreparedStackManagement2$inboundSchema),
1219
+ SyncListResponsePendingPreparedStackManagementEnum$inboundSchema,
1220
+ ]).optional(),
1221
+ profiles: z.record(z.string(), z.record(z.string(), z.array(z.union([
1222
+ z.lazy(() => SyncListResponsePendingPreparedStackProfile$inboundSchema),
1223
+ z.string(),
1224
+ ])))),
1225
+ });
1226
+ export function syncListResponsePendingPreparedStackPermissionsFromJSON(jsonString) {
1227
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackPermissions$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackPermissions' from JSON`);
1228
+ }
1229
+ /** @internal */
1230
+ export const SyncListResponsePendingPreparedStackConfig$inboundSchema = collectExtraKeys$(z.object({
1231
+ id: z.string(),
1232
+ type: z.string(),
1233
+ }).catchall(z.any()), "additionalProperties", true);
1234
+ export function syncListResponsePendingPreparedStackConfigFromJSON(jsonString) {
1235
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackConfig$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackConfig' from JSON`);
1236
+ }
1237
+ /** @internal */
1238
+ export const SyncListResponsePendingPreparedStackDependency$inboundSchema = z.object({
1239
+ id: z.string(),
1240
+ type: z.string(),
1241
+ });
1242
+ export function syncListResponsePendingPreparedStackDependencyFromJSON(jsonString) {
1243
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackDependency$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackDependency' from JSON`);
1244
+ }
1245
+ /** @internal */
1246
+ export const SyncListResponsePendingPreparedStackLifecycle$inboundSchema = z.enum(SyncListResponsePendingPreparedStackLifecycle);
1247
+ /** @internal */
1248
+ export const SyncListResponsePendingPreparedStackResources$inboundSchema = z.object({
1249
+ config: z.lazy(() => SyncListResponsePendingPreparedStackConfig$inboundSchema),
1250
+ dependencies: z.array(z.lazy(() => SyncListResponsePendingPreparedStackDependency$inboundSchema)),
1251
+ enabledWhen: z.nullable(z.string()).optional(),
1252
+ lifecycle: SyncListResponsePendingPreparedStackLifecycle$inboundSchema,
1253
+ remoteAccess: z.boolean().optional(),
1254
+ });
1255
+ export function syncListResponsePendingPreparedStackResourcesFromJSON(jsonString) {
1256
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackResources$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackResources' from JSON`);
1257
+ }
1258
+ /** @internal */
1259
+ export const SyncListResponsePendingPreparedStackSupportedPlatform$inboundSchema = z
1260
+ .enum(SyncListResponsePendingPreparedStackSupportedPlatform);
1261
+ /** @internal */
1262
+ export const SyncListResponsePendingPreparedStack$inboundSchema = z.object({
1263
+ dynamicContainerImageResources: z.array(z.string()).optional(),
1264
+ dynamicContainerRepositories: z.array(z.string()).optional(),
1265
+ id: z.string(),
1266
+ inputs: z.array(z.lazy(() => SyncListResponsePendingPreparedStackInput$inboundSchema)).optional(),
1267
+ operations: z.nullable(z.union([
1268
+ z.lazy(() => SyncListResponsePendingPreparedStackOperations$inboundSchema),
1269
+ z.string(),
1270
+ ])).optional(),
1271
+ permissions: z.lazy(() => SyncListResponsePendingPreparedStackPermissions$inboundSchema).optional(),
1272
+ resources: z.record(z.string(), z.lazy(() => SyncListResponsePendingPreparedStackResources$inboundSchema)),
1273
+ supportedPlatforms: z.nullable(z.array(SyncListResponsePendingPreparedStackSupportedPlatform$inboundSchema)).optional(),
1274
+ });
1275
+ export function syncListResponsePendingPreparedStackFromJSON(jsonString) {
1276
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStack$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStack' from JSON`);
1277
+ }
1278
+ /** @internal */
1279
+ export const SyncListResponsePendingPreparedStackUnion$inboundSchema = z.union([
1280
+ z.lazy(() => SyncListResponsePendingPreparedStack$inboundSchema),
1281
+ z.string(),
1282
+ ]);
1283
+ export function syncListResponsePendingPreparedStackUnionFromJSON(jsonString) {
1284
+ return safeParse(jsonString, (x) => SyncListResponsePendingPreparedStackUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePendingPreparedStackUnion' from JSON`);
1285
+ }
1286
+ /** @internal */
1287
+ export const SyncListResponsePreparedStackTypeStringList$inboundSchema = z.enum(SyncListResponsePreparedStackTypeStringList);
1288
+ /** @internal */
1289
+ export const SyncListResponsePreparedStackDefaultStringList$inboundSchema = z.object({
1290
+ type: SyncListResponsePreparedStackTypeStringList$inboundSchema,
1291
+ value: z.array(z.string()),
1292
+ });
1293
+ export function syncListResponsePreparedStackDefaultStringListFromJSON(jsonString) {
1294
+ return safeParse(jsonString, (x) => SyncListResponsePreparedStackDefaultStringList$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePreparedStackDefaultStringList' from JSON`);
1295
+ }
1296
+ /** @internal */
1297
+ export const SyncListResponsePreparedStackTypeBoolean$inboundSchema = z.enum(SyncListResponsePreparedStackTypeBoolean);
1298
+ /** @internal */
1299
+ export const SyncListResponsePreparedStackDefaultBoolean$inboundSchema = z.object({
1300
+ type: SyncListResponsePreparedStackTypeBoolean$inboundSchema,
1301
+ value: z.boolean(),
1302
+ });
1303
+ export function syncListResponsePreparedStackDefaultBooleanFromJSON(jsonString) {
1304
+ return safeParse(jsonString, (x) => SyncListResponsePreparedStackDefaultBoolean$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePreparedStackDefaultBoolean' from JSON`);
1305
+ }
1306
+ /** @internal */
1307
+ export const SyncListResponsePreparedStackTypeNumber$inboundSchema = z.enum(SyncListResponsePreparedStackTypeNumber);
1308
+ /** @internal */
1309
+ export const SyncListResponsePreparedStackDefaultNumber$inboundSchema = z.object({
1310
+ type: SyncListResponsePreparedStackTypeNumber$inboundSchema,
1311
+ value: z.string(),
1312
+ });
1313
+ export function syncListResponsePreparedStackDefaultNumberFromJSON(jsonString) {
1314
+ return safeParse(jsonString, (x) => SyncListResponsePreparedStackDefaultNumber$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePreparedStackDefaultNumber' from JSON`);
1315
+ }
1316
+ /** @internal */
1317
+ export const SyncListResponsePreparedStackTypeString$inboundSchema = z.enum(SyncListResponsePreparedStackTypeString);
1318
+ /** @internal */
1319
+ export const SyncListResponsePreparedStackDefaultString$inboundSchema = z.object({
1320
+ type: SyncListResponsePreparedStackTypeString$inboundSchema,
1321
+ value: z.string(),
1322
+ });
1323
+ export function syncListResponsePreparedStackDefaultStringFromJSON(jsonString) {
1324
+ return safeParse(jsonString, (x) => SyncListResponsePreparedStackDefaultString$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePreparedStackDefaultString' from JSON`);
1325
+ }
1326
+ /** @internal */
1327
+ export const SyncListResponsePreparedStackDefaultUnion$inboundSchema = z.union([
1328
+ z.lazy(() => SyncListResponsePreparedStackDefaultString$inboundSchema),
1329
+ z.lazy(() => SyncListResponsePreparedStackDefaultNumber$inboundSchema),
1330
+ z.lazy(() => SyncListResponsePreparedStackDefaultBoolean$inboundSchema),
1331
+ z.lazy(() => SyncListResponsePreparedStackDefaultStringList$inboundSchema),
1332
+ z.string(),
1333
+ ]);
1334
+ export function syncListResponsePreparedStackDefaultUnionFromJSON(jsonString) {
1335
+ return safeParse(jsonString, (x) => SyncListResponsePreparedStackDefaultUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePreparedStackDefaultUnion' from JSON`);
1336
+ }
1337
+ /** @internal */
1338
+ export const SyncListResponsePreparedStackTypeEnvEnum$inboundSchema = z.enum(SyncListResponsePreparedStackTypeEnvEnum);
1339
+ /** @internal */
1340
+ export const SyncListResponsePreparedStackTypeUnion$inboundSchema = z.union([
1341
+ SyncListResponsePreparedStackTypeEnvEnum$inboundSchema,
1342
+ z.string(),
1343
+ ]);
1344
+ export function syncListResponsePreparedStackTypeUnionFromJSON(jsonString) {
1345
+ return safeParse(jsonString, (x) => SyncListResponsePreparedStackTypeUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePreparedStackTypeUnion' from JSON`);
1346
+ }
1347
+ /** @internal */
1348
+ export const SyncListResponsePreparedStackEnv$inboundSchema = z.object({
1349
+ name: z.string(),
1350
+ targetResources: z.nullable(z.array(z.string())).optional(),
1351
+ type: z.nullable(z.union([
1352
+ SyncListResponsePreparedStackTypeEnvEnum$inboundSchema,
1353
+ z.string(),
1354
+ ])).optional(),
1355
+ });
1356
+ export function syncListResponsePreparedStackEnvFromJSON(jsonString) {
1357
+ return safeParse(jsonString, (x) => SyncListResponsePreparedStackEnv$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePreparedStackEnv' from JSON`);
1358
+ }
1359
+ /** @internal */
1360
+ export const SyncListResponsePreparedStackGenerate$inboundSchema = z.object({
1361
+ length: z.int(),
1362
+ });
1363
+ export function syncListResponsePreparedStackGenerateFromJSON(jsonString) {
1364
+ return safeParse(jsonString, (x) => SyncListResponsePreparedStackGenerate$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePreparedStackGenerate' from JSON`);
1365
+ }
1366
+ /** @internal */
1367
+ export const SyncListResponsePreparedStackGenerateUnion$inboundSchema = z.union([
1368
+ z.lazy(() => SyncListResponsePreparedStackGenerate$inboundSchema),
1369
+ z.string(),
1370
+ ]);
1371
+ export function syncListResponsePreparedStackGenerateUnionFromJSON(jsonString) {
1372
+ return safeParse(jsonString, (x) => SyncListResponsePreparedStackGenerateUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePreparedStackGenerateUnion' from JSON`);
1373
+ }
1374
+ /** @internal */
1375
+ export const SyncListResponsePreparedStackKind$inboundSchema = z.enum(SyncListResponsePreparedStackKind);
1376
+ /** @internal */
1377
+ export const SyncListResponsePreparedStackPlatform$inboundSchema = z.enum(SyncListResponsePreparedStackPlatform);
1378
+ /** @internal */
1379
+ export const SyncListResponsePreparedStackProvidedBy$inboundSchema = z.enum(SyncListResponsePreparedStackProvidedBy);
1380
+ /** @internal */
1381
+ export const SyncListResponsePreparedStackValidation$inboundSchema = z.object({
1382
+ format: z.nullable(z.string()).optional(),
1383
+ max: z.nullable(z.string()).optional(),
1384
+ maxItems: z.nullable(z.int()).optional(),
1385
+ maxLength: z.nullable(z.int()).optional(),
1386
+ min: z.nullable(z.string()).optional(),
1387
+ minItems: z.nullable(z.int()).optional(),
1388
+ minLength: z.nullable(z.int()).optional(),
1389
+ pattern: z.nullable(z.string()).optional(),
1390
+ values: z.nullable(z.array(z.string())).optional(),
1391
+ });
1392
+ export function syncListResponsePreparedStackValidationFromJSON(jsonString) {
1393
+ return safeParse(jsonString, (x) => SyncListResponsePreparedStackValidation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePreparedStackValidation' from JSON`);
1394
+ }
1395
+ /** @internal */
1396
+ export const SyncListResponsePreparedStackValidationUnion$inboundSchema = z.union([
1397
+ z.lazy(() => SyncListResponsePreparedStackValidation$inboundSchema),
1398
+ z.string(),
1399
+ ]);
1400
+ export function syncListResponsePreparedStackValidationUnionFromJSON(jsonString) {
1401
+ return safeParse(jsonString, (x) => SyncListResponsePreparedStackValidationUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePreparedStackValidationUnion' from JSON`);
1402
+ }
1403
+ /** @internal */
1404
+ export const SyncListResponsePreparedStackInput$inboundSchema = z.object({
1405
+ default: z.nullable(z.union([
1406
+ z.lazy(() => SyncListResponsePreparedStackDefaultString$inboundSchema),
1407
+ z.lazy(() => SyncListResponsePreparedStackDefaultNumber$inboundSchema),
1408
+ z.lazy(() => SyncListResponsePreparedStackDefaultBoolean$inboundSchema),
1409
+ z.lazy(() => SyncListResponsePreparedStackDefaultStringList$inboundSchema),
1410
+ z.string(),
1411
+ ])).optional(),
1412
+ description: z.string(),
1413
+ env: z.array(z.lazy(() => SyncListResponsePreparedStackEnv$inboundSchema))
1414
+ .optional(),
1415
+ generate: z.nullable(z.union([
1416
+ z.lazy(() => SyncListResponsePreparedStackGenerate$inboundSchema),
1417
+ z.string(),
1418
+ ])).optional(),
1419
+ id: z.string(),
1420
+ kind: SyncListResponsePreparedStackKind$inboundSchema,
1421
+ label: z.string(),
1422
+ placeholder: z.nullable(z.string()).optional(),
1423
+ platforms: z.nullable(z.array(SyncListResponsePreparedStackPlatform$inboundSchema)).optional(),
1424
+ providedBy: z.array(SyncListResponsePreparedStackProvidedBy$inboundSchema),
1425
+ required: z.boolean(),
1426
+ validation: z.nullable(z.union([
1427
+ z.lazy(() => SyncListResponsePreparedStackValidation$inboundSchema),
1428
+ z.string(),
1429
+ ])).optional(),
1430
+ });
1431
+ export function syncListResponsePreparedStackInputFromJSON(jsonString) {
1432
+ return safeParse(jsonString, (x) => SyncListResponsePreparedStackInput$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePreparedStackInput' from JSON`);
1433
+ }
1434
+ /** @internal */
1435
+ export const SyncListResponsePreparedStackCustomDecision$inboundSchema = z.enum(SyncListResponsePreparedStackCustomDecision);
1436
+ /** @internal */
1437
+ export const SyncListResponsePreparedStackApprovalCustom$inboundSchema = z.object({
1438
+ decision: SyncListResponsePreparedStackCustomDecision$inboundSchema,
1439
+ maxRisk: z.nullable(z.string()).optional(),
1440
+ });
1441
+ export function syncListResponsePreparedStackApprovalCustomFromJSON(jsonString) {
1442
+ return safeParse(jsonString, (x) => SyncListResponsePreparedStackApprovalCustom$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePreparedStackApprovalCustom' from JSON`);
1443
+ }
1444
+ /** @internal */
1445
+ export const SyncListResponsePreparedStackApprovalCustomEnum$inboundSchema = z.enum(SyncListResponsePreparedStackApprovalCustomEnum);
1446
+ /** @internal */
1447
+ export const SyncListResponsePreparedStackCustomApprovalUnion$inboundSchema = z
1448
+ .union([
1449
+ z.lazy(() => SyncListResponsePreparedStackApprovalCustom$inboundSchema),
1450
+ SyncListResponsePreparedStackApprovalCustomEnum$inboundSchema,
1451
+ ]);
1452
+ export function syncListResponsePreparedStackCustomApprovalUnionFromJSON(jsonString) {
1453
+ return safeParse(jsonString, (x) => SyncListResponsePreparedStackCustomApprovalUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePreparedStackCustomApprovalUnion' from JSON`);
1454
+ }
1455
+ /** @internal */
1456
+ export const SyncListResponsePreparedStackSettingsCustom3$inboundSchema = z.object({
1457
+ env: z.string(),
1458
+ });
1459
+ export function syncListResponsePreparedStackSettingsCustom3FromJSON(jsonString) {
1460
+ return safeParse(jsonString, (x) => SyncListResponsePreparedStackSettingsCustom3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePreparedStackSettingsCustom3' from JSON`);
1461
+ }
1462
+ /** @internal */
1463
+ export const SyncListResponsePreparedStackSettingsCustom2$inboundSchema = z.object({
1464
+ resources: z.array(z.string()),
1465
+ });
1466
+ export function syncListResponsePreparedStackSettingsCustom2FromJSON(jsonString) {
1467
+ return safeParse(jsonString, (x) => SyncListResponsePreparedStackSettingsCustom2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePreparedStackSettingsCustom2' from JSON`);
1468
+ }
1469
+ /** @internal */
1470
+ export const SyncListResponsePreparedStackSettingsCustom1$inboundSchema = z.object({
1471
+ input: z.string(),
1472
+ });
1473
+ export function syncListResponsePreparedStackSettingsCustom1FromJSON(jsonString) {
1474
+ return safeParse(jsonString, (x) => SyncListResponsePreparedStackSettingsCustom1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePreparedStackSettingsCustom1' from JSON`);
1475
+ }
1476
+ /** @internal */
1477
+ export const SyncListResponsePreparedStackCustomSettingsUnion$inboundSchema = z
1478
+ .union([
1479
+ z.lazy(() => SyncListResponsePreparedStackSettingsCustom1$inboundSchema),
1480
+ z.lazy(() => SyncListResponsePreparedStackSettingsCustom2$inboundSchema),
1481
+ z.lazy(() => SyncListResponsePreparedStackSettingsCustom3$inboundSchema),
1482
+ z.string(),
1483
+ ]);
1484
+ export function syncListResponsePreparedStackCustomSettingsUnionFromJSON(jsonString) {
1485
+ return safeParse(jsonString, (x) => SyncListResponsePreparedStackCustomSettingsUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePreparedStackCustomSettingsUnion' from JSON`);
1486
+ }
1487
+ /** @internal */
1488
+ export const SyncListResponsePreparedStackCustom$inboundSchema = z.object({
1489
+ approval: z.record(z.string(), z.union([
1490
+ z.lazy(() => SyncListResponsePreparedStackApprovalCustom$inboundSchema),
1491
+ SyncListResponsePreparedStackApprovalCustomEnum$inboundSchema,
1492
+ ])).optional(),
1493
+ settings: z.record(z.string(), z.union([
1494
+ z.lazy(() => SyncListResponsePreparedStackSettingsCustom1$inboundSchema),
1495
+ z.lazy(() => SyncListResponsePreparedStackSettingsCustom2$inboundSchema),
1496
+ z.lazy(() => SyncListResponsePreparedStackSettingsCustom3$inboundSchema),
1497
+ z.string(),
1498
+ ])).optional(),
1499
+ name: z.string(),
1500
+ version: z.string(),
1501
+ });
1502
+ export function syncListResponsePreparedStackCustomFromJSON(jsonString) {
1503
+ return safeParse(jsonString, (x) => SyncListResponsePreparedStackCustom$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePreparedStackCustom' from JSON`);
1504
+ }
1505
+ /** @internal */
1506
+ export const SyncListResponsePreparedStackPluginsDecision$inboundSchema = z.enum(SyncListResponsePreparedStackPluginsDecision);
1507
+ /** @internal */
1508
+ export const SyncListResponsePreparedStackApprovalPlugins$inboundSchema = z.object({
1509
+ decision: SyncListResponsePreparedStackPluginsDecision$inboundSchema,
1510
+ maxRisk: z.nullable(z.string()).optional(),
1511
+ });
1512
+ export function syncListResponsePreparedStackApprovalPluginsFromJSON(jsonString) {
1513
+ return safeParse(jsonString, (x) => SyncListResponsePreparedStackApprovalPlugins$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncListResponsePreparedStackApprovalPlugins' from JSON`);
1514
+ }
1515
+ //# sourceMappingURL=synclistresponsepreparedstackapprovalplugins.js.map