@alienplatform/platform-api 3.3.29 → 3.3.31

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 (1002) hide show
  1. package/README.md +19 -16
  2. package/esm/funcs/apiKeysUpdate.d.ts +1 -2
  3. package/esm/funcs/apiKeysUpdate.d.ts.map +1 -1
  4. package/esm/funcs/apiKeysUpdate.js +8 -4
  5. package/esm/funcs/apiKeysUpdate.js.map +1 -1
  6. package/esm/funcs/cancelDeploymentCredentialRotation.d.ts +1 -1
  7. package/esm/funcs/cancelDeploymentCredentialRotation.d.ts.map +1 -1
  8. package/esm/funcs/cancelDeploymentCredentialRotation.js +8 -4
  9. package/esm/funcs/cancelDeploymentCredentialRotation.js.map +1 -1
  10. package/esm/funcs/commandsComplete.d.ts +1 -2
  11. package/esm/funcs/commandsComplete.d.ts.map +1 -1
  12. package/esm/funcs/commandsComplete.js +8 -4
  13. package/esm/funcs/commandsComplete.js.map +1 -1
  14. package/esm/funcs/commandsDispatch.d.ts +1 -2
  15. package/esm/funcs/commandsDispatch.d.ts.map +1 -1
  16. package/esm/funcs/commandsDispatch.js +8 -4
  17. package/esm/funcs/commandsDispatch.js.map +1 -1
  18. package/esm/funcs/commandsUpdate.d.ts +1 -2
  19. package/esm/funcs/commandsUpdate.d.ts.map +1 -1
  20. package/esm/funcs/commandsUpdate.js +8 -4
  21. package/esm/funcs/commandsUpdate.js.map +1 -1
  22. package/esm/funcs/containerRegistryApplyContainerRegistryManagerSnapshot.d.ts +1 -1
  23. package/esm/funcs/containerRegistryApplyContainerRegistryManagerSnapshot.d.ts.map +1 -1
  24. package/esm/funcs/containerRegistryApplyContainerRegistryManagerSnapshot.js +8 -4
  25. package/esm/funcs/containerRegistryApplyContainerRegistryManagerSnapshot.js.map +1 -1
  26. package/esm/funcs/containerRegistryCreateContainerRegistryCredential.d.ts +1 -1
  27. package/esm/funcs/containerRegistryCreateContainerRegistryCredential.d.ts.map +1 -1
  28. package/esm/funcs/containerRegistryCreateContainerRegistryCredential.js +8 -4
  29. package/esm/funcs/containerRegistryCreateContainerRegistryCredential.js.map +1 -1
  30. package/esm/funcs/containerRegistryCreateContainerRegistryRepository.d.ts +1 -1
  31. package/esm/funcs/containerRegistryCreateContainerRegistryRepository.d.ts.map +1 -1
  32. package/esm/funcs/containerRegistryCreateContainerRegistryRepository.js +8 -4
  33. package/esm/funcs/containerRegistryCreateContainerRegistryRepository.js.map +1 -1
  34. package/esm/funcs/containerRegistryPutContainerRegistry.d.ts +1 -1
  35. package/esm/funcs/containerRegistryPutContainerRegistry.d.ts.map +1 -1
  36. package/esm/funcs/containerRegistryPutContainerRegistry.js +8 -4
  37. package/esm/funcs/containerRegistryPutContainerRegistry.js.map +1 -1
  38. package/esm/funcs/continueAwsVirtualKey.d.ts +1 -1
  39. package/esm/funcs/continueAwsVirtualKey.d.ts.map +1 -1
  40. package/esm/funcs/continueAwsVirtualKey.js +8 -4
  41. package/esm/funcs/continueAwsVirtualKey.js.map +1 -1
  42. package/esm/funcs/createWorkspaceInvitation.d.ts +1 -1
  43. package/esm/funcs/createWorkspaceInvitation.d.ts.map +1 -1
  44. package/esm/funcs/createWorkspaceInvitation.js +8 -4
  45. package/esm/funcs/createWorkspaceInvitation.js.map +1 -1
  46. package/esm/funcs/createWorkspaceInviteLink.d.ts +1 -1
  47. package/esm/funcs/createWorkspaceInviteLink.d.ts.map +1 -1
  48. package/esm/funcs/createWorkspaceInviteLink.js +8 -4
  49. package/esm/funcs/createWorkspaceInviteLink.js.map +1 -1
  50. package/esm/funcs/debugSessionsUpdate.d.ts +1 -2
  51. package/esm/funcs/debugSessionsUpdate.d.ts.map +1 -1
  52. package/esm/funcs/debugSessionsUpdate.js +8 -4
  53. package/esm/funcs/debugSessionsUpdate.js.map +1 -1
  54. package/esm/funcs/decommissionAwsVirtualKey.d.ts +1 -1
  55. package/esm/funcs/decommissionAwsVirtualKey.d.ts.map +1 -1
  56. package/esm/funcs/decommissionAwsVirtualKey.js +8 -4
  57. package/esm/funcs/decommissionAwsVirtualKey.js.map +1 -1
  58. package/esm/funcs/{deploymentGroupsCreateDeploymentGroupToken.d.ts → deploymentGroupsCreateToken.d.ts} +2 -3
  59. package/esm/funcs/deploymentGroupsCreateToken.d.ts.map +1 -0
  60. package/esm/funcs/{deploymentGroupsCreateDeploymentGroupToken.js → deploymentGroupsCreateToken.js} +9 -5
  61. package/esm/funcs/deploymentGroupsCreateToken.js.map +1 -0
  62. package/esm/funcs/deploymentGroupsPutExternalAIBinding.d.ts +1 -2
  63. package/esm/funcs/deploymentGroupsPutExternalAIBinding.d.ts.map +1 -1
  64. package/esm/funcs/deploymentGroupsPutExternalAIBinding.js +8 -4
  65. package/esm/funcs/deploymentGroupsPutExternalAIBinding.js.map +1 -1
  66. package/esm/funcs/deploymentGroupsSetDeploymentGroupExternalId.d.ts +1 -2
  67. package/esm/funcs/deploymentGroupsSetDeploymentGroupExternalId.d.ts.map +1 -1
  68. package/esm/funcs/deploymentGroupsSetDeploymentGroupExternalId.js +8 -4
  69. package/esm/funcs/deploymentGroupsSetDeploymentGroupExternalId.js.map +1 -1
  70. package/esm/funcs/deploymentGroupsUpdateDeploymentGroup.d.ts +1 -2
  71. package/esm/funcs/deploymentGroupsUpdateDeploymentGroup.d.ts.map +1 -1
  72. package/esm/funcs/deploymentGroupsUpdateDeploymentGroup.js +8 -4
  73. package/esm/funcs/deploymentGroupsUpdateDeploymentGroup.js.map +1 -1
  74. package/esm/funcs/deploymentsCreateSetupRegistrationOperation.js +1 -1
  75. package/esm/funcs/deploymentsCreateSetupRegistrationOperation.js.map +1 -1
  76. package/esm/funcs/deploymentsCreateToken.d.ts +1 -2
  77. package/esm/funcs/deploymentsCreateToken.d.ts.map +1 -1
  78. package/esm/funcs/deploymentsCreateToken.js +8 -4
  79. package/esm/funcs/deploymentsCreateToken.js.map +1 -1
  80. package/esm/funcs/deploymentsDelete.d.ts +1 -2
  81. package/esm/funcs/deploymentsDelete.d.ts.map +1 -1
  82. package/esm/funcs/deploymentsDelete.js +8 -4
  83. package/esm/funcs/deploymentsDelete.js.map +1 -1
  84. package/esm/funcs/deploymentsMove.d.ts +15 -0
  85. package/esm/funcs/deploymentsMove.d.ts.map +1 -0
  86. package/esm/funcs/deploymentsMove.js +97 -0
  87. package/esm/funcs/deploymentsMove.js.map +1 -0
  88. package/esm/funcs/deploymentsPinRelease.d.ts +2 -1
  89. package/esm/funcs/deploymentsPinRelease.d.ts.map +1 -1
  90. package/esm/funcs/deploymentsPinRelease.js +8 -4
  91. package/esm/funcs/deploymentsPinRelease.js.map +1 -1
  92. package/esm/funcs/deploymentsRestoreVolume.d.ts +1 -2
  93. package/esm/funcs/deploymentsRestoreVolume.d.ts.map +1 -1
  94. package/esm/funcs/deploymentsRestoreVolume.js +8 -4
  95. package/esm/funcs/deploymentsRestoreVolume.js.map +1 -1
  96. package/esm/funcs/deploymentsSetReleaseChannel.d.ts +1 -1
  97. package/esm/funcs/deploymentsSetReleaseChannel.d.ts.map +1 -1
  98. package/esm/funcs/deploymentsSetReleaseChannel.js +8 -4
  99. package/esm/funcs/deploymentsSetReleaseChannel.js.map +1 -1
  100. package/esm/funcs/deploymentsUpdateCompute.d.ts +2 -1
  101. package/esm/funcs/deploymentsUpdateCompute.d.ts.map +1 -1
  102. package/esm/funcs/deploymentsUpdateCompute.js +8 -4
  103. package/esm/funcs/deploymentsUpdateCompute.js.map +1 -1
  104. package/esm/funcs/deploymentsUpdateEnvironmentVariables.d.ts +2 -1
  105. package/esm/funcs/deploymentsUpdateEnvironmentVariables.d.ts.map +1 -1
  106. package/esm/funcs/deploymentsUpdateEnvironmentVariables.js +8 -4
  107. package/esm/funcs/deploymentsUpdateEnvironmentVariables.js.map +1 -1
  108. package/esm/funcs/deploymentsUpdateInputs.d.ts +1 -2
  109. package/esm/funcs/deploymentsUpdateInputs.d.ts.map +1 -1
  110. package/esm/funcs/deploymentsUpdateInputs.js +8 -4
  111. package/esm/funcs/deploymentsUpdateInputs.js.map +1 -1
  112. package/esm/funcs/domainsCreateEndpoint.d.ts +1 -1
  113. package/esm/funcs/domainsCreateEndpoint.d.ts.map +1 -1
  114. package/esm/funcs/domainsCreateEndpoint.js +8 -4
  115. package/esm/funcs/domainsCreateEndpoint.js.map +1 -1
  116. package/esm/funcs/finalizeAwsVirtualKeyDeletion.d.ts +1 -1
  117. package/esm/funcs/finalizeAwsVirtualKeyDeletion.d.ts.map +1 -1
  118. package/esm/funcs/finalizeAwsVirtualKeyDeletion.js +8 -4
  119. package/esm/funcs/finalizeAwsVirtualKeyDeletion.js.map +1 -1
  120. package/esm/funcs/getDeploymentCredentialRotationValues.d.ts +1 -1
  121. package/esm/funcs/getDeploymentCredentialRotationValues.d.ts.map +1 -1
  122. package/esm/funcs/getDeploymentCredentialRotationValues.js +8 -4
  123. package/esm/funcs/getDeploymentCredentialRotationValues.js.map +1 -1
  124. package/esm/funcs/managersGenerateManagerBindingToken.d.ts +1 -2
  125. package/esm/funcs/managersGenerateManagerBindingToken.d.ts.map +1 -1
  126. package/esm/funcs/managersGenerateManagerBindingToken.js +8 -4
  127. package/esm/funcs/managersGenerateManagerBindingToken.js.map +1 -1
  128. package/esm/funcs/managersGenerateManagerToken.d.ts +1 -2
  129. package/esm/funcs/managersGenerateManagerToken.d.ts.map +1 -1
  130. package/esm/funcs/managersGenerateManagerToken.js +8 -4
  131. package/esm/funcs/managersGenerateManagerToken.js.map +1 -1
  132. package/esm/funcs/managersReportHeartbeat.d.ts +1 -2
  133. package/esm/funcs/managersReportHeartbeat.d.ts.map +1 -1
  134. package/esm/funcs/managersReportHeartbeat.js +8 -4
  135. package/esm/funcs/managersReportHeartbeat.js.map +1 -1
  136. package/esm/funcs/managersResolveGcpOAuthProvider.d.ts +1 -2
  137. package/esm/funcs/managersResolveGcpOAuthProvider.d.ts.map +1 -1
  138. package/esm/funcs/managersResolveGcpOAuthProvider.js +8 -4
  139. package/esm/funcs/managersResolveGcpOAuthProvider.js.map +1 -1
  140. package/esm/funcs/managersUpdate.d.ts +2 -1
  141. package/esm/funcs/managersUpdate.d.ts.map +1 -1
  142. package/esm/funcs/managersUpdate.js +8 -4
  143. package/esm/funcs/managersUpdate.js.map +1 -1
  144. package/esm/funcs/managersUpdateDomainBinding.d.ts +1 -2
  145. package/esm/funcs/managersUpdateDomainBinding.d.ts.map +1 -1
  146. package/esm/funcs/managersUpdateDomainBinding.js +8 -4
  147. package/esm/funcs/managersUpdateDomainBinding.js.map +1 -1
  148. package/esm/funcs/operationsApproveAccessRequest.d.ts +1 -1
  149. package/esm/funcs/operationsApproveAccessRequest.d.ts.map +1 -1
  150. package/esm/funcs/operationsApproveAccessRequest.js +8 -4
  151. package/esm/funcs/operationsApproveAccessRequest.js.map +1 -1
  152. package/esm/funcs/operationsCreateBundleUploadUrl.d.ts +1 -2
  153. package/esm/funcs/operationsCreateBundleUploadUrl.d.ts.map +1 -1
  154. package/esm/funcs/operationsCreateBundleUploadUrl.js +8 -4
  155. package/esm/funcs/operationsCreateBundleUploadUrl.js.map +1 -1
  156. package/esm/funcs/operationsDenyAccessRequest.d.ts +1 -1
  157. package/esm/funcs/operationsDenyAccessRequest.d.ts.map +1 -1
  158. package/esm/funcs/operationsDenyAccessRequest.js +8 -4
  159. package/esm/funcs/operationsDenyAccessRequest.js.map +1 -1
  160. package/esm/funcs/operationsInvoke.d.ts +1 -2
  161. package/esm/funcs/operationsInvoke.d.ts.map +1 -1
  162. package/esm/funcs/operationsInvoke.js +8 -4
  163. package/esm/funcs/operationsInvoke.js.map +1 -1
  164. package/esm/funcs/operationsPublishPlugin.d.ts +1 -2
  165. package/esm/funcs/operationsPublishPlugin.d.ts.map +1 -1
  166. package/esm/funcs/operationsPublishPlugin.js +8 -4
  167. package/esm/funcs/operationsPublishPlugin.js.map +1 -1
  168. package/esm/funcs/operationsRevokeAccessRequest.d.ts +2 -1
  169. package/esm/funcs/operationsRevokeAccessRequest.d.ts.map +1 -1
  170. package/esm/funcs/operationsRevokeAccessRequest.js +8 -4
  171. package/esm/funcs/operationsRevokeAccessRequest.js.map +1 -1
  172. package/esm/funcs/operationsSetBuiltinPlugins.d.ts +1 -2
  173. package/esm/funcs/operationsSetBuiltinPlugins.d.ts.map +1 -1
  174. package/esm/funcs/operationsSetBuiltinPlugins.js +8 -4
  175. package/esm/funcs/operationsSetBuiltinPlugins.js.map +1 -1
  176. package/esm/funcs/operationsUpdatePolicy.d.ts +1 -2
  177. package/esm/funcs/operationsUpdatePolicy.d.ts.map +1 -1
  178. package/esm/funcs/operationsUpdatePolicy.js +8 -4
  179. package/esm/funcs/operationsUpdatePolicy.js.map +1 -1
  180. package/esm/funcs/operationsVerifyCheck.d.ts +1 -2
  181. package/esm/funcs/operationsVerifyCheck.d.ts.map +1 -1
  182. package/esm/funcs/operationsVerifyCheck.js +8 -4
  183. package/esm/funcs/operationsVerifyCheck.js.map +1 -1
  184. package/esm/funcs/prepareDeploymentCredentialRotation.d.ts +1 -1
  185. package/esm/funcs/prepareDeploymentCredentialRotation.d.ts.map +1 -1
  186. package/esm/funcs/prepareDeploymentCredentialRotation.js +8 -4
  187. package/esm/funcs/prepareDeploymentCredentialRotation.js.map +1 -1
  188. package/esm/funcs/projectsConfigureAiProviderHeaders.d.ts +1 -2
  189. package/esm/funcs/projectsConfigureAiProviderHeaders.d.ts.map +1 -1
  190. package/esm/funcs/projectsConfigureAiProviderHeaders.js +8 -4
  191. package/esm/funcs/projectsConfigureAiProviderHeaders.js.map +1 -1
  192. package/esm/funcs/projectsConfigureBuckets.d.ts +1 -1
  193. package/esm/funcs/projectsConfigureBuckets.d.ts.map +1 -1
  194. package/esm/funcs/projectsConfigureBuckets.js +8 -4
  195. package/esm/funcs/projectsConfigureBuckets.js.map +1 -1
  196. package/esm/funcs/projectsConfigureDeployments.d.ts +1 -1
  197. package/esm/funcs/projectsConfigureDeployments.d.ts.map +1 -1
  198. package/esm/funcs/projectsConfigureDeployments.js +8 -4
  199. package/esm/funcs/projectsConfigureDeployments.js.map +1 -1
  200. package/esm/funcs/projectsConfigureKeys.d.ts +1 -1
  201. package/esm/funcs/projectsConfigureKeys.d.ts.map +1 -1
  202. package/esm/funcs/projectsConfigureKeys.js +8 -4
  203. package/esm/funcs/projectsConfigureKeys.js.map +1 -1
  204. package/esm/funcs/projectsConfigureModels.d.ts +1 -2
  205. package/esm/funcs/projectsConfigureModels.d.ts.map +1 -1
  206. package/esm/funcs/projectsConfigureModels.js +8 -4
  207. package/esm/funcs/projectsConfigureModels.js.map +1 -1
  208. package/esm/funcs/projectsConfigureRegistry.d.ts +1 -1
  209. package/esm/funcs/projectsConfigureRegistry.d.ts.map +1 -1
  210. package/esm/funcs/projectsConfigureRegistry.js +8 -4
  211. package/esm/funcs/projectsConfigureRegistry.js.map +1 -1
  212. package/esm/funcs/projectsConfigureRemoteSandbox.d.ts +1 -2
  213. package/esm/funcs/projectsConfigureRemoteSandbox.d.ts.map +1 -1
  214. package/esm/funcs/projectsConfigureRemoteSandbox.js +8 -4
  215. package/esm/funcs/projectsConfigureRemoteSandbox.js.map +1 -1
  216. package/esm/funcs/projectsConfigureSource.d.ts +1 -1
  217. package/esm/funcs/projectsConfigureSource.d.ts.map +1 -1
  218. package/esm/funcs/projectsConfigureSource.js +8 -4
  219. package/esm/funcs/projectsConfigureSource.js.map +1 -1
  220. package/esm/funcs/projectsPreviewModelsImpact.d.ts +2 -1
  221. package/esm/funcs/projectsPreviewModelsImpact.d.ts.map +1 -1
  222. package/esm/funcs/projectsPreviewModelsImpact.js +8 -4
  223. package/esm/funcs/projectsPreviewModelsImpact.js.map +1 -1
  224. package/esm/funcs/projectsSetCapabilities.d.ts +1 -1
  225. package/esm/funcs/projectsSetCapabilities.d.ts.map +1 -1
  226. package/esm/funcs/projectsSetCapabilities.js +8 -4
  227. package/esm/funcs/projectsSetCapabilities.js.map +1 -1
  228. package/esm/funcs/projectsUpdate.d.ts +1 -2
  229. package/esm/funcs/projectsUpdate.d.ts.map +1 -1
  230. package/esm/funcs/projectsUpdate.js +8 -4
  231. package/esm/funcs/projectsUpdate.js.map +1 -1
  232. package/esm/funcs/projectsUpdateGcpOAuthProvider.d.ts +1 -2
  233. package/esm/funcs/projectsUpdateGcpOAuthProvider.d.ts.map +1 -1
  234. package/esm/funcs/projectsUpdateGcpOAuthProvider.js +8 -4
  235. package/esm/funcs/projectsUpdateGcpOAuthProvider.js.map +1 -1
  236. package/esm/funcs/releaseChannelsCreate.d.ts +1 -1
  237. package/esm/funcs/releaseChannelsCreate.d.ts.map +1 -1
  238. package/esm/funcs/releaseChannelsCreate.js +8 -4
  239. package/esm/funcs/releaseChannelsCreate.js.map +1 -1
  240. package/esm/funcs/remoteBindingsCreateExternalAccess.d.ts +1 -2
  241. package/esm/funcs/remoteBindingsCreateExternalAccess.d.ts.map +1 -1
  242. package/esm/funcs/remoteBindingsCreateExternalAccess.js +8 -4
  243. package/esm/funcs/remoteBindingsCreateExternalAccess.js.map +1 -1
  244. package/esm/funcs/reportLogExportDelivery.d.ts +1 -1
  245. package/esm/funcs/reportLogExportDelivery.d.ts.map +1 -1
  246. package/esm/funcs/reportLogExportDelivery.js +8 -4
  247. package/esm/funcs/reportLogExportDelivery.js.map +1 -1
  248. package/esm/funcs/restoreAwsVirtualKey.d.ts +1 -1
  249. package/esm/funcs/restoreAwsVirtualKey.d.ts.map +1 -1
  250. package/esm/funcs/restoreAwsVirtualKey.js +8 -4
  251. package/esm/funcs/restoreAwsVirtualKey.js.map +1 -1
  252. package/esm/funcs/rotateAwsVirtualKeyCredential.d.ts +1 -1
  253. package/esm/funcs/rotateAwsVirtualKeyCredential.d.ts.map +1 -1
  254. package/esm/funcs/rotateAwsVirtualKeyCredential.js +8 -4
  255. package/esm/funcs/rotateAwsVirtualKeyCredential.js.map +1 -1
  256. package/esm/funcs/syncReconcile.js +1 -1
  257. package/esm/funcs/syncReconcile.js.map +1 -1
  258. package/esm/funcs/updateProjectLogExport.d.ts +1 -1
  259. package/esm/funcs/updateProjectLogExport.d.ts.map +1 -1
  260. package/esm/funcs/updateProjectLogExport.js +8 -4
  261. package/esm/funcs/updateProjectLogExport.js.map +1 -1
  262. package/esm/funcs/workspacesAddMember.d.ts +1 -1
  263. package/esm/funcs/workspacesAddMember.d.ts.map +1 -1
  264. package/esm/funcs/workspacesAddMember.js +8 -4
  265. package/esm/funcs/workspacesAddMember.js.map +1 -1
  266. package/esm/funcs/workspacesUpdate.d.ts +1 -1
  267. package/esm/funcs/workspacesUpdate.d.ts.map +1 -1
  268. package/esm/funcs/workspacesUpdate.js +8 -4
  269. package/esm/funcs/workspacesUpdate.js.map +1 -1
  270. package/esm/funcs/workspacesUpdateSettings.d.ts +1 -2
  271. package/esm/funcs/workspacesUpdateSettings.d.ts.map +1 -1
  272. package/esm/funcs/workspacesUpdateSettings.js +8 -4
  273. package/esm/funcs/workspacesUpdateSettings.js.map +1 -1
  274. package/esm/lib/config.d.ts +2 -2
  275. package/esm/lib/config.js +2 -2
  276. package/esm/models/accessrequestapprovalchannel.d.ts +11 -0
  277. package/esm/models/accessrequestapprovalchannel.d.ts.map +1 -0
  278. package/esm/models/accessrequestapprovalchannel.js +12 -0
  279. package/esm/models/accessrequestapprovalchannel.js.map +1 -0
  280. package/esm/models/createreleaserequest.d.ts +5 -0
  281. package/esm/models/createreleaserequest.d.ts.map +1 -1
  282. package/esm/models/createreleaserequest.js +1 -0
  283. package/esm/models/createreleaserequest.js.map +1 -1
  284. package/esm/models/debuggranttool.d.ts +6 -0
  285. package/esm/models/debuggranttool.d.ts.map +1 -1
  286. package/esm/models/debuggranttool.js +3 -0
  287. package/esm/models/debuggranttool.js.map +1 -1
  288. package/esm/models/deployment.d.ts +696 -1
  289. package/esm/models/deployment.d.ts.map +1 -1
  290. package/esm/models/deployment.js +386 -10
  291. package/esm/models/deployment.js.map +1 -1
  292. package/esm/models/deploymentacquireunavailablereason.d.ts +16 -0
  293. package/esm/models/deploymentacquireunavailablereason.d.ts.map +1 -0
  294. package/esm/models/deploymentacquireunavailablereason.js +17 -0
  295. package/esm/models/deploymentacquireunavailablereason.js.map +1 -0
  296. package/esm/models/deploymentdetailresponse.d.ts +696 -1
  297. package/esm/models/deploymentdetailresponse.d.ts.map +1 -1
  298. package/esm/models/deploymentdetailresponse.js +412 -9
  299. package/esm/models/deploymentdetailresponse.js.map +1 -1
  300. package/esm/models/deploymentdetailresponsependingpreparedstacktypeunion.d.ts +14 -0
  301. package/esm/models/deploymentdetailresponsependingpreparedstacktypeunion.d.ts.map +1 -1
  302. package/esm/models/deploymentdetailresponsependingpreparedstacktypeunion.js +2 -0
  303. package/esm/models/deploymentdetailresponsependingpreparedstacktypeunion.js.map +1 -1
  304. package/esm/models/{deploymentdetailresponsepreparedstackextendconditionstack.d.ts → deploymentdetailresponsepreparedstackoperationsunion.d.ts} +397 -604
  305. package/esm/models/deploymentdetailresponsepreparedstackoperationsunion.d.ts.map +1 -0
  306. package/esm/models/{deploymentdetailresponsepreparedstackextendconditionstack.js → deploymentdetailresponsepreparedstackoperationsunion.js} +328 -330
  307. package/esm/models/deploymentdetailresponsepreparedstackoperationsunion.js.map +1 -0
  308. package/esm/models/deploymentgroupmovedevent.d.ts +33 -0
  309. package/esm/models/deploymentgroupmovedevent.d.ts.map +1 -0
  310. package/esm/models/deploymentgroupmovedevent.js +32 -0
  311. package/esm/models/deploymentgroupmovedevent.js.map +1 -0
  312. package/esm/models/deploymentinfo.d.ts +4 -0
  313. package/esm/models/deploymentinfo.d.ts.map +1 -1
  314. package/esm/models/deploymentinfo.js +1 -0
  315. package/esm/models/deploymentinfo.js.map +1 -1
  316. package/esm/models/deploymentpendingpreparedstacktypeunion.d.ts +14 -0
  317. package/esm/models/deploymentpendingpreparedstacktypeunion.d.ts.map +1 -1
  318. package/esm/models/deploymentpendingpreparedstacktypeunion.js +2 -0
  319. package/esm/models/deploymentpendingpreparedstacktypeunion.js.map +1 -1
  320. package/esm/models/{deploymentpreparedstackextendconditionstack.d.ts → deploymentpreparedstackoperationsunion.d.ts} +397 -604
  321. package/esm/models/deploymentpreparedstackoperationsunion.d.ts.map +1 -0
  322. package/esm/models/{deploymentpreparedstackextendconditionstack.js → deploymentpreparedstackoperationsunion.js} +305 -309
  323. package/esm/models/deploymentpreparedstackoperationsunion.js.map +1 -0
  324. package/esm/models/deploymentstate.d.ts +2103 -65
  325. package/esm/models/deploymentstate.d.ts.map +1 -1
  326. package/esm/models/deploymentstate.js +1446 -7
  327. package/esm/models/deploymentstate.js.map +1 -1
  328. package/esm/models/{deploymentstatependingpreparedstackoverrideazurestack.d.ts → deploymentstatependingpreparedstackdefaultunion.d.ts} +478 -609
  329. package/esm/models/deploymentstatependingpreparedstackdefaultunion.d.ts.map +1 -0
  330. package/esm/models/{deploymentstatependingpreparedstackoverrideazurestack.js → deploymentstatependingpreparedstackdefaultunion.js} +339 -384
  331. package/esm/models/deploymentstatependingpreparedstackdefaultunion.js.map +1 -0
  332. package/esm/models/{deploymentstatepreparedstackprofileazurestack.d.ts → deploymentstatepreparedstackplugins.d.ts} +1917 -2193
  333. package/esm/models/deploymentstatepreparedstackplugins.d.ts.map +1 -0
  334. package/esm/models/{deploymentstatepreparedstackprofileazurestack.js → deploymentstatepreparedstackplugins.js} +1700 -1714
  335. package/esm/models/deploymentstatepreparedstackplugins.js.map +1 -0
  336. package/esm/models/event.d.ts +3 -2
  337. package/esm/models/event.d.ts.map +1 -1
  338. package/esm/models/event.js +3 -0
  339. package/esm/models/event.js.map +1 -1
  340. package/esm/models/eventlistitemresponse.d.ts +3 -2
  341. package/esm/models/eventlistitemresponse.d.ts.map +1 -1
  342. package/esm/models/eventlistitemresponse.js +3 -0
  343. package/esm/models/eventlistitemresponse.js.map +1 -1
  344. package/esm/models/index.d.ts +14 -8
  345. package/esm/models/index.d.ts.map +1 -1
  346. package/esm/models/index.js +14 -8
  347. package/esm/models/index.js.map +1 -1
  348. package/esm/models/movedeploymentrequest.d.ts +19 -0
  349. package/esm/models/movedeploymentrequest.d.ts.map +1 -0
  350. package/esm/models/movedeploymentrequest.js +14 -0
  351. package/esm/models/movedeploymentrequest.js.map +1 -0
  352. package/esm/models/movedeploymentresponse.d.ts +42 -0
  353. package/esm/models/movedeploymentresponse.d.ts.map +1 -0
  354. package/esm/models/movedeploymentresponse.js +33 -0
  355. package/esm/models/movedeploymentresponse.js.map +1 -0
  356. package/esm/models/operations/approveaccessrequest.d.ts +1 -0
  357. package/esm/models/operations/approveaccessrequest.d.ts.map +1 -1
  358. package/esm/models/operations/approveaccessrequest.js +2 -0
  359. package/esm/models/operations/approveaccessrequest.js.map +1 -1
  360. package/esm/models/operations/createaccessrequest.d.ts +1 -0
  361. package/esm/models/operations/createaccessrequest.d.ts.map +1 -1
  362. package/esm/models/operations/createaccessrequest.js +2 -0
  363. package/esm/models/operations/createaccessrequest.js.map +1 -1
  364. package/esm/models/operations/denyaccessrequest.d.ts +1 -0
  365. package/esm/models/operations/denyaccessrequest.d.ts.map +1 -1
  366. package/esm/models/operations/denyaccessrequest.js +2 -0
  367. package/esm/models/operations/denyaccessrequest.js.map +1 -1
  368. package/esm/models/operations/getaccessrequest.d.ts +1 -0
  369. package/esm/models/operations/getaccessrequest.d.ts.map +1 -1
  370. package/esm/models/operations/getaccessrequest.js +2 -0
  371. package/esm/models/operations/getaccessrequest.js.map +1 -1
  372. package/esm/models/operations/getaccessrequestcoordinates.d.ts +1 -0
  373. package/esm/models/operations/getaccessrequestcoordinates.d.ts.map +1 -1
  374. package/esm/models/operations/getaccessrequestcoordinates.js +1 -0
  375. package/esm/models/operations/getaccessrequestcoordinates.js.map +1 -1
  376. package/esm/models/operations/getlivedebuggrant.d.ts +4 -0
  377. package/esm/models/operations/getlivedebuggrant.d.ts.map +1 -1
  378. package/esm/models/operations/getlivedebuggrant.js +2 -0
  379. package/esm/models/operations/getlivedebuggrant.js.map +1 -1
  380. package/esm/models/operations/index.d.ts +1 -0
  381. package/esm/models/operations/index.d.ts.map +1 -1
  382. package/esm/models/operations/index.js +1 -0
  383. package/esm/models/operations/index.js.map +1 -1
  384. package/esm/models/operations/listaccessrequests.d.ts +1 -0
  385. package/esm/models/operations/listaccessrequests.d.ts.map +1 -1
  386. package/esm/models/operations/listaccessrequests.js +2 -0
  387. package/esm/models/operations/listaccessrequests.js.map +1 -1
  388. package/esm/models/operations/movedeployment.d.ts +24 -0
  389. package/esm/models/operations/movedeployment.d.ts.map +1 -0
  390. package/esm/models/operations/movedeployment.js +19 -0
  391. package/esm/models/operations/movedeployment.js.map +1 -0
  392. package/esm/models/operations/queueaccessrequest.d.ts +1 -0
  393. package/esm/models/operations/queueaccessrequest.d.ts.map +1 -1
  394. package/esm/models/operations/queueaccessrequest.js +2 -0
  395. package/esm/models/operations/queueaccessrequest.js.map +1 -1
  396. package/esm/models/operations/revokeaccessrequest.d.ts +1 -0
  397. package/esm/models/operations/revokeaccessrequest.d.ts.map +1 -1
  398. package/esm/models/operations/revokeaccessrequest.js +2 -0
  399. package/esm/models/operations/revokeaccessrequest.js.map +1 -1
  400. package/esm/models/operationsbundledownload.d.ts +6 -0
  401. package/esm/models/operationsbundledownload.d.ts.map +1 -1
  402. package/esm/models/operationsbundledownload.js +1 -0
  403. package/esm/models/operationsbundledownload.js.map +1 -1
  404. package/esm/models/persistimporteddeploymentrequest.d.ts +949 -4
  405. package/esm/models/persistimporteddeploymentrequest.d.ts.map +1 -1
  406. package/esm/models/persistimporteddeploymentrequest.js +411 -7
  407. package/esm/models/persistimporteddeploymentrequest.js.map +1 -1
  408. package/esm/models/{persistimporteddeploymentrequestpendingpreparedstackoverrideazureresource.d.ts → persistimporteddeploymentrequestpendingpreparedstackcustomsettingsunion.d.ts} +75 -159
  409. package/esm/models/persistimporteddeploymentrequestpendingpreparedstackcustomsettingsunion.d.ts.map +1 -0
  410. package/esm/models/{persistimporteddeploymentrequestpendingpreparedstackoverrideazureresource.js → persistimporteddeploymentrequestpendingpreparedstackcustomsettingsunion.js} +52 -55
  411. package/esm/models/persistimporteddeploymentrequestpendingpreparedstackcustomsettingsunion.js.map +1 -0
  412. package/esm/models/{persistimporteddeploymentrequestpreparedstackprofileazureresource.d.ts → persistimporteddeploymentrequestpreparedstackoverridestackconditionunion.d.ts} +659 -874
  413. package/esm/models/persistimporteddeploymentrequestpreparedstackoverridestackconditionunion.d.ts.map +1 -0
  414. package/esm/models/{persistimporteddeploymentrequestpreparedstackprofileazureresource.js → persistimporteddeploymentrequestpreparedstackoverridestackconditionunion.js} +391 -404
  415. package/esm/models/persistimporteddeploymentrequestpreparedstackoverridestackconditionunion.js.map +1 -0
  416. package/esm/models/prepareddeploymentstack.d.ts +243 -0
  417. package/esm/models/prepareddeploymentstack.d.ts.map +1 -1
  418. package/esm/models/prepareddeploymentstack.js +185 -0
  419. package/esm/models/prepareddeploymentstack.js.map +1 -1
  420. package/esm/models/syncacquireresponse.d.ts +5 -0
  421. package/esm/models/syncacquireresponse.d.ts.map +1 -1
  422. package/esm/models/syncacquireresponse.js +2 -0
  423. package/esm/models/syncacquireresponse.js.map +1 -1
  424. package/esm/models/synclistresponse.d.ts +696 -1
  425. package/esm/models/synclistresponse.d.ts.map +1 -1
  426. package/esm/models/synclistresponse.js +387 -9
  427. package/esm/models/synclistresponse.js.map +1 -1
  428. package/esm/models/synclistresponsependingpreparedstacktypeunion.d.ts +14 -0
  429. package/esm/models/synclistresponsependingpreparedstacktypeunion.d.ts.map +1 -1
  430. package/esm/models/synclistresponsependingpreparedstacktypeunion.js +2 -0
  431. package/esm/models/synclistresponsependingpreparedstacktypeunion.js.map +1 -1
  432. package/esm/models/{synclistresponsepreparedstackextendconditionstack.d.ts → synclistresponsepreparedstackoperationsunion.d.ts} +397 -604
  433. package/esm/models/synclistresponsepreparedstackoperationsunion.d.ts.map +1 -0
  434. package/esm/models/{synclistresponsepreparedstackextendconditionstack.js → synclistresponsepreparedstackoperationsunion.js} +321 -313
  435. package/esm/models/synclistresponsepreparedstackoperationsunion.js.map +1 -0
  436. package/esm/models/syncreconcilerequest.d.ts +312 -0
  437. package/esm/models/syncreconcilerequest.d.ts.map +1 -1
  438. package/esm/models/syncreconcilerequest.js +174 -0
  439. package/esm/models/syncreconcilerequest.js.map +1 -1
  440. package/esm/models/targetdeployment.d.ts +243 -0
  441. package/esm/models/targetdeployment.d.ts.map +1 -1
  442. package/esm/models/targetdeployment.js +185 -0
  443. package/esm/models/targetdeployment.js.map +1 -1
  444. package/esm/models/{targetreleasesupportedplatform.d.ts → targetreleaseoperations.d.ts} +2458 -2588
  445. package/esm/models/targetreleaseoperations.d.ts.map +1 -0
  446. package/esm/models/{targetreleasesupportedplatform.js → targetreleaseoperations.js} +1821 -1849
  447. package/esm/models/targetreleaseoperations.js.map +1 -0
  448. package/esm/models/unacquireddeployment.d.ts +16 -0
  449. package/esm/models/unacquireddeployment.d.ts.map +1 -0
  450. package/esm/models/unacquireddeployment.js +17 -0
  451. package/esm/models/unacquireddeployment.js.map +1 -0
  452. package/esm/react-query/apiKeysUpdate.d.ts +2 -2
  453. package/esm/react-query/apiKeysUpdate.d.ts.map +1 -1
  454. package/esm/react-query/apiKeysUpdate.js +2 -2
  455. package/esm/react-query/apiKeysUpdate.js.map +1 -1
  456. package/esm/react-query/cancelDeploymentCredentialRotation.d.ts +2 -1
  457. package/esm/react-query/cancelDeploymentCredentialRotation.d.ts.map +1 -1
  458. package/esm/react-query/cancelDeploymentCredentialRotation.js +2 -2
  459. package/esm/react-query/cancelDeploymentCredentialRotation.js.map +1 -1
  460. package/esm/react-query/commandsComplete.d.ts +2 -2
  461. package/esm/react-query/commandsComplete.d.ts.map +1 -1
  462. package/esm/react-query/commandsComplete.js +2 -2
  463. package/esm/react-query/commandsComplete.js.map +1 -1
  464. package/esm/react-query/commandsDispatch.d.ts +2 -2
  465. package/esm/react-query/commandsDispatch.d.ts.map +1 -1
  466. package/esm/react-query/commandsDispatch.js +2 -2
  467. package/esm/react-query/commandsDispatch.js.map +1 -1
  468. package/esm/react-query/commandsUpdate.d.ts +2 -2
  469. package/esm/react-query/commandsUpdate.d.ts.map +1 -1
  470. package/esm/react-query/commandsUpdate.js +2 -2
  471. package/esm/react-query/commandsUpdate.js.map +1 -1
  472. package/esm/react-query/containerRegistryApplyContainerRegistryManagerSnapshot.d.ts +2 -1
  473. package/esm/react-query/containerRegistryApplyContainerRegistryManagerSnapshot.d.ts.map +1 -1
  474. package/esm/react-query/containerRegistryApplyContainerRegistryManagerSnapshot.js +2 -2
  475. package/esm/react-query/containerRegistryApplyContainerRegistryManagerSnapshot.js.map +1 -1
  476. package/esm/react-query/containerRegistryCreateContainerRegistryCredential.d.ts +2 -1
  477. package/esm/react-query/containerRegistryCreateContainerRegistryCredential.d.ts.map +1 -1
  478. package/esm/react-query/containerRegistryCreateContainerRegistryCredential.js +2 -2
  479. package/esm/react-query/containerRegistryCreateContainerRegistryCredential.js.map +1 -1
  480. package/esm/react-query/containerRegistryCreateContainerRegistryRepository.d.ts +2 -1
  481. package/esm/react-query/containerRegistryCreateContainerRegistryRepository.d.ts.map +1 -1
  482. package/esm/react-query/containerRegistryCreateContainerRegistryRepository.js +2 -2
  483. package/esm/react-query/containerRegistryCreateContainerRegistryRepository.js.map +1 -1
  484. package/esm/react-query/containerRegistryPutContainerRegistry.d.ts +2 -1
  485. package/esm/react-query/containerRegistryPutContainerRegistry.d.ts.map +1 -1
  486. package/esm/react-query/containerRegistryPutContainerRegistry.js +2 -2
  487. package/esm/react-query/containerRegistryPutContainerRegistry.js.map +1 -1
  488. package/esm/react-query/continueAwsVirtualKey.d.ts +2 -1
  489. package/esm/react-query/continueAwsVirtualKey.d.ts.map +1 -1
  490. package/esm/react-query/continueAwsVirtualKey.js +2 -2
  491. package/esm/react-query/continueAwsVirtualKey.js.map +1 -1
  492. package/esm/react-query/createWorkspaceInvitation.d.ts +2 -1
  493. package/esm/react-query/createWorkspaceInvitation.d.ts.map +1 -1
  494. package/esm/react-query/createWorkspaceInvitation.js +2 -2
  495. package/esm/react-query/createWorkspaceInvitation.js.map +1 -1
  496. package/esm/react-query/createWorkspaceInviteLink.d.ts +2 -1
  497. package/esm/react-query/createWorkspaceInviteLink.d.ts.map +1 -1
  498. package/esm/react-query/createWorkspaceInviteLink.js +2 -2
  499. package/esm/react-query/createWorkspaceInviteLink.js.map +1 -1
  500. package/esm/react-query/debugSessionsUpdate.d.ts +2 -2
  501. package/esm/react-query/debugSessionsUpdate.d.ts.map +1 -1
  502. package/esm/react-query/debugSessionsUpdate.js +2 -2
  503. package/esm/react-query/debugSessionsUpdate.js.map +1 -1
  504. package/esm/react-query/decommissionAwsVirtualKey.d.ts +2 -1
  505. package/esm/react-query/decommissionAwsVirtualKey.d.ts.map +1 -1
  506. package/esm/react-query/decommissionAwsVirtualKey.js +2 -2
  507. package/esm/react-query/decommissionAwsVirtualKey.js.map +1 -1
  508. package/esm/react-query/deploymentGroupsCreateToken.d.ts +30 -0
  509. package/esm/react-query/deploymentGroupsCreateToken.d.ts.map +1 -0
  510. package/esm/react-query/deploymentGroupsCreateToken.js +42 -0
  511. package/esm/react-query/deploymentGroupsCreateToken.js.map +1 -0
  512. package/esm/react-query/deploymentGroupsPutExternalAIBinding.d.ts +2 -2
  513. package/esm/react-query/deploymentGroupsPutExternalAIBinding.d.ts.map +1 -1
  514. package/esm/react-query/deploymentGroupsPutExternalAIBinding.js +2 -2
  515. package/esm/react-query/deploymentGroupsPutExternalAIBinding.js.map +1 -1
  516. package/esm/react-query/deploymentGroupsSetDeploymentGroupExternalId.d.ts +2 -2
  517. package/esm/react-query/deploymentGroupsSetDeploymentGroupExternalId.d.ts.map +1 -1
  518. package/esm/react-query/deploymentGroupsSetDeploymentGroupExternalId.js +2 -2
  519. package/esm/react-query/deploymentGroupsSetDeploymentGroupExternalId.js.map +1 -1
  520. package/esm/react-query/deploymentGroupsUpdateDeploymentGroup.d.ts +2 -2
  521. package/esm/react-query/deploymentGroupsUpdateDeploymentGroup.d.ts.map +1 -1
  522. package/esm/react-query/deploymentGroupsUpdateDeploymentGroup.js +2 -2
  523. package/esm/react-query/deploymentGroupsUpdateDeploymentGroup.js.map +1 -1
  524. package/esm/react-query/deploymentsCreateToken.d.ts +2 -2
  525. package/esm/react-query/deploymentsCreateToken.d.ts.map +1 -1
  526. package/esm/react-query/deploymentsCreateToken.js +2 -2
  527. package/esm/react-query/deploymentsCreateToken.js.map +1 -1
  528. package/esm/react-query/deploymentsDelete.d.ts +2 -2
  529. package/esm/react-query/deploymentsDelete.d.ts.map +1 -1
  530. package/esm/react-query/deploymentsDelete.js +2 -2
  531. package/esm/react-query/deploymentsDelete.js.map +1 -1
  532. package/esm/react-query/deploymentsMove.d.ts +27 -0
  533. package/esm/react-query/deploymentsMove.d.ts.map +1 -0
  534. package/esm/react-query/deploymentsMove.js +39 -0
  535. package/esm/react-query/deploymentsMove.js.map +1 -0
  536. package/esm/react-query/deploymentsPinRelease.d.ts +3 -1
  537. package/esm/react-query/deploymentsPinRelease.d.ts.map +1 -1
  538. package/esm/react-query/deploymentsPinRelease.js +2 -2
  539. package/esm/react-query/deploymentsPinRelease.js.map +1 -1
  540. package/esm/react-query/deploymentsRestoreVolume.d.ts +2 -2
  541. package/esm/react-query/deploymentsRestoreVolume.d.ts.map +1 -1
  542. package/esm/react-query/deploymentsRestoreVolume.js +2 -2
  543. package/esm/react-query/deploymentsRestoreVolume.js.map +1 -1
  544. package/esm/react-query/deploymentsSetReleaseChannel.d.ts +2 -1
  545. package/esm/react-query/deploymentsSetReleaseChannel.d.ts.map +1 -1
  546. package/esm/react-query/deploymentsSetReleaseChannel.js +2 -2
  547. package/esm/react-query/deploymentsSetReleaseChannel.js.map +1 -1
  548. package/esm/react-query/deploymentsUpdateCompute.d.ts +3 -1
  549. package/esm/react-query/deploymentsUpdateCompute.d.ts.map +1 -1
  550. package/esm/react-query/deploymentsUpdateCompute.js +2 -2
  551. package/esm/react-query/deploymentsUpdateCompute.js.map +1 -1
  552. package/esm/react-query/deploymentsUpdateEnvironmentVariables.d.ts +3 -1
  553. package/esm/react-query/deploymentsUpdateEnvironmentVariables.d.ts.map +1 -1
  554. package/esm/react-query/deploymentsUpdateEnvironmentVariables.js +2 -2
  555. package/esm/react-query/deploymentsUpdateEnvironmentVariables.js.map +1 -1
  556. package/esm/react-query/deploymentsUpdateInputs.d.ts +2 -2
  557. package/esm/react-query/deploymentsUpdateInputs.d.ts.map +1 -1
  558. package/esm/react-query/deploymentsUpdateInputs.js +2 -2
  559. package/esm/react-query/deploymentsUpdateInputs.js.map +1 -1
  560. package/esm/react-query/domainsCreateEndpoint.d.ts +2 -1
  561. package/esm/react-query/domainsCreateEndpoint.d.ts.map +1 -1
  562. package/esm/react-query/domainsCreateEndpoint.js +2 -2
  563. package/esm/react-query/domainsCreateEndpoint.js.map +1 -1
  564. package/esm/react-query/finalizeAwsVirtualKeyDeletion.d.ts +2 -1
  565. package/esm/react-query/finalizeAwsVirtualKeyDeletion.d.ts.map +1 -1
  566. package/esm/react-query/finalizeAwsVirtualKeyDeletion.js +2 -2
  567. package/esm/react-query/finalizeAwsVirtualKeyDeletion.js.map +1 -1
  568. package/esm/react-query/getDeploymentCredentialRotationValues.d.ts +2 -1
  569. package/esm/react-query/getDeploymentCredentialRotationValues.d.ts.map +1 -1
  570. package/esm/react-query/getDeploymentCredentialRotationValues.js +2 -2
  571. package/esm/react-query/getDeploymentCredentialRotationValues.js.map +1 -1
  572. package/esm/react-query/index.d.ts +2 -1
  573. package/esm/react-query/index.d.ts.map +1 -1
  574. package/esm/react-query/index.js +2 -1
  575. package/esm/react-query/index.js.map +1 -1
  576. package/esm/react-query/managersGenerateManagerBindingToken.d.ts +2 -2
  577. package/esm/react-query/managersGenerateManagerBindingToken.d.ts.map +1 -1
  578. package/esm/react-query/managersGenerateManagerBindingToken.js +2 -2
  579. package/esm/react-query/managersGenerateManagerBindingToken.js.map +1 -1
  580. package/esm/react-query/managersGenerateManagerToken.d.ts +2 -2
  581. package/esm/react-query/managersGenerateManagerToken.d.ts.map +1 -1
  582. package/esm/react-query/managersGenerateManagerToken.js +2 -2
  583. package/esm/react-query/managersGenerateManagerToken.js.map +1 -1
  584. package/esm/react-query/managersReportHeartbeat.d.ts +2 -2
  585. package/esm/react-query/managersReportHeartbeat.d.ts.map +1 -1
  586. package/esm/react-query/managersReportHeartbeat.js +2 -2
  587. package/esm/react-query/managersReportHeartbeat.js.map +1 -1
  588. package/esm/react-query/managersResolveGcpOAuthProvider.d.ts +2 -2
  589. package/esm/react-query/managersResolveGcpOAuthProvider.d.ts.map +1 -1
  590. package/esm/react-query/managersResolveGcpOAuthProvider.js +2 -2
  591. package/esm/react-query/managersResolveGcpOAuthProvider.js.map +1 -1
  592. package/esm/react-query/managersUpdate.d.ts +3 -1
  593. package/esm/react-query/managersUpdate.d.ts.map +1 -1
  594. package/esm/react-query/managersUpdate.js +2 -2
  595. package/esm/react-query/managersUpdate.js.map +1 -1
  596. package/esm/react-query/managersUpdateDomainBinding.d.ts +2 -2
  597. package/esm/react-query/managersUpdateDomainBinding.d.ts.map +1 -1
  598. package/esm/react-query/managersUpdateDomainBinding.js +2 -2
  599. package/esm/react-query/managersUpdateDomainBinding.js.map +1 -1
  600. package/esm/react-query/operationsApproveAccessRequest.d.ts +2 -1
  601. package/esm/react-query/operationsApproveAccessRequest.d.ts.map +1 -1
  602. package/esm/react-query/operationsApproveAccessRequest.js +2 -2
  603. package/esm/react-query/operationsApproveAccessRequest.js.map +1 -1
  604. package/esm/react-query/operationsCreateBundleUploadUrl.d.ts +2 -2
  605. package/esm/react-query/operationsCreateBundleUploadUrl.d.ts.map +1 -1
  606. package/esm/react-query/operationsCreateBundleUploadUrl.js +2 -2
  607. package/esm/react-query/operationsCreateBundleUploadUrl.js.map +1 -1
  608. package/esm/react-query/operationsDenyAccessRequest.d.ts +2 -1
  609. package/esm/react-query/operationsDenyAccessRequest.d.ts.map +1 -1
  610. package/esm/react-query/operationsDenyAccessRequest.js +2 -2
  611. package/esm/react-query/operationsDenyAccessRequest.js.map +1 -1
  612. package/esm/react-query/operationsInvoke.d.ts +2 -2
  613. package/esm/react-query/operationsInvoke.d.ts.map +1 -1
  614. package/esm/react-query/operationsInvoke.js +2 -2
  615. package/esm/react-query/operationsInvoke.js.map +1 -1
  616. package/esm/react-query/operationsPublishPlugin.d.ts +2 -2
  617. package/esm/react-query/operationsPublishPlugin.d.ts.map +1 -1
  618. package/esm/react-query/operationsPublishPlugin.js +2 -2
  619. package/esm/react-query/operationsPublishPlugin.js.map +1 -1
  620. package/esm/react-query/operationsRevokeAccessRequest.d.ts +3 -1
  621. package/esm/react-query/operationsRevokeAccessRequest.d.ts.map +1 -1
  622. package/esm/react-query/operationsRevokeAccessRequest.js +2 -2
  623. package/esm/react-query/operationsRevokeAccessRequest.js.map +1 -1
  624. package/esm/react-query/operationsSetBuiltinPlugins.d.ts +2 -2
  625. package/esm/react-query/operationsSetBuiltinPlugins.d.ts.map +1 -1
  626. package/esm/react-query/operationsSetBuiltinPlugins.js +2 -2
  627. package/esm/react-query/operationsSetBuiltinPlugins.js.map +1 -1
  628. package/esm/react-query/operationsUpdatePolicy.d.ts +2 -2
  629. package/esm/react-query/operationsUpdatePolicy.d.ts.map +1 -1
  630. package/esm/react-query/operationsUpdatePolicy.js +2 -2
  631. package/esm/react-query/operationsUpdatePolicy.js.map +1 -1
  632. package/esm/react-query/operationsVerifyCheck.d.ts +2 -2
  633. package/esm/react-query/operationsVerifyCheck.d.ts.map +1 -1
  634. package/esm/react-query/operationsVerifyCheck.js +2 -2
  635. package/esm/react-query/operationsVerifyCheck.js.map +1 -1
  636. package/esm/react-query/prepareDeploymentCredentialRotation.d.ts +2 -1
  637. package/esm/react-query/prepareDeploymentCredentialRotation.d.ts.map +1 -1
  638. package/esm/react-query/prepareDeploymentCredentialRotation.js +2 -2
  639. package/esm/react-query/prepareDeploymentCredentialRotation.js.map +1 -1
  640. package/esm/react-query/projectsConfigureAiProviderHeaders.d.ts +2 -2
  641. package/esm/react-query/projectsConfigureAiProviderHeaders.d.ts.map +1 -1
  642. package/esm/react-query/projectsConfigureAiProviderHeaders.js +2 -2
  643. package/esm/react-query/projectsConfigureAiProviderHeaders.js.map +1 -1
  644. package/esm/react-query/projectsConfigureBuckets.d.ts +2 -1
  645. package/esm/react-query/projectsConfigureBuckets.d.ts.map +1 -1
  646. package/esm/react-query/projectsConfigureBuckets.js +2 -2
  647. package/esm/react-query/projectsConfigureBuckets.js.map +1 -1
  648. package/esm/react-query/projectsConfigureDeployments.d.ts +2 -1
  649. package/esm/react-query/projectsConfigureDeployments.d.ts.map +1 -1
  650. package/esm/react-query/projectsConfigureDeployments.js +2 -2
  651. package/esm/react-query/projectsConfigureDeployments.js.map +1 -1
  652. package/esm/react-query/projectsConfigureKeys.d.ts +2 -1
  653. package/esm/react-query/projectsConfigureKeys.d.ts.map +1 -1
  654. package/esm/react-query/projectsConfigureKeys.js +2 -2
  655. package/esm/react-query/projectsConfigureKeys.js.map +1 -1
  656. package/esm/react-query/projectsConfigureModels.d.ts +2 -2
  657. package/esm/react-query/projectsConfigureModels.d.ts.map +1 -1
  658. package/esm/react-query/projectsConfigureModels.js +2 -2
  659. package/esm/react-query/projectsConfigureModels.js.map +1 -1
  660. package/esm/react-query/projectsConfigureRegistry.d.ts +2 -1
  661. package/esm/react-query/projectsConfigureRegistry.d.ts.map +1 -1
  662. package/esm/react-query/projectsConfigureRegistry.js +2 -2
  663. package/esm/react-query/projectsConfigureRegistry.js.map +1 -1
  664. package/esm/react-query/projectsConfigureRemoteSandbox.d.ts +2 -2
  665. package/esm/react-query/projectsConfigureRemoteSandbox.d.ts.map +1 -1
  666. package/esm/react-query/projectsConfigureRemoteSandbox.js +2 -2
  667. package/esm/react-query/projectsConfigureRemoteSandbox.js.map +1 -1
  668. package/esm/react-query/projectsConfigureSource.d.ts +2 -1
  669. package/esm/react-query/projectsConfigureSource.d.ts.map +1 -1
  670. package/esm/react-query/projectsConfigureSource.js +2 -2
  671. package/esm/react-query/projectsConfigureSource.js.map +1 -1
  672. package/esm/react-query/projectsPreviewModelsImpact.d.ts +3 -1
  673. package/esm/react-query/projectsPreviewModelsImpact.d.ts.map +1 -1
  674. package/esm/react-query/projectsPreviewModelsImpact.js +2 -2
  675. package/esm/react-query/projectsPreviewModelsImpact.js.map +1 -1
  676. package/esm/react-query/projectsSetCapabilities.d.ts +2 -1
  677. package/esm/react-query/projectsSetCapabilities.d.ts.map +1 -1
  678. package/esm/react-query/projectsSetCapabilities.js +2 -2
  679. package/esm/react-query/projectsSetCapabilities.js.map +1 -1
  680. package/esm/react-query/projectsUpdate.d.ts +2 -2
  681. package/esm/react-query/projectsUpdate.d.ts.map +1 -1
  682. package/esm/react-query/projectsUpdate.js +2 -2
  683. package/esm/react-query/projectsUpdate.js.map +1 -1
  684. package/esm/react-query/projectsUpdateGcpOAuthProvider.d.ts +2 -2
  685. package/esm/react-query/projectsUpdateGcpOAuthProvider.d.ts.map +1 -1
  686. package/esm/react-query/projectsUpdateGcpOAuthProvider.js +2 -2
  687. package/esm/react-query/projectsUpdateGcpOAuthProvider.js.map +1 -1
  688. package/esm/react-query/releaseChannelsCreate.d.ts +2 -1
  689. package/esm/react-query/releaseChannelsCreate.d.ts.map +1 -1
  690. package/esm/react-query/releaseChannelsCreate.js +2 -2
  691. package/esm/react-query/releaseChannelsCreate.js.map +1 -1
  692. package/esm/react-query/remoteBindingsCreateExternalAccess.d.ts +2 -2
  693. package/esm/react-query/remoteBindingsCreateExternalAccess.d.ts.map +1 -1
  694. package/esm/react-query/remoteBindingsCreateExternalAccess.js +2 -2
  695. package/esm/react-query/remoteBindingsCreateExternalAccess.js.map +1 -1
  696. package/esm/react-query/reportLogExportDelivery.d.ts +2 -1
  697. package/esm/react-query/reportLogExportDelivery.d.ts.map +1 -1
  698. package/esm/react-query/reportLogExportDelivery.js +2 -2
  699. package/esm/react-query/reportLogExportDelivery.js.map +1 -1
  700. package/esm/react-query/restoreAwsVirtualKey.d.ts +2 -1
  701. package/esm/react-query/restoreAwsVirtualKey.d.ts.map +1 -1
  702. package/esm/react-query/restoreAwsVirtualKey.js +2 -2
  703. package/esm/react-query/restoreAwsVirtualKey.js.map +1 -1
  704. package/esm/react-query/rotateAwsVirtualKeyCredential.d.ts +2 -1
  705. package/esm/react-query/rotateAwsVirtualKeyCredential.d.ts.map +1 -1
  706. package/esm/react-query/rotateAwsVirtualKeyCredential.js +2 -2
  707. package/esm/react-query/rotateAwsVirtualKeyCredential.js.map +1 -1
  708. package/esm/react-query/updateProjectLogExport.d.ts +2 -1
  709. package/esm/react-query/updateProjectLogExport.d.ts.map +1 -1
  710. package/esm/react-query/updateProjectLogExport.js +2 -2
  711. package/esm/react-query/updateProjectLogExport.js.map +1 -1
  712. package/esm/react-query/workspacesAddMember.d.ts +2 -1
  713. package/esm/react-query/workspacesAddMember.d.ts.map +1 -1
  714. package/esm/react-query/workspacesAddMember.js +2 -2
  715. package/esm/react-query/workspacesAddMember.js.map +1 -1
  716. package/esm/react-query/workspacesUpdate.d.ts +2 -1
  717. package/esm/react-query/workspacesUpdate.d.ts.map +1 -1
  718. package/esm/react-query/workspacesUpdate.js +2 -2
  719. package/esm/react-query/workspacesUpdate.js.map +1 -1
  720. package/esm/react-query/workspacesUpdateSettings.d.ts +2 -2
  721. package/esm/react-query/workspacesUpdateSettings.d.ts.map +1 -1
  722. package/esm/react-query/workspacesUpdateSettings.js +2 -2
  723. package/esm/react-query/workspacesUpdateSettings.js.map +1 -1
  724. package/esm/sdk/apikeys.d.ts +4 -4
  725. package/esm/sdk/apikeys.d.ts.map +1 -1
  726. package/esm/sdk/apikeys.js +6 -6
  727. package/esm/sdk/apikeys.js.map +1 -1
  728. package/esm/sdk/commands.d.ts +6 -6
  729. package/esm/sdk/commands.d.ts.map +1 -1
  730. package/esm/sdk/commands.js +10 -10
  731. package/esm/sdk/commands.js.map +1 -1
  732. package/esm/sdk/containerregistry.d.ts +4 -4
  733. package/esm/sdk/containerregistry.d.ts.map +1 -1
  734. package/esm/sdk/containerregistry.js +8 -8
  735. package/esm/sdk/containerregistry.js.map +1 -1
  736. package/esm/sdk/debugsessions.d.ts +4 -4
  737. package/esm/sdk/debugsessions.d.ts.map +1 -1
  738. package/esm/sdk/debugsessions.js +6 -6
  739. package/esm/sdk/debugsessions.js.map +1 -1
  740. package/esm/sdk/deploymentgroups.d.ts +15 -15
  741. package/esm/sdk/deploymentgroups.d.ts.map +1 -1
  742. package/esm/sdk/deploymentgroups.js +25 -25
  743. package/esm/sdk/deploymentgroups.js.map +1 -1
  744. package/esm/sdk/deployments.d.ts +15 -11
  745. package/esm/sdk/deployments.d.ts.map +1 -1
  746. package/esm/sdk/deployments.js +27 -20
  747. package/esm/sdk/deployments.js.map +1 -1
  748. package/esm/sdk/domains.d.ts +1 -1
  749. package/esm/sdk/domains.d.ts.map +1 -1
  750. package/esm/sdk/domains.js +2 -2
  751. package/esm/sdk/domains.js.map +1 -1
  752. package/esm/sdk/dynamiccontainers.d.ts +4 -4
  753. package/esm/sdk/dynamiccontainers.js +6 -6
  754. package/esm/sdk/managers.d.ts +10 -10
  755. package/esm/sdk/managers.d.ts.map +1 -1
  756. package/esm/sdk/managers.js +18 -18
  757. package/esm/sdk/managers.js.map +1 -1
  758. package/esm/sdk/operations.d.ts +13 -13
  759. package/esm/sdk/operations.d.ts.map +1 -1
  760. package/esm/sdk/operations.js +24 -24
  761. package/esm/sdk/operations.js.map +1 -1
  762. package/esm/sdk/projects.d.ts +15 -15
  763. package/esm/sdk/projects.d.ts.map +1 -1
  764. package/esm/sdk/projects.js +28 -28
  765. package/esm/sdk/projects.js.map +1 -1
  766. package/esm/sdk/releasechannels.d.ts +1 -1
  767. package/esm/sdk/releasechannels.d.ts.map +1 -1
  768. package/esm/sdk/releasechannels.js +2 -2
  769. package/esm/sdk/releasechannels.js.map +1 -1
  770. package/esm/sdk/remotebindings.d.ts +1 -2
  771. package/esm/sdk/remotebindings.d.ts.map +1 -1
  772. package/esm/sdk/remotebindings.js +2 -2
  773. package/esm/sdk/remotebindings.js.map +1 -1
  774. package/esm/sdk/sdk.d.ts +12 -12
  775. package/esm/sdk/sdk.d.ts.map +1 -1
  776. package/esm/sdk/sdk.js +24 -24
  777. package/esm/sdk/sdk.js.map +1 -1
  778. package/esm/sdk/workspaces.d.ts +10 -10
  779. package/esm/sdk/workspaces.d.ts.map +1 -1
  780. package/esm/sdk/workspaces.js +16 -16
  781. package/esm/sdk/workspaces.js.map +1 -1
  782. package/jsr.json +1 -1
  783. package/package.json +1 -1
  784. package/src/funcs/apiKeysUpdate.ts +12 -4
  785. package/src/funcs/cancelDeploymentCredentialRotation.ts +12 -4
  786. package/src/funcs/commandsComplete.ts +12 -4
  787. package/src/funcs/commandsDispatch.ts +12 -4
  788. package/src/funcs/commandsUpdate.ts +12 -4
  789. package/src/funcs/containerRegistryApplyContainerRegistryManagerSnapshot.ts +16 -4
  790. package/src/funcs/containerRegistryCreateContainerRegistryCredential.ts +16 -4
  791. package/src/funcs/containerRegistryCreateContainerRegistryRepository.ts +16 -4
  792. package/src/funcs/containerRegistryPutContainerRegistry.ts +12 -4
  793. package/src/funcs/continueAwsVirtualKey.ts +12 -4
  794. package/src/funcs/createWorkspaceInvitation.ts +12 -4
  795. package/src/funcs/createWorkspaceInviteLink.ts +12 -4
  796. package/src/funcs/debugSessionsUpdate.ts +12 -4
  797. package/src/funcs/decommissionAwsVirtualKey.ts +12 -4
  798. package/src/funcs/{deploymentGroupsCreateDeploymentGroupToken.ts → deploymentGroupsCreateToken.ts} +17 -5
  799. package/src/funcs/deploymentGroupsPutExternalAIBinding.ts +12 -4
  800. package/src/funcs/deploymentGroupsSetDeploymentGroupExternalId.ts +14 -4
  801. package/src/funcs/deploymentGroupsUpdateDeploymentGroup.ts +16 -4
  802. package/src/funcs/deploymentsCreateSetupRegistrationOperation.ts +1 -1
  803. package/src/funcs/deploymentsCreateToken.ts +16 -4
  804. package/src/funcs/deploymentsDelete.ts +12 -4
  805. package/src/funcs/deploymentsMove.ts +191 -0
  806. package/src/funcs/deploymentsPinRelease.ts +13 -4
  807. package/src/funcs/deploymentsRestoreVolume.ts +12 -4
  808. package/src/funcs/deploymentsSetReleaseChannel.ts +12 -4
  809. package/src/funcs/deploymentsUpdateCompute.ts +17 -4
  810. package/src/funcs/deploymentsUpdateEnvironmentVariables.ts +18 -4
  811. package/src/funcs/deploymentsUpdateInputs.ts +16 -4
  812. package/src/funcs/domainsCreateEndpoint.ts +12 -4
  813. package/src/funcs/finalizeAwsVirtualKeyDeletion.ts +12 -4
  814. package/src/funcs/getDeploymentCredentialRotationValues.ts +12 -4
  815. package/src/funcs/managersGenerateManagerBindingToken.ts +12 -4
  816. package/src/funcs/managersGenerateManagerToken.ts +12 -4
  817. package/src/funcs/managersReportHeartbeat.ts +12 -4
  818. package/src/funcs/managersResolveGcpOAuthProvider.ts +17 -4
  819. package/src/funcs/managersUpdate.ts +13 -4
  820. package/src/funcs/managersUpdateDomainBinding.ts +12 -4
  821. package/src/funcs/operationsApproveAccessRequest.ts +12 -4
  822. package/src/funcs/operationsCreateBundleUploadUrl.ts +16 -4
  823. package/src/funcs/operationsDenyAccessRequest.ts +12 -4
  824. package/src/funcs/operationsInvoke.ts +12 -4
  825. package/src/funcs/operationsPublishPlugin.ts +16 -4
  826. package/src/funcs/operationsRevokeAccessRequest.ts +13 -4
  827. package/src/funcs/operationsSetBuiltinPlugins.ts +16 -4
  828. package/src/funcs/operationsUpdatePolicy.ts +16 -4
  829. package/src/funcs/operationsVerifyCheck.ts +12 -4
  830. package/src/funcs/prepareDeploymentCredentialRotation.ts +12 -4
  831. package/src/funcs/projectsConfigureAiProviderHeaders.ts +12 -4
  832. package/src/funcs/projectsConfigureBuckets.ts +12 -4
  833. package/src/funcs/projectsConfigureDeployments.ts +12 -4
  834. package/src/funcs/projectsConfigureKeys.ts +12 -4
  835. package/src/funcs/projectsConfigureModels.ts +12 -4
  836. package/src/funcs/projectsConfigureRegistry.ts +12 -4
  837. package/src/funcs/projectsConfigureRemoteSandbox.ts +16 -4
  838. package/src/funcs/projectsConfigureSource.ts +12 -4
  839. package/src/funcs/projectsPreviewModelsImpact.ts +13 -4
  840. package/src/funcs/projectsSetCapabilities.ts +12 -4
  841. package/src/funcs/projectsUpdate.ts +12 -4
  842. package/src/funcs/projectsUpdateGcpOAuthProvider.ts +16 -4
  843. package/src/funcs/releaseChannelsCreate.ts +12 -4
  844. package/src/funcs/remoteBindingsCreateExternalAccess.ts +14 -4
  845. package/src/funcs/reportLogExportDelivery.ts +12 -4
  846. package/src/funcs/restoreAwsVirtualKey.ts +12 -4
  847. package/src/funcs/rotateAwsVirtualKeyCredential.ts +12 -4
  848. package/src/funcs/syncReconcile.ts +1 -1
  849. package/src/funcs/updateProjectLogExport.ts +12 -4
  850. package/src/funcs/workspacesAddMember.ts +12 -4
  851. package/src/funcs/workspacesUpdate.ts +12 -4
  852. package/src/funcs/workspacesUpdateSettings.ts +16 -4
  853. package/src/lib/config.ts +2 -2
  854. package/src/models/accessrequestapprovalchannel.ts +20 -0
  855. package/src/models/createreleaserequest.ts +6 -0
  856. package/src/models/debuggranttool.ts +6 -0
  857. package/src/models/deployment.ts +2263 -695
  858. package/src/models/deploymentacquireunavailablereason.ts +25 -0
  859. package/src/models/deploymentdetailresponse.ts +2448 -765
  860. package/src/models/deploymentdetailresponsependingpreparedstacktypeunion.ts +16 -0
  861. package/src/models/{deploymentdetailresponsepreparedstackextendconditionstack.ts → deploymentdetailresponsepreparedstackoperationsunion.ts} +2094 -2304
  862. package/src/models/deploymentgroupmovedevent.ts +81 -0
  863. package/src/models/deploymentinfo.ts +5 -0
  864. package/src/models/deploymentpendingpreparedstacktypeunion.ts +16 -0
  865. package/src/models/{deploymentpreparedstackextendconditionstack.ts → deploymentpreparedstackoperationsunion.ts} +2176 -2417
  866. package/src/models/deploymentstate.ts +4808 -95
  867. package/src/models/{deploymentstatependingpreparedstackoverrideazurestack.ts → deploymentstatependingpreparedstackdefaultunion.ts} +3806 -4057
  868. package/src/models/{deploymentstatepreparedstackprofileazurestack.ts → deploymentstatepreparedstackplugins.ts} +5682 -6190
  869. package/src/models/event.ts +8 -0
  870. package/src/models/eventlistitemresponse.ts +8 -0
  871. package/src/models/index.ts +14 -8
  872. package/src/models/movedeploymentrequest.ts +39 -0
  873. package/src/models/movedeploymentresponse.ts +74 -0
  874. package/src/models/operations/approveaccessrequest.ts +3 -0
  875. package/src/models/operations/createaccessrequest.ts +3 -0
  876. package/src/models/operations/denyaccessrequest.ts +3 -0
  877. package/src/models/operations/getaccessrequest.ts +3 -0
  878. package/src/models/operations/getaccessrequestcoordinates.ts +2 -0
  879. package/src/models/operations/getlivedebuggrant.ts +6 -0
  880. package/src/models/operations/index.ts +1 -0
  881. package/src/models/operations/listaccessrequests.ts +3 -0
  882. package/src/models/operations/movedeployment.ts +49 -0
  883. package/src/models/operations/queueaccessrequest.ts +3 -0
  884. package/src/models/operations/revokeaccessrequest.ts +3 -0
  885. package/src/models/operationsbundledownload.ts +5 -0
  886. package/src/models/persistimporteddeploymentrequest.ts +2537 -525
  887. package/src/models/{persistimporteddeploymentrequestpendingpreparedstackoverrideazureresource.ts → persistimporteddeploymentrequestpendingpreparedstackcustomsettingsunion.ts} +170 -250
  888. package/src/models/{persistimporteddeploymentrequestpreparedstackprofileazureresource.ts → persistimporteddeploymentrequestpreparedstackoverridestackconditionunion.ts} +3119 -3390
  889. package/src/models/prepareddeploymentstack.ts +642 -0
  890. package/src/models/syncacquireresponse.ts +9 -0
  891. package/src/models/synclistresponse.ts +2445 -808
  892. package/src/models/synclistresponsependingpreparedstacktypeunion.ts +16 -0
  893. package/src/models/{synclistresponsepreparedstackextendconditionstack.ts → synclistresponsepreparedstackoperationsunion.ts} +2066 -2312
  894. package/src/models/syncreconcilerequest.ts +679 -0
  895. package/src/models/targetdeployment.ts +605 -0
  896. package/src/models/{targetreleasesupportedplatform.ts → targetreleaseoperations.ts} +6170 -5736
  897. package/src/models/unacquireddeployment.ts +42 -0
  898. package/src/react-query/apiKeysUpdate.ts +6 -4
  899. package/src/react-query/cancelDeploymentCredentialRotation.ts +6 -3
  900. package/src/react-query/commandsComplete.ts +6 -4
  901. package/src/react-query/commandsDispatch.ts +6 -4
  902. package/src/react-query/commandsUpdate.ts +6 -4
  903. package/src/react-query/containerRegistryApplyContainerRegistryManagerSnapshot.ts +8 -3
  904. package/src/react-query/containerRegistryCreateContainerRegistryCredential.ts +8 -3
  905. package/src/react-query/containerRegistryCreateContainerRegistryRepository.ts +8 -3
  906. package/src/react-query/containerRegistryPutContainerRegistry.ts +6 -3
  907. package/src/react-query/continueAwsVirtualKey.ts +6 -3
  908. package/src/react-query/createWorkspaceInvitation.ts +6 -3
  909. package/src/react-query/createWorkspaceInviteLink.ts +6 -3
  910. package/src/react-query/debugSessionsUpdate.ts +6 -4
  911. package/src/react-query/decommissionAwsVirtualKey.ts +6 -3
  912. package/src/react-query/{deploymentGroupsCreateDeploymentGroupToken.ts → deploymentGroupsCreateToken.ts} +29 -29
  913. package/src/react-query/deploymentGroupsPutExternalAIBinding.ts +6 -4
  914. package/src/react-query/deploymentGroupsSetDeploymentGroupExternalId.ts +7 -4
  915. package/src/react-query/deploymentGroupsUpdateDeploymentGroup.ts +8 -4
  916. package/src/react-query/deploymentsCreateToken.ts +8 -4
  917. package/src/react-query/deploymentsDelete.ts +6 -4
  918. package/src/react-query/deploymentsMove.ts +110 -0
  919. package/src/react-query/deploymentsPinRelease.ts +7 -3
  920. package/src/react-query/deploymentsRestoreVolume.ts +6 -4
  921. package/src/react-query/deploymentsSetReleaseChannel.ts +6 -3
  922. package/src/react-query/deploymentsUpdateCompute.ts +9 -3
  923. package/src/react-query/deploymentsUpdateEnvironmentVariables.ts +9 -3
  924. package/src/react-query/deploymentsUpdateInputs.ts +8 -4
  925. package/src/react-query/domainsCreateEndpoint.ts +6 -3
  926. package/src/react-query/finalizeAwsVirtualKeyDeletion.ts +6 -3
  927. package/src/react-query/getDeploymentCredentialRotationValues.ts +6 -3
  928. package/src/react-query/index.ts +2 -1
  929. package/src/react-query/managersGenerateManagerBindingToken.ts +6 -4
  930. package/src/react-query/managersGenerateManagerToken.ts +6 -4
  931. package/src/react-query/managersReportHeartbeat.ts +6 -4
  932. package/src/react-query/managersResolveGcpOAuthProvider.ts +8 -4
  933. package/src/react-query/managersUpdate.ts +7 -3
  934. package/src/react-query/managersUpdateDomainBinding.ts +6 -4
  935. package/src/react-query/operationsApproveAccessRequest.ts +6 -3
  936. package/src/react-query/operationsCreateBundleUploadUrl.ts +8 -4
  937. package/src/react-query/operationsDenyAccessRequest.ts +6 -3
  938. package/src/react-query/operationsInvoke.ts +6 -4
  939. package/src/react-query/operationsPublishPlugin.ts +8 -4
  940. package/src/react-query/operationsRevokeAccessRequest.ts +7 -3
  941. package/src/react-query/operationsSetBuiltinPlugins.ts +8 -4
  942. package/src/react-query/operationsUpdatePolicy.ts +8 -4
  943. package/src/react-query/operationsVerifyCheck.ts +6 -4
  944. package/src/react-query/prepareDeploymentCredentialRotation.ts +6 -3
  945. package/src/react-query/projectsConfigureAiProviderHeaders.ts +6 -4
  946. package/src/react-query/projectsConfigureBuckets.ts +6 -3
  947. package/src/react-query/projectsConfigureDeployments.ts +6 -3
  948. package/src/react-query/projectsConfigureKeys.ts +6 -3
  949. package/src/react-query/projectsConfigureModels.ts +6 -4
  950. package/src/react-query/projectsConfigureRegistry.ts +6 -3
  951. package/src/react-query/projectsConfigureRemoteSandbox.ts +8 -4
  952. package/src/react-query/projectsConfigureSource.ts +6 -3
  953. package/src/react-query/projectsPreviewModelsImpact.ts +7 -3
  954. package/src/react-query/projectsSetCapabilities.ts +6 -3
  955. package/src/react-query/projectsUpdate.ts +6 -4
  956. package/src/react-query/projectsUpdateGcpOAuthProvider.ts +8 -4
  957. package/src/react-query/releaseChannelsCreate.ts +6 -3
  958. package/src/react-query/remoteBindingsCreateExternalAccess.ts +7 -4
  959. package/src/react-query/reportLogExportDelivery.ts +6 -3
  960. package/src/react-query/restoreAwsVirtualKey.ts +6 -3
  961. package/src/react-query/rotateAwsVirtualKeyCredential.ts +6 -3
  962. package/src/react-query/updateProjectLogExport.ts +6 -3
  963. package/src/react-query/workspacesAddMember.ts +6 -3
  964. package/src/react-query/workspacesUpdate.ts +6 -3
  965. package/src/react-query/workspacesUpdateSettings.ts +8 -4
  966. package/src/sdk/apikeys.ts +13 -11
  967. package/src/sdk/commands.ts +19 -13
  968. package/src/sdk/containerregistry.ts +22 -8
  969. package/src/sdk/debugsessions.ts +11 -9
  970. package/src/sdk/deploymentgroups.ts +51 -38
  971. package/src/sdk/deployments.ts +66 -25
  972. package/src/sdk/domains.ts +4 -2
  973. package/src/sdk/dynamiccontainers.ts +8 -8
  974. package/src/sdk/managers.ts +39 -22
  975. package/src/sdk/operations.ts +56 -28
  976. package/src/sdk/projects.ts +61 -33
  977. package/src/sdk/releasechannels.ts +4 -2
  978. package/src/sdk/remotebindings.ts +5 -3
  979. package/src/sdk/sdk.ts +52 -24
  980. package/src/sdk/workspaces.ts +33 -25
  981. package/esm/funcs/deploymentGroupsCreateDeploymentGroupToken.d.ts.map +0 -1
  982. package/esm/funcs/deploymentGroupsCreateDeploymentGroupToken.js.map +0 -1
  983. package/esm/models/deploymentdetailresponsepreparedstackextendconditionstack.d.ts.map +0 -1
  984. package/esm/models/deploymentdetailresponsepreparedstackextendconditionstack.js.map +0 -1
  985. package/esm/models/deploymentpreparedstackextendconditionstack.d.ts.map +0 -1
  986. package/esm/models/deploymentpreparedstackextendconditionstack.js.map +0 -1
  987. package/esm/models/deploymentstatependingpreparedstackoverrideazurestack.d.ts.map +0 -1
  988. package/esm/models/deploymentstatependingpreparedstackoverrideazurestack.js.map +0 -1
  989. package/esm/models/deploymentstatepreparedstackprofileazurestack.d.ts.map +0 -1
  990. package/esm/models/deploymentstatepreparedstackprofileazurestack.js.map +0 -1
  991. package/esm/models/persistimporteddeploymentrequestpendingpreparedstackoverrideazureresource.d.ts.map +0 -1
  992. package/esm/models/persistimporteddeploymentrequestpendingpreparedstackoverrideazureresource.js.map +0 -1
  993. package/esm/models/persistimporteddeploymentrequestpreparedstackprofileazureresource.d.ts.map +0 -1
  994. package/esm/models/persistimporteddeploymentrequestpreparedstackprofileazureresource.js.map +0 -1
  995. package/esm/models/synclistresponsepreparedstackextendconditionstack.d.ts.map +0 -1
  996. package/esm/models/synclistresponsepreparedstackextendconditionstack.js.map +0 -1
  997. package/esm/models/targetreleasesupportedplatform.d.ts.map +0 -1
  998. package/esm/models/targetreleasesupportedplatform.js.map +0 -1
  999. package/esm/react-query/deploymentGroupsCreateDeploymentGroupToken.d.ts +0 -30
  1000. package/esm/react-query/deploymentGroupsCreateDeploymentGroupToken.d.ts.map +0 -1
  1001. package/esm/react-query/deploymentGroupsCreateDeploymentGroupToken.js +0 -46
  1002. package/esm/react-query/deploymentGroupsCreateDeploymentGroupToken.js.map +0 -1
@@ -4,8 +4,32 @@
4
4
  import * as z from "zod/v4";
5
5
  import { remap as remap$ } from "../lib/primitives.js";
6
6
  import { collectExtraKeys as collectExtraKeys$, safeParse, } from "../lib/schemas.js";
7
- import { DeploymentStateDeployerSecret$inboundSchema, DeploymentStateDeployerSecret$outboundSchema, DeploymentStateInitialSetupAuthority$inboundSchema, DeploymentStateInitialSetupAuthority$outboundSchema, } from "./deploymentstatependingpreparedstackoverrideazurestack.js";
8
- import { DeploymentStatePendingPreparedStackUnion$inboundSchema, DeploymentStatePendingPreparedStackUnion$outboundSchema, DeploymentStatePreparedStackInput$inboundSchema, DeploymentStatePreparedStackInput$outboundSchema, DeploymentStatePreparedStackManagementUnion$inboundSchema, DeploymentStatePreparedStackManagementUnion$outboundSchema, DeploymentStatePreparedStackProfileAw$inboundSchema, DeploymentStatePreparedStackProfileAw$outboundSchema, DeploymentStatePreparedStackProfileAzureResource$inboundSchema, DeploymentStatePreparedStackProfileAzureResource$outboundSchema, DeploymentStatePreparedStackProfileAzureStack$inboundSchema, DeploymentStatePreparedStackProfileAzureStack$outboundSchema, } from "./deploymentstatepreparedstackprofileazurestack.js";
7
+ import { DeploymentStateDeployerSecret$inboundSchema, DeploymentStateDeployerSecret$outboundSchema, DeploymentStateInitialSetupAuthority$inboundSchema, DeploymentStateInitialSetupAuthority$outboundSchema, } from "./deploymentstatependingpreparedstackdefaultunion.js";
8
+ import { DeploymentStatePendingPreparedStackUnion$inboundSchema, DeploymentStatePendingPreparedStackUnion$outboundSchema, DeploymentStatePreparedStackCustom$inboundSchema, DeploymentStatePreparedStackCustom$outboundSchema, DeploymentStatePreparedStackInput$inboundSchema, DeploymentStatePreparedStackInput$outboundSchema, DeploymentStatePreparedStackPlugins$inboundSchema, DeploymentStatePreparedStackPlugins$outboundSchema, } from "./deploymentstatepreparedstackplugins.js";
9
+ export const DeploymentStatePreparedStackManagementEnum = {
10
+ Auto: "auto",
11
+ };
12
+ /**
13
+ * IAM effect. Defaults to Allow.
14
+ */
15
+ export const DeploymentStatePreparedStackOverrideEffect = {
16
+ Allow: "Allow",
17
+ Deny: "Deny",
18
+ };
19
+ /**
20
+ * IAM effect. Defaults to Allow.
21
+ */
22
+ export const DeploymentStatePreparedStackExtendEffect = {
23
+ Allow: "Allow",
24
+ Deny: "Deny",
25
+ };
26
+ /**
27
+ * IAM effect. Defaults to Allow.
28
+ */
29
+ export const DeploymentStatePreparedStackProfileEffect = {
30
+ Allow: "Allow",
31
+ Deny: "Deny",
32
+ };
9
33
  /**
10
34
  * Describes the lifecycle of a resource within a stack, determining how it's managed and deployed.
11
35
  */
@@ -156,72 +180,218 @@ export const TargetReleaseProvidedBy = {
156
180
  Developer: "developer",
157
181
  Deployer: "deployer",
158
182
  };
159
- export const TargetReleaseManagementEnum = {
160
- Auto: "auto",
161
- };
162
- /**
163
- * IAM effect. Defaults to Allow.
164
- */
165
- export const TargetReleaseOverrideEffect = {
166
- Allow: "Allow",
167
- Deny: "Deny",
168
- };
169
183
  /**
170
- * IAM effect. Defaults to Allow.
184
+ * Whether matching operations run without approval.
171
185
  */
172
- export const TargetReleaseExtendEffect = {
173
- Allow: "Allow",
174
- Deny: "Deny",
186
+ export const TargetReleaseCustomDecision = {
187
+ Auto: "auto",
188
+ Manual: "manual",
175
189
  };
176
190
  /**
177
- * IAM effect. Defaults to Allow.
191
+ * Whether matching operations run without approval.
178
192
  */
179
- export const TargetReleaseProfileEffect = {
180
- Allow: "Allow",
181
- Deny: "Deny",
193
+ export const TargetReleaseApprovalCustomEnum = {
194
+ Auto: "auto",
195
+ Manual: "manual",
182
196
  };
183
197
  /**
184
- * Describes the lifecycle of a resource within a stack, determining how it's managed and deployed.
198
+ * Whether matching operations run without approval.
185
199
  */
186
- export const TargetReleaseLifecycle = {
187
- Frozen: "frozen",
188
- Live: "live",
200
+ export const TargetReleasePluginsDecision = {
201
+ Auto: "auto",
202
+ Manual: "manual",
189
203
  };
190
204
  /**
191
- * Represents the target cloud platform.
205
+ * Whether matching operations run without approval.
192
206
  */
193
- export const TargetReleaseSupportedPlatform = {
194
- Aws: "aws",
195
- Gcp: "gcp",
196
- Azure: "azure",
197
- Kubernetes: "kubernetes",
198
- Machines: "machines",
199
- Local: "local",
200
- Test: "test",
207
+ export const TargetReleaseApprovalPluginsEnum = {
208
+ Auto: "auto",
209
+ Manual: "manual",
201
210
  };
202
211
  /** @internal */
203
- export const DeploymentStatePreparedStackProfileAzureBinding$inboundSchema = z
212
+ export const DeploymentStatePreparedStackOperations$inboundSchema = z.object({
213
+ custom: z.array(DeploymentStatePreparedStackCustom$inboundSchema).optional(),
214
+ plugins: z.record(z.string(), DeploymentStatePreparedStackPlugins$inboundSchema).optional(),
215
+ });
216
+ /** @internal */
217
+ export const DeploymentStatePreparedStackOperations$outboundSchema = z.object({
218
+ custom: z.array(DeploymentStatePreparedStackCustom$outboundSchema).optional(),
219
+ plugins: z.record(z.string(), DeploymentStatePreparedStackPlugins$outboundSchema).optional(),
220
+ });
221
+ export function deploymentStatePreparedStackOperationsToJSON(deploymentStatePreparedStackOperations) {
222
+ return JSON.stringify(DeploymentStatePreparedStackOperations$outboundSchema.parse(deploymentStatePreparedStackOperations));
223
+ }
224
+ export function deploymentStatePreparedStackOperationsFromJSON(jsonString) {
225
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackOperations$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackOperations' from JSON`);
226
+ }
227
+ /** @internal */
228
+ export const DeploymentStatePreparedStackOperationsUnion$inboundSchema = z.union([
229
+ z.lazy(() => DeploymentStatePreparedStackOperations$inboundSchema),
230
+ z.string(),
231
+ ]);
232
+ /** @internal */
233
+ export const DeploymentStatePreparedStackOperationsUnion$outboundSchema = z.union([
234
+ z.lazy(() => DeploymentStatePreparedStackOperations$outboundSchema),
235
+ z.string(),
236
+ ]);
237
+ export function deploymentStatePreparedStackOperationsUnionToJSON(deploymentStatePreparedStackOperationsUnion) {
238
+ return JSON.stringify(DeploymentStatePreparedStackOperationsUnion$outboundSchema.parse(deploymentStatePreparedStackOperationsUnion));
239
+ }
240
+ export function deploymentStatePreparedStackOperationsUnionFromJSON(jsonString) {
241
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackOperationsUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackOperationsUnion' from JSON`);
242
+ }
243
+ /** @internal */
244
+ export const DeploymentStatePreparedStackManagementEnum$inboundSchema = z.enum(DeploymentStatePreparedStackManagementEnum);
245
+ /** @internal */
246
+ export const DeploymentStatePreparedStackManagementEnum$outboundSchema = DeploymentStatePreparedStackManagementEnum$inboundSchema;
247
+ /** @internal */
248
+ export const DeploymentStatePreparedStackOverrideAwResource$inboundSchema = z.object({
249
+ condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string()))).optional(),
250
+ notResources: z.array(z.string()).optional(),
251
+ resources: z.array(z.string()),
252
+ });
253
+ /** @internal */
254
+ export const DeploymentStatePreparedStackOverrideAwResource$outboundSchema = z.object({
255
+ condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string()))).optional(),
256
+ notResources: z.array(z.string()).optional(),
257
+ resources: z.array(z.string()),
258
+ });
259
+ export function deploymentStatePreparedStackOverrideAwResourceToJSON(deploymentStatePreparedStackOverrideAwResource) {
260
+ return JSON.stringify(DeploymentStatePreparedStackOverrideAwResource$outboundSchema.parse(deploymentStatePreparedStackOverrideAwResource));
261
+ }
262
+ export function deploymentStatePreparedStackOverrideAwResourceFromJSON(jsonString) {
263
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackOverrideAwResource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackOverrideAwResource' from JSON`);
264
+ }
265
+ /** @internal */
266
+ export const DeploymentStatePreparedStackOverrideAwStack$inboundSchema = z.object({
267
+ condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string()))).optional(),
268
+ notResources: z.array(z.string()).optional(),
269
+ resources: z.array(z.string()),
270
+ });
271
+ /** @internal */
272
+ export const DeploymentStatePreparedStackOverrideAwStack$outboundSchema = z.object({
273
+ condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string()))).optional(),
274
+ notResources: z.array(z.string()).optional(),
275
+ resources: z.array(z.string()),
276
+ });
277
+ export function deploymentStatePreparedStackOverrideAwStackToJSON(deploymentStatePreparedStackOverrideAwStack) {
278
+ return JSON.stringify(DeploymentStatePreparedStackOverrideAwStack$outboundSchema.parse(deploymentStatePreparedStackOverrideAwStack));
279
+ }
280
+ export function deploymentStatePreparedStackOverrideAwStackFromJSON(jsonString) {
281
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackOverrideAwStack$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackOverrideAwStack' from JSON`);
282
+ }
283
+ /** @internal */
284
+ export const DeploymentStatePreparedStackOverrideAwBinding$inboundSchema = z.object({
285
+ resource: z.lazy(() => DeploymentStatePreparedStackOverrideAwResource$inboundSchema).optional(),
286
+ stack: z.lazy(() => DeploymentStatePreparedStackOverrideAwStack$inboundSchema).optional(),
287
+ });
288
+ /** @internal */
289
+ export const DeploymentStatePreparedStackOverrideAwBinding$outboundSchema = z.object({
290
+ resource: z.lazy(() => DeploymentStatePreparedStackOverrideAwResource$outboundSchema).optional(),
291
+ stack: z.lazy(() => DeploymentStatePreparedStackOverrideAwStack$outboundSchema).optional(),
292
+ });
293
+ export function deploymentStatePreparedStackOverrideAwBindingToJSON(deploymentStatePreparedStackOverrideAwBinding) {
294
+ return JSON.stringify(DeploymentStatePreparedStackOverrideAwBinding$outboundSchema.parse(deploymentStatePreparedStackOverrideAwBinding));
295
+ }
296
+ export function deploymentStatePreparedStackOverrideAwBindingFromJSON(jsonString) {
297
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackOverrideAwBinding$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackOverrideAwBinding' from JSON`);
298
+ }
299
+ /** @internal */
300
+ export const DeploymentStatePreparedStackOverrideEffect$inboundSchema = z.enum(DeploymentStatePreparedStackOverrideEffect);
301
+ /** @internal */
302
+ export const DeploymentStatePreparedStackOverrideEffect$outboundSchema = DeploymentStatePreparedStackOverrideEffect$inboundSchema;
303
+ /** @internal */
304
+ export const DeploymentStatePreparedStackOverrideAwGrant$inboundSchema = z.object({
305
+ actions: z.nullable(z.array(z.string())).optional(),
306
+ dataActions: z.nullable(z.array(z.string())).optional(),
307
+ permissions: z.nullable(z.array(z.string())).optional(),
308
+ predefinedRoles: z.nullable(z.array(z.string())).optional(),
309
+ residualPermissions: z.nullable(z.array(z.string())).optional(),
310
+ });
311
+ /** @internal */
312
+ export const DeploymentStatePreparedStackOverrideAwGrant$outboundSchema = z.object({
313
+ actions: z.nullable(z.array(z.string())).optional(),
314
+ dataActions: z.nullable(z.array(z.string())).optional(),
315
+ permissions: z.nullable(z.array(z.string())).optional(),
316
+ predefinedRoles: z.nullable(z.array(z.string())).optional(),
317
+ residualPermissions: z.nullable(z.array(z.string())).optional(),
318
+ });
319
+ export function deploymentStatePreparedStackOverrideAwGrantToJSON(deploymentStatePreparedStackOverrideAwGrant) {
320
+ return JSON.stringify(DeploymentStatePreparedStackOverrideAwGrant$outboundSchema.parse(deploymentStatePreparedStackOverrideAwGrant));
321
+ }
322
+ export function deploymentStatePreparedStackOverrideAwGrantFromJSON(jsonString) {
323
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackOverrideAwGrant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackOverrideAwGrant' from JSON`);
324
+ }
325
+ /** @internal */
326
+ export const DeploymentStatePreparedStackOverrideAw$inboundSchema = z.object({
327
+ binding: z.lazy(() => DeploymentStatePreparedStackOverrideAwBinding$inboundSchema),
328
+ description: z.nullable(z.string()).optional(),
329
+ effect: DeploymentStatePreparedStackOverrideEffect$inboundSchema.optional(),
330
+ grant: z.lazy(() => DeploymentStatePreparedStackOverrideAwGrant$inboundSchema),
331
+ label: z.nullable(z.string()).optional(),
332
+ });
333
+ /** @internal */
334
+ export const DeploymentStatePreparedStackOverrideAw$outboundSchema = z.object({
335
+ binding: z.lazy(() => DeploymentStatePreparedStackOverrideAwBinding$outboundSchema),
336
+ description: z.nullable(z.string()).optional(),
337
+ effect: DeploymentStatePreparedStackOverrideEffect$outboundSchema.optional(),
338
+ grant: z.lazy(() => DeploymentStatePreparedStackOverrideAwGrant$outboundSchema),
339
+ label: z.nullable(z.string()).optional(),
340
+ });
341
+ export function deploymentStatePreparedStackOverrideAwToJSON(deploymentStatePreparedStackOverrideAw) {
342
+ return JSON.stringify(DeploymentStatePreparedStackOverrideAw$outboundSchema.parse(deploymentStatePreparedStackOverrideAw));
343
+ }
344
+ export function deploymentStatePreparedStackOverrideAwFromJSON(jsonString) {
345
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackOverrideAw$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackOverrideAw' from JSON`);
346
+ }
347
+ /** @internal */
348
+ export const DeploymentStatePreparedStackOverrideAzureResource$inboundSchema = z
204
349
  .object({
205
- resource: DeploymentStatePreparedStackProfileAzureResource$inboundSchema
206
- .optional(),
207
- stack: DeploymentStatePreparedStackProfileAzureStack$inboundSchema
208
- .optional(),
350
+ scope: z.string(),
209
351
  });
210
352
  /** @internal */
211
- export const DeploymentStatePreparedStackProfileAzureBinding$outboundSchema = z.object({
212
- resource: DeploymentStatePreparedStackProfileAzureResource$outboundSchema
213
- .optional(),
214
- stack: DeploymentStatePreparedStackProfileAzureStack$outboundSchema
215
- .optional(),
353
+ export const DeploymentStatePreparedStackOverrideAzureResource$outboundSchema = z.object({
354
+ scope: z.string(),
216
355
  });
217
- export function deploymentStatePreparedStackProfileAzureBindingToJSON(deploymentStatePreparedStackProfileAzureBinding) {
218
- return JSON.stringify(DeploymentStatePreparedStackProfileAzureBinding$outboundSchema.parse(deploymentStatePreparedStackProfileAzureBinding));
356
+ export function deploymentStatePreparedStackOverrideAzureResourceToJSON(deploymentStatePreparedStackOverrideAzureResource) {
357
+ return JSON.stringify(DeploymentStatePreparedStackOverrideAzureResource$outboundSchema.parse(deploymentStatePreparedStackOverrideAzureResource));
219
358
  }
220
- export function deploymentStatePreparedStackProfileAzureBindingFromJSON(jsonString) {
221
- return safeParse(jsonString, (x) => DeploymentStatePreparedStackProfileAzureBinding$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackProfileAzureBinding' from JSON`);
359
+ export function deploymentStatePreparedStackOverrideAzureResourceFromJSON(jsonString) {
360
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackOverrideAzureResource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackOverrideAzureResource' from JSON`);
222
361
  }
223
362
  /** @internal */
224
- export const DeploymentStatePreparedStackProfileAzureGrant$inboundSchema = z.object({
363
+ export const DeploymentStatePreparedStackOverrideAzureStack$inboundSchema = z.object({
364
+ scope: z.string(),
365
+ });
366
+ /** @internal */
367
+ export const DeploymentStatePreparedStackOverrideAzureStack$outboundSchema = z.object({
368
+ scope: z.string(),
369
+ });
370
+ export function deploymentStatePreparedStackOverrideAzureStackToJSON(deploymentStatePreparedStackOverrideAzureStack) {
371
+ return JSON.stringify(DeploymentStatePreparedStackOverrideAzureStack$outboundSchema.parse(deploymentStatePreparedStackOverrideAzureStack));
372
+ }
373
+ export function deploymentStatePreparedStackOverrideAzureStackFromJSON(jsonString) {
374
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackOverrideAzureStack$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackOverrideAzureStack' from JSON`);
375
+ }
376
+ /** @internal */
377
+ export const DeploymentStatePreparedStackOverrideAzureBinding$inboundSchema = z
378
+ .object({
379
+ resource: z.lazy(() => DeploymentStatePreparedStackOverrideAzureResource$inboundSchema).optional(),
380
+ stack: z.lazy(() => DeploymentStatePreparedStackOverrideAzureStack$inboundSchema).optional(),
381
+ });
382
+ /** @internal */
383
+ export const DeploymentStatePreparedStackOverrideAzureBinding$outboundSchema = z.object({
384
+ resource: z.lazy(() => DeploymentStatePreparedStackOverrideAzureResource$outboundSchema).optional(),
385
+ stack: z.lazy(() => DeploymentStatePreparedStackOverrideAzureStack$outboundSchema).optional(),
386
+ });
387
+ export function deploymentStatePreparedStackOverrideAzureBindingToJSON(deploymentStatePreparedStackOverrideAzureBinding) {
388
+ return JSON.stringify(DeploymentStatePreparedStackOverrideAzureBinding$outboundSchema.parse(deploymentStatePreparedStackOverrideAzureBinding));
389
+ }
390
+ export function deploymentStatePreparedStackOverrideAzureBindingFromJSON(jsonString) {
391
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackOverrideAzureBinding$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackOverrideAzureBinding' from JSON`);
392
+ }
393
+ /** @internal */
394
+ export const DeploymentStatePreparedStackOverrideAzureGrant$inboundSchema = z.object({
225
395
  actions: z.nullable(z.array(z.string())).optional(),
226
396
  dataActions: z.nullable(z.array(z.string())).optional(),
227
397
  permissions: z.nullable(z.array(z.string())).optional(),
@@ -229,171 +399,172 @@ export const DeploymentStatePreparedStackProfileAzureGrant$inboundSchema = z.obj
229
399
  residualPermissions: z.nullable(z.array(z.string())).optional(),
230
400
  });
231
401
  /** @internal */
232
- export const DeploymentStatePreparedStackProfileAzureGrant$outboundSchema = z.object({
402
+ export const DeploymentStatePreparedStackOverrideAzureGrant$outboundSchema = z.object({
233
403
  actions: z.nullable(z.array(z.string())).optional(),
234
404
  dataActions: z.nullable(z.array(z.string())).optional(),
235
405
  permissions: z.nullable(z.array(z.string())).optional(),
236
406
  predefinedRoles: z.nullable(z.array(z.string())).optional(),
237
407
  residualPermissions: z.nullable(z.array(z.string())).optional(),
238
408
  });
239
- export function deploymentStatePreparedStackProfileAzureGrantToJSON(deploymentStatePreparedStackProfileAzureGrant) {
240
- return JSON.stringify(DeploymentStatePreparedStackProfileAzureGrant$outboundSchema.parse(deploymentStatePreparedStackProfileAzureGrant));
409
+ export function deploymentStatePreparedStackOverrideAzureGrantToJSON(deploymentStatePreparedStackOverrideAzureGrant) {
410
+ return JSON.stringify(DeploymentStatePreparedStackOverrideAzureGrant$outboundSchema.parse(deploymentStatePreparedStackOverrideAzureGrant));
241
411
  }
242
- export function deploymentStatePreparedStackProfileAzureGrantFromJSON(jsonString) {
243
- return safeParse(jsonString, (x) => DeploymentStatePreparedStackProfileAzureGrant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackProfileAzureGrant' from JSON`);
412
+ export function deploymentStatePreparedStackOverrideAzureGrantFromJSON(jsonString) {
413
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackOverrideAzureGrant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackOverrideAzureGrant' from JSON`);
244
414
  }
245
415
  /** @internal */
246
- export const DeploymentStatePreparedStackProfileAzure$inboundSchema = z.object({
247
- binding: z.lazy(() => DeploymentStatePreparedStackProfileAzureBinding$inboundSchema),
416
+ export const DeploymentStatePreparedStackOverrideAzure$inboundSchema = z.object({
417
+ binding: z.lazy(() => DeploymentStatePreparedStackOverrideAzureBinding$inboundSchema),
248
418
  description: z.nullable(z.string()).optional(),
249
- grant: z.lazy(() => DeploymentStatePreparedStackProfileAzureGrant$inboundSchema),
419
+ grant: z.lazy(() => DeploymentStatePreparedStackOverrideAzureGrant$inboundSchema),
250
420
  label: z.nullable(z.string()).optional(),
251
421
  });
252
422
  /** @internal */
253
- export const DeploymentStatePreparedStackProfileAzure$outboundSchema = z.object({
254
- binding: z.lazy(() => DeploymentStatePreparedStackProfileAzureBinding$outboundSchema),
423
+ export const DeploymentStatePreparedStackOverrideAzure$outboundSchema = z.object({
424
+ binding: z.lazy(() => DeploymentStatePreparedStackOverrideAzureBinding$outboundSchema),
255
425
  description: z.nullable(z.string()).optional(),
256
- grant: z.lazy(() => DeploymentStatePreparedStackProfileAzureGrant$outboundSchema),
426
+ grant: z.lazy(() => DeploymentStatePreparedStackOverrideAzureGrant$outboundSchema),
257
427
  label: z.nullable(z.string()).optional(),
258
428
  });
259
- export function deploymentStatePreparedStackProfileAzureToJSON(deploymentStatePreparedStackProfileAzure) {
260
- return JSON.stringify(DeploymentStatePreparedStackProfileAzure$outboundSchema.parse(deploymentStatePreparedStackProfileAzure));
429
+ export function deploymentStatePreparedStackOverrideAzureToJSON(deploymentStatePreparedStackOverrideAzure) {
430
+ return JSON.stringify(DeploymentStatePreparedStackOverrideAzure$outboundSchema.parse(deploymentStatePreparedStackOverrideAzure));
261
431
  }
262
- export function deploymentStatePreparedStackProfileAzureFromJSON(jsonString) {
263
- return safeParse(jsonString, (x) => DeploymentStatePreparedStackProfileAzure$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackProfileAzure' from JSON`);
432
+ export function deploymentStatePreparedStackOverrideAzureFromJSON(jsonString) {
433
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackOverrideAzure$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackOverrideAzure' from JSON`);
264
434
  }
265
435
  /** @internal */
266
- export const DeploymentStatePreparedStackProfileConditionResource$inboundSchema = z
436
+ export const DeploymentStatePreparedStackOverrideConditionResource$inboundSchema = z
267
437
  .object({
268
438
  expression: z.string(),
269
439
  title: z.string(),
270
440
  });
271
441
  /** @internal */
272
- export const DeploymentStatePreparedStackProfileConditionResource$outboundSchema = z.object({
442
+ export const DeploymentStatePreparedStackOverrideConditionResource$outboundSchema = z.object({
273
443
  expression: z.string(),
274
444
  title: z.string(),
275
445
  });
276
- export function deploymentStatePreparedStackProfileConditionResourceToJSON(deploymentStatePreparedStackProfileConditionResource) {
277
- return JSON.stringify(DeploymentStatePreparedStackProfileConditionResource$outboundSchema.parse(deploymentStatePreparedStackProfileConditionResource));
446
+ export function deploymentStatePreparedStackOverrideConditionResourceToJSON(deploymentStatePreparedStackOverrideConditionResource) {
447
+ return JSON.stringify(DeploymentStatePreparedStackOverrideConditionResource$outboundSchema.parse(deploymentStatePreparedStackOverrideConditionResource));
278
448
  }
279
- export function deploymentStatePreparedStackProfileConditionResourceFromJSON(jsonString) {
280
- return safeParse(jsonString, (x) => DeploymentStatePreparedStackProfileConditionResource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackProfileConditionResource' from JSON`);
449
+ export function deploymentStatePreparedStackOverrideConditionResourceFromJSON(jsonString) {
450
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackOverrideConditionResource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackOverrideConditionResource' from JSON`);
281
451
  }
282
452
  /** @internal */
283
- export const DeploymentStatePreparedStackProfileResourceConditionUnion$inboundSchema = z.union([
284
- z.lazy(() => DeploymentStatePreparedStackProfileConditionResource$inboundSchema),
453
+ export const DeploymentStatePreparedStackOverrideResourceConditionUnion$inboundSchema = z.union([
454
+ z.lazy(() => DeploymentStatePreparedStackOverrideConditionResource$inboundSchema),
285
455
  z.string(),
286
456
  ]);
287
457
  /** @internal */
288
- export const DeploymentStatePreparedStackProfileResourceConditionUnion$outboundSchema = z.union([
289
- z.lazy(() => DeploymentStatePreparedStackProfileConditionResource$outboundSchema),
458
+ export const DeploymentStatePreparedStackOverrideResourceConditionUnion$outboundSchema = z.union([
459
+ z.lazy(() => DeploymentStatePreparedStackOverrideConditionResource$outboundSchema),
290
460
  z.string(),
291
461
  ]);
292
- export function deploymentStatePreparedStackProfileResourceConditionUnionToJSON(deploymentStatePreparedStackProfileResourceConditionUnion) {
293
- return JSON.stringify(DeploymentStatePreparedStackProfileResourceConditionUnion$outboundSchema
294
- .parse(deploymentStatePreparedStackProfileResourceConditionUnion));
462
+ export function deploymentStatePreparedStackOverrideResourceConditionUnionToJSON(deploymentStatePreparedStackOverrideResourceConditionUnion) {
463
+ return JSON.stringify(DeploymentStatePreparedStackOverrideResourceConditionUnion$outboundSchema
464
+ .parse(deploymentStatePreparedStackOverrideResourceConditionUnion));
295
465
  }
296
- export function deploymentStatePreparedStackProfileResourceConditionUnionFromJSON(jsonString) {
297
- return safeParse(jsonString, (x) => DeploymentStatePreparedStackProfileResourceConditionUnion$inboundSchema
298
- .parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackProfileResourceConditionUnion' from JSON`);
466
+ export function deploymentStatePreparedStackOverrideResourceConditionUnionFromJSON(jsonString) {
467
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackOverrideResourceConditionUnion$inboundSchema
468
+ .parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackOverrideResourceConditionUnion' from JSON`);
299
469
  }
300
470
  /** @internal */
301
- export const DeploymentStatePreparedStackProfileGcpResource$inboundSchema = z.object({
471
+ export const DeploymentStatePreparedStackOverrideGcpResource$inboundSchema = z
472
+ .object({
302
473
  condition: z.nullable(z.union([
303
- z.lazy(() => DeploymentStatePreparedStackProfileConditionResource$inboundSchema),
474
+ z.lazy(() => DeploymentStatePreparedStackOverrideConditionResource$inboundSchema),
304
475
  z.string(),
305
476
  ])).optional(),
306
477
  scope: z.string(),
307
478
  });
308
479
  /** @internal */
309
- export const DeploymentStatePreparedStackProfileGcpResource$outboundSchema = z.object({
480
+ export const DeploymentStatePreparedStackOverrideGcpResource$outboundSchema = z.object({
310
481
  condition: z.nullable(z.union([
311
- z.lazy(() => DeploymentStatePreparedStackProfileConditionResource$outboundSchema),
482
+ z.lazy(() => DeploymentStatePreparedStackOverrideConditionResource$outboundSchema),
312
483
  z.string(),
313
484
  ])).optional(),
314
485
  scope: z.string(),
315
486
  });
316
- export function deploymentStatePreparedStackProfileGcpResourceToJSON(deploymentStatePreparedStackProfileGcpResource) {
317
- return JSON.stringify(DeploymentStatePreparedStackProfileGcpResource$outboundSchema.parse(deploymentStatePreparedStackProfileGcpResource));
487
+ export function deploymentStatePreparedStackOverrideGcpResourceToJSON(deploymentStatePreparedStackOverrideGcpResource) {
488
+ return JSON.stringify(DeploymentStatePreparedStackOverrideGcpResource$outboundSchema.parse(deploymentStatePreparedStackOverrideGcpResource));
318
489
  }
319
- export function deploymentStatePreparedStackProfileGcpResourceFromJSON(jsonString) {
320
- return safeParse(jsonString, (x) => DeploymentStatePreparedStackProfileGcpResource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackProfileGcpResource' from JSON`);
490
+ export function deploymentStatePreparedStackOverrideGcpResourceFromJSON(jsonString) {
491
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackOverrideGcpResource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackOverrideGcpResource' from JSON`);
321
492
  }
322
493
  /** @internal */
323
- export const DeploymentStatePreparedStackProfileConditionStack$inboundSchema = z
494
+ export const DeploymentStatePreparedStackOverrideConditionStack$inboundSchema = z
324
495
  .object({
325
496
  expression: z.string(),
326
497
  title: z.string(),
327
498
  });
328
499
  /** @internal */
329
- export const DeploymentStatePreparedStackProfileConditionStack$outboundSchema = z.object({
500
+ export const DeploymentStatePreparedStackOverrideConditionStack$outboundSchema = z.object({
330
501
  expression: z.string(),
331
502
  title: z.string(),
332
503
  });
333
- export function deploymentStatePreparedStackProfileConditionStackToJSON(deploymentStatePreparedStackProfileConditionStack) {
334
- return JSON.stringify(DeploymentStatePreparedStackProfileConditionStack$outboundSchema.parse(deploymentStatePreparedStackProfileConditionStack));
504
+ export function deploymentStatePreparedStackOverrideConditionStackToJSON(deploymentStatePreparedStackOverrideConditionStack) {
505
+ return JSON.stringify(DeploymentStatePreparedStackOverrideConditionStack$outboundSchema.parse(deploymentStatePreparedStackOverrideConditionStack));
335
506
  }
336
- export function deploymentStatePreparedStackProfileConditionStackFromJSON(jsonString) {
337
- return safeParse(jsonString, (x) => DeploymentStatePreparedStackProfileConditionStack$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackProfileConditionStack' from JSON`);
507
+ export function deploymentStatePreparedStackOverrideConditionStackFromJSON(jsonString) {
508
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackOverrideConditionStack$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackOverrideConditionStack' from JSON`);
338
509
  }
339
510
  /** @internal */
340
- export const DeploymentStatePreparedStackProfileStackConditionUnion$inboundSchema = z
341
- .union([
342
- z.lazy(() => DeploymentStatePreparedStackProfileConditionStack$inboundSchema),
511
+ export const DeploymentStatePreparedStackOverrideStackConditionUnion$inboundSchema = z.union([
512
+ z.lazy(() => DeploymentStatePreparedStackOverrideConditionStack$inboundSchema),
343
513
  z.string(),
344
514
  ]);
345
515
  /** @internal */
346
- export const DeploymentStatePreparedStackProfileStackConditionUnion$outboundSchema = z.union([
347
- z.lazy(() => DeploymentStatePreparedStackProfileConditionStack$outboundSchema),
516
+ export const DeploymentStatePreparedStackOverrideStackConditionUnion$outboundSchema = z.union([
517
+ z.lazy(() => DeploymentStatePreparedStackOverrideConditionStack$outboundSchema),
348
518
  z.string(),
349
519
  ]);
350
- export function deploymentStatePreparedStackProfileStackConditionUnionToJSON(deploymentStatePreparedStackProfileStackConditionUnion) {
351
- return JSON.stringify(DeploymentStatePreparedStackProfileStackConditionUnion$outboundSchema.parse(deploymentStatePreparedStackProfileStackConditionUnion));
520
+ export function deploymentStatePreparedStackOverrideStackConditionUnionToJSON(deploymentStatePreparedStackOverrideStackConditionUnion) {
521
+ return JSON.stringify(DeploymentStatePreparedStackOverrideStackConditionUnion$outboundSchema
522
+ .parse(deploymentStatePreparedStackOverrideStackConditionUnion));
352
523
  }
353
- export function deploymentStatePreparedStackProfileStackConditionUnionFromJSON(jsonString) {
354
- return safeParse(jsonString, (x) => DeploymentStatePreparedStackProfileStackConditionUnion$inboundSchema
355
- .parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackProfileStackConditionUnion' from JSON`);
524
+ export function deploymentStatePreparedStackOverrideStackConditionUnionFromJSON(jsonString) {
525
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackOverrideStackConditionUnion$inboundSchema
526
+ .parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackOverrideStackConditionUnion' from JSON`);
356
527
  }
357
528
  /** @internal */
358
- export const DeploymentStatePreparedStackProfileGcpStack$inboundSchema = z.object({
529
+ export const DeploymentStatePreparedStackOverrideGcpStack$inboundSchema = z.object({
359
530
  condition: z.nullable(z.union([
360
- z.lazy(() => DeploymentStatePreparedStackProfileConditionStack$inboundSchema),
531
+ z.lazy(() => DeploymentStatePreparedStackOverrideConditionStack$inboundSchema),
361
532
  z.string(),
362
533
  ])).optional(),
363
534
  scope: z.string(),
364
535
  });
365
536
  /** @internal */
366
- export const DeploymentStatePreparedStackProfileGcpStack$outboundSchema = z.object({
537
+ export const DeploymentStatePreparedStackOverrideGcpStack$outboundSchema = z.object({
367
538
  condition: z.nullable(z.union([
368
- z.lazy(() => DeploymentStatePreparedStackProfileConditionStack$outboundSchema),
539
+ z.lazy(() => DeploymentStatePreparedStackOverrideConditionStack$outboundSchema),
369
540
  z.string(),
370
541
  ])).optional(),
371
542
  scope: z.string(),
372
543
  });
373
- export function deploymentStatePreparedStackProfileGcpStackToJSON(deploymentStatePreparedStackProfileGcpStack) {
374
- return JSON.stringify(DeploymentStatePreparedStackProfileGcpStack$outboundSchema.parse(deploymentStatePreparedStackProfileGcpStack));
544
+ export function deploymentStatePreparedStackOverrideGcpStackToJSON(deploymentStatePreparedStackOverrideGcpStack) {
545
+ return JSON.stringify(DeploymentStatePreparedStackOverrideGcpStack$outboundSchema.parse(deploymentStatePreparedStackOverrideGcpStack));
375
546
  }
376
- export function deploymentStatePreparedStackProfileGcpStackFromJSON(jsonString) {
377
- return safeParse(jsonString, (x) => DeploymentStatePreparedStackProfileGcpStack$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackProfileGcpStack' from JSON`);
547
+ export function deploymentStatePreparedStackOverrideGcpStackFromJSON(jsonString) {
548
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackOverrideGcpStack$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackOverrideGcpStack' from JSON`);
378
549
  }
379
550
  /** @internal */
380
- export const DeploymentStatePreparedStackProfileGcpBinding$inboundSchema = z.object({
381
- resource: z.lazy(() => DeploymentStatePreparedStackProfileGcpResource$inboundSchema).optional(),
382
- stack: z.lazy(() => DeploymentStatePreparedStackProfileGcpStack$inboundSchema).optional(),
551
+ export const DeploymentStatePreparedStackOverrideGcpBinding$inboundSchema = z.object({
552
+ resource: z.lazy(() => DeploymentStatePreparedStackOverrideGcpResource$inboundSchema).optional(),
553
+ stack: z.lazy(() => DeploymentStatePreparedStackOverrideGcpStack$inboundSchema).optional(),
383
554
  });
384
555
  /** @internal */
385
- export const DeploymentStatePreparedStackProfileGcpBinding$outboundSchema = z.object({
386
- resource: z.lazy(() => DeploymentStatePreparedStackProfileGcpResource$outboundSchema).optional(),
387
- stack: z.lazy(() => DeploymentStatePreparedStackProfileGcpStack$outboundSchema).optional(),
556
+ export const DeploymentStatePreparedStackOverrideGcpBinding$outboundSchema = z.object({
557
+ resource: z.lazy(() => DeploymentStatePreparedStackOverrideGcpResource$outboundSchema).optional(),
558
+ stack: z.lazy(() => DeploymentStatePreparedStackOverrideGcpStack$outboundSchema).optional(),
388
559
  });
389
- export function deploymentStatePreparedStackProfileGcpBindingToJSON(deploymentStatePreparedStackProfileGcpBinding) {
390
- return JSON.stringify(DeploymentStatePreparedStackProfileGcpBinding$outboundSchema.parse(deploymentStatePreparedStackProfileGcpBinding));
560
+ export function deploymentStatePreparedStackOverrideGcpBindingToJSON(deploymentStatePreparedStackOverrideGcpBinding) {
561
+ return JSON.stringify(DeploymentStatePreparedStackOverrideGcpBinding$outboundSchema.parse(deploymentStatePreparedStackOverrideGcpBinding));
391
562
  }
392
- export function deploymentStatePreparedStackProfileGcpBindingFromJSON(jsonString) {
393
- return safeParse(jsonString, (x) => DeploymentStatePreparedStackProfileGcpBinding$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackProfileGcpBinding' from JSON`);
563
+ export function deploymentStatePreparedStackOverrideGcpBindingFromJSON(jsonString) {
564
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackOverrideGcpBinding$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackOverrideGcpBinding' from JSON`);
394
565
  }
395
566
  /** @internal */
396
- export const DeploymentStatePreparedStackProfileGcpGrant$inboundSchema = z.object({
567
+ export const DeploymentStatePreparedStackOverrideGcpGrant$inboundSchema = z.object({
397
568
  actions: z.nullable(z.array(z.string())).optional(),
398
569
  dataActions: z.nullable(z.array(z.string())).optional(),
399
570
  permissions: z.nullable(z.array(z.string())).optional(),
@@ -401,1050 +572,881 @@ export const DeploymentStatePreparedStackProfileGcpGrant$inboundSchema = z.objec
401
572
  residualPermissions: z.nullable(z.array(z.string())).optional(),
402
573
  });
403
574
  /** @internal */
404
- export const DeploymentStatePreparedStackProfileGcpGrant$outboundSchema = z.object({
575
+ export const DeploymentStatePreparedStackOverrideGcpGrant$outboundSchema = z.object({
405
576
  actions: z.nullable(z.array(z.string())).optional(),
406
577
  dataActions: z.nullable(z.array(z.string())).optional(),
407
578
  permissions: z.nullable(z.array(z.string())).optional(),
408
579
  predefinedRoles: z.nullable(z.array(z.string())).optional(),
409
580
  residualPermissions: z.nullable(z.array(z.string())).optional(),
410
581
  });
411
- export function deploymentStatePreparedStackProfileGcpGrantToJSON(deploymentStatePreparedStackProfileGcpGrant) {
412
- return JSON.stringify(DeploymentStatePreparedStackProfileGcpGrant$outboundSchema.parse(deploymentStatePreparedStackProfileGcpGrant));
582
+ export function deploymentStatePreparedStackOverrideGcpGrantToJSON(deploymentStatePreparedStackOverrideGcpGrant) {
583
+ return JSON.stringify(DeploymentStatePreparedStackOverrideGcpGrant$outboundSchema.parse(deploymentStatePreparedStackOverrideGcpGrant));
413
584
  }
414
- export function deploymentStatePreparedStackProfileGcpGrantFromJSON(jsonString) {
415
- return safeParse(jsonString, (x) => DeploymentStatePreparedStackProfileGcpGrant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackProfileGcpGrant' from JSON`);
585
+ export function deploymentStatePreparedStackOverrideGcpGrantFromJSON(jsonString) {
586
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackOverrideGcpGrant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackOverrideGcpGrant' from JSON`);
416
587
  }
417
588
  /** @internal */
418
- export const DeploymentStatePreparedStackProfileGcp$inboundSchema = z.object({
419
- binding: z.lazy(() => DeploymentStatePreparedStackProfileGcpBinding$inboundSchema),
589
+ export const DeploymentStatePreparedStackOverrideGcp$inboundSchema = z.object({
590
+ binding: z.lazy(() => DeploymentStatePreparedStackOverrideGcpBinding$inboundSchema),
420
591
  description: z.nullable(z.string()).optional(),
421
- grant: z.lazy(() => DeploymentStatePreparedStackProfileGcpGrant$inboundSchema),
592
+ grant: z.lazy(() => DeploymentStatePreparedStackOverrideGcpGrant$inboundSchema),
422
593
  label: z.nullable(z.string()).optional(),
423
594
  });
424
595
  /** @internal */
425
- export const DeploymentStatePreparedStackProfileGcp$outboundSchema = z.object({
426
- binding: z.lazy(() => DeploymentStatePreparedStackProfileGcpBinding$outboundSchema),
596
+ export const DeploymentStatePreparedStackOverrideGcp$outboundSchema = z.object({
597
+ binding: z.lazy(() => DeploymentStatePreparedStackOverrideGcpBinding$outboundSchema),
427
598
  description: z.nullable(z.string()).optional(),
428
- grant: z.lazy(() => DeploymentStatePreparedStackProfileGcpGrant$outboundSchema),
599
+ grant: z.lazy(() => DeploymentStatePreparedStackOverrideGcpGrant$outboundSchema),
429
600
  label: z.nullable(z.string()).optional(),
430
601
  });
431
- export function deploymentStatePreparedStackProfileGcpToJSON(deploymentStatePreparedStackProfileGcp) {
432
- return JSON.stringify(DeploymentStatePreparedStackProfileGcp$outboundSchema.parse(deploymentStatePreparedStackProfileGcp));
602
+ export function deploymentStatePreparedStackOverrideGcpToJSON(deploymentStatePreparedStackOverrideGcp) {
603
+ return JSON.stringify(DeploymentStatePreparedStackOverrideGcp$outboundSchema.parse(deploymentStatePreparedStackOverrideGcp));
433
604
  }
434
- export function deploymentStatePreparedStackProfileGcpFromJSON(jsonString) {
435
- return safeParse(jsonString, (x) => DeploymentStatePreparedStackProfileGcp$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackProfileGcp' from JSON`);
605
+ export function deploymentStatePreparedStackOverrideGcpFromJSON(jsonString) {
606
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackOverrideGcp$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackOverrideGcp' from JSON`);
436
607
  }
437
608
  /** @internal */
438
- export const DeploymentStatePreparedStackProfilePlatforms$inboundSchema = z.object({
439
- aws: z.nullable(z.array(DeploymentStatePreparedStackProfileAw$inboundSchema)).optional(),
440
- azure: z.nullable(z.array(z.lazy(() => DeploymentStatePreparedStackProfileAzure$inboundSchema))).optional(),
441
- gcp: z.nullable(z.array(z.lazy(() => DeploymentStatePreparedStackProfileGcp$inboundSchema))).optional(),
609
+ export const DeploymentStatePreparedStackOverridePlatforms$inboundSchema = z.object({
610
+ aws: z.nullable(z.array(z.lazy(() => DeploymentStatePreparedStackOverrideAw$inboundSchema))).optional(),
611
+ azure: z.nullable(z.array(z.lazy(() => DeploymentStatePreparedStackOverrideAzure$inboundSchema))).optional(),
612
+ gcp: z.nullable(z.array(z.lazy(() => DeploymentStatePreparedStackOverrideGcp$inboundSchema))).optional(),
442
613
  });
443
614
  /** @internal */
444
- export const DeploymentStatePreparedStackProfilePlatforms$outboundSchema = z.object({
445
- aws: z.nullable(z.array(DeploymentStatePreparedStackProfileAw$outboundSchema)).optional(),
446
- azure: z.nullable(z.array(z.lazy(() => DeploymentStatePreparedStackProfileAzure$outboundSchema))).optional(),
447
- gcp: z.nullable(z.array(z.lazy(() => DeploymentStatePreparedStackProfileGcp$outboundSchema))).optional(),
615
+ export const DeploymentStatePreparedStackOverridePlatforms$outboundSchema = z.object({
616
+ aws: z.nullable(z.array(z.lazy(() => DeploymentStatePreparedStackOverrideAw$outboundSchema))).optional(),
617
+ azure: z.nullable(z.array(z.lazy(() => DeploymentStatePreparedStackOverrideAzure$outboundSchema))).optional(),
618
+ gcp: z.nullable(z.array(z.lazy(() => DeploymentStatePreparedStackOverrideGcp$outboundSchema))).optional(),
448
619
  });
449
- export function deploymentStatePreparedStackProfilePlatformsToJSON(deploymentStatePreparedStackProfilePlatforms) {
450
- return JSON.stringify(DeploymentStatePreparedStackProfilePlatforms$outboundSchema.parse(deploymentStatePreparedStackProfilePlatforms));
620
+ export function deploymentStatePreparedStackOverridePlatformsToJSON(deploymentStatePreparedStackOverridePlatforms) {
621
+ return JSON.stringify(DeploymentStatePreparedStackOverridePlatforms$outboundSchema.parse(deploymentStatePreparedStackOverridePlatforms));
451
622
  }
452
- export function deploymentStatePreparedStackProfilePlatformsFromJSON(jsonString) {
453
- return safeParse(jsonString, (x) => DeploymentStatePreparedStackProfilePlatforms$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackProfilePlatforms' from JSON`);
623
+ export function deploymentStatePreparedStackOverridePlatformsFromJSON(jsonString) {
624
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackOverridePlatforms$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackOverridePlatforms' from JSON`);
454
625
  }
455
626
  /** @internal */
456
- export const DeploymentStatePreparedStackProfile$inboundSchema = z.object({
627
+ export const DeploymentStatePreparedStackOverride$inboundSchema = z.object({
457
628
  description: z.string(),
458
629
  id: z.string(),
459
- platforms: z.lazy(() => DeploymentStatePreparedStackProfilePlatforms$inboundSchema),
630
+ platforms: z.lazy(() => DeploymentStatePreparedStackOverridePlatforms$inboundSchema),
460
631
  });
461
632
  /** @internal */
462
- export const DeploymentStatePreparedStackProfile$outboundSchema = z.object({
633
+ export const DeploymentStatePreparedStackOverride$outboundSchema = z.object({
463
634
  description: z.string(),
464
635
  id: z.string(),
465
- platforms: z.lazy(() => DeploymentStatePreparedStackProfilePlatforms$outboundSchema),
636
+ platforms: z.lazy(() => DeploymentStatePreparedStackOverridePlatforms$outboundSchema),
466
637
  });
467
- export function deploymentStatePreparedStackProfileToJSON(deploymentStatePreparedStackProfile) {
468
- return JSON.stringify(DeploymentStatePreparedStackProfile$outboundSchema.parse(deploymentStatePreparedStackProfile));
638
+ export function deploymentStatePreparedStackOverrideToJSON(deploymentStatePreparedStackOverride) {
639
+ return JSON.stringify(DeploymentStatePreparedStackOverride$outboundSchema.parse(deploymentStatePreparedStackOverride));
469
640
  }
470
- export function deploymentStatePreparedStackProfileFromJSON(jsonString) {
471
- return safeParse(jsonString, (x) => DeploymentStatePreparedStackProfile$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackProfile' from JSON`);
641
+ export function deploymentStatePreparedStackOverrideFromJSON(jsonString) {
642
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackOverride$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackOverride' from JSON`);
472
643
  }
473
644
  /** @internal */
474
- export const DeploymentStatePreparedStackProfileUnion$inboundSchema = z.union([
475
- z.lazy(() => DeploymentStatePreparedStackProfile$inboundSchema),
645
+ export const DeploymentStatePreparedStackOverrideUnion$inboundSchema = z.union([
646
+ z.lazy(() => DeploymentStatePreparedStackOverride$inboundSchema),
476
647
  z.string(),
477
648
  ]);
478
649
  /** @internal */
479
- export const DeploymentStatePreparedStackProfileUnion$outboundSchema = z.union([
480
- z.lazy(() => DeploymentStatePreparedStackProfile$outboundSchema),
650
+ export const DeploymentStatePreparedStackOverrideUnion$outboundSchema = z.union([
651
+ z.lazy(() => DeploymentStatePreparedStackOverride$outboundSchema),
481
652
  z.string(),
482
653
  ]);
483
- export function deploymentStatePreparedStackProfileUnionToJSON(deploymentStatePreparedStackProfileUnion) {
484
- return JSON.stringify(DeploymentStatePreparedStackProfileUnion$outboundSchema.parse(deploymentStatePreparedStackProfileUnion));
654
+ export function deploymentStatePreparedStackOverrideUnionToJSON(deploymentStatePreparedStackOverrideUnion) {
655
+ return JSON.stringify(DeploymentStatePreparedStackOverrideUnion$outboundSchema.parse(deploymentStatePreparedStackOverrideUnion));
485
656
  }
486
- export function deploymentStatePreparedStackProfileUnionFromJSON(jsonString) {
487
- return safeParse(jsonString, (x) => DeploymentStatePreparedStackProfileUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackProfileUnion' from JSON`);
657
+ export function deploymentStatePreparedStackOverrideUnionFromJSON(jsonString) {
658
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackOverrideUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackOverrideUnion' from JSON`);
488
659
  }
489
660
  /** @internal */
490
- export const DeploymentStatePreparedStackPermissions$inboundSchema = z.object({
491
- management: DeploymentStatePreparedStackManagementUnion$inboundSchema
492
- .optional(),
493
- profiles: z.record(z.string(), z.record(z.string(), z.array(z.union([
494
- z.lazy(() => DeploymentStatePreparedStackProfile$inboundSchema),
661
+ export const DeploymentStatePreparedStackManagement2$inboundSchema = z.object({
662
+ override: z.record(z.string(), z.array(z.union([
663
+ z.lazy(() => DeploymentStatePreparedStackOverride$inboundSchema),
495
664
  z.string(),
496
- ])))),
665
+ ]))),
497
666
  });
498
667
  /** @internal */
499
- export const DeploymentStatePreparedStackPermissions$outboundSchema = z.object({
500
- management: DeploymentStatePreparedStackManagementUnion$outboundSchema
501
- .optional(),
502
- profiles: z.record(z.string(), z.record(z.string(), z.array(z.union([
503
- z.lazy(() => DeploymentStatePreparedStackProfile$outboundSchema),
668
+ export const DeploymentStatePreparedStackManagement2$outboundSchema = z.object({
669
+ override: z.record(z.string(), z.array(z.union([
670
+ z.lazy(() => DeploymentStatePreparedStackOverride$outboundSchema),
504
671
  z.string(),
505
- ])))),
672
+ ]))),
506
673
  });
507
- export function deploymentStatePreparedStackPermissionsToJSON(deploymentStatePreparedStackPermissions) {
508
- return JSON.stringify(DeploymentStatePreparedStackPermissions$outboundSchema.parse(deploymentStatePreparedStackPermissions));
674
+ export function deploymentStatePreparedStackManagement2ToJSON(deploymentStatePreparedStackManagement2) {
675
+ return JSON.stringify(DeploymentStatePreparedStackManagement2$outboundSchema.parse(deploymentStatePreparedStackManagement2));
509
676
  }
510
- export function deploymentStatePreparedStackPermissionsFromJSON(jsonString) {
511
- return safeParse(jsonString, (x) => DeploymentStatePreparedStackPermissions$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackPermissions' from JSON`);
677
+ export function deploymentStatePreparedStackManagement2FromJSON(jsonString) {
678
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackManagement2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackManagement2' from JSON`);
512
679
  }
513
680
  /** @internal */
514
- export const DeploymentStatePreparedStackConfig$inboundSchema = collectExtraKeys$(z.object({
515
- id: z.string(),
516
- type: z.string(),
517
- }).catchall(z.any()), "additionalProperties", true);
681
+ export const DeploymentStatePreparedStackExtendAwResource$inboundSchema = z.object({
682
+ condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string()))).optional(),
683
+ notResources: z.array(z.string()).optional(),
684
+ resources: z.array(z.string()),
685
+ });
518
686
  /** @internal */
519
- export const DeploymentStatePreparedStackConfig$outboundSchema = z.object({
520
- id: z.string(),
521
- type: z.string(),
522
- additionalProperties: z.record(z.string(), z.nullable(z.any())).optional(),
523
- }).transform((v) => {
524
- return {
525
- ...v.additionalProperties,
526
- ...remap$(v, {
527
- additionalProperties: null,
528
- }),
529
- };
687
+ export const DeploymentStatePreparedStackExtendAwResource$outboundSchema = z.object({
688
+ condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string()))).optional(),
689
+ notResources: z.array(z.string()).optional(),
690
+ resources: z.array(z.string()),
530
691
  });
531
- export function deploymentStatePreparedStackConfigToJSON(deploymentStatePreparedStackConfig) {
532
- return JSON.stringify(DeploymentStatePreparedStackConfig$outboundSchema.parse(deploymentStatePreparedStackConfig));
692
+ export function deploymentStatePreparedStackExtendAwResourceToJSON(deploymentStatePreparedStackExtendAwResource) {
693
+ return JSON.stringify(DeploymentStatePreparedStackExtendAwResource$outboundSchema.parse(deploymentStatePreparedStackExtendAwResource));
533
694
  }
534
- export function deploymentStatePreparedStackConfigFromJSON(jsonString) {
535
- return safeParse(jsonString, (x) => DeploymentStatePreparedStackConfig$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackConfig' from JSON`);
695
+ export function deploymentStatePreparedStackExtendAwResourceFromJSON(jsonString) {
696
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackExtendAwResource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackExtendAwResource' from JSON`);
536
697
  }
537
698
  /** @internal */
538
- export const DeploymentStatePreparedStackDependency$inboundSchema = z.object({
539
- id: z.string(),
540
- type: z.string(),
699
+ export const DeploymentStatePreparedStackExtendAwStack$inboundSchema = z.object({
700
+ condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string())))
701
+ .optional(),
702
+ notResources: z.array(z.string()).optional(),
703
+ resources: z.array(z.string()),
541
704
  });
542
705
  /** @internal */
543
- export const DeploymentStatePreparedStackDependency$outboundSchema = z.object({
544
- id: z.string(),
545
- type: z.string(),
706
+ export const DeploymentStatePreparedStackExtendAwStack$outboundSchema = z.object({
707
+ condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string()))).optional(),
708
+ notResources: z.array(z.string()).optional(),
709
+ resources: z.array(z.string()),
546
710
  });
547
- export function deploymentStatePreparedStackDependencyToJSON(deploymentStatePreparedStackDependency) {
548
- return JSON.stringify(DeploymentStatePreparedStackDependency$outboundSchema.parse(deploymentStatePreparedStackDependency));
711
+ export function deploymentStatePreparedStackExtendAwStackToJSON(deploymentStatePreparedStackExtendAwStack) {
712
+ return JSON.stringify(DeploymentStatePreparedStackExtendAwStack$outboundSchema.parse(deploymentStatePreparedStackExtendAwStack));
549
713
  }
550
- export function deploymentStatePreparedStackDependencyFromJSON(jsonString) {
551
- return safeParse(jsonString, (x) => DeploymentStatePreparedStackDependency$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackDependency' from JSON`);
714
+ export function deploymentStatePreparedStackExtendAwStackFromJSON(jsonString) {
715
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackExtendAwStack$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackExtendAwStack' from JSON`);
552
716
  }
553
717
  /** @internal */
554
- export const DeploymentStatePreparedStackLifecycle$inboundSchema = z.enum(DeploymentStatePreparedStackLifecycle);
555
- /** @internal */
556
- export const DeploymentStatePreparedStackLifecycle$outboundSchema = DeploymentStatePreparedStackLifecycle$inboundSchema;
557
- /** @internal */
558
- export const DeploymentStatePreparedStackResources$inboundSchema = z.object({
559
- config: z.lazy(() => DeploymentStatePreparedStackConfig$inboundSchema),
560
- dependencies: z.array(z.lazy(() => DeploymentStatePreparedStackDependency$inboundSchema)),
561
- enabledWhen: z.nullable(z.string()).optional(),
562
- lifecycle: DeploymentStatePreparedStackLifecycle$inboundSchema,
563
- remoteAccess: z.boolean().optional(),
718
+ export const DeploymentStatePreparedStackExtendAwBinding$inboundSchema = z.object({
719
+ resource: z.lazy(() => DeploymentStatePreparedStackExtendAwResource$inboundSchema).optional(),
720
+ stack: z.lazy(() => DeploymentStatePreparedStackExtendAwStack$inboundSchema)
721
+ .optional(),
564
722
  });
565
723
  /** @internal */
566
- export const DeploymentStatePreparedStackResources$outboundSchema = z.object({
567
- config: z.lazy(() => DeploymentStatePreparedStackConfig$outboundSchema),
568
- dependencies: z.array(z.lazy(() => DeploymentStatePreparedStackDependency$outboundSchema)),
569
- enabledWhen: z.nullable(z.string()).optional(),
570
- lifecycle: DeploymentStatePreparedStackLifecycle$outboundSchema,
571
- remoteAccess: z.boolean().optional(),
724
+ export const DeploymentStatePreparedStackExtendAwBinding$outboundSchema = z.object({
725
+ resource: z.lazy(() => DeploymentStatePreparedStackExtendAwResource$outboundSchema).optional(),
726
+ stack: z.lazy(() => DeploymentStatePreparedStackExtendAwStack$outboundSchema).optional(),
572
727
  });
573
- export function deploymentStatePreparedStackResourcesToJSON(deploymentStatePreparedStackResources) {
574
- return JSON.stringify(DeploymentStatePreparedStackResources$outboundSchema.parse(deploymentStatePreparedStackResources));
728
+ export function deploymentStatePreparedStackExtendAwBindingToJSON(deploymentStatePreparedStackExtendAwBinding) {
729
+ return JSON.stringify(DeploymentStatePreparedStackExtendAwBinding$outboundSchema.parse(deploymentStatePreparedStackExtendAwBinding));
575
730
  }
576
- export function deploymentStatePreparedStackResourcesFromJSON(jsonString) {
577
- return safeParse(jsonString, (x) => DeploymentStatePreparedStackResources$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackResources' from JSON`);
731
+ export function deploymentStatePreparedStackExtendAwBindingFromJSON(jsonString) {
732
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackExtendAwBinding$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackExtendAwBinding' from JSON`);
578
733
  }
579
734
  /** @internal */
580
- export const DeploymentStatePreparedStackSupportedPlatform$inboundSchema = z.enum(DeploymentStatePreparedStackSupportedPlatform);
735
+ export const DeploymentStatePreparedStackExtendEffect$inboundSchema = z.enum(DeploymentStatePreparedStackExtendEffect);
581
736
  /** @internal */
582
- export const DeploymentStatePreparedStackSupportedPlatform$outboundSchema = DeploymentStatePreparedStackSupportedPlatform$inboundSchema;
737
+ export const DeploymentStatePreparedStackExtendEffect$outboundSchema = DeploymentStatePreparedStackExtendEffect$inboundSchema;
583
738
  /** @internal */
584
- export const DeploymentStatePreparedStack$inboundSchema = z.object({
585
- dynamicContainerImageResources: z.array(z.string()).optional(),
586
- dynamicContainerRepositories: z.array(z.string()).optional(),
587
- id: z.string(),
588
- inputs: z.array(DeploymentStatePreparedStackInput$inboundSchema).optional(),
589
- permissions: z.lazy(() => DeploymentStatePreparedStackPermissions$inboundSchema).optional(),
590
- resources: z.record(z.string(), z.lazy(() => DeploymentStatePreparedStackResources$inboundSchema)),
591
- supportedPlatforms: z.nullable(z.array(DeploymentStatePreparedStackSupportedPlatform$inboundSchema)).optional(),
739
+ export const DeploymentStatePreparedStackExtendAwGrant$inboundSchema = z.object({
740
+ actions: z.nullable(z.array(z.string())).optional(),
741
+ dataActions: z.nullable(z.array(z.string())).optional(),
742
+ permissions: z.nullable(z.array(z.string())).optional(),
743
+ predefinedRoles: z.nullable(z.array(z.string())).optional(),
744
+ residualPermissions: z.nullable(z.array(z.string())).optional(),
592
745
  });
593
746
  /** @internal */
594
- export const DeploymentStatePreparedStack$outboundSchema = z.object({
595
- dynamicContainerImageResources: z.array(z.string()).optional(),
596
- dynamicContainerRepositories: z.array(z.string()).optional(),
597
- id: z.string(),
598
- inputs: z.array(DeploymentStatePreparedStackInput$outboundSchema).optional(),
599
- permissions: z.lazy(() => DeploymentStatePreparedStackPermissions$outboundSchema).optional(),
600
- resources: z.record(z.string(), z.lazy(() => DeploymentStatePreparedStackResources$outboundSchema)),
601
- supportedPlatforms: z.nullable(z.array(DeploymentStatePreparedStackSupportedPlatform$outboundSchema)).optional(),
747
+ export const DeploymentStatePreparedStackExtendAwGrant$outboundSchema = z.object({
748
+ actions: z.nullable(z.array(z.string())).optional(),
749
+ dataActions: z.nullable(z.array(z.string())).optional(),
750
+ permissions: z.nullable(z.array(z.string())).optional(),
751
+ predefinedRoles: z.nullable(z.array(z.string())).optional(),
752
+ residualPermissions: z.nullable(z.array(z.string())).optional(),
602
753
  });
603
- export function deploymentStatePreparedStackToJSON(deploymentStatePreparedStack) {
604
- return JSON.stringify(DeploymentStatePreparedStack$outboundSchema.parse(deploymentStatePreparedStack));
754
+ export function deploymentStatePreparedStackExtendAwGrantToJSON(deploymentStatePreparedStackExtendAwGrant) {
755
+ return JSON.stringify(DeploymentStatePreparedStackExtendAwGrant$outboundSchema.parse(deploymentStatePreparedStackExtendAwGrant));
605
756
  }
606
- export function deploymentStatePreparedStackFromJSON(jsonString) {
607
- return safeParse(jsonString, (x) => DeploymentStatePreparedStack$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStack' from JSON`);
757
+ export function deploymentStatePreparedStackExtendAwGrantFromJSON(jsonString) {
758
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackExtendAwGrant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackExtendAwGrant' from JSON`);
608
759
  }
609
760
  /** @internal */
610
- export const DeploymentStatePreparedStackUnion$inboundSchema = z.union([
611
- z.lazy(() => DeploymentStatePreparedStack$inboundSchema),
612
- z.string(),
613
- ]);
761
+ export const DeploymentStatePreparedStackExtendAw$inboundSchema = z.object({
762
+ binding: z.lazy(() => DeploymentStatePreparedStackExtendAwBinding$inboundSchema),
763
+ description: z.nullable(z.string()).optional(),
764
+ effect: DeploymentStatePreparedStackExtendEffect$inboundSchema.optional(),
765
+ grant: z.lazy(() => DeploymentStatePreparedStackExtendAwGrant$inboundSchema),
766
+ label: z.nullable(z.string()).optional(),
767
+ });
614
768
  /** @internal */
615
- export const DeploymentStatePreparedStackUnion$outboundSchema = z.union([
616
- z.lazy(() => DeploymentStatePreparedStack$outboundSchema),
617
- z.string(),
618
- ]);
619
- export function deploymentStatePreparedStackUnionToJSON(deploymentStatePreparedStackUnion) {
620
- return JSON.stringify(DeploymentStatePreparedStackUnion$outboundSchema.parse(deploymentStatePreparedStackUnion));
769
+ export const DeploymentStatePreparedStackExtendAw$outboundSchema = z.object({
770
+ binding: z.lazy(() => DeploymentStatePreparedStackExtendAwBinding$outboundSchema),
771
+ description: z.nullable(z.string()).optional(),
772
+ effect: DeploymentStatePreparedStackExtendEffect$outboundSchema.optional(),
773
+ grant: z.lazy(() => DeploymentStatePreparedStackExtendAwGrant$outboundSchema),
774
+ label: z.nullable(z.string()).optional(),
775
+ });
776
+ export function deploymentStatePreparedStackExtendAwToJSON(deploymentStatePreparedStackExtendAw) {
777
+ return JSON.stringify(DeploymentStatePreparedStackExtendAw$outboundSchema.parse(deploymentStatePreparedStackExtendAw));
621
778
  }
622
- export function deploymentStatePreparedStackUnionFromJSON(jsonString) {
623
- return safeParse(jsonString, (x) => DeploymentStatePreparedStackUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackUnion' from JSON`);
779
+ export function deploymentStatePreparedStackExtendAwFromJSON(jsonString) {
780
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackExtendAw$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackExtendAw' from JSON`);
624
781
  }
625
782
  /** @internal */
626
- export const DeploymentStateRegistryAccess$inboundSchema = z.object({
627
- repositories: z.array(z.string()).optional(),
628
- serviceTypes: z.array(z.string()).optional(),
783
+ export const DeploymentStatePreparedStackExtendAzureResource$inboundSchema = z
784
+ .object({
785
+ scope: z.string(),
629
786
  });
630
787
  /** @internal */
631
- export const DeploymentStateRegistryAccess$outboundSchema = z.object({
632
- repositories: z.array(z.string()).optional(),
633
- serviceTypes: z.array(z.string()).optional(),
788
+ export const DeploymentStatePreparedStackExtendAzureResource$outboundSchema = z.object({
789
+ scope: z.string(),
634
790
  });
635
- export function deploymentStateRegistryAccessToJSON(deploymentStateRegistryAccess) {
636
- return JSON.stringify(DeploymentStateRegistryAccess$outboundSchema.parse(deploymentStateRegistryAccess));
791
+ export function deploymentStatePreparedStackExtendAzureResourceToJSON(deploymentStatePreparedStackExtendAzureResource) {
792
+ return JSON.stringify(DeploymentStatePreparedStackExtendAzureResource$outboundSchema.parse(deploymentStatePreparedStackExtendAzureResource));
637
793
  }
638
- export function deploymentStateRegistryAccessFromJSON(jsonString) {
639
- return safeParse(jsonString, (x) => DeploymentStateRegistryAccess$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateRegistryAccess' from JSON`);
794
+ export function deploymentStatePreparedStackExtendAzureResourceFromJSON(jsonString) {
795
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackExtendAzureResource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackExtendAzureResource' from JSON`);
640
796
  }
641
797
  /** @internal */
642
- export const DeploymentStateRegistryAccessUnion$inboundSchema = z.union([
643
- z.lazy(() => DeploymentStateRegistryAccess$inboundSchema),
644
- z.string(),
645
- ]);
798
+ export const DeploymentStatePreparedStackExtendAzureStack$inboundSchema = z.object({
799
+ scope: z.string(),
800
+ });
646
801
  /** @internal */
647
- export const DeploymentStateRegistryAccessUnion$outboundSchema = z.union([
648
- z.lazy(() => DeploymentStateRegistryAccess$outboundSchema),
649
- z.string(),
650
- ]);
651
- export function deploymentStateRegistryAccessUnionToJSON(deploymentStateRegistryAccessUnion) {
652
- return JSON.stringify(DeploymentStateRegistryAccessUnion$outboundSchema.parse(deploymentStateRegistryAccessUnion));
802
+ export const DeploymentStatePreparedStackExtendAzureStack$outboundSchema = z.object({
803
+ scope: z.string(),
804
+ });
805
+ export function deploymentStatePreparedStackExtendAzureStackToJSON(deploymentStatePreparedStackExtendAzureStack) {
806
+ return JSON.stringify(DeploymentStatePreparedStackExtendAzureStack$outboundSchema.parse(deploymentStatePreparedStackExtendAzureStack));
653
807
  }
654
- export function deploymentStateRegistryAccessUnionFromJSON(jsonString) {
655
- return safeParse(jsonString, (x) => DeploymentStateRegistryAccessUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateRegistryAccessUnion' from JSON`);
808
+ export function deploymentStatePreparedStackExtendAzureStackFromJSON(jsonString) {
809
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackExtendAzureStack$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackExtendAzureStack' from JSON`);
656
810
  }
657
811
  /** @internal */
658
- export const DeploymentStateEgress$inboundSchema = z.object({
659
- connectorArn: z.nullable(z.string()).optional(),
660
- connectorRequest: z.nullable(z.string()).optional(),
661
- operatorRoleName: z.string(),
662
- securityGroupId: z.nullable(z.string()).optional(),
812
+ export const DeploymentStatePreparedStackExtendAzureBinding$inboundSchema = z.object({
813
+ resource: z.lazy(() => DeploymentStatePreparedStackExtendAzureResource$inboundSchema).optional(),
814
+ stack: z.lazy(() => DeploymentStatePreparedStackExtendAzureStack$inboundSchema).optional(),
663
815
  });
664
816
  /** @internal */
665
- export const DeploymentStateEgress$outboundSchema = z.object({
666
- connectorArn: z.nullable(z.string()).optional(),
667
- connectorRequest: z.nullable(z.string()).optional(),
668
- operatorRoleName: z.string(),
669
- securityGroupId: z.nullable(z.string()).optional(),
817
+ export const DeploymentStatePreparedStackExtendAzureBinding$outboundSchema = z.object({
818
+ resource: z.lazy(() => DeploymentStatePreparedStackExtendAzureResource$outboundSchema).optional(),
819
+ stack: z.lazy(() => DeploymentStatePreparedStackExtendAzureStack$outboundSchema).optional(),
670
820
  });
671
- export function deploymentStateEgressToJSON(deploymentStateEgress) {
672
- return JSON.stringify(DeploymentStateEgress$outboundSchema.parse(deploymentStateEgress));
821
+ export function deploymentStatePreparedStackExtendAzureBindingToJSON(deploymentStatePreparedStackExtendAzureBinding) {
822
+ return JSON.stringify(DeploymentStatePreparedStackExtendAzureBinding$outboundSchema.parse(deploymentStatePreparedStackExtendAzureBinding));
673
823
  }
674
- export function deploymentStateEgressFromJSON(jsonString) {
675
- return safeParse(jsonString, (x) => DeploymentStateEgress$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateEgress' from JSON`);
824
+ export function deploymentStatePreparedStackExtendAzureBindingFromJSON(jsonString) {
825
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackExtendAzureBinding$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackExtendAzureBinding' from JSON`);
676
826
  }
677
827
  /** @internal */
678
- export const DeploymentStateEgressUnion$inboundSchema = z.union([z.lazy(() => DeploymentStateEgress$inboundSchema), z.string()]);
828
+ export const DeploymentStatePreparedStackExtendAzureGrant$inboundSchema = z.object({
829
+ actions: z.nullable(z.array(z.string())).optional(),
830
+ dataActions: z.nullable(z.array(z.string())).optional(),
831
+ permissions: z.nullable(z.array(z.string())).optional(),
832
+ predefinedRoles: z.nullable(z.array(z.string())).optional(),
833
+ residualPermissions: z.nullable(z.array(z.string())).optional(),
834
+ });
679
835
  /** @internal */
680
- export const DeploymentStateEgressUnion$outboundSchema = z.union([z.lazy(() => DeploymentStateEgress$outboundSchema), z.string()]);
681
- export function deploymentStateEgressUnionToJSON(deploymentStateEgressUnion) {
682
- return JSON.stringify(DeploymentStateEgressUnion$outboundSchema.parse(deploymentStateEgressUnion));
836
+ export const DeploymentStatePreparedStackExtendAzureGrant$outboundSchema = z.object({
837
+ actions: z.nullable(z.array(z.string())).optional(),
838
+ dataActions: z.nullable(z.array(z.string())).optional(),
839
+ permissions: z.nullable(z.array(z.string())).optional(),
840
+ predefinedRoles: z.nullable(z.array(z.string())).optional(),
841
+ residualPermissions: z.nullable(z.array(z.string())).optional(),
842
+ });
843
+ export function deploymentStatePreparedStackExtendAzureGrantToJSON(deploymentStatePreparedStackExtendAzureGrant) {
844
+ return JSON.stringify(DeploymentStatePreparedStackExtendAzureGrant$outboundSchema.parse(deploymentStatePreparedStackExtendAzureGrant));
683
845
  }
684
- export function deploymentStateEgressUnionFromJSON(jsonString) {
685
- return safeParse(jsonString, (x) => DeploymentStateEgressUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateEgressUnion' from JSON`);
846
+ export function deploymentStatePreparedStackExtendAzureGrantFromJSON(jsonString) {
847
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackExtendAzureGrant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackExtendAzureGrant' from JSON`);
686
848
  }
687
849
  /** @internal */
688
- export const DeploymentStateTypeAwsSandbox$inboundSchema = z.enum(DeploymentStateTypeAwsSandbox);
689
- /** @internal */
690
- export const DeploymentStateTypeAwsSandbox$outboundSchema = DeploymentStateTypeAwsSandbox$inboundSchema;
691
- /** @internal */
692
- export const DeploymentStateSetupScaffolding$inboundSchema = z.object({
693
- buildRoleName: z.string(),
694
- egress: z.nullable(z.union([z.lazy(() => DeploymentStateEgress$inboundSchema), z.string()])).optional(),
695
- imageArn: z.nullable(z.string()).optional(),
696
- type: DeploymentStateTypeAwsSandbox$inboundSchema,
850
+ export const DeploymentStatePreparedStackExtendAzure$inboundSchema = z.object({
851
+ binding: z.lazy(() => DeploymentStatePreparedStackExtendAzureBinding$inboundSchema),
852
+ description: z.nullable(z.string()).optional(),
853
+ grant: z.lazy(() => DeploymentStatePreparedStackExtendAzureGrant$inboundSchema),
854
+ label: z.nullable(z.string()).optional(),
697
855
  });
698
856
  /** @internal */
699
- export const DeploymentStateSetupScaffolding$outboundSchema = z.object({
700
- buildRoleName: z.string(),
701
- egress: z.nullable(z.union([z.lazy(() => DeploymentStateEgress$outboundSchema), z.string()])).optional(),
702
- imageArn: z.nullable(z.string()).optional(),
703
- type: DeploymentStateTypeAwsSandbox$outboundSchema,
857
+ export const DeploymentStatePreparedStackExtendAzure$outboundSchema = z.object({
858
+ binding: z.lazy(() => DeploymentStatePreparedStackExtendAzureBinding$outboundSchema),
859
+ description: z.nullable(z.string()).optional(),
860
+ grant: z.lazy(() => DeploymentStatePreparedStackExtendAzureGrant$outboundSchema),
861
+ label: z.nullable(z.string()).optional(),
704
862
  });
705
- export function deploymentStateSetupScaffoldingToJSON(deploymentStateSetupScaffolding) {
706
- return JSON.stringify(DeploymentStateSetupScaffolding$outboundSchema.parse(deploymentStateSetupScaffolding));
863
+ export function deploymentStatePreparedStackExtendAzureToJSON(deploymentStatePreparedStackExtendAzure) {
864
+ return JSON.stringify(DeploymentStatePreparedStackExtendAzure$outboundSchema.parse(deploymentStatePreparedStackExtendAzure));
707
865
  }
708
- export function deploymentStateSetupScaffoldingFromJSON(jsonString) {
709
- return safeParse(jsonString, (x) => DeploymentStateSetupScaffolding$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateSetupScaffolding' from JSON`);
866
+ export function deploymentStatePreparedStackExtendAzureFromJSON(jsonString) {
867
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackExtendAzure$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackExtendAzure' from JSON`);
710
868
  }
711
869
  /** @internal */
712
- export const DeploymentStateSetupUpdateAuthorization$inboundSchema = z.object({
713
- baselineFrozenDigest: z.string(),
714
- nonce: z.string(),
715
- releaseId: z.string(),
716
- setupFingerprint: z.string(),
717
- setupFingerprintVersion: z.int(),
718
- setupTarget: z.string(),
719
- targetFrozenDigest: z.string(),
870
+ export const DeploymentStatePreparedStackExtendConditionResource$inboundSchema = z
871
+ .object({
872
+ expression: z.string(),
873
+ title: z.string(),
720
874
  });
721
875
  /** @internal */
722
- export const DeploymentStateSetupUpdateAuthorization$outboundSchema = z.object({
723
- baselineFrozenDigest: z.string(),
724
- nonce: z.string(),
725
- releaseId: z.string(),
726
- setupFingerprint: z.string(),
727
- setupFingerprintVersion: z.int(),
728
- setupTarget: z.string(),
729
- targetFrozenDigest: z.string(),
876
+ export const DeploymentStatePreparedStackExtendConditionResource$outboundSchema = z.object({
877
+ expression: z.string(),
878
+ title: z.string(),
730
879
  });
731
- export function deploymentStateSetupUpdateAuthorizationToJSON(deploymentStateSetupUpdateAuthorization) {
732
- return JSON.stringify(DeploymentStateSetupUpdateAuthorization$outboundSchema.parse(deploymentStateSetupUpdateAuthorization));
880
+ export function deploymentStatePreparedStackExtendConditionResourceToJSON(deploymentStatePreparedStackExtendConditionResource) {
881
+ return JSON.stringify(DeploymentStatePreparedStackExtendConditionResource$outboundSchema.parse(deploymentStatePreparedStackExtendConditionResource));
733
882
  }
734
- export function deploymentStateSetupUpdateAuthorizationFromJSON(jsonString) {
735
- return safeParse(jsonString, (x) => DeploymentStateSetupUpdateAuthorization$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateSetupUpdateAuthorization' from JSON`);
883
+ export function deploymentStatePreparedStackExtendConditionResourceFromJSON(jsonString) {
884
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackExtendConditionResource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackExtendConditionResource' from JSON`);
736
885
  }
737
886
  /** @internal */
738
- export const DeploymentStateSetupUpdateAuthorizationUnion$inboundSchema = z.union([
739
- z.lazy(() => DeploymentStateSetupUpdateAuthorization$inboundSchema),
887
+ export const DeploymentStatePreparedStackExtendResourceConditionUnion$inboundSchema = z.union([
888
+ z.lazy(() => DeploymentStatePreparedStackExtendConditionResource$inboundSchema),
740
889
  z.string(),
741
890
  ]);
742
891
  /** @internal */
743
- export const DeploymentStateSetupUpdateAuthorizationUnion$outboundSchema = z.union([
744
- z.lazy(() => DeploymentStateSetupUpdateAuthorization$outboundSchema),
892
+ export const DeploymentStatePreparedStackExtendResourceConditionUnion$outboundSchema = z.union([
893
+ z.lazy(() => DeploymentStatePreparedStackExtendConditionResource$outboundSchema),
745
894
  z.string(),
746
895
  ]);
747
- export function deploymentStateSetupUpdateAuthorizationUnionToJSON(deploymentStateSetupUpdateAuthorizationUnion) {
748
- return JSON.stringify(DeploymentStateSetupUpdateAuthorizationUnion$outboundSchema.parse(deploymentStateSetupUpdateAuthorizationUnion));
896
+ export function deploymentStatePreparedStackExtendResourceConditionUnionToJSON(deploymentStatePreparedStackExtendResourceConditionUnion) {
897
+ return JSON.stringify(DeploymentStatePreparedStackExtendResourceConditionUnion$outboundSchema
898
+ .parse(deploymentStatePreparedStackExtendResourceConditionUnion));
749
899
  }
750
- export function deploymentStateSetupUpdateAuthorizationUnionFromJSON(jsonString) {
751
- return safeParse(jsonString, (x) => DeploymentStateSetupUpdateAuthorizationUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateSetupUpdateAuthorizationUnion' from JSON`);
900
+ export function deploymentStatePreparedStackExtendResourceConditionUnionFromJSON(jsonString) {
901
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackExtendResourceConditionUnion$inboundSchema
902
+ .parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackExtendResourceConditionUnion' from JSON`);
752
903
  }
753
904
  /** @internal */
754
- export const DeploymentStateRuntimeMetadata$inboundSchema = z.object({
755
- deployerSecrets: z.array(DeploymentStateDeployerSecret$inboundSchema)
756
- .optional(),
757
- directSetupRevision: z.nullable(z.string()).optional(),
758
- initialSetupAuthority: DeploymentStateInitialSetupAuthority$inboundSchema
759
- .optional(),
760
- lastSyncedEnvVarsHash: z.nullable(z.string()).optional(),
761
- lastSyncedSecretNames: z.array(z.string()).optional(),
762
- pendingPreparedReleaseId: z.nullable(z.string()).optional(),
763
- pendingPreparedStack: z.nullable(DeploymentStatePendingPreparedStackUnion$inboundSchema).optional(),
764
- persistedGateAnswers: z.record(z.string(), z.boolean()).optional(),
765
- preparedStack: z.nullable(z.union([
766
- z.lazy(() => DeploymentStatePreparedStack$inboundSchema),
767
- z.string(),
768
- ])).optional(),
769
- registryAccess: z.nullable(z.union([
770
- z.lazy(() => DeploymentStateRegistryAccess$inboundSchema),
771
- z.string(),
772
- ])).optional(),
773
- registryAccessGranted: z.boolean().optional(),
774
- setupScaffolding: z.record(z.string(), z.lazy(() => DeploymentStateSetupScaffolding$inboundSchema)).optional(),
775
- setupUpdateAuthorization: z.nullable(z.union([
776
- z.lazy(() => DeploymentStateSetupUpdateAuthorization$inboundSchema),
905
+ export const DeploymentStatePreparedStackExtendGcpResource$inboundSchema = z.object({
906
+ condition: z.nullable(z.union([
907
+ z.lazy(() => DeploymentStatePreparedStackExtendConditionResource$inboundSchema),
777
908
  z.string(),
778
909
  ])).optional(),
910
+ scope: z.string(),
779
911
  });
780
912
  /** @internal */
781
- export const DeploymentStateRuntimeMetadata$outboundSchema = z.object({
782
- deployerSecrets: z.array(DeploymentStateDeployerSecret$outboundSchema)
783
- .optional(),
784
- directSetupRevision: z.nullable(z.string()).optional(),
785
- initialSetupAuthority: DeploymentStateInitialSetupAuthority$outboundSchema
786
- .optional(),
787
- lastSyncedEnvVarsHash: z.nullable(z.string()).optional(),
788
- lastSyncedSecretNames: z.array(z.string()).optional(),
789
- pendingPreparedReleaseId: z.nullable(z.string()).optional(),
790
- pendingPreparedStack: z.nullable(DeploymentStatePendingPreparedStackUnion$outboundSchema).optional(),
791
- persistedGateAnswers: z.record(z.string(), z.boolean()).optional(),
792
- preparedStack: z.nullable(z.union([
793
- z.lazy(() => DeploymentStatePreparedStack$outboundSchema),
794
- z.string(),
795
- ])).optional(),
796
- registryAccess: z.nullable(z.union([
797
- z.lazy(() => DeploymentStateRegistryAccess$outboundSchema),
798
- z.string(),
799
- ])).optional(),
800
- registryAccessGranted: z.boolean().optional(),
801
- setupScaffolding: z.record(z.string(), z.lazy(() => DeploymentStateSetupScaffolding$outboundSchema)).optional(),
802
- setupUpdateAuthorization: z.nullable(z.union([
803
- z.lazy(() => DeploymentStateSetupUpdateAuthorization$outboundSchema),
913
+ export const DeploymentStatePreparedStackExtendGcpResource$outboundSchema = z.object({
914
+ condition: z.nullable(z.union([
915
+ z.lazy(() => DeploymentStatePreparedStackExtendConditionResource$outboundSchema),
804
916
  z.string(),
805
917
  ])).optional(),
918
+ scope: z.string(),
806
919
  });
807
- export function deploymentStateRuntimeMetadataToJSON(deploymentStateRuntimeMetadata) {
808
- return JSON.stringify(DeploymentStateRuntimeMetadata$outboundSchema.parse(deploymentStateRuntimeMetadata));
920
+ export function deploymentStatePreparedStackExtendGcpResourceToJSON(deploymentStatePreparedStackExtendGcpResource) {
921
+ return JSON.stringify(DeploymentStatePreparedStackExtendGcpResource$outboundSchema.parse(deploymentStatePreparedStackExtendGcpResource));
809
922
  }
810
- export function deploymentStateRuntimeMetadataFromJSON(jsonString) {
811
- return safeParse(jsonString, (x) => DeploymentStateRuntimeMetadata$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateRuntimeMetadata' from JSON`);
923
+ export function deploymentStatePreparedStackExtendGcpResourceFromJSON(jsonString) {
924
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackExtendGcpResource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackExtendGcpResource' from JSON`);
812
925
  }
813
926
  /** @internal */
814
- export const RuntimeMetadata$inboundSchema = z.union([
815
- z.lazy(() => DeploymentStateRuntimeMetadata$inboundSchema),
927
+ export const DeploymentStatePreparedStackExtendConditionStack$inboundSchema = z
928
+ .object({
929
+ expression: z.string(),
930
+ title: z.string(),
931
+ });
932
+ /** @internal */
933
+ export const DeploymentStatePreparedStackExtendConditionStack$outboundSchema = z.object({
934
+ expression: z.string(),
935
+ title: z.string(),
936
+ });
937
+ export function deploymentStatePreparedStackExtendConditionStackToJSON(deploymentStatePreparedStackExtendConditionStack) {
938
+ return JSON.stringify(DeploymentStatePreparedStackExtendConditionStack$outboundSchema.parse(deploymentStatePreparedStackExtendConditionStack));
939
+ }
940
+ export function deploymentStatePreparedStackExtendConditionStackFromJSON(jsonString) {
941
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackExtendConditionStack$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackExtendConditionStack' from JSON`);
942
+ }
943
+ /** @internal */
944
+ export const DeploymentStatePreparedStackExtendStackConditionUnion$inboundSchema = z
945
+ .union([
946
+ z.lazy(() => DeploymentStatePreparedStackExtendConditionStack$inboundSchema),
816
947
  z.string(),
817
948
  ]);
818
949
  /** @internal */
819
- export const RuntimeMetadata$outboundSchema = z.union([
820
- z.lazy(() => DeploymentStateRuntimeMetadata$outboundSchema),
950
+ export const DeploymentStatePreparedStackExtendStackConditionUnion$outboundSchema = z.union([
951
+ z.lazy(() => DeploymentStatePreparedStackExtendConditionStack$outboundSchema),
821
952
  z.string(),
822
953
  ]);
823
- export function runtimeMetadataToJSON(runtimeMetadata) {
824
- return JSON.stringify(RuntimeMetadata$outboundSchema.parse(runtimeMetadata));
954
+ export function deploymentStatePreparedStackExtendStackConditionUnionToJSON(deploymentStatePreparedStackExtendStackConditionUnion) {
955
+ return JSON.stringify(DeploymentStatePreparedStackExtendStackConditionUnion$outboundSchema.parse(deploymentStatePreparedStackExtendStackConditionUnion));
825
956
  }
826
- export function runtimeMetadataFromJSON(jsonString) {
827
- return safeParse(jsonString, (x) => RuntimeMetadata$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'RuntimeMetadata' from JSON`);
957
+ export function deploymentStatePreparedStackExtendStackConditionUnionFromJSON(jsonString) {
958
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackExtendStackConditionUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackExtendStackConditionUnion' from JSON`);
828
959
  }
829
960
  /** @internal */
830
- export const DeploymentStateStackStatePlatform$inboundSchema = z.enum(DeploymentStateStackStatePlatform);
961
+ export const DeploymentStatePreparedStackExtendGcpStack$inboundSchema = z.object({
962
+ condition: z.nullable(z.union([
963
+ z.lazy(() => DeploymentStatePreparedStackExtendConditionStack$inboundSchema),
964
+ z.string(),
965
+ ])).optional(),
966
+ scope: z.string(),
967
+ });
831
968
  /** @internal */
832
- export const DeploymentStateStackStatePlatform$outboundSchema = DeploymentStateStackStatePlatform$inboundSchema;
969
+ export const DeploymentStatePreparedStackExtendGcpStack$outboundSchema = z.object({
970
+ condition: z.nullable(z.union([
971
+ z.lazy(() => DeploymentStatePreparedStackExtendConditionStack$outboundSchema),
972
+ z.string(),
973
+ ])).optional(),
974
+ scope: z.string(),
975
+ });
976
+ export function deploymentStatePreparedStackExtendGcpStackToJSON(deploymentStatePreparedStackExtendGcpStack) {
977
+ return JSON.stringify(DeploymentStatePreparedStackExtendGcpStack$outboundSchema.parse(deploymentStatePreparedStackExtendGcpStack));
978
+ }
979
+ export function deploymentStatePreparedStackExtendGcpStackFromJSON(jsonString) {
980
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackExtendGcpStack$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackExtendGcpStack' from JSON`);
981
+ }
833
982
  /** @internal */
834
- export const DeploymentStateStackStateConfig$inboundSchema = collectExtraKeys$(z.object({
835
- id: z.string(),
836
- type: z.string(),
837
- }).catchall(z.any()), "additionalProperties", true);
983
+ export const DeploymentStatePreparedStackExtendGcpBinding$inboundSchema = z.object({
984
+ resource: z.lazy(() => DeploymentStatePreparedStackExtendGcpResource$inboundSchema).optional(),
985
+ stack: z.lazy(() => DeploymentStatePreparedStackExtendGcpStack$inboundSchema).optional(),
986
+ });
838
987
  /** @internal */
839
- export const DeploymentStateStackStateConfig$outboundSchema = z.object({
840
- id: z.string(),
841
- type: z.string(),
842
- additionalProperties: z.record(z.string(), z.nullable(z.any())).optional(),
843
- }).transform((v) => {
844
- return {
845
- ...v.additionalProperties,
846
- ...remap$(v, {
847
- additionalProperties: null,
848
- }),
849
- };
988
+ export const DeploymentStatePreparedStackExtendGcpBinding$outboundSchema = z.object({
989
+ resource: z.lazy(() => DeploymentStatePreparedStackExtendGcpResource$outboundSchema).optional(),
990
+ stack: z.lazy(() => DeploymentStatePreparedStackExtendGcpStack$outboundSchema).optional(),
850
991
  });
851
- export function deploymentStateStackStateConfigToJSON(deploymentStateStackStateConfig) {
852
- return JSON.stringify(DeploymentStateStackStateConfig$outboundSchema.parse(deploymentStateStackStateConfig));
992
+ export function deploymentStatePreparedStackExtendGcpBindingToJSON(deploymentStatePreparedStackExtendGcpBinding) {
993
+ return JSON.stringify(DeploymentStatePreparedStackExtendGcpBinding$outboundSchema.parse(deploymentStatePreparedStackExtendGcpBinding));
853
994
  }
854
- export function deploymentStateStackStateConfigFromJSON(jsonString) {
855
- return safeParse(jsonString, (x) => DeploymentStateStackStateConfig$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateStackStateConfig' from JSON`);
995
+ export function deploymentStatePreparedStackExtendGcpBindingFromJSON(jsonString) {
996
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackExtendGcpBinding$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackExtendGcpBinding' from JSON`);
856
997
  }
857
998
  /** @internal */
858
- export const DeploymentStateControllerPlatformEnum$inboundSchema = z.enum(DeploymentStateControllerPlatformEnum);
999
+ export const DeploymentStatePreparedStackExtendGcpGrant$inboundSchema = z.object({
1000
+ actions: z.nullable(z.array(z.string())).optional(),
1001
+ dataActions: z.nullable(z.array(z.string())).optional(),
1002
+ permissions: z.nullable(z.array(z.string())).optional(),
1003
+ predefinedRoles: z.nullable(z.array(z.string())).optional(),
1004
+ residualPermissions: z.nullable(z.array(z.string())).optional(),
1005
+ });
859
1006
  /** @internal */
860
- export const DeploymentStateControllerPlatformEnum$outboundSchema = DeploymentStateControllerPlatformEnum$inboundSchema;
1007
+ export const DeploymentStatePreparedStackExtendGcpGrant$outboundSchema = z.object({
1008
+ actions: z.nullable(z.array(z.string())).optional(),
1009
+ dataActions: z.nullable(z.array(z.string())).optional(),
1010
+ permissions: z.nullable(z.array(z.string())).optional(),
1011
+ predefinedRoles: z.nullable(z.array(z.string())).optional(),
1012
+ residualPermissions: z.nullable(z.array(z.string())).optional(),
1013
+ });
1014
+ export function deploymentStatePreparedStackExtendGcpGrantToJSON(deploymentStatePreparedStackExtendGcpGrant) {
1015
+ return JSON.stringify(DeploymentStatePreparedStackExtendGcpGrant$outboundSchema.parse(deploymentStatePreparedStackExtendGcpGrant));
1016
+ }
1017
+ export function deploymentStatePreparedStackExtendGcpGrantFromJSON(jsonString) {
1018
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackExtendGcpGrant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackExtendGcpGrant' from JSON`);
1019
+ }
861
1020
  /** @internal */
862
- export const DeploymentStateControllerPlatformUnion$inboundSchema = z.union([DeploymentStateControllerPlatformEnum$inboundSchema, z.string()]);
1021
+ export const DeploymentStatePreparedStackExtendGcp$inboundSchema = z.object({
1022
+ binding: z.lazy(() => DeploymentStatePreparedStackExtendGcpBinding$inboundSchema),
1023
+ description: z.nullable(z.string()).optional(),
1024
+ grant: z.lazy(() => DeploymentStatePreparedStackExtendGcpGrant$inboundSchema),
1025
+ label: z.nullable(z.string()).optional(),
1026
+ });
863
1027
  /** @internal */
864
- export const DeploymentStateControllerPlatformUnion$outboundSchema = z.union([DeploymentStateControllerPlatformEnum$outboundSchema, z.string()]);
865
- export function deploymentStateControllerPlatformUnionToJSON(deploymentStateControllerPlatformUnion) {
866
- return JSON.stringify(DeploymentStateControllerPlatformUnion$outboundSchema.parse(deploymentStateControllerPlatformUnion));
1028
+ export const DeploymentStatePreparedStackExtendGcp$outboundSchema = z.object({
1029
+ binding: z.lazy(() => DeploymentStatePreparedStackExtendGcpBinding$outboundSchema),
1030
+ description: z.nullable(z.string()).optional(),
1031
+ grant: z.lazy(() => DeploymentStatePreparedStackExtendGcpGrant$outboundSchema),
1032
+ label: z.nullable(z.string()).optional(),
1033
+ });
1034
+ export function deploymentStatePreparedStackExtendGcpToJSON(deploymentStatePreparedStackExtendGcp) {
1035
+ return JSON.stringify(DeploymentStatePreparedStackExtendGcp$outboundSchema.parse(deploymentStatePreparedStackExtendGcp));
867
1036
  }
868
- export function deploymentStateControllerPlatformUnionFromJSON(jsonString) {
869
- return safeParse(jsonString, (x) => DeploymentStateControllerPlatformUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateControllerPlatformUnion' from JSON`);
1037
+ export function deploymentStatePreparedStackExtendGcpFromJSON(jsonString) {
1038
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackExtendGcp$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackExtendGcp' from JSON`);
870
1039
  }
871
1040
  /** @internal */
872
- export const DeploymentStateStackStateDependency$inboundSchema = z.object({
873
- id: z.string(),
874
- type: z.string(),
1041
+ export const DeploymentStatePreparedStackExtendPlatforms$inboundSchema = z.object({
1042
+ aws: z.nullable(z.array(z.lazy(() => DeploymentStatePreparedStackExtendAw$inboundSchema))).optional(),
1043
+ azure: z.nullable(z.array(z.lazy(() => DeploymentStatePreparedStackExtendAzure$inboundSchema))).optional(),
1044
+ gcp: z.nullable(z.array(z.lazy(() => DeploymentStatePreparedStackExtendGcp$inboundSchema))).optional(),
875
1045
  });
876
1046
  /** @internal */
877
- export const DeploymentStateStackStateDependency$outboundSchema = z.object({
878
- id: z.string(),
879
- type: z.string(),
1047
+ export const DeploymentStatePreparedStackExtendPlatforms$outboundSchema = z.object({
1048
+ aws: z.nullable(z.array(z.lazy(() => DeploymentStatePreparedStackExtendAw$outboundSchema))).optional(),
1049
+ azure: z.nullable(z.array(z.lazy(() => DeploymentStatePreparedStackExtendAzure$outboundSchema))).optional(),
1050
+ gcp: z.nullable(z.array(z.lazy(() => DeploymentStatePreparedStackExtendGcp$outboundSchema))).optional(),
880
1051
  });
881
- export function deploymentStateStackStateDependencyToJSON(deploymentStateStackStateDependency) {
882
- return JSON.stringify(DeploymentStateStackStateDependency$outboundSchema.parse(deploymentStateStackStateDependency));
1052
+ export function deploymentStatePreparedStackExtendPlatformsToJSON(deploymentStatePreparedStackExtendPlatforms) {
1053
+ return JSON.stringify(DeploymentStatePreparedStackExtendPlatforms$outboundSchema.parse(deploymentStatePreparedStackExtendPlatforms));
883
1054
  }
884
- export function deploymentStateStackStateDependencyFromJSON(jsonString) {
885
- return safeParse(jsonString, (x) => DeploymentStateStackStateDependency$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateStackStateDependency' from JSON`);
1055
+ export function deploymentStatePreparedStackExtendPlatformsFromJSON(jsonString) {
1056
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackExtendPlatforms$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackExtendPlatforms' from JSON`);
886
1057
  }
887
1058
  /** @internal */
888
- export const DeploymentStateStackStateError$inboundSchema = z.object({
889
- code: z.string(),
890
- context: z.nullable(z.any()).optional(),
891
- hint: z.nullable(z.string()).optional(),
892
- httpStatusCode: z.nullable(z.int()).optional(),
893
- internal: z.boolean(),
894
- message: z.string(),
895
- retryable: z.boolean().default(false),
896
- source: z.nullable(z.any()).optional(),
1059
+ export const DeploymentStatePreparedStackExtend$inboundSchema = z.object({
1060
+ description: z.string(),
1061
+ id: z.string(),
1062
+ platforms: z.lazy(() => DeploymentStatePreparedStackExtendPlatforms$inboundSchema),
897
1063
  });
898
1064
  /** @internal */
899
- export const DeploymentStateStackStateError$outboundSchema = z.object({
900
- code: z.string(),
901
- context: z.nullable(z.any()).optional(),
902
- hint: z.nullable(z.string()).optional(),
903
- httpStatusCode: z.nullable(z.int()).optional(),
904
- internal: z.boolean(),
905
- message: z.string(),
906
- retryable: z.boolean().default(false),
907
- source: z.nullable(z.any()).optional(),
1065
+ export const DeploymentStatePreparedStackExtend$outboundSchema = z.object({
1066
+ description: z.string(),
1067
+ id: z.string(),
1068
+ platforms: z.lazy(() => DeploymentStatePreparedStackExtendPlatforms$outboundSchema),
908
1069
  });
909
- export function deploymentStateStackStateErrorToJSON(deploymentStateStackStateError) {
910
- return JSON.stringify(DeploymentStateStackStateError$outboundSchema.parse(deploymentStateStackStateError));
1070
+ export function deploymentStatePreparedStackExtendToJSON(deploymentStatePreparedStackExtend) {
1071
+ return JSON.stringify(DeploymentStatePreparedStackExtend$outboundSchema.parse(deploymentStatePreparedStackExtend));
911
1072
  }
912
- export function deploymentStateStackStateErrorFromJSON(jsonString) {
913
- return safeParse(jsonString, (x) => DeploymentStateStackStateError$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateStackStateError' from JSON`);
1073
+ export function deploymentStatePreparedStackExtendFromJSON(jsonString) {
1074
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackExtend$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackExtend' from JSON`);
914
1075
  }
915
1076
  /** @internal */
916
- export const DeploymentStateStackStateErrorUnion$inboundSchema = z.union([
917
- z.lazy(() => DeploymentStateStackStateError$inboundSchema),
1077
+ export const DeploymentStatePreparedStackExtendUnion$inboundSchema = z.union([
1078
+ z.lazy(() => DeploymentStatePreparedStackExtend$inboundSchema),
918
1079
  z.string(),
919
1080
  ]);
920
1081
  /** @internal */
921
- export const DeploymentStateStackStateErrorUnion$outboundSchema = z.union([
922
- z.lazy(() => DeploymentStateStackStateError$outboundSchema),
1082
+ export const DeploymentStatePreparedStackExtendUnion$outboundSchema = z.union([
1083
+ z.lazy(() => DeploymentStatePreparedStackExtend$outboundSchema),
923
1084
  z.string(),
924
1085
  ]);
925
- export function deploymentStateStackStateErrorUnionToJSON(deploymentStateStackStateErrorUnion) {
926
- return JSON.stringify(DeploymentStateStackStateErrorUnion$outboundSchema.parse(deploymentStateStackStateErrorUnion));
1086
+ export function deploymentStatePreparedStackExtendUnionToJSON(deploymentStatePreparedStackExtendUnion) {
1087
+ return JSON.stringify(DeploymentStatePreparedStackExtendUnion$outboundSchema.parse(deploymentStatePreparedStackExtendUnion));
927
1088
  }
928
- export function deploymentStateStackStateErrorUnionFromJSON(jsonString) {
929
- return safeParse(jsonString, (x) => DeploymentStateStackStateErrorUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateStackStateErrorUnion' from JSON`);
1089
+ export function deploymentStatePreparedStackExtendUnionFromJSON(jsonString) {
1090
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackExtendUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackExtendUnion' from JSON`);
930
1091
  }
931
1092
  /** @internal */
932
- export const DeploymentStateStackStateLifecycleEnum$inboundSchema = z.enum(DeploymentStateStackStateLifecycleEnum);
1093
+ export const DeploymentStatePreparedStackManagement1$inboundSchema = z.object({
1094
+ extend: z.record(z.string(), z.array(z.union([
1095
+ z.lazy(() => DeploymentStatePreparedStackExtend$inboundSchema),
1096
+ z.string(),
1097
+ ]))),
1098
+ });
933
1099
  /** @internal */
934
- export const DeploymentStateStackStateLifecycleEnum$outboundSchema = DeploymentStateStackStateLifecycleEnum$inboundSchema;
1100
+ export const DeploymentStatePreparedStackManagement1$outboundSchema = z.object({
1101
+ extend: z.record(z.string(), z.array(z.union([
1102
+ z.lazy(() => DeploymentStatePreparedStackExtend$outboundSchema),
1103
+ z.string(),
1104
+ ]))),
1105
+ });
1106
+ export function deploymentStatePreparedStackManagement1ToJSON(deploymentStatePreparedStackManagement1) {
1107
+ return JSON.stringify(DeploymentStatePreparedStackManagement1$outboundSchema.parse(deploymentStatePreparedStackManagement1));
1108
+ }
1109
+ export function deploymentStatePreparedStackManagement1FromJSON(jsonString) {
1110
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackManagement1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackManagement1' from JSON`);
1111
+ }
935
1112
  /** @internal */
936
- export const DeploymentStateLifecycleUnion$inboundSchema = z.union([DeploymentStateStackStateLifecycleEnum$inboundSchema, z.string()]);
1113
+ export const DeploymentStatePreparedStackManagementUnion$inboundSchema = z.union([
1114
+ z.lazy(() => DeploymentStatePreparedStackManagement1$inboundSchema),
1115
+ z.lazy(() => DeploymentStatePreparedStackManagement2$inboundSchema),
1116
+ DeploymentStatePreparedStackManagementEnum$inboundSchema,
1117
+ ]);
937
1118
  /** @internal */
938
- export const DeploymentStateLifecycleUnion$outboundSchema = z.union([
939
- DeploymentStateStackStateLifecycleEnum$outboundSchema,
940
- z.string(),
1119
+ export const DeploymentStatePreparedStackManagementUnion$outboundSchema = z.union([
1120
+ z.lazy(() => DeploymentStatePreparedStackManagement1$outboundSchema),
1121
+ z.lazy(() => DeploymentStatePreparedStackManagement2$outboundSchema),
1122
+ DeploymentStatePreparedStackManagementEnum$outboundSchema,
941
1123
  ]);
942
- export function deploymentStateLifecycleUnionToJSON(deploymentStateLifecycleUnion) {
943
- return JSON.stringify(DeploymentStateLifecycleUnion$outboundSchema.parse(deploymentStateLifecycleUnion));
1124
+ export function deploymentStatePreparedStackManagementUnionToJSON(deploymentStatePreparedStackManagementUnion) {
1125
+ return JSON.stringify(DeploymentStatePreparedStackManagementUnion$outboundSchema.parse(deploymentStatePreparedStackManagementUnion));
944
1126
  }
945
- export function deploymentStateLifecycleUnionFromJSON(jsonString) {
946
- return safeParse(jsonString, (x) => DeploymentStateLifecycleUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateLifecycleUnion' from JSON`);
1127
+ export function deploymentStatePreparedStackManagementUnionFromJSON(jsonString) {
1128
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackManagementUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackManagementUnion' from JSON`);
947
1129
  }
948
1130
  /** @internal */
949
- export const DeploymentStateOutputs$inboundSchema = collectExtraKeys$(z.object({
950
- type: z.string(),
951
- }).catchall(z.any()), "additionalProperties", true);
1131
+ export const DeploymentStatePreparedStackProfileAwResource$inboundSchema = z.object({
1132
+ condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string()))).optional(),
1133
+ notResources: z.array(z.string()).optional(),
1134
+ resources: z.array(z.string()),
1135
+ });
952
1136
  /** @internal */
953
- export const DeploymentStateOutputs$outboundSchema = z.object({
954
- type: z.string(),
955
- additionalProperties: z.record(z.string(), z.nullable(z.any())).optional(),
956
- }).transform((v) => {
957
- return {
958
- ...v.additionalProperties,
959
- ...remap$(v, {
960
- additionalProperties: null,
961
- }),
962
- };
1137
+ export const DeploymentStatePreparedStackProfileAwResource$outboundSchema = z.object({
1138
+ condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string()))).optional(),
1139
+ notResources: z.array(z.string()).optional(),
1140
+ resources: z.array(z.string()),
963
1141
  });
964
- export function deploymentStateOutputsToJSON(deploymentStateOutputs) {
965
- return JSON.stringify(DeploymentStateOutputs$outboundSchema.parse(deploymentStateOutputs));
1142
+ export function deploymentStatePreparedStackProfileAwResourceToJSON(deploymentStatePreparedStackProfileAwResource) {
1143
+ return JSON.stringify(DeploymentStatePreparedStackProfileAwResource$outboundSchema.parse(deploymentStatePreparedStackProfileAwResource));
966
1144
  }
967
- export function deploymentStateOutputsFromJSON(jsonString) {
968
- return safeParse(jsonString, (x) => DeploymentStateOutputs$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateOutputs' from JSON`);
1145
+ export function deploymentStatePreparedStackProfileAwResourceFromJSON(jsonString) {
1146
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackProfileAwResource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackProfileAwResource' from JSON`);
969
1147
  }
970
1148
  /** @internal */
971
- export const DeploymentStateOutputsUnion$inboundSchema = z.union([z.lazy(() => DeploymentStateOutputs$inboundSchema), z.string()]);
1149
+ export const DeploymentStatePreparedStackProfileAwStack$inboundSchema = z.object({
1150
+ condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string()))).optional(),
1151
+ notResources: z.array(z.string()).optional(),
1152
+ resources: z.array(z.string()),
1153
+ });
972
1154
  /** @internal */
973
- export const DeploymentStateOutputsUnion$outboundSchema = z.union([z.lazy(() => DeploymentStateOutputs$outboundSchema), z.string()]);
974
- export function deploymentStateOutputsUnionToJSON(deploymentStateOutputsUnion) {
975
- return JSON.stringify(DeploymentStateOutputsUnion$outboundSchema.parse(deploymentStateOutputsUnion));
1155
+ export const DeploymentStatePreparedStackProfileAwStack$outboundSchema = z.object({
1156
+ condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string()))).optional(),
1157
+ notResources: z.array(z.string()).optional(),
1158
+ resources: z.array(z.string()),
1159
+ });
1160
+ export function deploymentStatePreparedStackProfileAwStackToJSON(deploymentStatePreparedStackProfileAwStack) {
1161
+ return JSON.stringify(DeploymentStatePreparedStackProfileAwStack$outboundSchema.parse(deploymentStatePreparedStackProfileAwStack));
976
1162
  }
977
- export function deploymentStateOutputsUnionFromJSON(jsonString) {
978
- return safeParse(jsonString, (x) => DeploymentStateOutputsUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateOutputsUnion' from JSON`);
1163
+ export function deploymentStatePreparedStackProfileAwStackFromJSON(jsonString) {
1164
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackProfileAwStack$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackProfileAwStack' from JSON`);
979
1165
  }
980
1166
  /** @internal */
981
- export const DeploymentStatePreviousConfig$inboundSchema = collectExtraKeys$(z.object({
982
- id: z.string(),
983
- type: z.string(),
984
- }).catchall(z.any()), "additionalProperties", true);
1167
+ export const DeploymentStatePreparedStackProfileAwBinding$inboundSchema = z.object({
1168
+ resource: z.lazy(() => DeploymentStatePreparedStackProfileAwResource$inboundSchema).optional(),
1169
+ stack: z.lazy(() => DeploymentStatePreparedStackProfileAwStack$inboundSchema).optional(),
1170
+ });
985
1171
  /** @internal */
986
- export const DeploymentStatePreviousConfig$outboundSchema = z.object({
987
- id: z.string(),
988
- type: z.string(),
989
- additionalProperties: z.record(z.string(), z.nullable(z.any())).optional(),
990
- }).transform((v) => {
991
- return {
992
- ...v.additionalProperties,
993
- ...remap$(v, {
994
- additionalProperties: null,
995
- }),
996
- };
1172
+ export const DeploymentStatePreparedStackProfileAwBinding$outboundSchema = z.object({
1173
+ resource: z.lazy(() => DeploymentStatePreparedStackProfileAwResource$outboundSchema).optional(),
1174
+ stack: z.lazy(() => DeploymentStatePreparedStackProfileAwStack$outboundSchema).optional(),
997
1175
  });
998
- export function deploymentStatePreviousConfigToJSON(deploymentStatePreviousConfig) {
999
- return JSON.stringify(DeploymentStatePreviousConfig$outboundSchema.parse(deploymentStatePreviousConfig));
1176
+ export function deploymentStatePreparedStackProfileAwBindingToJSON(deploymentStatePreparedStackProfileAwBinding) {
1177
+ return JSON.stringify(DeploymentStatePreparedStackProfileAwBinding$outboundSchema.parse(deploymentStatePreparedStackProfileAwBinding));
1000
1178
  }
1001
- export function deploymentStatePreviousConfigFromJSON(jsonString) {
1002
- return safeParse(jsonString, (x) => DeploymentStatePreviousConfig$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreviousConfig' from JSON`);
1179
+ export function deploymentStatePreparedStackProfileAwBindingFromJSON(jsonString) {
1180
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackProfileAwBinding$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackProfileAwBinding' from JSON`);
1003
1181
  }
1004
1182
  /** @internal */
1005
- export const DeploymentStatePreviousConfigUnion$inboundSchema = z.union([
1006
- z.lazy(() => DeploymentStatePreviousConfig$inboundSchema),
1007
- z.string(),
1008
- ]);
1183
+ export const DeploymentStatePreparedStackProfileEffect$inboundSchema = z.enum(DeploymentStatePreparedStackProfileEffect);
1009
1184
  /** @internal */
1010
- export const DeploymentStatePreviousConfigUnion$outboundSchema = z.union([
1011
- z.lazy(() => DeploymentStatePreviousConfig$outboundSchema),
1012
- z.string(),
1013
- ]);
1014
- export function deploymentStatePreviousConfigUnionToJSON(deploymentStatePreviousConfigUnion) {
1015
- return JSON.stringify(DeploymentStatePreviousConfigUnion$outboundSchema.parse(deploymentStatePreviousConfigUnion));
1016
- }
1017
- export function deploymentStatePreviousConfigUnionFromJSON(jsonString) {
1018
- return safeParse(jsonString, (x) => DeploymentStatePreviousConfigUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreviousConfigUnion' from JSON`);
1019
- }
1020
- /** @internal */
1021
- export const DeploymentStateStackStateStatus$inboundSchema = z.enum(DeploymentStateStackStateStatus);
1022
- /** @internal */
1023
- export const DeploymentStateStackStateStatus$outboundSchema = DeploymentStateStackStateStatus$inboundSchema;
1024
- /** @internal */
1025
- export const DeploymentStateStackStateResources$inboundSchema = z.object({
1026
- _internal: z.nullable(z.any()).optional(),
1027
- config: z.lazy(() => DeploymentStateStackStateConfig$inboundSchema),
1028
- controllerPlatform: z.nullable(z.union([DeploymentStateControllerPlatformEnum$inboundSchema, z.string()])).optional(),
1029
- dependencies: z.array(z.lazy(() => DeploymentStateStackStateDependency$inboundSchema)).optional(),
1030
- error: z.nullable(z.union([
1031
- z.lazy(() => DeploymentStateStackStateError$inboundSchema),
1032
- z.string(),
1033
- ])).optional(),
1034
- lastFailedState: z.nullable(z.any()).optional(),
1035
- lifecycle: z.nullable(z.union([DeploymentStateStackStateLifecycleEnum$inboundSchema, z.string()])).optional(),
1036
- outputs: z.nullable(z.union([z.lazy(() => DeploymentStateOutputs$inboundSchema), z.string()])).optional(),
1037
- previousConfig: z.nullable(z.union([
1038
- z.lazy(() => DeploymentStatePreviousConfig$inboundSchema),
1039
- z.string(),
1040
- ])).optional(),
1041
- remoteBindingParams: z.nullable(z.any()).optional(),
1042
- retryAttempt: z.int().optional(),
1043
- status: DeploymentStateStackStateStatus$inboundSchema,
1044
- type: z.string(),
1045
- }).transform((v) => {
1046
- return remap$(v, {
1047
- "_internal": "internal",
1048
- });
1049
- });
1050
- /** @internal */
1051
- export const DeploymentStateStackStateResources$outboundSchema = z.object({
1052
- internal: z.nullable(z.any()).optional(),
1053
- config: z.lazy(() => DeploymentStateStackStateConfig$outboundSchema),
1054
- controllerPlatform: z.nullable(z.union([DeploymentStateControllerPlatformEnum$outboundSchema, z.string()])).optional(),
1055
- dependencies: z.array(z.lazy(() => DeploymentStateStackStateDependency$outboundSchema)).optional(),
1056
- error: z.nullable(z.union([
1057
- z.lazy(() => DeploymentStateStackStateError$outboundSchema),
1058
- z.string(),
1059
- ])).optional(),
1060
- lastFailedState: z.nullable(z.any()).optional(),
1061
- lifecycle: z.nullable(z.union([
1062
- DeploymentStateStackStateLifecycleEnum$outboundSchema,
1063
- z.string(),
1064
- ])).optional(),
1065
- outputs: z.nullable(z.union([z.lazy(() => DeploymentStateOutputs$outboundSchema), z.string()])).optional(),
1066
- previousConfig: z.nullable(z.union([
1067
- z.lazy(() => DeploymentStatePreviousConfig$outboundSchema),
1068
- z.string(),
1069
- ])).optional(),
1070
- remoteBindingParams: z.nullable(z.any()).optional(),
1071
- retryAttempt: z.int().optional(),
1072
- status: DeploymentStateStackStateStatus$outboundSchema,
1073
- type: z.string(),
1074
- }).transform((v) => {
1075
- return remap$(v, {
1076
- internal: "_internal",
1077
- });
1078
- });
1079
- export function deploymentStateStackStateResourcesToJSON(deploymentStateStackStateResources) {
1080
- return JSON.stringify(DeploymentStateStackStateResources$outboundSchema.parse(deploymentStateStackStateResources));
1081
- }
1082
- export function deploymentStateStackStateResourcesFromJSON(jsonString) {
1083
- return safeParse(jsonString, (x) => DeploymentStateStackStateResources$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateStackStateResources' from JSON`);
1084
- }
1185
+ export const DeploymentStatePreparedStackProfileEffect$outboundSchema = DeploymentStatePreparedStackProfileEffect$inboundSchema;
1085
1186
  /** @internal */
1086
- export const DeploymentStateStackState$inboundSchema = z.object({
1087
- platform: DeploymentStateStackStatePlatform$inboundSchema,
1088
- resourcePrefix: z.string(),
1089
- resources: z.record(z.string(), z.lazy(() => DeploymentStateStackStateResources$inboundSchema)),
1187
+ export const DeploymentStatePreparedStackProfileAwGrant$inboundSchema = z.object({
1188
+ actions: z.nullable(z.array(z.string())).optional(),
1189
+ dataActions: z.nullable(z.array(z.string())).optional(),
1190
+ permissions: z.nullable(z.array(z.string())).optional(),
1191
+ predefinedRoles: z.nullable(z.array(z.string())).optional(),
1192
+ residualPermissions: z.nullable(z.array(z.string())).optional(),
1090
1193
  });
1091
1194
  /** @internal */
1092
- export const DeploymentStateStackState$outboundSchema = z.object({
1093
- platform: DeploymentStateStackStatePlatform$outboundSchema,
1094
- resourcePrefix: z.string(),
1095
- resources: z.record(z.string(), z.lazy(() => DeploymentStateStackStateResources$outboundSchema)),
1195
+ export const DeploymentStatePreparedStackProfileAwGrant$outboundSchema = z.object({
1196
+ actions: z.nullable(z.array(z.string())).optional(),
1197
+ dataActions: z.nullable(z.array(z.string())).optional(),
1198
+ permissions: z.nullable(z.array(z.string())).optional(),
1199
+ predefinedRoles: z.nullable(z.array(z.string())).optional(),
1200
+ residualPermissions: z.nullable(z.array(z.string())).optional(),
1096
1201
  });
1097
- export function deploymentStateStackStateToJSON(deploymentStateStackState) {
1098
- return JSON.stringify(DeploymentStateStackState$outboundSchema.parse(deploymentStateStackState));
1099
- }
1100
- export function deploymentStateStackStateFromJSON(jsonString) {
1101
- return safeParse(jsonString, (x) => DeploymentStateStackState$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateStackState' from JSON`);
1102
- }
1103
- /** @internal */
1104
- export const StackState$inboundSchema = z.union([z.lazy(() => DeploymentStateStackState$inboundSchema), z.string()]);
1105
- /** @internal */
1106
- export const StackState$outboundSchema = z.union([
1107
- z.lazy(() => DeploymentStateStackState$outboundSchema),
1108
- z.string(),
1109
- ]);
1110
- export function stackStateToJSON(stackState) {
1111
- return JSON.stringify(StackState$outboundSchema.parse(stackState));
1202
+ export function deploymentStatePreparedStackProfileAwGrantToJSON(deploymentStatePreparedStackProfileAwGrant) {
1203
+ return JSON.stringify(DeploymentStatePreparedStackProfileAwGrant$outboundSchema.parse(deploymentStatePreparedStackProfileAwGrant));
1112
1204
  }
1113
- export function stackStateFromJSON(jsonString) {
1114
- return safeParse(jsonString, (x) => StackState$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'StackState' from JSON`);
1205
+ export function deploymentStatePreparedStackProfileAwGrantFromJSON(jsonString) {
1206
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackProfileAwGrant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackProfileAwGrant' from JSON`);
1115
1207
  }
1116
1208
  /** @internal */
1117
- export const DeploymentStateStatus$inboundSchema = z.enum(DeploymentStateStatus);
1118
- /** @internal */
1119
- export const DeploymentStateStatus$outboundSchema = DeploymentStateStatus$inboundSchema;
1120
- /** @internal */
1121
- export const TargetReleaseTypeStringList$inboundSchema = z.enum(TargetReleaseTypeStringList);
1122
- /** @internal */
1123
- export const TargetReleaseTypeStringList$outboundSchema = TargetReleaseTypeStringList$inboundSchema;
1124
- /** @internal */
1125
- export const TargetReleaseDefaultStringList$inboundSchema = z.object({
1126
- type: TargetReleaseTypeStringList$inboundSchema,
1127
- value: z.array(z.string()),
1209
+ export const DeploymentStatePreparedStackProfileAw$inboundSchema = z.object({
1210
+ binding: z.lazy(() => DeploymentStatePreparedStackProfileAwBinding$inboundSchema),
1211
+ description: z.nullable(z.string()).optional(),
1212
+ effect: DeploymentStatePreparedStackProfileEffect$inboundSchema.optional(),
1213
+ grant: z.lazy(() => DeploymentStatePreparedStackProfileAwGrant$inboundSchema),
1214
+ label: z.nullable(z.string()).optional(),
1128
1215
  });
1129
1216
  /** @internal */
1130
- export const TargetReleaseDefaultStringList$outboundSchema = z.object({
1131
- type: TargetReleaseTypeStringList$outboundSchema,
1132
- value: z.array(z.string()),
1217
+ export const DeploymentStatePreparedStackProfileAw$outboundSchema = z.object({
1218
+ binding: z.lazy(() => DeploymentStatePreparedStackProfileAwBinding$outboundSchema),
1219
+ description: z.nullable(z.string()).optional(),
1220
+ effect: DeploymentStatePreparedStackProfileEffect$outboundSchema.optional(),
1221
+ grant: z.lazy(() => DeploymentStatePreparedStackProfileAwGrant$outboundSchema),
1222
+ label: z.nullable(z.string()).optional(),
1133
1223
  });
1134
- export function targetReleaseDefaultStringListToJSON(targetReleaseDefaultStringList) {
1135
- return JSON.stringify(TargetReleaseDefaultStringList$outboundSchema.parse(targetReleaseDefaultStringList));
1224
+ export function deploymentStatePreparedStackProfileAwToJSON(deploymentStatePreparedStackProfileAw) {
1225
+ return JSON.stringify(DeploymentStatePreparedStackProfileAw$outboundSchema.parse(deploymentStatePreparedStackProfileAw));
1136
1226
  }
1137
- export function targetReleaseDefaultStringListFromJSON(jsonString) {
1138
- return safeParse(jsonString, (x) => TargetReleaseDefaultStringList$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseDefaultStringList' from JSON`);
1227
+ export function deploymentStatePreparedStackProfileAwFromJSON(jsonString) {
1228
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackProfileAw$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackProfileAw' from JSON`);
1139
1229
  }
1140
1230
  /** @internal */
1141
- export const TargetReleaseTypeBoolean$inboundSchema = z.enum(TargetReleaseTypeBoolean);
1142
- /** @internal */
1143
- export const TargetReleaseTypeBoolean$outboundSchema = TargetReleaseTypeBoolean$inboundSchema;
1144
- /** @internal */
1145
- export const TargetReleaseDefaultBoolean$inboundSchema = z.object({
1146
- type: TargetReleaseTypeBoolean$inboundSchema,
1147
- value: z.boolean(),
1231
+ export const DeploymentStatePreparedStackProfileAzureResource$inboundSchema = z
1232
+ .object({
1233
+ scope: z.string(),
1148
1234
  });
1149
1235
  /** @internal */
1150
- export const TargetReleaseDefaultBoolean$outboundSchema = z.object({
1151
- type: TargetReleaseTypeBoolean$outboundSchema,
1152
- value: z.boolean(),
1236
+ export const DeploymentStatePreparedStackProfileAzureResource$outboundSchema = z.object({
1237
+ scope: z.string(),
1153
1238
  });
1154
- export function targetReleaseDefaultBooleanToJSON(targetReleaseDefaultBoolean) {
1155
- return JSON.stringify(TargetReleaseDefaultBoolean$outboundSchema.parse(targetReleaseDefaultBoolean));
1239
+ export function deploymentStatePreparedStackProfileAzureResourceToJSON(deploymentStatePreparedStackProfileAzureResource) {
1240
+ return JSON.stringify(DeploymentStatePreparedStackProfileAzureResource$outboundSchema.parse(deploymentStatePreparedStackProfileAzureResource));
1156
1241
  }
1157
- export function targetReleaseDefaultBooleanFromJSON(jsonString) {
1158
- return safeParse(jsonString, (x) => TargetReleaseDefaultBoolean$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseDefaultBoolean' from JSON`);
1242
+ export function deploymentStatePreparedStackProfileAzureResourceFromJSON(jsonString) {
1243
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackProfileAzureResource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackProfileAzureResource' from JSON`);
1159
1244
  }
1160
1245
  /** @internal */
1161
- export const TargetReleaseTypeNumber$inboundSchema = z.enum(TargetReleaseTypeNumber);
1162
- /** @internal */
1163
- export const TargetReleaseTypeNumber$outboundSchema = TargetReleaseTypeNumber$inboundSchema;
1164
- /** @internal */
1165
- export const TargetReleaseDefaultNumber$inboundSchema = z.object({
1166
- type: TargetReleaseTypeNumber$inboundSchema,
1167
- value: z.string(),
1246
+ export const DeploymentStatePreparedStackProfileAzureStack$inboundSchema = z.object({
1247
+ scope: z.string(),
1168
1248
  });
1169
1249
  /** @internal */
1170
- export const TargetReleaseDefaultNumber$outboundSchema = z.object({
1171
- type: TargetReleaseTypeNumber$outboundSchema,
1172
- value: z.string(),
1250
+ export const DeploymentStatePreparedStackProfileAzureStack$outboundSchema = z.object({
1251
+ scope: z.string(),
1173
1252
  });
1174
- export function targetReleaseDefaultNumberToJSON(targetReleaseDefaultNumber) {
1175
- return JSON.stringify(TargetReleaseDefaultNumber$outboundSchema.parse(targetReleaseDefaultNumber));
1253
+ export function deploymentStatePreparedStackProfileAzureStackToJSON(deploymentStatePreparedStackProfileAzureStack) {
1254
+ return JSON.stringify(DeploymentStatePreparedStackProfileAzureStack$outboundSchema.parse(deploymentStatePreparedStackProfileAzureStack));
1176
1255
  }
1177
- export function targetReleaseDefaultNumberFromJSON(jsonString) {
1178
- return safeParse(jsonString, (x) => TargetReleaseDefaultNumber$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseDefaultNumber' from JSON`);
1256
+ export function deploymentStatePreparedStackProfileAzureStackFromJSON(jsonString) {
1257
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackProfileAzureStack$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackProfileAzureStack' from JSON`);
1179
1258
  }
1180
1259
  /** @internal */
1181
- export const TargetReleaseTypeString$inboundSchema = z.enum(TargetReleaseTypeString);
1182
- /** @internal */
1183
- export const TargetReleaseTypeString$outboundSchema = TargetReleaseTypeString$inboundSchema;
1184
- /** @internal */
1185
- export const TargetReleaseDefaultString$inboundSchema = z.object({
1186
- type: TargetReleaseTypeString$inboundSchema,
1187
- value: z.string(),
1260
+ export const DeploymentStatePreparedStackProfileAzureBinding$inboundSchema = z
1261
+ .object({
1262
+ resource: z.lazy(() => DeploymentStatePreparedStackProfileAzureResource$inboundSchema).optional(),
1263
+ stack: z.lazy(() => DeploymentStatePreparedStackProfileAzureStack$inboundSchema).optional(),
1188
1264
  });
1189
1265
  /** @internal */
1190
- export const TargetReleaseDefaultString$outboundSchema = z.object({
1191
- type: TargetReleaseTypeString$outboundSchema,
1192
- value: z.string(),
1266
+ export const DeploymentStatePreparedStackProfileAzureBinding$outboundSchema = z.object({
1267
+ resource: z.lazy(() => DeploymentStatePreparedStackProfileAzureResource$outboundSchema).optional(),
1268
+ stack: z.lazy(() => DeploymentStatePreparedStackProfileAzureStack$outboundSchema).optional(),
1193
1269
  });
1194
- export function targetReleaseDefaultStringToJSON(targetReleaseDefaultString) {
1195
- return JSON.stringify(TargetReleaseDefaultString$outboundSchema.parse(targetReleaseDefaultString));
1196
- }
1197
- export function targetReleaseDefaultStringFromJSON(jsonString) {
1198
- return safeParse(jsonString, (x) => TargetReleaseDefaultString$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseDefaultString' from JSON`);
1199
- }
1200
- /** @internal */
1201
- export const TargetReleaseDefaultUnion$inboundSchema = z.union([
1202
- z.lazy(() => TargetReleaseDefaultString$inboundSchema),
1203
- z.lazy(() => TargetReleaseDefaultNumber$inboundSchema),
1204
- z.lazy(() => TargetReleaseDefaultBoolean$inboundSchema),
1205
- z.lazy(() => TargetReleaseDefaultStringList$inboundSchema),
1206
- z.string(),
1207
- ]);
1208
- /** @internal */
1209
- export const TargetReleaseDefaultUnion$outboundSchema = z.union([
1210
- z.lazy(() => TargetReleaseDefaultString$outboundSchema),
1211
- z.lazy(() => TargetReleaseDefaultNumber$outboundSchema),
1212
- z.lazy(() => TargetReleaseDefaultBoolean$outboundSchema),
1213
- z.lazy(() => TargetReleaseDefaultStringList$outboundSchema),
1214
- z.string(),
1215
- ]);
1216
- export function targetReleaseDefaultUnionToJSON(targetReleaseDefaultUnion) {
1217
- return JSON.stringify(TargetReleaseDefaultUnion$outboundSchema.parse(targetReleaseDefaultUnion));
1218
- }
1219
- export function targetReleaseDefaultUnionFromJSON(jsonString) {
1220
- return safeParse(jsonString, (x) => TargetReleaseDefaultUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseDefaultUnion' from JSON`);
1221
- }
1222
- /** @internal */
1223
- export const TargetReleaseTypeEnvEnum$inboundSchema = z.enum(TargetReleaseTypeEnvEnum);
1224
- /** @internal */
1225
- export const TargetReleaseTypeEnvEnum$outboundSchema = TargetReleaseTypeEnvEnum$inboundSchema;
1226
- /** @internal */
1227
- export const TargetReleaseTypeUnion$inboundSchema = z.union([TargetReleaseTypeEnvEnum$inboundSchema, z.string()]);
1228
- /** @internal */
1229
- export const TargetReleaseTypeUnion$outboundSchema = z.union([TargetReleaseTypeEnvEnum$outboundSchema, z.string()]);
1230
- export function targetReleaseTypeUnionToJSON(targetReleaseTypeUnion) {
1231
- return JSON.stringify(TargetReleaseTypeUnion$outboundSchema.parse(targetReleaseTypeUnion));
1270
+ export function deploymentStatePreparedStackProfileAzureBindingToJSON(deploymentStatePreparedStackProfileAzureBinding) {
1271
+ return JSON.stringify(DeploymentStatePreparedStackProfileAzureBinding$outboundSchema.parse(deploymentStatePreparedStackProfileAzureBinding));
1232
1272
  }
1233
- export function targetReleaseTypeUnionFromJSON(jsonString) {
1234
- return safeParse(jsonString, (x) => TargetReleaseTypeUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseTypeUnion' from JSON`);
1273
+ export function deploymentStatePreparedStackProfileAzureBindingFromJSON(jsonString) {
1274
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackProfileAzureBinding$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackProfileAzureBinding' from JSON`);
1235
1275
  }
1236
1276
  /** @internal */
1237
- export const TargetReleaseEnv$inboundSchema = z.object({
1238
- name: z.string(),
1239
- targetResources: z.nullable(z.array(z.string())).optional(),
1240
- type: z.nullable(z.union([TargetReleaseTypeEnvEnum$inboundSchema, z.string()])).optional(),
1277
+ export const DeploymentStatePreparedStackProfileAzureGrant$inboundSchema = z.object({
1278
+ actions: z.nullable(z.array(z.string())).optional(),
1279
+ dataActions: z.nullable(z.array(z.string())).optional(),
1280
+ permissions: z.nullable(z.array(z.string())).optional(),
1281
+ predefinedRoles: z.nullable(z.array(z.string())).optional(),
1282
+ residualPermissions: z.nullable(z.array(z.string())).optional(),
1241
1283
  });
1242
1284
  /** @internal */
1243
- export const TargetReleaseEnv$outboundSchema = z.object({
1244
- name: z.string(),
1245
- targetResources: z.nullable(z.array(z.string())).optional(),
1246
- type: z.nullable(z.union([TargetReleaseTypeEnvEnum$outboundSchema, z.string()])).optional(),
1285
+ export const DeploymentStatePreparedStackProfileAzureGrant$outboundSchema = z.object({
1286
+ actions: z.nullable(z.array(z.string())).optional(),
1287
+ dataActions: z.nullable(z.array(z.string())).optional(),
1288
+ permissions: z.nullable(z.array(z.string())).optional(),
1289
+ predefinedRoles: z.nullable(z.array(z.string())).optional(),
1290
+ residualPermissions: z.nullable(z.array(z.string())).optional(),
1247
1291
  });
1248
- export function targetReleaseEnvToJSON(targetReleaseEnv) {
1249
- return JSON.stringify(TargetReleaseEnv$outboundSchema.parse(targetReleaseEnv));
1292
+ export function deploymentStatePreparedStackProfileAzureGrantToJSON(deploymentStatePreparedStackProfileAzureGrant) {
1293
+ return JSON.stringify(DeploymentStatePreparedStackProfileAzureGrant$outboundSchema.parse(deploymentStatePreparedStackProfileAzureGrant));
1250
1294
  }
1251
- export function targetReleaseEnvFromJSON(jsonString) {
1252
- return safeParse(jsonString, (x) => TargetReleaseEnv$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseEnv' from JSON`);
1295
+ export function deploymentStatePreparedStackProfileAzureGrantFromJSON(jsonString) {
1296
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackProfileAzureGrant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackProfileAzureGrant' from JSON`);
1253
1297
  }
1254
1298
  /** @internal */
1255
- export const TargetReleaseGenerate$inboundSchema = z.object({
1256
- length: z.int(),
1299
+ export const DeploymentStatePreparedStackProfileAzure$inboundSchema = z.object({
1300
+ binding: z.lazy(() => DeploymentStatePreparedStackProfileAzureBinding$inboundSchema),
1301
+ description: z.nullable(z.string()).optional(),
1302
+ grant: z.lazy(() => DeploymentStatePreparedStackProfileAzureGrant$inboundSchema),
1303
+ label: z.nullable(z.string()).optional(),
1257
1304
  });
1258
1305
  /** @internal */
1259
- export const TargetReleaseGenerate$outboundSchema = z.object({
1260
- length: z.int(),
1306
+ export const DeploymentStatePreparedStackProfileAzure$outboundSchema = z.object({
1307
+ binding: z.lazy(() => DeploymentStatePreparedStackProfileAzureBinding$outboundSchema),
1308
+ description: z.nullable(z.string()).optional(),
1309
+ grant: z.lazy(() => DeploymentStatePreparedStackProfileAzureGrant$outboundSchema),
1310
+ label: z.nullable(z.string()).optional(),
1261
1311
  });
1262
- export function targetReleaseGenerateToJSON(targetReleaseGenerate) {
1263
- return JSON.stringify(TargetReleaseGenerate$outboundSchema.parse(targetReleaseGenerate));
1264
- }
1265
- export function targetReleaseGenerateFromJSON(jsonString) {
1266
- return safeParse(jsonString, (x) => TargetReleaseGenerate$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseGenerate' from JSON`);
1267
- }
1268
- /** @internal */
1269
- export const TargetReleaseGenerateUnion$inboundSchema = z.union([z.lazy(() => TargetReleaseGenerate$inboundSchema), z.string()]);
1270
- /** @internal */
1271
- export const TargetReleaseGenerateUnion$outboundSchema = z.union([z.lazy(() => TargetReleaseGenerate$outboundSchema), z.string()]);
1272
- export function targetReleaseGenerateUnionToJSON(targetReleaseGenerateUnion) {
1273
- return JSON.stringify(TargetReleaseGenerateUnion$outboundSchema.parse(targetReleaseGenerateUnion));
1312
+ export function deploymentStatePreparedStackProfileAzureToJSON(deploymentStatePreparedStackProfileAzure) {
1313
+ return JSON.stringify(DeploymentStatePreparedStackProfileAzure$outboundSchema.parse(deploymentStatePreparedStackProfileAzure));
1274
1314
  }
1275
- export function targetReleaseGenerateUnionFromJSON(jsonString) {
1276
- return safeParse(jsonString, (x) => TargetReleaseGenerateUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseGenerateUnion' from JSON`);
1315
+ export function deploymentStatePreparedStackProfileAzureFromJSON(jsonString) {
1316
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackProfileAzure$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackProfileAzure' from JSON`);
1277
1317
  }
1278
1318
  /** @internal */
1279
- export const TargetReleaseKind$inboundSchema = z.enum(TargetReleaseKind);
1280
- /** @internal */
1281
- export const TargetReleaseKind$outboundSchema = TargetReleaseKind$inboundSchema;
1282
- /** @internal */
1283
- export const TargetReleasePlatform$inboundSchema = z.enum(TargetReleasePlatform);
1284
- /** @internal */
1285
- export const TargetReleasePlatform$outboundSchema = TargetReleasePlatform$inboundSchema;
1286
- /** @internal */
1287
- export const TargetReleaseProvidedBy$inboundSchema = z.enum(TargetReleaseProvidedBy);
1288
- /** @internal */
1289
- export const TargetReleaseProvidedBy$outboundSchema = TargetReleaseProvidedBy$inboundSchema;
1290
- /** @internal */
1291
- export const TargetReleaseValidation$inboundSchema = z.object({
1292
- format: z.nullable(z.string()).optional(),
1293
- max: z.nullable(z.string()).optional(),
1294
- maxItems: z.nullable(z.int()).optional(),
1295
- maxLength: z.nullable(z.int()).optional(),
1296
- min: z.nullable(z.string()).optional(),
1297
- minItems: z.nullable(z.int()).optional(),
1298
- minLength: z.nullable(z.int()).optional(),
1299
- pattern: z.nullable(z.string()).optional(),
1300
- values: z.nullable(z.array(z.string())).optional(),
1319
+ export const DeploymentStatePreparedStackProfileConditionResource$inboundSchema = z
1320
+ .object({
1321
+ expression: z.string(),
1322
+ title: z.string(),
1301
1323
  });
1302
1324
  /** @internal */
1303
- export const TargetReleaseValidation$outboundSchema = z.object({
1304
- format: z.nullable(z.string()).optional(),
1305
- max: z.nullable(z.string()).optional(),
1306
- maxItems: z.nullable(z.int()).optional(),
1307
- maxLength: z.nullable(z.int()).optional(),
1308
- min: z.nullable(z.string()).optional(),
1309
- minItems: z.nullable(z.int()).optional(),
1310
- minLength: z.nullable(z.int()).optional(),
1311
- pattern: z.nullable(z.string()).optional(),
1312
- values: z.nullable(z.array(z.string())).optional(),
1325
+ export const DeploymentStatePreparedStackProfileConditionResource$outboundSchema = z.object({
1326
+ expression: z.string(),
1327
+ title: z.string(),
1313
1328
  });
1314
- export function targetReleaseValidationToJSON(targetReleaseValidation) {
1315
- return JSON.stringify(TargetReleaseValidation$outboundSchema.parse(targetReleaseValidation));
1329
+ export function deploymentStatePreparedStackProfileConditionResourceToJSON(deploymentStatePreparedStackProfileConditionResource) {
1330
+ return JSON.stringify(DeploymentStatePreparedStackProfileConditionResource$outboundSchema.parse(deploymentStatePreparedStackProfileConditionResource));
1316
1331
  }
1317
- export function targetReleaseValidationFromJSON(jsonString) {
1318
- return safeParse(jsonString, (x) => TargetReleaseValidation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseValidation' from JSON`);
1332
+ export function deploymentStatePreparedStackProfileConditionResourceFromJSON(jsonString) {
1333
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackProfileConditionResource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackProfileConditionResource' from JSON`);
1319
1334
  }
1320
1335
  /** @internal */
1321
- export const TargetReleaseValidationUnion$inboundSchema = z.union([z.lazy(() => TargetReleaseValidation$inboundSchema), z.string()]);
1336
+ export const DeploymentStatePreparedStackProfileResourceConditionUnion$inboundSchema = z.union([
1337
+ z.lazy(() => DeploymentStatePreparedStackProfileConditionResource$inboundSchema),
1338
+ z.string(),
1339
+ ]);
1322
1340
  /** @internal */
1323
- export const TargetReleaseValidationUnion$outboundSchema = z.union([z.lazy(() => TargetReleaseValidation$outboundSchema), z.string()]);
1324
- export function targetReleaseValidationUnionToJSON(targetReleaseValidationUnion) {
1325
- return JSON.stringify(TargetReleaseValidationUnion$outboundSchema.parse(targetReleaseValidationUnion));
1341
+ export const DeploymentStatePreparedStackProfileResourceConditionUnion$outboundSchema = z.union([
1342
+ z.lazy(() => DeploymentStatePreparedStackProfileConditionResource$outboundSchema),
1343
+ z.string(),
1344
+ ]);
1345
+ export function deploymentStatePreparedStackProfileResourceConditionUnionToJSON(deploymentStatePreparedStackProfileResourceConditionUnion) {
1346
+ return JSON.stringify(DeploymentStatePreparedStackProfileResourceConditionUnion$outboundSchema
1347
+ .parse(deploymentStatePreparedStackProfileResourceConditionUnion));
1326
1348
  }
1327
- export function targetReleaseValidationUnionFromJSON(jsonString) {
1328
- return safeParse(jsonString, (x) => TargetReleaseValidationUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseValidationUnion' from JSON`);
1349
+ export function deploymentStatePreparedStackProfileResourceConditionUnionFromJSON(jsonString) {
1350
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackProfileResourceConditionUnion$inboundSchema
1351
+ .parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackProfileResourceConditionUnion' from JSON`);
1329
1352
  }
1330
1353
  /** @internal */
1331
- export const TargetReleaseInput$inboundSchema = z.object({
1332
- default: z.nullable(z.union([
1333
- z.lazy(() => TargetReleaseDefaultString$inboundSchema),
1334
- z.lazy(() => TargetReleaseDefaultNumber$inboundSchema),
1335
- z.lazy(() => TargetReleaseDefaultBoolean$inboundSchema),
1336
- z.lazy(() => TargetReleaseDefaultStringList$inboundSchema),
1354
+ export const DeploymentStatePreparedStackProfileGcpResource$inboundSchema = z.object({
1355
+ condition: z.nullable(z.union([
1356
+ z.lazy(() => DeploymentStatePreparedStackProfileConditionResource$inboundSchema),
1337
1357
  z.string(),
1338
1358
  ])).optional(),
1339
- description: z.string(),
1340
- env: z.array(z.lazy(() => TargetReleaseEnv$inboundSchema)).optional(),
1341
- generate: z.nullable(z.union([z.lazy(() => TargetReleaseGenerate$inboundSchema), z.string()])).optional(),
1342
- id: z.string(),
1343
- kind: TargetReleaseKind$inboundSchema,
1344
- label: z.string(),
1345
- placeholder: z.nullable(z.string()).optional(),
1346
- platforms: z.nullable(z.array(TargetReleasePlatform$inboundSchema))
1347
- .optional(),
1348
- providedBy: z.array(TargetReleaseProvidedBy$inboundSchema),
1349
- required: z.boolean(),
1350
- validation: z.nullable(z.union([z.lazy(() => TargetReleaseValidation$inboundSchema), z.string()])).optional(),
1359
+ scope: z.string(),
1351
1360
  });
1352
1361
  /** @internal */
1353
- export const TargetReleaseInput$outboundSchema = z.object({
1354
- default: z.nullable(z.union([
1355
- z.lazy(() => TargetReleaseDefaultString$outboundSchema),
1356
- z.lazy(() => TargetReleaseDefaultNumber$outboundSchema),
1357
- z.lazy(() => TargetReleaseDefaultBoolean$outboundSchema),
1358
- z.lazy(() => TargetReleaseDefaultStringList$outboundSchema),
1362
+ export const DeploymentStatePreparedStackProfileGcpResource$outboundSchema = z.object({
1363
+ condition: z.nullable(z.union([
1364
+ z.lazy(() => DeploymentStatePreparedStackProfileConditionResource$outboundSchema),
1359
1365
  z.string(),
1360
1366
  ])).optional(),
1361
- description: z.string(),
1362
- env: z.array(z.lazy(() => TargetReleaseEnv$outboundSchema)).optional(),
1363
- generate: z.nullable(z.union([z.lazy(() => TargetReleaseGenerate$outboundSchema), z.string()])).optional(),
1364
- id: z.string(),
1365
- kind: TargetReleaseKind$outboundSchema,
1366
- label: z.string(),
1367
- placeholder: z.nullable(z.string()).optional(),
1368
- platforms: z.nullable(z.array(TargetReleasePlatform$outboundSchema))
1369
- .optional(),
1370
- providedBy: z.array(TargetReleaseProvidedBy$outboundSchema),
1371
- required: z.boolean(),
1372
- validation: z.nullable(z.union([z.lazy(() => TargetReleaseValidation$outboundSchema), z.string()])).optional(),
1367
+ scope: z.string(),
1373
1368
  });
1374
- export function targetReleaseInputToJSON(targetReleaseInput) {
1375
- return JSON.stringify(TargetReleaseInput$outboundSchema.parse(targetReleaseInput));
1369
+ export function deploymentStatePreparedStackProfileGcpResourceToJSON(deploymentStatePreparedStackProfileGcpResource) {
1370
+ return JSON.stringify(DeploymentStatePreparedStackProfileGcpResource$outboundSchema.parse(deploymentStatePreparedStackProfileGcpResource));
1376
1371
  }
1377
- export function targetReleaseInputFromJSON(jsonString) {
1378
- return safeParse(jsonString, (x) => TargetReleaseInput$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseInput' from JSON`);
1372
+ export function deploymentStatePreparedStackProfileGcpResourceFromJSON(jsonString) {
1373
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackProfileGcpResource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackProfileGcpResource' from JSON`);
1379
1374
  }
1380
1375
  /** @internal */
1381
- export const TargetReleaseManagementEnum$inboundSchema = z.enum(TargetReleaseManagementEnum);
1382
- /** @internal */
1383
- export const TargetReleaseManagementEnum$outboundSchema = TargetReleaseManagementEnum$inboundSchema;
1384
- /** @internal */
1385
- export const TargetReleaseOverrideAwResource$inboundSchema = z.object({
1386
- condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string())))
1387
- .optional(),
1388
- notResources: z.array(z.string()).optional(),
1389
- resources: z.array(z.string()),
1376
+ export const DeploymentStatePreparedStackProfileConditionStack$inboundSchema = z
1377
+ .object({
1378
+ expression: z.string(),
1379
+ title: z.string(),
1390
1380
  });
1391
1381
  /** @internal */
1392
- export const TargetReleaseOverrideAwResource$outboundSchema = z.object({
1393
- condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string())))
1394
- .optional(),
1395
- notResources: z.array(z.string()).optional(),
1396
- resources: z.array(z.string()),
1382
+ export const DeploymentStatePreparedStackProfileConditionStack$outboundSchema = z.object({
1383
+ expression: z.string(),
1384
+ title: z.string(),
1397
1385
  });
1398
- export function targetReleaseOverrideAwResourceToJSON(targetReleaseOverrideAwResource) {
1399
- return JSON.stringify(TargetReleaseOverrideAwResource$outboundSchema.parse(targetReleaseOverrideAwResource));
1386
+ export function deploymentStatePreparedStackProfileConditionStackToJSON(deploymentStatePreparedStackProfileConditionStack) {
1387
+ return JSON.stringify(DeploymentStatePreparedStackProfileConditionStack$outboundSchema.parse(deploymentStatePreparedStackProfileConditionStack));
1400
1388
  }
1401
- export function targetReleaseOverrideAwResourceFromJSON(jsonString) {
1402
- return safeParse(jsonString, (x) => TargetReleaseOverrideAwResource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseOverrideAwResource' from JSON`);
1389
+ export function deploymentStatePreparedStackProfileConditionStackFromJSON(jsonString) {
1390
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackProfileConditionStack$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackProfileConditionStack' from JSON`);
1403
1391
  }
1404
1392
  /** @internal */
1405
- export const TargetReleaseOverrideAwStack$inboundSchema = z.object({
1406
- condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string())))
1407
- .optional(),
1408
- notResources: z.array(z.string()).optional(),
1409
- resources: z.array(z.string()),
1410
- });
1393
+ export const DeploymentStatePreparedStackProfileStackConditionUnion$inboundSchema = z
1394
+ .union([
1395
+ z.lazy(() => DeploymentStatePreparedStackProfileConditionStack$inboundSchema),
1396
+ z.string(),
1397
+ ]);
1411
1398
  /** @internal */
1412
- export const TargetReleaseOverrideAwStack$outboundSchema = z.object({
1413
- condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string())))
1414
- .optional(),
1415
- notResources: z.array(z.string()).optional(),
1416
- resources: z.array(z.string()),
1417
- });
1418
- export function targetReleaseOverrideAwStackToJSON(targetReleaseOverrideAwStack) {
1419
- return JSON.stringify(TargetReleaseOverrideAwStack$outboundSchema.parse(targetReleaseOverrideAwStack));
1399
+ export const DeploymentStatePreparedStackProfileStackConditionUnion$outboundSchema = z.union([
1400
+ z.lazy(() => DeploymentStatePreparedStackProfileConditionStack$outboundSchema),
1401
+ z.string(),
1402
+ ]);
1403
+ export function deploymentStatePreparedStackProfileStackConditionUnionToJSON(deploymentStatePreparedStackProfileStackConditionUnion) {
1404
+ return JSON.stringify(DeploymentStatePreparedStackProfileStackConditionUnion$outboundSchema.parse(deploymentStatePreparedStackProfileStackConditionUnion));
1420
1405
  }
1421
- export function targetReleaseOverrideAwStackFromJSON(jsonString) {
1422
- return safeParse(jsonString, (x) => TargetReleaseOverrideAwStack$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseOverrideAwStack' from JSON`);
1406
+ export function deploymentStatePreparedStackProfileStackConditionUnionFromJSON(jsonString) {
1407
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackProfileStackConditionUnion$inboundSchema
1408
+ .parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackProfileStackConditionUnion' from JSON`);
1423
1409
  }
1424
1410
  /** @internal */
1425
- export const TargetReleaseOverrideAwBinding$inboundSchema = z.object({
1426
- resource: z.lazy(() => TargetReleaseOverrideAwResource$inboundSchema)
1427
- .optional(),
1428
- stack: z.lazy(() => TargetReleaseOverrideAwStack$inboundSchema).optional(),
1411
+ export const DeploymentStatePreparedStackProfileGcpStack$inboundSchema = z.object({
1412
+ condition: z.nullable(z.union([
1413
+ z.lazy(() => DeploymentStatePreparedStackProfileConditionStack$inboundSchema),
1414
+ z.string(),
1415
+ ])).optional(),
1416
+ scope: z.string(),
1429
1417
  });
1430
1418
  /** @internal */
1431
- export const TargetReleaseOverrideAwBinding$outboundSchema = z.object({
1432
- resource: z.lazy(() => TargetReleaseOverrideAwResource$outboundSchema)
1433
- .optional(),
1434
- stack: z.lazy(() => TargetReleaseOverrideAwStack$outboundSchema).optional(),
1419
+ export const DeploymentStatePreparedStackProfileGcpStack$outboundSchema = z.object({
1420
+ condition: z.nullable(z.union([
1421
+ z.lazy(() => DeploymentStatePreparedStackProfileConditionStack$outboundSchema),
1422
+ z.string(),
1423
+ ])).optional(),
1424
+ scope: z.string(),
1435
1425
  });
1436
- export function targetReleaseOverrideAwBindingToJSON(targetReleaseOverrideAwBinding) {
1437
- return JSON.stringify(TargetReleaseOverrideAwBinding$outboundSchema.parse(targetReleaseOverrideAwBinding));
1426
+ export function deploymentStatePreparedStackProfileGcpStackToJSON(deploymentStatePreparedStackProfileGcpStack) {
1427
+ return JSON.stringify(DeploymentStatePreparedStackProfileGcpStack$outboundSchema.parse(deploymentStatePreparedStackProfileGcpStack));
1438
1428
  }
1439
- export function targetReleaseOverrideAwBindingFromJSON(jsonString) {
1440
- return safeParse(jsonString, (x) => TargetReleaseOverrideAwBinding$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseOverrideAwBinding' from JSON`);
1429
+ export function deploymentStatePreparedStackProfileGcpStackFromJSON(jsonString) {
1430
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackProfileGcpStack$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackProfileGcpStack' from JSON`);
1441
1431
  }
1442
1432
  /** @internal */
1443
- export const TargetReleaseOverrideEffect$inboundSchema = z.enum(TargetReleaseOverrideEffect);
1433
+ export const DeploymentStatePreparedStackProfileGcpBinding$inboundSchema = z.object({
1434
+ resource: z.lazy(() => DeploymentStatePreparedStackProfileGcpResource$inboundSchema).optional(),
1435
+ stack: z.lazy(() => DeploymentStatePreparedStackProfileGcpStack$inboundSchema).optional(),
1436
+ });
1444
1437
  /** @internal */
1445
- export const TargetReleaseOverrideEffect$outboundSchema = TargetReleaseOverrideEffect$inboundSchema;
1438
+ export const DeploymentStatePreparedStackProfileGcpBinding$outboundSchema = z.object({
1439
+ resource: z.lazy(() => DeploymentStatePreparedStackProfileGcpResource$outboundSchema).optional(),
1440
+ stack: z.lazy(() => DeploymentStatePreparedStackProfileGcpStack$outboundSchema).optional(),
1441
+ });
1442
+ export function deploymentStatePreparedStackProfileGcpBindingToJSON(deploymentStatePreparedStackProfileGcpBinding) {
1443
+ return JSON.stringify(DeploymentStatePreparedStackProfileGcpBinding$outboundSchema.parse(deploymentStatePreparedStackProfileGcpBinding));
1444
+ }
1445
+ export function deploymentStatePreparedStackProfileGcpBindingFromJSON(jsonString) {
1446
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackProfileGcpBinding$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackProfileGcpBinding' from JSON`);
1447
+ }
1446
1448
  /** @internal */
1447
- export const TargetReleaseOverrideAwGrant$inboundSchema = z.object({
1449
+ export const DeploymentStatePreparedStackProfileGcpGrant$inboundSchema = z.object({
1448
1450
  actions: z.nullable(z.array(z.string())).optional(),
1449
1451
  dataActions: z.nullable(z.array(z.string())).optional(),
1450
1452
  permissions: z.nullable(z.array(z.string())).optional(),
@@ -1452,1312 +1454,1282 @@ export const TargetReleaseOverrideAwGrant$inboundSchema = z.object({
1452
1454
  residualPermissions: z.nullable(z.array(z.string())).optional(),
1453
1455
  });
1454
1456
  /** @internal */
1455
- export const TargetReleaseOverrideAwGrant$outboundSchema = z.object({
1457
+ export const DeploymentStatePreparedStackProfileGcpGrant$outboundSchema = z.object({
1456
1458
  actions: z.nullable(z.array(z.string())).optional(),
1457
1459
  dataActions: z.nullable(z.array(z.string())).optional(),
1458
1460
  permissions: z.nullable(z.array(z.string())).optional(),
1459
1461
  predefinedRoles: z.nullable(z.array(z.string())).optional(),
1460
1462
  residualPermissions: z.nullable(z.array(z.string())).optional(),
1461
1463
  });
1462
- export function targetReleaseOverrideAwGrantToJSON(targetReleaseOverrideAwGrant) {
1463
- return JSON.stringify(TargetReleaseOverrideAwGrant$outboundSchema.parse(targetReleaseOverrideAwGrant));
1464
+ export function deploymentStatePreparedStackProfileGcpGrantToJSON(deploymentStatePreparedStackProfileGcpGrant) {
1465
+ return JSON.stringify(DeploymentStatePreparedStackProfileGcpGrant$outboundSchema.parse(deploymentStatePreparedStackProfileGcpGrant));
1464
1466
  }
1465
- export function targetReleaseOverrideAwGrantFromJSON(jsonString) {
1466
- return safeParse(jsonString, (x) => TargetReleaseOverrideAwGrant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseOverrideAwGrant' from JSON`);
1467
+ export function deploymentStatePreparedStackProfileGcpGrantFromJSON(jsonString) {
1468
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackProfileGcpGrant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackProfileGcpGrant' from JSON`);
1467
1469
  }
1468
1470
  /** @internal */
1469
- export const TargetReleaseOverrideAw$inboundSchema = z.object({
1470
- binding: z.lazy(() => TargetReleaseOverrideAwBinding$inboundSchema),
1471
+ export const DeploymentStatePreparedStackProfileGcp$inboundSchema = z.object({
1472
+ binding: z.lazy(() => DeploymentStatePreparedStackProfileGcpBinding$inboundSchema),
1471
1473
  description: z.nullable(z.string()).optional(),
1472
- effect: TargetReleaseOverrideEffect$inboundSchema.optional(),
1473
- grant: z.lazy(() => TargetReleaseOverrideAwGrant$inboundSchema),
1474
+ grant: z.lazy(() => DeploymentStatePreparedStackProfileGcpGrant$inboundSchema),
1474
1475
  label: z.nullable(z.string()).optional(),
1475
1476
  });
1476
1477
  /** @internal */
1477
- export const TargetReleaseOverrideAw$outboundSchema = z.object({
1478
- binding: z.lazy(() => TargetReleaseOverrideAwBinding$outboundSchema),
1478
+ export const DeploymentStatePreparedStackProfileGcp$outboundSchema = z.object({
1479
+ binding: z.lazy(() => DeploymentStatePreparedStackProfileGcpBinding$outboundSchema),
1479
1480
  description: z.nullable(z.string()).optional(),
1480
- effect: TargetReleaseOverrideEffect$outboundSchema.optional(),
1481
- grant: z.lazy(() => TargetReleaseOverrideAwGrant$outboundSchema),
1481
+ grant: z.lazy(() => DeploymentStatePreparedStackProfileGcpGrant$outboundSchema),
1482
1482
  label: z.nullable(z.string()).optional(),
1483
1483
  });
1484
- export function targetReleaseOverrideAwToJSON(targetReleaseOverrideAw) {
1485
- return JSON.stringify(TargetReleaseOverrideAw$outboundSchema.parse(targetReleaseOverrideAw));
1484
+ export function deploymentStatePreparedStackProfileGcpToJSON(deploymentStatePreparedStackProfileGcp) {
1485
+ return JSON.stringify(DeploymentStatePreparedStackProfileGcp$outboundSchema.parse(deploymentStatePreparedStackProfileGcp));
1486
1486
  }
1487
- export function targetReleaseOverrideAwFromJSON(jsonString) {
1488
- return safeParse(jsonString, (x) => TargetReleaseOverrideAw$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseOverrideAw' from JSON`);
1487
+ export function deploymentStatePreparedStackProfileGcpFromJSON(jsonString) {
1488
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackProfileGcp$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackProfileGcp' from JSON`);
1489
1489
  }
1490
1490
  /** @internal */
1491
- export const TargetReleaseOverrideAzureResource$inboundSchema = z.object({
1492
- scope: z.string(),
1491
+ export const DeploymentStatePreparedStackProfilePlatforms$inboundSchema = z.object({
1492
+ aws: z.nullable(z.array(z.lazy(() => DeploymentStatePreparedStackProfileAw$inboundSchema))).optional(),
1493
+ azure: z.nullable(z.array(z.lazy(() => DeploymentStatePreparedStackProfileAzure$inboundSchema))).optional(),
1494
+ gcp: z.nullable(z.array(z.lazy(() => DeploymentStatePreparedStackProfileGcp$inboundSchema))).optional(),
1493
1495
  });
1494
1496
  /** @internal */
1495
- export const TargetReleaseOverrideAzureResource$outboundSchema = z.object({
1496
- scope: z.string(),
1497
+ export const DeploymentStatePreparedStackProfilePlatforms$outboundSchema = z.object({
1498
+ aws: z.nullable(z.array(z.lazy(() => DeploymentStatePreparedStackProfileAw$outboundSchema))).optional(),
1499
+ azure: z.nullable(z.array(z.lazy(() => DeploymentStatePreparedStackProfileAzure$outboundSchema))).optional(),
1500
+ gcp: z.nullable(z.array(z.lazy(() => DeploymentStatePreparedStackProfileGcp$outboundSchema))).optional(),
1501
+ });
1502
+ export function deploymentStatePreparedStackProfilePlatformsToJSON(deploymentStatePreparedStackProfilePlatforms) {
1503
+ return JSON.stringify(DeploymentStatePreparedStackProfilePlatforms$outboundSchema.parse(deploymentStatePreparedStackProfilePlatforms));
1504
+ }
1505
+ export function deploymentStatePreparedStackProfilePlatformsFromJSON(jsonString) {
1506
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackProfilePlatforms$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackProfilePlatforms' from JSON`);
1507
+ }
1508
+ /** @internal */
1509
+ export const DeploymentStatePreparedStackProfile$inboundSchema = z.object({
1510
+ description: z.string(),
1511
+ id: z.string(),
1512
+ platforms: z.lazy(() => DeploymentStatePreparedStackProfilePlatforms$inboundSchema),
1513
+ });
1514
+ /** @internal */
1515
+ export const DeploymentStatePreparedStackProfile$outboundSchema = z.object({
1516
+ description: z.string(),
1517
+ id: z.string(),
1518
+ platforms: z.lazy(() => DeploymentStatePreparedStackProfilePlatforms$outboundSchema),
1519
+ });
1520
+ export function deploymentStatePreparedStackProfileToJSON(deploymentStatePreparedStackProfile) {
1521
+ return JSON.stringify(DeploymentStatePreparedStackProfile$outboundSchema.parse(deploymentStatePreparedStackProfile));
1522
+ }
1523
+ export function deploymentStatePreparedStackProfileFromJSON(jsonString) {
1524
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackProfile$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackProfile' from JSON`);
1525
+ }
1526
+ /** @internal */
1527
+ export const DeploymentStatePreparedStackProfileUnion$inboundSchema = z.union([
1528
+ z.lazy(() => DeploymentStatePreparedStackProfile$inboundSchema),
1529
+ z.string(),
1530
+ ]);
1531
+ /** @internal */
1532
+ export const DeploymentStatePreparedStackProfileUnion$outboundSchema = z.union([
1533
+ z.lazy(() => DeploymentStatePreparedStackProfile$outboundSchema),
1534
+ z.string(),
1535
+ ]);
1536
+ export function deploymentStatePreparedStackProfileUnionToJSON(deploymentStatePreparedStackProfileUnion) {
1537
+ return JSON.stringify(DeploymentStatePreparedStackProfileUnion$outboundSchema.parse(deploymentStatePreparedStackProfileUnion));
1538
+ }
1539
+ export function deploymentStatePreparedStackProfileUnionFromJSON(jsonString) {
1540
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackProfileUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackProfileUnion' from JSON`);
1541
+ }
1542
+ /** @internal */
1543
+ export const DeploymentStatePreparedStackPermissions$inboundSchema = z.object({
1544
+ management: z.union([
1545
+ z.lazy(() => DeploymentStatePreparedStackManagement1$inboundSchema),
1546
+ z.lazy(() => DeploymentStatePreparedStackManagement2$inboundSchema),
1547
+ DeploymentStatePreparedStackManagementEnum$inboundSchema,
1548
+ ]).optional(),
1549
+ profiles: z.record(z.string(), z.record(z.string(), z.array(z.union([
1550
+ z.lazy(() => DeploymentStatePreparedStackProfile$inboundSchema),
1551
+ z.string(),
1552
+ ])))),
1553
+ });
1554
+ /** @internal */
1555
+ export const DeploymentStatePreparedStackPermissions$outboundSchema = z.object({
1556
+ management: z.union([
1557
+ z.lazy(() => DeploymentStatePreparedStackManagement1$outboundSchema),
1558
+ z.lazy(() => DeploymentStatePreparedStackManagement2$outboundSchema),
1559
+ DeploymentStatePreparedStackManagementEnum$outboundSchema,
1560
+ ]).optional(),
1561
+ profiles: z.record(z.string(), z.record(z.string(), z.array(z.union([
1562
+ z.lazy(() => DeploymentStatePreparedStackProfile$outboundSchema),
1563
+ z.string(),
1564
+ ])))),
1565
+ });
1566
+ export function deploymentStatePreparedStackPermissionsToJSON(deploymentStatePreparedStackPermissions) {
1567
+ return JSON.stringify(DeploymentStatePreparedStackPermissions$outboundSchema.parse(deploymentStatePreparedStackPermissions));
1568
+ }
1569
+ export function deploymentStatePreparedStackPermissionsFromJSON(jsonString) {
1570
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackPermissions$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackPermissions' from JSON`);
1571
+ }
1572
+ /** @internal */
1573
+ export const DeploymentStatePreparedStackConfig$inboundSchema = collectExtraKeys$(z.object({
1574
+ id: z.string(),
1575
+ type: z.string(),
1576
+ }).catchall(z.any()), "additionalProperties", true);
1577
+ /** @internal */
1578
+ export const DeploymentStatePreparedStackConfig$outboundSchema = z.object({
1579
+ id: z.string(),
1580
+ type: z.string(),
1581
+ additionalProperties: z.record(z.string(), z.nullable(z.any())).optional(),
1582
+ }).transform((v) => {
1583
+ return {
1584
+ ...v.additionalProperties,
1585
+ ...remap$(v, {
1586
+ additionalProperties: null,
1587
+ }),
1588
+ };
1497
1589
  });
1498
- export function targetReleaseOverrideAzureResourceToJSON(targetReleaseOverrideAzureResource) {
1499
- return JSON.stringify(TargetReleaseOverrideAzureResource$outboundSchema.parse(targetReleaseOverrideAzureResource));
1590
+ export function deploymentStatePreparedStackConfigToJSON(deploymentStatePreparedStackConfig) {
1591
+ return JSON.stringify(DeploymentStatePreparedStackConfig$outboundSchema.parse(deploymentStatePreparedStackConfig));
1500
1592
  }
1501
- export function targetReleaseOverrideAzureResourceFromJSON(jsonString) {
1502
- return safeParse(jsonString, (x) => TargetReleaseOverrideAzureResource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseOverrideAzureResource' from JSON`);
1593
+ export function deploymentStatePreparedStackConfigFromJSON(jsonString) {
1594
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackConfig$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackConfig' from JSON`);
1503
1595
  }
1504
1596
  /** @internal */
1505
- export const TargetReleaseOverrideAzureStack$inboundSchema = z.object({
1506
- scope: z.string(),
1597
+ export const DeploymentStatePreparedStackDependency$inboundSchema = z.object({
1598
+ id: z.string(),
1599
+ type: z.string(),
1507
1600
  });
1508
1601
  /** @internal */
1509
- export const TargetReleaseOverrideAzureStack$outboundSchema = z.object({
1510
- scope: z.string(),
1602
+ export const DeploymentStatePreparedStackDependency$outboundSchema = z.object({
1603
+ id: z.string(),
1604
+ type: z.string(),
1511
1605
  });
1512
- export function targetReleaseOverrideAzureStackToJSON(targetReleaseOverrideAzureStack) {
1513
- return JSON.stringify(TargetReleaseOverrideAzureStack$outboundSchema.parse(targetReleaseOverrideAzureStack));
1606
+ export function deploymentStatePreparedStackDependencyToJSON(deploymentStatePreparedStackDependency) {
1607
+ return JSON.stringify(DeploymentStatePreparedStackDependency$outboundSchema.parse(deploymentStatePreparedStackDependency));
1514
1608
  }
1515
- export function targetReleaseOverrideAzureStackFromJSON(jsonString) {
1516
- return safeParse(jsonString, (x) => TargetReleaseOverrideAzureStack$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseOverrideAzureStack' from JSON`);
1609
+ export function deploymentStatePreparedStackDependencyFromJSON(jsonString) {
1610
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackDependency$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackDependency' from JSON`);
1517
1611
  }
1518
1612
  /** @internal */
1519
- export const TargetReleaseOverrideAzureBinding$inboundSchema = z.object({
1520
- resource: z.lazy(() => TargetReleaseOverrideAzureResource$inboundSchema)
1521
- .optional(),
1522
- stack: z.lazy(() => TargetReleaseOverrideAzureStack$inboundSchema).optional(),
1523
- });
1613
+ export const DeploymentStatePreparedStackLifecycle$inboundSchema = z.enum(DeploymentStatePreparedStackLifecycle);
1524
1614
  /** @internal */
1525
- export const TargetReleaseOverrideAzureBinding$outboundSchema = z.object({
1526
- resource: z.lazy(() => TargetReleaseOverrideAzureResource$outboundSchema)
1527
- .optional(),
1528
- stack: z.lazy(() => TargetReleaseOverrideAzureStack$outboundSchema)
1529
- .optional(),
1530
- });
1531
- export function targetReleaseOverrideAzureBindingToJSON(targetReleaseOverrideAzureBinding) {
1532
- return JSON.stringify(TargetReleaseOverrideAzureBinding$outboundSchema.parse(targetReleaseOverrideAzureBinding));
1533
- }
1534
- export function targetReleaseOverrideAzureBindingFromJSON(jsonString) {
1535
- return safeParse(jsonString, (x) => TargetReleaseOverrideAzureBinding$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseOverrideAzureBinding' from JSON`);
1536
- }
1615
+ export const DeploymentStatePreparedStackLifecycle$outboundSchema = DeploymentStatePreparedStackLifecycle$inboundSchema;
1537
1616
  /** @internal */
1538
- export const TargetReleaseOverrideAzureGrant$inboundSchema = z.object({
1539
- actions: z.nullable(z.array(z.string())).optional(),
1540
- dataActions: z.nullable(z.array(z.string())).optional(),
1541
- permissions: z.nullable(z.array(z.string())).optional(),
1542
- predefinedRoles: z.nullable(z.array(z.string())).optional(),
1543
- residualPermissions: z.nullable(z.array(z.string())).optional(),
1617
+ export const DeploymentStatePreparedStackResources$inboundSchema = z.object({
1618
+ config: z.lazy(() => DeploymentStatePreparedStackConfig$inboundSchema),
1619
+ dependencies: z.array(z.lazy(() => DeploymentStatePreparedStackDependency$inboundSchema)),
1620
+ enabledWhen: z.nullable(z.string()).optional(),
1621
+ lifecycle: DeploymentStatePreparedStackLifecycle$inboundSchema,
1622
+ remoteAccess: z.boolean().optional(),
1544
1623
  });
1545
1624
  /** @internal */
1546
- export const TargetReleaseOverrideAzureGrant$outboundSchema = z.object({
1547
- actions: z.nullable(z.array(z.string())).optional(),
1548
- dataActions: z.nullable(z.array(z.string())).optional(),
1549
- permissions: z.nullable(z.array(z.string())).optional(),
1550
- predefinedRoles: z.nullable(z.array(z.string())).optional(),
1551
- residualPermissions: z.nullable(z.array(z.string())).optional(),
1625
+ export const DeploymentStatePreparedStackResources$outboundSchema = z.object({
1626
+ config: z.lazy(() => DeploymentStatePreparedStackConfig$outboundSchema),
1627
+ dependencies: z.array(z.lazy(() => DeploymentStatePreparedStackDependency$outboundSchema)),
1628
+ enabledWhen: z.nullable(z.string()).optional(),
1629
+ lifecycle: DeploymentStatePreparedStackLifecycle$outboundSchema,
1630
+ remoteAccess: z.boolean().optional(),
1552
1631
  });
1553
- export function targetReleaseOverrideAzureGrantToJSON(targetReleaseOverrideAzureGrant) {
1554
- return JSON.stringify(TargetReleaseOverrideAzureGrant$outboundSchema.parse(targetReleaseOverrideAzureGrant));
1632
+ export function deploymentStatePreparedStackResourcesToJSON(deploymentStatePreparedStackResources) {
1633
+ return JSON.stringify(DeploymentStatePreparedStackResources$outboundSchema.parse(deploymentStatePreparedStackResources));
1555
1634
  }
1556
- export function targetReleaseOverrideAzureGrantFromJSON(jsonString) {
1557
- return safeParse(jsonString, (x) => TargetReleaseOverrideAzureGrant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseOverrideAzureGrant' from JSON`);
1635
+ export function deploymentStatePreparedStackResourcesFromJSON(jsonString) {
1636
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackResources$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackResources' from JSON`);
1558
1637
  }
1559
1638
  /** @internal */
1560
- export const TargetReleaseOverrideAzure$inboundSchema = z.object({
1561
- binding: z.lazy(() => TargetReleaseOverrideAzureBinding$inboundSchema),
1562
- description: z.nullable(z.string()).optional(),
1563
- grant: z.lazy(() => TargetReleaseOverrideAzureGrant$inboundSchema),
1564
- label: z.nullable(z.string()).optional(),
1565
- });
1639
+ export const DeploymentStatePreparedStackSupportedPlatform$inboundSchema = z.enum(DeploymentStatePreparedStackSupportedPlatform);
1566
1640
  /** @internal */
1567
- export const TargetReleaseOverrideAzure$outboundSchema = z.object({
1568
- binding: z.lazy(() => TargetReleaseOverrideAzureBinding$outboundSchema),
1569
- description: z.nullable(z.string()).optional(),
1570
- grant: z.lazy(() => TargetReleaseOverrideAzureGrant$outboundSchema),
1571
- label: z.nullable(z.string()).optional(),
1572
- });
1573
- export function targetReleaseOverrideAzureToJSON(targetReleaseOverrideAzure) {
1574
- return JSON.stringify(TargetReleaseOverrideAzure$outboundSchema.parse(targetReleaseOverrideAzure));
1575
- }
1576
- export function targetReleaseOverrideAzureFromJSON(jsonString) {
1577
- return safeParse(jsonString, (x) => TargetReleaseOverrideAzure$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseOverrideAzure' from JSON`);
1578
- }
1641
+ export const DeploymentStatePreparedStackSupportedPlatform$outboundSchema = DeploymentStatePreparedStackSupportedPlatform$inboundSchema;
1579
1642
  /** @internal */
1580
- export const TargetReleaseOverrideConditionResource$inboundSchema = z.object({
1581
- expression: z.string(),
1582
- title: z.string(),
1643
+ export const DeploymentStatePreparedStack$inboundSchema = z.object({
1644
+ dynamicContainerImageResources: z.array(z.string()).optional(),
1645
+ dynamicContainerRepositories: z.array(z.string()).optional(),
1646
+ id: z.string(),
1647
+ inputs: z.array(DeploymentStatePreparedStackInput$inboundSchema).optional(),
1648
+ operations: z.nullable(z.union([
1649
+ z.lazy(() => DeploymentStatePreparedStackOperations$inboundSchema),
1650
+ z.string(),
1651
+ ])).optional(),
1652
+ permissions: z.lazy(() => DeploymentStatePreparedStackPermissions$inboundSchema).optional(),
1653
+ resources: z.record(z.string(), z.lazy(() => DeploymentStatePreparedStackResources$inboundSchema)),
1654
+ supportedPlatforms: z.nullable(z.array(DeploymentStatePreparedStackSupportedPlatform$inboundSchema)).optional(),
1583
1655
  });
1584
1656
  /** @internal */
1585
- export const TargetReleaseOverrideConditionResource$outboundSchema = z.object({
1586
- expression: z.string(),
1587
- title: z.string(),
1657
+ export const DeploymentStatePreparedStack$outboundSchema = z.object({
1658
+ dynamicContainerImageResources: z.array(z.string()).optional(),
1659
+ dynamicContainerRepositories: z.array(z.string()).optional(),
1660
+ id: z.string(),
1661
+ inputs: z.array(DeploymentStatePreparedStackInput$outboundSchema).optional(),
1662
+ operations: z.nullable(z.union([
1663
+ z.lazy(() => DeploymentStatePreparedStackOperations$outboundSchema),
1664
+ z.string(),
1665
+ ])).optional(),
1666
+ permissions: z.lazy(() => DeploymentStatePreparedStackPermissions$outboundSchema).optional(),
1667
+ resources: z.record(z.string(), z.lazy(() => DeploymentStatePreparedStackResources$outboundSchema)),
1668
+ supportedPlatforms: z.nullable(z.array(DeploymentStatePreparedStackSupportedPlatform$outboundSchema)).optional(),
1588
1669
  });
1589
- export function targetReleaseOverrideConditionResourceToJSON(targetReleaseOverrideConditionResource) {
1590
- return JSON.stringify(TargetReleaseOverrideConditionResource$outboundSchema.parse(targetReleaseOverrideConditionResource));
1670
+ export function deploymentStatePreparedStackToJSON(deploymentStatePreparedStack) {
1671
+ return JSON.stringify(DeploymentStatePreparedStack$outboundSchema.parse(deploymentStatePreparedStack));
1591
1672
  }
1592
- export function targetReleaseOverrideConditionResourceFromJSON(jsonString) {
1593
- return safeParse(jsonString, (x) => TargetReleaseOverrideConditionResource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseOverrideConditionResource' from JSON`);
1673
+ export function deploymentStatePreparedStackFromJSON(jsonString) {
1674
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStack$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStack' from JSON`);
1594
1675
  }
1595
1676
  /** @internal */
1596
- export const TargetReleaseOverrideResourceConditionUnion$inboundSchema = z.union([
1597
- z.lazy(() => TargetReleaseOverrideConditionResource$inboundSchema),
1677
+ export const DeploymentStatePreparedStackUnion$inboundSchema = z.union([
1678
+ z.lazy(() => DeploymentStatePreparedStack$inboundSchema),
1598
1679
  z.string(),
1599
1680
  ]);
1600
1681
  /** @internal */
1601
- export const TargetReleaseOverrideResourceConditionUnion$outboundSchema = z.union([
1602
- z.lazy(() => TargetReleaseOverrideConditionResource$outboundSchema),
1682
+ export const DeploymentStatePreparedStackUnion$outboundSchema = z.union([
1683
+ z.lazy(() => DeploymentStatePreparedStack$outboundSchema),
1603
1684
  z.string(),
1604
1685
  ]);
1605
- export function targetReleaseOverrideResourceConditionUnionToJSON(targetReleaseOverrideResourceConditionUnion) {
1606
- return JSON.stringify(TargetReleaseOverrideResourceConditionUnion$outboundSchema.parse(targetReleaseOverrideResourceConditionUnion));
1607
- }
1608
- export function targetReleaseOverrideResourceConditionUnionFromJSON(jsonString) {
1609
- return safeParse(jsonString, (x) => TargetReleaseOverrideResourceConditionUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseOverrideResourceConditionUnion' from JSON`);
1610
- }
1611
- /** @internal */
1612
- export const TargetReleaseOverrideGcpResource$inboundSchema = z.object({
1613
- condition: z.nullable(z.union([
1614
- z.lazy(() => TargetReleaseOverrideConditionResource$inboundSchema),
1615
- z.string(),
1616
- ])).optional(),
1617
- scope: z.string(),
1618
- });
1619
- /** @internal */
1620
- export const TargetReleaseOverrideGcpResource$outboundSchema = z.object({
1621
- condition: z.nullable(z.union([
1622
- z.lazy(() => TargetReleaseOverrideConditionResource$outboundSchema),
1623
- z.string(),
1624
- ])).optional(),
1625
- scope: z.string(),
1626
- });
1627
- export function targetReleaseOverrideGcpResourceToJSON(targetReleaseOverrideGcpResource) {
1628
- return JSON.stringify(TargetReleaseOverrideGcpResource$outboundSchema.parse(targetReleaseOverrideGcpResource));
1686
+ export function deploymentStatePreparedStackUnionToJSON(deploymentStatePreparedStackUnion) {
1687
+ return JSON.stringify(DeploymentStatePreparedStackUnion$outboundSchema.parse(deploymentStatePreparedStackUnion));
1629
1688
  }
1630
- export function targetReleaseOverrideGcpResourceFromJSON(jsonString) {
1631
- return safeParse(jsonString, (x) => TargetReleaseOverrideGcpResource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseOverrideGcpResource' from JSON`);
1689
+ export function deploymentStatePreparedStackUnionFromJSON(jsonString) {
1690
+ return safeParse(jsonString, (x) => DeploymentStatePreparedStackUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreparedStackUnion' from JSON`);
1632
1691
  }
1633
1692
  /** @internal */
1634
- export const TargetReleaseOverrideCondition$inboundSchema = z.object({
1635
- expression: z.string(),
1636
- title: z.string(),
1693
+ export const DeploymentStateRegistryAccess$inboundSchema = z.object({
1694
+ repositories: z.array(z.string()).optional(),
1695
+ serviceTypes: z.array(z.string()).optional(),
1637
1696
  });
1638
1697
  /** @internal */
1639
- export const TargetReleaseOverrideCondition$outboundSchema = z.object({
1640
- expression: z.string(),
1641
- title: z.string(),
1698
+ export const DeploymentStateRegistryAccess$outboundSchema = z.object({
1699
+ repositories: z.array(z.string()).optional(),
1700
+ serviceTypes: z.array(z.string()).optional(),
1642
1701
  });
1643
- export function targetReleaseOverrideConditionToJSON(targetReleaseOverrideCondition) {
1644
- return JSON.stringify(TargetReleaseOverrideCondition$outboundSchema.parse(targetReleaseOverrideCondition));
1702
+ export function deploymentStateRegistryAccessToJSON(deploymentStateRegistryAccess) {
1703
+ return JSON.stringify(DeploymentStateRegistryAccess$outboundSchema.parse(deploymentStateRegistryAccess));
1645
1704
  }
1646
- export function targetReleaseOverrideConditionFromJSON(jsonString) {
1647
- return safeParse(jsonString, (x) => TargetReleaseOverrideCondition$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseOverrideCondition' from JSON`);
1705
+ export function deploymentStateRegistryAccessFromJSON(jsonString) {
1706
+ return safeParse(jsonString, (x) => DeploymentStateRegistryAccess$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateRegistryAccess' from JSON`);
1648
1707
  }
1649
1708
  /** @internal */
1650
- export const TargetReleaseOverrideConditionUnion$inboundSchema = z.union([
1651
- z.lazy(() => TargetReleaseOverrideCondition$inboundSchema),
1709
+ export const DeploymentStateRegistryAccessUnion$inboundSchema = z.union([
1710
+ z.lazy(() => DeploymentStateRegistryAccess$inboundSchema),
1652
1711
  z.string(),
1653
1712
  ]);
1654
1713
  /** @internal */
1655
- export const TargetReleaseOverrideConditionUnion$outboundSchema = z.union([
1656
- z.lazy(() => TargetReleaseOverrideCondition$outboundSchema),
1714
+ export const DeploymentStateRegistryAccessUnion$outboundSchema = z.union([
1715
+ z.lazy(() => DeploymentStateRegistryAccess$outboundSchema),
1657
1716
  z.string(),
1658
1717
  ]);
1659
- export function targetReleaseOverrideConditionUnionToJSON(targetReleaseOverrideConditionUnion) {
1660
- return JSON.stringify(TargetReleaseOverrideConditionUnion$outboundSchema.parse(targetReleaseOverrideConditionUnion));
1718
+ export function deploymentStateRegistryAccessUnionToJSON(deploymentStateRegistryAccessUnion) {
1719
+ return JSON.stringify(DeploymentStateRegistryAccessUnion$outboundSchema.parse(deploymentStateRegistryAccessUnion));
1661
1720
  }
1662
- export function targetReleaseOverrideConditionUnionFromJSON(jsonString) {
1663
- return safeParse(jsonString, (x) => TargetReleaseOverrideConditionUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseOverrideConditionUnion' from JSON`);
1721
+ export function deploymentStateRegistryAccessUnionFromJSON(jsonString) {
1722
+ return safeParse(jsonString, (x) => DeploymentStateRegistryAccessUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateRegistryAccessUnion' from JSON`);
1664
1723
  }
1665
1724
  /** @internal */
1666
- export const TargetReleaseOverrideGcpStack$inboundSchema = z.object({
1667
- condition: z.nullable(z.union([
1668
- z.lazy(() => TargetReleaseOverrideCondition$inboundSchema),
1669
- z.string(),
1670
- ])).optional(),
1671
- scope: z.string(),
1725
+ export const DeploymentStateEgress$inboundSchema = z.object({
1726
+ connectorArn: z.nullable(z.string()).optional(),
1727
+ connectorRequest: z.nullable(z.string()).optional(),
1728
+ operatorRoleName: z.string(),
1729
+ securityGroupId: z.nullable(z.string()).optional(),
1672
1730
  });
1673
1731
  /** @internal */
1674
- export const TargetReleaseOverrideGcpStack$outboundSchema = z.object({
1675
- condition: z.nullable(z.union([
1676
- z.lazy(() => TargetReleaseOverrideCondition$outboundSchema),
1677
- z.string(),
1678
- ])).optional(),
1679
- scope: z.string(),
1732
+ export const DeploymentStateEgress$outboundSchema = z.object({
1733
+ connectorArn: z.nullable(z.string()).optional(),
1734
+ connectorRequest: z.nullable(z.string()).optional(),
1735
+ operatorRoleName: z.string(),
1736
+ securityGroupId: z.nullable(z.string()).optional(),
1680
1737
  });
1681
- export function targetReleaseOverrideGcpStackToJSON(targetReleaseOverrideGcpStack) {
1682
- return JSON.stringify(TargetReleaseOverrideGcpStack$outboundSchema.parse(targetReleaseOverrideGcpStack));
1738
+ export function deploymentStateEgressToJSON(deploymentStateEgress) {
1739
+ return JSON.stringify(DeploymentStateEgress$outboundSchema.parse(deploymentStateEgress));
1683
1740
  }
1684
- export function targetReleaseOverrideGcpStackFromJSON(jsonString) {
1685
- return safeParse(jsonString, (x) => TargetReleaseOverrideGcpStack$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseOverrideGcpStack' from JSON`);
1741
+ export function deploymentStateEgressFromJSON(jsonString) {
1742
+ return safeParse(jsonString, (x) => DeploymentStateEgress$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateEgress' from JSON`);
1686
1743
  }
1687
1744
  /** @internal */
1688
- export const TargetReleaseOverrideGcpBinding$inboundSchema = z.object({
1689
- resource: z.lazy(() => TargetReleaseOverrideGcpResource$inboundSchema)
1690
- .optional(),
1691
- stack: z.lazy(() => TargetReleaseOverrideGcpStack$inboundSchema).optional(),
1692
- });
1745
+ export const DeploymentStateEgressUnion$inboundSchema = z.union([z.lazy(() => DeploymentStateEgress$inboundSchema), z.string()]);
1693
1746
  /** @internal */
1694
- export const TargetReleaseOverrideGcpBinding$outboundSchema = z.object({
1695
- resource: z.lazy(() => TargetReleaseOverrideGcpResource$outboundSchema)
1696
- .optional(),
1697
- stack: z.lazy(() => TargetReleaseOverrideGcpStack$outboundSchema).optional(),
1698
- });
1699
- export function targetReleaseOverrideGcpBindingToJSON(targetReleaseOverrideGcpBinding) {
1700
- return JSON.stringify(TargetReleaseOverrideGcpBinding$outboundSchema.parse(targetReleaseOverrideGcpBinding));
1747
+ export const DeploymentStateEgressUnion$outboundSchema = z.union([z.lazy(() => DeploymentStateEgress$outboundSchema), z.string()]);
1748
+ export function deploymentStateEgressUnionToJSON(deploymentStateEgressUnion) {
1749
+ return JSON.stringify(DeploymentStateEgressUnion$outboundSchema.parse(deploymentStateEgressUnion));
1701
1750
  }
1702
- export function targetReleaseOverrideGcpBindingFromJSON(jsonString) {
1703
- return safeParse(jsonString, (x) => TargetReleaseOverrideGcpBinding$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseOverrideGcpBinding' from JSON`);
1751
+ export function deploymentStateEgressUnionFromJSON(jsonString) {
1752
+ return safeParse(jsonString, (x) => DeploymentStateEgressUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateEgressUnion' from JSON`);
1704
1753
  }
1705
1754
  /** @internal */
1706
- export const TargetReleaseOverrideGcpGrant$inboundSchema = z.object({
1707
- actions: z.nullable(z.array(z.string())).optional(),
1708
- dataActions: z.nullable(z.array(z.string())).optional(),
1709
- permissions: z.nullable(z.array(z.string())).optional(),
1710
- predefinedRoles: z.nullable(z.array(z.string())).optional(),
1711
- residualPermissions: z.nullable(z.array(z.string())).optional(),
1755
+ export const DeploymentStateTypeAwsSandbox$inboundSchema = z.enum(DeploymentStateTypeAwsSandbox);
1756
+ /** @internal */
1757
+ export const DeploymentStateTypeAwsSandbox$outboundSchema = DeploymentStateTypeAwsSandbox$inboundSchema;
1758
+ /** @internal */
1759
+ export const DeploymentStateSetupScaffolding$inboundSchema = z.object({
1760
+ buildRoleName: z.string(),
1761
+ egress: z.nullable(z.union([z.lazy(() => DeploymentStateEgress$inboundSchema), z.string()])).optional(),
1762
+ imageArn: z.nullable(z.string()).optional(),
1763
+ type: DeploymentStateTypeAwsSandbox$inboundSchema,
1712
1764
  });
1713
1765
  /** @internal */
1714
- export const TargetReleaseOverrideGcpGrant$outboundSchema = z.object({
1715
- actions: z.nullable(z.array(z.string())).optional(),
1716
- dataActions: z.nullable(z.array(z.string())).optional(),
1717
- permissions: z.nullable(z.array(z.string())).optional(),
1718
- predefinedRoles: z.nullable(z.array(z.string())).optional(),
1719
- residualPermissions: z.nullable(z.array(z.string())).optional(),
1766
+ export const DeploymentStateSetupScaffolding$outboundSchema = z.object({
1767
+ buildRoleName: z.string(),
1768
+ egress: z.nullable(z.union([z.lazy(() => DeploymentStateEgress$outboundSchema), z.string()])).optional(),
1769
+ imageArn: z.nullable(z.string()).optional(),
1770
+ type: DeploymentStateTypeAwsSandbox$outboundSchema,
1720
1771
  });
1721
- export function targetReleaseOverrideGcpGrantToJSON(targetReleaseOverrideGcpGrant) {
1722
- return JSON.stringify(TargetReleaseOverrideGcpGrant$outboundSchema.parse(targetReleaseOverrideGcpGrant));
1772
+ export function deploymentStateSetupScaffoldingToJSON(deploymentStateSetupScaffolding) {
1773
+ return JSON.stringify(DeploymentStateSetupScaffolding$outboundSchema.parse(deploymentStateSetupScaffolding));
1723
1774
  }
1724
- export function targetReleaseOverrideGcpGrantFromJSON(jsonString) {
1725
- return safeParse(jsonString, (x) => TargetReleaseOverrideGcpGrant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseOverrideGcpGrant' from JSON`);
1775
+ export function deploymentStateSetupScaffoldingFromJSON(jsonString) {
1776
+ return safeParse(jsonString, (x) => DeploymentStateSetupScaffolding$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateSetupScaffolding' from JSON`);
1726
1777
  }
1727
1778
  /** @internal */
1728
- export const TargetReleaseOverrideGcp$inboundSchema = z.object({
1729
- binding: z.lazy(() => TargetReleaseOverrideGcpBinding$inboundSchema),
1730
- description: z.nullable(z.string()).optional(),
1731
- grant: z.lazy(() => TargetReleaseOverrideGcpGrant$inboundSchema),
1732
- label: z.nullable(z.string()).optional(),
1779
+ export const DeploymentStateSetupUpdateAuthorization$inboundSchema = z.object({
1780
+ baselineFrozenDigest: z.string(),
1781
+ nonce: z.string(),
1782
+ releaseId: z.string(),
1783
+ setupFingerprint: z.string(),
1784
+ setupFingerprintVersion: z.int(),
1785
+ setupTarget: z.string(),
1786
+ targetFrozenDigest: z.string(),
1733
1787
  });
1734
1788
  /** @internal */
1735
- export const TargetReleaseOverrideGcp$outboundSchema = z.object({
1736
- binding: z.lazy(() => TargetReleaseOverrideGcpBinding$outboundSchema),
1737
- description: z.nullable(z.string()).optional(),
1738
- grant: z.lazy(() => TargetReleaseOverrideGcpGrant$outboundSchema),
1739
- label: z.nullable(z.string()).optional(),
1789
+ export const DeploymentStateSetupUpdateAuthorization$outboundSchema = z.object({
1790
+ baselineFrozenDigest: z.string(),
1791
+ nonce: z.string(),
1792
+ releaseId: z.string(),
1793
+ setupFingerprint: z.string(),
1794
+ setupFingerprintVersion: z.int(),
1795
+ setupTarget: z.string(),
1796
+ targetFrozenDigest: z.string(),
1740
1797
  });
1741
- export function targetReleaseOverrideGcpToJSON(targetReleaseOverrideGcp) {
1742
- return JSON.stringify(TargetReleaseOverrideGcp$outboundSchema.parse(targetReleaseOverrideGcp));
1798
+ export function deploymentStateSetupUpdateAuthorizationToJSON(deploymentStateSetupUpdateAuthorization) {
1799
+ return JSON.stringify(DeploymentStateSetupUpdateAuthorization$outboundSchema.parse(deploymentStateSetupUpdateAuthorization));
1800
+ }
1801
+ export function deploymentStateSetupUpdateAuthorizationFromJSON(jsonString) {
1802
+ return safeParse(jsonString, (x) => DeploymentStateSetupUpdateAuthorization$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateSetupUpdateAuthorization' from JSON`);
1803
+ }
1804
+ /** @internal */
1805
+ export const DeploymentStateSetupUpdateAuthorizationUnion$inboundSchema = z.union([
1806
+ z.lazy(() => DeploymentStateSetupUpdateAuthorization$inboundSchema),
1807
+ z.string(),
1808
+ ]);
1809
+ /** @internal */
1810
+ export const DeploymentStateSetupUpdateAuthorizationUnion$outboundSchema = z.union([
1811
+ z.lazy(() => DeploymentStateSetupUpdateAuthorization$outboundSchema),
1812
+ z.string(),
1813
+ ]);
1814
+ export function deploymentStateSetupUpdateAuthorizationUnionToJSON(deploymentStateSetupUpdateAuthorizationUnion) {
1815
+ return JSON.stringify(DeploymentStateSetupUpdateAuthorizationUnion$outboundSchema.parse(deploymentStateSetupUpdateAuthorizationUnion));
1743
1816
  }
1744
- export function targetReleaseOverrideGcpFromJSON(jsonString) {
1745
- return safeParse(jsonString, (x) => TargetReleaseOverrideGcp$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseOverrideGcp' from JSON`);
1817
+ export function deploymentStateSetupUpdateAuthorizationUnionFromJSON(jsonString) {
1818
+ return safeParse(jsonString, (x) => DeploymentStateSetupUpdateAuthorizationUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateSetupUpdateAuthorizationUnion' from JSON`);
1746
1819
  }
1747
1820
  /** @internal */
1748
- export const TargetReleaseOverridePlatforms$inboundSchema = z.object({
1749
- aws: z.nullable(z.array(z.lazy(() => TargetReleaseOverrideAw$inboundSchema)))
1821
+ export const DeploymentStateRuntimeMetadata$inboundSchema = z.object({
1822
+ deployerSecrets: z.array(DeploymentStateDeployerSecret$inboundSchema)
1750
1823
  .optional(),
1751
- azure: z.nullable(z.array(z.lazy(() => TargetReleaseOverrideAzure$inboundSchema))).optional(),
1752
- gcp: z.nullable(z.array(z.lazy(() => TargetReleaseOverrideGcp$inboundSchema)))
1824
+ directSetupRevision: z.nullable(z.string()).optional(),
1825
+ initialSetupAuthority: DeploymentStateInitialSetupAuthority$inboundSchema
1753
1826
  .optional(),
1827
+ lastSyncedEnvVarsHash: z.nullable(z.string()).optional(),
1828
+ lastSyncedSecretNames: z.array(z.string()).optional(),
1829
+ pendingPreparedReleaseId: z.nullable(z.string()).optional(),
1830
+ pendingPreparedStack: z.nullable(DeploymentStatePendingPreparedStackUnion$inboundSchema).optional(),
1831
+ persistedGateAnswers: z.record(z.string(), z.boolean()).optional(),
1832
+ preparedStack: z.nullable(z.union([
1833
+ z.lazy(() => DeploymentStatePreparedStack$inboundSchema),
1834
+ z.string(),
1835
+ ])).optional(),
1836
+ registryAccess: z.nullable(z.union([
1837
+ z.lazy(() => DeploymentStateRegistryAccess$inboundSchema),
1838
+ z.string(),
1839
+ ])).optional(),
1840
+ registryAccessGranted: z.boolean().optional(),
1841
+ setupScaffolding: z.record(z.string(), z.lazy(() => DeploymentStateSetupScaffolding$inboundSchema)).optional(),
1842
+ setupUpdateAuthorization: z.nullable(z.union([
1843
+ z.lazy(() => DeploymentStateSetupUpdateAuthorization$inboundSchema),
1844
+ z.string(),
1845
+ ])).optional(),
1754
1846
  });
1755
1847
  /** @internal */
1756
- export const TargetReleaseOverridePlatforms$outboundSchema = z.object({
1757
- aws: z.nullable(z.array(z.lazy(() => TargetReleaseOverrideAw$outboundSchema)))
1848
+ export const DeploymentStateRuntimeMetadata$outboundSchema = z.object({
1849
+ deployerSecrets: z.array(DeploymentStateDeployerSecret$outboundSchema)
1758
1850
  .optional(),
1759
- azure: z.nullable(z.array(z.lazy(() => TargetReleaseOverrideAzure$outboundSchema))).optional(),
1760
- gcp: z.nullable(z.array(z.lazy(() => TargetReleaseOverrideGcp$outboundSchema))).optional(),
1761
- });
1762
- export function targetReleaseOverridePlatformsToJSON(targetReleaseOverridePlatforms) {
1763
- return JSON.stringify(TargetReleaseOverridePlatforms$outboundSchema.parse(targetReleaseOverridePlatforms));
1764
- }
1765
- export function targetReleaseOverridePlatformsFromJSON(jsonString) {
1766
- return safeParse(jsonString, (x) => TargetReleaseOverridePlatforms$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseOverridePlatforms' from JSON`);
1767
- }
1768
- /** @internal */
1769
- export const TargetReleaseOverride$inboundSchema = z.object({
1770
- description: z.string(),
1771
- id: z.string(),
1772
- platforms: z.lazy(() => TargetReleaseOverridePlatforms$inboundSchema),
1773
- });
1774
- /** @internal */
1775
- export const TargetReleaseOverride$outboundSchema = z.object({
1776
- description: z.string(),
1777
- id: z.string(),
1778
- platforms: z.lazy(() => TargetReleaseOverridePlatforms$outboundSchema),
1851
+ directSetupRevision: z.nullable(z.string()).optional(),
1852
+ initialSetupAuthority: DeploymentStateInitialSetupAuthority$outboundSchema
1853
+ .optional(),
1854
+ lastSyncedEnvVarsHash: z.nullable(z.string()).optional(),
1855
+ lastSyncedSecretNames: z.array(z.string()).optional(),
1856
+ pendingPreparedReleaseId: z.nullable(z.string()).optional(),
1857
+ pendingPreparedStack: z.nullable(DeploymentStatePendingPreparedStackUnion$outboundSchema).optional(),
1858
+ persistedGateAnswers: z.record(z.string(), z.boolean()).optional(),
1859
+ preparedStack: z.nullable(z.union([
1860
+ z.lazy(() => DeploymentStatePreparedStack$outboundSchema),
1861
+ z.string(),
1862
+ ])).optional(),
1863
+ registryAccess: z.nullable(z.union([
1864
+ z.lazy(() => DeploymentStateRegistryAccess$outboundSchema),
1865
+ z.string(),
1866
+ ])).optional(),
1867
+ registryAccessGranted: z.boolean().optional(),
1868
+ setupScaffolding: z.record(z.string(), z.lazy(() => DeploymentStateSetupScaffolding$outboundSchema)).optional(),
1869
+ setupUpdateAuthorization: z.nullable(z.union([
1870
+ z.lazy(() => DeploymentStateSetupUpdateAuthorization$outboundSchema),
1871
+ z.string(),
1872
+ ])).optional(),
1779
1873
  });
1780
- export function targetReleaseOverrideToJSON(targetReleaseOverride) {
1781
- return JSON.stringify(TargetReleaseOverride$outboundSchema.parse(targetReleaseOverride));
1874
+ export function deploymentStateRuntimeMetadataToJSON(deploymentStateRuntimeMetadata) {
1875
+ return JSON.stringify(DeploymentStateRuntimeMetadata$outboundSchema.parse(deploymentStateRuntimeMetadata));
1782
1876
  }
1783
- export function targetReleaseOverrideFromJSON(jsonString) {
1784
- return safeParse(jsonString, (x) => TargetReleaseOverride$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseOverride' from JSON`);
1877
+ export function deploymentStateRuntimeMetadataFromJSON(jsonString) {
1878
+ return safeParse(jsonString, (x) => DeploymentStateRuntimeMetadata$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateRuntimeMetadata' from JSON`);
1785
1879
  }
1786
1880
  /** @internal */
1787
- export const TargetReleaseOverrideUnion$inboundSchema = z.union([z.lazy(() => TargetReleaseOverride$inboundSchema), z.string()]);
1881
+ export const RuntimeMetadata$inboundSchema = z.union([
1882
+ z.lazy(() => DeploymentStateRuntimeMetadata$inboundSchema),
1883
+ z.string(),
1884
+ ]);
1788
1885
  /** @internal */
1789
- export const TargetReleaseOverrideUnion$outboundSchema = z.union([z.lazy(() => TargetReleaseOverride$outboundSchema), z.string()]);
1790
- export function targetReleaseOverrideUnionToJSON(targetReleaseOverrideUnion) {
1791
- return JSON.stringify(TargetReleaseOverrideUnion$outboundSchema.parse(targetReleaseOverrideUnion));
1886
+ export const RuntimeMetadata$outboundSchema = z.union([
1887
+ z.lazy(() => DeploymentStateRuntimeMetadata$outboundSchema),
1888
+ z.string(),
1889
+ ]);
1890
+ export function runtimeMetadataToJSON(runtimeMetadata) {
1891
+ return JSON.stringify(RuntimeMetadata$outboundSchema.parse(runtimeMetadata));
1792
1892
  }
1793
- export function targetReleaseOverrideUnionFromJSON(jsonString) {
1794
- return safeParse(jsonString, (x) => TargetReleaseOverrideUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseOverrideUnion' from JSON`);
1893
+ export function runtimeMetadataFromJSON(jsonString) {
1894
+ return safeParse(jsonString, (x) => RuntimeMetadata$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'RuntimeMetadata' from JSON`);
1795
1895
  }
1796
1896
  /** @internal */
1797
- export const TargetReleaseManagement2$inboundSchema = z.object({
1798
- override: z.record(z.string(), z.array(z.union([z.lazy(() => TargetReleaseOverride$inboundSchema), z.string()]))),
1799
- });
1897
+ export const DeploymentStateStackStatePlatform$inboundSchema = z.enum(DeploymentStateStackStatePlatform);
1800
1898
  /** @internal */
1801
- export const TargetReleaseManagement2$outboundSchema = z.object({
1802
- override: z.record(z.string(), z.array(z.union([z.lazy(() => TargetReleaseOverride$outboundSchema), z.string()]))),
1803
- });
1804
- export function targetReleaseManagement2ToJSON(targetReleaseManagement2) {
1805
- return JSON.stringify(TargetReleaseManagement2$outboundSchema.parse(targetReleaseManagement2));
1806
- }
1807
- export function targetReleaseManagement2FromJSON(jsonString) {
1808
- return safeParse(jsonString, (x) => TargetReleaseManagement2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseManagement2' from JSON`);
1809
- }
1899
+ export const DeploymentStateStackStatePlatform$outboundSchema = DeploymentStateStackStatePlatform$inboundSchema;
1810
1900
  /** @internal */
1811
- export const TargetReleaseExtendAwResource$inboundSchema = z.object({
1812
- condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string())))
1813
- .optional(),
1814
- notResources: z.array(z.string()).optional(),
1815
- resources: z.array(z.string()),
1816
- });
1901
+ export const DeploymentStateStackStateConfig$inboundSchema = collectExtraKeys$(z.object({
1902
+ id: z.string(),
1903
+ type: z.string(),
1904
+ }).catchall(z.any()), "additionalProperties", true);
1817
1905
  /** @internal */
1818
- export const TargetReleaseExtendAwResource$outboundSchema = z.object({
1819
- condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string())))
1820
- .optional(),
1821
- notResources: z.array(z.string()).optional(),
1822
- resources: z.array(z.string()),
1906
+ export const DeploymentStateStackStateConfig$outboundSchema = z.object({
1907
+ id: z.string(),
1908
+ type: z.string(),
1909
+ additionalProperties: z.record(z.string(), z.nullable(z.any())).optional(),
1910
+ }).transform((v) => {
1911
+ return {
1912
+ ...v.additionalProperties,
1913
+ ...remap$(v, {
1914
+ additionalProperties: null,
1915
+ }),
1916
+ };
1823
1917
  });
1824
- export function targetReleaseExtendAwResourceToJSON(targetReleaseExtendAwResource) {
1825
- return JSON.stringify(TargetReleaseExtendAwResource$outboundSchema.parse(targetReleaseExtendAwResource));
1918
+ export function deploymentStateStackStateConfigToJSON(deploymentStateStackStateConfig) {
1919
+ return JSON.stringify(DeploymentStateStackStateConfig$outboundSchema.parse(deploymentStateStackStateConfig));
1826
1920
  }
1827
- export function targetReleaseExtendAwResourceFromJSON(jsonString) {
1828
- return safeParse(jsonString, (x) => TargetReleaseExtendAwResource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseExtendAwResource' from JSON`);
1921
+ export function deploymentStateStackStateConfigFromJSON(jsonString) {
1922
+ return safeParse(jsonString, (x) => DeploymentStateStackStateConfig$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateStackStateConfig' from JSON`);
1829
1923
  }
1830
1924
  /** @internal */
1831
- export const TargetReleaseExtendAwStack$inboundSchema = z.object({
1832
- condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string())))
1833
- .optional(),
1834
- notResources: z.array(z.string()).optional(),
1835
- resources: z.array(z.string()),
1836
- });
1925
+ export const DeploymentStateControllerPlatformEnum$inboundSchema = z.enum(DeploymentStateControllerPlatformEnum);
1837
1926
  /** @internal */
1838
- export const TargetReleaseExtendAwStack$outboundSchema = z.object({
1839
- condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string())))
1840
- .optional(),
1841
- notResources: z.array(z.string()).optional(),
1842
- resources: z.array(z.string()),
1843
- });
1844
- export function targetReleaseExtendAwStackToJSON(targetReleaseExtendAwStack) {
1845
- return JSON.stringify(TargetReleaseExtendAwStack$outboundSchema.parse(targetReleaseExtendAwStack));
1846
- }
1847
- export function targetReleaseExtendAwStackFromJSON(jsonString) {
1848
- return safeParse(jsonString, (x) => TargetReleaseExtendAwStack$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseExtendAwStack' from JSON`);
1849
- }
1927
+ export const DeploymentStateControllerPlatformEnum$outboundSchema = DeploymentStateControllerPlatformEnum$inboundSchema;
1850
1928
  /** @internal */
1851
- export const TargetReleaseExtendAwBinding$inboundSchema = z.object({
1852
- resource: z.lazy(() => TargetReleaseExtendAwResource$inboundSchema)
1853
- .optional(),
1854
- stack: z.lazy(() => TargetReleaseExtendAwStack$inboundSchema).optional(),
1855
- });
1929
+ export const DeploymentStateControllerPlatformUnion$inboundSchema = z.union([DeploymentStateControllerPlatformEnum$inboundSchema, z.string()]);
1856
1930
  /** @internal */
1857
- export const TargetReleaseExtendAwBinding$outboundSchema = z.object({
1858
- resource: z.lazy(() => TargetReleaseExtendAwResource$outboundSchema)
1859
- .optional(),
1860
- stack: z.lazy(() => TargetReleaseExtendAwStack$outboundSchema).optional(),
1861
- });
1862
- export function targetReleaseExtendAwBindingToJSON(targetReleaseExtendAwBinding) {
1863
- return JSON.stringify(TargetReleaseExtendAwBinding$outboundSchema.parse(targetReleaseExtendAwBinding));
1931
+ export const DeploymentStateControllerPlatformUnion$outboundSchema = z.union([DeploymentStateControllerPlatformEnum$outboundSchema, z.string()]);
1932
+ export function deploymentStateControllerPlatformUnionToJSON(deploymentStateControllerPlatformUnion) {
1933
+ return JSON.stringify(DeploymentStateControllerPlatformUnion$outboundSchema.parse(deploymentStateControllerPlatformUnion));
1864
1934
  }
1865
- export function targetReleaseExtendAwBindingFromJSON(jsonString) {
1866
- return safeParse(jsonString, (x) => TargetReleaseExtendAwBinding$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseExtendAwBinding' from JSON`);
1935
+ export function deploymentStateControllerPlatformUnionFromJSON(jsonString) {
1936
+ return safeParse(jsonString, (x) => DeploymentStateControllerPlatformUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateControllerPlatformUnion' from JSON`);
1867
1937
  }
1868
1938
  /** @internal */
1869
- export const TargetReleaseExtendEffect$inboundSchema = z.enum(TargetReleaseExtendEffect);
1870
- /** @internal */
1871
- export const TargetReleaseExtendEffect$outboundSchema = TargetReleaseExtendEffect$inboundSchema;
1872
- /** @internal */
1873
- export const TargetReleaseExtendAwGrant$inboundSchema = z.object({
1874
- actions: z.nullable(z.array(z.string())).optional(),
1875
- dataActions: z.nullable(z.array(z.string())).optional(),
1876
- permissions: z.nullable(z.array(z.string())).optional(),
1877
- predefinedRoles: z.nullable(z.array(z.string())).optional(),
1878
- residualPermissions: z.nullable(z.array(z.string())).optional(),
1939
+ export const DeploymentStateStackStateDependency$inboundSchema = z.object({
1940
+ id: z.string(),
1941
+ type: z.string(),
1879
1942
  });
1880
1943
  /** @internal */
1881
- export const TargetReleaseExtendAwGrant$outboundSchema = z.object({
1882
- actions: z.nullable(z.array(z.string())).optional(),
1883
- dataActions: z.nullable(z.array(z.string())).optional(),
1884
- permissions: z.nullable(z.array(z.string())).optional(),
1885
- predefinedRoles: z.nullable(z.array(z.string())).optional(),
1886
- residualPermissions: z.nullable(z.array(z.string())).optional(),
1944
+ export const DeploymentStateStackStateDependency$outboundSchema = z.object({
1945
+ id: z.string(),
1946
+ type: z.string(),
1887
1947
  });
1888
- export function targetReleaseExtendAwGrantToJSON(targetReleaseExtendAwGrant) {
1889
- return JSON.stringify(TargetReleaseExtendAwGrant$outboundSchema.parse(targetReleaseExtendAwGrant));
1948
+ export function deploymentStateStackStateDependencyToJSON(deploymentStateStackStateDependency) {
1949
+ return JSON.stringify(DeploymentStateStackStateDependency$outboundSchema.parse(deploymentStateStackStateDependency));
1890
1950
  }
1891
- export function targetReleaseExtendAwGrantFromJSON(jsonString) {
1892
- return safeParse(jsonString, (x) => TargetReleaseExtendAwGrant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseExtendAwGrant' from JSON`);
1951
+ export function deploymentStateStackStateDependencyFromJSON(jsonString) {
1952
+ return safeParse(jsonString, (x) => DeploymentStateStackStateDependency$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateStackStateDependency' from JSON`);
1893
1953
  }
1894
1954
  /** @internal */
1895
- export const TargetReleaseExtendAw$inboundSchema = z.object({
1896
- binding: z.lazy(() => TargetReleaseExtendAwBinding$inboundSchema),
1897
- description: z.nullable(z.string()).optional(),
1898
- effect: TargetReleaseExtendEffect$inboundSchema.optional(),
1899
- grant: z.lazy(() => TargetReleaseExtendAwGrant$inboundSchema),
1900
- label: z.nullable(z.string()).optional(),
1955
+ export const DeploymentStateStackStateError$inboundSchema = z.object({
1956
+ code: z.string(),
1957
+ context: z.nullable(z.any()).optional(),
1958
+ hint: z.nullable(z.string()).optional(),
1959
+ httpStatusCode: z.nullable(z.int()).optional(),
1960
+ internal: z.boolean(),
1961
+ message: z.string(),
1962
+ retryable: z.boolean().default(false),
1963
+ source: z.nullable(z.any()).optional(),
1901
1964
  });
1902
1965
  /** @internal */
1903
- export const TargetReleaseExtendAw$outboundSchema = z.object({
1904
- binding: z.lazy(() => TargetReleaseExtendAwBinding$outboundSchema),
1905
- description: z.nullable(z.string()).optional(),
1906
- effect: TargetReleaseExtendEffect$outboundSchema.optional(),
1907
- grant: z.lazy(() => TargetReleaseExtendAwGrant$outboundSchema),
1908
- label: z.nullable(z.string()).optional(),
1966
+ export const DeploymentStateStackStateError$outboundSchema = z.object({
1967
+ code: z.string(),
1968
+ context: z.nullable(z.any()).optional(),
1969
+ hint: z.nullable(z.string()).optional(),
1970
+ httpStatusCode: z.nullable(z.int()).optional(),
1971
+ internal: z.boolean(),
1972
+ message: z.string(),
1973
+ retryable: z.boolean().default(false),
1974
+ source: z.nullable(z.any()).optional(),
1909
1975
  });
1910
- export function targetReleaseExtendAwToJSON(targetReleaseExtendAw) {
1911
- return JSON.stringify(TargetReleaseExtendAw$outboundSchema.parse(targetReleaseExtendAw));
1976
+ export function deploymentStateStackStateErrorToJSON(deploymentStateStackStateError) {
1977
+ return JSON.stringify(DeploymentStateStackStateError$outboundSchema.parse(deploymentStateStackStateError));
1912
1978
  }
1913
- export function targetReleaseExtendAwFromJSON(jsonString) {
1914
- return safeParse(jsonString, (x) => TargetReleaseExtendAw$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseExtendAw' from JSON`);
1979
+ export function deploymentStateStackStateErrorFromJSON(jsonString) {
1980
+ return safeParse(jsonString, (x) => DeploymentStateStackStateError$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateStackStateError' from JSON`);
1915
1981
  }
1916
1982
  /** @internal */
1917
- export const TargetReleaseExtendAzureResource$inboundSchema = z.object({
1918
- scope: z.string(),
1919
- });
1983
+ export const DeploymentStateStackStateErrorUnion$inboundSchema = z.union([
1984
+ z.lazy(() => DeploymentStateStackStateError$inboundSchema),
1985
+ z.string(),
1986
+ ]);
1920
1987
  /** @internal */
1921
- export const TargetReleaseExtendAzureResource$outboundSchema = z.object({
1922
- scope: z.string(),
1923
- });
1924
- export function targetReleaseExtendAzureResourceToJSON(targetReleaseExtendAzureResource) {
1925
- return JSON.stringify(TargetReleaseExtendAzureResource$outboundSchema.parse(targetReleaseExtendAzureResource));
1988
+ export const DeploymentStateStackStateErrorUnion$outboundSchema = z.union([
1989
+ z.lazy(() => DeploymentStateStackStateError$outboundSchema),
1990
+ z.string(),
1991
+ ]);
1992
+ export function deploymentStateStackStateErrorUnionToJSON(deploymentStateStackStateErrorUnion) {
1993
+ return JSON.stringify(DeploymentStateStackStateErrorUnion$outboundSchema.parse(deploymentStateStackStateErrorUnion));
1926
1994
  }
1927
- export function targetReleaseExtendAzureResourceFromJSON(jsonString) {
1928
- return safeParse(jsonString, (x) => TargetReleaseExtendAzureResource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseExtendAzureResource' from JSON`);
1995
+ export function deploymentStateStackStateErrorUnionFromJSON(jsonString) {
1996
+ return safeParse(jsonString, (x) => DeploymentStateStackStateErrorUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateStackStateErrorUnion' from JSON`);
1929
1997
  }
1930
1998
  /** @internal */
1931
- export const TargetReleaseExtendAzureStack$inboundSchema = z.object({
1932
- scope: z.string(),
1933
- });
1999
+ export const DeploymentStateStackStateLifecycleEnum$inboundSchema = z.enum(DeploymentStateStackStateLifecycleEnum);
1934
2000
  /** @internal */
1935
- export const TargetReleaseExtendAzureStack$outboundSchema = z.object({
1936
- scope: z.string(),
1937
- });
1938
- export function targetReleaseExtendAzureStackToJSON(targetReleaseExtendAzureStack) {
1939
- return JSON.stringify(TargetReleaseExtendAzureStack$outboundSchema.parse(targetReleaseExtendAzureStack));
1940
- }
1941
- export function targetReleaseExtendAzureStackFromJSON(jsonString) {
1942
- return safeParse(jsonString, (x) => TargetReleaseExtendAzureStack$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseExtendAzureStack' from JSON`);
1943
- }
2001
+ export const DeploymentStateStackStateLifecycleEnum$outboundSchema = DeploymentStateStackStateLifecycleEnum$inboundSchema;
1944
2002
  /** @internal */
1945
- export const TargetReleaseExtendAzureBinding$inboundSchema = z.object({
1946
- resource: z.lazy(() => TargetReleaseExtendAzureResource$inboundSchema)
1947
- .optional(),
1948
- stack: z.lazy(() => TargetReleaseExtendAzureStack$inboundSchema).optional(),
1949
- });
2003
+ export const DeploymentStateLifecycleUnion$inboundSchema = z.union([DeploymentStateStackStateLifecycleEnum$inboundSchema, z.string()]);
1950
2004
  /** @internal */
1951
- export const TargetReleaseExtendAzureBinding$outboundSchema = z.object({
1952
- resource: z.lazy(() => TargetReleaseExtendAzureResource$outboundSchema)
1953
- .optional(),
1954
- stack: z.lazy(() => TargetReleaseExtendAzureStack$outboundSchema).optional(),
1955
- });
1956
- export function targetReleaseExtendAzureBindingToJSON(targetReleaseExtendAzureBinding) {
1957
- return JSON.stringify(TargetReleaseExtendAzureBinding$outboundSchema.parse(targetReleaseExtendAzureBinding));
2005
+ export const DeploymentStateLifecycleUnion$outboundSchema = z.union([
2006
+ DeploymentStateStackStateLifecycleEnum$outboundSchema,
2007
+ z.string(),
2008
+ ]);
2009
+ export function deploymentStateLifecycleUnionToJSON(deploymentStateLifecycleUnion) {
2010
+ return JSON.stringify(DeploymentStateLifecycleUnion$outboundSchema.parse(deploymentStateLifecycleUnion));
1958
2011
  }
1959
- export function targetReleaseExtendAzureBindingFromJSON(jsonString) {
1960
- return safeParse(jsonString, (x) => TargetReleaseExtendAzureBinding$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseExtendAzureBinding' from JSON`);
2012
+ export function deploymentStateLifecycleUnionFromJSON(jsonString) {
2013
+ return safeParse(jsonString, (x) => DeploymentStateLifecycleUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateLifecycleUnion' from JSON`);
1961
2014
  }
1962
2015
  /** @internal */
1963
- export const TargetReleaseExtendAzureGrant$inboundSchema = z.object({
1964
- actions: z.nullable(z.array(z.string())).optional(),
1965
- dataActions: z.nullable(z.array(z.string())).optional(),
1966
- permissions: z.nullable(z.array(z.string())).optional(),
1967
- predefinedRoles: z.nullable(z.array(z.string())).optional(),
1968
- residualPermissions: z.nullable(z.array(z.string())).optional(),
1969
- });
2016
+ export const DeploymentStateOutputs$inboundSchema = collectExtraKeys$(z.object({
2017
+ type: z.string(),
2018
+ }).catchall(z.any()), "additionalProperties", true);
1970
2019
  /** @internal */
1971
- export const TargetReleaseExtendAzureGrant$outboundSchema = z.object({
1972
- actions: z.nullable(z.array(z.string())).optional(),
1973
- dataActions: z.nullable(z.array(z.string())).optional(),
1974
- permissions: z.nullable(z.array(z.string())).optional(),
1975
- predefinedRoles: z.nullable(z.array(z.string())).optional(),
1976
- residualPermissions: z.nullable(z.array(z.string())).optional(),
2020
+ export const DeploymentStateOutputs$outboundSchema = z.object({
2021
+ type: z.string(),
2022
+ additionalProperties: z.record(z.string(), z.nullable(z.any())).optional(),
2023
+ }).transform((v) => {
2024
+ return {
2025
+ ...v.additionalProperties,
2026
+ ...remap$(v, {
2027
+ additionalProperties: null,
2028
+ }),
2029
+ };
1977
2030
  });
1978
- export function targetReleaseExtendAzureGrantToJSON(targetReleaseExtendAzureGrant) {
1979
- return JSON.stringify(TargetReleaseExtendAzureGrant$outboundSchema.parse(targetReleaseExtendAzureGrant));
2031
+ export function deploymentStateOutputsToJSON(deploymentStateOutputs) {
2032
+ return JSON.stringify(DeploymentStateOutputs$outboundSchema.parse(deploymentStateOutputs));
1980
2033
  }
1981
- export function targetReleaseExtendAzureGrantFromJSON(jsonString) {
1982
- return safeParse(jsonString, (x) => TargetReleaseExtendAzureGrant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseExtendAzureGrant' from JSON`);
2034
+ export function deploymentStateOutputsFromJSON(jsonString) {
2035
+ return safeParse(jsonString, (x) => DeploymentStateOutputs$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateOutputs' from JSON`);
1983
2036
  }
1984
2037
  /** @internal */
1985
- export const TargetReleaseExtendAzure$inboundSchema = z.object({
1986
- binding: z.lazy(() => TargetReleaseExtendAzureBinding$inboundSchema),
1987
- description: z.nullable(z.string()).optional(),
1988
- grant: z.lazy(() => TargetReleaseExtendAzureGrant$inboundSchema),
1989
- label: z.nullable(z.string()).optional(),
1990
- });
2038
+ export const DeploymentStateOutputsUnion$inboundSchema = z.union([z.lazy(() => DeploymentStateOutputs$inboundSchema), z.string()]);
1991
2039
  /** @internal */
1992
- export const TargetReleaseExtendAzure$outboundSchema = z.object({
1993
- binding: z.lazy(() => TargetReleaseExtendAzureBinding$outboundSchema),
1994
- description: z.nullable(z.string()).optional(),
1995
- grant: z.lazy(() => TargetReleaseExtendAzureGrant$outboundSchema),
1996
- label: z.nullable(z.string()).optional(),
1997
- });
1998
- export function targetReleaseExtendAzureToJSON(targetReleaseExtendAzure) {
1999
- return JSON.stringify(TargetReleaseExtendAzure$outboundSchema.parse(targetReleaseExtendAzure));
2040
+ export const DeploymentStateOutputsUnion$outboundSchema = z.union([z.lazy(() => DeploymentStateOutputs$outboundSchema), z.string()]);
2041
+ export function deploymentStateOutputsUnionToJSON(deploymentStateOutputsUnion) {
2042
+ return JSON.stringify(DeploymentStateOutputsUnion$outboundSchema.parse(deploymentStateOutputsUnion));
2000
2043
  }
2001
- export function targetReleaseExtendAzureFromJSON(jsonString) {
2002
- return safeParse(jsonString, (x) => TargetReleaseExtendAzure$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseExtendAzure' from JSON`);
2044
+ export function deploymentStateOutputsUnionFromJSON(jsonString) {
2045
+ return safeParse(jsonString, (x) => DeploymentStateOutputsUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateOutputsUnion' from JSON`);
2003
2046
  }
2004
2047
  /** @internal */
2005
- export const TargetReleaseExtendConditionResource$inboundSchema = z.object({
2006
- expression: z.string(),
2007
- title: z.string(),
2008
- });
2048
+ export const DeploymentStatePreviousConfig$inboundSchema = collectExtraKeys$(z.object({
2049
+ id: z.string(),
2050
+ type: z.string(),
2051
+ }).catchall(z.any()), "additionalProperties", true);
2009
2052
  /** @internal */
2010
- export const TargetReleaseExtendConditionResource$outboundSchema = z.object({
2011
- expression: z.string(),
2012
- title: z.string(),
2053
+ export const DeploymentStatePreviousConfig$outboundSchema = z.object({
2054
+ id: z.string(),
2055
+ type: z.string(),
2056
+ additionalProperties: z.record(z.string(), z.nullable(z.any())).optional(),
2057
+ }).transform((v) => {
2058
+ return {
2059
+ ...v.additionalProperties,
2060
+ ...remap$(v, {
2061
+ additionalProperties: null,
2062
+ }),
2063
+ };
2013
2064
  });
2014
- export function targetReleaseExtendConditionResourceToJSON(targetReleaseExtendConditionResource) {
2015
- return JSON.stringify(TargetReleaseExtendConditionResource$outboundSchema.parse(targetReleaseExtendConditionResource));
2065
+ export function deploymentStatePreviousConfigToJSON(deploymentStatePreviousConfig) {
2066
+ return JSON.stringify(DeploymentStatePreviousConfig$outboundSchema.parse(deploymentStatePreviousConfig));
2016
2067
  }
2017
- export function targetReleaseExtendConditionResourceFromJSON(jsonString) {
2018
- return safeParse(jsonString, (x) => TargetReleaseExtendConditionResource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseExtendConditionResource' from JSON`);
2068
+ export function deploymentStatePreviousConfigFromJSON(jsonString) {
2069
+ return safeParse(jsonString, (x) => DeploymentStatePreviousConfig$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreviousConfig' from JSON`);
2019
2070
  }
2020
2071
  /** @internal */
2021
- export const TargetReleaseExtendResourceConditionUnion$inboundSchema = z.union([
2022
- z.lazy(() => TargetReleaseExtendConditionResource$inboundSchema),
2072
+ export const DeploymentStatePreviousConfigUnion$inboundSchema = z.union([
2073
+ z.lazy(() => DeploymentStatePreviousConfig$inboundSchema),
2023
2074
  z.string(),
2024
2075
  ]);
2025
2076
  /** @internal */
2026
- export const TargetReleaseExtendResourceConditionUnion$outboundSchema = z.union([
2027
- z.lazy(() => TargetReleaseExtendConditionResource$outboundSchema),
2077
+ export const DeploymentStatePreviousConfigUnion$outboundSchema = z.union([
2078
+ z.lazy(() => DeploymentStatePreviousConfig$outboundSchema),
2028
2079
  z.string(),
2029
2080
  ]);
2030
- export function targetReleaseExtendResourceConditionUnionToJSON(targetReleaseExtendResourceConditionUnion) {
2031
- return JSON.stringify(TargetReleaseExtendResourceConditionUnion$outboundSchema.parse(targetReleaseExtendResourceConditionUnion));
2081
+ export function deploymentStatePreviousConfigUnionToJSON(deploymentStatePreviousConfigUnion) {
2082
+ return JSON.stringify(DeploymentStatePreviousConfigUnion$outboundSchema.parse(deploymentStatePreviousConfigUnion));
2032
2083
  }
2033
- export function targetReleaseExtendResourceConditionUnionFromJSON(jsonString) {
2034
- return safeParse(jsonString, (x) => TargetReleaseExtendResourceConditionUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseExtendResourceConditionUnion' from JSON`);
2084
+ export function deploymentStatePreviousConfigUnionFromJSON(jsonString) {
2085
+ return safeParse(jsonString, (x) => DeploymentStatePreviousConfigUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStatePreviousConfigUnion' from JSON`);
2035
2086
  }
2036
2087
  /** @internal */
2037
- export const TargetReleaseExtendGcpResource$inboundSchema = z.object({
2038
- condition: z.nullable(z.union([
2039
- z.lazy(() => TargetReleaseExtendConditionResource$inboundSchema),
2088
+ export const DeploymentStateStackStateStatus$inboundSchema = z.enum(DeploymentStateStackStateStatus);
2089
+ /** @internal */
2090
+ export const DeploymentStateStackStateStatus$outboundSchema = DeploymentStateStackStateStatus$inboundSchema;
2091
+ /** @internal */
2092
+ export const DeploymentStateStackStateResources$inboundSchema = z.object({
2093
+ _internal: z.nullable(z.any()).optional(),
2094
+ config: z.lazy(() => DeploymentStateStackStateConfig$inboundSchema),
2095
+ controllerPlatform: z.nullable(z.union([DeploymentStateControllerPlatformEnum$inboundSchema, z.string()])).optional(),
2096
+ dependencies: z.array(z.lazy(() => DeploymentStateStackStateDependency$inboundSchema)).optional(),
2097
+ error: z.nullable(z.union([
2098
+ z.lazy(() => DeploymentStateStackStateError$inboundSchema),
2040
2099
  z.string(),
2041
2100
  ])).optional(),
2042
- scope: z.string(),
2101
+ lastFailedState: z.nullable(z.any()).optional(),
2102
+ lifecycle: z.nullable(z.union([DeploymentStateStackStateLifecycleEnum$inboundSchema, z.string()])).optional(),
2103
+ outputs: z.nullable(z.union([z.lazy(() => DeploymentStateOutputs$inboundSchema), z.string()])).optional(),
2104
+ previousConfig: z.nullable(z.union([
2105
+ z.lazy(() => DeploymentStatePreviousConfig$inboundSchema),
2106
+ z.string(),
2107
+ ])).optional(),
2108
+ remoteBindingParams: z.nullable(z.any()).optional(),
2109
+ retryAttempt: z.int().optional(),
2110
+ status: DeploymentStateStackStateStatus$inboundSchema,
2111
+ type: z.string(),
2112
+ }).transform((v) => {
2113
+ return remap$(v, {
2114
+ "_internal": "internal",
2115
+ });
2043
2116
  });
2044
2117
  /** @internal */
2045
- export const TargetReleaseExtendGcpResource$outboundSchema = z.object({
2046
- condition: z.nullable(z.union([
2047
- z.lazy(() => TargetReleaseExtendConditionResource$outboundSchema),
2118
+ export const DeploymentStateStackStateResources$outboundSchema = z.object({
2119
+ internal: z.nullable(z.any()).optional(),
2120
+ config: z.lazy(() => DeploymentStateStackStateConfig$outboundSchema),
2121
+ controllerPlatform: z.nullable(z.union([DeploymentStateControllerPlatformEnum$outboundSchema, z.string()])).optional(),
2122
+ dependencies: z.array(z.lazy(() => DeploymentStateStackStateDependency$outboundSchema)).optional(),
2123
+ error: z.nullable(z.union([
2124
+ z.lazy(() => DeploymentStateStackStateError$outboundSchema),
2048
2125
  z.string(),
2049
2126
  ])).optional(),
2050
- scope: z.string(),
2127
+ lastFailedState: z.nullable(z.any()).optional(),
2128
+ lifecycle: z.nullable(z.union([
2129
+ DeploymentStateStackStateLifecycleEnum$outboundSchema,
2130
+ z.string(),
2131
+ ])).optional(),
2132
+ outputs: z.nullable(z.union([z.lazy(() => DeploymentStateOutputs$outboundSchema), z.string()])).optional(),
2133
+ previousConfig: z.nullable(z.union([
2134
+ z.lazy(() => DeploymentStatePreviousConfig$outboundSchema),
2135
+ z.string(),
2136
+ ])).optional(),
2137
+ remoteBindingParams: z.nullable(z.any()).optional(),
2138
+ retryAttempt: z.int().optional(),
2139
+ status: DeploymentStateStackStateStatus$outboundSchema,
2140
+ type: z.string(),
2141
+ }).transform((v) => {
2142
+ return remap$(v, {
2143
+ internal: "_internal",
2144
+ });
2051
2145
  });
2052
- export function targetReleaseExtendGcpResourceToJSON(targetReleaseExtendGcpResource) {
2053
- return JSON.stringify(TargetReleaseExtendGcpResource$outboundSchema.parse(targetReleaseExtendGcpResource));
2146
+ export function deploymentStateStackStateResourcesToJSON(deploymentStateStackStateResources) {
2147
+ return JSON.stringify(DeploymentStateStackStateResources$outboundSchema.parse(deploymentStateStackStateResources));
2054
2148
  }
2055
- export function targetReleaseExtendGcpResourceFromJSON(jsonString) {
2056
- return safeParse(jsonString, (x) => TargetReleaseExtendGcpResource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseExtendGcpResource' from JSON`);
2149
+ export function deploymentStateStackStateResourcesFromJSON(jsonString) {
2150
+ return safeParse(jsonString, (x) => DeploymentStateStackStateResources$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateStackStateResources' from JSON`);
2057
2151
  }
2058
2152
  /** @internal */
2059
- export const TargetReleaseExtendCondition$inboundSchema = z.object({
2060
- expression: z.string(),
2061
- title: z.string(),
2153
+ export const DeploymentStateStackState$inboundSchema = z.object({
2154
+ platform: DeploymentStateStackStatePlatform$inboundSchema,
2155
+ resourcePrefix: z.string(),
2156
+ resources: z.record(z.string(), z.lazy(() => DeploymentStateStackStateResources$inboundSchema)),
2062
2157
  });
2063
2158
  /** @internal */
2064
- export const TargetReleaseExtendCondition$outboundSchema = z.object({
2065
- expression: z.string(),
2066
- title: z.string(),
2159
+ export const DeploymentStateStackState$outboundSchema = z.object({
2160
+ platform: DeploymentStateStackStatePlatform$outboundSchema,
2161
+ resourcePrefix: z.string(),
2162
+ resources: z.record(z.string(), z.lazy(() => DeploymentStateStackStateResources$outboundSchema)),
2067
2163
  });
2068
- export function targetReleaseExtendConditionToJSON(targetReleaseExtendCondition) {
2069
- return JSON.stringify(TargetReleaseExtendCondition$outboundSchema.parse(targetReleaseExtendCondition));
2164
+ export function deploymentStateStackStateToJSON(deploymentStateStackState) {
2165
+ return JSON.stringify(DeploymentStateStackState$outboundSchema.parse(deploymentStateStackState));
2070
2166
  }
2071
- export function targetReleaseExtendConditionFromJSON(jsonString) {
2072
- return safeParse(jsonString, (x) => TargetReleaseExtendCondition$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseExtendCondition' from JSON`);
2167
+ export function deploymentStateStackStateFromJSON(jsonString) {
2168
+ return safeParse(jsonString, (x) => DeploymentStateStackState$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentStateStackState' from JSON`);
2073
2169
  }
2074
2170
  /** @internal */
2075
- export const TargetReleaseExtendConditionUnion$inboundSchema = z.union([
2076
- z.lazy(() => TargetReleaseExtendCondition$inboundSchema),
2077
- z.string(),
2078
- ]);
2171
+ export const StackState$inboundSchema = z.union([z.lazy(() => DeploymentStateStackState$inboundSchema), z.string()]);
2079
2172
  /** @internal */
2080
- export const TargetReleaseExtendConditionUnion$outboundSchema = z.union([
2081
- z.lazy(() => TargetReleaseExtendCondition$outboundSchema),
2173
+ export const StackState$outboundSchema = z.union([
2174
+ z.lazy(() => DeploymentStateStackState$outboundSchema),
2082
2175
  z.string(),
2083
2176
  ]);
2084
- export function targetReleaseExtendConditionUnionToJSON(targetReleaseExtendConditionUnion) {
2085
- return JSON.stringify(TargetReleaseExtendConditionUnion$outboundSchema.parse(targetReleaseExtendConditionUnion));
2177
+ export function stackStateToJSON(stackState) {
2178
+ return JSON.stringify(StackState$outboundSchema.parse(stackState));
2086
2179
  }
2087
- export function targetReleaseExtendConditionUnionFromJSON(jsonString) {
2088
- return safeParse(jsonString, (x) => TargetReleaseExtendConditionUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseExtendConditionUnion' from JSON`);
2180
+ export function stackStateFromJSON(jsonString) {
2181
+ return safeParse(jsonString, (x) => StackState$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'StackState' from JSON`);
2089
2182
  }
2090
2183
  /** @internal */
2091
- export const TargetReleaseExtendGcpStack$inboundSchema = z.object({
2092
- condition: z.nullable(z.union([
2093
- z.lazy(() => TargetReleaseExtendCondition$inboundSchema),
2094
- z.string(),
2095
- ])).optional(),
2096
- scope: z.string(),
2097
- });
2184
+ export const DeploymentStateStatus$inboundSchema = z.enum(DeploymentStateStatus);
2098
2185
  /** @internal */
2099
- export const TargetReleaseExtendGcpStack$outboundSchema = z.object({
2100
- condition: z.nullable(z.union([
2101
- z.lazy(() => TargetReleaseExtendCondition$outboundSchema),
2102
- z.string(),
2103
- ])).optional(),
2104
- scope: z.string(),
2105
- });
2106
- export function targetReleaseExtendGcpStackToJSON(targetReleaseExtendGcpStack) {
2107
- return JSON.stringify(TargetReleaseExtendGcpStack$outboundSchema.parse(targetReleaseExtendGcpStack));
2108
- }
2109
- export function targetReleaseExtendGcpStackFromJSON(jsonString) {
2110
- return safeParse(jsonString, (x) => TargetReleaseExtendGcpStack$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseExtendGcpStack' from JSON`);
2111
- }
2186
+ export const DeploymentStateStatus$outboundSchema = DeploymentStateStatus$inboundSchema;
2112
2187
  /** @internal */
2113
- export const TargetReleaseExtendGcpBinding$inboundSchema = z.object({
2114
- resource: z.lazy(() => TargetReleaseExtendGcpResource$inboundSchema)
2115
- .optional(),
2116
- stack: z.lazy(() => TargetReleaseExtendGcpStack$inboundSchema).optional(),
2117
- });
2188
+ export const TargetReleaseTypeStringList$inboundSchema = z.enum(TargetReleaseTypeStringList);
2118
2189
  /** @internal */
2119
- export const TargetReleaseExtendGcpBinding$outboundSchema = z.object({
2120
- resource: z.lazy(() => TargetReleaseExtendGcpResource$outboundSchema)
2121
- .optional(),
2122
- stack: z.lazy(() => TargetReleaseExtendGcpStack$outboundSchema).optional(),
2123
- });
2124
- export function targetReleaseExtendGcpBindingToJSON(targetReleaseExtendGcpBinding) {
2125
- return JSON.stringify(TargetReleaseExtendGcpBinding$outboundSchema.parse(targetReleaseExtendGcpBinding));
2126
- }
2127
- export function targetReleaseExtendGcpBindingFromJSON(jsonString) {
2128
- return safeParse(jsonString, (x) => TargetReleaseExtendGcpBinding$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseExtendGcpBinding' from JSON`);
2129
- }
2190
+ export const TargetReleaseTypeStringList$outboundSchema = TargetReleaseTypeStringList$inboundSchema;
2130
2191
  /** @internal */
2131
- export const TargetReleaseExtendGcpGrant$inboundSchema = z.object({
2132
- actions: z.nullable(z.array(z.string())).optional(),
2133
- dataActions: z.nullable(z.array(z.string())).optional(),
2134
- permissions: z.nullable(z.array(z.string())).optional(),
2135
- predefinedRoles: z.nullable(z.array(z.string())).optional(),
2136
- residualPermissions: z.nullable(z.array(z.string())).optional(),
2192
+ export const TargetReleaseDefaultStringList$inboundSchema = z.object({
2193
+ type: TargetReleaseTypeStringList$inboundSchema,
2194
+ value: z.array(z.string()),
2137
2195
  });
2138
2196
  /** @internal */
2139
- export const TargetReleaseExtendGcpGrant$outboundSchema = z.object({
2140
- actions: z.nullable(z.array(z.string())).optional(),
2141
- dataActions: z.nullable(z.array(z.string())).optional(),
2142
- permissions: z.nullable(z.array(z.string())).optional(),
2143
- predefinedRoles: z.nullable(z.array(z.string())).optional(),
2144
- residualPermissions: z.nullable(z.array(z.string())).optional(),
2197
+ export const TargetReleaseDefaultStringList$outboundSchema = z.object({
2198
+ type: TargetReleaseTypeStringList$outboundSchema,
2199
+ value: z.array(z.string()),
2145
2200
  });
2146
- export function targetReleaseExtendGcpGrantToJSON(targetReleaseExtendGcpGrant) {
2147
- return JSON.stringify(TargetReleaseExtendGcpGrant$outboundSchema.parse(targetReleaseExtendGcpGrant));
2201
+ export function targetReleaseDefaultStringListToJSON(targetReleaseDefaultStringList) {
2202
+ return JSON.stringify(TargetReleaseDefaultStringList$outboundSchema.parse(targetReleaseDefaultStringList));
2148
2203
  }
2149
- export function targetReleaseExtendGcpGrantFromJSON(jsonString) {
2150
- return safeParse(jsonString, (x) => TargetReleaseExtendGcpGrant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseExtendGcpGrant' from JSON`);
2204
+ export function targetReleaseDefaultStringListFromJSON(jsonString) {
2205
+ return safeParse(jsonString, (x) => TargetReleaseDefaultStringList$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseDefaultStringList' from JSON`);
2151
2206
  }
2152
2207
  /** @internal */
2153
- export const TargetReleaseExtendGcp$inboundSchema = z.object({
2154
- binding: z.lazy(() => TargetReleaseExtendGcpBinding$inboundSchema),
2155
- description: z.nullable(z.string()).optional(),
2156
- grant: z.lazy(() => TargetReleaseExtendGcpGrant$inboundSchema),
2157
- label: z.nullable(z.string()).optional(),
2158
- });
2208
+ export const TargetReleaseTypeBoolean$inboundSchema = z.enum(TargetReleaseTypeBoolean);
2159
2209
  /** @internal */
2160
- export const TargetReleaseExtendGcp$outboundSchema = z.object({
2161
- binding: z.lazy(() => TargetReleaseExtendGcpBinding$outboundSchema),
2162
- description: z.nullable(z.string()).optional(),
2163
- grant: z.lazy(() => TargetReleaseExtendGcpGrant$outboundSchema),
2164
- label: z.nullable(z.string()).optional(),
2165
- });
2166
- export function targetReleaseExtendGcpToJSON(targetReleaseExtendGcp) {
2167
- return JSON.stringify(TargetReleaseExtendGcp$outboundSchema.parse(targetReleaseExtendGcp));
2168
- }
2169
- export function targetReleaseExtendGcpFromJSON(jsonString) {
2170
- return safeParse(jsonString, (x) => TargetReleaseExtendGcp$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseExtendGcp' from JSON`);
2171
- }
2210
+ export const TargetReleaseTypeBoolean$outboundSchema = TargetReleaseTypeBoolean$inboundSchema;
2172
2211
  /** @internal */
2173
- export const TargetReleaseExtendPlatforms$inboundSchema = z.object({
2174
- aws: z.nullable(z.array(z.lazy(() => TargetReleaseExtendAw$inboundSchema)))
2175
- .optional(),
2176
- azure: z.nullable(z.array(z.lazy(() => TargetReleaseExtendAzure$inboundSchema))).optional(),
2177
- gcp: z.nullable(z.array(z.lazy(() => TargetReleaseExtendGcp$inboundSchema)))
2178
- .optional(),
2212
+ export const TargetReleaseDefaultBoolean$inboundSchema = z.object({
2213
+ type: TargetReleaseTypeBoolean$inboundSchema,
2214
+ value: z.boolean(),
2179
2215
  });
2180
2216
  /** @internal */
2181
- export const TargetReleaseExtendPlatforms$outboundSchema = z.object({
2182
- aws: z.nullable(z.array(z.lazy(() => TargetReleaseExtendAw$outboundSchema)))
2183
- .optional(),
2184
- azure: z.nullable(z.array(z.lazy(() => TargetReleaseExtendAzure$outboundSchema))).optional(),
2185
- gcp: z.nullable(z.array(z.lazy(() => TargetReleaseExtendGcp$outboundSchema)))
2186
- .optional(),
2217
+ export const TargetReleaseDefaultBoolean$outboundSchema = z.object({
2218
+ type: TargetReleaseTypeBoolean$outboundSchema,
2219
+ value: z.boolean(),
2187
2220
  });
2188
- export function targetReleaseExtendPlatformsToJSON(targetReleaseExtendPlatforms) {
2189
- return JSON.stringify(TargetReleaseExtendPlatforms$outboundSchema.parse(targetReleaseExtendPlatforms));
2221
+ export function targetReleaseDefaultBooleanToJSON(targetReleaseDefaultBoolean) {
2222
+ return JSON.stringify(TargetReleaseDefaultBoolean$outboundSchema.parse(targetReleaseDefaultBoolean));
2190
2223
  }
2191
- export function targetReleaseExtendPlatformsFromJSON(jsonString) {
2192
- return safeParse(jsonString, (x) => TargetReleaseExtendPlatforms$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseExtendPlatforms' from JSON`);
2224
+ export function targetReleaseDefaultBooleanFromJSON(jsonString) {
2225
+ return safeParse(jsonString, (x) => TargetReleaseDefaultBoolean$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseDefaultBoolean' from JSON`);
2193
2226
  }
2194
2227
  /** @internal */
2195
- export const TargetReleaseExtend$inboundSchema = z.object({
2196
- description: z.string(),
2197
- id: z.string(),
2198
- platforms: z.lazy(() => TargetReleaseExtendPlatforms$inboundSchema),
2228
+ export const TargetReleaseTypeNumber$inboundSchema = z.enum(TargetReleaseTypeNumber);
2229
+ /** @internal */
2230
+ export const TargetReleaseTypeNumber$outboundSchema = TargetReleaseTypeNumber$inboundSchema;
2231
+ /** @internal */
2232
+ export const TargetReleaseDefaultNumber$inboundSchema = z.object({
2233
+ type: TargetReleaseTypeNumber$inboundSchema,
2234
+ value: z.string(),
2199
2235
  });
2200
2236
  /** @internal */
2201
- export const TargetReleaseExtend$outboundSchema = z.object({
2202
- description: z.string(),
2203
- id: z.string(),
2204
- platforms: z.lazy(() => TargetReleaseExtendPlatforms$outboundSchema),
2237
+ export const TargetReleaseDefaultNumber$outboundSchema = z.object({
2238
+ type: TargetReleaseTypeNumber$outboundSchema,
2239
+ value: z.string(),
2205
2240
  });
2206
- export function targetReleaseExtendToJSON(targetReleaseExtend) {
2207
- return JSON.stringify(TargetReleaseExtend$outboundSchema.parse(targetReleaseExtend));
2241
+ export function targetReleaseDefaultNumberToJSON(targetReleaseDefaultNumber) {
2242
+ return JSON.stringify(TargetReleaseDefaultNumber$outboundSchema.parse(targetReleaseDefaultNumber));
2208
2243
  }
2209
- export function targetReleaseExtendFromJSON(jsonString) {
2210
- return safeParse(jsonString, (x) => TargetReleaseExtend$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseExtend' from JSON`);
2244
+ export function targetReleaseDefaultNumberFromJSON(jsonString) {
2245
+ return safeParse(jsonString, (x) => TargetReleaseDefaultNumber$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseDefaultNumber' from JSON`);
2211
2246
  }
2212
2247
  /** @internal */
2213
- export const TargetReleaseExtendUnion$inboundSchema = z.union([z.lazy(() => TargetReleaseExtend$inboundSchema), z.string()]);
2248
+ export const TargetReleaseTypeString$inboundSchema = z.enum(TargetReleaseTypeString);
2214
2249
  /** @internal */
2215
- export const TargetReleaseExtendUnion$outboundSchema = z.union([z.lazy(() => TargetReleaseExtend$outboundSchema), z.string()]);
2216
- export function targetReleaseExtendUnionToJSON(targetReleaseExtendUnion) {
2217
- return JSON.stringify(TargetReleaseExtendUnion$outboundSchema.parse(targetReleaseExtendUnion));
2218
- }
2219
- export function targetReleaseExtendUnionFromJSON(jsonString) {
2220
- return safeParse(jsonString, (x) => TargetReleaseExtendUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseExtendUnion' from JSON`);
2221
- }
2250
+ export const TargetReleaseTypeString$outboundSchema = TargetReleaseTypeString$inboundSchema;
2222
2251
  /** @internal */
2223
- export const TargetReleaseManagement1$inboundSchema = z.object({
2224
- extend: z.record(z.string(), z.array(z.union([z.lazy(() => TargetReleaseExtend$inboundSchema), z.string()]))),
2252
+ export const TargetReleaseDefaultString$inboundSchema = z.object({
2253
+ type: TargetReleaseTypeString$inboundSchema,
2254
+ value: z.string(),
2225
2255
  });
2226
2256
  /** @internal */
2227
- export const TargetReleaseManagement1$outboundSchema = z.object({
2228
- extend: z.record(z.string(), z.array(z.union([z.lazy(() => TargetReleaseExtend$outboundSchema), z.string()]))),
2257
+ export const TargetReleaseDefaultString$outboundSchema = z.object({
2258
+ type: TargetReleaseTypeString$outboundSchema,
2259
+ value: z.string(),
2229
2260
  });
2230
- export function targetReleaseManagement1ToJSON(targetReleaseManagement1) {
2231
- return JSON.stringify(TargetReleaseManagement1$outboundSchema.parse(targetReleaseManagement1));
2261
+ export function targetReleaseDefaultStringToJSON(targetReleaseDefaultString) {
2262
+ return JSON.stringify(TargetReleaseDefaultString$outboundSchema.parse(targetReleaseDefaultString));
2232
2263
  }
2233
- export function targetReleaseManagement1FromJSON(jsonString) {
2234
- return safeParse(jsonString, (x) => TargetReleaseManagement1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseManagement1' from JSON`);
2264
+ export function targetReleaseDefaultStringFromJSON(jsonString) {
2265
+ return safeParse(jsonString, (x) => TargetReleaseDefaultString$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseDefaultString' from JSON`);
2235
2266
  }
2236
2267
  /** @internal */
2237
- export const TargetReleaseManagementUnion$inboundSchema = z.union([
2238
- z.lazy(() => TargetReleaseManagement1$inboundSchema),
2239
- z.lazy(() => TargetReleaseManagement2$inboundSchema),
2240
- TargetReleaseManagementEnum$inboundSchema,
2268
+ export const TargetReleaseDefaultUnion$inboundSchema = z.union([
2269
+ z.lazy(() => TargetReleaseDefaultString$inboundSchema),
2270
+ z.lazy(() => TargetReleaseDefaultNumber$inboundSchema),
2271
+ z.lazy(() => TargetReleaseDefaultBoolean$inboundSchema),
2272
+ z.lazy(() => TargetReleaseDefaultStringList$inboundSchema),
2273
+ z.string(),
2241
2274
  ]);
2242
2275
  /** @internal */
2243
- export const TargetReleaseManagementUnion$outboundSchema = z.union([
2244
- z.lazy(() => TargetReleaseManagement1$outboundSchema),
2245
- z.lazy(() => TargetReleaseManagement2$outboundSchema),
2246
- TargetReleaseManagementEnum$outboundSchema,
2276
+ export const TargetReleaseDefaultUnion$outboundSchema = z.union([
2277
+ z.lazy(() => TargetReleaseDefaultString$outboundSchema),
2278
+ z.lazy(() => TargetReleaseDefaultNumber$outboundSchema),
2279
+ z.lazy(() => TargetReleaseDefaultBoolean$outboundSchema),
2280
+ z.lazy(() => TargetReleaseDefaultStringList$outboundSchema),
2281
+ z.string(),
2247
2282
  ]);
2248
- export function targetReleaseManagementUnionToJSON(targetReleaseManagementUnion) {
2249
- return JSON.stringify(TargetReleaseManagementUnion$outboundSchema.parse(targetReleaseManagementUnion));
2283
+ export function targetReleaseDefaultUnionToJSON(targetReleaseDefaultUnion) {
2284
+ return JSON.stringify(TargetReleaseDefaultUnion$outboundSchema.parse(targetReleaseDefaultUnion));
2250
2285
  }
2251
- export function targetReleaseManagementUnionFromJSON(jsonString) {
2252
- return safeParse(jsonString, (x) => TargetReleaseManagementUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseManagementUnion' from JSON`);
2286
+ export function targetReleaseDefaultUnionFromJSON(jsonString) {
2287
+ return safeParse(jsonString, (x) => TargetReleaseDefaultUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseDefaultUnion' from JSON`);
2253
2288
  }
2254
2289
  /** @internal */
2255
- export const TargetReleaseProfileAwResource$inboundSchema = z.object({
2256
- condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string())))
2257
- .optional(),
2258
- notResources: z.array(z.string()).optional(),
2259
- resources: z.array(z.string()),
2290
+ export const TargetReleaseTypeEnvEnum$inboundSchema = z.enum(TargetReleaseTypeEnvEnum);
2291
+ /** @internal */
2292
+ export const TargetReleaseTypeEnvEnum$outboundSchema = TargetReleaseTypeEnvEnum$inboundSchema;
2293
+ /** @internal */
2294
+ export const TargetReleaseTypeUnion$inboundSchema = z.union([TargetReleaseTypeEnvEnum$inboundSchema, z.string()]);
2295
+ /** @internal */
2296
+ export const TargetReleaseTypeUnion$outboundSchema = z.union([TargetReleaseTypeEnvEnum$outboundSchema, z.string()]);
2297
+ export function targetReleaseTypeUnionToJSON(targetReleaseTypeUnion) {
2298
+ return JSON.stringify(TargetReleaseTypeUnion$outboundSchema.parse(targetReleaseTypeUnion));
2299
+ }
2300
+ export function targetReleaseTypeUnionFromJSON(jsonString) {
2301
+ return safeParse(jsonString, (x) => TargetReleaseTypeUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseTypeUnion' from JSON`);
2302
+ }
2303
+ /** @internal */
2304
+ export const TargetReleaseEnv$inboundSchema = z.object({
2305
+ name: z.string(),
2306
+ targetResources: z.nullable(z.array(z.string())).optional(),
2307
+ type: z.nullable(z.union([TargetReleaseTypeEnvEnum$inboundSchema, z.string()])).optional(),
2260
2308
  });
2261
2309
  /** @internal */
2262
- export const TargetReleaseProfileAwResource$outboundSchema = z.object({
2263
- condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string())))
2264
- .optional(),
2265
- notResources: z.array(z.string()).optional(),
2266
- resources: z.array(z.string()),
2310
+ export const TargetReleaseEnv$outboundSchema = z.object({
2311
+ name: z.string(),
2312
+ targetResources: z.nullable(z.array(z.string())).optional(),
2313
+ type: z.nullable(z.union([TargetReleaseTypeEnvEnum$outboundSchema, z.string()])).optional(),
2267
2314
  });
2268
- export function targetReleaseProfileAwResourceToJSON(targetReleaseProfileAwResource) {
2269
- return JSON.stringify(TargetReleaseProfileAwResource$outboundSchema.parse(targetReleaseProfileAwResource));
2315
+ export function targetReleaseEnvToJSON(targetReleaseEnv) {
2316
+ return JSON.stringify(TargetReleaseEnv$outboundSchema.parse(targetReleaseEnv));
2270
2317
  }
2271
- export function targetReleaseProfileAwResourceFromJSON(jsonString) {
2272
- return safeParse(jsonString, (x) => TargetReleaseProfileAwResource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseProfileAwResource' from JSON`);
2318
+ export function targetReleaseEnvFromJSON(jsonString) {
2319
+ return safeParse(jsonString, (x) => TargetReleaseEnv$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseEnv' from JSON`);
2273
2320
  }
2274
2321
  /** @internal */
2275
- export const TargetReleaseProfileAwStack$inboundSchema = z.object({
2276
- condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string())))
2277
- .optional(),
2278
- notResources: z.array(z.string()).optional(),
2279
- resources: z.array(z.string()),
2322
+ export const TargetReleaseGenerate$inboundSchema = z.object({
2323
+ length: z.int(),
2280
2324
  });
2281
2325
  /** @internal */
2282
- export const TargetReleaseProfileAwStack$outboundSchema = z.object({
2283
- condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string())))
2284
- .optional(),
2285
- notResources: z.array(z.string()).optional(),
2286
- resources: z.array(z.string()),
2326
+ export const TargetReleaseGenerate$outboundSchema = z.object({
2327
+ length: z.int(),
2287
2328
  });
2288
- export function targetReleaseProfileAwStackToJSON(targetReleaseProfileAwStack) {
2289
- return JSON.stringify(TargetReleaseProfileAwStack$outboundSchema.parse(targetReleaseProfileAwStack));
2329
+ export function targetReleaseGenerateToJSON(targetReleaseGenerate) {
2330
+ return JSON.stringify(TargetReleaseGenerate$outboundSchema.parse(targetReleaseGenerate));
2290
2331
  }
2291
- export function targetReleaseProfileAwStackFromJSON(jsonString) {
2292
- return safeParse(jsonString, (x) => TargetReleaseProfileAwStack$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseProfileAwStack' from JSON`);
2332
+ export function targetReleaseGenerateFromJSON(jsonString) {
2333
+ return safeParse(jsonString, (x) => TargetReleaseGenerate$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseGenerate' from JSON`);
2293
2334
  }
2294
2335
  /** @internal */
2295
- export const TargetReleaseProfileAwBinding$inboundSchema = z.object({
2296
- resource: z.lazy(() => TargetReleaseProfileAwResource$inboundSchema)
2297
- .optional(),
2298
- stack: z.lazy(() => TargetReleaseProfileAwStack$inboundSchema).optional(),
2299
- });
2336
+ export const TargetReleaseGenerateUnion$inboundSchema = z.union([z.lazy(() => TargetReleaseGenerate$inboundSchema), z.string()]);
2300
2337
  /** @internal */
2301
- export const TargetReleaseProfileAwBinding$outboundSchema = z.object({
2302
- resource: z.lazy(() => TargetReleaseProfileAwResource$outboundSchema)
2303
- .optional(),
2304
- stack: z.lazy(() => TargetReleaseProfileAwStack$outboundSchema).optional(),
2305
- });
2306
- export function targetReleaseProfileAwBindingToJSON(targetReleaseProfileAwBinding) {
2307
- return JSON.stringify(TargetReleaseProfileAwBinding$outboundSchema.parse(targetReleaseProfileAwBinding));
2338
+ export const TargetReleaseGenerateUnion$outboundSchema = z.union([z.lazy(() => TargetReleaseGenerate$outboundSchema), z.string()]);
2339
+ export function targetReleaseGenerateUnionToJSON(targetReleaseGenerateUnion) {
2340
+ return JSON.stringify(TargetReleaseGenerateUnion$outboundSchema.parse(targetReleaseGenerateUnion));
2308
2341
  }
2309
- export function targetReleaseProfileAwBindingFromJSON(jsonString) {
2310
- return safeParse(jsonString, (x) => TargetReleaseProfileAwBinding$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseProfileAwBinding' from JSON`);
2342
+ export function targetReleaseGenerateUnionFromJSON(jsonString) {
2343
+ return safeParse(jsonString, (x) => TargetReleaseGenerateUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseGenerateUnion' from JSON`);
2311
2344
  }
2312
2345
  /** @internal */
2313
- export const TargetReleaseProfileEffect$inboundSchema = z.enum(TargetReleaseProfileEffect);
2346
+ export const TargetReleaseKind$inboundSchema = z.enum(TargetReleaseKind);
2314
2347
  /** @internal */
2315
- export const TargetReleaseProfileEffect$outboundSchema = TargetReleaseProfileEffect$inboundSchema;
2348
+ export const TargetReleaseKind$outboundSchema = TargetReleaseKind$inboundSchema;
2316
2349
  /** @internal */
2317
- export const TargetReleaseProfileAwGrant$inboundSchema = z.object({
2318
- actions: z.nullable(z.array(z.string())).optional(),
2319
- dataActions: z.nullable(z.array(z.string())).optional(),
2320
- permissions: z.nullable(z.array(z.string())).optional(),
2321
- predefinedRoles: z.nullable(z.array(z.string())).optional(),
2322
- residualPermissions: z.nullable(z.array(z.string())).optional(),
2323
- });
2350
+ export const TargetReleasePlatform$inboundSchema = z.enum(TargetReleasePlatform);
2324
2351
  /** @internal */
2325
- export const TargetReleaseProfileAwGrant$outboundSchema = z.object({
2326
- actions: z.nullable(z.array(z.string())).optional(),
2327
- dataActions: z.nullable(z.array(z.string())).optional(),
2328
- permissions: z.nullable(z.array(z.string())).optional(),
2329
- predefinedRoles: z.nullable(z.array(z.string())).optional(),
2330
- residualPermissions: z.nullable(z.array(z.string())).optional(),
2331
- });
2332
- export function targetReleaseProfileAwGrantToJSON(targetReleaseProfileAwGrant) {
2333
- return JSON.stringify(TargetReleaseProfileAwGrant$outboundSchema.parse(targetReleaseProfileAwGrant));
2334
- }
2335
- export function targetReleaseProfileAwGrantFromJSON(jsonString) {
2336
- return safeParse(jsonString, (x) => TargetReleaseProfileAwGrant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseProfileAwGrant' from JSON`);
2337
- }
2352
+ export const TargetReleasePlatform$outboundSchema = TargetReleasePlatform$inboundSchema;
2338
2353
  /** @internal */
2339
- export const TargetReleaseProfileAw$inboundSchema = z.object({
2340
- binding: z.lazy(() => TargetReleaseProfileAwBinding$inboundSchema),
2341
- description: z.nullable(z.string()).optional(),
2342
- effect: TargetReleaseProfileEffect$inboundSchema.optional(),
2343
- grant: z.lazy(() => TargetReleaseProfileAwGrant$inboundSchema),
2344
- label: z.nullable(z.string()).optional(),
2345
- });
2354
+ export const TargetReleaseProvidedBy$inboundSchema = z.enum(TargetReleaseProvidedBy);
2346
2355
  /** @internal */
2347
- export const TargetReleaseProfileAw$outboundSchema = z.object({
2348
- binding: z.lazy(() => TargetReleaseProfileAwBinding$outboundSchema),
2349
- description: z.nullable(z.string()).optional(),
2350
- effect: TargetReleaseProfileEffect$outboundSchema.optional(),
2351
- grant: z.lazy(() => TargetReleaseProfileAwGrant$outboundSchema),
2352
- label: z.nullable(z.string()).optional(),
2353
- });
2354
- export function targetReleaseProfileAwToJSON(targetReleaseProfileAw) {
2355
- return JSON.stringify(TargetReleaseProfileAw$outboundSchema.parse(targetReleaseProfileAw));
2356
- }
2357
- export function targetReleaseProfileAwFromJSON(jsonString) {
2358
- return safeParse(jsonString, (x) => TargetReleaseProfileAw$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseProfileAw' from JSON`);
2359
- }
2356
+ export const TargetReleaseProvidedBy$outboundSchema = TargetReleaseProvidedBy$inboundSchema;
2360
2357
  /** @internal */
2361
- export const TargetReleaseProfileAzureResource$inboundSchema = z.object({
2362
- scope: z.string(),
2358
+ export const TargetReleaseValidation$inboundSchema = z.object({
2359
+ format: z.nullable(z.string()).optional(),
2360
+ max: z.nullable(z.string()).optional(),
2361
+ maxItems: z.nullable(z.int()).optional(),
2362
+ maxLength: z.nullable(z.int()).optional(),
2363
+ min: z.nullable(z.string()).optional(),
2364
+ minItems: z.nullable(z.int()).optional(),
2365
+ minLength: z.nullable(z.int()).optional(),
2366
+ pattern: z.nullable(z.string()).optional(),
2367
+ values: z.nullable(z.array(z.string())).optional(),
2363
2368
  });
2364
2369
  /** @internal */
2365
- export const TargetReleaseProfileAzureResource$outboundSchema = z.object({
2366
- scope: z.string(),
2370
+ export const TargetReleaseValidation$outboundSchema = z.object({
2371
+ format: z.nullable(z.string()).optional(),
2372
+ max: z.nullable(z.string()).optional(),
2373
+ maxItems: z.nullable(z.int()).optional(),
2374
+ maxLength: z.nullable(z.int()).optional(),
2375
+ min: z.nullable(z.string()).optional(),
2376
+ minItems: z.nullable(z.int()).optional(),
2377
+ minLength: z.nullable(z.int()).optional(),
2378
+ pattern: z.nullable(z.string()).optional(),
2379
+ values: z.nullable(z.array(z.string())).optional(),
2367
2380
  });
2368
- export function targetReleaseProfileAzureResourceToJSON(targetReleaseProfileAzureResource) {
2369
- return JSON.stringify(TargetReleaseProfileAzureResource$outboundSchema.parse(targetReleaseProfileAzureResource));
2381
+ export function targetReleaseValidationToJSON(targetReleaseValidation) {
2382
+ return JSON.stringify(TargetReleaseValidation$outboundSchema.parse(targetReleaseValidation));
2370
2383
  }
2371
- export function targetReleaseProfileAzureResourceFromJSON(jsonString) {
2372
- return safeParse(jsonString, (x) => TargetReleaseProfileAzureResource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseProfileAzureResource' from JSON`);
2384
+ export function targetReleaseValidationFromJSON(jsonString) {
2385
+ return safeParse(jsonString, (x) => TargetReleaseValidation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseValidation' from JSON`);
2373
2386
  }
2374
2387
  /** @internal */
2375
- export const TargetReleaseProfileAzureStack$inboundSchema = z.object({
2376
- scope: z.string(),
2377
- });
2388
+ export const TargetReleaseValidationUnion$inboundSchema = z.union([z.lazy(() => TargetReleaseValidation$inboundSchema), z.string()]);
2378
2389
  /** @internal */
2379
- export const TargetReleaseProfileAzureStack$outboundSchema = z.object({
2380
- scope: z.string(),
2381
- });
2382
- export function targetReleaseProfileAzureStackToJSON(targetReleaseProfileAzureStack) {
2383
- return JSON.stringify(TargetReleaseProfileAzureStack$outboundSchema.parse(targetReleaseProfileAzureStack));
2390
+ export const TargetReleaseValidationUnion$outboundSchema = z.union([z.lazy(() => TargetReleaseValidation$outboundSchema), z.string()]);
2391
+ export function targetReleaseValidationUnionToJSON(targetReleaseValidationUnion) {
2392
+ return JSON.stringify(TargetReleaseValidationUnion$outboundSchema.parse(targetReleaseValidationUnion));
2384
2393
  }
2385
- export function targetReleaseProfileAzureStackFromJSON(jsonString) {
2386
- return safeParse(jsonString, (x) => TargetReleaseProfileAzureStack$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseProfileAzureStack' from JSON`);
2394
+ export function targetReleaseValidationUnionFromJSON(jsonString) {
2395
+ return safeParse(jsonString, (x) => TargetReleaseValidationUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseValidationUnion' from JSON`);
2387
2396
  }
2388
2397
  /** @internal */
2389
- export const TargetReleaseProfileAzureBinding$inboundSchema = z.object({
2390
- resource: z.lazy(() => TargetReleaseProfileAzureResource$inboundSchema)
2398
+ export const TargetReleaseInput$inboundSchema = z.object({
2399
+ default: z.nullable(z.union([
2400
+ z.lazy(() => TargetReleaseDefaultString$inboundSchema),
2401
+ z.lazy(() => TargetReleaseDefaultNumber$inboundSchema),
2402
+ z.lazy(() => TargetReleaseDefaultBoolean$inboundSchema),
2403
+ z.lazy(() => TargetReleaseDefaultStringList$inboundSchema),
2404
+ z.string(),
2405
+ ])).optional(),
2406
+ description: z.string(),
2407
+ env: z.array(z.lazy(() => TargetReleaseEnv$inboundSchema)).optional(),
2408
+ generate: z.nullable(z.union([z.lazy(() => TargetReleaseGenerate$inboundSchema), z.string()])).optional(),
2409
+ id: z.string(),
2410
+ kind: TargetReleaseKind$inboundSchema,
2411
+ label: z.string(),
2412
+ placeholder: z.nullable(z.string()).optional(),
2413
+ platforms: z.nullable(z.array(TargetReleasePlatform$inboundSchema))
2391
2414
  .optional(),
2392
- stack: z.lazy(() => TargetReleaseProfileAzureStack$inboundSchema).optional(),
2415
+ providedBy: z.array(TargetReleaseProvidedBy$inboundSchema),
2416
+ required: z.boolean(),
2417
+ validation: z.nullable(z.union([z.lazy(() => TargetReleaseValidation$inboundSchema), z.string()])).optional(),
2393
2418
  });
2394
2419
  /** @internal */
2395
- export const TargetReleaseProfileAzureBinding$outboundSchema = z.object({
2396
- resource: z.lazy(() => TargetReleaseProfileAzureResource$outboundSchema)
2420
+ export const TargetReleaseInput$outboundSchema = z.object({
2421
+ default: z.nullable(z.union([
2422
+ z.lazy(() => TargetReleaseDefaultString$outboundSchema),
2423
+ z.lazy(() => TargetReleaseDefaultNumber$outboundSchema),
2424
+ z.lazy(() => TargetReleaseDefaultBoolean$outboundSchema),
2425
+ z.lazy(() => TargetReleaseDefaultStringList$outboundSchema),
2426
+ z.string(),
2427
+ ])).optional(),
2428
+ description: z.string(),
2429
+ env: z.array(z.lazy(() => TargetReleaseEnv$outboundSchema)).optional(),
2430
+ generate: z.nullable(z.union([z.lazy(() => TargetReleaseGenerate$outboundSchema), z.string()])).optional(),
2431
+ id: z.string(),
2432
+ kind: TargetReleaseKind$outboundSchema,
2433
+ label: z.string(),
2434
+ placeholder: z.nullable(z.string()).optional(),
2435
+ platforms: z.nullable(z.array(TargetReleasePlatform$outboundSchema))
2397
2436
  .optional(),
2398
- stack: z.lazy(() => TargetReleaseProfileAzureStack$outboundSchema).optional(),
2437
+ providedBy: z.array(TargetReleaseProvidedBy$outboundSchema),
2438
+ required: z.boolean(),
2439
+ validation: z.nullable(z.union([z.lazy(() => TargetReleaseValidation$outboundSchema), z.string()])).optional(),
2399
2440
  });
2400
- export function targetReleaseProfileAzureBindingToJSON(targetReleaseProfileAzureBinding) {
2401
- return JSON.stringify(TargetReleaseProfileAzureBinding$outboundSchema.parse(targetReleaseProfileAzureBinding));
2441
+ export function targetReleaseInputToJSON(targetReleaseInput) {
2442
+ return JSON.stringify(TargetReleaseInput$outboundSchema.parse(targetReleaseInput));
2402
2443
  }
2403
- export function targetReleaseProfileAzureBindingFromJSON(jsonString) {
2404
- return safeParse(jsonString, (x) => TargetReleaseProfileAzureBinding$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseProfileAzureBinding' from JSON`);
2444
+ export function targetReleaseInputFromJSON(jsonString) {
2445
+ return safeParse(jsonString, (x) => TargetReleaseInput$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseInput' from JSON`);
2405
2446
  }
2406
2447
  /** @internal */
2407
- export const TargetReleaseProfileAzureGrant$inboundSchema = z.object({
2408
- actions: z.nullable(z.array(z.string())).optional(),
2409
- dataActions: z.nullable(z.array(z.string())).optional(),
2410
- permissions: z.nullable(z.array(z.string())).optional(),
2411
- predefinedRoles: z.nullable(z.array(z.string())).optional(),
2412
- residualPermissions: z.nullable(z.array(z.string())).optional(),
2413
- });
2448
+ export const TargetReleaseCustomDecision$inboundSchema = z.enum(TargetReleaseCustomDecision);
2414
2449
  /** @internal */
2415
- export const TargetReleaseProfileAzureGrant$outboundSchema = z.object({
2416
- actions: z.nullable(z.array(z.string())).optional(),
2417
- dataActions: z.nullable(z.array(z.string())).optional(),
2418
- permissions: z.nullable(z.array(z.string())).optional(),
2419
- predefinedRoles: z.nullable(z.array(z.string())).optional(),
2420
- residualPermissions: z.nullable(z.array(z.string())).optional(),
2421
- });
2422
- export function targetReleaseProfileAzureGrantToJSON(targetReleaseProfileAzureGrant) {
2423
- return JSON.stringify(TargetReleaseProfileAzureGrant$outboundSchema.parse(targetReleaseProfileAzureGrant));
2424
- }
2425
- export function targetReleaseProfileAzureGrantFromJSON(jsonString) {
2426
- return safeParse(jsonString, (x) => TargetReleaseProfileAzureGrant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseProfileAzureGrant' from JSON`);
2427
- }
2450
+ export const TargetReleaseCustomDecision$outboundSchema = TargetReleaseCustomDecision$inboundSchema;
2428
2451
  /** @internal */
2429
- export const TargetReleaseProfileAzure$inboundSchema = z.object({
2430
- binding: z.lazy(() => TargetReleaseProfileAzureBinding$inboundSchema),
2431
- description: z.nullable(z.string()).optional(),
2432
- grant: z.lazy(() => TargetReleaseProfileAzureGrant$inboundSchema),
2433
- label: z.nullable(z.string()).optional(),
2452
+ export const TargetReleaseApprovalCustom$inboundSchema = z.object({
2453
+ decision: TargetReleaseCustomDecision$inboundSchema,
2454
+ maxRisk: z.nullable(z.string()).optional(),
2434
2455
  });
2435
2456
  /** @internal */
2436
- export const TargetReleaseProfileAzure$outboundSchema = z.object({
2437
- binding: z.lazy(() => TargetReleaseProfileAzureBinding$outboundSchema),
2438
- description: z.nullable(z.string()).optional(),
2439
- grant: z.lazy(() => TargetReleaseProfileAzureGrant$outboundSchema),
2440
- label: z.nullable(z.string()).optional(),
2457
+ export const TargetReleaseApprovalCustom$outboundSchema = z.object({
2458
+ decision: TargetReleaseCustomDecision$outboundSchema,
2459
+ maxRisk: z.nullable(z.string()).optional(),
2441
2460
  });
2442
- export function targetReleaseProfileAzureToJSON(targetReleaseProfileAzure) {
2443
- return JSON.stringify(TargetReleaseProfileAzure$outboundSchema.parse(targetReleaseProfileAzure));
2461
+ export function targetReleaseApprovalCustomToJSON(targetReleaseApprovalCustom) {
2462
+ return JSON.stringify(TargetReleaseApprovalCustom$outboundSchema.parse(targetReleaseApprovalCustom));
2444
2463
  }
2445
- export function targetReleaseProfileAzureFromJSON(jsonString) {
2446
- return safeParse(jsonString, (x) => TargetReleaseProfileAzure$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseProfileAzure' from JSON`);
2464
+ export function targetReleaseApprovalCustomFromJSON(jsonString) {
2465
+ return safeParse(jsonString, (x) => TargetReleaseApprovalCustom$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseApprovalCustom' from JSON`);
2447
2466
  }
2448
2467
  /** @internal */
2449
- export const TargetReleaseProfileConditionResource$inboundSchema = z.object({
2450
- expression: z.string(),
2451
- title: z.string(),
2452
- });
2468
+ export const TargetReleaseApprovalCustomEnum$inboundSchema = z.enum(TargetReleaseApprovalCustomEnum);
2453
2469
  /** @internal */
2454
- export const TargetReleaseProfileConditionResource$outboundSchema = z.object({
2455
- expression: z.string(),
2456
- title: z.string(),
2457
- });
2458
- export function targetReleaseProfileConditionResourceToJSON(targetReleaseProfileConditionResource) {
2459
- return JSON.stringify(TargetReleaseProfileConditionResource$outboundSchema.parse(targetReleaseProfileConditionResource));
2460
- }
2461
- export function targetReleaseProfileConditionResourceFromJSON(jsonString) {
2462
- return safeParse(jsonString, (x) => TargetReleaseProfileConditionResource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseProfileConditionResource' from JSON`);
2463
- }
2470
+ export const TargetReleaseApprovalCustomEnum$outboundSchema = TargetReleaseApprovalCustomEnum$inboundSchema;
2464
2471
  /** @internal */
2465
- export const TargetReleaseProfileResourceConditionUnion$inboundSchema = z.union([
2466
- z.lazy(() => TargetReleaseProfileConditionResource$inboundSchema),
2467
- z.string(),
2472
+ export const TargetReleaseCustomApprovalUnion$inboundSchema = z.union([
2473
+ z.lazy(() => TargetReleaseApprovalCustom$inboundSchema),
2474
+ TargetReleaseApprovalCustomEnum$inboundSchema,
2468
2475
  ]);
2469
2476
  /** @internal */
2470
- export const TargetReleaseProfileResourceConditionUnion$outboundSchema = z.union([
2471
- z.lazy(() => TargetReleaseProfileConditionResource$outboundSchema),
2472
- z.string(),
2477
+ export const TargetReleaseCustomApprovalUnion$outboundSchema = z.union([
2478
+ z.lazy(() => TargetReleaseApprovalCustom$outboundSchema),
2479
+ TargetReleaseApprovalCustomEnum$outboundSchema,
2473
2480
  ]);
2474
- export function targetReleaseProfileResourceConditionUnionToJSON(targetReleaseProfileResourceConditionUnion) {
2475
- return JSON.stringify(TargetReleaseProfileResourceConditionUnion$outboundSchema.parse(targetReleaseProfileResourceConditionUnion));
2481
+ export function targetReleaseCustomApprovalUnionToJSON(targetReleaseCustomApprovalUnion) {
2482
+ return JSON.stringify(TargetReleaseCustomApprovalUnion$outboundSchema.parse(targetReleaseCustomApprovalUnion));
2476
2483
  }
2477
- export function targetReleaseProfileResourceConditionUnionFromJSON(jsonString) {
2478
- return safeParse(jsonString, (x) => TargetReleaseProfileResourceConditionUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseProfileResourceConditionUnion' from JSON`);
2484
+ export function targetReleaseCustomApprovalUnionFromJSON(jsonString) {
2485
+ return safeParse(jsonString, (x) => TargetReleaseCustomApprovalUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseCustomApprovalUnion' from JSON`);
2479
2486
  }
2480
2487
  /** @internal */
2481
- export const TargetReleaseProfileGcpResource$inboundSchema = z.object({
2482
- condition: z.nullable(z.union([
2483
- z.lazy(() => TargetReleaseProfileConditionResource$inboundSchema),
2484
- z.string(),
2485
- ])).optional(),
2486
- scope: z.string(),
2488
+ export const TargetReleaseSettingsCustom3$inboundSchema = z.object({
2489
+ env: z.string(),
2487
2490
  });
2488
2491
  /** @internal */
2489
- export const TargetReleaseProfileGcpResource$outboundSchema = z.object({
2490
- condition: z.nullable(z.union([
2491
- z.lazy(() => TargetReleaseProfileConditionResource$outboundSchema),
2492
- z.string(),
2493
- ])).optional(),
2494
- scope: z.string(),
2492
+ export const TargetReleaseSettingsCustom3$outboundSchema = z.object({
2493
+ env: z.string(),
2495
2494
  });
2496
- export function targetReleaseProfileGcpResourceToJSON(targetReleaseProfileGcpResource) {
2497
- return JSON.stringify(TargetReleaseProfileGcpResource$outboundSchema.parse(targetReleaseProfileGcpResource));
2495
+ export function targetReleaseSettingsCustom3ToJSON(targetReleaseSettingsCustom3) {
2496
+ return JSON.stringify(TargetReleaseSettingsCustom3$outboundSchema.parse(targetReleaseSettingsCustom3));
2498
2497
  }
2499
- export function targetReleaseProfileGcpResourceFromJSON(jsonString) {
2500
- return safeParse(jsonString, (x) => TargetReleaseProfileGcpResource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseProfileGcpResource' from JSON`);
2498
+ export function targetReleaseSettingsCustom3FromJSON(jsonString) {
2499
+ return safeParse(jsonString, (x) => TargetReleaseSettingsCustom3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseSettingsCustom3' from JSON`);
2501
2500
  }
2502
2501
  /** @internal */
2503
- export const TargetReleaseProfileCondition$inboundSchema = z.object({
2504
- expression: z.string(),
2505
- title: z.string(),
2502
+ export const TargetReleaseSettingsCustom2$inboundSchema = z.object({
2503
+ resources: z.array(z.string()),
2506
2504
  });
2507
2505
  /** @internal */
2508
- export const TargetReleaseProfileCondition$outboundSchema = z.object({
2509
- expression: z.string(),
2510
- title: z.string(),
2506
+ export const TargetReleaseSettingsCustom2$outboundSchema = z.object({
2507
+ resources: z.array(z.string()),
2508
+ });
2509
+ export function targetReleaseSettingsCustom2ToJSON(targetReleaseSettingsCustom2) {
2510
+ return JSON.stringify(TargetReleaseSettingsCustom2$outboundSchema.parse(targetReleaseSettingsCustom2));
2511
+ }
2512
+ export function targetReleaseSettingsCustom2FromJSON(jsonString) {
2513
+ return safeParse(jsonString, (x) => TargetReleaseSettingsCustom2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseSettingsCustom2' from JSON`);
2514
+ }
2515
+ /** @internal */
2516
+ export const TargetReleaseSettingsCustom1$inboundSchema = z.object({
2517
+ input: z.string(),
2518
+ });
2519
+ /** @internal */
2520
+ export const TargetReleaseSettingsCustom1$outboundSchema = z.object({
2521
+ input: z.string(),
2511
2522
  });
2512
- export function targetReleaseProfileConditionToJSON(targetReleaseProfileCondition) {
2513
- return JSON.stringify(TargetReleaseProfileCondition$outboundSchema.parse(targetReleaseProfileCondition));
2523
+ export function targetReleaseSettingsCustom1ToJSON(targetReleaseSettingsCustom1) {
2524
+ return JSON.stringify(TargetReleaseSettingsCustom1$outboundSchema.parse(targetReleaseSettingsCustom1));
2514
2525
  }
2515
- export function targetReleaseProfileConditionFromJSON(jsonString) {
2516
- return safeParse(jsonString, (x) => TargetReleaseProfileCondition$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseProfileCondition' from JSON`);
2526
+ export function targetReleaseSettingsCustom1FromJSON(jsonString) {
2527
+ return safeParse(jsonString, (x) => TargetReleaseSettingsCustom1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseSettingsCustom1' from JSON`);
2517
2528
  }
2518
2529
  /** @internal */
2519
- export const TargetReleaseProfileConditionUnion$inboundSchema = z.union([
2520
- z.lazy(() => TargetReleaseProfileCondition$inboundSchema),
2530
+ export const TargetReleaseCustomSettingsUnion$inboundSchema = z.union([
2531
+ z.lazy(() => TargetReleaseSettingsCustom1$inboundSchema),
2532
+ z.lazy(() => TargetReleaseSettingsCustom2$inboundSchema),
2533
+ z.lazy(() => TargetReleaseSettingsCustom3$inboundSchema),
2521
2534
  z.string(),
2522
2535
  ]);
2523
2536
  /** @internal */
2524
- export const TargetReleaseProfileConditionUnion$outboundSchema = z.union([
2525
- z.lazy(() => TargetReleaseProfileCondition$outboundSchema),
2537
+ export const TargetReleaseCustomSettingsUnion$outboundSchema = z.union([
2538
+ z.lazy(() => TargetReleaseSettingsCustom1$outboundSchema),
2539
+ z.lazy(() => TargetReleaseSettingsCustom2$outboundSchema),
2540
+ z.lazy(() => TargetReleaseSettingsCustom3$outboundSchema),
2526
2541
  z.string(),
2527
2542
  ]);
2528
- export function targetReleaseProfileConditionUnionToJSON(targetReleaseProfileConditionUnion) {
2529
- return JSON.stringify(TargetReleaseProfileConditionUnion$outboundSchema.parse(targetReleaseProfileConditionUnion));
2543
+ export function targetReleaseCustomSettingsUnionToJSON(targetReleaseCustomSettingsUnion) {
2544
+ return JSON.stringify(TargetReleaseCustomSettingsUnion$outboundSchema.parse(targetReleaseCustomSettingsUnion));
2530
2545
  }
2531
- export function targetReleaseProfileConditionUnionFromJSON(jsonString) {
2532
- return safeParse(jsonString, (x) => TargetReleaseProfileConditionUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseProfileConditionUnion' from JSON`);
2546
+ export function targetReleaseCustomSettingsUnionFromJSON(jsonString) {
2547
+ return safeParse(jsonString, (x) => TargetReleaseCustomSettingsUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseCustomSettingsUnion' from JSON`);
2533
2548
  }
2534
2549
  /** @internal */
2535
- export const TargetReleaseProfileGcpStack$inboundSchema = z.object({
2536
- condition: z.nullable(z.union([
2537
- z.lazy(() => TargetReleaseProfileCondition$inboundSchema),
2550
+ export const TargetReleaseCustom$inboundSchema = z.object({
2551
+ approval: z.record(z.string(), z.union([
2552
+ z.lazy(() => TargetReleaseApprovalCustom$inboundSchema),
2553
+ TargetReleaseApprovalCustomEnum$inboundSchema,
2554
+ ])).optional(),
2555
+ settings: z.record(z.string(), z.union([
2556
+ z.lazy(() => TargetReleaseSettingsCustom1$inboundSchema),
2557
+ z.lazy(() => TargetReleaseSettingsCustom2$inboundSchema),
2558
+ z.lazy(() => TargetReleaseSettingsCustom3$inboundSchema),
2538
2559
  z.string(),
2539
2560
  ])).optional(),
2540
- scope: z.string(),
2561
+ name: z.string(),
2562
+ version: z.string(),
2541
2563
  });
2542
2564
  /** @internal */
2543
- export const TargetReleaseProfileGcpStack$outboundSchema = z.object({
2544
- condition: z.nullable(z.union([
2545
- z.lazy(() => TargetReleaseProfileCondition$outboundSchema),
2565
+ export const TargetReleaseCustom$outboundSchema = z.object({
2566
+ approval: z.record(z.string(), z.union([
2567
+ z.lazy(() => TargetReleaseApprovalCustom$outboundSchema),
2568
+ TargetReleaseApprovalCustomEnum$outboundSchema,
2569
+ ])).optional(),
2570
+ settings: z.record(z.string(), z.union([
2571
+ z.lazy(() => TargetReleaseSettingsCustom1$outboundSchema),
2572
+ z.lazy(() => TargetReleaseSettingsCustom2$outboundSchema),
2573
+ z.lazy(() => TargetReleaseSettingsCustom3$outboundSchema),
2546
2574
  z.string(),
2547
2575
  ])).optional(),
2548
- scope: z.string(),
2576
+ name: z.string(),
2577
+ version: z.string(),
2549
2578
  });
2550
- export function targetReleaseProfileGcpStackToJSON(targetReleaseProfileGcpStack) {
2551
- return JSON.stringify(TargetReleaseProfileGcpStack$outboundSchema.parse(targetReleaseProfileGcpStack));
2579
+ export function targetReleaseCustomToJSON(targetReleaseCustom) {
2580
+ return JSON.stringify(TargetReleaseCustom$outboundSchema.parse(targetReleaseCustom));
2552
2581
  }
2553
- export function targetReleaseProfileGcpStackFromJSON(jsonString) {
2554
- return safeParse(jsonString, (x) => TargetReleaseProfileGcpStack$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseProfileGcpStack' from JSON`);
2582
+ export function targetReleaseCustomFromJSON(jsonString) {
2583
+ return safeParse(jsonString, (x) => TargetReleaseCustom$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseCustom' from JSON`);
2555
2584
  }
2556
2585
  /** @internal */
2557
- export const TargetReleaseProfileGcpBinding$inboundSchema = z.object({
2558
- resource: z.lazy(() => TargetReleaseProfileGcpResource$inboundSchema)
2559
- .optional(),
2560
- stack: z.lazy(() => TargetReleaseProfileGcpStack$inboundSchema).optional(),
2561
- });
2586
+ export const TargetReleasePluginsDecision$inboundSchema = z.enum(TargetReleasePluginsDecision);
2562
2587
  /** @internal */
2563
- export const TargetReleaseProfileGcpBinding$outboundSchema = z.object({
2564
- resource: z.lazy(() => TargetReleaseProfileGcpResource$outboundSchema)
2565
- .optional(),
2566
- stack: z.lazy(() => TargetReleaseProfileGcpStack$outboundSchema).optional(),
2567
- });
2568
- export function targetReleaseProfileGcpBindingToJSON(targetReleaseProfileGcpBinding) {
2569
- return JSON.stringify(TargetReleaseProfileGcpBinding$outboundSchema.parse(targetReleaseProfileGcpBinding));
2570
- }
2571
- export function targetReleaseProfileGcpBindingFromJSON(jsonString) {
2572
- return safeParse(jsonString, (x) => TargetReleaseProfileGcpBinding$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseProfileGcpBinding' from JSON`);
2573
- }
2588
+ export const TargetReleasePluginsDecision$outboundSchema = TargetReleasePluginsDecision$inboundSchema;
2574
2589
  /** @internal */
2575
- export const TargetReleaseProfileGcpGrant$inboundSchema = z.object({
2576
- actions: z.nullable(z.array(z.string())).optional(),
2577
- dataActions: z.nullable(z.array(z.string())).optional(),
2578
- permissions: z.nullable(z.array(z.string())).optional(),
2579
- predefinedRoles: z.nullable(z.array(z.string())).optional(),
2580
- residualPermissions: z.nullable(z.array(z.string())).optional(),
2590
+ export const TargetReleaseApprovalPlugins$inboundSchema = z.object({
2591
+ decision: TargetReleasePluginsDecision$inboundSchema,
2592
+ maxRisk: z.nullable(z.string()).optional(),
2581
2593
  });
2582
2594
  /** @internal */
2583
- export const TargetReleaseProfileGcpGrant$outboundSchema = z.object({
2584
- actions: z.nullable(z.array(z.string())).optional(),
2585
- dataActions: z.nullable(z.array(z.string())).optional(),
2586
- permissions: z.nullable(z.array(z.string())).optional(),
2587
- predefinedRoles: z.nullable(z.array(z.string())).optional(),
2588
- residualPermissions: z.nullable(z.array(z.string())).optional(),
2595
+ export const TargetReleaseApprovalPlugins$outboundSchema = z.object({
2596
+ decision: TargetReleasePluginsDecision$outboundSchema,
2597
+ maxRisk: z.nullable(z.string()).optional(),
2589
2598
  });
2590
- export function targetReleaseProfileGcpGrantToJSON(targetReleaseProfileGcpGrant) {
2591
- return JSON.stringify(TargetReleaseProfileGcpGrant$outboundSchema.parse(targetReleaseProfileGcpGrant));
2599
+ export function targetReleaseApprovalPluginsToJSON(targetReleaseApprovalPlugins) {
2600
+ return JSON.stringify(TargetReleaseApprovalPlugins$outboundSchema.parse(targetReleaseApprovalPlugins));
2592
2601
  }
2593
- export function targetReleaseProfileGcpGrantFromJSON(jsonString) {
2594
- return safeParse(jsonString, (x) => TargetReleaseProfileGcpGrant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseProfileGcpGrant' from JSON`);
2602
+ export function targetReleaseApprovalPluginsFromJSON(jsonString) {
2603
+ return safeParse(jsonString, (x) => TargetReleaseApprovalPlugins$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseApprovalPlugins' from JSON`);
2595
2604
  }
2596
2605
  /** @internal */
2597
- export const TargetReleaseProfileGcp$inboundSchema = z.object({
2598
- binding: z.lazy(() => TargetReleaseProfileGcpBinding$inboundSchema),
2599
- description: z.nullable(z.string()).optional(),
2600
- grant: z.lazy(() => TargetReleaseProfileGcpGrant$inboundSchema),
2601
- label: z.nullable(z.string()).optional(),
2602
- });
2606
+ export const TargetReleaseApprovalPluginsEnum$inboundSchema = z.enum(TargetReleaseApprovalPluginsEnum);
2603
2607
  /** @internal */
2604
- export const TargetReleaseProfileGcp$outboundSchema = z.object({
2605
- binding: z.lazy(() => TargetReleaseProfileGcpBinding$outboundSchema),
2606
- description: z.nullable(z.string()).optional(),
2607
- grant: z.lazy(() => TargetReleaseProfileGcpGrant$outboundSchema),
2608
- label: z.nullable(z.string()).optional(),
2609
- });
2610
- export function targetReleaseProfileGcpToJSON(targetReleaseProfileGcp) {
2611
- return JSON.stringify(TargetReleaseProfileGcp$outboundSchema.parse(targetReleaseProfileGcp));
2612
- }
2613
- export function targetReleaseProfileGcpFromJSON(jsonString) {
2614
- return safeParse(jsonString, (x) => TargetReleaseProfileGcp$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseProfileGcp' from JSON`);
2615
- }
2608
+ export const TargetReleaseApprovalPluginsEnum$outboundSchema = TargetReleaseApprovalPluginsEnum$inboundSchema;
2616
2609
  /** @internal */
2617
- export const TargetReleaseProfilePlatforms$inboundSchema = z.object({
2618
- aws: z.nullable(z.array(z.lazy(() => TargetReleaseProfileAw$inboundSchema)))
2619
- .optional(),
2620
- azure: z.nullable(z.array(z.lazy(() => TargetReleaseProfileAzure$inboundSchema))).optional(),
2621
- gcp: z.nullable(z.array(z.lazy(() => TargetReleaseProfileGcp$inboundSchema)))
2622
- .optional(),
2623
- });
2610
+ export const TargetReleasePluginsApprovalUnion$inboundSchema = z.union([
2611
+ z.lazy(() => TargetReleaseApprovalPlugins$inboundSchema),
2612
+ TargetReleaseApprovalPluginsEnum$inboundSchema,
2613
+ ]);
2624
2614
  /** @internal */
2625
- export const TargetReleaseProfilePlatforms$outboundSchema = z.object({
2626
- aws: z.nullable(z.array(z.lazy(() => TargetReleaseProfileAw$outboundSchema)))
2627
- .optional(),
2628
- azure: z.nullable(z.array(z.lazy(() => TargetReleaseProfileAzure$outboundSchema))).optional(),
2629
- gcp: z.nullable(z.array(z.lazy(() => TargetReleaseProfileGcp$outboundSchema)))
2630
- .optional(),
2631
- });
2632
- export function targetReleaseProfilePlatformsToJSON(targetReleaseProfilePlatforms) {
2633
- return JSON.stringify(TargetReleaseProfilePlatforms$outboundSchema.parse(targetReleaseProfilePlatforms));
2615
+ export const TargetReleasePluginsApprovalUnion$outboundSchema = z.union([
2616
+ z.lazy(() => TargetReleaseApprovalPlugins$outboundSchema),
2617
+ TargetReleaseApprovalPluginsEnum$outboundSchema,
2618
+ ]);
2619
+ export function targetReleasePluginsApprovalUnionToJSON(targetReleasePluginsApprovalUnion) {
2620
+ return JSON.stringify(TargetReleasePluginsApprovalUnion$outboundSchema.parse(targetReleasePluginsApprovalUnion));
2634
2621
  }
2635
- export function targetReleaseProfilePlatformsFromJSON(jsonString) {
2636
- return safeParse(jsonString, (x) => TargetReleaseProfilePlatforms$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseProfilePlatforms' from JSON`);
2622
+ export function targetReleasePluginsApprovalUnionFromJSON(jsonString) {
2623
+ return safeParse(jsonString, (x) => TargetReleasePluginsApprovalUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleasePluginsApprovalUnion' from JSON`);
2637
2624
  }
2638
2625
  /** @internal */
2639
- export const TargetReleaseProfile$inboundSchema = z.object({
2640
- description: z.string(),
2641
- id: z.string(),
2642
- platforms: z.lazy(() => TargetReleaseProfilePlatforms$inboundSchema),
2626
+ export const TargetReleaseSettingsPlugins3$inboundSchema = z.object({
2627
+ env: z.string(),
2643
2628
  });
2644
2629
  /** @internal */
2645
- export const TargetReleaseProfile$outboundSchema = z.object({
2646
- description: z.string(),
2647
- id: z.string(),
2648
- platforms: z.lazy(() => TargetReleaseProfilePlatforms$outboundSchema),
2630
+ export const TargetReleaseSettingsPlugins3$outboundSchema = z.object({
2631
+ env: z.string(),
2649
2632
  });
2650
- export function targetReleaseProfileToJSON(targetReleaseProfile) {
2651
- return JSON.stringify(TargetReleaseProfile$outboundSchema.parse(targetReleaseProfile));
2633
+ export function targetReleaseSettingsPlugins3ToJSON(targetReleaseSettingsPlugins3) {
2634
+ return JSON.stringify(TargetReleaseSettingsPlugins3$outboundSchema.parse(targetReleaseSettingsPlugins3));
2652
2635
  }
2653
- export function targetReleaseProfileFromJSON(jsonString) {
2654
- return safeParse(jsonString, (x) => TargetReleaseProfile$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseProfile' from JSON`);
2636
+ export function targetReleaseSettingsPlugins3FromJSON(jsonString) {
2637
+ return safeParse(jsonString, (x) => TargetReleaseSettingsPlugins3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseSettingsPlugins3' from JSON`);
2655
2638
  }
2656
2639
  /** @internal */
2657
- export const TargetReleaseProfileUnion$inboundSchema = z.union([z.lazy(() => TargetReleaseProfile$inboundSchema), z.string()]);
2640
+ export const TargetReleaseSettingsPlugins2$inboundSchema = z.object({
2641
+ resources: z.array(z.string()),
2642
+ });
2658
2643
  /** @internal */
2659
- export const TargetReleaseProfileUnion$outboundSchema = z.union([z.lazy(() => TargetReleaseProfile$outboundSchema), z.string()]);
2660
- export function targetReleaseProfileUnionToJSON(targetReleaseProfileUnion) {
2661
- return JSON.stringify(TargetReleaseProfileUnion$outboundSchema.parse(targetReleaseProfileUnion));
2644
+ export const TargetReleaseSettingsPlugins2$outboundSchema = z.object({
2645
+ resources: z.array(z.string()),
2646
+ });
2647
+ export function targetReleaseSettingsPlugins2ToJSON(targetReleaseSettingsPlugins2) {
2648
+ return JSON.stringify(TargetReleaseSettingsPlugins2$outboundSchema.parse(targetReleaseSettingsPlugins2));
2662
2649
  }
2663
- export function targetReleaseProfileUnionFromJSON(jsonString) {
2664
- return safeParse(jsonString, (x) => TargetReleaseProfileUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseProfileUnion' from JSON`);
2650
+ export function targetReleaseSettingsPlugins2FromJSON(jsonString) {
2651
+ return safeParse(jsonString, (x) => TargetReleaseSettingsPlugins2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseSettingsPlugins2' from JSON`);
2665
2652
  }
2666
2653
  /** @internal */
2667
- export const TargetReleasePermissions$inboundSchema = z.object({
2668
- management: z.union([
2669
- z.lazy(() => TargetReleaseManagement1$inboundSchema),
2670
- z.lazy(() => TargetReleaseManagement2$inboundSchema),
2671
- TargetReleaseManagementEnum$inboundSchema,
2672
- ]).optional(),
2673
- profiles: z.record(z.string(), z.record(z.string(), z.array(z.union([z.lazy(() => TargetReleaseProfile$inboundSchema), z.string()])))),
2654
+ export const TargetReleaseSettingsPlugins1$inboundSchema = z.object({
2655
+ input: z.string(),
2674
2656
  });
2675
2657
  /** @internal */
2676
- export const TargetReleasePermissions$outboundSchema = z.object({
2677
- management: z.union([
2678
- z.lazy(() => TargetReleaseManagement1$outboundSchema),
2679
- z.lazy(() => TargetReleaseManagement2$outboundSchema),
2680
- TargetReleaseManagementEnum$outboundSchema,
2681
- ]).optional(),
2682
- profiles: z.record(z.string(), z.record(z.string(), z.array(z.union([
2683
- z.lazy(() => TargetReleaseProfile$outboundSchema),
2684
- z.string(),
2685
- ])))),
2658
+ export const TargetReleaseSettingsPlugins1$outboundSchema = z.object({
2659
+ input: z.string(),
2686
2660
  });
2687
- export function targetReleasePermissionsToJSON(targetReleasePermissions) {
2688
- return JSON.stringify(TargetReleasePermissions$outboundSchema.parse(targetReleasePermissions));
2661
+ export function targetReleaseSettingsPlugins1ToJSON(targetReleaseSettingsPlugins1) {
2662
+ return JSON.stringify(TargetReleaseSettingsPlugins1$outboundSchema.parse(targetReleaseSettingsPlugins1));
2689
2663
  }
2690
- export function targetReleasePermissionsFromJSON(jsonString) {
2691
- return safeParse(jsonString, (x) => TargetReleasePermissions$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleasePermissions' from JSON`);
2664
+ export function targetReleaseSettingsPlugins1FromJSON(jsonString) {
2665
+ return safeParse(jsonString, (x) => TargetReleaseSettingsPlugins1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseSettingsPlugins1' from JSON`);
2692
2666
  }
2693
2667
  /** @internal */
2694
- export const TargetReleaseConfig$inboundSchema = collectExtraKeys$(z.object({
2695
- id: z.string(),
2696
- type: z.string(),
2697
- }).catchall(z.any()), "additionalProperties", true);
2668
+ export const TargetReleasePluginsSettingsUnion$inboundSchema = z.union([
2669
+ z.lazy(() => TargetReleaseSettingsPlugins1$inboundSchema),
2670
+ z.lazy(() => TargetReleaseSettingsPlugins2$inboundSchema),
2671
+ z.lazy(() => TargetReleaseSettingsPlugins3$inboundSchema),
2672
+ z.string(),
2673
+ ]);
2698
2674
  /** @internal */
2699
- export const TargetReleaseConfig$outboundSchema = z.object({
2700
- id: z.string(),
2701
- type: z.string(),
2702
- additionalProperties: z.record(z.string(), z.nullable(z.any())).optional(),
2703
- }).transform((v) => {
2704
- return {
2705
- ...v.additionalProperties,
2706
- ...remap$(v, {
2707
- additionalProperties: null,
2708
- }),
2709
- };
2710
- });
2711
- export function targetReleaseConfigToJSON(targetReleaseConfig) {
2712
- return JSON.stringify(TargetReleaseConfig$outboundSchema.parse(targetReleaseConfig));
2675
+ export const TargetReleasePluginsSettingsUnion$outboundSchema = z.union([
2676
+ z.lazy(() => TargetReleaseSettingsPlugins1$outboundSchema),
2677
+ z.lazy(() => TargetReleaseSettingsPlugins2$outboundSchema),
2678
+ z.lazy(() => TargetReleaseSettingsPlugins3$outboundSchema),
2679
+ z.string(),
2680
+ ]);
2681
+ export function targetReleasePluginsSettingsUnionToJSON(targetReleasePluginsSettingsUnion) {
2682
+ return JSON.stringify(TargetReleasePluginsSettingsUnion$outboundSchema.parse(targetReleasePluginsSettingsUnion));
2713
2683
  }
2714
- export function targetReleaseConfigFromJSON(jsonString) {
2715
- return safeParse(jsonString, (x) => TargetReleaseConfig$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseConfig' from JSON`);
2684
+ export function targetReleasePluginsSettingsUnionFromJSON(jsonString) {
2685
+ return safeParse(jsonString, (x) => TargetReleasePluginsSettingsUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleasePluginsSettingsUnion' from JSON`);
2716
2686
  }
2717
2687
  /** @internal */
2718
- export const TargetReleaseDependency$inboundSchema = z.object({
2719
- id: z.string(),
2720
- type: z.string(),
2688
+ export const TargetReleasePlugins$inboundSchema = z.object({
2689
+ approval: z.record(z.string(), z.union([
2690
+ z.lazy(() => TargetReleaseApprovalPlugins$inboundSchema),
2691
+ TargetReleaseApprovalPluginsEnum$inboundSchema,
2692
+ ])).optional(),
2693
+ settings: z.record(z.string(), z.union([
2694
+ z.lazy(() => TargetReleaseSettingsPlugins1$inboundSchema),
2695
+ z.lazy(() => TargetReleaseSettingsPlugins2$inboundSchema),
2696
+ z.lazy(() => TargetReleaseSettingsPlugins3$inboundSchema),
2697
+ z.string(),
2698
+ ])).optional(),
2721
2699
  });
2722
2700
  /** @internal */
2723
- export const TargetReleaseDependency$outboundSchema = z.object({
2724
- id: z.string(),
2725
- type: z.string(),
2701
+ export const TargetReleasePlugins$outboundSchema = z.object({
2702
+ approval: z.record(z.string(), z.union([
2703
+ z.lazy(() => TargetReleaseApprovalPlugins$outboundSchema),
2704
+ TargetReleaseApprovalPluginsEnum$outboundSchema,
2705
+ ])).optional(),
2706
+ settings: z.record(z.string(), z.union([
2707
+ z.lazy(() => TargetReleaseSettingsPlugins1$outboundSchema),
2708
+ z.lazy(() => TargetReleaseSettingsPlugins2$outboundSchema),
2709
+ z.lazy(() => TargetReleaseSettingsPlugins3$outboundSchema),
2710
+ z.string(),
2711
+ ])).optional(),
2726
2712
  });
2727
- export function targetReleaseDependencyToJSON(targetReleaseDependency) {
2728
- return JSON.stringify(TargetReleaseDependency$outboundSchema.parse(targetReleaseDependency));
2713
+ export function targetReleasePluginsToJSON(targetReleasePlugins) {
2714
+ return JSON.stringify(TargetReleasePlugins$outboundSchema.parse(targetReleasePlugins));
2729
2715
  }
2730
- export function targetReleaseDependencyFromJSON(jsonString) {
2731
- return safeParse(jsonString, (x) => TargetReleaseDependency$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseDependency' from JSON`);
2716
+ export function targetReleasePluginsFromJSON(jsonString) {
2717
+ return safeParse(jsonString, (x) => TargetReleasePlugins$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleasePlugins' from JSON`);
2732
2718
  }
2733
2719
  /** @internal */
2734
- export const TargetReleaseLifecycle$inboundSchema = z.enum(TargetReleaseLifecycle);
2735
- /** @internal */
2736
- export const TargetReleaseLifecycle$outboundSchema = TargetReleaseLifecycle$inboundSchema;
2737
- /** @internal */
2738
- export const TargetReleaseResources$inboundSchema = z.object({
2739
- config: z.lazy(() => TargetReleaseConfig$inboundSchema),
2740
- dependencies: z.array(z.lazy(() => TargetReleaseDependency$inboundSchema)),
2741
- enabledWhen: z.nullable(z.string()).optional(),
2742
- lifecycle: TargetReleaseLifecycle$inboundSchema,
2743
- remoteAccess: z.boolean().optional(),
2720
+ export const TargetReleaseOperations$inboundSchema = z.object({
2721
+ custom: z.array(z.lazy(() => TargetReleaseCustom$inboundSchema)).optional(),
2722
+ plugins: z.record(z.string(), z.lazy(() => TargetReleasePlugins$inboundSchema)).optional(),
2744
2723
  });
2745
2724
  /** @internal */
2746
- export const TargetReleaseResources$outboundSchema = z.object({
2747
- config: z.lazy(() => TargetReleaseConfig$outboundSchema),
2748
- dependencies: z.array(z.lazy(() => TargetReleaseDependency$outboundSchema)),
2749
- enabledWhen: z.nullable(z.string()).optional(),
2750
- lifecycle: TargetReleaseLifecycle$outboundSchema,
2751
- remoteAccess: z.boolean().optional(),
2725
+ export const TargetReleaseOperations$outboundSchema = z.object({
2726
+ custom: z.array(z.lazy(() => TargetReleaseCustom$outboundSchema)).optional(),
2727
+ plugins: z.record(z.string(), z.lazy(() => TargetReleasePlugins$outboundSchema)).optional(),
2752
2728
  });
2753
- export function targetReleaseResourcesToJSON(targetReleaseResources) {
2754
- return JSON.stringify(TargetReleaseResources$outboundSchema.parse(targetReleaseResources));
2729
+ export function targetReleaseOperationsToJSON(targetReleaseOperations) {
2730
+ return JSON.stringify(TargetReleaseOperations$outboundSchema.parse(targetReleaseOperations));
2755
2731
  }
2756
- export function targetReleaseResourcesFromJSON(jsonString) {
2757
- return safeParse(jsonString, (x) => TargetReleaseResources$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseResources' from JSON`);
2732
+ export function targetReleaseOperationsFromJSON(jsonString) {
2733
+ return safeParse(jsonString, (x) => TargetReleaseOperations$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TargetReleaseOperations' from JSON`);
2758
2734
  }
2759
- /** @internal */
2760
- export const TargetReleaseSupportedPlatform$inboundSchema = z.enum(TargetReleaseSupportedPlatform);
2761
- /** @internal */
2762
- export const TargetReleaseSupportedPlatform$outboundSchema = TargetReleaseSupportedPlatform$inboundSchema;
2763
- //# sourceMappingURL=targetreleasesupportedplatform.js.map
2735
+ //# sourceMappingURL=targetreleaseoperations.js.map