@alienplatform/platform-api 1.5.1 → 1.7.0

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 (341) hide show
  1. package/README.md +12 -8
  2. package/esm/funcs/billingGetEntitlements.d.ts +16 -0
  3. package/esm/funcs/billingGetEntitlements.d.ts.map +1 -0
  4. package/esm/funcs/{billingGetPlan.js → billingGetEntitlements.js} +14 -8
  5. package/esm/funcs/billingGetEntitlements.js.map +1 -0
  6. package/esm/funcs/deploymentsCreateSetupRegistrationOperation.d.ts +16 -0
  7. package/esm/funcs/deploymentsCreateSetupRegistrationOperation.d.ts.map +1 -0
  8. package/esm/funcs/{deploymentsAcceptCloudFormationCallback.js → deploymentsCreateSetupRegistrationOperation.js} +10 -11
  9. package/esm/funcs/deploymentsCreateSetupRegistrationOperation.js.map +1 -0
  10. package/esm/funcs/deploymentsDelete.d.ts +3 -2
  11. package/esm/funcs/deploymentsDelete.d.ts.map +1 -1
  12. package/esm/funcs/deploymentsDelete.js +10 -8
  13. package/esm/funcs/deploymentsDelete.js.map +1 -1
  14. package/esm/funcs/{billingGetPlan.d.ts → deploymentsGetSetupRegistrationOperation.d.ts} +5 -3
  15. package/esm/funcs/deploymentsGetSetupRegistrationOperation.d.ts.map +1 -0
  16. package/esm/funcs/deploymentsGetSetupRegistrationOperation.js +89 -0
  17. package/esm/funcs/deploymentsGetSetupRegistrationOperation.js.map +1 -0
  18. package/esm/funcs/domainsCreate.d.ts +1 -1
  19. package/esm/funcs/domainsCreate.js +3 -3
  20. package/esm/funcs/domainsCreate.js.map +1 -1
  21. package/esm/funcs/{deploymentsAcceptCloudFormationCallback.d.ts → domainsCreateEndpoint.d.ts} +4 -3
  22. package/esm/funcs/domainsCreateEndpoint.d.ts.map +1 -0
  23. package/esm/funcs/domainsCreateEndpoint.js +90 -0
  24. package/esm/funcs/domainsCreateEndpoint.js.map +1 -0
  25. package/esm/lib/config.d.ts +2 -2
  26. package/esm/lib/config.js +2 -2
  27. package/esm/models/billingfeatureflags.d.ts +14 -0
  28. package/esm/models/billingfeatureflags.d.ts.map +1 -0
  29. package/esm/models/billingfeatureflags.js +25 -0
  30. package/esm/models/billingfeatureflags.js.map +1 -0
  31. package/esm/models/billinglimits.d.ts +15 -0
  32. package/esm/models/billinglimits.d.ts.map +1 -0
  33. package/esm/models/billinglimits.js +19 -0
  34. package/esm/models/billinglimits.js.map +1 -0
  35. package/esm/models/billingplanstatus.d.ts +13 -0
  36. package/esm/models/billingplanstatus.d.ts.map +1 -0
  37. package/esm/models/billingplanstatus.js +14 -0
  38. package/esm/models/billingplanstatus.js.map +1 -0
  39. package/esm/models/createsetupregistrationoperationrequest.d.ts +1633 -0
  40. package/esm/models/createsetupregistrationoperationrequest.d.ts.map +1 -0
  41. package/esm/models/createsetupregistrationoperationrequest.js +1015 -0
  42. package/esm/models/createsetupregistrationoperationrequest.js.map +1 -0
  43. package/esm/models/deletedeploymentrequest.d.ts +21 -0
  44. package/esm/models/deletedeploymentrequest.d.ts.map +1 -0
  45. package/esm/models/deletedeploymentrequest.js +19 -0
  46. package/esm/models/deletedeploymentrequest.js.map +1 -0
  47. package/esm/models/deletedeploymentresponse.d.ts +20 -0
  48. package/esm/models/deletedeploymentresponse.d.ts.map +1 -0
  49. package/esm/models/deletedeploymentresponse.js +21 -0
  50. package/esm/models/deletedeploymentresponse.js.map +1 -0
  51. package/esm/models/deployment.d.ts +53 -64
  52. package/esm/models/deployment.d.ts.map +1 -1
  53. package/esm/models/deployment.js +32 -44
  54. package/esm/models/deployment.js.map +1 -1
  55. package/esm/models/deploymentconnectioninfo.d.ts +3 -0
  56. package/esm/models/deploymentconnectioninfo.d.ts.map +1 -1
  57. package/esm/models/deploymentconnectioninfo.js +3 -0
  58. package/esm/models/deploymentconnectioninfo.js.map +1 -1
  59. package/esm/models/deploymentdetailresponse.d.ts +53 -64
  60. package/esm/models/deploymentdetailresponse.d.ts.map +1 -1
  61. package/esm/models/deploymentdetailresponse.js +34 -47
  62. package/esm/models/deploymentdetailresponse.js.map +1 -1
  63. package/esm/models/deploymentinfo.d.ts +4 -0
  64. package/esm/models/deploymentinfo.d.ts.map +1 -1
  65. package/esm/models/deploymentinfo.js +1 -0
  66. package/esm/models/deploymentinfo.js.map +1 -1
  67. package/esm/models/deploymentlistitemresponse.d.ts +30 -0
  68. package/esm/models/deploymentlistitemresponse.d.ts.map +1 -1
  69. package/esm/models/deploymentlistitemresponse.js +20 -0
  70. package/esm/models/deploymentlistitemresponse.js.map +1 -1
  71. package/esm/models/deploymentportaldomainresponse.d.ts +3 -4
  72. package/esm/models/deploymentportaldomainresponse.d.ts.map +1 -1
  73. package/esm/models/deploymentportaldomainresponse.js +3 -4
  74. package/esm/models/deploymentportaldomainresponse.js.map +1 -1
  75. package/esm/models/deploymentrole.d.ts +1 -0
  76. package/esm/models/deploymentrole.d.ts.map +1 -1
  77. package/esm/models/deploymentrole.js +1 -0
  78. package/esm/models/deploymentrole.js.map +1 -1
  79. package/esm/models/{managerdomainbinding.d.ts → domainendpoint.d.ts} +19 -12
  80. package/esm/models/domainendpoint.d.ts.map +1 -0
  81. package/esm/models/{managerdomainbinding.js → domainendpoint.js} +17 -11
  82. package/esm/models/domainendpoint.js.map +1 -0
  83. package/esm/models/domainendpointkind.d.ts +12 -0
  84. package/esm/models/domainendpointkind.d.ts.map +1 -0
  85. package/esm/models/domainendpointkind.js +13 -0
  86. package/esm/models/domainendpointkind.js.map +1 -0
  87. package/esm/models/domainendpointowner.d.ts +12 -0
  88. package/esm/models/domainendpointowner.d.ts.map +1 -0
  89. package/esm/models/domainendpointowner.js +15 -0
  90. package/esm/models/domainendpointowner.js.map +1 -0
  91. package/esm/models/domainendpointownertype.d.ts +11 -0
  92. package/esm/models/domainendpointownertype.d.ts.map +1 -0
  93. package/esm/models/domainendpointownertype.js +12 -0
  94. package/esm/models/domainendpointownertype.js.map +1 -0
  95. package/esm/models/domainendpointstatus.d.ts +15 -0
  96. package/esm/models/domainendpointstatus.d.ts.map +1 -0
  97. package/esm/models/domainendpointstatus.js +16 -0
  98. package/esm/models/domainendpointstatus.js.map +1 -0
  99. package/esm/models/domainwithusage.d.ts +8 -6
  100. package/esm/models/domainwithusage.d.ts.map +1 -1
  101. package/esm/models/domainwithusage.js +9 -6
  102. package/esm/models/domainwithusage.js.map +1 -1
  103. package/esm/models/event.d.ts +11 -6
  104. package/esm/models/event.d.ts.map +1 -1
  105. package/esm/models/event.js +5 -2
  106. package/esm/models/event.js.map +1 -1
  107. package/esm/models/importsource.d.ts +8 -18
  108. package/esm/models/importsource.d.ts.map +1 -1
  109. package/esm/models/importsource.js +3 -14
  110. package/esm/models/importsource.js.map +1 -1
  111. package/esm/models/importsourcekind.d.ts +2 -0
  112. package/esm/models/importsourcekind.d.ts.map +1 -1
  113. package/esm/models/importsourcekind.js +3 -1
  114. package/esm/models/importsourcekind.js.map +1 -1
  115. package/esm/models/index.d.ts +18 -5
  116. package/esm/models/index.d.ts.map +1 -1
  117. package/esm/models/index.js +18 -5
  118. package/esm/models/index.js.map +1 -1
  119. package/esm/models/kubernetesbaseplatform.d.ts +17 -0
  120. package/esm/models/kubernetesbaseplatform.d.ts.map +1 -0
  121. package/esm/models/kubernetesbaseplatform.js +15 -0
  122. package/esm/models/kubernetesbaseplatform.js.map +1 -0
  123. package/esm/models/managerdeployment.d.ts +3 -0
  124. package/esm/models/managerdeployment.d.ts.map +1 -1
  125. package/esm/models/managerdeployment.js +3 -0
  126. package/esm/models/managerdeployment.js.map +1 -1
  127. package/esm/models/managerdomainbindingresponse.d.ts +2 -2
  128. package/esm/models/managerdomainbindingresponse.d.ts.map +1 -1
  129. package/esm/models/managerdomainbindingresponse.js +2 -2
  130. package/esm/models/managerdomainbindingresponse.js.map +1 -1
  131. package/esm/models/newdeploymentrequest.d.ts +9 -0
  132. package/esm/models/newdeploymentrequest.d.ts.map +1 -1
  133. package/esm/models/newdeploymentrequest.js +3 -0
  134. package/esm/models/newdeploymentrequest.js.map +1 -1
  135. package/esm/models/operations/createdomain.d.ts +21 -0
  136. package/esm/models/operations/createdomain.d.ts.map +1 -1
  137. package/esm/models/operations/createdomain.js +11 -0
  138. package/esm/models/operations/createdomain.js.map +1 -1
  139. package/esm/models/operations/createdomainendpoint.d.ts +64 -0
  140. package/esm/models/operations/createdomainendpoint.d.ts.map +1 -0
  141. package/esm/models/operations/createdomainendpoint.js +51 -0
  142. package/esm/models/operations/createdomainendpoint.js.map +1 -0
  143. package/esm/models/operations/createsetupregistrationoperation.d.ts +18 -0
  144. package/esm/models/operations/createsetupregistrationoperation.d.ts.map +1 -0
  145. package/esm/models/operations/createsetupregistrationoperation.js +20 -0
  146. package/esm/models/operations/createsetupregistrationoperation.js.map +1 -0
  147. package/esm/models/operations/deletedeployment.d.ts +3 -32
  148. package/esm/models/operations/deletedeployment.d.ts.map +1 -1
  149. package/esm/models/operations/deletedeployment.js +8 -19
  150. package/esm/models/operations/deletedeployment.js.map +1 -1
  151. package/esm/models/operations/getdeploymentstats.d.ts +3 -0
  152. package/esm/models/operations/getdeploymentstats.d.ts.map +1 -1
  153. package/esm/models/operations/getdeploymentstats.js +3 -0
  154. package/esm/models/operations/getdeploymentstats.js.map +1 -1
  155. package/esm/models/operations/getsetupregistrationoperation.d.ts +20 -0
  156. package/esm/models/operations/getsetupregistrationoperation.d.ts.map +1 -0
  157. package/esm/models/operations/getsetupregistrationoperation.js +13 -0
  158. package/esm/models/operations/getsetupregistrationoperation.js.map +1 -0
  159. package/esm/models/operations/getworkspacebillingentitlements.d.ts +15 -0
  160. package/esm/models/operations/getworkspacebillingentitlements.d.ts.map +1 -0
  161. package/esm/models/operations/getworkspacebillingentitlements.js +12 -0
  162. package/esm/models/operations/getworkspacebillingentitlements.js.map +1 -0
  163. package/esm/models/operations/index.d.ts +4 -2
  164. package/esm/models/operations/index.d.ts.map +1 -1
  165. package/esm/models/operations/index.js +4 -2
  166. package/esm/models/operations/index.js.map +1 -1
  167. package/esm/models/operations/listdeployments.d.ts +3 -0
  168. package/esm/models/operations/listdeployments.d.ts.map +1 -1
  169. package/esm/models/operations/listdeployments.js +3 -0
  170. package/esm/models/operations/listdeployments.js.map +1 -1
  171. package/esm/models/package.d.ts +4 -0
  172. package/esm/models/package.d.ts.map +1 -1
  173. package/esm/models/package.js +1 -0
  174. package/esm/models/package.js.map +1 -1
  175. package/esm/models/persistimporteddeploymentrequest.d.ts +11 -88
  176. package/esm/models/persistimporteddeploymentrequest.d.ts.map +1 -1
  177. package/esm/models/persistimporteddeploymentrequest.js +6 -73
  178. package/esm/models/persistimporteddeploymentrequest.js.map +1 -1
  179. package/esm/models/setupregistrationaction.d.ts +13 -0
  180. package/esm/models/setupregistrationaction.d.ts.map +1 -0
  181. package/esm/models/setupregistrationaction.js +14 -0
  182. package/esm/models/setupregistrationaction.js.map +1 -0
  183. package/esm/models/setupregistrationcloudformationtarget.d.ts +22 -0
  184. package/esm/models/setupregistrationcloudformationtarget.d.ts.map +1 -0
  185. package/esm/models/setupregistrationcloudformationtarget.js +17 -0
  186. package/esm/models/setupregistrationcloudformationtarget.js.map +1 -0
  187. package/esm/models/setupregistrationoperationresponse.d.ts +34 -0
  188. package/esm/models/setupregistrationoperationresponse.d.ts.map +1 -0
  189. package/esm/models/setupregistrationoperationresponse.js +32 -0
  190. package/esm/models/setupregistrationoperationresponse.js.map +1 -0
  191. package/esm/models/setupregistrationoperationresult.d.ts +15 -0
  192. package/esm/models/setupregistrationoperationresult.d.ts.map +1 -0
  193. package/esm/models/setupregistrationoperationresult.js +15 -0
  194. package/esm/models/setupregistrationoperationresult.js.map +1 -0
  195. package/esm/models/setupregistrationoperationstatus.d.ts +15 -0
  196. package/esm/models/setupregistrationoperationstatus.d.ts.map +1 -0
  197. package/esm/models/setupregistrationoperationstatus.js +16 -0
  198. package/esm/models/setupregistrationoperationstatus.js.map +1 -0
  199. package/esm/models/syncacquirerequest.d.ts +25 -0
  200. package/esm/models/syncacquirerequest.d.ts.map +1 -1
  201. package/esm/models/syncacquirerequest.js +16 -0
  202. package/esm/models/syncacquirerequest.js.map +1 -1
  203. package/esm/models/syncacquireresponse.d.ts +197 -90
  204. package/esm/models/syncacquireresponse.d.ts.map +1 -1
  205. package/esm/models/syncacquireresponse.js +76 -52
  206. package/esm/models/syncacquireresponse.js.map +1 -1
  207. package/esm/models/synclistrequest.d.ts +3 -0
  208. package/esm/models/synclistrequest.d.ts.map +1 -1
  209. package/esm/models/synclistrequest.js +3 -0
  210. package/esm/models/synclistrequest.js.map +1 -1
  211. package/esm/models/synclistresponse.d.ts +53 -64
  212. package/esm/models/synclistresponse.d.ts.map +1 -1
  213. package/esm/models/synclistresponse.js +33 -44
  214. package/esm/models/synclistresponse.js.map +1 -1
  215. package/esm/models/syncreconcilerequest.d.ts +118 -173
  216. package/esm/models/syncreconcilerequest.d.ts.map +1 -1
  217. package/esm/models/syncreconcilerequest.js +30 -72
  218. package/esm/models/syncreconcilerequest.js.map +1 -1
  219. package/esm/models/syncreconcileresponse.d.ts +197 -90
  220. package/esm/models/syncreconcileresponse.d.ts.map +1 -1
  221. package/esm/models/syncreconcileresponse.js +76 -55
  222. package/esm/models/syncreconcileresponse.js.map +1 -1
  223. package/esm/models/updateproject.d.ts +0 -5
  224. package/esm/models/updateproject.d.ts.map +1 -1
  225. package/esm/models/updateproject.js +0 -1
  226. package/esm/models/updateproject.js.map +1 -1
  227. package/esm/models/workspacebillingentitlements.d.ts +19 -0
  228. package/esm/models/workspacebillingentitlements.d.ts.map +1 -0
  229. package/esm/models/workspacebillingentitlements.js +22 -0
  230. package/esm/models/workspacebillingentitlements.js.map +1 -0
  231. package/esm/sdk/billing.d.ts +3 -2
  232. package/esm/sdk/billing.d.ts.map +1 -1
  233. package/esm/sdk/billing.js +4 -4
  234. package/esm/sdk/billing.js.map +1 -1
  235. package/esm/sdk/deployments.d.ts +10 -6
  236. package/esm/sdk/deployments.d.ts.map +1 -1
  237. package/esm/sdk/deployments.js +17 -10
  238. package/esm/sdk/deployments.js.map +1 -1
  239. package/esm/sdk/domains.d.ts +5 -1
  240. package/esm/sdk/domains.d.ts.map +1 -1
  241. package/esm/sdk/domains.js +8 -1
  242. package/esm/sdk/domains.js.map +1 -1
  243. package/jsr.json +1 -1
  244. package/package.json +2 -2
  245. package/src/funcs/{billingGetPlan.ts → billingGetEntitlements.ts} +24 -13
  246. package/src/funcs/{deploymentsAcceptCloudFormationCallback.ts → deploymentsCreateSetupRegistrationOperation.ts} +18 -15
  247. package/src/funcs/deploymentsDelete.ts +13 -11
  248. package/src/funcs/deploymentsGetSetupRegistrationOperation.ts +184 -0
  249. package/src/funcs/domainsCreate.ts +3 -3
  250. package/src/funcs/domainsCreateEndpoint.ts +181 -0
  251. package/src/lib/config.ts +2 -2
  252. package/src/models/billingfeatureflags.ts +46 -0
  253. package/src/models/billinglimits.ts +38 -0
  254. package/src/models/billingplanstatus.ts +20 -0
  255. package/src/models/createsetupregistrationoperationrequest.ts +4032 -0
  256. package/src/models/deletedeploymentrequest.ts +45 -0
  257. package/src/models/deletedeploymentresponse.ts +47 -0
  258. package/src/models/deployment.ts +64 -116
  259. package/src/models/deploymentconnectioninfo.ts +3 -0
  260. package/src/models/deploymentdetailresponse.ts +70 -138
  261. package/src/models/deploymentinfo.ts +5 -0
  262. package/src/models/deploymentlistitemresponse.ts +38 -0
  263. package/src/models/deploymentportaldomainresponse.ts +7 -8
  264. package/src/models/deploymentrole.ts +1 -0
  265. package/src/models/{packagedomain.ts → domainendpoint.ts} +40 -35
  266. package/src/models/domainendpointkind.ts +19 -0
  267. package/src/models/domainendpointowner.ts +36 -0
  268. package/src/models/domainendpointownertype.ts +20 -0
  269. package/src/models/domainendpointstatus.ts +22 -0
  270. package/src/models/domainwithusage.ts +22 -20
  271. package/src/models/event.ts +11 -6
  272. package/src/models/importsource.ts +9 -25
  273. package/src/models/importsourcekind.ts +5 -1
  274. package/src/models/index.ts +18 -5
  275. package/src/models/kubernetesbaseplatform.ts +24 -0
  276. package/src/models/managerdeployment.ts +3 -0
  277. package/src/models/managerdomainbindingresponse.ts +6 -6
  278. package/src/models/newdeploymentrequest.ts +10 -0
  279. package/src/models/operations/createdomain.ts +33 -0
  280. package/src/models/operations/createdomainendpoint.ts +131 -0
  281. package/src/models/operations/createsetupregistrationoperation.ts +51 -0
  282. package/src/models/operations/deletedeployment.ts +10 -55
  283. package/src/models/operations/getdeploymentstats.ts +3 -0
  284. package/src/models/operations/getsetupregistrationoperation.ts +41 -0
  285. package/src/models/operations/getworkspacebillingentitlements.ts +36 -0
  286. package/src/models/operations/index.ts +4 -2
  287. package/src/models/operations/listdeployments.ts +3 -0
  288. package/src/models/package.ts +5 -0
  289. package/src/models/persistimporteddeploymentrequest.ts +12 -177
  290. package/src/models/setupregistrationaction.ts +24 -0
  291. package/src/models/setupregistrationcloudformationtarget.ts +47 -0
  292. package/src/models/setupregistrationoperationresponse.ts +99 -0
  293. package/src/models/setupregistrationoperationresult.ts +37 -0
  294. package/src/models/setupregistrationoperationstatus.ts +24 -0
  295. package/src/models/syncacquirerequest.ts +34 -0
  296. package/src/models/syncacquireresponse.ts +288 -151
  297. package/src/models/synclistrequest.ts +3 -0
  298. package/src/models/synclistresponse.ts +69 -124
  299. package/src/models/syncreconcilerequest.ts +164 -265
  300. package/src/models/syncreconcileresponse.ts +289 -155
  301. package/src/models/updateproject.ts +0 -6
  302. package/src/models/workspacebillingentitlements.ts +52 -0
  303. package/src/sdk/billing.ts +7 -6
  304. package/src/sdk/deployments.ts +35 -20
  305. package/src/sdk/domains.ts +16 -1
  306. package/esm/funcs/billingGetPlan.d.ts.map +0 -1
  307. package/esm/funcs/billingGetPlan.js.map +0 -1
  308. package/esm/funcs/deploymentsAcceptCloudFormationCallback.d.ts.map +0 -1
  309. package/esm/funcs/deploymentsAcceptCloudFormationCallback.js.map +0 -1
  310. package/esm/models/cloudformationcallbackrequest.d.ts +0 -1650
  311. package/esm/models/cloudformationcallbackrequest.d.ts.map +0 -1
  312. package/esm/models/cloudformationcallbackrequest.js +0 -1002
  313. package/esm/models/cloudformationcallbackrequest.js.map +0 -1
  314. package/esm/models/deploymentportaldomain.d.ts +0 -156
  315. package/esm/models/deploymentportaldomain.d.ts.map +0 -1
  316. package/esm/models/deploymentportaldomain.js +0 -58
  317. package/esm/models/deploymentportaldomain.js.map +0 -1
  318. package/esm/models/managerdomainbinding.d.ts.map +0 -1
  319. package/esm/models/managerdomainbinding.js.map +0 -1
  320. package/esm/models/managerdomainbindingstatus.d.ts +0 -15
  321. package/esm/models/managerdomainbindingstatus.d.ts.map +0 -1
  322. package/esm/models/managerdomainbindingstatus.js +0 -16
  323. package/esm/models/managerdomainbindingstatus.js.map +0 -1
  324. package/esm/models/operations/acceptcloudformationcallback.d.ts +0 -31
  325. package/esm/models/operations/acceptcloudformationcallback.d.ts.map +0 -1
  326. package/esm/models/operations/acceptcloudformationcallback.js +0 -30
  327. package/esm/models/operations/acceptcloudformationcallback.js.map +0 -1
  328. package/esm/models/operations/getworkspaceplan.d.ts +0 -27
  329. package/esm/models/operations/getworkspaceplan.d.ts.map +0 -1
  330. package/esm/models/operations/getworkspaceplan.js +0 -21
  331. package/esm/models/operations/getworkspaceplan.js.map +0 -1
  332. package/esm/models/packagedomain.d.ts +0 -143
  333. package/esm/models/packagedomain.d.ts.map +0 -1
  334. package/esm/models/packagedomain.js +0 -52
  335. package/esm/models/packagedomain.js.map +0 -1
  336. package/src/models/cloudformationcallbackrequest.ts +0 -3915
  337. package/src/models/deploymentportaldomain.ts +0 -226
  338. package/src/models/managerdomainbinding.ts +0 -200
  339. package/src/models/managerdomainbindingstatus.ts +0 -24
  340. package/src/models/operations/acceptcloudformationcallback.ts +0 -82
  341. package/src/models/operations/getworkspaceplan.ts +0 -62
@@ -1386,6 +1386,94 @@ export type SyncReconcileRequestEnvironmentInfoUnion =
1386
1386
  | SyncReconcileRequestEnvironmentInfoTest
1387
1387
  | any;
1388
1388
 
1389
+ /**
1390
+ * Canonical error container that provides a structured way to represent errors
1391
+ *
1392
+ * @remarks
1393
+ * with rich metadata including error codes, human-readable messages, context,
1394
+ * and chaining capabilities for error propagation.
1395
+ *
1396
+ * This struct is designed to be both machine-readable and user-friendly,
1397
+ * supporting serialization for API responses and detailed error reporting
1398
+ * in distributed systems.
1399
+ */
1400
+ export type SyncReconcileRequestError = {
1401
+ /**
1402
+ * A unique identifier for the type of error.
1403
+ *
1404
+ * @remarks
1405
+ *
1406
+ * This should be a short, machine-readable string that can be used
1407
+ * by clients to programmatically handle different error types.
1408
+ * Examples: "NOT_FOUND", "VALIDATION_ERROR", "TIMEOUT"
1409
+ */
1410
+ code: string;
1411
+ /**
1412
+ * Additional diagnostic information about the error context.
1413
+ *
1414
+ * @remarks
1415
+ *
1416
+ * This optional field can contain structured data providing more details
1417
+ * about the error, such as validation errors, request parameters that
1418
+ * caused the issue, or other relevant context information.
1419
+ */
1420
+ context?: any | null | undefined;
1421
+ /**
1422
+ * Optional human-facing remediation hint.
1423
+ */
1424
+ hint?: string | null | undefined;
1425
+ /**
1426
+ * HTTP status code for this error.
1427
+ *
1428
+ * @remarks
1429
+ *
1430
+ * Used when converting the error to an HTTP response. If None, falls back to
1431
+ * the error type's default status code or 500.
1432
+ */
1433
+ httpStatusCode?: number | null | undefined;
1434
+ /**
1435
+ * Indicates if this is an internal error that should not be exposed to users.
1436
+ *
1437
+ * @remarks
1438
+ *
1439
+ * When `true`, this error contains sensitive information or implementation
1440
+ * details that should not be shown to end-users. Such errors should be
1441
+ * logged for debugging but replaced with generic error messages in responses.
1442
+ */
1443
+ internal: boolean;
1444
+ /**
1445
+ * Human-readable error message.
1446
+ *
1447
+ * @remarks
1448
+ *
1449
+ * This message should be clear and actionable for developers or end-users,
1450
+ * providing context about what went wrong and potentially how to fix it.
1451
+ */
1452
+ message: string;
1453
+ /**
1454
+ * Indicates whether the operation that caused the error should be retried.
1455
+ *
1456
+ * @remarks
1457
+ *
1458
+ * When `true`, the error is transient and the operation might succeed
1459
+ * if attempted again. When `false`, retrying the same operation is
1460
+ * unlikely to succeed without changes.
1461
+ */
1462
+ retryable?: boolean | undefined;
1463
+ /**
1464
+ * The underlying error that caused this error, creating an error chain.
1465
+ *
1466
+ * @remarks
1467
+ *
1468
+ * This allows for proper error propagation and debugging by maintaining
1469
+ * the full context of how an error occurred through multiple layers
1470
+ * of an application.
1471
+ */
1472
+ source?: any | null | undefined;
1473
+ };
1474
+
1475
+ export type SyncReconcileRequestErrorUnion = SyncReconcileRequestError | any;
1476
+
1389
1477
  /**
1390
1478
  * Represents the target cloud platform.
1391
1479
  */
@@ -1404,70 +1492,6 @@ export type SyncReconcileRequestPlatform = ClosedEnum<
1404
1492
  typeof SyncReconcileRequestPlatform
1405
1493
  >;
1406
1494
 
1407
- /**
1408
- * Scope for a delete operation.
1409
- *
1410
- * @remarks
1411
- *
1412
- * Full deletes are setup/admin owned and may remove both Frozen and Live
1413
- * resources. Live-only deletes are used by setup handoff resources
1414
- * (Terraform/CloudFormation) so Alien removes only the resources it owns
1415
- * before setup tears down Frozen resources.
1416
- */
1417
- export const SyncReconcileRequestDeleteScopeEnum = {
1418
- Full: "full",
1419
- LiveOnly: "liveOnly",
1420
- } as const;
1421
- /**
1422
- * Scope for a delete operation.
1423
- *
1424
- * @remarks
1425
- *
1426
- * Full deletes are setup/admin owned and may remove both Frozen and Live
1427
- * resources. Live-only deletes are used by setup handoff resources
1428
- * (Terraform/CloudFormation) so Alien removes only the resources it owns
1429
- * before setup tears down Frozen resources.
1430
- */
1431
- export type SyncReconcileRequestDeleteScopeEnum = ClosedEnum<
1432
- typeof SyncReconcileRequestDeleteScopeEnum
1433
- >;
1434
-
1435
- export type SyncReconcileRequestDeleteScopeUnion =
1436
- | SyncReconcileRequestDeleteScopeEnum
1437
- | any;
1438
-
1439
- /**
1440
- * Scope for a delete operation.
1441
- *
1442
- * @remarks
1443
- *
1444
- * Full deletes are setup/admin owned and may remove both Frozen and Live
1445
- * resources. Live-only deletes are used by setup handoff resources
1446
- * (Terraform/CloudFormation) so Alien removes only the resources it owns
1447
- * before setup tears down Frozen resources.
1448
- */
1449
- export const SyncReconcileRequestPendingDeleteScopeEnum = {
1450
- Full: "full",
1451
- LiveOnly: "liveOnly",
1452
- } as const;
1453
- /**
1454
- * Scope for a delete operation.
1455
- *
1456
- * @remarks
1457
- *
1458
- * Full deletes are setup/admin owned and may remove both Frozen and Live
1459
- * resources. Live-only deletes are used by setup handoff resources
1460
- * (Terraform/CloudFormation) so Alien removes only the resources it owns
1461
- * before setup tears down Frozen resources.
1462
- */
1463
- export type SyncReconcileRequestPendingDeleteScopeEnum = ClosedEnum<
1464
- typeof SyncReconcileRequestPendingDeleteScopeEnum
1465
- >;
1466
-
1467
- export type SyncReconcileRequestPendingDeleteScopeUnion =
1468
- | SyncReconcileRequestPendingDeleteScopeEnum
1469
- | any;
1470
-
1471
1495
  export const SyncReconcileRequestPreparedStackManagementEnum = {
1472
1496
  Auto: "auto",
1473
1497
  } as const;
@@ -2700,7 +2724,6 @@ export type SyncReconcileRequestPreparedStackUnion =
2700
2724
  * Stores deployment state that needs to persist across step calls.
2701
2725
  */
2702
2726
  export type SyncReconcileRequestRuntimeMetadata = {
2703
- deleteScope?: SyncReconcileRequestDeleteScopeEnum | any | null | undefined;
2704
2727
  /**
2705
2728
  * Hash of the environment variables snapshot that was last synced to the vault
2706
2729
  *
@@ -2708,11 +2731,6 @@ export type SyncReconcileRequestRuntimeMetadata = {
2708
2731
  * Used to avoid redundant sync operations during incremental deployment
2709
2732
  */
2710
2733
  lastSyncedEnvVarsHash?: string | null | undefined;
2711
- pendingDeleteScope?:
2712
- | SyncReconcileRequestPendingDeleteScopeEnum
2713
- | any
2714
- | null
2715
- | undefined;
2716
2734
  preparedStack?: SyncReconcileRequestPreparedStack | any | null | undefined;
2717
2735
  /**
2718
2736
  * Whether cross-account registry access has been successfully granted.
@@ -2807,7 +2825,7 @@ export type SyncReconcileRequestStackStateDependency = {
2807
2825
  * supporting serialization for API responses and detailed error reporting
2808
2826
  * in distributed systems.
2809
2827
  */
2810
- export type SyncReconcileRequestErrorState = {
2828
+ export type SyncReconcileRequestStackStateError = {
2811
2829
  /**
2812
2830
  * A unique identifier for the type of error.
2813
2831
  *
@@ -2882,8 +2900,8 @@ export type SyncReconcileRequestErrorState = {
2882
2900
  source?: any | null | undefined;
2883
2901
  };
2884
2902
 
2885
- export type SyncReconcileRequestErrorUnion =
2886
- | SyncReconcileRequestErrorState
2903
+ export type SyncReconcileRequestStackStateErrorUnion =
2904
+ | SyncReconcileRequestStackStateError
2887
2905
  | any;
2888
2906
 
2889
2907
  /**
@@ -2948,6 +2966,7 @@ export const StackStateStateStatus = {
2948
2966
  UpdateFailed: "update-failed",
2949
2967
  Deleting: "deleting",
2950
2968
  DeleteFailed: "delete-failed",
2969
+ TeardownRequired: "teardown-required",
2951
2970
  Deleted: "deleted",
2952
2971
  RefreshFailed: "refresh-failed",
2953
2972
  } as const;
@@ -2980,7 +2999,7 @@ export type SyncReconcileRequestStackStateResources = {
2980
2999
  * This preserves the full dependency information from the stack definition.
2981
3000
  */
2982
3001
  dependencies?: Array<SyncReconcileRequestStackStateDependency> | undefined;
2983
- error?: SyncReconcileRequestErrorState | any | null | undefined;
3002
+ error?: SyncReconcileRequestStackStateError | any | null | undefined;
2984
3003
  /**
2985
3004
  * Stores the controller state that failed, used for manual retry operations.
2986
3005
  *
@@ -3042,6 +3061,7 @@ export type SyncReconcileRequestStackStateUnion =
3042
3061
  */
3043
3062
  export const StateStatus = {
3044
3063
  Pending: "pending",
3064
+ PreflightsFailed: "preflights-failed",
3045
3065
  InitialSetup: "initial-setup",
3046
3066
  InitialSetupFailed: "initial-setup-failed",
3047
3067
  Provisioning: "provisioning",
@@ -3054,6 +3074,8 @@ export const StateStatus = {
3054
3074
  DeletePending: "delete-pending",
3055
3075
  Deleting: "deleting",
3056
3076
  DeleteFailed: "delete-failed",
3077
+ TeardownRequired: "teardown-required",
3078
+ TeardownFailed: "teardown-failed",
3057
3079
  Deleted: "deleted",
3058
3080
  Error: "error",
3059
3081
  } as const;
@@ -4328,6 +4350,7 @@ export type SyncReconcileRequestState = {
4328
4350
  | any
4329
4351
  | null
4330
4352
  | undefined;
4353
+ error?: SyncReconcileRequestError | any | null | undefined;
4331
4354
  /**
4332
4355
  * Represents the target cloud platform.
4333
4356
  */
@@ -4361,84 +4384,6 @@ export type SyncReconcileRequestState = {
4361
4384
  targetRelease?: SyncReconcileRequestTargetRelease | any | null | undefined;
4362
4385
  };
4363
4386
 
4364
- /**
4365
- * Deployment error from step() result. Set when deployment fails, null to clear.
4366
- */
4367
- export type SyncReconcileRequestError = {
4368
- /**
4369
- * A unique identifier for the type of error.
4370
- *
4371
- * @remarks
4372
- *
4373
- * This should be a short, machine-readable string that can be used
4374
- * by clients to programmatically handle different error types.
4375
- * Examples: "NOT_FOUND", "VALIDATION_ERROR", "TIMEOUT"
4376
- */
4377
- code: string;
4378
- /**
4379
- * Additional diagnostic information about the error context.
4380
- *
4381
- * @remarks
4382
- *
4383
- * This optional field can contain structured data providing more details
4384
- * about the error, such as validation errors, request parameters that
4385
- * caused the issue, or other relevant context information.
4386
- */
4387
- context?: any | null | undefined;
4388
- /**
4389
- * Optional human-facing remediation hint.
4390
- */
4391
- hint?: string | null | undefined;
4392
- /**
4393
- * HTTP status code for this error.
4394
- *
4395
- * @remarks
4396
- *
4397
- * Used when converting the error to an HTTP response. If None, falls back to
4398
- * the error type's default status code or 500.
4399
- */
4400
- httpStatusCode?: number | null | undefined;
4401
- /**
4402
- * Indicates if this is an internal error that should not be exposed to users.
4403
- *
4404
- * @remarks
4405
- *
4406
- * When `true`, this error contains sensitive information or implementation
4407
- * details that should not be shown to end-users. Such errors should be
4408
- * logged for debugging but replaced with generic error messages in responses.
4409
- */
4410
- internal: boolean;
4411
- /**
4412
- * Human-readable error message.
4413
- *
4414
- * @remarks
4415
- *
4416
- * This message should be clear and actionable for developers or end-users,
4417
- * providing context about what went wrong and potentially how to fix it.
4418
- */
4419
- message: string;
4420
- /**
4421
- * Indicates whether the operation that caused the error should be retried.
4422
- *
4423
- * @remarks
4424
- *
4425
- * When `true`, the error is transient and the operation might succeed
4426
- * if attempted again. When `false`, retrying the same operation is
4427
- * unlikely to succeed without changes.
4428
- */
4429
- retryable?: boolean | undefined;
4430
- /**
4431
- * The underlying error that caused this error, creating an error chain.
4432
- *
4433
- * @remarks
4434
- *
4435
- * This allows for proper error propagation and debugging by maintaining
4436
- * the full context of how an error occurred through multiple layers
4437
- * of an application.
4438
- */
4439
- source?: any | null | undefined;
4440
- };
4441
-
4442
4387
  export const BackendEnum = {
4443
4388
  Aws: "aws",
4444
4389
  Gcp: "gcp",
@@ -10876,10 +10821,6 @@ export type SyncReconcileRequest = {
10876
10821
  * Complete deployment state after step() execution
10877
10822
  */
10878
10823
  state: SyncReconcileRequestState;
10879
- /**
10880
- * Deployment error from step() result. Set when deployment fails, null to clear.
10881
- */
10882
- error?: SyncReconcileRequestError | null | undefined;
10883
10824
  /**
10884
10825
  * Update heartbeat timestamp (for successful health checks)
10885
10826
  */
@@ -13582,64 +13523,66 @@ export function syncReconcileRequestEnvironmentInfoUnionToJSON(
13582
13523
  }
13583
13524
 
13584
13525
  /** @internal */
13585
- export const SyncReconcileRequestPlatform$outboundSchema: z.ZodEnum<
13586
- typeof SyncReconcileRequestPlatform
13587
- > = z.enum(SyncReconcileRequestPlatform);
13588
-
13589
- /** @internal */
13590
- export const SyncReconcileRequestDeleteScopeEnum$outboundSchema: z.ZodEnum<
13591
- typeof SyncReconcileRequestDeleteScopeEnum
13592
- > = z.enum(SyncReconcileRequestDeleteScopeEnum);
13593
-
13594
- /** @internal */
13595
- export type SyncReconcileRequestDeleteScopeUnion$Outbound = string | any;
13526
+ export type SyncReconcileRequestError$Outbound = {
13527
+ code: string;
13528
+ context?: any | null | undefined;
13529
+ hint?: string | null | undefined;
13530
+ httpStatusCode?: number | null | undefined;
13531
+ internal: boolean;
13532
+ message: string;
13533
+ retryable: boolean;
13534
+ source?: any | null | undefined;
13535
+ };
13596
13536
 
13597
13537
  /** @internal */
13598
- export const SyncReconcileRequestDeleteScopeUnion$outboundSchema: z.ZodType<
13599
- SyncReconcileRequestDeleteScopeUnion$Outbound,
13600
- SyncReconcileRequestDeleteScopeUnion
13601
- > = z.union([SyncReconcileRequestDeleteScopeEnum$outboundSchema, z.any()]);
13538
+ export const SyncReconcileRequestError$outboundSchema: z.ZodType<
13539
+ SyncReconcileRequestError$Outbound,
13540
+ SyncReconcileRequestError
13541
+ > = z.object({
13542
+ code: z.string(),
13543
+ context: z.nullable(z.any()).optional(),
13544
+ hint: z.nullable(z.string()).optional(),
13545
+ httpStatusCode: z.nullable(z.int()).optional(),
13546
+ internal: z.boolean(),
13547
+ message: z.string(),
13548
+ retryable: z.boolean().default(false),
13549
+ source: z.nullable(z.any()).optional(),
13550
+ });
13602
13551
 
13603
- export function syncReconcileRequestDeleteScopeUnionToJSON(
13604
- syncReconcileRequestDeleteScopeUnion: SyncReconcileRequestDeleteScopeUnion,
13552
+ export function syncReconcileRequestErrorToJSON(
13553
+ syncReconcileRequestError: SyncReconcileRequestError,
13605
13554
  ): string {
13606
13555
  return JSON.stringify(
13607
- SyncReconcileRequestDeleteScopeUnion$outboundSchema.parse(
13608
- syncReconcileRequestDeleteScopeUnion,
13609
- ),
13556
+ SyncReconcileRequestError$outboundSchema.parse(syncReconcileRequestError),
13610
13557
  );
13611
13558
  }
13612
13559
 
13613
13560
  /** @internal */
13614
- export const SyncReconcileRequestPendingDeleteScopeEnum$outboundSchema:
13615
- z.ZodEnum<typeof SyncReconcileRequestPendingDeleteScopeEnum> = z.enum(
13616
- SyncReconcileRequestPendingDeleteScopeEnum,
13617
- );
13618
-
13619
- /** @internal */
13620
- export type SyncReconcileRequestPendingDeleteScopeUnion$Outbound = string | any;
13561
+ export type SyncReconcileRequestErrorUnion$Outbound =
13562
+ | SyncReconcileRequestError$Outbound
13563
+ | any;
13621
13564
 
13622
13565
  /** @internal */
13623
- export const SyncReconcileRequestPendingDeleteScopeUnion$outboundSchema:
13624
- z.ZodType<
13625
- SyncReconcileRequestPendingDeleteScopeUnion$Outbound,
13626
- SyncReconcileRequestPendingDeleteScopeUnion
13627
- > = z.union([
13628
- SyncReconcileRequestPendingDeleteScopeEnum$outboundSchema,
13629
- z.any(),
13630
- ]);
13566
+ export const SyncReconcileRequestErrorUnion$outboundSchema: z.ZodType<
13567
+ SyncReconcileRequestErrorUnion$Outbound,
13568
+ SyncReconcileRequestErrorUnion
13569
+ > = z.union([z.lazy(() => SyncReconcileRequestError$outboundSchema), z.any()]);
13631
13570
 
13632
- export function syncReconcileRequestPendingDeleteScopeUnionToJSON(
13633
- syncReconcileRequestPendingDeleteScopeUnion:
13634
- SyncReconcileRequestPendingDeleteScopeUnion,
13571
+ export function syncReconcileRequestErrorUnionToJSON(
13572
+ syncReconcileRequestErrorUnion: SyncReconcileRequestErrorUnion,
13635
13573
  ): string {
13636
13574
  return JSON.stringify(
13637
- SyncReconcileRequestPendingDeleteScopeUnion$outboundSchema.parse(
13638
- syncReconcileRequestPendingDeleteScopeUnion,
13575
+ SyncReconcileRequestErrorUnion$outboundSchema.parse(
13576
+ syncReconcileRequestErrorUnion,
13639
13577
  ),
13640
13578
  );
13641
13579
  }
13642
13580
 
13581
+ /** @internal */
13582
+ export const SyncReconcileRequestPlatform$outboundSchema: z.ZodEnum<
13583
+ typeof SyncReconcileRequestPlatform
13584
+ > = z.enum(SyncReconcileRequestPlatform);
13585
+
13643
13586
  /** @internal */
13644
13587
  export const SyncReconcileRequestPreparedStackManagementEnum$outboundSchema:
13645
13588
  z.ZodEnum<typeof SyncReconcileRequestPreparedStackManagementEnum> = z.enum(
@@ -16093,9 +16036,7 @@ export function syncReconcileRequestPreparedStackUnionToJSON(
16093
16036
 
16094
16037
  /** @internal */
16095
16038
  export type SyncReconcileRequestRuntimeMetadata$Outbound = {
16096
- deleteScope?: string | any | null | undefined;
16097
16039
  lastSyncedEnvVarsHash?: string | null | undefined;
16098
- pendingDeleteScope?: string | any | null | undefined;
16099
16040
  preparedStack?:
16100
16041
  | SyncReconcileRequestPreparedStack$Outbound
16101
16042
  | any
@@ -16109,16 +16050,7 @@ export const SyncReconcileRequestRuntimeMetadata$outboundSchema: z.ZodType<
16109
16050
  SyncReconcileRequestRuntimeMetadata$Outbound,
16110
16051
  SyncReconcileRequestRuntimeMetadata
16111
16052
  > = z.object({
16112
- deleteScope: z.nullable(
16113
- z.union([SyncReconcileRequestDeleteScopeEnum$outboundSchema, z.any()]),
16114
- ).optional(),
16115
16053
  lastSyncedEnvVarsHash: z.nullable(z.string()).optional(),
16116
- pendingDeleteScope: z.nullable(
16117
- z.union([
16118
- SyncReconcileRequestPendingDeleteScopeEnum$outboundSchema,
16119
- z.any(),
16120
- ]),
16121
- ).optional(),
16122
16054
  preparedStack: z.nullable(
16123
16055
  z.union([
16124
16056
  z.lazy(() => SyncReconcileRequestPreparedStack$outboundSchema),
@@ -16253,7 +16185,7 @@ export function syncReconcileRequestStackStateDependencyToJSON(
16253
16185
  }
16254
16186
 
16255
16187
  /** @internal */
16256
- export type SyncReconcileRequestErrorState$Outbound = {
16188
+ export type SyncReconcileRequestStackStateError$Outbound = {
16257
16189
  code: string;
16258
16190
  context?: any | null | undefined;
16259
16191
  hint?: string | null | undefined;
@@ -16265,9 +16197,9 @@ export type SyncReconcileRequestErrorState$Outbound = {
16265
16197
  };
16266
16198
 
16267
16199
  /** @internal */
16268
- export const SyncReconcileRequestErrorState$outboundSchema: z.ZodType<
16269
- SyncReconcileRequestErrorState$Outbound,
16270
- SyncReconcileRequestErrorState
16200
+ export const SyncReconcileRequestStackStateError$outboundSchema: z.ZodType<
16201
+ SyncReconcileRequestStackStateError$Outbound,
16202
+ SyncReconcileRequestStackStateError
16271
16203
  > = z.object({
16272
16204
  code: z.string(),
16273
16205
  context: z.nullable(z.any()).optional(),
@@ -16279,36 +16211,37 @@ export const SyncReconcileRequestErrorState$outboundSchema: z.ZodType<
16279
16211
  source: z.nullable(z.any()).optional(),
16280
16212
  });
16281
16213
 
16282
- export function syncReconcileRequestErrorStateToJSON(
16283
- syncReconcileRequestErrorState: SyncReconcileRequestErrorState,
16214
+ export function syncReconcileRequestStackStateErrorToJSON(
16215
+ syncReconcileRequestStackStateError: SyncReconcileRequestStackStateError,
16284
16216
  ): string {
16285
16217
  return JSON.stringify(
16286
- SyncReconcileRequestErrorState$outboundSchema.parse(
16287
- syncReconcileRequestErrorState,
16218
+ SyncReconcileRequestStackStateError$outboundSchema.parse(
16219
+ syncReconcileRequestStackStateError,
16288
16220
  ),
16289
16221
  );
16290
16222
  }
16291
16223
 
16292
16224
  /** @internal */
16293
- export type SyncReconcileRequestErrorUnion$Outbound =
16294
- | SyncReconcileRequestErrorState$Outbound
16225
+ export type SyncReconcileRequestStackStateErrorUnion$Outbound =
16226
+ | SyncReconcileRequestStackStateError$Outbound
16295
16227
  | any;
16296
16228
 
16297
16229
  /** @internal */
16298
- export const SyncReconcileRequestErrorUnion$outboundSchema: z.ZodType<
16299
- SyncReconcileRequestErrorUnion$Outbound,
16300
- SyncReconcileRequestErrorUnion
16230
+ export const SyncReconcileRequestStackStateErrorUnion$outboundSchema: z.ZodType<
16231
+ SyncReconcileRequestStackStateErrorUnion$Outbound,
16232
+ SyncReconcileRequestStackStateErrorUnion
16301
16233
  > = z.union([
16302
- z.lazy(() => SyncReconcileRequestErrorState$outboundSchema),
16234
+ z.lazy(() => SyncReconcileRequestStackStateError$outboundSchema),
16303
16235
  z.any(),
16304
16236
  ]);
16305
16237
 
16306
- export function syncReconcileRequestErrorUnionToJSON(
16307
- syncReconcileRequestErrorUnion: SyncReconcileRequestErrorUnion,
16238
+ export function syncReconcileRequestStackStateErrorUnionToJSON(
16239
+ syncReconcileRequestStackStateErrorUnion:
16240
+ SyncReconcileRequestStackStateErrorUnion,
16308
16241
  ): string {
16309
16242
  return JSON.stringify(
16310
- SyncReconcileRequestErrorUnion$outboundSchema.parse(
16311
- syncReconcileRequestErrorUnion,
16243
+ SyncReconcileRequestStackStateErrorUnion$outboundSchema.parse(
16244
+ syncReconcileRequestStackStateErrorUnion,
16312
16245
  ),
16313
16246
  );
16314
16247
  }
@@ -16463,7 +16396,7 @@ export type SyncReconcileRequestStackStateResources$Outbound = {
16463
16396
  dependencies?:
16464
16397
  | Array<SyncReconcileRequestStackStateDependency$Outbound>
16465
16398
  | undefined;
16466
- error?: SyncReconcileRequestErrorState$Outbound | any | null | undefined;
16399
+ error?: SyncReconcileRequestStackStateError$Outbound | any | null | undefined;
16467
16400
  lastFailedState?: any | null | undefined;
16468
16401
  lifecycle?: string | any | null | undefined;
16469
16402
  outputs?: SyncReconcileRequestOutputs$Outbound | any | null | undefined;
@@ -16493,7 +16426,7 @@ export const SyncReconcileRequestStackStateResources$outboundSchema: z.ZodType<
16493
16426
  ).optional(),
16494
16427
  error: z.nullable(
16495
16428
  z.union([
16496
- z.lazy(() => SyncReconcileRequestErrorState$outboundSchema),
16429
+ z.lazy(() => SyncReconcileRequestStackStateError$outboundSchema),
16497
16430
  z.any(),
16498
16431
  ]),
16499
16432
  ).optional(),
@@ -19084,6 +19017,7 @@ export type SyncReconcileRequestState$Outbound = {
19084
19017
  | any
19085
19018
  | null
19086
19019
  | undefined;
19020
+ error?: SyncReconcileRequestError$Outbound | any | null | undefined;
19087
19021
  platform: string;
19088
19022
  protocolVersion: number;
19089
19023
  retryRequested?: boolean | undefined;
@@ -19122,6 +19056,9 @@ export const SyncReconcileRequestState$outboundSchema: z.ZodType<
19122
19056
  z.any(),
19123
19057
  ]),
19124
19058
  ).optional(),
19059
+ error: z.nullable(
19060
+ z.union([z.lazy(() => SyncReconcileRequestError$outboundSchema), z.any()]),
19061
+ ).optional(),
19125
19062
  platform: SyncReconcileRequestPlatform$outboundSchema,
19126
19063
  protocolVersion: z.int(),
19127
19064
  retryRequested: z.boolean().optional(),
@@ -19154,41 +19091,6 @@ export function syncReconcileRequestStateToJSON(
19154
19091
  );
19155
19092
  }
19156
19093
 
19157
- /** @internal */
19158
- export type SyncReconcileRequestError$Outbound = {
19159
- code: string;
19160
- context?: any | null | undefined;
19161
- hint?: string | null | undefined;
19162
- httpStatusCode?: number | null | undefined;
19163
- internal: boolean;
19164
- message: string;
19165
- retryable: boolean;
19166
- source?: any | null | undefined;
19167
- };
19168
-
19169
- /** @internal */
19170
- export const SyncReconcileRequestError$outboundSchema: z.ZodType<
19171
- SyncReconcileRequestError$Outbound,
19172
- SyncReconcileRequestError
19173
- > = z.object({
19174
- code: z.string(),
19175
- context: z.nullable(z.any()).optional(),
19176
- hint: z.nullable(z.string()).optional(),
19177
- httpStatusCode: z.nullable(z.int()).optional(),
19178
- internal: z.boolean(),
19179
- message: z.string(),
19180
- retryable: z.boolean().default(false),
19181
- source: z.nullable(z.any()).optional(),
19182
- });
19183
-
19184
- export function syncReconcileRequestErrorToJSON(
19185
- syncReconcileRequestError: SyncReconcileRequestError,
19186
- ): string {
19187
- return JSON.stringify(
19188
- SyncReconcileRequestError$outboundSchema.parse(syncReconcileRequestError),
19189
- );
19190
- }
19191
-
19192
19094
  /** @internal */
19193
19095
  export const BackendEnum$outboundSchema: z.ZodEnum<typeof BackendEnum> = z.enum(
19194
19096
  BackendEnum,
@@ -32793,7 +32695,6 @@ export type SyncReconcileRequest$Outbound = {
32793
32695
  deploymentId: string;
32794
32696
  session?: string | undefined;
32795
32697
  state: SyncReconcileRequestState$Outbound;
32796
- error?: SyncReconcileRequestError$Outbound | null | undefined;
32797
32698
  updateHeartbeat?: boolean | undefined;
32798
32699
  suggestedDelayMs?: number | undefined;
32799
32700
  heartbeats?: Array<Heartbeat$Outbound> | undefined;
@@ -32807,8 +32708,6 @@ export const SyncReconcileRequest$outboundSchema: z.ZodType<
32807
32708
  deploymentId: z.string(),
32808
32709
  session: z.string().optional(),
32809
32710
  state: z.lazy(() => SyncReconcileRequestState$outboundSchema),
32810
- error: z.nullable(z.lazy(() => SyncReconcileRequestError$outboundSchema))
32811
- .optional(),
32812
32711
  updateHeartbeat: z.boolean().optional(),
32813
32712
  suggestedDelayMs: z.int().optional(),
32814
32713
  heartbeats: z.array(z.lazy(() => Heartbeat$outboundSchema)).optional(),