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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (369) hide show
  1. package/README.md +13 -2
  2. package/lib/.lazy.json +1 -1
  3. package/lib/_bundle/sdk.js +1 -1
  4. package/lib/_bundle/sdk.js.map +1 -1
  5. package/lib/credentials.d.ts +17 -3
  6. package/lib/credentials.d.ts.map +1 -1
  7. package/lib/credentials.js +1 -1
  8. package/lib/errors.d.ts +8 -0
  9. package/lib/errors.d.ts.map +1 -1
  10. package/lib/errors.js +1 -1
  11. package/lib/index.d.ts +9 -6
  12. package/lib/index.d.ts.map +1 -1
  13. package/lib/index.js +0 -1
  14. package/lib/pagination.d.ts.map +1 -1
  15. package/lib/protocol.d.ts +33 -12
  16. package/lib/protocol.d.ts.map +1 -1
  17. package/lib/retry.d.ts.map +1 -1
  18. package/lib/services/alb.d.ts +8 -0
  19. package/lib/services/alb.d.ts.map +1 -1
  20. package/lib/services/alb.js +26 -26
  21. package/lib/services/alb.js.map +1 -1
  22. package/lib/services/alb_waf.d.ts +8 -0
  23. package/lib/services/alb_waf.d.ts.map +1 -1
  24. package/lib/services/alb_waf.js +31 -31
  25. package/lib/services/alb_waf.js.map +1 -1
  26. package/lib/services/authorization.d.ts +13 -0
  27. package/lib/services/authorization.d.ts.map +1 -1
  28. package/lib/services/authorization.js +1 -1
  29. package/lib/services/authorization.js.map +1 -1
  30. package/lib/services/automation.d.ts +23 -0
  31. package/lib/services/automation.d.ts.map +1 -1
  32. package/lib/services/automation.js +23 -22
  33. package/lib/services/automation.js.map +1 -1
  34. package/lib/services/cdn.d.ts +39 -1
  35. package/lib/services/cdn.d.ts.map +1 -1
  36. package/lib/services/cdn.js +31 -30
  37. package/lib/services/cdn.js.map +1 -1
  38. package/lib/services/certificates.d.ts +6 -0
  39. package/lib/services/certificates.d.ts.map +1 -1
  40. package/lib/services/certificates.js +1 -1
  41. package/lib/services/certificates.js.map +1 -1
  42. package/lib/services/cost.d.ts +19 -0
  43. package/lib/services/cost.d.ts.map +1 -1
  44. package/lib/services/cost.js +1 -1
  45. package/lib/services/cost.js.map +1 -1
  46. package/lib/services/dns.d.ts +16 -0
  47. package/lib/services/dns.d.ts.map +1 -1
  48. package/lib/services/dns.js +40 -40
  49. package/lib/services/dns.js.map +1 -1
  50. package/lib/services/iaas.d.ts +17 -0
  51. package/lib/services/iaas.d.ts.map +1 -1
  52. package/lib/services/iaas.js +181 -180
  53. package/lib/services/iaas.js.map +1 -1
  54. package/lib/services/identity.d.ts +19 -0
  55. package/lib/services/identity.d.ts.map +1 -1
  56. package/lib/services/identity.js +1 -1
  57. package/lib/services/identity.js.map +1 -1
  58. package/lib/services/index.d.ts +0 -10
  59. package/lib/services/index.d.ts.map +1 -1
  60. package/lib/services/index.js +0 -10
  61. package/lib/services/kms.d.ts +16 -0
  62. package/lib/services/kms.d.ts.map +1 -1
  63. package/lib/services/kms.js +41 -40
  64. package/lib/services/kms.js.map +1 -1
  65. package/lib/services/load_balancer.d.ts +8 -0
  66. package/lib/services/load_balancer.d.ts.map +1 -1
  67. package/lib/services/load_balancer.js +27 -27
  68. package/lib/services/load_balancer.js.map +1 -1
  69. package/lib/services/logme.d.ts +14 -1
  70. package/lib/services/logme.d.ts.map +1 -1
  71. package/lib/services/logme.js +36 -35
  72. package/lib/services/logme.js.map +1 -1
  73. package/lib/services/logs.d.ts +6 -0
  74. package/lib/services/logs.d.ts.map +1 -1
  75. package/lib/services/logs.js +34 -34
  76. package/lib/services/logs.js.map +1 -1
  77. package/lib/services/mariadb.d.ts +14 -1
  78. package/lib/services/mariadb.d.ts.map +1 -1
  79. package/lib/services/mariadb.js +37 -36
  80. package/lib/services/mariadb.js.map +1 -1
  81. package/lib/services/model_experiments.d.ts +20 -0
  82. package/lib/services/model_experiments.d.ts.map +1 -1
  83. package/lib/services/model_experiments.js +1 -1
  84. package/lib/services/model_experiments.js.map +1 -1
  85. package/lib/services/model_serving.d.ts +13 -0
  86. package/lib/services/model_serving.d.ts.map +1 -1
  87. package/lib/services/model_serving.js +1 -1
  88. package/lib/services/model_serving.js.map +1 -1
  89. package/lib/services/mongodb_flex.d.ts +19 -0
  90. package/lib/services/mongodb_flex.d.ts.map +1 -1
  91. package/lib/services/mongodb_flex.js +42 -41
  92. package/lib/services/mongodb_flex.js.map +1 -1
  93. package/lib/services/object_storage.d.ts +34 -0
  94. package/lib/services/object_storage.d.ts.map +1 -1
  95. package/lib/services/object_storage.js +38 -37
  96. package/lib/services/object_storage.js.map +1 -1
  97. package/lib/services/observability.d.ts +34 -8
  98. package/lib/services/observability.d.ts.map +1 -1
  99. package/lib/services/observability.js +159 -158
  100. package/lib/services/observability.js.map +1 -1
  101. package/lib/services/opensearch.d.ts +14 -1
  102. package/lib/services/opensearch.d.ts.map +1 -1
  103. package/lib/services/opensearch.js +37 -36
  104. package/lib/services/opensearch.js.map +1 -1
  105. package/lib/services/pim.d.ts +22 -0
  106. package/lib/services/pim.d.ts.map +1 -1
  107. package/lib/services/pim.js +31 -30
  108. package/lib/services/pim.js.map +1 -1
  109. package/lib/services/postgres_flex.d.ts +37 -0
  110. package/lib/services/postgres_flex.d.ts.map +1 -1
  111. package/lib/services/postgres_flex.js +48 -47
  112. package/lib/services/postgres_flex.js.map +1 -1
  113. package/lib/services/rabbitmq.d.ts +14 -1
  114. package/lib/services/rabbitmq.d.ts.map +1 -1
  115. package/lib/services/rabbitmq.js +38 -37
  116. package/lib/services/rabbitmq.js.map +1 -1
  117. package/lib/services/registry.d.ts +37 -0
  118. package/lib/services/registry.d.ts.map +1 -1
  119. package/lib/services/registry.js +1 -1
  120. package/lib/services/registry.js.map +1 -1
  121. package/lib/services/resource_manager.d.ts +24 -0
  122. package/lib/services/resource_manager.d.ts.map +1 -1
  123. package/lib/services/resource_manager.js +36 -35
  124. package/lib/services/resource_manager.js.map +1 -1
  125. package/lib/services/run_command.d.ts +12 -0
  126. package/lib/services/run_command.d.ts.map +1 -1
  127. package/lib/services/run_command.js +1 -1
  128. package/lib/services/run_command.js.map +1 -1
  129. package/lib/services/scf.d.ts +13 -0
  130. package/lib/services/scf.d.ts.map +1 -1
  131. package/lib/services/scf.js +40 -39
  132. package/lib/services/scf.js.map +1 -1
  133. package/lib/services/secrets_manager.d.ts +21 -0
  134. package/lib/services/secrets_manager.d.ts.map +1 -1
  135. package/lib/services/secrets_manager.js +42 -41
  136. package/lib/services/secrets_manager.js.map +1 -1
  137. package/lib/services/server_backup.d.ts +6 -0
  138. package/lib/services/server_backup.d.ts.map +1 -1
  139. package/lib/services/server_backup.js +28 -28
  140. package/lib/services/server_backup.js.map +1 -1
  141. package/lib/services/server_update.d.ts +6 -0
  142. package/lib/services/server_update.d.ts.map +1 -1
  143. package/lib/services/server_update.js +1 -1
  144. package/lib/services/server_update.js.map +1 -1
  145. package/lib/services/service_account.d.ts +28 -0
  146. package/lib/services/service_account.d.ts.map +1 -1
  147. package/lib/services/service_account.js +30 -29
  148. package/lib/services/service_account.js.map +1 -1
  149. package/lib/services/service_enablement.d.ts +14 -0
  150. package/lib/services/service_enablement.d.ts.map +1 -1
  151. package/lib/services/service_enablement.js +1 -1
  152. package/lib/services/service_enablement.js.map +1 -1
  153. package/lib/services/sfs.d.ts +33 -0
  154. package/lib/services/sfs.d.ts.map +1 -1
  155. package/lib/services/sfs.js +46 -46
  156. package/lib/services/sfs.js.map +1 -1
  157. package/lib/services/ske.d.ts +8 -3
  158. package/lib/services/ske.d.ts.map +1 -1
  159. package/lib/services/ske.js +25 -25
  160. package/lib/services/ske.js.map +1 -1
  161. package/lib/services/sqlserverflex.d.ts +34 -0
  162. package/lib/services/sqlserverflex.d.ts.map +1 -1
  163. package/lib/services/sqlserverflex.js +46 -45
  164. package/lib/services/sqlserverflex.js.map +1 -1
  165. package/lib/services/stackit_marketplace.d.ts +26 -1
  166. package/lib/services/stackit_marketplace.d.ts.map +1 -1
  167. package/lib/services/stackit_marketplace.js +26 -25
  168. package/lib/services/stackit_marketplace.js.map +1 -1
  169. package/lib/services/telemetry_link.d.ts +12 -0
  170. package/lib/services/telemetry_link.d.ts.map +1 -1
  171. package/lib/services/telemetry_link.js +35 -34
  172. package/lib/services/telemetry_link.js.map +1 -1
  173. package/lib/services/telemetry_router.d.ts +49 -3
  174. package/lib/services/telemetry_router.d.ts.map +1 -1
  175. package/lib/services/telemetry_router.js +33 -31
  176. package/lib/services/telemetry_router.js.map +1 -1
  177. package/lib/services/ufw.d.ts +15 -0
  178. package/lib/services/ufw.d.ts.map +1 -1
  179. package/lib/services/ufw.js +1 -1
  180. package/lib/services/ufw.js.map +1 -1
  181. package/lib/services/valkey.d.ts +14 -1
  182. package/lib/services/valkey.d.ts.map +1 -1
  183. package/lib/services/valkey.js +37 -36
  184. package/lib/services/valkey.js.map +1 -1
  185. package/lib/services/vpn.d.ts +43 -1
  186. package/lib/services/vpn.d.ts.map +1 -1
  187. package/lib/services/vpn.js +43 -42
  188. package/lib/services/vpn.js.map +1 -1
  189. package/lib/services.lazy/alb.js +1 -1
  190. package/lib/services.lazy/alb_waf.js +1 -1
  191. package/lib/services.lazy/automation.js +1 -1
  192. package/lib/services.lazy/cdn.js +1 -1
  193. package/lib/services.lazy/dns.js +1 -1
  194. package/lib/services.lazy/iaas.js +1 -1
  195. package/lib/services.lazy/index.js +2 -2
  196. package/lib/services.lazy/kms.js +1 -1
  197. package/lib/services.lazy/load_balancer.js +1 -1
  198. package/lib/services.lazy/logme.js +1 -1
  199. package/lib/services.lazy/logs.js +1 -1
  200. package/lib/services.lazy/mariadb.js +1 -1
  201. package/lib/services.lazy/mongodb_flex.js +1 -1
  202. package/lib/services.lazy/object_storage.js +1 -1
  203. package/lib/services.lazy/observability.js +1 -1
  204. package/lib/services.lazy/opensearch.js +1 -1
  205. package/lib/services.lazy/pim.js +1 -1
  206. package/lib/services.lazy/postgres_flex.js +1 -1
  207. package/lib/services.lazy/rabbitmq.js +1 -1
  208. package/lib/services.lazy/resource_manager.js +1 -1
  209. package/lib/services.lazy/scf.js +1 -1
  210. package/lib/services.lazy/secrets_manager.js +1 -1
  211. package/lib/services.lazy/server_backup.js +1 -1
  212. package/lib/services.lazy/service_account.js +1 -1
  213. package/lib/services.lazy/sfs.js +1 -1
  214. package/lib/services.lazy/ske.js +1 -1
  215. package/lib/services.lazy/sqlserverflex.js +1 -1
  216. package/lib/services.lazy/stackit_marketplace.js +1 -1
  217. package/lib/services.lazy/telemetry_link.js +1 -1
  218. package/lib/services.lazy/telemetry_router.js +1 -1
  219. package/lib/services.lazy/valkey.js +1 -1
  220. package/lib/services.lazy/vpn.js +1 -1
  221. package/lib/traits.d.ts.map +1 -1
  222. package/lib/{services → unstable-services}/dremio.d.ts +19 -4
  223. package/lib/unstable-services/dremio.d.ts.map +1 -0
  224. package/lib/unstable-services/dremio.js +2 -0
  225. package/lib/unstable-services/dremio.js.map +1 -0
  226. package/lib/{services → unstable-services}/edge.d.ts +13 -1
  227. package/lib/unstable-services/edge.d.ts.map +1 -0
  228. package/lib/unstable-services/edge.js +29 -0
  229. package/lib/unstable-services/edge.js.map +1 -0
  230. package/lib/unstable-services/functions.d.ts.map +1 -0
  231. package/lib/unstable-services/functions.js +28 -0
  232. package/lib/unstable-services/functions.js.map +1 -0
  233. package/lib/{services → unstable-services}/git.d.ts +42 -1
  234. package/lib/unstable-services/git.d.ts.map +1 -0
  235. package/lib/unstable-services/git.js +43 -0
  236. package/lib/unstable-services/git.js.map +1 -0
  237. package/lib/unstable-services/index.d.ts +11 -0
  238. package/lib/unstable-services/index.d.ts.map +1 -0
  239. package/lib/unstable-services/index.js +10 -0
  240. package/lib/{services → unstable-services}/intake.d.ts +8 -2
  241. package/lib/unstable-services/intake.d.ts.map +1 -0
  242. package/lib/unstable-services/intake.js +31 -0
  243. package/lib/unstable-services/intake.js.map +1 -0
  244. package/lib/{services → unstable-services}/lb_ip_lists.d.ts +9 -1
  245. package/lib/unstable-services/lb_ip_lists.d.ts.map +1 -0
  246. package/lib/unstable-services/lb_ip_lists.js +2 -0
  247. package/lib/unstable-services/lb_ip_lists.js.map +1 -0
  248. package/lib/{services → unstable-services}/mailout.d.ts +95 -126
  249. package/lib/unstable-services/mailout.d.ts.map +1 -0
  250. package/lib/unstable-services/mailout.js +30 -0
  251. package/lib/unstable-services/mailout.js.map +1 -0
  252. package/lib/{services → unstable-services}/pubsub.d.ts +10 -0
  253. package/lib/unstable-services/pubsub.d.ts.map +1 -0
  254. package/lib/unstable-services/pubsub.js +39 -0
  255. package/lib/unstable-services/pubsub.js.map +1 -0
  256. package/lib/{services → unstable-services}/sca.d.ts +73 -23
  257. package/lib/unstable-services/sca.d.ts.map +1 -0
  258. package/lib/unstable-services/sca.js +41 -0
  259. package/lib/unstable-services/sca.js.map +1 -0
  260. package/lib/{services → unstable-services}/workflows.d.ts +29 -1
  261. package/lib/unstable-services/workflows.d.ts.map +1 -0
  262. package/lib/unstable-services/workflows.js +30 -0
  263. package/lib/unstable-services/workflows.js.map +1 -0
  264. package/lib/unstable-services.lazy/dremio.js +1 -0
  265. package/lib/{services.lazy → unstable-services.lazy}/edge.js +1 -1
  266. package/lib/{services.lazy → unstable-services.lazy}/functions.js +1 -1
  267. package/lib/{services.lazy → unstable-services.lazy}/git.js +2 -2
  268. package/lib/unstable-services.lazy/index.js +3 -0
  269. package/lib/{services.lazy → unstable-services.lazy}/intake.js +1 -1
  270. package/lib/unstable-services.lazy/lb_ip_lists.js +1 -0
  271. package/lib/unstable-services.lazy/mailout.js +4 -0
  272. package/lib/{services.lazy → unstable-services.lazy}/pubsub.js +1 -1
  273. package/lib/{services.lazy → unstable-services.lazy}/sca.js +2 -2
  274. package/lib/{services.lazy → unstable-services.lazy}/workflows.js +1 -1
  275. package/package.json +12 -6
  276. package/src/credentials.ts +44 -7
  277. package/src/errors.ts +10 -1
  278. package/src/index.ts +9 -6
  279. package/src/protocol.ts +108 -127
  280. package/src/services/alb.ts +35 -14
  281. package/src/services/alb_waf.ts +41 -17
  282. package/src/services/authorization.ts +121 -75
  283. package/src/services/automation.ts +151 -76
  284. package/src/services/cdn.ts +284 -187
  285. package/src/services/certificates.ts +17 -6
  286. package/src/services/cost.ts +75 -17
  287. package/src/services/dns.ts +219 -149
  288. package/src/services/iaas.ts +888 -708
  289. package/src/services/identity.ts +109 -51
  290. package/src/services/index.ts +0 -10
  291. package/src/services/kms.ts +185 -118
  292. package/src/services/load_balancer.ts +35 -14
  293. package/src/services/logme.ts +181 -123
  294. package/src/services/logs.ts +43 -19
  295. package/src/services/mariadb.ts +179 -121
  296. package/src/services/model_experiments.ts +122 -64
  297. package/src/services/model_serving.ts +102 -58
  298. package/src/services/mongodb_flex.ts +196 -131
  299. package/src/services/object_storage.ts +226 -106
  300. package/src/services/observability.ts +880 -709
  301. package/src/services/opensearch.ts +182 -124
  302. package/src/services/pim.ts +166 -104
  303. package/src/services/postgres_flex.ts +291 -170
  304. package/src/services/rabbitmq.ts +188 -130
  305. package/src/services/registry.ts +146 -40
  306. package/src/services/resource_manager.ts +180 -110
  307. package/src/services/run_command.ts +73 -37
  308. package/src/services/scf.ts +178 -119
  309. package/src/services/secrets_manager.ts +198 -129
  310. package/src/services/server_backup.ts +39 -17
  311. package/src/services/server_update.ts +31 -13
  312. package/src/services/service_account.ts +180 -85
  313. package/src/services/service_enablement.ts +64 -28
  314. package/src/services/sfs.ts +265 -163
  315. package/src/services/ske.ts +39 -20
  316. package/src/services/sqlserverflex.ts +290 -175
  317. package/src/services/stackit_marketplace.ts +138 -70
  318. package/src/services/telemetry_link.ts +151 -100
  319. package/src/services/telemetry_router.ts +241 -109
  320. package/src/services/ufw.ts +97 -50
  321. package/src/services/valkey.ts +179 -121
  322. package/src/services/vpn.ts +305 -194
  323. package/src/{services → unstable-services}/dremio.ts +113 -74
  324. package/src/{services → unstable-services}/edge.ts +113 -72
  325. package/src/{services → unstable-services}/functions.ts +31 -16
  326. package/src/{services → unstable-services}/git.ts +285 -133
  327. package/src/unstable-services/index.ts +11 -0
  328. package/src/{services → unstable-services}/intake.ts +41 -20
  329. package/src/{services → unstable-services}/lb_ip_lists.ts +20 -7
  330. package/src/{services → unstable-services}/mailout.ts +290 -381
  331. package/src/{services → unstable-services}/pubsub.ts +47 -19
  332. package/src/{services → unstable-services}/sca.ts +349 -172
  333. package/src/{services → unstable-services}/workflows.ts +149 -76
  334. package/lib/index.lazy.js +0 -7
  335. package/lib/index.lazy.js.map +0 -1
  336. package/lib/services/dremio.d.ts.map +0 -1
  337. package/lib/services/dremio.js +0 -2
  338. package/lib/services/dremio.js.map +0 -1
  339. package/lib/services/edge.d.ts.map +0 -1
  340. package/lib/services/edge.js +0 -29
  341. package/lib/services/edge.js.map +0 -1
  342. package/lib/services/functions.d.ts.map +0 -1
  343. package/lib/services/functions.js +0 -28
  344. package/lib/services/functions.js.map +0 -1
  345. package/lib/services/git.d.ts.map +0 -1
  346. package/lib/services/git.js +0 -41
  347. package/lib/services/git.js.map +0 -1
  348. package/lib/services/intake.d.ts.map +0 -1
  349. package/lib/services/intake.js +0 -31
  350. package/lib/services/intake.js.map +0 -1
  351. package/lib/services/lb_ip_lists.d.ts.map +0 -1
  352. package/lib/services/lb_ip_lists.js +0 -2
  353. package/lib/services/lb_ip_lists.js.map +0 -1
  354. package/lib/services/mailout.d.ts.map +0 -1
  355. package/lib/services/mailout.js +0 -33
  356. package/lib/services/mailout.js.map +0 -1
  357. package/lib/services/pubsub.d.ts.map +0 -1
  358. package/lib/services/pubsub.js +0 -39
  359. package/lib/services/pubsub.js.map +0 -1
  360. package/lib/services/sca.d.ts.map +0 -1
  361. package/lib/services/sca.js +0 -35
  362. package/lib/services/sca.js.map +0 -1
  363. package/lib/services/workflows.d.ts.map +0 -1
  364. package/lib/services/workflows.js +0 -29
  365. package/lib/services/workflows.js.map +0 -1
  366. package/lib/services.lazy/dremio.js +0 -1
  367. package/lib/services.lazy/lb_ip_lists.js +0 -1
  368. package/lib/services.lazy/mailout.js +0 -4
  369. /package/lib/{services → unstable-services}/functions.d.ts +0 -0
@@ -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,36 +31,68 @@ 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?: Error | string;
43
+ }
37
44
 
38
45
  export class Forbidden
39
46
  extends /*@__PURE__*/ T.applyErrorMatchers(
40
47
  /*@__PURE__*/ S.TaggedError<Forbidden>()("Forbidden", {
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.withAuthError),
44
55
  [{ status: 403 }],
45
- ) {}
56
+ )
57
+ {
58
+ declare readonly body?: Error | 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?: Error | string;
75
+ }
55
76
 
56
77
  export class UnprocessableEntity
57
78
  extends /*@__PURE__*/ T.applyErrorMatchers(
58
79
  /*@__PURE__*/ S.TaggedError<UnprocessableEntity>()("UnprocessableEntity", {
59
80
  code: S.Number,
60
81
  message: S.String,
82
+ body: /*@__PURE__*/ S.optional(
83
+ /*@__PURE__*/ S.Union([
84
+ /*@__PURE__*/ S.suspend(() => __S(202, __c25, 2)),
85
+ /*@__PURE__*/ S.suspend(() => __S(0, __c0, 0)),
86
+ S.String,
87
+ ]),
88
+ ),
89
+ headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
61
90
  }).pipe(C.withBadRequestError),
62
91
  [{ status: 422 }],
63
- ) {}
92
+ )
93
+ {
94
+ declare readonly body?: ValidationError | Error | string;
95
+ }
64
96
 
65
97
  export type CreateDatabaseRequestRegion = "eu01";
66
98
  export interface CreateDatabaseRequest {
@@ -795,6 +827,28 @@ export interface UpdateInstanceProtectionRequest {
795
827
  export interface UpdateInstanceProtectionResponse {
796
828
  isDeletable: boolean;
797
829
  }
830
+ export interface Error {
831
+ /** The http error code of the error. */
832
+ code: number;
833
+ /** More detailed information about the error. */
834
+ message: string;
835
+ /** The trace id of the request. */
836
+ traceId: string;
837
+ /** Describes in which state the api was when the error happened. */
838
+ type: string;
839
+ }
840
+ export interface ValidationErrorValidationItem {
841
+ field: string;
842
+ message: string;
843
+ }
844
+ /** errors for all fields where the error happened */
845
+ export type ValidationErrorValidationList = Array<ValidationErrorValidationItem>;
846
+ export interface ValidationError {
847
+ /** the http error should be always 422 for validationError */
848
+ code: number;
849
+ /** errors for all fields where the error happened */
850
+ validation: ValidationErrorValidationList;
851
+ }
798
852
  export type CreateDatabaseError =
799
853
  | BadRequest
800
854
  | Forbidden
@@ -808,9 +862,10 @@ export const createDatabase: API.OperationMethod<
808
862
  CreateDatabaseError,
809
863
  StackitOpContext
810
864
  > = /*@__PURE__*/ API.make(() => ({
811
- input: __S(208, __c26, 0) as any as S.Schema<CreateDatabaseRequest>,
812
- output: __S(209, __c26, 1) as any as S.Schema<CreateDatabaseResponse>,
813
- errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
865
+ input: __S(224, __c28, 0) as any as S.Schema<CreateDatabaseRequest>,
866
+ output: __S(225, __c28, 1) as any as S.Schema<CreateDatabaseResponse>,
867
+ errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity],
868
+ serviceErrors: StackitServiceErrors,
814
869
  protocol: StackitProtocol,
815
870
  retry: Retry.Retry,
816
871
  telemetry: TELEMETRY,
@@ -830,9 +885,10 @@ export const createInstance: API.OperationMethod<
830
885
  CreateInstanceError,
831
886
  StackitOpContext
832
887
  > = /*@__PURE__*/ API.make(() => ({
833
- input: __S(218, __c27, 2) as any as S.Schema<CreateInstanceRequest>,
834
- output: __S(219, __c27, 3) as any as S.Schema<CreateInstanceResponse>,
835
- errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
888
+ input: __S(234, __c29, 2) as any as S.Schema<CreateInstanceRequest>,
889
+ output: __S(235, __c29, 3) as any as S.Schema<CreateInstanceResponse>,
890
+ errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity],
891
+ serviceErrors: StackitServiceErrors,
836
892
  protocol: StackitProtocol,
837
893
  retry: Retry.Retry,
838
894
  telemetry: TELEMETRY,
@@ -852,9 +908,10 @@ export const createUser: API.OperationMethod<
852
908
  CreateUserError,
853
909
  StackitOpContext
854
910
  > = /*@__PURE__*/ API.make(() => ({
855
- input: __S(248, __c31, 0) as any as S.Schema<CreateUserRequest>,
856
- output: __S(249, __c31, 1) as any as S.Schema<CreateUserResponse>,
857
- errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
911
+ input: __S(264, __c33, 0) as any as S.Schema<CreateUserRequest>,
912
+ output: __S(265, __c33, 1) as any as S.Schema<CreateUserResponse>,
913
+ errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity],
914
+ serviceErrors: StackitServiceErrors,
858
915
  protocol: StackitProtocol,
859
916
  retry: Retry.Retry,
860
917
  telemetry: TELEMETRY,
@@ -869,9 +926,10 @@ export const deleteDatabase: API.OperationMethod<
869
926
  DeleteDatabaseError,
870
927
  StackitOpContext
871
928
  > = /*@__PURE__*/ API.make(() => ({
872
- input: __S(256, __c32, 0) as any as S.Schema<DeleteDatabaseRequest>,
873
- output: __S(264, __c33, 0) as any as S.Schema<DeleteDatabaseResponse>,
874
- errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
929
+ input: __S(272, __c34, 0) as any as S.Schema<DeleteDatabaseRequest>,
930
+ output: __S(280, __c35, 0) as any as S.Schema<DeleteDatabaseResponse>,
931
+ errors: [BadRequest, Forbidden, NotFound],
932
+ serviceErrors: StackitServiceErrors,
875
933
  protocol: StackitProtocol,
876
934
  retry: Retry.Retry,
877
935
  telemetry: TELEMETRY,
@@ -886,9 +944,10 @@ export const deleteInstance: API.OperationMethod<
886
944
  DeleteInstanceError,
887
945
  StackitOpContext
888
946
  > = /*@__PURE__*/ API.make(() => ({
889
- input: __S(272, __c34, 0) as any as S.Schema<DeleteInstanceRequest>,
890
- output: __S(264, __c33, 0) as any as S.Schema<DeleteInstanceResponse>,
891
- errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
947
+ input: __S(288, __c36, 0) as any as S.Schema<DeleteInstanceRequest>,
948
+ output: __S(280, __c35, 0) as any as S.Schema<DeleteInstanceResponse>,
949
+ errors: [BadRequest, Forbidden, NotFound],
950
+ serviceErrors: StackitServiceErrors,
892
951
  protocol: StackitProtocol,
893
952
  retry: Retry.Retry,
894
953
  telemetry: TELEMETRY,
@@ -903,9 +962,10 @@ export const deleteUser: API.OperationMethod<
903
962
  DeleteUserError,
904
963
  StackitOpContext
905
964
  > = /*@__PURE__*/ API.make(() => ({
906
- input: __S(280, __c35, 0) as any as S.Schema<DeleteUserRequest>,
907
- output: __S(264, __c33, 0) as any as S.Schema<DeleteUserResponse>,
908
- errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
965
+ input: __S(296, __c37, 0) as any as S.Schema<DeleteUserRequest>,
966
+ output: __S(280, __c35, 0) as any as S.Schema<DeleteUserResponse>,
967
+ errors: [BadRequest, Forbidden, NotFound],
968
+ serviceErrors: StackitServiceErrors,
909
969
  protocol: StackitProtocol,
910
970
  retry: Retry.Retry,
911
971
  telemetry: TELEMETRY,
@@ -920,9 +980,10 @@ export const getBackup: API.OperationMethod<
920
980
  GetBackupError,
921
981
  StackitOpContext
922
982
  > = /*@__PURE__*/ API.make(() => ({
923
- input: __S(0, __c0, 0) as any as S.Schema<GetBackupRequest>,
924
- output: __S(8, __c1, 0) as any as S.Schema<GetBackupResponse>,
925
- errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
983
+ input: __S(8, __c1, 0) as any as S.Schema<GetBackupRequest>,
984
+ output: __S(16, __c2, 0) as any as S.Schema<GetBackupResponse>,
985
+ errors: [BadRequest, Forbidden, NotFound],
986
+ serviceErrors: StackitServiceErrors,
926
987
  protocol: StackitProtocol,
927
988
  retry: Retry.Retry,
928
989
  telemetry: TELEMETRY,
@@ -937,9 +998,10 @@ export const getDatabase: API.OperationMethod<
937
998
  GetDatabaseError,
938
999
  StackitOpContext
939
1000
  > = /*@__PURE__*/ API.make(() => ({
940
- input: __S(16, __c2, 0) as any as S.Schema<GetDatabaseRequest>,
941
- output: __S(17, __c2, 1) as any as S.Schema<GetDatabaseResponse>,
942
- errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
1001
+ input: __S(24, __c3, 0) as any as S.Schema<GetDatabaseRequest>,
1002
+ output: __S(25, __c3, 1) as any as S.Schema<GetDatabaseResponse>,
1003
+ errors: [BadRequest, Forbidden, NotFound],
1004
+ serviceErrors: StackitServiceErrors,
943
1005
  protocol: StackitProtocol,
944
1006
  retry: Retry.Retry,
945
1007
  telemetry: TELEMETRY,
@@ -954,9 +1016,10 @@ export const getInstance: API.OperationMethod<
954
1016
  GetInstanceError,
955
1017
  StackitOpContext
956
1018
  > = /*@__PURE__*/ API.make(() => ({
957
- input: __S(24, __c3, 0) as any as S.Schema<GetInstanceRequest>,
958
- output: __S(27, __c3, 3) as any as S.Schema<GetInstanceResponse>,
959
- errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
1019
+ input: __S(32, __c4, 0) as any as S.Schema<GetInstanceRequest>,
1020
+ output: __S(35, __c4, 3) as any as S.Schema<GetInstanceResponse>,
1021
+ errors: [BadRequest, Forbidden, NotFound],
1022
+ serviceErrors: StackitServiceErrors,
960
1023
  protocol: StackitProtocol,
961
1024
  retry: Retry.Retry,
962
1025
  telemetry: TELEMETRY,
@@ -971,9 +1034,10 @@ export const getUser: API.OperationMethod<
971
1034
  GetUserError,
972
1035
  StackitOpContext
973
1036
  > = /*@__PURE__*/ API.make(() => ({
974
- input: __S(32, __c4, 0) as any as S.Schema<GetUserRequest>,
975
- output: __S(33, __c4, 1) as any as S.Schema<GetUserResponse>,
976
- errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
1037
+ input: __S(40, __c5, 0) as any as S.Schema<GetUserRequest>,
1038
+ output: __S(41, __c5, 1) as any as S.Schema<GetUserResponse>,
1039
+ errors: [BadRequest, Forbidden, NotFound],
1040
+ serviceErrors: StackitServiceErrors,
977
1041
  protocol: StackitProtocol,
978
1042
  retry: Retry.Retry,
979
1043
  telemetry: TELEMETRY,
@@ -988,9 +1052,10 @@ export const listBackups: API.OperationMethod<
988
1052
  ListBackupsError,
989
1053
  StackitOpContext
990
1054
  > = /*@__PURE__*/ API.make(() => ({
991
- input: __S(40, __c5, 0) as any as S.Schema<ListBackupsRequest>,
992
- output: __S(44, __c5, 4) as any as S.Schema<ListBackupResponse>,
993
- errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
1055
+ input: __S(48, __c6, 0) as any as S.Schema<ListBackupsRequest>,
1056
+ output: __S(52, __c6, 4) as any as S.Schema<ListBackupResponse>,
1057
+ errors: [BadRequest, Forbidden, NotFound],
1058
+ serviceErrors: StackitServiceErrors,
994
1059
  protocol: StackitProtocol,
995
1060
  retry: Retry.Retry,
996
1061
  telemetry: TELEMETRY,
@@ -1005,9 +1070,10 @@ export const listCollations: API.OperationMethod<
1005
1070
  ListCollationsError,
1006
1071
  StackitOpContext
1007
1072
  > = /*@__PURE__*/ API.make(() => ({
1008
- input: __S(56, __c7, 0) as any as S.Schema<ListCollationsRequest>,
1009
- output: __S(59, __c7, 3) as any as S.Schema<ListCollationsResponse>,
1010
- errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
1073
+ input: __S(64, __c8, 0) as any as S.Schema<ListCollationsRequest>,
1074
+ output: __S(67, __c8, 3) as any as S.Schema<ListCollationsResponse>,
1075
+ errors: [BadRequest, Forbidden, NotFound],
1076
+ serviceErrors: StackitServiceErrors,
1011
1077
  protocol: StackitProtocol,
1012
1078
  retry: Retry.Retry,
1013
1079
  telemetry: TELEMETRY,
@@ -1022,9 +1088,10 @@ export const listCompatibilities: API.OperationMethod<
1022
1088
  ListCompatibilitiesError,
1023
1089
  StackitOpContext
1024
1090
  > = /*@__PURE__*/ API.make(() => ({
1025
- input: __S(64, __c8, 0) as any as S.Schema<ListCompatibilitiesRequest>,
1026
- output: __S(67, __c8, 3) as any as S.Schema<ListCompatibilityResponse>,
1027
- errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
1091
+ input: __S(72, __c9, 0) as any as S.Schema<ListCompatibilitiesRequest>,
1092
+ output: __S(75, __c9, 3) as any as S.Schema<ListCompatibilityResponse>,
1093
+ errors: [BadRequest, Forbidden, NotFound],
1094
+ serviceErrors: StackitServiceErrors,
1028
1095
  protocol: StackitProtocol,
1029
1096
  retry: Retry.Retry,
1030
1097
  telemetry: TELEMETRY,
@@ -1043,9 +1110,10 @@ export const listCurrentRunningRestoreJobs2: API.OperationMethod<
1043
1110
  ListCurrentRunningRestoreJobs2Error,
1044
1111
  StackitOpContext
1045
1112
  > = /*@__PURE__*/ API.make(() => ({
1046
- input: __S(72, __c9, 0) as any as S.Schema<ListCurrentRunningRestoreJobsRequest>,
1047
- output: __S(75, __c9, 3) as any as S.Schema<ListCurrentRunningRestoreJobs>,
1048
- errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
1113
+ input: __S(80, __c10, 0) as any as S.Schema<ListCurrentRunningRestoreJobsRequest>,
1114
+ output: __S(83, __c10, 3) as any as S.Schema<ListCurrentRunningRestoreJobs>,
1115
+ errors: [BadRequest, Forbidden, NotFound],
1116
+ serviceErrors: StackitServiceErrors,
1049
1117
  protocol: StackitProtocol,
1050
1118
  retry: Retry.Retry,
1051
1119
  telemetry: TELEMETRY,
@@ -1060,9 +1128,10 @@ export const listDatabases: API.OperationMethod<
1060
1128
  ListDatabasesError,
1061
1129
  StackitOpContext
1062
1130
  > = /*@__PURE__*/ API.make(() => ({
1063
- input: __S(80, __c10, 0) as any as S.Schema<ListDatabasesRequest>,
1064
- output: __S(83, __c10, 3) as any as S.Schema<ListDatabasesResponse>,
1065
- errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
1131
+ input: __S(88, __c11, 0) as any as S.Schema<ListDatabasesRequest>,
1132
+ output: __S(91, __c11, 3) as any as S.Schema<ListDatabasesResponse>,
1133
+ errors: [BadRequest, Forbidden, NotFound],
1134
+ serviceErrors: StackitServiceErrors,
1066
1135
  protocol: StackitProtocol,
1067
1136
  retry: Retry.Retry,
1068
1137
  telemetry: TELEMETRY,
@@ -1077,9 +1146,10 @@ export const listFlavors2: API.OperationMethod<
1077
1146
  ListFlavors2Error,
1078
1147
  StackitOpContext
1079
1148
  > = /*@__PURE__*/ API.make(() => ({
1080
- input: __S(88, __c11, 0) as any as S.Schema<ListFlavorsRequest>,
1081
- output: __S(91, __c11, 3) as any as S.Schema<ListFlavorsResponse>,
1082
- errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
1149
+ input: __S(96, __c12, 0) as any as S.Schema<ListFlavorsRequest>,
1150
+ output: __S(99, __c12, 3) as any as S.Schema<ListFlavorsResponse>,
1151
+ errors: [BadRequest, Forbidden, NotFound],
1152
+ serviceErrors: StackitServiceErrors,
1083
1153
  protocol: StackitProtocol,
1084
1154
  retry: Retry.Retry,
1085
1155
  telemetry: TELEMETRY,
@@ -1094,9 +1164,10 @@ export const listInstances: API.OperationMethod<
1094
1164
  ListInstancesError,
1095
1165
  StackitOpContext
1096
1166
  > = /*@__PURE__*/ API.make(() => ({
1097
- input: __S(104, __c13, 0) as any as S.Schema<ListInstancesRequest>,
1098
- output: __S(107, __c13, 3) as any as S.Schema<ListInstancesResponse>,
1099
- errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
1167
+ input: __S(112, __c14, 0) as any as S.Schema<ListInstancesRequest>,
1168
+ output: __S(115, __c14, 3) as any as S.Schema<ListInstancesResponse>,
1169
+ errors: [BadRequest, Forbidden, NotFound],
1170
+ serviceErrors: StackitServiceErrors,
1100
1171
  protocol: StackitProtocol,
1101
1172
  retry: Retry.Retry,
1102
1173
  telemetry: TELEMETRY,
@@ -1111,9 +1182,10 @@ export const listRoles: API.OperationMethod<
1111
1182
  ListRolesError,
1112
1183
  StackitOpContext
1113
1184
  > = /*@__PURE__*/ API.make(() => ({
1114
- input: __S(112, __c14, 0) as any as S.Schema<ListRolesRequest>,
1115
- output: __S(113, __c14, 1) as any as S.Schema<ListRolesResponse>,
1116
- errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
1185
+ input: __S(120, __c15, 0) as any as S.Schema<ListRolesRequest>,
1186
+ output: __S(121, __c15, 1) as any as S.Schema<ListRolesResponse>,
1187
+ errors: [BadRequest, Forbidden, NotFound],
1188
+ serviceErrors: StackitServiceErrors,
1117
1189
  protocol: StackitProtocol,
1118
1190
  retry: Retry.Retry,
1119
1191
  telemetry: TELEMETRY,
@@ -1128,9 +1200,10 @@ export const listStorages: API.OperationMethod<
1128
1200
  ListStoragesError,
1129
1201
  StackitOpContext
1130
1202
  > = /*@__PURE__*/ API.make(() => ({
1131
- input: __S(120, __c15, 0) as any as S.Schema<ListStoragesRequest>,
1132
- output: __S(122, __c15, 2) as any as S.Schema<ListStoragesResponse>,
1133
- errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
1203
+ input: __S(128, __c16, 0) as any as S.Schema<ListStoragesRequest>,
1204
+ output: __S(130, __c16, 2) as any as S.Schema<ListStoragesResponse>,
1205
+ errors: [BadRequest, Forbidden, NotFound],
1206
+ serviceErrors: StackitServiceErrors,
1134
1207
  protocol: StackitProtocol,
1135
1208
  retry: Retry.Retry,
1136
1209
  telemetry: TELEMETRY,
@@ -1145,9 +1218,10 @@ export const listUsers: API.OperationMethod<
1145
1218
  ListUsersError,
1146
1219
  StackitOpContext
1147
1220
  > = /*@__PURE__*/ API.make(() => ({
1148
- input: __S(128, __c16, 0) as any as S.Schema<ListUsersRequest>,
1149
- output: __S(131, __c16, 3) as any as S.Schema<ListUserResponse>,
1150
- errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
1221
+ input: __S(136, __c17, 0) as any as S.Schema<ListUsersRequest>,
1222
+ output: __S(139, __c17, 3) as any as S.Schema<ListUserResponse>,
1223
+ errors: [BadRequest, Forbidden, NotFound],
1224
+ serviceErrors: StackitServiceErrors,
1151
1225
  protocol: StackitProtocol,
1152
1226
  retry: Retry.Retry,
1153
1227
  telemetry: TELEMETRY,
@@ -1162,9 +1236,10 @@ export const listVersions: API.OperationMethod<
1162
1236
  ListVersionsError,
1163
1237
  StackitOpContext
1164
1238
  > = /*@__PURE__*/ API.make(() => ({
1165
- input: __S(136, __c17, 0) as any as S.Schema<ListVersionsRequest>,
1166
- output: __S(139, __c17, 3) as any as S.Schema<ListVersionsResponse>,
1167
- errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
1239
+ input: __S(144, __c18, 0) as any as S.Schema<ListVersionsRequest>,
1240
+ output: __S(147, __c18, 3) as any as S.Schema<ListVersionsResponse>,
1241
+ errors: [BadRequest, Forbidden, NotFound],
1242
+ serviceErrors: StackitServiceErrors,
1168
1243
  protocol: StackitProtocol,
1169
1244
  retry: Retry.Retry,
1170
1245
  telemetry: TELEMETRY,
@@ -1184,9 +1259,10 @@ export const partialUpdateInstance: API.OperationMethod<
1184
1259
  PartialUpdateInstanceError,
1185
1260
  StackitOpContext
1186
1261
  > = /*@__PURE__*/ API.make(() => ({
1187
- input: __S(145, __c18, 1) as any as S.Schema<PartialUpdateInstanceRequest>,
1188
- output: __S(264, __c33, 0) as any as S.Schema<PartialUpdateInstanceResponse>,
1189
- errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
1262
+ input: __S(153, __c19, 1) as any as S.Schema<PartialUpdateInstanceRequest>,
1263
+ output: __S(280, __c35, 0) as any as S.Schema<PartialUpdateInstanceResponse>,
1264
+ errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity],
1265
+ serviceErrors: StackitServiceErrors,
1190
1266
  protocol: StackitProtocol,
1191
1267
  retry: Retry.Retry,
1192
1268
  telemetry: TELEMETRY,
@@ -1206,9 +1282,10 @@ export const resetUser: API.OperationMethod<
1206
1282
  ResetUserError,
1207
1283
  StackitOpContext
1208
1284
  > = /*@__PURE__*/ API.make(() => ({
1209
- input: __S(160, __c20, 0) as any as S.Schema<ResetUserRequest>,
1210
- output: __S(161, __c20, 1) as any as S.Schema<ResetUserResponse>,
1211
- errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
1285
+ input: __S(168, __c21, 0) as any as S.Schema<ResetUserRequest>,
1286
+ output: __S(169, __c21, 1) as any as S.Schema<ResetUserResponse>,
1287
+ errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity],
1288
+ serviceErrors: StackitServiceErrors,
1212
1289
  protocol: StackitProtocol,
1213
1290
  retry: Retry.Retry,
1214
1291
  telemetry: TELEMETRY,
@@ -1223,9 +1300,10 @@ export const restoreDatabaseFromBackup: API.OperationMethod<
1223
1300
  RestoreDatabaseFromBackupError,
1224
1301
  StackitOpContext
1225
1302
  > = /*@__PURE__*/ API.make(() => ({
1226
- input: __S(168, __c21, 0) as any as S.Schema<RestoreDatabaseFromBackupRequest>,
1227
- output: __S(264, __c33, 0) as any as S.Schema<RestoreDatabaseFromBackupResponse>,
1228
- errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
1303
+ input: __S(176, __c22, 0) as any as S.Schema<RestoreDatabaseFromBackupRequest>,
1304
+ output: __S(280, __c35, 0) as any as S.Schema<RestoreDatabaseFromBackupResponse>,
1305
+ errors: [BadRequest, Forbidden, NotFound],
1306
+ serviceErrors: StackitServiceErrors,
1229
1307
  protocol: StackitProtocol,
1230
1308
  retry: Retry.Retry,
1231
1309
  telemetry: TELEMETRY,
@@ -1245,9 +1323,10 @@ export const triggerBackup: API.OperationMethod<
1245
1323
  TriggerBackupError,
1246
1324
  StackitOpContext
1247
1325
  > = /*@__PURE__*/ API.make(() => ({
1248
- input: __S(176, __c22, 0) as any as S.Schema<TriggerBackupRequest>,
1249
- output: __S(264, __c33, 0) as any as S.Schema<TriggerBackupResponse>,
1250
- errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
1326
+ input: __S(184, __c23, 0) as any as S.Schema<TriggerBackupRequest>,
1327
+ output: __S(280, __c35, 0) as any as S.Schema<TriggerBackupResponse>,
1328
+ errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity],
1329
+ serviceErrors: StackitServiceErrors,
1251
1330
  protocol: StackitProtocol,
1252
1331
  retry: Retry.Retry,
1253
1332
  telemetry: TELEMETRY,
@@ -1267,9 +1346,10 @@ export const triggerRestore: API.OperationMethod<
1267
1346
  TriggerRestoreError,
1268
1347
  StackitOpContext
1269
1348
  > = /*@__PURE__*/ API.make(() => ({
1270
- input: __S(184, __c23, 0) as any as S.Schema<TriggerRestoreRequest>,
1271
- output: __S(264, __c33, 0) as any as S.Schema<TriggerRestoreResponse>,
1272
- errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
1349
+ input: __S(192, __c24, 0) as any as S.Schema<TriggerRestoreRequest>,
1350
+ output: __S(280, __c35, 0) as any as S.Schema<TriggerRestoreResponse>,
1351
+ errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity],
1352
+ serviceErrors: StackitServiceErrors,
1273
1353
  protocol: StackitProtocol,
1274
1354
  retry: Retry.Retry,
1275
1355
  telemetry: TELEMETRY,
@@ -1289,9 +1369,10 @@ export const updateInstance: API.OperationMethod<
1289
1369
  UpdateInstanceError,
1290
1370
  StackitOpContext
1291
1371
  > = /*@__PURE__*/ API.make(() => ({
1292
- input: __S(193, __c24, 1) as any as S.Schema<UpdateInstanceRequest>,
1293
- output: __S(264, __c33, 0) as any as S.Schema<UpdateInstanceResponse>,
1294
- errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
1372
+ input: __S(209, __c26, 1) as any as S.Schema<UpdateInstanceRequest>,
1373
+ output: __S(280, __c35, 0) as any as S.Schema<UpdateInstanceResponse>,
1374
+ errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity],
1375
+ serviceErrors: StackitServiceErrors,
1295
1376
  protocol: StackitProtocol,
1296
1377
  retry: Retry.Retry,
1297
1378
  telemetry: TELEMETRY,
@@ -1311,9 +1392,10 @@ export const updateInstanceProtection: API.OperationMethod<
1311
1392
  UpdateInstanceProtectionError,
1312
1393
  StackitOpContext
1313
1394
  > = /*@__PURE__*/ API.make(() => ({
1314
- input: __S(200, __c25, 0) as any as S.Schema<UpdateInstanceProtectionRequest>,
1315
- output: __S(201, __c25, 1) as any as S.Schema<UpdateInstanceProtectionResponse>,
1316
- errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity, UnknownStackitError],
1395
+ input: __S(216, __c27, 0) as any as S.Schema<UpdateInstanceProtectionRequest>,
1396
+ output: __S(217, __c27, 1) as any as S.Schema<UpdateInstanceProtectionResponse>,
1397
+ errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity],
1398
+ serviceErrors: StackitServiceErrors,
1317
1399
  protocol: StackitProtocol,
1318
1400
  retry: Retry.Retry,
1319
1401
  telemetry: TELEMETRY,
@@ -1322,6 +1404,19 @@ export const updateInstanceProtection: API.OperationMethod<
1322
1404
 
1323
1405
  // Schema builders: each runs one schema initializer, on that schema's first use.
1324
1406
  function __c0(j: number): any {
1407
+ switch (j) {
1408
+ case 0:
1409
+ return S.suspend(() =>
1410
+ S.Struct({
1411
+ code: S.Number,
1412
+ message: S.String,
1413
+ traceId: S.String,
1414
+ type: S.String,
1415
+ }),
1416
+ ).annotate({ identifier: "Error" });
1417
+ }
1418
+ }
1419
+ function __c1(j: number): any {
1325
1420
  switch (j) {
1326
1421
  case 0:
1327
1422
  return S.suspend(() =>
@@ -1341,7 +1436,7 @@ function __c0(j: number): any {
1341
1436
  ).annotate({ identifier: "GetBackupRequest" });
1342
1437
  }
1343
1438
  }
1344
- function __c1(j: number): any {
1439
+ function __c2(j: number): any {
1345
1440
  switch (j) {
1346
1441
  case 0:
1347
1442
  return S.suspend(() =>
@@ -1356,7 +1451,7 @@ function __c1(j: number): any {
1356
1451
  ).annotate({ identifier: "GetBackupResponse" });
1357
1452
  }
1358
1453
  }
1359
- function __c2(j: number): any {
1454
+ function __c3(j: number): any {
1360
1455
  switch (j) {
1361
1456
  case 0:
1362
1457
  return S.suspend(() =>
@@ -1386,7 +1481,7 @@ function __c2(j: number): any {
1386
1481
  ).annotate({ identifier: "GetDatabaseResponse" });
1387
1482
  }
1388
1483
  }
1389
- function __c3(j: number): any {
1484
+ function __c4(j: number): any {
1390
1485
  switch (j) {
1391
1486
  case 0:
1392
1487
  return S.suspend(() =>
@@ -1407,7 +1502,7 @@ function __c3(j: number): any {
1407
1502
  return S.suspend(() =>
1408
1503
  S.Struct({
1409
1504
  accessScope: S.optional(S.String),
1410
- acl: S.optional(__S(240, __c30, 0)),
1505
+ acl: S.optional(__S(256, __c32, 0)),
1411
1506
  instanceAddress: S.optional(S.String),
1412
1507
  routerAddress: S.optional(S.String),
1413
1508
  }),
@@ -1424,23 +1519,23 @@ function __c3(j: number): any {
1424
1519
  S.Struct({
1425
1520
  backupSchedule: S.String,
1426
1521
  edition: S.String,
1427
- encryption: S.optional(__S(224, __c28, 0)),
1522
+ encryption: S.optional(__S(240, __c30, 0)),
1428
1523
  flavorId: S.String,
1429
1524
  id: S.String,
1430
1525
  isDeletable: S.Boolean,
1431
- labels: S.optional(__S(232, __c29, 0)),
1526
+ labels: S.optional(__S(248, __c31, 0)),
1432
1527
  name: S.String,
1433
- network: __S(25, __c3, 1),
1528
+ network: __S(33, __c4, 1),
1434
1529
  replicas: S.Number,
1435
1530
  retentionDays: S.Number,
1436
1531
  state: S.String,
1437
- storage: __S(26, __c3, 2),
1532
+ storage: __S(34, __c4, 2),
1438
1533
  version: S.String,
1439
1534
  }),
1440
1535
  ).annotate({ identifier: "GetInstanceResponse" });
1441
1536
  }
1442
1537
  }
1443
- function __c4(j: number): any {
1538
+ function __c5(j: number): any {
1444
1539
  switch (j) {
1445
1540
  case 0:
1446
1541
  return S.suspend(() =>
@@ -1465,14 +1560,14 @@ function __c4(j: number): any {
1465
1560
  host: S.String,
1466
1561
  id: S.Number,
1467
1562
  port: S.Number,
1468
- roles: __S(240, __c30, 0),
1563
+ roles: __S(256, __c32, 0),
1469
1564
  status: S.String,
1470
1565
  username: S.String,
1471
1566
  }),
1472
1567
  ).annotate({ identifier: "GetUserResponse" });
1473
1568
  }
1474
1569
  }
1475
- function __c5(j: number): any {
1570
+ function __c6(j: number): any {
1476
1571
  switch (j) {
1477
1572
  case 0:
1478
1573
  return S.suspend(() =>
@@ -1493,26 +1588,26 @@ function __c5(j: number): any {
1493
1588
  ),
1494
1589
  ).annotate({ identifier: "ListBackupsRequest" });
1495
1590
  case 1:
1496
- return S.Array(__S(8, __c1, 0));
1591
+ return S.Array(__S(16, __c2, 0));
1497
1592
  case 2:
1498
1593
  return S.suspend(() =>
1499
1594
  S.Struct({
1500
- backups: __S(41, __c5, 1),
1595
+ backups: __S(49, __c6, 1),
1501
1596
  databaseName: S.String,
1502
1597
  }),
1503
1598
  ).annotate({ identifier: "ListBackupsResponse" });
1504
1599
  case 3:
1505
- return S.Array(__S(42, __c5, 2));
1600
+ return S.Array(__S(50, __c6, 2));
1506
1601
  case 4:
1507
1602
  return S.suspend(() =>
1508
1603
  S.Struct({
1509
- backups: __S(43, __c5, 3),
1510
- pagination: __S(48, __c6, 0),
1604
+ backups: __S(51, __c6, 3),
1605
+ pagination: __S(56, __c7, 0),
1511
1606
  }),
1512
1607
  ).annotate({ identifier: "ListBackupResponse" });
1513
1608
  }
1514
1609
  }
1515
- function __c6(j: number): any {
1610
+ function __c7(j: number): any {
1516
1611
  switch (j) {
1517
1612
  case 0:
1518
1613
  return S.suspend(() =>
@@ -1526,7 +1621,7 @@ function __c6(j: number): any {
1526
1621
  ).annotate({ identifier: "Pagination" });
1527
1622
  }
1528
1623
  }
1529
- function __c7(j: number): any {
1624
+ function __c8(j: number): any {
1530
1625
  switch (j) {
1531
1626
  case 0:
1532
1627
  return S.suspend(() =>
@@ -1551,16 +1646,16 @@ function __c7(j: number): any {
1551
1646
  }),
1552
1647
  ).annotate({ identifier: "DatabaseGetcollation" });
1553
1648
  case 2:
1554
- return S.Array(__S(57, __c7, 1));
1649
+ return S.Array(__S(65, __c8, 1));
1555
1650
  case 3:
1556
1651
  return S.suspend(() =>
1557
1652
  S.Struct({
1558
- collations: __S(58, __c7, 2),
1653
+ collations: __S(66, __c8, 2),
1559
1654
  }),
1560
1655
  ).annotate({ identifier: "ListCollationsResponse" });
1561
1656
  }
1562
1657
  }
1563
- function __c8(j: number): any {
1658
+ function __c9(j: number): any {
1564
1659
  switch (j) {
1565
1660
  case 0:
1566
1661
  return S.suspend(() =>
@@ -1585,16 +1680,16 @@ function __c8(j: number): any {
1585
1680
  }),
1586
1681
  ).annotate({ identifier: "DatabaseGetcompatibility" });
1587
1682
  case 2:
1588
- return S.Array(__S(65, __c8, 1));
1683
+ return S.Array(__S(73, __c9, 1));
1589
1684
  case 3:
1590
1685
  return S.suspend(() =>
1591
1686
  S.Struct({
1592
- compatibilities: __S(66, __c8, 2),
1687
+ compatibilities: __S(74, __c9, 2),
1593
1688
  }),
1594
1689
  ).annotate({ identifier: "ListCompatibilityResponse" });
1595
1690
  }
1596
1691
  }
1597
- function __c9(j: number): any {
1692
+ function __c10(j: number): any {
1598
1693
  switch (j) {
1599
1694
  case 0:
1600
1695
  return S.suspend(() =>
@@ -1622,16 +1717,16 @@ function __c9(j: number): any {
1622
1717
  }),
1623
1718
  ).annotate({ identifier: "BackupRunningRestore" });
1624
1719
  case 2:
1625
- return S.Array(__S(73, __c9, 1));
1720
+ return S.Array(__S(81, __c10, 1));
1626
1721
  case 3:
1627
1722
  return S.suspend(() =>
1628
1723
  S.Struct({
1629
- runningRestores: __S(74, __c9, 2),
1724
+ runningRestores: __S(82, __c10, 2),
1630
1725
  }),
1631
1726
  ).annotate({ identifier: "ListCurrentRunningRestoreJobs" });
1632
1727
  }
1633
1728
  }
1634
- function __c10(j: number): any {
1729
+ function __c11(j: number): any {
1635
1730
  switch (j) {
1636
1731
  case 0:
1637
1732
  return S.suspend(() =>
@@ -1661,17 +1756,17 @@ function __c10(j: number): any {
1661
1756
  }),
1662
1757
  ).annotate({ identifier: "ListDatabase" });
1663
1758
  case 2:
1664
- return S.Array(__S(81, __c10, 1));
1759
+ return S.Array(__S(89, __c11, 1));
1665
1760
  case 3:
1666
1761
  return S.suspend(() =>
1667
1762
  S.Struct({
1668
- databases: __S(82, __c10, 2),
1669
- pagination: __S(48, __c6, 0),
1763
+ databases: __S(90, __c11, 2),
1764
+ pagination: __S(56, __c7, 0),
1670
1765
  }),
1671
1766
  ).annotate({ identifier: "ListDatabasesResponse" });
1672
1767
  }
1673
1768
  }
1674
- function __c11(j: number): any {
1769
+ function __c12(j: number): any {
1675
1770
  switch (j) {
1676
1771
  case 0:
1677
1772
  return S.suspend(() =>
@@ -1700,21 +1795,21 @@ function __c11(j: number): any {
1700
1795
  memory: S.Number,
1701
1796
  minGB: S.Number,
1702
1797
  nodeType: S.String,
1703
- storageClasses: __S(97, __c12, 1),
1798
+ storageClasses: __S(105, __c13, 1),
1704
1799
  }),
1705
1800
  ).annotate({ identifier: "ListFlavors" });
1706
1801
  case 2:
1707
- return S.Array(__S(89, __c11, 1));
1802
+ return S.Array(__S(97, __c12, 1));
1708
1803
  case 3:
1709
1804
  return S.suspend(() =>
1710
1805
  S.Struct({
1711
- flavors: __S(90, __c11, 2),
1712
- pagination: __S(48, __c6, 0),
1806
+ flavors: __S(98, __c12, 2),
1807
+ pagination: __S(56, __c7, 0),
1713
1808
  }),
1714
1809
  ).annotate({ identifier: "ListFlavorsResponse" });
1715
1810
  }
1716
1811
  }
1717
- function __c12(j: number): any {
1812
+ function __c13(j: number): any {
1718
1813
  switch (j) {
1719
1814
  case 0:
1720
1815
  return S.suspend(() =>
@@ -1725,10 +1820,10 @@ function __c12(j: number): any {
1725
1820
  }),
1726
1821
  ).annotate({ identifier: "FlavorStorageClassesStorageClass" });
1727
1822
  case 1:
1728
- return S.Array(__S(96, __c12, 0));
1823
+ return S.Array(__S(104, __c13, 0));
1729
1824
  }
1730
1825
  }
1731
- function __c13(j: number): any {
1826
+ function __c14(j: number): any {
1732
1827
  switch (j) {
1733
1828
  case 0:
1734
1829
  return S.suspend(() =>
@@ -1757,17 +1852,17 @@ function __c13(j: number): any {
1757
1852
  }),
1758
1853
  ).annotate({ identifier: "ListInstance" });
1759
1854
  case 2:
1760
- return S.Array(__S(105, __c13, 1));
1855
+ return S.Array(__S(113, __c14, 1));
1761
1856
  case 3:
1762
1857
  return S.suspend(() =>
1763
1858
  S.Struct({
1764
- instances: __S(106, __c13, 2),
1765
- pagination: __S(48, __c6, 0),
1859
+ instances: __S(114, __c14, 2),
1860
+ pagination: __S(56, __c7, 0),
1766
1861
  }),
1767
1862
  ).annotate({ identifier: "ListInstancesResponse" });
1768
1863
  }
1769
1864
  }
1770
- function __c14(j: number): any {
1865
+ function __c15(j: number): any {
1771
1866
  switch (j) {
1772
1867
  case 0:
1773
1868
  return S.suspend(() =>
@@ -1787,12 +1882,12 @@ function __c14(j: number): any {
1787
1882
  case 1:
1788
1883
  return S.suspend(() =>
1789
1884
  S.Struct({
1790
- roles: __S(240, __c30, 0),
1885
+ roles: __S(256, __c32, 0),
1791
1886
  }),
1792
1887
  ).annotate({ identifier: "ListRolesResponse" });
1793
1888
  }
1794
1889
  }
1795
- function __c15(j: number): any {
1890
+ function __c16(j: number): any {
1796
1891
  switch (j) {
1797
1892
  case 0:
1798
1893
  return S.suspend(() =>
@@ -1819,13 +1914,13 @@ function __c15(j: number): any {
1819
1914
  case 2:
1820
1915
  return S.suspend(() =>
1821
1916
  S.Struct({
1822
- storageClasses: __S(97, __c12, 1),
1823
- storageRange: __S(121, __c15, 1),
1917
+ storageClasses: __S(105, __c13, 1),
1918
+ storageRange: __S(129, __c16, 1),
1824
1919
  }),
1825
1920
  ).annotate({ identifier: "ListStoragesResponse" });
1826
1921
  }
1827
1922
  }
1828
- function __c16(j: number): any {
1923
+ function __c17(j: number): any {
1829
1924
  switch (j) {
1830
1925
  case 0:
1831
1926
  return S.suspend(() =>
@@ -1854,17 +1949,17 @@ function __c16(j: number): any {
1854
1949
  }),
1855
1950
  ).annotate({ identifier: "ListUser" });
1856
1951
  case 2:
1857
- return S.Array(__S(129, __c16, 1));
1952
+ return S.Array(__S(137, __c17, 1));
1858
1953
  case 3:
1859
1954
  return S.suspend(() =>
1860
1955
  S.Struct({
1861
- pagination: __S(48, __c6, 0),
1862
- users: __S(130, __c16, 2),
1956
+ pagination: __S(56, __c7, 0),
1957
+ users: __S(138, __c17, 2),
1863
1958
  }),
1864
1959
  ).annotate({ identifier: "ListUserResponse" });
1865
1960
  }
1866
1961
  }
1867
- function __c17(j: number): any {
1962
+ function __c18(j: number): any {
1868
1963
  switch (j) {
1869
1964
  case 0:
1870
1965
  return S.suspend(() =>
@@ -1890,21 +1985,21 @@ function __c17(j: number): any {
1890
1985
  }),
1891
1986
  ).annotate({ identifier: "Version" });
1892
1987
  case 2:
1893
- return S.Array(__S(137, __c17, 1));
1988
+ return S.Array(__S(145, __c18, 1));
1894
1989
  case 3:
1895
1990
  return S.suspend(() =>
1896
1991
  S.Struct({
1897
- versions: __S(138, __c17, 2),
1992
+ versions: __S(146, __c18, 2),
1898
1993
  }),
1899
1994
  ).annotate({ identifier: "ListVersionsResponse" });
1900
1995
  }
1901
1996
  }
1902
- function __c18(j: number): any {
1997
+ function __c19(j: number): any {
1903
1998
  switch (j) {
1904
1999
  case 0:
1905
2000
  return S.suspend(() =>
1906
2001
  S.Struct({
1907
- acl: S.optional(__S(240, __c30, 0)),
2002
+ acl: S.optional(__S(256, __c32, 0)),
1908
2003
  }),
1909
2004
  ).annotate({ identifier: "PartialUpdateInstanceRequestNetwork" });
1910
2005
  case 1:
@@ -1915,11 +2010,11 @@ function __c18(j: number): any {
1915
2010
  instanceId: S.String.pipe(T.Label()),
1916
2011
  backupSchedule: S.optional(S.String),
1917
2012
  flavorId: S.optional(S.String),
1918
- labels: S.optional(__S(232, __c29, 0)),
2013
+ labels: S.optional(__S(248, __c31, 0)),
1919
2014
  name: S.optional(S.String),
1920
- network: S.optional(__S(144, __c18, 0)),
2015
+ network: S.optional(__S(152, __c19, 0)),
1921
2016
  retentionDays: S.optional(S.Number),
1922
- storage: S.optional(__S(152, __c19, 0)),
2017
+ storage: S.optional(__S(160, __c20, 0)),
1923
2018
  version: S.optional(S.String),
1924
2019
  }).pipe(
1925
2020
  T.Http({
@@ -1932,7 +2027,7 @@ function __c18(j: number): any {
1932
2027
  ).annotate({ identifier: "PartialUpdateInstanceRequest" });
1933
2028
  }
1934
2029
  }
1935
- function __c19(j: number): any {
2030
+ function __c20(j: number): any {
1936
2031
  switch (j) {
1937
2032
  case 0:
1938
2033
  return S.suspend(() =>
@@ -1942,7 +2037,7 @@ function __c19(j: number): any {
1942
2037
  ).annotate({ identifier: "StorageUpdate" });
1943
2038
  }
1944
2039
  }
1945
- function __c20(j: number): any {
2040
+ function __c21(j: number): any {
1946
2041
  switch (j) {
1947
2042
  case 0:
1948
2043
  return S.suspend(() =>
@@ -1971,7 +2066,7 @@ function __c20(j: number): any {
1971
2066
  ).annotate({ identifier: "ResetUserResponse" });
1972
2067
  }
1973
2068
  }
1974
- function __c21(j: number): any {
2069
+ function __c22(j: number): any {
1975
2070
  switch (j) {
1976
2071
  case 0:
1977
2072
  return S.suspend(() =>
@@ -1992,7 +2087,7 @@ function __c21(j: number): any {
1992
2087
  ).annotate({ identifier: "RestoreDatabaseFromBackupRequest" });
1993
2088
  }
1994
2089
  }
1995
- function __c22(j: number): any {
2090
+ function __c23(j: number): any {
1996
2091
  switch (j) {
1997
2092
  case 0:
1998
2093
  return S.suspend(() =>
@@ -2012,7 +2107,7 @@ function __c22(j: number): any {
2012
2107
  ).annotate({ identifier: "TriggerBackupRequest" });
2013
2108
  }
2014
2109
  }
2015
- function __c23(j: number): any {
2110
+ function __c24(j: number): any {
2016
2111
  switch (j) {
2017
2112
  case 0:
2018
2113
  return S.suspend(() =>
@@ -2034,12 +2129,32 @@ function __c23(j: number): any {
2034
2129
  ).annotate({ identifier: "TriggerRestoreRequest" });
2035
2130
  }
2036
2131
  }
2037
- function __c24(j: number): any {
2132
+ function __c25(j: number): any {
2133
+ switch (j) {
2134
+ case 0:
2135
+ return S.suspend(() =>
2136
+ S.Struct({
2137
+ field: S.String,
2138
+ message: S.String,
2139
+ }),
2140
+ ).annotate({ identifier: "ValidationErrorValidationItem" });
2141
+ case 1:
2142
+ return S.Array(__S(200, __c25, 0));
2143
+ case 2:
2144
+ return S.suspend(() =>
2145
+ S.Struct({
2146
+ code: S.Number,
2147
+ validation: __S(201, __c25, 1),
2148
+ }),
2149
+ ).annotate({ identifier: "ValidationError" });
2150
+ }
2151
+ }
2152
+ function __c26(j: number): any {
2038
2153
  switch (j) {
2039
2154
  case 0:
2040
2155
  return S.suspend(() =>
2041
2156
  S.Struct({
2042
- acl: __S(240, __c30, 0),
2157
+ acl: __S(256, __c32, 0),
2043
2158
  }),
2044
2159
  ).annotate({ identifier: "UpdateInstanceRequestNetwork" });
2045
2160
  case 1:
@@ -2050,11 +2165,11 @@ function __c24(j: number): any {
2050
2165
  instanceId: S.String.pipe(T.Label()),
2051
2166
  backupSchedule: S.String,
2052
2167
  flavorId: S.String,
2053
- labels: S.optional(__S(232, __c29, 0)),
2168
+ labels: S.optional(__S(248, __c31, 0)),
2054
2169
  name: S.String,
2055
- network: __S(192, __c24, 0),
2170
+ network: __S(208, __c26, 0),
2056
2171
  retentionDays: S.Number,
2057
- storage: __S(152, __c19, 0),
2172
+ storage: __S(160, __c20, 0),
2058
2173
  version: S.String,
2059
2174
  }).pipe(
2060
2175
  T.Http({
@@ -2067,7 +2182,7 @@ function __c24(j: number): any {
2067
2182
  ).annotate({ identifier: "UpdateInstanceRequest" });
2068
2183
  }
2069
2184
  }
2070
- function __c25(j: number): any {
2185
+ function __c27(j: number): any {
2071
2186
  switch (j) {
2072
2187
  case 0:
2073
2188
  return S.suspend(() =>
@@ -2093,7 +2208,7 @@ function __c25(j: number): any {
2093
2208
  ).annotate({ identifier: "UpdateInstanceProtectionResponse" });
2094
2209
  }
2095
2210
  }
2096
- function __c26(j: number): any {
2211
+ function __c28(j: number): any {
2097
2212
  switch (j) {
2098
2213
  case 0:
2099
2214
  return S.suspend(() =>
@@ -2122,13 +2237,13 @@ function __c26(j: number): any {
2122
2237
  ).annotate({ identifier: "CreateDatabaseResponse" });
2123
2238
  }
2124
2239
  }
2125
- function __c27(j: number): any {
2240
+ function __c29(j: number): any {
2126
2241
  switch (j) {
2127
2242
  case 0:
2128
2243
  return S.suspend(() =>
2129
2244
  S.Struct({
2130
2245
  accessScope: S.optional(S.String),
2131
- acl: __S(240, __c30, 0),
2246
+ acl: __S(256, __c32, 0),
2132
2247
  }),
2133
2248
  ).annotate({ identifier: "CreateInstanceRequestNetwork" });
2134
2249
  case 1:
@@ -2144,13 +2259,13 @@ function __c27(j: number): any {
2144
2259
  projectId: S.String.pipe(T.Label()),
2145
2260
  region: S.String.pipe(T.Label()),
2146
2261
  backupSchedule: S.String,
2147
- encryption: S.optional(__S(224, __c28, 0)),
2262
+ encryption: S.optional(__S(240, __c30, 0)),
2148
2263
  flavorId: S.String,
2149
- labels: S.optional(__S(232, __c29, 0)),
2264
+ labels: S.optional(__S(248, __c31, 0)),
2150
2265
  name: S.String,
2151
- network: __S(216, __c27, 0),
2266
+ network: __S(232, __c29, 0),
2152
2267
  retentionDays: S.Number,
2153
- storage: __S(217, __c27, 1),
2268
+ storage: __S(233, __c29, 1),
2154
2269
  version: S.String,
2155
2270
  }).pipe(
2156
2271
  T.Http({
@@ -2169,7 +2284,7 @@ function __c27(j: number): any {
2169
2284
  ).annotate({ identifier: "CreateInstanceResponse" });
2170
2285
  }
2171
2286
  }
2172
- function __c28(j: number): any {
2287
+ function __c30(j: number): any {
2173
2288
  switch (j) {
2174
2289
  case 0:
2175
2290
  return S.suspend(() =>
@@ -2182,19 +2297,19 @@ function __c28(j: number): any {
2182
2297
  ).annotate({ identifier: "InstanceEncryption" });
2183
2298
  }
2184
2299
  }
2185
- function __c29(j: number): any {
2300
+ function __c31(j: number): any {
2186
2301
  switch (j) {
2187
2302
  case 0:
2188
2303
  return S.Record(S.String, /*@__PURE__*/ S.NullOr(S.String));
2189
2304
  }
2190
2305
  }
2191
- function __c30(j: number): any {
2306
+ function __c32(j: number): any {
2192
2307
  switch (j) {
2193
2308
  case 0:
2194
2309
  return S.Array(S.String);
2195
2310
  }
2196
2311
  }
2197
- function __c31(j: number): any {
2312
+ function __c33(j: number): any {
2198
2313
  switch (j) {
2199
2314
  case 0:
2200
2315
  return S.suspend(() =>
@@ -2203,7 +2318,7 @@ function __c31(j: number): any {
2203
2318
  region: S.String.pipe(T.Label()),
2204
2319
  instanceId: S.String.pipe(T.Label()),
2205
2320
  default_database: S.optional(S.String),
2206
- roles: __S(240, __c30, 0),
2321
+ roles: __S(256, __c32, 0),
2207
2322
  username: S.String,
2208
2323
  }).pipe(
2209
2324
  T.Http({
@@ -2222,7 +2337,7 @@ function __c31(j: number): any {
2222
2337
  id: S.Number,
2223
2338
  password: S.String.pipe(T.SensitiveValue({})),
2224
2339
  port: S.Number,
2225
- roles: __S(240, __c30, 0),
2340
+ roles: __S(256, __c32, 0),
2226
2341
  status: S.String,
2227
2342
  uri: S.String,
2228
2343
  username: S.String,
@@ -2230,7 +2345,7 @@ function __c31(j: number): any {
2230
2345
  ).annotate({ identifier: "CreateUserResponse" });
2231
2346
  }
2232
2347
  }
2233
- function __c32(j: number): any {
2348
+ function __c34(j: number): any {
2234
2349
  switch (j) {
2235
2350
  case 0:
2236
2351
  return S.suspend(() =>
@@ -2250,13 +2365,13 @@ function __c32(j: number): any {
2250
2365
  ).annotate({ identifier: "DeleteDatabaseRequest" });
2251
2366
  }
2252
2367
  }
2253
- function __c33(j: number): any {
2368
+ function __c35(j: number): any {
2254
2369
  switch (j) {
2255
2370
  case 0:
2256
2371
  return S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteDatabaseResponse" });
2257
2372
  }
2258
2373
  }
2259
- function __c34(j: number): any {
2374
+ function __c36(j: number): any {
2260
2375
  switch (j) {
2261
2376
  case 0:
2262
2377
  return S.suspend(() =>
@@ -2275,7 +2390,7 @@ function __c34(j: number): any {
2275
2390
  ).annotate({ identifier: "DeleteInstanceRequest" });
2276
2391
  }
2277
2392
  }
2278
- function __c35(j: number): any {
2393
+ function __c37(j: number): any {
2279
2394
  switch (j) {
2280
2395
  case 0:
2281
2396
  return S.suspend(() =>