@distilled.cloud/stackit 1.0.0-rc.20 → 1.0.0-rc.21

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 (369) hide show
  1. package/README.md +13 -2
  2. package/lib/.lazy.json +1 -1
  3. package/lib/_bundle/sdk.js +1 -1
  4. package/lib/_bundle/sdk.js.map +1 -1
  5. package/lib/credentials.d.ts +17 -3
  6. package/lib/credentials.d.ts.map +1 -1
  7. package/lib/credentials.js +1 -1
  8. package/lib/errors.d.ts +8 -0
  9. package/lib/errors.d.ts.map +1 -1
  10. package/lib/errors.js +1 -1
  11. package/lib/index.d.ts +9 -6
  12. package/lib/index.d.ts.map +1 -1
  13. package/lib/index.js +0 -1
  14. package/lib/pagination.d.ts.map +1 -1
  15. package/lib/protocol.d.ts +33 -12
  16. package/lib/protocol.d.ts.map +1 -1
  17. package/lib/retry.d.ts.map +1 -1
  18. package/lib/services/alb.d.ts +8 -0
  19. package/lib/services/alb.d.ts.map +1 -1
  20. package/lib/services/alb.js +26 -26
  21. package/lib/services/alb.js.map +1 -1
  22. package/lib/services/alb_waf.d.ts +8 -0
  23. package/lib/services/alb_waf.d.ts.map +1 -1
  24. package/lib/services/alb_waf.js +31 -31
  25. package/lib/services/alb_waf.js.map +1 -1
  26. package/lib/services/authorization.d.ts +13 -0
  27. package/lib/services/authorization.d.ts.map +1 -1
  28. package/lib/services/authorization.js +1 -1
  29. package/lib/services/authorization.js.map +1 -1
  30. package/lib/services/automation.d.ts +23 -0
  31. package/lib/services/automation.d.ts.map +1 -1
  32. package/lib/services/automation.js +23 -22
  33. package/lib/services/automation.js.map +1 -1
  34. package/lib/services/cdn.d.ts +39 -1
  35. package/lib/services/cdn.d.ts.map +1 -1
  36. package/lib/services/cdn.js +31 -30
  37. package/lib/services/cdn.js.map +1 -1
  38. package/lib/services/certificates.d.ts +6 -0
  39. package/lib/services/certificates.d.ts.map +1 -1
  40. package/lib/services/certificates.js +1 -1
  41. package/lib/services/certificates.js.map +1 -1
  42. package/lib/services/cost.d.ts +19 -0
  43. package/lib/services/cost.d.ts.map +1 -1
  44. package/lib/services/cost.js +1 -1
  45. package/lib/services/cost.js.map +1 -1
  46. package/lib/services/dns.d.ts +16 -0
  47. package/lib/services/dns.d.ts.map +1 -1
  48. package/lib/services/dns.js +40 -40
  49. package/lib/services/dns.js.map +1 -1
  50. package/lib/services/iaas.d.ts +17 -0
  51. package/lib/services/iaas.d.ts.map +1 -1
  52. package/lib/services/iaas.js +181 -180
  53. package/lib/services/iaas.js.map +1 -1
  54. package/lib/services/identity.d.ts +19 -0
  55. package/lib/services/identity.d.ts.map +1 -1
  56. package/lib/services/identity.js +1 -1
  57. package/lib/services/identity.js.map +1 -1
  58. package/lib/services/index.d.ts +0 -10
  59. package/lib/services/index.d.ts.map +1 -1
  60. package/lib/services/index.js +0 -10
  61. package/lib/services/kms.d.ts +16 -0
  62. package/lib/services/kms.d.ts.map +1 -1
  63. package/lib/services/kms.js +41 -40
  64. package/lib/services/kms.js.map +1 -1
  65. package/lib/services/load_balancer.d.ts +8 -0
  66. package/lib/services/load_balancer.d.ts.map +1 -1
  67. package/lib/services/load_balancer.js +27 -27
  68. package/lib/services/load_balancer.js.map +1 -1
  69. package/lib/services/logme.d.ts +14 -1
  70. package/lib/services/logme.d.ts.map +1 -1
  71. package/lib/services/logme.js +36 -35
  72. package/lib/services/logme.js.map +1 -1
  73. package/lib/services/logs.d.ts +6 -0
  74. package/lib/services/logs.d.ts.map +1 -1
  75. package/lib/services/logs.js +34 -34
  76. package/lib/services/logs.js.map +1 -1
  77. package/lib/services/mariadb.d.ts +14 -1
  78. package/lib/services/mariadb.d.ts.map +1 -1
  79. package/lib/services/mariadb.js +37 -36
  80. package/lib/services/mariadb.js.map +1 -1
  81. package/lib/services/model_experiments.d.ts +20 -0
  82. package/lib/services/model_experiments.d.ts.map +1 -1
  83. package/lib/services/model_experiments.js +1 -1
  84. package/lib/services/model_experiments.js.map +1 -1
  85. package/lib/services/model_serving.d.ts +13 -0
  86. package/lib/services/model_serving.d.ts.map +1 -1
  87. package/lib/services/model_serving.js +1 -1
  88. package/lib/services/model_serving.js.map +1 -1
  89. package/lib/services/mongodb_flex.d.ts +19 -0
  90. package/lib/services/mongodb_flex.d.ts.map +1 -1
  91. package/lib/services/mongodb_flex.js +42 -41
  92. package/lib/services/mongodb_flex.js.map +1 -1
  93. package/lib/services/object_storage.d.ts +34 -0
  94. package/lib/services/object_storage.d.ts.map +1 -1
  95. package/lib/services/object_storage.js +38 -37
  96. package/lib/services/object_storage.js.map +1 -1
  97. package/lib/services/observability.d.ts +34 -8
  98. package/lib/services/observability.d.ts.map +1 -1
  99. package/lib/services/observability.js +159 -158
  100. package/lib/services/observability.js.map +1 -1
  101. package/lib/services/opensearch.d.ts +14 -1
  102. package/lib/services/opensearch.d.ts.map +1 -1
  103. package/lib/services/opensearch.js +37 -36
  104. package/lib/services/opensearch.js.map +1 -1
  105. package/lib/services/pim.d.ts +22 -0
  106. package/lib/services/pim.d.ts.map +1 -1
  107. package/lib/services/pim.js +31 -30
  108. package/lib/services/pim.js.map +1 -1
  109. package/lib/services/postgres_flex.d.ts +37 -0
  110. package/lib/services/postgres_flex.d.ts.map +1 -1
  111. package/lib/services/postgres_flex.js +48 -47
  112. package/lib/services/postgres_flex.js.map +1 -1
  113. package/lib/services/rabbitmq.d.ts +14 -1
  114. package/lib/services/rabbitmq.d.ts.map +1 -1
  115. package/lib/services/rabbitmq.js +38 -37
  116. package/lib/services/rabbitmq.js.map +1 -1
  117. package/lib/services/registry.d.ts +37 -0
  118. package/lib/services/registry.d.ts.map +1 -1
  119. package/lib/services/registry.js +1 -1
  120. package/lib/services/registry.js.map +1 -1
  121. package/lib/services/resource_manager.d.ts +24 -0
  122. package/lib/services/resource_manager.d.ts.map +1 -1
  123. package/lib/services/resource_manager.js +36 -35
  124. package/lib/services/resource_manager.js.map +1 -1
  125. package/lib/services/run_command.d.ts +12 -0
  126. package/lib/services/run_command.d.ts.map +1 -1
  127. package/lib/services/run_command.js +1 -1
  128. package/lib/services/run_command.js.map +1 -1
  129. package/lib/services/scf.d.ts +13 -0
  130. package/lib/services/scf.d.ts.map +1 -1
  131. package/lib/services/scf.js +40 -39
  132. package/lib/services/scf.js.map +1 -1
  133. package/lib/services/secrets_manager.d.ts +21 -0
  134. package/lib/services/secrets_manager.d.ts.map +1 -1
  135. package/lib/services/secrets_manager.js +42 -41
  136. package/lib/services/secrets_manager.js.map +1 -1
  137. package/lib/services/server_backup.d.ts +6 -0
  138. package/lib/services/server_backup.d.ts.map +1 -1
  139. package/lib/services/server_backup.js +28 -28
  140. package/lib/services/server_backup.js.map +1 -1
  141. package/lib/services/server_update.d.ts +6 -0
  142. package/lib/services/server_update.d.ts.map +1 -1
  143. package/lib/services/server_update.js +1 -1
  144. package/lib/services/server_update.js.map +1 -1
  145. package/lib/services/service_account.d.ts +28 -0
  146. package/lib/services/service_account.d.ts.map +1 -1
  147. package/lib/services/service_account.js +30 -29
  148. package/lib/services/service_account.js.map +1 -1
  149. package/lib/services/service_enablement.d.ts +14 -0
  150. package/lib/services/service_enablement.d.ts.map +1 -1
  151. package/lib/services/service_enablement.js +1 -1
  152. package/lib/services/service_enablement.js.map +1 -1
  153. package/lib/services/sfs.d.ts +33 -0
  154. package/lib/services/sfs.d.ts.map +1 -1
  155. package/lib/services/sfs.js +46 -46
  156. package/lib/services/sfs.js.map +1 -1
  157. package/lib/services/ske.d.ts +8 -3
  158. package/lib/services/ske.d.ts.map +1 -1
  159. package/lib/services/ske.js +25 -25
  160. package/lib/services/ske.js.map +1 -1
  161. package/lib/services/sqlserverflex.d.ts +34 -0
  162. package/lib/services/sqlserverflex.d.ts.map +1 -1
  163. package/lib/services/sqlserverflex.js +46 -45
  164. package/lib/services/sqlserverflex.js.map +1 -1
  165. package/lib/services/stackit_marketplace.d.ts +26 -1
  166. package/lib/services/stackit_marketplace.d.ts.map +1 -1
  167. package/lib/services/stackit_marketplace.js +26 -25
  168. package/lib/services/stackit_marketplace.js.map +1 -1
  169. package/lib/services/telemetry_link.d.ts +12 -0
  170. package/lib/services/telemetry_link.d.ts.map +1 -1
  171. package/lib/services/telemetry_link.js +35 -34
  172. package/lib/services/telemetry_link.js.map +1 -1
  173. package/lib/services/telemetry_router.d.ts +49 -3
  174. package/lib/services/telemetry_router.d.ts.map +1 -1
  175. package/lib/services/telemetry_router.js +33 -31
  176. package/lib/services/telemetry_router.js.map +1 -1
  177. package/lib/services/ufw.d.ts +15 -0
  178. package/lib/services/ufw.d.ts.map +1 -1
  179. package/lib/services/ufw.js +1 -1
  180. package/lib/services/ufw.js.map +1 -1
  181. package/lib/services/valkey.d.ts +14 -1
  182. package/lib/services/valkey.d.ts.map +1 -1
  183. package/lib/services/valkey.js +37 -36
  184. package/lib/services/valkey.js.map +1 -1
  185. package/lib/services/vpn.d.ts +43 -1
  186. package/lib/services/vpn.d.ts.map +1 -1
  187. package/lib/services/vpn.js +43 -42
  188. package/lib/services/vpn.js.map +1 -1
  189. package/lib/services.lazy/alb.js +1 -1
  190. package/lib/services.lazy/alb_waf.js +1 -1
  191. package/lib/services.lazy/automation.js +1 -1
  192. package/lib/services.lazy/cdn.js +1 -1
  193. package/lib/services.lazy/dns.js +1 -1
  194. package/lib/services.lazy/iaas.js +1 -1
  195. package/lib/services.lazy/index.js +2 -2
  196. package/lib/services.lazy/kms.js +1 -1
  197. package/lib/services.lazy/load_balancer.js +1 -1
  198. package/lib/services.lazy/logme.js +1 -1
  199. package/lib/services.lazy/logs.js +1 -1
  200. package/lib/services.lazy/mariadb.js +1 -1
  201. package/lib/services.lazy/mongodb_flex.js +1 -1
  202. package/lib/services.lazy/object_storage.js +1 -1
  203. package/lib/services.lazy/observability.js +1 -1
  204. package/lib/services.lazy/opensearch.js +1 -1
  205. package/lib/services.lazy/pim.js +1 -1
  206. package/lib/services.lazy/postgres_flex.js +1 -1
  207. package/lib/services.lazy/rabbitmq.js +1 -1
  208. package/lib/services.lazy/resource_manager.js +1 -1
  209. package/lib/services.lazy/scf.js +1 -1
  210. package/lib/services.lazy/secrets_manager.js +1 -1
  211. package/lib/services.lazy/server_backup.js +1 -1
  212. package/lib/services.lazy/service_account.js +1 -1
  213. package/lib/services.lazy/sfs.js +1 -1
  214. package/lib/services.lazy/ske.js +1 -1
  215. package/lib/services.lazy/sqlserverflex.js +1 -1
  216. package/lib/services.lazy/stackit_marketplace.js +1 -1
  217. package/lib/services.lazy/telemetry_link.js +1 -1
  218. package/lib/services.lazy/telemetry_router.js +1 -1
  219. package/lib/services.lazy/valkey.js +1 -1
  220. package/lib/services.lazy/vpn.js +1 -1
  221. package/lib/traits.d.ts.map +1 -1
  222. package/lib/{services → unstable-services}/dremio.d.ts +19 -4
  223. package/lib/unstable-services/dremio.d.ts.map +1 -0
  224. package/lib/unstable-services/dremio.js +2 -0
  225. package/lib/unstable-services/dremio.js.map +1 -0
  226. package/lib/{services → unstable-services}/edge.d.ts +13 -1
  227. package/lib/unstable-services/edge.d.ts.map +1 -0
  228. package/lib/unstable-services/edge.js +29 -0
  229. package/lib/unstable-services/edge.js.map +1 -0
  230. package/lib/unstable-services/functions.d.ts.map +1 -0
  231. package/lib/unstable-services/functions.js +28 -0
  232. package/lib/unstable-services/functions.js.map +1 -0
  233. package/lib/{services → unstable-services}/git.d.ts +42 -1
  234. package/lib/unstable-services/git.d.ts.map +1 -0
  235. package/lib/unstable-services/git.js +43 -0
  236. package/lib/unstable-services/git.js.map +1 -0
  237. package/lib/unstable-services/index.d.ts +11 -0
  238. package/lib/unstable-services/index.d.ts.map +1 -0
  239. package/lib/unstable-services/index.js +10 -0
  240. package/lib/{services → unstable-services}/intake.d.ts +8 -2
  241. package/lib/unstable-services/intake.d.ts.map +1 -0
  242. package/lib/unstable-services/intake.js +31 -0
  243. package/lib/unstable-services/intake.js.map +1 -0
  244. package/lib/{services → unstable-services}/lb_ip_lists.d.ts +9 -1
  245. package/lib/unstable-services/lb_ip_lists.d.ts.map +1 -0
  246. package/lib/unstable-services/lb_ip_lists.js +2 -0
  247. package/lib/unstable-services/lb_ip_lists.js.map +1 -0
  248. package/lib/{services → unstable-services}/mailout.d.ts +95 -126
  249. package/lib/unstable-services/mailout.d.ts.map +1 -0
  250. package/lib/unstable-services/mailout.js +30 -0
  251. package/lib/unstable-services/mailout.js.map +1 -0
  252. package/lib/{services → unstable-services}/pubsub.d.ts +10 -0
  253. package/lib/unstable-services/pubsub.d.ts.map +1 -0
  254. package/lib/unstable-services/pubsub.js +39 -0
  255. package/lib/unstable-services/pubsub.js.map +1 -0
  256. package/lib/{services → unstable-services}/sca.d.ts +73 -23
  257. package/lib/unstable-services/sca.d.ts.map +1 -0
  258. package/lib/unstable-services/sca.js +41 -0
  259. package/lib/unstable-services/sca.js.map +1 -0
  260. package/lib/{services → unstable-services}/workflows.d.ts +29 -1
  261. package/lib/unstable-services/workflows.d.ts.map +1 -0
  262. package/lib/unstable-services/workflows.js +30 -0
  263. package/lib/unstable-services/workflows.js.map +1 -0
  264. package/lib/unstable-services.lazy/dremio.js +1 -0
  265. package/lib/{services.lazy → unstable-services.lazy}/edge.js +1 -1
  266. package/lib/{services.lazy → unstable-services.lazy}/functions.js +1 -1
  267. package/lib/{services.lazy → unstable-services.lazy}/git.js +2 -2
  268. package/lib/unstable-services.lazy/index.js +3 -0
  269. package/lib/{services.lazy → unstable-services.lazy}/intake.js +1 -1
  270. package/lib/unstable-services.lazy/lb_ip_lists.js +1 -0
  271. package/lib/unstable-services.lazy/mailout.js +4 -0
  272. package/lib/{services.lazy → unstable-services.lazy}/pubsub.js +1 -1
  273. package/lib/{services.lazy → unstable-services.lazy}/sca.js +2 -2
  274. package/lib/{services.lazy → unstable-services.lazy}/workflows.js +1 -1
  275. package/package.json +12 -6
  276. package/src/credentials.ts +44 -7
  277. package/src/errors.ts +10 -1
  278. package/src/index.ts +9 -6
  279. package/src/protocol.ts +108 -127
  280. package/src/services/alb.ts +35 -14
  281. package/src/services/alb_waf.ts +41 -17
  282. package/src/services/authorization.ts +121 -75
  283. package/src/services/automation.ts +151 -76
  284. package/src/services/cdn.ts +284 -187
  285. package/src/services/certificates.ts +17 -6
  286. package/src/services/cost.ts +75 -17
  287. package/src/services/dns.ts +219 -149
  288. package/src/services/iaas.ts +888 -708
  289. package/src/services/identity.ts +109 -51
  290. package/src/services/index.ts +0 -10
  291. package/src/services/kms.ts +185 -118
  292. package/src/services/load_balancer.ts +35 -14
  293. package/src/services/logme.ts +181 -123
  294. package/src/services/logs.ts +43 -19
  295. package/src/services/mariadb.ts +179 -121
  296. package/src/services/model_experiments.ts +122 -64
  297. package/src/services/model_serving.ts +102 -58
  298. package/src/services/mongodb_flex.ts +196 -131
  299. package/src/services/object_storage.ts +226 -106
  300. package/src/services/observability.ts +880 -709
  301. package/src/services/opensearch.ts +182 -124
  302. package/src/services/pim.ts +166 -104
  303. package/src/services/postgres_flex.ts +291 -170
  304. package/src/services/rabbitmq.ts +188 -130
  305. package/src/services/registry.ts +146 -40
  306. package/src/services/resource_manager.ts +180 -110
  307. package/src/services/run_command.ts +73 -37
  308. package/src/services/scf.ts +178 -119
  309. package/src/services/secrets_manager.ts +198 -129
  310. package/src/services/server_backup.ts +39 -17
  311. package/src/services/server_update.ts +31 -13
  312. package/src/services/service_account.ts +180 -85
  313. package/src/services/service_enablement.ts +64 -28
  314. package/src/services/sfs.ts +265 -163
  315. package/src/services/ske.ts +39 -20
  316. package/src/services/sqlserverflex.ts +290 -175
  317. package/src/services/stackit_marketplace.ts +138 -70
  318. package/src/services/telemetry_link.ts +151 -100
  319. package/src/services/telemetry_router.ts +241 -109
  320. package/src/services/ufw.ts +97 -50
  321. package/src/services/valkey.ts +179 -121
  322. package/src/services/vpn.ts +305 -194
  323. package/src/{services → unstable-services}/dremio.ts +113 -74
  324. package/src/{services → unstable-services}/edge.ts +113 -72
  325. package/src/{services → unstable-services}/functions.ts +31 -16
  326. package/src/{services → unstable-services}/git.ts +285 -133
  327. package/src/unstable-services/index.ts +11 -0
  328. package/src/{services → unstable-services}/intake.ts +41 -20
  329. package/src/{services → unstable-services}/lb_ip_lists.ts +20 -7
  330. package/src/{services → unstable-services}/mailout.ts +290 -381
  331. package/src/{services → unstable-services}/pubsub.ts +47 -19
  332. package/src/{services → unstable-services}/sca.ts +349 -172
  333. package/src/{services → unstable-services}/workflows.ts +149 -76
  334. package/lib/index.lazy.js +0 -7
  335. package/lib/index.lazy.js.map +0 -1
  336. package/lib/services/dremio.d.ts.map +0 -1
  337. package/lib/services/dremio.js +0 -2
  338. package/lib/services/dremio.js.map +0 -1
  339. package/lib/services/edge.d.ts.map +0 -1
  340. package/lib/services/edge.js +0 -29
  341. package/lib/services/edge.js.map +0 -1
  342. package/lib/services/functions.d.ts.map +0 -1
  343. package/lib/services/functions.js +0 -28
  344. package/lib/services/functions.js.map +0 -1
  345. package/lib/services/git.d.ts.map +0 -1
  346. package/lib/services/git.js +0 -41
  347. package/lib/services/git.js.map +0 -1
  348. package/lib/services/intake.d.ts.map +0 -1
  349. package/lib/services/intake.js +0 -31
  350. package/lib/services/intake.js.map +0 -1
  351. package/lib/services/lb_ip_lists.d.ts.map +0 -1
  352. package/lib/services/lb_ip_lists.js +0 -2
  353. package/lib/services/lb_ip_lists.js.map +0 -1
  354. package/lib/services/mailout.d.ts.map +0 -1
  355. package/lib/services/mailout.js +0 -33
  356. package/lib/services/mailout.js.map +0 -1
  357. package/lib/services/pubsub.d.ts.map +0 -1
  358. package/lib/services/pubsub.js +0 -39
  359. package/lib/services/pubsub.js.map +0 -1
  360. package/lib/services/sca.d.ts.map +0 -1
  361. package/lib/services/sca.js +0 -35
  362. package/lib/services/sca.js.map +0 -1
  363. package/lib/services/workflows.d.ts.map +0 -1
  364. package/lib/services/workflows.js +0 -29
  365. package/lib/services/workflows.js.map +0 -1
  366. package/lib/services.lazy/dremio.js +0 -1
  367. package/lib/services.lazy/lb_ip_lists.js +0 -1
  368. package/lib/services.lazy/mailout.js +0 -4
  369. /package/lib/{services → unstable-services}/functions.d.ts +0 -0
@@ -3,7 +3,8 @@ import * as C from "@distilled.cloud/core/category";
3
3
  // AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-stackit). Do not edit.
4
4
  import * as S from "@distilled.cloud/core/schema-lite";
5
5
  import * as __L from "@distilled.cloud/core/schema-lite";
6
- import { UnknownStackitError } from "../errors.ts";
6
+ import type * as Redacted from "effect/Redacted";
7
+ import { StackitServiceErrors } from "../errors.ts";
7
8
  import { StackitProtocol, type StackitOpError, type StackitOpContext } from "../protocol.ts";
8
9
  import * as Retry from "../retry.ts";
9
10
  import * as T from "../traits.ts";
@@ -30,36 +31,64 @@ export class BadRequest
30
31
  /*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
31
32
  code: S.Number,
32
33
  message: S.String,
34
+ body: /*@__PURE__*/ S.optional(
35
+ /*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)), S.String]),
36
+ ),
37
+ headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
33
38
  }).pipe(C.withBadRequestError),
34
39
  [{ status: 400 }],
35
- ) {}
40
+ )
41
+ {
42
+ declare readonly body?: ErrorResponse | string;
43
+ }
36
44
 
37
45
  export class Conflict
38
46
  extends /*@__PURE__*/ T.applyErrorMatchers(
39
47
  /*@__PURE__*/ S.TaggedError<Conflict>()("Conflict", {
40
48
  code: S.Number,
41
49
  message: S.String,
50
+ body: /*@__PURE__*/ S.optional(
51
+ /*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)), S.String]),
52
+ ),
53
+ headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
42
54
  }).pipe(C.withConflictError),
43
55
  [{ status: 409 }],
44
- ) {}
56
+ )
57
+ {
58
+ declare readonly body?: ErrorResponse | string;
59
+ }
45
60
 
46
61
  export class Forbidden
47
62
  extends /*@__PURE__*/ T.applyErrorMatchers(
48
63
  /*@__PURE__*/ S.TaggedError<Forbidden>()("Forbidden", {
49
64
  code: S.Number,
50
65
  message: S.String,
66
+ body: /*@__PURE__*/ S.optional(
67
+ /*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)), S.String]),
68
+ ),
69
+ headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
51
70
  }).pipe(C.withAuthError),
52
71
  [{ status: 403 }],
53
- ) {}
72
+ )
73
+ {
74
+ declare readonly body?: ErrorResponse | string;
75
+ }
54
76
 
55
77
  export class NotFound
56
78
  extends /*@__PURE__*/ T.applyErrorMatchers(
57
79
  /*@__PURE__*/ S.TaggedError<NotFound>()("NotFound", {
58
80
  code: S.Number,
59
81
  message: S.String,
82
+ body: /*@__PURE__*/ S.optional(
83
+ /*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)), S.String]),
84
+ ),
85
+ headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
60
86
  }).pipe(C.withBadRequestError),
61
87
  [{ status: 404 }],
62
- ) {}
88
+ )
89
+ {
90
+ declare readonly body?: ErrorResponse | string;
91
+ }
63
92
 
64
93
  export interface ApproveSubscriptionRequest {
65
94
  projectId: string;
@@ -230,7 +259,7 @@ export interface RejectVendorsSubscriptionResponse {}
230
259
  export interface ResolveCustomerRequest {
231
260
  projectId: string;
232
261
  /** Opaque token exchangeable for subscription details. */
233
- token: string;
262
+ token: string | Redacted.Redacted<string>;
234
263
  }
235
264
  export interface TerminateConsumersSubscriptionRequest {
236
265
  projectId: string;
@@ -253,6 +282,18 @@ export interface VendorsSubscriptionsListByProjectRequest {
253
282
  /** Flag to control if cancelled or rejected subscriptions should be returned. */
254
283
  includeExpired?: boolean | undefined;
255
284
  }
285
+ export interface ErrorResponse {
286
+ /** Reason phrase of the status code. */
287
+ error: string;
288
+ /** Description of the error. */
289
+ message: string;
290
+ /** Path which was called. */
291
+ path: string;
292
+ /** HTTP response status code. */
293
+ status: number;
294
+ /** Timestamp at which the error occurred. */
295
+ timeStamp: string;
296
+ }
256
297
  export type ApproveSubscriptionError = BadRequest | Forbidden | NotFound | StackitOpError;
257
298
  /** Approve a pending subscription. Approve a pending subscription. */
258
299
  export const approveSubscription: API.OperationMethod<
@@ -261,9 +302,10 @@ export const approveSubscription: API.OperationMethod<
261
302
  ApproveSubscriptionError,
262
303
  StackitOpContext
263
304
  > = /*@__PURE__*/ API.make(() => ({
264
- input: __S(56, __c7, 0) as any as S.Schema<ApproveSubscriptionRequest>,
265
- output: __S(64, __c8, 0) as any as S.Schema<ApproveSubscriptionResponse>,
266
- errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
305
+ input: __S(64, __c8, 0) as any as S.Schema<ApproveSubscriptionRequest>,
306
+ output: __S(72, __c9, 0) as any as S.Schema<ApproveSubscriptionResponse>,
307
+ errors: [BadRequest, Forbidden, NotFound],
308
+ serviceErrors: StackitServiceErrors,
267
309
  protocol: StackitProtocol,
268
310
  retry: Retry.Retry,
269
311
  telemetry: TELEMETRY,
@@ -283,9 +325,10 @@ export const cancelConsumersSubscription: API.OperationMethod<
283
325
  CancelConsumersSubscriptionError,
284
326
  StackitOpContext
285
327
  > = /*@__PURE__*/ API.make(() => ({
286
- input: __S(72, __c9, 0) as any as S.Schema<CancelConsumersSubscriptionRequest>,
287
- output: __S(64, __c8, 0) as any as S.Schema<CancelConsumersSubscriptionResponse>,
288
- errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
328
+ input: __S(80, __c10, 0) as any as S.Schema<CancelConsumersSubscriptionRequest>,
329
+ output: __S(72, __c9, 0) as any as S.Schema<CancelConsumersSubscriptionResponse>,
330
+ errors: [BadRequest, Forbidden, NotFound, Conflict],
331
+ serviceErrors: StackitServiceErrors,
289
332
  protocol: StackitProtocol,
290
333
  retry: Retry.Retry,
291
334
  telemetry: TELEMETRY,
@@ -300,9 +343,10 @@ export const consumersSubscriptionsListByOrganization: API.OperationMethod<
300
343
  ConsumersSubscriptionsListByOrganizationError,
301
344
  StackitOpContext
302
345
  > = /*@__PURE__*/ API.make(() => ({
303
- input: __S(80, __c10, 0) as any as S.Schema<ConsumersSubscriptionsListByOrganizationRequest>,
304
- output: __S(89, __c11, 1) as any as S.Schema<MarketplaceSubscriptionV1ListSubscriptionsResponse>,
305
- errors: [BadRequest, Forbidden, UnknownStackitError],
346
+ input: __S(88, __c11, 0) as any as S.Schema<ConsumersSubscriptionsListByOrganizationRequest>,
347
+ output: __S(97, __c12, 1) as any as S.Schema<MarketplaceSubscriptionV1ListSubscriptionsResponse>,
348
+ errors: [BadRequest, Forbidden],
349
+ serviceErrors: StackitServiceErrors,
306
350
  protocol: StackitProtocol,
307
351
  retry: Retry.Retry,
308
352
  telemetry: TELEMETRY,
@@ -317,9 +361,10 @@ export const consumersSubscriptionsListByProject: API.OperationMethod<
317
361
  ConsumersSubscriptionsListByProjectError,
318
362
  StackitOpContext
319
363
  > = /*@__PURE__*/ API.make(() => ({
320
- input: __S(104, __c13, 0) as any as S.Schema<ConsumersSubscriptionsListByProjectRequest>,
321
- output: __S(89, __c11, 1) as any as S.Schema<MarketplaceSubscriptionV1ListSubscriptionsResponse>,
322
- errors: [BadRequest, Forbidden, UnknownStackitError],
364
+ input: __S(112, __c14, 0) as any as S.Schema<ConsumersSubscriptionsListByProjectRequest>,
365
+ output: __S(97, __c12, 1) as any as S.Schema<MarketplaceSubscriptionV1ListSubscriptionsResponse>,
366
+ errors: [BadRequest, Forbidden],
367
+ serviceErrors: StackitServiceErrors,
323
368
  protocol: StackitProtocol,
324
369
  retry: Retry.Retry,
325
370
  telemetry: TELEMETRY,
@@ -334,9 +379,10 @@ export const createConsumersSubscription: API.OperationMethod<
334
379
  CreateConsumersSubscriptionError,
335
380
  StackitOpContext
336
381
  > = /*@__PURE__*/ API.make(() => ({
337
- input: __S(112, __c14, 0) as any as S.Schema<CreateConsumersSubscriptionRequest>,
338
- output: __S(100, __c12, 4) as any as S.Schema<MarketplaceSubscriptionV1Subscription>,
339
- errors: [BadRequest, Forbidden, Conflict, UnknownStackitError],
382
+ input: __S(120, __c15, 0) as any as S.Schema<CreateConsumersSubscriptionRequest>,
383
+ output: __S(108, __c13, 4) as any as S.Schema<MarketplaceSubscriptionV1Subscription>,
384
+ errors: [BadRequest, Forbidden, Conflict],
385
+ serviceErrors: StackitServiceErrors,
340
386
  protocol: StackitProtocol,
341
387
  retry: Retry.Retry,
342
388
  telemetry: TELEMETRY,
@@ -351,9 +397,10 @@ export const getConsumersSubscription: API.OperationMethod<
351
397
  GetConsumersSubscriptionError,
352
398
  StackitOpContext
353
399
  > = /*@__PURE__*/ API.make(() => ({
354
- input: __S(120, __c15, 0) as any as S.Schema<GetConsumersSubscriptionRequest>,
355
- output: __S(100, __c12, 4) as any as S.Schema<MarketplaceSubscriptionV1Subscription>,
356
- errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
400
+ input: __S(128, __c16, 0) as any as S.Schema<GetConsumersSubscriptionRequest>,
401
+ output: __S(108, __c13, 4) as any as S.Schema<MarketplaceSubscriptionV1Subscription>,
402
+ errors: [BadRequest, Forbidden, NotFound],
403
+ serviceErrors: StackitServiceErrors,
357
404
  protocol: StackitProtocol,
358
405
  retry: Retry.Retry,
359
406
  telemetry: TELEMETRY,
@@ -368,9 +415,10 @@ export const getConsumersSubscriptionsRedirect: API.OperationMethod<
368
415
  GetConsumersSubscriptionsRedirectError,
369
416
  StackitOpContext
370
417
  > = /*@__PURE__*/ API.make(() => ({
371
- input: __S(0, __c0, 0) as any as S.Schema<GetConsumersSubscriptionsRedirectRequest>,
372
- output: __S(1, __c0, 1) as any as S.Schema<MarketplaceSubscriptionV1SubscriptionRedirect>,
373
- errors: [BadRequest, Forbidden, UnknownStackitError],
418
+ input: __S(8, __c1, 0) as any as S.Schema<GetConsumersSubscriptionsRedirectRequest>,
419
+ output: __S(9, __c1, 1) as any as S.Schema<MarketplaceSubscriptionV1SubscriptionRedirect>,
420
+ errors: [BadRequest, Forbidden],
421
+ serviceErrors: StackitServiceErrors,
374
422
  protocol: StackitProtocol,
375
423
  retry: Retry.Retry,
376
424
  telemetry: TELEMETRY,
@@ -385,9 +433,10 @@ export const getVendorsSubscription: API.OperationMethod<
385
433
  GetVendorsSubscriptionError,
386
434
  StackitOpContext
387
435
  > = /*@__PURE__*/ API.make(() => ({
388
- input: __S(8, __c1, 0) as any as S.Schema<GetVendorsSubscriptionRequest>,
389
- output: __S(100, __c12, 4) as any as S.Schema<MarketplaceSubscriptionV1Subscription>,
390
- errors: [BadRequest, Forbidden, UnknownStackitError],
436
+ input: __S(16, __c2, 0) as any as S.Schema<GetVendorsSubscriptionRequest>,
437
+ output: __S(108, __c13, 4) as any as S.Schema<MarketplaceSubscriptionV1Subscription>,
438
+ errors: [BadRequest, Forbidden],
439
+ serviceErrors: StackitServiceErrors,
391
440
  protocol: StackitProtocol,
392
441
  retry: Retry.Retry,
393
442
  telemetry: TELEMETRY,
@@ -402,9 +451,10 @@ export const rejectVendorsSubscription: API.OperationMethod<
402
451
  RejectVendorsSubscriptionError,
403
452
  StackitOpContext
404
453
  > = /*@__PURE__*/ API.make(() => ({
405
- input: __S(16, __c2, 0) as any as S.Schema<RejectVendorsSubscriptionRequest>,
406
- output: __S(64, __c8, 0) as any as S.Schema<RejectVendorsSubscriptionResponse>,
407
- errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
454
+ input: __S(24, __c3, 0) as any as S.Schema<RejectVendorsSubscriptionRequest>,
455
+ output: __S(72, __c9, 0) as any as S.Schema<RejectVendorsSubscriptionResponse>,
456
+ errors: [BadRequest, Forbidden, NotFound],
457
+ serviceErrors: StackitServiceErrors,
408
458
  protocol: StackitProtocol,
409
459
  retry: Retry.Retry,
410
460
  telemetry: TELEMETRY,
@@ -419,9 +469,10 @@ export const resolveCustomer: API.OperationMethod<
419
469
  ResolveCustomerError,
420
470
  StackitOpContext
421
471
  > = /*@__PURE__*/ API.make(() => ({
422
- input: __S(24, __c3, 0) as any as S.Schema<ResolveCustomerRequest>,
423
- output: __S(100, __c12, 4) as any as S.Schema<MarketplaceSubscriptionV1Subscription>,
424
- errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
472
+ input: __S(32, __c4, 0) as any as S.Schema<ResolveCustomerRequest>,
473
+ output: __S(108, __c13, 4) as any as S.Schema<MarketplaceSubscriptionV1Subscription>,
474
+ errors: [BadRequest, Forbidden, NotFound],
475
+ serviceErrors: StackitServiceErrors,
425
476
  protocol: StackitProtocol,
426
477
  retry: Retry.Retry,
427
478
  telemetry: TELEMETRY,
@@ -440,9 +491,10 @@ export const terminateConsumersSubscription: API.OperationMethod<
440
491
  TerminateConsumersSubscriptionError,
441
492
  StackitOpContext
442
493
  > = /*@__PURE__*/ API.make(() => ({
443
- input: __S(32, __c4, 0) as any as S.Schema<TerminateConsumersSubscriptionRequest>,
444
- output: __S(64, __c8, 0) as any as S.Schema<TerminateConsumersSubscriptionResponse>,
445
- errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
494
+ input: __S(40, __c5, 0) as any as S.Schema<TerminateConsumersSubscriptionRequest>,
495
+ output: __S(72, __c9, 0) as any as S.Schema<TerminateConsumersSubscriptionResponse>,
496
+ errors: [BadRequest, Forbidden, NotFound],
497
+ serviceErrors: StackitServiceErrors,
446
498
  protocol: StackitProtocol,
447
499
  retry: Retry.Retry,
448
500
  telemetry: TELEMETRY,
@@ -457,9 +509,10 @@ export const vendorsSubscriptionsListByOrganization: API.OperationMethod<
457
509
  VendorsSubscriptionsListByOrganizationError,
458
510
  StackitOpContext
459
511
  > = /*@__PURE__*/ API.make(() => ({
460
- input: __S(40, __c5, 0) as any as S.Schema<VendorsSubscriptionsListByOrganizationRequest>,
461
- output: __S(89, __c11, 1) as any as S.Schema<MarketplaceSubscriptionV1ListSubscriptionsResponse>,
462
- errors: [BadRequest, Forbidden, UnknownStackitError],
512
+ input: __S(48, __c6, 0) as any as S.Schema<VendorsSubscriptionsListByOrganizationRequest>,
513
+ output: __S(97, __c12, 1) as any as S.Schema<MarketplaceSubscriptionV1ListSubscriptionsResponse>,
514
+ errors: [BadRequest, Forbidden],
515
+ serviceErrors: StackitServiceErrors,
463
516
  protocol: StackitProtocol,
464
517
  retry: Retry.Retry,
465
518
  telemetry: TELEMETRY,
@@ -474,9 +527,10 @@ export const vendorsSubscriptionsListByProject: API.OperationMethod<
474
527
  VendorsSubscriptionsListByProjectError,
475
528
  StackitOpContext
476
529
  > = /*@__PURE__*/ API.make(() => ({
477
- input: __S(48, __c6, 0) as any as S.Schema<VendorsSubscriptionsListByProjectRequest>,
478
- output: __S(89, __c11, 1) as any as S.Schema<MarketplaceSubscriptionV1ListSubscriptionsResponse>,
479
- errors: [BadRequest, Forbidden, UnknownStackitError],
530
+ input: __S(56, __c7, 0) as any as S.Schema<VendorsSubscriptionsListByProjectRequest>,
531
+ output: __S(97, __c12, 1) as any as S.Schema<MarketplaceSubscriptionV1ListSubscriptionsResponse>,
532
+ errors: [BadRequest, Forbidden],
533
+ serviceErrors: StackitServiceErrors,
480
534
  protocol: StackitProtocol,
481
535
  retry: Retry.Retry,
482
536
  telemetry: TELEMETRY,
@@ -485,6 +539,20 @@ export const vendorsSubscriptionsListByProject: API.OperationMethod<
485
539
 
486
540
  // Schema builders: each runs one schema initializer, on that schema's first use.
487
541
  function __c0(j: number): any {
542
+ switch (j) {
543
+ case 0:
544
+ return S.suspend(() =>
545
+ S.Struct({
546
+ error: S.String,
547
+ message: S.String,
548
+ path: S.String,
549
+ status: S.Number,
550
+ timeStamp: S.String,
551
+ }),
552
+ ).annotate({ identifier: "ErrorResponse" });
553
+ }
554
+ }
555
+ function __c1(j: number): any {
488
556
  switch (j) {
489
557
  case 0:
490
558
  return S.suspend(() =>
@@ -510,7 +578,7 @@ function __c0(j: number): any {
510
578
  ).annotate({ identifier: "MarketplaceSubscriptionV1SubscriptionRedirect" });
511
579
  }
512
580
  }
513
- function __c1(j: number): any {
581
+ function __c2(j: number): any {
514
582
  switch (j) {
515
583
  case 0:
516
584
  return S.suspend(() =>
@@ -529,7 +597,7 @@ function __c1(j: number): any {
529
597
  ).annotate({ identifier: "GetVendorsSubscriptionRequest" });
530
598
  }
531
599
  }
532
- function __c2(j: number): any {
600
+ function __c3(j: number): any {
533
601
  switch (j) {
534
602
  case 0:
535
603
  return S.suspend(() =>
@@ -547,13 +615,13 @@ function __c2(j: number): any {
547
615
  ).annotate({ identifier: "RejectVendorsSubscriptionRequest" });
548
616
  }
549
617
  }
550
- function __c3(j: number): any {
618
+ function __c4(j: number): any {
551
619
  switch (j) {
552
620
  case 0:
553
621
  return S.suspend(() =>
554
622
  S.Struct({
555
623
  projectId: S.String.pipe(T.Label()),
556
- token: S.String,
624
+ token: S.String.pipe(T.SensitiveValue({})),
557
625
  }).pipe(
558
626
  T.Http({
559
627
  method: "POST",
@@ -565,7 +633,7 @@ function __c3(j: number): any {
565
633
  ).annotate({ identifier: "ResolveCustomerRequest" });
566
634
  }
567
635
  }
568
- function __c4(j: number): any {
636
+ function __c5(j: number): any {
569
637
  switch (j) {
570
638
  case 0:
571
639
  return S.suspend(() =>
@@ -583,7 +651,7 @@ function __c4(j: number): any {
583
651
  ).annotate({ identifier: "TerminateConsumersSubscriptionRequest" });
584
652
  }
585
653
  }
586
- function __c5(j: number): any {
654
+ function __c6(j: number): any {
587
655
  switch (j) {
588
656
  case 0:
589
657
  return S.suspend(() =>
@@ -604,7 +672,7 @@ function __c5(j: number): any {
604
672
  ).annotate({ identifier: "VendorsSubscriptionsListByOrganizationRequest" });
605
673
  }
606
674
  }
607
- function __c6(j: number): any {
675
+ function __c7(j: number): any {
608
676
  switch (j) {
609
677
  case 0:
610
678
  return S.suspend(() =>
@@ -625,7 +693,7 @@ function __c6(j: number): any {
625
693
  ).annotate({ identifier: "VendorsSubscriptionsListByProjectRequest" });
626
694
  }
627
695
  }
628
- function __c7(j: number): any {
696
+ function __c8(j: number): any {
629
697
  switch (j) {
630
698
  case 0:
631
699
  return S.suspend(() =>
@@ -644,13 +712,13 @@ function __c7(j: number): any {
644
712
  ).annotate({ identifier: "ApproveSubscriptionRequest" });
645
713
  }
646
714
  }
647
- function __c8(j: number): any {
715
+ function __c9(j: number): any {
648
716
  switch (j) {
649
717
  case 0:
650
718
  return S.suspend(() => S.Struct({})).annotate({ identifier: "ApproveSubscriptionResponse" });
651
719
  }
652
720
  }
653
- function __c9(j: number): any {
721
+ function __c10(j: number): any {
654
722
  switch (j) {
655
723
  case 0:
656
724
  return S.suspend(() =>
@@ -668,7 +736,7 @@ function __c9(j: number): any {
668
736
  ).annotate({ identifier: "CancelConsumersSubscriptionRequest" });
669
737
  }
670
738
  }
671
- function __c10(j: number): any {
739
+ function __c11(j: number): any {
672
740
  switch (j) {
673
741
  case 0:
674
742
  return S.suspend(() =>
@@ -689,21 +757,21 @@ function __c10(j: number): any {
689
757
  ).annotate({ identifier: "ConsumersSubscriptionsListByOrganizationRequest" });
690
758
  }
691
759
  }
692
- function __c11(j: number): any {
760
+ function __c12(j: number): any {
693
761
  switch (j) {
694
762
  case 0:
695
- return S.Array(__S(100, __c12, 4));
763
+ return S.Array(__S(108, __c13, 4));
696
764
  case 1:
697
765
  return S.suspend(() =>
698
766
  S.Struct({
699
767
  cursor: S.optional(S.String),
700
- items: S.optional(__S(88, __c11, 0)),
768
+ items: S.optional(__S(96, __c12, 0)),
701
769
  limit: S.optional(S.Number),
702
770
  }),
703
771
  ).annotate({ identifier: "MarketplaceSubscriptionV1ListSubscriptionsResponse" });
704
772
  }
705
773
  }
706
- function __c12(j: number): any {
774
+ function __c13(j: number): any {
707
775
  switch (j) {
708
776
  case 0:
709
777
  return S.suspend(() =>
@@ -715,22 +783,22 @@ function __c12(j: number): any {
715
783
  case 1:
716
784
  return S.suspend(() =>
717
785
  S.Struct({
718
- version: S.optional(__S(96, __c12, 0)),
786
+ version: S.optional(__S(104, __c13, 0)),
719
787
  }),
720
788
  ).annotate({ identifier: "MarketplaceSubscriptionV1File" });
721
789
  case 2:
722
790
  return S.suspend(() =>
723
791
  S.Struct({
724
- endUserLicenseAgreement: S.optional(__S(97, __c12, 1)),
725
- productDescription: S.optional(__S(97, __c12, 1)),
726
- serviceCertificate: S.optional(__S(97, __c12, 1)),
727
- serviceLevelAgreement: S.optional(__S(97, __c12, 1)),
792
+ endUserLicenseAgreement: S.optional(__S(105, __c13, 1)),
793
+ productDescription: S.optional(__S(105, __c13, 1)),
794
+ serviceCertificate: S.optional(__S(105, __c13, 1)),
795
+ serviceLevelAgreement: S.optional(__S(105, __c13, 1)),
728
796
  }),
729
797
  ).annotate({ identifier: "MarketplaceSubscriptionV1Assets" });
730
798
  case 3:
731
799
  return S.suspend(() =>
732
800
  S.Struct({
733
- assets: S.optional(__S(98, __c12, 2)),
801
+ assets: S.optional(__S(106, __c13, 2)),
734
802
  deliveryMethod: S.String,
735
803
  lifecycleState: S.String,
736
804
  noticePeriod: S.String,
@@ -755,7 +823,7 @@ function __c12(j: number): any {
755
823
  lifecycleState: S.String,
756
824
  orderedAt: S.String,
757
825
  organizationId: S.String,
758
- product: __S(99, __c12, 3),
826
+ product: __S(107, __c13, 3),
759
827
  projectId: S.String,
760
828
  subscriptionId: S.String,
761
829
  terminatesAt: S.optional(S.String),
@@ -765,7 +833,7 @@ function __c12(j: number): any {
765
833
  ).annotate({ identifier: "MarketplaceSubscriptionV1Subscription" });
766
834
  }
767
835
  }
768
- function __c13(j: number): any {
836
+ function __c14(j: number): any {
769
837
  switch (j) {
770
838
  case 0:
771
839
  return S.suspend(() =>
@@ -786,7 +854,7 @@ function __c13(j: number): any {
786
854
  ).annotate({ identifier: "ConsumersSubscriptionsListByProjectRequest" });
787
855
  }
788
856
  }
789
- function __c14(j: number): any {
857
+ function __c15(j: number): any {
790
858
  switch (j) {
791
859
  case 0:
792
860
  return S.suspend(() =>
@@ -806,7 +874,7 @@ function __c14(j: number): any {
806
874
  ).annotate({ identifier: "CreateConsumersSubscriptionRequest" });
807
875
  }
808
876
  }
809
- function __c15(j: number): any {
877
+ function __c16(j: number): any {
810
878
  switch (j) {
811
879
  case 0:
812
880
  return S.suspend(() =>