@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
@@ -3,7 +3,12 @@
3
3
  */
4
4
 
5
5
  import * as z from "zod/v4";
6
- import { safeParse } from "../lib/schemas.js";
6
+ import { remap as remap$ } from "../lib/primitives.js";
7
+ import {
8
+ collectExtraKeys as collectExtraKeys$,
9
+ safeParse,
10
+ } from "../lib/schemas.js";
11
+ import { ClosedEnum } from "../types/enums.js";
7
12
  import { Result as SafeParseResult } from "../types/fp.js";
8
13
  import {
9
14
  CurrentReleaseUnion,
@@ -21,7 +26,7 @@ import {
21
26
  DeploymentStatePlatform,
22
27
  DeploymentStatePlatform$inboundSchema,
23
28
  DeploymentStatePlatform$outboundSchema,
24
- } from "./deploymentstatependingpreparedstackoverrideazurestack.js";
29
+ } from "./deploymentstatependingpreparedstackdefaultunion.js";
25
30
  import { SDKValidationError } from "./errors/sdkvalidationerror.js";
26
31
  import {
27
32
  DeploymentStateStatus,
@@ -39,155 +44,4857 @@ import {
39
44
  TargetReleaseInput$inboundSchema,
40
45
  TargetReleaseInput$Outbound,
41
46
  TargetReleaseInput$outboundSchema,
42
- TargetReleasePermissions,
43
- TargetReleasePermissions$inboundSchema,
44
- TargetReleasePermissions$Outbound,
45
- TargetReleasePermissions$outboundSchema,
46
- TargetReleaseResources,
47
- TargetReleaseResources$inboundSchema,
48
- TargetReleaseResources$Outbound,
49
- TargetReleaseResources$outboundSchema,
50
- TargetReleaseSupportedPlatform,
51
- TargetReleaseSupportedPlatform$inboundSchema,
52
- TargetReleaseSupportedPlatform$outboundSchema,
53
- } from "./targetreleasesupportedplatform.js";
47
+ TargetReleaseOperations,
48
+ TargetReleaseOperations$inboundSchema,
49
+ TargetReleaseOperations$Outbound,
50
+ TargetReleaseOperations$outboundSchema,
51
+ } from "./targetreleaseoperations.js";
52
+
53
+ export type TargetReleaseOperationsUnion = TargetReleaseOperations | string;
54
+
55
+ export const TargetReleaseManagementEnum = {
56
+ Auto: "auto",
57
+ } as const;
58
+ export type TargetReleaseManagementEnum = ClosedEnum<
59
+ typeof TargetReleaseManagementEnum
60
+ >;
54
61
 
55
62
  /**
56
- * A bag of resources, unaware of any cloud.
63
+ * AWS-specific binding specification
57
64
  */
58
- export type TargetReleaseStack = {
65
+ export type TargetReleaseOverrideAwResource = {
59
66
  /**
60
- * Released Container resources whose image repositories are approved for
67
+ * Optional condition for additional filtering (rare)
68
+ */
69
+ condition?: { [k: string]: { [k: string]: string } } | null | undefined;
70
+ /**
71
+ * ARN patterns rendered as IAM `NotResource`, in place of `resources`. Its one use is a
61
72
  *
62
73
  * @remarks
63
- * containers created after installation.
74
+ * tag-on-create grant whose implied check AWS authorizes against no resource; the build
75
+ * refuses it anywhere else.
64
76
  */
65
- dynamicContainerImageResources?: Array<string> | undefined;
77
+ notResources?: Array<string> | undefined;
66
78
  /**
67
- * Exact image repositories approved for containers created after installation.
79
+ * Resource ARNs to bind to
80
+ */
81
+ resources: Array<string>;
82
+ };
83
+
84
+ /**
85
+ * AWS-specific binding specification
86
+ */
87
+ export type TargetReleaseOverrideAwStack = {
88
+ /**
89
+ * Optional condition for additional filtering (rare)
90
+ */
91
+ condition?: { [k: string]: { [k: string]: string } } | null | undefined;
92
+ /**
93
+ * ARN patterns rendered as IAM `NotResource`, in place of `resources`. Its one use is a
68
94
  *
69
95
  * @remarks
70
- * The runtime API also requires an immutable SHA-256 digest.
96
+ * tag-on-create grant whose implied check AWS authorizes against no resource; the build
97
+ * refuses it anywhere else.
71
98
  */
72
- dynamicContainerRepositories?: Array<string> | undefined;
99
+ notResources?: Array<string> | undefined;
73
100
  /**
74
- * Unique identifier for the stack
101
+ * Resource ARNs to bind to
75
102
  */
76
- id: string;
103
+ resources: Array<string>;
104
+ };
105
+
106
+ /**
107
+ * Generic binding configuration for permissions
108
+ */
109
+ export type TargetReleaseOverrideAwBinding = {
77
110
  /**
78
- * Input definitions required before setup or deployment can proceed.
111
+ * AWS-specific binding specification
79
112
  */
80
- inputs?: Array<TargetReleaseInput> | undefined;
113
+ resource?: TargetReleaseOverrideAwResource | undefined;
81
114
  /**
82
- * Combined permissions configuration that contains both profiles and management
115
+ * AWS-specific binding specification
83
116
  */
84
- permissions?: TargetReleasePermissions | undefined;
117
+ stack?: TargetReleaseOverrideAwStack | undefined;
118
+ };
119
+
120
+ /**
121
+ * IAM effect. Defaults to Allow.
122
+ */
123
+ export const TargetReleaseOverrideEffect = {
124
+ Allow: "Allow",
125
+ Deny: "Deny",
126
+ } as const;
127
+ /**
128
+ * IAM effect. Defaults to Allow.
129
+ */
130
+ export type TargetReleaseOverrideEffect = ClosedEnum<
131
+ typeof TargetReleaseOverrideEffect
132
+ >;
133
+
134
+ /**
135
+ * Grant permissions for a specific cloud platform
136
+ */
137
+ export type TargetReleaseOverrideAwGrant = {
85
138
  /**
86
- * Map of resource IDs to their configurations and lifecycle settings
139
+ * AWS IAM actions (only for AWS)
87
140
  */
88
- resources: { [k: string]: TargetReleaseResources };
141
+ actions?: Array<string> | null | undefined;
89
142
  /**
90
- * Which platforms this stack supports. When None, all platforms are supported.
143
+ * Azure actions (only for Azure)
91
144
  */
92
- supportedPlatforms?: Array<TargetReleaseSupportedPlatform> | null | undefined;
145
+ dataActions?: Array<string> | null | undefined;
146
+ /**
147
+ * GCP permissions that require an exact residual custom role.
148
+ */
149
+ permissions?: Array<string> | null | undefined;
150
+ /**
151
+ * Provider predefined roles to bind directly.
152
+ */
153
+ predefinedRoles?: Array<string> | null | undefined;
154
+ /**
155
+ * GCP residual custom permissions to pair with predefined roles.
156
+ */
157
+ residualPermissions?: Array<string> | null | undefined;
93
158
  };
94
159
 
95
160
  /**
96
- * Release metadata
97
- *
98
- * @remarks
99
- *
100
- * Identifies a specific release version and includes the stack definition.
101
- * The deployment engine uses this to track which release is currently deployed
102
- * and which is the target.
161
+ * AWS-specific platform permission configuration
103
162
  */
104
- export type TargetRelease = {
163
+ export type TargetReleaseOverrideAw = {
105
164
  /**
106
- * Short description of the release
165
+ * Generic binding configuration for permissions
166
+ */
167
+ binding: TargetReleaseOverrideAwBinding;
168
+ /**
169
+ * Short admin-facing description of why this entry exists.
107
170
  */
108
171
  description?: string | null | undefined;
109
172
  /**
110
- * Release ID (e.g., rel_xyz). `None` for an observe deployment, which has no
111
- *
112
- * @remarks
113
- * Alien-assigned release — the platform resolves a release from `version`.
173
+ * IAM effect. Defaults to Allow.
114
174
  */
115
- releaseId?: string | null | undefined;
175
+ effect?: TargetReleaseOverrideEffect | undefined;
116
176
  /**
117
- * A bag of resources, unaware of any cloud.
177
+ * Grant permissions for a specific cloud platform
118
178
  */
119
- stack: TargetReleaseStack;
179
+ grant: TargetReleaseOverrideAwGrant;
120
180
  /**
121
- * Version string (e.g., 2.1.0)
181
+ * Stable admin-facing label for this permission entry.
122
182
  */
123
- version?: string | null | undefined;
183
+ label?: string | null | undefined;
124
184
  };
125
185
 
126
- export type TargetReleaseUnion = TargetRelease | string;
186
+ /**
187
+ * Azure-specific binding specification
188
+ */
189
+ export type TargetReleaseOverrideAzureResource = {
190
+ /**
191
+ * Scope (subscription/resource group/resource level)
192
+ */
193
+ scope: string;
194
+ };
127
195
 
128
196
  /**
129
- * Current deployment state (includes releases)
197
+ * Azure-specific binding specification
130
198
  */
131
- export type DeploymentState = {
132
- currentRelease?: CurrentReleaseUnion | null | undefined;
133
- environmentInfo?: DeploymentStateEnvironmentInfoUnion | null | undefined;
134
- error?: DeploymentStateErrorUnion | null | undefined;
199
+ export type TargetReleaseOverrideAzureStack = {
135
200
  /**
136
- * Represents the target cloud platform.
201
+ * Scope (subscription/resource group/resource level)
137
202
  */
138
- platform: DeploymentStatePlatform;
203
+ scope: string;
204
+ };
205
+
206
+ /**
207
+ * Generic binding configuration for permissions
208
+ */
209
+ export type TargetReleaseOverrideAzureBinding = {
139
210
  /**
140
- * Protocol version for cross-actor compatibility.
211
+ * Azure-specific binding specification
212
+ */
213
+ resource?: TargetReleaseOverrideAzureResource | undefined;
214
+ /**
215
+ * Azure-specific binding specification
216
+ */
217
+ stack?: TargetReleaseOverrideAzureStack | undefined;
218
+ };
219
+
220
+ /**
221
+ * Grant permissions for a specific cloud platform
222
+ */
223
+ export type TargetReleaseOverrideAzureGrant = {
224
+ /**
225
+ * AWS IAM actions (only for AWS)
226
+ */
227
+ actions?: Array<string> | null | undefined;
228
+ /**
229
+ * Azure actions (only for Azure)
230
+ */
231
+ dataActions?: Array<string> | null | undefined;
232
+ /**
233
+ * GCP permissions that require an exact residual custom role.
234
+ */
235
+ permissions?: Array<string> | null | undefined;
236
+ /**
237
+ * Provider predefined roles to bind directly.
238
+ */
239
+ predefinedRoles?: Array<string> | null | undefined;
240
+ /**
241
+ * GCP residual custom permissions to pair with predefined roles.
242
+ */
243
+ residualPermissions?: Array<string> | null | undefined;
244
+ };
245
+
246
+ /**
247
+ * Azure-specific platform permission configuration
248
+ */
249
+ export type TargetReleaseOverrideAzure = {
250
+ /**
251
+ * Generic binding configuration for permissions
252
+ */
253
+ binding: TargetReleaseOverrideAzureBinding;
254
+ /**
255
+ * Short admin-facing description of why this entry exists.
256
+ */
257
+ description?: string | null | undefined;
258
+ /**
259
+ * Grant permissions for a specific cloud platform
260
+ */
261
+ grant: TargetReleaseOverrideAzureGrant;
262
+ /**
263
+ * Stable admin-facing label for this permission entry.
264
+ */
265
+ label?: string | null | undefined;
266
+ };
267
+
268
+ /**
269
+ * GCP IAM condition
270
+ */
271
+ export type TargetReleaseOverrideConditionResource = {
272
+ expression: string;
273
+ title: string;
274
+ };
275
+
276
+ export type TargetReleaseOverrideResourceConditionUnion =
277
+ | TargetReleaseOverrideConditionResource
278
+ | string;
279
+
280
+ /**
281
+ * GCP-specific binding specification
282
+ */
283
+ export type TargetReleaseOverrideGcpResource = {
284
+ condition?:
285
+ | TargetReleaseOverrideConditionResource
286
+ | string
287
+ | null
288
+ | undefined;
289
+ /**
290
+ * Scope (project/resource level)
291
+ */
292
+ scope: string;
293
+ };
294
+
295
+ /**
296
+ * GCP IAM condition
297
+ */
298
+ export type TargetReleaseOverrideCondition = {
299
+ expression: string;
300
+ title: string;
301
+ };
302
+
303
+ export type TargetReleaseOverrideConditionUnion =
304
+ | TargetReleaseOverrideCondition
305
+ | string;
306
+
307
+ /**
308
+ * GCP-specific binding specification
309
+ */
310
+ export type TargetReleaseOverrideGcpStack = {
311
+ condition?: TargetReleaseOverrideCondition | string | null | undefined;
312
+ /**
313
+ * Scope (project/resource level)
314
+ */
315
+ scope: string;
316
+ };
317
+
318
+ /**
319
+ * Generic binding configuration for permissions
320
+ */
321
+ export type TargetReleaseOverrideGcpBinding = {
322
+ /**
323
+ * GCP-specific binding specification
324
+ */
325
+ resource?: TargetReleaseOverrideGcpResource | undefined;
326
+ /**
327
+ * GCP-specific binding specification
328
+ */
329
+ stack?: TargetReleaseOverrideGcpStack | undefined;
330
+ };
331
+
332
+ /**
333
+ * Grant permissions for a specific cloud platform
334
+ */
335
+ export type TargetReleaseOverrideGcpGrant = {
336
+ /**
337
+ * AWS IAM actions (only for AWS)
338
+ */
339
+ actions?: Array<string> | null | undefined;
340
+ /**
341
+ * Azure actions (only for Azure)
342
+ */
343
+ dataActions?: Array<string> | null | undefined;
344
+ /**
345
+ * GCP permissions that require an exact residual custom role.
346
+ */
347
+ permissions?: Array<string> | null | undefined;
348
+ /**
349
+ * Provider predefined roles to bind directly.
350
+ */
351
+ predefinedRoles?: Array<string> | null | undefined;
352
+ /**
353
+ * GCP residual custom permissions to pair with predefined roles.
354
+ */
355
+ residualPermissions?: Array<string> | null | undefined;
356
+ };
357
+
358
+ /**
359
+ * GCP-specific platform permission configuration
360
+ */
361
+ export type TargetReleaseOverrideGcp = {
362
+ /**
363
+ * Generic binding configuration for permissions
364
+ */
365
+ binding: TargetReleaseOverrideGcpBinding;
366
+ /**
367
+ * Short admin-facing description of why this entry exists.
368
+ */
369
+ description?: string | null | undefined;
370
+ /**
371
+ * Grant permissions for a specific cloud platform
372
+ */
373
+ grant: TargetReleaseOverrideGcpGrant;
374
+ /**
375
+ * Stable admin-facing label for this permission entry.
376
+ */
377
+ label?: string | null | undefined;
378
+ };
379
+
380
+ /**
381
+ * Platform-specific permission configurations
382
+ */
383
+ export type TargetReleaseOverridePlatforms = {
384
+ /**
385
+ * AWS permission configurations
386
+ */
387
+ aws?: Array<TargetReleaseOverrideAw> | null | undefined;
388
+ /**
389
+ * Azure permission configurations
390
+ */
391
+ azure?: Array<TargetReleaseOverrideAzure> | null | undefined;
392
+ /**
393
+ * GCP permission configurations
394
+ */
395
+ gcp?: Array<TargetReleaseOverrideGcp> | null | undefined;
396
+ };
397
+
398
+ /**
399
+ * A permission set that can be applied across different cloud platforms
400
+ */
401
+ export type TargetReleaseOverride = {
402
+ /**
403
+ * Human-readable description of what this permission set allows
404
+ */
405
+ description: string;
406
+ /**
407
+ * Unique identifier for the permission set (e.g., "storage/data-read")
408
+ */
409
+ id: string;
410
+ /**
411
+ * Platform-specific permission configurations
412
+ */
413
+ platforms: TargetReleaseOverridePlatforms;
414
+ };
415
+
416
+ /**
417
+ * Reference to a permission set - either by name or inline definition
418
+ */
419
+ export type TargetReleaseOverrideUnion = TargetReleaseOverride | string;
420
+
421
+ export type TargetReleaseManagement2 = {
422
+ /**
423
+ * Permission profile that maps resources to permission sets
141
424
  *
142
425
  * @remarks
143
- * All actors (manager, push client, agent) check this before stepping.
144
- * Mismatched versions produce a clear error instead of silent corruption.
145
- * See docs/02-manager/10-deployment-protocol.md.
426
+ * Key can be "*" for all resources or resource name for specific resource
146
427
  */
147
- protocolVersion: number;
428
+ override: { [k: string]: Array<TargetReleaseOverride | string> };
429
+ };
430
+
431
+ /**
432
+ * AWS-specific binding specification
433
+ */
434
+ export type TargetReleaseExtendAwResource = {
148
435
  /**
149
- * Whether a retry has been requested for a failed deployment
436
+ * Optional condition for additional filtering (rare)
437
+ */
438
+ condition?: { [k: string]: { [k: string]: string } } | null | undefined;
439
+ /**
440
+ * ARN patterns rendered as IAM `NotResource`, in place of `resources`. Its one use is a
150
441
  *
151
442
  * @remarks
152
- * When true and status is a failed state, the deployment system will retry failed resources
443
+ * tag-on-create grant whose implied check AWS authorizes against no resource; the build
444
+ * refuses it anywhere else.
153
445
  */
154
- retryRequested?: boolean | undefined;
155
- runtimeMetadata?: RuntimeMetadata | null | undefined;
156
- stackState?: StackState | null | undefined;
446
+ notResources?: Array<string> | undefined;
157
447
  /**
158
- * Deployment status in the deployment lifecycle.
448
+ * Resource ARNs to bind to
449
+ */
450
+ resources: Array<string>;
451
+ };
452
+
453
+ /**
454
+ * AWS-specific binding specification
455
+ */
456
+ export type TargetReleaseExtendAwStack = {
457
+ /**
458
+ * Optional condition for additional filtering (rare)
459
+ */
460
+ condition?: { [k: string]: { [k: string]: string } } | null | undefined;
461
+ /**
462
+ * ARN patterns rendered as IAM `NotResource`, in place of `resources`. Its one use is a
159
463
  *
160
464
  * @remarks
161
- *
162
- * For observe-only deployments with no release or stack state, `Running`
163
- * means the Operator is attached. Connectivity comes from `lastHeartbeatAt`;
164
- * resource health comes from inventory and resource heartbeat data.
465
+ * tag-on-create grant whose implied check AWS authorizes against no resource; the build
466
+ * refuses it anywhere else.
165
467
  */
166
- status: DeploymentStateStatus;
167
- targetRelease?: TargetRelease | string | null | undefined;
468
+ notResources?: Array<string> | undefined;
469
+ /**
470
+ * Resource ARNs to bind to
471
+ */
472
+ resources: Array<string>;
168
473
  };
169
474
 
170
- /** @internal */
171
- export const TargetReleaseStack$inboundSchema: z.ZodType<
172
- TargetReleaseStack,
173
- unknown
174
- > = z.object({
175
- dynamicContainerImageResources: z.array(z.string()).optional(),
176
- dynamicContainerRepositories: z.array(z.string()).optional(),
177
- id: z.string(),
178
- inputs: z.array(TargetReleaseInput$inboundSchema).optional(),
179
- permissions: TargetReleasePermissions$inboundSchema.optional(),
180
- resources: z.record(z.string(), TargetReleaseResources$inboundSchema),
181
- supportedPlatforms: z.nullable(
182
- z.array(TargetReleaseSupportedPlatform$inboundSchema),
183
- ).optional(),
184
- });
185
- /** @internal */
186
- export type TargetReleaseStack$Outbound = {
187
- dynamicContainerImageResources?: Array<string> | undefined;
475
+ /**
476
+ * Generic binding configuration for permissions
477
+ */
478
+ export type TargetReleaseExtendAwBinding = {
479
+ /**
480
+ * AWS-specific binding specification
481
+ */
482
+ resource?: TargetReleaseExtendAwResource | undefined;
483
+ /**
484
+ * AWS-specific binding specification
485
+ */
486
+ stack?: TargetReleaseExtendAwStack | undefined;
487
+ };
488
+
489
+ /**
490
+ * IAM effect. Defaults to Allow.
491
+ */
492
+ export const TargetReleaseExtendEffect = {
493
+ Allow: "Allow",
494
+ Deny: "Deny",
495
+ } as const;
496
+ /**
497
+ * IAM effect. Defaults to Allow.
498
+ */
499
+ export type TargetReleaseExtendEffect = ClosedEnum<
500
+ typeof TargetReleaseExtendEffect
501
+ >;
502
+
503
+ /**
504
+ * Grant permissions for a specific cloud platform
505
+ */
506
+ export type TargetReleaseExtendAwGrant = {
507
+ /**
508
+ * AWS IAM actions (only for AWS)
509
+ */
510
+ actions?: Array<string> | null | undefined;
511
+ /**
512
+ * Azure actions (only for Azure)
513
+ */
514
+ dataActions?: Array<string> | null | undefined;
515
+ /**
516
+ * GCP permissions that require an exact residual custom role.
517
+ */
518
+ permissions?: Array<string> | null | undefined;
519
+ /**
520
+ * Provider predefined roles to bind directly.
521
+ */
522
+ predefinedRoles?: Array<string> | null | undefined;
523
+ /**
524
+ * GCP residual custom permissions to pair with predefined roles.
525
+ */
526
+ residualPermissions?: Array<string> | null | undefined;
527
+ };
528
+
529
+ /**
530
+ * AWS-specific platform permission configuration
531
+ */
532
+ export type TargetReleaseExtendAw = {
533
+ /**
534
+ * Generic binding configuration for permissions
535
+ */
536
+ binding: TargetReleaseExtendAwBinding;
537
+ /**
538
+ * Short admin-facing description of why this entry exists.
539
+ */
540
+ description?: string | null | undefined;
541
+ /**
542
+ * IAM effect. Defaults to Allow.
543
+ */
544
+ effect?: TargetReleaseExtendEffect | undefined;
545
+ /**
546
+ * Grant permissions for a specific cloud platform
547
+ */
548
+ grant: TargetReleaseExtendAwGrant;
549
+ /**
550
+ * Stable admin-facing label for this permission entry.
551
+ */
552
+ label?: string | null | undefined;
553
+ };
554
+
555
+ /**
556
+ * Azure-specific binding specification
557
+ */
558
+ export type TargetReleaseExtendAzureResource = {
559
+ /**
560
+ * Scope (subscription/resource group/resource level)
561
+ */
562
+ scope: string;
563
+ };
564
+
565
+ /**
566
+ * Azure-specific binding specification
567
+ */
568
+ export type TargetReleaseExtendAzureStack = {
569
+ /**
570
+ * Scope (subscription/resource group/resource level)
571
+ */
572
+ scope: string;
573
+ };
574
+
575
+ /**
576
+ * Generic binding configuration for permissions
577
+ */
578
+ export type TargetReleaseExtendAzureBinding = {
579
+ /**
580
+ * Azure-specific binding specification
581
+ */
582
+ resource?: TargetReleaseExtendAzureResource | undefined;
583
+ /**
584
+ * Azure-specific binding specification
585
+ */
586
+ stack?: TargetReleaseExtendAzureStack | undefined;
587
+ };
588
+
589
+ /**
590
+ * Grant permissions for a specific cloud platform
591
+ */
592
+ export type TargetReleaseExtendAzureGrant = {
593
+ /**
594
+ * AWS IAM actions (only for AWS)
595
+ */
596
+ actions?: Array<string> | null | undefined;
597
+ /**
598
+ * Azure actions (only for Azure)
599
+ */
600
+ dataActions?: Array<string> | null | undefined;
601
+ /**
602
+ * GCP permissions that require an exact residual custom role.
603
+ */
604
+ permissions?: Array<string> | null | undefined;
605
+ /**
606
+ * Provider predefined roles to bind directly.
607
+ */
608
+ predefinedRoles?: Array<string> | null | undefined;
609
+ /**
610
+ * GCP residual custom permissions to pair with predefined roles.
611
+ */
612
+ residualPermissions?: Array<string> | null | undefined;
613
+ };
614
+
615
+ /**
616
+ * Azure-specific platform permission configuration
617
+ */
618
+ export type TargetReleaseExtendAzure = {
619
+ /**
620
+ * Generic binding configuration for permissions
621
+ */
622
+ binding: TargetReleaseExtendAzureBinding;
623
+ /**
624
+ * Short admin-facing description of why this entry exists.
625
+ */
626
+ description?: string | null | undefined;
627
+ /**
628
+ * Grant permissions for a specific cloud platform
629
+ */
630
+ grant: TargetReleaseExtendAzureGrant;
631
+ /**
632
+ * Stable admin-facing label for this permission entry.
633
+ */
634
+ label?: string | null | undefined;
635
+ };
636
+
637
+ /**
638
+ * GCP IAM condition
639
+ */
640
+ export type TargetReleaseExtendConditionResource = {
641
+ expression: string;
642
+ title: string;
643
+ };
644
+
645
+ export type TargetReleaseExtendResourceConditionUnion =
646
+ | TargetReleaseExtendConditionResource
647
+ | string;
648
+
649
+ /**
650
+ * GCP-specific binding specification
651
+ */
652
+ export type TargetReleaseExtendGcpResource = {
653
+ condition?: TargetReleaseExtendConditionResource | string | null | undefined;
654
+ /**
655
+ * Scope (project/resource level)
656
+ */
657
+ scope: string;
658
+ };
659
+
660
+ /**
661
+ * GCP IAM condition
662
+ */
663
+ export type TargetReleaseExtendCondition = {
664
+ expression: string;
665
+ title: string;
666
+ };
667
+
668
+ export type TargetReleaseExtendConditionUnion =
669
+ | TargetReleaseExtendCondition
670
+ | string;
671
+
672
+ /**
673
+ * GCP-specific binding specification
674
+ */
675
+ export type TargetReleaseExtendGcpStack = {
676
+ condition?: TargetReleaseExtendCondition | string | null | undefined;
677
+ /**
678
+ * Scope (project/resource level)
679
+ */
680
+ scope: string;
681
+ };
682
+
683
+ /**
684
+ * Generic binding configuration for permissions
685
+ */
686
+ export type TargetReleaseExtendGcpBinding = {
687
+ /**
688
+ * GCP-specific binding specification
689
+ */
690
+ resource?: TargetReleaseExtendGcpResource | undefined;
691
+ /**
692
+ * GCP-specific binding specification
693
+ */
694
+ stack?: TargetReleaseExtendGcpStack | undefined;
695
+ };
696
+
697
+ /**
698
+ * Grant permissions for a specific cloud platform
699
+ */
700
+ export type TargetReleaseExtendGcpGrant = {
701
+ /**
702
+ * AWS IAM actions (only for AWS)
703
+ */
704
+ actions?: Array<string> | null | undefined;
705
+ /**
706
+ * Azure actions (only for Azure)
707
+ */
708
+ dataActions?: Array<string> | null | undefined;
709
+ /**
710
+ * GCP permissions that require an exact residual custom role.
711
+ */
712
+ permissions?: Array<string> | null | undefined;
713
+ /**
714
+ * Provider predefined roles to bind directly.
715
+ */
716
+ predefinedRoles?: Array<string> | null | undefined;
717
+ /**
718
+ * GCP residual custom permissions to pair with predefined roles.
719
+ */
720
+ residualPermissions?: Array<string> | null | undefined;
721
+ };
722
+
723
+ /**
724
+ * GCP-specific platform permission configuration
725
+ */
726
+ export type TargetReleaseExtendGcp = {
727
+ /**
728
+ * Generic binding configuration for permissions
729
+ */
730
+ binding: TargetReleaseExtendGcpBinding;
731
+ /**
732
+ * Short admin-facing description of why this entry exists.
733
+ */
734
+ description?: string | null | undefined;
735
+ /**
736
+ * Grant permissions for a specific cloud platform
737
+ */
738
+ grant: TargetReleaseExtendGcpGrant;
739
+ /**
740
+ * Stable admin-facing label for this permission entry.
741
+ */
742
+ label?: string | null | undefined;
743
+ };
744
+
745
+ /**
746
+ * Platform-specific permission configurations
747
+ */
748
+ export type TargetReleaseExtendPlatforms = {
749
+ /**
750
+ * AWS permission configurations
751
+ */
752
+ aws?: Array<TargetReleaseExtendAw> | null | undefined;
753
+ /**
754
+ * Azure permission configurations
755
+ */
756
+ azure?: Array<TargetReleaseExtendAzure> | null | undefined;
757
+ /**
758
+ * GCP permission configurations
759
+ */
760
+ gcp?: Array<TargetReleaseExtendGcp> | null | undefined;
761
+ };
762
+
763
+ /**
764
+ * A permission set that can be applied across different cloud platforms
765
+ */
766
+ export type TargetReleaseExtend = {
767
+ /**
768
+ * Human-readable description of what this permission set allows
769
+ */
770
+ description: string;
771
+ /**
772
+ * Unique identifier for the permission set (e.g., "storage/data-read")
773
+ */
774
+ id: string;
775
+ /**
776
+ * Platform-specific permission configurations
777
+ */
778
+ platforms: TargetReleaseExtendPlatforms;
779
+ };
780
+
781
+ /**
782
+ * Reference to a permission set - either by name or inline definition
783
+ */
784
+ export type TargetReleaseExtendUnion = TargetReleaseExtend | string;
785
+
786
+ export type TargetReleaseManagement1 = {
787
+ /**
788
+ * Permission profile that maps resources to permission sets
789
+ *
790
+ * @remarks
791
+ * Key can be "*" for all resources or resource name for specific resource
792
+ */
793
+ extend: { [k: string]: Array<TargetReleaseExtend | string> };
794
+ };
795
+
796
+ /**
797
+ * Management permissions configuration for stack management access
798
+ */
799
+ export type TargetReleaseManagementUnion =
800
+ | TargetReleaseManagement1
801
+ | TargetReleaseManagement2
802
+ | TargetReleaseManagementEnum;
803
+
804
+ /**
805
+ * AWS-specific binding specification
806
+ */
807
+ export type TargetReleaseProfileAwResource = {
808
+ /**
809
+ * Optional condition for additional filtering (rare)
810
+ */
811
+ condition?: { [k: string]: { [k: string]: string } } | null | undefined;
812
+ /**
813
+ * ARN patterns rendered as IAM `NotResource`, in place of `resources`. Its one use is a
814
+ *
815
+ * @remarks
816
+ * tag-on-create grant whose implied check AWS authorizes against no resource; the build
817
+ * refuses it anywhere else.
818
+ */
819
+ notResources?: Array<string> | undefined;
820
+ /**
821
+ * Resource ARNs to bind to
822
+ */
823
+ resources: Array<string>;
824
+ };
825
+
826
+ /**
827
+ * AWS-specific binding specification
828
+ */
829
+ export type TargetReleaseProfileAwStack = {
830
+ /**
831
+ * Optional condition for additional filtering (rare)
832
+ */
833
+ condition?: { [k: string]: { [k: string]: string } } | null | undefined;
834
+ /**
835
+ * ARN patterns rendered as IAM `NotResource`, in place of `resources`. Its one use is a
836
+ *
837
+ * @remarks
838
+ * tag-on-create grant whose implied check AWS authorizes against no resource; the build
839
+ * refuses it anywhere else.
840
+ */
841
+ notResources?: Array<string> | undefined;
842
+ /**
843
+ * Resource ARNs to bind to
844
+ */
845
+ resources: Array<string>;
846
+ };
847
+
848
+ /**
849
+ * Generic binding configuration for permissions
850
+ */
851
+ export type TargetReleaseProfileAwBinding = {
852
+ /**
853
+ * AWS-specific binding specification
854
+ */
855
+ resource?: TargetReleaseProfileAwResource | undefined;
856
+ /**
857
+ * AWS-specific binding specification
858
+ */
859
+ stack?: TargetReleaseProfileAwStack | undefined;
860
+ };
861
+
862
+ /**
863
+ * IAM effect. Defaults to Allow.
864
+ */
865
+ export const TargetReleaseProfileEffect = {
866
+ Allow: "Allow",
867
+ Deny: "Deny",
868
+ } as const;
869
+ /**
870
+ * IAM effect. Defaults to Allow.
871
+ */
872
+ export type TargetReleaseProfileEffect = ClosedEnum<
873
+ typeof TargetReleaseProfileEffect
874
+ >;
875
+
876
+ /**
877
+ * Grant permissions for a specific cloud platform
878
+ */
879
+ export type TargetReleaseProfileAwGrant = {
880
+ /**
881
+ * AWS IAM actions (only for AWS)
882
+ */
883
+ actions?: Array<string> | null | undefined;
884
+ /**
885
+ * Azure actions (only for Azure)
886
+ */
887
+ dataActions?: Array<string> | null | undefined;
888
+ /**
889
+ * GCP permissions that require an exact residual custom role.
890
+ */
891
+ permissions?: Array<string> | null | undefined;
892
+ /**
893
+ * Provider predefined roles to bind directly.
894
+ */
895
+ predefinedRoles?: Array<string> | null | undefined;
896
+ /**
897
+ * GCP residual custom permissions to pair with predefined roles.
898
+ */
899
+ residualPermissions?: Array<string> | null | undefined;
900
+ };
901
+
902
+ /**
903
+ * AWS-specific platform permission configuration
904
+ */
905
+ export type TargetReleaseProfileAw = {
906
+ /**
907
+ * Generic binding configuration for permissions
908
+ */
909
+ binding: TargetReleaseProfileAwBinding;
910
+ /**
911
+ * Short admin-facing description of why this entry exists.
912
+ */
913
+ description?: string | null | undefined;
914
+ /**
915
+ * IAM effect. Defaults to Allow.
916
+ */
917
+ effect?: TargetReleaseProfileEffect | undefined;
918
+ /**
919
+ * Grant permissions for a specific cloud platform
920
+ */
921
+ grant: TargetReleaseProfileAwGrant;
922
+ /**
923
+ * Stable admin-facing label for this permission entry.
924
+ */
925
+ label?: string | null | undefined;
926
+ };
927
+
928
+ /**
929
+ * Azure-specific binding specification
930
+ */
931
+ export type TargetReleaseProfileAzureResource = {
932
+ /**
933
+ * Scope (subscription/resource group/resource level)
934
+ */
935
+ scope: string;
936
+ };
937
+
938
+ /**
939
+ * Azure-specific binding specification
940
+ */
941
+ export type TargetReleaseProfileAzureStack = {
942
+ /**
943
+ * Scope (subscription/resource group/resource level)
944
+ */
945
+ scope: string;
946
+ };
947
+
948
+ /**
949
+ * Generic binding configuration for permissions
950
+ */
951
+ export type TargetReleaseProfileAzureBinding = {
952
+ /**
953
+ * Azure-specific binding specification
954
+ */
955
+ resource?: TargetReleaseProfileAzureResource | undefined;
956
+ /**
957
+ * Azure-specific binding specification
958
+ */
959
+ stack?: TargetReleaseProfileAzureStack | undefined;
960
+ };
961
+
962
+ /**
963
+ * Grant permissions for a specific cloud platform
964
+ */
965
+ export type TargetReleaseProfileAzureGrant = {
966
+ /**
967
+ * AWS IAM actions (only for AWS)
968
+ */
969
+ actions?: Array<string> | null | undefined;
970
+ /**
971
+ * Azure actions (only for Azure)
972
+ */
973
+ dataActions?: Array<string> | null | undefined;
974
+ /**
975
+ * GCP permissions that require an exact residual custom role.
976
+ */
977
+ permissions?: Array<string> | null | undefined;
978
+ /**
979
+ * Provider predefined roles to bind directly.
980
+ */
981
+ predefinedRoles?: Array<string> | null | undefined;
982
+ /**
983
+ * GCP residual custom permissions to pair with predefined roles.
984
+ */
985
+ residualPermissions?: Array<string> | null | undefined;
986
+ };
987
+
988
+ /**
989
+ * Azure-specific platform permission configuration
990
+ */
991
+ export type TargetReleaseProfileAzure = {
992
+ /**
993
+ * Generic binding configuration for permissions
994
+ */
995
+ binding: TargetReleaseProfileAzureBinding;
996
+ /**
997
+ * Short admin-facing description of why this entry exists.
998
+ */
999
+ description?: string | null | undefined;
1000
+ /**
1001
+ * Grant permissions for a specific cloud platform
1002
+ */
1003
+ grant: TargetReleaseProfileAzureGrant;
1004
+ /**
1005
+ * Stable admin-facing label for this permission entry.
1006
+ */
1007
+ label?: string | null | undefined;
1008
+ };
1009
+
1010
+ /**
1011
+ * GCP IAM condition
1012
+ */
1013
+ export type TargetReleaseProfileConditionResource = {
1014
+ expression: string;
1015
+ title: string;
1016
+ };
1017
+
1018
+ export type TargetReleaseProfileResourceConditionUnion =
1019
+ | TargetReleaseProfileConditionResource
1020
+ | string;
1021
+
1022
+ /**
1023
+ * GCP-specific binding specification
1024
+ */
1025
+ export type TargetReleaseProfileGcpResource = {
1026
+ condition?: TargetReleaseProfileConditionResource | string | null | undefined;
1027
+ /**
1028
+ * Scope (project/resource level)
1029
+ */
1030
+ scope: string;
1031
+ };
1032
+
1033
+ /**
1034
+ * GCP IAM condition
1035
+ */
1036
+ export type TargetReleaseProfileCondition = {
1037
+ expression: string;
1038
+ title: string;
1039
+ };
1040
+
1041
+ export type TargetReleaseProfileConditionUnion =
1042
+ | TargetReleaseProfileCondition
1043
+ | string;
1044
+
1045
+ /**
1046
+ * GCP-specific binding specification
1047
+ */
1048
+ export type TargetReleaseProfileGcpStack = {
1049
+ condition?: TargetReleaseProfileCondition | string | null | undefined;
1050
+ /**
1051
+ * Scope (project/resource level)
1052
+ */
1053
+ scope: string;
1054
+ };
1055
+
1056
+ /**
1057
+ * Generic binding configuration for permissions
1058
+ */
1059
+ export type TargetReleaseProfileGcpBinding = {
1060
+ /**
1061
+ * GCP-specific binding specification
1062
+ */
1063
+ resource?: TargetReleaseProfileGcpResource | undefined;
1064
+ /**
1065
+ * GCP-specific binding specification
1066
+ */
1067
+ stack?: TargetReleaseProfileGcpStack | undefined;
1068
+ };
1069
+
1070
+ /**
1071
+ * Grant permissions for a specific cloud platform
1072
+ */
1073
+ export type TargetReleaseProfileGcpGrant = {
1074
+ /**
1075
+ * AWS IAM actions (only for AWS)
1076
+ */
1077
+ actions?: Array<string> | null | undefined;
1078
+ /**
1079
+ * Azure actions (only for Azure)
1080
+ */
1081
+ dataActions?: Array<string> | null | undefined;
1082
+ /**
1083
+ * GCP permissions that require an exact residual custom role.
1084
+ */
1085
+ permissions?: Array<string> | null | undefined;
1086
+ /**
1087
+ * Provider predefined roles to bind directly.
1088
+ */
1089
+ predefinedRoles?: Array<string> | null | undefined;
1090
+ /**
1091
+ * GCP residual custom permissions to pair with predefined roles.
1092
+ */
1093
+ residualPermissions?: Array<string> | null | undefined;
1094
+ };
1095
+
1096
+ /**
1097
+ * GCP-specific platform permission configuration
1098
+ */
1099
+ export type TargetReleaseProfileGcp = {
1100
+ /**
1101
+ * Generic binding configuration for permissions
1102
+ */
1103
+ binding: TargetReleaseProfileGcpBinding;
1104
+ /**
1105
+ * Short admin-facing description of why this entry exists.
1106
+ */
1107
+ description?: string | null | undefined;
1108
+ /**
1109
+ * Grant permissions for a specific cloud platform
1110
+ */
1111
+ grant: TargetReleaseProfileGcpGrant;
1112
+ /**
1113
+ * Stable admin-facing label for this permission entry.
1114
+ */
1115
+ label?: string | null | undefined;
1116
+ };
1117
+
1118
+ /**
1119
+ * Platform-specific permission configurations
1120
+ */
1121
+ export type TargetReleaseProfilePlatforms = {
1122
+ /**
1123
+ * AWS permission configurations
1124
+ */
1125
+ aws?: Array<TargetReleaseProfileAw> | null | undefined;
1126
+ /**
1127
+ * Azure permission configurations
1128
+ */
1129
+ azure?: Array<TargetReleaseProfileAzure> | null | undefined;
1130
+ /**
1131
+ * GCP permission configurations
1132
+ */
1133
+ gcp?: Array<TargetReleaseProfileGcp> | null | undefined;
1134
+ };
1135
+
1136
+ /**
1137
+ * A permission set that can be applied across different cloud platforms
1138
+ */
1139
+ export type TargetReleaseProfile = {
1140
+ /**
1141
+ * Human-readable description of what this permission set allows
1142
+ */
1143
+ description: string;
1144
+ /**
1145
+ * Unique identifier for the permission set (e.g., "storage/data-read")
1146
+ */
1147
+ id: string;
1148
+ /**
1149
+ * Platform-specific permission configurations
1150
+ */
1151
+ platforms: TargetReleaseProfilePlatforms;
1152
+ };
1153
+
1154
+ /**
1155
+ * Reference to a permission set - either by name or inline definition
1156
+ */
1157
+ export type TargetReleaseProfileUnion = TargetReleaseProfile | string;
1158
+
1159
+ /**
1160
+ * Combined permissions configuration that contains both profiles and management
1161
+ */
1162
+ export type TargetReleasePermissions = {
1163
+ /**
1164
+ * Management permissions configuration for stack management access
1165
+ */
1166
+ management?:
1167
+ | TargetReleaseManagement1
1168
+ | TargetReleaseManagement2
1169
+ | TargetReleaseManagementEnum
1170
+ | undefined;
1171
+ /**
1172
+ * Permission profiles that define access control for compute services
1173
+ *
1174
+ * @remarks
1175
+ * Key is the profile name, value is the permission configuration
1176
+ */
1177
+ profiles: {
1178
+ [k: string]: { [k: string]: Array<TargetReleaseProfile | string> };
1179
+ };
1180
+ };
1181
+
1182
+ /**
1183
+ * Resource that can hold any resource type in the Alien system. All resources share common 'type' and 'id' fields with additional type-specific properties.
1184
+ */
1185
+ export type TargetReleaseConfig = {
1186
+ /**
1187
+ * The unique identifier for this specific resource instance. Must contain only alphanumeric characters, hyphens, and underscores ([A-Za-z0-9-_]). Maximum 64 characters.
1188
+ */
1189
+ id: string;
1190
+ /**
1191
+ * Resource type identifier that determines the specific kind of resource. This field is used for polymorphic deserialization and resource-specific behavior.
1192
+ */
1193
+ type: string;
1194
+ additionalProperties?: { [k: string]: any | null } | undefined;
1195
+ };
1196
+
1197
+ /**
1198
+ * Reference to a resource by its stable id and resource type.
1199
+ */
1200
+ export type TargetReleaseDependency = {
1201
+ id: string;
1202
+ /**
1203
+ * Resource type identifier that determines the specific kind of resource. This field is used for polymorphic deserialization and resource-specific behavior.
1204
+ */
1205
+ type: string;
1206
+ };
1207
+
1208
+ /**
1209
+ * Describes the lifecycle of a resource within a stack, determining how it's managed and deployed.
1210
+ */
1211
+ export const TargetReleaseLifecycle = {
1212
+ Frozen: "frozen",
1213
+ Live: "live",
1214
+ } as const;
1215
+ /**
1216
+ * Describes the lifecycle of a resource within a stack, determining how it's managed and deployed.
1217
+ */
1218
+ export type TargetReleaseLifecycle = ClosedEnum<typeof TargetReleaseLifecycle>;
1219
+
1220
+ export type TargetReleaseResources = {
1221
+ /**
1222
+ * Resource that can hold any resource type in the Alien system. All resources share common 'type' and 'id' fields with additional type-specific properties.
1223
+ */
1224
+ config: TargetReleaseConfig;
1225
+ /**
1226
+ * Additional dependencies for this resource beyond those defined in the resource itself.
1227
+ *
1228
+ * @remarks
1229
+ * The total dependencies are: resource.get_dependencies() + this list
1230
+ */
1231
+ dependencies: Array<TargetReleaseDependency>;
1232
+ /**
1233
+ * Id of the boolean stack input that decides whether this resource is
1234
+ *
1235
+ * @remarks
1236
+ * created at all. `None` means always create it.
1237
+ *
1238
+ * Set by `.enabled(input)` in the SDK. Setup emitters render the resource
1239
+ * conditionally on the matching template variable, so a deployer who says no
1240
+ * never gets the resource, its outputs, or anything derived from it.
1241
+ */
1242
+ enabledWhen?: string | null | undefined;
1243
+ /**
1244
+ * Describes the lifecycle of a resource within a stack, determining how it's managed and deployed.
1245
+ */
1246
+ lifecycle: TargetReleaseLifecycle;
1247
+ /**
1248
+ * Enable remote bindings for this resource (BYOB use case).
1249
+ *
1250
+ * @remarks
1251
+ * When true, binding params are synced to StackState's `remote_binding_params`.
1252
+ * Default: false (prevents sensitive data in synced state).
1253
+ */
1254
+ remoteAccess?: boolean | undefined;
1255
+ };
1256
+
1257
+ /**
1258
+ * Represents the target cloud platform.
1259
+ */
1260
+ export const TargetReleaseSupportedPlatform = {
1261
+ Aws: "aws",
1262
+ Gcp: "gcp",
1263
+ Azure: "azure",
1264
+ Kubernetes: "kubernetes",
1265
+ Machines: "machines",
1266
+ Local: "local",
1267
+ Test: "test",
1268
+ } as const;
1269
+ /**
1270
+ * Represents the target cloud platform.
1271
+ */
1272
+ export type TargetReleaseSupportedPlatform = ClosedEnum<
1273
+ typeof TargetReleaseSupportedPlatform
1274
+ >;
1275
+
1276
+ /**
1277
+ * A bag of resources, unaware of any cloud.
1278
+ */
1279
+ export type TargetReleaseStack = {
1280
+ /**
1281
+ * Released Container resources whose image repositories are approved for
1282
+ *
1283
+ * @remarks
1284
+ * containers created after installation.
1285
+ */
1286
+ dynamicContainerImageResources?: Array<string> | undefined;
1287
+ /**
1288
+ * Exact image repositories approved for containers created after installation.
1289
+ *
1290
+ * @remarks
1291
+ * The runtime API also requires an immutable SHA-256 digest.
1292
+ */
1293
+ dynamicContainerRepositories?: Array<string> | undefined;
1294
+ /**
1295
+ * Unique identifier for the stack
1296
+ */
1297
+ id: string;
1298
+ /**
1299
+ * Input definitions required before setup or deployment can proceed.
1300
+ */
1301
+ inputs?: Array<TargetReleaseInput> | undefined;
1302
+ operations?: TargetReleaseOperations | string | null | undefined;
1303
+ /**
1304
+ * Combined permissions configuration that contains both profiles and management
1305
+ */
1306
+ permissions?: TargetReleasePermissions | undefined;
1307
+ /**
1308
+ * Map of resource IDs to their configurations and lifecycle settings
1309
+ */
1310
+ resources: { [k: string]: TargetReleaseResources };
1311
+ /**
1312
+ * Which platforms this stack supports. When None, all platforms are supported.
1313
+ */
1314
+ supportedPlatforms?: Array<TargetReleaseSupportedPlatform> | null | undefined;
1315
+ };
1316
+
1317
+ /**
1318
+ * Release metadata
1319
+ *
1320
+ * @remarks
1321
+ *
1322
+ * Identifies a specific release version and includes the stack definition.
1323
+ * The deployment engine uses this to track which release is currently deployed
1324
+ * and which is the target.
1325
+ */
1326
+ export type TargetRelease = {
1327
+ /**
1328
+ * Short description of the release
1329
+ */
1330
+ description?: string | null | undefined;
1331
+ /**
1332
+ * Release ID (e.g., rel_xyz). `None` for an observe deployment, which has no
1333
+ *
1334
+ * @remarks
1335
+ * Alien-assigned release — the platform resolves a release from `version`.
1336
+ */
1337
+ releaseId?: string | null | undefined;
1338
+ /**
1339
+ * A bag of resources, unaware of any cloud.
1340
+ */
1341
+ stack: TargetReleaseStack;
1342
+ /**
1343
+ * Version string (e.g., 2.1.0)
1344
+ */
1345
+ version?: string | null | undefined;
1346
+ };
1347
+
1348
+ export type TargetReleaseUnion = TargetRelease | string;
1349
+
1350
+ /**
1351
+ * Current deployment state (includes releases)
1352
+ */
1353
+ export type DeploymentState = {
1354
+ currentRelease?: CurrentReleaseUnion | null | undefined;
1355
+ environmentInfo?: DeploymentStateEnvironmentInfoUnion | null | undefined;
1356
+ error?: DeploymentStateErrorUnion | null | undefined;
1357
+ /**
1358
+ * Represents the target cloud platform.
1359
+ */
1360
+ platform: DeploymentStatePlatform;
1361
+ /**
1362
+ * Protocol version for cross-actor compatibility.
1363
+ *
1364
+ * @remarks
1365
+ * All actors (manager, push client, agent) check this before stepping.
1366
+ * Mismatched versions produce a clear error instead of silent corruption.
1367
+ * See docs/02-manager/10-deployment-protocol.md.
1368
+ */
1369
+ protocolVersion: number;
1370
+ /**
1371
+ * Whether a retry has been requested for a failed deployment
1372
+ *
1373
+ * @remarks
1374
+ * When true and status is a failed state, the deployment system will retry failed resources
1375
+ */
1376
+ retryRequested?: boolean | undefined;
1377
+ runtimeMetadata?: RuntimeMetadata | null | undefined;
1378
+ stackState?: StackState | null | undefined;
1379
+ /**
1380
+ * Deployment status in the deployment lifecycle.
1381
+ *
1382
+ * @remarks
1383
+ *
1384
+ * For observe-only deployments with no release or stack state, `Running`
1385
+ * means the Operator is attached. Connectivity comes from `lastHeartbeatAt`;
1386
+ * resource health comes from inventory and resource heartbeat data.
1387
+ */
1388
+ status: DeploymentStateStatus;
1389
+ targetRelease?: TargetRelease | string | null | undefined;
1390
+ };
1391
+
1392
+ /** @internal */
1393
+ export const TargetReleaseOperationsUnion$inboundSchema: z.ZodType<
1394
+ TargetReleaseOperationsUnion,
1395
+ unknown
1396
+ > = z.union([TargetReleaseOperations$inboundSchema, z.string()]);
1397
+ /** @internal */
1398
+ export type TargetReleaseOperationsUnion$Outbound =
1399
+ | TargetReleaseOperations$Outbound
1400
+ | string;
1401
+
1402
+ /** @internal */
1403
+ export const TargetReleaseOperationsUnion$outboundSchema: z.ZodType<
1404
+ TargetReleaseOperationsUnion$Outbound,
1405
+ TargetReleaseOperationsUnion
1406
+ > = z.union([TargetReleaseOperations$outboundSchema, z.string()]);
1407
+
1408
+ export function targetReleaseOperationsUnionToJSON(
1409
+ targetReleaseOperationsUnion: TargetReleaseOperationsUnion,
1410
+ ): string {
1411
+ return JSON.stringify(
1412
+ TargetReleaseOperationsUnion$outboundSchema.parse(
1413
+ targetReleaseOperationsUnion,
1414
+ ),
1415
+ );
1416
+ }
1417
+ export function targetReleaseOperationsUnionFromJSON(
1418
+ jsonString: string,
1419
+ ): SafeParseResult<TargetReleaseOperationsUnion, SDKValidationError> {
1420
+ return safeParse(
1421
+ jsonString,
1422
+ (x) => TargetReleaseOperationsUnion$inboundSchema.parse(JSON.parse(x)),
1423
+ `Failed to parse 'TargetReleaseOperationsUnion' from JSON`,
1424
+ );
1425
+ }
1426
+
1427
+ /** @internal */
1428
+ export const TargetReleaseManagementEnum$inboundSchema: z.ZodEnum<
1429
+ typeof TargetReleaseManagementEnum
1430
+ > = z.enum(TargetReleaseManagementEnum);
1431
+ /** @internal */
1432
+ export const TargetReleaseManagementEnum$outboundSchema: z.ZodEnum<
1433
+ typeof TargetReleaseManagementEnum
1434
+ > = TargetReleaseManagementEnum$inboundSchema;
1435
+
1436
+ /** @internal */
1437
+ export const TargetReleaseOverrideAwResource$inboundSchema: z.ZodType<
1438
+ TargetReleaseOverrideAwResource,
1439
+ unknown
1440
+ > = z.object({
1441
+ condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string())))
1442
+ .optional(),
1443
+ notResources: z.array(z.string()).optional(),
1444
+ resources: z.array(z.string()),
1445
+ });
1446
+ /** @internal */
1447
+ export type TargetReleaseOverrideAwResource$Outbound = {
1448
+ condition?: { [k: string]: { [k: string]: string } } | null | undefined;
1449
+ notResources?: Array<string> | undefined;
1450
+ resources: Array<string>;
1451
+ };
1452
+
1453
+ /** @internal */
1454
+ export const TargetReleaseOverrideAwResource$outboundSchema: z.ZodType<
1455
+ TargetReleaseOverrideAwResource$Outbound,
1456
+ TargetReleaseOverrideAwResource
1457
+ > = z.object({
1458
+ condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string())))
1459
+ .optional(),
1460
+ notResources: z.array(z.string()).optional(),
1461
+ resources: z.array(z.string()),
1462
+ });
1463
+
1464
+ export function targetReleaseOverrideAwResourceToJSON(
1465
+ targetReleaseOverrideAwResource: TargetReleaseOverrideAwResource,
1466
+ ): string {
1467
+ return JSON.stringify(
1468
+ TargetReleaseOverrideAwResource$outboundSchema.parse(
1469
+ targetReleaseOverrideAwResource,
1470
+ ),
1471
+ );
1472
+ }
1473
+ export function targetReleaseOverrideAwResourceFromJSON(
1474
+ jsonString: string,
1475
+ ): SafeParseResult<TargetReleaseOverrideAwResource, SDKValidationError> {
1476
+ return safeParse(
1477
+ jsonString,
1478
+ (x) => TargetReleaseOverrideAwResource$inboundSchema.parse(JSON.parse(x)),
1479
+ `Failed to parse 'TargetReleaseOverrideAwResource' from JSON`,
1480
+ );
1481
+ }
1482
+
1483
+ /** @internal */
1484
+ export const TargetReleaseOverrideAwStack$inboundSchema: z.ZodType<
1485
+ TargetReleaseOverrideAwStack,
1486
+ unknown
1487
+ > = z.object({
1488
+ condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string())))
1489
+ .optional(),
1490
+ notResources: z.array(z.string()).optional(),
1491
+ resources: z.array(z.string()),
1492
+ });
1493
+ /** @internal */
1494
+ export type TargetReleaseOverrideAwStack$Outbound = {
1495
+ condition?: { [k: string]: { [k: string]: string } } | null | undefined;
1496
+ notResources?: Array<string> | undefined;
1497
+ resources: Array<string>;
1498
+ };
1499
+
1500
+ /** @internal */
1501
+ export const TargetReleaseOverrideAwStack$outboundSchema: z.ZodType<
1502
+ TargetReleaseOverrideAwStack$Outbound,
1503
+ TargetReleaseOverrideAwStack
1504
+ > = z.object({
1505
+ condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string())))
1506
+ .optional(),
1507
+ notResources: z.array(z.string()).optional(),
1508
+ resources: z.array(z.string()),
1509
+ });
1510
+
1511
+ export function targetReleaseOverrideAwStackToJSON(
1512
+ targetReleaseOverrideAwStack: TargetReleaseOverrideAwStack,
1513
+ ): string {
1514
+ return JSON.stringify(
1515
+ TargetReleaseOverrideAwStack$outboundSchema.parse(
1516
+ targetReleaseOverrideAwStack,
1517
+ ),
1518
+ );
1519
+ }
1520
+ export function targetReleaseOverrideAwStackFromJSON(
1521
+ jsonString: string,
1522
+ ): SafeParseResult<TargetReleaseOverrideAwStack, SDKValidationError> {
1523
+ return safeParse(
1524
+ jsonString,
1525
+ (x) => TargetReleaseOverrideAwStack$inboundSchema.parse(JSON.parse(x)),
1526
+ `Failed to parse 'TargetReleaseOverrideAwStack' from JSON`,
1527
+ );
1528
+ }
1529
+
1530
+ /** @internal */
1531
+ export const TargetReleaseOverrideAwBinding$inboundSchema: z.ZodType<
1532
+ TargetReleaseOverrideAwBinding,
1533
+ unknown
1534
+ > = z.object({
1535
+ resource: z.lazy(() => TargetReleaseOverrideAwResource$inboundSchema)
1536
+ .optional(),
1537
+ stack: z.lazy(() => TargetReleaseOverrideAwStack$inboundSchema).optional(),
1538
+ });
1539
+ /** @internal */
1540
+ export type TargetReleaseOverrideAwBinding$Outbound = {
1541
+ resource?: TargetReleaseOverrideAwResource$Outbound | undefined;
1542
+ stack?: TargetReleaseOverrideAwStack$Outbound | undefined;
1543
+ };
1544
+
1545
+ /** @internal */
1546
+ export const TargetReleaseOverrideAwBinding$outboundSchema: z.ZodType<
1547
+ TargetReleaseOverrideAwBinding$Outbound,
1548
+ TargetReleaseOverrideAwBinding
1549
+ > = z.object({
1550
+ resource: z.lazy(() => TargetReleaseOverrideAwResource$outboundSchema)
1551
+ .optional(),
1552
+ stack: z.lazy(() => TargetReleaseOverrideAwStack$outboundSchema).optional(),
1553
+ });
1554
+
1555
+ export function targetReleaseOverrideAwBindingToJSON(
1556
+ targetReleaseOverrideAwBinding: TargetReleaseOverrideAwBinding,
1557
+ ): string {
1558
+ return JSON.stringify(
1559
+ TargetReleaseOverrideAwBinding$outboundSchema.parse(
1560
+ targetReleaseOverrideAwBinding,
1561
+ ),
1562
+ );
1563
+ }
1564
+ export function targetReleaseOverrideAwBindingFromJSON(
1565
+ jsonString: string,
1566
+ ): SafeParseResult<TargetReleaseOverrideAwBinding, SDKValidationError> {
1567
+ return safeParse(
1568
+ jsonString,
1569
+ (x) => TargetReleaseOverrideAwBinding$inboundSchema.parse(JSON.parse(x)),
1570
+ `Failed to parse 'TargetReleaseOverrideAwBinding' from JSON`,
1571
+ );
1572
+ }
1573
+
1574
+ /** @internal */
1575
+ export const TargetReleaseOverrideEffect$inboundSchema: z.ZodEnum<
1576
+ typeof TargetReleaseOverrideEffect
1577
+ > = z.enum(TargetReleaseOverrideEffect);
1578
+ /** @internal */
1579
+ export const TargetReleaseOverrideEffect$outboundSchema: z.ZodEnum<
1580
+ typeof TargetReleaseOverrideEffect
1581
+ > = TargetReleaseOverrideEffect$inboundSchema;
1582
+
1583
+ /** @internal */
1584
+ export const TargetReleaseOverrideAwGrant$inboundSchema: z.ZodType<
1585
+ TargetReleaseOverrideAwGrant,
1586
+ unknown
1587
+ > = z.object({
1588
+ actions: z.nullable(z.array(z.string())).optional(),
1589
+ dataActions: z.nullable(z.array(z.string())).optional(),
1590
+ permissions: z.nullable(z.array(z.string())).optional(),
1591
+ predefinedRoles: z.nullable(z.array(z.string())).optional(),
1592
+ residualPermissions: z.nullable(z.array(z.string())).optional(),
1593
+ });
1594
+ /** @internal */
1595
+ export type TargetReleaseOverrideAwGrant$Outbound = {
1596
+ actions?: Array<string> | null | undefined;
1597
+ dataActions?: Array<string> | null | undefined;
1598
+ permissions?: Array<string> | null | undefined;
1599
+ predefinedRoles?: Array<string> | null | undefined;
1600
+ residualPermissions?: Array<string> | null | undefined;
1601
+ };
1602
+
1603
+ /** @internal */
1604
+ export const TargetReleaseOverrideAwGrant$outboundSchema: z.ZodType<
1605
+ TargetReleaseOverrideAwGrant$Outbound,
1606
+ TargetReleaseOverrideAwGrant
1607
+ > = z.object({
1608
+ actions: z.nullable(z.array(z.string())).optional(),
1609
+ dataActions: z.nullable(z.array(z.string())).optional(),
1610
+ permissions: z.nullable(z.array(z.string())).optional(),
1611
+ predefinedRoles: z.nullable(z.array(z.string())).optional(),
1612
+ residualPermissions: z.nullable(z.array(z.string())).optional(),
1613
+ });
1614
+
1615
+ export function targetReleaseOverrideAwGrantToJSON(
1616
+ targetReleaseOverrideAwGrant: TargetReleaseOverrideAwGrant,
1617
+ ): string {
1618
+ return JSON.stringify(
1619
+ TargetReleaseOverrideAwGrant$outboundSchema.parse(
1620
+ targetReleaseOverrideAwGrant,
1621
+ ),
1622
+ );
1623
+ }
1624
+ export function targetReleaseOverrideAwGrantFromJSON(
1625
+ jsonString: string,
1626
+ ): SafeParseResult<TargetReleaseOverrideAwGrant, SDKValidationError> {
1627
+ return safeParse(
1628
+ jsonString,
1629
+ (x) => TargetReleaseOverrideAwGrant$inboundSchema.parse(JSON.parse(x)),
1630
+ `Failed to parse 'TargetReleaseOverrideAwGrant' from JSON`,
1631
+ );
1632
+ }
1633
+
1634
+ /** @internal */
1635
+ export const TargetReleaseOverrideAw$inboundSchema: z.ZodType<
1636
+ TargetReleaseOverrideAw,
1637
+ unknown
1638
+ > = z.object({
1639
+ binding: z.lazy(() => TargetReleaseOverrideAwBinding$inboundSchema),
1640
+ description: z.nullable(z.string()).optional(),
1641
+ effect: TargetReleaseOverrideEffect$inboundSchema.optional(),
1642
+ grant: z.lazy(() => TargetReleaseOverrideAwGrant$inboundSchema),
1643
+ label: z.nullable(z.string()).optional(),
1644
+ });
1645
+ /** @internal */
1646
+ export type TargetReleaseOverrideAw$Outbound = {
1647
+ binding: TargetReleaseOverrideAwBinding$Outbound;
1648
+ description?: string | null | undefined;
1649
+ effect?: string | undefined;
1650
+ grant: TargetReleaseOverrideAwGrant$Outbound;
1651
+ label?: string | null | undefined;
1652
+ };
1653
+
1654
+ /** @internal */
1655
+ export const TargetReleaseOverrideAw$outboundSchema: z.ZodType<
1656
+ TargetReleaseOverrideAw$Outbound,
1657
+ TargetReleaseOverrideAw
1658
+ > = z.object({
1659
+ binding: z.lazy(() => TargetReleaseOverrideAwBinding$outboundSchema),
1660
+ description: z.nullable(z.string()).optional(),
1661
+ effect: TargetReleaseOverrideEffect$outboundSchema.optional(),
1662
+ grant: z.lazy(() => TargetReleaseOverrideAwGrant$outboundSchema),
1663
+ label: z.nullable(z.string()).optional(),
1664
+ });
1665
+
1666
+ export function targetReleaseOverrideAwToJSON(
1667
+ targetReleaseOverrideAw: TargetReleaseOverrideAw,
1668
+ ): string {
1669
+ return JSON.stringify(
1670
+ TargetReleaseOverrideAw$outboundSchema.parse(targetReleaseOverrideAw),
1671
+ );
1672
+ }
1673
+ export function targetReleaseOverrideAwFromJSON(
1674
+ jsonString: string,
1675
+ ): SafeParseResult<TargetReleaseOverrideAw, SDKValidationError> {
1676
+ return safeParse(
1677
+ jsonString,
1678
+ (x) => TargetReleaseOverrideAw$inboundSchema.parse(JSON.parse(x)),
1679
+ `Failed to parse 'TargetReleaseOverrideAw' from JSON`,
1680
+ );
1681
+ }
1682
+
1683
+ /** @internal */
1684
+ export const TargetReleaseOverrideAzureResource$inboundSchema: z.ZodType<
1685
+ TargetReleaseOverrideAzureResource,
1686
+ unknown
1687
+ > = z.object({
1688
+ scope: z.string(),
1689
+ });
1690
+ /** @internal */
1691
+ export type TargetReleaseOverrideAzureResource$Outbound = {
1692
+ scope: string;
1693
+ };
1694
+
1695
+ /** @internal */
1696
+ export const TargetReleaseOverrideAzureResource$outboundSchema: z.ZodType<
1697
+ TargetReleaseOverrideAzureResource$Outbound,
1698
+ TargetReleaseOverrideAzureResource
1699
+ > = z.object({
1700
+ scope: z.string(),
1701
+ });
1702
+
1703
+ export function targetReleaseOverrideAzureResourceToJSON(
1704
+ targetReleaseOverrideAzureResource: TargetReleaseOverrideAzureResource,
1705
+ ): string {
1706
+ return JSON.stringify(
1707
+ TargetReleaseOverrideAzureResource$outboundSchema.parse(
1708
+ targetReleaseOverrideAzureResource,
1709
+ ),
1710
+ );
1711
+ }
1712
+ export function targetReleaseOverrideAzureResourceFromJSON(
1713
+ jsonString: string,
1714
+ ): SafeParseResult<TargetReleaseOverrideAzureResource, SDKValidationError> {
1715
+ return safeParse(
1716
+ jsonString,
1717
+ (x) =>
1718
+ TargetReleaseOverrideAzureResource$inboundSchema.parse(JSON.parse(x)),
1719
+ `Failed to parse 'TargetReleaseOverrideAzureResource' from JSON`,
1720
+ );
1721
+ }
1722
+
1723
+ /** @internal */
1724
+ export const TargetReleaseOverrideAzureStack$inboundSchema: z.ZodType<
1725
+ TargetReleaseOverrideAzureStack,
1726
+ unknown
1727
+ > = z.object({
1728
+ scope: z.string(),
1729
+ });
1730
+ /** @internal */
1731
+ export type TargetReleaseOverrideAzureStack$Outbound = {
1732
+ scope: string;
1733
+ };
1734
+
1735
+ /** @internal */
1736
+ export const TargetReleaseOverrideAzureStack$outboundSchema: z.ZodType<
1737
+ TargetReleaseOverrideAzureStack$Outbound,
1738
+ TargetReleaseOverrideAzureStack
1739
+ > = z.object({
1740
+ scope: z.string(),
1741
+ });
1742
+
1743
+ export function targetReleaseOverrideAzureStackToJSON(
1744
+ targetReleaseOverrideAzureStack: TargetReleaseOverrideAzureStack,
1745
+ ): string {
1746
+ return JSON.stringify(
1747
+ TargetReleaseOverrideAzureStack$outboundSchema.parse(
1748
+ targetReleaseOverrideAzureStack,
1749
+ ),
1750
+ );
1751
+ }
1752
+ export function targetReleaseOverrideAzureStackFromJSON(
1753
+ jsonString: string,
1754
+ ): SafeParseResult<TargetReleaseOverrideAzureStack, SDKValidationError> {
1755
+ return safeParse(
1756
+ jsonString,
1757
+ (x) => TargetReleaseOverrideAzureStack$inboundSchema.parse(JSON.parse(x)),
1758
+ `Failed to parse 'TargetReleaseOverrideAzureStack' from JSON`,
1759
+ );
1760
+ }
1761
+
1762
+ /** @internal */
1763
+ export const TargetReleaseOverrideAzureBinding$inboundSchema: z.ZodType<
1764
+ TargetReleaseOverrideAzureBinding,
1765
+ unknown
1766
+ > = z.object({
1767
+ resource: z.lazy(() => TargetReleaseOverrideAzureResource$inboundSchema)
1768
+ .optional(),
1769
+ stack: z.lazy(() => TargetReleaseOverrideAzureStack$inboundSchema).optional(),
1770
+ });
1771
+ /** @internal */
1772
+ export type TargetReleaseOverrideAzureBinding$Outbound = {
1773
+ resource?: TargetReleaseOverrideAzureResource$Outbound | undefined;
1774
+ stack?: TargetReleaseOverrideAzureStack$Outbound | undefined;
1775
+ };
1776
+
1777
+ /** @internal */
1778
+ export const TargetReleaseOverrideAzureBinding$outboundSchema: z.ZodType<
1779
+ TargetReleaseOverrideAzureBinding$Outbound,
1780
+ TargetReleaseOverrideAzureBinding
1781
+ > = z.object({
1782
+ resource: z.lazy(() => TargetReleaseOverrideAzureResource$outboundSchema)
1783
+ .optional(),
1784
+ stack: z.lazy(() => TargetReleaseOverrideAzureStack$outboundSchema)
1785
+ .optional(),
1786
+ });
1787
+
1788
+ export function targetReleaseOverrideAzureBindingToJSON(
1789
+ targetReleaseOverrideAzureBinding: TargetReleaseOverrideAzureBinding,
1790
+ ): string {
1791
+ return JSON.stringify(
1792
+ TargetReleaseOverrideAzureBinding$outboundSchema.parse(
1793
+ targetReleaseOverrideAzureBinding,
1794
+ ),
1795
+ );
1796
+ }
1797
+ export function targetReleaseOverrideAzureBindingFromJSON(
1798
+ jsonString: string,
1799
+ ): SafeParseResult<TargetReleaseOverrideAzureBinding, SDKValidationError> {
1800
+ return safeParse(
1801
+ jsonString,
1802
+ (x) => TargetReleaseOverrideAzureBinding$inboundSchema.parse(JSON.parse(x)),
1803
+ `Failed to parse 'TargetReleaseOverrideAzureBinding' from JSON`,
1804
+ );
1805
+ }
1806
+
1807
+ /** @internal */
1808
+ export const TargetReleaseOverrideAzureGrant$inboundSchema: z.ZodType<
1809
+ TargetReleaseOverrideAzureGrant,
1810
+ unknown
1811
+ > = z.object({
1812
+ actions: z.nullable(z.array(z.string())).optional(),
1813
+ dataActions: z.nullable(z.array(z.string())).optional(),
1814
+ permissions: z.nullable(z.array(z.string())).optional(),
1815
+ predefinedRoles: z.nullable(z.array(z.string())).optional(),
1816
+ residualPermissions: z.nullable(z.array(z.string())).optional(),
1817
+ });
1818
+ /** @internal */
1819
+ export type TargetReleaseOverrideAzureGrant$Outbound = {
1820
+ actions?: Array<string> | null | undefined;
1821
+ dataActions?: Array<string> | null | undefined;
1822
+ permissions?: Array<string> | null | undefined;
1823
+ predefinedRoles?: Array<string> | null | undefined;
1824
+ residualPermissions?: Array<string> | null | undefined;
1825
+ };
1826
+
1827
+ /** @internal */
1828
+ export const TargetReleaseOverrideAzureGrant$outboundSchema: z.ZodType<
1829
+ TargetReleaseOverrideAzureGrant$Outbound,
1830
+ TargetReleaseOverrideAzureGrant
1831
+ > = z.object({
1832
+ actions: z.nullable(z.array(z.string())).optional(),
1833
+ dataActions: z.nullable(z.array(z.string())).optional(),
1834
+ permissions: z.nullable(z.array(z.string())).optional(),
1835
+ predefinedRoles: z.nullable(z.array(z.string())).optional(),
1836
+ residualPermissions: z.nullable(z.array(z.string())).optional(),
1837
+ });
1838
+
1839
+ export function targetReleaseOverrideAzureGrantToJSON(
1840
+ targetReleaseOverrideAzureGrant: TargetReleaseOverrideAzureGrant,
1841
+ ): string {
1842
+ return JSON.stringify(
1843
+ TargetReleaseOverrideAzureGrant$outboundSchema.parse(
1844
+ targetReleaseOverrideAzureGrant,
1845
+ ),
1846
+ );
1847
+ }
1848
+ export function targetReleaseOverrideAzureGrantFromJSON(
1849
+ jsonString: string,
1850
+ ): SafeParseResult<TargetReleaseOverrideAzureGrant, SDKValidationError> {
1851
+ return safeParse(
1852
+ jsonString,
1853
+ (x) => TargetReleaseOverrideAzureGrant$inboundSchema.parse(JSON.parse(x)),
1854
+ `Failed to parse 'TargetReleaseOverrideAzureGrant' from JSON`,
1855
+ );
1856
+ }
1857
+
1858
+ /** @internal */
1859
+ export const TargetReleaseOverrideAzure$inboundSchema: z.ZodType<
1860
+ TargetReleaseOverrideAzure,
1861
+ unknown
1862
+ > = z.object({
1863
+ binding: z.lazy(() => TargetReleaseOverrideAzureBinding$inboundSchema),
1864
+ description: z.nullable(z.string()).optional(),
1865
+ grant: z.lazy(() => TargetReleaseOverrideAzureGrant$inboundSchema),
1866
+ label: z.nullable(z.string()).optional(),
1867
+ });
1868
+ /** @internal */
1869
+ export type TargetReleaseOverrideAzure$Outbound = {
1870
+ binding: TargetReleaseOverrideAzureBinding$Outbound;
1871
+ description?: string | null | undefined;
1872
+ grant: TargetReleaseOverrideAzureGrant$Outbound;
1873
+ label?: string | null | undefined;
1874
+ };
1875
+
1876
+ /** @internal */
1877
+ export const TargetReleaseOverrideAzure$outboundSchema: z.ZodType<
1878
+ TargetReleaseOverrideAzure$Outbound,
1879
+ TargetReleaseOverrideAzure
1880
+ > = z.object({
1881
+ binding: z.lazy(() => TargetReleaseOverrideAzureBinding$outboundSchema),
1882
+ description: z.nullable(z.string()).optional(),
1883
+ grant: z.lazy(() => TargetReleaseOverrideAzureGrant$outboundSchema),
1884
+ label: z.nullable(z.string()).optional(),
1885
+ });
1886
+
1887
+ export function targetReleaseOverrideAzureToJSON(
1888
+ targetReleaseOverrideAzure: TargetReleaseOverrideAzure,
1889
+ ): string {
1890
+ return JSON.stringify(
1891
+ TargetReleaseOverrideAzure$outboundSchema.parse(targetReleaseOverrideAzure),
1892
+ );
1893
+ }
1894
+ export function targetReleaseOverrideAzureFromJSON(
1895
+ jsonString: string,
1896
+ ): SafeParseResult<TargetReleaseOverrideAzure, SDKValidationError> {
1897
+ return safeParse(
1898
+ jsonString,
1899
+ (x) => TargetReleaseOverrideAzure$inboundSchema.parse(JSON.parse(x)),
1900
+ `Failed to parse 'TargetReleaseOverrideAzure' from JSON`,
1901
+ );
1902
+ }
1903
+
1904
+ /** @internal */
1905
+ export const TargetReleaseOverrideConditionResource$inboundSchema: z.ZodType<
1906
+ TargetReleaseOverrideConditionResource,
1907
+ unknown
1908
+ > = z.object({
1909
+ expression: z.string(),
1910
+ title: z.string(),
1911
+ });
1912
+ /** @internal */
1913
+ export type TargetReleaseOverrideConditionResource$Outbound = {
1914
+ expression: string;
1915
+ title: string;
1916
+ };
1917
+
1918
+ /** @internal */
1919
+ export const TargetReleaseOverrideConditionResource$outboundSchema: z.ZodType<
1920
+ TargetReleaseOverrideConditionResource$Outbound,
1921
+ TargetReleaseOverrideConditionResource
1922
+ > = z.object({
1923
+ expression: z.string(),
1924
+ title: z.string(),
1925
+ });
1926
+
1927
+ export function targetReleaseOverrideConditionResourceToJSON(
1928
+ targetReleaseOverrideConditionResource:
1929
+ TargetReleaseOverrideConditionResource,
1930
+ ): string {
1931
+ return JSON.stringify(
1932
+ TargetReleaseOverrideConditionResource$outboundSchema.parse(
1933
+ targetReleaseOverrideConditionResource,
1934
+ ),
1935
+ );
1936
+ }
1937
+ export function targetReleaseOverrideConditionResourceFromJSON(
1938
+ jsonString: string,
1939
+ ): SafeParseResult<TargetReleaseOverrideConditionResource, SDKValidationError> {
1940
+ return safeParse(
1941
+ jsonString,
1942
+ (x) =>
1943
+ TargetReleaseOverrideConditionResource$inboundSchema.parse(JSON.parse(x)),
1944
+ `Failed to parse 'TargetReleaseOverrideConditionResource' from JSON`,
1945
+ );
1946
+ }
1947
+
1948
+ /** @internal */
1949
+ export const TargetReleaseOverrideResourceConditionUnion$inboundSchema:
1950
+ z.ZodType<TargetReleaseOverrideResourceConditionUnion, unknown> = z.union([
1951
+ z.lazy(() => TargetReleaseOverrideConditionResource$inboundSchema),
1952
+ z.string(),
1953
+ ]);
1954
+ /** @internal */
1955
+ export type TargetReleaseOverrideResourceConditionUnion$Outbound =
1956
+ | TargetReleaseOverrideConditionResource$Outbound
1957
+ | string;
1958
+
1959
+ /** @internal */
1960
+ export const TargetReleaseOverrideResourceConditionUnion$outboundSchema:
1961
+ z.ZodType<
1962
+ TargetReleaseOverrideResourceConditionUnion$Outbound,
1963
+ TargetReleaseOverrideResourceConditionUnion
1964
+ > = z.union([
1965
+ z.lazy(() => TargetReleaseOverrideConditionResource$outboundSchema),
1966
+ z.string(),
1967
+ ]);
1968
+
1969
+ export function targetReleaseOverrideResourceConditionUnionToJSON(
1970
+ targetReleaseOverrideResourceConditionUnion:
1971
+ TargetReleaseOverrideResourceConditionUnion,
1972
+ ): string {
1973
+ return JSON.stringify(
1974
+ TargetReleaseOverrideResourceConditionUnion$outboundSchema.parse(
1975
+ targetReleaseOverrideResourceConditionUnion,
1976
+ ),
1977
+ );
1978
+ }
1979
+ export function targetReleaseOverrideResourceConditionUnionFromJSON(
1980
+ jsonString: string,
1981
+ ): SafeParseResult<
1982
+ TargetReleaseOverrideResourceConditionUnion,
1983
+ SDKValidationError
1984
+ > {
1985
+ return safeParse(
1986
+ jsonString,
1987
+ (x) =>
1988
+ TargetReleaseOverrideResourceConditionUnion$inboundSchema.parse(
1989
+ JSON.parse(x),
1990
+ ),
1991
+ `Failed to parse 'TargetReleaseOverrideResourceConditionUnion' from JSON`,
1992
+ );
1993
+ }
1994
+
1995
+ /** @internal */
1996
+ export const TargetReleaseOverrideGcpResource$inboundSchema: z.ZodType<
1997
+ TargetReleaseOverrideGcpResource,
1998
+ unknown
1999
+ > = z.object({
2000
+ condition: z.nullable(
2001
+ z.union([
2002
+ z.lazy(() => TargetReleaseOverrideConditionResource$inboundSchema),
2003
+ z.string(),
2004
+ ]),
2005
+ ).optional(),
2006
+ scope: z.string(),
2007
+ });
2008
+ /** @internal */
2009
+ export type TargetReleaseOverrideGcpResource$Outbound = {
2010
+ condition?:
2011
+ | TargetReleaseOverrideConditionResource$Outbound
2012
+ | string
2013
+ | null
2014
+ | undefined;
2015
+ scope: string;
2016
+ };
2017
+
2018
+ /** @internal */
2019
+ export const TargetReleaseOverrideGcpResource$outboundSchema: z.ZodType<
2020
+ TargetReleaseOverrideGcpResource$Outbound,
2021
+ TargetReleaseOverrideGcpResource
2022
+ > = z.object({
2023
+ condition: z.nullable(
2024
+ z.union([
2025
+ z.lazy(() => TargetReleaseOverrideConditionResource$outboundSchema),
2026
+ z.string(),
2027
+ ]),
2028
+ ).optional(),
2029
+ scope: z.string(),
2030
+ });
2031
+
2032
+ export function targetReleaseOverrideGcpResourceToJSON(
2033
+ targetReleaseOverrideGcpResource: TargetReleaseOverrideGcpResource,
2034
+ ): string {
2035
+ return JSON.stringify(
2036
+ TargetReleaseOverrideGcpResource$outboundSchema.parse(
2037
+ targetReleaseOverrideGcpResource,
2038
+ ),
2039
+ );
2040
+ }
2041
+ export function targetReleaseOverrideGcpResourceFromJSON(
2042
+ jsonString: string,
2043
+ ): SafeParseResult<TargetReleaseOverrideGcpResource, SDKValidationError> {
2044
+ return safeParse(
2045
+ jsonString,
2046
+ (x) => TargetReleaseOverrideGcpResource$inboundSchema.parse(JSON.parse(x)),
2047
+ `Failed to parse 'TargetReleaseOverrideGcpResource' from JSON`,
2048
+ );
2049
+ }
2050
+
2051
+ /** @internal */
2052
+ export const TargetReleaseOverrideCondition$inboundSchema: z.ZodType<
2053
+ TargetReleaseOverrideCondition,
2054
+ unknown
2055
+ > = z.object({
2056
+ expression: z.string(),
2057
+ title: z.string(),
2058
+ });
2059
+ /** @internal */
2060
+ export type TargetReleaseOverrideCondition$Outbound = {
2061
+ expression: string;
2062
+ title: string;
2063
+ };
2064
+
2065
+ /** @internal */
2066
+ export const TargetReleaseOverrideCondition$outboundSchema: z.ZodType<
2067
+ TargetReleaseOverrideCondition$Outbound,
2068
+ TargetReleaseOverrideCondition
2069
+ > = z.object({
2070
+ expression: z.string(),
2071
+ title: z.string(),
2072
+ });
2073
+
2074
+ export function targetReleaseOverrideConditionToJSON(
2075
+ targetReleaseOverrideCondition: TargetReleaseOverrideCondition,
2076
+ ): string {
2077
+ return JSON.stringify(
2078
+ TargetReleaseOverrideCondition$outboundSchema.parse(
2079
+ targetReleaseOverrideCondition,
2080
+ ),
2081
+ );
2082
+ }
2083
+ export function targetReleaseOverrideConditionFromJSON(
2084
+ jsonString: string,
2085
+ ): SafeParseResult<TargetReleaseOverrideCondition, SDKValidationError> {
2086
+ return safeParse(
2087
+ jsonString,
2088
+ (x) => TargetReleaseOverrideCondition$inboundSchema.parse(JSON.parse(x)),
2089
+ `Failed to parse 'TargetReleaseOverrideCondition' from JSON`,
2090
+ );
2091
+ }
2092
+
2093
+ /** @internal */
2094
+ export const TargetReleaseOverrideConditionUnion$inboundSchema: z.ZodType<
2095
+ TargetReleaseOverrideConditionUnion,
2096
+ unknown
2097
+ > = z.union([
2098
+ z.lazy(() => TargetReleaseOverrideCondition$inboundSchema),
2099
+ z.string(),
2100
+ ]);
2101
+ /** @internal */
2102
+ export type TargetReleaseOverrideConditionUnion$Outbound =
2103
+ | TargetReleaseOverrideCondition$Outbound
2104
+ | string;
2105
+
2106
+ /** @internal */
2107
+ export const TargetReleaseOverrideConditionUnion$outboundSchema: z.ZodType<
2108
+ TargetReleaseOverrideConditionUnion$Outbound,
2109
+ TargetReleaseOverrideConditionUnion
2110
+ > = z.union([
2111
+ z.lazy(() => TargetReleaseOverrideCondition$outboundSchema),
2112
+ z.string(),
2113
+ ]);
2114
+
2115
+ export function targetReleaseOverrideConditionUnionToJSON(
2116
+ targetReleaseOverrideConditionUnion: TargetReleaseOverrideConditionUnion,
2117
+ ): string {
2118
+ return JSON.stringify(
2119
+ TargetReleaseOverrideConditionUnion$outboundSchema.parse(
2120
+ targetReleaseOverrideConditionUnion,
2121
+ ),
2122
+ );
2123
+ }
2124
+ export function targetReleaseOverrideConditionUnionFromJSON(
2125
+ jsonString: string,
2126
+ ): SafeParseResult<TargetReleaseOverrideConditionUnion, SDKValidationError> {
2127
+ return safeParse(
2128
+ jsonString,
2129
+ (x) =>
2130
+ TargetReleaseOverrideConditionUnion$inboundSchema.parse(JSON.parse(x)),
2131
+ `Failed to parse 'TargetReleaseOverrideConditionUnion' from JSON`,
2132
+ );
2133
+ }
2134
+
2135
+ /** @internal */
2136
+ export const TargetReleaseOverrideGcpStack$inboundSchema: z.ZodType<
2137
+ TargetReleaseOverrideGcpStack,
2138
+ unknown
2139
+ > = z.object({
2140
+ condition: z.nullable(
2141
+ z.union([
2142
+ z.lazy(() => TargetReleaseOverrideCondition$inboundSchema),
2143
+ z.string(),
2144
+ ]),
2145
+ ).optional(),
2146
+ scope: z.string(),
2147
+ });
2148
+ /** @internal */
2149
+ export type TargetReleaseOverrideGcpStack$Outbound = {
2150
+ condition?:
2151
+ | TargetReleaseOverrideCondition$Outbound
2152
+ | string
2153
+ | null
2154
+ | undefined;
2155
+ scope: string;
2156
+ };
2157
+
2158
+ /** @internal */
2159
+ export const TargetReleaseOverrideGcpStack$outboundSchema: z.ZodType<
2160
+ TargetReleaseOverrideGcpStack$Outbound,
2161
+ TargetReleaseOverrideGcpStack
2162
+ > = z.object({
2163
+ condition: z.nullable(
2164
+ z.union([
2165
+ z.lazy(() => TargetReleaseOverrideCondition$outboundSchema),
2166
+ z.string(),
2167
+ ]),
2168
+ ).optional(),
2169
+ scope: z.string(),
2170
+ });
2171
+
2172
+ export function targetReleaseOverrideGcpStackToJSON(
2173
+ targetReleaseOverrideGcpStack: TargetReleaseOverrideGcpStack,
2174
+ ): string {
2175
+ return JSON.stringify(
2176
+ TargetReleaseOverrideGcpStack$outboundSchema.parse(
2177
+ targetReleaseOverrideGcpStack,
2178
+ ),
2179
+ );
2180
+ }
2181
+ export function targetReleaseOverrideGcpStackFromJSON(
2182
+ jsonString: string,
2183
+ ): SafeParseResult<TargetReleaseOverrideGcpStack, SDKValidationError> {
2184
+ return safeParse(
2185
+ jsonString,
2186
+ (x) => TargetReleaseOverrideGcpStack$inboundSchema.parse(JSON.parse(x)),
2187
+ `Failed to parse 'TargetReleaseOverrideGcpStack' from JSON`,
2188
+ );
2189
+ }
2190
+
2191
+ /** @internal */
2192
+ export const TargetReleaseOverrideGcpBinding$inboundSchema: z.ZodType<
2193
+ TargetReleaseOverrideGcpBinding,
2194
+ unknown
2195
+ > = z.object({
2196
+ resource: z.lazy(() => TargetReleaseOverrideGcpResource$inboundSchema)
2197
+ .optional(),
2198
+ stack: z.lazy(() => TargetReleaseOverrideGcpStack$inboundSchema).optional(),
2199
+ });
2200
+ /** @internal */
2201
+ export type TargetReleaseOverrideGcpBinding$Outbound = {
2202
+ resource?: TargetReleaseOverrideGcpResource$Outbound | undefined;
2203
+ stack?: TargetReleaseOverrideGcpStack$Outbound | undefined;
2204
+ };
2205
+
2206
+ /** @internal */
2207
+ export const TargetReleaseOverrideGcpBinding$outboundSchema: z.ZodType<
2208
+ TargetReleaseOverrideGcpBinding$Outbound,
2209
+ TargetReleaseOverrideGcpBinding
2210
+ > = z.object({
2211
+ resource: z.lazy(() => TargetReleaseOverrideGcpResource$outboundSchema)
2212
+ .optional(),
2213
+ stack: z.lazy(() => TargetReleaseOverrideGcpStack$outboundSchema).optional(),
2214
+ });
2215
+
2216
+ export function targetReleaseOverrideGcpBindingToJSON(
2217
+ targetReleaseOverrideGcpBinding: TargetReleaseOverrideGcpBinding,
2218
+ ): string {
2219
+ return JSON.stringify(
2220
+ TargetReleaseOverrideGcpBinding$outboundSchema.parse(
2221
+ targetReleaseOverrideGcpBinding,
2222
+ ),
2223
+ );
2224
+ }
2225
+ export function targetReleaseOverrideGcpBindingFromJSON(
2226
+ jsonString: string,
2227
+ ): SafeParseResult<TargetReleaseOverrideGcpBinding, SDKValidationError> {
2228
+ return safeParse(
2229
+ jsonString,
2230
+ (x) => TargetReleaseOverrideGcpBinding$inboundSchema.parse(JSON.parse(x)),
2231
+ `Failed to parse 'TargetReleaseOverrideGcpBinding' from JSON`,
2232
+ );
2233
+ }
2234
+
2235
+ /** @internal */
2236
+ export const TargetReleaseOverrideGcpGrant$inboundSchema: z.ZodType<
2237
+ TargetReleaseOverrideGcpGrant,
2238
+ unknown
2239
+ > = z.object({
2240
+ actions: z.nullable(z.array(z.string())).optional(),
2241
+ dataActions: z.nullable(z.array(z.string())).optional(),
2242
+ permissions: z.nullable(z.array(z.string())).optional(),
2243
+ predefinedRoles: z.nullable(z.array(z.string())).optional(),
2244
+ residualPermissions: z.nullable(z.array(z.string())).optional(),
2245
+ });
2246
+ /** @internal */
2247
+ export type TargetReleaseOverrideGcpGrant$Outbound = {
2248
+ actions?: Array<string> | null | undefined;
2249
+ dataActions?: Array<string> | null | undefined;
2250
+ permissions?: Array<string> | null | undefined;
2251
+ predefinedRoles?: Array<string> | null | undefined;
2252
+ residualPermissions?: Array<string> | null | undefined;
2253
+ };
2254
+
2255
+ /** @internal */
2256
+ export const TargetReleaseOverrideGcpGrant$outboundSchema: z.ZodType<
2257
+ TargetReleaseOverrideGcpGrant$Outbound,
2258
+ TargetReleaseOverrideGcpGrant
2259
+ > = z.object({
2260
+ actions: z.nullable(z.array(z.string())).optional(),
2261
+ dataActions: z.nullable(z.array(z.string())).optional(),
2262
+ permissions: z.nullable(z.array(z.string())).optional(),
2263
+ predefinedRoles: z.nullable(z.array(z.string())).optional(),
2264
+ residualPermissions: z.nullable(z.array(z.string())).optional(),
2265
+ });
2266
+
2267
+ export function targetReleaseOverrideGcpGrantToJSON(
2268
+ targetReleaseOverrideGcpGrant: TargetReleaseOverrideGcpGrant,
2269
+ ): string {
2270
+ return JSON.stringify(
2271
+ TargetReleaseOverrideGcpGrant$outboundSchema.parse(
2272
+ targetReleaseOverrideGcpGrant,
2273
+ ),
2274
+ );
2275
+ }
2276
+ export function targetReleaseOverrideGcpGrantFromJSON(
2277
+ jsonString: string,
2278
+ ): SafeParseResult<TargetReleaseOverrideGcpGrant, SDKValidationError> {
2279
+ return safeParse(
2280
+ jsonString,
2281
+ (x) => TargetReleaseOverrideGcpGrant$inboundSchema.parse(JSON.parse(x)),
2282
+ `Failed to parse 'TargetReleaseOverrideGcpGrant' from JSON`,
2283
+ );
2284
+ }
2285
+
2286
+ /** @internal */
2287
+ export const TargetReleaseOverrideGcp$inboundSchema: z.ZodType<
2288
+ TargetReleaseOverrideGcp,
2289
+ unknown
2290
+ > = z.object({
2291
+ binding: z.lazy(() => TargetReleaseOverrideGcpBinding$inboundSchema),
2292
+ description: z.nullable(z.string()).optional(),
2293
+ grant: z.lazy(() => TargetReleaseOverrideGcpGrant$inboundSchema),
2294
+ label: z.nullable(z.string()).optional(),
2295
+ });
2296
+ /** @internal */
2297
+ export type TargetReleaseOverrideGcp$Outbound = {
2298
+ binding: TargetReleaseOverrideGcpBinding$Outbound;
2299
+ description?: string | null | undefined;
2300
+ grant: TargetReleaseOverrideGcpGrant$Outbound;
2301
+ label?: string | null | undefined;
2302
+ };
2303
+
2304
+ /** @internal */
2305
+ export const TargetReleaseOverrideGcp$outboundSchema: z.ZodType<
2306
+ TargetReleaseOverrideGcp$Outbound,
2307
+ TargetReleaseOverrideGcp
2308
+ > = z.object({
2309
+ binding: z.lazy(() => TargetReleaseOverrideGcpBinding$outboundSchema),
2310
+ description: z.nullable(z.string()).optional(),
2311
+ grant: z.lazy(() => TargetReleaseOverrideGcpGrant$outboundSchema),
2312
+ label: z.nullable(z.string()).optional(),
2313
+ });
2314
+
2315
+ export function targetReleaseOverrideGcpToJSON(
2316
+ targetReleaseOverrideGcp: TargetReleaseOverrideGcp,
2317
+ ): string {
2318
+ return JSON.stringify(
2319
+ TargetReleaseOverrideGcp$outboundSchema.parse(targetReleaseOverrideGcp),
2320
+ );
2321
+ }
2322
+ export function targetReleaseOverrideGcpFromJSON(
2323
+ jsonString: string,
2324
+ ): SafeParseResult<TargetReleaseOverrideGcp, SDKValidationError> {
2325
+ return safeParse(
2326
+ jsonString,
2327
+ (x) => TargetReleaseOverrideGcp$inboundSchema.parse(JSON.parse(x)),
2328
+ `Failed to parse 'TargetReleaseOverrideGcp' from JSON`,
2329
+ );
2330
+ }
2331
+
2332
+ /** @internal */
2333
+ export const TargetReleaseOverridePlatforms$inboundSchema: z.ZodType<
2334
+ TargetReleaseOverridePlatforms,
2335
+ unknown
2336
+ > = z.object({
2337
+ aws: z.nullable(z.array(z.lazy(() => TargetReleaseOverrideAw$inboundSchema)))
2338
+ .optional(),
2339
+ azure: z.nullable(
2340
+ z.array(z.lazy(() => TargetReleaseOverrideAzure$inboundSchema)),
2341
+ ).optional(),
2342
+ gcp: z.nullable(z.array(z.lazy(() => TargetReleaseOverrideGcp$inboundSchema)))
2343
+ .optional(),
2344
+ });
2345
+ /** @internal */
2346
+ export type TargetReleaseOverridePlatforms$Outbound = {
2347
+ aws?: Array<TargetReleaseOverrideAw$Outbound> | null | undefined;
2348
+ azure?: Array<TargetReleaseOverrideAzure$Outbound> | null | undefined;
2349
+ gcp?: Array<TargetReleaseOverrideGcp$Outbound> | null | undefined;
2350
+ };
2351
+
2352
+ /** @internal */
2353
+ export const TargetReleaseOverridePlatforms$outboundSchema: z.ZodType<
2354
+ TargetReleaseOverridePlatforms$Outbound,
2355
+ TargetReleaseOverridePlatforms
2356
+ > = z.object({
2357
+ aws: z.nullable(z.array(z.lazy(() => TargetReleaseOverrideAw$outboundSchema)))
2358
+ .optional(),
2359
+ azure: z.nullable(
2360
+ z.array(z.lazy(() => TargetReleaseOverrideAzure$outboundSchema)),
2361
+ ).optional(),
2362
+ gcp: z.nullable(
2363
+ z.array(z.lazy(() => TargetReleaseOverrideGcp$outboundSchema)),
2364
+ ).optional(),
2365
+ });
2366
+
2367
+ export function targetReleaseOverridePlatformsToJSON(
2368
+ targetReleaseOverridePlatforms: TargetReleaseOverridePlatforms,
2369
+ ): string {
2370
+ return JSON.stringify(
2371
+ TargetReleaseOverridePlatforms$outboundSchema.parse(
2372
+ targetReleaseOverridePlatforms,
2373
+ ),
2374
+ );
2375
+ }
2376
+ export function targetReleaseOverridePlatformsFromJSON(
2377
+ jsonString: string,
2378
+ ): SafeParseResult<TargetReleaseOverridePlatforms, SDKValidationError> {
2379
+ return safeParse(
2380
+ jsonString,
2381
+ (x) => TargetReleaseOverridePlatforms$inboundSchema.parse(JSON.parse(x)),
2382
+ `Failed to parse 'TargetReleaseOverridePlatforms' from JSON`,
2383
+ );
2384
+ }
2385
+
2386
+ /** @internal */
2387
+ export const TargetReleaseOverride$inboundSchema: z.ZodType<
2388
+ TargetReleaseOverride,
2389
+ unknown
2390
+ > = z.object({
2391
+ description: z.string(),
2392
+ id: z.string(),
2393
+ platforms: z.lazy(() => TargetReleaseOverridePlatforms$inboundSchema),
2394
+ });
2395
+ /** @internal */
2396
+ export type TargetReleaseOverride$Outbound = {
2397
+ description: string;
2398
+ id: string;
2399
+ platforms: TargetReleaseOverridePlatforms$Outbound;
2400
+ };
2401
+
2402
+ /** @internal */
2403
+ export const TargetReleaseOverride$outboundSchema: z.ZodType<
2404
+ TargetReleaseOverride$Outbound,
2405
+ TargetReleaseOverride
2406
+ > = z.object({
2407
+ description: z.string(),
2408
+ id: z.string(),
2409
+ platforms: z.lazy(() => TargetReleaseOverridePlatforms$outboundSchema),
2410
+ });
2411
+
2412
+ export function targetReleaseOverrideToJSON(
2413
+ targetReleaseOverride: TargetReleaseOverride,
2414
+ ): string {
2415
+ return JSON.stringify(
2416
+ TargetReleaseOverride$outboundSchema.parse(targetReleaseOverride),
2417
+ );
2418
+ }
2419
+ export function targetReleaseOverrideFromJSON(
2420
+ jsonString: string,
2421
+ ): SafeParseResult<TargetReleaseOverride, SDKValidationError> {
2422
+ return safeParse(
2423
+ jsonString,
2424
+ (x) => TargetReleaseOverride$inboundSchema.parse(JSON.parse(x)),
2425
+ `Failed to parse 'TargetReleaseOverride' from JSON`,
2426
+ );
2427
+ }
2428
+
2429
+ /** @internal */
2430
+ export const TargetReleaseOverrideUnion$inboundSchema: z.ZodType<
2431
+ TargetReleaseOverrideUnion,
2432
+ unknown
2433
+ > = z.union([z.lazy(() => TargetReleaseOverride$inboundSchema), z.string()]);
2434
+ /** @internal */
2435
+ export type TargetReleaseOverrideUnion$Outbound =
2436
+ | TargetReleaseOverride$Outbound
2437
+ | string;
2438
+
2439
+ /** @internal */
2440
+ export const TargetReleaseOverrideUnion$outboundSchema: z.ZodType<
2441
+ TargetReleaseOverrideUnion$Outbound,
2442
+ TargetReleaseOverrideUnion
2443
+ > = z.union([z.lazy(() => TargetReleaseOverride$outboundSchema), z.string()]);
2444
+
2445
+ export function targetReleaseOverrideUnionToJSON(
2446
+ targetReleaseOverrideUnion: TargetReleaseOverrideUnion,
2447
+ ): string {
2448
+ return JSON.stringify(
2449
+ TargetReleaseOverrideUnion$outboundSchema.parse(targetReleaseOverrideUnion),
2450
+ );
2451
+ }
2452
+ export function targetReleaseOverrideUnionFromJSON(
2453
+ jsonString: string,
2454
+ ): SafeParseResult<TargetReleaseOverrideUnion, SDKValidationError> {
2455
+ return safeParse(
2456
+ jsonString,
2457
+ (x) => TargetReleaseOverrideUnion$inboundSchema.parse(JSON.parse(x)),
2458
+ `Failed to parse 'TargetReleaseOverrideUnion' from JSON`,
2459
+ );
2460
+ }
2461
+
2462
+ /** @internal */
2463
+ export const TargetReleaseManagement2$inboundSchema: z.ZodType<
2464
+ TargetReleaseManagement2,
2465
+ unknown
2466
+ > = z.object({
2467
+ override: z.record(
2468
+ z.string(),
2469
+ z.array(
2470
+ z.union([z.lazy(() => TargetReleaseOverride$inboundSchema), z.string()]),
2471
+ ),
2472
+ ),
2473
+ });
2474
+ /** @internal */
2475
+ export type TargetReleaseManagement2$Outbound = {
2476
+ override: { [k: string]: Array<TargetReleaseOverride$Outbound | string> };
2477
+ };
2478
+
2479
+ /** @internal */
2480
+ export const TargetReleaseManagement2$outboundSchema: z.ZodType<
2481
+ TargetReleaseManagement2$Outbound,
2482
+ TargetReleaseManagement2
2483
+ > = z.object({
2484
+ override: z.record(
2485
+ z.string(),
2486
+ z.array(
2487
+ z.union([z.lazy(() => TargetReleaseOverride$outboundSchema), z.string()]),
2488
+ ),
2489
+ ),
2490
+ });
2491
+
2492
+ export function targetReleaseManagement2ToJSON(
2493
+ targetReleaseManagement2: TargetReleaseManagement2,
2494
+ ): string {
2495
+ return JSON.stringify(
2496
+ TargetReleaseManagement2$outboundSchema.parse(targetReleaseManagement2),
2497
+ );
2498
+ }
2499
+ export function targetReleaseManagement2FromJSON(
2500
+ jsonString: string,
2501
+ ): SafeParseResult<TargetReleaseManagement2, SDKValidationError> {
2502
+ return safeParse(
2503
+ jsonString,
2504
+ (x) => TargetReleaseManagement2$inboundSchema.parse(JSON.parse(x)),
2505
+ `Failed to parse 'TargetReleaseManagement2' from JSON`,
2506
+ );
2507
+ }
2508
+
2509
+ /** @internal */
2510
+ export const TargetReleaseExtendAwResource$inboundSchema: z.ZodType<
2511
+ TargetReleaseExtendAwResource,
2512
+ unknown
2513
+ > = z.object({
2514
+ condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string())))
2515
+ .optional(),
2516
+ notResources: z.array(z.string()).optional(),
2517
+ resources: z.array(z.string()),
2518
+ });
2519
+ /** @internal */
2520
+ export type TargetReleaseExtendAwResource$Outbound = {
2521
+ condition?: { [k: string]: { [k: string]: string } } | null | undefined;
2522
+ notResources?: Array<string> | undefined;
2523
+ resources: Array<string>;
2524
+ };
2525
+
2526
+ /** @internal */
2527
+ export const TargetReleaseExtendAwResource$outboundSchema: z.ZodType<
2528
+ TargetReleaseExtendAwResource$Outbound,
2529
+ TargetReleaseExtendAwResource
2530
+ > = z.object({
2531
+ condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string())))
2532
+ .optional(),
2533
+ notResources: z.array(z.string()).optional(),
2534
+ resources: z.array(z.string()),
2535
+ });
2536
+
2537
+ export function targetReleaseExtendAwResourceToJSON(
2538
+ targetReleaseExtendAwResource: TargetReleaseExtendAwResource,
2539
+ ): string {
2540
+ return JSON.stringify(
2541
+ TargetReleaseExtendAwResource$outboundSchema.parse(
2542
+ targetReleaseExtendAwResource,
2543
+ ),
2544
+ );
2545
+ }
2546
+ export function targetReleaseExtendAwResourceFromJSON(
2547
+ jsonString: string,
2548
+ ): SafeParseResult<TargetReleaseExtendAwResource, SDKValidationError> {
2549
+ return safeParse(
2550
+ jsonString,
2551
+ (x) => TargetReleaseExtendAwResource$inboundSchema.parse(JSON.parse(x)),
2552
+ `Failed to parse 'TargetReleaseExtendAwResource' from JSON`,
2553
+ );
2554
+ }
2555
+
2556
+ /** @internal */
2557
+ export const TargetReleaseExtendAwStack$inboundSchema: z.ZodType<
2558
+ TargetReleaseExtendAwStack,
2559
+ unknown
2560
+ > = z.object({
2561
+ condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string())))
2562
+ .optional(),
2563
+ notResources: z.array(z.string()).optional(),
2564
+ resources: z.array(z.string()),
2565
+ });
2566
+ /** @internal */
2567
+ export type TargetReleaseExtendAwStack$Outbound = {
2568
+ condition?: { [k: string]: { [k: string]: string } } | null | undefined;
2569
+ notResources?: Array<string> | undefined;
2570
+ resources: Array<string>;
2571
+ };
2572
+
2573
+ /** @internal */
2574
+ export const TargetReleaseExtendAwStack$outboundSchema: z.ZodType<
2575
+ TargetReleaseExtendAwStack$Outbound,
2576
+ TargetReleaseExtendAwStack
2577
+ > = z.object({
2578
+ condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string())))
2579
+ .optional(),
2580
+ notResources: z.array(z.string()).optional(),
2581
+ resources: z.array(z.string()),
2582
+ });
2583
+
2584
+ export function targetReleaseExtendAwStackToJSON(
2585
+ targetReleaseExtendAwStack: TargetReleaseExtendAwStack,
2586
+ ): string {
2587
+ return JSON.stringify(
2588
+ TargetReleaseExtendAwStack$outboundSchema.parse(targetReleaseExtendAwStack),
2589
+ );
2590
+ }
2591
+ export function targetReleaseExtendAwStackFromJSON(
2592
+ jsonString: string,
2593
+ ): SafeParseResult<TargetReleaseExtendAwStack, SDKValidationError> {
2594
+ return safeParse(
2595
+ jsonString,
2596
+ (x) => TargetReleaseExtendAwStack$inboundSchema.parse(JSON.parse(x)),
2597
+ `Failed to parse 'TargetReleaseExtendAwStack' from JSON`,
2598
+ );
2599
+ }
2600
+
2601
+ /** @internal */
2602
+ export const TargetReleaseExtendAwBinding$inboundSchema: z.ZodType<
2603
+ TargetReleaseExtendAwBinding,
2604
+ unknown
2605
+ > = z.object({
2606
+ resource: z.lazy(() => TargetReleaseExtendAwResource$inboundSchema)
2607
+ .optional(),
2608
+ stack: z.lazy(() => TargetReleaseExtendAwStack$inboundSchema).optional(),
2609
+ });
2610
+ /** @internal */
2611
+ export type TargetReleaseExtendAwBinding$Outbound = {
2612
+ resource?: TargetReleaseExtendAwResource$Outbound | undefined;
2613
+ stack?: TargetReleaseExtendAwStack$Outbound | undefined;
2614
+ };
2615
+
2616
+ /** @internal */
2617
+ export const TargetReleaseExtendAwBinding$outboundSchema: z.ZodType<
2618
+ TargetReleaseExtendAwBinding$Outbound,
2619
+ TargetReleaseExtendAwBinding
2620
+ > = z.object({
2621
+ resource: z.lazy(() => TargetReleaseExtendAwResource$outboundSchema)
2622
+ .optional(),
2623
+ stack: z.lazy(() => TargetReleaseExtendAwStack$outboundSchema).optional(),
2624
+ });
2625
+
2626
+ export function targetReleaseExtendAwBindingToJSON(
2627
+ targetReleaseExtendAwBinding: TargetReleaseExtendAwBinding,
2628
+ ): string {
2629
+ return JSON.stringify(
2630
+ TargetReleaseExtendAwBinding$outboundSchema.parse(
2631
+ targetReleaseExtendAwBinding,
2632
+ ),
2633
+ );
2634
+ }
2635
+ export function targetReleaseExtendAwBindingFromJSON(
2636
+ jsonString: string,
2637
+ ): SafeParseResult<TargetReleaseExtendAwBinding, SDKValidationError> {
2638
+ return safeParse(
2639
+ jsonString,
2640
+ (x) => TargetReleaseExtendAwBinding$inboundSchema.parse(JSON.parse(x)),
2641
+ `Failed to parse 'TargetReleaseExtendAwBinding' from JSON`,
2642
+ );
2643
+ }
2644
+
2645
+ /** @internal */
2646
+ export const TargetReleaseExtendEffect$inboundSchema: z.ZodEnum<
2647
+ typeof TargetReleaseExtendEffect
2648
+ > = z.enum(TargetReleaseExtendEffect);
2649
+ /** @internal */
2650
+ export const TargetReleaseExtendEffect$outboundSchema: z.ZodEnum<
2651
+ typeof TargetReleaseExtendEffect
2652
+ > = TargetReleaseExtendEffect$inboundSchema;
2653
+
2654
+ /** @internal */
2655
+ export const TargetReleaseExtendAwGrant$inboundSchema: z.ZodType<
2656
+ TargetReleaseExtendAwGrant,
2657
+ unknown
2658
+ > = z.object({
2659
+ actions: z.nullable(z.array(z.string())).optional(),
2660
+ dataActions: z.nullable(z.array(z.string())).optional(),
2661
+ permissions: z.nullable(z.array(z.string())).optional(),
2662
+ predefinedRoles: z.nullable(z.array(z.string())).optional(),
2663
+ residualPermissions: z.nullable(z.array(z.string())).optional(),
2664
+ });
2665
+ /** @internal */
2666
+ export type TargetReleaseExtendAwGrant$Outbound = {
2667
+ actions?: Array<string> | null | undefined;
2668
+ dataActions?: Array<string> | null | undefined;
2669
+ permissions?: Array<string> | null | undefined;
2670
+ predefinedRoles?: Array<string> | null | undefined;
2671
+ residualPermissions?: Array<string> | null | undefined;
2672
+ };
2673
+
2674
+ /** @internal */
2675
+ export const TargetReleaseExtendAwGrant$outboundSchema: z.ZodType<
2676
+ TargetReleaseExtendAwGrant$Outbound,
2677
+ TargetReleaseExtendAwGrant
2678
+ > = z.object({
2679
+ actions: z.nullable(z.array(z.string())).optional(),
2680
+ dataActions: z.nullable(z.array(z.string())).optional(),
2681
+ permissions: z.nullable(z.array(z.string())).optional(),
2682
+ predefinedRoles: z.nullable(z.array(z.string())).optional(),
2683
+ residualPermissions: z.nullable(z.array(z.string())).optional(),
2684
+ });
2685
+
2686
+ export function targetReleaseExtendAwGrantToJSON(
2687
+ targetReleaseExtendAwGrant: TargetReleaseExtendAwGrant,
2688
+ ): string {
2689
+ return JSON.stringify(
2690
+ TargetReleaseExtendAwGrant$outboundSchema.parse(targetReleaseExtendAwGrant),
2691
+ );
2692
+ }
2693
+ export function targetReleaseExtendAwGrantFromJSON(
2694
+ jsonString: string,
2695
+ ): SafeParseResult<TargetReleaseExtendAwGrant, SDKValidationError> {
2696
+ return safeParse(
2697
+ jsonString,
2698
+ (x) => TargetReleaseExtendAwGrant$inboundSchema.parse(JSON.parse(x)),
2699
+ `Failed to parse 'TargetReleaseExtendAwGrant' from JSON`,
2700
+ );
2701
+ }
2702
+
2703
+ /** @internal */
2704
+ export const TargetReleaseExtendAw$inboundSchema: z.ZodType<
2705
+ TargetReleaseExtendAw,
2706
+ unknown
2707
+ > = z.object({
2708
+ binding: z.lazy(() => TargetReleaseExtendAwBinding$inboundSchema),
2709
+ description: z.nullable(z.string()).optional(),
2710
+ effect: TargetReleaseExtendEffect$inboundSchema.optional(),
2711
+ grant: z.lazy(() => TargetReleaseExtendAwGrant$inboundSchema),
2712
+ label: z.nullable(z.string()).optional(),
2713
+ });
2714
+ /** @internal */
2715
+ export type TargetReleaseExtendAw$Outbound = {
2716
+ binding: TargetReleaseExtendAwBinding$Outbound;
2717
+ description?: string | null | undefined;
2718
+ effect?: string | undefined;
2719
+ grant: TargetReleaseExtendAwGrant$Outbound;
2720
+ label?: string | null | undefined;
2721
+ };
2722
+
2723
+ /** @internal */
2724
+ export const TargetReleaseExtendAw$outboundSchema: z.ZodType<
2725
+ TargetReleaseExtendAw$Outbound,
2726
+ TargetReleaseExtendAw
2727
+ > = z.object({
2728
+ binding: z.lazy(() => TargetReleaseExtendAwBinding$outboundSchema),
2729
+ description: z.nullable(z.string()).optional(),
2730
+ effect: TargetReleaseExtendEffect$outboundSchema.optional(),
2731
+ grant: z.lazy(() => TargetReleaseExtendAwGrant$outboundSchema),
2732
+ label: z.nullable(z.string()).optional(),
2733
+ });
2734
+
2735
+ export function targetReleaseExtendAwToJSON(
2736
+ targetReleaseExtendAw: TargetReleaseExtendAw,
2737
+ ): string {
2738
+ return JSON.stringify(
2739
+ TargetReleaseExtendAw$outboundSchema.parse(targetReleaseExtendAw),
2740
+ );
2741
+ }
2742
+ export function targetReleaseExtendAwFromJSON(
2743
+ jsonString: string,
2744
+ ): SafeParseResult<TargetReleaseExtendAw, SDKValidationError> {
2745
+ return safeParse(
2746
+ jsonString,
2747
+ (x) => TargetReleaseExtendAw$inboundSchema.parse(JSON.parse(x)),
2748
+ `Failed to parse 'TargetReleaseExtendAw' from JSON`,
2749
+ );
2750
+ }
2751
+
2752
+ /** @internal */
2753
+ export const TargetReleaseExtendAzureResource$inboundSchema: z.ZodType<
2754
+ TargetReleaseExtendAzureResource,
2755
+ unknown
2756
+ > = z.object({
2757
+ scope: z.string(),
2758
+ });
2759
+ /** @internal */
2760
+ export type TargetReleaseExtendAzureResource$Outbound = {
2761
+ scope: string;
2762
+ };
2763
+
2764
+ /** @internal */
2765
+ export const TargetReleaseExtendAzureResource$outboundSchema: z.ZodType<
2766
+ TargetReleaseExtendAzureResource$Outbound,
2767
+ TargetReleaseExtendAzureResource
2768
+ > = z.object({
2769
+ scope: z.string(),
2770
+ });
2771
+
2772
+ export function targetReleaseExtendAzureResourceToJSON(
2773
+ targetReleaseExtendAzureResource: TargetReleaseExtendAzureResource,
2774
+ ): string {
2775
+ return JSON.stringify(
2776
+ TargetReleaseExtendAzureResource$outboundSchema.parse(
2777
+ targetReleaseExtendAzureResource,
2778
+ ),
2779
+ );
2780
+ }
2781
+ export function targetReleaseExtendAzureResourceFromJSON(
2782
+ jsonString: string,
2783
+ ): SafeParseResult<TargetReleaseExtendAzureResource, SDKValidationError> {
2784
+ return safeParse(
2785
+ jsonString,
2786
+ (x) => TargetReleaseExtendAzureResource$inboundSchema.parse(JSON.parse(x)),
2787
+ `Failed to parse 'TargetReleaseExtendAzureResource' from JSON`,
2788
+ );
2789
+ }
2790
+
2791
+ /** @internal */
2792
+ export const TargetReleaseExtendAzureStack$inboundSchema: z.ZodType<
2793
+ TargetReleaseExtendAzureStack,
2794
+ unknown
2795
+ > = z.object({
2796
+ scope: z.string(),
2797
+ });
2798
+ /** @internal */
2799
+ export type TargetReleaseExtendAzureStack$Outbound = {
2800
+ scope: string;
2801
+ };
2802
+
2803
+ /** @internal */
2804
+ export const TargetReleaseExtendAzureStack$outboundSchema: z.ZodType<
2805
+ TargetReleaseExtendAzureStack$Outbound,
2806
+ TargetReleaseExtendAzureStack
2807
+ > = z.object({
2808
+ scope: z.string(),
2809
+ });
2810
+
2811
+ export function targetReleaseExtendAzureStackToJSON(
2812
+ targetReleaseExtendAzureStack: TargetReleaseExtendAzureStack,
2813
+ ): string {
2814
+ return JSON.stringify(
2815
+ TargetReleaseExtendAzureStack$outboundSchema.parse(
2816
+ targetReleaseExtendAzureStack,
2817
+ ),
2818
+ );
2819
+ }
2820
+ export function targetReleaseExtendAzureStackFromJSON(
2821
+ jsonString: string,
2822
+ ): SafeParseResult<TargetReleaseExtendAzureStack, SDKValidationError> {
2823
+ return safeParse(
2824
+ jsonString,
2825
+ (x) => TargetReleaseExtendAzureStack$inboundSchema.parse(JSON.parse(x)),
2826
+ `Failed to parse 'TargetReleaseExtendAzureStack' from JSON`,
2827
+ );
2828
+ }
2829
+
2830
+ /** @internal */
2831
+ export const TargetReleaseExtendAzureBinding$inboundSchema: z.ZodType<
2832
+ TargetReleaseExtendAzureBinding,
2833
+ unknown
2834
+ > = z.object({
2835
+ resource: z.lazy(() => TargetReleaseExtendAzureResource$inboundSchema)
2836
+ .optional(),
2837
+ stack: z.lazy(() => TargetReleaseExtendAzureStack$inboundSchema).optional(),
2838
+ });
2839
+ /** @internal */
2840
+ export type TargetReleaseExtendAzureBinding$Outbound = {
2841
+ resource?: TargetReleaseExtendAzureResource$Outbound | undefined;
2842
+ stack?: TargetReleaseExtendAzureStack$Outbound | undefined;
2843
+ };
2844
+
2845
+ /** @internal */
2846
+ export const TargetReleaseExtendAzureBinding$outboundSchema: z.ZodType<
2847
+ TargetReleaseExtendAzureBinding$Outbound,
2848
+ TargetReleaseExtendAzureBinding
2849
+ > = z.object({
2850
+ resource: z.lazy(() => TargetReleaseExtendAzureResource$outboundSchema)
2851
+ .optional(),
2852
+ stack: z.lazy(() => TargetReleaseExtendAzureStack$outboundSchema).optional(),
2853
+ });
2854
+
2855
+ export function targetReleaseExtendAzureBindingToJSON(
2856
+ targetReleaseExtendAzureBinding: TargetReleaseExtendAzureBinding,
2857
+ ): string {
2858
+ return JSON.stringify(
2859
+ TargetReleaseExtendAzureBinding$outboundSchema.parse(
2860
+ targetReleaseExtendAzureBinding,
2861
+ ),
2862
+ );
2863
+ }
2864
+ export function targetReleaseExtendAzureBindingFromJSON(
2865
+ jsonString: string,
2866
+ ): SafeParseResult<TargetReleaseExtendAzureBinding, SDKValidationError> {
2867
+ return safeParse(
2868
+ jsonString,
2869
+ (x) => TargetReleaseExtendAzureBinding$inboundSchema.parse(JSON.parse(x)),
2870
+ `Failed to parse 'TargetReleaseExtendAzureBinding' from JSON`,
2871
+ );
2872
+ }
2873
+
2874
+ /** @internal */
2875
+ export const TargetReleaseExtendAzureGrant$inboundSchema: z.ZodType<
2876
+ TargetReleaseExtendAzureGrant,
2877
+ unknown
2878
+ > = z.object({
2879
+ actions: z.nullable(z.array(z.string())).optional(),
2880
+ dataActions: z.nullable(z.array(z.string())).optional(),
2881
+ permissions: z.nullable(z.array(z.string())).optional(),
2882
+ predefinedRoles: z.nullable(z.array(z.string())).optional(),
2883
+ residualPermissions: z.nullable(z.array(z.string())).optional(),
2884
+ });
2885
+ /** @internal */
2886
+ export type TargetReleaseExtendAzureGrant$Outbound = {
2887
+ actions?: Array<string> | null | undefined;
2888
+ dataActions?: Array<string> | null | undefined;
2889
+ permissions?: Array<string> | null | undefined;
2890
+ predefinedRoles?: Array<string> | null | undefined;
2891
+ residualPermissions?: Array<string> | null | undefined;
2892
+ };
2893
+
2894
+ /** @internal */
2895
+ export const TargetReleaseExtendAzureGrant$outboundSchema: z.ZodType<
2896
+ TargetReleaseExtendAzureGrant$Outbound,
2897
+ TargetReleaseExtendAzureGrant
2898
+ > = z.object({
2899
+ actions: z.nullable(z.array(z.string())).optional(),
2900
+ dataActions: z.nullable(z.array(z.string())).optional(),
2901
+ permissions: z.nullable(z.array(z.string())).optional(),
2902
+ predefinedRoles: z.nullable(z.array(z.string())).optional(),
2903
+ residualPermissions: z.nullable(z.array(z.string())).optional(),
2904
+ });
2905
+
2906
+ export function targetReleaseExtendAzureGrantToJSON(
2907
+ targetReleaseExtendAzureGrant: TargetReleaseExtendAzureGrant,
2908
+ ): string {
2909
+ return JSON.stringify(
2910
+ TargetReleaseExtendAzureGrant$outboundSchema.parse(
2911
+ targetReleaseExtendAzureGrant,
2912
+ ),
2913
+ );
2914
+ }
2915
+ export function targetReleaseExtendAzureGrantFromJSON(
2916
+ jsonString: string,
2917
+ ): SafeParseResult<TargetReleaseExtendAzureGrant, SDKValidationError> {
2918
+ return safeParse(
2919
+ jsonString,
2920
+ (x) => TargetReleaseExtendAzureGrant$inboundSchema.parse(JSON.parse(x)),
2921
+ `Failed to parse 'TargetReleaseExtendAzureGrant' from JSON`,
2922
+ );
2923
+ }
2924
+
2925
+ /** @internal */
2926
+ export const TargetReleaseExtendAzure$inboundSchema: z.ZodType<
2927
+ TargetReleaseExtendAzure,
2928
+ unknown
2929
+ > = z.object({
2930
+ binding: z.lazy(() => TargetReleaseExtendAzureBinding$inboundSchema),
2931
+ description: z.nullable(z.string()).optional(),
2932
+ grant: z.lazy(() => TargetReleaseExtendAzureGrant$inboundSchema),
2933
+ label: z.nullable(z.string()).optional(),
2934
+ });
2935
+ /** @internal */
2936
+ export type TargetReleaseExtendAzure$Outbound = {
2937
+ binding: TargetReleaseExtendAzureBinding$Outbound;
2938
+ description?: string | null | undefined;
2939
+ grant: TargetReleaseExtendAzureGrant$Outbound;
2940
+ label?: string | null | undefined;
2941
+ };
2942
+
2943
+ /** @internal */
2944
+ export const TargetReleaseExtendAzure$outboundSchema: z.ZodType<
2945
+ TargetReleaseExtendAzure$Outbound,
2946
+ TargetReleaseExtendAzure
2947
+ > = z.object({
2948
+ binding: z.lazy(() => TargetReleaseExtendAzureBinding$outboundSchema),
2949
+ description: z.nullable(z.string()).optional(),
2950
+ grant: z.lazy(() => TargetReleaseExtendAzureGrant$outboundSchema),
2951
+ label: z.nullable(z.string()).optional(),
2952
+ });
2953
+
2954
+ export function targetReleaseExtendAzureToJSON(
2955
+ targetReleaseExtendAzure: TargetReleaseExtendAzure,
2956
+ ): string {
2957
+ return JSON.stringify(
2958
+ TargetReleaseExtendAzure$outboundSchema.parse(targetReleaseExtendAzure),
2959
+ );
2960
+ }
2961
+ export function targetReleaseExtendAzureFromJSON(
2962
+ jsonString: string,
2963
+ ): SafeParseResult<TargetReleaseExtendAzure, SDKValidationError> {
2964
+ return safeParse(
2965
+ jsonString,
2966
+ (x) => TargetReleaseExtendAzure$inboundSchema.parse(JSON.parse(x)),
2967
+ `Failed to parse 'TargetReleaseExtendAzure' from JSON`,
2968
+ );
2969
+ }
2970
+
2971
+ /** @internal */
2972
+ export const TargetReleaseExtendConditionResource$inboundSchema: z.ZodType<
2973
+ TargetReleaseExtendConditionResource,
2974
+ unknown
2975
+ > = z.object({
2976
+ expression: z.string(),
2977
+ title: z.string(),
2978
+ });
2979
+ /** @internal */
2980
+ export type TargetReleaseExtendConditionResource$Outbound = {
2981
+ expression: string;
2982
+ title: string;
2983
+ };
2984
+
2985
+ /** @internal */
2986
+ export const TargetReleaseExtendConditionResource$outboundSchema: z.ZodType<
2987
+ TargetReleaseExtendConditionResource$Outbound,
2988
+ TargetReleaseExtendConditionResource
2989
+ > = z.object({
2990
+ expression: z.string(),
2991
+ title: z.string(),
2992
+ });
2993
+
2994
+ export function targetReleaseExtendConditionResourceToJSON(
2995
+ targetReleaseExtendConditionResource: TargetReleaseExtendConditionResource,
2996
+ ): string {
2997
+ return JSON.stringify(
2998
+ TargetReleaseExtendConditionResource$outboundSchema.parse(
2999
+ targetReleaseExtendConditionResource,
3000
+ ),
3001
+ );
3002
+ }
3003
+ export function targetReleaseExtendConditionResourceFromJSON(
3004
+ jsonString: string,
3005
+ ): SafeParseResult<TargetReleaseExtendConditionResource, SDKValidationError> {
3006
+ return safeParse(
3007
+ jsonString,
3008
+ (x) =>
3009
+ TargetReleaseExtendConditionResource$inboundSchema.parse(JSON.parse(x)),
3010
+ `Failed to parse 'TargetReleaseExtendConditionResource' from JSON`,
3011
+ );
3012
+ }
3013
+
3014
+ /** @internal */
3015
+ export const TargetReleaseExtendResourceConditionUnion$inboundSchema: z.ZodType<
3016
+ TargetReleaseExtendResourceConditionUnion,
3017
+ unknown
3018
+ > = z.union([
3019
+ z.lazy(() => TargetReleaseExtendConditionResource$inboundSchema),
3020
+ z.string(),
3021
+ ]);
3022
+ /** @internal */
3023
+ export type TargetReleaseExtendResourceConditionUnion$Outbound =
3024
+ | TargetReleaseExtendConditionResource$Outbound
3025
+ | string;
3026
+
3027
+ /** @internal */
3028
+ export const TargetReleaseExtendResourceConditionUnion$outboundSchema:
3029
+ z.ZodType<
3030
+ TargetReleaseExtendResourceConditionUnion$Outbound,
3031
+ TargetReleaseExtendResourceConditionUnion
3032
+ > = z.union([
3033
+ z.lazy(() => TargetReleaseExtendConditionResource$outboundSchema),
3034
+ z.string(),
3035
+ ]);
3036
+
3037
+ export function targetReleaseExtendResourceConditionUnionToJSON(
3038
+ targetReleaseExtendResourceConditionUnion:
3039
+ TargetReleaseExtendResourceConditionUnion,
3040
+ ): string {
3041
+ return JSON.stringify(
3042
+ TargetReleaseExtendResourceConditionUnion$outboundSchema.parse(
3043
+ targetReleaseExtendResourceConditionUnion,
3044
+ ),
3045
+ );
3046
+ }
3047
+ export function targetReleaseExtendResourceConditionUnionFromJSON(
3048
+ jsonString: string,
3049
+ ): SafeParseResult<
3050
+ TargetReleaseExtendResourceConditionUnion,
3051
+ SDKValidationError
3052
+ > {
3053
+ return safeParse(
3054
+ jsonString,
3055
+ (x) =>
3056
+ TargetReleaseExtendResourceConditionUnion$inboundSchema.parse(
3057
+ JSON.parse(x),
3058
+ ),
3059
+ `Failed to parse 'TargetReleaseExtendResourceConditionUnion' from JSON`,
3060
+ );
3061
+ }
3062
+
3063
+ /** @internal */
3064
+ export const TargetReleaseExtendGcpResource$inboundSchema: z.ZodType<
3065
+ TargetReleaseExtendGcpResource,
3066
+ unknown
3067
+ > = z.object({
3068
+ condition: z.nullable(
3069
+ z.union([
3070
+ z.lazy(() => TargetReleaseExtendConditionResource$inboundSchema),
3071
+ z.string(),
3072
+ ]),
3073
+ ).optional(),
3074
+ scope: z.string(),
3075
+ });
3076
+ /** @internal */
3077
+ export type TargetReleaseExtendGcpResource$Outbound = {
3078
+ condition?:
3079
+ | TargetReleaseExtendConditionResource$Outbound
3080
+ | string
3081
+ | null
3082
+ | undefined;
3083
+ scope: string;
3084
+ };
3085
+
3086
+ /** @internal */
3087
+ export const TargetReleaseExtendGcpResource$outboundSchema: z.ZodType<
3088
+ TargetReleaseExtendGcpResource$Outbound,
3089
+ TargetReleaseExtendGcpResource
3090
+ > = z.object({
3091
+ condition: z.nullable(
3092
+ z.union([
3093
+ z.lazy(() => TargetReleaseExtendConditionResource$outboundSchema),
3094
+ z.string(),
3095
+ ]),
3096
+ ).optional(),
3097
+ scope: z.string(),
3098
+ });
3099
+
3100
+ export function targetReleaseExtendGcpResourceToJSON(
3101
+ targetReleaseExtendGcpResource: TargetReleaseExtendGcpResource,
3102
+ ): string {
3103
+ return JSON.stringify(
3104
+ TargetReleaseExtendGcpResource$outboundSchema.parse(
3105
+ targetReleaseExtendGcpResource,
3106
+ ),
3107
+ );
3108
+ }
3109
+ export function targetReleaseExtendGcpResourceFromJSON(
3110
+ jsonString: string,
3111
+ ): SafeParseResult<TargetReleaseExtendGcpResource, SDKValidationError> {
3112
+ return safeParse(
3113
+ jsonString,
3114
+ (x) => TargetReleaseExtendGcpResource$inboundSchema.parse(JSON.parse(x)),
3115
+ `Failed to parse 'TargetReleaseExtendGcpResource' from JSON`,
3116
+ );
3117
+ }
3118
+
3119
+ /** @internal */
3120
+ export const TargetReleaseExtendCondition$inboundSchema: z.ZodType<
3121
+ TargetReleaseExtendCondition,
3122
+ unknown
3123
+ > = z.object({
3124
+ expression: z.string(),
3125
+ title: z.string(),
3126
+ });
3127
+ /** @internal */
3128
+ export type TargetReleaseExtendCondition$Outbound = {
3129
+ expression: string;
3130
+ title: string;
3131
+ };
3132
+
3133
+ /** @internal */
3134
+ export const TargetReleaseExtendCondition$outboundSchema: z.ZodType<
3135
+ TargetReleaseExtendCondition$Outbound,
3136
+ TargetReleaseExtendCondition
3137
+ > = z.object({
3138
+ expression: z.string(),
3139
+ title: z.string(),
3140
+ });
3141
+
3142
+ export function targetReleaseExtendConditionToJSON(
3143
+ targetReleaseExtendCondition: TargetReleaseExtendCondition,
3144
+ ): string {
3145
+ return JSON.stringify(
3146
+ TargetReleaseExtendCondition$outboundSchema.parse(
3147
+ targetReleaseExtendCondition,
3148
+ ),
3149
+ );
3150
+ }
3151
+ export function targetReleaseExtendConditionFromJSON(
3152
+ jsonString: string,
3153
+ ): SafeParseResult<TargetReleaseExtendCondition, SDKValidationError> {
3154
+ return safeParse(
3155
+ jsonString,
3156
+ (x) => TargetReleaseExtendCondition$inboundSchema.parse(JSON.parse(x)),
3157
+ `Failed to parse 'TargetReleaseExtendCondition' from JSON`,
3158
+ );
3159
+ }
3160
+
3161
+ /** @internal */
3162
+ export const TargetReleaseExtendConditionUnion$inboundSchema: z.ZodType<
3163
+ TargetReleaseExtendConditionUnion,
3164
+ unknown
3165
+ > = z.union([
3166
+ z.lazy(() => TargetReleaseExtendCondition$inboundSchema),
3167
+ z.string(),
3168
+ ]);
3169
+ /** @internal */
3170
+ export type TargetReleaseExtendConditionUnion$Outbound =
3171
+ | TargetReleaseExtendCondition$Outbound
3172
+ | string;
3173
+
3174
+ /** @internal */
3175
+ export const TargetReleaseExtendConditionUnion$outboundSchema: z.ZodType<
3176
+ TargetReleaseExtendConditionUnion$Outbound,
3177
+ TargetReleaseExtendConditionUnion
3178
+ > = z.union([
3179
+ z.lazy(() => TargetReleaseExtendCondition$outboundSchema),
3180
+ z.string(),
3181
+ ]);
3182
+
3183
+ export function targetReleaseExtendConditionUnionToJSON(
3184
+ targetReleaseExtendConditionUnion: TargetReleaseExtendConditionUnion,
3185
+ ): string {
3186
+ return JSON.stringify(
3187
+ TargetReleaseExtendConditionUnion$outboundSchema.parse(
3188
+ targetReleaseExtendConditionUnion,
3189
+ ),
3190
+ );
3191
+ }
3192
+ export function targetReleaseExtendConditionUnionFromJSON(
3193
+ jsonString: string,
3194
+ ): SafeParseResult<TargetReleaseExtendConditionUnion, SDKValidationError> {
3195
+ return safeParse(
3196
+ jsonString,
3197
+ (x) => TargetReleaseExtendConditionUnion$inboundSchema.parse(JSON.parse(x)),
3198
+ `Failed to parse 'TargetReleaseExtendConditionUnion' from JSON`,
3199
+ );
3200
+ }
3201
+
3202
+ /** @internal */
3203
+ export const TargetReleaseExtendGcpStack$inboundSchema: z.ZodType<
3204
+ TargetReleaseExtendGcpStack,
3205
+ unknown
3206
+ > = z.object({
3207
+ condition: z.nullable(
3208
+ z.union([
3209
+ z.lazy(() => TargetReleaseExtendCondition$inboundSchema),
3210
+ z.string(),
3211
+ ]),
3212
+ ).optional(),
3213
+ scope: z.string(),
3214
+ });
3215
+ /** @internal */
3216
+ export type TargetReleaseExtendGcpStack$Outbound = {
3217
+ condition?: TargetReleaseExtendCondition$Outbound | string | null | undefined;
3218
+ scope: string;
3219
+ };
3220
+
3221
+ /** @internal */
3222
+ export const TargetReleaseExtendGcpStack$outboundSchema: z.ZodType<
3223
+ TargetReleaseExtendGcpStack$Outbound,
3224
+ TargetReleaseExtendGcpStack
3225
+ > = z.object({
3226
+ condition: z.nullable(
3227
+ z.union([
3228
+ z.lazy(() => TargetReleaseExtendCondition$outboundSchema),
3229
+ z.string(),
3230
+ ]),
3231
+ ).optional(),
3232
+ scope: z.string(),
3233
+ });
3234
+
3235
+ export function targetReleaseExtendGcpStackToJSON(
3236
+ targetReleaseExtendGcpStack: TargetReleaseExtendGcpStack,
3237
+ ): string {
3238
+ return JSON.stringify(
3239
+ TargetReleaseExtendGcpStack$outboundSchema.parse(
3240
+ targetReleaseExtendGcpStack,
3241
+ ),
3242
+ );
3243
+ }
3244
+ export function targetReleaseExtendGcpStackFromJSON(
3245
+ jsonString: string,
3246
+ ): SafeParseResult<TargetReleaseExtendGcpStack, SDKValidationError> {
3247
+ return safeParse(
3248
+ jsonString,
3249
+ (x) => TargetReleaseExtendGcpStack$inboundSchema.parse(JSON.parse(x)),
3250
+ `Failed to parse 'TargetReleaseExtendGcpStack' from JSON`,
3251
+ );
3252
+ }
3253
+
3254
+ /** @internal */
3255
+ export const TargetReleaseExtendGcpBinding$inboundSchema: z.ZodType<
3256
+ TargetReleaseExtendGcpBinding,
3257
+ unknown
3258
+ > = z.object({
3259
+ resource: z.lazy(() => TargetReleaseExtendGcpResource$inboundSchema)
3260
+ .optional(),
3261
+ stack: z.lazy(() => TargetReleaseExtendGcpStack$inboundSchema).optional(),
3262
+ });
3263
+ /** @internal */
3264
+ export type TargetReleaseExtendGcpBinding$Outbound = {
3265
+ resource?: TargetReleaseExtendGcpResource$Outbound | undefined;
3266
+ stack?: TargetReleaseExtendGcpStack$Outbound | undefined;
3267
+ };
3268
+
3269
+ /** @internal */
3270
+ export const TargetReleaseExtendGcpBinding$outboundSchema: z.ZodType<
3271
+ TargetReleaseExtendGcpBinding$Outbound,
3272
+ TargetReleaseExtendGcpBinding
3273
+ > = z.object({
3274
+ resource: z.lazy(() => TargetReleaseExtendGcpResource$outboundSchema)
3275
+ .optional(),
3276
+ stack: z.lazy(() => TargetReleaseExtendGcpStack$outboundSchema).optional(),
3277
+ });
3278
+
3279
+ export function targetReleaseExtendGcpBindingToJSON(
3280
+ targetReleaseExtendGcpBinding: TargetReleaseExtendGcpBinding,
3281
+ ): string {
3282
+ return JSON.stringify(
3283
+ TargetReleaseExtendGcpBinding$outboundSchema.parse(
3284
+ targetReleaseExtendGcpBinding,
3285
+ ),
3286
+ );
3287
+ }
3288
+ export function targetReleaseExtendGcpBindingFromJSON(
3289
+ jsonString: string,
3290
+ ): SafeParseResult<TargetReleaseExtendGcpBinding, SDKValidationError> {
3291
+ return safeParse(
3292
+ jsonString,
3293
+ (x) => TargetReleaseExtendGcpBinding$inboundSchema.parse(JSON.parse(x)),
3294
+ `Failed to parse 'TargetReleaseExtendGcpBinding' from JSON`,
3295
+ );
3296
+ }
3297
+
3298
+ /** @internal */
3299
+ export const TargetReleaseExtendGcpGrant$inboundSchema: z.ZodType<
3300
+ TargetReleaseExtendGcpGrant,
3301
+ unknown
3302
+ > = z.object({
3303
+ actions: z.nullable(z.array(z.string())).optional(),
3304
+ dataActions: z.nullable(z.array(z.string())).optional(),
3305
+ permissions: z.nullable(z.array(z.string())).optional(),
3306
+ predefinedRoles: z.nullable(z.array(z.string())).optional(),
3307
+ residualPermissions: z.nullable(z.array(z.string())).optional(),
3308
+ });
3309
+ /** @internal */
3310
+ export type TargetReleaseExtendGcpGrant$Outbound = {
3311
+ actions?: Array<string> | null | undefined;
3312
+ dataActions?: Array<string> | null | undefined;
3313
+ permissions?: Array<string> | null | undefined;
3314
+ predefinedRoles?: Array<string> | null | undefined;
3315
+ residualPermissions?: Array<string> | null | undefined;
3316
+ };
3317
+
3318
+ /** @internal */
3319
+ export const TargetReleaseExtendGcpGrant$outboundSchema: z.ZodType<
3320
+ TargetReleaseExtendGcpGrant$Outbound,
3321
+ TargetReleaseExtendGcpGrant
3322
+ > = z.object({
3323
+ actions: z.nullable(z.array(z.string())).optional(),
3324
+ dataActions: z.nullable(z.array(z.string())).optional(),
3325
+ permissions: z.nullable(z.array(z.string())).optional(),
3326
+ predefinedRoles: z.nullable(z.array(z.string())).optional(),
3327
+ residualPermissions: z.nullable(z.array(z.string())).optional(),
3328
+ });
3329
+
3330
+ export function targetReleaseExtendGcpGrantToJSON(
3331
+ targetReleaseExtendGcpGrant: TargetReleaseExtendGcpGrant,
3332
+ ): string {
3333
+ return JSON.stringify(
3334
+ TargetReleaseExtendGcpGrant$outboundSchema.parse(
3335
+ targetReleaseExtendGcpGrant,
3336
+ ),
3337
+ );
3338
+ }
3339
+ export function targetReleaseExtendGcpGrantFromJSON(
3340
+ jsonString: string,
3341
+ ): SafeParseResult<TargetReleaseExtendGcpGrant, SDKValidationError> {
3342
+ return safeParse(
3343
+ jsonString,
3344
+ (x) => TargetReleaseExtendGcpGrant$inboundSchema.parse(JSON.parse(x)),
3345
+ `Failed to parse 'TargetReleaseExtendGcpGrant' from JSON`,
3346
+ );
3347
+ }
3348
+
3349
+ /** @internal */
3350
+ export const TargetReleaseExtendGcp$inboundSchema: z.ZodType<
3351
+ TargetReleaseExtendGcp,
3352
+ unknown
3353
+ > = z.object({
3354
+ binding: z.lazy(() => TargetReleaseExtendGcpBinding$inboundSchema),
3355
+ description: z.nullable(z.string()).optional(),
3356
+ grant: z.lazy(() => TargetReleaseExtendGcpGrant$inboundSchema),
3357
+ label: z.nullable(z.string()).optional(),
3358
+ });
3359
+ /** @internal */
3360
+ export type TargetReleaseExtendGcp$Outbound = {
3361
+ binding: TargetReleaseExtendGcpBinding$Outbound;
3362
+ description?: string | null | undefined;
3363
+ grant: TargetReleaseExtendGcpGrant$Outbound;
3364
+ label?: string | null | undefined;
3365
+ };
3366
+
3367
+ /** @internal */
3368
+ export const TargetReleaseExtendGcp$outboundSchema: z.ZodType<
3369
+ TargetReleaseExtendGcp$Outbound,
3370
+ TargetReleaseExtendGcp
3371
+ > = z.object({
3372
+ binding: z.lazy(() => TargetReleaseExtendGcpBinding$outboundSchema),
3373
+ description: z.nullable(z.string()).optional(),
3374
+ grant: z.lazy(() => TargetReleaseExtendGcpGrant$outboundSchema),
3375
+ label: z.nullable(z.string()).optional(),
3376
+ });
3377
+
3378
+ export function targetReleaseExtendGcpToJSON(
3379
+ targetReleaseExtendGcp: TargetReleaseExtendGcp,
3380
+ ): string {
3381
+ return JSON.stringify(
3382
+ TargetReleaseExtendGcp$outboundSchema.parse(targetReleaseExtendGcp),
3383
+ );
3384
+ }
3385
+ export function targetReleaseExtendGcpFromJSON(
3386
+ jsonString: string,
3387
+ ): SafeParseResult<TargetReleaseExtendGcp, SDKValidationError> {
3388
+ return safeParse(
3389
+ jsonString,
3390
+ (x) => TargetReleaseExtendGcp$inboundSchema.parse(JSON.parse(x)),
3391
+ `Failed to parse 'TargetReleaseExtendGcp' from JSON`,
3392
+ );
3393
+ }
3394
+
3395
+ /** @internal */
3396
+ export const TargetReleaseExtendPlatforms$inboundSchema: z.ZodType<
3397
+ TargetReleaseExtendPlatforms,
3398
+ unknown
3399
+ > = z.object({
3400
+ aws: z.nullable(z.array(z.lazy(() => TargetReleaseExtendAw$inboundSchema)))
3401
+ .optional(),
3402
+ azure: z.nullable(
3403
+ z.array(z.lazy(() => TargetReleaseExtendAzure$inboundSchema)),
3404
+ ).optional(),
3405
+ gcp: z.nullable(z.array(z.lazy(() => TargetReleaseExtendGcp$inboundSchema)))
3406
+ .optional(),
3407
+ });
3408
+ /** @internal */
3409
+ export type TargetReleaseExtendPlatforms$Outbound = {
3410
+ aws?: Array<TargetReleaseExtendAw$Outbound> | null | undefined;
3411
+ azure?: Array<TargetReleaseExtendAzure$Outbound> | null | undefined;
3412
+ gcp?: Array<TargetReleaseExtendGcp$Outbound> | null | undefined;
3413
+ };
3414
+
3415
+ /** @internal */
3416
+ export const TargetReleaseExtendPlatforms$outboundSchema: z.ZodType<
3417
+ TargetReleaseExtendPlatforms$Outbound,
3418
+ TargetReleaseExtendPlatforms
3419
+ > = z.object({
3420
+ aws: z.nullable(z.array(z.lazy(() => TargetReleaseExtendAw$outboundSchema)))
3421
+ .optional(),
3422
+ azure: z.nullable(
3423
+ z.array(z.lazy(() => TargetReleaseExtendAzure$outboundSchema)),
3424
+ ).optional(),
3425
+ gcp: z.nullable(z.array(z.lazy(() => TargetReleaseExtendGcp$outboundSchema)))
3426
+ .optional(),
3427
+ });
3428
+
3429
+ export function targetReleaseExtendPlatformsToJSON(
3430
+ targetReleaseExtendPlatforms: TargetReleaseExtendPlatforms,
3431
+ ): string {
3432
+ return JSON.stringify(
3433
+ TargetReleaseExtendPlatforms$outboundSchema.parse(
3434
+ targetReleaseExtendPlatforms,
3435
+ ),
3436
+ );
3437
+ }
3438
+ export function targetReleaseExtendPlatformsFromJSON(
3439
+ jsonString: string,
3440
+ ): SafeParseResult<TargetReleaseExtendPlatforms, SDKValidationError> {
3441
+ return safeParse(
3442
+ jsonString,
3443
+ (x) => TargetReleaseExtendPlatforms$inboundSchema.parse(JSON.parse(x)),
3444
+ `Failed to parse 'TargetReleaseExtendPlatforms' from JSON`,
3445
+ );
3446
+ }
3447
+
3448
+ /** @internal */
3449
+ export const TargetReleaseExtend$inboundSchema: z.ZodType<
3450
+ TargetReleaseExtend,
3451
+ unknown
3452
+ > = z.object({
3453
+ description: z.string(),
3454
+ id: z.string(),
3455
+ platforms: z.lazy(() => TargetReleaseExtendPlatforms$inboundSchema),
3456
+ });
3457
+ /** @internal */
3458
+ export type TargetReleaseExtend$Outbound = {
3459
+ description: string;
3460
+ id: string;
3461
+ platforms: TargetReleaseExtendPlatforms$Outbound;
3462
+ };
3463
+
3464
+ /** @internal */
3465
+ export const TargetReleaseExtend$outboundSchema: z.ZodType<
3466
+ TargetReleaseExtend$Outbound,
3467
+ TargetReleaseExtend
3468
+ > = z.object({
3469
+ description: z.string(),
3470
+ id: z.string(),
3471
+ platforms: z.lazy(() => TargetReleaseExtendPlatforms$outboundSchema),
3472
+ });
3473
+
3474
+ export function targetReleaseExtendToJSON(
3475
+ targetReleaseExtend: TargetReleaseExtend,
3476
+ ): string {
3477
+ return JSON.stringify(
3478
+ TargetReleaseExtend$outboundSchema.parse(targetReleaseExtend),
3479
+ );
3480
+ }
3481
+ export function targetReleaseExtendFromJSON(
3482
+ jsonString: string,
3483
+ ): SafeParseResult<TargetReleaseExtend, SDKValidationError> {
3484
+ return safeParse(
3485
+ jsonString,
3486
+ (x) => TargetReleaseExtend$inboundSchema.parse(JSON.parse(x)),
3487
+ `Failed to parse 'TargetReleaseExtend' from JSON`,
3488
+ );
3489
+ }
3490
+
3491
+ /** @internal */
3492
+ export const TargetReleaseExtendUnion$inboundSchema: z.ZodType<
3493
+ TargetReleaseExtendUnion,
3494
+ unknown
3495
+ > = z.union([z.lazy(() => TargetReleaseExtend$inboundSchema), z.string()]);
3496
+ /** @internal */
3497
+ export type TargetReleaseExtendUnion$Outbound =
3498
+ | TargetReleaseExtend$Outbound
3499
+ | string;
3500
+
3501
+ /** @internal */
3502
+ export const TargetReleaseExtendUnion$outboundSchema: z.ZodType<
3503
+ TargetReleaseExtendUnion$Outbound,
3504
+ TargetReleaseExtendUnion
3505
+ > = z.union([z.lazy(() => TargetReleaseExtend$outboundSchema), z.string()]);
3506
+
3507
+ export function targetReleaseExtendUnionToJSON(
3508
+ targetReleaseExtendUnion: TargetReleaseExtendUnion,
3509
+ ): string {
3510
+ return JSON.stringify(
3511
+ TargetReleaseExtendUnion$outboundSchema.parse(targetReleaseExtendUnion),
3512
+ );
3513
+ }
3514
+ export function targetReleaseExtendUnionFromJSON(
3515
+ jsonString: string,
3516
+ ): SafeParseResult<TargetReleaseExtendUnion, SDKValidationError> {
3517
+ return safeParse(
3518
+ jsonString,
3519
+ (x) => TargetReleaseExtendUnion$inboundSchema.parse(JSON.parse(x)),
3520
+ `Failed to parse 'TargetReleaseExtendUnion' from JSON`,
3521
+ );
3522
+ }
3523
+
3524
+ /** @internal */
3525
+ export const TargetReleaseManagement1$inboundSchema: z.ZodType<
3526
+ TargetReleaseManagement1,
3527
+ unknown
3528
+ > = z.object({
3529
+ extend: z.record(
3530
+ z.string(),
3531
+ z.array(
3532
+ z.union([z.lazy(() => TargetReleaseExtend$inboundSchema), z.string()]),
3533
+ ),
3534
+ ),
3535
+ });
3536
+ /** @internal */
3537
+ export type TargetReleaseManagement1$Outbound = {
3538
+ extend: { [k: string]: Array<TargetReleaseExtend$Outbound | string> };
3539
+ };
3540
+
3541
+ /** @internal */
3542
+ export const TargetReleaseManagement1$outboundSchema: z.ZodType<
3543
+ TargetReleaseManagement1$Outbound,
3544
+ TargetReleaseManagement1
3545
+ > = z.object({
3546
+ extend: z.record(
3547
+ z.string(),
3548
+ z.array(
3549
+ z.union([z.lazy(() => TargetReleaseExtend$outboundSchema), z.string()]),
3550
+ ),
3551
+ ),
3552
+ });
3553
+
3554
+ export function targetReleaseManagement1ToJSON(
3555
+ targetReleaseManagement1: TargetReleaseManagement1,
3556
+ ): string {
3557
+ return JSON.stringify(
3558
+ TargetReleaseManagement1$outboundSchema.parse(targetReleaseManagement1),
3559
+ );
3560
+ }
3561
+ export function targetReleaseManagement1FromJSON(
3562
+ jsonString: string,
3563
+ ): SafeParseResult<TargetReleaseManagement1, SDKValidationError> {
3564
+ return safeParse(
3565
+ jsonString,
3566
+ (x) => TargetReleaseManagement1$inboundSchema.parse(JSON.parse(x)),
3567
+ `Failed to parse 'TargetReleaseManagement1' from JSON`,
3568
+ );
3569
+ }
3570
+
3571
+ /** @internal */
3572
+ export const TargetReleaseManagementUnion$inboundSchema: z.ZodType<
3573
+ TargetReleaseManagementUnion,
3574
+ unknown
3575
+ > = z.union([
3576
+ z.lazy(() => TargetReleaseManagement1$inboundSchema),
3577
+ z.lazy(() => TargetReleaseManagement2$inboundSchema),
3578
+ TargetReleaseManagementEnum$inboundSchema,
3579
+ ]);
3580
+ /** @internal */
3581
+ export type TargetReleaseManagementUnion$Outbound =
3582
+ | TargetReleaseManagement1$Outbound
3583
+ | TargetReleaseManagement2$Outbound
3584
+ | string;
3585
+
3586
+ /** @internal */
3587
+ export const TargetReleaseManagementUnion$outboundSchema: z.ZodType<
3588
+ TargetReleaseManagementUnion$Outbound,
3589
+ TargetReleaseManagementUnion
3590
+ > = z.union([
3591
+ z.lazy(() => TargetReleaseManagement1$outboundSchema),
3592
+ z.lazy(() => TargetReleaseManagement2$outboundSchema),
3593
+ TargetReleaseManagementEnum$outboundSchema,
3594
+ ]);
3595
+
3596
+ export function targetReleaseManagementUnionToJSON(
3597
+ targetReleaseManagementUnion: TargetReleaseManagementUnion,
3598
+ ): string {
3599
+ return JSON.stringify(
3600
+ TargetReleaseManagementUnion$outboundSchema.parse(
3601
+ targetReleaseManagementUnion,
3602
+ ),
3603
+ );
3604
+ }
3605
+ export function targetReleaseManagementUnionFromJSON(
3606
+ jsonString: string,
3607
+ ): SafeParseResult<TargetReleaseManagementUnion, SDKValidationError> {
3608
+ return safeParse(
3609
+ jsonString,
3610
+ (x) => TargetReleaseManagementUnion$inboundSchema.parse(JSON.parse(x)),
3611
+ `Failed to parse 'TargetReleaseManagementUnion' from JSON`,
3612
+ );
3613
+ }
3614
+
3615
+ /** @internal */
3616
+ export const TargetReleaseProfileAwResource$inboundSchema: z.ZodType<
3617
+ TargetReleaseProfileAwResource,
3618
+ unknown
3619
+ > = z.object({
3620
+ condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string())))
3621
+ .optional(),
3622
+ notResources: z.array(z.string()).optional(),
3623
+ resources: z.array(z.string()),
3624
+ });
3625
+ /** @internal */
3626
+ export type TargetReleaseProfileAwResource$Outbound = {
3627
+ condition?: { [k: string]: { [k: string]: string } } | null | undefined;
3628
+ notResources?: Array<string> | undefined;
3629
+ resources: Array<string>;
3630
+ };
3631
+
3632
+ /** @internal */
3633
+ export const TargetReleaseProfileAwResource$outboundSchema: z.ZodType<
3634
+ TargetReleaseProfileAwResource$Outbound,
3635
+ TargetReleaseProfileAwResource
3636
+ > = z.object({
3637
+ condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string())))
3638
+ .optional(),
3639
+ notResources: z.array(z.string()).optional(),
3640
+ resources: z.array(z.string()),
3641
+ });
3642
+
3643
+ export function targetReleaseProfileAwResourceToJSON(
3644
+ targetReleaseProfileAwResource: TargetReleaseProfileAwResource,
3645
+ ): string {
3646
+ return JSON.stringify(
3647
+ TargetReleaseProfileAwResource$outboundSchema.parse(
3648
+ targetReleaseProfileAwResource,
3649
+ ),
3650
+ );
3651
+ }
3652
+ export function targetReleaseProfileAwResourceFromJSON(
3653
+ jsonString: string,
3654
+ ): SafeParseResult<TargetReleaseProfileAwResource, SDKValidationError> {
3655
+ return safeParse(
3656
+ jsonString,
3657
+ (x) => TargetReleaseProfileAwResource$inboundSchema.parse(JSON.parse(x)),
3658
+ `Failed to parse 'TargetReleaseProfileAwResource' from JSON`,
3659
+ );
3660
+ }
3661
+
3662
+ /** @internal */
3663
+ export const TargetReleaseProfileAwStack$inboundSchema: z.ZodType<
3664
+ TargetReleaseProfileAwStack,
3665
+ unknown
3666
+ > = z.object({
3667
+ condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string())))
3668
+ .optional(),
3669
+ notResources: z.array(z.string()).optional(),
3670
+ resources: z.array(z.string()),
3671
+ });
3672
+ /** @internal */
3673
+ export type TargetReleaseProfileAwStack$Outbound = {
3674
+ condition?: { [k: string]: { [k: string]: string } } | null | undefined;
3675
+ notResources?: Array<string> | undefined;
3676
+ resources: Array<string>;
3677
+ };
3678
+
3679
+ /** @internal */
3680
+ export const TargetReleaseProfileAwStack$outboundSchema: z.ZodType<
3681
+ TargetReleaseProfileAwStack$Outbound,
3682
+ TargetReleaseProfileAwStack
3683
+ > = z.object({
3684
+ condition: z.nullable(z.record(z.string(), z.record(z.string(), z.string())))
3685
+ .optional(),
3686
+ notResources: z.array(z.string()).optional(),
3687
+ resources: z.array(z.string()),
3688
+ });
3689
+
3690
+ export function targetReleaseProfileAwStackToJSON(
3691
+ targetReleaseProfileAwStack: TargetReleaseProfileAwStack,
3692
+ ): string {
3693
+ return JSON.stringify(
3694
+ TargetReleaseProfileAwStack$outboundSchema.parse(
3695
+ targetReleaseProfileAwStack,
3696
+ ),
3697
+ );
3698
+ }
3699
+ export function targetReleaseProfileAwStackFromJSON(
3700
+ jsonString: string,
3701
+ ): SafeParseResult<TargetReleaseProfileAwStack, SDKValidationError> {
3702
+ return safeParse(
3703
+ jsonString,
3704
+ (x) => TargetReleaseProfileAwStack$inboundSchema.parse(JSON.parse(x)),
3705
+ `Failed to parse 'TargetReleaseProfileAwStack' from JSON`,
3706
+ );
3707
+ }
3708
+
3709
+ /** @internal */
3710
+ export const TargetReleaseProfileAwBinding$inboundSchema: z.ZodType<
3711
+ TargetReleaseProfileAwBinding,
3712
+ unknown
3713
+ > = z.object({
3714
+ resource: z.lazy(() => TargetReleaseProfileAwResource$inboundSchema)
3715
+ .optional(),
3716
+ stack: z.lazy(() => TargetReleaseProfileAwStack$inboundSchema).optional(),
3717
+ });
3718
+ /** @internal */
3719
+ export type TargetReleaseProfileAwBinding$Outbound = {
3720
+ resource?: TargetReleaseProfileAwResource$Outbound | undefined;
3721
+ stack?: TargetReleaseProfileAwStack$Outbound | undefined;
3722
+ };
3723
+
3724
+ /** @internal */
3725
+ export const TargetReleaseProfileAwBinding$outboundSchema: z.ZodType<
3726
+ TargetReleaseProfileAwBinding$Outbound,
3727
+ TargetReleaseProfileAwBinding
3728
+ > = z.object({
3729
+ resource: z.lazy(() => TargetReleaseProfileAwResource$outboundSchema)
3730
+ .optional(),
3731
+ stack: z.lazy(() => TargetReleaseProfileAwStack$outboundSchema).optional(),
3732
+ });
3733
+
3734
+ export function targetReleaseProfileAwBindingToJSON(
3735
+ targetReleaseProfileAwBinding: TargetReleaseProfileAwBinding,
3736
+ ): string {
3737
+ return JSON.stringify(
3738
+ TargetReleaseProfileAwBinding$outboundSchema.parse(
3739
+ targetReleaseProfileAwBinding,
3740
+ ),
3741
+ );
3742
+ }
3743
+ export function targetReleaseProfileAwBindingFromJSON(
3744
+ jsonString: string,
3745
+ ): SafeParseResult<TargetReleaseProfileAwBinding, SDKValidationError> {
3746
+ return safeParse(
3747
+ jsonString,
3748
+ (x) => TargetReleaseProfileAwBinding$inboundSchema.parse(JSON.parse(x)),
3749
+ `Failed to parse 'TargetReleaseProfileAwBinding' from JSON`,
3750
+ );
3751
+ }
3752
+
3753
+ /** @internal */
3754
+ export const TargetReleaseProfileEffect$inboundSchema: z.ZodEnum<
3755
+ typeof TargetReleaseProfileEffect
3756
+ > = z.enum(TargetReleaseProfileEffect);
3757
+ /** @internal */
3758
+ export const TargetReleaseProfileEffect$outboundSchema: z.ZodEnum<
3759
+ typeof TargetReleaseProfileEffect
3760
+ > = TargetReleaseProfileEffect$inboundSchema;
3761
+
3762
+ /** @internal */
3763
+ export const TargetReleaseProfileAwGrant$inboundSchema: z.ZodType<
3764
+ TargetReleaseProfileAwGrant,
3765
+ unknown
3766
+ > = z.object({
3767
+ actions: z.nullable(z.array(z.string())).optional(),
3768
+ dataActions: z.nullable(z.array(z.string())).optional(),
3769
+ permissions: z.nullable(z.array(z.string())).optional(),
3770
+ predefinedRoles: z.nullable(z.array(z.string())).optional(),
3771
+ residualPermissions: z.nullable(z.array(z.string())).optional(),
3772
+ });
3773
+ /** @internal */
3774
+ export type TargetReleaseProfileAwGrant$Outbound = {
3775
+ actions?: Array<string> | null | undefined;
3776
+ dataActions?: Array<string> | null | undefined;
3777
+ permissions?: Array<string> | null | undefined;
3778
+ predefinedRoles?: Array<string> | null | undefined;
3779
+ residualPermissions?: Array<string> | null | undefined;
3780
+ };
3781
+
3782
+ /** @internal */
3783
+ export const TargetReleaseProfileAwGrant$outboundSchema: z.ZodType<
3784
+ TargetReleaseProfileAwGrant$Outbound,
3785
+ TargetReleaseProfileAwGrant
3786
+ > = z.object({
3787
+ actions: z.nullable(z.array(z.string())).optional(),
3788
+ dataActions: z.nullable(z.array(z.string())).optional(),
3789
+ permissions: z.nullable(z.array(z.string())).optional(),
3790
+ predefinedRoles: z.nullable(z.array(z.string())).optional(),
3791
+ residualPermissions: z.nullable(z.array(z.string())).optional(),
3792
+ });
3793
+
3794
+ export function targetReleaseProfileAwGrantToJSON(
3795
+ targetReleaseProfileAwGrant: TargetReleaseProfileAwGrant,
3796
+ ): string {
3797
+ return JSON.stringify(
3798
+ TargetReleaseProfileAwGrant$outboundSchema.parse(
3799
+ targetReleaseProfileAwGrant,
3800
+ ),
3801
+ );
3802
+ }
3803
+ export function targetReleaseProfileAwGrantFromJSON(
3804
+ jsonString: string,
3805
+ ): SafeParseResult<TargetReleaseProfileAwGrant, SDKValidationError> {
3806
+ return safeParse(
3807
+ jsonString,
3808
+ (x) => TargetReleaseProfileAwGrant$inboundSchema.parse(JSON.parse(x)),
3809
+ `Failed to parse 'TargetReleaseProfileAwGrant' from JSON`,
3810
+ );
3811
+ }
3812
+
3813
+ /** @internal */
3814
+ export const TargetReleaseProfileAw$inboundSchema: z.ZodType<
3815
+ TargetReleaseProfileAw,
3816
+ unknown
3817
+ > = z.object({
3818
+ binding: z.lazy(() => TargetReleaseProfileAwBinding$inboundSchema),
3819
+ description: z.nullable(z.string()).optional(),
3820
+ effect: TargetReleaseProfileEffect$inboundSchema.optional(),
3821
+ grant: z.lazy(() => TargetReleaseProfileAwGrant$inboundSchema),
3822
+ label: z.nullable(z.string()).optional(),
3823
+ });
3824
+ /** @internal */
3825
+ export type TargetReleaseProfileAw$Outbound = {
3826
+ binding: TargetReleaseProfileAwBinding$Outbound;
3827
+ description?: string | null | undefined;
3828
+ effect?: string | undefined;
3829
+ grant: TargetReleaseProfileAwGrant$Outbound;
3830
+ label?: string | null | undefined;
3831
+ };
3832
+
3833
+ /** @internal */
3834
+ export const TargetReleaseProfileAw$outboundSchema: z.ZodType<
3835
+ TargetReleaseProfileAw$Outbound,
3836
+ TargetReleaseProfileAw
3837
+ > = z.object({
3838
+ binding: z.lazy(() => TargetReleaseProfileAwBinding$outboundSchema),
3839
+ description: z.nullable(z.string()).optional(),
3840
+ effect: TargetReleaseProfileEffect$outboundSchema.optional(),
3841
+ grant: z.lazy(() => TargetReleaseProfileAwGrant$outboundSchema),
3842
+ label: z.nullable(z.string()).optional(),
3843
+ });
3844
+
3845
+ export function targetReleaseProfileAwToJSON(
3846
+ targetReleaseProfileAw: TargetReleaseProfileAw,
3847
+ ): string {
3848
+ return JSON.stringify(
3849
+ TargetReleaseProfileAw$outboundSchema.parse(targetReleaseProfileAw),
3850
+ );
3851
+ }
3852
+ export function targetReleaseProfileAwFromJSON(
3853
+ jsonString: string,
3854
+ ): SafeParseResult<TargetReleaseProfileAw, SDKValidationError> {
3855
+ return safeParse(
3856
+ jsonString,
3857
+ (x) => TargetReleaseProfileAw$inboundSchema.parse(JSON.parse(x)),
3858
+ `Failed to parse 'TargetReleaseProfileAw' from JSON`,
3859
+ );
3860
+ }
3861
+
3862
+ /** @internal */
3863
+ export const TargetReleaseProfileAzureResource$inboundSchema: z.ZodType<
3864
+ TargetReleaseProfileAzureResource,
3865
+ unknown
3866
+ > = z.object({
3867
+ scope: z.string(),
3868
+ });
3869
+ /** @internal */
3870
+ export type TargetReleaseProfileAzureResource$Outbound = {
3871
+ scope: string;
3872
+ };
3873
+
3874
+ /** @internal */
3875
+ export const TargetReleaseProfileAzureResource$outboundSchema: z.ZodType<
3876
+ TargetReleaseProfileAzureResource$Outbound,
3877
+ TargetReleaseProfileAzureResource
3878
+ > = z.object({
3879
+ scope: z.string(),
3880
+ });
3881
+
3882
+ export function targetReleaseProfileAzureResourceToJSON(
3883
+ targetReleaseProfileAzureResource: TargetReleaseProfileAzureResource,
3884
+ ): string {
3885
+ return JSON.stringify(
3886
+ TargetReleaseProfileAzureResource$outboundSchema.parse(
3887
+ targetReleaseProfileAzureResource,
3888
+ ),
3889
+ );
3890
+ }
3891
+ export function targetReleaseProfileAzureResourceFromJSON(
3892
+ jsonString: string,
3893
+ ): SafeParseResult<TargetReleaseProfileAzureResource, SDKValidationError> {
3894
+ return safeParse(
3895
+ jsonString,
3896
+ (x) => TargetReleaseProfileAzureResource$inboundSchema.parse(JSON.parse(x)),
3897
+ `Failed to parse 'TargetReleaseProfileAzureResource' from JSON`,
3898
+ );
3899
+ }
3900
+
3901
+ /** @internal */
3902
+ export const TargetReleaseProfileAzureStack$inboundSchema: z.ZodType<
3903
+ TargetReleaseProfileAzureStack,
3904
+ unknown
3905
+ > = z.object({
3906
+ scope: z.string(),
3907
+ });
3908
+ /** @internal */
3909
+ export type TargetReleaseProfileAzureStack$Outbound = {
3910
+ scope: string;
3911
+ };
3912
+
3913
+ /** @internal */
3914
+ export const TargetReleaseProfileAzureStack$outboundSchema: z.ZodType<
3915
+ TargetReleaseProfileAzureStack$Outbound,
3916
+ TargetReleaseProfileAzureStack
3917
+ > = z.object({
3918
+ scope: z.string(),
3919
+ });
3920
+
3921
+ export function targetReleaseProfileAzureStackToJSON(
3922
+ targetReleaseProfileAzureStack: TargetReleaseProfileAzureStack,
3923
+ ): string {
3924
+ return JSON.stringify(
3925
+ TargetReleaseProfileAzureStack$outboundSchema.parse(
3926
+ targetReleaseProfileAzureStack,
3927
+ ),
3928
+ );
3929
+ }
3930
+ export function targetReleaseProfileAzureStackFromJSON(
3931
+ jsonString: string,
3932
+ ): SafeParseResult<TargetReleaseProfileAzureStack, SDKValidationError> {
3933
+ return safeParse(
3934
+ jsonString,
3935
+ (x) => TargetReleaseProfileAzureStack$inboundSchema.parse(JSON.parse(x)),
3936
+ `Failed to parse 'TargetReleaseProfileAzureStack' from JSON`,
3937
+ );
3938
+ }
3939
+
3940
+ /** @internal */
3941
+ export const TargetReleaseProfileAzureBinding$inboundSchema: z.ZodType<
3942
+ TargetReleaseProfileAzureBinding,
3943
+ unknown
3944
+ > = z.object({
3945
+ resource: z.lazy(() => TargetReleaseProfileAzureResource$inboundSchema)
3946
+ .optional(),
3947
+ stack: z.lazy(() => TargetReleaseProfileAzureStack$inboundSchema).optional(),
3948
+ });
3949
+ /** @internal */
3950
+ export type TargetReleaseProfileAzureBinding$Outbound = {
3951
+ resource?: TargetReleaseProfileAzureResource$Outbound | undefined;
3952
+ stack?: TargetReleaseProfileAzureStack$Outbound | undefined;
3953
+ };
3954
+
3955
+ /** @internal */
3956
+ export const TargetReleaseProfileAzureBinding$outboundSchema: z.ZodType<
3957
+ TargetReleaseProfileAzureBinding$Outbound,
3958
+ TargetReleaseProfileAzureBinding
3959
+ > = z.object({
3960
+ resource: z.lazy(() => TargetReleaseProfileAzureResource$outboundSchema)
3961
+ .optional(),
3962
+ stack: z.lazy(() => TargetReleaseProfileAzureStack$outboundSchema).optional(),
3963
+ });
3964
+
3965
+ export function targetReleaseProfileAzureBindingToJSON(
3966
+ targetReleaseProfileAzureBinding: TargetReleaseProfileAzureBinding,
3967
+ ): string {
3968
+ return JSON.stringify(
3969
+ TargetReleaseProfileAzureBinding$outboundSchema.parse(
3970
+ targetReleaseProfileAzureBinding,
3971
+ ),
3972
+ );
3973
+ }
3974
+ export function targetReleaseProfileAzureBindingFromJSON(
3975
+ jsonString: string,
3976
+ ): SafeParseResult<TargetReleaseProfileAzureBinding, SDKValidationError> {
3977
+ return safeParse(
3978
+ jsonString,
3979
+ (x) => TargetReleaseProfileAzureBinding$inboundSchema.parse(JSON.parse(x)),
3980
+ `Failed to parse 'TargetReleaseProfileAzureBinding' from JSON`,
3981
+ );
3982
+ }
3983
+
3984
+ /** @internal */
3985
+ export const TargetReleaseProfileAzureGrant$inboundSchema: z.ZodType<
3986
+ TargetReleaseProfileAzureGrant,
3987
+ unknown
3988
+ > = z.object({
3989
+ actions: z.nullable(z.array(z.string())).optional(),
3990
+ dataActions: z.nullable(z.array(z.string())).optional(),
3991
+ permissions: z.nullable(z.array(z.string())).optional(),
3992
+ predefinedRoles: z.nullable(z.array(z.string())).optional(),
3993
+ residualPermissions: z.nullable(z.array(z.string())).optional(),
3994
+ });
3995
+ /** @internal */
3996
+ export type TargetReleaseProfileAzureGrant$Outbound = {
3997
+ actions?: Array<string> | null | undefined;
3998
+ dataActions?: Array<string> | null | undefined;
3999
+ permissions?: Array<string> | null | undefined;
4000
+ predefinedRoles?: Array<string> | null | undefined;
4001
+ residualPermissions?: Array<string> | null | undefined;
4002
+ };
4003
+
4004
+ /** @internal */
4005
+ export const TargetReleaseProfileAzureGrant$outboundSchema: z.ZodType<
4006
+ TargetReleaseProfileAzureGrant$Outbound,
4007
+ TargetReleaseProfileAzureGrant
4008
+ > = z.object({
4009
+ actions: z.nullable(z.array(z.string())).optional(),
4010
+ dataActions: z.nullable(z.array(z.string())).optional(),
4011
+ permissions: z.nullable(z.array(z.string())).optional(),
4012
+ predefinedRoles: z.nullable(z.array(z.string())).optional(),
4013
+ residualPermissions: z.nullable(z.array(z.string())).optional(),
4014
+ });
4015
+
4016
+ export function targetReleaseProfileAzureGrantToJSON(
4017
+ targetReleaseProfileAzureGrant: TargetReleaseProfileAzureGrant,
4018
+ ): string {
4019
+ return JSON.stringify(
4020
+ TargetReleaseProfileAzureGrant$outboundSchema.parse(
4021
+ targetReleaseProfileAzureGrant,
4022
+ ),
4023
+ );
4024
+ }
4025
+ export function targetReleaseProfileAzureGrantFromJSON(
4026
+ jsonString: string,
4027
+ ): SafeParseResult<TargetReleaseProfileAzureGrant, SDKValidationError> {
4028
+ return safeParse(
4029
+ jsonString,
4030
+ (x) => TargetReleaseProfileAzureGrant$inboundSchema.parse(JSON.parse(x)),
4031
+ `Failed to parse 'TargetReleaseProfileAzureGrant' from JSON`,
4032
+ );
4033
+ }
4034
+
4035
+ /** @internal */
4036
+ export const TargetReleaseProfileAzure$inboundSchema: z.ZodType<
4037
+ TargetReleaseProfileAzure,
4038
+ unknown
4039
+ > = z.object({
4040
+ binding: z.lazy(() => TargetReleaseProfileAzureBinding$inboundSchema),
4041
+ description: z.nullable(z.string()).optional(),
4042
+ grant: z.lazy(() => TargetReleaseProfileAzureGrant$inboundSchema),
4043
+ label: z.nullable(z.string()).optional(),
4044
+ });
4045
+ /** @internal */
4046
+ export type TargetReleaseProfileAzure$Outbound = {
4047
+ binding: TargetReleaseProfileAzureBinding$Outbound;
4048
+ description?: string | null | undefined;
4049
+ grant: TargetReleaseProfileAzureGrant$Outbound;
4050
+ label?: string | null | undefined;
4051
+ };
4052
+
4053
+ /** @internal */
4054
+ export const TargetReleaseProfileAzure$outboundSchema: z.ZodType<
4055
+ TargetReleaseProfileAzure$Outbound,
4056
+ TargetReleaseProfileAzure
4057
+ > = z.object({
4058
+ binding: z.lazy(() => TargetReleaseProfileAzureBinding$outboundSchema),
4059
+ description: z.nullable(z.string()).optional(),
4060
+ grant: z.lazy(() => TargetReleaseProfileAzureGrant$outboundSchema),
4061
+ label: z.nullable(z.string()).optional(),
4062
+ });
4063
+
4064
+ export function targetReleaseProfileAzureToJSON(
4065
+ targetReleaseProfileAzure: TargetReleaseProfileAzure,
4066
+ ): string {
4067
+ return JSON.stringify(
4068
+ TargetReleaseProfileAzure$outboundSchema.parse(targetReleaseProfileAzure),
4069
+ );
4070
+ }
4071
+ export function targetReleaseProfileAzureFromJSON(
4072
+ jsonString: string,
4073
+ ): SafeParseResult<TargetReleaseProfileAzure, SDKValidationError> {
4074
+ return safeParse(
4075
+ jsonString,
4076
+ (x) => TargetReleaseProfileAzure$inboundSchema.parse(JSON.parse(x)),
4077
+ `Failed to parse 'TargetReleaseProfileAzure' from JSON`,
4078
+ );
4079
+ }
4080
+
4081
+ /** @internal */
4082
+ export const TargetReleaseProfileConditionResource$inboundSchema: z.ZodType<
4083
+ TargetReleaseProfileConditionResource,
4084
+ unknown
4085
+ > = z.object({
4086
+ expression: z.string(),
4087
+ title: z.string(),
4088
+ });
4089
+ /** @internal */
4090
+ export type TargetReleaseProfileConditionResource$Outbound = {
4091
+ expression: string;
4092
+ title: string;
4093
+ };
4094
+
4095
+ /** @internal */
4096
+ export const TargetReleaseProfileConditionResource$outboundSchema: z.ZodType<
4097
+ TargetReleaseProfileConditionResource$Outbound,
4098
+ TargetReleaseProfileConditionResource
4099
+ > = z.object({
4100
+ expression: z.string(),
4101
+ title: z.string(),
4102
+ });
4103
+
4104
+ export function targetReleaseProfileConditionResourceToJSON(
4105
+ targetReleaseProfileConditionResource: TargetReleaseProfileConditionResource,
4106
+ ): string {
4107
+ return JSON.stringify(
4108
+ TargetReleaseProfileConditionResource$outboundSchema.parse(
4109
+ targetReleaseProfileConditionResource,
4110
+ ),
4111
+ );
4112
+ }
4113
+ export function targetReleaseProfileConditionResourceFromJSON(
4114
+ jsonString: string,
4115
+ ): SafeParseResult<TargetReleaseProfileConditionResource, SDKValidationError> {
4116
+ return safeParse(
4117
+ jsonString,
4118
+ (x) =>
4119
+ TargetReleaseProfileConditionResource$inboundSchema.parse(JSON.parse(x)),
4120
+ `Failed to parse 'TargetReleaseProfileConditionResource' from JSON`,
4121
+ );
4122
+ }
4123
+
4124
+ /** @internal */
4125
+ export const TargetReleaseProfileResourceConditionUnion$inboundSchema:
4126
+ z.ZodType<TargetReleaseProfileResourceConditionUnion, unknown> = z.union([
4127
+ z.lazy(() => TargetReleaseProfileConditionResource$inboundSchema),
4128
+ z.string(),
4129
+ ]);
4130
+ /** @internal */
4131
+ export type TargetReleaseProfileResourceConditionUnion$Outbound =
4132
+ | TargetReleaseProfileConditionResource$Outbound
4133
+ | string;
4134
+
4135
+ /** @internal */
4136
+ export const TargetReleaseProfileResourceConditionUnion$outboundSchema:
4137
+ z.ZodType<
4138
+ TargetReleaseProfileResourceConditionUnion$Outbound,
4139
+ TargetReleaseProfileResourceConditionUnion
4140
+ > = z.union([
4141
+ z.lazy(() => TargetReleaseProfileConditionResource$outboundSchema),
4142
+ z.string(),
4143
+ ]);
4144
+
4145
+ export function targetReleaseProfileResourceConditionUnionToJSON(
4146
+ targetReleaseProfileResourceConditionUnion:
4147
+ TargetReleaseProfileResourceConditionUnion,
4148
+ ): string {
4149
+ return JSON.stringify(
4150
+ TargetReleaseProfileResourceConditionUnion$outboundSchema.parse(
4151
+ targetReleaseProfileResourceConditionUnion,
4152
+ ),
4153
+ );
4154
+ }
4155
+ export function targetReleaseProfileResourceConditionUnionFromJSON(
4156
+ jsonString: string,
4157
+ ): SafeParseResult<
4158
+ TargetReleaseProfileResourceConditionUnion,
4159
+ SDKValidationError
4160
+ > {
4161
+ return safeParse(
4162
+ jsonString,
4163
+ (x) =>
4164
+ TargetReleaseProfileResourceConditionUnion$inboundSchema.parse(
4165
+ JSON.parse(x),
4166
+ ),
4167
+ `Failed to parse 'TargetReleaseProfileResourceConditionUnion' from JSON`,
4168
+ );
4169
+ }
4170
+
4171
+ /** @internal */
4172
+ export const TargetReleaseProfileGcpResource$inboundSchema: z.ZodType<
4173
+ TargetReleaseProfileGcpResource,
4174
+ unknown
4175
+ > = z.object({
4176
+ condition: z.nullable(
4177
+ z.union([
4178
+ z.lazy(() => TargetReleaseProfileConditionResource$inboundSchema),
4179
+ z.string(),
4180
+ ]),
4181
+ ).optional(),
4182
+ scope: z.string(),
4183
+ });
4184
+ /** @internal */
4185
+ export type TargetReleaseProfileGcpResource$Outbound = {
4186
+ condition?:
4187
+ | TargetReleaseProfileConditionResource$Outbound
4188
+ | string
4189
+ | null
4190
+ | undefined;
4191
+ scope: string;
4192
+ };
4193
+
4194
+ /** @internal */
4195
+ export const TargetReleaseProfileGcpResource$outboundSchema: z.ZodType<
4196
+ TargetReleaseProfileGcpResource$Outbound,
4197
+ TargetReleaseProfileGcpResource
4198
+ > = z.object({
4199
+ condition: z.nullable(
4200
+ z.union([
4201
+ z.lazy(() => TargetReleaseProfileConditionResource$outboundSchema),
4202
+ z.string(),
4203
+ ]),
4204
+ ).optional(),
4205
+ scope: z.string(),
4206
+ });
4207
+
4208
+ export function targetReleaseProfileGcpResourceToJSON(
4209
+ targetReleaseProfileGcpResource: TargetReleaseProfileGcpResource,
4210
+ ): string {
4211
+ return JSON.stringify(
4212
+ TargetReleaseProfileGcpResource$outboundSchema.parse(
4213
+ targetReleaseProfileGcpResource,
4214
+ ),
4215
+ );
4216
+ }
4217
+ export function targetReleaseProfileGcpResourceFromJSON(
4218
+ jsonString: string,
4219
+ ): SafeParseResult<TargetReleaseProfileGcpResource, SDKValidationError> {
4220
+ return safeParse(
4221
+ jsonString,
4222
+ (x) => TargetReleaseProfileGcpResource$inboundSchema.parse(JSON.parse(x)),
4223
+ `Failed to parse 'TargetReleaseProfileGcpResource' from JSON`,
4224
+ );
4225
+ }
4226
+
4227
+ /** @internal */
4228
+ export const TargetReleaseProfileCondition$inboundSchema: z.ZodType<
4229
+ TargetReleaseProfileCondition,
4230
+ unknown
4231
+ > = z.object({
4232
+ expression: z.string(),
4233
+ title: z.string(),
4234
+ });
4235
+ /** @internal */
4236
+ export type TargetReleaseProfileCondition$Outbound = {
4237
+ expression: string;
4238
+ title: string;
4239
+ };
4240
+
4241
+ /** @internal */
4242
+ export const TargetReleaseProfileCondition$outboundSchema: z.ZodType<
4243
+ TargetReleaseProfileCondition$Outbound,
4244
+ TargetReleaseProfileCondition
4245
+ > = z.object({
4246
+ expression: z.string(),
4247
+ title: z.string(),
4248
+ });
4249
+
4250
+ export function targetReleaseProfileConditionToJSON(
4251
+ targetReleaseProfileCondition: TargetReleaseProfileCondition,
4252
+ ): string {
4253
+ return JSON.stringify(
4254
+ TargetReleaseProfileCondition$outboundSchema.parse(
4255
+ targetReleaseProfileCondition,
4256
+ ),
4257
+ );
4258
+ }
4259
+ export function targetReleaseProfileConditionFromJSON(
4260
+ jsonString: string,
4261
+ ): SafeParseResult<TargetReleaseProfileCondition, SDKValidationError> {
4262
+ return safeParse(
4263
+ jsonString,
4264
+ (x) => TargetReleaseProfileCondition$inboundSchema.parse(JSON.parse(x)),
4265
+ `Failed to parse 'TargetReleaseProfileCondition' from JSON`,
4266
+ );
4267
+ }
4268
+
4269
+ /** @internal */
4270
+ export const TargetReleaseProfileConditionUnion$inboundSchema: z.ZodType<
4271
+ TargetReleaseProfileConditionUnion,
4272
+ unknown
4273
+ > = z.union([
4274
+ z.lazy(() => TargetReleaseProfileCondition$inboundSchema),
4275
+ z.string(),
4276
+ ]);
4277
+ /** @internal */
4278
+ export type TargetReleaseProfileConditionUnion$Outbound =
4279
+ | TargetReleaseProfileCondition$Outbound
4280
+ | string;
4281
+
4282
+ /** @internal */
4283
+ export const TargetReleaseProfileConditionUnion$outboundSchema: z.ZodType<
4284
+ TargetReleaseProfileConditionUnion$Outbound,
4285
+ TargetReleaseProfileConditionUnion
4286
+ > = z.union([
4287
+ z.lazy(() => TargetReleaseProfileCondition$outboundSchema),
4288
+ z.string(),
4289
+ ]);
4290
+
4291
+ export function targetReleaseProfileConditionUnionToJSON(
4292
+ targetReleaseProfileConditionUnion: TargetReleaseProfileConditionUnion,
4293
+ ): string {
4294
+ return JSON.stringify(
4295
+ TargetReleaseProfileConditionUnion$outboundSchema.parse(
4296
+ targetReleaseProfileConditionUnion,
4297
+ ),
4298
+ );
4299
+ }
4300
+ export function targetReleaseProfileConditionUnionFromJSON(
4301
+ jsonString: string,
4302
+ ): SafeParseResult<TargetReleaseProfileConditionUnion, SDKValidationError> {
4303
+ return safeParse(
4304
+ jsonString,
4305
+ (x) =>
4306
+ TargetReleaseProfileConditionUnion$inboundSchema.parse(JSON.parse(x)),
4307
+ `Failed to parse 'TargetReleaseProfileConditionUnion' from JSON`,
4308
+ );
4309
+ }
4310
+
4311
+ /** @internal */
4312
+ export const TargetReleaseProfileGcpStack$inboundSchema: z.ZodType<
4313
+ TargetReleaseProfileGcpStack,
4314
+ unknown
4315
+ > = z.object({
4316
+ condition: z.nullable(
4317
+ z.union([
4318
+ z.lazy(() => TargetReleaseProfileCondition$inboundSchema),
4319
+ z.string(),
4320
+ ]),
4321
+ ).optional(),
4322
+ scope: z.string(),
4323
+ });
4324
+ /** @internal */
4325
+ export type TargetReleaseProfileGcpStack$Outbound = {
4326
+ condition?:
4327
+ | TargetReleaseProfileCondition$Outbound
4328
+ | string
4329
+ | null
4330
+ | undefined;
4331
+ scope: string;
4332
+ };
4333
+
4334
+ /** @internal */
4335
+ export const TargetReleaseProfileGcpStack$outboundSchema: z.ZodType<
4336
+ TargetReleaseProfileGcpStack$Outbound,
4337
+ TargetReleaseProfileGcpStack
4338
+ > = z.object({
4339
+ condition: z.nullable(
4340
+ z.union([
4341
+ z.lazy(() => TargetReleaseProfileCondition$outboundSchema),
4342
+ z.string(),
4343
+ ]),
4344
+ ).optional(),
4345
+ scope: z.string(),
4346
+ });
4347
+
4348
+ export function targetReleaseProfileGcpStackToJSON(
4349
+ targetReleaseProfileGcpStack: TargetReleaseProfileGcpStack,
4350
+ ): string {
4351
+ return JSON.stringify(
4352
+ TargetReleaseProfileGcpStack$outboundSchema.parse(
4353
+ targetReleaseProfileGcpStack,
4354
+ ),
4355
+ );
4356
+ }
4357
+ export function targetReleaseProfileGcpStackFromJSON(
4358
+ jsonString: string,
4359
+ ): SafeParseResult<TargetReleaseProfileGcpStack, SDKValidationError> {
4360
+ return safeParse(
4361
+ jsonString,
4362
+ (x) => TargetReleaseProfileGcpStack$inboundSchema.parse(JSON.parse(x)),
4363
+ `Failed to parse 'TargetReleaseProfileGcpStack' from JSON`,
4364
+ );
4365
+ }
4366
+
4367
+ /** @internal */
4368
+ export const TargetReleaseProfileGcpBinding$inboundSchema: z.ZodType<
4369
+ TargetReleaseProfileGcpBinding,
4370
+ unknown
4371
+ > = z.object({
4372
+ resource: z.lazy(() => TargetReleaseProfileGcpResource$inboundSchema)
4373
+ .optional(),
4374
+ stack: z.lazy(() => TargetReleaseProfileGcpStack$inboundSchema).optional(),
4375
+ });
4376
+ /** @internal */
4377
+ export type TargetReleaseProfileGcpBinding$Outbound = {
4378
+ resource?: TargetReleaseProfileGcpResource$Outbound | undefined;
4379
+ stack?: TargetReleaseProfileGcpStack$Outbound | undefined;
4380
+ };
4381
+
4382
+ /** @internal */
4383
+ export const TargetReleaseProfileGcpBinding$outboundSchema: z.ZodType<
4384
+ TargetReleaseProfileGcpBinding$Outbound,
4385
+ TargetReleaseProfileGcpBinding
4386
+ > = z.object({
4387
+ resource: z.lazy(() => TargetReleaseProfileGcpResource$outboundSchema)
4388
+ .optional(),
4389
+ stack: z.lazy(() => TargetReleaseProfileGcpStack$outboundSchema).optional(),
4390
+ });
4391
+
4392
+ export function targetReleaseProfileGcpBindingToJSON(
4393
+ targetReleaseProfileGcpBinding: TargetReleaseProfileGcpBinding,
4394
+ ): string {
4395
+ return JSON.stringify(
4396
+ TargetReleaseProfileGcpBinding$outboundSchema.parse(
4397
+ targetReleaseProfileGcpBinding,
4398
+ ),
4399
+ );
4400
+ }
4401
+ export function targetReleaseProfileGcpBindingFromJSON(
4402
+ jsonString: string,
4403
+ ): SafeParseResult<TargetReleaseProfileGcpBinding, SDKValidationError> {
4404
+ return safeParse(
4405
+ jsonString,
4406
+ (x) => TargetReleaseProfileGcpBinding$inboundSchema.parse(JSON.parse(x)),
4407
+ `Failed to parse 'TargetReleaseProfileGcpBinding' from JSON`,
4408
+ );
4409
+ }
4410
+
4411
+ /** @internal */
4412
+ export const TargetReleaseProfileGcpGrant$inboundSchema: z.ZodType<
4413
+ TargetReleaseProfileGcpGrant,
4414
+ unknown
4415
+ > = z.object({
4416
+ actions: z.nullable(z.array(z.string())).optional(),
4417
+ dataActions: z.nullable(z.array(z.string())).optional(),
4418
+ permissions: z.nullable(z.array(z.string())).optional(),
4419
+ predefinedRoles: z.nullable(z.array(z.string())).optional(),
4420
+ residualPermissions: z.nullable(z.array(z.string())).optional(),
4421
+ });
4422
+ /** @internal */
4423
+ export type TargetReleaseProfileGcpGrant$Outbound = {
4424
+ actions?: Array<string> | null | undefined;
4425
+ dataActions?: Array<string> | null | undefined;
4426
+ permissions?: Array<string> | null | undefined;
4427
+ predefinedRoles?: Array<string> | null | undefined;
4428
+ residualPermissions?: Array<string> | null | undefined;
4429
+ };
4430
+
4431
+ /** @internal */
4432
+ export const TargetReleaseProfileGcpGrant$outboundSchema: z.ZodType<
4433
+ TargetReleaseProfileGcpGrant$Outbound,
4434
+ TargetReleaseProfileGcpGrant
4435
+ > = z.object({
4436
+ actions: z.nullable(z.array(z.string())).optional(),
4437
+ dataActions: z.nullable(z.array(z.string())).optional(),
4438
+ permissions: z.nullable(z.array(z.string())).optional(),
4439
+ predefinedRoles: z.nullable(z.array(z.string())).optional(),
4440
+ residualPermissions: z.nullable(z.array(z.string())).optional(),
4441
+ });
4442
+
4443
+ export function targetReleaseProfileGcpGrantToJSON(
4444
+ targetReleaseProfileGcpGrant: TargetReleaseProfileGcpGrant,
4445
+ ): string {
4446
+ return JSON.stringify(
4447
+ TargetReleaseProfileGcpGrant$outboundSchema.parse(
4448
+ targetReleaseProfileGcpGrant,
4449
+ ),
4450
+ );
4451
+ }
4452
+ export function targetReleaseProfileGcpGrantFromJSON(
4453
+ jsonString: string,
4454
+ ): SafeParseResult<TargetReleaseProfileGcpGrant, SDKValidationError> {
4455
+ return safeParse(
4456
+ jsonString,
4457
+ (x) => TargetReleaseProfileGcpGrant$inboundSchema.parse(JSON.parse(x)),
4458
+ `Failed to parse 'TargetReleaseProfileGcpGrant' from JSON`,
4459
+ );
4460
+ }
4461
+
4462
+ /** @internal */
4463
+ export const TargetReleaseProfileGcp$inboundSchema: z.ZodType<
4464
+ TargetReleaseProfileGcp,
4465
+ unknown
4466
+ > = z.object({
4467
+ binding: z.lazy(() => TargetReleaseProfileGcpBinding$inboundSchema),
4468
+ description: z.nullable(z.string()).optional(),
4469
+ grant: z.lazy(() => TargetReleaseProfileGcpGrant$inboundSchema),
4470
+ label: z.nullable(z.string()).optional(),
4471
+ });
4472
+ /** @internal */
4473
+ export type TargetReleaseProfileGcp$Outbound = {
4474
+ binding: TargetReleaseProfileGcpBinding$Outbound;
4475
+ description?: string | null | undefined;
4476
+ grant: TargetReleaseProfileGcpGrant$Outbound;
4477
+ label?: string | null | undefined;
4478
+ };
4479
+
4480
+ /** @internal */
4481
+ export const TargetReleaseProfileGcp$outboundSchema: z.ZodType<
4482
+ TargetReleaseProfileGcp$Outbound,
4483
+ TargetReleaseProfileGcp
4484
+ > = z.object({
4485
+ binding: z.lazy(() => TargetReleaseProfileGcpBinding$outboundSchema),
4486
+ description: z.nullable(z.string()).optional(),
4487
+ grant: z.lazy(() => TargetReleaseProfileGcpGrant$outboundSchema),
4488
+ label: z.nullable(z.string()).optional(),
4489
+ });
4490
+
4491
+ export function targetReleaseProfileGcpToJSON(
4492
+ targetReleaseProfileGcp: TargetReleaseProfileGcp,
4493
+ ): string {
4494
+ return JSON.stringify(
4495
+ TargetReleaseProfileGcp$outboundSchema.parse(targetReleaseProfileGcp),
4496
+ );
4497
+ }
4498
+ export function targetReleaseProfileGcpFromJSON(
4499
+ jsonString: string,
4500
+ ): SafeParseResult<TargetReleaseProfileGcp, SDKValidationError> {
4501
+ return safeParse(
4502
+ jsonString,
4503
+ (x) => TargetReleaseProfileGcp$inboundSchema.parse(JSON.parse(x)),
4504
+ `Failed to parse 'TargetReleaseProfileGcp' from JSON`,
4505
+ );
4506
+ }
4507
+
4508
+ /** @internal */
4509
+ export const TargetReleaseProfilePlatforms$inboundSchema: z.ZodType<
4510
+ TargetReleaseProfilePlatforms,
4511
+ unknown
4512
+ > = z.object({
4513
+ aws: z.nullable(z.array(z.lazy(() => TargetReleaseProfileAw$inboundSchema)))
4514
+ .optional(),
4515
+ azure: z.nullable(
4516
+ z.array(z.lazy(() => TargetReleaseProfileAzure$inboundSchema)),
4517
+ ).optional(),
4518
+ gcp: z.nullable(z.array(z.lazy(() => TargetReleaseProfileGcp$inboundSchema)))
4519
+ .optional(),
4520
+ });
4521
+ /** @internal */
4522
+ export type TargetReleaseProfilePlatforms$Outbound = {
4523
+ aws?: Array<TargetReleaseProfileAw$Outbound> | null | undefined;
4524
+ azure?: Array<TargetReleaseProfileAzure$Outbound> | null | undefined;
4525
+ gcp?: Array<TargetReleaseProfileGcp$Outbound> | null | undefined;
4526
+ };
4527
+
4528
+ /** @internal */
4529
+ export const TargetReleaseProfilePlatforms$outboundSchema: z.ZodType<
4530
+ TargetReleaseProfilePlatforms$Outbound,
4531
+ TargetReleaseProfilePlatforms
4532
+ > = z.object({
4533
+ aws: z.nullable(z.array(z.lazy(() => TargetReleaseProfileAw$outboundSchema)))
4534
+ .optional(),
4535
+ azure: z.nullable(
4536
+ z.array(z.lazy(() => TargetReleaseProfileAzure$outboundSchema)),
4537
+ ).optional(),
4538
+ gcp: z.nullable(z.array(z.lazy(() => TargetReleaseProfileGcp$outboundSchema)))
4539
+ .optional(),
4540
+ });
4541
+
4542
+ export function targetReleaseProfilePlatformsToJSON(
4543
+ targetReleaseProfilePlatforms: TargetReleaseProfilePlatforms,
4544
+ ): string {
4545
+ return JSON.stringify(
4546
+ TargetReleaseProfilePlatforms$outboundSchema.parse(
4547
+ targetReleaseProfilePlatforms,
4548
+ ),
4549
+ );
4550
+ }
4551
+ export function targetReleaseProfilePlatformsFromJSON(
4552
+ jsonString: string,
4553
+ ): SafeParseResult<TargetReleaseProfilePlatforms, SDKValidationError> {
4554
+ return safeParse(
4555
+ jsonString,
4556
+ (x) => TargetReleaseProfilePlatforms$inboundSchema.parse(JSON.parse(x)),
4557
+ `Failed to parse 'TargetReleaseProfilePlatforms' from JSON`,
4558
+ );
4559
+ }
4560
+
4561
+ /** @internal */
4562
+ export const TargetReleaseProfile$inboundSchema: z.ZodType<
4563
+ TargetReleaseProfile,
4564
+ unknown
4565
+ > = z.object({
4566
+ description: z.string(),
4567
+ id: z.string(),
4568
+ platforms: z.lazy(() => TargetReleaseProfilePlatforms$inboundSchema),
4569
+ });
4570
+ /** @internal */
4571
+ export type TargetReleaseProfile$Outbound = {
4572
+ description: string;
4573
+ id: string;
4574
+ platforms: TargetReleaseProfilePlatforms$Outbound;
4575
+ };
4576
+
4577
+ /** @internal */
4578
+ export const TargetReleaseProfile$outboundSchema: z.ZodType<
4579
+ TargetReleaseProfile$Outbound,
4580
+ TargetReleaseProfile
4581
+ > = z.object({
4582
+ description: z.string(),
4583
+ id: z.string(),
4584
+ platforms: z.lazy(() => TargetReleaseProfilePlatforms$outboundSchema),
4585
+ });
4586
+
4587
+ export function targetReleaseProfileToJSON(
4588
+ targetReleaseProfile: TargetReleaseProfile,
4589
+ ): string {
4590
+ return JSON.stringify(
4591
+ TargetReleaseProfile$outboundSchema.parse(targetReleaseProfile),
4592
+ );
4593
+ }
4594
+ export function targetReleaseProfileFromJSON(
4595
+ jsonString: string,
4596
+ ): SafeParseResult<TargetReleaseProfile, SDKValidationError> {
4597
+ return safeParse(
4598
+ jsonString,
4599
+ (x) => TargetReleaseProfile$inboundSchema.parse(JSON.parse(x)),
4600
+ `Failed to parse 'TargetReleaseProfile' from JSON`,
4601
+ );
4602
+ }
4603
+
4604
+ /** @internal */
4605
+ export const TargetReleaseProfileUnion$inboundSchema: z.ZodType<
4606
+ TargetReleaseProfileUnion,
4607
+ unknown
4608
+ > = z.union([z.lazy(() => TargetReleaseProfile$inboundSchema), z.string()]);
4609
+ /** @internal */
4610
+ export type TargetReleaseProfileUnion$Outbound =
4611
+ | TargetReleaseProfile$Outbound
4612
+ | string;
4613
+
4614
+ /** @internal */
4615
+ export const TargetReleaseProfileUnion$outboundSchema: z.ZodType<
4616
+ TargetReleaseProfileUnion$Outbound,
4617
+ TargetReleaseProfileUnion
4618
+ > = z.union([z.lazy(() => TargetReleaseProfile$outboundSchema), z.string()]);
4619
+
4620
+ export function targetReleaseProfileUnionToJSON(
4621
+ targetReleaseProfileUnion: TargetReleaseProfileUnion,
4622
+ ): string {
4623
+ return JSON.stringify(
4624
+ TargetReleaseProfileUnion$outboundSchema.parse(targetReleaseProfileUnion),
4625
+ );
4626
+ }
4627
+ export function targetReleaseProfileUnionFromJSON(
4628
+ jsonString: string,
4629
+ ): SafeParseResult<TargetReleaseProfileUnion, SDKValidationError> {
4630
+ return safeParse(
4631
+ jsonString,
4632
+ (x) => TargetReleaseProfileUnion$inboundSchema.parse(JSON.parse(x)),
4633
+ `Failed to parse 'TargetReleaseProfileUnion' from JSON`,
4634
+ );
4635
+ }
4636
+
4637
+ /** @internal */
4638
+ export const TargetReleasePermissions$inboundSchema: z.ZodType<
4639
+ TargetReleasePermissions,
4640
+ unknown
4641
+ > = z.object({
4642
+ management: z.union([
4643
+ z.lazy(() => TargetReleaseManagement1$inboundSchema),
4644
+ z.lazy(() => TargetReleaseManagement2$inboundSchema),
4645
+ TargetReleaseManagementEnum$inboundSchema,
4646
+ ]).optional(),
4647
+ profiles: z.record(
4648
+ z.string(),
4649
+ z.record(
4650
+ z.string(),
4651
+ z.array(
4652
+ z.union([z.lazy(() => TargetReleaseProfile$inboundSchema), z.string()]),
4653
+ ),
4654
+ ),
4655
+ ),
4656
+ });
4657
+ /** @internal */
4658
+ export type TargetReleasePermissions$Outbound = {
4659
+ management?:
4660
+ | TargetReleaseManagement1$Outbound
4661
+ | TargetReleaseManagement2$Outbound
4662
+ | string
4663
+ | undefined;
4664
+ profiles: {
4665
+ [k: string]: { [k: string]: Array<TargetReleaseProfile$Outbound | string> };
4666
+ };
4667
+ };
4668
+
4669
+ /** @internal */
4670
+ export const TargetReleasePermissions$outboundSchema: z.ZodType<
4671
+ TargetReleasePermissions$Outbound,
4672
+ TargetReleasePermissions
4673
+ > = z.object({
4674
+ management: z.union([
4675
+ z.lazy(() => TargetReleaseManagement1$outboundSchema),
4676
+ z.lazy(() => TargetReleaseManagement2$outboundSchema),
4677
+ TargetReleaseManagementEnum$outboundSchema,
4678
+ ]).optional(),
4679
+ profiles: z.record(
4680
+ z.string(),
4681
+ z.record(
4682
+ z.string(),
4683
+ z.array(
4684
+ z.union([
4685
+ z.lazy(() => TargetReleaseProfile$outboundSchema),
4686
+ z.string(),
4687
+ ]),
4688
+ ),
4689
+ ),
4690
+ ),
4691
+ });
4692
+
4693
+ export function targetReleasePermissionsToJSON(
4694
+ targetReleasePermissions: TargetReleasePermissions,
4695
+ ): string {
4696
+ return JSON.stringify(
4697
+ TargetReleasePermissions$outboundSchema.parse(targetReleasePermissions),
4698
+ );
4699
+ }
4700
+ export function targetReleasePermissionsFromJSON(
4701
+ jsonString: string,
4702
+ ): SafeParseResult<TargetReleasePermissions, SDKValidationError> {
4703
+ return safeParse(
4704
+ jsonString,
4705
+ (x) => TargetReleasePermissions$inboundSchema.parse(JSON.parse(x)),
4706
+ `Failed to parse 'TargetReleasePermissions' from JSON`,
4707
+ );
4708
+ }
4709
+
4710
+ /** @internal */
4711
+ export const TargetReleaseConfig$inboundSchema: z.ZodType<
4712
+ TargetReleaseConfig,
4713
+ unknown
4714
+ > = collectExtraKeys$(
4715
+ z.object({
4716
+ id: z.string(),
4717
+ type: z.string(),
4718
+ }).catchall(z.any()),
4719
+ "additionalProperties",
4720
+ true,
4721
+ );
4722
+ /** @internal */
4723
+ export type TargetReleaseConfig$Outbound = {
4724
+ id: string;
4725
+ type: string;
4726
+ [additionalProperties: string]: unknown;
4727
+ };
4728
+
4729
+ /** @internal */
4730
+ export const TargetReleaseConfig$outboundSchema: z.ZodType<
4731
+ TargetReleaseConfig$Outbound,
4732
+ TargetReleaseConfig
4733
+ > = z.object({
4734
+ id: z.string(),
4735
+ type: z.string(),
4736
+ additionalProperties: z.record(z.string(), z.nullable(z.any())).optional(),
4737
+ }).transform((v) => {
4738
+ return {
4739
+ ...v.additionalProperties,
4740
+ ...remap$(v, {
4741
+ additionalProperties: null,
4742
+ }),
4743
+ };
4744
+ });
4745
+
4746
+ export function targetReleaseConfigToJSON(
4747
+ targetReleaseConfig: TargetReleaseConfig,
4748
+ ): string {
4749
+ return JSON.stringify(
4750
+ TargetReleaseConfig$outboundSchema.parse(targetReleaseConfig),
4751
+ );
4752
+ }
4753
+ export function targetReleaseConfigFromJSON(
4754
+ jsonString: string,
4755
+ ): SafeParseResult<TargetReleaseConfig, SDKValidationError> {
4756
+ return safeParse(
4757
+ jsonString,
4758
+ (x) => TargetReleaseConfig$inboundSchema.parse(JSON.parse(x)),
4759
+ `Failed to parse 'TargetReleaseConfig' from JSON`,
4760
+ );
4761
+ }
4762
+
4763
+ /** @internal */
4764
+ export const TargetReleaseDependency$inboundSchema: z.ZodType<
4765
+ TargetReleaseDependency,
4766
+ unknown
4767
+ > = z.object({
4768
+ id: z.string(),
4769
+ type: z.string(),
4770
+ });
4771
+ /** @internal */
4772
+ export type TargetReleaseDependency$Outbound = {
4773
+ id: string;
4774
+ type: string;
4775
+ };
4776
+
4777
+ /** @internal */
4778
+ export const TargetReleaseDependency$outboundSchema: z.ZodType<
4779
+ TargetReleaseDependency$Outbound,
4780
+ TargetReleaseDependency
4781
+ > = z.object({
4782
+ id: z.string(),
4783
+ type: z.string(),
4784
+ });
4785
+
4786
+ export function targetReleaseDependencyToJSON(
4787
+ targetReleaseDependency: TargetReleaseDependency,
4788
+ ): string {
4789
+ return JSON.stringify(
4790
+ TargetReleaseDependency$outboundSchema.parse(targetReleaseDependency),
4791
+ );
4792
+ }
4793
+ export function targetReleaseDependencyFromJSON(
4794
+ jsonString: string,
4795
+ ): SafeParseResult<TargetReleaseDependency, SDKValidationError> {
4796
+ return safeParse(
4797
+ jsonString,
4798
+ (x) => TargetReleaseDependency$inboundSchema.parse(JSON.parse(x)),
4799
+ `Failed to parse 'TargetReleaseDependency' from JSON`,
4800
+ );
4801
+ }
4802
+
4803
+ /** @internal */
4804
+ export const TargetReleaseLifecycle$inboundSchema: z.ZodEnum<
4805
+ typeof TargetReleaseLifecycle
4806
+ > = z.enum(TargetReleaseLifecycle);
4807
+ /** @internal */
4808
+ export const TargetReleaseLifecycle$outboundSchema: z.ZodEnum<
4809
+ typeof TargetReleaseLifecycle
4810
+ > = TargetReleaseLifecycle$inboundSchema;
4811
+
4812
+ /** @internal */
4813
+ export const TargetReleaseResources$inboundSchema: z.ZodType<
4814
+ TargetReleaseResources,
4815
+ unknown
4816
+ > = z.object({
4817
+ config: z.lazy(() => TargetReleaseConfig$inboundSchema),
4818
+ dependencies: z.array(z.lazy(() => TargetReleaseDependency$inboundSchema)),
4819
+ enabledWhen: z.nullable(z.string()).optional(),
4820
+ lifecycle: TargetReleaseLifecycle$inboundSchema,
4821
+ remoteAccess: z.boolean().optional(),
4822
+ });
4823
+ /** @internal */
4824
+ export type TargetReleaseResources$Outbound = {
4825
+ config: TargetReleaseConfig$Outbound;
4826
+ dependencies: Array<TargetReleaseDependency$Outbound>;
4827
+ enabledWhen?: string | null | undefined;
4828
+ lifecycle: string;
4829
+ remoteAccess?: boolean | undefined;
4830
+ };
4831
+
4832
+ /** @internal */
4833
+ export const TargetReleaseResources$outboundSchema: z.ZodType<
4834
+ TargetReleaseResources$Outbound,
4835
+ TargetReleaseResources
4836
+ > = z.object({
4837
+ config: z.lazy(() => TargetReleaseConfig$outboundSchema),
4838
+ dependencies: z.array(z.lazy(() => TargetReleaseDependency$outboundSchema)),
4839
+ enabledWhen: z.nullable(z.string()).optional(),
4840
+ lifecycle: TargetReleaseLifecycle$outboundSchema,
4841
+ remoteAccess: z.boolean().optional(),
4842
+ });
4843
+
4844
+ export function targetReleaseResourcesToJSON(
4845
+ targetReleaseResources: TargetReleaseResources,
4846
+ ): string {
4847
+ return JSON.stringify(
4848
+ TargetReleaseResources$outboundSchema.parse(targetReleaseResources),
4849
+ );
4850
+ }
4851
+ export function targetReleaseResourcesFromJSON(
4852
+ jsonString: string,
4853
+ ): SafeParseResult<TargetReleaseResources, SDKValidationError> {
4854
+ return safeParse(
4855
+ jsonString,
4856
+ (x) => TargetReleaseResources$inboundSchema.parse(JSON.parse(x)),
4857
+ `Failed to parse 'TargetReleaseResources' from JSON`,
4858
+ );
4859
+ }
4860
+
4861
+ /** @internal */
4862
+ export const TargetReleaseSupportedPlatform$inboundSchema: z.ZodEnum<
4863
+ typeof TargetReleaseSupportedPlatform
4864
+ > = z.enum(TargetReleaseSupportedPlatform);
4865
+ /** @internal */
4866
+ export const TargetReleaseSupportedPlatform$outboundSchema: z.ZodEnum<
4867
+ typeof TargetReleaseSupportedPlatform
4868
+ > = TargetReleaseSupportedPlatform$inboundSchema;
4869
+
4870
+ /** @internal */
4871
+ export const TargetReleaseStack$inboundSchema: z.ZodType<
4872
+ TargetReleaseStack,
4873
+ unknown
4874
+ > = z.object({
4875
+ dynamicContainerImageResources: z.array(z.string()).optional(),
4876
+ dynamicContainerRepositories: z.array(z.string()).optional(),
4877
+ id: z.string(),
4878
+ inputs: z.array(TargetReleaseInput$inboundSchema).optional(),
4879
+ operations: z.nullable(
4880
+ z.union([TargetReleaseOperations$inboundSchema, z.string()]),
4881
+ ).optional(),
4882
+ permissions: z.lazy(() => TargetReleasePermissions$inboundSchema).optional(),
4883
+ resources: z.record(
4884
+ z.string(),
4885
+ z.lazy(() => TargetReleaseResources$inboundSchema),
4886
+ ),
4887
+ supportedPlatforms: z.nullable(
4888
+ z.array(TargetReleaseSupportedPlatform$inboundSchema),
4889
+ ).optional(),
4890
+ });
4891
+ /** @internal */
4892
+ export type TargetReleaseStack$Outbound = {
4893
+ dynamicContainerImageResources?: Array<string> | undefined;
188
4894
  dynamicContainerRepositories?: Array<string> | undefined;
189
4895
  id: string;
190
4896
  inputs?: Array<TargetReleaseInput$Outbound> | undefined;
4897
+ operations?: TargetReleaseOperations$Outbound | string | null | undefined;
191
4898
  permissions?: TargetReleasePermissions$Outbound | undefined;
192
4899
  resources: { [k: string]: TargetReleaseResources$Outbound };
193
4900
  supportedPlatforms?: Array<string> | null | undefined;
@@ -202,8 +4909,14 @@ export const TargetReleaseStack$outboundSchema: z.ZodType<
202
4909
  dynamicContainerRepositories: z.array(z.string()).optional(),
203
4910
  id: z.string(),
204
4911
  inputs: z.array(TargetReleaseInput$outboundSchema).optional(),
205
- permissions: TargetReleasePermissions$outboundSchema.optional(),
206
- resources: z.record(z.string(), TargetReleaseResources$outboundSchema),
4912
+ operations: z.nullable(
4913
+ z.union([TargetReleaseOperations$outboundSchema, z.string()]),
4914
+ ).optional(),
4915
+ permissions: z.lazy(() => TargetReleasePermissions$outboundSchema).optional(),
4916
+ resources: z.record(
4917
+ z.string(),
4918
+ z.lazy(() => TargetReleaseResources$outboundSchema),
4919
+ ),
207
4920
  supportedPlatforms: z.nullable(
208
4921
  z.array(TargetReleaseSupportedPlatform$outboundSchema),
209
4922
  ).optional(),