@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,27 +31,65 @@ 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([
36
+ /*@__PURE__*/ S.suspend(() => __S(1, __c0, 1)),
37
+ /*@__PURE__*/ S.suspend(() => __S(2, __c0, 2)),
38
+ S.String,
39
+ ]),
40
+ ),
41
+ headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
34
42
  }).pipe(C.withBadRequestError),
35
43
  [{ status: 400 }],
36
- ) {}
44
+ )
45
+ {
46
+ declare readonly body?: BadErrorResponse | GenericErrorResponse | string;
47
+ }
37
48
 
38
49
  export class Conflict
39
50
  extends /*@__PURE__*/ T.applyErrorMatchers(
40
51
  /*@__PURE__*/ S.TaggedError<Conflict>()("Conflict", {
41
52
  code: S.Number,
42
53
  message: S.String,
54
+ body: /*@__PURE__*/ S.optional(
55
+ /*@__PURE__*/ S.Union([
56
+ /*@__PURE__*/ S.suspend(() => __S(1, __c0, 1)),
57
+ /*@__PURE__*/ S.suspend(() => __S(2, __c0, 2)),
58
+ /*@__PURE__*/ S.suspend(() => __S(4, __c1, 0)),
59
+ S.String,
60
+ ]),
61
+ ),
62
+ headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
43
63
  }).pipe(C.withConflictError),
44
64
  [{ status: 409 }],
45
- ) {}
65
+ )
66
+ {
67
+ declare readonly body?:
68
+ | ConflictErrorResponse
69
+ | GenericErrorResponse
70
+ | AlreadyExistsError
71
+ | string;
72
+ }
46
73
 
47
74
  export class NotFound
48
75
  extends /*@__PURE__*/ T.applyErrorMatchers(
49
76
  /*@__PURE__*/ S.TaggedError<NotFound>()("NotFound", {
50
77
  code: S.Number,
51
78
  message: S.String,
79
+ body: /*@__PURE__*/ S.optional(
80
+ /*@__PURE__*/ S.Union([
81
+ /*@__PURE__*/ S.suspend(() => __S(1, __c0, 1)),
82
+ /*@__PURE__*/ S.suspend(() => __S(2, __c0, 2)),
83
+ S.String,
84
+ ]),
85
+ ),
86
+ headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)),
52
87
  }).pipe(C.withBadRequestError),
53
88
  [{ status: 404 }],
54
- ) {}
89
+ )
90
+ {
91
+ declare readonly body?: NotFoundErrorResponse | GenericErrorResponse | string;
92
+ }
55
93
 
56
94
  export interface CreateAuthenticationRequest {
57
95
  /** Project identifier. */
@@ -476,6 +514,16 @@ export interface PatchInstanceRequest {
476
514
  feature_toggle?: FeatureToggle | undefined;
477
515
  labels?: Labels | undefined;
478
516
  }
517
+ export type PatchRunnerRequestLabelsList = Array<string>;
518
+ export interface PatchRunnerRequest {
519
+ /** Project identifier. */
520
+ projectId: string;
521
+ /** Instance identifier. */
522
+ instanceId: string;
523
+ /** The runner's job family name. */
524
+ familyName?: string | undefined;
525
+ labels: PatchRunnerRequestLabelsList;
526
+ }
479
527
  export interface UpdateUserRequest {
480
528
  /** Project identifier. */
481
529
  projectId: string;
@@ -490,6 +538,25 @@ export interface UpdateUserRequest {
490
538
  /** A user password to allow user/pass instance login. */
491
539
  password?: string | Redacted.Redacted<string> | undefined;
492
540
  }
541
+ /** 400 Error Response. */
542
+ export interface BadErrorResponse {
543
+ details?: string | undefined;
544
+ error?: string | undefined;
545
+ }
546
+ export type GenericErrorResponseDetailsList = Array<string>;
547
+ /** Generic Error Response. */
548
+ export interface GenericErrorResponse {
549
+ details?: GenericErrorResponseDetailsList | undefined;
550
+ message: string;
551
+ }
552
+ /** 409 Error Response. */
553
+ export type ConflictErrorResponse = BadErrorResponse;
554
+ /** Error response when a resource already exists. */
555
+ export interface AlreadyExistsError {
556
+ message: string;
557
+ }
558
+ /** 404 Error Response. */
559
+ export type NotFoundErrorResponse = BadErrorResponse;
493
560
  export type CreateAuthenticationError = BadRequest | NotFound | Conflict | StackitOpError;
494
561
  /** Creates an authentication source Creates an authentication source for the corresponding STACKIT Git instance */
495
562
  export const createAuthentication: API.OperationMethod<
@@ -498,9 +565,10 @@ export const createAuthentication: API.OperationMethod<
498
565
  CreateAuthenticationError,
499
566
  StackitOpContext
500
567
  > = /*@__PURE__*/ API.make(() => ({
501
- input: __S(68, __c17, 0) as any as S.Schema<CreateAuthenticationRequest>,
502
- output: __S(72, __c18, 0) as any as S.Schema<Authentication>,
503
- errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
568
+ input: __S(80, __c20, 0) as any as S.Schema<CreateAuthenticationRequest>,
569
+ output: __S(84, __c21, 0) as any as S.Schema<Authentication>,
570
+ errors: [BadRequest, NotFound, Conflict],
571
+ serviceErrors: StackitServiceErrors,
504
572
  protocol: StackitProtocol,
505
573
  retry: Retry.Retry,
506
574
  telemetry: TELEMETRY,
@@ -515,9 +583,10 @@ export const createInstance: API.OperationMethod<
515
583
  CreateInstanceError,
516
584
  StackitOpContext
517
585
  > = /*@__PURE__*/ API.make(() => ({
518
- input: __S(76, __c19, 0) as any as S.Schema<CreateInstanceRequest>,
519
- output: __S(83, __c20, 3) as any as S.Schema<Instance>,
520
- errors: [BadRequest, Conflict, UnknownStackitError],
586
+ input: __S(88, __c22, 0) as any as S.Schema<CreateInstanceRequest>,
587
+ output: __S(95, __c23, 3) as any as S.Schema<Instance>,
588
+ errors: [BadRequest, Conflict],
589
+ serviceErrors: StackitServiceErrors,
521
590
  protocol: StackitProtocol,
522
591
  retry: Retry.Retry,
523
592
  telemetry: TELEMETRY,
@@ -532,9 +601,10 @@ export const createRunner: API.OperationMethod<
532
601
  CreateRunnerError,
533
602
  StackitOpContext
534
603
  > = /*@__PURE__*/ API.make(() => ({
535
- input: __S(88, __c22, 0) as any as S.Schema<CreateRunnerRequest>,
536
- output: __S(92, __c23, 0) as any as S.Schema<Runner>,
537
- errors: [BadRequest, Conflict, UnknownStackitError],
604
+ input: __S(96, __c24, 0) as any as S.Schema<CreateRunnerRequest>,
605
+ output: __S(100, __c25, 0) as any as S.Schema<Runner>,
606
+ errors: [BadRequest, Conflict],
607
+ serviceErrors: StackitServiceErrors,
538
608
  protocol: StackitProtocol,
539
609
  retry: Retry.Retry,
540
610
  telemetry: TELEMETRY,
@@ -549,9 +619,10 @@ export const createUser: API.OperationMethod<
549
619
  CreateUserError,
550
620
  StackitOpContext
551
621
  > = /*@__PURE__*/ API.make(() => ({
552
- input: __S(96, __c24, 0) as any as S.Schema<CreateUserRequest>,
553
- output: __S(100, __c25, 0) as any as S.Schema<User>,
554
- errors: [BadRequest, Conflict, UnknownStackitError],
622
+ input: __S(104, __c26, 0) as any as S.Schema<CreateUserRequest>,
623
+ output: __S(108, __c27, 0) as any as S.Schema<User>,
624
+ errors: [BadRequest, Conflict],
625
+ serviceErrors: StackitServiceErrors,
555
626
  protocol: StackitProtocol,
556
627
  retry: Retry.Retry,
557
628
  telemetry: TELEMETRY,
@@ -566,9 +637,10 @@ export const deleteAuthentication: API.OperationMethod<
566
637
  DeleteAuthenticationError,
567
638
  StackitOpContext
568
639
  > = /*@__PURE__*/ API.make(() => ({
569
- input: __S(104, __c26, 0) as any as S.Schema<DeleteAuthenticationRequest>,
570
- output: __S(108, __c27, 0) as any as S.Schema<DeleteAuthenticationResponse>,
571
- errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
640
+ input: __S(112, __c28, 0) as any as S.Schema<DeleteAuthenticationRequest>,
641
+ output: __S(116, __c29, 0) as any as S.Schema<DeleteAuthenticationResponse>,
642
+ errors: [BadRequest, NotFound, Conflict],
643
+ serviceErrors: StackitServiceErrors,
572
644
  protocol: StackitProtocol,
573
645
  retry: Retry.Retry,
574
646
  telemetry: TELEMETRY,
@@ -583,9 +655,10 @@ export const deleteInstance: API.OperationMethod<
583
655
  DeleteInstanceError,
584
656
  StackitOpContext
585
657
  > = /*@__PURE__*/ API.make(() => ({
586
- input: __S(112, __c28, 0) as any as S.Schema<DeleteInstanceRequest>,
587
- output: __S(108, __c27, 0) as any as S.Schema<DeleteInstanceResponse>,
588
- errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
658
+ input: __S(120, __c30, 0) as any as S.Schema<DeleteInstanceRequest>,
659
+ output: __S(116, __c29, 0) as any as S.Schema<DeleteInstanceResponse>,
660
+ errors: [BadRequest, NotFound, Conflict],
661
+ serviceErrors: StackitServiceErrors,
589
662
  protocol: StackitProtocol,
590
663
  retry: Retry.Retry,
591
664
  telemetry: TELEMETRY,
@@ -600,9 +673,10 @@ export const deleteRunner: API.OperationMethod<
600
673
  DeleteRunnerError,
601
674
  StackitOpContext
602
675
  > = /*@__PURE__*/ API.make(() => ({
603
- input: __S(116, __c29, 0) as any as S.Schema<DeleteRunnerRequest>,
604
- output: __S(108, __c27, 0) as any as S.Schema<DeleteRunnerResponse>,
605
- errors: [BadRequest, NotFound, UnknownStackitError],
676
+ input: __S(124, __c31, 0) as any as S.Schema<DeleteRunnerRequest>,
677
+ output: __S(116, __c29, 0) as any as S.Schema<DeleteRunnerResponse>,
678
+ errors: [BadRequest, NotFound],
679
+ serviceErrors: StackitServiceErrors,
606
680
  protocol: StackitProtocol,
607
681
  retry: Retry.Retry,
608
682
  telemetry: TELEMETRY,
@@ -617,9 +691,10 @@ export const deleteUser: API.OperationMethod<
617
691
  DeleteUserError,
618
692
  StackitOpContext
619
693
  > = /*@__PURE__*/ API.make(() => ({
620
- input: __S(0, __c0, 0) as any as S.Schema<DeleteUserRequest>,
621
- output: __S(108, __c27, 0) as any as S.Schema<DeleteUserResponse>,
622
- errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
694
+ input: __S(8, __c2, 0) as any as S.Schema<DeleteUserRequest>,
695
+ output: __S(116, __c29, 0) as any as S.Schema<DeleteUserResponse>,
696
+ errors: [BadRequest, NotFound, Conflict],
697
+ serviceErrors: StackitServiceErrors,
623
698
  protocol: StackitProtocol,
624
699
  retry: Retry.Retry,
625
700
  telemetry: TELEMETRY,
@@ -634,9 +709,10 @@ export const getAuthentication: API.OperationMethod<
634
709
  GetAuthenticationError,
635
710
  StackitOpContext
636
711
  > = /*@__PURE__*/ API.make(() => ({
637
- input: __S(4, __c1, 0) as any as S.Schema<GetAuthenticationRequest>,
638
- output: __S(72, __c18, 0) as any as S.Schema<Authentication>,
639
- errors: [BadRequest, UnknownStackitError],
712
+ input: __S(12, __c3, 0) as any as S.Schema<GetAuthenticationRequest>,
713
+ output: __S(84, __c21, 0) as any as S.Schema<Authentication>,
714
+ errors: [BadRequest],
715
+ serviceErrors: StackitServiceErrors,
640
716
  protocol: StackitProtocol,
641
717
  retry: Retry.Retry,
642
718
  telemetry: TELEMETRY,
@@ -651,9 +727,10 @@ export const getInstance: API.OperationMethod<
651
727
  GetInstanceError,
652
728
  StackitOpContext
653
729
  > = /*@__PURE__*/ API.make(() => ({
654
- input: __S(8, __c2, 0) as any as S.Schema<GetInstanceRequest>,
655
- output: __S(83, __c20, 3) as any as S.Schema<Instance>,
656
- errors: [BadRequest, NotFound, UnknownStackitError],
730
+ input: __S(16, __c4, 0) as any as S.Schema<GetInstanceRequest>,
731
+ output: __S(95, __c23, 3) as any as S.Schema<Instance>,
732
+ errors: [BadRequest, NotFound],
733
+ serviceErrors: StackitServiceErrors,
657
734
  protocol: StackitProtocol,
658
735
  retry: Retry.Retry,
659
736
  telemetry: TELEMETRY,
@@ -668,9 +745,10 @@ export const getOrganizations: API.OperationMethod<
668
745
  GetOrganizationsError,
669
746
  StackitOpContext
670
747
  > = /*@__PURE__*/ API.make(() => ({
671
- input: __S(12, __c3, 0) as any as S.Schema<GetOrganizationsRequest>,
672
- output: __S(13, __c3, 1) as any as S.Schema<ListOrganizations>,
673
- errors: [BadRequest, NotFound, UnknownStackitError],
748
+ input: __S(20, __c5, 0) as any as S.Schema<GetOrganizationsRequest>,
749
+ output: __S(21, __c5, 1) as any as S.Schema<ListOrganizations>,
750
+ errors: [BadRequest, NotFound],
751
+ serviceErrors: StackitServiceErrors,
674
752
  protocol: StackitProtocol,
675
753
  retry: Retry.Retry,
676
754
  telemetry: TELEMETRY,
@@ -685,9 +763,10 @@ export const getOrganizationTeams: API.OperationMethod<
685
763
  GetOrganizationTeamsError,
686
764
  StackitOpContext
687
765
  > = /*@__PURE__*/ API.make(() => ({
688
- input: __S(20, __c5, 0) as any as S.Schema<GetOrganizationTeamsRequest>,
689
- output: __S(21, __c5, 1) as any as S.Schema<ListOrganizationTeams>,
690
- errors: [BadRequest, NotFound, UnknownStackitError],
766
+ input: __S(28, __c7, 0) as any as S.Schema<GetOrganizationTeamsRequest>,
767
+ output: __S(29, __c7, 1) as any as S.Schema<ListOrganizationTeams>,
768
+ errors: [BadRequest, NotFound],
769
+ serviceErrors: StackitServiceErrors,
691
770
  protocol: StackitProtocol,
692
771
  retry: Retry.Retry,
693
772
  telemetry: TELEMETRY,
@@ -702,9 +781,10 @@ export const getRunner: API.OperationMethod<
702
781
  GetRunnerError,
703
782
  StackitOpContext
704
783
  > = /*@__PURE__*/ API.make(() => ({
705
- input: __S(24, __c6, 0) as any as S.Schema<GetRunnerRequest>,
706
- output: __S(92, __c23, 0) as any as S.Schema<Runner>,
707
- errors: [BadRequest, NotFound, UnknownStackitError],
784
+ input: __S(32, __c8, 0) as any as S.Schema<GetRunnerRequest>,
785
+ output: __S(100, __c25, 0) as any as S.Schema<Runner>,
786
+ errors: [BadRequest, NotFound],
787
+ serviceErrors: StackitServiceErrors,
708
788
  protocol: StackitProtocol,
709
789
  retry: Retry.Retry,
710
790
  telemetry: TELEMETRY,
@@ -719,9 +799,10 @@ export const getUser: API.OperationMethod<
719
799
  GetUserError,
720
800
  StackitOpContext
721
801
  > = /*@__PURE__*/ API.make(() => ({
722
- input: __S(28, __c7, 0) as any as S.Schema<GetUserRequest>,
723
- output: __S(108, __c27, 0) as any as S.Schema<GetUserResponse>,
724
- errors: [BadRequest, NotFound, UnknownStackitError],
802
+ input: __S(36, __c9, 0) as any as S.Schema<GetUserRequest>,
803
+ output: __S(116, __c29, 0) as any as S.Schema<GetUserResponse>,
804
+ errors: [BadRequest, NotFound],
805
+ serviceErrors: StackitServiceErrors,
725
806
  protocol: StackitProtocol,
726
807
  retry: Retry.Retry,
727
808
  telemetry: TELEMETRY,
@@ -736,9 +817,10 @@ export const getUsers: API.OperationMethod<
736
817
  GetUsersError,
737
818
  StackitOpContext
738
819
  > = /*@__PURE__*/ API.make(() => ({
739
- input: __S(32, __c8, 0) as any as S.Schema<GetUsersRequest>,
740
- output: __S(34, __c8, 2) as any as S.Schema<ListUsers>,
741
- errors: [BadRequest, UnknownStackitError],
820
+ input: __S(40, __c10, 0) as any as S.Schema<GetUsersRequest>,
821
+ output: __S(42, __c10, 2) as any as S.Schema<ListUsers>,
822
+ errors: [BadRequest],
823
+ serviceErrors: StackitServiceErrors,
742
824
  protocol: StackitProtocol,
743
825
  retry: Retry.Retry,
744
826
  telemetry: TELEMETRY,
@@ -753,9 +835,10 @@ export const listAuthentication: API.OperationMethod<
753
835
  ListAuthenticationError,
754
836
  StackitOpContext
755
837
  > = /*@__PURE__*/ API.make(() => ({
756
- input: __S(36, __c9, 0) as any as S.Schema<ListAuthenticationRequest>,
757
- output: __S(38, __c9, 2) as any as S.Schema<AuthenticationList>,
758
- errors: [BadRequest, UnknownStackitError],
838
+ input: __S(44, __c11, 0) as any as S.Schema<ListAuthenticationRequest>,
839
+ output: __S(46, __c11, 2) as any as S.Schema<AuthenticationList>,
840
+ errors: [BadRequest],
841
+ serviceErrors: StackitServiceErrors,
759
842
  protocol: StackitProtocol,
760
843
  retry: Retry.Retry,
761
844
  telemetry: TELEMETRY,
@@ -770,9 +853,10 @@ export const listFlavors2: API.OperationMethod<
770
853
  ListFlavors2Error,
771
854
  StackitOpContext
772
855
  > = /*@__PURE__*/ API.make(() => ({
773
- input: __S(40, __c10, 0) as any as S.Schema<ListFlavorsRequest>,
774
- output: __S(43, __c10, 3) as any as S.Schema<ListFlavors>,
775
- errors: [BadRequest, NotFound, UnknownStackitError],
856
+ input: __S(48, __c12, 0) as any as S.Schema<ListFlavorsRequest>,
857
+ output: __S(51, __c12, 3) as any as S.Schema<ListFlavors>,
858
+ errors: [BadRequest, NotFound],
859
+ serviceErrors: StackitServiceErrors,
776
860
  protocol: StackitProtocol,
777
861
  retry: Retry.Retry,
778
862
  telemetry: TELEMETRY,
@@ -787,9 +871,10 @@ export const listInstances2: API.OperationMethod<
787
871
  ListInstances2Error,
788
872
  StackitOpContext
789
873
  > = /*@__PURE__*/ API.make(() => ({
790
- input: __S(44, __c11, 0) as any as S.Schema<ListInstancesRequest>,
791
- output: __S(46, __c11, 2) as any as S.Schema<ListInstances>,
792
- errors: [BadRequest, UnknownStackitError],
874
+ input: __S(52, __c13, 0) as any as S.Schema<ListInstancesRequest>,
875
+ output: __S(54, __c13, 2) as any as S.Schema<ListInstances>,
876
+ errors: [BadRequest],
877
+ serviceErrors: StackitServiceErrors,
793
878
  protocol: StackitProtocol,
794
879
  retry: Retry.Retry,
795
880
  telemetry: TELEMETRY,
@@ -797,16 +882,17 @@ export const listInstances2: API.OperationMethod<
797
882
  }));
798
883
 
799
884
  export type ListRunnerFamiliesError = BadRequest | NotFound | StackitOpError;
800
- /** A list of runner job families that are available for the project. */
885
+ /** A list of runner families that are available for the project. */
801
886
  export const listRunnerFamilies: API.OperationMethod<
802
887
  ListRunnerFamiliesRequest,
803
888
  RunnerFamilyList,
804
889
  ListRunnerFamiliesError,
805
890
  StackitOpContext
806
891
  > = /*@__PURE__*/ API.make(() => ({
807
- input: __S(48, __c12, 0) as any as S.Schema<ListRunnerFamiliesRequest>,
808
- output: __S(51, __c12, 3) as any as S.Schema<RunnerFamilyList>,
809
- errors: [BadRequest, NotFound, UnknownStackitError],
892
+ input: __S(56, __c14, 0) as any as S.Schema<ListRunnerFamiliesRequest>,
893
+ output: __S(59, __c14, 3) as any as S.Schema<RunnerFamilyList>,
894
+ errors: [BadRequest, NotFound],
895
+ serviceErrors: StackitServiceErrors,
810
896
  protocol: StackitProtocol,
811
897
  retry: Retry.Retry,
812
898
  telemetry: TELEMETRY,
@@ -821,9 +907,10 @@ export const listRunnerRuntimes: API.OperationMethod<
821
907
  ListRunnerRuntimesError,
822
908
  StackitOpContext
823
909
  > = /*@__PURE__*/ API.make(() => ({
824
- input: __S(52, __c13, 0) as any as S.Schema<ListRunnerRuntimesRequest>,
825
- output: __S(55, __c13, 3) as any as S.Schema<RunnerRuntimeList>,
826
- errors: [BadRequest, NotFound, UnknownStackitError],
910
+ input: __S(60, __c15, 0) as any as S.Schema<ListRunnerRuntimesRequest>,
911
+ output: __S(63, __c15, 3) as any as S.Schema<RunnerRuntimeList>,
912
+ errors: [BadRequest, NotFound],
913
+ serviceErrors: StackitServiceErrors,
827
914
  protocol: StackitProtocol,
828
915
  retry: Retry.Retry,
829
916
  telemetry: TELEMETRY,
@@ -838,9 +925,10 @@ export const patchAuthentication: API.OperationMethod<
838
925
  PatchAuthenticationError,
839
926
  StackitOpContext
840
927
  > = /*@__PURE__*/ API.make(() => ({
841
- input: __S(56, __c14, 0) as any as S.Schema<PatchAuthenticationRequest>,
842
- output: __S(72, __c18, 0) as any as S.Schema<Authentication>,
843
- errors: [BadRequest, NotFound, UnknownStackitError],
928
+ input: __S(64, __c16, 0) as any as S.Schema<PatchAuthenticationRequest>,
929
+ output: __S(84, __c21, 0) as any as S.Schema<Authentication>,
930
+ errors: [BadRequest, NotFound],
931
+ serviceErrors: StackitServiceErrors,
844
932
  protocol: StackitProtocol,
845
933
  retry: Retry.Retry,
846
934
  telemetry: TELEMETRY,
@@ -855,15 +943,34 @@ export const patchInstance: API.OperationMethod<
855
943
  PatchInstanceError,
856
944
  StackitOpContext
857
945
  > = /*@__PURE__*/ API.make(() => ({
858
- input: __S(60, __c15, 0) as any as S.Schema<PatchInstanceRequest>,
859
- output: __S(83, __c20, 3) as any as S.Schema<Instance>,
860
- errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
946
+ input: __S(68, __c17, 0) as any as S.Schema<PatchInstanceRequest>,
947
+ output: __S(95, __c23, 3) as any as S.Schema<Instance>,
948
+ errors: [BadRequest, NotFound, Conflict],
949
+ serviceErrors: StackitServiceErrors,
861
950
  protocol: StackitProtocol,
862
951
  retry: Retry.Retry,
863
952
  telemetry: TELEMETRY,
864
953
  span: "PatchInstance",
865
954
  }));
866
955
 
956
+ export type PatchRunnerError = BadRequest | NotFound | StackitOpError;
957
+ /** Patch Runner. Patches the Runner information. */
958
+ export const patchRunner: API.OperationMethod<
959
+ PatchRunnerRequest,
960
+ Runner,
961
+ PatchRunnerError,
962
+ StackitOpContext
963
+ > = /*@__PURE__*/ API.make(() => ({
964
+ input: __S(72, __c18, 0) as any as S.Schema<PatchRunnerRequest>,
965
+ output: __S(100, __c25, 0) as any as S.Schema<Runner>,
966
+ errors: [BadRequest, NotFound],
967
+ serviceErrors: StackitServiceErrors,
968
+ protocol: StackitProtocol,
969
+ retry: Retry.Retry,
970
+ telemetry: TELEMETRY,
971
+ span: "PatchRunner",
972
+ }));
973
+
867
974
  export type UpdateUserError = BadRequest | NotFound | Conflict | StackitOpError;
868
975
  /** Update Instance User. Updates the Instance User. */
869
976
  export const updateUser: API.OperationMethod<
@@ -872,9 +979,10 @@ export const updateUser: API.OperationMethod<
872
979
  UpdateUserError,
873
980
  StackitOpContext
874
981
  > = /*@__PURE__*/ API.make(() => ({
875
- input: __S(64, __c16, 0) as any as S.Schema<UpdateUserRequest>,
876
- output: __S(100, __c25, 0) as any as S.Schema<User>,
877
- errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
982
+ input: __S(76, __c19, 0) as any as S.Schema<UpdateUserRequest>,
983
+ output: __S(108, __c27, 0) as any as S.Schema<User>,
984
+ errors: [BadRequest, NotFound, Conflict],
985
+ serviceErrors: StackitServiceErrors,
878
986
  protocol: StackitProtocol,
879
987
  retry: Retry.Retry,
880
988
  telemetry: TELEMETRY,
@@ -883,6 +991,36 @@ export const updateUser: API.OperationMethod<
883
991
 
884
992
  // Schema builders: each runs one schema initializer, on that schema's first use.
885
993
  function __c0(j: number): any {
994
+ switch (j) {
995
+ case 0:
996
+ return S.Array(S.String);
997
+ case 1:
998
+ return S.suspend(() =>
999
+ S.Struct({
1000
+ details: S.optional(S.String),
1001
+ error: S.optional(S.String),
1002
+ }),
1003
+ ).annotate({ identifier: "BadErrorResponse" });
1004
+ case 2:
1005
+ return S.suspend(() =>
1006
+ S.Struct({
1007
+ details: S.optional(__S(0, __c0, 0)),
1008
+ message: S.String,
1009
+ }),
1010
+ ).annotate({ identifier: "GenericErrorResponse" });
1011
+ }
1012
+ }
1013
+ function __c1(j: number): any {
1014
+ switch (j) {
1015
+ case 0:
1016
+ return S.suspend(() =>
1017
+ S.Struct({
1018
+ message: S.String,
1019
+ }),
1020
+ ).annotate({ identifier: "AlreadyExistsError" });
1021
+ }
1022
+ }
1023
+ function __c2(j: number): any {
886
1024
  switch (j) {
887
1025
  case 0:
888
1026
  return S.suspend(() =>
@@ -901,7 +1039,7 @@ function __c0(j: number): any {
901
1039
  ).annotate({ identifier: "DeleteUserRequest" });
902
1040
  }
903
1041
  }
904
- function __c1(j: number): any {
1042
+ function __c3(j: number): any {
905
1043
  switch (j) {
906
1044
  case 0:
907
1045
  return S.suspend(() =>
@@ -920,7 +1058,7 @@ function __c1(j: number): any {
920
1058
  ).annotate({ identifier: "GetAuthenticationRequest" });
921
1059
  }
922
1060
  }
923
- function __c2(j: number): any {
1061
+ function __c4(j: number): any {
924
1062
  switch (j) {
925
1063
  case 0:
926
1064
  return S.suspend(() =>
@@ -938,7 +1076,7 @@ function __c2(j: number): any {
938
1076
  ).annotate({ identifier: "GetInstanceRequest" });
939
1077
  }
940
1078
  }
941
- function __c3(j: number): any {
1079
+ function __c5(j: number): any {
942
1080
  switch (j) {
943
1081
  case 0:
944
1082
  return S.suspend(() =>
@@ -960,13 +1098,13 @@ function __c3(j: number): any {
960
1098
  S.Struct({
961
1099
  itemsCount: S.Number,
962
1100
  offset: S.Number,
963
- organizations: __S(17, __c4, 1),
1101
+ organizations: __S(25, __c6, 1),
964
1102
  totalPages: S.Number,
965
1103
  }),
966
1104
  ).annotate({ identifier: "ListOrganizations" });
967
1105
  }
968
1106
  }
969
- function __c4(j: number): any {
1107
+ function __c6(j: number): any {
970
1108
  switch (j) {
971
1109
  case 0:
972
1110
  return S.suspend(() =>
@@ -975,10 +1113,10 @@ function __c4(j: number): any {
975
1113
  }),
976
1114
  ).annotate({ identifier: "Organization" });
977
1115
  case 1:
978
- return S.Array(__S(16, __c4, 0));
1116
+ return S.Array(__S(24, __c6, 0));
979
1117
  }
980
1118
  }
981
- function __c5(j: number): any {
1119
+ function __c7(j: number): any {
982
1120
  switch (j) {
983
1121
  case 0:
984
1122
  return S.suspend(() =>
@@ -1001,13 +1139,13 @@ function __c5(j: number): any {
1001
1139
  S.Struct({
1002
1140
  itemsCount: S.Number,
1003
1141
  offset: S.Number,
1004
- teams: __S(17, __c4, 1),
1142
+ teams: __S(25, __c6, 1),
1005
1143
  totalPages: S.Number,
1006
1144
  }),
1007
1145
  ).annotate({ identifier: "ListOrganizationTeams" });
1008
1146
  }
1009
1147
  }
1010
- function __c6(j: number): any {
1148
+ function __c8(j: number): any {
1011
1149
  switch (j) {
1012
1150
  case 0:
1013
1151
  return S.suspend(() =>
@@ -1025,7 +1163,7 @@ function __c6(j: number): any {
1025
1163
  ).annotate({ identifier: "GetRunnerRequest" });
1026
1164
  }
1027
1165
  }
1028
- function __c7(j: number): any {
1166
+ function __c9(j: number): any {
1029
1167
  switch (j) {
1030
1168
  case 0:
1031
1169
  return S.suspend(() =>
@@ -1044,7 +1182,7 @@ function __c7(j: number): any {
1044
1182
  ).annotate({ identifier: "GetUserRequest" });
1045
1183
  }
1046
1184
  }
1047
- function __c8(j: number): any {
1185
+ function __c10(j: number): any {
1048
1186
  switch (j) {
1049
1187
  case 0:
1050
1188
  return S.suspend(() =>
@@ -1062,19 +1200,19 @@ function __c8(j: number): any {
1062
1200
  ),
1063
1201
  ).annotate({ identifier: "GetUsersRequest" });
1064
1202
  case 1:
1065
- return S.Array(__S(100, __c25, 0));
1203
+ return S.Array(__S(108, __c27, 0));
1066
1204
  case 2:
1067
1205
  return S.suspend(() =>
1068
1206
  S.Struct({
1069
1207
  itemsCount: S.Number,
1070
1208
  offset: S.Number,
1071
1209
  totalPages: S.Number,
1072
- users: __S(33, __c8, 1),
1210
+ users: __S(41, __c10, 1),
1073
1211
  }),
1074
1212
  ).annotate({ identifier: "ListUsers" });
1075
1213
  }
1076
1214
  }
1077
- function __c9(j: number): any {
1215
+ function __c11(j: number): any {
1078
1216
  switch (j) {
1079
1217
  case 0:
1080
1218
  return S.suspend(() =>
@@ -1091,16 +1229,16 @@ function __c9(j: number): any {
1091
1229
  ),
1092
1230
  ).annotate({ identifier: "ListAuthenticationRequest" });
1093
1231
  case 1:
1094
- return S.Array(__S(72, __c18, 0));
1232
+ return S.Array(__S(84, __c21, 0));
1095
1233
  case 2:
1096
1234
  return S.suspend(() =>
1097
1235
  S.Struct({
1098
- authentication: __S(37, __c9, 1),
1236
+ authentication: __S(45, __c11, 1),
1099
1237
  }),
1100
1238
  ).annotate({ identifier: "AuthenticationList" });
1101
1239
  }
1102
1240
  }
1103
- function __c10(j: number): any {
1241
+ function __c12(j: number): any {
1104
1242
  switch (j) {
1105
1243
  case 0:
1106
1244
  return S.suspend(() =>
@@ -1126,16 +1264,16 @@ function __c10(j: number): any {
1126
1264
  }),
1127
1265
  ).annotate({ identifier: "Flavor" });
1128
1266
  case 2:
1129
- return S.Array(__S(41, __c10, 1));
1267
+ return S.Array(__S(49, __c12, 1));
1130
1268
  case 3:
1131
1269
  return S.suspend(() =>
1132
1270
  S.Struct({
1133
- flavors: __S(42, __c10, 2),
1271
+ flavors: __S(50, __c12, 2),
1134
1272
  }),
1135
1273
  ).annotate({ identifier: "ListFlavors" });
1136
1274
  }
1137
1275
  }
1138
- function __c11(j: number): any {
1276
+ function __c13(j: number): any {
1139
1277
  switch (j) {
1140
1278
  case 0:
1141
1279
  return S.suspend(() =>
@@ -1151,16 +1289,16 @@ function __c11(j: number): any {
1151
1289
  ),
1152
1290
  ).annotate({ identifier: "ListInstancesRequest" });
1153
1291
  case 1:
1154
- return S.Array(__S(83, __c20, 3));
1292
+ return S.Array(__S(95, __c23, 3));
1155
1293
  case 2:
1156
1294
  return S.suspend(() =>
1157
1295
  S.Struct({
1158
- instances: __S(45, __c11, 1),
1296
+ instances: __S(53, __c13, 1),
1159
1297
  }),
1160
1298
  ).annotate({ identifier: "ListInstances" });
1161
1299
  }
1162
1300
  }
1163
- function __c12(j: number): any {
1301
+ function __c14(j: number): any {
1164
1302
  switch (j) {
1165
1303
  case 0:
1166
1304
  return S.suspend(() =>
@@ -1188,16 +1326,16 @@ function __c12(j: number): any {
1188
1326
  }),
1189
1327
  ).annotate({ identifier: "RunnerFamily" });
1190
1328
  case 2:
1191
- return S.Array(__S(49, __c12, 1));
1329
+ return S.Array(__S(57, __c14, 1));
1192
1330
  case 3:
1193
1331
  return S.suspend(() =>
1194
1332
  S.Struct({
1195
- items: __S(50, __c12, 2),
1333
+ items: __S(58, __c14, 2),
1196
1334
  }),
1197
1335
  ).annotate({ identifier: "RunnerFamilyList" });
1198
1336
  }
1199
1337
  }
1200
- function __c13(j: number): any {
1338
+ function __c15(j: number): any {
1201
1339
  switch (j) {
1202
1340
  case 0:
1203
1341
  return S.suspend(() =>
@@ -1224,16 +1362,16 @@ function __c13(j: number): any {
1224
1362
  }),
1225
1363
  ).annotate({ identifier: "RunnerRuntime" });
1226
1364
  case 2:
1227
- return S.Array(__S(53, __c13, 1));
1365
+ return S.Array(__S(61, __c15, 1));
1228
1366
  case 3:
1229
1367
  return S.suspend(() =>
1230
1368
  S.Struct({
1231
- items: __S(54, __c13, 2),
1369
+ items: __S(62, __c15, 2),
1232
1370
  }),
1233
1371
  ).annotate({ identifier: "RunnerRuntimeList" });
1234
1372
  }
1235
1373
  }
1236
- function __c14(j: number): any {
1374
+ function __c16(j: number): any {
1237
1375
  switch (j) {
1238
1376
  case 0:
1239
1377
  return S.suspend(() =>
@@ -1258,17 +1396,17 @@ function __c14(j: number): any {
1258
1396
  ).annotate({ identifier: "PatchAuthenticationRequest" });
1259
1397
  }
1260
1398
  }
1261
- function __c15(j: number): any {
1399
+ function __c17(j: number): any {
1262
1400
  switch (j) {
1263
1401
  case 0:
1264
1402
  return S.suspend(() =>
1265
1403
  S.Struct({
1266
1404
  projectId: S.String.pipe(T.Label()),
1267
1405
  instanceId: S.String.pipe(T.Label()),
1268
- acl: S.optional(S.NullOr(__S(84, __c21, 0))),
1406
+ acl: S.optional(S.NullOr(__S(0, __c0, 0))),
1269
1407
  admin_login: S.optional(S.Boolean),
1270
- feature_toggle: S.optional(__S(81, __c20, 1)),
1271
- labels: S.optional(__S(82, __c20, 2)),
1408
+ feature_toggle: S.optional(__S(93, __c23, 1)),
1409
+ labels: S.optional(__S(94, __c23, 2)),
1272
1410
  }).pipe(
1273
1411
  T.Http({
1274
1412
  method: "PATCH",
@@ -1280,7 +1418,27 @@ function __c15(j: number): any {
1280
1418
  ).annotate({ identifier: "PatchInstanceRequest" });
1281
1419
  }
1282
1420
  }
1283
- function __c16(j: number): any {
1421
+ function __c18(j: number): any {
1422
+ switch (j) {
1423
+ case 0:
1424
+ return S.suspend(() =>
1425
+ S.Struct({
1426
+ projectId: S.String.pipe(T.Label()),
1427
+ instanceId: S.String.pipe(T.Label()),
1428
+ familyName: S.optional(S.String),
1429
+ labels: __S(0, __c0, 0),
1430
+ }).pipe(
1431
+ T.Http({
1432
+ method: "PATCH",
1433
+ uri: "/v1beta/projects/{projectId}/instances/{instanceId}/runner",
1434
+ code: 200,
1435
+ baseUrl: "https://git.api.stackit.cloud",
1436
+ }),
1437
+ ),
1438
+ ).annotate({ identifier: "PatchRunnerRequest" });
1439
+ }
1440
+ }
1441
+ function __c19(j: number): any {
1284
1442
  switch (j) {
1285
1443
  case 0:
1286
1444
  return S.suspend(() =>
@@ -1302,7 +1460,7 @@ function __c16(j: number): any {
1302
1460
  ).annotate({ identifier: "UpdateUserRequest" });
1303
1461
  }
1304
1462
  }
1305
- function __c17(j: number): any {
1463
+ function __c20(j: number): any {
1306
1464
  switch (j) {
1307
1465
  case 0:
1308
1466
  return S.suspend(() =>
@@ -1327,7 +1485,7 @@ function __c17(j: number): any {
1327
1485
  ).annotate({ identifier: "CreateAuthenticationRequest" });
1328
1486
  }
1329
1487
  }
1330
- function __c18(j: number): any {
1488
+ function __c21(j: number): any {
1331
1489
  switch (j) {
1332
1490
  case 0:
1333
1491
  return S.suspend(() =>
@@ -1346,13 +1504,13 @@ function __c18(j: number): any {
1346
1504
  ).annotate({ identifier: "Authentication" });
1347
1505
  }
1348
1506
  }
1349
- function __c19(j: number): any {
1507
+ function __c22(j: number): any {
1350
1508
  switch (j) {
1351
1509
  case 0:
1352
1510
  return S.suspend(() =>
1353
1511
  S.Struct({
1354
1512
  projectId: S.String.pipe(T.Label()),
1355
- acl: S.optional(__S(84, __c21, 0)),
1513
+ acl: S.optional(__S(0, __c0, 0)),
1356
1514
  flavor: S.optional(S.String),
1357
1515
  name: S.String,
1358
1516
  }).pipe(
@@ -1366,7 +1524,7 @@ function __c19(j: number): any {
1366
1524
  ).annotate({ identifier: "CreateInstanceRequest" });
1367
1525
  }
1368
1526
  }
1369
- function __c20(j: number): any {
1527
+ function __c23(j: number): any {
1370
1528
  switch (j) {
1371
1529
  case 0:
1372
1530
  return S.suspend(() =>
@@ -1380,7 +1538,7 @@ function __c20(j: number): any {
1380
1538
  S.Struct({
1381
1539
  default_email_notifications: S.optional(S.NullOr(S.String)),
1382
1540
  enable_local_login: S.optional(S.NullOr(S.Boolean)),
1383
- pipelines: S.optional(__S(80, __c20, 0)),
1541
+ pipelines: S.optional(__S(92, __c23, 0)),
1384
1542
  }),
1385
1543
  ).annotate({ identifier: "FeatureToggle" });
1386
1544
  case 2:
@@ -1388,15 +1546,15 @@ function __c20(j: number): any {
1388
1546
  case 3:
1389
1547
  return S.suspend(() =>
1390
1548
  S.Struct({
1391
- acl: __S(84, __c21, 0),
1549
+ acl: __S(0, __c0, 0),
1392
1550
  admin_login: S.Boolean,
1393
1551
  consumed_disk: S.String,
1394
1552
  consumed_object_storage: S.String,
1395
1553
  created: S.String,
1396
- feature_toggle: __S(81, __c20, 1),
1554
+ feature_toggle: __S(93, __c23, 1),
1397
1555
  flavor: S.String,
1398
1556
  id: S.String,
1399
- labels: S.optional(__S(82, __c20, 2)),
1557
+ labels: S.optional(__S(94, __c23, 2)),
1400
1558
  name: S.String,
1401
1559
  state: S.String,
1402
1560
  url: S.String,
@@ -1405,13 +1563,7 @@ function __c20(j: number): any {
1405
1563
  ).annotate({ identifier: "Instance" });
1406
1564
  }
1407
1565
  }
1408
- function __c21(j: number): any {
1409
- switch (j) {
1410
- case 0:
1411
- return S.Array(S.String);
1412
- }
1413
- }
1414
- function __c22(j: number): any {
1566
+ function __c24(j: number): any {
1415
1567
  switch (j) {
1416
1568
  case 0:
1417
1569
  return S.suspend(() =>
@@ -1419,7 +1571,7 @@ function __c22(j: number): any {
1419
1571
  projectId: S.String.pipe(T.Label()),
1420
1572
  instanceId: S.String.pipe(T.Label()),
1421
1573
  familyName: S.optional(S.String),
1422
- labels: __S(84, __c21, 0),
1574
+ labels: __S(0, __c0, 0),
1423
1575
  }).pipe(
1424
1576
  T.Http({
1425
1577
  method: "POST",
@@ -1431,7 +1583,7 @@ function __c22(j: number): any {
1431
1583
  ).annotate({ identifier: "CreateRunnerRequest" });
1432
1584
  }
1433
1585
  }
1434
- function __c23(j: number): any {
1586
+ function __c25(j: number): any {
1435
1587
  switch (j) {
1436
1588
  case 0:
1437
1589
  return S.suspend(() =>
@@ -1439,13 +1591,13 @@ function __c23(j: number): any {
1439
1591
  created_at: S.String,
1440
1592
  familyName: S.optional(S.String),
1441
1593
  id: S.String,
1442
- labels: __S(84, __c21, 0),
1594
+ labels: __S(0, __c0, 0),
1443
1595
  status: S.String,
1444
1596
  }),
1445
1597
  ).annotate({ identifier: "Runner" });
1446
1598
  }
1447
1599
  }
1448
- function __c24(j: number): any {
1600
+ function __c26(j: number): any {
1449
1601
  switch (j) {
1450
1602
  case 0:
1451
1603
  return S.suspend(() =>
@@ -1468,7 +1620,7 @@ function __c24(j: number): any {
1468
1620
  ).annotate({ identifier: "CreateUserRequest" });
1469
1621
  }
1470
1622
  }
1471
- function __c25(j: number): any {
1623
+ function __c27(j: number): any {
1472
1624
  switch (j) {
1473
1625
  case 0:
1474
1626
  return S.suspend(() =>
@@ -1481,7 +1633,7 @@ function __c25(j: number): any {
1481
1633
  ).annotate({ identifier: "User" });
1482
1634
  }
1483
1635
  }
1484
- function __c26(j: number): any {
1636
+ function __c28(j: number): any {
1485
1637
  switch (j) {
1486
1638
  case 0:
1487
1639
  return S.suspend(() =>
@@ -1500,13 +1652,13 @@ function __c26(j: number): any {
1500
1652
  ).annotate({ identifier: "DeleteAuthenticationRequest" });
1501
1653
  }
1502
1654
  }
1503
- function __c27(j: number): any {
1655
+ function __c29(j: number): any {
1504
1656
  switch (j) {
1505
1657
  case 0:
1506
1658
  return S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteAuthenticationResponse" });
1507
1659
  }
1508
1660
  }
1509
- function __c28(j: number): any {
1661
+ function __c30(j: number): any {
1510
1662
  switch (j) {
1511
1663
  case 0:
1512
1664
  return S.suspend(() =>
@@ -1524,7 +1676,7 @@ function __c28(j: number): any {
1524
1676
  ).annotate({ identifier: "DeleteInstanceRequest" });
1525
1677
  }
1526
1678
  }
1527
- function __c29(j: number): any {
1679
+ function __c31(j: number): any {
1528
1680
  switch (j) {
1529
1681
  case 0:
1530
1682
  return S.suspend(() =>