@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,27 +31,48 @@ 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(0, __c0, 0)), 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?: BadRequest2 | 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(0, __c0, 0)), 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?: Conflict2 | string;
59
+ }
46
60
 
47
61
  export class NotFound
48
62
  extends /*@__PURE__*/ T.applyErrorMatchers(
49
63
  /*@__PURE__*/ S.TaggedError<NotFound>()("NotFound", {
50
64
  code: S.Number,
51
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)),
52
70
  }).pipe(C.withBadRequestError),
53
71
  [{ status: 404 }],
54
- ) {}
72
+ )
73
+ {
74
+ declare readonly body?: NotFound2 | string;
75
+ }
55
76
 
56
77
  export interface CreateACLRequest {
57
78
  /** The STACKIT portal project UUID the Secrets Manager instance is part of. */
@@ -382,6 +403,18 @@ export interface UpdateUserRequest {
382
403
  write?: boolean | undefined;
383
404
  }
384
405
  export interface UpdateUserResponse {}
406
+ export interface BadRequest2 {
407
+ /** The error message for bad requests */
408
+ message: string;
409
+ }
410
+ export interface Conflict2 {
411
+ /** The error message for conflicts */
412
+ message: string;
413
+ }
414
+ export interface NotFound2 {
415
+ /** The error message for not found resources */
416
+ message: string;
417
+ }
385
418
  export type CreateACLError = BadRequest | NotFound | Conflict | StackitOpError;
386
419
  /** Creates a new Secrets Manager acl within the project. */
387
420
  export const createACL: API.OperationMethod<
@@ -390,9 +423,10 @@ export const createACL: API.OperationMethod<
390
423
  CreateACLError,
391
424
  StackitOpContext
392
425
  > = /*@__PURE__*/ API.make(() => ({
393
- input: __S(76, __c19, 0) as any as S.Schema<CreateACLRequest>,
394
- output: __S(80, __c20, 0) as any as S.Schema<ACL>,
395
- errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
426
+ input: __S(80, __c20, 0) as any as S.Schema<CreateACLRequest>,
427
+ output: __S(84, __c21, 0) as any as S.Schema<ACL>,
428
+ errors: [BadRequest, NotFound, Conflict],
429
+ serviceErrors: StackitServiceErrors,
396
430
  protocol: StackitProtocol,
397
431
  retry: Retry.Retry,
398
432
  telemetry: TELEMETRY,
@@ -407,9 +441,10 @@ export const createApprole: API.OperationMethod<
407
441
  CreateApproleError,
408
442
  StackitOpContext
409
443
  > = /*@__PURE__*/ API.make(() => ({
410
- input: __S(84, __c21, 0) as any as S.Schema<CreateApproleRequest>,
411
- output: __S(88, __c22, 0) as any as S.Schema<Approle>,
412
- errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
444
+ input: __S(88, __c22, 0) as any as S.Schema<CreateApproleRequest>,
445
+ output: __S(92, __c23, 0) as any as S.Schema<Approle>,
446
+ errors: [BadRequest, NotFound, Conflict],
447
+ serviceErrors: StackitServiceErrors,
413
448
  protocol: StackitProtocol,
414
449
  retry: Retry.Retry,
415
450
  telemetry: TELEMETRY,
@@ -424,9 +459,10 @@ export const createApproleSecretId: API.OperationMethod<
424
459
  CreateApproleSecretIdError,
425
460
  StackitOpContext
426
461
  > = /*@__PURE__*/ API.make(() => ({
427
- input: __S(92, __c23, 0) as any as S.Schema<CreateApproleSecretIdRequest>,
428
- output: __S(96, __c24, 0) as any as S.Schema<ApproleSecret>,
429
- errors: [BadRequest, NotFound, UnknownStackitError],
462
+ input: __S(96, __c24, 0) as any as S.Schema<CreateApproleSecretIdRequest>,
463
+ output: __S(100, __c25, 0) as any as S.Schema<ApproleSecret>,
464
+ errors: [BadRequest, NotFound],
465
+ serviceErrors: StackitServiceErrors,
430
466
  protocol: StackitProtocol,
431
467
  retry: Retry.Retry,
432
468
  telemetry: TELEMETRY,
@@ -441,9 +477,10 @@ export const createInstance: API.OperationMethod<
441
477
  CreateInstanceError,
442
478
  StackitOpContext
443
479
  > = /*@__PURE__*/ API.make(() => ({
444
- input: __S(100, __c25, 0) as any as S.Schema<CreateInstanceRequest>,
445
- output: __S(104, __c26, 0) as any as S.Schema<Instance>,
446
- errors: [BadRequest, UnknownStackitError],
480
+ input: __S(104, __c26, 0) as any as S.Schema<CreateInstanceRequest>,
481
+ output: __S(108, __c27, 0) as any as S.Schema<Instance>,
482
+ errors: [BadRequest],
483
+ serviceErrors: StackitServiceErrors,
447
484
  protocol: StackitProtocol,
448
485
  retry: Retry.Retry,
449
486
  telemetry: TELEMETRY,
@@ -458,9 +495,10 @@ export const createUser: API.OperationMethod<
458
495
  CreateUserError,
459
496
  StackitOpContext
460
497
  > = /*@__PURE__*/ API.make(() => ({
461
- input: __S(112, __c28, 0) as any as S.Schema<CreateUserRequest>,
462
- output: __S(116, __c29, 0) as any as S.Schema<User>,
463
- errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
498
+ input: __S(116, __c29, 0) as any as S.Schema<CreateUserRequest>,
499
+ output: __S(120, __c30, 0) as any as S.Schema<User>,
500
+ errors: [BadRequest, NotFound, Conflict],
501
+ serviceErrors: StackitServiceErrors,
464
502
  protocol: StackitProtocol,
465
503
  retry: Retry.Retry,
466
504
  telemetry: TELEMETRY,
@@ -475,9 +513,10 @@ export const deleteACL: API.OperationMethod<
475
513
  DeleteACLError,
476
514
  StackitOpContext
477
515
  > = /*@__PURE__*/ API.make(() => ({
478
- input: __S(120, __c30, 0) as any as S.Schema<DeleteACLRequest>,
479
- output: __S(124, __c31, 0) as any as S.Schema<DeleteACLResponse>,
480
- errors: [BadRequest, NotFound, UnknownStackitError],
516
+ input: __S(124, __c31, 0) as any as S.Schema<DeleteACLRequest>,
517
+ output: __S(128, __c32, 0) as any as S.Schema<DeleteACLResponse>,
518
+ errors: [BadRequest, NotFound],
519
+ serviceErrors: StackitServiceErrors,
481
520
  protocol: StackitProtocol,
482
521
  retry: Retry.Retry,
483
522
  telemetry: TELEMETRY,
@@ -492,9 +531,10 @@ export const deleteApprole: API.OperationMethod<
492
531
  DeleteApproleError,
493
532
  StackitOpContext
494
533
  > = /*@__PURE__*/ API.make(() => ({
495
- input: __S(128, __c32, 0) as any as S.Schema<DeleteApproleRequest>,
496
- output: __S(124, __c31, 0) as any as S.Schema<DeleteApproleResponse>,
497
- errors: [BadRequest, NotFound, UnknownStackitError],
534
+ input: __S(132, __c33, 0) as any as S.Schema<DeleteApproleRequest>,
535
+ output: __S(128, __c32, 0) as any as S.Schema<DeleteApproleResponse>,
536
+ errors: [BadRequest, NotFound],
537
+ serviceErrors: StackitServiceErrors,
498
538
  protocol: StackitProtocol,
499
539
  retry: Retry.Retry,
500
540
  telemetry: TELEMETRY,
@@ -509,9 +549,10 @@ export const deleteApproleSecretId: API.OperationMethod<
509
549
  DeleteApproleSecretIdError,
510
550
  StackitOpContext
511
551
  > = /*@__PURE__*/ API.make(() => ({
512
- input: __S(0, __c0, 0) as any as S.Schema<DeleteApproleSecretIdRequest>,
513
- output: __S(124, __c31, 0) as any as S.Schema<DeleteApproleSecretIdResponse>,
514
- errors: [BadRequest, NotFound, UnknownStackitError],
552
+ input: __S(4, __c1, 0) as any as S.Schema<DeleteApproleSecretIdRequest>,
553
+ output: __S(128, __c32, 0) as any as S.Schema<DeleteApproleSecretIdResponse>,
554
+ errors: [BadRequest, NotFound],
555
+ serviceErrors: StackitServiceErrors,
515
556
  protocol: StackitProtocol,
516
557
  retry: Retry.Retry,
517
558
  telemetry: TELEMETRY,
@@ -526,9 +567,10 @@ export const deleteInstance: API.OperationMethod<
526
567
  DeleteInstanceError,
527
568
  StackitOpContext
528
569
  > = /*@__PURE__*/ API.make(() => ({
529
- input: __S(4, __c1, 0) as any as S.Schema<DeleteInstanceRequest>,
530
- output: __S(124, __c31, 0) as any as S.Schema<DeleteInstanceResponse>,
531
- errors: [BadRequest, NotFound, UnknownStackitError],
570
+ input: __S(8, __c2, 0) as any as S.Schema<DeleteInstanceRequest>,
571
+ output: __S(128, __c32, 0) as any as S.Schema<DeleteInstanceResponse>,
572
+ errors: [BadRequest, NotFound],
573
+ serviceErrors: StackitServiceErrors,
532
574
  protocol: StackitProtocol,
533
575
  retry: Retry.Retry,
534
576
  telemetry: TELEMETRY,
@@ -543,9 +585,10 @@ export const deleteUser: API.OperationMethod<
543
585
  DeleteUserError,
544
586
  StackitOpContext
545
587
  > = /*@__PURE__*/ API.make(() => ({
546
- input: __S(8, __c2, 0) as any as S.Schema<DeleteUserRequest>,
547
- output: __S(124, __c31, 0) as any as S.Schema<DeleteUserResponse>,
548
- errors: [BadRequest, NotFound, UnknownStackitError],
588
+ input: __S(12, __c3, 0) as any as S.Schema<DeleteUserRequest>,
589
+ output: __S(128, __c32, 0) as any as S.Schema<DeleteUserResponse>,
590
+ errors: [BadRequest, NotFound],
591
+ serviceErrors: StackitServiceErrors,
549
592
  protocol: StackitProtocol,
550
593
  retry: Retry.Retry,
551
594
  telemetry: TELEMETRY,
@@ -556,9 +599,10 @@ export type GetACLError = BadRequest | NotFound | StackitOpError;
556
599
  /** Returns the details for the given acl. */
557
600
  export const getACL: API.OperationMethod<GetACLRequest, ACL, GetACLError, StackitOpContext> =
558
601
  /*@__PURE__*/ API.make(() => ({
559
- input: __S(12, __c3, 0) as any as S.Schema<GetACLRequest>,
560
- output: __S(80, __c20, 0) as any as S.Schema<ACL>,
561
- errors: [BadRequest, NotFound, UnknownStackitError],
602
+ input: __S(16, __c4, 0) as any as S.Schema<GetACLRequest>,
603
+ output: __S(84, __c21, 0) as any as S.Schema<ACL>,
604
+ errors: [BadRequest, NotFound],
605
+ serviceErrors: StackitServiceErrors,
562
606
  protocol: StackitProtocol,
563
607
  retry: Retry.Retry,
564
608
  telemetry: TELEMETRY,
@@ -573,9 +617,10 @@ export const getApprole: API.OperationMethod<
573
617
  GetApproleError,
574
618
  StackitOpContext
575
619
  > = /*@__PURE__*/ API.make(() => ({
576
- input: __S(16, __c4, 0) as any as S.Schema<GetApproleRequest>,
577
- output: __S(88, __c22, 0) as any as S.Schema<Approle>,
578
- errors: [BadRequest, NotFound, UnknownStackitError],
620
+ input: __S(20, __c5, 0) as any as S.Schema<GetApproleRequest>,
621
+ output: __S(92, __c23, 0) as any as S.Schema<Approle>,
622
+ errors: [BadRequest, NotFound],
623
+ serviceErrors: StackitServiceErrors,
579
624
  protocol: StackitProtocol,
580
625
  retry: Retry.Retry,
581
626
  telemetry: TELEMETRY,
@@ -590,9 +635,10 @@ export const getApproles: API.OperationMethod<
590
635
  GetApprolesError,
591
636
  StackitOpContext
592
637
  > = /*@__PURE__*/ API.make(() => ({
593
- input: __S(20, __c5, 0) as any as S.Schema<GetApprolesRequest>,
594
- output: __S(22, __c5, 2) as any as S.Schema<ApproleList>,
595
- errors: [BadRequest, NotFound, UnknownStackitError],
638
+ input: __S(24, __c6, 0) as any as S.Schema<GetApprolesRequest>,
639
+ output: __S(26, __c6, 2) as any as S.Schema<ApproleList>,
640
+ errors: [BadRequest, NotFound],
641
+ serviceErrors: StackitServiceErrors,
596
642
  protocol: StackitProtocol,
597
643
  retry: Retry.Retry,
598
644
  telemetry: TELEMETRY,
@@ -607,9 +653,10 @@ export const getApproleSecretId: API.OperationMethod<
607
653
  GetApproleSecretIdError,
608
654
  StackitOpContext
609
655
  > = /*@__PURE__*/ API.make(() => ({
610
- input: __S(24, __c6, 0) as any as S.Schema<GetApproleSecretIdRequest>,
611
- output: __S(96, __c24, 0) as any as S.Schema<ApproleSecret>,
612
- errors: [BadRequest, NotFound, UnknownStackitError],
656
+ input: __S(28, __c7, 0) as any as S.Schema<GetApproleSecretIdRequest>,
657
+ output: __S(100, __c25, 0) as any as S.Schema<ApproleSecret>,
658
+ errors: [BadRequest, NotFound],
659
+ serviceErrors: StackitServiceErrors,
613
660
  protocol: StackitProtocol,
614
661
  retry: Retry.Retry,
615
662
  telemetry: TELEMETRY,
@@ -624,9 +671,10 @@ export const getInstance: API.OperationMethod<
624
671
  GetInstanceError,
625
672
  StackitOpContext
626
673
  > = /*@__PURE__*/ API.make(() => ({
627
- input: __S(28, __c7, 0) as any as S.Schema<GetInstanceRequest>,
628
- output: __S(104, __c26, 0) as any as S.Schema<Instance>,
629
- errors: [BadRequest, NotFound, UnknownStackitError],
674
+ input: __S(32, __c8, 0) as any as S.Schema<GetInstanceRequest>,
675
+ output: __S(108, __c27, 0) as any as S.Schema<Instance>,
676
+ errors: [BadRequest, NotFound],
677
+ serviceErrors: StackitServiceErrors,
630
678
  protocol: StackitProtocol,
631
679
  retry: Retry.Retry,
632
680
  telemetry: TELEMETRY,
@@ -637,9 +685,10 @@ export type GetUserError = BadRequest | NotFound | StackitOpError;
637
685
  /** Returns the details for the given user. */
638
686
  export const getUser: API.OperationMethod<GetUserRequest, User, GetUserError, StackitOpContext> =
639
687
  /*@__PURE__*/ API.make(() => ({
640
- input: __S(32, __c8, 0) as any as S.Schema<GetUserRequest>,
641
- output: __S(116, __c29, 0) as any as S.Schema<User>,
642
- errors: [BadRequest, NotFound, UnknownStackitError],
688
+ input: __S(36, __c9, 0) as any as S.Schema<GetUserRequest>,
689
+ output: __S(120, __c30, 0) as any as S.Schema<User>,
690
+ errors: [BadRequest, NotFound],
691
+ serviceErrors: StackitServiceErrors,
643
692
  protocol: StackitProtocol,
644
693
  retry: Retry.Retry,
645
694
  telemetry: TELEMETRY,
@@ -654,9 +703,10 @@ export const listACLs: API.OperationMethod<
654
703
  ListACLsError,
655
704
  StackitOpContext
656
705
  > = /*@__PURE__*/ API.make(() => ({
657
- input: __S(36, __c9, 0) as any as S.Schema<ListACLsRequest>,
658
- output: __S(38, __c9, 2) as any as S.Schema<ListACLsResponse>,
659
- errors: [BadRequest, NotFound, UnknownStackitError],
706
+ input: __S(40, __c10, 0) as any as S.Schema<ListACLsRequest>,
707
+ output: __S(42, __c10, 2) as any as S.Schema<ListACLsResponse>,
708
+ errors: [BadRequest, NotFound],
709
+ serviceErrors: StackitServiceErrors,
660
710
  protocol: StackitProtocol,
661
711
  retry: Retry.Retry,
662
712
  telemetry: TELEMETRY,
@@ -671,9 +721,10 @@ export const listApproleSecretIds: API.OperationMethod<
671
721
  ListApproleSecretIdsError,
672
722
  StackitOpContext
673
723
  > = /*@__PURE__*/ API.make(() => ({
674
- input: __S(40, __c10, 0) as any as S.Schema<ListApproleSecretIdsRequest>,
675
- output: __S(42, __c10, 2) as any as S.Schema<ApproleSecretList>,
676
- errors: [BadRequest, NotFound, UnknownStackitError],
724
+ input: __S(44, __c11, 0) as any as S.Schema<ListApproleSecretIdsRequest>,
725
+ output: __S(46, __c11, 2) as any as S.Schema<ApproleSecretList>,
726
+ errors: [BadRequest, NotFound],
727
+ serviceErrors: StackitServiceErrors,
677
728
  protocol: StackitProtocol,
678
729
  retry: Retry.Retry,
679
730
  telemetry: TELEMETRY,
@@ -688,9 +739,10 @@ export const listInstances: API.OperationMethod<
688
739
  ListInstancesError,
689
740
  StackitOpContext
690
741
  > = /*@__PURE__*/ API.make(() => ({
691
- input: __S(44, __c11, 0) as any as S.Schema<ListInstancesRequest>,
692
- output: __S(46, __c11, 2) as any as S.Schema<ListInstancesResponse>,
693
- errors: [BadRequest, UnknownStackitError],
742
+ input: __S(48, __c12, 0) as any as S.Schema<ListInstancesRequest>,
743
+ output: __S(50, __c12, 2) as any as S.Schema<ListInstancesResponse>,
744
+ errors: [BadRequest],
745
+ serviceErrors: StackitServiceErrors,
694
746
  protocol: StackitProtocol,
695
747
  retry: Retry.Retry,
696
748
  telemetry: TELEMETRY,
@@ -705,9 +757,10 @@ export const listUsers: API.OperationMethod<
705
757
  ListUsersError,
706
758
  StackitOpContext
707
759
  > = /*@__PURE__*/ API.make(() => ({
708
- input: __S(48, __c12, 0) as any as S.Schema<ListUsersRequest>,
709
- output: __S(50, __c12, 2) as any as S.Schema<ListUsersResponse>,
710
- errors: [BadRequest, NotFound, UnknownStackitError],
760
+ input: __S(52, __c13, 0) as any as S.Schema<ListUsersRequest>,
761
+ output: __S(54, __c13, 2) as any as S.Schema<ListUsersResponse>,
762
+ errors: [BadRequest, NotFound],
763
+ serviceErrors: StackitServiceErrors,
711
764
  protocol: StackitProtocol,
712
765
  retry: Retry.Retry,
713
766
  telemetry: TELEMETRY,
@@ -722,9 +775,10 @@ export const updateACL: API.OperationMethod<
722
775
  UpdateACLError,
723
776
  StackitOpContext
724
777
  > = /*@__PURE__*/ API.make(() => ({
725
- input: __S(52, __c13, 0) as any as S.Schema<UpdateACLRequest>,
726
- output: __S(124, __c31, 0) as any as S.Schema<UpdateACLResponse>,
727
- errors: [BadRequest, NotFound, UnknownStackitError],
778
+ input: __S(56, __c14, 0) as any as S.Schema<UpdateACLRequest>,
779
+ output: __S(128, __c32, 0) as any as S.Schema<UpdateACLResponse>,
780
+ errors: [BadRequest, NotFound],
781
+ serviceErrors: StackitServiceErrors,
728
782
  protocol: StackitProtocol,
729
783
  retry: Retry.Retry,
730
784
  telemetry: TELEMETRY,
@@ -739,9 +793,10 @@ export const updateACLs: API.OperationMethod<
739
793
  UpdateACLsError,
740
794
  StackitOpContext
741
795
  > = /*@__PURE__*/ API.make(() => ({
742
- input: __S(58, __c14, 2) as any as S.Schema<UpdateACLsRequest>,
743
- output: __S(124, __c31, 0) as any as S.Schema<UpdateACLsResponse>,
744
- errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
796
+ input: __S(62, __c15, 2) as any as S.Schema<UpdateACLsRequest>,
797
+ output: __S(128, __c32, 0) as any as S.Schema<UpdateACLsResponse>,
798
+ errors: [BadRequest, NotFound, Conflict],
799
+ serviceErrors: StackitServiceErrors,
745
800
  protocol: StackitProtocol,
746
801
  retry: Retry.Retry,
747
802
  telemetry: TELEMETRY,
@@ -756,9 +811,10 @@ export const updateApprole: API.OperationMethod<
756
811
  UpdateApproleError,
757
812
  StackitOpContext
758
813
  > = /*@__PURE__*/ API.make(() => ({
759
- input: __S(60, __c15, 0) as any as S.Schema<UpdateApproleRequest>,
760
- output: __S(88, __c22, 0) as any as S.Schema<Approle>,
761
- errors: [BadRequest, NotFound, UnknownStackitError],
814
+ input: __S(64, __c16, 0) as any as S.Schema<UpdateApproleRequest>,
815
+ output: __S(92, __c23, 0) as any as S.Schema<Approle>,
816
+ errors: [BadRequest, NotFound],
817
+ serviceErrors: StackitServiceErrors,
762
818
  protocol: StackitProtocol,
763
819
  retry: Retry.Retry,
764
820
  telemetry: TELEMETRY,
@@ -773,9 +829,10 @@ export const updateApproleSecretId: API.OperationMethod<
773
829
  UpdateApproleSecretIdError,
774
830
  StackitOpContext
775
831
  > = /*@__PURE__*/ API.make(() => ({
776
- input: __S(64, __c16, 0) as any as S.Schema<UpdateApproleSecretIdRequest>,
777
- output: __S(96, __c24, 0) as any as S.Schema<ApproleSecret>,
778
- errors: [BadRequest, NotFound, UnknownStackitError],
832
+ input: __S(68, __c17, 0) as any as S.Schema<UpdateApproleSecretIdRequest>,
833
+ output: __S(100, __c25, 0) as any as S.Schema<ApproleSecret>,
834
+ errors: [BadRequest, NotFound],
835
+ serviceErrors: StackitServiceErrors,
779
836
  protocol: StackitProtocol,
780
837
  retry: Retry.Retry,
781
838
  telemetry: TELEMETRY,
@@ -790,9 +847,10 @@ export const updateInstance: API.OperationMethod<
790
847
  UpdateInstanceError,
791
848
  StackitOpContext
792
849
  > = /*@__PURE__*/ API.make(() => ({
793
- input: __S(68, __c17, 0) as any as S.Schema<UpdateInstanceRequest>,
794
- output: __S(124, __c31, 0) as any as S.Schema<UpdateInstanceResponse>,
795
- errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
850
+ input: __S(72, __c18, 0) as any as S.Schema<UpdateInstanceRequest>,
851
+ output: __S(128, __c32, 0) as any as S.Schema<UpdateInstanceResponse>,
852
+ errors: [BadRequest, NotFound, Conflict],
853
+ serviceErrors: StackitServiceErrors,
796
854
  protocol: StackitProtocol,
797
855
  retry: Retry.Retry,
798
856
  telemetry: TELEMETRY,
@@ -807,9 +865,10 @@ export const updateUser: API.OperationMethod<
807
865
  UpdateUserError,
808
866
  StackitOpContext
809
867
  > = /*@__PURE__*/ API.make(() => ({
810
- input: __S(72, __c18, 0) as any as S.Schema<UpdateUserRequest>,
811
- output: __S(124, __c31, 0) as any as S.Schema<UpdateUserResponse>,
812
- errors: [BadRequest, NotFound, UnknownStackitError],
868
+ input: __S(76, __c19, 0) as any as S.Schema<UpdateUserRequest>,
869
+ output: __S(128, __c32, 0) as any as S.Schema<UpdateUserResponse>,
870
+ errors: [BadRequest, NotFound],
871
+ serviceErrors: StackitServiceErrors,
813
872
  protocol: StackitProtocol,
814
873
  retry: Retry.Retry,
815
874
  telemetry: TELEMETRY,
@@ -818,6 +877,16 @@ export const updateUser: API.OperationMethod<
818
877
 
819
878
  // Schema builders: each runs one schema initializer, on that schema's first use.
820
879
  function __c0(j: number): any {
880
+ switch (j) {
881
+ case 0:
882
+ return S.suspend(() =>
883
+ S.Struct({
884
+ message: S.String,
885
+ }),
886
+ ).annotate({ identifier: "BadRequest2" });
887
+ }
888
+ }
889
+ function __c1(j: number): any {
821
890
  switch (j) {
822
891
  case 0:
823
892
  return S.suspend(() =>
@@ -837,7 +906,7 @@ function __c0(j: number): any {
837
906
  ).annotate({ identifier: "DeleteApproleSecretIdRequest" });
838
907
  }
839
908
  }
840
- function __c1(j: number): any {
909
+ function __c2(j: number): any {
841
910
  switch (j) {
842
911
  case 0:
843
912
  return S.suspend(() =>
@@ -855,7 +924,7 @@ function __c1(j: number): any {
855
924
  ).annotate({ identifier: "DeleteInstanceRequest" });
856
925
  }
857
926
  }
858
- function __c2(j: number): any {
927
+ function __c3(j: number): any {
859
928
  switch (j) {
860
929
  case 0:
861
930
  return S.suspend(() =>
@@ -874,7 +943,7 @@ function __c2(j: number): any {
874
943
  ).annotate({ identifier: "DeleteUserRequest" });
875
944
  }
876
945
  }
877
- function __c3(j: number): any {
946
+ function __c4(j: number): any {
878
947
  switch (j) {
879
948
  case 0:
880
949
  return S.suspend(() =>
@@ -893,7 +962,7 @@ function __c3(j: number): any {
893
962
  ).annotate({ identifier: "GetACLRequest" });
894
963
  }
895
964
  }
896
- function __c4(j: number): any {
965
+ function __c5(j: number): any {
897
966
  switch (j) {
898
967
  case 0:
899
968
  return S.suspend(() =>
@@ -912,7 +981,7 @@ function __c4(j: number): any {
912
981
  ).annotate({ identifier: "GetApproleRequest" });
913
982
  }
914
983
  }
915
- function __c5(j: number): any {
984
+ function __c6(j: number): any {
916
985
  switch (j) {
917
986
  case 0:
918
987
  return S.suspend(() =>
@@ -929,16 +998,16 @@ function __c5(j: number): any {
929
998
  ),
930
999
  ).annotate({ identifier: "GetApprolesRequest" });
931
1000
  case 1:
932
- return S.Array(__S(88, __c22, 0));
1001
+ return S.Array(__S(92, __c23, 0));
933
1002
  case 2:
934
1003
  return S.suspend(() =>
935
1004
  S.Struct({
936
- approles: __S(21, __c5, 1),
1005
+ approles: __S(25, __c6, 1),
937
1006
  }),
938
1007
  ).annotate({ identifier: "ApproleList" });
939
1008
  }
940
1009
  }
941
- function __c6(j: number): any {
1010
+ function __c7(j: number): any {
942
1011
  switch (j) {
943
1012
  case 0:
944
1013
  return S.suspend(() =>
@@ -958,7 +1027,7 @@ function __c6(j: number): any {
958
1027
  ).annotate({ identifier: "GetApproleSecretIdRequest" });
959
1028
  }
960
1029
  }
961
- function __c7(j: number): any {
1030
+ function __c8(j: number): any {
962
1031
  switch (j) {
963
1032
  case 0:
964
1033
  return S.suspend(() =>
@@ -976,7 +1045,7 @@ function __c7(j: number): any {
976
1045
  ).annotate({ identifier: "GetInstanceRequest" });
977
1046
  }
978
1047
  }
979
- function __c8(j: number): any {
1048
+ function __c9(j: number): any {
980
1049
  switch (j) {
981
1050
  case 0:
982
1051
  return S.suspend(() =>
@@ -995,7 +1064,7 @@ function __c8(j: number): any {
995
1064
  ).annotate({ identifier: "GetUserRequest" });
996
1065
  }
997
1066
  }
998
- function __c9(j: number): any {
1067
+ function __c10(j: number): any {
999
1068
  switch (j) {
1000
1069
  case 0:
1001
1070
  return S.suspend(() =>
@@ -1012,16 +1081,16 @@ function __c9(j: number): any {
1012
1081
  ),
1013
1082
  ).annotate({ identifier: "ListACLsRequest" });
1014
1083
  case 1:
1015
- return S.Array(__S(80, __c20, 0));
1084
+ return S.Array(__S(84, __c21, 0));
1016
1085
  case 2:
1017
1086
  return S.suspend(() =>
1018
1087
  S.Struct({
1019
- acls: __S(37, __c9, 1),
1088
+ acls: __S(41, __c10, 1),
1020
1089
  }),
1021
1090
  ).annotate({ identifier: "ListACLsResponse" });
1022
1091
  }
1023
1092
  }
1024
- function __c10(j: number): any {
1093
+ function __c11(j: number): any {
1025
1094
  switch (j) {
1026
1095
  case 0:
1027
1096
  return S.suspend(() =>
@@ -1039,16 +1108,16 @@ function __c10(j: number): any {
1039
1108
  ),
1040
1109
  ).annotate({ identifier: "ListApproleSecretIdsRequest" });
1041
1110
  case 1:
1042
- return S.Array(__S(96, __c24, 0));
1111
+ return S.Array(__S(100, __c25, 0));
1043
1112
  case 2:
1044
1113
  return S.suspend(() =>
1045
1114
  S.Struct({
1046
- secretIds: __S(41, __c10, 1),
1115
+ secretIds: __S(45, __c11, 1),
1047
1116
  }),
1048
1117
  ).annotate({ identifier: "ApproleSecretList" });
1049
1118
  }
1050
1119
  }
1051
- function __c11(j: number): any {
1120
+ function __c12(j: number): any {
1052
1121
  switch (j) {
1053
1122
  case 0:
1054
1123
  return S.suspend(() =>
@@ -1064,16 +1133,16 @@ function __c11(j: number): any {
1064
1133
  ),
1065
1134
  ).annotate({ identifier: "ListInstancesRequest" });
1066
1135
  case 1:
1067
- return S.Array(__S(104, __c26, 0));
1136
+ return S.Array(__S(108, __c27, 0));
1068
1137
  case 2:
1069
1138
  return S.suspend(() =>
1070
1139
  S.Struct({
1071
- instances: __S(45, __c11, 1),
1140
+ instances: __S(49, __c12, 1),
1072
1141
  }),
1073
1142
  ).annotate({ identifier: "ListInstancesResponse" });
1074
1143
  }
1075
1144
  }
1076
- function __c12(j: number): any {
1145
+ function __c13(j: number): any {
1077
1146
  switch (j) {
1078
1147
  case 0:
1079
1148
  return S.suspend(() =>
@@ -1090,16 +1159,16 @@ function __c12(j: number): any {
1090
1159
  ),
1091
1160
  ).annotate({ identifier: "ListUsersRequest" });
1092
1161
  case 1:
1093
- return S.Array(__S(116, __c29, 0));
1162
+ return S.Array(__S(120, __c30, 0));
1094
1163
  case 2:
1095
1164
  return S.suspend(() =>
1096
1165
  S.Struct({
1097
- users: __S(49, __c12, 1),
1166
+ users: __S(53, __c13, 1),
1098
1167
  }),
1099
1168
  ).annotate({ identifier: "ListUsersResponse" });
1100
1169
  }
1101
1170
  }
1102
- function __c13(j: number): any {
1171
+ function __c14(j: number): any {
1103
1172
  switch (j) {
1104
1173
  case 0:
1105
1174
  return S.suspend(() =>
@@ -1119,7 +1188,7 @@ function __c13(j: number): any {
1119
1188
  ).annotate({ identifier: "UpdateACLRequest" });
1120
1189
  }
1121
1190
  }
1122
- function __c14(j: number): any {
1191
+ function __c15(j: number): any {
1123
1192
  switch (j) {
1124
1193
  case 0:
1125
1194
  return S.suspend(() =>
@@ -1128,13 +1197,13 @@ function __c14(j: number): any {
1128
1197
  }),
1129
1198
  ).annotate({ identifier: "UpdateACLPayload" });
1130
1199
  case 1:
1131
- return S.Array(__S(56, __c14, 0));
1200
+ return S.Array(__S(60, __c15, 0));
1132
1201
  case 2:
1133
1202
  return S.suspend(() =>
1134
1203
  S.Struct({
1135
1204
  projectId: S.String.pipe(T.Label()),
1136
1205
  instanceId: S.String.pipe(T.Label()),
1137
- cidrs: S.optional(__S(57, __c14, 1)),
1206
+ cidrs: S.optional(__S(61, __c15, 1)),
1138
1207
  }).pipe(
1139
1208
  T.Http({
1140
1209
  method: "PUT",
@@ -1146,7 +1215,7 @@ function __c14(j: number): any {
1146
1215
  ).annotate({ identifier: "UpdateACLsRequest" });
1147
1216
  }
1148
1217
  }
1149
- function __c15(j: number): any {
1218
+ function __c16(j: number): any {
1150
1219
  switch (j) {
1151
1220
  case 0:
1152
1221
  return S.suspend(() =>
@@ -1169,7 +1238,7 @@ function __c15(j: number): any {
1169
1238
  ).annotate({ identifier: "UpdateApproleRequest" });
1170
1239
  }
1171
1240
  }
1172
- function __c16(j: number): any {
1241
+ function __c17(j: number): any {
1173
1242
  switch (j) {
1174
1243
  case 0:
1175
1244
  return S.suspend(() =>
@@ -1190,14 +1259,14 @@ function __c16(j: number): any {
1190
1259
  ).annotate({ identifier: "UpdateApproleSecretIdRequest" });
1191
1260
  }
1192
1261
  }
1193
- function __c17(j: number): any {
1262
+ function __c18(j: number): any {
1194
1263
  switch (j) {
1195
1264
  case 0:
1196
1265
  return S.suspend(() =>
1197
1266
  S.Struct({
1198
1267
  projectId: S.String.pipe(T.Label()),
1199
1268
  instanceId: S.String.pipe(T.Label()),
1200
- kmsKey: S.optional(__S(108, __c27, 0)),
1269
+ kmsKey: S.optional(__S(112, __c28, 0)),
1201
1270
  name: S.String,
1202
1271
  }).pipe(
1203
1272
  T.Http({
@@ -1210,7 +1279,7 @@ function __c17(j: number): any {
1210
1279
  ).annotate({ identifier: "UpdateInstanceRequest" });
1211
1280
  }
1212
1281
  }
1213
- function __c18(j: number): any {
1282
+ function __c19(j: number): any {
1214
1283
  switch (j) {
1215
1284
  case 0:
1216
1285
  return S.suspend(() =>
@@ -1231,7 +1300,7 @@ function __c18(j: number): any {
1231
1300
  ).annotate({ identifier: "UpdateUserRequest" });
1232
1301
  }
1233
1302
  }
1234
- function __c19(j: number): any {
1303
+ function __c20(j: number): any {
1235
1304
  switch (j) {
1236
1305
  case 0:
1237
1306
  return S.suspend(() =>
@@ -1250,7 +1319,7 @@ function __c19(j: number): any {
1250
1319
  ).annotate({ identifier: "CreateACLRequest" });
1251
1320
  }
1252
1321
  }
1253
- function __c20(j: number): any {
1322
+ function __c21(j: number): any {
1254
1323
  switch (j) {
1255
1324
  case 0:
1256
1325
  return S.suspend(() =>
@@ -1261,7 +1330,7 @@ function __c20(j: number): any {
1261
1330
  ).annotate({ identifier: "ACL" });
1262
1331
  }
1263
1332
  }
1264
- function __c21(j: number): any {
1333
+ function __c22(j: number): any {
1265
1334
  switch (j) {
1266
1335
  case 0:
1267
1336
  return S.suspend(() =>
@@ -1283,7 +1352,7 @@ function __c21(j: number): any {
1283
1352
  ).annotate({ identifier: "CreateApproleRequest" });
1284
1353
  }
1285
1354
  }
1286
- function __c22(j: number): any {
1355
+ function __c23(j: number): any {
1287
1356
  switch (j) {
1288
1357
  case 0:
1289
1358
  return S.suspend(() =>
@@ -1297,7 +1366,7 @@ function __c22(j: number): any {
1297
1366
  ).annotate({ identifier: "Approle" });
1298
1367
  }
1299
1368
  }
1300
- function __c23(j: number): any {
1369
+ function __c24(j: number): any {
1301
1370
  switch (j) {
1302
1371
  case 0:
1303
1372
  return S.suspend(() =>
@@ -1317,7 +1386,7 @@ function __c23(j: number): any {
1317
1386
  ).annotate({ identifier: "CreateApproleSecretIdRequest" });
1318
1387
  }
1319
1388
  }
1320
- function __c24(j: number): any {
1389
+ function __c25(j: number): any {
1321
1390
  switch (j) {
1322
1391
  case 0:
1323
1392
  return S.suspend(() =>
@@ -1331,13 +1400,13 @@ function __c24(j: number): any {
1331
1400
  ).annotate({ identifier: "ApproleSecret" });
1332
1401
  }
1333
1402
  }
1334
- function __c25(j: number): any {
1403
+ function __c26(j: number): any {
1335
1404
  switch (j) {
1336
1405
  case 0:
1337
1406
  return S.suspend(() =>
1338
1407
  S.Struct({
1339
1408
  projectId: S.String.pipe(T.Label()),
1340
- kmsKey: S.optional(__S(108, __c27, 0)),
1409
+ kmsKey: S.optional(__S(112, __c28, 0)),
1341
1410
  name: S.String,
1342
1411
  }).pipe(
1343
1412
  T.Http({
@@ -1350,7 +1419,7 @@ function __c25(j: number): any {
1350
1419
  ).annotate({ identifier: "CreateInstanceRequest" });
1351
1420
  }
1352
1421
  }
1353
- function __c26(j: number): any {
1422
+ function __c27(j: number): any {
1354
1423
  switch (j) {
1355
1424
  case 0:
1356
1425
  return S.suspend(() =>
@@ -1359,7 +1428,7 @@ function __c26(j: number): any {
1359
1428
  creationFinishedDate: S.optional(S.String),
1360
1429
  creationStartDate: S.String,
1361
1430
  id: S.String,
1362
- kmsKey: S.optional(__S(108, __c27, 0)),
1431
+ kmsKey: S.optional(__S(112, __c28, 0)),
1363
1432
  name: S.String,
1364
1433
  secretCount: S.Number,
1365
1434
  secretsEngine: S.String,
@@ -1370,7 +1439,7 @@ function __c26(j: number): any {
1370
1439
  ).annotate({ identifier: "Instance" });
1371
1440
  }
1372
1441
  }
1373
- function __c27(j: number): any {
1442
+ function __c28(j: number): any {
1374
1443
  switch (j) {
1375
1444
  case 0:
1376
1445
  return S.suspend(() =>
@@ -1383,7 +1452,7 @@ function __c27(j: number): any {
1383
1452
  ).annotate({ identifier: "KmsKeyPayload" });
1384
1453
  }
1385
1454
  }
1386
- function __c28(j: number): any {
1455
+ function __c29(j: number): any {
1387
1456
  switch (j) {
1388
1457
  case 0:
1389
1458
  return S.suspend(() =>
@@ -1403,7 +1472,7 @@ function __c28(j: number): any {
1403
1472
  ).annotate({ identifier: "CreateUserRequest" });
1404
1473
  }
1405
1474
  }
1406
- function __c29(j: number): any {
1475
+ function __c30(j: number): any {
1407
1476
  switch (j) {
1408
1477
  case 0:
1409
1478
  return S.suspend(() =>
@@ -1417,7 +1486,7 @@ function __c29(j: number): any {
1417
1486
  ).annotate({ identifier: "User" });
1418
1487
  }
1419
1488
  }
1420
- function __c30(j: number): any {
1489
+ function __c31(j: number): any {
1421
1490
  switch (j) {
1422
1491
  case 0:
1423
1492
  return S.suspend(() =>
@@ -1436,13 +1505,13 @@ function __c30(j: number): any {
1436
1505
  ).annotate({ identifier: "DeleteACLRequest" });
1437
1506
  }
1438
1507
  }
1439
- function __c31(j: number): any {
1508
+ function __c32(j: number): any {
1440
1509
  switch (j) {
1441
1510
  case 0:
1442
1511
  return S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteACLResponse" });
1443
1512
  }
1444
1513
  }
1445
- function __c32(j: number): any {
1514
+ function __c33(j: number): any {
1446
1515
  switch (j) {
1447
1516
  case 0:
1448
1517
  return S.suspend(() =>