@alienplatform/platform-api 1.5.1 → 1.7.1

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
@@ -1,226 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v4";
6
- import { safeParse } from "../lib/schemas.js";
7
- import { ClosedEnum } from "../types/enums.js";
8
- import { Result as SafeParseResult } from "../types/fp.js";
9
- import {
10
- DeploymentPortalManagedDnsRecord,
11
- DeploymentPortalManagedDnsRecord$inboundSchema,
12
- } from "./deploymentportalmanageddnsrecord.js";
13
- import { SDKValidationError } from "./errors/sdkvalidationerror.js";
14
-
15
- export const DeploymentPortalDomainStatus = {
16
- WaitingForDomain: "waiting-for-domain",
17
- PendingVercel: "pending-vercel",
18
- PendingDns: "pending-dns",
19
- Active: "active",
20
- Failed: "failed",
21
- Deleting: "deleting",
22
- } as const;
23
- export type DeploymentPortalDomainStatus = ClosedEnum<
24
- typeof DeploymentPortalDomainStatus
25
- >;
26
-
27
- /**
28
- * Canonical error container that provides a structured way to represent errors
29
- *
30
- * @remarks
31
- * with rich metadata including error codes, human-readable messages, context,
32
- * and chaining capabilities for error propagation.
33
- *
34
- * This struct is designed to be both machine-readable and user-friendly,
35
- * supporting serialization for API responses and detailed error reporting
36
- * in distributed systems.
37
- */
38
- export type DeploymentPortalDomainError = {
39
- /**
40
- * A unique identifier for the type of error.
41
- *
42
- * @remarks
43
- *
44
- * This should be a short, machine-readable string that can be used
45
- * by clients to programmatically handle different error types.
46
- * Examples: "NOT_FOUND", "VALIDATION_ERROR", "TIMEOUT"
47
- */
48
- code: string;
49
- /**
50
- * Additional diagnostic information about the error context.
51
- *
52
- * @remarks
53
- *
54
- * This optional field can contain structured data providing more details
55
- * about the error, such as validation errors, request parameters that
56
- * caused the issue, or other relevant context information.
57
- */
58
- context?: any | null | undefined;
59
- /**
60
- * Optional human-facing remediation hint.
61
- */
62
- hint?: string | null | undefined;
63
- /**
64
- * HTTP status code for this error.
65
- *
66
- * @remarks
67
- *
68
- * Used when converting the error to an HTTP response. If None, falls back to
69
- * the error type's default status code or 500.
70
- */
71
- httpStatusCode?: number | null | undefined;
72
- /**
73
- * Indicates if this is an internal error that should not be exposed to users.
74
- *
75
- * @remarks
76
- *
77
- * When `true`, this error contains sensitive information or implementation
78
- * details that should not be shown to end-users. Such errors should be
79
- * logged for debugging but replaced with generic error messages in responses.
80
- */
81
- internal: boolean;
82
- /**
83
- * Human-readable error message.
84
- *
85
- * @remarks
86
- *
87
- * This message should be clear and actionable for developers or end-users,
88
- * providing context about what went wrong and potentially how to fix it.
89
- */
90
- message: string;
91
- /**
92
- * Indicates whether the operation that caused the error should be retried.
93
- *
94
- * @remarks
95
- *
96
- * When `true`, the error is transient and the operation might succeed
97
- * if attempted again. When `false`, retrying the same operation is
98
- * unlikely to succeed without changes.
99
- */
100
- retryable: boolean;
101
- /**
102
- * The underlying error that caused this error, creating an error chain.
103
- *
104
- * @remarks
105
- *
106
- * This allows for proper error propagation and debugging by maintaining
107
- * the full context of how an error occurred through multiple layers
108
- * of an application.
109
- */
110
- source?: any | null | undefined;
111
- };
112
-
113
- export type DeploymentPortalDomain = {
114
- /**
115
- * Unique identifier for the deployment portal domain.
116
- */
117
- id: string;
118
- /**
119
- * Unique identifier for the workspace.
120
- */
121
- workspaceId: string;
122
- /**
123
- * Unique identifier for the project.
124
- */
125
- projectId: string;
126
- /**
127
- * Unique identifier for the domain.
128
- */
129
- domainId: string;
130
- hostname: string;
131
- status: DeploymentPortalDomainStatus;
132
- vercelProjectDomain?: { [k: string]: any | null } | null | undefined;
133
- vercelVerification?: { [k: string]: any | null } | null | undefined;
134
- vercelDomainConfig?: { [k: string]: any | null } | null | undefined;
135
- managedDnsRecords: Array<DeploymentPortalManagedDnsRecord>;
136
- /**
137
- * Canonical error container that provides a structured way to represent errors
138
- *
139
- * @remarks
140
- * with rich metadata including error codes, human-readable messages, context,
141
- * and chaining capabilities for error propagation.
142
- *
143
- * This struct is designed to be both machine-readable and user-friendly,
144
- * supporting serialization for API responses and detailed error reporting
145
- * in distributed systems.
146
- */
147
- error?: DeploymentPortalDomainError | null | undefined;
148
- lockedAt?: Date | null | undefined;
149
- lockedBy?: string | null | undefined;
150
- retryAttempts: number;
151
- nextStepAfter?: Date | null | undefined;
152
- createdAt: Date;
153
- updatedAt: Date;
154
- };
155
-
156
- /** @internal */
157
- export const DeploymentPortalDomainStatus$inboundSchema: z.ZodEnum<
158
- typeof DeploymentPortalDomainStatus
159
- > = z.enum(DeploymentPortalDomainStatus);
160
-
161
- /** @internal */
162
- export const DeploymentPortalDomainError$inboundSchema: z.ZodType<
163
- DeploymentPortalDomainError,
164
- unknown
165
- > = z.object({
166
- code: z.string(),
167
- context: z.nullable(z.any()).optional(),
168
- hint: z.nullable(z.string()).optional(),
169
- httpStatusCode: z.nullable(z.int()).optional(),
170
- internal: z.boolean(),
171
- message: z.string(),
172
- retryable: z.boolean().default(false),
173
- source: z.nullable(z.any()).optional(),
174
- });
175
-
176
- export function deploymentPortalDomainErrorFromJSON(
177
- jsonString: string,
178
- ): SafeParseResult<DeploymentPortalDomainError, SDKValidationError> {
179
- return safeParse(
180
- jsonString,
181
- (x) => DeploymentPortalDomainError$inboundSchema.parse(JSON.parse(x)),
182
- `Failed to parse 'DeploymentPortalDomainError' from JSON`,
183
- );
184
- }
185
-
186
- /** @internal */
187
- export const DeploymentPortalDomain$inboundSchema: z.ZodType<
188
- DeploymentPortalDomain,
189
- unknown
190
- > = z.object({
191
- id: z.string(),
192
- workspaceId: z.string(),
193
- projectId: z.string(),
194
- domainId: z.string(),
195
- hostname: z.string(),
196
- status: DeploymentPortalDomainStatus$inboundSchema,
197
- vercelProjectDomain: z.nullable(z.record(z.string(), z.nullable(z.any())))
198
- .optional(),
199
- vercelVerification: z.nullable(z.record(z.string(), z.nullable(z.any())))
200
- .optional(),
201
- vercelDomainConfig: z.nullable(z.record(z.string(), z.nullable(z.any())))
202
- .optional(),
203
- managedDnsRecords: z.array(DeploymentPortalManagedDnsRecord$inboundSchema),
204
- error: z.nullable(z.lazy(() => DeploymentPortalDomainError$inboundSchema))
205
- .optional(),
206
- lockedAt: z.nullable(
207
- z.iso.datetime({ offset: true }).transform(v => new Date(v)),
208
- ).optional(),
209
- lockedBy: z.nullable(z.string()).optional(),
210
- retryAttempts: z.int(),
211
- nextStepAfter: z.nullable(
212
- z.iso.datetime({ offset: true }).transform(v => new Date(v)),
213
- ).optional(),
214
- createdAt: z.iso.datetime({ offset: true }).transform(v => new Date(v)),
215
- updatedAt: z.iso.datetime({ offset: true }).transform(v => new Date(v)),
216
- });
217
-
218
- export function deploymentPortalDomainFromJSON(
219
- jsonString: string,
220
- ): SafeParseResult<DeploymentPortalDomain, SDKValidationError> {
221
- return safeParse(
222
- jsonString,
223
- (x) => DeploymentPortalDomain$inboundSchema.parse(JSON.parse(x)),
224
- `Failed to parse 'DeploymentPortalDomain' from JSON`,
225
- );
226
- }
@@ -1,200 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v4";
6
- import { safeParse } from "../lib/schemas.js";
7
- import { Result as SafeParseResult } from "../types/fp.js";
8
- import {
9
- DeploymentPortalManagedDnsRecord,
10
- DeploymentPortalManagedDnsRecord$inboundSchema,
11
- } from "./deploymentportalmanageddnsrecord.js";
12
- import { SDKValidationError } from "./errors/sdkvalidationerror.js";
13
- import {
14
- ManagerDomainBindingStatus,
15
- ManagerDomainBindingStatus$inboundSchema,
16
- } from "./managerdomainbindingstatus.js";
17
-
18
- /**
19
- * Canonical error container that provides a structured way to represent errors
20
- *
21
- * @remarks
22
- * with rich metadata including error codes, human-readable messages, context,
23
- * and chaining capabilities for error propagation.
24
- *
25
- * This struct is designed to be both machine-readable and user-friendly,
26
- * supporting serialization for API responses and detailed error reporting
27
- * in distributed systems.
28
- */
29
- export type ManagerDomainBindingError = {
30
- /**
31
- * A unique identifier for the type of error.
32
- *
33
- * @remarks
34
- *
35
- * This should be a short, machine-readable string that can be used
36
- * by clients to programmatically handle different error types.
37
- * Examples: "NOT_FOUND", "VALIDATION_ERROR", "TIMEOUT"
38
- */
39
- code: string;
40
- /**
41
- * Additional diagnostic information about the error context.
42
- *
43
- * @remarks
44
- *
45
- * This optional field can contain structured data providing more details
46
- * about the error, such as validation errors, request parameters that
47
- * caused the issue, or other relevant context information.
48
- */
49
- context?: any | null | undefined;
50
- /**
51
- * Optional human-facing remediation hint.
52
- */
53
- hint?: string | null | undefined;
54
- /**
55
- * HTTP status code for this error.
56
- *
57
- * @remarks
58
- *
59
- * Used when converting the error to an HTTP response. If None, falls back to
60
- * the error type's default status code or 500.
61
- */
62
- httpStatusCode?: number | null | undefined;
63
- /**
64
- * Indicates if this is an internal error that should not be exposed to users.
65
- *
66
- * @remarks
67
- *
68
- * When `true`, this error contains sensitive information or implementation
69
- * details that should not be shown to end-users. Such errors should be
70
- * logged for debugging but replaced with generic error messages in responses.
71
- */
72
- internal: boolean;
73
- /**
74
- * Human-readable error message.
75
- *
76
- * @remarks
77
- *
78
- * This message should be clear and actionable for developers or end-users,
79
- * providing context about what went wrong and potentially how to fix it.
80
- */
81
- message: string;
82
- /**
83
- * Indicates whether the operation that caused the error should be retried.
84
- *
85
- * @remarks
86
- *
87
- * When `true`, the error is transient and the operation might succeed
88
- * if attempted again. When `false`, retrying the same operation is
89
- * unlikely to succeed without changes.
90
- */
91
- retryable: boolean;
92
- /**
93
- * The underlying error that caused this error, creating an error chain.
94
- *
95
- * @remarks
96
- *
97
- * This allows for proper error propagation and debugging by maintaining
98
- * the full context of how an error occurred through multiple layers
99
- * of an application.
100
- */
101
- source?: any | null | undefined;
102
- };
103
-
104
- export type ManagerDomainBinding = {
105
- /**
106
- * Unique identifier for the manager domain binding.
107
- */
108
- id: string;
109
- /**
110
- * Unique identifier for the workspace.
111
- */
112
- workspaceId: string;
113
- managerId: string;
114
- /**
115
- * Unique identifier for the domain.
116
- */
117
- domainId: string;
118
- hostname: string;
119
- status: ManagerDomainBindingStatus;
120
- managedDnsRecords: Array<DeploymentPortalManagedDnsRecord>;
121
- /**
122
- * Canonical error container that provides a structured way to represent errors
123
- *
124
- * @remarks
125
- * with rich metadata including error codes, human-readable messages, context,
126
- * and chaining capabilities for error propagation.
127
- *
128
- * This struct is designed to be both machine-readable and user-friendly,
129
- * supporting serialization for API responses and detailed error reporting
130
- * in distributed systems.
131
- */
132
- error?: ManagerDomainBindingError | null | undefined;
133
- lockedAt?: Date | null | undefined;
134
- lockedBy?: string | null | undefined;
135
- retryAttempts: number;
136
- nextStepAfter?: Date | null | undefined;
137
- createdAt: Date;
138
- updatedAt: Date;
139
- };
140
-
141
- /** @internal */
142
- export const ManagerDomainBindingError$inboundSchema: z.ZodType<
143
- ManagerDomainBindingError,
144
- unknown
145
- > = z.object({
146
- code: z.string(),
147
- context: z.nullable(z.any()).optional(),
148
- hint: z.nullable(z.string()).optional(),
149
- httpStatusCode: z.nullable(z.int()).optional(),
150
- internal: z.boolean(),
151
- message: z.string(),
152
- retryable: z.boolean().default(false),
153
- source: z.nullable(z.any()).optional(),
154
- });
155
-
156
- export function managerDomainBindingErrorFromJSON(
157
- jsonString: string,
158
- ): SafeParseResult<ManagerDomainBindingError, SDKValidationError> {
159
- return safeParse(
160
- jsonString,
161
- (x) => ManagerDomainBindingError$inboundSchema.parse(JSON.parse(x)),
162
- `Failed to parse 'ManagerDomainBindingError' from JSON`,
163
- );
164
- }
165
-
166
- /** @internal */
167
- export const ManagerDomainBinding$inboundSchema: z.ZodType<
168
- ManagerDomainBinding,
169
- unknown
170
- > = z.object({
171
- id: z.string(),
172
- workspaceId: z.string(),
173
- managerId: z.string(),
174
- domainId: z.string(),
175
- hostname: z.string(),
176
- status: ManagerDomainBindingStatus$inboundSchema,
177
- managedDnsRecords: z.array(DeploymentPortalManagedDnsRecord$inboundSchema),
178
- error: z.nullable(z.lazy(() => ManagerDomainBindingError$inboundSchema))
179
- .optional(),
180
- lockedAt: z.nullable(
181
- z.iso.datetime({ offset: true }).transform(v => new Date(v)),
182
- ).optional(),
183
- lockedBy: z.nullable(z.string()).optional(),
184
- retryAttempts: z.int(),
185
- nextStepAfter: z.nullable(
186
- z.iso.datetime({ offset: true }).transform(v => new Date(v)),
187
- ).optional(),
188
- createdAt: z.iso.datetime({ offset: true }).transform(v => new Date(v)),
189
- updatedAt: z.iso.datetime({ offset: true }).transform(v => new Date(v)),
190
- });
191
-
192
- export function managerDomainBindingFromJSON(
193
- jsonString: string,
194
- ): SafeParseResult<ManagerDomainBinding, SDKValidationError> {
195
- return safeParse(
196
- jsonString,
197
- (x) => ManagerDomainBinding$inboundSchema.parse(JSON.parse(x)),
198
- `Failed to parse 'ManagerDomainBinding' from JSON`,
199
- );
200
- }
@@ -1,24 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v4";
6
- import { ClosedEnum } from "../types/enums.js";
7
-
8
- export const ManagerDomainBindingStatus = {
9
- WaitingForDomain: "waiting-for-domain",
10
- WaitingForDeployment: "waiting-for-deployment",
11
- PendingEdge: "pending-edge",
12
- PendingHealth: "pending-health",
13
- Active: "active",
14
- Failed: "failed",
15
- Deleting: "deleting",
16
- } as const;
17
- export type ManagerDomainBindingStatus = ClosedEnum<
18
- typeof ManagerDomainBindingStatus
19
- >;
20
-
21
- /** @internal */
22
- export const ManagerDomainBindingStatus$inboundSchema: z.ZodEnum<
23
- typeof ManagerDomainBindingStatus
24
- > = z.enum(ManagerDomainBindingStatus);
@@ -1,82 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v4";
6
- import { remap as remap$ } from "../../lib/primitives.js";
7
- import { safeParse } from "../../lib/schemas.js";
8
- import { Result as SafeParseResult } from "../../types/fp.js";
9
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
- import * as models from "../index.js";
11
-
12
- export type AcceptCloudFormationCallbackRequest = {
13
- /**
14
- * Workspace name. Defaults to your last workspace (user auth) or your API key's workspace (token auth). When using an API key, if provided, must match the key's workspace.
15
- */
16
- workspace?: string | undefined;
17
- cloudFormationCallbackRequest?:
18
- | models.CloudFormationCallbackRequest
19
- | undefined;
20
- };
21
-
22
- /**
23
- * CloudFormation callback accepted.
24
- */
25
- export type AcceptCloudFormationCallbackResponse = {
26
- callbackOperationId: string;
27
- physicalResourceId: string;
28
- deploymentId: string | null;
29
- };
30
-
31
- /** @internal */
32
- export type AcceptCloudFormationCallbackRequest$Outbound = {
33
- workspace?: string | undefined;
34
- CloudFormationCallbackRequest?:
35
- | models.CloudFormationCallbackRequest$Outbound
36
- | undefined;
37
- };
38
-
39
- /** @internal */
40
- export const AcceptCloudFormationCallbackRequest$outboundSchema: z.ZodType<
41
- AcceptCloudFormationCallbackRequest$Outbound,
42
- AcceptCloudFormationCallbackRequest
43
- > = z.object({
44
- workspace: z.string().optional(),
45
- cloudFormationCallbackRequest: models
46
- .CloudFormationCallbackRequest$outboundSchema.optional(),
47
- }).transform((v) => {
48
- return remap$(v, {
49
- cloudFormationCallbackRequest: "CloudFormationCallbackRequest",
50
- });
51
- });
52
-
53
- export function acceptCloudFormationCallbackRequestToJSON(
54
- acceptCloudFormationCallbackRequest: AcceptCloudFormationCallbackRequest,
55
- ): string {
56
- return JSON.stringify(
57
- AcceptCloudFormationCallbackRequest$outboundSchema.parse(
58
- acceptCloudFormationCallbackRequest,
59
- ),
60
- );
61
- }
62
-
63
- /** @internal */
64
- export const AcceptCloudFormationCallbackResponse$inboundSchema: z.ZodType<
65
- AcceptCloudFormationCallbackResponse,
66
- unknown
67
- > = z.object({
68
- callbackOperationId: z.string(),
69
- physicalResourceId: z.string(),
70
- deploymentId: z.nullable(z.string()),
71
- });
72
-
73
- export function acceptCloudFormationCallbackResponseFromJSON(
74
- jsonString: string,
75
- ): SafeParseResult<AcceptCloudFormationCallbackResponse, SDKValidationError> {
76
- return safeParse(
77
- jsonString,
78
- (x) =>
79
- AcceptCloudFormationCallbackResponse$inboundSchema.parse(JSON.parse(x)),
80
- `Failed to parse 'AcceptCloudFormationCallbackResponse' from JSON`,
81
- );
82
- }
@@ -1,62 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v4";
6
- import { safeParse } from "../../lib/schemas.js";
7
- import { Result as SafeParseResult } from "../../types/fp.js";
8
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
- import * as models from "../index.js";
10
-
11
- export type GetWorkspacePlanRequest = {
12
- /**
13
- * Workspace name. Defaults to your last workspace (user auth) or your API key's workspace (token auth). When using an API key, if provided, must match the key's workspace.
14
- */
15
- workspace?: string | undefined;
16
- };
17
-
18
- /**
19
- * Active plan id.
20
- */
21
- export type GetWorkspacePlanResponse = {
22
- planId: models.PlanId;
23
- };
24
-
25
- /** @internal */
26
- export type GetWorkspacePlanRequest$Outbound = {
27
- workspace?: string | undefined;
28
- };
29
-
30
- /** @internal */
31
- export const GetWorkspacePlanRequest$outboundSchema: z.ZodType<
32
- GetWorkspacePlanRequest$Outbound,
33
- GetWorkspacePlanRequest
34
- > = z.object({
35
- workspace: z.string().optional(),
36
- });
37
-
38
- export function getWorkspacePlanRequestToJSON(
39
- getWorkspacePlanRequest: GetWorkspacePlanRequest,
40
- ): string {
41
- return JSON.stringify(
42
- GetWorkspacePlanRequest$outboundSchema.parse(getWorkspacePlanRequest),
43
- );
44
- }
45
-
46
- /** @internal */
47
- export const GetWorkspacePlanResponse$inboundSchema: z.ZodType<
48
- GetWorkspacePlanResponse,
49
- unknown
50
- > = z.object({
51
- planId: models.PlanId$inboundSchema,
52
- });
53
-
54
- export function getWorkspacePlanResponseFromJSON(
55
- jsonString: string,
56
- ): SafeParseResult<GetWorkspacePlanResponse, SDKValidationError> {
57
- return safeParse(
58
- jsonString,
59
- (x) => GetWorkspacePlanResponse$inboundSchema.parse(JSON.parse(x)),
60
- `Failed to parse 'GetWorkspacePlanResponse' from JSON`,
61
- );
62
- }