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

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 +36 -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 +63 -2
  234. package/lib/unstable-services/git.d.ts.map +1 -0
  235. package/lib/unstable-services/git.js +44 -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 +229 -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 +353 -137
  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
@@ -4,7 +4,7 @@ import * as C from "@distilled.cloud/core/category";
4
4
  import * as S from "@distilled.cloud/core/schema-lite";
5
5
  import * as __L from "@distilled.cloud/core/schema-lite";
6
6
  import type * as Redacted from "effect/Redacted";
7
- import { UnknownStackitError } from "../errors.ts";
7
+ import { StackitServiceErrors } from "../errors.ts";
8
8
  import { StackitProtocol, type StackitOpError, type StackitOpContext } from "../protocol.ts";
9
9
  import * as Retry from "../retry.ts";
10
10
  import * as T from "../traits.ts";
@@ -31,45 +31,84 @@ export class BadRequest
31
31
  /*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
32
32
  code: S.Number,
33
33
  message: S.String,
34
+ body: /*@__PURE__*/ S.optional(
35
+ /*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(2, __c0, 2)), S.String]),
36
+ ),
37
+ headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
34
38
  }).pipe(C.withBadRequestError),
35
39
  [{ status: 400 }],
36
- ) {}
40
+ )
41
+ {
42
+ declare readonly body?: ErrorMessage | string;
43
+ }
37
44
 
38
45
  export class Conflict
39
46
  extends /*@__PURE__*/ T.applyErrorMatchers(
40
47
  /*@__PURE__*/ S.TaggedError<Conflict>()("Conflict", {
41
48
  code: S.Number,
42
49
  message: S.String,
50
+ body: /*@__PURE__*/ S.optional(
51
+ /*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(2, __c0, 2)), S.String]),
52
+ ),
53
+ headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
43
54
  }).pipe(C.withConflictError),
44
55
  [{ status: 409 }],
45
- ) {}
56
+ )
57
+ {
58
+ declare readonly body?: ErrorMessage | string;
59
+ }
46
60
 
47
61
  export class Forbidden
48
62
  extends /*@__PURE__*/ T.applyErrorMatchers(
49
63
  /*@__PURE__*/ S.TaggedError<Forbidden>()("Forbidden", {
50
64
  code: S.Number,
51
65
  message: S.String,
66
+ body: /*@__PURE__*/ S.optional(
67
+ /*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(2, __c0, 2)), S.String]),
68
+ ),
69
+ headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
52
70
  }).pipe(C.withAuthError),
53
71
  [{ status: 403 }],
54
- ) {}
72
+ )
73
+ {
74
+ declare readonly body?: ErrorMessage | string;
75
+ }
55
76
 
56
77
  export class NotFound
57
78
  extends /*@__PURE__*/ T.applyErrorMatchers(
58
79
  /*@__PURE__*/ S.TaggedError<NotFound>()("NotFound", {
59
80
  code: S.Number,
60
81
  message: S.String,
82
+ body: /*@__PURE__*/ S.optional(
83
+ /*@__PURE__*/ S.Union([/*@__PURE__*/ S.suspend(() => __S(2, __c0, 2)), S.String]),
84
+ ),
85
+ headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
61
86
  }).pipe(C.withBadRequestError),
62
87
  [{ status: 404 }],
63
- ) {}
88
+ )
89
+ {
90
+ declare readonly body?: ErrorMessage | string;
91
+ }
64
92
 
65
93
  export class UnprocessableEntity
66
94
  extends /*@__PURE__*/ T.applyErrorMatchers(
67
95
  /*@__PURE__*/ S.TaggedError<UnprocessableEntity>()("UnprocessableEntity", {
68
96
  code: S.Number,
69
97
  message: S.String,
98
+ body: /*@__PURE__*/ S.optional(
99
+ /*@__PURE__*/ S.Union([
100
+ /*@__PURE__*/ S.suspend(() => __S(83, __c20, 3)),
101
+ /*@__PURE__*/ S.suspend(() => __S(2, __c0, 2)),
102
+ S.String,
103
+ ]),
104
+ ),
105
+ headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
70
106
  }).pipe(C.withBadRequestError),
71
107
  [{ status: 422 }],
72
- ) {}
108
+ )
109
+ {
110
+ declare readonly body?: HTTPValidationError | ErrorMessage | string;
111
+ }
73
112
 
74
113
  export interface CreateAccessKeyRequest {
75
114
  /** STACKIT project ID */
@@ -129,6 +168,8 @@ export interface CreateCredentialsGroupRequest {
129
168
  region: string;
130
169
  /** Name of the group holding credentials */
131
170
  displayName: string;
171
+ /** Trust policy for cross-account access */
172
+ trustPolicy?: unknown | undefined;
132
173
  }
133
174
  export interface CredentialsGroup {
134
175
  /** The ID of the credentials group */
@@ -371,6 +412,25 @@ export interface UpdateServiceRequest {
371
412
  /** Project labels */
372
413
  labels: UpdateServiceRequestLabelsMap;
373
414
  }
415
+ export interface DetailedError {
416
+ key: string;
417
+ msg: string;
418
+ }
419
+ export type ErrorMessageDetailList = Array<DetailedError>;
420
+ export interface ErrorMessage {
421
+ detail: ErrorMessageDetailList;
422
+ }
423
+ export type ValidationErrorLocItem = string | number;
424
+ export type ValidationErrorLocList = Array<ValidationErrorLocItem>;
425
+ export interface ValidationError {
426
+ loc: ValidationErrorLocList;
427
+ msg: string;
428
+ type: string;
429
+ }
430
+ export type HTTPValidationErrorDetailList = Array<ValidationError>;
431
+ export interface HTTPValidationError {
432
+ detail?: HTTPValidationErrorDetailList | undefined;
433
+ }
374
434
  export type CreateAccessKeyError = Forbidden | NotFound | UnprocessableEntity | StackitOpError;
375
435
  /** Create Access Key Create an access key for the given project. */
376
436
  export const createAccessKey: API.OperationMethod<
@@ -379,9 +439,10 @@ export const createAccessKey: API.OperationMethod<
379
439
  CreateAccessKeyError,
380
440
  StackitOpContext
381
441
  > = /*@__PURE__*/ API.make(() => ({
382
- input: __S(76, __c19, 0) as any as S.Schema<CreateAccessKeyRequest>,
383
- output: __S(77, __c19, 1) as any as S.Schema<CreateAccessKeyResponse>,
384
- errors: [Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
442
+ input: __S(84, __c21, 0) as any as S.Schema<CreateAccessKeyRequest>,
443
+ output: __S(85, __c21, 1) as any as S.Schema<CreateAccessKeyResponse>,
444
+ errors: [Forbidden, NotFound, UnprocessableEntity],
445
+ serviceErrors: StackitServiceErrors,
385
446
  protocol: StackitProtocol,
386
447
  retry: Retry.Retry,
387
448
  telemetry: TELEMETRY,
@@ -396,9 +457,10 @@ export const createBucket: API.OperationMethod<
396
457
  CreateBucketError,
397
458
  StackitOpContext
398
459
  > = /*@__PURE__*/ API.make(() => ({
399
- input: __S(80, __c20, 0) as any as S.Schema<CreateBucketRequest>,
400
- output: __S(84, __c21, 0) as any as S.Schema<CreateBucketResponse>,
401
- errors: [NotFound, Conflict, UnprocessableEntity, UnknownStackitError],
460
+ input: __S(88, __c22, 0) as any as S.Schema<CreateBucketRequest>,
461
+ output: __S(92, __c23, 0) as any as S.Schema<CreateBucketResponse>,
462
+ errors: [NotFound, Conflict, UnprocessableEntity],
463
+ serviceErrors: StackitServiceErrors,
402
464
  protocol: StackitProtocol,
403
465
  retry: Retry.Retry,
404
466
  telemetry: TELEMETRY,
@@ -413,9 +475,10 @@ export const createComplianceLock: API.OperationMethod<
413
475
  CreateComplianceLockError,
414
476
  StackitOpContext
415
477
  > = /*@__PURE__*/ API.make(() => ({
416
- input: __S(88, __c22, 0) as any as S.Schema<CreateComplianceLockRequest>,
417
- output: __S(92, __c23, 0) as any as S.Schema<ComplianceLockResponse>,
418
- errors: [NotFound, Conflict, UnknownStackitError],
478
+ input: __S(96, __c24, 0) as any as S.Schema<CreateComplianceLockRequest>,
479
+ output: __S(100, __c25, 0) as any as S.Schema<ComplianceLockResponse>,
480
+ errors: [NotFound, Conflict],
481
+ serviceErrors: StackitServiceErrors,
419
482
  protocol: StackitProtocol,
420
483
  retry: Retry.Retry,
421
484
  telemetry: TELEMETRY,
@@ -435,9 +498,10 @@ export const createCredentialsGroup: API.OperationMethod<
435
498
  CreateCredentialsGroupError,
436
499
  StackitOpContext
437
500
  > = /*@__PURE__*/ API.make(() => ({
438
- input: __S(96, __c24, 0) as any as S.Schema<CreateCredentialsGroupRequest>,
439
- output: __S(97, __c24, 1) as any as S.Schema<CreateCredentialsGroupResponse>,
440
- errors: [Forbidden, NotFound, Conflict, UnprocessableEntity, UnknownStackitError],
501
+ input: __S(104, __c26, 0) as any as S.Schema<CreateCredentialsGroupRequest>,
502
+ output: __S(105, __c26, 1) as any as S.Schema<CreateCredentialsGroupResponse>,
503
+ errors: [Forbidden, NotFound, Conflict, UnprocessableEntity],
504
+ serviceErrors: StackitServiceErrors,
441
505
  protocol: StackitProtocol,
442
506
  retry: Retry.Retry,
443
507
  telemetry: TELEMETRY,
@@ -452,9 +516,10 @@ export const deleteAccessKey: API.OperationMethod<
452
516
  DeleteAccessKeyError,
453
517
  StackitOpContext
454
518
  > = /*@__PURE__*/ API.make(() => ({
455
- input: __S(104, __c26, 0) as any as S.Schema<DeleteAccessKeyRequest>,
456
- output: __S(105, __c26, 1) as any as S.Schema<DeleteAccessKeyResponse>,
457
- errors: [Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
519
+ input: __S(112, __c28, 0) as any as S.Schema<DeleteAccessKeyRequest>,
520
+ output: __S(113, __c28, 1) as any as S.Schema<DeleteAccessKeyResponse>,
521
+ errors: [Forbidden, NotFound, UnprocessableEntity],
522
+ serviceErrors: StackitServiceErrors,
458
523
  protocol: StackitProtocol,
459
524
  retry: Retry.Retry,
460
525
  telemetry: TELEMETRY,
@@ -469,9 +534,10 @@ export const deleteBucket: API.OperationMethod<
469
534
  DeleteBucketError,
470
535
  StackitOpContext
471
536
  > = /*@__PURE__*/ API.make(() => ({
472
- input: __S(0, __c0, 0) as any as S.Schema<DeleteBucketRequest>,
473
- output: __S(84, __c21, 0) as any as S.Schema<DeleteBucketResponse>,
474
- errors: [NotFound, UnprocessableEntity, UnknownStackitError],
537
+ input: __S(4, __c1, 0) as any as S.Schema<DeleteBucketRequest>,
538
+ output: __S(92, __c23, 0) as any as S.Schema<DeleteBucketResponse>,
539
+ errors: [NotFound, UnprocessableEntity],
540
+ serviceErrors: StackitServiceErrors,
475
541
  protocol: StackitProtocol,
476
542
  retry: Retry.Retry,
477
543
  telemetry: TELEMETRY,
@@ -486,9 +552,10 @@ export const deleteComplianceLock: API.OperationMethod<
486
552
  DeleteComplianceLockError,
487
553
  StackitOpContext
488
554
  > = /*@__PURE__*/ API.make(() => ({
489
- input: __S(4, __c1, 0) as any as S.Schema<DeleteComplianceLockRequest>,
490
- output: __S(92, __c23, 0) as any as S.Schema<ComplianceLockResponse>,
491
- errors: [NotFound, Conflict, UnknownStackitError],
555
+ input: __S(8, __c2, 0) as any as S.Schema<DeleteComplianceLockRequest>,
556
+ output: __S(100, __c25, 0) as any as S.Schema<ComplianceLockResponse>,
557
+ errors: [NotFound, Conflict],
558
+ serviceErrors: StackitServiceErrors,
492
559
  protocol: StackitProtocol,
493
560
  retry: Retry.Retry,
494
561
  telemetry: TELEMETRY,
@@ -503,9 +570,10 @@ export const deleteCredentialsGroup: API.OperationMethod<
503
570
  DeleteCredentialsGroupError,
504
571
  StackitOpContext
505
572
  > = /*@__PURE__*/ API.make(() => ({
506
- input: __S(8, __c2, 0) as any as S.Schema<DeleteCredentialsGroupRequest>,
507
- output: __S(9, __c2, 1) as any as S.Schema<DeleteCredentialsGroupResponse>,
508
- errors: [NotFound, UnprocessableEntity, UnknownStackitError],
573
+ input: __S(12, __c3, 0) as any as S.Schema<DeleteCredentialsGroupRequest>,
574
+ output: __S(13, __c3, 1) as any as S.Schema<DeleteCredentialsGroupResponse>,
575
+ errors: [NotFound, UnprocessableEntity],
576
+ serviceErrors: StackitServiceErrors,
509
577
  protocol: StackitProtocol,
510
578
  retry: Retry.Retry,
511
579
  telemetry: TELEMETRY,
@@ -520,9 +588,10 @@ export const deleteDefaultRetention: API.OperationMethod<
520
588
  DeleteDefaultRetentionError,
521
589
  StackitOpContext
522
590
  > = /*@__PURE__*/ API.make(() => ({
523
- input: __S(12, __c3, 0) as any as S.Schema<DeleteDefaultRetentionRequest>,
524
- output: __S(84, __c21, 0) as any as S.Schema<DeleteDefaultRetentionResponse>,
525
- errors: [NotFound, Conflict, UnknownStackitError],
591
+ input: __S(16, __c4, 0) as any as S.Schema<DeleteDefaultRetentionRequest>,
592
+ output: __S(92, __c23, 0) as any as S.Schema<DeleteDefaultRetentionResponse>,
593
+ errors: [NotFound, Conflict],
594
+ serviceErrors: StackitServiceErrors,
526
595
  protocol: StackitProtocol,
527
596
  retry: Retry.Retry,
528
597
  telemetry: TELEMETRY,
@@ -543,9 +612,10 @@ export const disableService: API.OperationMethod<
543
612
  DisableServiceError,
544
613
  StackitOpContext
545
614
  > = /*@__PURE__*/ API.make(() => ({
546
- input: __S(16, __c4, 0) as any as S.Schema<DisableServiceRequest>,
547
- output: __S(21, __c5, 1) as any as S.Schema<ProjectStatus>,
548
- errors: [BadRequest, Forbidden, NotFound, Conflict, UnprocessableEntity, UnknownStackitError],
615
+ input: __S(20, __c5, 0) as any as S.Schema<DisableServiceRequest>,
616
+ output: __S(25, __c6, 1) as any as S.Schema<ProjectStatus>,
617
+ errors: [BadRequest, Forbidden, NotFound, Conflict, UnprocessableEntity],
618
+ serviceErrors: StackitServiceErrors,
549
619
  protocol: StackitProtocol,
550
620
  retry: Retry.Retry,
551
621
  telemetry: TELEMETRY,
@@ -560,9 +630,10 @@ export const enableService: API.OperationMethod<
560
630
  EnableServiceError,
561
631
  StackitOpContext
562
632
  > = /*@__PURE__*/ API.make(() => ({
563
- input: __S(24, __c6, 0) as any as S.Schema<EnableServiceRequest>,
564
- output: __S(21, __c5, 1) as any as S.Schema<ProjectStatus>,
565
- errors: [Forbidden, Conflict, UnprocessableEntity, UnknownStackitError],
633
+ input: __S(28, __c7, 0) as any as S.Schema<EnableServiceRequest>,
634
+ output: __S(25, __c6, 1) as any as S.Schema<ProjectStatus>,
635
+ errors: [Forbidden, Conflict, UnprocessableEntity],
636
+ serviceErrors: StackitServiceErrors,
566
637
  protocol: StackitProtocol,
567
638
  retry: Retry.Retry,
568
639
  telemetry: TELEMETRY,
@@ -577,9 +648,10 @@ export const getBucket: API.OperationMethod<
577
648
  GetBucketError,
578
649
  StackitOpContext
579
650
  > = /*@__PURE__*/ API.make(() => ({
580
- input: __S(28, __c7, 0) as any as S.Schema<GetBucketRequest>,
581
- output: __S(29, __c7, 1) as any as S.Schema<GetBucketResponse>,
582
- errors: [Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
651
+ input: __S(32, __c8, 0) as any as S.Schema<GetBucketRequest>,
652
+ output: __S(33, __c8, 1) as any as S.Schema<GetBucketResponse>,
653
+ errors: [Forbidden, NotFound, UnprocessableEntity],
654
+ serviceErrors: StackitServiceErrors,
583
655
  protocol: StackitProtocol,
584
656
  retry: Retry.Retry,
585
657
  telemetry: TELEMETRY,
@@ -594,9 +666,10 @@ export const getComplianceLock: API.OperationMethod<
594
666
  GetComplianceLockError,
595
667
  StackitOpContext
596
668
  > = /*@__PURE__*/ API.make(() => ({
597
- input: __S(36, __c9, 0) as any as S.Schema<GetComplianceLockRequest>,
598
- output: __S(92, __c23, 0) as any as S.Schema<ComplianceLockResponse>,
599
- errors: [NotFound, UnknownStackitError],
669
+ input: __S(40, __c10, 0) as any as S.Schema<GetComplianceLockRequest>,
670
+ output: __S(100, __c25, 0) as any as S.Schema<ComplianceLockResponse>,
671
+ errors: [NotFound],
672
+ serviceErrors: StackitServiceErrors,
600
673
  protocol: StackitProtocol,
601
674
  retry: Retry.Retry,
602
675
  telemetry: TELEMETRY,
@@ -611,9 +684,10 @@ export const getCredentialsGroup: API.OperationMethod<
611
684
  GetCredentialsGroupError,
612
685
  StackitOpContext
613
686
  > = /*@__PURE__*/ API.make(() => ({
614
- input: __S(40, __c10, 0) as any as S.Schema<GetCredentialsGroupRequest>,
615
- output: __S(42, __c10, 2) as any as S.Schema<GetCredentialsGroupResponse>,
616
- errors: [NotFound, UnprocessableEntity, UnknownStackitError],
687
+ input: __S(44, __c11, 0) as any as S.Schema<GetCredentialsGroupRequest>,
688
+ output: __S(46, __c11, 2) as any as S.Schema<GetCredentialsGroupResponse>,
689
+ errors: [NotFound, UnprocessableEntity],
690
+ serviceErrors: StackitServiceErrors,
617
691
  protocol: StackitProtocol,
618
692
  retry: Retry.Retry,
619
693
  telemetry: TELEMETRY,
@@ -628,9 +702,10 @@ export const getDefaultRetention: API.OperationMethod<
628
702
  GetDefaultRetentionError,
629
703
  StackitOpContext
630
704
  > = /*@__PURE__*/ API.make(() => ({
631
- input: __S(44, __c11, 0) as any as S.Schema<GetDefaultRetentionRequest>,
632
- output: __S(48, __c12, 0) as any as S.Schema<DefaultRetentionResponse>,
633
- errors: [NotFound, Conflict, UnknownStackitError],
705
+ input: __S(48, __c12, 0) as any as S.Schema<GetDefaultRetentionRequest>,
706
+ output: __S(52, __c13, 0) as any as S.Schema<DefaultRetentionResponse>,
707
+ errors: [NotFound, Conflict],
708
+ serviceErrors: StackitServiceErrors,
634
709
  protocol: StackitProtocol,
635
710
  retry: Retry.Retry,
636
711
  telemetry: TELEMETRY,
@@ -645,9 +720,10 @@ export const getServiceStatus: API.OperationMethod<
645
720
  GetServiceStatusError,
646
721
  StackitOpContext
647
722
  > = /*@__PURE__*/ API.make(() => ({
648
- input: __S(52, __c13, 0) as any as S.Schema<GetServiceStatusRequest>,
649
- output: __S(21, __c5, 1) as any as S.Schema<ProjectStatus>,
650
- errors: [Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
723
+ input: __S(56, __c14, 0) as any as S.Schema<GetServiceStatusRequest>,
724
+ output: __S(25, __c6, 1) as any as S.Schema<ProjectStatus>,
725
+ errors: [Forbidden, NotFound, UnprocessableEntity],
726
+ serviceErrors: StackitServiceErrors,
651
727
  protocol: StackitProtocol,
652
728
  retry: Retry.Retry,
653
729
  telemetry: TELEMETRY,
@@ -662,9 +738,10 @@ export const listAccessKeys: API.OperationMethod<
662
738
  ListAccessKeysError,
663
739
  StackitOpContext
664
740
  > = /*@__PURE__*/ API.make(() => ({
665
- input: __S(56, __c14, 0) as any as S.Schema<ListAccessKeysRequest>,
666
- output: __S(59, __c14, 3) as any as S.Schema<ListAccessKeysResponse>,
667
- errors: [Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
741
+ input: __S(60, __c15, 0) as any as S.Schema<ListAccessKeysRequest>,
742
+ output: __S(63, __c15, 3) as any as S.Schema<ListAccessKeysResponse>,
743
+ errors: [Forbidden, NotFound, UnprocessableEntity],
744
+ serviceErrors: StackitServiceErrors,
668
745
  protocol: StackitProtocol,
669
746
  retry: Retry.Retry,
670
747
  telemetry: TELEMETRY,
@@ -679,9 +756,10 @@ export const listBuckets: API.OperationMethod<
679
756
  ListBucketsError,
680
757
  StackitOpContext
681
758
  > = /*@__PURE__*/ API.make(() => ({
682
- input: __S(60, __c15, 0) as any as S.Schema<ListBucketsRequest>,
683
- output: __S(62, __c15, 2) as any as S.Schema<ListBucketsResponse>,
684
- errors: [Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
759
+ input: __S(64, __c16, 0) as any as S.Schema<ListBucketsRequest>,
760
+ output: __S(66, __c16, 2) as any as S.Schema<ListBucketsResponse>,
761
+ errors: [Forbidden, NotFound, UnprocessableEntity],
762
+ serviceErrors: StackitServiceErrors,
685
763
  protocol: StackitProtocol,
686
764
  retry: Retry.Retry,
687
765
  telemetry: TELEMETRY,
@@ -696,9 +774,10 @@ export const listCredentialsGroups: API.OperationMethod<
696
774
  ListCredentialsGroupsError,
697
775
  StackitOpContext
698
776
  > = /*@__PURE__*/ API.make(() => ({
699
- input: __S(64, __c16, 0) as any as S.Schema<ListCredentialsGroupsRequest>,
700
- output: __S(66, __c16, 2) as any as S.Schema<ListCredentialsGroupsResponse>,
701
- errors: [NotFound, UnprocessableEntity, UnknownStackitError],
777
+ input: __S(68, __c17, 0) as any as S.Schema<ListCredentialsGroupsRequest>,
778
+ output: __S(70, __c17, 2) as any as S.Schema<ListCredentialsGroupsResponse>,
779
+ errors: [NotFound, UnprocessableEntity],
780
+ serviceErrors: StackitServiceErrors,
702
781
  protocol: StackitProtocol,
703
782
  retry: Retry.Retry,
704
783
  telemetry: TELEMETRY,
@@ -713,9 +792,10 @@ export const setDefaultRetention: API.OperationMethod<
713
792
  SetDefaultRetentionError,
714
793
  StackitOpContext
715
794
  > = /*@__PURE__*/ API.make(() => ({
716
- input: __S(68, __c17, 0) as any as S.Schema<SetDefaultRetentionRequest>,
717
- output: __S(48, __c12, 0) as any as S.Schema<DefaultRetentionResponse>,
718
- errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
795
+ input: __S(72, __c18, 0) as any as S.Schema<SetDefaultRetentionRequest>,
796
+ output: __S(52, __c13, 0) as any as S.Schema<DefaultRetentionResponse>,
797
+ errors: [BadRequest, NotFound, Conflict],
798
+ serviceErrors: StackitServiceErrors,
719
799
  protocol: StackitProtocol,
720
800
  retry: Retry.Retry,
721
801
  telemetry: TELEMETRY,
@@ -730,9 +810,10 @@ export const updateService: API.OperationMethod<
730
810
  UpdateServiceError,
731
811
  StackitOpContext
732
812
  > = /*@__PURE__*/ API.make(() => ({
733
- input: __S(72, __c18, 0) as any as S.Schema<UpdateServiceRequest>,
734
- output: __S(21, __c5, 1) as any as S.Schema<ProjectStatus>,
735
- errors: [Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
813
+ input: __S(76, __c19, 0) as any as S.Schema<UpdateServiceRequest>,
814
+ output: __S(25, __c6, 1) as any as S.Schema<ProjectStatus>,
815
+ errors: [Forbidden, NotFound, UnprocessableEntity],
816
+ serviceErrors: StackitServiceErrors,
736
817
  protocol: StackitProtocol,
737
818
  retry: Retry.Retry,
738
819
  telemetry: TELEMETRY,
@@ -741,6 +822,25 @@ export const updateService: API.OperationMethod<
741
822
 
742
823
  // Schema builders: each runs one schema initializer, on that schema's first use.
743
824
  function __c0(j: number): any {
825
+ switch (j) {
826
+ case 0:
827
+ return S.suspend(() =>
828
+ S.Struct({
829
+ key: S.String,
830
+ msg: S.String,
831
+ }),
832
+ ).annotate({ identifier: "DetailedError" });
833
+ case 1:
834
+ return S.Array(__S(0, __c0, 0));
835
+ case 2:
836
+ return S.suspend(() =>
837
+ S.Struct({
838
+ detail: __S(1, __c0, 1),
839
+ }),
840
+ ).annotate({ identifier: "ErrorMessage" });
841
+ }
842
+ }
843
+ function __c1(j: number): any {
744
844
  switch (j) {
745
845
  case 0:
746
846
  return S.suspend(() =>
@@ -759,7 +859,7 @@ function __c0(j: number): any {
759
859
  ).annotate({ identifier: "DeleteBucketRequest" });
760
860
  }
761
861
  }
762
- function __c1(j: number): any {
862
+ function __c2(j: number): any {
763
863
  switch (j) {
764
864
  case 0:
765
865
  return S.suspend(() =>
@@ -777,7 +877,7 @@ function __c1(j: number): any {
777
877
  ).annotate({ identifier: "DeleteComplianceLockRequest" });
778
878
  }
779
879
  }
780
- function __c2(j: number): any {
880
+ function __c3(j: number): any {
781
881
  switch (j) {
782
882
  case 0:
783
883
  return S.suspend(() =>
@@ -803,7 +903,7 @@ function __c2(j: number): any {
803
903
  ).annotate({ identifier: "DeleteCredentialsGroupResponse" });
804
904
  }
805
905
  }
806
- function __c3(j: number): any {
906
+ function __c4(j: number): any {
807
907
  switch (j) {
808
908
  case 0:
809
909
  return S.suspend(() =>
@@ -822,7 +922,7 @@ function __c3(j: number): any {
822
922
  ).annotate({ identifier: "DeleteDefaultRetentionRequest" });
823
923
  }
824
924
  }
825
- function __c4(j: number): any {
925
+ function __c5(j: number): any {
826
926
  switch (j) {
827
927
  case 0:
828
928
  return S.suspend(() =>
@@ -840,21 +940,21 @@ function __c4(j: number): any {
840
940
  ).annotate({ identifier: "DisableServiceRequest" });
841
941
  }
842
942
  }
843
- function __c5(j: number): any {
943
+ function __c6(j: number): any {
844
944
  switch (j) {
845
945
  case 0:
846
946
  return S.Record(S.String, S.String);
847
947
  case 1:
848
948
  return S.suspend(() =>
849
949
  S.Struct({
850
- labels: S.optional(__S(20, __c5, 0)),
950
+ labels: S.optional(__S(24, __c6, 0)),
851
951
  project: S.String,
852
952
  scope: S.String,
853
953
  }),
854
954
  ).annotate({ identifier: "ProjectStatus" });
855
955
  }
856
956
  }
857
- function __c6(j: number): any {
957
+ function __c7(j: number): any {
858
958
  switch (j) {
859
959
  case 0:
860
960
  return S.suspend(() =>
@@ -872,7 +972,7 @@ function __c6(j: number): any {
872
972
  ).annotate({ identifier: "EnableServiceRequest" });
873
973
  }
874
974
  }
875
- function __c7(j: number): any {
975
+ function __c8(j: number): any {
876
976
  switch (j) {
877
977
  case 0:
878
978
  return S.suspend(() =>
@@ -892,13 +992,13 @@ function __c7(j: number): any {
892
992
  case 1:
893
993
  return S.suspend(() =>
894
994
  S.Struct({
895
- bucket: __S(32, __c8, 0),
995
+ bucket: __S(36, __c9, 0),
896
996
  project: S.String,
897
997
  }),
898
998
  ).annotate({ identifier: "GetBucketResponse" });
899
999
  }
900
1000
  }
901
- function __c8(j: number): any {
1001
+ function __c9(j: number): any {
902
1002
  switch (j) {
903
1003
  case 0:
904
1004
  return S.suspend(() =>
@@ -912,7 +1012,7 @@ function __c8(j: number): any {
912
1012
  ).annotate({ identifier: "Bucket" });
913
1013
  }
914
1014
  }
915
- function __c9(j: number): any {
1015
+ function __c10(j: number): any {
916
1016
  switch (j) {
917
1017
  case 0:
918
1018
  return S.suspend(() =>
@@ -930,7 +1030,7 @@ function __c9(j: number): any {
930
1030
  ).annotate({ identifier: "GetComplianceLockRequest" });
931
1031
  }
932
1032
  }
933
- function __c10(j: number): any {
1033
+ function __c11(j: number): any {
934
1034
  switch (j) {
935
1035
  case 0:
936
1036
  return S.suspend(() =>
@@ -959,13 +1059,13 @@ function __c10(j: number): any {
959
1059
  case 2:
960
1060
  return S.suspend(() =>
961
1061
  S.Struct({
962
- credentialsGroup: __S(41, __c10, 1),
1062
+ credentialsGroup: __S(45, __c11, 1),
963
1063
  project: S.String,
964
1064
  }),
965
1065
  ).annotate({ identifier: "GetCredentialsGroupResponse" });
966
1066
  }
967
1067
  }
968
- function __c11(j: number): any {
1068
+ function __c12(j: number): any {
969
1069
  switch (j) {
970
1070
  case 0:
971
1071
  return S.suspend(() =>
@@ -984,7 +1084,7 @@ function __c11(j: number): any {
984
1084
  ).annotate({ identifier: "GetDefaultRetentionRequest" });
985
1085
  }
986
1086
  }
987
- function __c12(j: number): any {
1087
+ function __c13(j: number): any {
988
1088
  switch (j) {
989
1089
  case 0:
990
1090
  return S.suspend(() =>
@@ -997,7 +1097,7 @@ function __c12(j: number): any {
997
1097
  ).annotate({ identifier: "DefaultRetentionResponse" });
998
1098
  }
999
1099
  }
1000
- function __c13(j: number): any {
1100
+ function __c14(j: number): any {
1001
1101
  switch (j) {
1002
1102
  case 0:
1003
1103
  return S.suspend(() =>
@@ -1015,7 +1115,7 @@ function __c13(j: number): any {
1015
1115
  ).annotate({ identifier: "GetServiceStatusRequest" });
1016
1116
  }
1017
1117
  }
1018
- function __c14(j: number): any {
1118
+ function __c15(j: number): any {
1019
1119
  switch (j) {
1020
1120
  case 0:
1021
1121
  return S.suspend(() =>
@@ -1041,17 +1141,17 @@ function __c14(j: number): any {
1041
1141
  }),
1042
1142
  ).annotate({ identifier: "AccessKey" });
1043
1143
  case 2:
1044
- return S.Array(__S(57, __c14, 1));
1144
+ return S.Array(__S(61, __c15, 1));
1045
1145
  case 3:
1046
1146
  return S.suspend(() =>
1047
1147
  S.Struct({
1048
- accessKeys: __S(58, __c14, 2),
1148
+ accessKeys: __S(62, __c15, 2),
1049
1149
  project: S.String,
1050
1150
  }),
1051
1151
  ).annotate({ identifier: "ListAccessKeysResponse" });
1052
1152
  }
1053
1153
  }
1054
- function __c15(j: number): any {
1154
+ function __c16(j: number): any {
1055
1155
  switch (j) {
1056
1156
  case 0:
1057
1157
  return S.suspend(() =>
@@ -1068,17 +1168,17 @@ function __c15(j: number): any {
1068
1168
  ),
1069
1169
  ).annotate({ identifier: "ListBucketsRequest" });
1070
1170
  case 1:
1071
- return S.Array(__S(32, __c8, 0));
1171
+ return S.Array(__S(36, __c9, 0));
1072
1172
  case 2:
1073
1173
  return S.suspend(() =>
1074
1174
  S.Struct({
1075
- buckets: __S(61, __c15, 1),
1175
+ buckets: __S(65, __c16, 1),
1076
1176
  project: S.String,
1077
1177
  }),
1078
1178
  ).annotate({ identifier: "ListBucketsResponse" });
1079
1179
  }
1080
1180
  }
1081
- function __c16(j: number): any {
1181
+ function __c17(j: number): any {
1082
1182
  switch (j) {
1083
1183
  case 0:
1084
1184
  return S.suspend(() =>
@@ -1095,17 +1195,17 @@ function __c16(j: number): any {
1095
1195
  ),
1096
1196
  ).annotate({ identifier: "ListCredentialsGroupsRequest" });
1097
1197
  case 1:
1098
- return S.Array(__S(100, __c25, 0));
1198
+ return S.Array(__S(108, __c27, 0));
1099
1199
  case 2:
1100
1200
  return S.suspend(() =>
1101
1201
  S.Struct({
1102
- credentialsGroups: __S(65, __c16, 1),
1202
+ credentialsGroups: __S(69, __c17, 1),
1103
1203
  project: S.String,
1104
1204
  }),
1105
1205
  ).annotate({ identifier: "ListCredentialsGroupsResponse" });
1106
1206
  }
1107
1207
  }
1108
- function __c17(j: number): any {
1208
+ function __c18(j: number): any {
1109
1209
  switch (j) {
1110
1210
  case 0:
1111
1211
  return S.suspend(() =>
@@ -1126,14 +1226,14 @@ function __c17(j: number): any {
1126
1226
  ).annotate({ identifier: "SetDefaultRetentionRequest" });
1127
1227
  }
1128
1228
  }
1129
- function __c18(j: number): any {
1229
+ function __c19(j: number): any {
1130
1230
  switch (j) {
1131
1231
  case 0:
1132
1232
  return S.suspend(() =>
1133
1233
  S.Struct({
1134
1234
  projectId: S.String.pipe(T.Label()),
1135
1235
  region: S.String.pipe(T.Label()),
1136
- labels: __S(20, __c5, 0),
1236
+ labels: __S(24, __c6, 0),
1137
1237
  }).pipe(
1138
1238
  T.Http({
1139
1239
  method: "PUT",
@@ -1145,7 +1245,29 @@ function __c18(j: number): any {
1145
1245
  ).annotate({ identifier: "UpdateServiceRequest" });
1146
1246
  }
1147
1247
  }
1148
- function __c19(j: number): any {
1248
+ function __c20(j: number): any {
1249
+ switch (j) {
1250
+ case 0:
1251
+ return S.Array(S.Unknown);
1252
+ case 1:
1253
+ return S.suspend(() =>
1254
+ S.Struct({
1255
+ loc: __S(80, __c20, 0),
1256
+ msg: S.String,
1257
+ type: S.String,
1258
+ }),
1259
+ ).annotate({ identifier: "ValidationError" });
1260
+ case 2:
1261
+ return S.Array(__S(81, __c20, 1));
1262
+ case 3:
1263
+ return S.suspend(() =>
1264
+ S.Struct({
1265
+ detail: S.optional(__S(82, __c20, 2)),
1266
+ }),
1267
+ ).annotate({ identifier: "HTTPValidationError" });
1268
+ }
1269
+ }
1270
+ function __c21(j: number): any {
1149
1271
  switch (j) {
1150
1272
  case 0:
1151
1273
  return S.suspend(() =>
@@ -1176,7 +1298,7 @@ function __c19(j: number): any {
1176
1298
  ).annotate({ identifier: "CreateAccessKeyResponse" });
1177
1299
  }
1178
1300
  }
1179
- function __c20(j: number): any {
1301
+ function __c22(j: number): any {
1180
1302
  switch (j) {
1181
1303
  case 0:
1182
1304
  return S.suspend(() =>
@@ -1196,7 +1318,7 @@ function __c20(j: number): any {
1196
1318
  ).annotate({ identifier: "CreateBucketRequest" });
1197
1319
  }
1198
1320
  }
1199
- function __c21(j: number): any {
1321
+ function __c23(j: number): any {
1200
1322
  switch (j) {
1201
1323
  case 0:
1202
1324
  return S.suspend(() =>
@@ -1207,7 +1329,7 @@ function __c21(j: number): any {
1207
1329
  ).annotate({ identifier: "CreateBucketResponse" });
1208
1330
  }
1209
1331
  }
1210
- function __c22(j: number): any {
1332
+ function __c24(j: number): any {
1211
1333
  switch (j) {
1212
1334
  case 0:
1213
1335
  return S.suspend(() =>
@@ -1225,7 +1347,7 @@ function __c22(j: number): any {
1225
1347
  ).annotate({ identifier: "CreateComplianceLockRequest" });
1226
1348
  }
1227
1349
  }
1228
- function __c23(j: number): any {
1350
+ function __c25(j: number): any {
1229
1351
  switch (j) {
1230
1352
  case 0:
1231
1353
  return S.suspend(() =>
@@ -1236,7 +1358,7 @@ function __c23(j: number): any {
1236
1358
  ).annotate({ identifier: "ComplianceLockResponse" });
1237
1359
  }
1238
1360
  }
1239
- function __c24(j: number): any {
1361
+ function __c26(j: number): any {
1240
1362
  switch (j) {
1241
1363
  case 0:
1242
1364
  return S.suspend(() =>
@@ -1244,6 +1366,7 @@ function __c24(j: number): any {
1244
1366
  projectId: S.String.pipe(T.Label()),
1245
1367
  region: S.String.pipe(T.Label()),
1246
1368
  displayName: S.String,
1369
+ trustPolicy: S.optional(S.Unknown),
1247
1370
  }).pipe(
1248
1371
  T.Http({
1249
1372
  method: "POST",
@@ -1256,13 +1379,13 @@ function __c24(j: number): any {
1256
1379
  case 1:
1257
1380
  return S.suspend(() =>
1258
1381
  S.Struct({
1259
- credentialsGroup: __S(100, __c25, 0),
1382
+ credentialsGroup: __S(108, __c27, 0),
1260
1383
  project: S.String,
1261
1384
  }),
1262
1385
  ).annotate({ identifier: "CreateCredentialsGroupResponse" });
1263
1386
  }
1264
1387
  }
1265
- function __c25(j: number): any {
1388
+ function __c27(j: number): any {
1266
1389
  switch (j) {
1267
1390
  case 0:
1268
1391
  return S.suspend(() =>
@@ -1274,7 +1397,7 @@ function __c25(j: number): any {
1274
1397
  ).annotate({ identifier: "CredentialsGroup" });
1275
1398
  }
1276
1399
  }
1277
- function __c26(j: number): any {
1400
+ function __c28(j: number): any {
1278
1401
  switch (j) {
1279
1402
  case 0:
1280
1403
  return S.suspend(() =>