@distilled.cloud/stackit 1.0.0-rc.15 → 1.0.0-rc.17

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 (346) hide show
  1. package/lib/.lazy.json +1 -0
  2. package/lib/_bundle/lazy.js +4 -0
  3. package/lib/_bundle/sdk.js +2 -0
  4. package/lib/_bundle/sdk.js.map +1 -0
  5. package/lib/credentials.d.ts +2 -2
  6. package/lib/credentials.d.ts.map +1 -1
  7. package/lib/credentials.js +1 -49
  8. package/lib/errors.d.ts +13 -13
  9. package/lib/errors.d.ts.map +1 -1
  10. package/lib/errors.js +1 -26
  11. package/lib/index.d.ts +2 -2
  12. package/lib/index.js +1 -24
  13. package/lib/index.lazy.js +7 -0
  14. package/lib/pagination.d.ts +1 -1
  15. package/lib/pagination.js +1 -45
  16. package/lib/protocol.d.ts +3 -3
  17. package/lib/protocol.d.ts.map +1 -1
  18. package/lib/protocol.js +1 -147
  19. package/lib/retry.d.ts +1 -1
  20. package/lib/retry.d.ts.map +1 -1
  21. package/lib/retry.js +1 -31
  22. package/lib/services/alb.d.ts +10 -87
  23. package/lib/services/alb.d.ts.map +1 -1
  24. package/lib/services/alb.js +28 -512
  25. package/lib/services/alb.js.map +1 -1
  26. package/lib/services/alb_waf.d.ts +9 -82
  27. package/lib/services/alb_waf.d.ts.map +1 -1
  28. package/lib/services/alb_waf.js +33 -520
  29. package/lib/services/alb_waf.js.map +1 -1
  30. package/lib/services/authorization.d.ts +5 -47
  31. package/lib/services/authorization.d.ts.map +1 -1
  32. package/lib/services/authorization.js +1 -322
  33. package/lib/services/authorization.js.map +1 -1
  34. package/lib/services/automation.d.ts +7 -47
  35. package/lib/services/automation.d.ts.map +1 -1
  36. package/lib/services/automation.js +1 -362
  37. package/lib/services/automation.js.map +1 -1
  38. package/lib/services/cdn.d.ts +8 -220
  39. package/lib/services/cdn.d.ts.map +1 -1
  40. package/lib/services/cdn.js +31 -905
  41. package/lib/services/cdn.js.map +1 -1
  42. package/lib/services/certificates.d.ts +8 -27
  43. package/lib/services/certificates.d.ts.map +1 -1
  44. package/lib/services/certificates.js +1 -178
  45. package/lib/services/certificates.js.map +1 -1
  46. package/lib/services/cost.d.ts +10 -37
  47. package/lib/services/cost.d.ts.map +1 -1
  48. package/lib/services/cost.js +1 -176
  49. package/lib/services/cost.js.map +1 -1
  50. package/lib/services/dns.d.ts +9 -104
  51. package/lib/services/dns.d.ts.map +1 -1
  52. package/lib/services/dns.js +40 -725
  53. package/lib/services/dns.js.map +1 -1
  54. package/lib/services/dremio.d.ts +8 -50
  55. package/lib/services/dremio.d.ts.map +1 -1
  56. package/lib/services/dremio.js +1 -316
  57. package/lib/services/dremio.js.map +1 -1
  58. package/lib/services/edge.d.ts +7 -40
  59. package/lib/services/edge.d.ts.map +1 -1
  60. package/lib/services/edge.js +1 -356
  61. package/lib/services/edge.js.map +1 -1
  62. package/lib/services/functions.d.ts +1 -48
  63. package/lib/services/functions.d.ts.map +1 -1
  64. package/lib/services/functions.js +1 -398
  65. package/lib/services/functions.js.map +1 -1
  66. package/lib/services/git.d.ts +8 -61
  67. package/lib/services/git.d.ts.map +1 -1
  68. package/lib/services/git.js +35 -519
  69. package/lib/services/git.js.map +1 -1
  70. package/lib/services/iaas.d.ts +9 -337
  71. package/lib/services/iaas.d.ts.map +1 -1
  72. package/lib/services/iaas.js +181 -3542
  73. package/lib/services/iaas.js.map +1 -1
  74. package/lib/services/index.js +0 -2
  75. package/lib/services/intake.d.ts +8 -75
  76. package/lib/services/intake.d.ts.map +1 -1
  77. package/lib/services/intake.js +29 -474
  78. package/lib/services/intake.js.map +1 -1
  79. package/lib/services/kms.d.ts +9 -92
  80. package/lib/services/kms.d.ts.map +1 -1
  81. package/lib/services/kms.js +41 -662
  82. package/lib/services/kms.js.map +1 -1
  83. package/lib/services/lb_ip_lists.d.ts +9 -25
  84. package/lib/services/lb_ip_lists.d.ts.map +1 -1
  85. package/lib/services/lb_ip_lists.js +1 -153
  86. package/lib/services/lb_ip_lists.js.map +1 -1
  87. package/lib/services/load_balancer.d.ts +10 -81
  88. package/lib/services/load_balancer.d.ts.map +1 -1
  89. package/lib/services/load_balancer.js +29 -496
  90. package/lib/services/load_balancer.js.map +1 -1
  91. package/lib/services/logme.d.ts +8 -69
  92. package/lib/services/logme.d.ts.map +1 -1
  93. package/lib/services/logme.js +33 -573
  94. package/lib/services/logme.js.map +1 -1
  95. package/lib/services/logs.d.ts +8 -64
  96. package/lib/services/logs.d.ts.map +1 -1
  97. package/lib/services/logs.js +34 -474
  98. package/lib/services/logs.js.map +1 -1
  99. package/lib/services/mariadb.d.ts +8 -65
  100. package/lib/services/mariadb.d.ts.map +1 -1
  101. package/lib/services/mariadb.js +34 -550
  102. package/lib/services/mariadb.js.map +1 -1
  103. package/lib/services/model_experiments.d.ts +9 -48
  104. package/lib/services/model_experiments.d.ts.map +1 -1
  105. package/lib/services/model_experiments.js +1 -335
  106. package/lib/services/model_experiments.js.map +1 -1
  107. package/lib/services/model_serving.d.ts +7 -47
  108. package/lib/services/model_serving.d.ts.map +1 -1
  109. package/lib/services/model_serving.js +1 -286
  110. package/lib/services/model_serving.js.map +1 -1
  111. package/lib/services/mongodb_flex.d.ts +8 -137
  112. package/lib/services/mongodb_flex.d.ts.map +1 -1
  113. package/lib/services/mongodb_flex.js +42 -802
  114. package/lib/services/mongodb_flex.js.map +1 -1
  115. package/lib/services/object_storage.d.ts +12 -59
  116. package/lib/services/object_storage.d.ts.map +1 -1
  117. package/lib/services/object_storage.js +38 -539
  118. package/lib/services/object_storage.js.map +1 -1
  119. package/lib/services/observability.d.ts +8 -407
  120. package/lib/services/observability.d.ts.map +1 -1
  121. package/lib/services/observability.js +159 -3157
  122. package/lib/services/observability.js.map +1 -1
  123. package/lib/services/opensearch.d.ts +8 -71
  124. package/lib/services/opensearch.d.ts.map +1 -1
  125. package/lib/services/opensearch.js +34 -562
  126. package/lib/services/opensearch.js.map +1 -1
  127. package/lib/services/pim.d.ts +12 -108
  128. package/lib/services/pim.d.ts.map +1 -1
  129. package/lib/services/pim.js +31 -735
  130. package/lib/services/pim.js.map +1 -1
  131. package/lib/services/postgres_flex.d.ts +14 -136
  132. package/lib/services/postgres_flex.d.ts.map +1 -1
  133. package/lib/services/postgres_flex.js +47 -852
  134. package/lib/services/postgres_flex.js.map +1 -1
  135. package/lib/services/pubsub.d.ts +11 -73
  136. package/lib/services/pubsub.d.ts.map +1 -1
  137. package/lib/services/pubsub.js +37 -518
  138. package/lib/services/pubsub.js.map +1 -1
  139. package/lib/services/rabbitmq.d.ts +8 -76
  140. package/lib/services/rabbitmq.d.ts.map +1 -1
  141. package/lib/services/rabbitmq.js +35 -573
  142. package/lib/services/rabbitmq.js.map +1 -1
  143. package/lib/services/registry.d.ts +10 -28
  144. package/lib/services/registry.d.ts.map +1 -1
  145. package/lib/services/registry.js +1 -197
  146. package/lib/services/registry.js.map +1 -1
  147. package/lib/services/resource_manager.d.ts +9 -61
  148. package/lib/services/resource_manager.d.ts.map +1 -1
  149. package/lib/services/resource_manager.js +36 -472
  150. package/lib/services/resource_manager.js.map +1 -1
  151. package/lib/services/run_command.d.ts +5 -28
  152. package/lib/services/run_command.d.ts.map +1 -1
  153. package/lib/services/run_command.js +1 -184
  154. package/lib/services/run_command.js.map +1 -1
  155. package/lib/services/sca.d.ts +8 -79
  156. package/lib/services/sca.d.ts.map +1 -1
  157. package/lib/services/sca.js +25 -444
  158. package/lib/services/sca.js.map +1 -1
  159. package/lib/services/scf.d.ts +8 -64
  160. package/lib/services/scf.d.ts.map +1 -1
  161. package/lib/services/scf.js +40 -669
  162. package/lib/services/scf.js.map +1 -1
  163. package/lib/services/secrets_manager.d.ts +8 -61
  164. package/lib/services/secrets_manager.d.ts.map +1 -1
  165. package/lib/services/secrets_manager.js +42 -612
  166. package/lib/services/secrets_manager.js.map +1 -1
  167. package/lib/services/server_backup.d.ts +7 -50
  168. package/lib/services/server_backup.d.ts.map +1 -1
  169. package/lib/services/server_backup.js +29 -453
  170. package/lib/services/server_backup.js.map +1 -1
  171. package/lib/services/server_update.d.ts +7 -35
  172. package/lib/services/server_update.d.ts.map +1 -1
  173. package/lib/services/server_update.js +1 -351
  174. package/lib/services/server_update.js.map +1 -1
  175. package/lib/services/service_account.d.ts +10 -68
  176. package/lib/services/service_account.d.ts.map +1 -1
  177. package/lib/services/service_account.js +30 -505
  178. package/lib/services/service_account.js.map +1 -1
  179. package/lib/services/service_enablement.d.ts +7 -29
  180. package/lib/services/service_enablement.d.ts.map +1 -1
  181. package/lib/services/service_enablement.js +1 -156
  182. package/lib/services/service_enablement.js.map +1 -1
  183. package/lib/services/sfs.d.ts +4 -96
  184. package/lib/services/sfs.d.ts.map +1 -1
  185. package/lib/services/sfs.js +46 -789
  186. package/lib/services/sfs.js.map +1 -1
  187. package/lib/services/ske.d.ts +9 -108
  188. package/lib/services/ske.d.ts.map +1 -1
  189. package/lib/services/ske.js +26 -557
  190. package/lib/services/ske.js.map +1 -1
  191. package/lib/services/sqlserverflex.d.ts +11 -152
  192. package/lib/services/sqlserverflex.d.ts.map +1 -1
  193. package/lib/services/sqlserverflex.js +46 -935
  194. package/lib/services/sqlserverflex.js.map +1 -1
  195. package/lib/services/stackit_marketplace.d.ts +9 -38
  196. package/lib/services/stackit_marketplace.d.ts.map +1 -1
  197. package/lib/services/stackit_marketplace.js +26 -378
  198. package/lib/services/stackit_marketplace.js.map +1 -1
  199. package/lib/services/telemetry_link.d.ts +8 -61
  200. package/lib/services/telemetry_link.d.ts.map +1 -1
  201. package/lib/services/telemetry_link.js +34 -531
  202. package/lib/services/telemetry_link.js.map +1 -1
  203. package/lib/services/telemetry_router.d.ts +8 -72
  204. package/lib/services/telemetry_router.d.ts.map +1 -1
  205. package/lib/services/telemetry_router.js +29 -483
  206. package/lib/services/telemetry_router.js.map +1 -1
  207. package/lib/services/ufw.d.ts +7 -42
  208. package/lib/services/ufw.d.ts.map +1 -1
  209. package/lib/services/ufw.js +1 -278
  210. package/lib/services/ufw.js.map +1 -1
  211. package/lib/services/valkey.d.ts +8 -68
  212. package/lib/services/valkey.d.ts.map +1 -1
  213. package/lib/services/valkey.js +34 -566
  214. package/lib/services/valkey.js.map +1 -1
  215. package/lib/services/vpn.d.ts +21 -186
  216. package/lib/services/vpn.d.ts.map +1 -1
  217. package/lib/services/vpn.js +43 -930
  218. package/lib/services/vpn.js.map +1 -1
  219. package/lib/services/workflows.d.ts +15 -84
  220. package/lib/services/workflows.d.ts.map +1 -1
  221. package/lib/services/workflows.js +27 -507
  222. package/lib/services/workflows.js.map +1 -1
  223. package/lib/services.lazy/alb.js +4 -0
  224. package/lib/services.lazy/alb_waf.js +4 -0
  225. package/lib/services.lazy/authorization.js +1 -0
  226. package/lib/services.lazy/automation.js +1 -0
  227. package/lib/services.lazy/cdn.js +4 -0
  228. package/lib/services.lazy/certificates.js +1 -0
  229. package/lib/services.lazy/cost.js +1 -0
  230. package/lib/services.lazy/dns.js +4 -0
  231. package/lib/services.lazy/dremio.js +1 -0
  232. package/lib/services.lazy/edge.js +1 -0
  233. package/lib/services.lazy/functions.js +1 -0
  234. package/lib/services.lazy/git.js +4 -0
  235. package/lib/services.lazy/iaas.js +4 -0
  236. package/lib/services.lazy/index.js +3 -0
  237. package/lib/services.lazy/intake.js +4 -0
  238. package/lib/services.lazy/kms.js +4 -0
  239. package/lib/services.lazy/lb_ip_lists.js +1 -0
  240. package/lib/services.lazy/load_balancer.js +4 -0
  241. package/lib/services.lazy/logme.js +4 -0
  242. package/lib/services.lazy/logs.js +4 -0
  243. package/lib/services.lazy/mariadb.js +4 -0
  244. package/lib/services.lazy/model_experiments.js +1 -0
  245. package/lib/services.lazy/model_serving.js +1 -0
  246. package/lib/services.lazy/mongodb_flex.js +4 -0
  247. package/lib/services.lazy/object_storage.js +4 -0
  248. package/lib/services.lazy/observability.js +4 -0
  249. package/lib/services.lazy/opensearch.js +4 -0
  250. package/lib/services.lazy/pim.js +4 -0
  251. package/lib/services.lazy/postgres_flex.js +4 -0
  252. package/lib/services.lazy/pubsub.js +4 -0
  253. package/lib/services.lazy/rabbitmq.js +4 -0
  254. package/lib/services.lazy/registry.js +1 -0
  255. package/lib/services.lazy/resource_manager.js +4 -0
  256. package/lib/services.lazy/run_command.js +1 -0
  257. package/lib/services.lazy/sca.js +4 -0
  258. package/lib/services.lazy/scf.js +4 -0
  259. package/lib/services.lazy/secrets_manager.js +4 -0
  260. package/lib/services.lazy/server_backup.js +4 -0
  261. package/lib/services.lazy/server_update.js +1 -0
  262. package/lib/services.lazy/service_account.js +4 -0
  263. package/lib/services.lazy/service_enablement.js +1 -0
  264. package/lib/services.lazy/sfs.js +4 -0
  265. package/lib/services.lazy/ske.js +4 -0
  266. package/lib/services.lazy/sqlserverflex.js +4 -0
  267. package/lib/services.lazy/stackit_marketplace.js +4 -0
  268. package/lib/services.lazy/telemetry_link.js +4 -0
  269. package/lib/services.lazy/telemetry_router.js +4 -0
  270. package/lib/services.lazy/ufw.js +1 -0
  271. package/lib/services.lazy/valkey.js +4 -0
  272. package/lib/services.lazy/vpn.js +4 -0
  273. package/lib/services.lazy/workflows.js +4 -0
  274. package/lib/traits.d.ts +1 -1
  275. package/lib/traits.js +1 -15
  276. package/package.json +9 -7
  277. package/src/credentials.ts +21 -18
  278. package/src/errors.ts +10 -14
  279. package/src/index.ts +2 -2
  280. package/src/pagination.ts +2 -2
  281. package/src/protocol.ts +12 -9
  282. package/src/retry.ts +6 -4
  283. package/src/services/alb.ts +599 -655
  284. package/src/services/alb_waf.ts +597 -637
  285. package/src/services/authorization.ts +400 -383
  286. package/src/services/automation.ts +422 -405
  287. package/src/services/cdn.ts +817 -1375
  288. package/src/services/certificates.ts +209 -190
  289. package/src/services/cost.ts +100 -207
  290. package/src/services/dns.ts +793 -833
  291. package/src/services/dremio.ts +356 -349
  292. package/src/services/edge.ts +406 -366
  293. package/src/services/functions.ts +465 -463
  294. package/src/services/git.ts +602 -547
  295. package/src/services/iaas.ts +3931 -3821
  296. package/src/services/intake.ts +521 -549
  297. package/src/services/kms.ts +715 -692
  298. package/src/services/lb_ip_lists.ts +173 -152
  299. package/src/services/load_balancer.ts +576 -619
  300. package/src/services/logme.ts +696 -641
  301. package/src/services/logs.ts +510 -493
  302. package/src/services/mariadb.ts +671 -604
  303. package/src/services/model_experiments.ts +343 -356
  304. package/src/services/model_serving.ts +337 -328
  305. package/src/services/mongodb_flex.ts +955 -1007
  306. package/src/services/object_storage.ts +614 -557
  307. package/src/services/observability.ts +3469 -3866
  308. package/src/services/opensearch.ts +679 -628
  309. package/src/services/pim.ts +672 -909
  310. package/src/services/postgres_flex.ts +966 -986
  311. package/src/services/pubsub.ts +524 -546
  312. package/src/services/rabbitmq.ts +693 -654
  313. package/src/services/registry.ts +227 -194
  314. package/src/services/resource_manager.ts +520 -517
  315. package/src/services/run_command.ts +219 -211
  316. package/src/services/sca.ts +543 -570
  317. package/src/services/scf.ts +790 -716
  318. package/src/services/secrets_manager.ts +707 -622
  319. package/src/services/server_backup.ts +490 -475
  320. package/src/services/server_update.ts +353 -356
  321. package/src/services/service_account.ts +515 -553
  322. package/src/services/service_enablement.ts +162 -166
  323. package/src/services/sfs.ts +879 -958
  324. package/src/services/ske.ts +694 -769
  325. package/src/services/sqlserverflex.ts +1042 -1117
  326. package/src/services/stackit_marketplace.ts +377 -372
  327. package/src/services/telemetry_link.ts +530 -531
  328. package/src/services/telemetry_router.ts +509 -534
  329. package/src/services/ufw.ts +305 -307
  330. package/src/services/valkey.ts +684 -629
  331. package/src/services/vpn.ts +935 -1195
  332. package/src/services/workflows.ts +426 -586
  333. package/src/traits.ts +1 -1
  334. package/lib/credentials.js.map +0 -1
  335. package/lib/errors.js.map +0 -1
  336. package/lib/pagination.js.map +0 -1
  337. package/lib/protocol.js.map +0 -1
  338. package/lib/protocol.test.d.ts +0 -2
  339. package/lib/protocol.test.d.ts.map +0 -1
  340. package/lib/protocol.test.js +0 -181
  341. package/lib/protocol.test.js.map +0 -1
  342. package/lib/retry.js.map +0 -1
  343. package/lib/services/index.js.map +0 -1
  344. package/lib/traits.js.map +0 -1
  345. package/src/protocol.test.ts +0 -304
  346. /package/lib/{index.js.map → index.lazy.js.map} +0 -0
@@ -1,663 +1,42 @@
1
- import * as API from "@distilled.cloud/core/api";
2
- import * as C from "@distilled.cloud/core/category";
3
- // AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-stackit). Do not edit.
4
- import * as S from "@distilled.cloud/core/schema";
5
- import { UnknownStackitError } from "../errors.js";
6
- import { StackitProtocol } from "../protocol.js";
7
- import * as Retry from "../retry.js";
8
- import * as T from "../traits.js";
9
- export class BadRequest extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
10
- /*@__PURE__*/ S.TaggedError()("BadRequest", {
11
- code: S.Number,
12
- message: S.String,
13
- }).pipe(C.withBadRequestError), [{ status: 400 }]) {
14
- }
15
- export class Conflict extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
16
- /*@__PURE__*/ S.TaggedError()("Conflict", {
17
- code: S.Number,
18
- message: S.String,
19
- }).pipe(C.withConflictError), [{ status: 409 }]) {
20
- }
21
- export class Forbidden extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
22
- /*@__PURE__*/ S.TaggedError()("Forbidden", {
23
- code: S.Number,
24
- message: S.String,
25
- }).pipe(C.withAuthError), [{ status: 403 }]) {
26
- }
27
- export class NotFound extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
28
- /*@__PURE__*/ S.TaggedError()("NotFound", {
29
- code: S.Number,
30
- message: S.String,
31
- }).pipe(C.withBadRequestError), [{ status: 404 }]) {
32
- }
33
- export const CreateKeyRequestRegionId = S.String;
34
- export const AccessScope = S.String;
35
- export const Algorithm = S.String;
36
- export const Purpose = S.String;
37
- export const CreateKeyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
38
- projectId: S.String.pipe(T.Label()),
39
- regionId: CreateKeyRequestRegionId.pipe(T.Label()),
40
- keyRingId: S.String.pipe(T.Label()),
41
- access_scope: S.optional(AccessScope),
42
- algorithm: Algorithm,
43
- description: S.optional(S.String),
44
- displayName: S.String,
45
- importOnly: S.optional(S.Boolean),
46
- protection: S.String,
47
- purpose: Purpose,
48
- }).pipe(T.Http({
49
- method: "POST",
50
- uri: "/v1/projects/{projectId}/regions/{regionId}/keyrings/{keyRingId}/keys",
51
- code: 200,
52
- baseUrl: "https://kms.api.stackit.cloud",
53
- }))).annotate({ identifier: "CreateKeyRequest" });
54
- export const KeyState = S.String;
55
- export const Key = /*@__PURE__*/ S.suspend(() => S.Struct({
56
- access_scope: AccessScope,
57
- algorithm: Algorithm,
58
- createdAt: S.String,
59
- deletionDate: S.optional(S.String),
60
- description: S.optional(S.String),
61
- displayName: S.String,
62
- id: S.String,
63
- importOnly: S.Boolean,
64
- keyRingId: S.String,
65
- protection: S.String,
66
- purpose: Purpose,
67
- state: KeyState,
68
- })).annotate({ identifier: "Key" });
69
- export const CreateKeyRingRequestRegionId = S.String;
70
- export const CreateKeyRingRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
71
- projectId: S.String.pipe(T.Label()),
72
- regionId: CreateKeyRingRequestRegionId.pipe(T.Label()),
73
- description: S.optional(S.String),
74
- displayName: S.String,
75
- }).pipe(T.Http({
76
- method: "POST",
77
- uri: "/v1/projects/{projectId}/regions/{regionId}/keyrings",
78
- code: 200,
79
- baseUrl: "https://kms.api.stackit.cloud",
80
- }))).annotate({ identifier: "CreateKeyRingRequest" });
81
- export const KeyRingState = S.String;
82
- export const KeyRing = /*@__PURE__*/ S.suspend(() => S.Struct({
83
- createdAt: S.String,
84
- description: S.optional(S.String),
85
- displayName: S.String,
86
- id: S.String,
87
- state: KeyRingState,
88
- })).annotate({ identifier: "KeyRing" });
89
- export const CreateWrappingKeyRequestRegionId = S.String;
90
- export const WrappingAlgorithm = S.String;
91
- export const WrappingPurpose = S.String;
92
- export const CreateWrappingKeyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
93
- projectId: S.String.pipe(T.Label()),
94
- regionId: CreateWrappingKeyRequestRegionId.pipe(T.Label()),
95
- keyRingId: S.String.pipe(T.Label()),
96
- access_scope: S.optional(AccessScope),
97
- algorithm: WrappingAlgorithm,
98
- description: S.optional(S.String),
99
- displayName: S.String,
100
- protection: S.String,
101
- purpose: WrappingPurpose,
102
- }).pipe(T.Http({
103
- method: "POST",
104
- uri: "/v1/projects/{projectId}/regions/{regionId}/keyrings/{keyRingId}/wrappingkeys",
105
- code: 200,
106
- baseUrl: "https://kms.api.stackit.cloud",
107
- }))).annotate({ identifier: "CreateWrappingKeyRequest" });
108
- export const WrappingKeyState = S.String;
109
- export const WrappingKey = /*@__PURE__*/ S.suspend(() => S.Struct({
110
- access_scope: AccessScope,
111
- algorithm: WrappingAlgorithm,
112
- createdAt: S.String,
113
- description: S.optional(S.String),
114
- displayName: S.String,
115
- expiresAt: S.String,
116
- id: S.String,
117
- keyRingId: S.String,
118
- protection: S.String,
119
- publicKey: S.optional(S.String),
120
- purpose: WrappingPurpose,
121
- state: WrappingKeyState,
122
- })).annotate({ identifier: "WrappingKey" });
123
- export const DecryptRequestRegionId = S.String;
124
- export const DecryptRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
125
- projectId: S.String.pipe(T.Label()),
126
- regionId: DecryptRequestRegionId.pipe(T.Label()),
127
- keyRingId: S.String.pipe(T.Label()),
128
- keyId: S.String.pipe(T.Label()),
129
- versionNumber: S.Number.pipe(T.Label()),
130
- data: S.String,
131
- }).pipe(T.Http({
132
- method: "POST",
133
- uri: "/v1/projects/{projectId}/regions/{regionId}/keyrings/{keyRingId}/keys/{keyId}/versions/{versionNumber}/decrypt",
134
- code: 200,
135
- baseUrl: "https://kms.api.stackit.cloud",
136
- }))).annotate({ identifier: "DecryptRequest" });
137
- export const DecryptedData = /*@__PURE__*/ S.suspend(() => S.Struct({
138
- data: S.String,
139
- })).annotate({ identifier: "DecryptedData" });
140
- export const DeleteKeyRequestRegionId = S.String;
141
- export const DeleteKeyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
142
- projectId: S.String.pipe(T.Label()),
143
- regionId: DeleteKeyRequestRegionId.pipe(T.Label()),
144
- keyRingId: S.String.pipe(T.Label()),
145
- keyId: S.String.pipe(T.Label()),
146
- }).pipe(T.Http({
147
- method: "DELETE",
148
- uri: "/v1/projects/{projectId}/regions/{regionId}/keyrings/{keyRingId}/keys/{keyId}",
149
- code: 200,
150
- baseUrl: "https://kms.api.stackit.cloud",
151
- }))).annotate({ identifier: "DeleteKeyRequest" });
152
- export const DeleteKeyResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
153
- identifier: "DeleteKeyResponse",
154
- });
155
- export const DeleteKeyRingRequestRegionId = S.String;
156
- export const DeleteKeyRingRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
157
- projectId: S.String.pipe(T.Label()),
158
- regionId: DeleteKeyRingRequestRegionId.pipe(T.Label()),
159
- keyRingId: S.String.pipe(T.Label()),
160
- }).pipe(T.Http({
161
- method: "DELETE",
162
- uri: "/v1/projects/{projectId}/regions/{regionId}/keyrings/{keyRingId}",
163
- code: 200,
164
- baseUrl: "https://kms.api.stackit.cloud",
165
- }))).annotate({ identifier: "DeleteKeyRingRequest" });
166
- export const DeleteKeyRingResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
167
- identifier: "DeleteKeyRingResponse",
168
- });
169
- export const DeleteWrappingKeyRequestRegionId = S.String;
170
- export const DeleteWrappingKeyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
171
- projectId: S.String.pipe(T.Label()),
172
- regionId: DeleteWrappingKeyRequestRegionId.pipe(T.Label()),
173
- keyRingId: S.String.pipe(T.Label()),
174
- wrappingKeyId: S.String.pipe(T.Label()),
175
- }).pipe(T.Http({
176
- method: "DELETE",
177
- uri: "/v1/projects/{projectId}/regions/{regionId}/keyrings/{keyRingId}/wrappingkeys/{wrappingKeyId}",
178
- code: 200,
179
- baseUrl: "https://kms.api.stackit.cloud",
180
- }))).annotate({ identifier: "DeleteWrappingKeyRequest" });
181
- export const DeleteWrappingKeyResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
182
- identifier: "DeleteWrappingKeyResponse",
183
- });
184
- export const DestroyVersionRequestRegionId = S.String;
185
- export const DestroyVersionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
186
- projectId: S.String.pipe(T.Label()),
187
- regionId: DestroyVersionRequestRegionId.pipe(T.Label()),
188
- keyRingId: S.String.pipe(T.Label()),
189
- keyId: S.String.pipe(T.Label()),
190
- versionNumber: S.Number.pipe(T.Label()),
191
- }).pipe(T.Http({
192
- method: "POST",
193
- uri: "/v1/projects/{projectId}/regions/{regionId}/keyrings/{keyRingId}/keys/{keyId}/versions/{versionNumber}/destroy",
194
- code: 200,
195
- baseUrl: "https://kms.api.stackit.cloud",
196
- }))).annotate({ identifier: "DestroyVersionRequest" });
197
- export const DestroyVersionResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
198
- identifier: "DestroyVersionResponse",
199
- });
200
- export const DisableVersionRequestRegionId = S.String;
201
- export const DisableVersionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
202
- projectId: S.String.pipe(T.Label()),
203
- regionId: DisableVersionRequestRegionId.pipe(T.Label()),
204
- keyRingId: S.String.pipe(T.Label()),
205
- keyId: S.String.pipe(T.Label()),
206
- versionNumber: S.Number.pipe(T.Label()),
207
- }).pipe(T.Http({
208
- method: "POST",
209
- uri: "/v1/projects/{projectId}/regions/{regionId}/keyrings/{keyRingId}/keys/{keyId}/versions/{versionNumber}/disable",
210
- code: 200,
211
- baseUrl: "https://kms.api.stackit.cloud",
212
- }))).annotate({ identifier: "DisableVersionRequest" });
213
- export const DisableVersionResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
214
- identifier: "DisableVersionResponse",
215
- });
216
- export const EnableVersionRequestRegionId = S.String;
217
- export const EnableVersionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
218
- projectId: S.String.pipe(T.Label()),
219
- regionId: EnableVersionRequestRegionId.pipe(T.Label()),
220
- keyRingId: S.String.pipe(T.Label()),
221
- keyId: S.String.pipe(T.Label()),
222
- versionNumber: S.Number.pipe(T.Label()),
223
- }).pipe(T.Http({
224
- method: "POST",
225
- uri: "/v1/projects/{projectId}/regions/{regionId}/keyrings/{keyRingId}/keys/{keyId}/versions/{versionNumber}/enable",
226
- code: 200,
227
- baseUrl: "https://kms.api.stackit.cloud",
228
- }))).annotate({ identifier: "EnableVersionRequest" });
229
- export const EnableVersionResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
230
- identifier: "EnableVersionResponse",
231
- });
232
- export const EncryptRequestRegionId = S.String;
233
- export const EncryptRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
234
- projectId: S.String.pipe(T.Label()),
235
- regionId: EncryptRequestRegionId.pipe(T.Label()),
236
- keyRingId: S.String.pipe(T.Label()),
237
- keyId: S.String.pipe(T.Label()),
238
- versionNumber: S.Number.pipe(T.Label()),
239
- data: S.String,
240
- }).pipe(T.Http({
241
- method: "POST",
242
- uri: "/v1/projects/{projectId}/regions/{regionId}/keyrings/{keyRingId}/keys/{keyId}/versions/{versionNumber}/encrypt",
243
- code: 200,
244
- baseUrl: "https://kms.api.stackit.cloud",
245
- }))).annotate({ identifier: "EncryptRequest" });
246
- export const EncryptedData = /*@__PURE__*/ S.suspend(() => S.Struct({
247
- data: S.String,
248
- })).annotate({ identifier: "EncryptedData" });
249
- export const GetKeyRequestRegionId = S.String;
250
- export const GetKeyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
251
- projectId: S.String.pipe(T.Label()),
252
- regionId: GetKeyRequestRegionId.pipe(T.Label()),
253
- keyRingId: S.String.pipe(T.Label()),
254
- keyId: S.String.pipe(T.Label()),
255
- }).pipe(T.Http({
256
- method: "GET",
257
- uri: "/v1/projects/{projectId}/regions/{regionId}/keyrings/{keyRingId}/keys/{keyId}",
258
- code: 200,
259
- baseUrl: "https://kms.api.stackit.cloud",
260
- }))).annotate({ identifier: "GetKeyRequest" });
261
- export const GetKeyRingRequestRegionId = S.String;
262
- export const GetKeyRingRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
263
- projectId: S.String.pipe(T.Label()),
264
- regionId: GetKeyRingRequestRegionId.pipe(T.Label()),
265
- keyRingId: S.String.pipe(T.Label()),
266
- }).pipe(T.Http({
267
- method: "GET",
268
- uri: "/v1/projects/{projectId}/regions/{regionId}/keyrings/{keyRingId}",
269
- code: 200,
270
- baseUrl: "https://kms.api.stackit.cloud",
271
- }))).annotate({ identifier: "GetKeyRingRequest" });
272
- export const GetVersionRequestRegionId = S.String;
273
- export const GetVersionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
274
- projectId: S.String.pipe(T.Label()),
275
- regionId: GetVersionRequestRegionId.pipe(T.Label()),
276
- keyRingId: S.String.pipe(T.Label()),
277
- keyId: S.String.pipe(T.Label()),
278
- versionNumber: S.Number.pipe(T.Label()),
279
- }).pipe(T.Http({
280
- method: "GET",
281
- uri: "/v1/projects/{projectId}/regions/{regionId}/keyrings/{keyRingId}/keys/{keyId}/versions/{versionNumber}",
282
- code: 200,
283
- baseUrl: "https://kms.api.stackit.cloud",
284
- }))).annotate({ identifier: "GetVersionRequest" });
285
- export const VersionState = S.String;
286
- export const Version = /*@__PURE__*/ S.suspend(() => S.Struct({
287
- createdAt: S.String,
288
- destroyDate: S.optional(S.String),
289
- disabled: S.Boolean,
290
- keyId: S.String,
291
- keyRingId: S.String,
292
- number: S.Number,
293
- publicKey: S.optional(S.String),
294
- state: VersionState,
295
- })).annotate({ identifier: "Version" });
296
- export const GetWrappingKeyRequestRegionId = S.String;
297
- export const GetWrappingKeyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
298
- projectId: S.String.pipe(T.Label()),
299
- regionId: GetWrappingKeyRequestRegionId.pipe(T.Label()),
300
- keyRingId: S.String.pipe(T.Label()),
301
- wrappingKeyId: S.String.pipe(T.Label()),
302
- }).pipe(T.Http({
303
- method: "GET",
304
- uri: "/v1/projects/{projectId}/regions/{regionId}/keyrings/{keyRingId}/wrappingkeys/{wrappingKeyId}",
305
- code: 200,
306
- baseUrl: "https://kms.api.stackit.cloud",
307
- }))).annotate({ identifier: "GetWrappingKeyRequest" });
308
- export const ImportKeyRequestRegionId = S.String;
309
- export const ImportKeyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
310
- projectId: S.String.pipe(T.Label()),
311
- regionId: ImportKeyRequestRegionId.pipe(T.Label()),
312
- keyRingId: S.String.pipe(T.Label()),
313
- keyId: S.String.pipe(T.Label()),
314
- wrappedKey: S.String,
315
- wrappingKeyId: S.String,
316
- }).pipe(T.Http({
317
- method: "POST",
318
- uri: "/v1/projects/{projectId}/regions/{regionId}/keyrings/{keyRingId}/keys/{keyId}/import",
319
- code: 200,
320
- baseUrl: "https://kms.api.stackit.cloud",
321
- }))).annotate({ identifier: "ImportKeyRequest" });
322
- export const ListKeyRingsRequestRegionId = S.String;
323
- export const ListKeyRingsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
324
- projectId: S.String.pipe(T.Label()),
325
- regionId: ListKeyRingsRequestRegionId.pipe(T.Label()),
326
- }).pipe(T.Http({
327
- method: "GET",
328
- uri: "/v1/projects/{projectId}/regions/{regionId}/keyrings",
329
- code: 200,
330
- baseUrl: "https://kms.api.stackit.cloud",
331
- }))).annotate({ identifier: "ListKeyRingsRequest" });
332
- export const KeyRingListKeyRingsList = /*@__PURE__*/ S.Array(KeyRing);
333
- export const KeyRingList = /*@__PURE__*/ S.suspend(() => S.Struct({
334
- keyRings: KeyRingListKeyRingsList,
335
- })).annotate({ identifier: "KeyRingList" });
336
- export const ListKeysRequestRegionId = S.String;
337
- export const ListKeysRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
338
- projectId: S.String.pipe(T.Label()),
339
- regionId: ListKeysRequestRegionId.pipe(T.Label()),
340
- keyRingId: S.String.pipe(T.Label()),
341
- }).pipe(T.Http({
342
- method: "GET",
343
- uri: "/v1/projects/{projectId}/regions/{regionId}/keyrings/{keyRingId}/keys",
344
- code: 200,
345
- baseUrl: "https://kms.api.stackit.cloud",
346
- }))).annotate({ identifier: "ListKeysRequest" });
347
- export const KeyListKeysList = /*@__PURE__*/ S.Array(Key);
348
- export const KeyList = /*@__PURE__*/ S.suspend(() => S.Struct({
349
- keys: KeyListKeysList,
350
- })).annotate({ identifier: "KeyList" });
351
- export const ListVersionsRequestRegionId = S.String;
352
- export const ListVersionsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
353
- projectId: S.String.pipe(T.Label()),
354
- regionId: ListVersionsRequestRegionId.pipe(T.Label()),
355
- keyRingId: S.String.pipe(T.Label()),
356
- keyId: S.String.pipe(T.Label()),
357
- }).pipe(T.Http({
358
- method: "GET",
359
- uri: "/v1/projects/{projectId}/regions/{regionId}/keyrings/{keyRingId}/keys/{keyId}/versions",
360
- code: 200,
361
- baseUrl: "https://kms.api.stackit.cloud",
362
- }))).annotate({ identifier: "ListVersionsRequest" });
363
- export const VersionListVersionsList = /*@__PURE__*/ S.Array(Version);
364
- export const VersionList = /*@__PURE__*/ S.suspend(() => S.Struct({
365
- versions: VersionListVersionsList,
366
- })).annotate({ identifier: "VersionList" });
367
- export const ListWrappingKeysRequestRegionId = S.String;
368
- export const ListWrappingKeysRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
369
- projectId: S.String.pipe(T.Label()),
370
- regionId: ListWrappingKeysRequestRegionId.pipe(T.Label()),
371
- keyRingId: S.String.pipe(T.Label()),
372
- }).pipe(T.Http({
373
- method: "GET",
374
- uri: "/v1/projects/{projectId}/regions/{regionId}/keyrings/{keyRingId}/wrappingkeys",
375
- code: 200,
376
- baseUrl: "https://kms.api.stackit.cloud",
377
- }))).annotate({ identifier: "ListWrappingKeysRequest" });
378
- export const WrappingKeyListWrappingKeysList = /*@__PURE__*/ S.Array(WrappingKey);
379
- export const WrappingKeyList = /*@__PURE__*/ S.suspend(() => S.Struct({
380
- wrappingKeys: WrappingKeyListWrappingKeysList,
381
- })).annotate({ identifier: "WrappingKeyList" });
382
- export const RestoreKeyRequestRegionId = S.String;
383
- export const RestoreKeyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
384
- projectId: S.String.pipe(T.Label()),
385
- regionId: RestoreKeyRequestRegionId.pipe(T.Label()),
386
- keyRingId: S.String.pipe(T.Label()),
387
- keyId: S.String.pipe(T.Label()),
388
- }).pipe(T.Http({
389
- method: "POST",
390
- uri: "/v1/projects/{projectId}/regions/{regionId}/keyrings/{keyRingId}/keys/{keyId}/restore",
391
- code: 200,
392
- baseUrl: "https://kms.api.stackit.cloud",
393
- }))).annotate({ identifier: "RestoreKeyRequest" });
394
- export const RestoreKeyResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
395
- identifier: "RestoreKeyResponse",
396
- });
397
- export const RestoreVersionRequestRegionId = S.String;
398
- export const RestoreVersionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
399
- projectId: S.String.pipe(T.Label()),
400
- regionId: RestoreVersionRequestRegionId.pipe(T.Label()),
401
- keyRingId: S.String.pipe(T.Label()),
402
- keyId: S.String.pipe(T.Label()),
403
- versionNumber: S.Number.pipe(T.Label()),
404
- }).pipe(T.Http({
405
- method: "POST",
406
- uri: "/v1/projects/{projectId}/regions/{regionId}/keyrings/{keyRingId}/keys/{keyId}/versions/{versionNumber}/restore",
407
- code: 200,
408
- baseUrl: "https://kms.api.stackit.cloud",
409
- }))).annotate({ identifier: "RestoreVersionRequest" });
410
- export const RestoreVersionResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
411
- identifier: "RestoreVersionResponse",
412
- });
413
- export const RotateKeyRequestRegionId = S.String;
414
- export const RotateKeyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
415
- projectId: S.String.pipe(T.Label()),
416
- regionId: RotateKeyRequestRegionId.pipe(T.Label()),
417
- keyRingId: S.String.pipe(T.Label()),
418
- keyId: S.String.pipe(T.Label()),
419
- }).pipe(T.Http({
420
- method: "POST",
421
- uri: "/v1/projects/{projectId}/regions/{regionId}/keyrings/{keyRingId}/keys/{keyId}/rotate",
422
- code: 200,
423
- baseUrl: "https://kms.api.stackit.cloud",
424
- }))).annotate({ identifier: "RotateKeyRequest" });
425
- export const SignRequestRegionId = S.String;
426
- export const SignRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
427
- projectId: S.String.pipe(T.Label()),
428
- regionId: SignRequestRegionId.pipe(T.Label()),
429
- keyRingId: S.String.pipe(T.Label()),
430
- keyId: S.String.pipe(T.Label()),
431
- versionNumber: S.Number.pipe(T.Label()),
432
- data: S.String,
433
- }).pipe(T.Http({
434
- method: "POST",
435
- uri: "/v1/projects/{projectId}/regions/{regionId}/keyrings/{keyRingId}/keys/{keyId}/versions/{versionNumber}/sign",
436
- code: 200,
437
- baseUrl: "https://kms.api.stackit.cloud",
438
- }))).annotate({ identifier: "SignRequest" });
439
- export const SignedData = /*@__PURE__*/ S.suspend(() => S.Struct({
440
- data: S.String,
441
- signature: S.String,
442
- })).annotate({ identifier: "SignedData" });
443
- export const VerifyRequestRegionId = S.String;
444
- export const VerifyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
445
- projectId: S.String.pipe(T.Label()),
446
- regionId: VerifyRequestRegionId.pipe(T.Label()),
447
- keyRingId: S.String.pipe(T.Label()),
448
- keyId: S.String.pipe(T.Label()),
449
- versionNumber: S.Number.pipe(T.Label()),
450
- data: S.String,
451
- signature: S.String,
452
- }).pipe(T.Http({
453
- method: "POST",
454
- uri: "/v1/projects/{projectId}/regions/{regionId}/keyrings/{keyRingId}/keys/{keyId}/versions/{versionNumber}/verify",
455
- code: 200,
456
- baseUrl: "https://kms.api.stackit.cloud",
457
- }))).annotate({ identifier: "VerifyRequest" });
458
- export const VerifiedData = /*@__PURE__*/ S.suspend(() => S.Struct({
459
- valid: S.Boolean,
460
- })).annotate({ identifier: "VerifiedData" });
461
- /** Create key Creates a new key for the given key ring. */
462
- export const createKey = /*@__PURE__*/ API.make(() => ({
463
- input: CreateKeyRequest,
464
- output: Key,
465
- errors: [BadRequest, NotFound, UnknownStackitError],
466
- protocol: StackitProtocol,
467
- retry: Retry.Retry,
468
- }));
469
- /** Create key ring Creates a new key ring within the project. */
470
- export const createKeyRing = /*@__PURE__*/ API.make(() => ({
471
- input: CreateKeyRingRequest,
472
- output: KeyRing,
473
- errors: [BadRequest, UnknownStackitError],
474
- protocol: StackitProtocol,
475
- retry: Retry.Retry,
476
- }));
477
- /** Create wrapping key Creates a new wrapping key for the given key ring. */
478
- export const createWrappingKey = /*@__PURE__*/ API.make(() => ({
479
- input: CreateWrappingKeyRequest,
480
- output: WrappingKey,
481
- errors: [BadRequest, NotFound, UnknownStackitError],
482
- protocol: StackitProtocol,
483
- retry: Retry.Retry,
484
- }));
485
- /** Decrypt Decrypts data using the given key version. */
486
- export const decrypt = /*@__PURE__*/ API.make(() => ({
487
- input: DecryptRequest,
488
- output: DecryptedData,
489
- errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
490
- protocol: StackitProtocol,
491
- retry: Retry.Retry,
492
- }));
493
- /** Delete key Schedules the deletion of the given key */
494
- export const deleteKey = /*@__PURE__*/ API.make(() => ({
495
- input: DeleteKeyRequest,
496
- output: DeleteKeyResponse,
497
- errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
498
- protocol: StackitProtocol,
499
- retry: Retry.Retry,
500
- }));
501
- /** Delete keyring Deletes the given key ring if it is empty */
502
- export const deleteKeyRing = /*@__PURE__*/ API.make(() => ({
503
- input: DeleteKeyRingRequest,
504
- output: DeleteKeyRingResponse,
505
- errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
506
- protocol: StackitProtocol,
507
- retry: Retry.Retry,
508
- }));
509
- /** Delete wrapping key Deletes the given wrapping key */
510
- export const deleteWrappingKey = /*@__PURE__*/ API.make(() => ({
511
- input: DeleteWrappingKeyRequest,
512
- output: DeleteWrappingKeyResponse,
513
- errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
514
- protocol: StackitProtocol,
515
- retry: Retry.Retry,
516
- }));
517
- /** Destroy version Removes the key material of a version permanently. */
518
- export const destroyVersion = /*@__PURE__*/ API.make(() => ({
519
- input: DestroyVersionRequest,
520
- output: DestroyVersionResponse,
521
- errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
522
- protocol: StackitProtocol,
523
- retry: Retry.Retry,
524
- }));
525
- /** Disable version Disables the given version. */
526
- export const disableVersion = /*@__PURE__*/ API.make(() => ({
527
- input: DisableVersionRequest,
528
- output: DisableVersionResponse,
529
- errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
530
- protocol: StackitProtocol,
531
- retry: Retry.Retry,
532
- }));
533
- /** Enable version Enables the given version. */
534
- export const enableVersion = /*@__PURE__*/ API.make(() => ({
535
- input: EnableVersionRequest,
536
- output: EnableVersionResponse,
537
- errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
538
- protocol: StackitProtocol,
539
- retry: Retry.Retry,
540
- }));
541
- /** Encrypt Encrypts data using the given key version. */
542
- export const encrypt = /*@__PURE__*/ API.make(() => ({
543
- input: EncryptRequest,
544
- output: EncryptedData,
545
- errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
546
- protocol: StackitProtocol,
547
- retry: Retry.Retry,
548
- }));
549
- /** Get key Returns the details for the given key. */
550
- export const getKey =
551
- /*@__PURE__*/ API.make(() => ({
552
- input: GetKeyRequest,
553
- output: Key,
554
- errors: [BadRequest, NotFound, UnknownStackitError],
555
- protocol: StackitProtocol,
556
- retry: Retry.Retry,
557
- }));
558
- /** Get key ring Returns the details for the given key ring. */
559
- export const getKeyRing = /*@__PURE__*/ API.make(() => ({
560
- input: GetKeyRingRequest,
561
- output: KeyRing,
562
- errors: [BadRequest, NotFound, UnknownStackitError],
563
- protocol: StackitProtocol,
564
- retry: Retry.Retry,
565
- }));
566
- /** Get version Returns the details for the given version. */
567
- export const getVersion = /*@__PURE__*/ API.make(() => ({
568
- input: GetVersionRequest,
569
- output: Version,
570
- errors: [BadRequest, NotFound, UnknownStackitError],
571
- protocol: StackitProtocol,
572
- retry: Retry.Retry,
573
- }));
574
- /** Get wrapping key Returns the details for the given wrapping key. */
575
- export const getWrappingKey = /*@__PURE__*/ API.make(() => ({
576
- input: GetWrappingKeyRequest,
577
- output: WrappingKey,
578
- errors: [BadRequest, NotFound, UnknownStackitError],
579
- protocol: StackitProtocol,
580
- retry: Retry.Retry,
581
- }));
582
- /** Import key Imports a new version to the given key. */
583
- export const importKey = /*@__PURE__*/ API.make(() => ({
584
- input: ImportKeyRequest,
585
- output: Version,
586
- errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
587
- protocol: StackitProtocol,
588
- retry: Retry.Retry,
589
- }));
590
- /** List key rings Returns a list of all key rings within the project. */
591
- export const listKeyRings = /*@__PURE__*/ API.make(() => ({
592
- input: ListKeyRingsRequest,
593
- output: KeyRingList,
594
- errors: [BadRequest, UnknownStackitError],
595
- protocol: StackitProtocol,
596
- retry: Retry.Retry,
597
- }));
598
- /** List keys Returns the keys for the given key ring. */
599
- export const listKeys = /*@__PURE__*/ API.make(() => ({
600
- input: ListKeysRequest,
601
- output: KeyList,
602
- errors: [BadRequest, NotFound, UnknownStackitError],
603
- protocol: StackitProtocol,
604
- retry: Retry.Retry,
605
- }));
606
- /** List versions Returns a list of all versions of a given key. */
607
- export const listVersions = /*@__PURE__*/ API.make(() => ({
608
- input: ListVersionsRequest,
609
- output: VersionList,
610
- errors: [BadRequest, NotFound, UnknownStackitError],
611
- protocol: StackitProtocol,
612
- retry: Retry.Retry,
613
- }));
614
- /** List wrapping keys Returns the wrapping keys for the given key ring. */
615
- export const listWrappingKeys = /*@__PURE__*/ API.make(() => ({
616
- input: ListWrappingKeysRequest,
617
- output: WrappingKeyList,
618
- errors: [BadRequest, NotFound, UnknownStackitError],
619
- protocol: StackitProtocol,
620
- retry: Retry.Retry,
621
- }));
622
- /** Restore deleted key Restores the given key from being deleted. */
623
- export const restoreKey = /*@__PURE__*/ API.make(() => ({
624
- input: RestoreKeyRequest,
625
- output: RestoreKeyResponse,
626
- errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
627
- protocol: StackitProtocol,
628
- retry: Retry.Retry,
629
- }));
630
- /** Restore version Restores the given version from being destroyed */
631
- export const restoreVersion = /*@__PURE__*/ API.make(() => ({
632
- input: RestoreVersionRequest,
633
- output: RestoreVersionResponse,
634
- errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
635
- protocol: StackitProtocol,
636
- retry: Retry.Retry,
637
- }));
638
- /** Rotate key Rotates the given key. */
639
- export const rotateKey = /*@__PURE__*/ API.make(() => ({
640
- input: RotateKeyRequest,
641
- output: Version,
642
- errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
643
- protocol: StackitProtocol,
644
- retry: Retry.Retry,
645
- }));
646
- /** Sign Sign data using the given key version as secret. */
647
- export const sign =
648
- /*@__PURE__*/ API.make(() => ({
649
- input: SignRequest,
650
- output: SignedData,
651
- errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
652
- protocol: StackitProtocol,
653
- retry: Retry.Retry,
654
- }));
655
- /** Verify Verify data using the given key version as secret. */
656
- export const verify = /*@__PURE__*/ API.make(() => ({
657
- input: VerifyRequest,
658
- output: VerifiedData,
659
- errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
660
- protocol: StackitProtocol,
661
- retry: Retry.Retry,
662
- }));
1
+ import{S as e,_ as t,b as n,c as r,d as i,errors$UnknownStackitError as a,f as o,h as s,i as c,m as l,n as u,o as d,p as f,protocol$StackitProtocol as p,retry$Retry as m,s as h,t as g,traits$Http as _,traits$Label as v,traits$applyErrorMatchers as y,u as b,v as x,x as S}from"../_bundle/sdk.js";const C=/*@__PURE__*/ s(function BadRequest(e){return t(e,new.target,[`$5($4()("BadRequest",{code:$2,message:$3}).pipe($1),[{status:400}])`,[b,S,c,d,r,y]])});const w=/*@__PURE__*/ s(function Conflict(n){return t(n,new.target,[`$5($4()("Conflict",{code:$2,message:$3}).pipe($1),[{status:409}])`,[b,e,c,d,r,y]])});const T=/*@__PURE__*/ s(function Forbidden(e){return t(e,new.target,[`$5($4()("Forbidden",{code:$2,message:$3}).pipe($1),[{status:403}])`,[b,n,c,d,r,y]])});const E=/*@__PURE__*/ s(function NotFound(e){return t(e,new.target,[`$5($4()("NotFound",{code:$2,message:$3}).pipe($1),[{status:404}])`,[b,S,c,d,r,y]])});const D=/*@__PURE__*/ x(e=>e===f?[`{input:#1,output:#8:0,errors:[$9,$10,$11],protocol:$12,retry:$13};$7(>2)@"CreateKeyRequest";$6({projectId:$3.pipe($2()),regionId:$3.pipe($2()),keyRingId:$3.pipe($2()),access_scope:$4($3),algorithm:$3,description:$4($3),displayName:$3,importOnly:$4($5),protection:$3,purpose:$3}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/regions/{regionId}/keyrings/{keyRingId}/keys",code:200,baseUrl:"https://kms.api.stackit.cloud"}))`,[b,_,v,d,i,u,h,o,__d1,C,E,a,p,m]]:l(D,e));const O=/*@__PURE__*/ x(e=>e===f?[`{input:#1,output:#7:0,errors:[$8,$9],protocol:$10,retry:$11};$6(>2)@"CreateKeyRingRequest";$5({projectId:$3.pipe($2()),regionId:$3.pipe($2()),description:$4($3),displayName:$3}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/regions/{regionId}/keyrings",code:200,baseUrl:"https://kms.api.stackit.cloud"}))`,[b,_,v,d,i,h,o,__d2,C,a,p,m]]:l(O,e));const k=/*@__PURE__*/ x(e=>e===f?[`{input:#1,output:#7:0,errors:[$8,$9,$10],protocol:$11,retry:$12};$6(>2)@"CreateWrappingKeyRequest";$5({projectId:$3.pipe($2()),regionId:$3.pipe($2()),keyRingId:$3.pipe($2()),access_scope:$4($3),algorithm:$3,description:$4($3),displayName:$3,protection:$3,purpose:$3}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/regions/{regionId}/keyrings/{keyRingId}/wrappingkeys",code:200,baseUrl:"https://kms.api.stackit.cloud"}))`,[b,_,v,d,i,h,o,__d3,C,E,a,p,m]]:l(k,e));const A=/*@__PURE__*/ x(e=>e===f?[`{input:#1,output:#7:0,errors:[$8,$9,$10,$11],protocol:$12,retry:$13};$6(>2)@"DecryptRequest";$5({projectId:$3.pipe($2()),regionId:$3.pipe($2()),keyRingId:$3.pipe($2()),keyId:$3.pipe($2()),versionNumber:$4.pipe($2()),data:$3}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/regions/{regionId}/keyrings/{keyRingId}/keys/{keyId}/versions/{versionNumber}/decrypt",code:200,baseUrl:"https://kms.api.stackit.cloud"}))`,[b,_,v,d,c,h,o,__d4,C,E,w,a,p,m]]:l(A,e));const j=/*@__PURE__*/ x(e=>e===f?[`{input:#1,output:#6:0,errors:[$7,$8,$9,$10],protocol:$11,retry:$12};$5(>2)@"DeleteKeyRequest";$4({projectId:$3.pipe($2()),regionId:$3.pipe($2()),keyRingId:$3.pipe($2()),keyId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/projects/{projectId}/regions/{regionId}/keyrings/{keyRingId}/keys/{keyId}",code:200,baseUrl:"https://kms.api.stackit.cloud"}))`,[b,_,v,d,h,o,__d5,C,E,w,a,p,m]]:l(j,e));const M=/*@__PURE__*/ x(e=>e===f?[`{input:#1,output:#6:0,errors:[$7,$8,$9,$10],protocol:$11,retry:$12};$5(>2)@"DeleteKeyRingRequest";$4({projectId:$3.pipe($2()),regionId:$3.pipe($2()),keyRingId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/projects/{projectId}/regions/{regionId}/keyrings/{keyRingId}",code:200,baseUrl:"https://kms.api.stackit.cloud"}))`,[b,_,v,d,h,o,__d5,C,E,w,a,p,m]]:l(M,e));const N=/*@__PURE__*/ x(e=>e===f?[`{input:#1,output:#6:0,errors:[$7,$8,$9,$10],protocol:$11,retry:$12};$5(>2)@"DeleteWrappingKeyRequest";$4({projectId:$3.pipe($2()),regionId:$3.pipe($2()),keyRingId:$3.pipe($2()),wrappingKeyId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1/projects/{projectId}/regions/{regionId}/keyrings/{keyRingId}/wrappingkeys/{wrappingKeyId}",code:200,baseUrl:"https://kms.api.stackit.cloud"}))`,[b,_,v,d,h,o,__d5,C,E,w,a,p,m]]:l(N,e));const P=/*@__PURE__*/ x(e=>e===f?[`{input:#1,output:#7:0,errors:[$8,$9,$10,$11],protocol:$12,retry:$13};$6(>2)@"DestroyVersionRequest";$5({projectId:$3.pipe($2()),regionId:$3.pipe($2()),keyRingId:$3.pipe($2()),keyId:$3.pipe($2()),versionNumber:$4.pipe($2())}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/regions/{regionId}/keyrings/{keyRingId}/keys/{keyId}/versions/{versionNumber}/destroy",code:200,baseUrl:"https://kms.api.stackit.cloud"}))`,[b,_,v,d,c,h,o,__d5,C,E,w,a,p,m]]:l(P,e));const F=/*@__PURE__*/ x(e=>e===f?[`{input:#1,output:#7:0,errors:[$8,$9,$10,$11],protocol:$12,retry:$13};$6(>2)@"DisableVersionRequest";$5({projectId:$3.pipe($2()),regionId:$3.pipe($2()),keyRingId:$3.pipe($2()),keyId:$3.pipe($2()),versionNumber:$4.pipe($2())}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/regions/{regionId}/keyrings/{keyRingId}/keys/{keyId}/versions/{versionNumber}/disable",code:200,baseUrl:"https://kms.api.stackit.cloud"}))`,[b,_,v,d,c,h,o,__d5,C,E,w,a,p,m]]:l(F,e));const I=/*@__PURE__*/ x(e=>e===f?[`{input:#1,output:#7:0,errors:[$8,$9,$10,$11],protocol:$12,retry:$13};$6(>2)@"EnableVersionRequest";$5({projectId:$3.pipe($2()),regionId:$3.pipe($2()),keyRingId:$3.pipe($2()),keyId:$3.pipe($2()),versionNumber:$4.pipe($2())}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/regions/{regionId}/keyrings/{keyRingId}/keys/{keyId}/versions/{versionNumber}/enable",code:200,baseUrl:"https://kms.api.stackit.cloud"}))`,[b,_,v,d,c,h,o,__d5,C,E,w,a,p,m]]:l(I,e));const L=/*@__PURE__*/ x(e=>e===f?[`{input:#1,output:#7:0,errors:[$8,$9,$10,$11],protocol:$12,retry:$13};$6(>2)@"EncryptRequest";$5({projectId:$3.pipe($2()),regionId:$3.pipe($2()),keyRingId:$3.pipe($2()),keyId:$3.pipe($2()),versionNumber:$4.pipe($2()),data:$3}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/regions/{regionId}/keyrings/{keyRingId}/keys/{keyId}/versions/{versionNumber}/encrypt",code:200,baseUrl:"https://kms.api.stackit.cloud"}))`,[b,_,v,d,c,h,o,__d4,C,E,w,a,p,m]]:l(L,e));const R=/*@__PURE__*/ x(e=>e===f?[`{input:#1,output:#6:0,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"GetKeyRequest";$4({projectId:$3.pipe($2()),regionId:$3.pipe($2()),keyRingId:$3.pipe($2()),keyId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/regions/{regionId}/keyrings/{keyRingId}/keys/{keyId}",code:200,baseUrl:"https://kms.api.stackit.cloud"}))`,[b,_,v,d,h,o,__d1,C,E,a,p,m]]:l(R,e));const z=/*@__PURE__*/ x(e=>e===f?[`{input:#1,output:#6:0,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"GetKeyRingRequest";$4({projectId:$3.pipe($2()),regionId:$3.pipe($2()),keyRingId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/regions/{regionId}/keyrings/{keyRingId}",code:200,baseUrl:"https://kms.api.stackit.cloud"}))`,[b,_,v,d,h,o,__d2,C,E,a,p,m]]:l(z,e));const B=/*@__PURE__*/ x(e=>e===f?[`{input:#1,output:#7:0,errors:[$8,$9,$10],protocol:$11,retry:$12};$6(>2)@"GetVersionRequest";$5({projectId:$3.pipe($2()),regionId:$3.pipe($2()),keyRingId:$3.pipe($2()),keyId:$3.pipe($2()),versionNumber:$4.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/regions/{regionId}/keyrings/{keyRingId}/keys/{keyId}/versions/{versionNumber}",code:200,baseUrl:"https://kms.api.stackit.cloud"}))`,[b,_,v,d,c,h,o,__d0,C,E,a,p,m]]:l(B,e));const V=/*@__PURE__*/ x(e=>e===f?[`{input:#1,output:#6:0,errors:[$7,$8,$9],protocol:$10,retry:$11};$5(>2)@"GetWrappingKeyRequest";$4({projectId:$3.pipe($2()),regionId:$3.pipe($2()),keyRingId:$3.pipe($2()),wrappingKeyId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/regions/{regionId}/keyrings/{keyRingId}/wrappingkeys/{wrappingKeyId}",code:200,baseUrl:"https://kms.api.stackit.cloud"}))`,[b,_,v,d,h,o,__d3,C,E,a,p,m]]:l(V,e));const H=/*@__PURE__*/ x(e=>e===f?[`{input:#1,output:#6:0,errors:[$7,$8,$9,$10],protocol:$11,retry:$12};$5(>2)@"ImportKeyRequest";$4({projectId:$3.pipe($2()),regionId:$3.pipe($2()),keyRingId:$3.pipe($2()),keyId:$3.pipe($2()),wrappedKey:$3,wrappingKeyId:$3}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/regions/{regionId}/keyrings/{keyRingId}/keys/{keyId}/import",code:200,baseUrl:"https://kms.api.stackit.cloud"}))`,[b,_,v,d,h,o,__d0,C,E,w,a,p,m]]:l(H,e));const U=/*@__PURE__*/ x(e=>e===f?[`{input:#1,output:#3,errors:[$8,$9],protocol:$10,retry:$11};$5(>4)@"ListKeyRingsRequest";$7(#6:0);$5(>5)@"KeyRingList";$4({projectId:$3.pipe($2()),regionId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/regions/{regionId}/keyrings",code:200,baseUrl:"https://kms.api.stackit.cloud"}));$4({keyRings:#2})`,[b,_,v,d,h,o,__d2,g,C,a,p,m]]:l(U,e));const W=/*@__PURE__*/ x(e=>e===f?[`{input:#1,output:#3,errors:[$8,$9,$10],protocol:$11,retry:$12};$5(>4)@"ListKeysRequest";$7(#6:0);$5(>5)@"KeyList";$4({projectId:$3.pipe($2()),regionId:$3.pipe($2()),keyRingId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/regions/{regionId}/keyrings/{keyRingId}/keys",code:200,baseUrl:"https://kms.api.stackit.cloud"}));$4({keys:#2})`,[b,_,v,d,h,o,__d1,g,C,E,a,p,m]]:l(W,e));const G=/*@__PURE__*/ x(e=>e===f?[`{input:#1,output:#3,errors:[$8,$9,$10],protocol:$11,retry:$12};$5(>4)@"ListVersionsRequest";$7(#6:0);$5(>5)@"VersionList";$4({projectId:$3.pipe($2()),regionId:$3.pipe($2()),keyRingId:$3.pipe($2()),keyId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/regions/{regionId}/keyrings/{keyRingId}/keys/{keyId}/versions",code:200,baseUrl:"https://kms.api.stackit.cloud"}));$4({versions:#2})`,[b,_,v,d,h,o,__d0,g,C,E,a,p,m]]:l(G,e));const K=/*@__PURE__*/ x(e=>e===f?[`{input:#1,output:#3,errors:[$8,$9,$10],protocol:$11,retry:$12};$5(>4)@"ListWrappingKeysRequest";$7(#6:0);$5(>5)@"WrappingKeyList";$4({projectId:$3.pipe($2()),regionId:$3.pipe($2()),keyRingId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1/projects/{projectId}/regions/{regionId}/keyrings/{keyRingId}/wrappingkeys",code:200,baseUrl:"https://kms.api.stackit.cloud"}));$4({wrappingKeys:#2})`,[b,_,v,d,h,o,__d3,g,C,E,a,p,m]]:l(K,e));const q=/*@__PURE__*/ x(e=>e===f?[`{input:#1,output:#6:0,errors:[$7,$8,$9,$10],protocol:$11,retry:$12};$5(>2)@"RestoreKeyRequest";$4({projectId:$3.pipe($2()),regionId:$3.pipe($2()),keyRingId:$3.pipe($2()),keyId:$3.pipe($2())}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/regions/{regionId}/keyrings/{keyRingId}/keys/{keyId}/restore",code:200,baseUrl:"https://kms.api.stackit.cloud"}))`,[b,_,v,d,h,o,__d5,C,E,w,a,p,m]]:l(q,e));const J=/*@__PURE__*/ x(e=>e===f?[`{input:#1,output:#7:0,errors:[$8,$9,$10,$11],protocol:$12,retry:$13};$6(>2)@"RestoreVersionRequest";$5({projectId:$3.pipe($2()),regionId:$3.pipe($2()),keyRingId:$3.pipe($2()),keyId:$3.pipe($2()),versionNumber:$4.pipe($2())}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/regions/{regionId}/keyrings/{keyRingId}/keys/{keyId}/versions/{versionNumber}/restore",code:200,baseUrl:"https://kms.api.stackit.cloud"}))`,[b,_,v,d,c,h,o,__d5,C,E,w,a,p,m]]:l(J,e));const Y=/*@__PURE__*/ x(e=>e===f?[`{input:#1,output:#6:0,errors:[$7,$8,$9,$10,$11],protocol:$12,retry:$13};$5(>2)@"RotateKeyRequest";$4({projectId:$3.pipe($2()),regionId:$3.pipe($2()),keyRingId:$3.pipe($2()),keyId:$3.pipe($2())}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/regions/{regionId}/keyrings/{keyRingId}/keys/{keyId}/rotate",code:200,baseUrl:"https://kms.api.stackit.cloud"}))`,[b,_,v,d,h,o,__d0,C,T,E,w,a,p,m]]:l(Y,e));const X=/*@__PURE__*/ x(e=>e===f?[`{input:#1,output:#2,errors:[$7,$8,$9,$10],protocol:$11,retry:$12};$6(>3)@"SignRequest";$6(>4)@"SignedData";$5({projectId:$3.pipe($2()),regionId:$3.pipe($2()),keyRingId:$3.pipe($2()),keyId:$3.pipe($2()),versionNumber:$4.pipe($2()),data:$3}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/regions/{regionId}/keyrings/{keyRingId}/keys/{keyId}/versions/{versionNumber}/sign",code:200,baseUrl:"https://kms.api.stackit.cloud"}));$5({data:$3,signature:$3})`,[b,_,v,d,c,h,o,C,E,w,a,p,m]]:l(X,e));const Z=/*@__PURE__*/ x(e=>e===f?[`{input:#1,output:#2,errors:[$8,$9,$10,$11],protocol:$12,retry:$13};$6(>3)@"VerifyRequest";$6(>4)@"VerifiedData";$5({projectId:$3.pipe($2()),regionId:$3.pipe($2()),keyRingId:$3.pipe($2()),keyId:$3.pipe($2()),versionNumber:$4.pipe($2()),data:$3,signature:$3}).pipe($1({method:"POST",uri:"/v1/projects/{projectId}/regions/{regionId}/keyrings/{keyRingId}/keys/{keyId}/versions/{versionNumber}/verify",code:200,baseUrl:"https://kms.api.stackit.cloud"}));$5({valid:$7})`,[b,_,v,d,c,h,o,u,C,E,w,a,p,m]]:l(Z,e));function __d0(){return[`$6(>1)@"Version";$5({createdAt:$1,destroyDate:$2($1),disabled:$3,keyId:$1,keyRingId:$1,number:$4,publicKey:$2($1),state:$1})`,[b,d,i,u,c,h,o]]}function __d1(){return[`$5(>1)@"Key";$4({access_scope:$1,algorithm:$1,createdAt:$1,deletionDate:$2($1),description:$2($1),displayName:$1,id:$1,importOnly:$3,keyRingId:$1,protection:$1,purpose:$1,state:$1})`,[b,d,i,u,h,o]]}function __d2(){return[`$4(>1)@"KeyRing";$3({createdAt:$1,description:$2($1),displayName:$1,id:$1,state:$1})`,[b,d,i,h,o]]}function __d3(){return[`$4(>1)@"WrappingKey";$3({access_scope:$1,algorithm:$1,createdAt:$1,description:$2($1),displayName:$1,expiresAt:$1,id:$1,keyRingId:$1,protection:$1,publicKey:$2($1),purpose:$1,state:$1})`,[b,d,i,h,o]]}function __d4(){return[`$3(>1)@"DecryptedData";$2({data:$1})`,[b,d,h,o]]}function __d5(){return[`$2(>1)@"DeleteKeyResponse";$1({})`,[b,h,o]]}export{C as BadRequest,w as Conflict,T as Forbidden,E as NotFound,D as createKey,O as createKeyRing,k as createWrappingKey,A as decrypt,j as deleteKey,M as deleteKeyRing,N as deleteWrappingKey,P as destroyVersion,F as disableVersion,I as enableVersion,L as encrypt,R as getKey,z as getKeyRing,B as getVersion,V as getWrappingKey,H as importKey,U as listKeyRings,W as listKeys,G as listVersions,K as listWrappingKeys,q as restoreKey,J as restoreVersion,Y as rotateKey,X as sign,Z as verify};
2
+ /*
3
+ 23 35
4
+ e:0:S t:0:_ n:0:b r:0:c i:0:d a:0:errors$UnknownStackitError o:0:f s:0:h c:0:i l:0:m u:0:n d:0:o f:0:p p:0:protocol$StackitProtocol m:0:retry$Retry h:0:s g:0:t _:0:traits$Http v:0:traits$Label y:0:traits$applyErrorMatchers b:0:u x:0:v S:0:x
5
+ 000000001f0002r000460005o000740008k000a0000bi000d0000ei000g0000hd000iq000k5000li000my000oa000pp000r4000sj000tz000vh000x0000yf000zw0010q0011k0012e001380014b0015c0016b0017a0018700192
6
+ 2 q5 13j D|=;qg 12d;k,h,i,b,4,a,f,6,1h,1c,1f,5,d,e
7
+ 2 149 1e9 O|=;14k 1d7;k,h,i,b,4,f,6,1i,1c,5,d,e
8
+ 2 1ez 1s8 k|=;1fa 1r4;k,h,i,b,4,f,6,1j,1c,1f,5,d,e
9
+ 2 1sy 260 A|=;1t9 24u;k,h,i,b,8,f,6,1k,1c,1f,1d,5,d,e
10
+ 2 26q 2hw j|=;271 2gs;k,h,i,b,f,6,1l,1c,1f,1d,5,d,e
11
+ 2 2im 2sz M|=;2ix 2rv;k,h,i,b,f,6,1l,1c,1f,1d,5,d,e
12
+ 2 2tp 35r N|=;2u0 34n;k,h,i,b,f,6,1l,1c,1f,1d,5,d,e
13
+ 2 36h 3ji P|=;36s 3ic;k,h,i,b,8,f,6,1l,1c,1f,1d,5,d,e
14
+ 2 3k8 3x9 F|=;3kj 3w3;k,h,i,b,8,f,6,1l,1c,1f,1d,5,d,e
15
+ 2 3xz 4ay I|=;3ya 49s;k,h,i,b,8,f,6,1l,1c,1f,1d,5,d,e
16
+ 2 4bo 4oq L|=;4bz 4nk;k,h,i,b,8,f,6,1k,1c,1f,1d,5,d,e
17
+ 2 4pg 50a R|=;4pr 4z8;k,h,i,b,f,6,1h,1c,1f,5,d,e
18
+ 2 510 5b1 z|=;51b 59z;k,h,i,b,f,6,1i,1c,1f,5,d,e
19
+ 2 5br 5o9 B|=;5c2 5n5;k,h,i,b,8,f,6,1g,1c,1f,5,d,e
20
+ 2 5oz 60p V|=;5pa 5zn;k,h,i,b,f,6,1j,1c,1f,5,d,e
21
+ 2 61f 6dl H|=;61q 6ch;k,h,i,b,f,6,1g,1c,1f,1d,5,d,e
22
+ 2 6eb 6ol U|=;6em 6nj;k,h,i,b,f,6,1i,g,1c,5,d,e
23
+ 2 6pb 70k W|=;6pm 6zg;k,h,i,b,f,6,1h,g,1c,1f,5,d,e
24
+ 2 71a 7dw G|=;71l 7cs;k,h,i,b,f,6,1g,g,1c,1f,5,d,e
25
+ 2 7em 7qr K|=;7ex 7pn;k,h,i,b,f,6,1j,g,1c,1f,5,d,e
26
+ 2 7rh 82u q|=;7rs 81q;k,h,i,b,f,6,1l,1c,1f,1d,5,d,e
27
+ 2 83k 8gl J|=;83v 8ff;k,h,i,b,8,f,6,1l,1c,1f,1d,5,d,e
28
+ 2 8hb 8ss Y|=;8hm 8rm;k,h,i,b,f,6,1g,1c,1e,1f,1d,5,d,e
29
+ 2 8ti 97h X|=;8tt 96g;k,h,i,b,8,f,6,1c,1f,1d,5,d,e
30
+ 2 987 9mg Z|=;98i 9ld;k,h,i,b,8,f,6,a,1c,1f,1d,5,d,e
31
+ 3 8v cj C|=;a6 c1;k,m,8,b,3,j
32
+ 3 d9 gt w|=;ei gb;k,0,8,b,3,j
33
+ 3 hj l5 T|=;it kn;k,2,8,b,3,j
34
+ 3 lv pf E|=;n4 ox;k,m,8,b,3,j
35
+ 1 9mi 9r5 __d0|=;9n6 9qm;k,b,4,a,8,f,6
36
+ 1 9r5 9xb __d1|=;9rt 9wu;k,b,4,a,f,6
37
+ 1 9xb a0q __d2|=;9xz a0b;k,b,4,f,6
38
+ 1 a0q a6y __d3|=;a1e a6j;k,b,4,f,6
39
+ 1 a6y a8z __d4|=;a7m a8m;k,b,f,6
40
+ 1 a8z aav __d5|=;a9n aak;k,f,6
41
+ */
663
42
  //# sourceMappingURL=kms.js.map